1 2008-12-16 Stefan Kost <ensonic@users.sf.net>
3 * docs/gst/gstreamer-sections.txt:
6 Rename api added in previous commit and add since tag to docs.
7 API: gst_tag_setter_reset_tags()
9 2008-12-16 Stefan Kost <ensonic@users.sf.net>
11 * docs/gst/gstreamer-sections.txt:
14 Add function to reset tagsetter for element reuse.
16 2008-12-16 Stefan Kost <ensonic@users.sf.net>
19 Avoid copy of empty taglist.
21 2008-12-16 Stefan Kost <ensonic@users.sf.net>
24 * tests/check/gst/gsttag.c:
25 More complete unit tests. Fix handling of empty taglists (they were
28 2008-12-15 Stefan Kost <ensonic@users.sf.net>
32 Update GstTagSetter and GstTagMergeMode documentation. Mention
33 that tags can come from events and from application. Fix example.
35 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
37 * docs/design/part-TODO.txt:
38 Remove the seqnum entry that we implemented in 0.10 already.
39 Add entry about removing the format return value for queries.
41 2008-12-15 Wim Taymans <wim.taymans@collabora.co.uk>
43 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
44 (gst_base_sink_init), (gst_base_sink_set_property),
45 (gst_base_sink_get_property):
46 Expose the render-delay as a property so things like appsink can use it
47 to tweak the synchronisation.
49 2008-12-10 Peter Kjellerstedt <pkj@axis.com>
51 * libs/gst/check/gstcheck.h: Allow check tests to use
52 MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
53 CK_FORK=no to be used with multiple check test that use threads.
55 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
57 * gst/gstutils.c: (gst_element_get_compatible_pad):
58 Fix a caps memory leak introduced by the last change.
60 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
62 * gst/gstutils.c: (gst_element_get_compatible_pad):
63 Check if the caps of the pads are compatible before returning
64 a pad and claiming it is compatible. This, among other things,
65 fixes a bug with gst-launch where an incompatible pad is chosen
66 and linking fails. Fixes bug #544003.
68 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
70 * libs/gst/check/gstcheck.c: (gst_check_init):
71 Revert accidentially commited patch for bug #404631 which
72 tries to print a backtrace if a testcase is terminated by
73 a signal. This code was never activated as the corresponding
74 configure.ac change wasn't committed.
76 2008-12-09 Sebastian Dröge <sebastian.droege@collabora.co.uk>
78 * tests/check/libs/controller.c: (GST_START_TEST):
79 This test should return TRUE now as syncing an uncontrolled
80 object will succeed now (there's nothing to sync).
82 2008-12-09 Stefan Kost <ensonic@users.sf.net>
84 * libs/gst/controller/gstcontroller.c:
85 Aggregate return value for gst_controller_sync_values(). More info in
86 logging. Always set values on first sync-call.
88 * libs/gst/controller/gstcontrolsource.c:
91 * libs/gst/controller/gsthelper.c:
92 Fix return code and comment.
94 2008-12-09 Stefan Kost <ensonic@users.sf.net>
96 * tools/gst-launch.1.in:
97 Fix description of how to specify a type in caps. Fixes #553873.
98 Also ranges and list contain values and not property-assignments.
100 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
102 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
103 Check for changed pads-list before checking the last returned
104 GstFlowReturn because the pad could have been removed and we
105 need to ignore the value in that case.
107 2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
109 * libs/gst/base/gstbasetransform.c:
110 (gst_base_transform_prepare_output_buffer),
111 (gst_base_transform_getrange), (gst_base_transform_chain):
112 * libs/gst/base/gstbasetransform.h:
113 Add vmethod that is called before we start the transform and which can
114 be used to configure the transform, such as dynamic properties.
116 2008-12-05 David Schleef <ds@schleef.org>
119 Search for plugins on win32 based on the location of the
120 gstreamer DLL. Fixes #548786
122 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
125 Apparently AC_CONFIG_MACRO_DIR breaks when using more
126 than one macro directory, reverting last change.
128 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
131 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
134 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
136 Patch by: Cygwin Ports maintainer
137 <yselkowitz at users dot sourceforge dot net>
141 Require gettext 0.17 because older versions don't mix with libtool
142 2.2. At build time an older gettext version will still work.
145 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
147 Patch by: 이문형 <iwings at gmail dot com>
149 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
150 Adds support for FD_CONNECT event (win32). See #562258.
152 2008-11-24 Stefan Kost <ensonic@users.sf.net>
154 * libs/gst/base/gstbasesink.c:
155 Turn comment into gtk-doc comment.
157 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
159 * libs/gst/base/gstbasetransform.c:
160 (gst_base_transform_acceptcaps):
161 Revert quick accepcaps attempt, it's not fully equivalent to the old
162 behaviour and thus causes regressions.
164 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
166 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
169 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
171 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
173 * gst/gstregistry.c: (gst_registry_scan_path_level):
174 Reduce the number of stat() calls for every file from three times
175 to one time. Fixes bug #560360.
177 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
179 * libs/gst/base/gstbasetransform.c:
180 (gst_base_transform_acceptcaps):
181 Rename a variable to make the code clearer.
183 2008-11-21 Stefan Kost <ensonic@users.sf.net>
185 * plugins/elements/gstidentity.c:
186 Don't warning on offset==-1. Taken from _check_imperfect_offset().
188 2008-11-21 Michael Smith <msmith@songbirdnest.com>
190 * plugins/elements/gstfilesrc.c:
191 Check for localhost in URI was backwards, fix it. Fixes unit test.
193 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
195 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
196 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
197 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
198 Add beginnings of a more optimized acceptcaps function than the default
201 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
203 * gst/gstpad.c: (gst_pad_accept_caps):
204 Avoid getting the acceptcaps function too early.
206 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
208 * tools/gst-launch.c: (event_loop):
209 Make gst-launch handle LATENCY messages and make it recalculate the
212 2008-11-20 Michael Smith <msmith@songbirdnest.com>
214 * plugins/elements/gstfilesrc.c:
215 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
216 out own slightly incorrect version. Fixes use of some paths on
219 2008-11-20 Michael Smith <msmith@songbirdnest.com>
221 * gst/gstregistrybinary.c:
222 In win32 codepath, if we fail to write the registry, create the
223 directory for it and try again, matching the behaviour in non-win32
226 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
228 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
229 Changing the render delay changes the latency and so we must post a
232 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
236 Add GstQueryType for custom queries instead of having to use the
237 not-so-very-convenient registration infrastructure to register new
240 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
242 Patch by: Andrew Feren <acferen at yahoo dot com>
244 * gst/gstobject.c: (gst_object_default_deep_notify):
245 Unref the GEnumClass after usage again. Fixes bug #561501.
247 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
249 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
250 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
251 (gst_bin_change_state_func):
253 Add do-latency signal with the old default fallback implementation. This
254 allows for custom latency calculations for when the default is not
256 API: GstBin::do-latency signal.
258 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
260 * win32/common/libgstreamer.def:
261 Add new symbols to .def file.
263 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
265 * docs/gst/gstreamer-sections.txt:
266 * gst/gstbin.c: (gst_bin_recalculate_latency),
267 (gst_bin_change_state_func):
269 Add method to recalculate and redistribute the latency on a bin.
270 API: gst_bin_recalculate_latency().
272 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
275 Document the free_func.
277 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
279 * libs/gst/controller/gstinterpolation.c:
280 * libs/gst/controller/gstlfocontrolsource.c:
281 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
282 as it is mapped to a cast on non-win32 platforms.
284 2008-11-17 Stefan Kost <ensonic@users.sf.net>
286 * libs/gst/controller/gstcontroller.c:
287 * libs/gst/controller/gstcontrollerprivate.h:
288 Keep last-value and only call set_property if value has changed. This
289 supresses all the g_object_notifies we would trigger otherwise. It
290 also allows the user to chage the value while there is no controller
293 2008-11-17 Stefan Kost <ensonic@users.sf.net>
296 Don't crash if either of the string GValues is empty.
298 2008-11-17 Andy Wingo <wingo@pobox.com>
300 * tools/gst-inspect.c (print_all_uri_handlers): New function,
301 prints a summary of what URI schemes are supported by what
303 (main): Plumb in support for --uri-handlers or -u, and fix the
304 argc check for -a and -u.
306 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
309 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
310 conversion functions.
312 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
314 * gst/gstbuffer.c: (gst_buffer_finalize):
315 Avoid costly typechecking for trivially correct pointers.
317 * gst/gstpoll.c: (gst_poll_wait):
318 Add some G_LIKELY here and there.
320 * libs/gst/base/gstadapter.c: (gst_adapter_push):
323 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
325 * docs/random/wtay/poll-timeout:
328 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
330 * tests/old/testsuite/caps/intersection.c: (main):
331 * tests/old/testsuite/plugin/loading.c: (main):
332 Remove references to deprecated API g_mem_chunk*.
335 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
337 * tools/gst-inspect.c: (main):
338 Add --plugin option. Fixes #560301.
340 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
342 * docs/random/wtay/poll-timeout:
343 Quick braindump for a possible (not totally verified) atomic case.
345 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
347 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
348 (gst_registry_binary_initialize_magic),
349 (gst_registry_binary_write_cache),
350 (gst_registry_binary_check_magic):
351 * gst/gstregistrybinary.h:
352 Don't write and check a CRC for the binary registry file. It's
353 guaranteed that the registry is completely written (it's first written
354 to a temporary file and then moved) and if the registry was corrupted
355 by some hardware failure we would have bigger problems.
357 Bump binary registry version to 0.10.21.1 for this as it's an
358 incompatible change and to ensure that the registry gets rebuild
361 This saves some milliseconds for reading/writing the registry.
364 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
366 * docs/random/wtay/poll-timeout:
367 Some pseudo code for how we could implement clock timeouts with GstPoll.
369 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
371 * plugins/elements/gstfilesink.c:
372 Update Author string to match others.
374 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
376 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
377 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
378 being fixed and inline the trivial check.
380 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
382 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
383 (gst_caps_merge_structure), (gst_caps_get_structure),
384 (gst_caps_copy_nth), (gst_caps_set_simple),
385 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
386 (gst_caps_is_equal_fixed), (gst_caps_intersect),
387 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
388 (gst_caps_to_string):
389 Callgrind micro optimisations.
390 Avoid array bounds checks and force inline of trivial function.
392 * gst/gstobject.c: (gst_object_set_name_default):
393 -1 is equivalent to letting glib to the strlen but then there is more
394 room for optimisations and it's not our fault.
396 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
397 no need to clear the array, we're cool.
399 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
400 The most common _is_fixed() check is done on fundamental glib base
401 types so we check this first instead of doing a huge amount of
402 useless GST_TYPE_ARRAY calls.
404 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
407 Add a SKIP seek flag for use with advanced trickmodes.
408 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
410 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
412 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
413 No need to memset, we can clear the value ourselves.
415 * gst/gstvalue.c: (gst_type_is_fixed),
416 (gst_value_get_compare_func):
417 Some optimisations from a few callgrind sessions:
418 When checking if a type is fixed, check for trivial fundamental types
419 first before checking types for which we need to get the type followed
420 by the heavy duty type checks, this reduces the amount of
421 g_type_fundamental() calls a lot.
422 When getting the compare function, first check for our registered types.
423 If that fails, do the heavy duty g_type_is_a() checks, reduces the
424 amount of g_type_is_a() considerably.
426 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
428 * docs/design/part-TODO.txt:
429 Mumble something about removing GstXML.
431 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
433 * gst/gstbin.c: (gst_bin_handle_message_func):
434 Get the seqnum before we dispose the message.
436 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
438 * docs/design/part-TODO.txt:
439 Refer to the framestepping document.
441 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
443 * gst/gstbin.c: (bin_handle_async_start),
444 (gst_bin_handle_message_func), (gst_bin_query):
445 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
446 (gst_base_sink_event), (gst_base_sink_change_state):
447 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
448 (gst_base_src_loop), (gst_base_src_change_state):
449 Copy seqnums from events to messages so that they can all be related
452 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
454 * tools/gst-launch.c: (event_loop):
455 Print the message seqnums.
457 2008-11-04 Andy Wingo <wingo@pobox.com>
459 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
461 2008-11-04 Andy Wingo <wingo@pobox.com>
463 Add sequence numbers to events and messages. See #559250.
465 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
469 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
470 events with a new sequence number, and copy it when copying.
471 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
472 an event's sequence number.
475 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
476 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
479 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
481 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
483 * docs/manual/advanced-position.xml:
484 * docs/manual/basics-bins.xml:
485 * docs/manual/basics-bus.xml:
486 * docs/manual/basics-pads.xml:
487 * docs/manual/intro-gstreamer.xml:
488 * docs/manual/intro-preface.xml:
489 Some Application Development Manual fixes thanks to
490 Andrew Feren. Fixes #558459.
492 2008-11-03 Stefan Kost <ensonic@users.sf.net>
494 * gst/gstregistrybinary.c:
495 Don't bother with the GTimer if we don't output the results.
497 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
499 Patch by: David Schleef <ds@schleef.org>
501 * libs/gst/net/Makefile.am:
502 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
504 2008-10-31 Stefan Kost <ensonic@users.sf.net>
506 * gst/gstregistrybinary.c:
507 Oh my, studip, stupid me. Remove double stat() call.
509 2008-10-31 Stefan Kost <ensonic@users.sf.net>
512 Use g_unlink instead of unlink.
514 * gst/gststructure.c:
523 Formatting & whitespaces.
525 2008-10-31 Stefan Kost <ensonic@users.sf.net>
527 * plugins/elements/gstidentity.c:
528 Doc typo. Use return value of parent_class->event.
530 * plugins/elements/gsttypefindelement.c:
531 Chain up at the end for consistency.
533 2008-10-30 Stefan Kost <ensonic@users.sf.net>
536 * docs/gst/gstreamer-docs.sgml:
537 * docs/gst/gstreamer-sections.txt:
538 * docs/gst/running.xml:
539 * docs/libs/gstreamer-libs-docs.sgml:
540 Change to xinclude based build - its faster and easier to maintain.
542 2008-10-30 Stefan Kost <ensonic@users.sf.net>
544 * gst/gstregistrybinary.c:
545 * gst/gstregistryxml.c:
546 Use g_unlink() as none of these are directories.
548 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
550 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
553 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
555 * libs/gst/base/gstbasetransform.c:
556 (gst_base_transform_find_transform), (gst_base_transform_getrange):
557 If we have a fixate function, call it even if we already have fixed caps
558 because the subclass might add some caps. Makes audioconvert add a
559 default channel layout.
561 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
563 * libs/gst/base/gstbasetransform.c:
564 (gst_base_transform_prepare_output_buffer),
565 (gst_base_transform_getrange):
566 Clear the output buffer variable.
567 Cleanups to the error path in the getrange function.
570 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
572 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
573 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
574 Use gst_buffer_try_new_and_alloc() and handle errors instead of
575 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
578 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
580 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
581 Set the last_stop to a more meaningful position when configuring the
582 segment. ie. the start/stop of the segment or clipped against the
583 updated segment boundaries.
585 * tests/check/gst/gstsegment.c: (GST_START_TEST):
586 Add some unit tests for the last_stop.
588 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
590 * libs/gst/base/gstbytereader.c:
591 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
594 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
596 * docs/gst/gstreamer-sections.txt:
598 API: Move float endianness conversion macros from libgstfloatcast
599 to core as it's useful in general, even in core. Fixes bug #555196.
600 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
601 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
602 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
604 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
605 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
606 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
607 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
609 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
611 * docs/libs/gstreamer-libs-sections.txt:
612 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
613 (gst_byte_reader_peek_data):
614 * libs/gst/base/gstbytereader.h:
615 * win32/common/libgstbase.def:
616 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
617 to get a pointer to the data at the current position and have
620 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
623 Fix a bug in the output of the configure script summary
624 when --gst-disable-registry is supplied
626 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
628 * libs/gst/base/gstbitreader.c:
629 * libs/gst/base/gstbytereader.c:
630 Fix the names of 2 functions in the docs strings.
632 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
634 * libs/gst/base/gstbasetransform.c:
635 (gst_base_transform_prepare_output_buffer),
636 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
637 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
638 refcount problems as seen in banshee and maybe also in farsight2.
639 Remove atomic int now that we need to take the lock anyways.
641 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
643 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
644 (gst_base_sink_default_prepare_seek_segment),
645 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
646 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
647 (gst_base_sink_query):
648 Implement more seeking in pull mode.
649 Use pad convert functions to convert position to the requested format.
650 Fix position/duration reporting in pull mode.
651 Implement position and duration reporting in other formats than time.
653 * libs/gst/base/gstbasesink.h:
654 Add member to keep track of when the segment is playing.
656 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
658 * gst/gstpad.c: (gst_pad_configure_src):
659 When we use gst_pad_alloc_buffer() without wanting to set the caps we
660 also don't need to check if the caps are compatible because the caller
661 presumably is going to perform its own custom checks. Fixes some cases
662 where basetransform elements would error out when it was not needed.
664 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
666 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
669 * libs/gst/base/gstbasetransform.c:
670 (gst_base_transform_handle_buffer),
671 (gst_base_transform_reconfigure):
674 * win32/common/libgstbase.def:
677 2008-10-19 Stefan Kost <ensonic@users.sf.net>
679 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
680 Remove duplicated assignment and log a message in failure case.
682 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
684 Patch by: Dig Ge <dig.ge.cn at gmail com>
686 * tests/examples/helloworld/helloworld.c: (main):
687 Fix copy'n'paste bug in hello world example (#556900).
689 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
691 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
692 (gst_base_sink_query):
693 Query the total number of bytes when activating the pad in pull mode.
694 Implement duration query in pull mode by using the installed pad convert
695 function to convert from bytes to the requested format.
697 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
699 * docs/libs/gstreamer-libs-sections.txt:
700 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
701 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
702 (gst_base_sink_event), (gst_base_sink_perform_seek),
703 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
704 (gst_base_sink_send_event), (gst_base_sink_change_state):
705 * libs/gst/base/gstbasesink.h:
706 Add method to commit the state in subclasses.
707 Refactor the flush_start and flush_stop code because we need it for
708 flushing while seeking too.
709 Implement the beginnings of seeking in pull mode.
710 Use the segment last_stop field for the pulling offset.
711 Fix the pause method in pull mode.
712 Configure the segment to BYTES for pull mode.
713 API: GstBaseSink::gst_base_sink_do_preroll()
715 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
717 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
720 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
722 * gst/gstquark.c: (_priv_gst_quarks_initialize):
723 Fix printf format warning.
725 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
727 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
728 Fix flow aggregation of tee. Error out immediately for all flow returns
729 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
730 and return OK if at least one pad is linked.
732 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
733 and otherwise returned the flow return of the last pad, which is wrong.
735 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
736 (GST_START_TEST), (tee_suite):
737 Add unit tests for the flow aggregation.
739 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
741 * docs/design/part-TODO.txt:
742 Remove item from the todo list because it was fixed with the latency
743 state change rewrites.
745 * docs/design/part-seeking.txt:
746 * docs/design/part-segments.txt:
749 * gst/gstevent.c: (gst_event_new_new_segment_full),
750 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
751 (gst_event_parse_buffer_size), (gst_event_new_qos),
752 (gst_event_parse_qos), (gst_event_new_seek),
753 (gst_event_parse_seek), (gst_event_new_latency),
754 (gst_event_parse_latency):
755 Use quarks to construct and parse events.
757 * gst/gstquark.c: (_priv_gst_quarks_initialize):
759 Add some more quarks to the table.
760 Emit a warning when the quark tables are not in sync.
762 * tests/check/gst/gstbus.c: (GST_START_TEST):
765 2008-10-13 Stefan Kost <ensonic@users.sf.net>
767 * plugins/elements/Makefile.am:
768 * plugins/indexers/Makefile.am:
769 Don't install static libs for plugins. Fixes #550851 for core.
771 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
773 * gst/gstbus.c: (gst_bus_source_finalize),
774 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
775 (gst_bus_enable_sync_message_emission),
776 (gst_bus_disable_sync_message_emission),
777 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
778 Fix deadlock, g_source_get_id() cannot be called in finalize.
779 Keep track of the watch source by keeping a pointer to the source object
781 Use the bus lock to protect access to the pointer to the current
784 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
786 Base on Patch by: Olivier Crete <tester at tester dot ca>
788 * gst/gstbus.c: (gst_bus_source_finalize),
789 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
790 Only allow one bus watch to be set at a time. This is necessary
791 because the dispatcher pops the message from the bus and the second
792 watcher will then get NULL or the next message (and the first won't
793 get this next message then, etc). If more than one "watcher" is
794 required signal watches should be used. Fixes bug #526044.
796 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
798 * tools/gst-launch.c:
799 Change the printing of the 'buffering...' output to avoid putting
800 a \r in a translateable string (flagged by the TP).
802 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
805 Clarify that the save_thyself() and restore_thyself() virtual
806 functions of GstObject need to be overriden, not
807 gst_object_(save|restore)_thyself() which is impossible.
810 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
812 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
813 Revert a patch from 21 months ago that broke caps negotiation in pull
814 mode. Basically, having a buffer pass over a pad will trigger the
815 setcaps function when caps change, just like in push mode.
817 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
819 * docs/design/part-negotiation.txt:
820 Update the docs some more.
822 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
823 If we pull a buffer with non-trivial caps, suggest those caps with the
826 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
828 * docs/design/part-TODO.txt:
829 Add another limitation of pad-blocking with segment seeks not pushing
832 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
834 * win32/common/libgstbase.def:
835 * win32/common/libgstreamer.def:
836 Add new symbols to the win32 defs files
838 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
840 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
841 (gst_bin_handle_message_func):
842 The message src can be NULL, don't try to print the object names in that
845 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
846 Add some more debug info.
848 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
851 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
854 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
856 * docs/design/part-negotiation.txt:
859 * docs/libs/gstreamer-libs-sections.txt:
860 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
861 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
862 (gst_base_sink_init), (gst_base_sink_set_blocksize),
863 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
864 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
865 (gst_base_sink_loop), (gst_base_sink_pad_activate),
866 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
867 (gst_base_sink_change_state):
868 * libs/gst/base/gstbasesink.h:
869 Add blocksize property and methods to control the amount of data
871 Negotiate first before activating upstream in pull mode so that they can
872 negotiate themselves.
873 When we operate in pull mode, we only accept the caps that we
875 Make the sink go ASYNC to PAUSED, like all other sinks.
876 API: GstBaseSink::gst_base_sink_set_blocksize()
877 API: GstBaseSink::gst_base_sink_get_blocksize()
878 API: GstBaseSink::blocksize
880 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
881 (gst_base_src_set_live), (gst_base_src_is_live),
882 (gst_base_src_set_format), (gst_base_src_query_latency),
883 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
884 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
885 (gst_base_src_set_property), (gst_base_src_get_property):
886 * libs/gst/base/gstbasesrc.h:
887 Add typechecking in public API functions.
888 Add methods to control the blocksize in subclasses.
889 API: GstBaseSrc::gst_base_src_set_blocksize()
890 API: GstBaseSrc::gst_base_src_get_blocksize()
892 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
894 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
895 (buffer_probe), (event_probe), (GST_START_TEST):
896 We now see 3 events go through our pad, since basesink now sends
897 upstream latency events.
899 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
901 * gst/gstpipeline.c: (gst_pipeline_change_state):
902 Release the object lock before trying to flush the bus.
904 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
906 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
907 Forward LATENCY events upstreams so that elements know about the total
908 pipeline latency. Fixes #555307.
910 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
912 * plugins/elements/gstqueue.c:
913 Allow through queries when we don't know how
914 to adjust them (not TIME or BYTES), as otherwise it's
915 not possible to query the current position in order
916 to seek in other formats at all.
918 2008-10-08 Andy Wingo <wingo@pobox.com>
920 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
922 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
926 Unbreak -good build, private is a reserved c++ keyword.
928 2008-10-08 Andy Wingo <wingo@pobox.com>
930 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
931 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
932 removal: re-add GST_GHOST_PAD_CAST to the header.
934 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
935 (GstGhostPadClass): Publically expose these structures so as to
936 allow easy subclassing from C. Hide the member data behind a
937 private opaque data pointer.
939 * gst/gstghostpad.c: Adapt to store instance data in the type
940 instance's private data region, not in the public struct.
942 2008-10-08 Andy Wingo <wingo@pobox.com>
944 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
945 template via g_object_get(), be sure to unref it.
947 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
949 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
951 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
952 If we can't get a cache file don't try to save something to it.
953 Dereferencing NULL pointers usually isn't a good idea.
955 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
957 * tests/check/Makefile.am:
958 * tests/check/gst/gstabi.c:
959 * tests/check/gst/struct_sparc.h:
960 * tests/check/libs/libsabi.c:
961 * tests/check/libs/struct_sparc.h:
964 * tests/check/gst/gstvalue.c: (GST_START_TEST):
965 Cast signed integer to unsigned to avoid a compiler warning.
967 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
969 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
970 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
971 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
972 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
973 (gst_byte_reader_peek_int24_be):
974 Use new GST_READ_UINT24_(LE|BE) macros.
976 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
978 * docs/gst/gstreamer-sections.txt:
980 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
981 as it's too easy to break the ISO C strict aliasing rules with simple
982 casts to the corresponding type and this would introduce hard to debug
983 bugs. Fixes bug #545714.
985 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
987 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
989 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
990 * gst/gstghostpad.c: (gst_ghost_pad_construct):
991 Add 'Since' bits to gtk-doc chunks for new API.
993 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
995 * docs/gst/gstreamer-sections.txt:
998 2008-10-06 Andy Wingo <wingo@pobox.com>
1000 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1001 that will be called on the malloc_data to free it. Basically a way
1002 to avoid subclassing when all you need is a different free
1003 function, i.e. free() instead of g_free().
1005 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1006 calling the free function.
1007 (gst_buffer_init): Initialize the free function to g_free.
1009 2008-10-06 Andy Wingo <wingo@pobox.com>
1011 * gst/gstghostpad.h:
1012 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1013 finishes the initialization of ghost pad. Useful for language
1014 bindings and subclassers of GstGhostPad. Fixes #539108.
1015 (gst_ghost_pad_new_full): Use the new constructor.
1017 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1019 Base on Patch by: Olivier Crete <tester at tester dot ca>
1021 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1022 (gst_bin_remove_func), (update_degree),
1023 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1024 Keep track of pads that are being linked/unlinked and resync the state
1027 * gst/gstpad.c: (gst_pad_get_direction),
1028 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1029 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1030 (gst_pad_link_prepare), (gst_pad_link),
1031 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1032 (gst_pad_check_pull_range), (gst_pad_get_range),
1033 (gst_pad_pull_range):
1034 Some code cleanups, use macros to check pad direction.
1035 Don't need to take the lock on the pad direction.
1036 Post structure change when pads are linked/unlinked.
1037 Change some checks into _return_if_fail().
1039 * tests/check/gst/gstbin.c:
1040 (test_link_structure_change_state_changed_sync_cb),
1041 (GST_START_TEST), (gst_bin_suite):
1042 Add testcase for pad link/unlinke resync during a state change.
1045 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1047 * docs/gst/gstreamer-sections.txt:
1048 * gst/gstmessage.c: (gst_message_new_structure_change),
1049 (gst_message_parse_structure_change):
1051 Implement STRUCTURE_CHANGED messages. These messages will be used to
1052 signal the parent bin of link/unlink operations that could require a
1053 resync when doing a state change. See ##510354.
1054 API: gst_message_new_structure_change()
1055 API: gst_message_parse_structure_change()
1057 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1061 Add some more quarks for new message. See #510354.
1063 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1065 * docs/libs/gstreamer-libs-docs.sgml:
1066 * docs/libs/gstreamer-libs-sections.txt:
1067 * libs/gst/base/Makefile.am:
1068 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1069 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1070 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1071 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1072 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1073 (gst_bit_reader_skip_to_byte):
1074 * libs/gst/base/gstbitreader.h:
1075 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1076 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1077 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1078 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1079 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1080 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1081 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1082 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1083 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1084 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1085 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1086 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1087 * libs/gst/base/gstbytereader.h:
1088 * tests/check/Makefile.am:
1089 * tests/check/libs/bitreader.c: (GST_START_TEST),
1090 (gst_bit_reader_suite):
1091 * tests/check/libs/bytereader.c: (GST_START_TEST),
1092 (gst_byte_reader_suite):
1093 API: Add bit reader and byte reader classes, including documentation
1094 and an extensive unit test suite. Fixes bug #553554.
1096 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1098 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1099 (gst_base_sink_query):
1100 Improve position reporting while flushing and other intermediate state
1101 changes. Fixes #553874.
1103 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
1105 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1107 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1108 Original patch by : Simon Descaries
1109 Fix small refount leak in caps compatibility check.
1112 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1114 * docs/pwg/advanced-request.xml:
1115 Fix 0.8 api usage in example. Fixes #554561
1117 * docs/pwg/appendix-porting.xml:
1118 Change 0.9 to 0.10 here.
1120 2008-10-06 Stefan Kost <ensonic@users.sf.net>
1122 * docs/manual/basics-data.xml:
1123 Change "event-event interaction" to "element-element interaction".
1124 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1127 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1130 Back to development -> 0.10.21.1
1132 === release 0.10.21 ===
1134 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1137 releasing 0.10.21, "Take These Things From Me"
1139 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1142 0.10.20.4 pre-release
1144 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1146 * libs/gst/base/gstbasetransform.c:
1147 * plugins/elements/gstcapsfilter.c:
1148 * tests/check/Makefile.am:
1149 * tests/check/elements/.cvsignore:
1150 * tests/check/elements/capsfilter.c:
1151 Fix assertion in basetransform when the subclass chooses not to
1152 allocate a buffer in prepare_buffer(), and make capsfilter error out
1153 cleanly if requested to apply caps that don't completely specify the
1154 buffer. Fixes #551509
1156 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1158 * libs/gst/base/gstbasetransform.c:
1159 (gst_base_transform_prepare_output_buffer):
1160 Take new caps ref because our old one might have been gone when the
1161 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1163 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1166 Do not probe availability of check unit test library when cross
1167 compiling, as test would not work anyway. Also cleanup verbose output
1168 of the check test. Fixes #551952.
1170 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1172 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1174 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1175 Avoid leaking the parent ref when we fail changing the state of the
1176 element using gst_element_sync_state_with_parent(). Fixes #551978.
1178 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1180 * docs/manual/intro-motivation.xml::
1181 Remove some bits that no longer apply, update others (#551642).
1183 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1186 0.10.20.2 pre-release
1194 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1196 * win32/common/config.h.in:
1197 Add GST_DATADIR, hard-code cpu to x86.
1199 * win32/common/libgstreamer.def:
1202 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1205 Fix Since: markers for new geo tags.
1207 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1210 Fix actual tag name define after renaming from altitude to elevation.
1212 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1214 * gst/gstpad.c: (add_unref_pad_to_list),
1215 (gst_pad_get_internal_links_default):
1216 Add fallback when calling the deprecated function on an element that
1217 implements the new internal_link handler.
1219 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1221 * docs/gst/gstreamer-sections.txt:
1224 Add new tags for geo location and clarify purpose of existing location
1227 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1229 Patch by: Olivier Crete <tester at tester dot ca>
1231 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1232 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1233 Use thread-safe internal links iterator. Fixes #549504.
1235 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1237 Based on patch by: Olivier Crete <tester at tester dot ca>
1239 * docs/gst/gstreamer-sections.txt:
1240 * win32/common/libgstreamer.def:
1241 * gst/gstpad.c: (gst_pad_init),
1242 (gst_pad_set_iterate_internal_links_function),
1243 (int_link_iter_data_free), (iterate_pad),
1244 (gst_pad_iterate_internal_links_default),
1245 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1247 Add threadsafe replacement functions for getting internal links of an
1248 element. Deprecate the old internal links functions.
1249 API:GstPad::gst_pad_set_iterate_internal_links_function()
1250 API:GstPad::GstPadIterIntLinkFunction
1251 API:GstPad::gst_pad_iterate_internal_links()
1252 API:GstPad::gst_pad_iterate_internal_links_default()
1254 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1255 (gst_proxy_pad_init):
1256 Implement threadsafe internal links.
1258 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1259 Unit test for internal links on tee. See #549504.
1261 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1263 * tests/check/Makefile.am:
1264 libs/transform1 test requires libs/test_transform.c
1266 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1268 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1269 Die evil deadlock, die !
1271 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1273 * gst/gstutils.c: (gst_element_get_compatible_pad):
1274 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1275 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1276 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1277 not steal the refcount of the given caps as stated.
1279 REVERT THIS COMMIT ONCE FIXED !
1280 REVERT THIS COMMIT ONCE FIXED !
1281 REVERT THIS COMMIT ONCE FIXED !
1282 REVERT THIS COMMIT ONCE FIXED !
1283 REVERT THIS COMMIT ONCE FIXED !
1284 REVERT THIS COMMIT ONCE FIXED !
1286 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1288 * gst/gstiterator.c:
1289 * gst/gstiterator.h:
1290 After 3 years it's about time to revise the documentation of the
1293 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1295 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1296 Make the internal links function less thread-unsafe and add some
1297 comments, dunno why.
1299 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1301 * gst/gst_private.h:
1302 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1303 build with --disable-gst-debug.
1305 2008-08-28 David Schleef <ds@schleef.org>
1307 * gst/gstpadtemplate.c: Revert last change, since it breaks
1308 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1309 but shouldn't be enabled until we've released fixed versions
1310 of -good and -ffmpeg.
1312 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1315 Put the gst_object_get_name() back in.
1317 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1319 * gst/gstpadtemplate.c:
1320 The old behaviour was that gst_pad_template_new() takes ownership of
1321 the caps. As we now call g_object_new() which calls g_object_set() and
1322 which copies the caps, we have to unref them to not leak them. Fixes
1323 make valgrid for me.
1325 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1328 Don't segfault on input like "tel:+1-123-555-1234".
1330 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1333 Due to popular request also include ObjectType in
1334 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1336 2008-08-26 David Schleef <ds@schleef.org>
1338 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1339 src_val must be positive, because that's not a requirement.
1340 This causes problems with converting negative granulepos
1342 * gst/gstquery.c: Same, gst_query_new_convert().
1344 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1346 * gst/gstclock.c: (gst_clock_add_observation):
1347 Add some more debugging to the clock slaving code.
1349 * win32/common/libgstbase.def:
1350 Add new basetransform method.
1352 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1354 * gst/gstbin.c: (gst_bin_element_set_state):
1355 Take the (recursive) state lock between getting the locked state of an
1356 element and changing the element state. This allows the application to
1357 lock an element's state and then change its state without races.
1359 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1361 * gst/gstbin.c: (gst_bin_element_set_state):
1362 When an element is in the locked state we still want to update the
1363 base_time of the element.
1365 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1367 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1368 Use the result from gst_pad_set_caps() instead of assuming the element
1369 always accepted the caps computed by the default negotiate function.
1371 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1373 * docs/libs/gstreamer-libs-sections.txt:
1374 * libs/gst/base/gstbasetransform.c:
1375 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1376 (gst_base_transform_chain), (gst_base_transform_suggest),
1377 (gst_base_transform_reconfigure):
1378 * libs/gst/base/gstbasetransform.h:
1379 Implement method for reconfiguring basetransform.
1380 API: GstBaseTransform::gst_base_transform_reconfigure()
1382 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1384 patch by: Murray Cumming <murrayc@murrayc.com>
1387 Mention that this is just like gst_buffer_merge() but with extra
1388 unreffing for C coders. Advise language bindings not to wrap it.
1391 Also fix file comment.
1393 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1395 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1397 * plugins/elements/gstfakesink.c:
1398 * plugins/elements/gstfakesrc.c:
1399 Call super::event() when not handling it. Fixes #544855.
1401 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1403 Patch by: Alessandro Decina <alessandro@nnva.org>
1404 * plugins/elements/gstfilesrc.c:
1405 Use 64 bit variants of stat functions on win32, to enable support
1406 of large files there.
1409 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1411 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1412 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1413 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1414 (gst_base_sink_get_position), (gst_base_sink_change_state):
1415 Improve position reporting in the flushing state.
1416 Also report the position when we are not yet prerolled but we
1417 have a newsegment event. Fixes #543444.
1418 Improve the pull-based negotiation code.
1420 * tests/check/elements/fakesink.c: (GST_START_TEST),
1422 Add testcase for position reporting while flushing in PAUSED and
1425 * tests/check/generic/sinks.c: (GST_START_TEST):
1426 Update unit-test, we can now query the position as soon as we receive a
1429 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1431 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1433 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1434 When the subclass event handler releases the PREROLL_LOCK, we could be
1435 in the flushing state and we have to ignore the event. Fixes #548394.
1437 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1439 * tools/gst-launch.1.in:
1440 Document GST_REGISTRY_UPDATE environment variable.
1442 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1444 * libs/gst/base/gstbasetransform.c:
1445 (gst_base_transform_prepare_output_buffer):
1446 If the element is configured in passthrough mode but the
1447 prepare_output_buffer gave us a new output buffer, discard that buffer
1448 and reuse the input buffer.
1450 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1452 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1454 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1455 (gst_tee_request_new_pad), (gst_tee_release_pad),
1456 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1457 * plugins/elements/gsttee.h:
1458 Protect pad_alloc with a new lock so that we can be sure that nothing is
1459 performing a pad_alloc when removing the pad. Fixes #547835.
1461 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1462 (buffer_alloc_harness_teardown), (app_thread_func),
1463 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1464 Added testcase for shutdown race.
1466 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1471 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1473 * libs/gst/base/gstbasetransform.c:
1474 (gst_base_transform_prepare_output_buffer),
1475 (gst_base_transform_buffer_alloc):
1476 Go over the buffer_alloc function again and make sure we always end up
1477 allocating a buffer.
1479 Avoid doing pad alloc when we have a pending suggestion because we
1480 cannot yet deal with changing caps in that case. Fixes #547728
1482 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1484 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1486 * docs/manual/advanced-clocks.xml:
1487 * docs/manual/clocks.png:
1488 * docs/manual/diagrams-clocks.svg:
1489 Add one more image showing different times together with a describing
1490 paragraph. Fixes #547729.
1492 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1494 * win32/common/libgstbase.def:
1497 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1499 * libs/gst/base/gstbasetransform.c:
1500 (gst_base_transform_transform_caps),
1501 (gst_base_transform_prepare_output_buffer),
1502 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1503 Don't overwrite the outsize when calculating the expected size of a new
1504 buffer because we still need it in case we cannot process the new
1506 When converting the size of the new buffer to an upstream size, actually
1507 use the expected size of the buffer, not some other random value.
1508 Use an atomic int to signal that a new upstream caps suggestion is
1510 When we can convert the current buffer to a new format, check if the
1511 buffer size is of the expected size and allocate a new buffer of the
1512 expected size when this is not the case. Fixes #546883.
1514 * tests/check/libs/transform1.c: (GST_START_TEST):
1515 remove ifdeffed code from the unit test.
1517 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1519 * pkgconfig/gstreamer-uninstalled.pc.in:
1520 * pkgconfig/gstreamer.pc.in:
1521 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1522 called gstcontroller-0.10.
1524 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1526 * gst/gstchildproxy.h:
1528 Remove double interface from doc-string.
1530 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1532 * libs/gst/base/gstbasesrc.c:
1533 * libs/gst/base/gstbasetransform.c:
1534 Fix headings in docs and gtk-doc warnings.
1536 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1538 * gst/gstregistrybinary.c:
1539 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1543 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1545 * libs/gst/base/gstbasetransform.c:
1546 (gst_base_transform_buffer_alloc):
1547 Fix a "may be used unitialized" warning.
1549 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1551 * docs/gst/gstreamer-sections.txt:
1553 Document preset-iface vmethods.
1555 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1557 * docs/manual/advanced-interfaces.xml:
1558 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1559 only used to discover devices.
1561 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1563 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1565 * gst/gst.c: (init_pre):
1566 Make sure gettext returns translations in UTF-8 encoding rather
1567 than in the current locale encoding (#546822).
1569 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1571 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1574 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1575 Improve unit test subset tests and add a testcase for the subset failure
1578 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1579 Improve subtraction unit test.
1581 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1583 * plugins/elements/gsttee.c:
1584 Unlock, instead of locking again.
1586 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1589 Clarify the docs a bit more.
1591 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1593 * tests/examples/metadata/read-metadata.c:
1594 Don't leak old taglist.
1596 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1598 Patch by: Olivier Crete <tester at tester dot ca>
1600 * gst/gststructure.c:
1601 (gst_structure_fixate_field_nearest_fraction):
1602 Avoid overflows in fixation code when dealing with MAXINT values, which
1603 v4l2src seems to do.
1606 * tests/check/gst/gststructure.c: (GST_START_TEST):
1607 Make a unit test to check the fix.
1609 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1611 * plugins/elements/gstcapsfilter.c: (copy_func),
1612 (gst_capsfilter_set_property):
1613 Use new caps suggestion feature of basetransform to request a caps
1614 negotiation upstream.
1616 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1618 * docs/libs/gstreamer-libs-sections.txt:
1620 API: GstBaseTransform::gst_base_transform_suggest()
1622 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1623 (gst_base_transform_init), (gst_base_transform_transform_caps),
1624 (gst_base_transform_transform_size),
1625 (gst_base_transform_configure_caps),
1626 (gst_base_transform_can_transform),
1627 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1628 (gst_base_transform_prepare_output_buffer),
1629 (gst_base_transform_buffer_alloc),
1630 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1631 (gst_base_transform_chain), (gst_base_transform_activate),
1632 (gst_base_transform_set_passthrough),
1633 (gst_base_transform_is_passthrough),
1634 (gst_base_transform_set_in_place),
1635 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1636 (gst_base_transform_set_qos_enabled),
1637 (gst_base_transform_is_qos_enabled),
1638 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1639 (gst_base_transform_reconfigure):
1640 * libs/gst/base/gstbasetransform.h:
1641 Rewrite of basetransform to perform negotiation outside of the
1642 buffer_alloc functions. Fixes #545853.
1644 * tests/check/libs/transform1.c: (GST_START_TEST),
1648 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1650 * tests/check/gst/gstpreset.c:
1651 Only run preset tests when $HOME is writable. Preliminary fix for
1654 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1656 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1657 (gst_bin_change_state_func), (bin_handle_async_done),
1658 (gst_bin_handle_message_func):
1659 Fix race for bins that simulate ASYNC state changes by inserting
1660 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1661 pending ASYNC messages even when the bin does not have ASYNC children.
1662 We note detect this behaviour because we will receive an ASYNC message
1663 that is originating from the bin itself.
1664 Fixes races with decodebin2 state changes.
1666 * tests/check/gst/gstbin.c: (GST_START_TEST):
1667 Add some more debug.
1669 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1671 * gst/gsttaglist.c: (_gst_tag_initialize):
1674 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1677 Argh. actually save the text before committing. Now adds
1678 gst_tag_merge_strings_with_comma() to gst_tag_register().
1680 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1684 Do as tim pointed out and actually register the new tag. Also improve
1685 te docs and use gst_tag_merge_strings_with_comma() method to allow
1686 retriving all keywords merged in one list.
1688 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1691 * docs/gst/gstreamer.types:
1692 Revert 'accidential' change of the configure option removal. We still
1693 need to generate the types file in configure --disable-load-save.
1695 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1697 * docs/gst/gstreamer-sections.txt:
1699 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1701 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1703 * gst/gstpadtemplate.c:
1704 (gst_pad_template_class_init), (gst_static_pad_template_get),
1705 (gst_pad_template_new), (gst_pad_template_pad_created),
1706 (gst_pad_template_set_property), (gst_pad_template_get_property):
1707 Add "name-template", "direction", "presence" and "caps" properties,
1708 so that gst_pad_template_new() is just a thin wrapper around
1709 g_object_new(), which is better for bindings. (Fixes: #539772)
1711 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1714 Be more liberal in what URIs we accept.
1715 Do not unescape bits of the URI for no apparent reason before passing to
1716 the element. Fixes #545352.
1718 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1720 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1723 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1725 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1728 * docs/gst/gstreamer-sections.txt:
1729 * docs/gst/gstreamer.types:
1730 * docs/gst/gstreamer.types.in:
1733 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1734 * gst/gstconfig.h.in:
1735 * gst/gstelement.c: (gst_element_get_index):
1736 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1737 (gst_registry_binary_load_feature),
1738 (gst_registry_binary_read_cache):
1739 * gst/gstregistryxml.c: (load_feature),
1740 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1741 * plugins/Makefile.am:
1743 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1744 (print_plugin_features), (print_element_features):
1745 * tools/gst-xmlinspect.c: (print_event_masks),
1746 (print_element_info):
1747 * win32/common/gstconfig.h:
1748 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1750 Disabling the indexers and URI handler code will only reduce the
1751 required amount of memory by a very small amount but on the other hand
1752 requires much more maintaince work. Apart from that many places of
1753 code are broken when disabling them.
1755 Disabling the enum types doesn't reduce the required amount of memory
1756 by more than a few bytes and makes it hard to fix bugs like #539772,
1757 i.e. use the enums as GObject properties.
1759 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1761 * docs/design/part-TODO.txt:
1762 Add some thoughts and problems with upstream renegotiation.
1764 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1766 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1767 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1768 Remove silly redundant debug.
1769 Add some more debug info.
1770 Clarify the docs regarding new caps received from pad_alloc.
1772 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1774 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1775 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1776 Make setting the caps more threadsafe.
1778 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1780 * docs/design/part-element-transform.txt:
1783 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1785 * plugins/elements/gstqueue.c: (gst_queue_init),
1786 (gst_queue_acceptcaps):
1787 Add and use a custom acceptcaps function instead of falling back to the
1788 potentially less optimized default implementation.
1790 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1792 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1793 Only sanity-check the buffer size if requested_caps == buffer_caps
1794 (ie. don't take pad caps into account, they're not relevant here)
1796 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1798 * plugins/elements/gsttee.c:
1799 * plugins/elements/gsttee.h:
1800 Reverting as not everything is clear yet. Needs some general design
1803 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1806 ChangeLog surgery for tee commit.
1808 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1810 * docs/gst/gstreamer-sections.txt:
1811 Cleanup section-file.
1813 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1815 * plugins/elements/gsttee.c:
1816 * plugins/elements/gsttee.h:
1817 Relay tag events in tee. Fixes parts of #474016.
1818 Downgrades 3 reoccurring debugs to log.
1820 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1823 * libs/gst/Makefile.am:
1824 Build the net library if we have winsock2.
1826 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1828 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1830 * docs/manual/advanced-threads.xml:
1831 * docs/manual/diagrams-pipelines.svg:
1832 * docs/manual/hello-world.png:
1833 * docs/manual/linked-elements.png:
1834 * docs/manual/mime-world.png:
1835 * docs/manual/queue.png:
1836 * docs/manual/thread-buffering.png:
1837 * docs/manual/thread-synchronizing.png:
1838 Replace one diagram with two separate ones and updates others.
1841 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1844 Fix link in documentation.
1846 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1849 Fix confusing documentation.
1851 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1853 * libs/gst/base/gstbasesrc.h:
1854 revert the changes to the header file for the ABI.
1856 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1858 * libs/gst/base/gstbasesrc.c:
1859 * libs/gst/base/gstbasesrc.h:
1860 Don't cache the seekable status.
1863 2008-07-24 Rene Stadler <mail@renestadler.de>
1865 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1866 code to close the pipeline graph. This prevents the program from
1867 printing internal data flow errors.
1869 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1871 * docs/manual/basics-bus.xml:
1872 Correct typo. Fixes bug #544320.
1874 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1877 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1878 Add check (taken from -base) for winsock, adds WIN32_LIBS
1880 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1882 Define GST_EXPORTS when building libgstreamer (only used on win32)
1883 * gst/gst_private.h:
1885 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1886 for symbols that we need to export in both these files.
1888 Include gst_private.h higher up to avoid some compile problems on win32.
1890 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1895 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1898 Previous commit was wrong NULL caps does not exist
1899 and indicate an error, so also add a FIXME to
1900 gst_caps_is_equal where NULL caps are accepted.
1902 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1905 Allow passing of NULL to gst_caps_union
1907 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1909 * gst/gstghostpad.c:
1910 Add in doc that gst_ghost_pad_set_target can accept
1911 NULL to clear target
1913 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1916 * gst/gstregistry.c:
1917 GstRegistryPool doesn't exist; don't refer to it in docs.
1918 Don't refer to functions that don't exist in docs, it's
1921 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1924 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1926 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1928 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1930 * docs/pwg/building-testapp.xml:
1931 Don't use an undeclared variable in the example program.
1934 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1936 * gst/gstdebugutils.c:
1937 Squeeze ghost-pad links and remove <> from classname labels to save
1938 more horizontal space.
1940 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1942 * gst/gstdebugutils.c:
1943 Give request and sometimes pads a different shpe style. Condense the
1944 graphs a little more.
1946 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1949 Don't require flex and bison if the parser is disabled.
1951 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1953 * libs/gst/controller/gstinterpolationcontrolsource.c:
1954 (_list_find_sorted_custom):
1955 Don't use declarations after statements.
1957 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1959 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1960 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1961 of the the child-added / -removed signals as GstChildProxy
1962 only supports GstObjects.
1964 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1966 * gst/gstdebugutils.c:
1969 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1971 Patch by: Alessandro Decina <alessandro at nnva dot org>
1974 Fix "ignored return value" compiler warning with newer glibc.
1976 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1978 * gst/gstchildproxy.c:
1979 Fix copy&paste error in gst_child_proxy_removed() documentation.
1981 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1983 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1984 Print error debug message if plugin description fields that should
1987 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1988 Don't crash if the string to serialise is NULL (it really should
1989 not be, but apparently this used to work with the xml registry ...).
1991 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1993 * tools/gst-plot-timeline.py:
1994 Fix parsing of log messages
1996 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1998 * win32/common/libgstbase.def::
1999 Sort alphabetically so make check-exports doesn't barf.
2001 2008-07-01 Stefan Kost <ensonic@users.sf.net>
2004 Use gst_format_get_name() to improve debug output.
2007 Remove #ifdef'ed code. Add TODO comment.
2010 Add debug output to ease spotting format != segment.format assertions.
2012 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2014 * tests/check/libs/gdp.c: (gst_dp_suite):
2015 Also enable the GDP unit test again on PPC now that the bug
2018 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2020 * libs/gst/dataprotocol/dataprotocol.c:
2021 Don't write to the same region of memory as a uint64 and uint16
2022 as this breaks strict aliasing rules and apparantly breaks on PPC
2023 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2025 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2027 * libs/gst/controller/gstinterpolationcontrolsource.c:
2028 Optimize list handling. Use own find function. Exploit that fact that
2029 the list is sorted. Also pass back the node before, so that we can
2030 insert quickly. Have a fast path for append.
2032 2008-06-29 Stefan Kost <ensonic@users.sf.net>
2034 * docs/design/draft-framestep.txt:
2035 * docs/design/part-negotiation.txt:
2038 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2041 Show configuration sumary after configure run. Based on patch by
2042 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2044 2008-06-27 Stefan Kost <ensonic@users.sf.net>
2046 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2048 * docs/manual/advanced-autoplugging.xml:
2049 * docs/manual/advanced-threads.xml:
2050 * docs/manual/basics-bins.xml:
2051 * docs/manual/basics-elements.xml:
2052 * docs/manual/basics-helloworld.xml:
2053 * docs/manual/basics-pads.xml:
2054 Add scale factor for pdf output.
2056 * docs/manual/intro-basics.xml:
2057 Switched sections "pads" and "bins" and added a pipeline diagram.
2059 * docs/manual/intro-gstreamer.xml:
2060 Added more info on gstreamer.
2062 * docs/manual/intro-motivation.xml:
2063 Commented out the whole section "current problem", which sounds
2064 historical and somehow osolete; it could be turned in a positive
2065 way and reused to improve the design principles.
2067 * docs/manual/intro-preface.xml:
2068 - Update URLs to library.gnome.org.
2069 - Do not mention GTK+ in preliminary reading (irrelevant).
2070 - Mention Plugin Writer's Manual and further reading only in the
2072 - Added a list of most relevant GObject/glib topics.
2074 * docs/manual/Makefile.am:
2075 * docs/manual/bin-element-ghost.fig:
2076 * docs/manual/bin-element-ghost.png:
2077 * docs/manual/bin-element-noghost.fig:
2078 * docs/manual/bin-element-noghost.png:
2079 * docs/manual/bin-element.fig:
2080 * docs/manual/bin-element.png:
2081 * docs/manual/filter-element-multi.fig:
2082 * docs/manual/filter-element-multi.png:
2083 * docs/manual/filter-element.fig:
2084 * docs/manual/filter-element.png:
2085 * docs/manual/gstreamer-overview.png:
2086 * docs/manual/hello-world.fig:
2087 * docs/manual/hello-world.png:
2088 * docs/manual/linked-elements.fig:
2089 * docs/manual/linked-elements.png:
2090 * docs/manual/mime-world.fig:
2091 * docs/manual/mime-world.png:
2092 * docs/manual/queue.fig:
2093 * docs/manual/queue.png:
2094 * docs/manual/simple-player.png:
2095 * docs/manual/sink-element.fig:
2096 * docs/manual/sink-element.png:
2097 * docs/manual/src-element.fig:
2098 * docs/manual/src-element.png:
2099 * docs/manual/diagrams-general.svg:
2100 * docs/manual/diagrams-pipelines.svg:
2101 Removed .fig, added .png counterpart.
2105 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
2107 * plugins/elements/gstmultiqueue.c:
2108 * plugins/elements/gstmultiqueue.h:
2109 revert extra-size-buffers stuff, caused some race conditions
2110 and extra-size-buffers is not used anymore. Docs needs some updates
2112 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2114 * win32/common/config.h:
2115 * win32/common/gstenumtypes.c:
2116 * win32/common/gstenumtypes.h:
2117 * win32/common/gstversion.h:
2120 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
2122 * gst/gstdebugutils.h: (GstDebugGraphDetails),
2123 (GST_DEBUG_BIN_TO_DOT_FILE):
2124 Add missing Since' markers to gtk-doc blurbs.
2126 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2128 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2129 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2130 (set_caps_1), (set_caps_ct1), (transform_ct1),
2131 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2132 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2133 (transform_size_ct2), (buffer_alloc_ct2):
2134 Add some more tests with switching caps in buffer_alloc.
2136 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2138 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2139 (gst_test_trans_class_init), (result_sink_chain),
2140 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2141 (gst_test_trans_push), (gst_test_trans_pop):
2142 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2143 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2144 (set_caps_1), (set_caps_ct1), (transform_ct1),
2145 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2146 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2147 (transform_size_ct2), (buffer_alloc_ct2),
2148 (gst_basetransform_suite):
2149 More tests, prepare for tests with switching caps in buffer_alloc.
2151 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2153 * plugins/elements/gstmultiqueue.c:
2154 * plugins/elements/gstmultiqueue.h:
2155 Fix dead-lock in underrun_cb
2157 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2159 * docs/design/part-states.txt:
2160 Fix device open/close docs.
2162 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2165 Mention bugnumber for last commit.
2167 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2169 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2171 * docs/manual/manual.xml:
2172 - Reorganised the previous "introduction" bundle into Foreword,
2173 Introduction, and About GStreamer. The two first are <preface>
2174 docbook elements. The later is the first part of the book.
2175 - added intro-gstreamer.xml (content partially from
2177 - moved appendix-win32.xml into appendix-integration.xml
2179 * docs/manual/intro-preface.xml: gstreamer section moved...
2180 * docs/manual/intro-gstreamer.xml: ...here. new file.
2182 * docs/manual/appendix-win32.xml: removed file. Content moved...
2183 * docs/manual/appendix-integration.xml: ...here.
2185 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2186 * docs/manual/appendix-checklist.xml: ...here.
2190 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2192 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2194 * docs/manual/basics-helloworld.xml:
2195 * docs/manual/hello-world.fig:
2196 - Explicitely include glib.h.
2197 - Do not use global variables.
2198 - Use g_printerr() instead of g_print().
2199 - Minor formating/renaming to increase readibility.
2200 - Renamed new_pad() to on_pad_added()
2201 - Improved explenatory comments.
2202 - renamed ogg parser to ogg demuxer
2203 - Use "autoaudiosink" instead of "alsasink".
2206 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2209 Remove cvs conflict marker.
2211 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2214 Document that for plgin-docs we extraxt he short-desc from the element
2217 * docs/design/part-states.txt:
2218 Tell that devices should be closed in PAUSED -> READY.
2220 * docs/manual/README:
2221 Document how tests in the manual are handled.
2226 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2228 * gst/gstbin.c: (bin_query_latency_fold):
2229 Only care about latency min and max when the sink is actually a live
2232 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2234 * docs/design/part-block.txt:
2237 * docs/design/part-element-transform.txt:
2238 Add notes about why transform needs to know input/output sizes.
2239 Add some issues that need to be solved.
2240 Add some more use cases.
2242 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2243 (gst_test_trans_class_init), (result_sink_chain),
2244 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2245 (gst_test_trans_push), (gst_test_trans_pop):
2246 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2247 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2248 (set_caps_1), (set_caps_ct1), (transform_ct1),
2249 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2250 (gst_basetransform_suite):
2251 Add suport for different pad templates and buffer-alloc.
2252 Add more checks for caps and buffer-alloc.
2253 Add checks for proxy buffer alloc.
2254 Add unit test for copy transform.
2256 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2258 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2260 * docs/manual/appendix-integration.xml:
2261 * docs/manual/appendix-licensing.xml:
2262 * docs/manual/basics-elements.xml:
2263 * docs/manual/basics-helloworld.xml:
2264 * docs/manual/basics-pads.xml:
2265 * docs/manual/highlevel-components.xml:
2266 * docs/manual/highlevel-xml.xml:
2267 * docs/manual/intro-basics.xml:
2268 * docs/manual/intro-preface.xml:
2269 Typo and formatting fixes (#538594).
2271 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2273 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2274 Fix some memory leaks and uses of object instances that we don't
2277 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2279 * plugins/elements/gstmultiqueue.c:
2280 Add functionality to extra-size-buffers property.
2282 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2284 * plugins/elements/gstmultiqueue.c:
2285 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2286 activate the pads if they are added in STATE_NULL.
2288 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2290 * docs/libs/gstreamer-libs-sections.txt:
2292 * libs/gst/check/gstcheck.c:
2293 * libs/gst/check/gstcheck.h:
2294 API: gst_check_teardown_pad_by_name
2296 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2298 * libs/gst/check/gstcheck.c:
2299 * libs/gst/check/gstcheck.h:
2300 Also setup request pads and allow setup pads by name (#537812)
2301 API: gst_check_setup_src_pad_by_name
2302 API: gst_check_setup_sink_pad_by_name
2304 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2306 * tests/check/gst/gstbuffer.c:
2307 * tests/check/pipelines/parse-launch.c:
2308 Use HAVE_VALGRIND_H some more.
2310 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2312 * scripts/cvs-update.sh:
2313 Pass arguments to make.
2314 Run autoregen.sh if Makefile is not there.
2316 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2320 Don't assume that <valgrind/valgrind.h> exists just because
2321 the binary is there.
2323 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2325 * tests/check/Makefile.am:
2326 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2327 (gst_test_trans_class_init), (gst_test_trans_init),
2328 (gst_test_trans_set_data), (result_sink_chain),
2329 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2330 (gst_test_trans_pop):
2331 * tests/check/libs/transform1.c: (GST_START_TEST),
2332 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2333 Add some test basetransform element and the beginnings of various
2336 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2338 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2339 Increase code readability.
2340 Don't try to compare buffer offsets when ther are invalid.
2342 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2344 * docs/design/Makefile.am:
2345 Dist some more design docs.
2347 * docs/random/moving-plugins:
2348 Small addition: good plugins mustn't have functional code
2349 within assertion macros.
2351 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2353 * docs/design/draft-framestep.txt:
2354 Some ideas about a framestep API
2356 * docs/design/part-element-transform.txt:
2357 Start design and use cases for basetransform in order to get it
2360 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2363 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2364 be in UTF-8 encoding.
2366 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2369 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2371 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2373 * plugins/elements/gstcapsfilter.c:
2374 * plugins/elements/gstfakesink.c:
2375 * plugins/elements/gstfakesrc.c:
2376 * plugins/elements/gstfdsink.c:
2377 * plugins/elements/gstfdsrc.c:
2378 * plugins/elements/gstfilesink.c:
2379 * plugins/elements/gstfilesrc.c:
2380 * plugins/elements/gstidentity.c:
2381 * plugins/elements/gstmultiqueue.c:
2382 * plugins/elements/gstqueue.c:
2383 * plugins/elements/gsttee.c:
2384 * plugins/elements/gsttypefindelement.c:
2385 Remove short_description. Add basic docs for gsttypefindelement.
2386 Simplify markup for fakesrc/fdsrc.
2388 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2390 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2393 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2395 Patch by: Joel Larsson <tilljoel at gmail dot com>
2397 * docs/plugins/gstreamer-plugins.args:
2398 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2399 (gst_fd_src_init), (gst_fd_src_update_fd),
2400 (gst_fd_src_set_property), (gst_fd_src_get_property),
2401 (gst_fd_src_create):
2402 * plugins/elements/gstfdsrc.h:
2403 Add timeout property like udpsrc. Fixes #538628.
2404 Add some more docs and example pipelines.
2406 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2408 * docs/libs/gstreamer-libs-sections.txt:
2409 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2410 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2411 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2412 (gst_base_sink_do_sync):
2413 * libs/gst/base/gstbasesink.h:
2414 * win32/common/libgstbase.def:
2415 Add method to allow sinks to specify additional delay between the sync
2416 times and the actual rendering of the data.
2417 API: gst_base_sink_set_render_delay()
2418 API: gst_base_sink_get_render_delay()
2420 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2423 Bump version number back to dev -> 0.10.20.1
2425 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2427 * docs/gst/gstreamer-sections.txt:
2428 * gst/gsttaglist.c: (_gst_tag_initialize):
2430 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2433 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2435 * libs/gst/controller/gstcontroller.c:
2436 Revert one change, that make ret value possible uninitialized.
2438 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2440 * libs/gst/controller/gstcontroller.c:
2441 Use freeze/thaw notify to sync notify emission a bit (its also more
2442 efficient). Move debug output to LOG (is called a lot in a loop).
2443 Always unset g_values if the have been initialized.
2445 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2447 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2448 (gst_base_sink_wait_eos), (gst_base_sink_event):
2449 If we have not seen a buffer before EOS, use the segment values to
2450 report the current position instead of invalid positions.
2452 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2454 * docs/plugins/tmpl/.cvsignore:
2455 * tests/check/gst/.cvsignore:
2458 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2460 * libs/gst/controller/gstinterpolation.c:
2461 * libs/gst/controller/gstinterpolationcontrolsource.c:
2462 * tests/check/libs/controller.c:
2463 Rewrite handling of default values. Fix overflow with unsigned types
2464 in linear interpolation. Remove now obsolete _first_value() function.
2465 Add more tests. Fixes #538201.
2467 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2469 * libs/gst/base/gstbasetransform.c:
2470 (gst_base_transform_class_init), (gst_base_transform_init),
2471 (gst_base_transform_transform_caps),
2472 (gst_base_transform_prepare_output_buffer):
2474 When a buffer is writable, its metadata is also writable so we don't
2475 need to subbuffer (which then makes the buffer not-writable anymore).
2477 === release 0.10.20 ===
2479 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2482 releasing 0.10.20, "You Crazy Diamond"
2484 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2487 0.10.19.3 pre-release
2489 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2493 Rename DATADIR to GST_DATADIR to avoid build problems
2494 on win32. Patch By: David Schleef <ds@schleef.org>
2497 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2500 Explicitely link with -ldl if dladdr() is found there. Before it was
2501 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2502 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2504 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2506 * gst/gsterror.c: (_gst_stream_errors_init):
2507 Fix typo (spotted by Fabricio Godoy, #536723).
2509 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2512 0.10.19.2 pre-release
2514 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2516 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2517 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2519 Make sure we don't generate invalid QoS messages.
2521 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2523 * gst/gstevent.c: (gst_event_new_qos):
2524 Add some assert and docs for invalid input to the qos function.
2526 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2528 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2529 (gst_base_sink_get_position):
2530 The reported position must always be smaller than the last seen
2531 timestamps (or timestamp + duration for reverse).
2533 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2535 Patch by: Rob Bradford <rob at robster dot org dot uk>
2537 * gst/gstregistry.c: (gst_registry_scan_path_level):
2538 Don't recurse into .debug directories as some distros install
2539 the debugging symbols next to the plugins in .debug directories
2540 and dlopen() crashes on them sometimes. Fixes bug #508070.
2542 Add FIXME for 0.11 to not recurse into directories at all because
2543 it's very inconsistent to the behaviour of other PATH environment
2546 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2548 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2549 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2550 Fix position query range checks in reverse playback.
2552 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2556 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2557 clear of the reference to the resulting pad must be released later
2558 or not, resulting in possible leaks. Fixes bug #533865.
2560 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2562 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2564 * gst/gstelementfactory.c:
2565 Small doc fix. Fixes #535285.
2567 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2569 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2571 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2572 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2573 (gst_base_src_loop), (gst_base_src_set_flushing),
2574 (gst_base_src_change_state):
2575 Make sending an EOS event to the basesrc non-blocking even if the
2576 implementation does blocking waits in the create function. This is done
2577 by unlocking the create function when EOS is sent.
2580 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2582 * tools/gst-inspect.c: (print_element_properties_info):
2583 If possible print the element type of GValueArray properties.
2585 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2587 * gst/gstiterator.c:
2588 Remove an unused field from the private GstListIterator struct.
2590 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2592 * libs/gst/controller/gstcontroller.c:
2593 Add parameter guards.
2595 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2597 * tests/check/gst/gstpipeline.c:
2598 Revert test change and add comment why it should not work.
2600 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2602 * tests/check/gst/gstpipeline.c:
2603 Extending the test a little to verify that we also get the NULL state-
2606 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2608 * gst/gstpreset.c: (gst_preset_default_get_meta),
2609 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2610 (gst_preset_load_preset), (gst_preset_save_preset),
2611 (gst_preset_rename_preset), (gst_preset_delete_preset),
2612 (gst_preset_set_meta):
2613 Add Since: markers to docs blurbs.
2615 * win32/common/libgstreamer.def:
2616 Add recently-added API.
2618 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2620 Patch by: Stefan Kost <ensonic@users.sf.net>
2623 Add DATADIR for storing presets.
2625 * docs/gst/gstreamer-docs.sgml:
2626 * docs/gst/gstreamer-sections.txt:
2627 * docs/gst/gstreamer.types.in:
2628 Add GstPreset to docs.
2632 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2633 (preset_open_and_parse_header), (preset_parse_version),
2634 (preset_merge), (preset_get_keyfile),
2635 (gst_preset_default_get_preset_names),
2636 (gst_preset_default_get_property_names),
2637 (gst_preset_default_load_preset),
2638 (gst_preset_default_save_presets_file),
2639 (gst_preset_default_save_preset),
2640 (gst_preset_default_rename_preset),
2641 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2642 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2643 (gst_preset_default_reset), (gst_preset_get_preset_names),
2644 (gst_preset_get_property_names), (gst_preset_load_preset),
2645 (gst_preset_save_preset), (gst_preset_rename_preset),
2646 (gst_preset_delete_preset), (gst_preset_set_meta),
2647 (gst_preset_get_meta), (gst_preset_class_init),
2648 (gst_preset_base_init), (gst_preset_get_type):
2650 Add GstPreset to core. Fixes #396779
2652 * tests/check/Makefile.am:
2653 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2654 (gst_preset_test_set_property), (gst_preset_test_class_init),
2655 (gst_preset_test_base_init), (gst_preset_test_get_type),
2656 (gst_preset_test_plugin_init), (GST_START_TEST),
2657 (remove_preset_file), (test_setup), (test_teardown),
2659 Add GstPreset unit tests.
2661 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2663 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2664 The default event function on a sinkpad should return TRUE when
2665 there are no internal links but should collect the return values from
2666 the internal links otherwise.
2668 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2670 * plugins/elements/gsttypefindelement.c:
2671 (gst_type_find_element_src_event),
2672 (gst_type_find_element_handle_event):
2673 Use faster and safer _pad_push_event().
2675 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2677 * docs/gst/gstreamer-sections.txt:
2678 * gst/gstutils.c: (element_find_unlinked_pad),
2679 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2681 API: add gst_bin_find_unlinked_pad()
2682 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2684 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2690 Fixed a bunch of typos.
2692 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2695 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2696 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2697 (gst_parse_bin_from_description_full):
2699 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2701 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2703 * docs/pwg/advanced-tagging.xml:
2704 Small docs update, can't be bothered to rewrite the nonsensical
2707 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2710 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2712 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2714 * gst/parse/grammar.y:
2715 Remove unneeded casts.
2717 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2719 * gst/parse/grammar.y:
2720 * tests/check/pipelines/parse-launch.c:
2721 Get all missing elements from a parse launch string if possible
2722 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2724 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2726 * tests/check/Makefile.am:
2727 * tests/check/pipelines/parse-launch.c:
2728 Add some unit tests for the new gst_parse_launch*_full() API.
2729 (Exposes a previously-existing memory leak in the error code
2730 path, so adding to VALGRIND_TO_FIX for now).
2732 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2734 * docs/gst/gstreamer-sections.txt:
2735 * gst/gst.c: (init_post):
2736 * gst/gst_private.h: (_GstParseContext):
2737 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2738 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2739 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2740 (gst_parse_launch_full):
2741 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2742 (GstParseFlags), (GstParseContext):
2743 * gst/gstutils.c: (gst_parse_bin_from_description),
2744 (gst_parse_bin_from_description_full):
2746 * gst/parse/grammar.y:
2747 * gst/parse/types.h:
2748 * win32/common/libgstreamer.def:
2749 Add new gst_parse_*_full API (#528178):
2750 API: gst_parse_launch_full()
2751 API: gst_parse_launchv_full()
2752 API: gst_parse_bin_from_description_full()
2753 API: gst_parse_context_new()
2754 API: gst_parse_context_free()
2755 API: gst_parse_context_get_missing_elements()
2757 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2759 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2761 * docs/faq/gst-uninstalled:
2762 Also support ffmpeg in gst-uninstalled.
2764 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2767 After discussion on IRC use the binary registry as default
2768 but allow to disable it with --disable-binary-registry.
2770 * win32/common/libgstreamer.def:
2771 Add the two new symbols for the binary registry.
2773 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2775 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2776 * gst/gstutils.c: (gst_parse_bin_from_description):
2777 * gst/parse/grammar.y: (graph):
2778 More guards against bad input; typo fix; some minor clean-ups.
2780 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2782 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2784 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2785 If nothing else can be used, use the last buffer's start time as
2786 the segment's last stop. Fixes bug #534258.
2788 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2790 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2791 Move size sanity check to the right place: downstream may return
2792 a buffer with a smaller size if the buffer caps are different than
2793 the requested ones, as may happen when doing reverse negotiation.
2795 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2797 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2798 (gst_file_sink_render):
2799 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2800 (gst_file_src_start):
2801 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2804 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2806 * gst/gstpad.c: (gst_pad_load_and_link):
2807 * gst/gstutils.c: (gst_element_link_pads),
2808 (gst_element_unlink_pads):
2809 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2810 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2811 (gst_check_teardown_sink_pad),
2812 (gst_check_element_push_buffer_list):
2813 * tests/check/elements/fakesink.c: (GST_START_TEST):
2814 * tests/check/elements/filesink.c:
2815 * tests/check/elements/filesrc.c: (GST_START_TEST):
2816 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2817 (mq_sinkpad_to_srcpad):
2818 * tests/check/elements/tee.c: (GST_START_TEST):
2819 * tests/check/generic/sinks.c: (GST_START_TEST):
2820 * tests/check/gst/gstbin.c: (GST_START_TEST):
2821 * tests/check/gst/gstevent.c: (GST_START_TEST):
2822 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2823 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2824 * tests/check/gst/gstquery.c: (GST_START_TEST):
2825 * tests/check/gst/gstutils.c: (GST_START_TEST):
2826 * tests/check/libs/basesrc.c: (GST_START_TEST):
2827 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2828 (gst_parse_test_element_change_state):
2829 Don't use gst_element_get_pad().
2831 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2834 Fix installing plugin documentation when gtk-doc is disabled.
2836 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2838 * docs/manual/advanced-autoplugging.xml:
2839 * docs/manual/basics-helloworld.xml:
2840 * docs/manual/basics-pads.xml:
2841 * docs/manual/highlevel-components.xml:
2842 Avoid using a bad function in the example code.
2844 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2846 * gst/gstclock.c: (gst_clock_set_calibration):
2847 Fix debug of the new clock rate.
2849 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2851 * win32/common/libgstbase.def:
2852 Add gst_base_sink_wait_clock() to the exported symbols.
2854 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2856 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2858 * libs/gst/base/gstbasetransform.c:
2859 (gst_base_transform_sink_event):
2860 Unref events that the GstBaseTransform::event vfunc didn't want to
2861 have forwarded by the base class. Closes a leak in identity.
2864 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2866 * docs/libs/gstreamer-libs-sections.txt:
2867 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2868 * libs/gst/base/gstbasesink.h:
2869 Expose a method that was previously used internally to synchronize
2870 against the clock because it can be useful for subclasses too.
2871 API: GstBaseSink::gst_base_sink_wait_clock()
2873 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2875 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2876 Add sanity check to make sure we don't get smaller buffers
2877 than requested (and fallback to normal buffer alloc if we do).
2879 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2881 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2882 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2883 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2884 Refactor adjusting the running_time with latency and offset into a
2886 When doing clipping, we still want to use the subclass get_times method,
2887 just in case the DURATION or TIMESTAMP are not set.
2889 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2891 * docs/gst/gstreamer-sections.txt:
2892 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2893 * gst/gsttypefind.h:
2894 * win32/common/libgstreamer.def:
2895 API: add gst_type_find_suggest_simple(), #533740.
2897 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2899 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2900 Use right error code when typefinding fails, so we can use
2901 the default (translated) error messages.
2903 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2905 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2906 (gst_base_src_start):
2907 When the subclass did not set caps on outgoing buffers, configure the
2908 caps we negotiated on the source pad.
2909 When the typefind helper does not find caps, error out properly instead
2910 of doing things with NULL caps.
2912 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2914 * gst/gsttypefind.h:
2915 Tabs to spaces, oh yes!
2917 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2919 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2920 Add David's and Benjamin's tests for array intersection to the
2921 unit test suite (#147931).
2923 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2926 Document that gst_event_new_tag() and gst_event_new_navigation()
2927 take ownership of the taglist/structure passed to them. (#533635).
2929 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2932 Don't descend into the plugins dir if plugin docs building
2936 Add a note about the new type:GTypeName syntax for the plugin
2937 documentation .types file.
2939 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2941 * gst/gstmessage.c: (gst_message_new_error),
2942 (gst_message_new_warning), (gst_message_new_info):
2944 Mark the debug string parameters as const. Fixes bug #533490.
2946 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2948 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2949 Sort buffer cache list by end offsets. This makes sure that we don't
2950 stop to search for a cached buffer that contains the requested data
2952 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2953 more efficient. Fixes bug #459862.
2955 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2958 Explain why we copy the list.
2960 * gst/gstpipeline.c:
2964 Add one debug-log statement to help tracing probelms with linking pads.
2966 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2968 * tests/check/gst/gstinfo.c:
2969 Add a test for removing the default log handler. Seems to fail under
2972 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2974 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2975 Release pad lock before calling out to avoid a possible deadlock.
2977 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2979 * gst/parse/grammar.y:
2980 Remove unneeded value unset.
2982 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2983 Add unit test for de/serialization of caps.
2985 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2987 * plugins/elements/gstfakesink.c:
2988 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2989 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2990 (gst_fake_src_class_init):
2991 Use custom marshalers that take GstMiniObject as first parameter.
2992 Using OBJECT as parameter while a GstMiniObject is given will lead
2993 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2995 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2997 * plugins/elements/gsttypefindelement.c:
2998 (gst_type_find_element_handle_event),
2999 (gst_type_find_element_send_cached_events),
3000 (gst_type_find_element_change_state):
3001 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3004 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3006 * plugins/elements/gsttypefindelement.c:
3007 (gst_type_find_handle_src_query), (stop_typefinding),
3008 (gst_type_find_element_handle_event),
3009 (gst_type_find_element_send_cached_events),
3010 (gst_type_find_element_change_state):
3011 Forward FLUSH_START events immediately and clean up instead of
3014 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
3016 Patch by: Sjoerd Simons <sjoerd at luon dot net>
3018 * libs/gst/base/gstbasetransform.c:
3019 (gst_base_transform_buffer_alloc):
3020 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3021 fall back to default negotiation in the chain function if the caps
3022 are different from what was requested. Fixes bug #526768.
3024 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3027 * tests/check/gst/gstsegment.c:
3028 No, let's not use g_slice_{dup|copy} here, since they only exist
3029 since GLib 2.14 and we still depend only on >= 2.12. Also add
3030 unit test for gst_segment_copy().
3032 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
3034 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3035 Try to fix 'dereferencing type-punned pointer will break strict
3036 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3037 changed the default GType typedef from gulong to gsize at some point,
3038 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3039 g_once_* functions all take a gsize * though, so work around the type
3040 mismatch for C++ by doing everything in gsize and casting to GType
3043 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
3045 * plugins/elements/gstmultiqueue.c:
3046 Add documentation for the signals to push our core plugin docs
3047 coverage back up to 100%.
3049 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3051 * gst/gstinfo.h (GST_FUNCTION):
3052 Reverted GST_FUNCTION to the old version as we don't want the
3053 full signature in C++ code. Also added support for MSVC.
3055 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3058 Intern the type name string, similar to what G_DEFINE_TYPE does.
3060 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3063 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3065 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
3067 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3069 * libs/gst/base/gstbasetransform.c:
3070 (gst_base_transform_buffer_alloc):
3071 Don't passthrough buffer allocation too easily if the caps change.
3072 This breaks when working in passthrough mode and upstream changes
3073 it's caps. Fixes bug #526768.
3075 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3077 * gst/gstinfo.c (gst_debug_log_valist):
3078 Improved the __FILE__ part of debug output for MSVC.
3080 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3082 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3083 Declaration after statement fix for compilers like MSVC.
3085 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3087 * win32/common/config.h.in:
3088 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3089 use the real thing than having "???" unconditionally.
3091 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
3093 * gst/gstinfo.h (GST_FUNCTION):
3094 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3096 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3098 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3101 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3102 (gst_base_sink_set_flushing):
3103 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3106 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
3108 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3109 (gst_fake_src_init), (gst_fake_src_set_property),
3110 (gst_fake_src_get_property), (gst_fake_src_start):
3111 * plugins/elements/gstfakesrc.h:
3112 Added format property to control the format of the newsegment events.
3113 API: GstFakeSrc:format
3115 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3117 * win32/common/libgstreamer.def:
3118 Add gst_pad_has_name() to the exported symbols.
3120 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
3122 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3123 * libs/gst/base/gstbasetransform.c:
3124 (gst_base_transform_prepare_output_buffer):
3125 Don't allow negative sizes when allocating new buffers.
3128 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3130 Patch by: Sjoerd Simons <sjoerd at luon net>
3132 * gst/gstbus.c: (gst_bus_source_dispatch):
3133 Don't print a warning if the queue is empty when we try to pop
3134 here. That could happen if another thread or callback set the
3135 bus to flushing between the source's check/prepare and the
3136 dispatch being called (#531538).
3138 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3140 * plugins/elements/gstmultiqueue.c:
3143 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3145 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3146 Add unit test for deserializing uint64s and check some really large
3147 numbers in the int64 test.
3149 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3151 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3152 (print_interfaces), (print_element_properties_info),
3153 (print_signal_info):
3154 Use "%s" as format string instead of printing strings directly.
3156 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3158 * gst/gstclock.c: (gst_clock_set_calibration):
3159 Make some checks actually useful.
3161 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3162 Remove some unused code. Unsigned integers tend to be >= 0.
3164 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3166 * gst/gstminiobject.c: (gst_value_get_mini_object):
3167 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3168 function was not in the unscheduled 0.10.19 release.
3170 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3172 * gst/gstregistry.c: (gst_registry_scan_path_level):
3173 Only print one log message per non-plugin file.
3175 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3177 * gst/gstinfo.c: (gst_debug_log_default):
3178 Fix alignment of debug log columns on 64-bit.
3180 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3182 * docs/libs/Makefile.am:
3183 * docs/libs/gstreamer-libs-sections.txt:
3184 Ignore private controller headers for docs.
3186 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3188 * libs/gst/controller/gstcontrollerprivate.h:
3189 * libs/gst/controller/gsthelper.c:
3190 * libs/gst/controller/gstinterpolation.c:
3191 * libs/gst/controller/gstinterpolationcontrolsource.c:
3192 (gst_interpolation_control_source_set_interpolation_mode):
3193 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3194 * libs/gst/controller/lib.c:
3195 Move some private declarations into private headers.
3197 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3199 * gst/gstdebugutils.c: (debug_dump_element_pad):
3200 Remove some code that is unused after Stefan's refactoring and uses
3201 uninitialized variables now, resulting in a compiler warning.
3203 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3205 * gst/gstregistry.c: (gst_registry_scan_path_level):
3206 Run g_str_has_suffix() only on the file name, not the
3209 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3211 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3212 Since we're not called only from the chain function any longer,
3213 we can't assume that there's always data in the queue, so move
3214 the is_full check to the beginning of the loop (otherwise we'd
3215 hit the assert when changing the limit properties while the
3216 queue is empty or not running yet).
3217 Also, only set a discont if items were actually removed from
3220 * tests/check/elements/queue.c: (test_leaky_downstream):
3221 Test case for the above.
3223 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3225 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3227 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3228 (gst_queue_chain), (queue_capacity_change),
3229 (gst_queue_set_property):
3230 When changing thr max capacity of a leaky queue, immediatly drop buffers
3231 instead of waiting for a push on the sinkpad. Fixes #530637.
3233 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3235 * gst/gstdebugutils.c:
3236 Refactor code and fix handling of ghostpads and their proxypads.
3238 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3240 * docs/gst/gstreamer-sections.txt:
3241 * gst/gstevent.c: (gst_event_has_name):
3243 * tests/check/gst/gstevent.c: (GST_START_TEST):
3244 Add method to conveniently check the name of a custom event with
3245 gst_event_has_name().
3246 Reformat the event docs so that related methods are put together instead
3247 of the default alphabetical sort.
3248 Update unit test with new method.
3249 API: GstEvent::gst_event_has_name()
3251 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3253 * libs/gst/check/Makefile.am:
3254 Don't add an explicit link to libgstreamer-0.10.la; it's already
3255 included in GST_OBJ_LIBS.
3257 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3260 Register GstClock type from a type-safe context. Fixes bug #530317.
3262 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3264 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3266 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3268 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3270 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3272 Use the GLib stuff to create a private structure.
3273 Add some locking around some dispose methods to make them a little
3274 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3276 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3278 * libs/gst/base/gstbasesink.h:
3279 * libs/gst/base/gstbasesrc.h:
3280 * libs/gst/base/gstbasetransform.h:
3281 * libs/gst/base/gstcollectpads.h:
3282 Fix doc typos and unify caps a bit.
3284 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3286 * tools/gst-launch.1.in:
3287 Forgot to also add the envvar docs here.
3289 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3291 * gst/gst.c: (init_post), (gst_deinit):
3292 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3293 (test_concurrent_create), (gst_pipeline_suite):
3294 Ref some more classes in gst_init() to work around thread-safety
3295 issues in pre-2.16 GLibs, and add basic unit test.
3297 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3299 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3300 (gst_base_sink_send_event):
3301 Rearrange the latency query code. We always want to do the upstream
3302 query, even if we are not live so that the upstream elements can get the
3303 latency results too. If we fail doing the query and we are live, we
3304 return TRUE afterwards.
3306 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3308 patch by: Jason Zhao <e3423c@motorola.com>
3310 * docs/gst/running.xml:
3312 Enable/disable scan_and_update_registry() based on commandline switch
3313 or environment variable. Fixes #520468.
3316 Fix typo in my previous commit.
3318 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3320 * gst/gstregistrybinary.c:
3321 Add a warning if we hit unhandled factories when saving.
3322 More debug logging detail, but move to LOG category.
3324 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3326 * gst/gstregistry.c:
3327 Tell the *truth* when improving the documentation.
3329 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3331 * gst/gstelementfactory.c: (gst_element_factory_make):
3332 Unref the factory after it was used the last time, not before.
3334 * gst/gstindexfactory.c: (gst_index_factory_make):
3335 Improve debugging a bit and don't leak a ref to the index factory with
3338 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3340 * gst/gstregistry.c:
3341 Improve the documentation.
3343 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3346 The glib macro seems to be borked. Use g_slice_copy directly and cast
3347 in the hope that this fixes the warning on 64bit.
3349 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3352 Document the new function. Use g_slice_dup() (no need for
3353 gst_segment_init()).
3355 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3357 * docs/gst/gstreamer-sections.txt:
3358 Move GParamSepc macros to standart section.
3361 Dn't document _get_type - its in private section in docs anyway and
3362 this doc-blob was incomplete.
3365 Fix wrong symbol names in docs.
3368 Add once doc sentence.
3370 * tests/check/gst/.cvsignore:
3373 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3375 * docs/gst/Makefile.am:
3376 And remove those libs here.
3378 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3380 * docs/libs/Makefile.am:
3381 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3383 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3385 Patch by: Olivier Crete <tester at tester dot ca>
3387 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3388 Add the min-threshold to the min latency if possible. Fixes #529148.
3390 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3392 * docs/gst/gstreamer.types.in:
3393 Stupid editor, I removed that line as it should go in yet.
3395 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3397 * docs/gst/gstreamer.types.in:
3398 * docs/libs/gstreamer-libs.types:
3399 Remove library types fro core docs and have them in libs docs.
3400 Reformat and cleanup. Add comment for miniobject types.
3402 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3404 * gst/gsturi.c: (gst_uri_get_protocol):
3405 Fix leak: g_strdown operates on the string in place, while
3406 g_ascii_strdown() returns a newly-allocated string.
3408 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3410 * tools/gst-inspect.c: (print_uri_handler_info),
3411 (print_element_info):
3412 Print the URI protocols and the URI type supported by the element.
3414 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3416 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3417 Use g_value_take_string() instead of the deprecated
3418 g_value_set_string_take_ownership().
3420 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3422 * gst/gstregistrybinary.c: (_gst_crc32):
3423 Return the old CRC instead of 0 if we give a NULL buffer
3424 or a buffer with a length of 0.
3426 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3428 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3429 (gst_uri_get_protocol), (gst_uri_has_protocol),
3430 (gst_uri_construct), (gst_uri_handler_set_uri):
3431 A valid URI scheme can also include '+', '-' and '.' additional
3432 to alphanumeric characters as per RFC 3986 Section 3.1.
3434 Handle URI schemes case insensitive in all places and convert
3435 to lower-case when constructing an URI or setting an URI with
3436 the GstURIHandler interface. Fixes bug #528868.
3437 All elements can still assume (as before) that they will
3438 get passed URIs with a lower-case URI scheme by the GstURIHandler
3441 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3443 * gst/gstcaps.c: (gst_static_caps_get):
3444 * gst/gstclock.c: (gst_clock_entry_new):
3445 Don't use g_atomic_set_int where it's not needed.
3447 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3449 * gst/gstvalue.c: (gst_value_deserialize_caps):
3450 * gst/parse/grammar.y:
3453 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3455 * gst/gstutils.c: (gst_atomic_int_set):
3456 Use g_atomic_int_set() here too instead of assignment +
3459 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3463 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3464 now that we depend on new enough GLib.
3466 * gst/gstcaps.c: (gst_static_caps_get):
3467 * gst/gstclock.c: (gst_clock_entry_new):
3468 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3469 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3470 (gst_debug_category_set_threshold):
3471 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3472 (gst_base_sink_set_qos_enabled):
3473 * libs/gst/net/gstnettimeprovider.c:
3474 (gst_net_time_provider_set_property):
3475 Use g_atomic_int_set() instead of gst_atomic_int_set().
3477 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3480 Also use G_GINT64_CONSTANT for the queries.
3482 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3485 Use G_GINT64_CONSTANT in varargs function.
3487 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3489 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3490 Initialize the registry magic with zeroes.
3492 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3494 * gst/gstregistrybinary.c: (_gst_crc32),
3495 (gst_registry_binary_write),
3496 (gst_registry_binary_initialize_magic),
3497 (gst_registry_binary_write_cache),
3498 (gst_registry_binary_check_magic),
3499 (gst_registry_binary_read_cache):
3500 * gst/gstregistrybinary.h:
3501 Add crc32 checksum to the binary registry file and check this before
3502 accepting a registry file.
3504 Also free the data list when writing to the registry file fails.
3506 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3508 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3509 (gst_registry_binary_load_feature),
3510 (gst_registry_binary_load_plugin):
3511 If an element supports the Uri interface, returns a valid pointer
3512 to the supported URI protocols but this pointer contains nothing
3513 don't try to save that as it will corrupt the registry.
3515 Don't unref the plugin if we added it to the registry already but
3516 fail to load a feature as gst_registry_add_plugin() takes ownership
3519 Improve debugging a bit.
3521 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3524 Clarify some tag item docs after discussion on irc.
3526 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3528 * docs/gst/gstreamer-docs.sgml:
3529 Remove commented out plugins (they have their own docs). Update
3532 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3534 * docs/gst/gstreamer-docs.sgml:
3535 * docs/gst/gstreamer-sections.txt:
3536 * gst/gstparamspecs.c:
3537 * gst/gstparamspecs.h:
3538 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3539 docs to own section.
3542 This now only documents GValue.
3544 * docs/libs/gstreamer-libs-sections.txt:
3545 * libs/gst/controller/gstcontroller.h:
3546 Remove GST_PARAM_CONTROLLABLE.
3548 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3551 Correct file path. Tell about how to use -overrides.txt.
3552 * docs/design/draft-tagreading.txt:
3553 Small design update.
3555 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3557 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3558 (gst_registry_binary_load_plugin):
3559 Fix a typo in a debug message and revert change from yesterday as
3560 gst_registry_add_plugin() will only fail if something is really wrong
3561 already and we can't survive it anyway.
3563 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3565 * gst/gst.c: (init_post), (gst_deinit):
3566 Pre-register GstGError GType from a thread-safe context
3567 (fixes #527967); unref enum type classes in deinit.
3569 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3571 Patch by: Rene Stadler <mail at renestadler de>
3573 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3574 Merging an empty list with another list in KEEP_ALL mode should
3575 yield an empty list as result and not the second list (#512578).
3577 * tests/check/gst/gsttagsetter.c:
3578 Add unit test for tag merge modes and the aforementioned bug.
3580 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3582 Patch by: Rene Stadler <mail at renestadler de>
3585 Fix description to match the order in the table (#512577).
3587 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3589 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3591 * libs/gst/net/gstnettimepacket.h:
3592 * docs/libs/gstreamer-libs-sections.txt:
3593 Define socklen_t as int if it's not defined yet. Fixes compilation
3594 with MSVC6 and other versions where socklen_t is not defined in
3595 the windows headers (#518022).
3597 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3599 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3600 If gst_registry_add_plugin() fails our reference to the plugin is
3601 invalid so don't try to use it anymore and instead error out.
3603 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3605 * tools/gst-xmlinspect.c: (print_element_info), (main):
3606 De-cruft a bit. If no argument is specified, print all elements in
3607 XML syntax rather than a freestyle list of elements like gst-inspect.
3608 Also, don't print XML header chunk unless we actually have something
3609 to print (ie. don't print it before an error message); print error
3610 message to stderr not stdout. Remove support for printing plugin
3611 info (it would just output something freestyle along the lines of
3612 gst-inspect so far), which fixes #514507. Also add license header.
3614 2008-04-11 Julien Moutte <julien@fluendo.com>
3617 * configure.ac: Merge platform specific defines, introduce a new
3618 define on OS X to remember that forking when updating registry is
3620 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3622 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3624 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3625 condition that leads to absolutely no plugins being registered on
3628 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3630 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3632 * gst/gstutils.c: (gst_pad_add_data_probe),
3633 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3634 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3635 (gst_pad_add_buffer_probe_full):
3637 * docs/gst/gstreamer-sections.txt:
3638 * win32/common/libgstreamer.def:
3639 Add gst_pad_add_*_probe_full() functions with a notify callback that
3640 lets the caller free the data it passes to the probe functions. This
3641 is useful for bindings such as gst-python or gstreamermm (#526814).
3642 API: gst_pad_add_data_probe_full
3643 API: gst_pad_add_buffer_probe_full
3644 API: gst_pad_add_event_probe_full
3646 * tests/check/gst/gstutils.c:
3647 Add minimal unit test to make sure freeing the data actually works
3650 * tests/benchmarks/.cvsignore:
3651 Random cvsignore addendum.
3653 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3655 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3656 (GST_DEBUG_BIN_TO_DOT_FILE):
3657 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3658 to it in the docs (since these are macros the types of the arguments
3659 won't be shown in the docs otherwise).
3661 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3664 Do not abort on out of memory for pad_alloc_buffer.
3666 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3668 * libs/gst/check/gstcheck.c:
3669 Remove blank line between symbol name ad parameters to fix gtkdoc
3672 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3674 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3676 * docs/gst/gstreamer-sections.txt:
3679 * win32/common/libgstreamer.def:
3680 Expose gst_segment_copy() to make things easier for the c++ bindings.
3682 API: gst_segment_copy()
3684 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3686 * gst/gst.c: (gst_init_get_option_group), (init_post):
3687 Fix const position; ref GType classes for enum types to work
3688 around thread-safety issues in GLib versions < 2.16.
3690 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3692 * docs/design/part-buffering.txt:
3693 Fix some typos and set the estimated total for push mode to -1.
3695 * gst/gstquery.c: (gst_query_new_buffering):
3696 Set buffering-left to 0 as we're not buffering by default.
3698 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3699 Implement BUFFERING query.
3701 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3703 Based on patch by: Milosz Derezynski <internalerror gmail com>
3705 * gst/gsterror.c: (_gst_stream_errors_init):
3707 Add two new error codes for encrypted content. Fixes #524659.
3708 API: GST_STREAM_ERROR_DECRYPT
3709 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3711 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3716 * win32/common/libgstreamer.def:
3719 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3721 * plugins/elements/gstidentity.c: (gst_identity_event),
3722 (gst_identity_start):
3723 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3724 event after processing some data. Fixes bug #526042.
3726 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3728 * docs/gst/gstreamer-sections.txt:
3729 * gst/gstquery.c: (gst_query_parse_latency),
3730 (gst_query_set_buffering_percent),
3731 (gst_query_parse_buffering_percent),
3732 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3734 Rename _avail -> _range
3735 API: gst_query_set_buffering_range
3736 API: gst_query_parse_buffering_range
3738 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3740 * docs/design/part-buffering.txt:
3743 * gst/gstquery.c: (gst_query_parse_latency),
3744 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3745 (gst_query_parse_buffering_percent):
3747 Add busy field and quark for the buffering query so that the app can
3748 only use the query to see if buffering is in progress.
3750 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3752 * docs/gst/gstreamer-sections.txt:
3753 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3754 (gst_message_parse_buffering_stats):
3756 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3757 (gst_query_parse_latency), (gst_query_new_buffering),
3758 (gst_query_set_buffering_percent),
3759 (gst_query_parse_buffering_percent),
3760 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3761 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3763 Reorder the message docs and headers for clarity.
3764 Add aditional buffering stats API for messages.
3765 Add buffering query.
3766 Convert some leftover queries to use GstQuark.
3767 API: gst_message_set_buffering_stats
3768 API: gst_message_parse_buffering_stats
3769 API: GST_QUERY_BUFFERING
3770 API: GstBufferingMode
3771 API: gst_query_new_buffering
3772 API: gst_query_set_buffering_percent
3773 API: gst_query_parse_buffering_percent
3774 API: gst_query_set_buffering_stats
3775 API: gst_query_parse_buffering_stats
3777 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3779 * gst/gstmessage.c: (gst_message_new_error),
3780 (gst_message_new_warning), (gst_message_new_info),
3781 (gst_message_new_buffering), (gst_message_new_state_changed),
3782 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3783 (gst_message_new_new_clock), (gst_message_new_segment_start),
3784 (gst_message_new_segment_done), (gst_message_new_duration),
3785 (gst_message_new_async_start), (gst_message_parse_buffering),
3786 (gst_message_parse_state_changed),
3787 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3788 (gst_message_parse_new_clock), (gst_message_parse_error),
3789 (gst_message_parse_warning), (gst_message_parse_info),
3790 (gst_message_parse_segment_start),
3791 (gst_message_parse_segment_done), (gst_message_parse_duration),
3792 (gst_message_parse_async_start):
3793 Use GstQuark for messages.
3795 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3797 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3799 Add some more quarks needed for messages and queries.
3801 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3803 * docs/design/part-buffering.txt:
3804 Remove the "none" buffering mode, STREAM is a good default.
3805 Move estimated-time to the avail query, that's when it will be needed.
3806 Other small typo fixes and updates.
3808 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3810 * gst/gstindex.c: (gst_index_resolver_get_type):
3811 Don't put descriptions into the nick field of a GEnumValue: it's not
3812 meant for that and some language bindings rely on the nick field to
3813 construct constants and the like. Fixes #526705.
3815 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3820 Merge other changes from 0.10.19 release branch.
3822 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3824 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3827 Actually build dlls when cross-compiling with mingw32.
3830 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3832 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3835 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3837 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3839 * docs/design/draft-latency.txt:
3842 * docs/design/part-buffering.txt:
3843 Update design docs with more buffering ideas.
3845 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3848 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3850 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3853 Revert part that belongs to the preset patch.
3855 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3858 Add qoutes to the define. Fixes # 525961.
3860 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3862 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3863 (gst_file_index_load), (gst_file_index_add_id),
3864 (gst_file_index_get_assoc_entry):
3865 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3866 (gst_mem_index_free_id), (gst_mem_index_add_id),
3867 (gst_mem_index_index_format):
3868 Use GSlice when possible.
3870 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3872 * libs/gst/controller/gstinterpolationcontrolsource.c:
3873 (gst_control_point_free),
3874 (gst_interpolation_control_source_set_internal):
3875 Use GSlice for allocating the control points.
3877 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3879 * plugins/elements/gsttypefindelement.c:
3880 (gst_type_find_element_class_init),
3881 (gst_type_find_element_set_property),
3882 (gst_type_find_element_get_property),
3883 (gst_type_find_element_activate):
3884 * plugins/elements/gsttypefindelement.h:
3886 Fix pad leak when peer query fails.
3887 We can still typefind when the peer returns -1.
3888 Add property to force caps and bypass typefinding. This will be used in
3892 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3897 * gst/glib-compat-private.h:
3898 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3899 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3900 Unconditionally use GSlice for allocation.
3902 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3903 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3904 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3905 (gst_structure_free):
3906 Use GSlice for allocation.
3908 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3910 * gst/parse/Makefile.am:
3911 * gst/parse/grammar.tab.pre.c:
3912 * gst/parse/grammar.tab.pre.h:
3913 * gst/parse/lex._gst_parse_yy.pre.c:
3914 Require a new enough flex and bison and remove the parser hacks to use
3915 a pre-regenerated version.
3917 2008-04-01 Julien Moutte <julien@fluendo.com>
3919 patch by: Jason Zhao <E3423C@motorola.com>
3921 * configure.ac: Add a configure switch to disable option parsing
3925 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3928 * gst/gstregistry.c:
3929 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3930 and handle this case.
3933 Add a comment here describing, why we stat each plugin and not try to
3936 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3938 * libs/gst/base/gstbasetransform.c:
3939 (gst_base_transform_prepare_output_buffer):
3940 Also unset the GAP flag on buffers if we're working inplace but
3941 the element is not GAP-aware.
3943 Mark a comment as FIXME 0.11.
3945 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3948 Fix type in log message and add one to ease seeing how long registry
3949 cache verification takes.
3951 * gst/gstregistry.c:
3952 Only test plugin filenames against G_MODULE_SUFFIX.
3954 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3956 * gst/gstdebugutils.c:
3957 Improve handling ghost/proxy pads.
3959 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3961 * docs/gst/gstreamer-sections.txt:
3964 Expose macro to docs and fix link to it.
3966 2008-03-27 Michael Smith <msmith@fluendo.com>
3968 * libs/gst/dataprotocol/dataprotocol.c:
3969 (gst_dp_packet_from_event_1_0):
3970 When calculating GDP body CRC, use the correct pointer.
3971 Fixes part of #522401.
3973 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3975 Patch by: Mark Nauwelaerts <manauw at skynet be>
3977 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3978 (gst_identity_init), (gst_identity_prepare_output_buffer):
3979 Identity is not always a passthrough element, it can modify the buffer
3980 timestamps when it has a datarate and operates in single-segment mode.
3981 We therefore make it an in_place filter with a custom buffer prepare
3982 function that conditionally makes the input buffer metadata writable
3983 when needed. Fixes #523985.
3985 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3987 Patch by: Mark Nauwelaerts <manauw at skynet be>
3990 * libs/gst/base/gstbasesrc.h:
3991 * libs/gst/base/gstbasetransform.c:
3992 * libs/gst/check/gstcheck.c:
3993 Small documentation fixes. Fixes #523978.
3995 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3997 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3998 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3999 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4001 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4003 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4004 (single_queue_underrun_cb):
4005 When trying to make room in the queue, bump the max allowed buffers
4006 bigger than the current amount of buffers in the queue. this fixes some
4007 nasty deadlocks in multiqueue when dynamically changing the limits of
4010 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4012 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
4014 * gst/gstcaps.c: (gst_caps_set_simple),
4015 (gst_caps_set_simple_valist), (gst_caps_intersect):
4017 Constify the field gchar * params in set_simple and friends.
4020 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
4022 * gst/gstvalue.c: (gst_value_transform_object_string):
4023 Transform a GstObject to a more meaningfull string that includes the
4024 object type in addition to its name.
4026 2008-03-23 Stefan Kost <ensonic@users.sf.net>
4029 ChangeLog surgery to add bugnumber to commit.
4031 2008-03-23 Rene Stadler <mail@renestadler.de>
4033 * libs/gst/base/gstbasetransform.c:
4034 (gst_base_transform_set_gap_aware): Fix confusing documentation.
4036 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4038 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4039 Rename constant everywhere and don't forget one occurence.
4041 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4043 * gst/gstregistrybinary.c: (gst_registry_binary_write):
4044 Align memory to the pointer size even if the architecture allows
4045 unaligned memory access. Unaligned memory access usually comes with
4046 performance penality.
4048 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
4050 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4051 (gst_registry_binary_check_magic),
4052 (gst_registry_binary_load_pad_template),
4053 (gst_registry_binary_load_feature),
4054 (gst_registry_binary_load_plugin):
4055 Align memory to the pointer size instead of always 32 bit. Fixes
4056 unaligned memory accesses on ia64 and friends.
4058 * gst/gstregistrybinary.h:
4059 Bump binary registry format version for this as it changes the
4060 format on those architectures that don't have unaligned access
4061 and 64 bit pointers.
4063 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4065 * docs/pwg/advanced-dparams.xml:
4066 * docs/pwg/building-props.xml:
4067 * docs/pwg/other-source.xml:
4068 * gst/glib-compat.h:
4069 * gst/gstbin.c: (gst_bin_class_init):
4070 * gst/gstclock.c: (gst_clock_class_init):
4071 * gst/gstindex.c: (gst_index_class_init):
4072 * gst/gstobject.c: (gst_object_class_init):
4073 * gst/gstpad.c: (gst_pad_class_init):
4074 * gst/gstpipeline.c: (gst_pipeline_class_init):
4075 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4076 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4077 * libs/gst/base/gstbasetransform.c:
4078 (gst_base_transform_class_init):
4079 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4080 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4081 (_gst_check_fault_handler_sighandler),
4082 (_gst_check_fault_handler_setup), (gst_check_init):
4083 * libs/gst/controller/gstcontroller.c:
4084 (_gst_controller_class_init):
4085 * libs/gst/controller/gstlfocontrolsource.c:
4086 (gst_lfo_control_source_class_init):
4087 * libs/gst/net/gstnetclientclock.c:
4088 (gst_net_client_clock_class_init):
4089 * libs/gst/net/gstnettimeprovider.c:
4090 (gst_net_time_provider_class_init):
4091 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4092 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4093 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4094 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4095 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4096 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4097 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4098 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4099 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4100 * plugins/elements/gstqueue.c: (gst_queue_class_init):
4101 * plugins/elements/gsttee.c: (gst_tee_class_init):
4102 * plugins/elements/gsttypefindelement.c:
4103 (gst_type_find_element_class_init):
4104 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4105 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4106 use it everywhere for GParamSpecs that use static strings (i.e. all).
4107 This gives us less memory usage, fewer allocations and thus less
4108 memory defragmentation. Fixes bug #523806.
4110 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4112 * gst/gstminiobject.c: (gst_value_dup_mini_object),
4113 (gst_param_spec_mini_object):
4114 * gst/gstminiobject.h:
4115 * win32/common/libgstreamer.def:
4116 * docs/gst/gstreamer-sections.txt:
4117 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4118 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4119 GstParamSpecMiniObject into a public header for this.
4121 This make GstMiniObject a bit more consistent with GObject and makes
4122 it possible to extend the param specs.
4124 gst_value_dup_mini_object is mainly useful for set_property methods.
4128 * tools/gst-inspect.c: (print_element_properties_info):
4129 Print something useful for GstMiniObject properties and not just
4132 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4134 * docs/gst/gstreamer-sections.txt:
4135 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4136 (gst_registry_binary_check_magic):
4137 * gst/gstregistrybinary.h:
4138 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4139 and add it to the (private part) of the docs to fix the build.
4141 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4143 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4144 (gst_registry_binary_check_magic),
4145 (gst_registry_binary_read_cache):
4146 * gst/gstregistrybinary.h:
4147 Don't use GST_MAJORMINOR for the binary registry version. Instead
4148 hardcode a value that must be changed whenever the format changes
4149 in an incompatible way.
4150 Also don't GST_ERROR when there is a version mismatch, just
4151 regenerate the registry silently.
4153 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4156 Back to development - 0.10.18.1
4158 === release 0.10.18 ===
4160 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4163 releasing 0.10.18, "So far away"
4165 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4168 * win32/common/config.h:
4169 0.10.17.4 pre-release
4171 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4173 Patch by: Ole André Vadla Ravnås
4174 <ole dot andre dot ravnas at tandberg dot com>
4176 * docs/gst/gstreamer-sections.txt:
4177 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4178 (gst_poll_update_winsock_event_mask),
4179 (gst_poll_prepare_winsock_active_sets),
4180 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4181 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4182 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4183 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4184 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4186 * win32/common/libgstreamer.def:
4187 Add new function gst_poll_fd_ignored() for improved Windows
4189 Various minor fixes and cleanups. See #520808.
4191 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4193 * gst/gstindex.c: (gst_index_entry_free):
4195 Don't free key strings which we don't own. Fixes crash in
4196 gst_index_entry_free() (#522741).
4198 * tests/check/Makefile.am:
4199 * tests/check/gst/.cvsignore:
4200 * tests/check/gst/gstindex.c: (test_index_entries),
4201 (gst_index_suite), (gst_index):
4202 Add unit test for the above.
4204 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4206 * win32/common/libgstreamer.def:
4207 Remove symbols that were removed recently. Fixes bug #521740.
4209 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4212 * win32/common/config.h:
4213 0.10.17.3 pre-release
4215 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4217 Patch by: Ole André Vadla Ravnås
4218 <ole dot andre dot ravnas at tandberg dot com>
4220 * docs/gst/gstreamer-sections.txt:
4221 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4222 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4223 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4224 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4225 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4226 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4227 (gst_poll_fd_can_write), (gst_poll_wait),
4228 (gst_poll_set_controllable), (gst_poll_restart),
4229 (gst_poll_set_flushing):
4231 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4232 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4233 (gst_net_time_provider_new):
4234 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4235 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4236 * tests/benchmarks/gstpollstress.c: (main):
4237 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4238 Remove GstPollMode from the API, it does not make sense to let the
4239 application control this.
4240 Add support for Win32.
4241 Fix the testsuite. Fixes #520671.
4243 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4245 Patch by: Ole André Vadla Ravnås
4246 <ole dot andre dot ravnas at tandberg dot com>
4248 * gst/gstregistrybinary.c:
4249 Include io.h for write() and close() when building with MSVC. Fixes
4252 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4255 * gst/gst_private.h:
4256 * gst/gstconfig.h.in:
4257 * gst/gstregistry.h:
4258 * gst/gstregistrybinary.c:
4259 * win32/common/gstconfig.h:
4260 Move registry backend API to private headers where we can. Add
4261 fixme-0.11 comments for the others. Add stubs for the xml backend when
4262 using the binary to ensure they functions exists (they should not be
4263 used though). Fixes #520756.
4265 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4268 * win32/common/config.h:
4271 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4273 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4274 (gst_registry_binary_read_cache):
4275 * gst/gstregistryxml.c: (gst_registry_save):
4276 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4277 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4278 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4279 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4280 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4283 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4285 * gst/gstminiobject.c:
4286 Import gst_private.h before any other header that might include other
4287 glib headers. This fixes the build on windows using native compilers.
4289 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4291 * win32/common/gstconfig.h:
4292 Add here too, just for completeness.
4294 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4297 * gst/gstconfig.h.in:
4298 * gst/gstregistry.h:
4299 Fix broken use of config.h-defined preprocessor directive in a public
4300 header file. Add a corresponding define to gstconfig.h, since we can't
4301 really remove those function declarations from the header file now
4302 (or can we? and why are they there in the first place?).
4304 2008-03-03 Andy Wingo <wingo@pobox.com>
4306 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4309 * gst/gststructure.c (gst_structure_from_string): Warn if
4310 structure_from_string didn't consume the whole string, but the
4311 caller did not provide an end pointer.
4313 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4315 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4317 * gst/gstregistryxml.c: (read_string), (load_feature):
4318 Strings allocated by libxml2 should be freed with xmlFree(), not
4319 with g_free(). Fixes issues on windows in certain contexts (#519698).
4321 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4323 * gst/gstinterface.c: (gst_element_implements_interface):
4324 Don't crash if the element supports the interface queried, but does
4325 not implement GstImplementsInterface. Fixes #519584.
4327 * tests/check/Makefile.am:
4328 * tests/check/gst/.cvsignore:
4329 * tests/check/gst/gstinterface.c:
4330 Add unit test for the above.
4332 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4334 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4337 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4339 * gst/gstsegment.c: (gst_segment_set_seek),
4340 (gst_segment_to_stream_time):
4341 Improve some comment.
4342 Update variables where it makes more sense.
4344 2008-02-29 Rene Stadler <mail@renestadler.de>
4346 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4347 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4348 URIHandlers implemented using language bindings.
4350 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4352 * gst/gstelementfactory.h:
4353 * tests/check/elements/fakesink.c:
4354 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4355 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4356 * tests/check/elements/filesink.c: (setup_filesink):
4357 * tests/check/elements/filesrc.c: (setup_filesrc):
4358 * tests/check/elements/identity.c: (setup_identity):
4359 * tests/check/elements/tee.c:
4360 * tests/check/generic/sinks.c:
4361 * tests/check/generic/states.c: (setup), (teardown):
4362 * tests/check/gst/gst.c:
4363 * tests/check/gst/gstabi.c:
4364 * tests/check/gst/gstbin.c:
4365 * tests/check/gst/gstbus.c: (pull_messages):
4366 * tests/check/gst/gstcaps.c:
4367 * tests/check/gst/gstelement.c:
4368 * tests/check/gst/gstevent.c:
4369 * tests/check/gst/gstghostpad.c:
4370 * tests/check/gst/gstiterator.c:
4371 * tests/check/gst/gstmessage.c:
4372 * tests/check/gst/gstminiobject.c: (my_foo_init):
4373 * tests/check/gst/gstobject.c: (thread_name_object),
4375 * tests/check/gst/gstpad.c:
4376 * tests/check/gst/gstplugin.c:
4377 * tests/check/gst/gstpoll.c:
4378 * tests/check/gst/gstquery.c:
4379 * tests/check/gst/gstsegment.c:
4380 * tests/check/gst/gststructure.c:
4381 * tests/check/gst/gstsystemclock.c:
4382 * tests/check/gst/gsttask.c:
4383 * tests/check/gst/gstutils.c:
4384 * tests/check/gst/gstvalue.c:
4385 * tests/check/gst/struct_hppa.h:
4386 * tests/check/gst/struct_i386.h:
4387 * tests/check/gst/struct_ppc32.h:
4388 * tests/check/gst/struct_ppc64.h:
4389 * tests/check/gst/struct_x86_64.h:
4390 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4391 * tests/check/libs/basesrc.c:
4392 * tests/check/libs/controller.c: (GST_START_TEST):
4393 * tests/check/libs/gdp.c:
4394 * tests/check/libs/gstnetclientclock.c:
4395 * tests/check/libs/gstnettimeprovider.c:
4396 * tests/check/libs/libsabi.c:
4397 * tests/check/libs/struct_hppa.h:
4398 * tests/check/libs/struct_i386.h:
4399 * tests/check/libs/struct_ppc32.h:
4400 * tests/check/libs/struct_ppc64.h:
4401 * tests/check/libs/struct_x86_64.h:
4402 * tests/check/pipelines/cleanup.c:
4403 * tests/check/pipelines/simple-launch-lines.c:
4404 * tests/check/pipelines/stress.c:
4405 And correct even more valid sparse warnings.
4407 * win32/common/libgstreamer.def:
4408 Add gst_poll_fd_init to the list of symbols.
4410 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4412 * gst/gstconfig.h.in:
4413 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4414 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4415 (gst_check_log_critical_func), (gst_check_drop_buffers),
4416 (gst_check_element_push_buffer_list):
4417 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4418 (gst_controller_get_type):
4419 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4420 (gst_object_get_controller), (gst_object_get_control_source):
4421 * libs/gst/controller/gstinterpolationcontrolsource.c:
4422 (gst_interpolation_control_source_new):
4423 * libs/gst/controller/gstlfocontrolsource.c:
4424 (gst_lfo_control_source_new):
4425 * libs/gst/dataprotocol/dataprotocol.c:
4426 (gst_dp_event_from_packet_0_2):
4427 * plugins/elements/gstfdsrc.c:
4428 * plugins/elements/gstmultiqueue.c:
4429 * plugins/elements/gsttee.c:
4430 * plugins/elements/gsttypefindelement.c:
4431 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4432 (gst_file_index_add_association):
4433 * plugins/indexers/gstmemindex.c:
4434 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4435 * tests/check/elements/queue.c: (setup_queue):
4436 * tests/check/gst/gstpipeline.c:
4437 * tests/check/libs/collectpads.c: (setup), (teardown),
4438 (gst_collect_pads_suite):
4439 * tests/examples/adapter/adapter_test.c:
4440 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4441 * tests/examples/xml/createxml.c:
4442 * tests/examples/xml/runxml.c:
4443 * tools/gst-inspect.c:
4445 Correct all relevant warnings found by the sparse semantic code
4446 analyzer. This include marking several symbols static, using
4447 NULL instead of 0 for pointers, not using variable sized arrays
4448 on the stack, moving variable declarations to the beginning of
4449 a block and using "foo (void)" instead of "foo ()" for declarations.
4451 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4453 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4454 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4455 Don't reset GstPollFDs, this is not necessary at all.
4457 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4458 (delayed_restart), (delayed_control):
4459 Use GST_POLL_FD_INIT.
4461 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4463 * gst/gstpoll.c: (gst_poll_fd_init):
4467 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4468 Use some more init macros.
4470 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4472 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4473 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4474 Use init macros and functions.
4476 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4478 * docs/gst/gstreamer-sections.txt:
4479 * gst/gstpoll.c: (gst_poll_fd_init):
4481 Add INIT macro and _init method for initializing the GstPollFD.
4483 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4485 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4486 (gst_fd_sink_update_fd):
4487 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4488 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4489 (delayed_restart), (delayed_control):
4490 Initialize some uninitialized variables as spotted by valgrind.
4492 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4494 * tests/benchmarks/Makefile.am:
4495 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4497 Add poll stress test.
4499 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4501 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4503 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4504 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4505 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4506 * plugins/elements/gstfdsink.h:
4507 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4508 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4509 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4510 (gst_fd_src_uri_set_uri):
4511 * plugins/elements/gstfdsrc.h:
4512 Port to GstPoll. See #505417.
4514 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4516 * win32/common/libgstreamer.def:
4517 Add new gst_poll_ symbols to win32 defs.
4519 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4521 * docs/libs/gstreamer-libs-sections.txt:
4522 * libs/gst/net/gstnetclientclock.c:
4523 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4524 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4525 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4526 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4527 * libs/gst/net/gstnetclientclock.h:
4528 * libs/gst/net/gstnettimeprovider.c:
4529 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4530 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4531 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4532 (gst_net_time_provider_new):
4533 * libs/gst/net/gstnettimeprovider.h:
4534 Use a private stuct to not break ABI.
4536 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4538 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4540 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4541 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4542 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4543 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4544 * libs/gst/net/gstnetclientclock.h:
4545 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4546 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4547 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4548 (gst_net_time_provider_new):
4549 * libs/gst/net/gstnettimeprovider.h:
4550 Massive code removal and cleanups because of GstPoll.
4553 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4556 Add checks for poll, ppoll and pselect.
4558 * docs/gst/gstreamer-docs.sgml:
4559 * docs/gst/gstreamer-sections.txt:
4560 Add docs for GstPoll.
4564 * gst/gstpoll.c: (find_index), (selectable_fds),
4565 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4566 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4567 (gst_poll_set_mode), (gst_poll_get_mode),
4568 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4569 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4570 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4571 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4572 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4573 (gst_poll_fd_can_write), (gst_poll_wait),
4574 (gst_poll_set_controllable), (gst_poll_restart),
4575 (gst_poll_set_flushing):
4577 Add generic poll abstraction. We ideally don't want to have this in core
4578 here but in glib intead...
4579 This code will be used in various network elements and ultimately for
4580 the nanosecond precision monotonic clock (that's why it's here in core).
4581 It'll allow us to implement cancelable socket operations for windows too.
4583 * tests/check/Makefile.am:
4584 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4585 (delayed_stop), (delayed_restart), (delayed_flush),
4586 (delayed_control), (gst_poll_suite):
4587 Add GstPoll unit test.
4589 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4592 Improve documentation of gst_filter_run(). Fixes #518627.
4594 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4597 Add a few lines about the new 'check-inspected-versions' target.
4599 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4601 * tests/check/gst/gstevent.c:
4602 Add qos to the event test. Rename tcase/tsuite; is not only about
4605 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4607 * plugins/elements/gstqueue.c:
4608 Ensure that buffer metadata is writeable, before modifying. Spotted by
4611 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4613 * plugins/elements/gstqueue.c:
4614 * plugins/elements/gstqueue.h:
4615 When dropping buffers in leaky modes, mark next buffers we sent as
4618 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4620 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4621 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4623 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4625 * plugins/elements/Makefile.am:
4626 * plugins/elements/gstbufferstore.c:
4627 * plugins/elements/gstbufferstore.h:
4628 * plugins/elements/gsttypefindelement.h:
4629 Remove GstBufferStore, no idea why we were still building it.
4630 It's not used anywhere and superseded by GstAdapter.
4632 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4633 (gst_file_src_create_mmap):
4634 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4635 Printf format fixes for 64-bit integers.
4637 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4640 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4641 We're not in 0.8 times anymore.
4643 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4645 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4646 (gst_check_element_push_buffer_list):
4647 * libs/gst/check/gstcheck.h:
4648 Make the declaration in the header for
4649 gst_check_element_push_buffer_list match the implementation.
4651 Fix up spelling, grammar and wording of the documentation in a few
4652 places, and add the Since keyword to new API functions.
4653 Use g_list_delete_link instead of g_list_remove in
4654 gst_check_drop_buffers, since it's immeasurably more efficient.
4656 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4657 Use new gst_check_drop_buffers function where appropriate.
4659 * win32/common/libgstbase.def:
4660 * win32/common/libgstreamer.def:
4661 Add new symbols gst_collect_pads_take_buffer,
4662 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4665 Changelog surgery to add API keyword to new gst_check API.
4667 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4669 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4670 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4671 Update pre-generated flex files with flex 2.3.34.
4673 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4675 * gst/gstminiobject.c:
4676 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4677 friendly to subclasses and not require them to know all internals
4678 of their parent class.
4680 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4682 * docs/libs/gstreamer-libs-sections.txt:
4683 * libs/gst/base/gstcollectpads.c:
4684 * libs/gst/base/gstcollectpads.h:
4685 Add sub-buffer functions to collectpads. Fixes #516187.
4686 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4688 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4691 Copy selected buffer-flags when creating subbuffers.
4694 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4696 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4697 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4698 * gst/gstmessage.c: (gst_message_class_init),
4699 (gst_message_finalize):
4700 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4701 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4702 (gst_mmap_buffer_finalize):
4703 Properly chain up finalize functions to the parent class.
4705 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4707 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4709 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4710 (gst_index_set_resolver_full):
4712 Add new function with option to dispose of user_data in resolver.
4713 Actually call the dispose function when finalizing the object and not
4714 just when changing the resolver/filter.
4715 API: GstIndex::gst_index_set_resolver_full()
4717 * docs/gst/gstreamer-sections.txt:
4718 Add new function to docs. Fixes #515469.
4720 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4722 * gst/gstindex.c: (gst_index_finalize):
4723 Chain up finalize to the parent class. Fixes leaking the GstObject
4724 name and other things.
4726 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4729 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4730 pre-releases or releases.
4732 * docs/faq/gst-uninstalled:
4735 * docs/random/release:
4736 Change one of the steps - we only upload core & base to Gnome FTP
4738 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4740 * gst/gstconfig.h.in:
4741 Add 'id' for example.
4745 * plugins/elements/gstfdsink.c:
4746 Link to signals. Doc and comment fixes.
4748 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4750 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4751 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4752 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4753 unused and unimplemented; finally, it is plugin features, not
4754 plugins, that have ranks.
4756 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4758 * gst/gstpluginfeature.h:
4759 Clarify GstRank range docs.
4761 2008-02-05 David Schleef <ds@schleef.org>
4763 * gst/gst.c: Add a separate gst_deinitialized that prevents
4764 gst_init() from being called after gst_deinit(). Fixes #509559
4766 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4768 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4769 (gst_bin_class_init):
4770 * gst/gstelement.c: (gst_element_base_class_init),
4771 (gst_element_class_add_pad_template):
4772 * gst/gstpadtemplate.c: (gst_pad_template_init):
4773 * gst/gstpipeline.c: (gst_pipeline_get_type),
4774 (gst_pipeline_base_init), (gst_pipeline_class_init):
4775 * libs/gst/base/gstbasesink.c:
4776 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4777 (gst_base_src_base_init), (gst_base_src_class_init):
4778 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4779 (gst_capsfilter_class_init):
4780 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4781 (gst_fake_sink_class_init):
4782 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4783 (gst_fake_src_class_init):
4784 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4785 (gst_fd_sink_class_init):
4786 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4787 (gst_fd_src_class_init):
4788 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4789 (gst_file_sink_class_init):
4790 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4791 (gst_file_src_class_init):
4792 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4793 (gst_identity_class_init):
4794 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4795 (gst_multi_queue_class_init):
4796 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4797 (gst_queue_class_init):
4798 * plugins/elements/gsttee.c: (gst_tee_base_init),
4799 (gst_tee_class_init):
4800 * plugins/elements/gsttypefindelement.c:
4801 (gst_type_find_element_base_init),
4802 (gst_type_find_element_class_init):
4803 * tests/check/gst/gstelement.c: (gst_element_suite):
4804 Revert previous changes to the behaviour of GstPadTemplates, etc
4805 and the possiblity to call them in class_init as it breaks too
4806 many elements. Reopens bug #491501.
4808 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4811 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4813 * tools/gst-launch.c:
4814 Dump one graph per pipeline state-change and state change name
4815 (if GST_DEBUG_DUMP_DOT_DIR is set).
4817 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4820 * tests/check/gst/gstpad.c:
4821 Be sure that we have a new copy of the caps and not
4822 reffed caps from a template
4824 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4826 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4827 * gst/gstpipeline.c: (gst_pipeline_get_type),
4828 (gst_pipeline_class_init):
4829 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4830 (gst_base_sink_class_init):
4831 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4832 (gst_base_src_class_init):
4833 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4834 (gst_base_transform_class_init):
4835 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4836 (gst_collect_pads_class_init):
4837 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4838 * libs/gst/net/gstnettimeprovider.c:
4839 (gst_net_time_provider_base_init),
4840 (gst_net_time_provider_class_init):
4841 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4842 (gst_capsfilter_class_init):
4843 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4844 (gst_fake_sink_class_init):
4845 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4846 (gst_fake_src_class_init):
4847 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4848 (gst_fd_sink_class_init):
4849 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4850 (gst_fd_src_class_init):
4851 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4852 (gst_file_sink_class_init):
4853 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4854 (gst_file_src_class_init):
4855 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4856 (gst_identity_class_init):
4857 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4858 (gst_multi_queue_class_init):
4859 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4860 (gst_queue_class_init):
4861 * plugins/elements/gsttee.c: (gst_tee_base_init),
4862 (gst_tee_class_init):
4863 * plugins/elements/gsttypefindelement.c:
4864 (gst_type_find_element_base_init),
4865 (gst_type_find_element_class_init):
4866 Don't use base_init where not absolutely necessary. For example it's
4867 not necessary anymore for adding pad templates or setting element
4870 Leave empty base_init functions in several places as GST_BOILERPLATE
4871 still defines and uses them.
4873 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4875 * gst/gstelement.c: (gst_element_base_class_init),
4876 (gst_element_class_add_pad_template):
4877 * gst/gstpadtemplate.c:
4878 Make it possible (and recommended) to set element details and add
4879 pad templates in the class_init functions by copying the details/pad
4880 templates in GstElement's base_init.
4882 Also make it possible to replace existing pad templates by adding
4883 a new one with the same name. This was done in a hackish fashion
4884 in same elements before already.
4886 Don't reference pad templates that are added a second time. A
4887 new pad template has a refcount of one and is not floating anymore
4888 and to be owned by the element's class. Make this more explicit by
4889 mentioning it in the docs of gst_element_class_add_pad_template().
4891 These changes are backwards compatible. Fixes bug #491501.
4893 * tests/check/gst/gstelement.c:
4894 Add unit test for setting element details, adding pad templates and
4895 replacing them in a subclass.
4897 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4899 * tools/gst-inspect.c: (print_interfaces),
4900 (print_element_properties_info), (print_pad_info),
4901 (print_signal_info), (print_element_info):
4902 Fix a few memory leaks.
4904 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4906 * docs/libs/gstreamer-libs-sections.txt:
4907 * libs/gst/check/gstcheck.c:
4908 * libs/gst/check/gstcheck.h:
4909 Add more functions for unit testing: gst_check_drop_buffers,
4910 gst_check_caps_equal, gst_check_element_push_buffer_list,
4911 gst_check_element_push_buffer
4912 API: gst_check_drop_buffers
4913 API: gst_check_caps_equal
4914 API: gst_check_element_push_buffer_list
4915 API: gst_check_element_push_buffer
4917 2008-02-01 Julien Moutte <julien@fluendo.com>
4919 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4920 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4921 (gst_index_finalize), (gst_index_entry_free),
4922 (gst_index_add_association): Fix memory leaks.
4923 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4924 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4925 (gst_mem_index_free_format), (gst_mem_index_free_id),
4926 (gst_mem_index_finalize): Fix memory leaks.
4927 * win32/common/config.h: Updated to CVS HEAD.
4929 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4932 Some more details about how the plugin docs works.
4934 * docs/plugins/gstreamer-plugins-sections.txt:
4937 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4939 * gst/parse/grammar.tab.pre.c:
4940 * gst/parse/grammar.tab.pre.h:
4941 * gst/parse/grammar.y:
4942 * gst/parse/lex._gst_parse_yy.pre.c:
4943 Add delayed set-property. This allows to set properties on dynamicaly
4944 created objects (pads in videomxer). Fixes #509391.
4946 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4949 Check if caps are not NULL (fix bug #510194)
4951 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4953 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4954 (gst_base_sink_get_position_paused):
4955 Add fixme regarding EOS in pull mode.
4956 Fix position reporting in PAUSED for negative rates.
4958 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4960 * gst/gstminiobject.c: (gst_mini_object_replace):
4961 When replacing a miniobject, do a quick equality check first so that we
4962 can avoid a ref/unref pair.
4964 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4966 * docs/design/part-synchronisation.txt:
4969 * docs/plugins/Makefile.am:
4970 * docs/plugins/gstreamer-plugins-docs.sgml:
4971 * docs/plugins/gstreamer-plugins-sections.txt:
4972 * plugins/elements/gstmultiqueue.c:
4973 Add multiqueue to the docs.
4975 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4980 === release 0.10.17 ===
4982 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4985 releasing 0.10.17, "Due Negligence"
4987 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4990 Revert caps != NULL check temporarily for 0.10.17 release.
4992 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4995 Check if caps are not NULL (fix bug #510194)
4997 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5000 Fix compilation on systems that have posix timers but no
5003 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5006 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
5008 * tools/gst-inspect.c:
5009 Revert previous commit in preparation for an impromptu 0.10.17 release
5011 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
5013 * tools/gst-inspect.c: (print_interfaces),
5014 (print_element_properties_info), (print_pad_info),
5015 (print_signal_info), (print_element_info):
5016 Fix a few memory leaks.
5018 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
5023 === release 0.10.16 ===
5025 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
5028 releasing 0.10.16, "Special Dispensation"
5030 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
5033 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5034 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5035 not fail when trying to crosscompile on OpenEmbedded (#511750).
5037 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
5040 Use $(MAKE) instead of make to fix the build if GNU make is
5041 called different. Fixes bug #510747.
5043 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
5045 * gst/gstplugin.c: (_gst_plugin_initialize):
5046 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5047 again, which I broke two commits ago when changing the API
5048 of gst_plugin_register_static(): the g_list_foreach() in
5049 _gst_plugin_register_static still assumed the old function
5050 signature and would therefore fail (re-fixes #510187).
5052 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5053 (_gst_plugin_register_static), (gst_plugin_register_static):
5054 Revert the (technically correct) change to call g_thread_init() from
5055 the pre-main() constructor. This will break programs which call
5056 g_thread_init() without an if (!g_thread_supported()) guard in their
5057 main function. We could just blame it on GLib or the application, but
5058 it's probably best to just avoid this altogether and simply not use
5059 any GLib functions here and use plain old malloc() with a simple
5060 array to store the plugins to register later when gst_init() is
5061 finally called (re-fixes #510187).
5063 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5064 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5065 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5066 (GST_START_TEST), (gst_plugin_suite):
5067 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5070 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5072 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5073 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5074 This makes gtk-doc complain, but results in slightly better
5075 compiler errors. The old _gst_plugin_register_static() is
5076 still guarded, so there'll be a compiler warning about that
5077 instead. Fixes #510187 too.
5079 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
5081 * gst/gst.c: (init_post):
5082 * gst/gstplugin.c: (_gst_plugin_register_static),
5083 (gst_plugin_register_static), (_gst_plugin_initialize):
5084 * gst/gstplugin.h: (GstPluginFilter):
5085 Change API of gst_plugin_register_static() to not take
5086 a GstPluginDesc, but rather just take all the arguments
5087 in a GstPluginDesc directly. This is more intuitive and
5088 avoids certain mistakes when porting code from
5089 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5092 * tests/check/gst/gstplugin.c:
5093 Fix up for changed API.
5095 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
5097 * docs/faq/legal.xml:
5098 Update FAQ, Totem actually has an exception these days.
5100 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
5102 * win32/common/libgstreamer.def:
5103 Add new API declarations
5105 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5107 * gst/gstminiobject.c:
5108 Spelling fixes for the API docs.
5110 2008-01-14 Stefan Kost <ensonic@users.sf.net>
5112 * libs/gst/base/gstbasetransform.c:
5113 Fix long property description for QoS.
5115 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
5118 _gst_trace_on is already provided by gsttrace.h, no need to declare
5121 * docs/libs/gstreamer-libs-sections.txt:
5122 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5123 and remove strange tcase_add_test which is outputting a warning.
5125 * libs/gst/check/gstcheck.c:
5126 * libs/gst/check/gstcheck.h:
5127 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5128 and define them in gstcheck.c instead of having every .c file whcih
5129 includes gstcheck.h be defining its own copy and relying on symbol
5130 interposing to marry them all, which doesn't work on Solaris.
5132 * tests/check/elements/identity.c: (GST_START_TEST):
5133 Don't define 'buffers' locally, it comes from libgstcheck.
5135 * tests/check/generic/sinks.c: (send_buffer):
5136 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5138 * tests/check/gst/gststructure.c: (GST_START_TEST):
5139 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5140 * tests/check/gst/gstutils.c: (GST_START_TEST):
5141 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5142 Add a bunch of casts to make various constants fit the types
5143 they're being assigned to.
5145 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5147 * gst/gstchildproxy.c:
5148 Improve docs and add some ideas for making this more general-purpose.
5150 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5152 * gst/gst_private.h: (GST_CAT_TYPES):
5153 Add GST_CAT_TYPES, for consistency, and so that the other
5154 debug categories don't make fun of it. Spotted by Saur on IRC.
5156 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5158 * gst/parse/Makefile.am:
5159 Move types.h from EXTRA_DIST to noinst_HEADERS.
5161 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5164 Add -Wno-portability to the automake parameters to stop warnings
5165 about GNU make extensions being used. We require GNU make in almost
5166 every Makefile anyway.
5169 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5170 at the same time is required for per target flags.
5172 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5175 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5176 __GNUC__ is defined before using it.
5178 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5180 * docs/gst/gstreamer-sections.txt:
5181 * gst/gst.c: (init_post):
5182 * gst/gstplugin.c: (_gst_plugin_register_static),
5183 (gst_plugin_register_static), (_gst_plugin_initialize),
5184 (gst_plugin_register_func):
5185 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5186 API: add gst_plugin_register_static() and deprecate
5187 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5189 Also, in _gst_plugin_register_static(), make sure to call
5190 g_thread_init() before calling GLib functions such as
5191 g_list_append() if we're not initialised yet, since that
5192 may lead to random crashes with older GSlice/GLib versions.
5194 * tests/check/gst/gstplugin.c:
5195 Adapt unit test to above changes.
5197 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5199 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5200 * gst/gstcaps.c: (gst_caps_to_string):
5201 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5202 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5203 Yet another gratuitous GString micro-optimisation: add a (private)
5204 function that serialises a structure appending to an existing
5205 GString, so that when we serialise caps we don't need to alloc+free
5206 a throwaway GString for each structure (each of which also entailing
5207 multiple reallocs on the way); also use g_string_sized_new() in
5208 various places with an approximate string length to avoid reallocs
5209 within GString. See #500143.
5211 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5213 * gst/gststructure.c: (gst_structure_id_set_value):
5214 Always check UTF-8 conformance of structure strings and not only
5215 if the debugging system is enabled; reasoning: the behaviour of
5216 the actual code shouldn't really change depending on whether the
5217 debugging system is enabled or not (#508291).
5219 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5222 Remove old coverage target in favour of "make lcov".
5224 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5226 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5227 (gst_base_src_loop):
5228 The start segment for reverse playback goes from start to last_stop.
5230 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5232 Patch by: Peter Kjellerstedt <pkj axis com>
5235 Cast the results from the timeval/spec_to_time macros to what the
5236 docs say it casts to, a GstClockTime. fixes #508175.
5238 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5241 Update some comments.
5243 * tools/gst-inspect.c: (print_element_properties_info):
5244 Improve printing of flags.
5246 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5248 * libs/gst/base/gstbasetransform.c:
5249 (gst_base_transform_transform_size):
5250 Print element name with g_warning() if there's a problem
5253 2008-01-07 David Schleef <ds@schleef.org>
5255 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5257 * libs/gst/controller/gstcontroller.h:
5258 * libs/gst/controller/gstcontrolsource.h:
5259 * libs/gst/controller/gstinterpolationcontrolsource.h:
5260 * libs/gst/controller/gstlfocontrolsource.h:
5261 * libs/gst/dataprotocol/dataprotocol.h:
5262 Fix empty prototypes. Fixes bug #507957.
5264 2008-01-07 David Schleef <ds@schleef.org>
5266 * docs/faq/dependencies.xml: Fix typo.
5268 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5270 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5271 (gst_base_src_loop):
5272 Don't update the last_stop position in do_seek, that's the position we
5274 Read backwards when we have a negative rate.
5276 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5277 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5279 Add check for reverse reading.
5281 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5283 Patch by: Alexis Ballier <aballier at gentoo org>
5285 * tests/check/gst/gstabi.c:
5286 * tests/check/gst/struct_ppc64.h:
5287 * tests/check/libs/libsabi.c:
5288 * tests/check/libs/struct_ppc64.h:
5289 Decide which header to include based on the userland ABI target
5290 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5291 for 64-bit userland (#503590). Might need something similar for
5294 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5296 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5297 Log the reason why fopen fails in addition to the fact that it failed.
5299 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5301 * gst/parse/parse.l:
5302 Use "%option never-interactive" to prevent useless calls to isatty()
5303 on every input when parsing. Also use "%option noinput" to not define
5304 the static input/yyinput functions which we don't use anyway. This
5305 removes a compiler warning with gcc 4.3 and saves some bytes in the
5308 * gst/parse/lex._gst_parse_yy.pre.c:
5309 Regenerated for the above change.
5311 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5313 * gst/gstpad.c: (fixate_value):
5314 Don't crash when trying to fixate and empty list.
5317 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5319 * docs/faq/gst-uninstalled:
5320 Clarify the comments to make the usage of this script and what it
5321 does easier to understand.
5323 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5325 * tools/gst-plot-timeline.py:
5326 Add more options to gst-plot-timeline
5328 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5330 * docs/design/part-synchronisation.txt:
5331 Some more info on how the stream_time in GstBaseSink is done.
5333 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5335 * tests/check/generic/sinks.c: (gst_sinks_suite):
5336 Put back the tcase_set_timeout(), apparently it's needed after
5337 all; fix it up in a way that makes things work with valgrind too.
5339 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5341 * gst/gstdebugutils.c:
5342 Add warning when failed to open file for writing.
5344 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5346 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5348 * gst/gstvalue.c: (gst_value_is_fixed):
5349 Optimisation: bail out of the loop as early as possible (#500143).
5351 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5353 * gst/gstcaps.c: (gst_caps_to_string):
5354 * gst/gstinfo.c: (gst_debug_construct_term_color):
5355 * gst/gstparse.c: (gst_parse_launchv):
5356 * gst/gstutils.c: (gst_util_dump_mem):
5357 * gst/gstvalue.c: (gst_value_serialize_any_list),
5358 (gst_value_transform_any_list_string):
5359 Bunch of gratuitous nano-optimisations.
5361 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5363 * tests/check/generic/sinks.c: (async_done_func),
5364 (async_done_eos_func):
5365 Fix leak in unit test (bus sync handler must unref the message
5366 if it returns GST_BUS_DROP). Don't fiddle with the default test
5367 timeout, this is smaller than the current preconfigured value
5368 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5369 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5371 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5373 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5376 Check for stdio_ext.h for the filesink changes.
5378 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5379 (gst_file_sink_class_init), (gst_file_sink_init),
5380 (gst_file_sink_dispose), (gst_file_sink_set_property),
5381 (gst_file_sink_get_property), (gst_file_sink_open_file),
5382 (gst_file_sink_close_file):
5383 * plugins/elements/gstfilesink.h:
5384 Add two properties to control the buffering mode and size.
5385 API: GstFileSink::buffer-mode
5386 API: GstFileSink::buffer-size
5389 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5391 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5392 Add some more docs to explain why a FIXME was wrongly added.
5394 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5397 Fix typo in the gst_object_{ref,unref} documentation.
5399 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5401 * tests/check/libs/controller.c:
5402 * tests/check/libs/typefindhelper.c:
5403 * tests/check/pipelines/parse-launch.c:
5404 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5405 going to be deprecated (see #498924).
5407 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5409 * gst/gsttypefind.c: (gst_type_find_register):
5410 Make gst_type_find_register work for static typefind functions,
5411 ie. allow passing plugin == NULL (prerequisite for #498924).
5413 * gst/gstelementfactory.c: (gst_element_register):
5414 Small docs addition.
5416 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5418 * gst/gstpad.c: (gst_pad_dispose):
5419 Really unlink the peer pad instead of setting the peer pointer to NULL
5420 when we dispose the pad.
5421 This correctly calls the unlink functions and makes sure that the peer
5422 does not have a handle to invalid memory. See #504671.
5424 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5425 Add testsuite for above case.
5427 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5429 Patch by: Peter Kjellerstedt <pkj axis com>
5431 * libs/gst/check/gstcheck.h:
5432 Fix detection of the check version we're compiling against (would
5433 otherwise break if check goes v0.10.0); correctly report the
5434 name of the failed test again in case of failure, instead of
5435 just 'tf' (fixes #504499).
5437 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5439 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5440 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5441 (gst_base_src_loop), (gst_base_src_set_flushing),
5442 (gst_base_src_change_state):
5443 Allow sending EOS to the source to make it send out an EOS event from
5444 the streaming thread.
5445 Update docs and deprecate the old NULL/READY shutdown method.
5447 * tests/check/libs/basesrc.c: (GST_START_TEST),
5448 (gst_basesrc_suite):
5449 Add unit test for controlled shutdown.
5451 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5453 * docs/design/part-synchronisation.txt:
5456 * gst/gstsegment.c: (gst_segment_set_seek),
5457 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5458 (gst_segment_to_running_time):
5459 The seek format can be different from the segment format when the start
5460 and stop values are not to be updated, when we only do a rate change for
5463 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5464 (gst_segment_suite):
5465 Add a testcase for the rate-only seeks, checking that the format is
5466 correctly ignored when start and stop are not updated.
5468 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5470 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5472 * win32/vs8/grammar.vcproj:
5473 * win32/vs8/libgstcontroller.vcproj:
5474 * win32/vs8/libgstreamer.vcproj:
5475 Fix compilation with VS8 and include some missing files.
5477 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5480 Small docs addition: mention that the strings returned by
5481 gst_tag_list_get_string*() are in UTF-8 encoding.
5483 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5486 The check-exports stuff moved to common/win32.mak, so include that.
5488 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5490 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5491 (gst_base_src_perform_seek), (gst_base_src_get_range),
5492 (gst_base_src_set_playing), (gst_base_src_change_state):
5493 Make _wait_playing() not check any variables so that we can call this
5494 function from subclasses. Move the checks elsewhere similar to
5495 _wait_preroll() in basesink.
5497 Only signal the LIVE cond when we are going back to PLAYING.
5499 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5501 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5502 Use g_remove() and g_rename(). Check result of g_rename(), and
5503 don't leak the open file descriptor if we error out when writing.
5505 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5506 Must check the return value of close() after writing out the new
5507 registry file. Sometimes write problems such as out-of-diskspace
5508 are only reported when the file is closed and not already during
5509 the write. This may have caused partial/broken registry files in
5510 some rare circumstances. Should fix #503675.
5512 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5514 * docs/gst/.cvsignore:
5515 * docs/libs/.cvsignore:
5516 * docs/plugins/.cvsignore:
5517 Ignore files generated by new common/* modifications
5519 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5521 * win32/common/libgstbase.def:
5522 Yes, you can also have a <TAB> if you want.
5524 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5526 * win32/common/libgstbase.def:
5527 Add new basetransform API to win export file.
5529 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5531 * tests/check/gst/gstbin.c:
5532 Adjust the test to the refcount change two days ago.
5534 2007-12-14 David Schleef <ds@schleef.org>
5536 * docs/faq/getting.xml: Fix typo.
5538 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5540 * docs/libs/gstreamer-libs-sections.txt:
5541 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5542 (gst_base_transform_prepare_output_buffer),
5543 (gst_base_transform_set_gap_aware):
5544 * libs/gst/base/gstbasetransform.h:
5545 API: Add gst_base_transform_set_gap_aware() to control whether
5546 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5547 get buffers with this flag at all. Fixes #503231.
5549 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5551 * libs/gst/base/gstbasesink.c:
5552 * libs/gst/base/gstbasesrc.c:
5553 * libs/gst/base/gstbasetransform.c:
5554 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5555 thread. Correct log message in gstbasesrc.c.
5557 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5559 * gst/gstutils.c: (element_find_unconnected_pad):
5560 Fix possible compiler warning (#503417).
5562 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5564 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5565 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5567 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5569 * tools/gst-inspect.c: (print_element_properties_info):
5570 Add support for GstFraction properties.
5572 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5575 Add check-exports target and run it as part of 'make check'
5576 (see #499140 and #493983).
5578 * gst/gst_private.h:
5579 * gst/gstelementfactory.h:
5580 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5581 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5582 (_priv_gst_in_valgrind):
5583 * gst/gstinfo.h: (GstLogFunction):
5584 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5585 (gst_type_find_register):
5586 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5587 (gst_type_find_factory_get_type):
5588 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5589 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5590 (gst_controller_new_valist), (gst_controller_new_list),
5591 (_gst_controller_dispose), (_gst_controller_class_init):
5592 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5593 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5594 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5595 (gst_object_get_controller), (gst_object_set_controller),
5596 (gst_object_suggest_next_sync), (gst_object_sync_values),
5597 (gst_object_set_control_source), (gst_object_get_control_source),
5598 (gst_object_get_value_arrays), (gst_object_get_value_array),
5599 (gst_object_get_control_rate), (gst_object_set_control_rate):
5600 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5601 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5602 Make some functions that should be static static; rename some
5603 private symbols so that they don't get exported; add some FIXME
5604 comments so we can move accidentally exported functions into
5605 our private section in 0.11.
5607 * win32/common/libgstreamer.def:
5608 Add gst_utils_get_timestamp().
5610 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5614 Add more missing "Since:" tags to docs.
5616 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5619 Add mising "Since:" to docs.
5621 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5624 Include "glib-compat-private.h" to fix the build on system with
5625 glib < 2.10. Fixes #503131.
5627 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5631 Actually its not PURE as it gets the time from elsewhere.
5633 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5635 * docs/gst/gstreamer-sections.txt:
5637 * gst/gstdebugutils.c:
5641 * libs/gst/base/gstbasesink.c:
5642 * tools/gst-launch.c:
5643 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5644 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5645 Thanks Tim for spotting.
5646 API: gst_util_get_timestamp
5648 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5651 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5653 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5655 * gst/gststructure.c: (gst_structure_validate_name),
5656 (gst_structure_new_valist), (gst_structure_parse_value),
5657 (gst_structure_from_string):
5658 Don't crash in _from_string() if the structure name is not valid
5659 (fixes #501560). Allow structure names to start with a number
5660 again (this apparently broke the ubuntu codec installer).
5662 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5664 Add unit test for the crash; update unit tests for new behaviour.
5666 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5669 Clarify gst_element_get_compatible_pad() documentation.
5672 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5674 * tests/check/Makefile.am:
5675 Don't forget to dist {gst,libs}/struct_hppa.h.
5677 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5679 * libs/gst/base/gstbasesink.c:
5680 Use new API to get elapsed time.
5682 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5684 * gst/gstdebugutils.c:
5686 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5688 * tools/gst-launch.c:
5689 Use new API to get elapsed time.
5691 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5693 * docs/gst/gstreamer-sections.txt:
5695 * gst/gstdebugutils.c:
5697 Rename new API + ChangeLog surgery to remove old name from last entry..
5699 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5701 * docs/gst/gstreamer-sections.txt:
5703 * gst/gstdebugutils.c:
5705 Now hide the different clock stuff behind a macro.
5707 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5710 * gst/gstdebugutils.c:
5712 Apply the posix-timer check from #361155. Conditionally use the posix
5713 timer for logging. This gives better timestamp precission, less
5714 overhead and no ntp jitter.
5716 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5718 * gst/gstminiobject.c: (gst_mini_object_get_type),
5719 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5720 (gst_mini_object_finalize), (gst_mini_object_copy),
5721 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5722 (gst_mini_object_replace), (param_mini_object_validate),
5723 (gst_param_spec_mini_object_get_type):
5724 Some cleanup and checking against invalid function parameters.
5726 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5728 * docs/gst/gstreamer-sections.txt:
5730 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5731 (gst_systemclock_suite):
5732 Start merging in the easy bits of #361155, the monotonic clock patch.
5733 This one adds a few handy macros with docs and a testsuite.
5735 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5737 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5738 Be a bit smarter when seeking, like, don't try to do a seek when it's
5739 not needed. This avoids errors when the file is not seekable.
5742 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5744 * docs/gst/gstreamer-docs.sgml:
5745 * docs/gst/gstreamer-sections.txt:
5746 * docs/gst/gstreamer.types.in:
5751 * plugins/elements/gstqueue.c:
5752 Due to popular request remove preset interface again. :-(.
5754 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5756 * tools/gst-inspect.c:
5757 Print 'default value' for enums and flags too.
5759 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5761 * docs/random/ensonic/profiling.txt:
5765 Fix typo and give better log output.
5767 * gst/gstdebugutils.c:
5768 * gst/gstdebugutils.h:
5769 More ideas, make graphs a bit smaller and fix param name in macro.
5771 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5774 Try harder to use the return value from fgets().
5776 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5779 For theses two fgets we handle the error below.
5781 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5783 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5784 Only send upstream events upstream. Fixes #498746.
5786 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5788 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5790 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5791 (gst_identity_init), (gst_identity_transform_ip),
5792 (gst_identity_set_property), (gst_identity_get_property):
5793 * plugins/elements/gstidentity.h:
5794 Add property to disable handoff signal emission. Fixes #498694.
5795 API: GstIdentity::signal-handoffs
5797 2007-11-21 Julien Moutte <julien@fluendo.com>
5799 * docs/faq/gst-uninstalled: Yet another missing library for the
5800 uninstalled script (fft)
5802 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5804 * docs/faq/developing.xml:
5805 Add a question about how to submit new translations.
5807 * docs/random/release:
5808 Update the contact email address for the Translation Project
5810 * plugins/elements/gstfdsrc.c:
5811 The parent_class for fdsrc is pushsrc, not GstElement.
5813 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5816 Plug a leak and fix saving.
5818 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5820 * docs/gst/gstreamer-sections.txt:
5821 Add new gst_preset__get_property_names() function to the docs
5824 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5828 Change _get_preset_names API to return a strv with copies. Add
5829 _get_property_names to allow implementations to filter and provide
5830 good default implementation.
5832 2007-11-20 Julien MOUTTE <julien@moutte.net>
5834 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5837 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5840 More cleanups, docs, and TODOs from comments that now slowly come in.
5842 2007-11-19 Julien MOUTTE <julien@moutte.net>
5844 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5847 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5850 Fix bogus warning and make the property type specific code more
5853 2007-11-19 Julien MOUTTE <julien@moutte.net>
5855 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5858 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5860 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5861 (gst_bin_add_func), (gst_bin_remove_func),
5862 (gst_bin_change_state_func), (gst_bin_continue_func):
5863 Change email, cleanups add some more debug and comments.
5864 Also set bus and clock on new elements when the pipeline was in error.
5866 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5869 * gst/gstdebugutils.c:
5870 Fix build with --disable-gst-debug. Fixes #497859.
5871 Spotted by Sameer Naik.
5873 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5876 Little documentation improvment.
5879 More TODO cleanups. Remove c++ comments.
5881 * libs/gst/controller/gstcontroller.c:
5882 Add TODO and use quark from static string.
5884 * tests/check/gst/gstmessage.c:
5885 * tests/check/gst/gststructure.c:
5886 Use quark from static string.
5888 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5891 Add some comments and TODOs.
5894 Add padding for future changes.
5896 * plugins/elements/gstqueue.c:
5897 Implement the iface.
5899 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5901 * docs/gst/gstreamer-docs.sgml:
5902 * docs/gst/gstreamer-sections.txt:
5903 * docs/gst/gstreamer.types.in:
5908 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5910 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5916 === release 0.10.15 ===
5918 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5921 releasing 0.10.15, "October"
5923 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5925 * win32/vs6/libgstreamer.dsp:
5926 Convert line endings back to DOS.
5928 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5930 * docs/design/draft-tagreading.txt:
5931 * docs/random/ensonic/profiling.txt:
5932 Update fast tagreading draft and performance profiling ideas.
5934 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5936 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5937 Don't hold the object lock when unreffing a buffer because it could
5938 cause a deadlock when the finalize function wants to grab the object
5939 lock too. Fixes #495133.
5941 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5943 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5944 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5945 Also accumulate time correctly when doing reverse playback. Fixes
5947 When converting to running and stream time, use default values for
5948 start/stop/time/accum when comparing different formats. Fixes #494245.
5950 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5951 Do running/stream time in TIME format.
5953 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5954 (gst_segment_suite):
5955 2 new unit tests for segment accumulation.
5957 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5959 * gst/gst.c: (init_pre):
5960 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5961 (_gst_debug_bin_to_dot_file):
5962 Move getenv() back into gst_init, so everyone can live happily
5963 ever after. Make sure the symbol isn't exported though.
5965 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5967 Patch by: Sebastien Moutte <sebastien moutte net>
5969 * win32/common/gstenumtypes.c:
5970 * win32/common/gstenumtypes.h:
5973 * win32/vs6/libgstreamer.dsp:
5974 Update vs6 project files (#494343).
5976 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5978 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5979 (gst_base_src_perform_seek), (gst_base_src_default_event),
5980 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5981 (gst_base_src_activate_pull):
5982 Unify flushing code, remove some old unlock code that is no longer used.
5983 Take the streaming lock when seeking to avoid races. Fixes #492729.
5984 Added some more comments.
5986 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5988 * gst/gst.c: (_gst_disable_segtrap):
5989 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5990 we can use gst_segtrap_is_enabled() there now that we have that API.
5991 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5992 to do the getenv here (and export the variable).
5994 * gst/gstdebugutils.c: (debug_dump_element),
5995 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5996 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5998 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5999 (gst_debug_log_default):
6000 Rename _gst_info_start_time to priv_gst_info_start_time so it
6001 doesn't get exported (was never in any header).
6003 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6004 (gst_plugin_loading_mutex):
6005 Make static mutex gst_plugin_loading_mutex really static (was never
6006 in any header), and use gst_segtrap_is_enabled() instead of
6007 _gst_disable_segtrap.
6009 * gst/gsttrace.c: (_gst_trace_default):
6010 Make local _gst_trace_default static (was never in any header).
6012 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6014 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6016 * win32/common/libgstbase.def:
6017 * win32/common/libgstcontroller.def:
6018 * win32/common/libgstdataprotocol.def:
6019 * win32/common/libgstnet.def:
6020 * win32/common/libgstreamer.def:
6021 Add more missing symbols, remove some duplicates, and sort
6022 as the 'sort' command sorts it (partially fixes #493983).
6024 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6026 * gst/gstelement.c: (gst_element_set_state_func):
6027 Only change the state cookie if a different state was set on the
6028 element. See #492729.
6030 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
6033 Remove unused and uninitialised type variables that were still
6034 exported for some reason (they were never in any header files
6037 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6039 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6040 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6041 (gst_base_sink_event), (gst_base_sink_get_position_last),
6042 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6043 (gst_base_sink_change_state):
6044 Don't try to report a 0 position when we don't know, return -1 and FALSE
6045 instead. This mostly happens when we are prerolling.
6046 Make sure we can report the right position before we post the ASYNC_DONE
6047 message so that a message handler can query position without races.
6049 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6050 (async_done_handoff), (async_done_func), (send_buffer),
6051 (async_done_eos_func), (gst_sinks_suite):
6052 Add two tests for the above.
6054 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
6057 Update with new email address.
6059 * docs/design/part-TODO.txt:
6060 Add some more info about future pad-block and negotiation changes.
6062 * docs/design/part-buffering.txt:
6063 Add some ideas about buffering reporting.
6065 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
6067 * tests/check/gst/gstobject.c:
6068 Disable silly racy test that always fails on this combination of CPU
6071 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
6073 Patch by: Murray Cumming <murrayc@murrayc.com>
6076 Corrected the registration of the parent-set and parent-unset
6077 signals: The parameter is a GstObject, not a GObject (#493134).
6079 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6081 * gst/gst_private.h:
6090 Move declaration of private _gst_foo_initialize() functions into
6091 our private header file where they should have been all along.
6093 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6095 * docs/plugins/gstreamer-plugins-sections.txt:
6096 * gst/gstdebugutils.h:
6098 * plugins/elements/gstqueue.c:
6099 gtk-doc fixes; trailing-comma-in-enum fix.
6101 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
6103 * gst/gst.c: (gst_deinit):
6104 Clean up on deinit (not the external ones though, doesn't seem to be
6105 needed for some reason).
6107 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6109 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6110 Remove __declspec(dllimport) for MSVC that was copied over into core
6111 from a plugin, obviously without ever having been tested (note the
6112 single underscore in _declspec in the initial commit), and that doesn't
6113 really make sense. See #492077.
6115 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6117 * gst/gst.c: (init_post):
6118 * gst/gstevent.c: (_gst_event_initialize):
6119 * gst/gstquery.c: (_gst_query_initialize):
6120 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6121 g_type_class_ref() other types as well, see #349410 and #64764.
6123 * gst/gstbuffer.c: (_gst_buffer_initialize):
6124 * gst/gstmessage.c: (_gst_message_initialize):
6125 Simplify existing g_type_class_ref().
6127 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6129 * gst/gstformat.c: (_gst_format_initialize):
6130 g_type_class_ref() our GstFormat type to make sure we avoid the
6131 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6132 bug #64764. Should fix intermittent tee unit test failures (#474823).
6134 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6136 * tests/check/elements/tee.c: (test_num_buffers):
6137 Simplify, simplify, simplify - or not. Rewrite unit test
6138 not to use gst_parse_launch(); allow N sub-streams. Increasing
6139 the number of sub-streams seems to reproduce #474823 more easily.
6141 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6143 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6146 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6147 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6148 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6149 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6150 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6151 so use _pipe() directly (#492077).
6153 * win32/common/dirent.c: (_treaddir):
6154 Add a couple of casts to make it build without warnings with MSVC.
6156 * win32/common/libgstreamer.def:
6157 Add some more symbols that need to be exported.
6159 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6161 * tests/examples/metadata/read-metadata.c: (message_loop):
6162 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6163 arriving in a second or third tag message are added to
6164 the tag list as well.
6166 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6168 * libs/gst/base/gstbasesrc.c:
6169 Its "Since:" and not "@Since:". And remove an superflous cast.
6171 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6173 * docs/libs/gstreamer-libs-sections.txt:
6174 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6175 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6176 (gst_base_sink_get_property), (gst_base_sink_render_object),
6177 (gst_base_sink_preroll_object),
6178 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6179 (gst_base_sink_change_state):
6180 * libs/gst/base/gstbasesink.h:
6181 Add a new last-buffer property that contains the last buffer used in
6182 basesink for preroll or rendering. useful for making snapshots.
6183 API: gst_base_sink_get_last_buffer()
6184 API: GstBaseSink::last-buffer
6186 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6188 * docs/gst/running.xml:
6190 * gst/gstdebugutils.c:
6191 * gst/gstdebugutils.h:
6192 * tools/gst-launch.c:
6193 Improve bin graph dumping, by using the envvar to specify a path.
6194 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6196 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6198 * plugins/elements/gsttypefindelement.c:
6199 (gst_type_find_element_handle_event),
6200 (gst_type_find_element_activate):
6201 Post special error message if we can't determine the type of a stream
6204 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6206 * docs/gst/running.xml:
6207 * gst/gstdebugutils.c:
6208 Document new env-var. Add one log-line after dumpng a graph.
6210 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6213 Ugly hack to put the (recently removed and non-portable, apparently)
6214 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6215 GNU ld, because without that 'make check' fails miserably on my debian
6216 stable box. Someone with more knowledge of linker intricacies and
6217 portability issues than me fix this properly please.
6219 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6221 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6222 Reset last seen position after flushing so that we don't report the old
6225 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6227 * gst/gstelementfactory.c: (gst_element_register):
6229 Patch from Alessandro Decina adding get_type_full and
6230 get_protocols_full private vfuncs to the URIHandler interface
6231 to allow bindings to support creating URI handlers.
6232 Partially fixes: #339279
6233 API: GstURIHandlerInterface::get_type_full
6234 API: GstURIHandlerInterface::get_protocols_full
6236 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6238 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6239 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6240 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6241 Make it so that pads are considered linked until a buffer is pushed
6242 and discovered otherwise. This avoids problems with decodebin2 hanging
6243 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6246 Make sure we lock the multiqueue when updating the max-size properties.
6248 Fix a crash on Solaris in a debug statement in get_request_pad that
6249 passes a NULL string to GST_DEBUG.
6251 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6252 (run_output_order_test):
6253 Fix the test to allow the first buffer on not-linked pads to come out
6254 of sequence while multiqueue discovers that they are not-linked.
6256 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6259 * libs/gst/check/Makefile.am:
6260 Use a custom export symbol regex for libgstcheck, as it needs
6261 to export symbols that don't match the standard GStreamer gst_*
6262 pattern, and --export-dynamic is not portable (only works on
6265 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6266 (gst_check_setup_sink_pad):
6267 Make sure to pass a message parameter to the fail_* macros.
6269 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6270 Fix some compiler warnings.
6272 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6274 * tests/check/gst/gststructure.c: (test_to_string):
6275 Disable test that checks that white spaces are not allowed
6276 in structure names or field names, since we need to
6277 support that for now for backwards compatibility reasons.
6279 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6281 * docs/gst/gstreamer-sections.txt:
6284 API: add GST_TAG_ARTIST_SORTNAME
6285 API: add GST_TAG_ALBUM_SORTNAME
6286 API: add GST_TAG_TITLE_SORTNAME
6287 Add tag variants for sorting (#414539).
6289 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6291 * gst/gststructure.c:
6292 Also allow white space for names so we don't break
6293 backwards compatibility.
6295 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6297 * docs/design/part-TODO.txt:
6298 * docs/design/part-segments.txt:
6299 * docs/design/part-streams.txt:
6302 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6304 * docs/gst/gstreamer-sections.txt:
6305 Fixed documentation from my previous commit (added new API add
6306 gst_value_set_structure(), add gst_value_get_structure() and
6307 GST_VALUE_HOLDS_STRUCTURE).
6309 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6311 * gst/gstdebugutils.c:
6312 Reflow code to fix uninitialized variable warning.
6314 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6316 * gst/gstcaps.c: (gst_caps_to_string),
6317 (gst_caps_from_string_inplace):
6318 * gst/gststructure.c: (gst_structure_get_abbrs),
6319 (gst_structure_to_string), (gst_structure_from_string):
6320 * gst/gstvalue.c: (gst_value_set_structure),
6321 (gst_value_get_structure), (gst_value_serialize_structure),
6322 (gst_value_deserialize_structure), (_gst_value_initialize):
6324 * tests/check/gst/gststructure.c: (GST_START_TEST),
6325 (gst_structure_suite):
6326 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6327 Added GstStructure to gst_value_table and its related functions.
6328 Changed gst_structure_to_string to print ';' in the end.
6329 Changed gst_caps_to_string to not print ';' beteween its
6330 fields (structures) anymore and remove the lastes ';' from latest
6331 structure. Now it is possible to have nested structures.
6332 In addition, backward compatibilty is assured by accepting '\0' as
6333 end delimiter. Fixes: #487969.
6334 API: add gst_value_set_structure()
6335 API: add gst_value_get_structure()
6336 API: add GST_VALUE_HOLDS_STRUCTURE
6338 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6341 When no GSource callback has been set up, tell developer
6342 to use a function that actually exists.
6344 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6346 * docs/gst/gstreamer-sections.txt:
6350 * gst/gstdebugutils.c:
6351 * gst/gstdebugutils.h:
6354 * tools/gst-launch.c:
6355 Allow dumping pipelines as dot graphs. Fixes #456573.
6357 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6359 * gst/gststructure.c:
6360 Allow '+' as well, it can be part of media or mime types
6361 such as image/svg+xml.
6363 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6365 * docs/gst/gstreamer-sections.txt:
6368 API: add gst_bus_pop_filtered
6369 API: add gst_bus_timed_pop_filtered
6370 Two new functions for waiting for specific message types on the
6371 bus for a specified amount of time without iterating any main
6372 loops or main contexts.
6374 * tests/check/gst/gstbus.c:
6375 Some tests for the new functions.
6377 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6379 * docs/libs/gstreamer-libs-sections.txt:
6380 Make gtk-doc ignore stuff it should ignore.
6382 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6384 * libs/gst/check/gstcheck.c:
6385 * libs/gst/check/gstcheck.h:
6386 Allow runtime selection of unit tests to run via the GST_CHECKS
6387 environment variable (test case function names, comma-separated).
6389 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6391 * gst/gststructure.c:
6392 * tests/check/gst/gststructure.c:
6393 Revert serialisation change and constrain structure-names after
6394 consensus on irc. Update api documentation to reflect the change.
6396 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6398 * gst/gststructure.c:
6399 Improve serialization and fix tests.
6401 * tests/check/gst/gststructure.c:
6402 Add another test that covers why I actually did the previous structure
6405 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6407 * tools/gst-inspect.c: (print_element_info):
6408 Don't crash when inspecting an element.
6410 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6412 * tests/check/gst/gststructure.c:
6413 Add unit test for escaping of structure name when serialising
6414 and deserialising to/from strings.
6416 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6418 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6419 (gst_single_queue_new):
6420 * plugins/elements/gstqueue.c: (gst_queue_init),
6421 (gst_queue_push_one):
6422 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6423 upstream is tricked into thinking it can suggest a format downstream
6424 while downstream does not support that format. The real problem is that
6425 core calls acceptcaps when pushing a buffer with new caps, for which we
6426 do a little workaround by setting the caps on the srcpad ourselves
6427 before pushing the buffer (until this is figured out). Fixes #486758.
6429 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6431 * gst/gststructure.c:
6433 Add some more comments and debug output. Quote structure name to fix
6434 deserialisation of some strings.
6436 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6439 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6440 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6442 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6444 * tools/gst-inspect.c:
6445 Save approx. 400 1 byte allocs when printing. Use API to acces element
6451 * tools/gst-xmlinspect.c:
6452 Use API to acces element details.
6454 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6457 Fix some spelling errors.
6459 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6461 * gst/gstbin.c: (bin_handle_async_done):
6462 Correctly set the next state if all of our async children commited their
6463 state. This makes sure we can actually cancel the state change in
6464 progress. Fixes a regression in Rhythmbox when seeking.
6466 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6469 Don't shadow local variable.
6472 Don't shadow global function name.
6474 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6476 * gst/gstelementfactory.c:
6477 * gst/gstpluginfeature.c:
6478 * gst/gstpluginfeature.h:
6479 * gst/gstregistrybinary.c:
6480 * gst/gstregistryxml.c:
6481 * gst/gsttypefind.c:
6482 Use already-interned string for the private GstPluginFeature
6485 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6487 * docs/libs/gstreamer-libs-sections.txt:
6488 Add new API to docs; fixes the build.
6490 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6492 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6494 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6495 (gst_base_sink_event):
6496 * libs/gst/base/gstbasesink.h:
6497 Add function to wait for EOS, subclasses can use this to correctly wait
6498 for devices to drain before performing the EOS logic. Fixes #485343.
6499 API: gst_base_sink_wait_eos()
6501 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6504 Cast description string constants in GST_PLUGIN_DEFINE macros
6505 to a (gchar*) to make C++ code using these macros compile
6506 without warning with g++-4.2 (see #462737). Even if slightly
6507 ugly, this seems preferable to putting the description strings
6508 into the GLib quark table or making the structure member a
6509 const gchar * and doing casts in core code that allocs and
6510 frees these strings, or requiring a cast in the C++ code.
6512 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6515 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6516 to print the entire class/function signature into the log
6517 file for C++ code. This only affects C++ code, for C code
6518 everything remains the same.
6520 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6522 * gst/gstbin.c: (remove_from_queue):
6523 Work around a problem with pipelines containing (semi)loops until a
6524 proper, more complicated solution is ready. See #475455.
6526 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6530 * gst/gstregistrybinary.c:
6531 * gst/gstregistryxml.c:
6532 Put more strings into the GLib quark table. No need to keep
6533 a hundred-something copies of identical version strings,
6534 license strings, package name strings and package origin
6537 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6539 * docs/manual/advanced-dataaccess.xml:
6540 Don't imply that it's okay to unconditionally change
6541 buffer data or buffer metadata in a pad probe callback,
6542 and a bunch of other comments. Fixes #430031.
6544 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6546 * win32/common/gstenumtypes.c:
6547 * win32/common/gstenumtypes.h:
6548 * win32/common/gstversion.h:
6549 Update generated files.
6551 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6553 * docs/manual/advanced-autoplugging.xml:
6554 Prefix section with broken code with a warning (see #342432).
6556 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6558 * docs/manual/appendix-integration.xml:
6559 * docs/manual/basics-init.xml:
6560 Call g_thread_init() before g_option_context_new() to
6561 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6563 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6565 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6566 (gst_base_sink_queue_object_unlocked),
6567 (gst_base_sink_queue_object), (gst_base_sink_event),
6568 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6569 When we received EOS and are waiting for when to post the EOS message,
6570 our state is prerolled and we should not return ASYNC.
6571 Reorganize some code paths to implement this behavior.
6573 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6575 Add unit test to verify above EOS fix.
6577 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6579 * plugins/elements/gsttypefindelement.c:
6580 (gst_type_find_element_have_type), (gst_type_find_element_init),
6581 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6582 Move detecting the input caps of the sinkpad to the setcaps function.
6583 This allows us to update the output caps when we receive new input caps
6584 instead of always using the first detected caps.
6586 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6588 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6589 (gst_base_sink_get_position):
6590 Don't try to preroll non-async elements after a flush.
6591 Subtract latency form clock times when reporting position.
6593 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6595 * gst/gstpad.c: (gst_pad_pause_task):
6597 Small comment and documentation update.
6599 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6601 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6602 (gst_base_src_set_live), (gst_base_src_is_live),
6603 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6604 (gst_base_src_default_event), (gst_base_src_wait),
6605 (gst_base_src_do_sync), (gst_base_src_get_range),
6606 (gst_base_src_pad_get_range), (gst_base_src_loop),
6607 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6608 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6609 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6610 (gst_base_src_change_state):
6611 Rework the locking of basesrc in a similar fashion to basesink. We
6612 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6613 us to handle live sources and semi live ones much better.
6615 Fix unlocking when seeking, shutting down and pausing in live sources.
6617 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6619 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6620 Fix compilation again.
6622 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6625 Use meaningful categories for the logs to clean the default one.
6627 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6629 * tests/check/pipelines/cleanup.c:
6630 Print message name and not just number.
6632 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6634 * docs/design/draft-tagreading.txt:
6635 Add some more thoughts.
6637 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6639 * tests/check/pipelines/simple-launch-lines.c:
6640 Print message name and not just number.
6642 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6644 * libs/gst/base/gsttypefindhelper.c:
6645 Speedup typefinding. This is work in progress (see #459862).
6647 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6650 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6651 Spotted by Josep Torra Valles <josep@fluendo.com>.
6653 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6656 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6657 field has moved to GstObject.
6659 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6661 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6662 (gst_base_src_get_range), (gst_base_src_change_state):
6663 Call unlock for live sources so that they can't get stuck in _create and
6664 produce a buffer before they are set back to PLAYING.
6666 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6668 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6669 (gst_queue_locked_dequeue):
6670 Comment the segment-related code... in the PROPER function.
6671 See #482147 and my commit from yesterday.
6673 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6675 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6676 Also initialize the counter that calculates the first timestamp on a
6677 buffer correctly for non-live sources.
6679 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6681 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6682 Disable code that's breaking the current-time-level reporting.
6685 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6687 * docs/gst/gstreamer-sections.txt:
6688 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6689 as they shouldn't show up. Fixes the docs build.
6691 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6694 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6695 Define M_PI which is used in files which are including gstinfo.h.
6696 VS6 includes doesn't define it.
6697 * win32/common/libgstbase.def:
6698 * win32/common/libgstcontroller.def:
6699 * win32/common/libgstreamer.def:
6700 Add new exported functions and variables.
6701 * win32/vs6/libgstcontroller.dsp:
6702 * win32/vs6/libgstreamer.dsp:
6703 Update the list of files to build.
6705 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6707 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6709 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6710 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6711 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6712 Improve debugging. Fixes #480858.
6714 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6716 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6718 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6719 First patch of code cleanups, use the macros and right arguments in the
6720 macros to signal and lock the queue. See #480858.
6722 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6724 * gst/gstbus.c: (poll_func):
6725 Improve debugging when dealing with _poll().
6727 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6729 * gst/gstregistryxml.c:
6730 Fix memory leak I introduced a few days ago.
6732 2007-09-26 Michael Smith <msmith@fluendo.com>
6734 * gst/gstbuffer.c: (gst_buffer_finalize):
6735 Make it once again possible to free GstBuffers in the default
6737 The poisoning scribbles on parts of the miniobject we need in
6741 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6743 * docs/gst/gstreamer-sections.txt:
6746 API: add GST_TAG_COMPOSER, fixes #459809.
6748 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6752 Add the 3-clause BSD license and the MIT/X11 license to the license
6753 list. Fixes #479784.
6755 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6757 * docs/faq/getting.xml:
6758 Add Q+A about different GStreamer versions (#364056).
6760 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6762 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6763 (gst_base_sink_event), (gst_base_sink_change_state):
6764 Return correct gboolean from query function.
6766 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6768 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6769 (gst_base_sink_event), (gst_base_sink_query),
6770 (gst_base_sink_change_state):
6771 Simplify latency query.
6772 When not synchronizing, we can report latency without querying the peer
6775 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6779 Fix small typos in the docs.
6781 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6783 * docs/design/draft-latency.txt:
6784 * docs/design/draft-push-pull.txt:
6785 * docs/design/draft-tagreading.txt:
6786 * docs/design/part-MT-refcounting.txt:
6787 * docs/design/part-activation.txt:
6788 * docs/design/part-block.txt:
6789 * docs/design/part-element-source.txt:
6790 * docs/design/part-events.txt:
6791 * docs/design/part-gstbin.txt:
6792 * docs/design/part-gstelement.txt:
6793 * docs/design/part-gstobject.txt:
6794 * docs/design/part-gstpipeline.txt:
6795 * docs/design/part-messages.txt:
6796 * docs/design/part-preroll.txt:
6797 * docs/design/part-push-pull.txt:
6798 * docs/design/part-qos.txt:
6799 * docs/design/part-query.txt:
6800 * docs/design/part-scheduling.txt:
6801 * docs/design/part-seeking.txt:
6802 * docs/design/part-segments.txt:
6803 * docs/design/part-states.txt:
6804 Documentation updates and typo fixes.
6806 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6808 * plugins/elements/gstfakesink.c:
6809 Add some debug text to error message to indicate that
6810 we errored out on request.
6812 * tools/gst-launch.c:
6813 When the state change to PLAYING fails, check for an
6814 error message on the bus and print it.
6816 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6818 translated by: Jorge González González <aloriel@gmail.com>
6822 Added Spanish translation.
6824 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6826 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6827 Fix printf arguments.
6829 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6831 * tests/check/generic/states.c:
6832 Improved state change unit test.
6834 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6837 Move priv to the right place.
6839 * gst/gstsystemclock.c:
6840 Add FIXME: and improve log.
6842 * tests/check/Makefile.am:
6843 * tests/examples/manual/Makefile.am:
6844 Work with all types of registries.
6846 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6848 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6849 Don't unref the event after pushing it. Fixes #478401.
6851 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6854 * tests/examples/manual/.cvsignore:
6855 Ignore registries in any format.
6857 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6859 * gst/glib-compat-private.h:
6860 Add compatibility macro for g_intern_string() for
6861 GLib-2.8 (any reason we can't just bump the
6862 requirement to at least 2.10?)
6864 * gst/gstpadtemplate.h:
6865 * gst/gstelementfactory.c:
6866 * gst/gstregistryxml.c:
6867 * gst/gstregistrybinary.c:
6868 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6869 up the internal code accordingly. This shouldn't be a problem, since
6870 there is no reason external code could ever assume the string in such
6871 a structure is dynamically allocated unless it did that itself; the
6872 use of g_strdup() is private to element factories. The new code also
6873 saves some memory by putting pad template name strings into the GLib
6874 quark table instead of allocating them dynamically.
6875 Declaring this field constant fixes warnings with g++-4.2 when using
6876 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6878 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6880 * gst/gstelementfactory.c:
6881 Release static caps. Fixes #475723.
6883 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6887 Make some internal API take const gchar * instead of just
6888 gchar * to avoid compiler warnings with g++-4.2.2 when
6889 passing string constants (partially fixes #478092).
6891 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6893 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6894 A latency query fails when one of the sinks fail.
6896 * gst/gstelement.c: (gst_element_set_base_time):
6899 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6901 * gst/gstbin.c: (gst_bin_continue_func):
6902 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6903 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6904 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6906 Fix minor compilation warnings shown with Forte.
6908 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6910 * plugins/elements/gstqueue.c: (apply_buffer),
6911 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6912 Measure queue level based on the diff between head and tail timestamps
6913 even when pushing the first buffer.
6915 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6917 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6918 (gst_base_sink_event), (gst_base_sink_change_state):
6919 Sinks that don't preroll can always be queried for the latency.
6920 Don't post ASYNC start when we are not async.
6922 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6924 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6925 (gst_queue_handle_sink_event), (gst_queue_chain),
6926 (gst_queue_push_one), (gst_queue_handle_src_query),
6927 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6928 * plugins/elements/gstqueue.h:
6929 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6930 push more buffers but allow pushing of EOS and NEWSEGMENT.
6931 Add some more debug info here and there. Fixes #476514.
6933 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6935 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6936 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6937 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6938 (gst_base_sink_set_flushing), (gst_base_sink_query),
6939 (gst_base_sink_change_state):
6940 Latency query is allowed after we are prerolled. Introduce a new flag
6941 for this and stop abusing other variables.
6943 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6945 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6946 Push OOB events downstream when we get them in send_event. This allows
6947 the application to insert events in the pipeline.
6948 Add some more comments.
6950 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6952 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6953 (do_bin_latency), (gst_bin_change_state_func):
6954 * gst/gstpipeline.c: (gst_pipeline_change_state):
6955 Move latency query from GstPipeline to GstBin so that we can also
6956 use it when async-handling is enabled on bins.
6958 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6960 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6961 (gst_base_src_do_sync), (gst_base_src_change_state):
6963 Clean up the timestamping and syncing code for pseudo live sources.
6965 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6967 Patch by: Steve Fink <sphink gmail com>
6969 * docs/manual/appendix-checklist.xml:
6970 Mention less -R switch in the section about debug output (#474055).
6972 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6974 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6975 Queue can latency to the pipeline up to the configured max size in time.
6976 Report this fact in the latency query.
6978 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6980 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6982 * libs/gst/controller/gstinterpolation.c:
6983 * libs/gst/controller/gstlfocontrolsource.c:
6984 Use gst_guint64_to_gdouble() when converting from a uint64 or
6985 GstClockTime to double to fix the build on win32. Fixes #474371.
6987 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6989 * gst/gstbuffer.c: (gst_buffer_finalize):
6990 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6991 When finalizing a buffer the complete struct is filled with 0xff,
6992 thus making a use of the buffer after the final unref impossible.
6994 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6996 * tests/check/libs/controller.c: (GST_START_TEST):
6997 Use fail_unless_equals_int(a, b) instead of
6998 fail_unless_equals (a == b) to get better output on failures.
7000 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7002 * tests/check/gst/gsturi.c:
7003 Also check for the other file URI variant on win32.
7005 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
7007 * gst/gsturi.c: (gst_uri_get_location):
7008 If there's no hostname, we want to return 'c:/foo/bar.txt'
7009 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7011 * tests/check/gst/gsturi.c:
7012 Unit test for the above and a few more things.
7014 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7016 * docs/design/part-live-source.txt:
7017 Add docs on how live sources should timestamp.
7019 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7020 Add some more debug info.
7021 For subclasses that are live and like to sync, add aditional startup
7022 latency to sync time and timestamps so that we timstamp according to the
7025 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7028 Also do a g_type_class_ref() for the subbuffer type in
7031 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
7033 * docs/gst/gstreamer-sections.txt:
7034 * gst/gstpad.c: (gst_pad_peer_query):
7036 Add function to perform a query on the peer of a pad.
7037 API: gst_pad_peer_query()
7039 2007-09-11 Stefan Kost <ensonic@users.sf.net>
7041 * tests/check/gst/gstsystemclock.c:
7042 Cleanup the test a little (use gst-logging and not g_message). Improve
7043 test to check if a wait reached the target.
7045 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
7047 * docs/libs/gstreamer-libs-sections.txt:
7048 Add new API to docs and fix the build.
7050 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
7052 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7053 (gst_base_src_init), (gst_base_src_set_do_timestamp),
7054 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7055 (gst_base_src_get_property), (gst_base_src_do_sync):
7056 * libs/gst/base/gstbasesrc.h:
7057 Add property to make the basesrc timestamp buffers based on the current
7059 API: GstBaseSrc::do-timestamp
7060 API: gst_base_src_set_do_timestamp()
7061 API: gst_base_src_get_do_timestamp()
7063 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
7065 * docs/random/release:
7066 Really make sure translations are up-to-date before
7067 a release (#465010).
7069 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
7071 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7072 Always destroy the timer, also in error cases.
7074 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7076 * docs/manual/highlevel-xml.xml:
7077 Fix XML example code. Fixes #472714.
7079 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
7081 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7082 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7083 (gst_base_sink_query):
7084 Protect eos and have_preroll with the OBJECT lock so we don't need to
7085 take the PREROLL lock when querying the latency. Fixes #473846.
7087 2007-09-05 Stefan Kost <ensonic@users.sf.net>
7090 Give some log-messages a category.
7092 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
7094 * gst/gststructure.c:
7095 (gst_structure_fixate_field_nearest_fraction):
7096 Fix fraction list fixation code. Take the fraction with the smallest
7097 difference with the target instead of the first one in the list.
7099 * tests/check/gst/gststructure.c: (GST_START_TEST),
7100 (gst_structure_suite):
7101 Added test to verify correct fraction list fixation behaviour.
7103 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
7105 * win32/common/libgstreamer.def:
7106 Export gst_bus_add_signal_watch too.
7108 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
7110 * docs/libs/gstreamer-libs-sections.txt:
7111 Add new methods to docs.
7113 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7114 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7115 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7116 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7117 * libs/gst/base/gstbasesink.h:
7118 Add ts-offset property to fine-tune the synchronisation.
7119 API: GstBaseSink::ts-offset property
7120 API: gst_base_sink_set_ts_offset()
7121 API: gst_base_sink_get_ts_offset()
7123 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
7125 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7126 (gst_base_sink_init), (gst_base_sink_set_sync),
7127 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7128 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7129 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7130 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7131 (gst_base_sink_get_property), (gst_base_sink_change_state):
7132 * libs/gst/base/gstbasesink.h:
7133 Add async property to instruct the sink never to inform the parent about
7134 ASYNC state changes, update docs.
7135 Check argument with g_return_* for the public functions.
7136 API: GstBaseSink::async property
7137 API: gst_base_sink_set_async_enabled()
7138 API: gst_base_sink_is_async_enabled()
7140 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7142 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7145 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7146 (gst_base_src_default_query), (gst_base_src_wait),
7147 (gst_base_src_do_sync), (gst_base_src_change_state):
7148 Rearrange some code so that we can add support for measuring the
7151 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7153 * docs/random/ensonic/dynlink.txt:
7154 More thoughs on this.
7156 * plugins/elements/gstcapsfilter.c:
7157 Add bugzilla ticket number to FIXME comment.
7159 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7161 * docs/design/part-TODO.txt:
7162 * docs/design/part-block.txt:
7165 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7168 Revert patch which uses $(gst_headers) instead of $^ because it
7171 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7173 * tests/check/gst/gstbin.c: (GST_START_TEST):
7174 Fix leaks in the new unit test.
7176 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7179 Don't use GST_INFO before the debug system is actually initialised
7180 (shouldn't do any harm, but won't print anything either, so we can
7181 just as well remove it).
7184 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7185 compilers that don't support variadic macros (such as MSVC), should
7186 check for debug_level <= __gst_debug_min as well, since that's the
7187 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7188 inline helper functions. Should improve performance a bit, but also
7189 makes sure uses of GST_INFO et.al are ignored if the debugging
7190 system isn't initialised yet (instead of printing an assertion
7193 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7195 patch by: David Nečas <yeti@physics.muni.cz>
7198 Replace some non portable makefile constructs.
7200 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7202 * common/gtk-doc-plugins.mak:
7203 Grrrrr. Don't remove the types file on make clean.
7205 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7207 * tools/gst-launch.1.in:
7208 Add colorspace to example pipeline. Fixes #458274.
7210 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7212 * docs/random/release:
7213 The release manager should run 'make download-po' before making a
7214 release to make sure translations are up-to-date.
7220 Add some new translations.
7222 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7224 * tools/gst-launch.c: (event_loop), (main):
7225 Don´t try to do any state management when a live pipeline posts
7227 Also make the buffering string translatable.
7229 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7231 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7232 (bin_handle_async_start), (gst_bin_handle_message_func):
7234 When adding elements, insert messages into the bus of the newly added
7235 element and make sure the element is the source of the message. This
7236 allows the parent bin to intercept the message and do the
7237 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7238 messages to the app (which is not allowed).
7241 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7242 Fix testsuite so that is does not work around messages that should not
7243 have been posted in the first place.
7245 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7247 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7248 (update_degree), (gst_bin_sort_iterator_next):
7249 Fix annoying bug in the sorted iterator where a sink that is not really
7250 a sink (when it has downstream links) screwed up the iterator.
7252 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7253 Unit test to verify the fix.
7255 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7258 Add some more docs for the messages.
7260 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7261 (gst_base_sink_query):
7262 Add some more debugging.
7264 * tools/gst-launch.c: (event_loop):
7265 When interrupting, don't try to set pipeline to PAUSED twice.
7267 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7270 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7271 (bin_handle_async_start), (gst_bin_handle_message_func):
7272 Move ASYNC_START message posting to where it belongs, similar to
7274 Don't post ASYNC_START when we are in error.
7275 Post ASYNC_START when we added an async element to a bin.
7277 2007-08-14 Julien MOUTTE <julien@moutte.net>
7279 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7280 generation from vargs. Fixes #466595.
7282 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7284 * gst/gstbin.c: (gst_bin_element_set_state):
7285 Always change the state of a NO_PREROLL element even if it has ASYNC
7286 elements inside (in case of a bin).
7288 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7289 Unit test for this case.
7291 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7293 * libs/gst/check/gstbufferstraw.c:
7294 * libs/gst/check/gstcheck.h:
7295 * libs/gst/controller/gstcontroller.c:
7296 * libs/gst/controller/gstcontrolsource.h:
7297 * libs/gst/controller/gstlfocontrolsource.h:
7298 * plugins/elements/gstcapsfilter.h:
7299 * plugins/elements/gstfdsink.h:
7300 * plugins/elements/gstfdsrc.h:
7301 Add more missing docs.
7303 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7305 * gst/gststructure.c:
7306 Add Since tag to docs.
7308 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7310 * docs/gst/gstreamer-sections.txt:
7311 * gst/gststructure.c: (gst_structure_get_uint):
7312 * gst/gststructure.h:
7313 Add function to get uint from a structure.
7314 API: gst_structure_get_uint()
7316 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7318 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7319 (gst_caps_intersect):
7320 Fix proper check for simple caps.
7322 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7324 * docs/gst/Makefile.am:
7325 * docs/libs/Makefile.am:
7326 Remove cruft and do some cleanups.
7328 * docs/gst/gstreamer-docs.sgml:
7329 * docs/libs/gstreamer-libs-docs.sgml:
7330 Prepare for comming gtkdoc features (rebase against online docs).
7332 2007-08-10 Michael Smith <msmith@fluendo.com>
7334 * docs/gst/gstreamer-sections.txt:
7335 Add gst_registry_add_path to docs.
7337 2007-08-10 Michael Smith <msmith@fluendo.com>
7339 * gst/gstregistry.h:
7340 Add gst_registry_add_path, which was missing from this header.
7342 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7344 * libs/gst/controller/gstlfocontrolsource.c:
7347 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7349 * libs/gst/base/gstbasesink.c:
7350 Don't send an async_start message during downwards state change if
7351 target state is less than READY
7353 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7355 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7359 Added Hungarian translation.
7361 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7368 Updated translations.
7370 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7372 * libs/gst/controller/Makefile.am:
7373 Dist gstlfocontrolsourceprivate.h
7375 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7377 * docs/libs/gstreamer-libs.types:
7378 Don't register the enum type gst_lfo_waveform_get_type() in the
7379 .types file - only GObject derived types belong.
7381 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7383 Patch by: <arenevier at fdn dot fr>
7386 Remove comma from last element in enum to avoid compile errors when
7387 using -pendantic. Fixes #464366.
7389 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7391 * docs/design/part-TODO.txt:
7392 Add some more TODO items
7394 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7397 * gst/gstcaps.c: (gst_caps_intersect):
7398 Optimize trivial intersection case between identical caps pointers.
7400 * gst/gstelement.c: (gst_element_continue_state),
7401 (gst_element_set_state_func):
7403 Fix spelling and grammar mistakes.
7405 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7409 Update POTFILES. Fixes #461599.
7411 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7414 Fix confusing typo in debug output.
7416 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7418 reviewed by: Stefan Kost <ensonic@users.sf.net>
7420 * libs/gst/controller/Makefile.am:
7421 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7422 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7423 (gst_lfo_control_source_new),
7424 (gst_lfo_control_source_set_waveform),
7425 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7426 (gst_lfo_control_source_finalize),
7427 (gst_lfo_control_source_dispose),
7428 (gst_lfo_control_source_set_property),
7429 (gst_lfo_control_source_get_property),
7430 (gst_lfo_control_source_class_init):
7431 * libs/gst/controller/gstlfocontrolsource.h:
7432 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7433 API: Add GstLFOControlSource, a control source that gives values
7434 for specific timestamps based on several periodic waveforms.
7437 * tests/check/libs/controller.c: (GST_START_TEST),
7438 (gst_controller_suite):
7439 * docs/libs/gstreamer-libs-docs.sgml:
7440 * docs/libs/gstreamer-libs-sections.txt:
7441 * docs/libs/gstreamer-libs.types:
7442 Add documentation and unit tests for GstLFOControlSource.
7444 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7449 === release 0.10.14 ===
7451 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7454 releasing 0.10.14, "Breathing Vacuum"
7456 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7458 * gst/gstelement.c: (gst_element_class_set_details_simple):
7460 Make strings passed to gst_element_class_set_details_simple()
7461 constant, as they should be (#462752).
7463 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7465 * gst/gstbin.c: (gst_bin_change_state_func),
7466 (bin_handle_async_done), (gst_bin_handle_message_func):
7467 Don't forget about the fact that some element went ASYNC even after a
7468 resync. This makes us post the ASYNC_DONE message correctly.
7471 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7473 * gst/gstregistry.c: (gst_registry_add_feature):
7474 When replacing an existing feature in the registry, make sure to
7475 continue holding a reference until we've replaced the name string
7476 within our feature hash table. Make sure to use g_hash_table_replace
7477 instead of g_hash_table_insert to ensure the new name string is used
7478 as a key instead of the old one that we're about to free.
7481 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7483 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7484 (gst_plugin_feature_set_name):
7485 Revert patch from #459466 until after the release and we can work
7486 out exactly what the problem is (if any).
7488 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7490 * docs/gst/gstreamer-sections.txt:
7493 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7495 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7497 * docs/libs/Makefile.am:
7498 Include our build-prefix libs and includes before the generic ones to
7499 avoid linking against the installed libs when we want the build-tree
7502 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7504 Patch by: Steve Fink <sphink gmail com>
7506 * docs/pwg/building-testapp.xml:
7507 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7508 if people try to build or install the example from the plugin
7509 template against a GStreamer from package using the configure
7512 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7514 Patch by: Steve Fink <sphink gmail com>
7516 * tools/gst-inspect.1.in:
7517 Document --print-all and --print-plugin-auto-install-info command
7518 line options in man page.
7520 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7522 * docs/gst/gstreamer-sections.txt:
7523 Add docs for new api function.
7525 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7527 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7528 * gst/gstelementfactory.h:
7529 API: gst_element_factory_has_interface()
7530 Added method to check if an element factory implements a named
7533 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7536 * docs/gst/gstreamer.types.in:
7537 Another conditional doc check.
7540 * gst/gstparamspecs.h:
7541 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7546 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7548 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7549 (gst_registry_binary_load_feature),
7550 (gst_registry_binary_load_plugin),
7551 (gst_registry_binary_read_cache):
7552 Print error just once and with additional info.
7554 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7556 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7557 (helper_find_suggest), (helper_find_get_length),
7558 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7559 (gst_type_find_helper_for_buffer):
7560 Cleanup the typefindhelper code and add private doc comments.
7562 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7564 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7565 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7566 Fix capsfilter for cases where the caps set on capsfilter will provide
7567 additional information.
7570 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7572 * gst/gsttypefindfactory.c:
7573 Fix docs that recommened wrong function to use.
7575 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7577 * tools/gst-inspect.c: (print_plugin_features):
7578 Also give media-type for typefinders in element output.
7580 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7582 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7583 (gst_registry_remove_features_for_plugin_unlocked),
7584 (gst_registry_add_feature), (gst_registry_remove_feature),
7585 (gst_registry_lookup_feature_locked):
7586 * gst/gstregistry.h:
7587 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7590 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7592 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7593 (gst_plugin_feature_set_name):
7594 Avoid double memory usage for pluginfeature names. Fixes #459466.
7596 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7599 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7600 driving the pipeline may need to explicitly check for NOT_LINKED as
7601 well, since IS_FATAL doesn't cover that.
7603 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7605 * docs/pwg/advanced-types.xml:
7606 Fix typo and duplicate entry in video formats list.
7608 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7610 * libs/gst/controller/gstinterpolation.c:
7611 Also round to the nearest int when using cubic interpolation.
7613 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7615 * libs/gst/controller/gstinterpolation.c:
7616 When linearly interpolating integer types, round to the nearest int
7617 by adding 0.5. Don't do it for float/double types.
7618 Fixes the failing controller test on my machine, which is somehow
7619 rounding differently than on the buildbots.
7621 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7623 * tools/gst-plot-timeline.py:
7624 Better log parsing (categories can have -). Adjust text vs. lines, so
7625 that they span the same y-range.
7627 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7629 * docs/random/ensonic/audiobaseclasses.txt:
7630 * docs/random/ensonic/dynlink.txt:
7631 * docs/random/ensonic/profiling.txt:
7634 * docs/random/moving-plugins:
7635 Add note to use g_assert type macros.
7637 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7640 * libs/gst/check/Makefile.am:
7641 Add libm check as we use in for plugins.
7643 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7645 * gst/gstbin.c: (gst_bin_continue_func):
7646 Check that the state_cookie hasn't changed since the continue_func
7647 was scheduled. Avoids problems where the state changes back to
7648 something it shouldn't be because it was changed in the meantime.
7650 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7652 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7653 (gst_registry_binary_save_string),
7654 (gst_registry_binary_save_pad_template),
7655 (gst_registry_binary_save_feature),
7656 (gst_registry_binary_save_plugin),
7657 (gst_registry_binary_load_feature),
7658 (gst_registry_binary_load_plugin),
7659 (gst_registry_binary_read_cache):
7660 Fix memory leak. Be less verbose in the log.
7662 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7664 * tests/check/elements/.cvsignore:
7665 Add file to cvsignore as commanded.
7667 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7669 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7670 (mq_dummypad_event), (run_output_order_test):
7671 Use a GStaticMutex to protect all cases where libcheck
7672 fail_if/fail_unless macros might be called from multiple threads
7673 simultaneously to avoid errors like:
7674 "check_pack.c:107: :-1081725400:Bad message type arg"
7676 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7678 * tests/check/pipelines/stress.c: (GST_START_TEST):
7679 Make sure we set the pipeline back to the NULL state before
7680 dropping our final reference.
7682 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7684 * tests/check/elements/tee.c: (GST_START_TEST):
7685 Make the tee stress-test a little less stressful so it doesn't just
7686 time out on slow-machines, and remove a small race when it's starting
7687 up by adding a get_state() call.
7689 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7692 Avoid reading registry twice on startup. Fixes #457322.
7694 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7696 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7697 * pkgconfig/gstreamer-check.pc.in:
7698 Substitute the CFLAGS for libcheck into our .pc file too so that
7699 dependent modules will pick it up properly if libcheck is installed
7700 into some other prefix.
7702 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7705 Revert the pkg-config check for libcheck, since it pulls in the
7706 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7707 a proper solution, either from the check project, or something else.
7709 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7712 Use pkg-config to locate check.
7714 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7721 Add deprecation guards.
7723 * libs/gst/base/gstcollectpads.h:
7724 Don't document object (this is implicitly private).
7726 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7728 * gst/gststructure.c: (gst_structure_parse_value):
7729 When deserialising foo=bar without a type cast, check if it's a
7730 boolean before falling back to a string type, otherwise things like
7731 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7732 because the filtercaps end up having a signed=(string)true field,
7733 which causes problems later when intersection caps.
7735 * tests/check/gst/gststructure.c: (GST_START_TEST):
7736 Add a unit test for this.
7738 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7740 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7742 * libs/gst/controller/Makefile.am:
7743 * libs/gst/controller/gstcontroller.c:
7744 (gst_controlled_property_add_interpolation_control_source),
7745 (gst_controlled_property_new), (gst_controlled_property_free),
7746 (gst_controller_find_controlled_property),
7747 (gst_controller_new_valist), (gst_controller_new_list),
7748 (gst_controller_new), (gst_controller_remove_properties_valist),
7749 (gst_controller_remove_properties_list),
7750 (gst_controller_remove_properties),
7751 (gst_controller_set_property_disabled),
7752 (gst_controller_set_disabled), (gst_controller_set_control_source),
7753 (gst_controller_get_control_source), (gst_controller_get),
7754 (gst_controller_sync_values), (gst_controller_get_value_array),
7755 (_gst_controller_dispose), (gst_controller_get_type),
7756 (gst_controlled_property_set_interpolation_mode),
7757 (gst_controller_set), (gst_controller_set_from_list),
7758 (gst_controller_unset), (gst_controller_unset_all),
7759 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7760 * libs/gst/controller/gstcontroller.h:
7761 * libs/gst/controller/gstcontrollerprivate.h:
7762 * libs/gst/controller/gstcontrolsource.c:
7763 (gst_control_source_class_init), (gst_control_source_init),
7764 (gst_control_source_get_value),
7765 (gst_control_source_get_value_array), (gst_control_source_bind):
7766 * libs/gst/controller/gstcontrolsource.h:
7767 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7768 (gst_object_get_control_source):
7769 * libs/gst/controller/gstinterpolation.c:
7770 (gst_interpolation_control_source_find_control_point_node),
7771 (gst_interpolation_control_source_get_first_value),
7772 (_interpolate_none_get), (interpolate_none_get),
7773 (interpolate_none_get_boolean_value_array),
7774 (interpolate_none_get_enum_value_array),
7775 (interpolate_none_get_string_value_array),
7776 (_interpolate_trigger_get), (interpolate_trigger_get),
7777 (interpolate_trigger_get_boolean_value_array),
7778 (interpolate_trigger_get_enum_value_array),
7779 (interpolate_trigger_get_string_value_array):
7780 * libs/gst/controller/gstinterpolationcontrolsource.c:
7781 (gst_control_point_free), (gst_interpolation_control_source_reset),
7782 (gst_interpolation_control_source_new),
7783 (gst_interpolation_control_source_set_interpolation_mode),
7784 (gst_interpolation_control_source_bind),
7785 (gst_control_point_compare), (gst_control_point_find),
7786 (gst_interpolation_control_source_set_internal),
7787 (gst_interpolation_control_source_set),
7788 (gst_interpolation_control_source_set_from_list),
7789 (gst_interpolation_control_source_unset),
7790 (gst_interpolation_control_source_unset_all),
7791 (gst_interpolation_control_source_get_all),
7792 (gst_interpolation_control_source_get_count),
7793 (gst_interpolation_control_source_init),
7794 (gst_interpolation_control_source_finalize),
7795 (gst_interpolation_control_source_dispose),
7796 (gst_interpolation_control_source_class_init):
7797 * libs/gst/controller/gstinterpolationcontrolsource.h:
7798 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7799 API: Refactor GstController into the core controller which can take
7800 a GstControlSource for providing actual values for timestamps.
7801 Implement a interpolation control source and use this for backward
7802 compatibility, deprecate a bunch of functions that are now handled
7803 by GstControlSource or GstInterpolationControlSource.
7804 Make it possible to disable the controller completely or only for
7805 specific properties. Fixes #450711.
7806 * docs/libs/gstreamer-libs-docs.sgml:
7807 * docs/libs/gstreamer-libs-sections.txt:
7808 * docs/libs/gstreamer-libs.types:
7809 Add new functions and classes to the docs.
7810 * tests/check/libs/controller.c: (GST_START_TEST),
7811 (gst_controller_suite):
7812 * tests/examples/controller/audio-example.c: (main):
7813 Port unit test and example to the new API and add some new
7816 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7818 Patch by: Mark Nauwelaerts <manauw at skynet be>
7820 * plugins/elements/gstmultiqueue.c:
7821 (gst_multi_queue_get_internal_links), (apply_buffer),
7822 (single_queue_overrun_cb), (gst_single_queue_new):
7823 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7824 the pipeline layout can be tracked correctly. Fixes #453732.
7826 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7828 * docs/gst/Makefile.am:
7829 * docs/libs/Makefile.am:
7830 * docs/plugins/Makefile.am:
7831 Simplify --extra-dir as gtkdoc scans recursively.
7833 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7835 * tools/gst-launch.c: (main):
7836 When we got an error, there is no point in waiting for preroll when
7839 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7841 * plugins/elements/gsttee.c: (gst_tee_base_init),
7842 (gst_tee_request_new_pad), (gst_tee_release_pad),
7843 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7844 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7846 Be a lot smarter when deciding what srcpad to use for proxying
7847 the buffer_alloc. Also handle pad added/removed when doing so.
7849 Keep track of what pads we already pushed on in case we have pads
7850 added/removed while pushing. Fixes #374639
7852 * tests/check/Makefile.am:
7853 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7855 Added unit test for pad resync.
7857 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7861 Updated translations.
7863 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7865 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7869 Added new Finnish translation.
7871 2007-06-28 Wim Taymans <wim@fluendo.com>
7873 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7874 (single_queue_overrun_cb):
7875 When figuring out when a queue is filled, use our internal time estimate
7876 based on segments, just like check_full does.
7878 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7880 * gst/gstminiobject.c: (gst_mini_object_get_type):
7881 Remove 3 do-nothing methods.
7883 2007-06-27 Wim Taymans <wim@fluendo.com>
7885 Patch by: Tim Angus <tim at ngus dot net>
7887 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7888 (gst_capsfilter_set_property):
7889 Take a reference instead of a copy when setting "caps".
7890 Fix documentation to clarify this behaviour. Fixes #449414.
7892 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7894 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7895 * gst/gstplugin.c: (gst_plugin_init):
7896 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7897 * gst/gstquery.c: (gst_query_get_type):
7898 * gst/gstregistry.c: (gst_registry_init):
7899 * gst/gsturi.c: (gst_uri_handler_base_init):
7900 Remove empty instance_init() functions to save relocs and lessen the
7901 noise. Remove some of the function prototypes that are doubled by
7904 2007-06-27 Wim Taymans <wim@fluendo.com>
7906 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7908 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7909 Add peer and direction in the XML serialisation of ghostpads.
7912 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7915 Preserve useful information, thanks Tim.
7917 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7919 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7920 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7921 (gst_single_queue_push_one), (gst_multi_queue_loop),
7922 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7923 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7924 (compute_high_id), (gst_single_queue_new):
7925 * plugins/elements/gstmultiqueue.h:
7926 Take the multiqueue lock when updating the fill level so we don't get
7929 After applying a buffer or event on the src pad segment, make sure to
7930 call gst_data_queue_limits_changed() to get the data queue to unblock
7931 and check the filled state again.
7933 Rework the not-linked pad handling so the logic is that not-linked
7934 pads can push as fast as they like, but only so they never get
7935 ahead of any linked pads.
7937 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7938 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7939 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7941 Add a test to check that not-linked pads always stay behind
7946 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7948 * docs/random/release:
7949 Some updates to the release procedure.
7951 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7953 * gst/gstelementfactory.c: (__gst_element_details_clear):
7954 Microoptimization that saves stunning 80 bytes.
7956 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7958 * docs/plugins/gstreamer-plugins.args:
7959 * docs/plugins/inspect/plugin-coreelements.xml:
7960 * docs/plugins/inspect/plugin-coreindexers.xml:
7961 Update docs with caps info.
7963 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7966 Updated Italian translation.
7968 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7972 Update Vietnamese translations.
7974 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7976 * libs/gst/base/gstbasesink.c:
7977 Remove unused signal enum.
7979 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7981 * docs/gst/gstreamer-sections.txt:
7983 * gst/gstutils.c: (gst_type_register_static_full):
7984 Beef up and include the docs for gst_type_register_static_full and
7985 gst_element_class_set_details_simple and add the API keyword
7988 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7990 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7991 (update_time_level), (gst_single_queue_push_one),
7992 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7993 (single_queue_overrun_cb), (single_queue_underrun_cb),
7994 (single_queue_check_full):
7995 Fix setting max-* properties after adding queues.
7996 Use IS_FILLED for checking visible items.
7997 Signal overrun if multiple queues overrun.
7998 Add extra debug output.
7999 Patch by: Wim Taymans <wim@fluendo.com>
8001 2007-06-21 Stefan Kost <ensonic@users.sf.net>
8003 * gst/gstelement.c: (gst_element_class_set_details_simple):
8005 * gst/gstutils.c: (gst_type_register_static_full):
8007 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8008 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8009 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8010 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8011 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8012 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8013 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8014 * plugins/elements/gstidentity.c: (gst_identity_base_init):
8015 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8016 * plugins/elements/gstqueue.c: (gst_queue_base_init),
8017 (apply_buffer), (gst_queue_chain):
8018 * plugins/elements/gsttee.c: (gst_tee_base_init):
8019 * plugins/elements/gsttypefindelement.c:
8020 (gst_type_find_element_base_init),
8021 (gst_type_find_element_class_init):
8022 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8023 API: add gst_type_register_static_full
8024 API: add gst_element_class_set_details_simple
8026 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
8028 * docs/pwg/advanced-types.xml:
8029 Fix typo in iana.org URI.
8031 2007-06-19 Andy Wingo <wingo@pobox.com>
8033 * tests/check/pipelines/simple-launch-lines.c
8034 (test_state_change_returns): Enable pull-mode tests now that
8035 basesink has been fixed.
8037 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8038 Changed from gst_base_sink_is_prerolled, reversing the sense of
8039 the return value. Returns FALSE also if the sink is in pull mode,
8040 in which case it needs no preroll.
8041 (gst_base_sink_query, gst_base_sink_change_state): Update for
8042 needs_preroll change.
8043 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8044 chaining up, in which we return SUCCESS directly if we activated
8045 in pull mode instead of ASYNC. Involves countering an async_start
8046 message sent before chaining up; not sure if this is correct, in
8047 an ideal world we only send async-start when activating in push
8050 * tests/check/pipelines/simple-launch-lines.c
8051 (test_state_change_returns): New test, partially disabled until
8054 2007-06-19 Wim Taymans <wim@fluendo.com>
8056 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8057 (gst_multi_queue_sink_event):
8060 2007-06-19 Wim Taymans <wim@fluendo.com>
8062 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8063 (gst_bin_change_state_func), (bin_push_state_continue),
8064 (bin_handle_async_start), (bin_handle_async_done),
8065 (gst_bin_handle_message_func):
8066 Move the common code for posting state-change messages into
8068 Broadcast the state signal after we posted the messages.
8069 Mark the bin as busy when it's doing a state-change.
8070 Make sure async-start/done messages don't interfere with the bin's
8071 state when it's busy.
8072 After the state change, let the bin check which elements completed the
8073 state change while it was busy so that it can update its state.
8075 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
8077 * docs/random/release:
8078 Add a note about updating the doap file to the release checklist
8080 2007-06-18 Wim Taymans <wim@fluendo.com>
8082 * plugins/elements/gstmultiqueue.c: (apply_buffer),
8083 (gst_single_queue_push_one), (gst_multi_queue_chain),
8084 (gst_multi_queue_sink_event):
8085 Make sure we don't reference the buffer/event after we have given away
8086 ownership in the queue.
8088 2007-06-18 Wim Taymans <wim@fluendo.com>
8090 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8091 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8092 Update queue state _after_ adding the item in the queue because else we
8093 could end up being full without the element added yet.
8095 2007-06-18 Wim Taymans <wim@fluendo.com>
8097 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8098 (gst_bin_remove_func), (gst_bin_get_state_func),
8099 (gst_bin_element_set_state), (gst_bin_continue_func),
8100 (bin_push_state_continue), (bin_handle_async_start),
8101 (bin_handle_async_done), (gst_bin_handle_message_func):
8103 Immediatly commit the toplevel bin state when receiving an async-done
8104 message. This enables us to avoid spawning a thread to commit the state
8105 in some common cases and it also avoids some races.
8106 Avoid spawning a state thread when adding/removing async elements to a
8107 toplevel bin. Instead we immediatly update the bin state.
8108 Get rid of iterating all the children when getting the state in the bin
8109 because it is now always up-to-date.
8110 Fix bug where locked elements would always return _SUCCESS even it they
8111 returned NO_PREROLL before being locked.
8112 Fix the order of the state_change, async-start/done messages that was
8113 sometimes incorrect.
8114 Mark the state_dirty field as deprecated, we don't need it anymore as we
8115 are always up-to-date.
8117 * gst/gstelement.c: (gst_element_get_state_func),
8118 (gst_element_continue_state):
8119 Small debug inprovements.
8120 Return the previous element state return when nothing is pending instead
8121 of blindly returning SUCCESS.
8123 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8125 Add a whole bunch of new testcases.
8127 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8131 Update translations.
8133 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8136 Fix typo in the docs.
8138 2007-06-15 Wim Taymans <wim@fluendo.com>
8140 * docs/libs/gstreamer-libs-sections.txt:
8141 Add docs for new methods.
8143 2007-06-15 Wim Taymans <wim@fluendo.com>
8145 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8146 (gst_multi_queue_item_new):
8147 Don't use GSlice because we don't depend on >= 2.10 yet.
8149 2007-06-15 Wim Taymans <wim@fluendo.com>
8151 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8152 (update_time_level), (apply_segment), (apply_buffer),
8153 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8154 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8155 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8156 (single_queue_underrun_cb), (single_queue_check_full):
8157 Remove debug printf.
8159 2007-06-15 Wim Taymans <wim@fluendo.com>
8161 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8162 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8163 (gst_data_queue_set_flushing), (gst_data_queue_push),
8164 (gst_data_queue_pop), (gst_data_queue_drop_head),
8165 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8166 * libs/gst/base/gstdataqueue.h:
8168 Added methods to get the current levels and to inform the queue that the
8169 'full' limits changed.
8171 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8172 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8173 (gst_single_queue_flush), (update_time_level), (apply_segment),
8174 (apply_buffer), (gst_single_queue_push_one),
8175 (gst_multi_queue_item_steal_object),
8176 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8177 (gst_multi_queue_loop), (gst_multi_queue_chain),
8178 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8179 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8180 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8181 (single_queue_underrun_cb), (single_queue_check_full),
8182 (gst_single_queue_new):
8183 Keep track of time in the queue by measuring the difference between
8184 running_time on input and output. This gives more accurate results and
8185 can compensate for segments correctly.
8186 Make a queue by default only 5 buffers deep. We will now increase the
8187 buffer size depending on the filledness of the other queues.
8188 Factor out commong flush code.
8189 Make sure we don't add additional refcounts to buffers when we can avoid
8191 Propagate GstFlowReturn differently.
8192 Use GSlice for intermediate GstMultiQueueItems.
8194 Resize queues on over and underruns based on filled level of other
8196 When checking if the queue is filled, prefer to measure in time if we
8197 can and fall back to bytes when no time is known.
8199 * plugins/elements/gstqueue.c:
8202 2007-06-15 Wim Taymans <wim@fluendo.com>
8204 * libs/gst/base/gstbasetransform.c:
8205 (gst_base_transform_sink_event):
8206 Work around the brokenness of the event vmethod in basetransform. Prefer
8207 to return TRUE when the subclass returned FALSE (meaning don't forward
8210 * libs/gst/base/gstbasetransform.h:
8213 2007-06-15 Wim Taymans <wim@fluendo.com>
8215 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8216 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8217 (gst_base_src_default_query), (gst_base_src_get_range),
8218 (gst_base_src_start):
8219 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8222 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8224 * docs/pwg/advanced-types.xml:
8225 Added more formats to caps table.
8227 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8229 * tools/gst-launch.c: (main):
8230 Remove crufy code. GOption does not need this workaround.
8232 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8234 * libs/gst/controller/gstcontroller.c:
8235 (gst_controlled_property_set_interpolation_mode):
8236 Fix wrong getter for enums in controller.
8238 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8240 * libs/gst/check/gstcheck.c: (gst_check_init):
8241 Intercept criticals and warnings in the Gst-Phonon log domain, so
8242 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8245 2007-06-14 Edward Hervey <edward@fluendo.com>
8247 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8248 Since this file doesn't include "gst.h" it will not go through the
8249 macros that disable GST_LOG if debugging was disabled.
8251 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8253 * libs/gst/check/Makefile.am:
8254 * libs/gst/check/gstcheck.h:
8255 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8256 * pkgconfig/gstreamer-check.pc.in:
8257 Ugly 'fix' for the controller unit test on the p5 bot: in
8258 fail_unless_equals_float() check whether the values are 'almost
8259 equal' by allowing a small absolute error, which should be good
8260 enough for our use cases (normal numbers and values close to 0).
8261 Proper fixage left to floating point arithmetic aficionados.
8263 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8265 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8266 (gst_base_sink_render_object), (gst_base_sink_get_position):
8267 Add two breaks thats where missing.
8269 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8271 * docs/libs/gstreamer-libs-sections.txt:
8272 * libs/gst/check/gstcheck.h:
8273 API: add fail_unless_equals_float() and assert_equals_float().
8274 Add documentation for some of the macros.
8276 * tests/check/libs/controller.c: (GST_START_TEST):
8277 Use newly-added asserts.
8279 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8281 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8282 Show the caps change in the log to help spotting the case of not
8283 exactly matching caps.
8285 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8287 * docs/pwg/building-boiler.xml:
8288 Fix typos, spotted by Thijs Vermeir (#447190).
8290 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8292 * docs/plugins/tmpl/.cvsignore:
8293 Ignore file to keep the buildbots happy
8295 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8297 * docs/plugins/Makefile.am:
8298 * docs/plugins/gstreamer-plugins-docs.sgml:
8299 * docs/plugins/gstreamer-plugins-sections.txt:
8300 Pull fdsink into the docs too.
8302 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8304 * libs/gst/controller/gstinterpolation.c:
8305 Actually use the new functions with min/max checks for the trigger and
8306 none interpolation modes for get() and get_value_array() instead of
8309 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8311 * libs/gst/controller/gstcontroller.c:
8312 (gst_controlled_property_free):
8313 Unset the minimum and maximum GValues when freeing the corresponding
8314 GstControllerProperty struct.
8316 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8318 * libs/gst/controller/gstcontroller.c:
8319 (gst_controlled_property_new):
8320 * libs/gst/controller/gstcontrollerprivate.h:
8321 * libs/gst/controller/gstinterpolation.c:
8322 (gst_controlled_property_find_control_point_node),
8323 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8324 (interpolate_none_get_string_value_array),
8325 (interpolate_trigger_get),
8326 (interpolate_trigger_get_enum_value_array),
8327 (interpolate_trigger_get_string_value_array):
8328 Protect against values larger or smaller than the minimum or maximum
8329 allowed value for the property when using values that can be compared.
8331 Optimize trigger interpolator a bit by taking the last requested value
8332 into account instead of always looping through the complete list.
8334 Fix coding style a bit, everywhere else we use "return foo" instead
8337 * tests/check/libs/controller.c: (GST_START_TEST),
8338 (gst_controller_suite):
8339 Add unit test for the protection against too large or too small
8342 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8344 * docs/random/slomo/controller.txt:
8345 Add some thoughts about the future of the controller.
8347 2007-06-08 Wim Taymans <wim@fluendo.com>
8349 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8350 Don't overflow in retimestamping code.
8352 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8354 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8355 Use gst_util_guint64_to_gdouble for conversions.
8356 * win32/common/libgstreamer.def:
8357 Add new exported functions.
8359 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8362 Small docs addition.
8364 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8367 Remove that test line again.
8369 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8372 Test commit mail sending.
8374 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8377 Fix typo and test commit mail sending.
8379 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8381 * tests/examples/controller/audio-example.c:
8382 Improve comment and test commit mail sending.
8384 2007-06-07 Wim Taymans <wim@fluendo.com>
8386 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8387 (gst_bin_remove_func), (gst_bin_element_set_state),
8388 (bin_handle_async_start), (bin_handle_async_done),
8389 (gst_bin_handle_message_func):
8390 Add helper function to find messages.
8391 Generate the async-done messages together with the state change
8393 Small cleanups in handling toplevel bins.
8395 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8397 * libs/gst/base/gstdataqueue.c:
8398 * libs/gst/base/gstdataqueue.h:
8399 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8400 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8401 (gst_multi_queue_sink_event):
8402 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8403 Fix multiqueue leaking buffers and events when downstream or the
8404 queue are flushing. Make refcounting assumptions explicit and
8405 document them (shouldn't break existing code that uses it other than
8406 maybe leak miniobjects, but that already happens anyway). Add unit
8407 test for the most common flushing case. Fixes #423700.
8409 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8411 * libs/gst/controller/gstcontroller.c:
8412 Clarify docs: The get_all, get_value_array(s) functions
8413 don't modify the GObject properties.
8415 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8417 * libs/gst/controller/gstcontroller.c:
8418 (gst_controlled_property_set_interpolation_mode),
8419 (gst_controlled_property_prepend_default),
8420 (gst_controlled_property_new), (gst_controller_set_unlocked),
8421 (gst_controller_set), (gst_controller_set_from_list),
8422 (gst_controller_unset), (gst_controller_unset_all):
8423 * libs/gst/controller/gstcontrollerprivate.h:
8424 * libs/gst/controller/gstinterpolation.c:
8425 Factor out the 'set' logic into gst_controller_set_unlocked for the
8426 gst_controller_set and gst_controller_set_from_list functions.
8428 To make life of the interpolators easier always add a control point
8429 at timestamp zero with the default value.
8431 In the linear interpolator make things more obvious by better variable
8434 Implement cubic interpolation mode (by using a natural cubic spline)
8435 and map the quadratic interpolation mode to this too (as quadratic
8436 doesn't make much sense, see discussion on the list).
8438 * tests/check/libs/controller.c: (GST_START_TEST),
8439 (gst_controller_suite):
8440 Add unit test for the cubic interpolation mode and check everywhere
8441 if the interpolation mode could be set as expected.
8443 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8445 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8446 Don't use GLib-2.10 functions, we still depend on
8447 GLib-how-old-is-it-again-2.8.
8449 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8451 * docs/gst/gstreamer-sections.txt:
8455 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8456 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8457 (_gst_param_fraction_values_cmp),
8458 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8459 * gst/gstparamspecs.h:
8461 * tests/check/Makefile.am:
8462 * tests/check/gst/.cvsignore:
8463 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8464 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8465 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8466 (GST_START_TEST), (gst_param_spec_suite):
8467 API: add GstParamSpecFraction, so elements can have fraction
8468 properties without lots of painful string parsing (#444648).
8470 2007-06-05 Wim Taymans <wim@fluendo.com>
8472 * gst/gstobject.c: (gst_object_class_init):
8473 Fix signal signature.
8476 Add small clarification in the api docs.
8478 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8479 States are protected with object lock.
8481 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8484 I should probably be listed as an author by now.
8486 * docs/random/release:
8487 Update the release doc
8489 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8492 Make docs for gst_value_compare() mention return enums that
8495 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8500 === release 0.10.13 ===
8502 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8505 releasing 0.10.13, "With or without you"
8507 2007-05-25 Wim Taymans <wim@fluendo.com>
8509 * gst/gstbin.c: (bin_handle_async_done):
8510 Make sure that the child bin stops after completing the async state
8511 change so that the parent can continue the state change to PLAYING.
8514 2007-05-25 Wim Taymans <wim@fluendo.com>
8516 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8517 (unref_data), (gst_collect_pads_remove_pad),
8518 (gst_collect_pads_check_pads):
8519 Use additional refcounting to avoid crashes when dynamically adding and
8520 removing pads. Fixes #420206.
8522 2007-05-24 Wim Taymans <wim@fluendo.com>
8524 * tools/gst-launch.c: (event_loop):
8525 When buffering goes from a two digit to a single digit number, make sure
8526 to remove the old second digit by writing a blank over it.
8528 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8530 * libs/gst/base/gstdataqueue.c:
8531 Eliminate tabs and trailing comma in enum list; fix some typos.
8533 2007-05-24 Wim Taymans <wim@fluendo.com>
8535 * tests/check/gst/gstbin.c: (GST_START_TEST):
8536 Allow refcount of 3 and 4 because some state thread might still be busy
8539 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8541 * plugins/elements/Makefile.am:
8542 * plugins/elements/gstmultiqueue.h:
8543 * plugins/elements/gstqueue.h:
8544 These are not installed headers, no need for padding.
8546 2007-05-24 Wim Taymans <wim@fluendo.com>
8548 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8549 (gst_bin_continue_func):
8550 Enable latency for next release.
8551 Restore STATE_LOCK around recalc_state that was left out during the
8552 rewrite and could result in racy behaviour when _get_state and
8553 recalc_state are run concurrently. See #440463.
8555 2007-05-23 Wim Taymans <wim@fluendo.com>
8557 * tests/check/gst/gstsystemclock.c: (store_callback),
8559 Improve test_async_order to also work when both timers are already
8560 expired when we get scheduled to check it.
8562 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8564 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8565 (gst_bin_set_property), (gst_bin_get_property),
8566 (gst_bin_remove_func), (gst_bin_handle_message_func):
8568 'private' is a c++ keyword, let's not use that in header files,
8569 otherwise c++ compilers will throw a tantrum.
8571 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8573 * plugins/elements/gstelements.c:
8574 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8575 (gst_file_sink_get_current_offset):
8576 * plugins/indexers/gstindexers.c: (plugin_init):
8577 Use #ifdef for HAVE_XYZ for consistency.
8579 * tests/check/Makefile.am:
8580 * tests/check/elements/.cvsignore:
8581 * tests/check/elements/filesink.c: (setup_filesink),
8582 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8583 Add some unit tests for filesink.
8585 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8587 Patch by: Mark Nauwelaerts <manauw at skynet be>
8589 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8590 (gst_file_sink_query), (gst_file_sink_do_seek),
8591 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8592 * plugins/elements/gstfilesink.h:
8593 Fix position reporting; rename data_written member to current_pos to
8594 reflect its real meaning (fixes #412648).
8596 2007-05-22 Edward Hervey <edward@fluendo.com>
8598 * docs/gst/gstreamer-sections.txt:
8599 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8600 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8601 (gst_bin_remove_func), (gst_bin_handle_message_func):
8603 Add a property for bins that handle the state change of their childs.
8606 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8608 * libs/gst/controller/gstinterpolation.c:
8609 Use an array of the correct type when using _get_value_array with
8610 linear interpolation.
8612 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8614 * gst/gstelement.c (gst_element_requires_clock,
8615 gst_element_provides_clock, gst_element_request_pad,
8616 gst_element_class_set_details, gst_element_class_set_details_simple,
8617 gst_element_default_send_event, gst_element_abort_state,
8618 gst_element_continue_state, gst_element_set_state,
8619 gst_element_set_state_func, iterator_activate_fold_with_resync):
8620 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8621 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8622 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8623 gst_pad_get_range, gst_pad_pull_range):
8624 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8625 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8626 GstPadActivateModeFunction, GstPadChainFunction,
8627 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8628 GstPadFixateCapsFunction, GstPadTemplate):
8629 * gst/gstpipeline.c (gst_pipeline_change_state,
8630 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8631 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8632 gst_pipeline_get_delay):
8633 Whitespace and docs fixes.
8635 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8637 * libs/gst/controller/gstinterpolation.c:
8638 (interpolate_trigger_get_enum_value_array),
8639 (interpolate_trigger_get_string_value_array):
8640 Add support for retrieving value arrays when using the trigger
8643 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8645 * libs/gst/controller/gstcontroller.c:
8646 (gst_controller_get_value_array):
8647 * libs/gst/controller/gstcontroller.h:
8648 Clarify the docs of gst_controller_get_value_array(): The array where
8649 the values should be written to must be allocated as there seems to be
8650 no way to get the size of a random GType. This doesn't change any
8651 behaviour. Also fix some typos all over the place and remove an unused,
8652 commented function that is not necessary as g_object_set() could be
8654 * tests/check/libs/controller.c: (GST_START_TEST),
8655 (gst_controller_suite):
8656 Add unit test for gst_controller_get_value_array().
8658 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8660 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8662 Disable part of the gst_buffer_try_new_and_alloc test, because
8663 it can happily succeed on 64-bit systems where there's more address
8666 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8668 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8669 Add unit test for the improved caps checking from bug #421543.
8671 2007-05-21 Wim Taymans <wim@fluendo.com>
8673 * docs/design/part-synchronisation.txt:
8676 * gst/gstbin.c: (gst_bin_query):
8677 * plugins/elements/gstqueue.c: (apply_segment):
8683 2007-05-21 Wim Taymans <wim@fluendo.com>
8685 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8686 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8687 (gst_pad_configure_src):
8688 Added simple version of improved caps checking. It was previously
8689 assumed that a setcaps function would check the validity of the caps but
8690 people prefer us to check caps against the template automatically.
8693 2007-05-21 Wim Taymans <wim@fluendo.com>
8695 * libs/gst/base/gstbasetransform.h:
8696 Fix macro for locking/unlocking the transform lock.
8698 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8700 * docs/plugins/tmpl/.cvsignore:
8703 2007-05-18 Edward Hervey <edward@fluendo.com>
8705 * plugins/elements/gstqueue.c: (gst_queue_loop):
8706 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8707 for the subtle art of warning a potentially blocking thread that it
8708 should check the source pad return value, and relay the information
8711 2007-05-18 Edward Hervey <edward@fluendo.com>
8713 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8714 Release the queue lock !
8716 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8718 * docs/libs/gstreamer-libs-sections.txt:
8719 Add the two new controller functions to the appropiate places.
8721 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8723 reviewed by: Stefan Kost <ensonic@users.sf.net>
8725 * libs/gst/controller/gstcontroller.c:
8726 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8727 (_gst_controller_get_property), (_gst_controller_set_property),
8728 (_gst_controller_init), (_gst_controller_class_init):
8729 * libs/gst/controller/gstcontroller.h:
8730 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8731 (gst_object_get_control_rate), (gst_object_set_control_rate):
8732 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8733 Add API that provides sync suggestion timestamps for elements that
8734 call gst_object_sync_values() from which those elements can subdivide
8735 their processing loop to get the best results for the controlled
8736 properties. For now it just suggests last_sync + control_rate as
8737 new timestamp but this will be improved in the future.
8739 While doing that change the control-rate property to a GstClockTime
8740 from guint and change it's meaning from samples to nanoseconds as
8741 the GstController doesn't know anything about sampling rate. Strictly
8742 speaking this breaks ABI but as the control-rate property didn't do
8743 anything in the past and as such couldn't be used this should be no
8746 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8748 reviewed by: Stefan Kost <ensonic@users.sf.net>
8750 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8751 (gst_controller_unset_all):
8752 * libs/gst/controller/gstcontrollerprivate.h:
8753 * libs/gst/controller/gstinterpolation.c:
8754 (gst_controlled_property_find_control_point_node):
8755 Save last synced value from the list to continue searching from there
8756 in future syncs. This speeds everything up a bit.
8758 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8760 reviewed by: Stefan Kost <ensonic@users.sf.net>
8762 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8763 (gst_control_point_find), (gst_controlled_property_new),
8764 (gst_control_point_free), (gst_controlled_property_free),
8765 (gst_controller_set), (gst_controller_set_from_list),
8766 (gst_controller_unset), (gst_controller_unset_all),
8767 (gst_controller_sync_values):
8768 * libs/gst/controller/gstcontroller.h:
8769 * libs/gst/controller/gstcontrollerprivate.h:
8770 * libs/gst/controller/gstinterpolation.c:
8771 (gst_controlled_property_find_control_point_node),
8772 (interpolate_none_get), (interpolate_trigger_get):
8773 Add a new private GstControlPoint struct which "inherits" from
8774 GstTimedValue to allow different interpolators to store internal
8775 values next to each control point. From the outside everything is
8776 still a GstControlPoint so we don't loose binary compatibility.
8777 Also fixup all the GValue handling to not leak GValues or list nodes.
8778 * tests/check/libs/controller.c: (GST_START_TEST):
8779 Free the list nodes and GValues in the controller_misc test.
8781 2007-05-17 Edward Hervey <edward@fluendo.com>
8786 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8788 * gst/gstplugin.c: (gst_plugin_load_file):
8789 If we fail to load a plugin because of unresolved symbols or missing
8790 libraries and spew a warning to stderr, we may just as well mention
8791 which plugin it was that failed to load.
8793 2007-05-13 David Schleef <ds@schleef.org>
8795 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8796 handles the case when ENABLE_GTK_DOC is false, and installs
8797 the prebuilt documentation. So gtk-doc subdirs are
8798 unconditionally enabled. Fixes: #349099.
8800 2007-05-13 David Schleef <ds@schleef.org>
8802 * gst/gstutils.h: Reword some documentation.
8804 2007-05-12 David Schleef <ds@schleef.org>
8806 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8807 do anything with the passed "module" parameter, so remove it.
8808 Allows removal of additional vestigal code.
8810 2007-05-12 David Schleef <ds@schleef.org>
8813 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8814 Switch to using g_stat() because it's more portable.
8816 2007-05-12 David Schleef <ds@schleef.org>
8819 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8820 parsing for embedded systems.
8821 * gst/gstelementfactory.c:
8822 Allow gst_element_register() to be called with plugin==NULL.
8823 Did nobody notice that static elements were broken?
8825 2007-05-12 Wim Taymans <wim@fluendo.com>
8827 * tools/gst-launch.c: (event_loop):
8828 Give more interesting info when buffering starts and stops.
8829 Fix case where buffering starts but we fail to update the buffering flag
8830 because the target state is not PLAYING.
8832 2007-05-12 Wim Taymans <wim@fluendo.com>
8834 * plugins/elements/gstqueue.c: (gst_queue_init),
8835 (gst_queue_finalize), (update_time_level), (apply_segment),
8836 (apply_buffer), (gst_queue_locked_flush),
8837 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8838 (gst_queue_handle_sink_event), (gst_queue_chain),
8839 (gst_queue_push_one), (gst_queue_loop):
8840 * plugins/elements/gstqueue.h:
8841 Refactor an cleanup queue a bit.
8842 Do better time level calculations that also work when the srcpad is not
8844 Remove some unneeded debug lines.
8846 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8847 Added testcase for time level measurement.
8848 Try to make some stuff more racefree.
8850 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8852 * gst/gsturi.c: (gst_element_make_from_uri):
8853 Don't leak plugin feature.
8855 * tests/check/Makefile.am:
8856 * tests/check/gst/.cvsignore:
8857 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8858 Add brain-dead unit test.
8860 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8862 Patch by: Jeroen Wouters <woutersj at gmail com>
8864 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8865 Treat protocol strings in a case-insensitive way (#437563).
8867 2007-05-11 Michael Smith <msmith@fluendo.com>
8869 * gst/gstplugin.c: (gst_plugin_load_file):
8870 * gst/gstregistry.c: (gst_registry_scan_path_level):
8871 Don't print a g_warning for any failure to load a shared object.
8872 Instead, push this down into gstplugin.c, and warn _only_ if we
8873 failed to open the module (i.e. failure to link).
8874 Avoids warnings on normal, working, non-plugin .so files.
8876 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8878 * gst/gstplugin.c (gst_plugin_load_file):
8879 * gst/gstregistry.c (GST_CAT_DEFAULT,
8880 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8881 Print a g_warning if there was an error when loading a plugins during
8882 registry scan. The shuld help beginners starting with gst-plugin
8885 2007-05-10 Wim Taymans <wim@fluendo.com>
8887 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8888 (update_time_level), (gst_queue_locked_flush),
8889 (gst_queue_handle_sink_event), (gst_queue_chain),
8890 (gst_queue_push_one), (gst_queue_loop):
8891 * plugins/elements/gstqueue.h:
8892 Be smarter when calculating the current amount of data in the queue by
8893 measuring the difference between start and end timestamps (in running
8894 time) inside the queue. Fixes #432876.
8895 API: GstQueue::pushing to notify elements that we are pushing data again
8896 since the running signal is rather broken for this purpose.
8898 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8900 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8901 gst_queue_base_init, gst_queue_init):
8904 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8906 * win32/common/libgstreamer.def:
8907 Add new exported functions.
8908 * win32/vs6/grammar.dsp:
8909 Use grammar pre-generated files.
8911 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8913 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8916 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8918 * gst/gstutils.c: (gst_parse_bin_from_description):
8920 Maintain API and ABI when --disable-parse is used. Now that
8921 we have an appropriate error code, we can just return NULL and the
8922 appropriate error when gst_parse_launch() is used despite it having
8923 been disabled (#342564).
8925 * tests/check/Makefile.am:
8926 * tests/check/pipelines/.cvsignore:
8927 * tests/check/pipelines/parse-disabled.c:
8928 Make sure these functions exist and return NULL plus a GError when
8929 --disable-parse is used.
8931 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8933 * tests/benchmarks/complexity.c: (main):
8934 * tests/benchmarks/mass-elements.c: (main):
8935 Set a good example and don't leak messages.
8937 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8939 * docs/gst/Makefile.am:
8940 * docs/libs/Makefile.am:
8941 Correct fixxrefs options.
8943 * docs/plugins/Makefile.am:
8944 * docs/plugins/gstreamer-plugins-docs.sgml:
8945 * docs/plugins/gstreamer-plugins-sections.txt:
8946 * plugins/elements/Makefile.am:
8947 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8948 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8949 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8950 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8951 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8952 _GstCapsFilterClass, trans_class):
8953 * plugins/elements/gstelements.c (name, rank, type, _elements):
8954 * plugins/elements/gstidentity.c
8955 (gst_identity_check_imperfect_timestamp,
8956 gst_identity_check_imperfect_offset):
8957 Document capsfilter and add doc-blurb to identity.
8959 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8961 * libs/gst/controller/gstcontroller.c:
8962 (gst_controlled_property_set_interpolation_mode):
8963 * libs/gst/controller/gstinterpolation.c:
8964 Don't crash if someone tries to set an interpolation mode that
8965 is invalid or that isn't supported yet. Fixes #422295.
8967 * tests/check/libs/controller.c: (GST_START_TEST),
8968 (gst_controller_suite):
8969 Add a test case for the above.
8971 2007-05-03 Edward Hervey <edward@fluendo.com>
8973 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8974 Properly set the last_stop position on GstSegment. This will only happen
8975 if there is a buffer to push out.
8977 2007-05-03 Wim Taymans <wim@fluendo.com>
8979 * libs/gst/base/gstbasetransform.c:
8980 (gst_base_transform_buffer_alloc):
8981 always_in_place does not mean that the sink and source caps are the
8982 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8984 2007-05-03 Wim Taymans <wim@fluendo.com>
8986 * docs/libs/gstreamer-libs-sections.txt:
8987 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8988 (gst_base_src_default_query), (gst_base_src_get_range):
8989 * libs/gst/base/gstbasesrc.h:
8990 API: gst_base_src_query_latency(). Added method so that subclasses can
8991 easily get the latency values of the base source class.
8993 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8995 * tools/gst-inspect.c (print_implementation_info):
8998 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
9000 * tools/Makefile.am:
9001 * tools/gst-launch.1.in:
9002 Don't create a customised man page based on the host architecture,
9003 describe the default registry path generically. That way the man
9004 page is the same for all architectures and packagers have one
9005 multilib issue less to deal with. Fixes #434926.
9007 2007-05-02 Wim Taymans <wim@fluendo.com>
9010 Fix documentation as spotted by rg on IRC.
9012 2007-04-29 Stefan Kost <ensonic@users.sf.net>
9015 Improve docs for gst_element_{link,unlink}.
9017 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
9019 * docs/design/part-events.txt:
9020 * docs/design/part-overview.txt:
9024 * libs/gst/base/gstbasesink.c:
9025 Typo fixes; minor docs addition.
9027 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9029 * docs/gst/gstreamer-sections.txt:
9030 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9031 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9033 API: Add gst_uri_protocol_is_supported(), which checks if a sink
9034 or src that supports a given URI protocol exists.
9036 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9038 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9039 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9040 Set the location to NULL if "file://" is set as URI. Otherwise
9041 some random previous URI would still be set if "file://" is
9042 set on an already used filesink/filesrc.
9044 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
9046 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9047 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9048 Special case the "file://" URI as as this is used by some
9049 applications to test with gst_element_make_from_uri if there's
9050 an element that supports the URI protocol.
9051 Also move the g_path_is_absolute() check for the location part
9052 of the URI to also check this for "file://localhost/bla" URIs.
9054 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
9056 * docs/gst/gstreamer-sections.txt:
9057 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9059 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9061 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9063 2007-04-26 Stefan Kost <ensonic@users.sf.net>
9065 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9066 (gst_registry_binary_load_pad_template),
9067 (gst_registry_binary_load_plugin),
9068 (gst_registry_binary_read_cache):
9069 * gst/gstregistrybinary.h:
9070 Implement no-mmap alternative for registry reading. Do code cleanups.
9071 Add more comments about avoiding strdups for all text data. Comments
9074 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9076 * gst/gstregistrybinary.h (GstBinaryPluginElement,
9077 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9078 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9079 Comment structs and reformat to fix the build (that stuff should go
9080 into a priv. header).
9082 2007-04-25 Stefan Kost <ensonic@users.sf.net>
9084 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9085 (gst_registry_binary_load_feature):
9086 * gst/gstregistrybinary.h:
9087 Refactor so that we can implement multiple features. Add support for
9088 TypeFindFactory features.
9090 2007-04-24 Stefan Kost <ensonic@users.sf.net>
9092 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9095 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9097 2007-04-23 Stefan Kost <ensonic@users.sf.net>
9099 * gst/gstbin.c: (gst_bin_element_set_state),
9100 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9101 (bin_handle_async_done), (gst_bin_handle_message_func):
9102 Fix build with --gst-disable-gst-debug
9104 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
9106 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9107 Make sure streaming has finished before calling the ::stop() vfunc,
9108 since that vfunc might clear state which is being used in the
9109 streaming thread. This fixes a race that caused crashes in
9110 audioresample when shutting down a pipeline (#420106).
9112 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9114 * docs/gst/gstreamer-sections.txt:
9115 That was one byte missing.
9117 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9120 * docs/gst/gstreamer-sections.txt:
9122 * gst/gstconfig.h.in:
9123 * gst/gstobject.c: (gst_object_class_init),
9124 (gst_signal_object_class_init):
9126 2nd attempt to have a xml-less build as a joined effort of #413123
9129 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9131 * docs/design/draft-tagreading.txt:
9132 Added open issues/thoughts to draft.
9134 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9136 * gst/parse/grammar.tab.pre.c:
9137 * gst/parse/grammar.tab.pre.h:
9138 * gst/parse/lex._gst_parse_yy.pre.c:
9139 Update the prebuild parser sources.
9141 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9143 * gst/parse/Makefile.am:
9144 And now fix the building of the flex sources. Now everything should
9147 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9149 * gst/parse/Makefile.am:
9150 Now hopefully fix the build failures by setting proper rule
9151 dependencies and moving instead of copying.
9153 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9155 * tests/benchmarks/complexity.gnuplot:
9156 * tests/benchmarks/complexity.scm:
9157 * tests/benchmarks/mass-elements.gnuplot:
9158 * tests/benchmarks/mass-elements.scm:
9159 Total licensification.
9161 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9163 * gst/parse/Makefile.am:
9164 Fix the build by correcting the rule that gave wrong files to flex.
9166 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9168 * tests/benchmarks/complexity.c:
9169 * tests/benchmarks/mass-elements.c:
9170 Change licence to LGPL as granted by Benjamin and Andy.
9172 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9174 * gst/parse/Makefile.am:
9175 Add correct grammar.tab.h dependency if compiling without new enough
9176 flex. Fixes #431150.
9178 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9180 * gst/parse/Makefile.am:
9181 Fix typo and use outdated sources if the flex/bison sources are newer
9182 than the pregenerated ones but flex is too old. Print a warning in
9183 that case. This should fix the build on the build bot.
9185 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9187 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9188 * gst/parse/Makefile.am:
9189 * gst/parse/grammar.y:
9190 * gst/parse/parse.l:
9191 Make the parser reentrant and recursively callable. This requires flex
9192 >= 2.5.31, for older versions pregenerated sources are used as we
9193 can't bump the build dependency. Finally fixes #349180.
9195 * gst/gstparse.c: (gst_parse_launch):
9196 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9199 * docs/gst/Makefile.am:
9200 * docs/gst/Makefile.am:
9201 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9202 (__gst_parse_strfree), (__gst_parse_link_new),
9203 (__gst_parse_link_free), (__gst_parse_chain_new),
9204 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9205 (gst_parse_element_set), (gst_parse_free_link),
9206 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9207 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9208 (_gst_parse_launch):
9209 * gst/parse/grammar.tab.pre.h:
9210 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9211 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9212 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9213 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9214 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9215 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9216 (_gst_parse_yypop_buffer_state),
9217 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9218 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9219 (yy_fatal_error), (_gst_parse_yyget_extra),
9220 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9221 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9222 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9223 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9224 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9225 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9226 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9227 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9228 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9229 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9230 (_gst_parse_yyfree):
9231 If the installed flex version is too old use pre-generated parser
9232 sources. These pre-generated parser sources are always updated when
9233 the actual flex/bison sources change but require everybody who wants
9234 to change something in the parser to have flex >= 2.5.31 installed.
9236 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9238 * common/m4/gst-gettext.m4:
9239 * gst/gst-i18n-lib.h:
9240 Make --disable-nls to work
9242 2007-04-17 Wim Taymans <wim@fluendo.com>
9244 * gst/gstconfig.h.in:
9245 Revert previous change that broke the build.
9247 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9251 * gst/gstconfig.h.in:
9252 Drop libxml2 dependency when building with
9253 --enable-binary-registry --disable-loadsave
9255 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9257 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9258 (gst_registry_binary_read_cache):
9259 * gst/gstregistrybinary.h:
9260 Remove unnecessary <sys/mman.h> include which broke the win32 build
9261 with MingW; move includes from header file to .c file, even if the
9262 header file isn't installed; use g_strerror() where UTF-8 strings
9263 are expected, such as in GST_DEBUG messages.
9265 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9267 * docs/libs/gstreamer-libs-sections.txt:
9268 Remove bogus addition for API I didn't end up keeping.
9270 * libs/gst/base/gstbasesrc.h:
9271 Mention Since: 0.10.13 in the documentation.
9273 Add the API keyword to the previous ChangeLog entry.
9275 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9277 * docs/libs/gstreamer-libs-sections.txt:
9278 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9279 (gst_base_src_default_prepare_seek_segment),
9280 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9281 * libs/gst/base/gstbasesrc.h:
9282 Allow basesrc derived classes to execute seeks in other formats
9283 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9284 to prepare the GstSegment in any format that their perform_seek method
9285 will be able to understand. The default implementation provides the
9286 old behaviour of attempting to convert the seek offsets to the
9287 configured native format.
9289 API: basesrc::prepare_seek_segment vmethod.
9291 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9293 * gst/gstelement.c: (gst_element_get_state_func):
9294 Don't output the same debug statement twice.
9296 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9297 (gst_adapter_peek), (gst_adapter_take_buffer):
9298 Optimise the case where we have buffers at the head of the queue that
9299 can be joined quickly (because they're contiguous sub-buffers) by
9300 merging them together rather than copying data out into new memory.
9302 * gst/parse/grammar.y:
9303 * tests/check/pipelines/parse-launch.c:
9304 Fix a leak in an error path for parse_launch, and add a check
9305 for it to the testsuite.
9307 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9309 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9310 Don't deadlock when releasing a pad - gst_pad_set_active may try
9311 and take the multiqueue lock too.
9313 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9315 * gst/gsterror.c: (_gst_core_errors_init):
9317 API: add GST_CORE_ERROR_DISABLED (#392804).
9319 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9321 * docs/faq/gst-uninstalled:
9322 don't get empty paths on the PATH variables
9323 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9324 Don't format for the uncommon terminal width of 84 characters.
9326 2007-04-06 Wim Taymans <wim@fluendo.com>
9328 * gst/gstpipeline.c: (reset_stream_time),
9329 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9330 Only try to select a different pipeline clock when we went back to
9331 PAUSED and not when we merely got flushed.
9333 2007-04-05 Michael Smith <msmith@fluendo.com>
9335 * tools/gst-launch.1.in:
9336 fractions are better supported in gstreamer than ractions, so
9337 suggest using those.
9339 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9341 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9345 Added Danish translation.
9347 2007-04-05 Wim Taymans <wim@fluendo.com>
9349 * libs/gst/base/gstbasesink.c:
9350 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9351 Fix leak caused when refusing newsegment after EOS.
9353 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9354 (gst_fake_sink_init), (gst_fake_sink_set_property),
9355 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9356 (gst_fake_sink_render), (gst_fake_sink_change_state):
9357 * plugins/elements/gstfakesink.h:
9358 Add num-buffers property to make the element generate EOS after a
9359 configurable amount of buffers.
9360 API: fakesink::num-buffers property.
9362 * tests/check/elements/fakesink.c: (GST_START_TEST),
9364 Fix GstBus leak in test.
9365 Test for fakesink num-buffers.
9367 2007-04-05 Wim Taymans <wim@fluendo.com>
9369 * libs/gst/base/gstbasesink.c:
9370 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9371 (gst_base_sink_change_state):
9372 Don't accept anything after an EOS, return UNEXPECTED instead.
9374 * tests/check/elements/fakesink.c: (GST_START_TEST),
9376 Unit test for new EOS behaviour.
9378 2007-04-05 Wim Taymans <wim@fluendo.com>
9380 * gst/gstelement.c: (gst_element_get_request_pad):
9381 Make padtemplates also work when they don't contain %s or %d.
9383 2007-04-05 Wim Taymans <wim@fluendo.com>
9385 * docs/gst/gstreamer-sections.txt:
9386 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9387 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9389 Improve _adjust_unlocked() so that it overflows less.
9390 Add gst_clock_unadjust_unlocked to convert from external time to
9391 internal time based on calibration.
9392 Add some more debug.
9393 API: GstClock::gst_clock_unadjust_unlocked()
9395 2007-04-03 Wim Taymans <wim@fluendo.com>
9397 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9399 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9400 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9401 when releasing sink pad. Fixes #425400.
9403 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9405 * docs/random/ensonic/dynlink.txt:
9406 More work on proposal for new core api.
9408 * docs/libs/gstreamer-libs-sections.txt:
9409 * libs/gst/base/gstbasetransform.h:
9410 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9412 * libs/gst/controller/gstcontroller.c:
9413 (on_object_controlled_property_changed),
9414 (gst_controller_sync_values),
9415 (gst_controller_set_interpolation_mode):
9416 * libs/gst/controller/gstcontroller.h:
9417 Less verbose logging add docs for unimplemented parts and correctly
9418 return when using unavailable parts.
9420 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9422 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9423 Move all the debug to the CLOCK category, and associate it with
9426 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9428 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9429 Make take_buffer a bit quicker by removing redundant checks
9430 caused by calling gst_adapter_take.
9432 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9434 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9437 * tests/check/Makefile.am:
9438 * tests/check/elements/.cvsignore:
9439 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9440 (GST_START_TEST), (multiqueue_suite):
9441 Add some dead simple unit tests for the 'multiqueue' element
9442 (some bits don't work yet and are disabled for now).
9444 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9446 * gst/gstelement.c: (gst_element_get_request_pad),
9447 (gst_element_class_get_request_pad_template):
9448 Make gst_element_get_request_pad() create request pads only for
9449 request pad templates and not for, say, sometimes pad templates.
9451 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9453 * docs/design/draft-klass.txt:
9454 Add example that needs more thinking.
9456 * docs/design/draft-missing-plugins.txt:
9457 More thoughts about wrapper plugins.
9459 * docs/random/ensonic/embedded.txt:
9460 * docs/random/ensonic/profiling.txt:
9463 2007-03-25 Wim Taymans <wim@fluendo.com>
9465 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9466 (gst_base_src_loop):
9467 Only push the segment events in the PLAYING state for live sources.
9469 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9471 * gst/gstpipeline.c: (gst_pipeline_change_state):
9472 Modify the clock distribution path in PAUSED->PLAYING so that we
9473 never attempt to choose a new clock unless we're actually leaving
9474 the PAUSED state for the first time. This prevents choosing a
9475 different clock when the state_change gets called for a 2nd time due
9476 to some element doing an async state change.
9478 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9480 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9481 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9482 (gst_pad_chain_unchecked), (gst_pad_push):
9483 Revert last commit. This needs some more thoughts.
9485 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9487 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9488 (gst_pad_chain_unchecked), (gst_pad_push):
9489 Check in set_caps if the caps are compatible with the pad and remove
9490 two functions that are redundant now. Fixes #421543.
9492 2007-03-22 Wim Taymans <wim@fluendo.com>
9494 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9495 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9496 Unref some more to make valgrind happy.
9498 2007-03-22 Wim Taymans <wim@fluendo.com>
9500 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9501 (gst_system_clock_id_wait_jitter),
9502 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9503 Fix anoying regression that survived a few releases. When adding an
9504 async entry while blocking on a sync entry, the sync entry will unblock
9505 but still be busy, so it should continue to wait instead of returning
9507 Add some comments here and there.
9509 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9510 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9511 Add testcase for this.
9513 2007-03-22 Wim Taymans <wim@fluendo.com>
9515 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9516 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9517 WRONG_STATE and can silently pause the task. All other cases should
9520 2007-03-22 Wim Taymans <wim@fluendo.com>
9522 Patch by: Ville Syrjala <syrjala at sci dot fi>
9524 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9525 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9528 2007-03-21 Michael Smith <msmith@fluendo.com>
9530 * docs/pwg/advanced-types.xml:
9531 Fix some errors in the typefinding docs pointed out on irc.
9533 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9535 * libs/gst/base/gstbasesrc.c:
9536 Clarify FIXME comment in the face of having added unlock_stop()
9538 2007-03-21 Wim Taymans <wim@fluendo.com>
9540 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9541 Prepare for release where we warn against possible app breakage in the
9542 case of live pipelines along with an env var to enable/disable live
9543 preroll mode (GST_COMPAT=[no-]live-preroll).
9545 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9547 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9548 So we should use correct constants for checking for None offset.
9550 2007-03-20 Wim Taymans <wim@fluendo.com>
9552 * docs/design/part-block.txt:
9553 Mention the fact that the newly switched element should be set to at
9556 2007-03-20 Wim Taymans <wim@fluendo.com>
9559 Fix compilation with registry disabled as spotted by Saur.
9561 2007-03-20 Wim Taymans <wim@fluendo.com>
9563 Patch by: Olivier Crete <tester at tester dot ca>
9565 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9566 Look at the pending state too when syncing the element state to the
9567 parent. Fixes #420133.
9569 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9571 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9572 (gst_base_sink_change_state):
9573 * libs/gst/base/gstbasesink.h:
9574 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9575 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9576 (gst_base_src_deactivate):
9577 * libs/gst/base/gstbasesrc.h:
9578 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9579 for sub-classes to correctly clear any state they set trying to
9580 unlock, such as clearing out unlock commands from a command fd.
9581 API: basesrc::unlock_stop
9582 API: basesink::unlock_stop
9584 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9585 (gst_fd_sink_render), (gst_fd_sink_unlock),
9586 (gst_fd_sink_unlock_stop):
9587 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9588 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9589 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9591 Implement unlock_stop in fdsrc and fdsink.
9592 Implement seeking in fdsrc when a seekable fd is passed, as in
9593 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9595 2007-03-19 Wim Taymans <wim@fluendo.com>
9597 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9599 * gst/gstelement.c: (gst_element_class_init):
9600 Fix pad-added and pad-removed signal signatures so that the pad type is
9601 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9603 2007-03-19 Wim Taymans <wim@fluendo.com>
9605 * docs/gst/gstreamer-sections.txt:
9606 Add new element field and method.
9608 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9609 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9610 (gst_bin_recalc_state), (gst_bin_get_state_func),
9611 (gst_bin_element_set_state), (gst_bin_change_state_func),
9612 (gst_bin_continue_func), (bin_bus_handler),
9613 (bin_push_state_continue), (bin_handle_async_start),
9614 (bin_handle_async_done), (gst_bin_handle_message_func):
9615 Make async state changes a bit smarter by using new ASYNC_START and
9616 ASYNC_DONE messages. This reduces the number of times we run the state
9617 recalculation thread.
9618 Don't change state of element with a pending ASYNC_START message.
9619 Deprecate STATE_DIRTY messages.
9621 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9622 (gst_element_get_state_func), (gst_element_continue_state),
9623 (gst_element_lost_state), (gst_element_set_state_func),
9624 (gst_element_change_state):
9626 Keep the state that was last set by the app in a new element field.
9627 Don't allow state changes when handling an element event.
9628 Post ASYNC_START and ASYNC_DONE messages.
9629 Change lost_state so that we go to PAUSED and wait for the parent to set
9630 us to PLAYING again (so latency calculation can be performed)
9631 Export gst_element_change_state() method so that subclasses can use it.
9632 API: gst_element_change_state()
9633 API: GST_STATE_TARGET
9635 * gst/gstpipeline.c: (gst_pipeline_class_init),
9636 (reset_stream_time), (gst_pipeline_change_state),
9637 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9638 Using the new ASYNC_START message we can reset the base_time when
9639 needed. This can then be used to implement base_time redistribution in
9640 flushing seeks so that we can remove the explicit seek handling.
9641 Perform latency query and configuration when going to PLAYING.
9643 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9644 (gst_base_sink_query), (gst_base_sink_change_state):
9645 Post new ASYNC_START/ASYNC_DONE messages.
9647 * tests/check/generic/sinks.c: (GST_START_TEST):
9648 Fix test because the bin will not set the async element to PLAYING right
9651 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9652 Make the message check a little stronger.
9653 Handle ASYNC messages.
9655 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9656 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9657 Expect ASYNC_DONE messages.
9659 2007-03-19 Wim Taymans <wim@fluendo.com>
9661 * docs/gst/gstreamer-sections.txt:
9662 * gst/gstmessage.c: (gst_message_new_async_start),
9663 (gst_message_new_async_done), (gst_message_parse_info),
9664 (gst_message_parse_async_start):
9666 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9669 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9671 * tools/gst-inspect.c:
9672 (print_plugin_automatic_install_info_codecs):
9673 Now that we don't check for the 'Codec' keyword any longer in the
9674 klass, we shouldn't spew a warning if the klass isn't a decoder or
9675 encoder (since it might be a Source/Network, for example).
9677 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9679 * tools/gst-inspect.c:
9680 (print_plugin_automatic_install_info_codecs):
9681 Don't require decoder/demuxer/depayloader elements or
9682 encoder/muxer/paylader elements to have 'Codec' as part of their
9683 factory class string when introspecting a plugin's capabilities.
9684 draft-klass.txt mentions that it might be removed in future, and
9685 flump3dec doesn't have it as part of its class string, so chances
9686 are others might also not have it.
9688 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9710 Update translations from translation project
9712 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9714 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9715 (gst_child_proxy_set_property):
9716 Invert precondition check to be alike the ones in the mimiced gobject
9719 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9721 * docs/design/draft-tagreading.txt:
9722 * docs/random/ensonic/audiobaseclasses.txt:
9723 Do some Architect work.
9725 * gst/gstobject.c: (gst_object_set_name):
9729 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9731 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9733 * gst/gstsystemclock.c: (gst_system_clock_init),
9734 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9735 Defer starting the async system clock thread until the first async
9736 wait is scheduled. Fixes #414986.
9738 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9740 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9741 (gst_single_queue_free):
9742 Fix small leak (free GstSingleQueue structure too, not only contents).
9744 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9746 * gst/gstbin.c:(gst_bin_add):
9747 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9748 * win32/common/libgstbase.def:
9749 * win32/common/libgstreamer.def:
9750 Add new exported functions.
9752 2007-03-09 Wim Taymans <wim@fluendo.com>
9754 * docs/plugins/gstreamer-plugins-sections.txt:
9757 2007-03-09 Wim Taymans <wim@fluendo.com>
9759 * docs/gst/gstreamer-sections.txt:
9760 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9762 Add metadata copy functions. Fixes #393099.
9763 API: gst_buffer_copy_metadata()
9765 * gst/gstutils.c: (gst_buffer_stamp):
9766 * libs/gst/base/gstbasetransform.c:
9767 (gst_base_transform_prepare_output_buffer):
9768 Use new metadata copy functions.
9770 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9772 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9773 (gst_identity_init), (gst_identity_check_perfect),
9774 (gst_identity_check_imperfect_timestamp),
9775 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9776 (gst_identity_set_property), (gst_identity_get_property):
9777 * plugins/elements/gstidentity.h:
9778 Separate out check-imperfect-timestamp and check-imperfect-offset.
9779 Put back check-perfect as it was to keep compatibility.
9781 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9783 * gst/gstelement.c: (gst_element_dispose):
9784 There's no need to warn if VOID_PENDING is not NONE here, as
9785 long as the state is NULL it's ok, and that's checked immediately
9788 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9790 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9791 Fix check for perfect stream to ignore buffers with -1
9792 offsets/offset ends when checking data contiguity.
9794 2007-03-08 Wim Taymans <wim@fluendo.com>
9796 * tools/gst-launch.c: (event_loop):
9797 Print INFO messages.
9799 2007-03-08 Wim Taymans <wim@fluendo.com>
9801 * libs/gst/base/gstbasetransform.c:
9802 (gst_base_transform_sink_eventfunc),
9803 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9804 (gst_base_transform_activate):
9805 * libs/gst/base/gstbasetransform.h:
9806 Add support for dropping buffers with custom GstFlowReturn.
9807 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9808 buffers or dropped buffers.
9810 * docs/libs/gstreamer-libs-sections.txt:
9811 docs for new custom return code.
9813 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9814 Use drop support in base class to implement drop-probability.
9816 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9818 * gst/gst.c: (load_plugin_func):
9819 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9820 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9821 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9822 Remove newlines at end of debug log strings.
9824 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9826 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9827 Only post bus message at max, once per buffer received.
9829 2007-03-07 Wim Taymans <wim@fluendo.com>
9831 * docs/design/Makefile.am:
9832 * docs/design/part-synchronisation.txt:
9833 Add doc about synchronisation
9835 * docs/design/draft-latency.txt:
9836 * docs/design/part-TODO.txt:
9837 * docs/design/part-clocks.txt:
9838 * docs/design/part-events.txt:
9839 * docs/design/part-gstbus.txt:
9840 * docs/design/part-gstpipeline.txt:
9841 * docs/design/part-live-source.txt:
9842 * docs/design/part-messages.txt:
9843 * docs/design/part-overview.txt:
9844 * docs/design/part-streams.txt:
9845 * docs/design/part-trickmodes.txt:
9846 Documentation updates.
9848 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9851 Update the doap file.
9853 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9855 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9856 Rename non-perfect to imperfect for Mike and for the sanctity of the
9858 Also make sure bus message gets emitted for data-incontiguities.
9860 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9862 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9863 (gst_identity_start):
9864 * plugins/elements/gstidentity.h:
9865 Emit bus message if check-perfect is true and we encounter a
9866 non-perfect stream between 2 consecutive buffers.
9869 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9874 === release 0.10.12 ===
9876 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9879 releasing 0.10.12, "Inevitable Demise"
9881 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9884 Version 0.10.11.2 (0.10.12 pre-release)
9885 Bump libtool versioning.
9887 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9889 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9890 Log flow-names and not numbers.
9892 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9895 Convert to new AG_GST style.
9897 2007-02-28 Wim Taymans <wim@fluendo.com>
9899 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9900 Don't unref query twice.
9902 2007-02-28 Wim Taymans <wim@fluendo.com>
9904 * gst/gstvalue.c: (gst_value_transform_object_string),
9905 (_gst_value_initialize):
9906 Implement GstObject -> string transform so we print object names
9907 when serializing GValues containing GstObjects.
9909 2007-02-28 Wim Taymans <wim@fluendo.com>
9911 * docs/gst/gstreamer-sections.txt:
9912 Add new stuff to docs.
9914 2007-02-28 Wim Taymans <wim@fluendo.com>
9916 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9917 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9918 (gst_base_sink_change_state):
9919 Improve latency query code.
9920 Don't leak latency events.
9922 * tests/check/gst/gstbin.c: (GST_START_TEST):
9925 2007-02-28 Wim Taymans <wim@fluendo.com>
9927 * gst/gstelement.c: (gst_element_message_full),
9928 (gst_element_get_state_func):
9930 Improve docs a little. Added Since: for new macro.
9932 * gst/gstobject.c: (gst_object_sink):
9933 * gst/gstpipeline.c: (gst_pipeline_change_state),
9934 (gst_pipeline_set_new_stream_time):
9935 * gst/gstpipeline.h:
9936 Improve debugging and docs.
9938 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9941 2007-02-28 Wim Taymans <wim@fluendo.com>
9943 * gst/gstelement.c: (gst_element_message_full),
9944 (gst_element_set_locked_state), (gst_element_get_state_func),
9945 (gst_element_change_state):
9946 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9947 Documentation updates.
9948 Small code cleanups.
9950 * gst/gstmessage.c: (gst_message_new_info),
9951 (gst_message_parse_info):
9953 API: gst_message_new_info()
9954 API: gst_message_parse_info()
9955 Add INFO message create and parse code.
9957 2007-02-28 Wim Taymans <wim@fluendo.com>
9959 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9960 (bin_query_latency_done):
9961 Also report the live parameter of a latency query.
9963 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9965 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9966 Copy the current generic/states example from -base and adapt so
9967 we can use the exact same code everywhere.
9968 Check a STATES_IGNORE_ELEMENTS env var which can be used
9969 to ignore certain element factories for this test, which is
9970 what is being done in -base
9971 * tests/check/Makefile.am:
9972 Mention this environment variable.
9974 2007-02-27 Wim Taymans <wim@fluendo.com>
9976 * docs/gst/gstreamer-sections.txt:
9977 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9978 (gst_bus_timed_pop), (gst_bus_pop):
9980 API: gst_bus_timed_pop()
9981 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9982 message to arrive on the bus.
9984 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9986 Two unit tests for new _timed_pop() function.
9988 2007-02-23 Wim Taymans <wim@fluendo.com>
9990 * gst/gstpipeline.c: (gst_pipeline_change_state),
9991 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9992 Don't ref a NULL clock in _provide_clock_func().
9993 Don't allow an INVALID delay.
9994 Don't try to calculate base_time with an invalid start_time.
9995 Also distribute and notify a NULL clock when it was selected.
9997 * tools/gst-launch.c: (event_loop):
9998 Don't crash when a NULL clock was selected in the pipeline.
10000 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
10002 * docs/design/Makefile.am:
10003 * docs/design/draft-missing-plugins.txt:
10004 * docs/random/draft-missing-plugins.txt:
10005 Some small updates: update plugin system identifier prefix
10006 ('gstreamer.net' to 'gstreamer'), mention our new install
10007 API in libgstbaseutils rather than libgimme-codec, add
10008 reference to the online docs.
10010 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10012 * win32/common/config.h:
10013 Pretty sure Bill never made a powerpc version. Powerpc hackers,
10014 use moap cl ci to only check in what is mentioned in the ChangeLog.
10016 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10018 * docs/gst/gstreamer-sections.txt:
10019 * gst/gstelement.h:
10020 Fix up documentation to link to the correct GstGError section.
10021 Add GST_ELEMENT_INFO macro since someone else added a Info message.
10023 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
10025 * tools/gst-launch.c: (event_loop):
10026 Make sure that we actually show the important message part of a
10028 No need to check if the gerror is not NULL to free; first of all
10029 g_free accepts NULL; and second the default error handler would
10030 segfault if gerror was NULL.
10032 2007-02-21 Wim Taymans <wim@fluendo.com>
10034 * docs/gst/gstreamer-sections.txt:
10035 Removed docs as well.
10037 2007-02-21 Wim Taymans <wim@fluendo.com>
10039 * gst/gstmessage.c: (gst_message_parse_duration):
10040 * gst/gstmessage.h:
10041 Remove new messages for release.
10043 2007-02-20 Wim Taymans <wim@fluendo.com>
10045 * docs/design/part-gstghostpad.txt:
10046 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10047 (gst_ghost_pad_new_full):
10048 Make the ghostpad a parent of the internal pad again for better backward
10049 compatibility. Don't write code that relies on this however.
10051 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10052 (gst_pad_link_check_hierarchy):
10053 Require that parents should be GstElements in the hierarchy check.
10055 2007-02-20 Wim Taymans <wim@fluendo.com>
10057 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10058 (gst_bin_change_state_func), (bin_query_min_max_init),
10059 (bin_query_latency_fold), (bin_query_latency_done),
10061 Improve debug info.
10062 Implement latency query.
10064 2007-02-20 Wim Taymans <wim@fluendo.com>
10066 * docs/design/part-gstghostpad.txt:
10067 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10068 (gst_ghost_pad_internal_do_activate_push),
10069 (gst_ghost_pad_internal_do_activate_pull),
10070 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10071 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10072 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10073 Do not set the internal pad as a parent anymore so we can avoid
10074 hierarchy linking errors when the ghostpad has no parent yet. This also
10075 fixes failed activation because of unlinked internal pads, which in
10076 turn fixes the impossible case where you have to activate a pad before
10077 you can add it to a running element.
10080 * gst/gstpad.c: (pre_activate), (post_activate),
10081 (gst_pad_set_active), (gst_pad_activate_pull),
10082 (gst_pad_activate_push), (gst_pad_check_pull_range):
10083 Add some more debug info.
10084 Mark activation mode in pre_activate so that we don't try to activate in
10085 endless loops. Fixes #385084.
10087 2007-02-19 Wim Taymans <wim@fluendo.com>
10089 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10090 (gst_base_transform_check_get_range):
10091 Implement a checkgetrange function instead of relying on the default
10092 core behaviour that assumes we can operate in pull mode if we have a
10093 getrange function. First step at fixing #385084.
10095 2007-02-15 Stefan Kost <ensonic@users.sf.net>
10097 * gst/gstchildproxy.h:
10098 * libs/gst/base/gstbasesink.h:
10099 * libs/gst/base/gstbasesrc.h:
10100 * libs/gst/base/gstbasetransform.h:
10101 More docs coverage and some ChangeLog surgery (add missing names)
10103 2007-02-15 Wim Taymans <wim@fluendo.com>
10105 * docs/design/part-TODO.txt:
10106 * docs/design/part-activation.txt:
10107 * docs/design/part-block.txt:
10108 * docs/design/part-buffering.txt:
10109 * docs/design/part-clocks.txt:
10110 * docs/design/part-element-source.txt:
10111 * docs/design/part-events.txt:
10112 * docs/design/part-gstbin.txt:
10113 * docs/design/part-gstbus.txt:
10114 * docs/design/part-gstpipeline.txt:
10115 * docs/design/part-live-source.txt:
10116 * docs/design/part-messages.txt:
10117 * docs/design/part-overview.txt:
10118 * docs/design/part-qos.txt:
10119 * docs/design/part-query.txt:
10120 * docs/design/part-states.txt:
10121 * docs/design/part-trickmodes.txt:
10122 Some doc updates. Start renaming from stream_time to running_time where
10123 it was used wrongly.
10125 2007-02-15 Wim Taymans <wim@fluendo.com>
10127 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10128 Answer LATENCY query.
10130 2007-02-15 Wim Taymans <wim@fluendo.com>
10132 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10136 2007-02-15 Wim Taymans <wim@fluendo.com>
10138 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10139 (gst_pad_dispatcher):
10140 Improve debugging of default pad dispatcher and query functions.
10142 2007-02-15 Wim Taymans <wim@fluendo.com>
10144 * docs/gst/gstreamer-sections.txt:
10145 Remove old unused method.
10147 2007-02-13 Wim Taymans <wim@fluendo.com>
10149 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10152 2007-02-13 Wim Taymans <wim@fluendo.com>
10154 * docs/design/part-seeking.txt:
10157 * gst/gstsegment.c: (gst_segment_set_seek):
10158 Revert old bogus change that should make seeking work again.
10160 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10162 * docs/random/ensonic/dynlink.txt:
10163 * docs/random/ensonic/interfaces.txt:
10164 * docs/random/ensonic/receipies.txt:
10165 Possible dynamic reconnection api, plus some type fixes the other two
10168 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10170 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10171 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10172 Also check for an absolute path following file:// in the filesrc
10173 element. Remove redundant check and call g_path_is_absolute() on the
10174 unescaped location.
10176 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10178 * docs/design/draft-klass.txt:
10179 Add existing category analysis.
10182 Fix doc example, framerate is a fraction.
10184 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10187 * docs/gst/Makefile.am:
10188 * docs/gst/gstreamer-sections.txt:
10189 * docs/libs/Makefile.am:
10190 Erm, forgot a bunch of --extra-dir.
10192 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10195 * docs/gst/Makefile.am:
10196 * docs/libs/Makefile.am:
10197 * docs/plugins/Makefile.am:
10198 Add crossreferences to glib/gobject docs.
10200 2007-02-12 Wim Taymans <wim@fluendo.com>
10202 * docs/design/draft-latency.txt:
10205 * docs/libs/gstreamer-libs-sections.txt:
10206 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10207 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10208 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10209 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10210 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10211 (gst_base_sink_get_position), (gst_base_sink_query),
10212 (gst_base_sink_change_state):
10213 * libs/gst/base/gstbasesink.h:
10214 API: gst_base_sink_query_latency() to let subclasses query the upstream
10216 API: gst_base_sink_get_latency() to let subclasses query the configured
10217 latency in the sink.
10218 Implement query and set latency.
10220 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10221 don't continue preroll when we are flushing. Fixes #405284.
10223 * tests/check/pipelines/stress.c: (change_state_timeout),
10224 (quit_timeout), (GST_START_TEST), (stress_suite):
10227 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10229 Patch by: René Stadler <mail at renestadler de>
10231 * docs/gst/gstreamer-sections.txt:
10232 * gst/gsttaglist.c: (_gst_tag_initialize):
10233 * gst/gsttaglist.h:
10234 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10236 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10238 * docs/libs/Makefile.am:
10239 Fix path to core docs.
10241 * gst/gstbin.c: (gst_bin_get_by_interface),
10242 (gst_bin_iterate_all_by_interface):
10243 Refix docs by also renaming 'interface' to 'iface' in implementation.
10245 * docs/gst/gstreamer-sections.txt:
10247 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10248 * gst/gstchildproxy.h:
10249 * gst/gstelementfactory.c:
10250 * gst/gstpadtemplate.h:
10251 * libs/gst/controller/gstcontroller.c:
10252 (gst_controlled_property_new):
10255 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10257 * gst/gstbin.h:(gst_bin_get_by_interface),
10258 (gst_bin_iterate_all_by_interface):
10259 Replace interface parameter name by iface as interface is
10260 a reserved keyword in Visual Studio for C++ projects so it removes
10261 a build error for application developpers using VS.
10262 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10263 Fix a bug on Windows in uri format check. Now the prefix checked
10264 is file:// and next we check if the path after file:// is absolute.
10265 * win32/common/libgstbase.def:
10266 * win32/common/libgstdataprotocol.def:
10267 * win32/common/libgstgstreamer.def:
10268 Add new exported functions.
10270 2007-02-09 Andy Wingo <wingo@pobox.com>
10272 * tests/check/pipelines/simple-launch-lines.c
10273 (simple_launch_lines_suite, test_tee): Disable tee test until I
10274 have time to fix it :-(
10276 * tests/check/Makefile.am (noinst_HEADERS):
10277 * tests/check/libs/libsabi.c:
10278 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10279 * tests/check/gst/gstabi.c:
10280 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10282 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10283 tests for push and pull tee behavior.
10285 * plugins/elements/gsttee.h:
10286 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10287 mark as deprecated as well as unimplemented. It was a crack idea.
10288 Add support for tee operating in pull mode, off by default.
10290 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10291 normal-case logs down to LOG, raise errors to WARNING.
10292 (gst_registry_xml_read_cache): Don't log before calling a function
10295 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10296 exit (registry finalize).
10297 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10298 DEBUG log when we emit signals that people don't even have the
10299 chance to connect to.
10300 (gst_registry_scan_path_level): Less logging in the normal case.
10302 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10304 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10306 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10307 Correctly generate EOS for non-seekable files. We don't have a total
10308 length for them and would get an unexpected end of file if we only
10309 special-cased for regular files. (Fixes: #404569)
10311 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10313 * tests/check/elements/filesrc.c: (GST_START_TEST),
10315 Add unit test for the GstURIHandler interface in filesrc. This also
10316 tests the newly added file://localhost/foo/bar support.
10318 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10320 * gst/gstelementfactory.h:
10321 The klass string is not a hierarchy. Add reference to the design doc
10322 for more information and common types.
10324 2007-02-02 Wim Taymans <wim@fluendo.com>
10326 * gst/gstquery.c: (gst_query_new_latency):
10327 Remove old structure field.
10329 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10331 * tools/gst-launch.1.in:
10332 Give example for network streaming (#351998)
10334 2007-02-02 Wim Taymans <wim@fluendo.com>
10336 * docs/gst/gstreamer-sections.txt:
10337 Add docs for new methods.
10339 * gst/gstevent.c: (gst_event_new_latency),
10340 (gst_event_parse_latency):
10342 Add new LATENCY event to configure latency in a pipeline.
10343 API: gst_event_new_latency
10344 API: gst_event_parse_latency
10346 * gst/gstmessage.c: (gst_message_new_buffering),
10347 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10348 (gst_message_new_latency), (gst_message_parse_buffering),
10349 (gst_message_parse_lost_preroll):
10350 * gst/gstmessage.h:
10351 Added messages used in draft-latency.
10352 API: gst_message_new_lost_preroll
10353 API: gst_message_parse_lost_preroll
10354 API: gst_message_new_prerolled
10355 API: gst_message_new_latency
10357 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10358 (gst_query_parse_latency):
10360 Implemented new latency query as in design doc.
10361 API: gst_query_new_latency
10362 API: gst_query_set_latency
10363 API: gst_query_parse_latency
10365 2007-02-02 Wim Taymans <wim@fluendo.com>
10367 * docs/design/draft-latency.txt:
10368 Slight redesign to allow for dynamic latency adjustments.
10370 * docs/design/part-negotiation.txt:
10373 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10375 reviewed by: Wim Taymans <wim@fluendo.com>
10377 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10378 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10379 Allow file://localhost/foo/bar URLs and correctly fail for every other
10380 hostname that one sets. This was gnomevfssrc is linked for those if
10381 installed as it can handle it (#403172)
10383 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10385 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10387 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10388 (unref_data), (gst_collect_pads_add_pad_full):
10389 * libs/gst/base/gstcollectpads.h:
10390 Don't put the previously added destroy notify in the GstCollectData
10391 struct as all it's padding is already used and we don't want to break
10392 ABI. Instead put in the pad's GObject data for now. This should be
10393 cleaned up for 0.11 (#402393).
10395 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10397 reviewed by: Wim Taymans <wim@fluendo.com>
10399 * docs/libs/gstreamer-libs-sections.txt:
10400 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10401 (unref_data), (gst_collect_pads_add_pad),
10402 (gst_collect_pads_add_pad_full):
10403 * libs/gst/base/gstcollectpads.h:
10404 API: Add function to specify a destroy notification for custom
10405 GstCollectData when adding new pads in GstCollectPads (#402393).
10407 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10410 Update Swedish translation (#378255).
10412 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10414 * docs/design/draft-klass.txt:
10415 Fix the previous change, this is a list of categories and not a hierarchy.
10417 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10419 * docs/design/draft-klass.txt:
10420 Add info about how to get a list of used classes.
10422 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10424 * plugins/elements/gsttypefindelement.c:
10425 (gst_type_find_element_chain_do_typefinding),
10426 (gst_type_find_element_change_state):
10427 Don't leak found caps in chain function (no idea why that never
10428 showed up as a leak anywhere).
10430 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10433 Fix and expand GstPluginDesc API docs.
10435 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10438 * gst/gstelementfactory.c:
10439 * gst/gstpadtemplate.h:
10442 * libs/gst/controller/gstcontroller.c:
10443 (gst_controlled_property_new):
10444 * tests/examples/controller/audio-example.c:
10447 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10450 comment about refining the xml deps
10452 * docs/manuals.mak:
10453 comments about moving away from jade for docs
10456 recommit the ifdefs to use the binary registry
10458 * gst/gstbin.c: (gst_bin_change_state_func):
10459 this break is obsolete
10461 * gst/gstelementfactory.h:
10462 better GST_ELEMENT_DETAILS docs, add comment about translation
10467 * gst/gstobject.c: (gst_signal_object_get_type):
10468 add G_UNLIKELY as usual
10470 * gst/gstpad.c: (gst_pad_event_default):
10471 add fall trhu comment
10473 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10474 (gst_registry_binary_initialize_magic),
10475 (gst_registry_binary_save_string),
10476 (gst_registry_binary_save_pad_template),
10477 (gst_registry_binary_save_feature),
10478 (gst_registry_binary_save_plugin),
10479 (gst_registry_binary_write_cache),
10480 (gst_registry_binary_check_magic),
10481 (gst_registry_binary_load_pad_template),
10482 (gst_registry_binary_load_feature),
10483 (gst_registry_binary_load_plugin),
10484 (gst_registry_binary_read_cache):
10485 comment typo and formatting
10487 * gst/gstutils.c: (gst_element_state_get_name),
10488 (gst_element_state_change_return_get_name):
10489 remove obsolete breaks
10491 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10492 add FIXME 0.11 and remove cpp comment
10494 2007-01-29 Edward Hervey <edward@fluendo.com>
10496 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10497 Fix print statement in an even more portable way.
10499 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10501 * docs/gst/gstreamer-sections.txt:
10503 API: add GST_ROUND_DOWN_* macros (#401781).
10505 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10507 * docs/gst/gstreamer.types.in:
10508 * gst/gstregistry.c: (gst_registry_class_init):
10509 Document registry signals and make gtk-doc pick them up (#401381).
10511 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10513 * docs/pwg/building-testapp.xml:
10514 Add some audioconverts and audioresample to the pipeline, and some
10515 more comments and error handling.
10517 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10519 * docs/manual/manual.xml:
10520 * docs/pwg/pwg.xml:
10521 Fix typo (#400987).
10523 2007-01-26 Wim Taymans <wim@fluendo.com>
10525 * gst/gstcaps.c: (gst_static_caps_get):
10526 Init caps flags too.
10528 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10530 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10532 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10533 If not using mmap'ed files try to seek to the end instead of the
10534 start to determine whether we can seek at all. This fixes the case
10535 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10536 seeks for everything afterwards fail. Fixes #400656
10538 2007-01-25 Wim Taymans <wim@fluendo.com>
10540 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10541 Add some refcount debugging.
10542 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10543 in multiple streaming threads.
10545 2007-01-25 Wim Taymans <wim@fluendo.com>
10547 Patch by: David Schleef <ds at schleef dot org>
10549 * docs/libs/gstreamer-libs-sections.txt:
10550 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10551 * libs/gst/base/gstadapter.h:
10552 API: gst_adapter_copy() that can reduce the amount of memcpy when
10553 getting data from the adapter. Fixes #388201.
10555 2007-01-25 Edward Hervey <edward@fluendo.com>
10557 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10558 In print statements, "%x" is for guint. Fixes build on macosx.
10560 2007-01-24 Edward Hervey <edward@fluendo.com>
10562 * plugins/elements/gstmultiqueue.c:
10563 (gst_multi_queue_loop):
10565 (single_queue_overrun_cb), (single_queue_underrun_cb),
10566 (single_queue_check_full), (gst_single_queue_new):
10567 Implement single queue growth system.
10568 This uses the extra-size properties, and will grow single queues by
10569 that much if one goes full whereas there are others empty. This is
10570 called extra-mode in the code.
10571 When a single queue's levels go back below the initial max-size
10572 limits, it is no longer in extra-mode. This is to ensure we don't
10573 consume too much memory.
10576 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10578 * gst/gst.c: (gst_init_get_option_group):
10579 Make warning about late g_thread_init() calls a bit more explicit,
10580 so that it's more obvious to application developers what they need
10581 to do if a user files a bug against their application.
10583 2007-01-22 Edward Hervey <edward@fluendo.com>
10585 * plugins/elements/gstmultiqueue.c:
10586 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10587 Remove previous hack of unsetting the flushing flag for the source pad
10588 instead of activating it. Instead, fix the source pad activate function
10589 so that it no longer depends on having a parent set or not.
10591 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10593 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10595 * docs/manual/basics-bus.xml:
10596 Fix example code, gst_element_unref() doesn't exist any longer.
10598 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10600 Patch by: Mark Nauwelaerts <manauw at skynet be>
10603 Fix two docs typoes (#399094).
10605 2007-01-19 Edward Hervey <edward@fluendo.com>
10607 * docs/faq/gst-uninstalled:
10608 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10609 depending on libgstbaseutils can work in uninstalled environment.
10611 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10613 * gst/gsttaglist.h:
10614 * gst/gsttagsetter.c:
10615 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10616 statement for new tag.
10618 2007-01-17 Edward Hervey <edward@fluendo.com>
10620 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10621 When dynamically creating single queues, activate sinkpad before adding
10623 We should be doing the same thing for the source pad, but we can't
10624 since it would call a method which needs the parent to be set in order
10625 to work propertly. Instead of activating the source pad, we just unset
10626 the flushing flag, which is the minimal requirement for adding a pad
10627 to an element in a state greater than READY.
10629 2007-01-17 Edward Hervey <edward@fluendo.com>
10631 * docs/faq/gst-uninstalled:
10632 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10635 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10637 * tests/check/gst/gstabi.c:
10638 * tests/check/gst/struct_hppa.h:
10639 * tests/check/libs/libsabi.c:
10640 * tests/check/libs/struct_hppa.h:
10641 Add ABI structs for HPPA (see #393796).
10643 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10645 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10646 Actually write ABI structs to the file specified in the GST_ABI
10647 environment variable, as the message we print claims we would.
10649 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10651 * tests/check/gst/gsttask.c:
10652 Fix header comment.
10654 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10656 * gst/gsttaglist.c: (_gst_tag_initialize):
10657 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10658 previous two entries.
10660 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10662 * docs/gst/gstreamer-sections.txt:
10663 * gst/gsttaglist.c: (_gst_tag_initialize):
10664 * gst/gsttaglist.h:
10665 Add tag support for beat-per-minute.
10667 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10669 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10670 (gst_registry_binary_initialize_magic),
10671 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10672 (gst_registry_binary_save_pad_template),
10673 (gst_registry_binary_save_feature),
10674 (gst_registry_binary_save_plugin),
10675 (gst_registry_binary_write_cache),
10676 (gst_registry_binary_check_magic),
10677 (gst_registry_binary_load_pad_template),
10678 (gst_registry_binary_load_feature),
10679 (gst_registry_binary_load_plugin),
10680 (gst_registry_binary_read_cache):
10681 * gst/gstregistrybinary.h:
10682 Use glib types, cleanup comments, impement interfaces and uri-types.
10684 2007-01-13 Andy Wingo <wingo@pobox.com>
10686 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10687 getrange() to return buffers with other caps, while we fix
10688 demuxers and typefind, or otherwise change part-negotiation.txt.
10690 2007-01-12 Andy Wingo <wingo@pobox.com>
10692 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10693 Factor start/stop into this private function instead of partially
10694 in activate functions and partially in the change_state function.
10695 Fixes setup before the element has changed from READY->PAUSED, as
10696 is the case in pull-mode pipelines.
10697 (gst_base_transform_sink_activate_push)
10698 (gst_base_transform_src_activate_pull): Refactor to use
10699 gst_base_transform_activate().
10700 (gst_base_transform_change_state): Removed, not needed any more.
10702 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10703 Truncate before fixating.
10705 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10706 Don't set_caps() if the result of fixating is ANY, as it's not
10707 supported, and not necessary in the case of a link with no
10708 template caps on either side. Fixes tests/check/libs/basesrc in
10709 some pull-mode tests.
10711 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10712 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10713 (gst_base_transform_src_activate_pull):
10714 Track the activation mode.
10715 (gst_base_transform_setcaps): In pull mode, when activating the
10716 src pad, after activating the sink pad, activate the sink pad's
10717 peer, as discussed in part-negotiation.txt.
10719 * libs/gst/base/gstbasesrc.h:
10720 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10721 vmethod, as in basesink.
10723 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10725 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10726 mode, first proxy the setcaps to the peer pad.
10727 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10728 new fixate vmethod.
10729 (gst_base_sink_default_activate_pull): Rename from
10730 gst_base_sink_activate_pull.
10731 (gst_base_sink_negotiate_pull): New function, performs negotiation
10732 in pull mode before calling ::activate_pull().
10733 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10734 vmethod instead of the default implementation. I have no idea how
10735 this worked before. Negotiate before calling activate_pull.
10737 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10738 sink pads in pull mode. In addition to being correct, fixes
10739 filesrc ! decodebin ! identity ! fakesink.
10740 (gst_pad_get_range, gst_pad_pull_range): Don't call
10741 gst_pad_set_caps() if the caps changes; instead error out with
10742 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10744 2007-01-12 Andy Wingo <wingo@pobox.com>
10746 * docs/design/part-negotiation.txt: Update with more policy.
10748 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10750 * libs/gst/check/gstbufferstraw.h:
10751 * libs/gst/check/gstcheck.h:
10752 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10755 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10757 * tests/check/Makefile.am:
10758 * tests/check/gst/.cvsignore:
10759 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10760 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10761 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10762 (GST_START_TEST), (gst_tag_setter_suite):
10763 Add minimal unit test for beforementioned GstTagSetter bug.
10765 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10767 Patch by: René Stadler <mail at renestadler dot de>
10769 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10770 gst_tag_list_merge() returns a new list, so it's not the best idea
10771 to ingore its return value. Effectively meant that tags could only
10772 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10773 Also add function guard to require a non-NULL taglist as input (has
10774 always been so due to gst_tag_list_copy(), just making it explicit).
10776 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10778 * docs/random/draft-missing-plugins.txt:
10779 Some additions: mention new API that is supposed to be used at the
10780 various stages; short blob about new gst-inspect introspection
10781 option; mention potential future problem with plugins that have
10782 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10784 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10786 * tools/gst-inspect.c:
10787 (print_plugin_automatic_install_info_codecs),
10788 (print_plugin_automatic_install_info_protocols),
10789 (print_plugin_automatic_install_info), (main):
10790 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10791 introspect plugin files and get machine-parsable output that corresponds
10792 to the last bit of the missing-plugin installer string (small gotcha:
10793 doesn't take into account ranks).
10795 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10798 * docs/gst/gstreamer-sections.txt:
10800 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10801 (gst_registry_lookup_locked):
10802 * gst/gstregistry.h:
10803 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10804 (gst_registry_binary_initialize_magic),
10805 (gst_registry_binary_save_string),
10806 (gst_registry_binary_save_pad_template),
10807 (gst_registry_binary_save_feature),
10808 (gst_registry_binary_save_plugin),
10809 (gst_registry_binary_write_cache),
10810 (gst_registry_binary_check_magic),
10811 (gst_registry_binary_load_pad_template),
10812 (gst_registry_binary_load_feature),
10813 (gst_registry_binary_load_plugin),
10814 (gst_registry_binary_read_cache):
10815 * gst/gstregistrybinary.h:
10816 * gst/gstregistryxml.c: (load_feature),
10817 (gst_registry_xml_read_cache):
10818 commit binary registry (disabled by default, see #359653)
10820 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10822 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10823 Fix 'make check' too.
10825 2007-01-10 Andy Wingo <wingo@pobox.com>
10827 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10830 * docs/design/part-negotiation.txt: Update with, um, one way that
10831 pull-mode negotiation might work?
10834 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10835 that the pad must be a src pad; makes sense to call it the other
10836 way in pull mode, and the logic is symmetric anyway.
10838 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10840 * plugins/elements/gstfilesink.c:
10841 Include <stdio.h> for fseeko().
10843 2007-01-10 Wim Taymans <wim@fluendo.com>
10847 Reserve LATENCY event.
10849 2007-01-09 Wim Taymans <wim@fluendo.com>
10851 * docs/design/draft-latency.txt:
10854 2007-01-09 Wim Taymans <wim@fluendo.com>
10856 * docs/design/draft-latency.txt:
10859 * gst/gstelement.h:
10860 * gst/gststructure.c:
10864 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10866 * tests/check/.cvsignore:
10867 Ignore test-registry.xml as well.
10869 2007-01-09 Wim Taymans <wim@fluendo.com>
10871 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10872 unref data at the end when we are done with the pad.
10874 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10876 * docs/gst/gstreamer-sections.txt:
10877 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10878 (init_post), (gst_deinit), (gst_update_registry):
10880 API: add gst_update_registry() (#391296).
10882 * tests/check/Makefile.am:
10883 * tests/check/gst/gstregistry.c:
10884 * tests/check/gst/.cvsignore:
10885 Simple unit test for the above.
10887 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10889 * gst/gstregistry.c: (gst_registry_scan_path_level):
10890 Plugin extension on HP-UX is .sl, add that to the list of approved
10891 plugin extensions (see #393796).
10893 * tests/check/gst/gstpad.c: (GST_START_TEST):
10894 ulong => gulong. Fixes compilation with HP-UX compiler.
10896 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10897 Fix compilation if valgrind headers are not available.
10899 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10901 * win32/common/libgstreamer.def:
10902 Add new exported function.
10903 * win32/vs6/libgstbase.dsp:
10904 Add gstdataqueue.c to the build.
10905 * win32/vs6/libgstcoreelements.dsp:
10906 Add gstmultiqueue.c to the build.
10908 2007-01-06 Andy Wingo <wingo@pobox.com>
10910 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10911 activate_pull(), providing for a way to specialize the process of
10912 spawning a thread to pull on the sink pad. There is a default
10915 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10916 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10917 (gst_base_sink_init): Renamed pad activation functions (inserting
10918 "_pad" in their names). Refactor to use the new activate_pull
10919 vmethod, as appropriate.
10920 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10921 default activate_pull function to start a task pulling from the
10922 sink pad, as before.
10924 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10925 on the pads if necessary, as in push()/chain(). Update docs.
10926 Shouldn't affect existing pull() usage as it is currently only
10927 being used on buffers without caps.
10929 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10931 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10933 Call g_thread_init() first thing in gst_init() / gst_check_init().
10934 When initialisation is done via gst_init_get_option_group() and
10935 GOption parsing, issue a warning if the GLib thread system has not
10936 been initialised yet by the time gst_init_get_option_group() is
10937 called, as it's quite likely other GLib functions such as
10938 g_option_context_new() have been called already then, and
10939 g_thread_init() must be called before any other GLib function. The
10940 application in question must be fixed in that case, since memory
10941 corruption might happen otherwise.
10942 We issue the warning because even if the GLib folks decide to work
10943 around the problem on their end in future, this is still an issue
10944 with all GLib versions >= 2.10.0, so we should warn until we depend
10945 on a GLib version we know to be safe.
10946 Update documentation as well.
10947 Closes bug #391278.
10949 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10951 * tools/gst-inspect.c: (main):
10952 * tools/gst-launch.c: (main):
10953 * tools/gst-typefind.c: (main):
10954 * tools/gst-xmlinspect.c: (main):
10955 Call g_thread_init() really really early, before any other GLib
10956 function (see #342564 and recent discussion on gtk-devel-list).
10958 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10960 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10962 * gst/gst_private.h:
10963 * gst/gstconfig.h.in:
10965 On win32, all the __declspec stuff for symbol exporting is
10966 apparently only needed with MSVC, but doesn't work with MingW.
10967 Fixes compilation with MingW and #391909.
10969 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10971 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10972 Change some GST_ERROR_OBJECT that aren't really errors to
10973 GST_WARNING_OBJECT in order to reduce terminal spam.
10975 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10977 * tests/check/Makefile.am:
10978 disable test again, as there seem to be still race problems
10980 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10982 * tests/check/Makefile.am:
10983 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10984 (GST_START_TEST), (queue_suite):
10985 enable queue test again, add tests for the leaky behaviour
10987 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10990 * tests/examples/Makefile.am:
10991 Compile adapter test/example only if the required headers are
10992 available (fixes #391915).
10994 2007-01-01 David Schleef <ds@schleef.org>
10997 Restore the previous signal handler for SIGSEGV instead of
10998 setting to default, since we may have stolen it away from
10999 someone. (i.e., Mono)
11001 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11003 * docs/random/draft-missing-plugins.txt:
11004 Some small additions and clarifications.
11006 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
11008 * gst/gstregistryxml.c: (gst_registry_save_escaped):
11009 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11010 since that can lead to random memory corruptions and crashes
11011 (may or may not be related to #383244, #386711, and #386711).
11013 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11015 * tests/check/.cvsignore:
11016 * tests/check/Makefile.am:
11017 sync .cvsignome and CLEANFILES
11019 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11021 * tests/check/Makefile.am:
11024 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11026 * docs/design/part-states.txt:
11027 two tiny additional comments
11029 * gst/gststructure.c:
11032 * tests/check/Makefile.am:
11033 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11035 disable test for now, unless it gets fixed
11037 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11039 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11041 fix race in underrun test
11043 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11045 * tests/check/elements/.cvsignore:
11048 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11050 try to narrow test failure
11052 2006-12-21 David Schleef <ds@schleef.org>
11054 * plugins/elements/gstfakesrc.c:
11055 Use g_random_int_range(), since it produces better random
11056 numbers in a range than almost-correct floating point code.
11058 2006-12-21 Stefan Kost <ensonic@users.sf.net>
11060 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11061 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11062 (gst_check_teardown_sink_pad):
11063 do not automatically (de)activate pads
11065 * tests/check/Makefile.am:
11066 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11067 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11068 add new, yet simple tests for queue
11070 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11071 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11072 * tests/check/elements/filesrc.c: (cleanup_filesrc),
11074 * tests/check/elements/identity.c: (cleanup_identity):
11075 consistent pad (de)activation
11077 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
11079 Patch by: Sebastian Dröge <slomo ubuntu com>
11081 * libs/gst/base/gstcollectpads.c:
11082 Fix two doc typos (#387866).
11084 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11086 * docs/manual/advanced-dparams.xml:
11087 Fix typo (g_object_control_properties() doesn't exist).
11089 2006-12-19 Edward Hervey <edward@fluendo.com>
11091 * gst/gstsegment.c: (gst_segment_set_seek):
11092 Fine tune the cases where the segment start/stop values are really
11094 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11095 Add tests for the return values of gst_segment_set_seek().
11097 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
11102 * plugins/elements/gstqueue.c: (gst_queue_class_init),
11104 Fix incorrect documentation and flesh it out a bit more.
11105 Set default values for the max properties on the GParamSpec as well,
11106 so it shows up correctly in gst-inspect.
11108 2006-12-18 Stefan Kost <ensonic@users.sf.net>
11110 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11111 Correct docs of queue, add more detail and crosslink it more.
11113 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11115 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11116 Print additional debug info when the stream isn't perfectly
11117 timestamped; don't try to use invalid durations.
11119 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
11121 * docs/design/Makefile.am:
11122 Dist new design docs.
11124 2006-12-16 Wim Taymans <wim@fluendo.com>
11126 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11128 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11129 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11130 (gst_collect_pads_stop), (gst_collect_pads_event),
11131 (gst_collect_pads_chain):
11132 * libs/gst/base/gstcollectpads.h:
11133 Add refcounting to the collectpads data so we can track when it's safe
11134 to free the data. Fixes #383382.
11136 2006-12-15 Wim Taymans <wim@fluendo.com>
11138 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11139 (gst_collect_pads_remove_pad):
11140 Automatically activate/deactivate pads when they are added to a
11141 started/stoped collectpads.
11143 2006-12-15 Wim Taymans <wim@fluendo.com>
11145 * gst/gstelement.c: (gst_element_add_pad):
11146 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11147 * gst/gstpad.c: (gst_pad_init):
11148 Set pads to FLUSHING when they are created. Check, warn and fix when a
11149 demuxer adds an inactive pad to itself when running. Fixes #339326.
11151 2006-12-15 Wim Taymans <wim@fluendo.com>
11153 * gst/gstelement.c: (gst_element_class_init),
11154 (gst_element_default_send_event), (gst_element_send_event),
11155 (gst_element_default_query), (gst_element_query):
11156 Expose default element send_event and query handling as vmethods that
11157 subclasses can chain up to.
11159 2006-12-15 Wim Taymans <wim@fluendo.com>
11161 * gst/gstelement.c: (gst_element_set_state_func):
11162 Small documentation fixes.
11164 2006-12-15 Wim Taymans <wim@fluendo.com>
11166 * docs/design/draft-latency.txt:
11167 Checked in draft for handling latency in pipelines.
11169 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11173 * gstreamer.spec.in:
11176 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11178 * gst/gst.c: (init_pre), (init_post):
11179 init_pre() and init_post() might be called via our GOptionGroup or
11180 from gst_init(), and we should skip both of them if we've already
11181 been initialised, otherwise we will init some things twice or add
11182 two default log functions.
11184 2006-12-13 Edward Hervey <edward@fluendo.com>
11186 * docs/manual/basics-bus.xml:
11187 No, gst_main_loop does not exist. Its g_main_loop.
11188 Discovered by somebody who abused the copy-paste technique of coding :)
11190 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11192 * gst/gstghostpad.c:
11193 Log ghostpad debug stuff to the GST_PADS category as well rather
11194 than just to the default category.
11196 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11199 * gst/gst.c: (init_pre):
11200 Add some basic system details such as OS and architecture
11201 to the debug output if possible, courtesy of uname().
11203 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11205 * docs/gst/running.xml:
11206 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11207 environment variables.
11209 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11211 * tests/check/gst/gstbin.c: (GST_START_TEST):
11212 It is acceptable to have a refcount of 2 or 3 at this point in the
11213 test, because the pipeline might be just posting its state_change
11214 message. The next line then waits for that message to appear using
11215 bus_poll, so that should be fine too.
11217 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11219 * gst/gst.c: (ensure_current_registry_forking):
11220 Ignore EINTR when reading from the child registry pipe.
11221 Explicitly ignore the return value from close, since it makes no
11224 * gst/gstminiobject.c: (gst_mini_object_ref),
11225 (gst_mini_object_unref):
11226 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11228 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11229 When removing cached plugins, remove their features too, so they're
11230 not visible after they've disappeared.
11232 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11233 In the unlikely case that we are linking pads with no parents, don't
11234 crash trying to get the non-existent parent bin.
11236 * gst/parse/grammar.y:
11237 Output debug in the PIPELINE category
11239 2005-03-08 Wim Taymans <wim@fluendo.com>
11241 Patch by: René Stadler <mail at renestadler dot de>
11243 * gst/gstclock.c: (gst_clock_new_periodic_id):
11244 Reject invalid clock times for interval of periodic ids.
11247 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11249 * gst/gstelementfactory.c: (gst_element_factory_create):
11250 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11251 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11252 * tools/gst-inspect.c: (print_element_info):
11253 Fix refcounting of gst_plugin_feature_load to match the docs.
11256 2006-12-07 Wim Taymans <wim@fluendo.com>
11258 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11259 (gst_base_sink_get_position):
11260 Improve debugging of events.
11262 2006-12-07 Wim Taymans <wim@fluendo.com>
11264 Patch by: René Stadler <mail at renestadler dot de>
11266 * gst/gstclock.c: (gst_clock_id_wait):
11267 Make period ids add the interval to the origial requested time instead
11268 of the possibly updated time which can be wrong when there are multiple
11269 waiters for the same id. Fixes #382592.
11271 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11272 (gst_system_clock_id_wait_jitter_unlocked),
11273 (gst_system_clock_id_wait_jitter):
11274 Fix restart in the async notify thread when an async entry is added to
11275 the front of the list. Fixes #381492.
11277 * tests/check/gst/gstsystemclock.c: (store_callback),
11278 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11279 Added test for multiple async waits.
11280 Added test for async wait order.
11282 2006-12-07 Wim Taymans <wim@fluendo.com>
11284 * gst/gstbin.c: (gst_bin_query):
11285 Add some more docs about the POSITION query.
11287 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11290 Bump version nano - back to CVS.
11292 === release 0.10.11 ===
11294 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11297 releasing 0.10.11, "Love never runs on time"
11299 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11301 * win32/common/libgstbase.def:
11302 * win32/common/libgstreamer.def:
11303 * win32/vs8/libgstbase.vcproj:
11304 * win32/vs8/libgstcoreelements.vcproj:
11305 * win32/vs8/libgstreamer.vcproj:
11306 Fix compilation on win32 under VS8
11307 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11308 Partially fixes #381175
11310 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11312 * gst/gstvalue.c: (gst_value_compare_fraction):
11313 If someone is foolish enough to compare 2 fractions with denominator =
11314 0, return UNORDERED rather than aborting.
11316 2006-11-28 Edward Hervey <edward@fluendo.com>
11318 * libs/gst/base/Makefile.am:
11319 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11320 (gst_data_queue_base_init), (gst_data_queue_class_init),
11321 (gst_data_queue_init), (gst_data_queue_new),
11322 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11323 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11324 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11325 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11326 (gst_data_queue_set_flushing), (gst_data_queue_push),
11327 (gst_data_queue_pop), (gst_data_queue_drop_head),
11328 (gst_data_queue_set_property), (gst_data_queue_get_property):
11329 * libs/gst/base/gstdataqueue.h:
11330 New GstDataQueue object for threadsafe queueing. Most useful for
11331 elements that need some queueing functionnality.
11332 * docs/libs/gstreamer-libs-docs.sgml:
11333 * docs/libs/gstreamer-libs-sections.txt:
11334 Insert documentation for GstDataQueue
11335 * plugins/elements/Makefile.am:
11336 * plugins/elements/gstelements.c:
11337 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11338 (gst_multi_queue_class_init), (gst_multi_queue_init),
11339 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11340 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11341 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11342 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11343 (gst_multi_queue_loop), (gst_multi_queue_chain),
11344 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11345 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11346 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11347 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11348 (wake_up_next_non_linked), (compute_next_non_linked),
11349 (single_queue_overrun_cb), (single_queue_underrun_cb),
11350 (single_queue_check_full), (gst_single_queue_new):
11351 * plugins/elements/gstmultiqueue.h:
11352 New multiqueue element, using GstDataQueue. Used for queuing multiple
11354 Closes #344639 and #347785
11356 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11358 * docs/pwg/advanced-types.xml:
11359 add more missing type details
11361 * tools/gst-run.c: (main):
11362 remove unused variable
11364 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11366 * docs/libs/Makefile.am:
11367 * docs/libs/gstreamer-libs.types:
11368 add types of base classes to enable gobject specific stuff in the docs
11370 * docs/random/ensonic/embedded.txt:
11371 more ideas about isolating platform specific things
11373 2006-11-20 Wim Taymans <wim@fluendo.com>
11375 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11377 * libs/gst/check/gstcheck.h:
11378 Fix compilation and running against 0.9.4. Fixes #377332.
11380 2006-11-20 Wim Taymans <wim@fluendo.com>
11382 * gst/gstsegment.c: (gst_segment_set_seek),
11383 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11384 (gst_segment_to_running_time):
11385 Fix boundary checking in to_running_time() and to_stream_time().
11388 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11389 stream and running time can now be calculated for the complete
11392 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11394 * gst/gstpad.c: (gst_pad_push_event):
11395 Can't access event structure after giving away ownership of
11398 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11400 * docs/random/ensonic/embedded.txt:
11401 * docs/random/ensonic/profiling.txt:
11402 * docs/random/ensonic/receipies.txt:
11405 2006-11-13 Wim Taymans <wim@fluendo.com>
11407 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11410 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11412 2006-11-13 Wim Taymans <wim@fluendo.com>
11414 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11416 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11417 Store new length in segment duration so we don't keep on calling the
11418 potentially expensize get_size() call. Fixes #370865.
11420 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11422 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11424 * win32/common/libgstreamer.def:
11425 Add two missing symbols (#366492).
11427 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11429 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11430 (gst_adapter_take_buffer):
11431 Fix format string to use all its arguments.
11432 Remove useless >= check on a guint
11434 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11436 * tests/examples/adapter/.cvsignore:
11437 Ignore build file as commanded by the build-bot
11439 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11441 * tests/examples/adapter/Makefile.am:
11442 * tests/examples/adapter/adapter_test.c: (run_test_take),
11443 (run_test_take_buffer), (run_tests), (main):
11445 Add new files from the previous commit
11447 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11451 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11452 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11453 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11454 * libs/gst/base/gstadapter.h:
11455 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11456 (GST_START_TEST), (gst_adapter_suite):
11457 * tests/examples/Makefile.am:
11458 Do some optimisation work in GstAdapter to avoid copies in more cases.
11459 It could still do slightly better by merging buffers when
11460 gst_buffer_is_span_fast is true, but is already faster.
11462 Also, avoid traversing a single-linked list to append each incoming
11463 buffer inside the adapter.
11465 Add simple test app that times the adapter behaviour in different
11466 situations, and extend the unit test to check that bytes enter and
11467 exit the adapter in their original order.
11469 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11471 * docs/random/draft-missing-plugins.txt:
11472 Update: use element message instead of adding a new message
11473 type to the core; don't provide GStreamer API to initiate the
11474 plugin download, just provide API to compose the strings needed
11475 and let an external libgimmestuff handle the rest.
11477 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11479 * tools/gst-inspect.c: (print_element_properties_info):
11480 Print a string instead of 'unknown type' for GValueArray properties
11482 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11484 * docs/random/draft-missing-plugins.txt:
11487 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11489 * tests/examples/typefind/typefind.c: (type_found), (main):
11490 Make typefind element example work again (#371894); add a
11493 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11495 * docs/random/draft-missing-plugins.txt:
11496 Commit initial draft about how to deal with missing plugins,
11497 needs work (API too).
11499 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11501 * docs/pwg/advanced-types.xml:
11502 documents the new caps elements (see #363118)
11504 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11506 * gst/gstplugin.c: (gst_plugin_load_file):
11507 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11508 (gst_file_src_map_region), (gst_file_src_start):
11509 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11510 (gst_file_index_commit):
11511 Use g_strerror() instead of strerror() - we want UTF-8.
11513 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11515 Patch by: Peter Kjellerstedt <pkj at axis com>
11517 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11518 Another printf fix (#371493).
11520 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11522 * tests/check/gst/gsttag.c:
11523 relicence (okay with author=company)
11525 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11527 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11528 (gst_pad_push_event):
11529 Enhance debug and improve docs
11534 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11536 * docs/random/ensonic/distributed.txt:
11537 * docs/random/ensonic/profiling.txt:
11540 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11542 * docs/gst/gstreamer-sections.txt:
11543 add new API and fix the build
11545 * gst/gstbin.c: (gst_bin_recalc_state):
11546 * gst/gstelement.c: (gst_element_message_full),
11547 (gst_element_get_state_func), (gst_element_set_state_func):
11548 use new API and improve logging
11550 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11552 API: add function to get StateChangereturn names to improve logs
11554 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11556 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11557 I'm considering shooting the next person to put strerror stuff
11558 in the translateable part of the message.
11560 2006-11-03 Wim Taymans <wim@fluendo.com>
11562 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11563 Get the type and printf conversion specifiers right.
11565 2006-11-03 Wim Taymans <wim@fluendo.com>
11567 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11569 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11570 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11571 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11572 Some small cleanups. Improve debugging.
11574 Signal all waiting threads with a broadcast instead of just one.
11577 2006-11-03 Wim Taymans <wim@fluendo.com>
11579 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11580 (gst_fd_src_create):
11581 Add some debugging.
11582 Only update fd when it's different from the old.
11584 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11586 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11587 Printf fixes for PPC/OSX, take two (#369366).
11589 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11591 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11593 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11594 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11595 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11596 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11597 don't cast to long long for portability reasons, but use
11598 GLib's types instead.
11600 2006-10-30 Michael Smith <msmith@fluendo.com>
11602 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11603 Get the arguments to lseek() the right way around.
11606 2006-10-30 Wim Taymans <wim@fluendo.com>
11608 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11611 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11613 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11615 Patch by: Kjartan Maraas <kmaraas at gnome org>
11617 * docs/design/part-MT-refcounting.txt:
11618 * docs/random/wtay/capsnego2-docs:
11621 Typo fixes (#366212).
11623 2006-10-28 Wim Taymans <wim@fluendo.com>
11625 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11628 * win32/common/libgstbase.def:
11629 * win32/common/libgstreamer.def:
11630 * win32/vs8/libgstbase.vcproj:
11631 * win32/vs8/libgstcontroller.vcproj:
11632 Add needed entries in .def files.
11634 Rearrange def files in vs8 solutions. Fixes #366286.
11636 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11638 * win32/common/gstconfig.h:
11639 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11640 hand-made win32 gstconfig.h. Fixes #366321.
11642 2006-10-27 Wim Taymans <wim@fluendo.com>
11644 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11645 (gst_ghost_pad_new_full):
11646 Make acceptcaps return TRUE when we don't have a target, just like
11649 2006-10-27 Wim Taymans <wim@fluendo.com>
11651 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11652 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11654 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11656 * gst/gststructure.c: (gst_structure_id_set_value):
11657 If someone tries to set a non-UTF8 string field on a structure,
11658 don't just print a warning, but also ignore the request and do
11659 not change/add that field to the structure.
11661 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11662 Test for the above.
11664 2006-10-25 David Schleef <ds@schleef.org>
11667 g_hash_table_insert() needs a cast to a non-const pointer duh.
11669 2006-10-25 David Schleef <ds@schleef.org>
11673 Change name parameter of _gst_debug_register_funcptr to const
11674 to reflect the constness of its use in the function as well
11675 as to quiet a gcc warning.
11677 2006-10-25 Edward Hervey <edward@fluendo.com>
11679 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11680 Don't push the buffer if it's empty.
11683 2006-10-24 Wim Taymans <wim@fluendo.com>
11688 * libs/gst/base/gstbasetransform.c:
11689 (gst_base_transform_sink_eventfunc):
11690 Debug segment values *after* updating them as this is more
11693 2006-10-23 Wim Taymans <wim@fluendo.com>
11695 * docs/design/part-events.txt:
11698 * docs/design/part-block.txt:
11699 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11700 (gst_pad_push_event):
11701 Revert BLOCKING patch, it tries to be smart without really having a
11702 clear idea what or how. So, now we discard all FLUSHING events again on
11703 a blocking pad. Should fix gnonlin again.
11705 2006-10-23 Wim Taymans <wim@fluendo.com>
11707 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11709 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11710 (gst_base_src_start), (gst_base_src_activate_push):
11711 Make sure size is always initialized. Fixes #364388.
11713 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11715 * docs/random/ensonic/distributed.txt:
11716 add some ideas about doing distributed processing
11718 * docs/random/ensonic/profiling.txt:
11719 get_rusage look promising
11721 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11723 * docs/manual/basics-helloworld.xml:
11724 Add a cast in example to fix compile warning
11726 2006-10-18 Wim Taymans <wim@fluendo.com>
11728 * gst/gstsegment.c: (gst_segment_set_last_stop),
11729 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11730 Relax arg checking again, -1 is allowed.
11732 2006-10-18 Wim Taymans <wim@fluendo.com>
11734 * gst/gstsegment.c: (gst_segment_set_last_stop),
11735 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11736 _set_last_stop() must be with a value != -1
11737 A _TYPE_SET to -1 means seek to 0.
11738 Calc last_stop correctly for negative rates.
11739 Make sure we work with positive durations when updating a segment.
11741 2006-10-18 Wim Taymans <wim@fluendo.com>
11743 * docs/design/part-live-source.txt:
11747 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11750 Add an explicit cast to GstBuffer** to keep old code that added an
11751 explicit cast to GstMiniObject** for gst_mini_object_replace()
11752 compiling without warning.
11754 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11756 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11757 check for validity of dates
11759 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11761 * docs/gst/gstreamer-sections.txt:
11762 Forgot this one, makes gtk-doc shut up.
11764 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11766 Patch by: Peter Kjellerstedt <pkj at axis com>
11769 Don't define xmlNodePtr to gpointer if the core was built with
11770 --disable-loadsave and --disable-registry, this will break
11771 applications that want to use libxml2 but are buildling against a
11772 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11773 instead so we don't have to mess with the libxml2 namespace
11776 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11779 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11780 type-punned pointer warnings.
11782 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11784 * gst/gstelement.h:
11785 Add casts to the correct return type to state <=> state transition
11788 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11790 * docs/design/part-live-source.txt:
11791 describe howto handle latency
11793 * docs/random/ensonic/profiling.txt:
11796 * tools/gst-plot-timeline.py:
11797 fix log parsing for solaris, remove unused function
11799 2006-10-16 Wim Taymans <wim@fluendo.com>
11801 * docs/design/part-trickmodes.txt:
11803 Update some docs regarding reverse playback.
11805 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11807 Patch by: Marcus Granado <mrc dot gran at gmail com>
11809 * win32/vs8/grammar.vcproj:
11810 Error out with a warning if glib-genmarshal.exe is not in path,
11811 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11813 2006-10-13 Wim Taymans <wim@fluendo.com>
11815 * gst/gstsegment.c: (gst_segment_set_seek):
11816 When seeking to stop -1, set last_stop (current position) to the
11817 duration of the segment.
11819 2006-10-13 Wim Taymans <wim@fluendo.com>
11821 * gst/gstelement.h:
11822 Clarify _NO_PREROLL a bit more.
11827 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11828 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11829 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11830 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11831 due to wrong locking order. Fixes #361769.
11832 Remove some redundant/misplaced checks in pad_block.
11834 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11835 For negative rates, count backwards from the duration.
11837 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11839 * gst/gsterror.c: (_gst_library_errors_init):
11840 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11841 up with something better).
11843 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11845 * win32/vs6/libgstreamer.dsp:
11846 * win32/vs7/libgstreamer.vcproj:
11847 * win32/vs8/libgstreamer.vcproj:
11848 Don't reference glib-compat.c which is currently not used and not
11849 disted; add gstquark.c which was recently added. Fixes #361730.
11851 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11853 * win32/common/libgstbase.def:
11854 * win32/common/libgstcontroller.def:
11855 * win32/common/libgstreamer.def:
11856 Add gst_caps_merge() and a bunch of other recently-added functions.
11859 2006-10-11 Wim Taymans <wim@fluendo.com>
11861 * docs/plugins/gstreamer-plugins.args:
11862 * docs/plugins/inspect/plugin-coreelements.xml:
11863 * docs/plugins/inspect/plugin-coreindexers.xml:
11864 Update element args.
11866 * gst/gstsystemclock.c:
11867 Small comment update.
11869 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11870 (gst_tee_request_new_pad), (gst_tee_release_pad),
11871 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11872 (gst_tee_sink_activate_pull):
11873 * plugins/elements/gsttee.h:
11875 Add default property defines.
11876 Implement release pad function.
11877 Give properties better blubs etc.
11878 Activate pads before adding them to a running tee.
11879 Do simple buffer_alloc on the first requested pad.
11880 Post error when activation fails.
11882 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11884 * gst/gst.c: (ensure_current_registry_forking):
11885 Check return value of write() to make compiler happy.
11887 2006-10-11 Wim Taymans <wim@fluendo.com>
11889 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11891 * plugins/elements/gstqueue.c: (gst_queue_chain):
11892 Recheck queue filledness after signalling the overrun when we're about
11893 to leak downstream because we released the lock when emitting the signal
11894 and the queue could be empty again. Fixes #352345.
11896 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11898 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11899 Fix refcounting here too, just like we did for _new_valist() a few
11900 days ago (#357180) (thanks to René Stadler). Also remove all those
11901 'Since: 0.9' from the gtk-doc blobs.
11903 * tests/check/libs/controller.c: (controller_refcount_new_list),
11904 (gst_controller_suite):
11905 Unit test for the above.
11907 2006-10-10 Wim Taymans <wim@fluendo.com>
11909 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11911 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11912 (gst_pad_save_thyself):
11914 Write pad direction in XML output. Fixes #345496.
11916 2006-10-10 Wim Taymans <wim@fluendo.com>
11918 Patch by: René Stadler <mail at renestadler dot de>
11920 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11921 (gst_controller_new_list), (_gst_controller_dispose),
11922 (_gst_controller_finalize), (_gst_controller_class_init):
11923 Take ref to controlled object so that it cannot disappear.
11926 2006-10-10 Wim Taymans <wim@fluendo.com>
11928 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11929 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11930 (gst_check_teardown_sink_pad):
11931 Activate/deactivate pads in setup/teardown respectively.
11933 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11935 Patch by: Josep Torra Valles <josep@fluendo.com>
11938 Cast values when making gstenumtypes.h. This pacifies Forte
11939 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11940 in the enumeration.
11942 2006-10-09 Wim Taymans <wim@fluendo.com>
11944 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11945 Rename some more @cur to @start to fix docs.
11947 * gst/gstsegment.c: (gst_segment_set_seek):
11949 time and start must always stay in sync as defined in design doc.
11951 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11952 Rename param to fix docs.
11954 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11955 Check that start and time are in sync.
11957 * tests/check/pipelines/parse-launch.c:
11958 (gst_parse_test_element_change_state):
11959 Activate pad before adding to the element.
11961 2006-10-09 Wim Taymans <wim@fluendo.com>
11963 * docs/design/part-qos.txt:
11968 Update seek event docs regarding negative rates.
11969 Rename @cur to @start.
11971 * gst/gstsegment.c: (gst_segment_set_seek):
11972 * gst/gstsegment.h:
11973 Update set_seek docs regarding negative rates.
11974 Correctly update last_stop to @stop when dealing with negative
11976 Rename @cur to @start.
11978 * tests/check/gst/gstpad.c: (GST_START_TEST):
11979 Activate pads before trying to use them.
11981 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11982 (gst_segment_suite):
11983 Add simple check for segments and negative rates.
11985 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11987 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11988 * gst/gsttaglist.h:
11989 * docs/gst/gstreamer-sections.txt:
11990 API: add gst_tag_list_is_empty() (#360467).
11992 * tests/check/gst/gsttag.c: (GST_START_TEST):
11995 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11997 * gst/gstmessage.h:
11998 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11999 a value that doesn't fit on enumeration.
12001 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12003 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12004 Remove local debugging system and use Gstreamer's instead.
12006 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12008 Patch by: Josep Torra Valles <josep@fluendo.com>
12010 * common/m4/gst-error.m4:
12011 Disable warning of statement not reached on Forte.
12012 * gst/gstmessage.h:
12013 Fix warning on Forte (value doesn't fit on enumeration).
12014 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12015 Fix warning on Forte (value doesn't fit on enumeration).
12016 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12017 DEBUG macro says it takes minimum of 2 args and so Forte
12018 complains about the use with just 1 arg.
12019 * plugins/elements/gstfdsink.c:
12020 * plugins/elements/gstfdsrc.c:
12021 * plugins/elements/gstfilesink.c:
12022 * plugins/elements/gstfilesrc.c:
12023 Use correct return type for the uri handler implementations.
12025 All these fix warnings in Forte. Fixes bug #360860.
12027 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
12029 * gst/gstelement.h:
12030 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12031 format string, so don't use G_GNUC_PRINTF for those versions.
12033 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12035 * gst/gsttaglist.c: (gst_is_tag_list):
12036 * gst/gsttaglist.h:
12037 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12039 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12040 Small test for the above.
12042 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
12044 * gst/gsttaglist.h:
12045 Less tabs, more spaces.
12047 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
12050 Those two function declarations do actually belong there, revert
12051 commit from yesterday that turned them intro macros.
12053 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12055 Patch by: Josep Torra Valles <josep@fluendo.com>
12057 * gst/gst.c: (gst_init_get_option_group):
12058 Fix empty declaration and type mismatch.
12059 * gst/gstbin.c: (gst_bin_change_state_func):
12061 * gst/gstelement.c: (gst_element_continue_state),
12062 (gst_element_set_state_func), (gst_element_change_state),
12063 (gst_element_change_state_func):
12064 Fix type mismatches.
12065 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12066 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12067 Cast as appropriate.
12068 * gst/gstobject.c: (gst_class_signal_connect):
12069 Cast as appropriate. The function pointer parameter really
12070 has the wrong type but would break API if we change it.
12072 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12073 order of including string.h.
12074 * gst/gstutils.c: (gst_element_state_get_name):
12075 Remove unreachable line.
12076 * gst/gstxml.c: (gst_xml_parse_doc):
12078 All these caught by Forte.
12080 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12082 Patch by: Josep Torra Valles <josep@fluendo.com>
12084 * common/m4/gst-error.m4:
12086 We need to disable warnings on Forte for empty declarations
12087 due to gst-indent adding ;s to lines that just use macros
12088 where the macro actually doesn't need a ; at end to end
12091 2006-10-06 Wim Taymans <wim@fluendo.com>
12093 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12094 (gst_file_sink_close_file), (gst_file_sink_event),
12095 (gst_file_sink_render):
12096 Add some FIXME for the NEWSEGMENT handling.
12098 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12100 * gst/parse/grammar.y:
12101 Remove static function gst_parse_element_lock as all it does
12102 is return. Looks like cruft from 0.8.
12104 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12106 Patch by: Josep Torra Valles <josep@fluendo.com>
12108 * common/m4/gst-error.m4:
12110 * libs/gst/net/Makefile.am:
12111 Fix a compilation issue with Forte on Solaris. inet_aton is in
12114 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12116 * gst/gstpad.c: (pre_activate):
12117 * gst/gstregistry.c: (gst_registry_scan_path_level):
12118 * gst/gstregistryxml.c: (load_plugin):
12119 * libs/gst/controller/gstcontroller.c:
12120 (gst_controlled_property_set_interpolation_mode):
12121 * libs/gst/dataprotocol/dataprotocol.c:
12122 (gst_dp_packet_from_event_1_0):
12123 * libs/gst/net/gstnetclientclock.c:
12124 (gst_net_client_clock_observe_times):
12125 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12128 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12131 * docs/gst/gstreamer-sections.txt:
12132 * gst/gstconfig.h.in:
12133 * gst/gstelement.h:
12135 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12136 whether we can use G_GNUC_PRINTF in other header files and at
12137 least check the printf format/arguments of debug messages and
12138 GST_ELEMENT_ERROR messages when the printf extension is not
12140 Replace more tabs with spaces in gstinfo.h and remove two spurious
12141 function declarations in GST_DISABLE_DEBUG part with macros.
12143 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12145 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12146 More docs for the sync-message signal (mention that it is not
12147 emitted by default); log message structures of messages posted on
12150 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12152 * gst/gst.c: (ensure_current_registry_forking):
12153 Use a pipe pair to receive status results from the forked child, and
12154 ignore the result from waitpid. Fixes #355499
12156 2006-10-02 Wim Taymans <wim@fluendo.com>
12158 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12159 (gst_ghost_pad_suite):
12162 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12165 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12167 2006-10-02 Edward Hervey <edward@fluendo.com>
12169 * docs/design/part-block.txt:
12170 Further explain the use of flushing on blocked pads.
12171 * docs/gst/gstreamer-sections.txt:
12172 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12173 (gst_pad_push_event):
12175 Added new GstPadFlag : GST_PAD_BLOCKING.
12176 Adds the notion of pads really blocking, which enables to properly
12177 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12179 API: gst_pad_is_blocking()
12180 API: GST_PAD_IS_BLOCKING() macro
12181 API: GST_PAD_BLOCKING GstPadFlag
12183 2006-10-02 Wim Taymans <wim@fluendo.com>
12185 Patch by: mrcgran <mrc.gran at gmail dot com>
12187 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12188 Filter the proxied caps against the padtemplate if we have one.
12190 * gst/gstquery.c: (gst_query_new_segment):
12191 Add include for gstinfo.h so that compilation with
12192 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12194 2006-10-02 Wim Taymans <wim@fluendo.com>
12196 Patch by: Alessandro Decina <alessandro at nnva org>
12198 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12199 (gst_file_sink_set_location), (gst_file_sink_open_file),
12200 (gst_file_sink_close_file), (gst_file_sink_event),
12201 (gst_file_sink_render):
12202 Set file to NULL when closing filesink so that we can set a new filename
12203 in READY. Fixes #358613.
12205 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12207 Patch by: Alessandro Decina <alessandro at nnva org>
12209 * gst/gstevent.c: (_gst_event_copy):
12210 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12211 with event structures by setting the parent refcount address of the
12212 copied structure to the address of the refcount member of the newly
12213 copied event rather than the address of the refcount member of the
12214 original event. Fixes #358737.
12216 * tests/check/gst/gstevent.c: (GST_START_TEST):
12217 Unit test for the above.
12219 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12221 * docs/design/Makefile.am:
12222 Dist some more files.
12224 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12226 * tests/check/libs/controller.c: (GST_START_TEST),
12227 (gst_controller_suite):
12228 Add test for the previous fix; add some more tests
12229 for correct refcounting behaviour; fix a few leaks
12230 in test cases; call gst_controller_init() at start
12233 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12235 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12236 (gst_controller_set_from_list):
12237 Don't g_return_val_if_fail() on timed values with invalid timestamps
12238 inside a critical section without unlocking the mutex. Spotted by
12239 René Stadler. (#357617)
12240 Also, fix up refcounting properly: when returning an existing
12241 controller, we should increase the reference only once and not
12242 once per property and when trying to control a property again
12243 we should also increase the refcount.
12245 2006-09-29 Wim Taymans <wim@fluendo.com>
12247 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12248 * libs/gst/net/gstnettimeprovider.c:
12249 (gst_net_time_provider_thread):
12250 Stop reading commands when EOF as well.
12252 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12253 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12254 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12255 Unify description of the dump property.
12257 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12259 * tests/examples/manual/.cvsignore:
12260 OK, so it's actually cvsignore that needs changing. Stop laughing.
12262 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12264 * tests/examples/manual/Makefile.am:
12265 Gah, declare vars *before* using them
12267 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12269 * gst/gst.c: (init_pre), (scan_and_update_registry),
12270 (ensure_current_registry_nonforking),
12271 (ensure_current_registry_forking), (ensure_current_registry),
12272 (init_post), (gst_debug_help), (gst_deinit):
12273 * gst/gst_private.h:
12274 * gst/gstregistry.c: (gst_registry_finalize),
12275 (gst_registry_remove_features_for_plugin_unlocked),
12276 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12277 (gst_registry_scan_path),
12278 (_priv_gst_registry_remove_cache_plugins),
12279 (_priv_gst_registry_cleanup):
12280 * gst/gstregistry.h:
12281 Re-commit the registry changes, along with an extra fix:
12282 When a cached plugin is encountered at a different file path,
12283 update the stored path in the registry cache so that the parent
12284 process knows where it actually is now when it re-reads the registry
12285 cache. Fixes the thing that broke distcheck with the previous commit.
12287 * tests/check/Makefile.am:
12288 Clean up files named 'core' too when running make clean.
12290 * tests/examples/manual/Makefile.am:
12291 Set up a registry path for running these tests, and clean it properly
12294 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12297 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12298 want gmodule-no-export-2.0.pc instead so that we don't drag in
12299 --export-dynamic on every project that links to GStreamer.
12301 Also, make our export regex only match the start of symbols, rather
12302 than any symbol that contains '_gst' somewhere.
12304 * libs/gst/check/Makefile.am:
12305 The libgstcheck we build does however need export-dynamic, as it
12306 produces some symbols that don't match our _gst... style regex.
12309 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12311 * gst/gst.c: (init_pre), (scan_and_update_registry),
12312 (ensure_current_registry_nonforking),
12313 (ensure_current_registry_forking), (ensure_current_registry),
12314 (init_post), (gst_debug_help), (gst_deinit):
12315 * gst/gst_private.h:
12316 * gst/gstregistry.c: (gst_registry_finalize),
12317 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12318 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12319 (_gst_registry_cleanup):
12320 * gst/gstregistry.h:
12321 Revert previous change until I figure out why it breaks distcheck.
12323 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12325 * gst/gst.c: (init_pre), (scan_and_update_registry),
12326 (ensure_current_registry_nonforking),
12327 (ensure_current_registry_forking), (ensure_current_registry),
12328 (init_post), (gst_debug_help), (gst_deinit):
12330 Make init_pre and init_post take the full complement of GOptionFunc
12331 args so they can return useful GErrors. Make the registry updating
12334 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12335 ensure that the registry we're about to write out doesn't contain
12336 stale information about old-deleted plugin files.
12338 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12339 that deletion of plugin files is considered a registry change.
12341 * gst/gst_private.h:
12342 * gst/gstregistry.c: (gst_registry_finalize),
12343 (gst_registry_remove_features_for_plugin_unlocked),
12344 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12345 (gst_registry_scan_path),
12346 (_priv_gst_registry_remove_cache_plugins),
12347 (_priv_gst_registry_cleanup):
12348 * gst/gstregistry.h:
12349 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12350 by adding _priv prefix, so that they won't appear in the global
12351 symbol table. They still do atm though because of #318031. Move the
12352 prototypes to gst_private.h
12354 When removing a plugin, remove all features for that plugin too.
12357 2006-09-27 Wim Taymans <wim@fluendo.com>
12359 * docs/random/moving-plugins:
12360 Make it clear that the "compiled-in descriptions" really mean
12361 the element details.
12363 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12364 (gst_base_sink_wait_preroll):
12367 * docs/libs/gstreamer-libs-sections.txt:
12368 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12369 (gst_base_src_get_range), (gst_base_src_activate_push):
12370 * libs/gst/base/gstbasesrc.h:
12371 Added function to block while waiting for PLAYING, this function
12372 is used by live sources that block on the clock.
12373 API: gst_base_src_wait_playing()
12375 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12377 Patch by: Peter Kjellerstedt <pkj at axis com>
12380 gst-element-check.m4 is generated and should therefore be
12381 copied from the build dir rather than the source dir (#357593).
12382 'make distcheck' hasn't noticed this because we were disting
12383 the file as well, so stop doing that.
12385 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12387 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12388 Add some tests for gst_caps_intersect().
12390 * tools/gst-launch.c: (event_loop):
12391 Print all buffering percentages we get, even the 100% one.
12393 2006-09-26 Wim Taymans <wim@fluendo.com>
12395 * tools/gst-inspect.c: (print_element_properties_info),
12396 (print_signal_info):
12397 Fix printing of flags to match the look of enums.
12399 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12401 * gst/gstelementfactory.c:
12402 Fix typo in docs blurb.
12404 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12406 * gst/gsturi.c: (search_by_entry):
12407 Don't assert/crash here if a uri handler doesn't return any
12408 supported protocols. The list of protocols could be generated
12409 dynamically at runtime or at plugin registration, and an error
12410 in the underlying library shouldn't be fatal (#353301).
12412 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12415 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12416 (spotted by Peter Kjellerstedt).
12418 2006-09-23 Wim Taymans <wim@fluendo.com>
12420 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12422 * libs/gst/base/gstbasesrc.c:
12423 (gst_base_src_default_check_get_range), (gst_base_src_start),
12424 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12425 (gst_base_src_change_state):
12426 Match _start/_stop calls in the activate functions. Remove redundant
12427 _stop call from the state change function. Fixes #356910.
12428 Turn failure DEBUG into ERROR.
12430 2006-09-22 Wim Taymans <wim@fluendo.com>
12432 * docs/design/part-buffering.txt:
12433 * gst/gstmessage.c: (gst_message_new_buffering),
12434 (gst_message_parse_buffering):
12435 Update docs about buffering.
12437 * docs/design/part-trickmodes.txt:
12440 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12442 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12443 (gst_controller_new_list):
12444 Ref instances when returning them again (fixes #357180)
12446 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12448 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12449 Don't forget to release proxy lock when there's an error.
12451 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12454 Add extra initialisers for Caps things, to fix some plugin warnings
12457 2006-09-18 Wim Taymans <wim@fluendo.com>
12459 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12460 Also set template on the internal pad so that a getcaps from the
12461 target pad returns the template caps.
12463 2006-09-18 Wim Taymans <wim@fluendo.com>
12465 * gst/gstelement.c: (gst_element_post_message),
12466 (gst_element_dispose):
12467 Use _DEBUG_OBJECT some more.
12469 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12472 * tools/gst-launch.c: (main):
12473 If the toplevel element is not a GstPipeline, it must be put in a
12474 pipeline so that a bus and clock is selected.
12476 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12478 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12479 JITTER, RATE, and LATENCY query should be handled by the
12480 default case and not by the CONVERT query code.
12482 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12484 * gst/gstformat.c: (gst_format_register):
12485 Fix locking order (must take lock before using n_values).
12487 * gst/gstvalue.c: (gst_value_serialize_enum),
12488 (gst_value_deserialize_enum_iter_cmp),
12489 (gst_value_deserialize_enum):
12490 Fix serialisation/deserialisation of custom registered GstFormats.
12492 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12493 Unit test for custom format serialisation/deserialisation.
12495 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12497 * docs/pwg/building-boiler.xml:
12498 * plugins/elements/gstcapsfilter.c:
12499 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12502 2006-09-16 Edward Hervey <edward@fluendo.com>
12504 * libs/gst/base/gstbasetransform.c:
12505 (gst_base_transform_buffer_alloc):
12506 Check if requested caps are the same as the sinks caps IF
12507 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12509 This fixes the renegotiation issues stated in #352827.
12511 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12514 * docs/manual/advanced-autoplugging.xml:
12515 * tests/examples/Makefile.am:
12516 * tests/examples/manual/.cvsignore:
12517 * tests/examples/manual/Makefile.am:
12518 * tests/examples/manual/extract.pl:
12519 Extract the manual examples again like we used to do.
12522 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12524 * win32/common/config.h:
12527 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12530 Documents how to receive errors.
12532 2006-09-15 Wim Taymans <wim@fluendo.com>
12534 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12535 (event_loop), (main):
12536 Added some comments here and there.
12537 Post an application message when an interrupt is caught instead of doing
12538 an uncontrolled state change.
12539 Clean up the event loop.
12540 Handle buffering messages, pause/resume the pipeline.
12541 Make shutdown because of an interrupt more reliable.
12543 2006-09-15 Wim Taymans <wim@fluendo.com>
12545 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12546 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12547 (gst_base_sink_preroll_object):
12548 Make sure that our internal state is correct when we commit our state
12549 asynchronously. This solves a race where a state change to PLAYING
12550 could cause the sink to remain blocked in preroll in some situations.
12552 2006-09-15 Wim Taymans <wim@fluendo.com>
12554 * tools/gst-inspect.c: (print_element_properties_info),
12555 (print_signal_info):
12556 List flags as hex so it's easier to deal with.
12558 2006-09-15 Wim Taymans <wim@fluendo.com>
12560 * docs/libs/gstreamer-libs-sections.txt:
12561 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12562 (gst_base_sink_do_sync):
12563 * libs/gst/base/gstbasesink.h:
12564 Expose logic to wait for preroll so that subclasses such as audiosink
12565 can also use this method.
12566 API: gst_base_sink_wait_preroll()
12568 2006-09-15 Wim Taymans <wim@fluendo.com>
12570 * gst/gstobject.c: (gst_object_set_parent):
12571 * gst/gstpipeline.c: (do_pipeline_seek):
12572 Small cleanups in docs and code.
12574 * gst/gstsegment.c: (gst_segment_clip):
12575 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12576 if stop == start and start is in the segment, no clipping should be
12577 done. Also add a test for this.
12579 2006-09-15 Wim Taymans <wim@fluendo.com>
12581 * docs/design/part-buffering.txt:
12582 * docs/gst/gstreamer-sections.txt:
12583 * gst/gstmessage.c: (gst_message_new_buffering),
12584 (gst_message_parse_buffering):
12585 * gst/gstmessage.h:
12586 Added methods to create and parse BUFFERING messages.
12587 Added preliminary docs about buffering.
12588 API: gst_message_new_buffering
12589 API: gst_message_parse_buffering
12591 2006-09-06 Wim Taymans <wim@fluendo.com>
12594 Update documentation.
12596 * gst/gstelement.c: (gst_element_class_init),
12597 (gst_element_release_request_pad), (gst_element_set_clock),
12598 (gst_element_get_index), (gst_element_add_pad),
12599 (gst_element_remove_pad), (gst_element_get_random_pad),
12600 (gst_element_send_event), (gst_element_get_query_types),
12601 (gst_element_query), (gst_element_post_message),
12602 (gst_element_message_full), (gst_element_continue_state),
12603 (gst_element_lost_state), (gst_element_save_thyself),
12604 (gst_element_restore_thyself):
12605 Documentation updates.
12606 Rename last bit of the new-pad -> pad-added signal rename.
12607 Fix the case where an element query would only work if the source
12609 Avoid some useless type checking in message handling.
12614 Documentation updates.
12616 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12618 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12619 add an INFO line for when we actually update the fd
12621 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12626 === release 0.10.10 ===
12628 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12631 releasing 0.10.10, "Pais"
12633 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12635 * docs/manual/advanced-position.xml:
12636 Fix typo in sample code.
12638 2006-09-05 Wim Taymans <wim@fluendo.com>
12640 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12641 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12642 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12643 * libs/gst/net/gstnetclientclock.h:
12644 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12645 * libs/gst/net/gstnettimepacket.h:
12646 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12647 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12648 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12649 * libs/gst/net/gstnettimeprovider.h:
12650 Make stuff compile on windows. Fixes #345295.
12652 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12654 * gst/gst.c: (ensure_current_registry_forking):
12655 Print better details when child was terminated by signal.
12657 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12659 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12660 Print a warning rather than g_assert() if a plugin feature
12661 is a URI handler but returns no protocols (#353976).
12663 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12665 * docs/random/moving-plugins:
12668 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12670 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12671 Fix locking order, handle NULL function values properly.
12676 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12677 Initialise variable before using it and fix debug statement to
12678 print the address of the function rather than the address of the
12679 variable on the stack holding the address of the function.
12681 2006-09-01 Wim Taymans <wim@fluendo.com>
12683 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12684 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12685 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12686 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12687 (gst_ghost_pad_parent_unset),
12688 (gst_ghost_pad_internal_do_activate_push),
12689 (gst_ghost_pad_internal_do_activate_pull),
12690 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12691 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12692 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12693 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12694 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12695 (gst_ghost_pad_new_no_target_from_template),
12696 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12698 Avoid needless typechecking in macros.
12699 Since the internal pad is always present and never changes, there is
12700 no need to locking or ref when retrieving it.
12701 Improve debugging a bit.
12702 Handle link errors when setting the target. Fixes #341029.
12704 2006-09-01 Wim Taymans <wim@fluendo.com>
12706 * docs/libs/gstreamer-libs-sections.txt:
12707 * docs/plugins/gstreamer-plugins-sections.txt:
12708 Fix docs some more.
12710 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12711 (gst_collect_pads_event):
12712 * libs/gst/base/gstcollectpads.h:
12713 Documentation updates.
12714 Free queued buffer when removing a pad.
12716 2006-08-31 Michael Smith <msmith@fluendo.com>
12718 * gst/gstutils.c: (gst_element_link_pads),
12719 (gst_element_link_pads_filtered):
12720 Ensure that we set a capsfilter to NULL if we failed to link it
12721 when doing filtered linking, to avoid criticals.
12723 No need to check for unreffing srcpad, which is explicly NULLed
12724 above (a trivial code cleanup).
12726 2006-08-31 Wim Taymans <wim@fluendo.com>
12728 * docs/design/part-gstghostpad.txt:
12729 Update ascii art in documentation.
12731 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12732 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12733 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12734 (gst_ghost_pad_internal_do_activate_push),
12735 (gst_ghost_pad_internal_do_activate_pull),
12736 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12737 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12738 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12739 (gst_ghost_pad_set_target):
12740 Small cleanups and leak fixes.
12741 Remove some checks now that the internal pad is never NULL.
12742 Fix the case where linking pads without a target would create nasty
12743 criticals. Fixes #341029.
12744 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12745 value of _set_target().
12747 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12748 (gst_ghost_pad_suite):
12749 Some more tests for creating and linking untargeted ghostpads.
12751 2006-08-31 Edward Hervey <edward@fluendo.com>
12753 * docs/gst/gstreamer-sections.txt:
12754 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12755 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12756 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12757 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12758 (gst_ghost_pad_new_from_template),
12759 (gst_ghost_pad_new_no_target_from_template):
12760 * gst/gstghostpad.h:
12761 Refactored *_new() functions.
12762 Templates are now used as a g_object_new() parameter.
12763 Use template in _do_getcaps() if we don't have a target.
12764 Small documentation cleanups.
12765 Added two new constructors:
12766 gst_ghost_pad_new_from_template()
12767 gst_ghost_pad_new_no_target_from_template()
12768 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12769 (gst_ghost_pad_suite):
12770 Added tests for new ghostpad instanciation functions.
12772 API additions: gst_ghost_pad_new_from_template,
12773 gst_ghost_pad_new_no_target_from_template
12775 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12777 * docs/random/ensonic/profiling.txt:
12778 Ideas about qos profiling.
12780 2006-08-29 Wim Taymans <wim@fluendo.com>
12782 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12786 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12789 Improve and detypofy docs.
12791 * tests/check/Makefile.am:
12792 * tests/check/gst/.cvsignore:
12793 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12794 Add a basic test suite for GstXML.
12796 2006-08-29 Wim Taymans <wim@fluendo.com>
12798 * gst/gstelement.c: (activate_pads), (clear_caps),
12799 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12800 Clear the pad caps when the element shut down all of the pads and
12801 is not streaming data that could modify the caps.
12804 2006-08-28 Michael Smith <msmith@fluendo.com>
12806 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12807 Revert previous change; I misunderstood single-segment mode.
12809 2006-08-28 Michael Smith <msmith@fluendo.com>
12811 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12812 Unset DISCONT on buffers when using single-segment mode.
12814 2006-08-28 Wim Taymans <wim@fluendo.com>
12816 * gst/gstcaps.c: (gst_caps_merge_structure):
12818 Fix docs and indentation again.
12820 * tests/check/gst/gstquery.c: (GST_START_TEST):
12821 Fix leak in tests and add some more tests.
12823 2006-08-28 Edward Hervey <edward@fluendo.com>
12825 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12826 Inform GstSegment of the last stop position in order for the current
12827 segment to have a proper duration if it doesn't have a specific stop
12828 position from which a duration could be calculated.
12829 This bug was noticeable when a non-flushing, non-update new segment was
12830 followed by another segment (all buffers from the new segment were being
12833 2006-08-28 Wim Taymans <wim@fluendo.com>
12835 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12836 Small comment update.
12838 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12839 (gst_identity_transform_ip):
12840 Drop-probability is broken, mention this in the code with a
12841 FIXME and also in the property description.
12842 Make silent also be silent about the drop messages.
12844 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12846 * docs/manual/appendix-win32.xml:
12847 Remove mention of popt, we don't depend on that any
12848 longer (#353136). Add some comments pointing out that
12849 this section is slightly outdated.
12851 2006-08-28 Wim Taymans <wim@fluendo.com>
12853 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12855 * gst/gstquery.c: (gst_query_new_segment):
12856 * tests/check/gst/gstquery.c: (GST_START_TEST):
12857 Initialize variables when creating a new segment query.
12860 2006-08-28 Wim Taymans <wim@fluendo.com>
12862 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12864 * gst/gstelement.c: (gst_element_get_bus):
12865 * tests/check/gst/gstelement.c: (GST_START_TEST):
12866 Check for NULL before _reffing the bus. Fixes #353122.
12868 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12870 * docs/manual/basics-bus.xml:
12871 Docs update: fix wrong callback return value explanation; add
12872 some lines about the implicit relationship between main loop
12873 and main context; remove duplicate main loop variable declaration.
12875 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12877 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12878 Don't leak caps in unit test; add a few more simple
12881 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12883 * docs/gst/gstreamer-sections.txt:
12884 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12885 (gst_caps_structure_is_subset), (gst_caps_merge),
12886 (gst_caps_merge_structure):
12888 * libs/gst/base/gstbasetransform.c:
12889 (gst_base_transform_transform_caps):
12890 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12891 implement caps merging (fixes #352580)
12893 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12895 * tools/Makefile.am:
12896 * tools/gst-plot-timeline.py:
12897 add debug-log plotting developer tool (#340674)
12899 2006-08-23 Wim Taymans <wim@fluendo.com>
12901 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12902 (gst_pad_stop_task):
12903 Improve debugging for task functions.
12905 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12906 (gst_task_start), (gst_task_pause), (gst_task_join):
12907 Make sure that the task function started and finished after a
12909 Don't try to push the task function on the threadpool multiple
12911 Improve the g_warning message with some useful suggestions
12912 about how to fix the problem.
12914 2006-08-23 Wim Taymans <wim@fluendo.com>
12916 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12917 Handle RESYNC correctly in _proxy_getcaps.
12919 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12921 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12922 (gst_xml_parse_memory), (gst_xml_get_element):
12923 Chain up to parent class in dispose function and also
12924 unref the elements in the toplevel_elements GList.
12925 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12926 Always return a reference in gst_xml_get_element() rather
12927 than only sometimes.
12929 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12930 Don't leak GstXml object.
12932 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12934 * docs/gst/gstreamer-sections.txt:
12935 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12938 * libs/gst/base/gstbasetransform.c:
12939 (gst_base_transform_transform_caps):
12940 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12943 2006-08-21 Edward Hervey <edward@fluendo.com>
12945 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12946 Implement GObject::dispose virtual method in GstXML so we can free the
12947 top_elements GList.
12949 2006-08-21 Wim Taymans <wim@fluendo.com>
12951 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12952 (gst_buffer_create_sub):
12953 Copy duration/offset_end/caps when creating a subbuffer of the
12955 Make the subbuffer read-only when we make the metadata writable for
12956 now. Fixes #351768.
12958 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12959 Added check for metadata copy when creating subbuffers.
12961 2006-08-21 Edward Hervey <edward@fluendo.com>
12963 * libs/gst/base/gstbasetransform.c:
12964 (gst_base_transform_buffer_alloc):
12965 Only call downstream buffer_alloc if transform element is passthrough
12966 or always_in_place. Closes #350449.
12968 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12971 ChangeLog surgery to add comments to previous changes
12973 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12978 * gst/gstpad.c: (gst_pad_set_active):
12979 Be more verbose in the log
12981 * libs/gst/base/gstbasetransform.c:
12982 (gst_base_transform_transform_caps):
12983 Simplify caps to get rid of duplicates, fixes #345444
12985 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12989 Use these optimizations only internally.
12991 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12993 * gst/gstvalue.c: (gst_value_compare_list),
12994 (gst_value_compare_fraction_range),
12995 (gst_value_intersect_fraction_fraction_range),
12996 (gst_value_intersect_fraction_range_fraction_range),
12997 (gst_value_subtract_fraction_fraction_range),
12998 (gst_value_subtract_fraction_range_fraction_range),
12999 (gst_value_get_compare_func), (gst_value_compare),
13000 (gst_value_compare_with_func):
13002 Saves the expensive lookup of the compare function in many cases
13005 2006-08-18 Edward Hervey <edward@fluendo.com>
13007 * tests/check/gst/gstinfo.c: (gst_info_suite):
13008 Disable test that require gstdebug if it wasn't built in core.
13010 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13012 * docs/random/ensonic/logging.txt:
13015 * gst/gstinfo.c: (gst_debug_log_default):
13016 reorder fields, save some columns, add optional color codes for log
13019 2006-08-18 Stefan Kost <ensonic@users.sf.net>
13021 * docs/random/ensonic/logging.txt:
13022 add ideas about making the logs a bit more useful
13024 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13026 * docs/pwg/advanced-events.xml:
13027 * docs/pwg/titlepage.xml:
13028 Update for 0.10 API (#340627). Add myself
13031 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
13033 * docs/libs/gstreamer-libs-docs.sgml:
13034 * docs/libs/gstreamer-libs-sections.txt:
13035 * libs/gst/check/gstbufferstraw.c:
13036 Make gstcheck stuff show up in docs (still needs to
13037 be documented properly though).
13039 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
13041 * docs/gst/gstreamer-sections.txt:
13043 * gst/gst.c: (init_post):
13044 * gst/gst_private.h:
13045 * gst/gstquark.c: (_priv_gst_quarks_initialize):
13047 * gst/gstquery.c: (gst_query_new_position),
13048 (gst_query_set_position), (gst_query_parse_position),
13049 (gst_query_new_duration), (gst_query_set_duration),
13050 (gst_query_parse_duration), (gst_query_new_convert),
13051 (gst_query_set_convert), (gst_query_parse_convert),
13052 (gst_query_new_segment), (gst_query_set_segment),
13053 (gst_query_parse_segment), (gst_query_new_seeking),
13054 (gst_query_set_seeking), (gst_query_parse_seeking):
13055 Add internal helpers for pre-registering quarks from static strings
13056 and using the quark values directly instead of looking them up when
13057 creating and parsing queries. Can be used for event construction too.
13060 2006-08-16 Wim Taymans <wim@fluendo.com>
13065 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13067 * gst/gstutils.c: (gst_util_set_value_from_string):
13068 Fix memleak (#351502).
13070 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13071 Add unit test for most of gst_util_set_value_from_string()
13072 (not that one would want to encourage use of this function).
13074 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13076 * libs/gst/check/gstcheck.h:
13077 Use const gchar * variables in fail_unless_equals_string
13078 macro to avoid compiler warnings (and don't use tabs for
13081 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13083 * tools/gst-launch.c: (print_tag):
13084 More space on the left for the tag names, to cater
13085 for the 'extended comment' tag (not touching the
13086 string for the first line since it's translated).
13088 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
13090 * libs/gst/check/gstcheck.h:
13091 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13092 print something when they fail.
13094 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13096 * docs/gst/gstreamer-sections.txt:
13097 * gst/gsttaglist.c: (_gst_tag_initialize):
13098 * gst/gsttaglist.h:
13099 API: add GST_TAG_EXTENDED_COMMENT (#350935).
13100 Also change merge function for GST_TAG_COMMENT to
13103 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13105 * gst/gstinfo.c: (gst_debug_print_object):
13106 Make GST_PTR_FORMAT print messages as well.
13108 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13109 (GST_START_TEST), (gst_info_suite):
13112 2006-08-14 Edward Hervey <edward@fluendo.com>
13114 * gst/gstelementfactory.c: (gst_element_register):
13115 If the GstElementClass doesn't have a GstElementDetails with all fields
13116 filled up correctly (longname, description AND author), then error out
13117 nicely instead of crashing.
13119 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
13121 * gst/gststructure.c:
13122 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13125 Expand on the difference between arrays and lists as we use them.
13127 2006-08-14 Wim Taymans <wim@fluendo.com>
13129 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13130 If the parent state change function failed, don't assume we can safely
13131 stop the source, this will be done when the pads are deactivated.
13133 2006-08-14 Wim Taymans <wim@fluendo.com>
13136 * gst/gsttask.c: (gst_task_join):
13139 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13140 (gst_pad_stop_task):
13141 When pad (de)activation failed for some reason, restore the old
13142 activation mode and set the pad to flushing instead of assuming the
13143 pad is deactivated.
13144 If the _task_join() failed, reinstall the task on the pad so that it can
13145 be stopped later and return an error.
13147 2006-08-11 Andy Wingo <wingo@pobox.com>
13150 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13151 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13152 is only for users of API that don't want to see deprecated
13153 functions in the headers; people that want to compile out
13154 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13155 CFLAGS. Fixes the build of multifdsink, or will soon..
13157 2006-08-11 Wim Taymans <wim@fluendo.com>
13159 * docs/gst/gstreamer-sections.txt:
13160 Add GstClockClass vmethod docs.
13163 Mark #endif with comment for associated #if
13165 * gst/gstclock.c: (gst_clock_id_wait):
13167 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13168 most clock implementations.
13170 Flesh out docs about resolution methods.
13171 API: GstClockClass::wait_jitter
13173 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13174 (gst_system_clock_async_thread),
13175 (gst_system_clock_id_wait_jitter_unlocked),
13176 (gst_system_clock_id_wait_jitter):
13177 Use base class wait_jitter variant for improved performance
13178 due to less clock polling.
13180 2006-08-11 Edward Hervey <edward@fluendo.com>
13182 * gst/gst.c: (gst_init_check), (init_post):
13183 Set gst as being initialized before scanning/updating the registry,
13184 since there might be my python plugin loader that calls gst_init() and
13185 we don't want to loop back in.
13188 2006-08-11 Wim Taymans <wim@fluendo.com>
13190 * docs/design/part-qos.txt:
13191 Bring docs in line with the code. Mostly the sign of the jitter was
13192 wrong in the docs. Fixes #349943.
13195 Fix the docs for the jitter.
13197 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13198 (gst_event_parse_tag), (gst_event_new_buffer_size),
13199 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13200 (gst_event_new_seek), (gst_event_parse_seek),
13201 (gst_event_new_navigation):
13202 Make sure the GstStructure has no parent when creating custom
13204 Add some more argument checking so that we avoid 0.0 rates.
13205 Flesh out the docs for the QoS event some more.
13207 2006-08-11 Wim Taymans <wim@fluendo.com>
13209 * docs/gst/gstreamer-sections.txt:
13210 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13211 (ensure_current_registry_forking), (ensure_current_registry),
13212 (parse_one_option), (parse_goption_arg), (gst_deinit),
13213 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13216 Added API and command line option to disable registry forking in
13217 addition to the environment variable.
13218 Constify some static arrays.
13219 Added some more debug.
13220 Don't deinit twice.
13221 API: gst_registry_fork_is_enabled()
13222 API: gst_registry_fork_set_enabled()
13223 API: --gst-disable-registry-fork command line option
13226 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13228 * gst/gst.c: (gst_init):
13229 Fix typo in error message.
13231 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13233 * libs/gst/controller/gstcontroller.h:
13234 fix ABI size-correction
13236 * tests/check/libs/gdp.c: (gst_dp_suite):
13237 make tests that use deprecated API conditional
13239 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13241 * docs/libs/gstreamer-libs-sections.txt:
13242 * libs/gst/controller/gstcontroller.c:
13243 (_gst_controller_get_property), (_gst_controller_set_property),
13244 (_gst_controller_init), (_gst_controller_class_init):
13245 * libs/gst/controller/gstcontroller.h:
13246 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13247 (gst_object_set_control_rate):
13248 API: add gst_object_{s,g}et_control_rate(), add private data section,
13251 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13252 * libs/gst/dataprotocol/dataprotocol.h:
13253 add deprecation guards to make gtk-doc happy and allow disabling cruft
13255 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13257 * tests/check/Makefile.am:
13258 * tests/check/gst/.cvsignore:
13259 Let's enable the new unit test as well.
13261 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13264 * docs/gst/gstreamer-sections.txt:
13265 * gst/gstconfig.h.in:
13266 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13267 (_gst_info_printf_extension_ptr),
13268 (_gst_info_printf_extension_segment):
13269 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13270 register that lets us easily dump GstSegments into debug
13273 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13274 (info_segment_format_printf_extension), (gst_info_suite):
13275 Add simple unit test that logs a bunch of different segments (not
13276 valgrinded at the moment because of leaks in
13277 gst_debug_add_log_function).
13279 2006-08-09 Edward Hervey <edward@fluendo.com>
13281 * libs/gst/base/gstbasetransform.c:
13282 (gst_base_transform_buffer_alloc):
13283 Even if we can't figure out the proper format to request downstream,
13284 call buffer_alloc() downstream with the input parameters without setting
13285 the caps on the srcpad. This will force negotiation in the chain
13289 2006-08-08 Edward Hervey <edward@fluendo.com>
13291 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13292 Unlinking from a pad without a target is now a perfectly valid case
13293 which should NOT raise an assertion.
13294 This case would happen if a linked ghostpad its target set to NULL after
13295 it was previously linked.
13297 2006-08-08 Edward Hervey <edward@fluendo.com>
13299 * tests/check/libs/gdp.c:
13300 Also comment out the test (see below).
13302 2006-08-08 Edward Hervey <edward@fluendo.com>
13304 * tests/check/libs/gdp.c: (gst_dp_suite):
13305 Use the architecture information from config.h and not gcc macros
13306 in order to properly disable a test that fails on PPC64.
13308 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13310 * gst/gstelement.c: (gst_element_remove_pad):
13311 Don't crash printing the warning if the pad has no parent.
13313 2006-08-02 Wim Taymans <wim@fluendo.com>
13315 * libs/gst/dataprotocol/dataprotocol.c:
13316 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13317 (gst_dp_crc), (gst_dp_header_payload_length),
13318 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13319 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13320 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13321 (gst_dp_event_from_packet), (gst_dp_validate_header),
13322 (gst_dp_validate_payload):
13323 Make debug category static
13324 Constify the crc table.
13325 Do some more arg checking in public functions.
13326 Fix some docs and do some small cleanups.
13328 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13329 Add some more checks to see if GDP deals with bogus input.
13331 2006-07-31 Wim Taymans <wim@fluendo.com>
13333 * gst/gstvalue.c: (gst_value_compare_list):
13334 Fix GstValueList comparison code. Fixes #347293.
13336 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13337 Check to test GstValueList comparison.
13339 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13341 * gst/gstelementfactory.c: (gst_element_factory_create):
13342 Remove unnecessary ref/unref pair
13344 * gst/parse/grammar.y:
13345 Make sure to free the parse buffer on all code paths.
13346 Move a g_free up to the error handler where it's easier to see.
13348 * tests/check/gst/gstevent.c: (test_event):
13349 Extending timeout for downstream travelling events to 10 seconds to
13350 hopefully avoid intermittent failure on the buildbots.
13352 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13353 Don't manually set the state of the src element - it will happen as a
13354 natural consequence of the pipeline changing state, and that way it
13355 will do it in the right order too.
13357 2006-07-31 Wim Taymans <wim@fluendo.com>
13359 * libs/gst/base/gstbasetransform.c:
13360 (gst_base_transform_buffer_alloc):
13361 Use OBJECT_LOCK and refcounting to get the pad caps in the
13362 buffer_alloc function because the caps could change while we are
13363 busy with them. Fixes #349105
13365 2006-07-31 Wim Taymans <wim@fluendo.com>
13367 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13368 Protect _PAD_CAPS with OBJECT_LOCK.
13370 2006-07-31 Wim Taymans <wim@fluendo.com>
13372 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13373 (gst_pad_get_property), (gst_pad_activate_pull),
13374 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13375 (gst_pad_set_activate_function),
13376 (gst_pad_set_activatepull_function),
13377 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13378 (gst_pad_set_getrange_function),
13379 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13380 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13381 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13382 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13383 (gst_pad_set_acceptcaps_function),
13384 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13385 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13386 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13387 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13388 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13389 (gst_pad_configure_sink), (gst_pad_configure_src),
13390 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13391 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13392 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13393 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13394 (gst_pad_send_event):
13395 Use _DEBUG_OBJECT when it makes sense.
13396 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13397 Small cleanups and code reflows.
13398 Avoid caps refcounting in _accept_caps.
13399 Refactor alloc_buffer so that the code performed on the peer is in a
13400 separate function. Also if the pad does not implement a buffer alloc
13401 function, we should still check if the pad is flushing before falling
13402 back to the default allocator.
13404 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13406 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13407 Make all uses of identity and fakesink have silent=true to avoid
13408 serialising every passing data structure, which is breaking tests
13409 on FC4 for some unknown reason.
13411 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13413 * gst/parse/Makefile.am:
13414 * gst/parse/grammar.y:
13415 * gst/parse/parse.l:
13416 Reverted previous patch as it required to bump the flex dependency to
13417 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13419 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13421 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13423 * gst/parse/Makefile.am:
13424 * gst/parse/grammar.y:
13425 * gst/parse/parse.l:
13426 push & pop the state of the lexer for reentrant use case
13429 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13431 * libs/gst/base/gstbasesrc.h:
13432 Note in the docs that the ::newsegment vfunc is not actually used by
13435 2006-07-28 Wim Taymans <wim@fluendo.com>
13437 * libs/gst/base/gstcollectpads.c:
13438 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13439 (gst_collect_pads_clear), (gst_collect_pads_flush),
13440 (gst_collect_pads_event), (gst_collect_pads_chain):
13441 When flushing a pad, also clear the queued buffer so that we don't
13442 accidentally use it when we shouldn't.
13443 Fix leaks by inreffing incomming buffer.
13444 Flush out queued buffers in case of errors.
13447 2006-07-28 Wim Taymans <wim@fluendo.com>
13449 * docs/random/phonon-gst:
13450 Random notes about a Phonon backend.
13452 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13454 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13456 * tests/check/libs/gdp.c: (gst_dp_suite):
13457 Take a whack at fixing the ppc compile using a different define to
13458 disable the broken test.
13460 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13461 Remove excess g_print()
13463 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13465 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13466 Oops, meant to uncomment this line too to dampen the noise a bit.
13468 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13470 * gst/parse/grammar.y:
13471 * gst/parse/parse.l:
13472 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13473 (GST_START_TEST), (parse_suite):
13474 Fix some of the leaks exposed by extending the parse-launch testsuite,
13475 and move the 3 I can't figure out into a separate test that won't run
13476 the pipelines unless the appropriate line is uncommented.
13478 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13480 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13481 Requesting 0 bytes before the end of the file should result in
13482 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13485 2006-07-27 Wim Taymans <wim@fluendo.com>
13487 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13488 Fix useless assert, a uint is always positive.
13490 * gst/gststructure.c: (gst_structure_nth_field_name),
13491 (gst_structure_foreach), (gst_structure_map_in_place):
13492 Check input arguments for public functions to avoid obvious crashes.
13494 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13495 * plugins/elements/gstfakesink.h:
13496 Do less useless typechecking.
13498 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13500 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13501 Do not use mmap() by default since there are a number of error
13502 conditions that we would like to handle in a non-fatal way that
13503 will result in a SIGBUS if we use mmap(). Examples: external
13504 devices (USB harddrive, portable music player) being unplugged
13505 while in use; file on mounted CD/DVD that can't be read because
13506 the medium is partly damaged. Fixes #348455 and #348475.
13508 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13511 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13512 rates are a gdouble
13514 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13516 * gst/gstregistry.c:
13517 Move big documentation comment into class section header, so that it
13518 appears in the API docs.
13520 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13522 * docs/gst/gstreamer-sections.txt:
13523 Oops. Commit the docs additions too for new API.
13524 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13526 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13528 * gst/gststructure.c: (gst_structure_id_set),
13529 (gst_structure_id_set_valist):
13530 * gst/gststructure.h:
13531 Add API for setting values into structures without performing
13532 a quark lookup, if the appropriate quark is already known.
13534 API: gst_structure_id_set
13535 API: gst_structure_id_set_valist
13537 * gst/parse/grammar.y:
13538 * gst/parse/parse.l:
13539 Remove some dead code shown by the coverage information.
13540 Don't throw a critical g_warning when encountering a syntax error,
13541 just warn and let the normal error path handle it.
13543 * plugins/elements/gstelements.c:
13544 Bump the rank of filesink up to PRIMARY so that it is preferred over
13545 gnomevfssink for file:// sink uri's
13547 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13548 (GST_START_TEST), (run_delayed_test),
13549 (gst_parse_test_element_base_init),
13550 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13551 (gst_parse_test_element_change_state),
13552 (gst_register_parse_element), (parse_suite):
13553 Beef up the tests for parse syntax to check that more error cases
13554 fail as they are supposed to. Increases the test coverage a bit.
13556 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13558 * docs/manual/basics-elements.xml:
13559 Fix gst_element_link() example.
13562 Mention in API docs that one should usually gst_bin_add()
13563 elements to a bin or pipeline before doing the linking.
13565 2006-07-26 Wim Taymans <wim@fluendo.com>
13567 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13568 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13569 Avoid function call for known types by keeping the buffer and
13570 subbuffer GType global.
13572 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13573 Random silly optimisations in read() path.
13575 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13577 * tools/gst-launch.c: (main):
13578 If the top-level of the parse is a normal bin, it doesn't do the
13579 right logic to run as a top-level element, so place it inside a
13582 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13584 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13585 Remove superfluous g_object_notify() calls, GObject does
13586 that for us automatically.
13588 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13591 on Win32, use dllspec to export the debug category symbols
13593 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13595 * gst/gsttaglist.c: (_gst_tag_initialize):
13596 Allow more than one GST_TAG_IMAGE per taglist.
13598 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13600 * gst/gstminiobject.c:
13602 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13603 (gst_fd_src_create):
13604 log recurring events at LOG level
13605 add more debug for when the fd gets set
13607 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13609 * gst/gstparse.c: (gst_parse_launch):
13610 Also remove reentrance checks if flex is MT safe (#348179)
13611 Fix my empty ChangeLog entry below
13613 2006-07-21 Andy Wingo <wingo@pobox.com>
13615 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13617 * libs/gst/check/Makefile.am
13618 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13619 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13620 * libs/gst/check/gstbufferstraw.h:
13621 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13622 functions, thus proving I am still a GStreamer haxor. OK I wrote
13623 them a long time ago, but anyways.
13625 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13628 * gst/gstparse.c: (gst_parse_launch):
13629 Check for flex version and omit mutex if we have a MT save flex
13632 2006-07-21 Wim Taymans <wim@fluendo.com>
13634 * gst/gstparse.c: (gst_parse_launch):
13635 Protect recursive calls to _parse with a recursive mutex
13638 2006-07-21 Wim Taymans <wim@fluendo.com>
13640 * tests/check/gst/gstpad.c: (GST_START_TEST):
13643 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13645 * gst/gstparse.c: (gst_parse_launch):
13646 Do not hang on recursive usage of gst_parse_launch()
13648 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13650 * gst/gsttaglist.c:
13651 Add some more docs, comments and FIXME 0.11s here and there
13652 and also fix some typos.
13654 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13656 * gst/gstsegment.h:
13657 Convert tabs to spaces for better readability.
13659 2006-07-20 Edward Hervey <edward@fluendo.com>
13661 * tests/check/libs/gdp.c: (gst_dp_suite):
13662 the test_buffer test fails at line 140 on ppc64 at the following
13664 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13665 GST_BUFFER_FLAG_IN_CAPS),
13666 "GST_BUFFER_IN_CAPS flag should have been copied !");
13667 See bug #348114 for more details.
13669 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13671 * docs/pwg/advanced-scheduling.xml:
13673 Fix typos (#348000).
13675 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13677 * docs/pwg/intro-basics.xml:
13678 Fix wrong links (#347927).
13680 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13682 * gst/gstregistry.h:
13683 * gst/gstregistryxml.c: (load_feature),
13684 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13685 * win32/common/config.h:
13686 make --disable-index work (#342564)
13688 2006-07-18 Wim Taymans <wim@fluendo.com>
13690 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13694 The attached patch adds two missing defines to gsttrace.h when tracing
13695 is disabled. It also corrects one existing define.
13698 2006-07-17 Wim Taymans <wim@fluendo.com>
13700 * docs/gst/gstreamer-sections.txt:
13701 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13703 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13704 Add two functions to check and change the SIGSEGV behaviour
13705 when loading plugins.
13706 Don't mess with the SIGSEGV handler when we were told not to.
13708 API: gst_segtrap_is_enabled
13709 API: gst_segtrap_set_enabled
13711 2006-07-14 Wim Taymans <wim@fluendo.com>
13713 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13714 * tests/check/elements/filesrc.c: (GST_START_TEST):
13715 Revert fix for regression in #347408 after release.
13717 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13719 Patch by: Antoine Tremblay <hexa00 at gmail com>
13721 * gst/gstutils.c: (gst_element_unlink):
13722 Free iterator when done (#347311).
13724 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13725 And add a test case for this.
13727 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13730 Bump nano back to CVS
13732 === release 0.10.9 ===
13734 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13737 releasing 0.10.9, "On the road again"
13739 2006-07-13 Wim Taymans <wim@fluendo.com>
13741 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13742 * tests/check/elements/filesrc.c: (GST_START_TEST):
13743 Revert pull-0 fix for release. Disable check. Fixes #347408.
13745 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13747 * libs/gst/dataprotocol/dataprotocol.c:
13748 (gst_dp_event_from_packet_1_0):
13749 Fixes #347337: failure to deserialize event packets with
13750 empty payload (only event type)
13752 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13755 do not install a .c file in the header directory
13757 2006-07-13 Edward Hervey <edward@fluendo.com>
13759 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13760 GhostPad no longer implicitely use the padtemplates of the targets.
13763 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13765 * gst/gstvalue.c: (gst_value_compare_list),
13766 (gst_value_compare_array), (_gst_value_initialize):
13767 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13768 Make GstValueArray comparison be order dependent as designed.
13769 Add checks for value lists and value array comparisons.
13772 2006-07-11 Edward Hervey <edward@fluendo.com>
13774 * gst/gstbin.c: (activate_pads),
13775 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13776 (gst_bin_change_state_func):
13777 (de)activate src pads before calling state_change on the childs.
13778 This is to avoid the case where a src ghostpad is blocked (holding the
13779 stream lock), which would block the deactivation of the ghostpad's
13781 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13782 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13783 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13784 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13785 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13786 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13787 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13788 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13789 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13790 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13791 (gst_ghost_pad_class_init),
13792 (gst_ghost_pad_internal_do_activate_push),
13793 (gst_ghost_pad_internal_do_activate_pull),
13794 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13795 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13796 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13797 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13798 GhostPads now create their internal GstProxyPad at creation (and not
13799 when they're linked, as it was being done previously).
13800 The internal and target pads are linked straight away.
13801 The data will also travel through the other pad in order to make
13802 pad blocking and probes non-hackish (the probe/block now really happens
13803 on the GhostPad and not on the target).
13804 * gst/gstpad.c: (gst_pad_set_blocked_async),
13805 (gst_pad_link_prepare), (gst_pad_push_event):
13806 Remove previous ghostpad cruft.
13807 * gst/gstutils.c: (gst_pad_add_data_probe),
13808 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13809 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13810 (gst_pad_remove_buffer_probe):
13811 Remove previous ghost pad cruft.
13812 Added more detailed debug statements.
13813 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13814 Fix the testsuite for refcounting changes.
13815 The comments about who has references were correct, but the refcount
13816 being checked wasn't the same (!?!).
13820 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13822 * docs/gst/gstreamer-sections.txt:
13823 * gst/gstconfig.h.in:
13824 More docs for configuration options, add docs to gtk-doc.
13826 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13829 * gst/gstconfig.h.in:
13830 * win32/common/config.h:
13831 Fix build when disabling tracing (fixes #344016). Also start to document
13832 the defines that disable the sub-systems.
13834 2006-07-10 Edward Hervey <edward@fluendo.com>
13836 * gst/gst.c: (ensure_current_registry_forking):
13837 let's make valgrind happy...
13839 2006-07-09 Wim Taymans <wim@fluendo.com>
13841 * gst/gstelement.c: (activate_pads),
13842 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13843 Better pad activation code: Reset the collect value too on resync.
13846 2006-07-09 Wim Taymans <wim@fluendo.com>
13848 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13849 (gst_pad_activate_push):
13850 Use some more macros where it makes sense.
13851 Allow pad mode switching instead of asserting. When a pad
13852 is activated in one mode and we activate it in another,
13853 deactivate it first before activating it in a different mode.
13856 2006-07-08 Andy Wingo <wingo@pobox.com>
13858 * tools/gst-launch.c (main): Handle err == NULL.
13860 * gst/gst.c (init_post, ensure_current_registry)
13861 (ensure_current_registry_forking)
13862 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13863 factoring out the registry scanning into separate functions. Don't
13864 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13865 Better environment var name/interface suggestions accepted.
13867 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13869 * gst/gstobject.c: (gst_object_set_name_default),
13870 (gst_object_set_name):
13871 Random micro-optimisation: don't use a hash table
13872 with strings as keys and the usual strdup/strcmp
13873 involved, but rather just use the GQuark of the
13874 type name as key, since it needs to be looked up
13875 anyway to get the type name string.
13877 * tests/check/gst/gstobject.c: (GST_START_TEST):
13880 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13882 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13883 (gst_bin_iterate_all_by_interface):
13884 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13885 GTypes are gulongs and thus the top 4 bytes might be cut
13886 off on some platforms when doing GPOINTER_TO_INT, leading
13887 to invalid GTypes and bad things happening (see RH bug #179654).
13888 Also add a check to make sure the type passed in is really
13891 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13896 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13900 * gst-element-check.m4:
13901 * gst-element-check.m4.in:
13902 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13903 instead of the unversioned gst-inspect (#324176, #168659).
13905 2006-07-06 Wim Taymans <wim@fluendo.com>
13907 * gst/gstmessage.h:
13908 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13911 2006-07-06 Wim Taymans <wim@fluendo.com>
13913 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13914 (gst_base_src_wait), (gst_base_src_update_length),
13915 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13916 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13917 (gst_base_src_loop), (gst_base_src_start),
13918 (gst_base_src_activate_pull):
13920 blocksize == 0 now means the default blocksize when working in push
13922 Remove some pointless asserts in _wait function.
13923 Fix offset/length calculations and EOS handling. We can now pull 0
13924 bytes as well, which is allowed.
13925 use _check_get_range() to decide if we can operate in _pull based
13927 Fix refcounting leak when check_get_range function was not
13929 API GstBaseSrc::blocksize range can be 0 too now (default)
13931 * tests/check/elements/filesrc.c: (GST_START_TEST),
13933 Added check to test _get_range() behaviour.
13935 2006-07-06 Wim Taymans <wim@fluendo.com>
13937 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13938 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13939 (gst_pad_pull_range):
13941 Lots of comments and docs added to the pad functions.
13942 Flesh out the expected behaviour of the get_range() functions.
13944 2006-07-06 Wim Taymans <wim@fluendo.com>
13949 * gst/gstiterator.h:
13953 Remove comma at end of enumerator list.
13955 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13957 * win32/common/libgstbase.def:
13958 * win32/common/libgstdataprotocol.def:
13959 * win32/common/libsgtreamer.def:
13960 Add new exported functions.
13962 2006-07-05 Wim Taymans <wim@fluendo.com>
13964 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13965 Add some more docs here and there.
13967 2006-07-05 Wim Taymans <wim@fluendo.com>
13969 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13970 (gst_base_sink_loop), (gst_base_sink_get_position):
13971 When operating in pull mode update the offset so that we
13974 2006-07-05 Wim Taymans <wim@fluendo.com>
13976 * gst/gstregistryxml.c: (read_string):
13977 Avoid strdup. (will happen in libxml, but hey!)
13980 Add some more docs.
13982 2006-07-05 Wim Taymans <wim@fluendo.com>
13984 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13985 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13986 (gst_buffer_suite):
13987 No point in checking if the size of the subbuffer > 0, the
13988 code handles it correclty as demonstrated by unit test.
13989 Also add a unit test for the zero sized _new_and_alloc and
13990 _copy. Fixes #346663.
13992 2006-07-05 Wim Taymans <wim@fluendo.com>
13994 * libs/gst/base/gstbasetransform.c:
13995 (gst_base_transform_prepare_output_buffer),
13996 (gst_base_transform_buffer_alloc),
13997 (gst_base_transform_handle_buffer):
13998 Make sure the buffer we pass to transform_ip has a refcount of
13999 1 and thus is writable. Fixes #343196
14001 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
14003 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14004 (gst_file_src_init), (gst_file_src_set_property),
14005 (gst_file_src_get_property), (gst_file_src_map_region):
14006 * plugins/elements/gstfilesrc.h:
14007 Add "sequential" property, off by default, to use madvise and hint
14008 to the kernel that sequential access is desired.
14009 Touch all retrieved pages by default to ensure they are pulled
14010 into memory. (Closes #345720)
14012 2006-07-03 Wim Taymans <wim@fluendo.com>
14014 * docs/design/part-block.txt:
14015 * docs/design/part-dynamic.txt:
14016 Small docs updates.
14018 2006-07-03 Wim Taymans <wim@fluendo.com>
14020 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14021 (gst_caps_unref), (gst_static_caps_get),
14022 (gst_caps_append_structure):
14023 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14024 Use GSlice when the glib we build against is >= 2.10
14026 2006-07-03 Wim Taymans <wim@fluendo.com>
14028 * gst/gstelement.c: (gst_element_pads_activate):
14029 Small cleanup in pad activation code.
14031 2006-07-03 Wim Taymans <wim@fluendo.com>
14033 Patch by: Peter Kjellerstedt <pkj at axis dot com>
14035 * gst/gst-i18n-app.h:
14036 * gst/gst-i18n-lib.h:
14037 * tools/gst-inspect.c: (print_signal_info):
14038 The attached patch will make the inclusion of gettext.h unconditional in
14039 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14040 libintl.h in tools/gst-inspect.c.
14041 This allows use of --disable-nls again and fixes #344642.
14043 2006-07-03 Edward Hervey <edward@fluendo.com>
14045 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14046 Implement pad blocking on events according to part-block.txt.
14047 More comments on behaviour.
14048 * tests/check/gst/gstevent.c: (test_event):
14049 Send event to peer pad of blocked pad (else it will block).
14051 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14053 * libs/gst/check/gstcheck.c: (gst_check_message_error),
14054 (gst_check_run_suite):
14055 if we get the wrong message, give us the types as string
14056 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14058 * tests/check/elements/filesrc.c: (GST_START_TEST):
14059 add a test for trying to open a non-existing file
14061 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14063 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14064 add a test for adding self
14066 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
14068 * libs/gst/check/gstcheck.h:
14069 add some assert_ as alias for fail_unless_*
14070 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14071 increase test coverage
14073 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14076 include lcov.mak for lcov coverage generation
14077 * tools/Makefile.am:
14080 2006-07-02 Edward Hervey <edward@fluendo.com>
14082 * tests/check/elements/.cvsignore:
14085 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14088 don't set CFLAGS and friends for gcov, done from GST_GCOV now
14089 * tests/check/Makefile.am:
14090 clean up gcov files
14092 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14094 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14095 remove gst_caps_simplify; it was not declared and not used
14096 and deprecated in 0.8
14098 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14100 * docs/faq/gst-uninstalled:
14101 don't put empty paths on PYTHONPATH
14102 * docs/gst/gstreamer-sections.txt:
14103 remove some symbols that are not there
14105 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14107 * gst/gstcaps.c: (gst_caps_compare_structures):
14109 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14110 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14113 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14115 * libs/gst/dataprotocol/Makefile.am:
14116 build dataprotocol test by linking to the lib, instead of
14117 compiling the source, so we get coverage
14118 * tests/check/Makefile.am:
14119 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14120 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14121 add a test for filesrc
14123 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14125 * tests/check/gst/gststructure.c: (GST_START_TEST),
14126 (gst_structure_suite):
14127 Push coverage from 59.04% to 70.00%
14129 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14131 * tests/check/Makefile.am:
14132 gst-inspect every element; this makes sure that we also get
14133 coverage on element's get/set functions
14135 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14138 set CFLAGS and friends to -O0 if gcov is being used
14141 * libs/gst/base/Makefile.am:
14142 * libs/gst/check/Makefile.am:
14143 * libs/gst/controller/Makefile.am:
14144 * libs/gst/dataprotocol/Makefile.am:
14145 * libs/gst/net/Makefile.am:
14146 * plugins/elements/Makefile.am:
14147 * plugins/indexers/Makefile.am:
14148 add makefile rules to generate gcov data and clean up
14149 * tests/check/Makefile.am:
14150 add a coverage target that generates an html overview
14153 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14155 * tests/check/elements/fakesink.c:
14156 * tests/check/elements/fakesrc.c:
14157 * tests/check/elements/fdsrc.c:
14158 * tests/check/elements/identity.c:
14159 * tests/check/generic/sinks.c: (gst_sinks_suite):
14160 * tests/check/generic/states.c:
14161 * tests/check/gst/gst.c:
14162 * tests/check/gst/gstabi.c:
14163 * tests/check/gst/gstbin.c:
14164 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14165 * tests/check/gst/gstbus.c: (gst_bus_suite):
14166 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14167 * tests/check/gst/gstelement.c:
14168 * tests/check/gst/gstevent.c: (gst_event_suite):
14169 * tests/check/gst/gstghostpad.c:
14170 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14171 * tests/check/gst/gstmessage.c: (gst_message_suite):
14172 * tests/check/gst/gstminiobject.c:
14173 * tests/check/gst/gstobject.c:
14174 * tests/check/gst/gstpad.c:
14175 * tests/check/gst/gstpipeline.c:
14176 * tests/check/gst/gstplugin.c:
14177 * tests/check/gst/gstquery.c: (gst_query_suite):
14178 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14179 * tests/check/gst/gststructure.c:
14180 * tests/check/gst/gstsystemclock.c:
14181 * tests/check/gst/gsttag.c:
14182 * tests/check/gst/gsttask.c: (gst_task_suite):
14183 * tests/check/gst/gstutils.c:
14184 * tests/check/gst/gstvalue.c:
14185 * tests/check/libs/adapter.c:
14186 * tests/check/libs/basesrc.c:
14187 * tests/check/libs/collectpads.c:
14188 * tests/check/libs/controller.c:
14189 * tests/check/libs/gdp.c: (gst_dp_suite):
14190 * tests/check/libs/gstnetclientclock.c:
14191 * tests/check/libs/gstnettimeprovider.c:
14192 * tests/check/libs/libsabi.c: (libsabi_suite):
14193 * tests/check/libs/typefindhelper.c:
14194 * tests/check/pipelines/cleanup.c:
14195 * tests/check/pipelines/parse-launch.c:
14196 * tests/check/pipelines/simple-launch-lines.c:
14197 * tests/check/pipelines/stress.c: (stress_suite):
14200 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14202 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14203 * libs/gst/check/gstcheck.h:
14204 create a macro and function so that the simple unit test
14205 case can be just one macro to create main()
14207 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14209 * gst/gstbin.c: (gst_bin_restore_thyself):
14210 * gst/gstxml.c: (gst_xml_make_element):
14211 Fix deserialisation from XML. Set parent manually
14212 instead of using gst_bin_add(), since gst_bin_add()
14213 will unlink all pads of the element being added.
14216 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14218 Patch by: Peter Kjellerstedt <pkj at axis com>
14220 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14221 Fix missing g_strdup() and double free when using the
14222 --gst-plugin-load command line option (#346097).
14224 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14227 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14229 * libs/gst/net/gstnetclientclock.c:
14230 * libs/gst/net/gstnettimeprovider.c:
14231 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14233 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14235 * docs/manual/advanced-dataaccess.xml:
14236 Fix buffer probe example compilation in
14239 2006-06-22 Edward Hervey <edward@fluendo.com>
14241 * gst/gstelement.c: (gst_element_pads_activate):
14242 We need to deactivate src pads first and then sink pads.
14243 The reason is the src pads might be blocking while holding the streaming
14244 lock, so we need to deactivate them first so that deactivating the sink
14245 pads doesn't block (since it will require the streaming lock).
14247 2006-06-22 Wim Taymans <wim@fluendo.com>
14249 * libs/gst/base/gstbasetransform.c:
14250 (gst_base_transform_buffer_alloc):
14251 Forgot to remove two unneeded unrefs.
14252 Simplify a check _is_equal allready checks the obvious case.
14254 2006-06-22 Wim Taymans <wim@fluendo.com>
14256 * docs/design/part-block.txt:
14257 Some docs about what pad_block should do.
14259 2006-06-22 Wim Taymans <wim@fluendo.com>
14261 * gst/gstcaps.c: (gst_caps_replace):
14262 Fix crasher when passed NULL. Doc clarification.
14263 Optimize for the trivial case.
14265 * gst/gstpipeline.c: (gst_pipeline_change_state):
14268 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14269 Small documentation cleanup.
14271 * libs/gst/base/gstbasetransform.c:
14272 (gst_base_transform_buffer_alloc):
14273 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14274 is what we need and it avoids a whole lot of redundant
14275 refcount operations.
14277 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14279 Patch by: Philip Jägenstedt <philip at lysator liu se>
14281 * docs/manual/advanced-dataaccess.xml:
14282 Fix 'Embedding static elements' section to use
14283 GST_PLUGIN_DEFINE_STATIC (#345607).
14285 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14287 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14288 Attempt to 'fix' spuriously failing test case: it seems like the
14289 timeout of half a second is simply too small when the system is under
14290 load otherwise, and the timeout doesn't really seem to serve any
14291 particular purpose here. Give the pipeline a few seconds to preroll
14292 first, and then give it another half a second to go from PAUSED to
14293 PLAYING and marshal the message into the main thread.
14295 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14297 * tools/gst-feedback-m.m:
14298 Don't only use unversioned tools, try versioned tools as well
14301 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14303 * gst/gstbus.c: (gst_bus_class_init):
14304 Fix some typos, make docs more explicit.
14306 2006-06-20 Wim Taymans <wim@fluendo.com>
14308 * tests/check/gst/gstghostpad.c: (block_callback),
14309 (GST_START_TEST), (gst_ghost_pad_suite):
14310 Added some more ghostpad tests, mainly blocking
14313 2006-06-16 Wim Taymans <wim@fluendo.com>
14315 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14316 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14317 (gst_file_sink_event), (gst_file_sink_render):
14318 * plugins/elements/gstfilesink.h:
14319 Check if we can seek in the file instead of assuming
14320 we always can. Post an error when we are asked to seek in a
14321 non-seekable file (like a fifo). Fixes #343312.
14324 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14326 * tools/gst-launch.1.in:
14327 Un-garble (fourcc) bit in filtered caps section.
14329 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14331 * docs/manual/advanced-autoplugging.xml:
14332 * docs/manual/basics-helloworld.xml:
14333 * docs/manual/highlevel-components.xml:
14334 Don't leak bus reference in sample code.
14336 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14339 Add default for new --enable-plugin-docs switch.
14342 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14345 * docs/Makefile.am:
14346 Use new ENABLE_PLUGIN_DOCS conditional.
14348 2006-06-14 Wim Taymans <wim@fluendo.com>
14350 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14351 Make it clear with a FIXME and a real define what the #if 0
14352 previously disabled.
14354 2006-06-14 Wim Taymans <wim@fluendo.com>
14356 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14357 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14358 * libs/gst/base/gstbasetransform.c:
14359 (gst_base_transform_sink_eventfunc):
14360 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14361 Don't randomly and silently reset a segment when the format
14362 changes as this is a bug somewhere upstream. Fixes #330379.
14364 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14366 Patch by: Wouter Paesen <wouter at kangaroot net>
14368 * libs/gst/controller/gstcontroller.c:
14369 (gst_controlled_property_new):
14370 Fix controlling of float properties (#344849).
14372 * tests/check/libs/controller.c:
14373 (gst_test_mono_source_get_property),
14374 (gst_test_mono_source_set_property),
14375 (gst_test_mono_source_class_init), (GST_START_TEST):
14376 While we're at it, add some float stuff to unit test.
14378 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14381 * docs/images/gdp-header.svg:
14383 * docs/libs/Makefile.am:
14384 * docs/libs/gdp-header.png:
14385 * libs/gst/dataprotocol/dataprotocol.c:
14386 add it to the API docs
14387 * docs/manual/intro-motivation.xml:
14390 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14392 * gst/gst.c: (scan_and_update_registry), (init_post):
14393 If the fork()'ed child process can't write the updated registry cache
14394 file to disk for some reason, make it exit with a failure exit code,
14395 so that the parent can then re-scan the plugins itself and update the
14396 registry structures in memory and work with that (rather than failing
14397 when creating elements because seemingly no plugins are available).
14398 Refactor registry scanning code into separate function for this and
14399 also separate fork() and non-fork() code paths. Fixes #344748.
14401 2006-06-13 Wim Taymans <wim@fluendo.com>
14403 * docs/manual/advanced-dataaccess.xml:
14404 Fix wrong PluginDesc. Fixes #344755.
14406 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14408 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14409 Fix silly bug that prevented us from creating
14410 ~/.gstreamer-0.10 and writing the registry in one
14411 go (the first call to g_mkstemp() would overwrite the
14412 placeholder in the template string, so the second call
14413 to g_mkstemp() after creating the missing directory
14414 would then error out with 'invalid argument').
14416 2006-06-13 Edward Hervey <edward@fluendo.com>
14418 * gst/gst.c: (init_post):
14421 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14423 * gst/glib-compat-private.h:
14424 * gst/glib-compat.c:
14425 * gst/glib-compat.h:
14426 * gst/gstvalue.c: (gst_value_serialize_flags):
14427 remove GLib 2.6 compatibility code
14429 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14431 * gst/parse/Makefile.am:
14432 Fix build with 'make -j N' even more (#340016).
14434 2006-06-12 Wim Taymans <wim@fluendo.com>
14436 * docs/gst/gstreamer-sections.txt:
14439 2006-06-12 Wim Taymans <wim@fluendo.com>
14441 * gst/gstsegment.c: (gst_segment_set_duration),
14442 (gst_segment_set_last_stop), (gst_segment_set_seek),
14443 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14444 (gst_segment_to_running_time), (gst_segment_clip):
14445 Use G_UNLIKELY to help the compiler a bit.
14447 2006-06-12 Wim Taymans <wim@fluendo.com>
14449 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14451 * gst/gstevent.c: (gst_event_get_type):
14452 * gst/gstmessage.c:
14453 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14455 constify quark registration strings. Fixes #344115
14456 Avoid unneeded type checking is _pad_push() by internally
14457 calling gst_pad_chain_unchecked().
14459 2006-06-12 Wim Taymans <wim@fluendo.com>
14461 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14462 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14463 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14464 (gst_buffer_is_span_fast), (gst_buffer_span):
14465 Init _type for consistency.
14466 Use _FLAGS macro to avoid type check.
14467 Avoid unneeded type checks in subbufer code.
14469 2006-06-12 Wim Taymans <wim@fluendo.com>
14471 * gst/gst.c: (gst_debug_help):
14472 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14473 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14474 (gst_plugin_feature_list_free):
14475 * gst/gstregistry.c: (gst_registry_add_plugin),
14476 (gst_registry_add_feature), (gst_registry_plugin_filter),
14477 (gst_registry_feature_filter), (gst_registry_find_plugin),
14478 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14479 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14480 * gst/gstregistryxml.c: (load_feature),
14481 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14482 * gst/gstminiobject.c: (gst_mini_object_unref),
14483 (gst_mini_object_replace), (gst_value_mini_object_free),
14484 (gst_value_mini_object_copy):
14485 Use _CAST macros to avoid unneeded type checking.
14486 Added some more G_UNLIKELY.
14488 2006-06-12 Wim Taymans <wim@fluendo.com>
14491 Avoid unneeded type checking.
14492 API: GST_BUFFER_IS_DISCONT
14494 * gst/gstminiobject.h:
14495 Avoid type check in flag accessor.
14497 * gst/gstelementfactory.h:
14499 * gst/gstpluginfeature.h:
14501 API: GST_ELEMENT_FACTORY_CAST
14502 API: GST_PLUGIN_CAST
14503 API: GST_PLUGIN_FEATURE_CAST
14505 2006-06-12 Wim Taymans <wim@fluendo.com>
14507 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14508 (gst_object_unref):
14509 Add G_UNLIKELY in type registration.
14510 Avoid type check in _ref/_unref since that is also
14513 2006-06-12 Wim Taymans <wim@fluendo.com>
14515 * gst/gsterror.c: (gst_g_error_get_type):
14516 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14517 (gst_static_pad_template_get_type):
14518 * gst/gsttaglist.c: (gst_tag_list_get_type):
14519 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14520 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14521 * gst/gsturi.c: (gst_uri_handler_get_type):
14522 * gst/gstvalue.c: (gst_date_get_type):
14523 * gst/gstxml.c: (gst_xml_get_type):
14524 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14525 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14526 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14527 Add G_UNLIKELY in type registration.
14529 2006-06-12 Wim Taymans <wim@fluendo.com>
14531 * tools/gst-inspect.c: (print_signal_info):
14532 Properly print enum values.
14534 2006-06-12 Wim Taymans <wim@fluendo.com>
14536 * gst/gstinfo.c: (gst_debug_set_active),
14537 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14539 Add some G_[UN]LIKELY.
14540 Maintain __gst_debug_min to avoid formatting the arguments of
14541 debug messages that will be dropped anyway to avoid a lot of
14542 overhead from the debugging system.
14544 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14547 * po/POTFILES.skip:
14548 add missing files containing translatable strings, tell intltool about
14551 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14553 * tests/check/libs/.cvsignore:
14554 add test-binary to ignore list
14556 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14558 * docs/libs/gstreamer-libs-docs.sgml:
14559 reorder (put dp into a chapter) and indent
14561 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14566 === release 0.10.8 ===
14568 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14571 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14573 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14575 * gst/gst.c: (init_post):
14576 move pid declaration to declaration block
14578 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14580 * gst/gst.c: (init_post):
14581 use _exit() instead of exit() in our forked child; this ensures
14582 that none of the registered exit handlers from whatever is using
14583 GStreamer get executed. This fixes gnome-mixer-applet failing
14584 to load, because ORBit would shut down.
14585 Spotted by: Edward Hervey <edward@fluendo.com>
14586 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14589 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14594 === release 0.10.7 ===
14596 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14599 releasing 0.10.7, "Soepeke, ik zie ou"
14601 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14624 * win32/common/config.h:
14625 0.10.6.2 prerelease
14627 2006-06-07 Wim Taymans <wim@fluendo.com>
14629 * gst/gstindex.c: (gst_index_gtype_resolver):
14630 * tools/gst-xmlinspect.c: (print_plugin_info):
14631 Fix leak spotted by coverity checker. Fixes #343827
14632 Fix another other leak found by paolo borelli.
14634 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14636 * libs/gst/dataprotocol/dataprotocol.c:
14637 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14638 (gst_dp_version_get_type), (gst_dp_init),
14639 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14640 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14641 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14642 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14643 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14644 (gst_dp_packetizer_free):
14645 * libs/gst/dataprotocol/dataprotocol.h:
14646 API: add a GstDPPacketizer object, and create/free functions
14647 API: add GstDPVersion enum
14648 Add 1.0 event function that uses the string serialization
14649 Serialize more useful buffer flags
14652 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14654 * tests/check/Makefile.am:
14655 * tests/check/gst/gstabi.c:
14656 * tests/check/gst/struct_ppc64.h:
14657 * tests/check/libs/libsabi.c:
14658 * tests/check/libs/struct_ppc64.h:
14659 add ppc64 structure sizes
14661 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14663 * tests/check/Makefile.am:
14664 * tests/check/gst/gstabi.c:
14665 * tests/check/gst/struct_x86_64.h:
14666 * tests/check/libs/libsabi.c:
14667 * tests/check/libs/struct_x86_64.h:
14668 generate and add structure size lists for x86_64
14670 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14672 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14673 * libs/gst/check/gstcheck.h:
14674 factor out the method from tests that checks size of structures,
14675 and add code to generate the header containing these sizes
14676 * tests/check/gst/gstabi.c: (GST_START_TEST):
14677 * tests/check/gst/struct_i386.h:
14678 * tests/check/libs/libsabi.c: (GST_START_TEST):
14679 * tests/check/libs/struct_i386.h:
14682 2006-06-06 Michael Smith <msmith@fluendo.com>
14684 * gst/gstsegment.h:
14685 Don't use c++-style comments, fixes #343929
14687 2006-06-05 Edward Hervey <edward@fluendo.com>
14690 plugin_paths is not used if we build without registry support.
14692 * gst/gstsegment.c: (gst_segment_copy):
14693 _copy() was always returning NULL...
14695 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14697 * libs/gst/dataprotocol/dataprotocol.c:
14698 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14699 (gst_dp_packet_from_event):
14700 factor out CRC code
14702 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14704 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14705 make sure we unset caps
14707 2006-06-02 Michael Smith <msmith@fluendo.com>
14709 * libs/gst/check/gstcheck.c: (gst_check_init),
14710 (gst_check_chain_func):
14711 * libs/gst/check/gstcheck.h:
14712 Add a cond/mutex to the check support lib, signal this whenever we
14713 add to the buffers list. This will allow tests to not busy-wait on
14716 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14718 * libs/gst/dataprotocol/dataprotocol.c:
14719 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14720 (gst_dp_packet_from_event):
14721 factor out some common header init code
14723 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14725 * docs/libs/gstreamer-libs-sections.txt:
14726 * docs/libs/tmpl/gstdataprotocol.sgml:
14727 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14728 * libs/gst/dataprotocol/dataprotocol.h:
14729 API: make gst_dp_crc() public
14731 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14733 * plugins/indexers/gstindexers.c: (plugin_init):
14734 conditionally register fileindexer (fixes #343598)
14736 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14738 * gst/gsttagsetter.h:
14739 Can't cast ifaces to a class
14741 * libs/gst/net/gstnetclientclock.h:
14742 * libs/gst/net/gstnettimeprovider.h:
14743 * plugins/elements/gstfakesink.h:
14744 * plugins/elements/gstfakesrc.h:
14745 * plugins/elements/gstfdsink.h:
14746 * plugins/elements/gstfdsrc.h:
14747 * plugins/elements/gstfilesink.h:
14748 * plugins/elements/gstfilesrc.h:
14749 * plugins/elements/gstidentity.h:
14750 * plugins/elements/gstqueue.h:
14751 * plugins/elements/gsttee.h:
14752 * plugins/indexers/gstfileindex.c:
14753 * plugins/indexers/gstmemindex.c:
14754 * tests/old/examples/plugins/example.h:
14755 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14757 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14759 * libs/gst/dataprotocol/dataprotocol.c:
14760 (gst_dp_header_from_buffer):
14761 make sure we zero the whole ABI-compatible area
14763 2006-06-01 Wim Taymans <wim@fluendo.com>
14765 Patch by: Alessandro Decina <alessandro at nnva dot org>
14767 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14768 Make sure the EOS flag is cleared from pads after a flush
14769 or stop. Fixes #343538.
14771 * tests/check/libs/collectpads.c: (GST_START_TEST),
14772 (gst_collect_pads_suite):
14773 Added test for collectpads reusage after EOS.
14775 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14778 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14779 * win32/common/libgstbase.def:
14780 export gst_collect_pads_set_flushing
14781 * win32/common/libgstreamer.def:
14782 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14783 gst_value_fraction_multiply
14784 * win32/vs6/gst_inspect.dsp:
14785 add a link to intl.lib
14787 2006-05-30 Wim Taymans <wim@fluendo.com>
14789 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14790 (gst_collect_pads_chain):
14791 Handle the case where a pad is removed from the collection
14792 that could cause the other pads to become collectable.
14794 2006-05-30 Wim Taymans <wim@fluendo.com>
14796 * gst/gstelement.c:
14797 Clarify the use of _release_request_pad() and
14798 _get_request_pad() a bit better.
14800 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14801 (gst_adapter_take_buffer):
14802 Fix some doc and comment typos.
14804 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14806 * docs/gst/gstreamer-sections.txt:
14807 * docs/libs/gstreamer-libs-sections.txt:
14808 add declared symbols
14810 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14812 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14813 Add debug that can be enabled using a #define at the top of the file,
14814 for dumping stats about how late/early we were when waking up from
14815 waiting on the clock.
14817 2006-05-30 Wim Taymans <wim@fluendo.com>
14819 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14820 When rebuilding the pad list, don't leak the previous list.
14822 2006-05-30 Wim Taymans <wim@fluendo.com>
14824 Patch by: Lutz Mueller <lutz at topfrose dot de>
14826 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14827 (gst_base_src_get_query_types), (gst_base_src_update_length):
14828 Publish supported query types.
14829 Update last_stop field in get_range mode so the position
14830 query works. Fixes #342321.
14832 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14834 * docs/gst/gstreamer-sections.txt:
14835 * gst/gsttaglist.c: (_gst_tag_initialize):
14836 * gst/gsttaglist.h:
14837 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14839 2006-05-30 Wim Taymans <wim@fluendo.com>
14841 Patch by: Alessandro Decina <alessandro at nnva dot org>
14843 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14844 Unlock mutex when removing an unknown pad.
14847 * tests/check/Makefile.am:
14848 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14849 (push_event), (setup), (teardown), (GST_START_TEST),
14850 (gst_collect_pads_suite), (main):
14851 Added collecpads check, disabled for now as check crashes for
14854 2006-05-29 Wim Taymans <wim@fluendo.com>
14856 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14857 Don't leak pads lists.
14859 2006-05-29 Wim Taymans <wim@fluendo.com>
14861 * docs/libs/gstreamer-libs-sections.txt:
14862 * libs/gst/base/gstcollectpads.c:
14863 (gst_collect_pads_set_flushing_unlocked),
14864 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14865 (gst_collect_pads_stop):
14866 * libs/gst/base/gstcollectpads.h:
14867 API: gst_collect_pads_set_flushing()
14868 Added api to set the pads to flushing, useful for seeking
14869 code in elements using collectpads.
14870 Clear segment when receiving a flush.
14872 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14874 * gst/gst.c: (add_path_func), (init_post):
14875 Don't scan registry paths passed via --gst-plugin-path immediately
14876 (will crash, because absolutely nothing is set up and no types are
14877 registered etc.); do this later in init_post(). Fixes #343057.
14879 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14881 * gst/gst.c: (init_post):
14882 if we have fork, fork while reading/rebuilding the registry
14883 so the parent doesn't take the hit of having all plugins loaded
14884 in memory. Fixes #342777.
14886 Check if we have fork()
14887 * win32/common/config.h.in:
14890 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14892 * plugins/elements/gstelements.c:
14893 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14894 (gst_file_src_init), (gst_file_src_set_property),
14895 (gst_file_src_get_property), (gst_file_src_start):
14896 * plugins/elements/gstfilesrc.h:
14897 API: GstFileSrc::use-mmap
14899 Add a use-mmap property to enable easier testing of all code paths.
14900 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14901 in the absence of gnomevfssrc. (Closes #340501)
14903 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14905 * tools/gst-inspect.c:
14906 Add missing include, removes warning of ngettext not being defined on
14909 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14911 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14912 Handle NULL input and output pointers silently as a failed conversion,
14913 rather than g_warnings.
14915 2006-05-25 Wim Taymans <wim@fluendo.com>
14917 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14918 Initialize variable before using. Fixes #342820.
14920 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14922 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14923 Fix off-by-one bug that would only allow peeks of N-1 bytes
14924 from the start even if the buffer to typefind on contains
14925 in fact N bytes of data (makes vorbis typefinding from a
14926 vorbis identification header buffer work).
14928 * tests/check/Makefile.am:
14929 * tests/check/libs/.cvsignore:
14930 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14931 (gst_typefindhelper_suite), (main), (foobar_typefind),
14933 Add very basic unit test for gst_type_find_helper_for_buffer()
14934 that checks for the problem fixed above.
14936 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14938 * tools/gst-inspect.c: (print_interfaces),
14939 (print_element_properties_info), (print_element_list), (main):
14940 add more translatable strings
14942 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14944 Patch by: Julien Moutte <julien at moutte net>
14946 * docs/gst/gstreamer-sections.txt:
14947 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14949 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14950 (gst_fake_sink_preroll):
14951 * plugins/elements/gstfakesink.h:
14952 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14954 2006-05-23 Wim Taymans <wim@fluendo.com>
14956 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14958 Added _CUSTOM error and success GstFlowReturn that can be
14959 used be elements internally.
14960 Added macro to check for SUCCESS flowreturns.
14961 API: GST_FLOW_CUSTOM_SUCCESS
14962 API: GST_FLOW_CUSTOM_ERROR
14963 API: GST_FLOW_IS_SUCCESS
14965 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14966 Added check for GstFlowReturn sanity.
14968 2006-05-23 Wim Taymans <wim@fluendo.com>
14970 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14972 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14973 (gst_collect_pads_event):
14974 clear/reset segment info in FLUSH_STOP.
14977 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14979 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14980 (gst_collect_pads_check_collected):
14981 Flush queued buffer on _stop(), fixes playing again (#342454)
14983 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14985 * tests/check/gst/gststructure.c: (GST_START_TEST),
14986 (gst_structure_suite):
14987 add a test for a complete structure
14989 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14991 * docs/faq/developing.xml:
14992 * docs/faq/faq.xml:
14993 * docs/faq/troubleshooting.xml:
14994 * docs/faq/using.xml:
14995 Some minor FAQ updates that won't change the fact that
14996 our FAQ is badly structured, full of information hardly
14997 anyone new to GStreamer needs to know and lacking lots
14998 of information people constantly ask for.
15000 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
15002 * gst/gstpad.c: (gst_pad_set_caps):
15003 Short-circuit gst_pad_set_caps if setting the existing
15004 caps pointer again, and avoid printing debug and
15005 reffing/unreffing the caps.
15007 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15008 There's actually no need to set the caps before pushing -
15009 the acceptcaps method will handle it anyway.
15011 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
15013 * docs/gst/gstreamer-sections.txt:
15014 * win32/common/libgstreamer.def:
15015 * gst/gstutils.c: (gst_element_seek_simple):
15017 API: add gst_element_seek_simple() (#342238).
15019 2006-05-18 Edward Hervey <edward@fluendo.com>
15021 * gst/gsttypefind.c: (gst_type_find_get_type):
15022 * gst/gsttypefind.h:
15023 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15024 registered for GstTypeFind pointers. This allows wrapping the structure
15025 in bindings (i.e. gst-python).
15027 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15029 * gst/gsttagsetter.c:
15030 Docs additions and fixes (see #339918).
15032 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
15034 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15035 The caps intersection algorithm can produce multiple copies of the
15036 caps. Until that is fixed, we need to simplify the result to be
15037 sure whether the allowed caps are fixed or not.
15039 * plugins/elements/gstqueue.c: (gst_queue_init),
15040 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15041 (gst_queue_push_one):
15042 Proxied buffer alloc should not set the caps on the source pad.
15043 When pushing buffers, we always accept the caps change that triggers.
15044 This prevents negotiation errors caused by caps changing mid-stream
15045 and then being refused on our source pad (because upstream is now
15046 refusing those caps).
15048 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
15050 * tests/examples/helloworld/helloworld.c: (main):
15051 Must plug audioconvert and audioresample between decoder
15054 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
15056 * gst/gstregistryxml.c: (read_string), (load_pad_template),
15057 (load_feature), (load_plugin):
15058 Allow empty strings for some of the plugin fields so we don't
15059 drop valid plugin entries that were written out correctly
15062 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
15064 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15065 Use g_remove and g_rename instead of remove and rename that don't
15066 handle utf8 characters. rename was failing for users who had specific
15067 characters in their name then the registry was built at each
15069 * win32/vs6/gst_inspect.dsp:
15070 * win32/vs6/gst_launch.dsp:
15071 * win32/vs6/libgstbase.dsp:
15072 * win32/vs6/libgstcoreelements.dsp:
15073 * win32/vs6/libgstreamer.dsp:
15074 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
15075 build of libgstreamer and clean unused libraries in projects link
15078 2006-05-17 Edward Hervey <edward@fluendo.com>
15080 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15081 The queue is not responsible for pushing an EOS when receiving a fatal
15082 flow error. It's up to the real element driving the pipeline to do that.
15084 2006-05-16 Edward Hervey <edward@fluendo.com>
15086 * plugins/elements/gstqueue.c: (gst_queue_push_one):
15087 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15088 buffer returned a fatal error. It should just send an EOS and stop
15090 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15091 when pushing buffers on the queue and will be able to handle the event.
15093 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
15095 * docs/manual/basics-bins.xml:
15096 * docs/manual/basics-init.xml:
15097 Fix typos and minor errors in sample code (#341856).
15099 2006-05-16 Wim Taymans <wim@fluendo.com>
15101 * docs/design/part-qos.txt:
15102 Fix indexes in formulas to make more sense.
15104 2006-05-15 Wim Taymans <wim@fluendo.com>
15106 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15107 Don't report POSITION based on clock time if sync is
15108 disabled in a sink.
15110 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
15113 Add cast to make compiler happy - refcount variable was a gint
15114 in GstObject but is a guint in GObject and g_atomic_int_get()
15117 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
15119 * gst/parse/Makefile.am:
15120 chain commands using &&, which also makes parallel make work
15122 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
15124 * docs/gst/gstreamer-sections.txt:
15127 * gst/gstmessage.h:
15130 === release 0.10.6 ===
15132 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15135 releasing 0.10.6, "Take the cannoli"
15137 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15139 * tools/gst-launch.c: (print_tag):
15140 Fix use of uninitialized variable in the hypothetical
15141 case that some broken plugin creates a GST_TAG_IMAGE
15142 tag containing a NULL buffer (#341667).
15144 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15146 * tools/gst-launch.c: (print_tag):
15147 Print something more intelligible for image tags when
15148 using the -t switch (#341556).
15150 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15155 define GST_MAJORMINOR so we have it available in win32/common/config.h
15156 Possibly remove it from our Makefile.am files later
15157 * win32/common/config.h:
15158 * win32/common/config.h.in:
15159 added GST_MAJORMINOR
15160 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15161 * win32/common/gstversion.h:
15164 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15167 Update win32 files listing.
15168 * win32/common/gstversion.h:
15169 Add GST_MAJORMINOR definition.
15170 * win32/common/libgstreamer.def:
15171 Add new exported functions.
15173 2006-05-12 Michael Smith <msmith@fluendo.com>
15175 * gst/gstplugin.c: (gst_plugin_load_file):
15176 If an so file has no plugin entry point, unload the module.
15178 2006-05-11 Wim Taymans <wim@fluendo.com>
15180 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15181 (gst_queue_set_property):
15182 Don't forget to signal the _chain or _loop function
15183 when the queue size or thresholds change since that might
15184 cause them to make progres again.
15186 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15188 * gst/gstclock.c: (gst_clock_class_init):
15189 * gst/gstindex.c: (gst_index_class_init):
15190 * gst/gstobject.c: (gst_object_class_init):
15191 * gst/gstpad.c: (gst_pad_class_init):
15192 * gst/gstpipeline.c: (gst_pipeline_class_init):
15193 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15194 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15195 * libs/gst/base/gstbasetransform.c:
15196 (gst_base_transform_class_init):
15197 * libs/gst/net/gstnetclientclock.c:
15198 (gst_net_client_clock_class_init):
15199 * libs/gst/net/gstnettimeprovider.c:
15200 (gst_net_time_provider_class_init):
15201 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15202 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15203 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15204 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15205 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15206 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15207 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15208 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15209 * plugins/elements/gsttee.c: (gst_tee_class_init):
15210 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15211 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15212 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15214 2006-05-11 Wim Taymans <wim@fluendo.com>
15216 * gst/gstbuffer.c: (_gst_buffer_initialize):
15217 Register subbufer along with the buffer type so that
15218 it does not accidentally gets registered from N
15219 different streaming threads in a non threadsafe way.
15221 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15225 * gst/gstmessage.h:
15226 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15227 gst_event_ref() and gst_message_ref() functions again
15228 (ugly hack, please do fix if there's a better way besides
15229 overrides.txt, which doesn't seem to work).
15231 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15233 * libs/gst/check/gstcheck.h:
15234 add an assert for setting state to avoid lots of repetitive code
15237 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15239 * gst/gstvalue.c: (gst_value_serialize_flags):
15240 fix a leak if no flags are set
15241 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15244 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15246 * docs/manual/basics-pads.xml:
15247 Expand a bit on caps and filtered links and update
15248 examples that were still using the no longer existing
15249 gst_pad_link_filtered() (#338206).
15251 2006-05-10 Wim Taymans <wim@fluendo.com>
15253 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15254 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15255 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15256 (gst_collect_pads_stop):
15257 * libs/gst/base/gstcollectpads.h:
15258 No need to call _stop in _finalize.
15259 Iterate the main pad list in _finalize.
15260 Added some more debug.
15261 Free lists and data in the right order.
15262 Also free data whem doing _remove_pad when stopped for
15263 backward compatibility protect ::started with PAD_LOCK as
15266 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15268 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15269 (gst_structure_parse_value):
15271 rename a method so that it actually says what it does better
15273 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15275 * gst/gstevent.c: (_gst_event_initialize):
15276 * gst/gstformat.c: (_gst_format_initialize):
15277 make sure some essential types used by events are registered
15278 as part of gst_init()
15279 * gst/gstvalue.c: (gst_value_serialize_flags):
15280 if no flags are set, serialize them to a value that represents NONE
15281 so that deserializing them works
15282 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15283 add tests for serialization and deserialization of flags
15285 2006-05-10 Wim Taymans <wim@fluendo.com>
15287 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15288 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15289 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15290 (gst_collect_pads_event), (gst_collect_pads_chain):
15293 Catch and return errors from the collect function
15294 Refuse data on eos pads.
15296 2006-05-10 Edward Hervey <edward@fluendo.com>
15298 * gst/gstinterface.h:
15299 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15300 GInterface type checking.
15301 They were previously using non-defined macros.
15303 2006-05-09 Wim Taymans <wim@fluendo.com>
15305 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15306 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15307 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15308 (gst_collect_pads_start), (gst_collect_pads_stop),
15309 (gst_collect_pads_peek), (gst_collect_pads_pop),
15310 (gst_collect_pads_available), (gst_collect_pads_read),
15311 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15312 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15313 (gst_collect_pads_chain):
15314 * libs/gst/base/gstcollectpads.h:
15315 Clean up the mess that is collectpads, add comments and
15316 FIXMEs where needed.
15317 Maintain a separate pad list so we can add pads while
15318 collecting the other ones. For this we need a new separate
15320 Fix memory leak in finalize.
15321 Refactor some weird code to set/unset pad flushing flags, mark
15323 Don't crash in _available, _read, _flush when we're EOS.
15325 * tests/check/libs/.cvsignore:
15326 Ignore adapter check binary.
15328 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15330 * gst/gstindex.c: (gst_index_resolver_get_type):
15331 * plugins/elements/gstfakesink.c:
15332 (gst_fake_sink_state_error_get_type):
15333 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15334 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15335 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15336 Const-ify GEnumValue arrays.
15338 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15340 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15341 Add test case for flags + gst_buffer_make_metadata_writable().
15343 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15345 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15346 gst_buffer_make_metadata_writable() should maintain the
15347 buffer flags (those that make sense at least) (see #340859).
15349 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15351 * tools/gst-inspect.c:
15352 * tools/gst-launch.c:
15353 * tools/gst-typefind.c:
15354 * tools/gst-xmlinspect.c:
15356 Fix up includes: need to include stdlib.h in tools.h for exit().
15358 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15360 * gst/gsttaglist.c: (_gst_tag_initialize):
15361 * gst/gsttaglist.h:
15362 API: add GST_TAG_IMAGE tag (#340721).
15364 2006-05-08 Wim Taymans <wim@fluendo.com>
15367 Added some docs for the segment query.
15369 2006-05-08 Wim Taymans <wim@fluendo.com>
15371 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15372 (gst_base_src_loop), (gst_base_src_change_state):
15373 Always push non-flushing serialized events in the streaming
15376 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15378 * gst/gsterror.c: (_gst_stream_errors_init):
15379 Add a missing error string.
15381 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15383 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15384 Add applied_rate to the debug
15386 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15387 Copy applied_rate into the outgoing NEWSEGMENT event
15389 2006-05-08 Wim Taymans <wim@fluendo.com>
15391 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15393 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15394 (gst_base_sink_change_state):
15395 call ::unlock before taking the PREROLL_LOCK so we can safely
15396 handle elements that lock in ::render.
15399 2006-05-08 Edward Hervey <edward@fluendo.com>
15401 * autogen.sh: (CONFIGURE_DEF_OPT):
15402 Darwin's libtoolize is in fact called glibtoolize.
15403 Adding glibtoolize to the list of accepted names for libtoolize.
15405 2006-05-08 Wim Taymans <wim@fluendo.com>
15407 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15408 Unify error handling, don't post an error message
15409 when a push() returns EOS but perform our normal EOS
15410 handling code. Fixes #340772.
15412 2006-05-08 Wim Taymans <wim@fluendo.com>
15414 * docs/design/part-overview.txt:
15415 Make upsteam/downstream concepts more clear.
15416 Give an example of serialized/non-serialized events.
15418 * docs/design/part-events.txt:
15419 * docs/design/part-streams.txt:
15420 Mention applied_rate.
15422 * docs/design/part-trickmodes.txt:
15423 Mention applied rate, flesh out some more use cases.
15425 * gst/gstevent.c: (gst_event_new_new_segment),
15426 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15427 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15428 (gst_event_parse_tag), (gst_event_new_buffer_size),
15429 (gst_event_parse_buffer_size), (gst_event_new_qos),
15430 (gst_event_parse_qos), (gst_event_parse_seek),
15431 (gst_event_new_navigation):
15433 Add applied_rate field to NEWSEGMENT event.
15434 API: gst_event_new_new_segment_full()
15435 API: gst_event_parse_new_segment_full()
15437 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15438 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15439 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15440 * gst/gstsegment.h:
15441 Add applied_rate to GstSegment structure.
15442 Make calculation of stream_time and running_time more correct
15443 wrt rate/applied_rate.
15444 Add some more docs.
15445 API: GstSegment::applied_rate field
15446 API: gst_segment_set_newsegment_full();
15448 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15449 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15450 * libs/gst/base/gstbasetransform.c:
15451 (gst_base_transform_sink_eventfunc),
15452 (gst_base_transform_handle_buffer):
15453 Parse and use applied_rate in the GstSegment field.
15455 * tests/check/gst/gstevent.c: (GST_START_TEST):
15456 Add check for applied_rate field.
15458 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15459 (gstsegments_suite):
15460 Add more checks for various GstSegment operations.
15462 2006-05-08 Wim Taymans <wim@fluendo.com>
15464 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15465 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15466 (gst_base_sink_get_position), (gst_base_sink_change_state):
15467 Store the sync time of the buffer end position separatly in a
15468 new variable eos_rtime so we can properly sync the EOS event.
15470 Fix the docs for gst_base_sink_set_qos_enabled().
15471 Don't set segment start to invalid value when we receive a
15472 non TIME newsegment.
15473 get closer to handling position reporting for negative rates
15476 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15479 Docs about how to print caps for debug purposes.
15481 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15482 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15484 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15486 * gst/gstelement.c:
15487 use full enum names and preprend a '%' in docs strings to make recent
15488 gtk-doc turn that into a link
15490 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15492 * docs/manual/basics-bins.xml:
15493 * docs/manual/basics-bus.xml:
15494 * docs/manual/basics-pads.xml:
15495 Some typo fixes, some additions, some clarifications.
15497 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15499 * tools/gst-inspect.c: (main):
15500 * tools/gst-launch.c: (main):
15501 * tools/gst-run.c: (main):
15502 * tools/gst-typefind.c: (main):
15503 * tools/gst-xmlinspect.c: (main):
15504 Use the string passed to g_option_context_new() for
15505 what it's intended for - the program name is already
15508 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15510 * tools/Makefile.am:
15511 * tools/gst-inspect.c: (main):
15512 * tools/gst-launch.c: (main):
15513 * tools/gst-xmlinspect.c: (main):
15515 Add back --version command line option (#340460).
15517 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15518 Add --version option and use GOption for argument parsing; refactor a
15519 bit; accept directories as arguments and recurse into them; lastly,
15520 print a decent error message when things go wrong.
15522 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15524 * docs/manual/basics-bins.xml:
15525 Don't mention GstThread (#340611)
15526 * docs/manual/basics-elements.xml:
15527 Update link to GObject tutorial (#340607)
15529 2006-05-05 Wim Taymans <wim@fluendo.com>
15532 * gst/gstminiobject.c:
15533 Add note about refcounting and miniobject/buffer writeability
15534 to docs. Fixes #340604
15536 * gst/gstelementfactory.h:
15537 Added some explanation about @klass.
15539 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15541 * docs/manual/intro-motivation.xml:
15542 * docs/manual/manual.xml:
15543 Avoid CORBA & Bonobo references (#340598)
15545 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15547 * docs/manual/basics-bus.xml:
15548 * docs/manual/basics-pads.xml:
15549 Fix up some inaccuracies and omissions (#340609)
15551 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15553 * gst/gstghostpad.c:
15554 Small typo in docs (#340625)
15556 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15558 * gst/parse/Makefile.am:
15559 Make 'make -j' proof (see #340698).
15561 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15564 Require GLib-2.8 here as well.
15566 2006-05-05 Wim Taymans <wim@fluendo.com>
15568 * gst/glib-compat.c:
15569 * gst/gst.c: (init_pre):
15570 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15571 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15572 (gst_object_dispatch_properties_changed):
15574 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15575 * gst/gststructure.c: (gst_structure_set_valist):
15576 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15577 Remove pre glib2.8 compatibility, fixes #340508
15579 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15581 * gst/gsttaglist.h:
15582 Mention type of tags in doc blurbs.
15584 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15586 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15587 (gst_pad_configure_src), (gst_pad_push):
15588 Restore acceptcaps checking behaviour now that good plugins have
15591 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15593 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15600 * gst/gstmessage.c:
15604 * gst/parse/Makefile.am:
15605 * libs/gst/base/gstadapter.c:
15606 * libs/gst/base/gstbasesrc.c:
15607 * libs/gst/base/gstpushsrc.c:
15608 * libs/gst/base/gsttypefindhelper.c:
15609 * plugins/elements/gstfakesrc.c:
15610 * plugins/elements/gstidentity.c:
15611 Make sure gstprivate.h and/or config.h are
15612 always included first, otherwise some of our
15613 defines (like _FILE_OFFSET_BITS) might be
15614 redefined in the system headers. Fixes build
15615 on opensolaris (#340016).
15617 2006-05-04 Wim Taymans <wim@fluendo.com>
15619 * docs/libs/gstreamer-libs-sections.txt:
15620 API: addition: gst_adapter_take_buffer()
15622 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15623 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15624 (gst_adapter_available_fast):
15625 * libs/gst/base/gstadapter.h:
15626 Prepare for optimizing the hell out of this hugely inefficient
15628 Added gst_adapter_take_buffer() so we can at least start thinking
15629 about subbuffering and merging.
15630 Added some comments.
15632 * tests/check/Makefile.am:
15633 * tests/check/libs/adapter.c: (GST_START_TEST),
15634 (gst_adapter_suite), (main):
15635 Added GstAdapter check.
15637 2006-05-04 Wim Taymans <wim@fluendo.com>
15639 * docs/design/part-overview.txt:
15640 Fix some typos, add blurb about buffer flags.
15642 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15644 * docs/libs/gstreamer-libs-sections.txt:
15645 make sure GstBaseTransformClass shows up in the docs
15646 * libs/gst/base/gstbasetransform.c:
15647 * libs/gst/base/gstbasetransform.h:
15648 move docs so gtk-doc picks it up now
15650 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15652 * docs/libs/gstreamer-libs-sections.txt:
15653 add missing symbols to docs
15655 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15657 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15658 back out the newsegment handling change, see #340060 for ongoing
15661 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15663 * tools/gst-run.c: (get_candidates), (main):
15664 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15665 work); fix typo in error message. Fixes #340079.
15667 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15669 * common/Makefile.am:
15670 * docs/Makefile.am:
15671 * docs/faq/Makefile.am:
15672 * docs/gst/Makefile.am:
15673 * docs/libs/Makefile.am:
15674 * docs/manual/Makefile.am:
15675 * docs/plugins/Makefile.am:
15676 * docs/pwg/Makefile.am:
15677 * docs/slides/Makefile.am:
15679 * common/upload.mak:
15680 move upload.mak to common
15682 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15684 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15685 add more asserts on refcounts
15686 do more cleanup at end of tests
15687 fix test leaks showing in FC5
15689 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15691 * plugins/elements/gsttypefindelement.c:
15692 (gst_type_find_element_handle_event):
15693 reverted wrong change and reflowed code to avoid others falling into
15696 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15698 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15699 fix changelog entry about last collectpads change,
15700 add notes about proper fix
15702 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15705 * gst/gstregistry.c: (gst_registry_scan_path_level),
15706 (gst_registry_scan_path):
15707 * gst/gstregistry.h:
15708 only write out registry if it has changed, fixes #338339
15710 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15713 * gst/gstpipeline.c:
15714 * plugins/elements/gstcapsfilter.c:
15715 * plugins/elements/gstfakesink.c:
15716 * plugins/elements/gstfakesrc.c:
15717 * plugins/elements/gstfdsink.c:
15718 * plugins/elements/gstfdsrc.c:
15719 * plugins/elements/gstfilesink.c:
15720 * plugins/elements/gstfilesrc.c:
15721 * plugins/elements/gstidentity.c:
15722 * plugins/elements/gstqueue.c:
15723 * plugins/elements/gsttee.c:
15724 * plugins/elements/gsttypefindelement.c:
15725 (gst_type_find_element_handle_event):
15726 make GstElementDetails const
15728 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15730 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15731 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15732 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15733 more detailed debug and formatting cleanup,
15734 forward newsegments to src-pad (so that e.g. adder not eats them)
15736 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15738 * gst/gstutils.c: (gst_element_link_pads):
15739 cleanup double code
15741 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15743 * libs/gst/controller/gstcontroller.c:
15744 (gst_controller_sync_values):
15746 * tests/check/libs/controller.c: (GST_START_TEST),
15747 (gst_controller_suite):
15748 a new test for live value handling
15750 2006-04-28 Wim Taymans <wim@fluendo.com>
15752 * gst/gstutils.c: (push_and_ref):
15753 Added some more docs.
15754 Fix refcount issue whith gst_element_found_tags() helper
15755 function. Fixes #338335
15757 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15758 Added testsuite for gst_element_found_tags().
15760 2006-04-28 Michael Smith <msmith@fluendo.com>
15762 * gst/gstvalue.c: (gst_value_serialize_flags):
15763 Avoid NULL dereference when trying to serialize flags containing
15766 2006-04-28 Michael Smith <msmith@fluendo.com>
15768 * plugins/elements/gsttypefindelement.c:
15769 (gst_type_find_element_handle_event):
15770 If we get EOS before any data is accumulated, don't use
15771 uninitialised local variables.
15773 2006-04-28 Michael Smith <msmith@fluendo.com>
15775 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15776 (gst_dp_event_from_packet):
15777 Fixes in reading/writing events over GDP (not currently used?) -
15778 dereferencing NULL events for unknown/invalid event types, memory
15779 leak, and change g_warning to GST_WARNING.
15781 2006-04-28 Wim Taymans <wim@fluendo.com>
15783 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15784 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15785 (gst_base_sink_get_position), (gst_base_sink_change_state):
15786 When frame dropping is enabled, we should not ignore frames
15787 without a duration.
15788 Update some documentation.
15790 2006-04-28 Wim Taymans <wim@fluendo.com>
15792 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15793 (gst_base_src_send_event), (gst_base_src_change_state):
15794 Documentation updates.
15796 2006-04-28 Wim Taymans <wim@fluendo.com>
15798 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15799 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15800 handle EAGAIN, EINTR and short writes correctly. Also clean
15801 up some error cases, avoid a deadlock on bad file descriptors and
15802 use GST_DEBUG_OBJECT.
15805 2006-04-28 Wim Taymans <wim@fluendo.com>
15807 * gst/gstvalue.c: (gst_value_serialize_buffer),
15808 (gst_value_deserialize_buffer):
15809 Don't try to serialize a GValue with a NULL buffer.
15812 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15813 Added check for serialisation of NULL buffers.
15815 2006-04-28 Wim Taymans <wim@fluendo.com>
15817 * gst/gstminiobject.c: (gst_value_take_mini_object):
15818 Taking a NULL miniobject is valid, fix the case where
15819 we try to unref the NULL miniobject.
15821 2006-04-28 Wim Taymans <wim@fluendo.com>
15823 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15825 * gst/gstbin.c: (gst_bin_handle_message_func):
15827 Don't leak bin refcount when a state recalc is
15828 in progress and we delay another one #339808.
15830 2006-04-28 Wim Taymans <wim@fluendo.com>
15832 * docs/design/part-TODO.txt:
15833 Mention QoS as an ongoing work item.
15835 * docs/design/part-buffering.txt:
15836 New doc about buffering that needs to be fleshed out
15839 * docs/design/part-qos.txt:
15840 More QoS policy for decoders/demuxers/transforms
15842 * docs/design/part-trickmodes.txt:
15845 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15850 === release 0.10.5 ===
15852 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15855 releasing 0.10.5, "Fogo"
15857 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15859 patch by: Wim Taymans
15861 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15862 (gst_pad_configure_src), (gst_pad_push):
15863 * gst/gstpipeline.c: (gst_pipeline_init):
15864 Fix internal data flow errors. Fixes #338711.
15866 2006-04-12 Wim Taymans <wim@fluendo.com>
15868 * tests/check/gst/gstelement.c: (GST_START_TEST):
15869 Don't leak the factory.
15871 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15874 * win32/common/config.h:
15877 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15879 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15880 (gst_controller_unset_all):
15881 Free allocated GstTimedValues when freeing list nodes.
15882 Should fix leaks 'make check-valgrind' complains about.
15884 * win32/common/libgstcontroller.def:
15885 Add gst_controller_unset_all.
15887 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15889 * docs/libs/gstreamer-libs-sections.txt:
15890 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15891 (gst_controller_unset_all):
15892 * libs/gst/controller/gstcontroller.h:
15893 API: Added new method gst_controller_unset_all()
15894 fixed gst_controller_unset()
15895 * tests/check/libs/controller.c: (GST_START_TEST),
15896 (gst_controller_suite):
15897 Added two testcases for new and fixed method
15899 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15901 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15902 MSG_DONTWAIT is not defined on Cygwin, so work
15903 around that (fixes #317048).
15905 2006-04-11 Wim Taymans <wim@fluendo.com>
15907 * gst/gstelementfactory.c: (gst_element_register),
15908 (gst_element_factory_create), (gst_element_factory_make):
15911 Updated docs (Fixes #131079)
15913 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15916 * tests/check/gst/gstelement.c: (GST_START_TEST),
15917 (gst_element_suite):
15918 Added testcase for elementfactory class field.
15920 2006-04-10 Wim Taymans <wim@fluendo.com>
15922 * gst/gstsegment.c:
15923 Added some more docs.
15925 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15926 (gst_base_sink_reset_qos):
15927 Calculate more accurate rate values.
15929 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15931 * gst/gst_private.h:
15932 add a new #ifdef to use __declspec(dllimport) only for
15933 other modules and not for gstreamer core
15934 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15935 use gst_guint64_to_gdouble for conversion
15936 * win32/common/libgstreamer.def:
15937 add new exported functions
15938 * win32/vs6/gst_inspect.dsp:
15939 * win32/vs6/gst_launch.dsp:
15940 * win32/vs6/libgstbase.dsp:
15941 * win32/vs6/libgstcontroller.dsp:
15942 * win32/vs6/libgstcoreelements.dsp:
15943 * win32/vs6/libgstdataprotocol.dsp:
15944 * win32/vs6/libgstnet.dsp:
15945 update project files
15947 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15949 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15950 * gst/gstclock.c: (gst_clock_class_init):
15951 * gst/gstelement.c: (gst_element_class_init):
15952 * gst/gstindex.c: (gst_index_class_init):
15953 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15954 * gst/gstobject.c: (gst_object_class_init),
15955 (gst_signal_object_class_init):
15956 * gst/gstpad.c: (gst_pad_class_init):
15957 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15958 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15959 * gst/gstregistry.c: (gst_registry_class_init):
15960 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15961 * gst/gsttask.c: (gst_task_class_init):
15962 * gst/gstxml.c: (gst_xml_class_init):
15963 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15964 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15965 (gst_base_src_loop):
15966 * libs/gst/controller/gstcontroller.c:/
15967 (_gst_controller_class_init):
15968 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15969 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15970 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15971 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15972 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15973 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15975 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15977 * gst/gstpad.c: (gst_pad_link):
15978 Must set peer pads before calling the link function, otherwise
15979 a task started from a link function might get a flow-not-linked
15980 result when trying to push because the other thread where the
15981 linking happens hasn't had a chance to set the peers yet. This
15982 might happen for example when a queue gets linked to a downstream
15983 element, as queue starts a streaming task when its source pad
15984 gets linked. Happens in real life when playing back flac/musepack
15985 files in playbin (#332390).
15987 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15991 * libs/gst/base/gstadapter.h:
15992 * libs/gst/base/gstbasesink.h:
15993 * libs/gst/base/gstbasesrc.h:
15994 * libs/gst/base/gstbasetransform.h:
15995 * libs/gst/base/gstcollectpads.h:
15996 * libs/gst/base/gstpushsrc.h:
15997 Fix broken GObject macros
15999 2006-04-07 Wim Taymans <wim@fluendo.com>
16001 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16002 Initialize start and stop times, thanks valgrind.
16004 2006-04-07 Wim Taymans <wim@fluendo.com>
16006 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16007 Be a bit nicer to badly behaving upstream elements that expect
16008 us to deal with non TIME segments and timestamps (such as fakesrc
16011 2006-04-07 Wim Taymans <wim@fluendo.com>
16014 Small documentation clarification about the signal watch.
16016 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16017 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16018 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16019 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16020 (gst_base_sink_get_position_last),
16021 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16022 Convert and store timestamps in stream time and running time, the
16023 raw timestamps are not useful, also document this better.
16024 Use different window sizes for good and bad QoS observations so
16025 we react to badness a little quicker.
16026 Keep track of the amount of rendered and dropped buffers.
16027 Send QoS timestamps in running time.
16029 * libs/gst/base/gstbasetransform.c:
16030 (gst_base_transform_sink_eventfunc),
16031 (gst_base_transform_handle_buffer):
16032 Compare QoS timestamps against running time.
16034 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16037 Typo fixes in docs.
16039 2006-04-06 Michael Smith <msmith@fluendo.com>
16041 * gst/gstpad.c: (gst_pad_set_property):
16042 Use g_value_get_object() instead of g_value_dup_gst_object(),
16043 to avoid double-reffing the pad template (which we then sink,
16044 so this worked previously if (and only if) the pad template
16047 * gst/gstpadtemplate.c: (gst_pad_template_init),
16048 (gst_pad_template_pad_created):
16049 Never return floating references to pad templates, create
16050 them as initially-sunken.
16052 Document an extra function (and make this stop sinking our
16053 pad template, since that is now guaranteed to do nothing,
16054 since we created it sunken).
16056 * gst/gstghostpad.c:
16059 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
16061 * gst/gstinfo.c: (__gst_in_valgrind):
16064 * plugins/elements/gsttypefindelement.c:
16065 (gst_type_find_element_chain):
16066 Don't leak buffer caps.
16068 2006-04-06 Michael Smith <msmith@fluendo.com>
16070 * gst/parse/grammar.y:
16071 Fix a leak in parse-launch for any source-or-sink named element
16074 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16075 Unref the pipeline if it exists after we've failed parsing.
16077 2006-04-05 Michael Smith <msmith@fluendo.com>
16079 * gst/gstpipeline.c: (gst_pipeline_init):
16080 When we create a pipeline bus, initially create it in flushing mode.
16081 Fixes leaks in at least one test, and makes a new pipeline work the
16082 same as one that has gone to READY and then back to NULL.
16084 * gst/gstelement.c:
16087 2006-04-05 Michael Smith <msmith@fluendo.com>
16089 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16090 Unref a pad we reffed.
16091 * tests/check/gst/gstutils.c: (GST_START_TEST):
16094 2006-04-05 Michael Smith <msmith@fluendo.com>
16096 * gst/gstquery.c: (gst_query_set_formats),
16097 (gst_query_set_formatsv):
16098 Fix leaking GValues in queries, as shown by valgrind/testsuite.
16100 2006-04-05 Michael Smith <msmith@fluendo.com>
16102 * tests/check/generic/sinks.c: (GST_START_TEST):
16103 Fix a variety of memleaks in sinks check, which are only sometimes
16104 shown by running the tests under valgrind (weird?).
16106 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
16108 * docs/version.entities.in:
16109 Fix the substituted entity name after thomas' changes on the
16112 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
16114 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16117 2006-04-05 Andy Wingo <wingo@pobox.com>
16119 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16121 * libs/gst/base/gstbasetransform.c
16122 (gst_base_transform_sink_eventfunc): When resetting our segment on
16123 FLUSH_STOP, also update the flag saying we haven't seen a
16126 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16128 Patch by: Paolo Borelli <pborelli at katamail dot com>
16130 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16131 (gst_plugin_check_license):
16132 minor clean-ups: G_DEFINE_TYPE already takes care of the
16133 parent_class stuff, no need to do it twice. Mark array of
16134 license strings as constant. (#337103)
16136 2006-04-04 Michael Smith <msmith@fluendo.com>
16138 * tools/gst-inspect.c: (print_element_list):
16139 Free the right plugin list; fixes a memory leak.
16141 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16143 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16145 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16146 Don't error out on empty buffers (#336945).
16148 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16150 * docs/libs/gstreamer-libs-sections.txt:
16151 * gst/gsttaglist.c:
16152 * libs/gst/base/gstbasesink.c:
16153 * libs/gst/base/gstbasesink.h:
16154 * libs/gst/base/gstbasesrc.c:
16155 * libs/gst/base/gstbasesrc.h:
16156 Documentation updates. Make BaseSink and BaseSrc docs contain the
16157 class structure so that people can actually see the prototypes for
16158 virtual functions they're supposed to be overriding.
16160 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16162 * plugins/elements/gsttypefindelement.c:
16163 (gst_type_find_element_chain):
16164 More debug info; when skipping typefinding, send cached
16165 events in all cases.
16167 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16170 use new AS_VERSION and AS_NANO macros
16171 * gst/gst-i18n-lib.h:
16174 * gst/gstversion.h.in:
16175 * win32/common/config.h:
16176 * win32/common/config.h.in:
16179 2006-03-31 Michael Smith <msmith@fluendo.com>
16181 * plugins/elements/gsttypefindelement.c:
16182 (gst_type_find_element_chain):
16183 Do not typefind content if the buffers already have caps.
16184 Neccesary for icydemux (#333657), and the right thing to do anyway.
16186 2006-03-30 Wim Taymans <wim@fluendo.com>
16188 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16189 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16190 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16191 (gst_base_sink_record_qos_observation),
16192 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16193 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16194 (gst_base_sink_change_state):
16195 More QoS measurements as described in the design doc.
16196 Get rid of ringbuffer with observations, running average is
16197 more simple and equally good.
16198 Calculates valid proportion now.
16199 Added beginning of flood measurement.
16201 2006-03-29 Wim Taymans <wim@fluendo.com>
16203 * docs/design/part-qos.txt:
16205 Small documentation updates and additions.
16207 2006-03-29 Wim Taymans <wim@fluendo.com>
16209 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16210 (gst_base_src_send_event), (gst_base_src_loop),
16211 (gst_base_src_change_state):
16212 Perform the EOS logic when we reach the segment stop position.
16213 Fix compilation on gcc4.1
16215 2006-03-29 Wim Taymans <wim@fluendo.com>
16217 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16219 * plugins/elements/gstqueue.c: (gst_queue_init),
16220 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16221 (gst_queue_set_property):
16222 * plugins/elements/gstqueue.h:
16223 In queue, when EOS is received, if minimum threshold > max_size -
16224 current_level, there is chance that queue blocks forever in conditional
16225 item del wait. This is because the queue is not emptied completely due
16226 to minimum threshold. Here is another approach. Instead of setting
16227 cur_levels to max in EOS, just zero all minimum threshold levels. This
16228 should make sure that queue gives out all data. When going to READY
16229 (stop) state, just reset the original minimum threshold levels.
16232 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16234 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16235 (gst_type_find_element_handle_event),
16236 (gst_type_find_element_send_cached_events),
16237 (gst_type_find_element_change_state):
16238 * plugins/elements/gsttypefindelement.h:
16239 When typefinding is done in push mode, we should cache
16240 events we receive during typefinding instead of just
16241 dropping them (e.g. newsegment, custom events from
16242 dvdreadsrc etc.) and then send them out once we've
16243 determined the type of the stream (and decodebin
16244 has had a chance to plug in a decoder/demuxer).
16246 2006-03-27 Wim Taymans <wim@fluendo.com>
16248 * docs/design/part-qos.txt:
16251 2006-03-27 Wim Taymans <wim@fluendo.com>
16253 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16255 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16256 (gst_base_src_send_event), (gst_base_src_change_state):
16257 Handle element seek correctly when we are streaming.
16260 2006-03-24 Michael Smith <msmith@fluendo.com>
16262 * docs/faq/gst-uninstalled:
16263 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16264 allow you to correctly run intalled applications built against old
16265 core, using plugins that require updated core (e.g. running
16266 installed totem against a full uninstalled gstreamer stack)
16268 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16270 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16273 2006-03-24 Wim Taymans <wim@fluendo.com>
16275 * docs/gst/gstreamer-sections.txt:
16276 Rearrange the order of the methods so that related methods
16277 are grouped together in sections.
16279 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16281 * gst/gstelement.c:
16282 Little clarification in the docs
16284 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16288 * plugins/elements/gstidentity.c:
16289 * plugins/elements/gstqueue.c:
16290 * plugins/elements/gsttee.c:
16291 * plugins/elements/gsttypefindelement.c:
16292 GST_ELEMENT_DETAILS formatting
16294 2006-03-24 Wim Taymans <wim@fluendo.com>
16296 * libs/gst/base/gstbasesink.h:
16297 Only add fields, not insert or we break ABI.
16299 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16301 * win32/common/libgstbase.def:
16302 * win32/common/libgstreamer.def:
16303 Update, add recently added functions.
16305 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16307 * docs/gst/gstreamer-sections.txt:
16308 * gst/gstutils.c: (gst_pad_query_peer_position),
16309 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16311 API: add some new utility functions:
16312 - gst_pad_query_peer_position()
16313 - gst_pad_query_peer_duration()
16314 - gst_pad_query_peer_convert()
16316 2006-03-23 Wim Taymans <wim@fluendo.com>
16318 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16319 (gst_base_sink_init), (gst_base_sink_finalize),
16320 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16321 (gst_base_sink_set_property), (gst_base_sink_get_property),
16322 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16323 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16324 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16325 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16326 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16327 (gst_base_sink_preroll_object), (gst_base_sink_event),
16328 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16329 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16330 (gst_base_sink_query), (gst_base_sink_change_state):
16331 Decouple max-lateness and the fact that QoS messages are generated
16332 with a new property (qos).
16333 added API: GstBaseSink::async_play()
16334 Add vmethod so subclasses can be notified of ASYNC playing
16336 Collect timestamp start and stop to report better current
16337 position in EOS/PLAYING/PAUSED/READY/NULL.
16338 Refactor QoS/frame dropping and other measurements.
16339 API: GstBaseSrc::qos
16342 * libs/gst/base/gstbasesink.h:
16343 Added Private struct.
16344 API: gst_base_sink_set_qos_enabled()
16345 API: gst_base_sink_is_qos_enabled()
16347 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16349 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16350 If compiling against GLib-2.8 or newer, try to read the
16351 registry file using GMappedFile first before falling back
16352 to fopen() + fread() (#332151).
16354 2006-03-22 Wim Taymans <wim@fluendo.com>
16356 * gst/gstinfo.c: (gst_debug_set_active),
16357 (gst_debug_category_set_threshold):
16358 Disable debugging unless explicitly activated.
16361 2006-03-22 Wim Taymans <wim@fluendo.com>
16363 * gst/gstelement.c: (gst_element_set_locked_state),
16364 (gst_element_dispose):
16365 Cleanup the error case.
16367 * gst/gstobject.c: (gst_object_dispose):
16368 print a critical when some object was disposed with
16369 a parent, also revive the object since it might
16372 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16374 * tools/gst-launch.1.in:
16377 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16380 * tests/check/Makefile.am:
16381 disable some tests when we don't have a registry
16382 * tests/check/gst/gstutils.c: (gst_utils_suite):
16383 don't build the part that needs parsing
16385 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16388 * tests/examples/Makefile.am:
16389 fix --disable-parse build
16391 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16393 * tools/gst-feedback.1.in:
16394 Fix typo: s/feeback/feedback/ (#133494).
16396 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16398 * tools/Makefile.am:
16399 * tools/gst-launch.1.in:
16400 Add FILES section and correct entry about GST_REGISTRY_PATH
16401 environment variable (#133495; #133494).
16403 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16405 * tools/Makefile.am:
16406 * tools/gst-md5sum.1.in:
16407 * tools/gst-md5sum.c:
16408 Remove gst-md5sum and man page (the md5sink element
16409 required was removed ages ago)
16411 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16413 * gst/gststructure.c: (gst_structure_id_set_value):
16414 Make sure that string fields in structures/taglists
16415 contain valid UTF-8 - we don't want to pass rubbish to
16416 applications because of a buggy plugin (cp. #334167).
16418 2006-03-21 Edward Hervey <edward@fluendo.com>
16420 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16421 (gst_bin_handle_message_func):
16422 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16423 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16424 (gst_element_set_bus_func):
16425 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16426 * gst/gstminiobject.c: (gst_value_set_mini_object),
16427 (gst_value_take_mini_object):
16428 * gst/gstpad.c: (gst_pad_set_pad_template):
16429 * gst/gstpipeline.c: (gst_pipeline_dispose),
16430 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16431 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16432 (gst_collect_pads_chain):
16433 * libs/gst/net/gstnettimeprovider.c:
16434 (gst_net_time_provider_set_property):
16435 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16436 It's in fact all issues with gst_*object_replace().
16438 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16440 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16442 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16443 * pkgconfig/gstreamer-check.pc.in:
16444 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16446 2006-03-21 Edward Hervey <edward@fluendo.com>
16450 * gst/gstmessage.h:
16451 gst_[buffer|event|message]_ref() macros are replaced by a static
16452 inline functions because gcc-4.1 will about if the return value
16454 * tests/check/gst/gstevent.c: (event_probe):
16455 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16457 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16460 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16461 the type' case. (Closes: #335195 for now). In the future, when we
16462 depend on GLib 2.10, we could also intern the type name using
16463 g_intern_static_string()
16465 2006-03-20 Wim Taymans <wim@fluendo.com>
16467 * gst/gstbin.c: (gst_bin_handle_message_func),
16468 (bin_query_max_init), (bin_query_position_fold),
16469 (bin_query_position_done), (gst_bin_query):
16470 Position query should also take max of all streams.
16472 2006-03-20 Wim Taymans <wim@fluendo.com>
16474 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16475 (gst_fake_src_finalize):
16476 Fix leaks in fakesrc.
16478 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16479 Fix leaks in the testcase.
16481 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16483 * gst/gst_private.h:
16484 add win32 specific import decoration(__declspec(dllimport))
16485 for all extern GstDebugCategory * variables
16486 * win32/common/libgstbase.def:
16487 * win32/common/libgstcontroller.def:
16488 * win32/common/libgstreamer.def:
16489 Add some exports, remove empty lines
16490 * win32/common/libgstdataprotocol.def:
16491 * win32/common/libgstdataprotocol.dsp:
16492 * win32/common/libgstnet.def:
16493 * win32/common/libgstnet.dsp:
16494 new project files and exportation files added
16496 2006-03-19 Wim Taymans <wim@fluendo.com>
16498 * tests/check/libs/basesrc.c: (eos_event_counter):
16499 Use proper return value for probe.
16501 2006-03-17 Wim Taymans <wim@fluendo.com>
16503 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16505 Don't leak buffers, caps and pads on negotiation errors.
16507 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16509 * docs/faq/cvs.xml:
16510 * docs/faq/dependencies.xml:
16511 * docs/faq/developing.xml:
16512 * docs/faq/faq.xml:
16513 * docs/faq/general.xml:
16514 * docs/faq/getting.xml:
16515 * docs/faq/legal.xml:
16516 * docs/faq/troubleshooting.xml:
16517 * docs/faq/using.xml:
16518 Faq review and update.
16520 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16522 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16524 Don't pound the cpu to pieces by checking get_caps when accept_caps
16525 is called with the same caps as the pad already has.
16526 Use GST_DEBUG_OBJECT when outputting caps change information.
16528 2006-03-15 Wim Taymans <wim@fluendo.com>
16530 * gst/gstclock.c: (gst_clock_class_init):
16533 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16538 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16539 (gst_pad_accept_caps), (gst_pad_configure_sink),
16540 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16541 Make the default acceptcaps behaviour be to check the requested
16542 caps against the gst_pad_get_caps output.
16544 Ensure that gst_pad_accept_caps is used to check caps when a pad
16545 doesn't have a setcaps function, so that pads automatically refuse
16546 caps that they don't allow in their pad template. (Fixes #332986)
16548 When a buffer with attached caps is pushed, ensure that the source
16549 pad receives those caps even if the element didn't call
16550 gst_pad_set_caps first.
16552 2006-03-15 Wim Taymans <wim@fluendo.com>
16554 * libs/gst/base/gstadapter.c:
16557 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16559 * win32/common/libgstbase.def:
16560 * win32/common/libgstcontroller.def:
16561 * win32/common/libgstreamer.def:
16562 Add a whole bunch of missing functions (#334434).
16564 2006-03-14 Wim Taymans <wim@fluendo.com>
16566 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16567 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16568 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16569 Better debug info when we receive a segment event.
16570 Reorganize a bit so we can pass the get_times() results around.
16571 Use the segment format when calculating the running time.
16572 Don't do QoS is sync is disabled or we have no clock or the
16573 element does not want us to sync to the clock.
16574 Don't drop buffers if QoS is disabled for now.
16576 2006-03-14 Wim Taymans <wim@fluendo.com>
16578 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16579 Marked the stats property as unimplemented so people don't get
16581 Add debug message when regression goes wrong.
16582 Added some more docs.
16584 2006-03-14 Wim Taymans <wim@fluendo.com>
16586 * gst/gstsegment.c: (gst_segment_to_stream_time):
16587 Return correct return type in case of errors.
16589 2006-03-14 Wim Taymans <wim@fluendo.com>
16591 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16592 Don't segfault on invalid formats.
16594 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16596 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16597 Can't use gst_segment_to_running_time() when the segment
16598 is not in GST_TIME_FORMAT (like with filesink, for example).
16599 Stops flac encoding pipelines from spewing critical warnings
16602 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16604 * gst/gstpipeline.c: (gst_pipeline_class_init):
16605 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16607 * plugins/elements/gsttypefindelement.c:
16608 (gst_type_find_element_handle_event):
16609 Don't try to typefind empty streams.
16611 2006-03-14 Wim Taymans <wim@fluendo.com>
16613 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16614 (gst_base_sink_do_qos):
16615 Separate QoS calculation.
16616 Only drop buffers when lateness is bigger than the
16617 duration of the buffer.
16619 2006-03-13 Wim Taymans <wim@fluendo.com>
16621 * gst/gstpipeline.c: (gst_pipeline_set_property),
16622 (gst_pipeline_get_property), (do_pipeline_seek),
16623 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16624 (gst_pipeline_get_delay):
16625 Don't deadlock when reading properties.
16627 2006-03-13 Wim Taymans <wim@fluendo.com>
16629 * libs/gst/base/gstbasetransform.c:
16630 (gst_base_transform_class_init), (gst_base_transform_init),
16631 (gst_base_transform_sink_event),
16632 (gst_base_transform_sink_eventfunc),
16633 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16634 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16635 (gst_base_transform_set_property),
16636 (gst_base_transform_get_property),
16637 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16638 (gst_base_transform_set_qos_enabled),
16639 (gst_base_transform_is_qos_enabled):
16640 * libs/gst/base/gstbasetransform.h:
16641 Make basetransform virtual method for src events too.
16642 Handle QOS in basetransform.
16643 API: gst_base_transform_update_qos()
16644 API: gst_base_transform_set_qos_enabled()
16645 API: gst_base_transform_is_qos_enabled()
16647 2006-03-13 Wim Taymans <wim@fluendo.com>
16649 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16650 (gst_base_sink_do_sync):
16652 Use QOS debug category.
16654 2006-03-13 Wim Taymans <wim@fluendo.com>
16656 * plugins/elements/gstqueue.c:
16657 Very small doc update.
16659 2006-03-13 Wim Taymans <wim@fluendo.com>
16661 * gst/gst_private.h:
16662 * gst/gstinfo.c: (_gst_debug_init):
16663 Added QOS debug category
16665 2006-03-13 Wim Taymans <wim@fluendo.com>
16667 * docs/gst/gstreamer-sections.txt:
16668 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16670 * gst/gstbus.c: (gst_bus_class_init):
16673 * gst/gstelement.c: (gst_element_set_locked_state):
16674 * gst/gstsegment.c:
16675 Documentation updates.
16677 * gst/gstpipeline.c: (gst_pipeline_get_type),
16678 (gst_pipeline_class_init), (gst_pipeline_init),
16679 (gst_pipeline_dispose), (gst_pipeline_set_property),
16680 (gst_pipeline_get_property), (do_pipeline_seek),
16681 (gst_pipeline_send_event), (gst_pipeline_change_state),
16682 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16683 (gst_pipeline_get_delay):
16684 * gst/gstpipeline.h:
16685 Added methods for setting the delay.
16686 API: gst_pipeline_set_delay()
16687 API: gst_pipeline_get_delay()
16688 Add pipeline debug category
16691 Don't reset stream time when seek failed.
16693 2006-03-13 Wim Taymans <wim@fluendo.com>
16695 * docs/design/draft-klass.txt:
16696 * docs/design/part-clocks.txt:
16697 * docs/design/part-events.txt:
16698 * docs/design/part-gstbin.txt:
16699 * docs/design/part-gstpipeline.txt:
16700 * docs/design/part-messages.txt:
16701 * docs/design/part-negotiation.txt:
16702 * docs/design/part-overview.txt:
16703 * docs/design/part-preroll.txt:
16704 * docs/design/part-seeking.txt:
16705 * docs/design/part-states.txt:
16706 * docs/design/part-streams.txt:
16707 Documentation updates.
16709 2006-03-12 Julien MOUTTE <julien@moutte.net>
16711 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16712 us to leak strings...
16714 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16716 * libs/gst/net/gstnettimeprovider.c:
16718 * win32/common/config.h:
16721 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16723 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16726 Don't check for libgnomeui (leftover from old examples
16727 that aren't built or disted any longer) (#334303).
16729 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16731 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16732 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16733 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16734 there's no space left on the device.
16736 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16739 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16740 to cast the input to GstClockTime before comparing with
16741 another GstClockTime value.
16743 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16748 === release 0.10.4 ===
16750 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16753 releasing 0.10.4, "Light"
16755 2006-03-10 Michael Smith <msmith@fluendo.com>
16757 * libs/gst/dataprotocol/dataprotocol.c:
16758 Fix docs for dataprocotol to not get the return types completely
16759 wrong for a few functions.
16761 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16763 * docs/gst/gstreamer-sections.txt:
16764 * gst/gstpipeline.c: (gst_pipeline_class_init),
16765 (gst_pipeline_init), (gst_pipeline_set_property),
16766 (gst_pipeline_get_property), (gst_pipeline_change_state),
16767 (gst_pipeline_set_auto_flush_bus),
16768 (gst_pipeline_get_auto_flush_bus):
16769 * gst/gstpipeline.h:
16770 Add new API: gst_pipeline_set_auto_flush_bus() and
16771 gst_pipeline_get_auto_flush_bus() to disable automatic
16772 flushing of the pipeline's GstBus when going from READY
16773 to NULL state (#332045).
16775 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16777 * docs/gst/gstreamer-sections.txt:
16778 * gst/gsturi.c: (gst_uri_has_protocol):
16780 Add new API: gst_uri_has_protocol() (#333779).
16782 2006-03-09 Wim Taymans <wim@fluendo.com>
16784 * gst/gstclock.c: (gst_clock_entry_new),
16785 (gst_clock_id_compare_func), (gst_clock_id_wait),
16786 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16787 (gst_clock_init), (gst_clock_get_internal_time),
16788 (gst_clock_set_master), (do_linear_regression),
16789 (gst_clock_add_observation), (gst_clock_set_property):
16793 Fix a possible segfault when the window-size is made smaller.
16794 Calculate jitter before performing the clock wait. Ideally
16795 the clock implementation should calculate jitter but we need
16796 API breakage for that.
16798 * gst/gstsystemclock.c: (gst_system_clock_init):
16801 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16802 Remove leftover else
16804 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16805 (gst_systemclock_suite):
16806 Added check to test GST_CLOCK_DIFF.
16808 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16810 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16811 (gst_type_find_helper_get_range):
16812 If we are provided with the size, we should implement
16813 GstTypeFind::get_length, so that typefind functions who
16814 want to can actually peek at the middle of a file.
16816 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16818 * docs/manual/advanced-dataaccess.xml:
16819 Add some very very basic error checking.
16821 * docs/pwg/appendix-checklist.xml:
16822 Some updates to the list of things to check when writing an element.
16824 2006-03-08 Wim Taymans <wim@fluendo.com>
16826 * docs/design/part-element-transform.txt:
16827 Added some docs about the design of tranform elements.
16829 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16830 (gst_base_src_loop), (gst_base_src_change_state):
16831 Mark buffers with the DISCONT flag.
16833 2006-03-08 Michael Smith <msmith@fluendo.com>
16835 * gst/gstregistry.h:
16836 * gst/gstregistryxml.c: (gst_registry_save),
16837 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16838 (gst_registry_xml_save_pad_template),
16839 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16840 (gst_registry_xml_write_cache):
16841 Rewrite registry-saving to avoid race conditions and check for
16844 2006-03-08 Wim Taymans <wim@fluendo.com>
16846 * libs/gst/base/gstbasetransform.c:
16847 (gst_base_transform_transform_caps),
16848 (gst_base_transform_transform_size),
16849 (gst_base_transform_prepare_output_buffer),
16850 (gst_base_transform_get_unit_size),
16851 (gst_base_transform_buffer_alloc),
16852 (gst_base_transform_handle_buffer),
16853 (gst_base_transform_change_state):
16854 Cleanups, separate normal flow from errors, add sensible
16856 Don't try to renegotiate when allocating an output buffer.
16857 Also copy DISCONT buffer flag when copying a buffer.
16858 Reset the transform after we finish streaming, not during.
16860 2006-03-08 Wim Taymans <wim@fluendo.com>
16862 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16863 Use last buffer timestamp in qos message.
16865 2006-03-07 Wim Taymans <wim@fluendo.com>
16867 Patch by: Christophe Fergeau
16869 * docs/pwg/advanced-tagging.xml:
16870 * docs/pwg/building-pads.xml:
16873 2006-03-07 Wim Taymans <wim@fluendo.com>
16875 * docs/libs/gstreamer-libs-sections.txt:
16876 Added basesink new methods.
16880 Docs updates. Flesh out the QoS docs.
16882 * libs/gst/base/gstadapter.c:
16883 Small doc clarification about ownership and flushing.
16885 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16886 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16887 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16888 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16889 * libs/gst/base/gstbasesink.h:
16891 Added new methods to allow subclass to control max-lateness
16893 Generate very basic QoS events based on last sync observation.
16894 Updated docs, fix typo, added some QoS blurb.
16896 * libs/gst/base/gstbasesrc.c:
16897 Remove obsolete _get_state() calls from docs.
16899 2006-03-07 Wim Taymans <wim@fluendo.com>
16901 * docs/libs/gstreamer-libs-sections.txt:
16902 * libs/gst/base/gstbasetransform.h:
16903 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16904 Fix docs for GstBaseSrc.
16906 2006-03-07 Wim Taymans <wim@fluendo.com>
16908 * docs/gst/gstreamer-sections.txt:
16911 * libs/gst/base/gstbasetransform.h:
16912 Small documentation fixes.
16914 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16917 Document thread-unsafety of gst_value_register_foo_func()
16918 when used at the same time as gst_value_foo() (#322628).
16920 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16922 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16923 (gst_push_src_check_get_range):
16924 Push sources don't support pull mode by default.
16926 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16928 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16929 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16930 (gst_base_src_default_check_get_range):
16931 * libs/gst/base/gstbasesrc.h:
16932 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16933 provide default implementation, and rename
16934 gst_base_src_check_get_range() to
16935 gst_base_src_pad_check_get_range() for clarity.
16937 2006-03-06 Wim Taymans <wim@fluendo.com>
16939 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16940 Make property overridable.
16942 2006-03-06 Wim Taymans <wim@fluendo.com>
16944 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16945 (gst_base_sink_init), (gst_base_sink_set_property),
16946 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16947 * libs/gst/base/gstbasesink.h:
16948 API addition: Make max-lateness a property.
16950 2006-03-06 Wim Taymans <wim@fluendo.com>
16952 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16953 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16954 Don't ever draw a frame that is >10ms late.
16956 2006-03-06 Michael Smith <msmith@fluendo.com>
16958 * gst/gstmessage.c: (_gst_message_copy):
16959 When copying a message, set the parent_refcount of the enclosed
16960 structure to point at the copy, not the original message.
16962 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16964 Patch by: Christophe Fergeau
16967 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16968 usable in c++ code (#333417)
16970 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16973 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16975 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16977 * libs/gst/base/gstbasetransform.c:
16978 (gst_base_transform_transform_caps):
16979 Make sure caps are writable before passing them to
16982 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16985 Fix some minor docs errors.
16987 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16989 Patch by: Ross Burton <ross at burtonini dot com>
16991 * gst/gsterror.c: (_gst_resource_errors_init):
16993 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16995 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16998 Add a check and output a g_warning when GStreamer is built
16999 against GLib 2.6 but running against 2.8 or higher, and vice
17000 versa. (Closes: #323542)
17002 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
17004 * gst/parse/parse.l:
17005 Commit patch for parse_launch syntax from #331255. Removes
17006 support for quoted strings and mimetypes when writing filtered
17007 caps. See the bug report for more details - I'm pretty sure this
17008 obscure feature is not in use by _anyone_ anywhere.
17010 With this simple change, the size of the gstreamer.so here
17011 drops from 2193KB to 1565KB.
17013 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17015 * plugins/elements/gsttypefindelement.h:
17016 * plugins/elements/gsttypefindelement.c:
17017 (gst_type_find_element_src_event), (start_typefinding),
17018 (stop_typefinding), (gst_type_find_element_handle_event),
17019 (gst_type_find_element_chain),
17020 (gst_type_find_element_chain_do_typefinding):
17021 Use gst_type_find_helper_for_buffer() for chain-based
17024 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17026 * plugins/elements/gsttypefindelement.c:
17027 (gst_type_find_element_class_init),
17028 (gst_type_find_element_set_property),
17029 (gst_type_find_element_get_property):
17030 Deprecate "maximum" property (not only was it only taken into
17031 account for typefinding in push-mode anyway, it also was never
17032 actually possible to set it in the first place because the
17033 property was registered with the numeric property ID for the
17034 "minimum" property). Register "maximum" property correctly,
17035 for the sake of future copy'n'pasters. Remove some cruft
17036 from property get/set functions.
17038 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
17040 * plugins/elements/gsttypefindelement.c:
17041 (gst_type_find_element_activate):
17042 Use gst_type_find_helper_get_range() here, so we
17043 can honour the "minimum" property and also emit
17044 the signal with the correct probability of the found caps.
17046 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
17048 * docs/libs/gstreamer-libs-sections.txt:
17049 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17050 (helper_find_suggest), (gst_type_find_helper_get_range),
17051 (gst_type_find_helper):
17052 * libs/gst/base/gsttypefindhelper.h:
17053 New API: gst_type_find_helper_get_range() (#333042).
17055 2006-03-02 Michael Smith <msmith@fluendo.com>
17057 * gst/gstregistryxml.c: (load_feature):
17058 Asserting on a failure to read part of the registry is Not Cool.
17059 Just log a warning and return NULL (which is already handled)
17061 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
17063 * win32/common/libgstbase.def:
17064 added export of gst_type_find_helper_for_buffer
17065 * win32/common/libgstbase.def:
17066 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17067 gst_ghost_pad_get_target
17069 2006-02-28 Wim Taymans <wim@fluendo.com>
17071 * docs/design/draft-klass.txt:
17073 Added Connector to mark elements that are only used to
17074 allow pipeline connections.
17075 Moved Debug to extra feature since most of them are
17076 functionally something else.
17078 2006-02-28 Wim Taymans <wim@fluendo.com>
17080 * docs/design/draft-klass.txt:
17081 Some updates and clarifications.
17083 2006-02-28 Wim Taymans <wim@fluendo.com>
17085 * docs/design/draft-klass.txt:
17086 Proposal for klass field values.
17088 * docs/design/part-streams.txt:
17089 Start of a doc describing stream anatomy.
17091 2006-02-28 Wim Taymans <wim@fluendo.com>
17093 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17094 Help the compiler a bit with type registration.
17095 Use existing forward cod path instead of duplicating it when
17096 handling a message.
17098 * gst/gstbus.c: (gst_bus_get_type):
17099 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17100 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17101 * gst/gstclock.c: (gst_clock_get_type):
17102 * gst/gstelement.c: (gst_element_get_type),
17103 * gst/gstelementfactory.c: (gst_element_factory_get_type):
17104 * gst/gstindexfactory.c: (gst_index_factory_get_type):
17105 * gst/gstminiobject.c: (gst_mini_object_get_type):
17106 * gst/gstpad.c: (gst_pad_get_type):
17107 * gst/gstsegment.c: (gst_segment_get_type):
17108 * gst/gststructure.c: (gst_structure_get_type):
17109 * gst/gstsystemclock.c: (gst_system_clock_get_type):
17110 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17112 Help compiler with type registration.
17114 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17117 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17119 * plugins/elements/gsttypefindelement.c:
17120 (gst_type_find_element_handle_event):
17121 When we get an EOS event and have not found a type yet
17122 (most likely because we had not yet accumulated
17123 TYPE_FIND_MIN_SIZE of data yet), try to determine the
17124 type given the data we have so far. Fixes typefinding
17125 for very short streams again, most notably quicktime
17126 redirections as used on Apple's trailer site (#331701).
17128 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17130 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17131 (gst_type_find_helper):
17132 Try typefinding factories with the highest rank first.
17134 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17136 * docs/libs/gstreamer-libs-docs.sgml:
17137 * docs/libs/gstreamer-libs-sections.txt:
17138 * libs/gst/base/gsttypefindhelper.c:
17139 Add section for typefind helper and add documentation
17140 for the old and the new function.
17142 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17144 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17145 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17146 (gst_type_find_helper_for_buffer):
17147 * libs/gst/base/gsttypefindhelper.h:
17148 New API: gst_type_find_helper_for_buffer() (#332723).
17150 2006-02-27 Michael Smith <msmith@fluendo.com>
17152 Patch by: Loïc Minier
17155 * docs/Makefile.am:
17156 * docs/slides/Makefile.am:
17157 prevent CVS directories getting disted.
17159 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17161 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17162 Use the REFCOUNTING category for caps refcounting.
17164 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17166 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17167 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17169 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17171 * plugins/elements/gsttypefindelement.c:
17172 (gst_type_find_element_activate):
17173 Use gst_pad_check_pull_range() before _activate_pull()
17174 to avoid unnecessary open/close (see #331690).
17176 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17179 Docs enhancement: make it crystal clear what the
17180 gst_pad_add_*_probe() callbacks should look like.
17182 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17184 * libs/gst/base/gstbasesrc.c:
17185 Document how applications can stop recording from
17186 live sources (see #330996).
17188 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17190 * tests/check/Makefile.am:
17191 * tests/check/libs/basesrc.c: (eos_event_counter),
17192 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17193 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17194 (gst_basesrc_suite), (main):
17195 ... and add some tests for the base source EOS stuff.
17197 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17199 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17200 Test case originally showed the problem fixed below,
17201 but was then amended. Add checks back at the place
17202 where they used to be.
17204 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17206 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17207 (gst_base_src_init), (gst_base_src_loop),
17208 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17209 (gst_base_src_change_state):
17210 * libs/gst/base/gstbasesrc.h:
17211 Don't unconditionally send EOS when going from PAUSED to
17212 READY state, esp. make sure we don't send two EOS events
17213 in some cases (e.g. one when reaching EOS and one when
17214 going from PAUSED to READY). Also, we don't want to send
17215 EOS events when operating in pull mode. However, we do
17216 want to send an EOS event when shutting down a live
17217 source explicitly, for example (fixes #330996).
17219 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17221 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17222 Update src->read_position after a seek when not using mmap.
17223 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17225 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17231 Make things work with --disable-parse as they do with
17232 --disable-load-save - the symbols involved disappear, but the
17233 header is still installed and GST_DISABLE_PARSE is included via
17236 2006-02-20 Julien MOUTTE <julien@moutte.net>
17238 * libs/gst/base/gstbasetransform.c:
17239 (gst_base_transform_change_state): Fix a stupid bug. I was
17240 sure I compiled that.
17242 2006-02-20 Julien MOUTTE <julien@moutte.net>
17244 * gst/gstpad.c: (gst_pad_set_blocked_async):
17245 * gst/gstutils.c: (gst_pad_add_data_probe),
17246 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17247 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17248 (gst_pad_remove_buffer_probe): Make those function act on the
17249 ghostpad target when it's a ghostpad. (Closes #331727)
17251 2006-02-20 Julien MOUTTE <julien@moutte.net>
17253 * libs/gst/base/gstbasetransform.c:
17254 (gst_base_transform_change_state): Make basetransform reusable.
17257 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17259 * docs/random/release:
17260 Move the current documentation of how to do a release to the top
17263 * gst/gstbin.c: (gst_bin_class_init),
17264 (gst_bin_handle_message_func):
17265 Allow multiple state-recalculation threads. (Closes #328873)
17267 2006-02-19 Julien MOUTTE <julien@moutte.net>
17269 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17270 * gst/gstpad.c: (gst_pad_set_event_function),
17271 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17272 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17273 2 strings. You can't use the STR_NULL macro on that.
17275 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17277 * gst/gstpad.c: (gst_pad_set_event_function),
17278 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17279 (gst_pad_set_getcaps_function)
17280 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17281 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17282 So now, we can use --gst-debug-level=5 on Windows
17283 * win32/common/libgstcontroller.def:
17284 Added export of gst_controller_init
17285 * win32/vs6/libgstcontroller.dsp:
17286 Fixed Release post build configuration
17288 2006-02-17 Wim Taymans <wim@fluendo.com>
17290 * tests/check/gst/gstquery.c: (GST_START_TEST):
17291 Added another check.
17293 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17295 * plugins/elements/gsttypefindelement.c: (find_peek):
17296 We can do peeks at non-zero offsets, as long as they
17297 fall within the buffer we have.
17299 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17301 * tests/check/Makefile.am:
17302 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17303 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17304 (parse_suite), (main):
17305 Add testsuite for parse launch syntax
17307 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17309 * plugins/elements/gsttypefindelement.c:
17310 (gst_type_find_element_chain):
17311 When typefinding is unsuccessful in the chain function, don't
17312 error out immediately. Only error out with NO_CAPS_FOUND if
17313 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17314 otherwise simply wait for more data so we can try typefinding
17315 again with more data later. Also, don't attempt to typefind
17316 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17317 this should improve typefinding from network sources where the
17318 size of the first buffer can be somewhat random.
17320 2006-02-14 Wim Taymans <wim@fluendo.com>
17322 * docs/gst/gstreamer-sections.txt:
17323 * gst/gstpadtemplate.c:
17324 * gst/gstpadtemplate.h:
17325 Fix padtemplate docs, fixes #328805.
17327 2006-02-14 Wim Taymans <wim@fluendo.com>
17329 * tools/gst-launch.c: (main):
17330 NO_PREROLL is not an ERROR so don't send confusing messages
17333 2006-02-14 Wim Taymans <wim@fluendo.com>
17335 Patch by: Torsten Schoenfeld
17337 * gst/gstregistry.c: (gst_registry_get_default),
17338 (_gst_registry_cleanup):
17339 Protect default registry with lock and ref/sink it.
17342 2006-02-14 Wim Taymans <wim@fluendo.com>
17345 * gst/gstquery.c: (gst_query_list_add_format),
17346 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17347 (gst_query_parse_formats_nth):
17348 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17351 2006-02-14 Wim Taymans <wim@fluendo.com>
17353 * docs/gst/gstreamer-sections.txt:
17354 Reworked query docs.
17356 * gst/gstquery.c: (gst_query_new_formats),
17357 (gst_query_list_add_format), (gst_query_set_formats),
17358 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17359 (gst_query_parse_formats_nth):
17361 Flesh out formats query, added some new methods.
17362 Fix part of #324398.
17364 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17365 Added query creation tests.
17367 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17369 * gst/gstpad.c: (fixate_value):
17370 Add a default fixation for fraction lists.
17372 2006-02-13 Wim Taymans <wim@fluendo.com>
17374 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17375 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17378 Detect and warn for obvious deadlocks. fixes #320340
17379 Fix error case where lock was not released.
17381 * tests/check/Makefile.am:
17382 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17383 (task_func), (gst_element_suite), (main):
17386 2006-02-13 Wim Taymans <wim@fluendo.com>
17388 * docs/gst/gstreamer-sections.txt:
17390 Add new functions to docs.
17392 2006-02-13 Wim Taymans <wim@fluendo.com>
17394 * docs/design/part-TODO.txt:
17395 Updated TODO list, basesrc supports seeking to non-bytes
17398 * docs/design/part-element-sink.txt:
17401 * gst/gstbin.c: (bin_replace_message),
17402 (gst_bin_handle_message_func):
17403 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17404 * gst/gstevent.c: (gst_event_finalize):
17405 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17406 (gst_pad_send_event):
17407 Use shiny new _TYPE_NAME macros.
17409 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17410 Move debug statement up.
17412 * gst/gstelement.c: (gst_element_set_locked_state):
17413 Add some debugging.
17415 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17417 * docs/gst/gstreamer-sections.txt:
17418 * gst/gstmessage.h:
17420 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17421 macros (#330906). Also, document the already existing
17422 GST_QUERY_TYPE macro.
17424 2006-02-13 Wim Taymans <wim@fluendo.com>
17426 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17427 (event_probe), (GST_START_TEST):
17428 Only events up to the pipeline EOS are counted, there are
17429 some more when going to NULL currently which we don't care
17432 2006-02-13 Wim Taymans <wim@fluendo.com>
17434 * gst/gstpad.c: (gst_pad_send_event):
17435 Correctly check flushing and emit probes. fixes #330125
17437 2006-02-10 Andy Wingo <wingo@pobox.com>
17439 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17441 (gst_bus_init): Cache the location of the private data in the
17442 instance structure.
17443 (gst_bus_enable_sync_message_emission)
17444 (gst_bus_disable_sync_message_emission): Implement new public
17446 (gst_bus_post): Emit the sync-message signal if the user asked for
17449 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17450 location of the bus-private structure.
17451 (gst_bus_enable_sync_message_emission)
17452 (gst_bus_disable_sync_message_emission): API addition
17454 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17456 Patch by: Vincent Torri
17458 * docs/pwg/building-boiler.xml:
17459 PWG patch from #326800
17461 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17464 * docs/Makefile.am:
17465 * docs/design/Makefile.am:
17468 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17473 === release 0.10.3 ===
17475 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17478 releasing 0.10.3, "Like a virgin"
17480 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17483 2nd prerelease of 0.10.3
17484 Bump libtool versioning.
17486 2006-02-07 Andy Wingo <wingo@pobox.com>
17488 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17489 update last_stop if we're in TIME format and the timestamp is
17492 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17493 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17494 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17495 If we get a new newsegment with a different format, adapt
17498 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17499 of 0. Not a problem, really.
17501 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17504 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17509 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17512 project files updated to the default vs7 configuration
17513 * win32/common/libgstbase.def:
17514 * win32/common/libgstreamer.def:
17516 removed empty lines,
17517 sorted all exported symbols alphabetically
17518 * win32/common/dirent.c:
17519 * win32/common/dirent.h:
17520 * win32/common/gchar.h:
17521 use windows line end.
17523 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17525 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17526 Send EOS event when stopping.
17528 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17531 Tell folks what to do if the plugin-foobar.xml file
17532 hasn't been generated for a newly-added plugin.
17534 2006-02-05 Julien MOUTTE <julien@moutte.net>
17536 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17537 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17538 (gst_collect_pads_start), (gst_collect_pads_stop),
17539 (gst_collect_pads_event): Collectpads now holds a reference
17540 to the GstPad that was added. Indeed we don't want to look
17541 at pads that might just go away with no warning...
17543 2006-02-05 Julien MOUTTE <julien@moutte.net>
17545 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17546 (gst_collect_pads_start), (gst_collect_pads_stop),
17547 (gst_collect_pads_event), (gst_collect_pads_chain):
17548 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17549 Mark Nauwelaerts's patch on bug #328491.
17551 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17553 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17555 Add some simple tests for gst_parse_bin_from_description() and
17556 gst_bin_find_unconnected_pad() (#329069).
17558 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17560 * tools/gst-launch.c: (event_loop), (main):
17561 Catch errors during preroll (#320084).
17563 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17565 * plugins/elements/gsttypefindelement.c:
17566 (gst_type_find_element_activate):
17567 Post TYPE_NOT_FOUND error message when typefinding
17568 is unsuccessful in the activate function as well.
17570 2006-02-02 Wim Taymans <wim@fluendo.com>
17572 * docs/design/part-element-sink.txt:
17575 2006-02-02 Wim Taymans <wim@fluendo.com>
17577 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17578 (gst_base_sink_render_object),
17579 (gst_base_sink_queue_object_unlocked):
17580 Only keep track of prerollable items when we are
17582 Before rendering after preroll, always check if we
17584 Added some more debugging.
17586 2006-02-02 Wim Taymans <wim@fluendo.com>
17588 * gst/gstelement.c: (gst_element_continue_state),
17589 (gst_element_set_state_func), (gst_element_change_state):
17590 Fixed #326576, been running this for quite some time with
17591 no regressions at all.
17593 2006-02-02 Wim Taymans <wim@fluendo.com>
17596 Added more suppressions
17598 2006-02-02 Wim Taymans <wim@fluendo.com>
17600 * docs/design/part-element-sink.txt:
17603 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17604 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17605 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17606 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17607 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17608 (gst_base_sink_preroll_object),
17609 (gst_base_sink_queue_object_unlocked),
17610 (gst_base_sink_queue_object), (gst_base_sink_event),
17611 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17612 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17613 (gst_base_sink_get_position), (gst_base_sink_change_state):
17614 * libs/gst/base/gstbasesink.h:
17615 Totally refactored matching the design doc.
17616 Use two segments, one to clip incomming buffers and another to
17618 Handle queueing correctly, bypass the queue when playing.
17619 Make EOS cancelable.
17620 Handle errors correctly when operating in pull based mode.
17622 * tests/check/elements/fakesink.c: (GST_START_TEST),
17624 Added new check for sinks.
17626 2006-02-02 Wim Taymans <wim@fluendo.com>
17628 * gst/gstsegment.c: (gst_segment_clip):
17629 No reason to refuse to clip when start == -1
17631 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17634 * docs/manual/intro-basics.xml:
17635 * docs/manual/intro-preface.xml:
17636 * docs/manual/manual.xml:
17637 * docs/pwg/advanced-dparams.xml:
17638 * docs/pwg/intro-basics.xml:
17639 * docs/pwg/intro-preface.xml:
17640 * docs/pwg/pwg.xml:
17641 describe dparams (controller) for plugins
17642 unify docs a little more
17644 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17646 * docs/gst/gstreamer-sections.txt:
17647 * gst/gstutils.c: (element_find_unconnected_pad),
17648 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17650 Add new API: gst_parse_bin_from_description() and
17651 gst_bin_find_unconnected_pad() (#329069).
17653 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17655 * docs/manual/README:
17656 uncover a nasty detail of the docs build
17658 2006-01-31 Wim Taymans <wim@fluendo.com>
17660 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17661 Don't cache duration messages if we're not going to use or
17664 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17666 * docs/manual/advanced-dparams.xml:
17667 * docs/pwg/advanced-dparams.xml:
17671 * libs/gst/controller/lib.c: (gst_controller_init):
17674 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17676 * gst/gstelement.c: (gst_element_message_full):
17677 also show file/line/func if no additional debug was given
17679 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17681 * win32/vs7/grammar.vcproj:
17682 activate copy of autogenerated files for Release mode
17684 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17686 * win32/common/libgstreamer.def:
17687 export gst_value_compare
17689 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17691 * plugins/elements/Makefile.am:
17692 * plugins/elements/gstelements.c:
17693 * plugins/elements/gstfdsink.c: (_do_init),
17694 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17695 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17696 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17697 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17698 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17699 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17700 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17701 * plugins/elements/gstfdsink.h:
17702 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17704 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17706 * docs/manual/advanced-dparams.xml:
17707 describe controller
17708 * docs/manual/advanced-position.xml:
17709 * docs/manual/basics-init.xml:
17710 * docs/manual/manual.xml:
17711 * docs/manual/titlepage.xml:
17712 * docs/pwg/pwg.xml:
17713 * docs/pwg/titlepage.xml:
17714 cleanup xml (more to come)
17715 * libs/gst/controller/gstcontroller.c:
17718 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17720 * win32/vs6/grammar.dsp:
17721 add autogen of gstmarshal.c,h for Release mode
17723 2006-01-30 Wim Taymans <wim@fluendo.com>
17725 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17726 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17727 (gst_base_sink_handle_object), (gst_base_sink_event),
17728 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17729 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17730 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17731 (gst_base_sink_deactivate), (gst_base_sink_activate),
17732 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17733 (gst_base_sink_query), (gst_base_sink_change_state):
17734 Basesink cleanups, remove some old code.
17735 Handle the case where a subclass can preroll in the render
17736 method (mostly audiosinks).
17737 Handle more events.
17738 Remove some locks around variables that are now protected
17739 with the PREROLL_LOCK (clock_id, flushing, ..).
17740 Optimize position query some more, do correct locking.
17741 Remove old code to push queue in state change, this is not
17742 needed anymore since preroll blocks on all prerollable items
17744 Almost implemented as described in design doc.
17746 2006-01-30 Wim Taymans <wim@fluendo.com>
17748 * tests/check/gst/gstbin.c: (GST_START_TEST):
17749 Wait for refcount to settle down before checking.
17751 2006-01-30 Wim Taymans <wim@fluendo.com>
17753 * docs/design/part-element-sink.txt:
17754 Pseudo code overview of desired sink behaviour regarding
17757 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17758 * win32/vs6/grammar.dsp:
17759 fix some bugs in Release mode for autogenerated files
17761 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17762 * win32/common/libgstbase.def:
17763 * win32/common/libgstreamer.def:
17764 export some new symbols: gst_base_src_set_format,
17765 gst_iterator_next, gst_structure_set_valist
17767 2006-01-29 Julien MOUTTE <julien@moutte.net>
17769 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17770 Set pad functions unconditionally. Fixes #329105.
17772 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17774 add vs8 project files created by Sergey Scobich
17776 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17778 * gst/gstutils.c: (gst_element_unlink_pads):
17779 Don't leak pad references.
17781 * tests/check/elements/fakesink.c: (GST_START_TEST):
17782 * tests/check/generic/sinks.c: (GST_START_TEST):
17783 * tests/check/generic/states.c: (GST_START_TEST):
17784 * tests/check/gst/gstbin.c: (GST_START_TEST):
17785 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17786 * tests/check/gst/gstelement.c: (GST_START_TEST):
17787 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17788 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17789 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17790 Fix a bunch of leaks. Make generic/sinks.c
17791 use a bit less cpu by slowing the buffer rate
17792 between fakesrc and fakesink.
17794 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17796 * gst/gstelement.c: (gst_element_send_event):
17799 * gst/gstiterator.c:
17800 * gst/gstiterator.h:
17801 * gst/gstpad.c: (gst_pad_send_event):
17802 * gst/gststructure.c:
17806 * libs/gst/base/gstadapter.c:
17807 doc fixes, to link to function, just write gst_cool_function(), don't
17810 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17812 * plugins/elements/gsttee.c: (gst_tee_do_push),
17813 (gst_tee_handle_buffer):
17814 Always prefer an actual return value from a src
17815 pad in place of NOT_LINKED. This means we return
17816 WRONG_STATE when all src pads are WRONG_STATE
17817 instead of NOT_LINKED.
17819 Lock when replacing the last message to prevent
17820 racing with the get_property method.
17824 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17826 * tests/check/Makefile.am:
17827 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17829 Add a very simple check that should have caught the memleak I fixed
17830 last night (if not for the slice allocator hiding it)
17832 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17834 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17835 (gst_bin_remove_func), (gst_bin_handle_message_func),
17836 (bin_query_duration_fold), (bin_query_generic_fold):
17837 Clean up references to the clock provider when disposed or when
17838 handling a clock-lost message from it.
17840 Unref sinks when performing a query via gst_iterator_fold, as the
17841 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17843 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17844 (gst_clock_set_master):
17845 Drop our reference to the master clock, if any, when we are disposed.
17847 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17848 Chain up in dispose.
17850 2006-01-26 Wim Taymans <wim@fluendo.com>
17852 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17853 Add some debugging.
17855 2006-01-26 Julien MOUTTE <julien@moutte.net>
17857 * plugins/elements/gsttee.c: (gst_tee_do_push),
17858 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17859 handles pad being NOT_LINKED or in WRONG_STATE.
17861 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17866 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17869 remove obsolete entry
17871 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17873 * docs/gst/gstreamer-sections.txt:
17874 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17875 (gst_bin_iterate_sources), (gst_bin_send_event):
17877 * gst/gstelement.c: (gst_element_send_event):
17879 * gst/gstpad.c: (gst_pad_send_event):
17880 added code for downstream events, reviewed docs in gstevent.c
17882 2006-01-25 Julien MOUTTE <julien@moutte.net>
17884 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17885 We only query position using the clock in the playing state.
17886 Query peer in the other cases.
17887 * win32/common/config.h: Updates.
17889 2006-01-24 Wim Taymans <wim@fluendo.com>
17891 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17892 A clock entry that is scheduled for the exact time of the
17893 clock is still in time.
17895 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17896 (gst_base_sink_do_sync):
17897 Add some more debug info.
17899 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17902 Add new vs7 project files and solution.
17904 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17907 all files removed as they were out-dated.
17909 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17911 * docs/random/release:
17913 * gst/gstbin.c: (gst_bin_init):
17914 * gst/gstbus.c: (gst_bus_new):
17916 * gst/gstpipeline.c: (gst_pipeline_init):
17917 use gst_bus_new(), improve logging, fix docs
17918 * win32/common/config.h:
17919 update for cvs build
17921 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17924 up required version of automake to 1.7
17926 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17928 * win32/common/libgstreamer.def:
17929 export gst_buffer_is_metadata_writable
17931 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17933 * docs/gst/gstreamer-sections.txt:
17935 Add gst_event_replace() (#327001)
17937 2006-01-20 Wim Taymans <wim@fluendo.com>
17939 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17940 Make it actually compile too..
17942 2006-01-20 Wim Taymans <wim@fluendo.com>
17945 Clarify behaviour of _is_equal() when passing NULL parameters.
17947 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17948 (gst_pad_set_caps):
17949 Cleanups. Don't unref NULL caps.
17950 When setting the same caps, protect caps of the pad with
17952 Use full functionality of _is_equal() when comparing caps.
17954 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17956 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17957 Don't loop infinitely if there are no buffers to present. Partially
17958 fixes #327197, but collectpads is just broken for reusing elements
17959 to do multiple encodes atm.
17961 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17963 * tools/gst-inspect.c: (print_element_features):
17964 * tools/gst-xmlinspect.c: (main):
17965 URL_HANDLER is not a plugin feature we can search for in
17968 2006-01-19 Edward Hervey <edward@fluendo.com>
17970 * gst/gstelement.c: (gst_element_pads_activate):
17971 When activating, do src pads first, then sink pads.
17972 When de-activating, do sink pads first, then src pads.
17974 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17976 * docs/gst/gstreamer-sections.txt:
17977 Add gst_index_add_associationv to the docs
17979 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17984 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17985 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17986 Do some refactoring. Doesn't actually change functionality,
17987 but makes landing the DRAIN event easier later.
17989 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17991 * docs/pwg/advanced-scheduling.xml:
17992 Update from 0.9.x to 0.10 API and make example a bit
17995 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17997 * docs/gst/gstreamer-sections.txt:
17998 Add gst_buffer_(is|make)_metadata_writable methods.
18000 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
18002 * docs/design/part-sparsestreams.txt:
18003 Update sparse streams doc, hopefully for greater clarity
18005 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
18007 * docs/design/part-events.txt:
18008 Remove mention of FILLER events.
18011 * docs/design/part-sparsestreams.txt:
18012 Write some things about using NEWSEGMENT to keep sparse streams
18015 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18017 * gst/gstbin.c: (gst_bin_dispose):
18018 Guard gst_object_unref call against a NULL object (dispose
18019 can theoretically be called multiple times).
18021 2006-01-18 Wim Taymans <wim@fluendo.com>
18023 * gst/gstbin.c: (gst_bin_element_set_state):
18024 * gst/gstclock.c: (gst_clock_id_wait):
18025 Added some more debug info.
18027 * libs/gst/base/gstadapter.c:
18030 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18031 (gst_base_sink_do_sync), (gst_base_sink_chain):
18032 Added some comments.
18034 2006-01-18 Wim Taymans <wim@fluendo.com>
18036 * tests/check/Makefile.am:
18037 * tests/check/elements/fakesink.c: (chain_async_buffer),
18038 (chain_async), (chain_async_return), (GST_START_TEST),
18039 (fakesink_suite), (main):
18040 Added fakesink test that checks prerolling and clipping
18043 * tests/check/gst/gstutils.c: (GST_START_TEST):
18044 Make check run faster so that buildbots don't timeout.
18046 2006-01-18 Wim Taymans <wim@fluendo.com>
18048 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18049 (gst_base_sink_do_sync):
18051 When the sink finishes blocking on the preroll buffer, it can
18052 immediatly render it instead of rendering when the next buffer
18055 2006-01-18 Wim Taymans <wim@fluendo.com>
18057 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18058 (gst_base_sink_get_property), (gst_base_sink_do_sync),
18059 (gst_base_sink_chain):
18061 GST_ELEMENT_CLOCK and sync are protected with LOCK.
18062 Don't store _last_stop if the buffer is dropped.
18064 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
18066 * plugins/elements/gsttypefindelement.c:
18067 (gst_type_find_element_class_init):
18068 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18069 object method handler that sets the caps on the pad and we want
18070 that to happen before we emit the signal (fixes e.g. feeding a
18071 plain text file to decodebin).
18073 2006-01-18 Christian Schaller <Christian@fluendo.com>
18075 * gst/gstplugin.c: Add MPL and Proprietary as license options
18077 2006-01-18 Andy Wingo <wingo@pobox.com>
18079 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18080 symbol was exported before, it appears this was just an oversight.
18082 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18084 * gst/gstindex.c (gst_index_add_associationv): Changed int in
18085 prototype to gint. OK since this prototype was not in the header.
18087 2006-01-17 Andy Wingo <wingo@pobox.com>
18089 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18090 registry while we remove plugins.
18092 * tools/gst-inspect.c (print_element_info): Don't unref the
18093 factory arg, that should be the responsibility of whatever code
18094 received the ref. Fixes a double-free when called from
18095 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18096 (main): Unref the factory if we have one.
18097 (print_element_list): No change -- relies on the
18098 plugin_feature_list_free to free the list of features.
18100 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
18102 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18103 (gst_buffer_make_metadata_writable):
18105 * libs/gst/base/gstbasetransform.c:
18106 (gst_base_transform_prepare_output_buf):
18107 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18108 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18109 Replace gst_buffer_(make|is)_metadata_writable patch now
18110 that the release is out.
18112 2006-01-17 Andy Wingo <wingo@pobox.com>
18114 * gst/gstregistry.c: Reflow design comment. Update so as to speak
18115 in the present tense without reference to versions.
18117 * gst/gstregistry.c (gst_registry_add_plugin)
18118 (gst_registry_remove_plugin, gst_registry_remove_feature)
18119 (gst_registry_find_feature, gst_registry_get_feature_list)
18120 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18121 (gst_registry_lookup, gst_registry_scan_path)
18122 (_gst_registry_remove_cache_plugins)
18123 (gst_registry_get_feature_list_by_plugin): Add argument
18126 === release 0.10.2 ===
18128 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18131 releasing 0.10.2, "If man is five"
18133 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18137 * libs/gst/base/gstbasetransform.c:
18138 (gst_base_transform_prepare_output_buf):
18139 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18140 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18141 Back out patch until after the release.
18143 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18145 * gst/gstminiobject.c:
18146 Spelling fix in docs.
18147 * ChangeLog - remove conflict indicator
18149 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18151 Reviewed By: Andy Wingo
18153 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18154 (gst_buffer_make_metadata_writable):
18156 Add gst_buffer_(is|make)_metadata_writable as analogues of
18157 gst_buffer_(is|make)_writable.
18159 * libs/gst/base/gstbasetransform.c:
18160 (gst_base_transform_prepare_output_buf):
18161 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18162 Use name gst_buffer_(is|make)_metadata_writable functions.
18164 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18165 Test gst_buffer_(is|make)_metadata_writable
18169 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18171 * docs/manual/Makefile.am:
18172 don't do parallel make
18175 * win32/common/config.h.in:
18176 add generations for HOST_CPU and GST_MAJORMINOR
18177 * win32/common/config.h:
18178 commit generated result
18180 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18182 * docs/manual/appendix-integration.xml:
18183 Update GNOME integration section to use gst_init_get_option_group()
18184 instead of the old popt stuff (#322911). Also, GNOME applications
18185 should now use gconf*sink and gconf*src instead of the old gconf
18188 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18191 * docs/gst/gstreamer-docs.sgml:
18192 * docs/gst/gstreamer-sections.txt:
18193 * docs/libs/gstreamer-libs-sections.txt:
18194 add new API entries to the docs
18195 * libs/gst/controller/Makefile.am:
18196 * libs/gst/controller/gstcontroller.c:
18197 * libs/gst/controller/gstcontroller.h:
18198 * libs/gst/controller/gstcontrollerprivate.h:
18199 * libs/gst/controller/gsthelper.c:
18200 * libs/gst/controller/gstinterpolation.c:
18201 move private structs to private header
18203 gstreamer-0.7 -> gstreamer-0.10
18204 * tests/check/libs/struct_i386.h:
18205 remove private structs
18207 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18209 * plugins/indexers/Makefile.am:
18210 Fixes as part of #317048
18212 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18214 * plugins/indexers/Makefile.am:
18215 fix #316086 - compilation when mmap is missing
18217 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18219 * libs/gst/base/gstbasesink.c:
18220 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18221 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18222 * win32/common/config.h:
18223 added some defines GST_MAJORMINOR and HOST_CPU
18224 * win32/common/libgstbase.def:
18225 * win32/common/libgstreamer.def:
18226 added some exported functions.
18228 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18230 * libs/gst/controller/gstcontroller.c:
18231 (gst_controlled_property_set_interpolation_mode),
18232 (gst_controlled_property_new):
18233 * libs/gst/controller/gstcontroller.h:
18234 * libs/gst/controller/gstinterpolation.c:
18235 (interpolate_none_get_string_value_array):
18236 make G_TYPE_STRING controlable
18238 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18241 * tools/gst-feedback.1.in:
18242 * tools/gst-inspect.1.in:
18243 * tools/gst-launch.1.in:
18244 * tools/gst-md5sum.1.in:
18245 * tools/gst-typefind.1.in:
18246 * tools/gst-xmlinspect.1.in:
18247 * tools/gst-xmllaunch.1.in:
18248 cleanup man-pages, remove reference to gst-register, document env-vars
18250 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18252 * gst/gstbuffer.c: (gst_buffer_span):
18253 gst_buffer_span should copy the timestamp of the first buffer
18254 if they were both originally overlapping subbuffers of the
18255 same parent, using the same logic as the 'slow copy' case.
18257 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18259 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18260 Need to awaken ALL the pads when we pop a buffer, otherwise
18261 collectpads only works when there is 2 input streams.
18263 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18265 * docs/random/ensonic/media-device-daemon.txt:
18268 fix doc example, add clarification
18269 * tools/gst-launch.1.in:
18270 add initial info about GST_PLUGIN_PATH, needs more work
18272 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18274 * docs/manual/basics-bins.xml:
18275 * docs/manual/basics-elements.xml:
18276 * docs/manual/intro-basics.xml:
18277 Some more minor docs additions and updates.
18279 2006-01-11 Wim Taymans <wim@fluendo.com>
18281 * docs/manual/basics-bins.xml:
18282 * docs/manual/basics-elements.xml:
18283 Some small fixes as pointed out by Ser-ver on IRC.
18285 2006-01-10 Edward Hervey <edward@fluendo.com>
18287 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18288 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18289 the single-segment mode.
18291 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18293 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18295 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18296 (gst_base_src_perform_seek), (gst_base_src_send_event),
18297 (gst_base_src_set_property), (gst_base_src_get_property),
18298 (gst_base_src_loop), (gst_base_src_start),
18299 (gst_base_src_activate_push):
18300 * libs/gst/base/gstbasesrc.h:
18301 Name (private) union; makes Sun's Forte compiler happy (#324900).
18303 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18306 gst-register is gone.
18308 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18310 * gst/gstvalue.c: (_gst_value_initialize):
18311 make the G_TYPE_DATE instantiation work if debug is disabled
18313 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18315 * gst/gstmessage.c: (gst_message_parse_tag),
18316 (gst_message_parse_error), (gst_message_parse_warning):
18317 Don't crash when return location for error/warning debug
18318 string is NULL; add fact that return locations can be
18319 NULL to docs where appropriate.
18321 2006-01-05 Wim Taymans <wim@fluendo.com>
18323 * gst/gstplugin.c: (gst_plugin_load_file):
18324 Replace strdup by g_strdup.
18326 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18328 * docs/pwg/advanced-types.xml:
18331 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18333 submitted by: Abel Cheung
18337 Added Chinese (traditional) translation
18339 2006-01-04 Wim Taymans <wim@fluendo.com>
18341 * docs/manual/basics-pads.xml:
18342 * docs/plugins/Makefile.am:
18343 * docs/plugins/gstreamer-plugins-docs.sgml:
18344 * docs/plugins/gstreamer-plugins-sections.txt:
18345 * docs/pwg/advanced-clock.xml:
18346 * docs/pwg/advanced-scheduling.xml:
18347 * docs/pwg/advanced-types.xml:
18348 * plugins/elements/gstfdsink.c:
18349 * plugins/elements/gstfdsrc.c:
18350 * plugins/elements/gstfdsrc.h:
18351 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18352 * plugins/elements/gstidentity.h:
18353 * plugins/elements/gstqueue.h:
18354 * plugins/elements/gsttee.c:
18355 * plugins/elements/gsttee.h:
18356 * plugins/elements/gsttypefindelement.c:
18357 (gst_type_find_element_class_init):
18358 * plugins/elements/gsttypefindelement.h:
18359 Small updates to various docs.
18360 Added core plugins to docs.
18362 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18365 add a suppression for liboil's uninitialized variable
18367 2006-01-02 James Livingston <jrl at ids dot org dot au>
18369 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18372 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18373 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18374 compiler switch is being used (#325429).
18376 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18378 * gst/gstbin.c: (gst_bin_query):
18379 Disable duration query caching in bins until it gets
18380 fixed (see #324807).
18382 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18384 * tools/gst-inspect.c: (print_element_properties_info):
18385 Handle properties of POINTER and BOXED type.
18387 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18389 * gst/gst.c: (init_post):
18390 Init tags stuff and some other things before loading
18391 any static plugins (there may be other static plugins
18392 than just the GStreamer ones, and they may want to
18393 register their own tags or formats or whatever, and
18394 preferably without segfaulting).
18396 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18397 Print at least a warning in the debug logs if we drop a
18398 query just because we don't know how to adjust the value
18399 in the particular format.
18401 2005-12-24 David Schleef <ds@schleef.org>
18403 * tools/gstreamer-completion:
18404 Replacement for gst-complete written in sh and sed. Only
18405 completes names of features, but that's 90% of what I want
18406 it for. Properties are not available in registry.xml. (Maybe
18409 === release 0.10.1 ===
18411 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18414 releasing 0.10.1, "Nollaig chridheil"
18416 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18418 * docs/faq/cvs.xml:
18419 Add missing quote, should be make ERROR_CFLAGS="".
18421 2005-12-20 Wim Taymans <wim@fluendo.com>
18423 * docs/design/part-trickmodes.txt:
18424 More documentation on trickmodes.
18426 2005-12-20 Edward Hervey <edward@fluendo.com>
18428 * gst/gstcaps.c: (gst_static_caps_get_type):
18430 API addition: GST_TYPE_STATIC_CAPS
18431 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18432 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18433 * gst/gstpadtemplate.h:
18434 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18435 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18438 2005-12-18 Wim Taymans <wim@fluendo.com>
18440 * libs/gst/base/gstadapter.c:
18441 * libs/gst/base/gstadapter.h:
18442 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18443 (gst_base_sink_get_position):
18444 * libs/gst/base/gstbasesink.h:
18445 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18446 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18447 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18448 (gst_base_src_send_event), (gst_base_src_update_length),
18449 (gst_base_src_get_range), (gst_base_src_loop),
18450 (gst_base_src_start):
18451 * libs/gst/base/gstbasesrc.h:
18452 * libs/gst/base/gstbasetransform.h:
18453 * libs/gst/base/gstcollectpads.h:
18454 * libs/gst/base/gstpushsrc.c:
18455 * libs/gst/base/gstpushsrc.h:
18456 * libs/gst/dataprotocol/dataprotocol.c:
18457 * libs/gst/dataprotocol/dataprotocol.h:
18458 * libs/gst/net/gstnetclientclock.h:
18459 * libs/gst/net/gstnettimeprovider.h:
18460 Documentation updates.
18462 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18464 * docs/manual/basics-helloworld.xml:
18465 Remove superfluous closing bracket in helloworld example.
18467 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18469 * tools/gst-launch.1.in:
18470 Update gst-launch man page; add a section with useful
18471 environment variables. Fixes #323882.
18473 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18476 * gst/gst_private.h:
18477 change some char* into char[]
18479 2005-12-16 Wim Taymans <wim@fluendo.com>
18481 * gst/gstregistryxml.c: (load_feature):
18483 Don't use g_object_unref on GstObjects so that we avoid
18484 leaks on unsafe glibs.
18486 2005-12-16 Wim Taymans <wim@fluendo.com>
18488 * gst/gstbin.c: (gst_bin_recalc_state):
18491 2005-12-16 Wim Taymans <wim@fluendo.com>
18493 * common/check.mak:
18494 Added make forever target for check.
18496 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18498 * gst/gst.c: (init_post):
18499 make the registry cache file HOST_CPU-dependent
18501 2005-12-16 Andy Wingo <wingo@pobox.com>
18503 * plugins/elements/gstbufferstore.c
18504 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18507 * tests/check/gst/gstobject.c
18508 (test_fake_object_name_threaded_unique): Pay attention to
18509 g_list_sort return value.
18511 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18513 * tools/gst-feedback-m.m:
18514 Update for 0.9/0.10 (fixes #323870).
18516 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18518 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18519 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18521 * tests/check/gst/gstminiobject.c: (my_foo_init),
18522 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18523 (test_value_collection), (gst_mini_object_suite):
18524 Add test to ensure refcounts end up as expected when passing
18525 GstMiniObjects through g_object_get() and g_object_set().
18527 2005-12-14 Julien MOUTTE <julien@moutte.net>
18529 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18530 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18531 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18532 of collectpads. This version removes a lot of races without
18533 touching API/ABI. Yay !
18535 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18537 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18538 Don't allow activation of a srcpad in pull_range if it has no
18540 Change some debug statements to be a little clearer
18542 * plugins/elements/gsttypefindelement.c:
18543 (gst_type_find_handle_src_query):
18544 Check that we have a peer before executing queries thereupon.
18546 * tests/examples/metadata/read-metadata.c: (message_loop):
18547 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18548 immediately return us any available message with 0 timeout.
18550 2005-12-12 Michael Smith <msmith@fluendo.com>
18552 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18553 Don't unref factories after calling them.
18554 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18555 * plugins/elements/gsttypefindelement.c:
18556 (gst_type_find_element_chain):
18557 Free lists of factories after using them. Fixing typefinding memory
18560 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18562 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18563 (gst_plugin_feature_load):
18564 more meaningful debug output
18566 * tests/Makefile.am:
18567 * tests/old/examples/Makefile.am:
18568 make make distcheck happy again
18570 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18572 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18573 Catch the special case where we are operating chain-based,
18574 but the downstream peer pad has no chain function. Emit a
18575 custom error message in this case instead of letting the
18576 core generate one implying that this is some sort of core
18577 bug. It's not, it just means that whatever got plugged
18578 into the pipeline downstream when we announced the type
18579 can only operate pull-based, while our source can only
18580 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18581 Error string has not been marked for translation yet, as
18582 it probably needs some more work first.
18584 (gst_type_find_element_get_best_possibility):
18585 Add helper function to find the best of all available
18586 found possibilities that qualify given the min. threshold.
18588 (gst_type_find_element_handle_event):
18589 Fix the case where we get an EOS while still in TYPEFIND
18590 mode (we want to chose the best of all possible types,
18591 not just the first type that happens to be in our unsorted
18592 list of possible types).
18594 (gst_type_find_element_chain):
18595 Make sure we return GST_FLOW_ERROR when we errored out
18596 in stop_typefinding(); also, don't just find the best of
18597 all found type entries and then use the last examined
18598 type entry, but actually use the best entry.
18600 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18602 * tests/examples/typefind/typefind.c: (type_found):
18603 * tests/examples/xml/runxml.c: (xml_loaded):
18604 More gcc4 fixes and a mem leak fix.
18606 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18608 * tests/examples/xml/createxml.c: (object_saved):
18611 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18613 * tests/Makefile.am:
18614 enable the examples even more
18616 2005-12-12 Andy Wingo <wingo@pobox.com>
18618 * libs/gst/net/gstnettimeprovider.c
18619 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18620 (gst_net_time_provider_set_property)
18621 (gst_net_time_provider_get_property):
18622 API addition: Export "active" as a GObject property.
18623 (gst_net_time_provider_thread): Only respond to time queries if
18624 the time provider is active.
18626 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18627 NetTimeProvider, preserving binary compat.
18629 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18631 * tests/examples/controller/audio-example.c: (main):
18632 * tests/examples/launch/Makefile.am:
18633 convert comments again
18635 2005-12-12 Wim Taymans <wim@fluendo.com>
18637 * libs/gst/base/gstpushsrc.c:
18640 2005-12-12 Wim Taymans <wim@fluendo.com>
18642 * docs/libs/gstreamer-libs-sections.txt:
18643 Added new symbol to docs.
18645 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18646 (gst_base_src_init), (gst_base_src_set_format),
18647 (gst_base_src_default_query), (gst_base_src_query),
18648 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18649 (gst_base_src_perform_seek), (gst_base_src_send_event),
18650 (gst_base_src_default_event), (gst_base_src_event_handler),
18651 (gst_base_src_set_property), (gst_base_src_get_property),
18652 (gst_base_src_wait), (gst_base_src_do_sync),
18653 (gst_base_src_update_length), (gst_base_src_get_range),
18654 (gst_base_src_check_get_range), (gst_base_src_loop),
18655 (gst_base_src_default_negotiate), (gst_base_src_start),
18656 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18657 (gst_base_src_change_state):
18658 * libs/gst/base/gstbasesrc.h:
18659 Implement seeking to other formats than _BYTES.
18660 Implement more seeking methods correctly.
18662 Added query vmethod.
18663 Added do_seek vmethod to make life easier for subclasses
18665 API addition: gst_base_src_set_format()
18667 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18669 * tests/examples/Makefile.am:
18672 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18675 * docs/random/ensonic/media-device-daemon.txt:
18676 * tests/examples/controller/.cvsignore:
18677 * tests/examples/controller/Makefile.am:
18678 * tests/examples/controller/audio-example.c: (main):
18679 * tests/examples/helloworld/.cvsignore:
18680 * tests/examples/helloworld/Makefile.am:
18681 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18682 * tests/examples/launch/.cvsignore:
18683 * tests/examples/launch/Makefile.am:
18684 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18685 * tests/examples/metadata/.cvsignore:
18686 * tests/examples/metadata/Makefile.am:
18687 * tests/examples/metadata/read-metadata.c: (message_loop),
18688 (make_pipeline), (print_tag), (main):
18689 * tests/examples/queue/.cvsignore:
18690 * tests/examples/queue/Makefile.am:
18691 * tests/examples/queue/queue.c: (event_loop), (main):
18692 * tests/examples/typefind/.cvsignore:
18693 * tests/examples/typefind/Makefile.am:
18694 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18696 * tests/examples/xml/.cvsignore:
18697 * tests/examples/xml/Makefile.am:
18698 * tests/examples/xml/createxml.c: (object_saved), (main):
18699 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18700 * tests/old/examples/Makefile.am:
18701 * tests/old/examples/TODO:
18702 * tests/old/examples/controller/.cvsignore:
18703 * tests/old/examples/controller/Makefile.am:
18704 * tests/old/examples/controller/audio-example.c:
18705 * tests/old/examples/helloworld/.cvsignore:
18706 * tests/old/examples/helloworld/Makefile.am:
18707 * tests/old/examples/helloworld/helloworld.c:
18708 * tests/old/examples/launch/.cvsignore:
18709 * tests/old/examples/launch/Makefile.am:
18710 * tests/old/examples/launch/mp3parselaunch.c:
18711 * tests/old/examples/launch/mp3play:
18712 * tests/old/examples/manual/Makefile.am:
18713 * tests/old/examples/metadata/Makefile.am:
18714 * tests/old/examples/metadata/read-metadata.c:
18715 * tests/old/examples/queue/.cvsignore:
18716 * tests/old/examples/queue/Makefile.am:
18717 * tests/old/examples/queue/queue.c:
18718 * tests/old/examples/typefind/.cvsignore:
18719 * tests/old/examples/typefind/Makefile.am:
18720 * tests/old/examples/typefind/typefind.c:
18721 * tests/old/examples/xml/.cvsignore:
18722 * tests/old/examples/xml/Makefile.am:
18723 * tests/old/examples/xml/createxml.c:
18724 * tests/old/examples/xml/runxml.c:
18725 applied some simple fixing to some examples
18726 re-enabled the working examples
18728 2005-12-12 Wim Taymans <wim@fluendo.com>
18730 * gst/gstsegment.c: (gst_segment_init),
18731 (gst_segment_set_last_stop), (gst_segment_set_seek),
18732 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18733 (gst_segment_to_running_time):
18734 Added more documentation.
18735 Make sure the last_pos value is updated properly.
18736 Make sure to_stream_time and to_running_time don't
18737 operate on wrong values.
18739 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18742 2005-12-12 Michael Smith <msmith@fluendo.com>
18744 * plugins/elements/gsttypefindelement.c: (free_entry),
18745 (gst_type_find_element_chain):
18746 Now that we're not leaking factories, make sure we keep references
18747 to them while we need them.
18749 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18751 * tests/check/gst/struct_i386.h:
18752 ifdef out the XML structs
18754 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18756 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18757 floor is not needed, F is always positive; this obviates the
18758 need for adding -lm when building without libxml
18760 2005-12-12 Wim Taymans <wim@fluendo.com>
18762 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18763 Take current playback rate into account when reporting
18766 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18768 * docs/manual/mime-world.fig:
18769 Let's try this again, this time with a file that is
18770 actually in XFig format.
18772 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18774 * docs/manual/mime-world.fig:
18775 Add audioconvert element to diagram so that it
18776 matches the text and the code (fixes #319526).
18778 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18780 * docs/pwg/building-chainfn.xml:
18781 * docs/pwg/building-pads.xml:
18782 * docs/pwg/building-state.xml:
18783 * docs/pwg/other-source.xml:
18784 Update state change stuff for 0.10 (fixes #322969).
18786 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18788 * docs/manual/advanced-dataaccess.xml:
18789 * docs/manual/appendix-checklist.xml:
18790 * docs/manual/appendix-programs.xml:
18791 * docs/manual/basics-pads.xml:
18792 * docs/manual/highlevel-components.xml:
18793 * docs/manual/manual.xml:
18794 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18795 add converters in front of pipelines; remove curly
18796 brackets for threads stuff, they no longer exist; use
18797 GST_TYPE_FRACTION for framerates; update some pieces of
18798 code to 0.10, but there's plenty more to do.
18800 * docs/manual/appendix-porting.xml:
18801 Expand on asynchroneous state changes; s/0.9/0.10/;
18802 mention disappearance of gst_init_get_popt_table()
18805 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18807 * docs/faq/using.xml:
18808 Spider no longer exists, and neither does gst-launch-ext.
18809 Update examples to use decodebin and playbin and put
18810 converters in front of sinks (fixes #323726).
18812 2005-12-09 Michael Smith <msmith@fluendo.com>
18814 * plugins/elements/gsttypefindelement.c: (find_peek),
18815 (gst_type_find_element_chain):
18816 Fix leaking element factories in typefinding.
18817 Fix problem where we forgot about a probable type on non-seekable
18818 files, and thus later mis-typefound it.
18820 2005-12-09 Michael Smith <msmith@fluendo.com>
18822 * common/m4/gst-makecontext.m4:
18823 * common/m4/gst-mcsc.m4:
18825 * win32/common/config.h:
18826 * win32/common/config.h.in:
18827 Remove makecontext stuff; not used in 0.10 and causes problems on
18828 HPUX according to bug #322441
18830 2005-12-07 Wim Taymans <wim@fluendo.com>
18832 * tests/check/Makefile.am:
18833 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18835 * tests/check/libs/struct_i386.h:
18836 Added ABI check for libs
18838 2005-12-07 Wim Taymans <wim@fluendo.com>
18840 * tests/check/Makefile.am:
18841 And add the struct_i386.h to dist.
18843 2005-12-07 Wim Taymans <wim@fluendo.com>
18845 * tests/check/Makefile.am:
18846 * tests/check/gst/.cvsignore:
18847 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18849 * tests/check/gst/struct_i386.h:
18850 Added check for ABI compatibility.
18852 2005-12-07 Wim Taymans <wim@fluendo.com>
18854 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18855 (gst_fake_src_get_times), (gst_fake_src_create):
18856 Fix broken sync option, fixes #323259
18858 2005-12-07 Wim Taymans <wim@fluendo.com>
18863 * gst/gstcaps.c: (gst_caps_is_equal):
18864 Don't assert on NULL <--> X. Fixes #323260
18866 * gst/gstminiobject.c: (gst_mini_object_replace):
18867 If we're doing atomic operations, we might just as well use
18868 the proper way to get an atomic pointer.
18870 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18871 Clean up debugging.
18873 2005-12-07 Michael Smith <msmith@fluendo.com>
18875 * gst/parse/grammar.y:
18876 Remove handling of { } for threads.
18878 2005-12-06 David Schleef <ds@schleef.org>
18880 * libs/gst/base/gstbasetransform.c: speling fix.
18882 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18884 * docs/libs/tmpl/gstdataprotocol.sgml:
18885 * docs/random/omega/testing/gstobject.c:
18888 * gst/gstelement.c:
18889 * gst/gstelementfactory.c:
18892 * gst/gstghostpad.c:
18894 * gst/gstpadtemplate.c:
18895 * gst/gstregistryxml.c:
18896 * gst/gsttaglist.c:
18897 * gst/gsttagsetter.c:
18898 * gst/gsttypefind.c:
18900 * libs/gst/base/gstbasesrc.c:
18901 * libs/gst/net/gstnetclientclock.c:
18902 * libs/gst/net/gstnettimeprovider.c:
18903 * plugins/elements/gstfakesrc.c:
18904 * plugins/elements/gstfdsrc.c:
18905 * plugins/elements/gstfilesrc.c:
18906 * plugins/elements/gstidentity.c:
18907 * plugins/elements/gstqueue.c:
18908 * plugins/elements/gsttypefindelement.c:
18909 * plugins/indexers/gstfileindex.c:
18910 * plugins/indexers/gstmemindex.c:
18911 * tests/check/gst/gsttag.c:
18912 * tests/old/examples/cutter/cutter.c:
18913 * tests/old/examples/mixer/mixer.c:
18914 * tests/old/examples/xml/runxml.c: (main):
18915 * tests/old/testsuite/caps/normalisation.c:
18916 * tests/old/testsuite/debug/global.c:
18917 * tests/old/testsuite/parse/parse1.c:
18918 * tools/gst-xmlinspect.c:
18919 * win32/common/dirent.c:
18922 === release 0.10.0 ===
18924 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18927 releasing 0.10.0, "Maroilles"
18929 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18931 submitted by: Funda Wang <fundawang@linux.net.cn>
18935 added Chinese (Traditional) translation
18937 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18939 * docs/gst/gstreamer-sections.txt:
18940 * docs/libs/tmpl/gstdataprotocol.sgml:
18941 * docs/random/thomasvs/TODO:
18946 2005-12-05 Andy Wingo <wingo@pobox.com>
18948 patch by: Wim Taymans <wim@fluendo.com>
18950 * libs/gst/base/gstbasetransform.c
18951 (gst_base_transform_prepare_output_buf)
18952 (gst_base_transform_buffer_alloc):
18953 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18954 alloc_buffer_and_set_caps.
18956 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18957 set_caps on the source pad.
18958 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18959 alloc_buffer used to do. Fixes #322874.
18961 * docs/gst/gstreamer-sections.txt:
18962 * docs/design/part-negotiation.txt:
18963 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18966 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18968 patch by: Sebastien Moutte
18971 * win32/common/config.h.in:
18972 * win32/vs6/libgstcontroller.dsp:
18975 2005-12-05 Wim Taymans <wim@fluendo.com>
18977 * gst/gstcaps.c: (gst_caps_is_equal):
18978 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18979 (gst_fake_src_create):
18980 Back out previous code changes, leave doc updates, file bugs
18983 2005-12-05 Wim Taymans <wim@fluendo.com>
18985 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18986 (gst_fake_src_get_times), (gst_fake_src_create):
18987 * plugins/elements/gstfakesrc.h:
18988 Fix broken sync code.
18990 2005-12-05 Wim Taymans <wim@fluendo.com>
18992 * gst/gstcaps.c: (gst_caps_is_equal):
18993 Comparing NULL against !NULL yields different caps, not a
18996 2005-12-05 Wim Taymans <wim@fluendo.com>
18998 * gst/gstpipeline.c:
18999 Fix small typo in docs.
19001 2005-12-05 Andy Wingo <wingo@pobox.com>
19003 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
19005 * gst/gst.c (init_post): remove hard-coded 0.9 location for
19006 registries/plugins with a MAJORMINOR one.
19007 (plugin_desc): Rename library from gstcoreleements to
19008 staticelements. Fixes #323222.
19010 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
19012 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19013 Change debug category to 'collectpads' from 'collect_pads'
19016 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19018 patch by: Sebastien Moutte
19020 * libs/gst/controller/gstinterpolation.c:
19021 use convert function for uint64/double
19022 * win32/vs6/libgstcontroller.dsp:
19025 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
19027 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19028 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19030 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19031 add tests that seem to show that the guint64/gdouble conversions
19034 2005-12-02 Wim Taymans <wim@fluendo.com>
19036 * gst/gstregistry.c: (gst_registry_add_path):
19037 * gst/gstregistry.h:
19038 * gst/gstregistryxml.c:
19041 2005-12-02 Wim Taymans <wim@fluendo.com>
19043 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19044 (gst_util_uint64_scale_int):
19047 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19048 Add debug log line.
19050 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19053 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19056 * win32/common/config.h:
19057 * win32/vs6/gstreamer.dsw:
19058 * win32/vs6/libgstcoreelements.dsp:
19059 * win32/vs6/libgstelements.dsp:
19060 renamed core elements plugin
19062 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
19064 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19066 do piece-wise major/minor comparison so 0.9 < 0.10
19067 also allow .exe extensions for tools
19069 2005-12-02 Michael Smith <msmith@fluendo.com>
19072 Escape a % to make gtkdoc happier; bug 322958.
19074 === release 0.9.7 ===
19076 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19079 releasing 0.9.7, "My Dog Has No Nose"
19081 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19083 * common/gst-xmlinspect.py:
19085 * docs/libs/tmpl/gstdataprotocol.sgml:
19086 * docs/random/release:
19105 * win32/common/config.h:
19106 * win32/common/config.h.in:
19107 * win32/vs6/gst_inspect.dsp:
19108 * win32/vs6/gst_launch.dsp:
19109 * win32/vs6/libgstbase.dsp:
19110 * win32/vs6/libgstelements.dsp:
19111 * win32/vs6/libgstreamer.dsp:
19112 * win32/vs7/GStreamer.vcproj:
19113 * win32/vs7/gst-inspect.vcproj:
19114 * win32/vs7/gst-launch.vcproj:
19115 * win32/vs7/libgstbase.vcproj:
19116 bump GST_MAJORMINOR to 0.10
19117 reset libtool version
19119 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19123 Added Bulgarian translation by (Alexander Shopov)
19125 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19127 * tests/check/gst/gstplugin.c:
19130 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19132 * common/gst-xmlinspect.py:
19133 * common/gtk-doc-plugins.mak:
19135 * docs/Makefile.am:
19136 * docs/gst/Makefile.am:
19137 * docs/gst/gstreamer-docs.sgml:
19138 * docs/gst/gstreamer-sections.txt:
19139 * docs/gst/gstreamer.types:
19140 * docs/gst/gstreamer.types.in:
19141 * docs/plugins/Makefile.am:
19142 * docs/plugins/gstreamer-plugins-docs.sgml:
19143 * docs/plugins/gstreamer-plugins-sections.txt:
19144 * docs/plugins/gstreamer-plugins.types:
19145 * docs/plugins/inspect.stamp:
19146 * docs/plugins/inspect/plugin-coreelements.xml:
19147 * docs/plugins/inspect/plugin-coreindexers.xml:
19148 * docs/plugins/scanobj-build.stamp:
19149 * gstreamer.spec.in:
19150 * plugins/elements/Makefile.am:
19151 * plugins/elements/gstelements.c:
19152 * plugins/elements/gstfakesink.c:
19153 * plugins/elements/gstfakesrc.c:
19154 * plugins/elements/gstfilesink.c:
19155 * plugins/elements/gstfilesrc.c:
19156 * plugins/elements/gstqueue.c:
19157 * plugins/indexers/Makefile.am:
19158 * plugins/indexers/gstindexers.c:
19159 document core plugins in a separate document just like all the
19161 rename these plugins to something starting with core
19163 2005-12-01 Andy Wingo <wingo@pobox.com>
19165 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19166 padding here before, but it missed the commit.
19168 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19170 * libs/gst/controller/gstinterpolation.c:
19171 whitespace prices have crashed, we should feel free to use some now
19172 use gst_guint64_to_gdouble
19174 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19176 * libs/gst/controller/gstcontroller.c:
19177 * libs/gst/controller/gsthelper.c:
19178 * libs/gst/controller/gstinterpolation.c:
19179 * libs/gst/controller/lib.c:
19180 wrap config.h include
19182 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19184 * docs/gst/gstreamer-sections.txt:
19187 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19189 * plugins/elements/gstelements.c:
19190 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19191 (gst_fd_sink__class_init), (gst_fd_sink__init),
19192 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19193 (gst_fd_sink__get_property):
19194 * plugins/elements/gstfdsink.h:
19195 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19196 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19197 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19198 (gst_fd_src_unlock), (gst_fd_src_set_property),
19199 (gst_fd_src_get_property), (gst_fd_src_create),
19200 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19201 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19202 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19203 (gst_fd_src_uri_handler_init):
19204 * plugins/elements/gstfdsrc.h:
19205 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19208 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19210 * docs/gst/Makefile.am:
19211 * docs/gst/gstreamer.types.in:
19215 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19221 * gst/gstregistry.h:
19222 * tests/benchmarks/complexity.c:
19223 * tests/benchmarks/mass-elements.c:
19224 * tests/check/Makefile.am:
19225 * tools/Makefile.am:
19226 * tools/gst-inspect.c:
19227 * tools/gst-xmlinspect.c:
19228 various fixes to make
19229 --disable-nls --disable-registry --disable-loadsave
19230 --disable-parse --disable-gst-debug
19231 work and get the core .so down to 360444 bytes after stripping
19233 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19238 * docs/random/thomasvs/TODO:
19239 * tests/Makefile.am:
19243 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19245 * win32/GStreamer.vcproj:
19248 * win32/Makefile.inspect:
19249 * win32/Makefile.launch:
19250 * win32/Makefile.register:
19251 * win32/README.txt:
19252 * win32/gst-inspect.vcproj:
19253 * win32/gst-launch.vcproj:
19254 * win32/gst-register.vcproj:
19255 * win32/gstelements.vcproj:
19256 * win32/gstgetbits.def:
19257 * win32/gstgetbits.vcproj:
19258 * win32/gstreamer-dbg.def:
19259 * win32/gstreamer.def:
19260 * win32/libgstbase.def:
19261 * win32/libgstbase.vcproj:
19262 * win32/link_oldruntime.c:
19266 * win32/msvc71.sln:
19267 move even more stuff, win32/ is nice and clean now
19269 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19271 * libs/gst/control/.cvsignore:
19276 * win32/gstbytestream.def:
19277 * win32/gstbytestream.vcproj:
19278 * win32/gstconfig.h:
19279 * win32/gstenumtypes.c:
19280 * win32/gstenumtypes.h:
19281 * win32/gstoptimalscheduler.vcproj:
19282 * win32/gstversion.h:
19284 * win32/testsuite/bins.vcproj:
19285 * win32/testsuite/bytestream.vcproj:
19286 * win32/testsuite/caps.vcproj:
19287 * win32/testsuite/cleanup.vcproj:
19288 * win32/testsuite/clock.vcproj:
19289 * win32/testsuite/debug.vcproj:
19290 * win32/testsuite/dlopen.vcproj:
19291 * win32/testsuite/dynparams.vcproj:
19292 * win32/testsuite/elements.vcproj:
19293 * win32/testsuite/ghostpads.vcproj:
19294 * win32/testsuite/indexers.vcproj:
19295 * win32/testsuite/negotiation.vcproj:
19296 * win32/testsuite/parse.vcproj:
19297 * win32/testsuite/plugin.vcproj:
19298 * win32/testsuite/refcounting.vcproj:
19299 * win32/testsuite/schedulers.vcproj:
19300 * win32/testsuite/states.vcproj:
19301 * win32/testsuite/tags.vcproj:
19302 * win32/testsuite/threads.vcproj:
19303 remove old win32 stuff that isn't maintained and should be
19306 2005-11-30 Andy Wingo <wingo@pobox.com>
19308 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19309 loading the gst.interfaces python module bork.
19311 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19312 available since GLib 2.2. Fixes #318031.
19314 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19317 * check/.cvsignore:
19318 * check/Makefile.am:
19319 * check/elements/.cvsignore:
19320 * check/elements/fakesrc.c:
19321 * check/elements/fdsrc.c:
19322 * check/elements/identity.c:
19323 * check/generic/.cvsignore:
19324 * check/generic/states.c:
19325 * check/gst-libs/.cvsignore:
19326 * check/gst-libs/controller.c:
19327 * check/gst-libs/gdp.c:
19328 * check/gst/.cvsignore:
19329 * check/gst/capslist.h:
19331 * check/gst/gstbin.c:
19332 * check/gst/gstbuffer.c:
19333 * check/gst/gstbus.c:
19334 * check/gst/gstcaps.c:
19335 * check/gst/gstelement.c:
19336 * check/gst/gstevent.c:
19337 * check/gst/gstghostpad.c:
19338 * check/gst/gstiterator.c:
19339 * check/gst/gstmessage.c:
19340 * check/gst/gstminiobject.c:
19341 * check/gst/gstobject.c:
19342 * check/gst/gstpad.c:
19343 * check/gst/gstpipeline.c:
19344 * check/gst/gstplugin.c:
19345 * check/gst/gstsegment.c:
19346 * check/gst/gststructure.c:
19347 * check/gst/gstsystemclock.c:
19348 * check/gst/gsttag.c:
19349 * check/gst/gstutils.c:
19350 * check/gst/gstvalue.c:
19351 * check/net/.cvsignore:
19352 * check/net/gstnetclientclock.c:
19353 * check/net/gstnettimeprovider.c:
19354 * check/pipelines/.cvsignore:
19355 * check/pipelines/cleanup.c:
19356 * check/pipelines/simple_launch_lines.c:
19357 * check/pipelines/stress.c:
19358 * check/states/.cvsignore:
19359 * check/states/sinks.c:
19361 * examples/Makefile.am:
19362 * examples/appreader/.cvsignore:
19363 * examples/appreader/Makefile.am:
19364 * examples/appreader/appreader.c:
19365 * examples/controller/.cvsignore:
19366 * examples/controller/Makefile.am:
19367 * examples/controller/audio-example.c:
19368 * examples/cutter/.cvsignore:
19369 * examples/cutter/Makefile.am:
19370 * examples/cutter/cutter.c:
19371 * examples/cutter/cutter.h:
19372 * examples/events/Makefile.am:
19373 * examples/events/seek.c:
19374 * examples/helloworld/.cvsignore:
19375 * examples/helloworld/Makefile.am:
19376 * examples/helloworld/helloworld.c:
19377 * examples/helloworld2/.cvsignore:
19378 * examples/helloworld2/Makefile.am:
19379 * examples/helloworld2/helloworld2.c:
19380 * examples/launch/.cvsignore:
19381 * examples/launch/Makefile.am:
19382 * examples/launch/mp3parselaunch.c:
19383 * examples/launch/mp3play:
19384 * examples/manual/.cvsignore:
19385 * examples/manual/Makefile.am:
19386 * examples/manual/extract.pl:
19387 * examples/metadata/Makefile.am:
19388 * examples/metadata/read-metadata.c:
19389 * examples/mixer/.cvsignore:
19390 * examples/mixer/Makefile.am:
19391 * examples/mixer/mixer.c:
19392 * examples/mixer/mixer.h:
19393 * examples/pingpong/.cvsignore:
19394 * examples/pingpong/Makefile.am:
19395 * examples/pingpong/pingpong.c:
19396 * examples/plugins/.cvsignore:
19397 * examples/plugins/Makefile.am:
19398 * examples/plugins/example.c:
19399 * examples/plugins/example.h:
19400 * examples/pwg/.cvsignore:
19401 * examples/pwg/Makefile.am:
19402 * examples/pwg/extract.pl:
19403 * examples/queue/.cvsignore:
19404 * examples/queue/Makefile.am:
19405 * examples/queue/queue.c:
19406 * examples/queue2/.cvsignore:
19407 * examples/queue2/Makefile.am:
19408 * examples/queue2/queue2.c:
19409 * examples/queue3/.cvsignore:
19410 * examples/queue3/Makefile.am:
19411 * examples/queue3/queue3.c:
19412 * examples/queue4/.cvsignore:
19413 * examples/queue4/Makefile.am:
19414 * examples/queue4/queue4.c:
19415 * examples/retag/.cvsignore:
19416 * examples/retag/Makefile.am:
19417 * examples/retag/retag.c:
19418 * examples/retag/transcode.c:
19419 * examples/thread/.cvsignore:
19420 * examples/thread/Makefile.am:
19421 * examples/thread/thread.c:
19422 * examples/typefind/.cvsignore:
19423 * examples/typefind/Makefile.am:
19424 * examples/typefind/typefind.c:
19425 * examples/xml/.cvsignore:
19426 * examples/xml/Makefile.am:
19427 * examples/xml/createxml.c:
19428 * examples/xml/runxml.c:
19429 * tests/Makefile.am:
19430 * tests/check/Makefile.am:
19431 * testsuite/.cvsignore:
19432 * testsuite/Makefile.am:
19434 * testsuite/caps/.cvsignore:
19435 * testsuite/caps/Makefile.am:
19436 * testsuite/caps/app_fixate.c:
19437 * testsuite/caps/audioscale.c:
19438 * testsuite/caps/caps.c:
19439 * testsuite/caps/caps.h:
19440 * testsuite/caps/caps_strings:
19441 * testsuite/caps/compatibility.c:
19442 * testsuite/caps/deserialize.c:
19443 * testsuite/caps/enumcaps.c:
19444 * testsuite/caps/eratosthenes.c:
19445 * testsuite/caps/filtercaps.c:
19446 * testsuite/caps/fixed.c:
19447 * testsuite/caps/fraction-convert.c:
19448 * testsuite/caps/fraction-multiply-and-zero.c:
19449 * testsuite/caps/intersect2.c:
19450 * testsuite/caps/intersection.c:
19451 * testsuite/caps/normalisation.c:
19452 * testsuite/caps/random.c:
19453 * testsuite/caps/renegotiate.c:
19454 * testsuite/caps/sets.c:
19455 * testsuite/caps/simplify.c:
19456 * testsuite/caps/string-conversions.c:
19457 * testsuite/caps/structure.c:
19458 * testsuite/caps/subtract.c:
19459 * testsuite/caps/union.c:
19460 * testsuite/debug/.cvsignore:
19461 * testsuite/debug/Makefile.am:
19462 * testsuite/debug/category.c:
19463 * testsuite/debug/commandline.c:
19464 * testsuite/debug/global.c:
19465 * testsuite/debug/output.c:
19466 * testsuite/debug/printf_extension.c:
19467 * testsuite/dlopen/.cvsignore:
19468 * testsuite/dlopen/Makefile.am:
19469 * testsuite/dlopen/dlopen_gst.c:
19470 * testsuite/dlopen/loadgst.c:
19471 * testsuite/elements/.cvsignore:
19472 * testsuite/elements/Makefile.am:
19473 * testsuite/elements/gst-inspect-check.in:
19474 * testsuite/elements/struct_i386.h:
19475 * testsuite/elements/struct_size.c:
19476 * testsuite/indexers/.cvsignore:
19477 * testsuite/indexers/Makefile.am:
19478 * testsuite/indexers/cache1.c:
19479 * testsuite/indexers/indexdump.c:
19480 * testsuite/parse/.cvsignore:
19481 * testsuite/parse/Makefile.am:
19482 * testsuite/parse/parse1.c:
19483 * testsuite/parse/parse2.c:
19484 * testsuite/plugin/.cvsignore:
19485 * testsuite/plugin/Makefile.am:
19486 * testsuite/plugin/README:
19487 * testsuite/plugin/dynamic.c:
19488 * testsuite/plugin/linked.c:
19489 * testsuite/plugin/loading.c:
19490 * testsuite/plugin/registry.c:
19491 * testsuite/plugin/static.c:
19492 * testsuite/plugin/static2.c:
19493 * testsuite/plugin/testplugin.c:
19494 * testsuite/plugin/testplugin2.c:
19495 * testsuite/plugin/testplugin2_s.c:
19496 * testsuite/plugin/testplugin_s.c:
19497 * testsuite/refcounting/.cvsignore:
19498 * testsuite/refcounting/Makefile.am:
19499 * testsuite/refcounting/bin.c:
19500 * testsuite/refcounting/element.c:
19501 * testsuite/refcounting/element_pad.c:
19502 * testsuite/refcounting/mainloop.c:
19503 * testsuite/refcounting/mem.c:
19504 * testsuite/refcounting/mem.h:
19505 * testsuite/refcounting/object.c:
19506 * testsuite/refcounting/pad.c:
19507 * testsuite/refcounting/sched.c:
19508 * testsuite/refcounting/thread.c:
19509 * testsuite/states/.cvsignore:
19510 * testsuite/states/Makefile.am:
19511 * testsuite/states/bin.c:
19512 * testsuite/states/locked.c:
19513 * testsuite/states/parent.c:
19514 * testsuite/threads/.cvsignore:
19515 * testsuite/threads/159566.c:
19516 * testsuite/threads/159852.c:
19517 * testsuite/threads/Makefile.am:
19518 * testsuite/threads/queue.c:
19519 * testsuite/threads/signals.c:
19520 * testsuite/threads/staticrec.c:
19521 * testsuite/threads/thread.c:
19522 * testsuite/threads/threadb.c:
19523 * testsuite/threads/threadc.c:
19524 * testsuite/threads/threadd.c:
19525 * testsuite/threads/threade.c:
19526 * testsuite/threads/threadf.c:
19527 * testsuite/threads/threadg.c:
19528 * testsuite/threads/threadh.c:
19529 * testsuite/threads/threadi.c:
19530 move all of these under tests
19532 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19535 * tests/Makefile.am:
19538 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19540 * docs/gst/gstreamer-sections.txt:
19541 * tests/sched/.cvsignore:
19542 * tests/sched/Makefile.am:
19543 * tests/sched/cases/(fs-fs).xml:
19544 * tests/sched/cases/(fs-i-fs).xml:
19545 * tests/sched/cases/(fs-i-i-fs).xml:
19546 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19547 * tests/sched/dynamic-pipeline.c:
19548 * tests/sched/interrupt1.c:
19549 * tests/sched/interrupt2.c:
19550 * tests/sched/interrupt3.c:
19551 * tests/sched/runtestcases:
19552 * tests/sched/runxml.c:
19553 * tests/sched/sched-stress.c:
19554 * tests/sched/sort.c:
19555 * tests/sched/testcases:
19556 * tests/sched/testcases1.tc:
19557 * tests/seeking/.cvsignore:
19558 * tests/seeking/Makefile.am:
19559 * tests/seeking/seeking1.c:
19560 * tests/threadstate/.cvsignore:
19561 * tests/threadstate/Makefile.am:
19562 * tests/threadstate/test1.c:
19563 * tests/threadstate/test2.c:
19564 * tests/threadstate/threadstate1.c:
19565 * tests/threadstate/threadstate2.c:
19566 * tests/threadstate/threadstate3.c:
19567 * tests/threadstate/threadstate4.c:
19568 * tests/threadstate/threadstate5.c:
19569 remove obsolete tests
19571 * tests/bench-complexity.scm:
19572 * tests/bench-mass_elements.scm:
19573 * tests/complexity.c:
19574 * tests/complexity.gnuplot:
19575 * tests/instantiate/.cvsignore:
19576 * tests/instantiate/Makefile.am:
19577 * tests/instantiate/caps.c:
19578 * tests/mass_elements.c:
19579 * tests/network-clock-utils.scm:
19580 * tests/network-clock.scm:
19582 First pass at cleaning up tests/ dir before moving the rest
19583 Combined with CVS surgery
19585 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19588 queue has moved, update
19590 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19592 * docs/gst/gstreamer-sections.txt:
19593 remove double entries from the docs
19594 * gst/gst_private.h:
19595 * gst/gstinfo.c: (_gst_debug_init):
19596 remove the THREAD debug category
19600 * docs/gst/gstreamer.types:
19601 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19602 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19603 completely move queue and fix up debugging categories
19605 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19607 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19608 make initialization portable, using LL is not
19610 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19612 * win32/common/gstconfig.h:
19615 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19617 * win32/common/libgstreamer.def:
19618 rename symbols; sort base section
19620 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19622 * gst/gstclock.c: (do_linear_regression):
19623 remove crack non-portable handrolled DEBUG macro
19625 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19627 * docs/random/release:
19629 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19630 (gst_object_flags_get_type), (register_gst_bin_flags),
19631 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19632 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19633 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19634 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19635 (gst_caps_flags_get_type), (register_gst_clock_return),
19636 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19637 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19638 (gst_clock_flags_get_type), (register_gst_state),
19639 (gst_state_get_type), (register_gst_state_change_return),
19640 (gst_state_change_return_get_type), (register_gst_state_change),
19641 (gst_state_change_get_type), (register_gst_element_flags),
19642 (gst_element_flags_get_type), (register_gst_core_error),
19643 (gst_core_error_get_type), (register_gst_library_error),
19644 (gst_library_error_get_type), (register_gst_resource_error),
19645 (gst_resource_error_get_type), (register_gst_stream_error),
19646 (gst_stream_error_get_type), (register_gst_event_type_flags),
19647 (gst_event_type_flags_get_type), (register_gst_event_type),
19648 (gst_event_type_get_type), (register_gst_seek_type),
19649 (gst_seek_type_get_type), (register_gst_seek_flags),
19650 (gst_seek_flags_get_type), (register_gst_format),
19651 (gst_format_get_type), (register_gst_index_certainty),
19652 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19653 (gst_index_entry_type_get_type),
19654 (register_gst_index_lookup_method),
19655 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19656 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19657 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19658 (gst_index_flags_get_type), (register_gst_debug_level),
19659 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19660 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19661 (gst_iterator_result_get_type), (register_gst_iterator_item),
19662 (gst_iterator_item_get_type), (register_gst_message_type),
19663 (gst_message_type_get_type), (register_gst_mini_object_flags),
19664 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19665 (gst_pad_link_return_get_type), (register_gst_flow_return),
19666 (gst_flow_return_get_type), (register_gst_activate_mode),
19667 (gst_activate_mode_get_type), (register_gst_pad_direction),
19668 (gst_pad_direction_get_type), (register_gst_pad_flags),
19669 (gst_pad_flags_get_type), (register_gst_pad_presence),
19670 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19671 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19672 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19673 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19674 (gst_plugin_flags_get_type), (register_gst_rank),
19675 (gst_rank_get_type), (register_gst_query_type),
19676 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19677 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19678 (gst_tag_flag_get_type), (register_gst_task_state),
19679 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19680 (gst_alloc_trace_flags_get_type),
19681 (register_gst_type_find_probability),
19682 (gst_type_find_probability_get_type), (register_gst_uri_type),
19683 (gst_uri_type_get_type), (register_gst_parse_error),
19684 (gst_parse_error_get_type):
19685 * win32/common/gstenumtypes.h:
19686 * win32/common/gstversion.h:
19687 update visual studio generated files
19689 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19691 * win32/vs6/libgstbase.dsp:
19692 * win32/vs6/libgstelements.dsp:
19693 update project files for new locations
19695 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19700 reinstate and update
19705 * docs/random/LICENSE:
19708 2005-11-30 Edward Hervey <edward@fluendo.com>
19710 * gst/gsttypefind.c: (gst_type_find_register):
19711 * gst/gsttypefind.h:
19712 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19713 (gst_type_find_factory_dispose):
19714 * gst/gsttypefindfactory.h:
19715 Fix memory leak in GstTypeFindFactory.
19717 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19720 * plugins/elements/Makefile.am:
19721 * plugins/elements/gstelements.c:
19722 * plugins/elements/gstqueue.c:
19723 move queue from core to the elements plugin
19725 2005-11-29 Andy Wingo <wingo@pobox.com>
19727 * libs/gst/base/gstbasetransform.h:
19728 * libs/gst/base/gstbasesrc.h:
19729 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19731 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19732 of pointers by which to pad very extensible base classes (like the
19733 ones in libs/gst/base).
19735 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19737 * docs/gst/gstreamer-docs.sgml:
19738 * docs/gst/gstreamer-sections.txt:
19739 * docs/libs/gstreamer-libs-docs.sgml:
19740 * docs/libs/gstreamer-libs-sections.txt:
19741 moving documentation from core to lib
19743 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19745 * check/Makefile.am:
19747 * docs/gst/Makefile.am:
19749 * gst/base/.cvsignore:
19750 * gst/base/Makefile.am:
19752 * gst/base/gstadapter.c:
19753 * gst/base/gstadapter.h:
19754 * gst/base/gstbasesink.c:
19755 * gst/base/gstbasesink.h:
19756 * gst/base/gstbasesrc.c:
19757 * gst/base/gstbasesrc.h:
19758 * gst/base/gstbasetransform.c:
19759 * gst/base/gstbasetransform.h:
19760 * gst/base/gstcollectpads.c:
19761 * gst/base/gstcollectpads.h:
19762 * gst/base/gstpushsrc.c:
19763 * gst/base/gstpushsrc.h:
19764 * gst/base/gsttypefindhelper.c:
19765 * gst/base/gsttypefindhelper.h:
19766 * gst/check/Makefile.am:
19767 * gst/check/gstcheck.c:
19768 * gst/check/gstcheck.h:
19769 * gst/net/Makefile.am:
19770 * gst/net/gstnet.h:
19771 * gst/net/gstnetclientclock.c:
19772 * gst/net/gstnetclientclock.h:
19773 * gst/net/gstnettimepacket.c:
19774 * gst/net/gstnettimepacket.h:
19775 * gst/net/gstnettimeprovider.c:
19776 * gst/net/gstnettimeprovider.h:
19777 * libs/gst/Makefile.am:
19778 * libs/gst/base/Makefile.am:
19779 * libs/gst/base/gstbasetransform.c:
19780 * libs/gst/check/Makefile.am:
19781 * plugins/elements/Makefile.am:
19783 CVS surgery + support to move base, check, and net out of gst
19786 2005-11-29 Andy Wingo <wingo@pobox.com>
19788 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19790 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19793 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19795 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19797 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19799 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19800 padding; reduces object size by about 30%. We don't expect
19801 anything else to go into gstobject.
19803 * gst/gstminiobject.h (struct _GstMiniObject)
19804 (struct _GstMiniObjectClass): Only one pointer of padding; the
19805 payload is only a pointer and two ints anyway. For the class there
19806 are only two methods as well.
19808 * gst/gstelement.h (struct _GstElementClass): Removed
19809 the state_changed signal callback, it is not used.
19811 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19813 * docs/gst/gstreamer.types:
19814 fix includes, though they are a little dinky
19816 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19818 * check/Makefile.am:
19819 look in the right place for elements, a lot more chance of
19822 remove indexers and elements subdirs
19823 * plugins/Makefile.am:
19824 make indexers conditional
19826 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19830 * plugins/elements/Makefile.am:
19831 * plugins/elements/gstcapsfilter.c:
19832 * plugins/elements/gstfilesink.c:
19833 * plugins/elements/gstfilesrc.c:
19834 * plugins/elements/gstidentity.c:
19835 * plugins/indexers/Makefile.am:
19836 do CVS surgery and related build fixery to move elements
19837 and indexers in a new gstreamer/plugins directory, out of the
19840 2005-11-29 Andy Wingo <wingo@pobox.com>
19842 * check/Makefile.am:
19843 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19844 * pkgconfig/gstreamer-net.pc.in:
19845 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19848 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19850 * tools/Makefile.am:
19851 * tools/gst-complete.1.in:
19852 * tools/gst-complete.c:
19853 * tools/gst-compprep.1.in:
19854 * tools/gst-compprep.c:
19855 removing -compprep and -complete
19857 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19859 * gst/gstevent.c: (gst_event_new_new_segment),
19860 (gst_event_parse_new_segment):
19862 fix #320529 - clean up new_segment API and structure.
19863 Let's hope everyone was using the methods, and not the structure.
19865 2005-11-29 Edward Hervey <edward@fluendo.com>
19867 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19868 (gst_base_sink_event), (gst_base_sink_do_sync),
19869 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19870 Properly handle non GST_FORMAT_TIME segment
19871 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19872 Properly handle non GST_FORMAT_TIME segment
19873 * gst/gstsegment.c:
19874 This function is valid if the accumulator is 0 and the format
19875 is different from the requested format.
19877 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19879 * docs/gst/gstreamer-sections.txt:
19880 Add gst_query_new_seeking and gst_query_parse_seeking to the
19883 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19885 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19886 Treat a pad alloc with new caps the same as if we were not
19887 negotiated, in order to allow a changing upstream output
19888 to produce a new format of data.
19890 2005-11-29 Edward Hervey <edward@fluendo.com>
19892 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19893 (gst_base_transform_event), (gst_base_transform_eventfunc):
19894 The event virtual method is now properly implemented, with a default
19896 Sub classes should call the parent_class event method. They should
19897 return FALSE if they had a problem handling the given event, or don't
19898 want GstBaseTransform to send that even downstream
19899 * gst/elements/gstidentity.c: (gst_identity_class_init),
19900 (gst_identity_init), (gst_identity_event),
19901 (gst_identity_transform_ip), (gst_identity_set_property),
19902 (gst_identity_get_property):
19903 * gst/elements/gstidentity.h:
19904 Added the single-segment boolean property.
19905 If set to TRUE, it will output a single segment of data, starting from
19906 0, will eat up all incoming newsegment, and modify the timestamp of the
19907 buffers accordingly
19909 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19911 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19912 Don't ref NULL target pad (#322751). Improve docs.
19914 2005-11-29 Michael Smith <msmith@fluendo.com>
19916 * gst/gstregistryxml.c: (load_plugin):
19917 Don't crash if we failed to load a feature from a plugin.
19919 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19921 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19923 use more check API and less GLib API
19925 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19928 don't run checks if we don't have check
19929 * common/check.mak:
19930 remove the registry when running make torture
19931 * docs/gst/gstreamer-sections.txt:
19932 remove second multiply
19933 * gst/gstqueue.c: (gst_queue_loop):
19934 fix a compile warning when disabling debug
19936 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19939 Hey! Let's print the pad name if the pointer != NULL instead
19940 of when it == NULL :-)
19942 2005-11-28 Wim Taymans <wim@fluendo.com>
19944 * check/gst/gstutils.c: (GST_START_TEST):
19945 Updated check, add some scaling accuracy checking code.
19947 * gst/gstutils.c: (gst_util_div128_64),
19948 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19949 (gst_util_uint64_scale_int):
19950 Fix 6 times faster division code. Optimize for common
19951 1/1 and less common X/1 cases.
19953 2005-11-28 Wim Taymans <wim@fluendo.com>
19955 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19958 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19959 (do_linear_regression), (gst_clock_add_observation):
19961 Release lock when the clock cannot be slaved.
19962 Catch the case where the regression returned an invalid denominator.
19964 * gst/gstutils.c: (gst_util_div128_64_iterate),
19965 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19966 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19967 Add protentially more performant non-iterative 128/64 divide function
19968 that unfortunatly does not work yet.
19969 Shortcut the trivial 0/X = 0 case.
19970 Remove the warnings on overflow.
19972 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19974 * gst/gstplugin.c: (gst_plugin_register_func):
19975 everything causing a plugin not to load should be at least a WARNING
19977 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19979 * docs/random/ensonic/dparams.txt:
19980 some TODOs for the next dev cycle
19981 * libs/gst/controller/gstcontroller.c:
19982 (gst_controlled_property_set_interpolation_mode),
19983 (gst_controlled_property_new):
19984 * libs/gst/controller/gstcontroller.h:
19985 use base type to assign acccessor functions
19987 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19989 * check/Makefile.am:
19990 Oops, that should have been top_srcdir
19992 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19994 * check/Makefile.am:
19995 * check/elements/fdsrc.c: (GST_START_TEST):
19996 Use a cmdline define to specify the location of a file to use for
19997 testing, to avoid breaking distcheck.
19999 2005-11-28 Andy Wingo <wingo@pobox.com>
20001 * gst/gstpad.c (fixate_value): Use array functions for arrays.
20003 2005-11-28 Edward Hervey <edward@fluendo.com>
20005 * tools/gst-launch.c: (main):
20006 Clarify the output strings, makes it easier to translate.
20009 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
20012 don't try and build net if we don't even have <sys/socket.h>
20014 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
20016 * check/Makefile.am:
20017 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20018 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20019 Add tests for fdsrc seekability
20021 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20022 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20023 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20024 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20025 * gst/elements/gstfdsrc.h:
20026 fdsrc should not be a 'live' source.
20027 Implement seeking on seekable fd's.
20029 * gst/gstquery.c: (gst_query_new_seeking),
20030 (gst_query_parse_seeking):
20032 Implement SEEKING query functions:
20033 *_new_seeking and *_parse_seeking
20035 2005-11-27 Stefan Kost <ensonic@users.sf.net>
20037 * gst/gstelement.c: (gst_element_dispose):
20040 * gst/gstiterator.c:
20041 * gst/gststructure.c:
20044 * libs/gst/controller/gstcontroller.c:
20045 (gst_controlled_property_set_interpolation_mode):
20046 * libs/gst/controller/gstcontroller.h:
20047 * libs/gst/controller/gstinterpolation.c:
20048 (interpolate_none_get_enum_value_array):
20049 support controlling enums
20051 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20054 Improve documentation for gst_value_union().
20057 Change return value for union, intersect and subtract functions
20058 from gint to gboolean.
20060 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
20062 * gst/gstvalue.c: (gst_value_serialize_any_list),
20063 (gst_value_transform_any_list_string),
20064 (gst_value_deserialize_list), (gst_value_deserialize_array),
20065 (gst_value_set_int_range), (gst_value_deserialize_int_range),
20066 (gst_value_set_double_range), (gst_value_deserialize_double_range),
20067 (gst_value_set_fraction_range_full),
20068 (gst_value_deserialize_fraction_range),
20069 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20070 (gst_value_deserialize_boolean),
20071 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20072 (gst_value_serialize_float), (gst_value_deserialize_float),
20073 (gst_string_wrap), (gst_value_deserialize_string),
20074 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20075 (gst_value_union_int_range_int_range),
20076 (gst_value_intersect_int_range_int_range),
20077 (gst_value_intersect_double_range_double_range),
20078 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20079 (gst_value_subtract_int_range_int_range),
20080 (gst_value_subtract_double_double_range),
20081 (gst_value_subtract_double_range_double_range),
20082 (gst_value_deserialize_fraction):
20084 Use gint, gdouble and gchar in our API instead of int, double and
20085 char (and make usage in gstvalue.c more consistent).
20087 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20089 * check/Makefile.am:
20090 * libs/gst/controller/Makefile.am:
20091 * libs/gst/dataprotocol/Makefile.am:
20092 fix up Makefile.am and remove GST_ENABLE_NEW
20094 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20098 * gst/base/Makefile.am:
20099 * gst/check/Makefile.am:
20100 * gst/elements/Makefile.am:
20101 * gst/net/Makefile.am:
20102 update LDFLAGS use some more
20104 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
20106 * common/m4/gst-doc.m4:
20109 2005-11-26 Edward Hervey <edward@fluendo.com>
20111 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20112 This shouldn't issue a g_warning since it returns NULL if it
20113 couldn't find the plugin, and all functions using this behave
20114 properly on a NULL return. Switching to a GST_WARNING.
20116 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
20118 * gst/gstbin.c: (gst_bin_handle_message_func):
20119 Don't leak clock messages.
20121 2005-11-25 Wim Taymans <wim@fluendo.com>
20123 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20124 (gst_util_uint64_scale_int):
20125 Optimisations, remove unneeded vars.
20127 2005-11-25 Wim Taymans <wim@fluendo.com>
20129 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20130 Added more checks for the high precision uint64 cases.
20132 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20133 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20134 Implement high precision (guint64 * guint64) / guint64.
20136 2005-11-24 Wim Taymans <wim@fluendo.com>
20138 * gst/base/gstbasesrc.c: (gst_base_src_query):
20139 Fix wrong percentage query.
20141 * gst/gstutils.c: (gst_util_uint64_scale),
20142 (gst_util_uint64_scale_int):
20143 Add some more common cases that can be handled
20144 efficiently to _scale.
20146 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20148 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20149 (gst_mini_object_suite):
20150 don't use check calls from threads; check probably isn't
20151 threadsafe and using a lock to make it threadsafe would
20152 defeat the purpose of this check
20153 * gst/check/gstcheck.c:
20154 * gst/check/gstcheck.h:
20155 use GST_DEBUG some more
20157 2005-11-24 Wim Taymans <wim@fluendo.com>
20159 * gst/gstutils.c: (gst_util_uint64_scale),
20160 (gst_util_uint64_scale_int):
20161 Chain trivial case to _scale_int.
20163 2005-11-24 Wim Taymans <wim@fluendo.com>
20165 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20166 Added test for scaling.
20171 * gst/gstutils.c: (gst_util_uint64_scale_int):
20172 Implemented high precision scaling code.
20174 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20177 do not crash on pad==NULL
20179 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20181 Patch by: Stefan Kost
20183 * common/gtk-doc.mak:
20184 * docs/gst/Makefile.am:
20185 * docs/libs/Makefile.am:
20186 Fix distcheck issues for the libraries docs build
20189 2005-11-24 Michael Smith <msmith@fluendo.com>
20191 * docs/manual/basics-helloworld.xml:
20192 Fix bug #315027: memory leak in example code in docs.
20194 2005-11-24 Michael Smith <msmith@fluendo.com>
20196 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20197 Unlock the PREROLL_LOCK in a failure case.
20199 2005-11-24 Wim Taymans <wim@fluendo.com>
20201 * docs/gst/gstreamer-sections.txt:
20202 * gst/base/gstadapter.h:
20203 * gst/base/gstbasesink.h:
20204 * gst/base/gstbasesrc.h:
20205 * gst/base/gstbasetransform.h:
20206 * gst/base/gstpushsrc.h:
20207 * gst/elements/gstfakesink.h:
20208 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20209 * gst/elements/gstfakesrc.h:
20210 * gst/elements/gstfilesink.h:
20211 * gst/elements/gstfilesrc.h:
20214 * gst/gstbuffer.c: (_gst_buffer_copy):
20217 * gst/gstchildproxy.c:
20219 * gst/gstelement.c:
20220 * gst/gstelementfactory.c:
20221 * gst/gstelementfactory.h:
20223 * gst/gstghostpad.h:
20225 * gst/gstinterface.h:
20226 * gst/gstminiobject.c:
20227 * gst/gstminiobject.h:
20230 * gst/gstpadtemplate.h:
20231 * gst/gstpipeline.h:
20232 * gst/gstpluginfeature.h:
20235 * gst/gsttaglist.c:
20236 * gst/gsttaglist.h:
20237 * gst/gsttagsetter.c:
20238 * gst/gsttagsetter.h:
20241 * gst/gsttypefind.h:
20244 * gst/net/gstnetclientclock.c:
20245 * gst/net/gstnetclientclock.h:
20246 * gst/net/gstnettimepacket.c:
20247 * gst/net/gstnettimeprovider.c:
20248 * gst/net/gstnettimeprovider.h:
20251 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20253 * configure.ac: back to HEAD
20255 === release 0.9.6 ===
20257 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20260 releasing 0.9.6, "Always On Time"
20262 2005-11-23 Wim Taymans <wim@fluendo.com>
20264 * docs/gst/gstreamer-sections.txt:
20265 * gst/glib-compat.c:
20266 * gst/gsttagsetter.c:
20268 * gst/net/gstnetclientclock.c:
20269 * gst/net/gstnettimepacket.h:
20272 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20274 * docs/faq/using.xml:
20275 * docs/libs/tmpl/gstcontrol.sgml:
20276 * docs/manual/advanced-dparams.xml:
20277 * docs/manual/appendix-checklist.xml:
20278 * docs/manual/basics-elements.xml:
20279 * docs/pwg/other-source.xml:
20280 * docs/random/moving-plugins:
20282 * tools/gst-launch.1.in:
20283 remove mentions of sinesrc
20285 2005-11-23 Michael Smith <msmith@fluendo.com>
20287 * docs/gst/gstreamer-sections.txt:
20288 Update for new API and API changes.
20290 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20292 Documentation typo fix.
20293 * gst/net/gstnettimepacket.c:
20294 Documentation fixes for arguments.
20296 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20298 * gst/gststructure.c: (gst_structure_get_fraction),
20299 (gst_structure_parse_value),
20300 (gst_structure_fixate_field_nearest_fraction):
20301 * gst/gststructure.h:
20302 * gst/gstutils.c: (gst_util_uint64_scale_int):
20304 * scripts/update-funcnames:
20306 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20307 Make gst_structure_fixate_field_nearest_fraction take a numerator
20308 and denominator argument instead of a GValue
20309 add gst_structure_get_fraction helper function.
20311 2005-11-23 Wim Taymans <wim@fluendo.com>
20313 * docs/design/part-TODO.txt:
20316 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20317 * gst/net/gstnetclientclock.h:
20318 Use parent fields for timeout and window_size.
20320 2005-11-23 Andy Wingo <wingo@pobox.com>
20322 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20323 rate_num/rate_denom change.
20325 * gst/net/gstnetclientclock.c
20326 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20327 OBJECT_LOCK. Don't call add_observation with the lock.
20329 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20331 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20333 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20334 deal with rate as a fraction whose numerator and denominator are
20335 GstClockTime values.
20336 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20337 master; the other fields are protected by the SLAVE_LOCK.
20338 (do_linear_regression): Note that this must be called with the
20340 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20341 OBJECT_LOCK. Call set_calibration instead of touching the
20342 variables directly.
20343 (gst_clock_set_property, gst_clock_get_property): Protect
20344 master/slave parameters with the SLAVE_LOCK.
20346 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20347 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20348 note that all of the instance variables that add_observation and
20349 the set_master functions use are protected by that lock and not
20351 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20353 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20354 the caller to take the object lock.
20356 2005-11-23 Wim Taymans <wim@fluendo.com>
20358 * gst/gsterror.c: (_gst_core_errors_init):
20360 Add error for clock stuff.
20362 * gst/gstpipeline.c: (gst_pipeline_change_state),
20363 (gst_pipeline_set_clock):
20364 Post clock error when clock cannot be used in a pipeline.
20366 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20368 * docs/gst/gstreamer-sections.txt:
20369 make two symbols from gstinfo private for the docs
20370 * gst/base/gstcollectpads.h:
20372 fix doc typos, update docs
20374 2005-11-22 Wim Taymans <wim@fluendo.com>
20376 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20377 (gst_base_sink_wait), (gst_base_sink_do_sync),
20378 (gst_base_sink_handle_event):
20379 * gst/base/gstbasesink.h:
20380 No need to store the clock, the parent element class already
20383 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20384 Updates for clock_set returning a gboolean
20386 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20387 (gst_clock_id_wait_async), (gst_clock_class_init),
20388 (gst_clock_init), (gst_clock_finalize),
20389 (gst_clock_get_internal_time), (gst_clock_get_time),
20390 (gst_clock_slave_callback), (gst_clock_set_master),
20391 (gst_clock_get_master), (do_linear_regression),
20392 (gst_clock_add_observation), (gst_clock_set_property),
20393 (gst_clock_get_property):
20395 Implement master/slave. When setting a clock as a slave, a
20396 periodic timeout is scheduled to sample master and slave times.
20397 Then the slave clock is recalibrated to match offset and rate
20398 of the master clock.
20399 Update logging a bit.
20400 Add flag so that a clock can state that is cannot be slaved to
20403 * gst/gstelement.c: (gst_element_set_clock):
20404 * gst/gstelement.h:
20405 The set clock returns a gboolean for when an element cannot
20406 deal with the selected clock in the pipeline.
20408 * gst/gstpipeline.c: (gst_pipeline_change_state),
20409 (gst_pipeline_set_clock):
20410 * gst/gstpipeline.h:
20411 Handle the case where the selected clock cannot be set on
20414 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20415 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20416 (gst_net_client_clock_set_property),
20417 (gst_net_client_clock_get_property),
20418 (gst_net_client_clock_observe_times):
20419 * gst/net/gstnetclientclock.h:
20420 Use regression code in GstClock parent, remove duplicated
20423 2005-11-22 Michael Smith <msmith@fluendo.com>
20425 * gst/gstutils.c: (gst_util_clock_time_scale):
20427 * docs/gst/gstreamer-sections.txt:
20428 Rename method to have extra underscore.
20430 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20432 * gst/elements/Makefile.am:
20433 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20434 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20435 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20436 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20437 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20438 * gst/elements/gstfakesrc.h:
20439 * gst/gstqueue.c: (queue_leaky_get_type):
20440 correctly fix GEnumValues so that nick is the short lowercase
20442 * tools/gst-inspect.c: (print_element_properties_info):
20443 also show the nick, since it's useful to use from parse_launch
20447 2005-11-22 Michael Smith <msmith@fluendo.com>
20449 * gst/gstutils.c: (gst_util_clocktime_scale):
20451 * docs/gst/gstreamer-sections.txt:
20452 Add util method for scaling a clocktime by a fraction. Useful
20453 implementation is left as an exercise for the reader.
20455 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20457 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20458 If needed, allocate storage in the destination value during
20461 2005-11-22 Edward Hervey <edward@fluendo.com>
20463 * docs/gst/gstreamer-sections.txt:
20466 * gst/gsturitype.c:
20467 * gst/gsturitype.h:
20468 * gst/gstutils.c: (gst_util_set_object_arg):
20469 * tools/gst-compprep.c: (main):
20470 * tools/gst-inspect.c: (print_element_properties_info):
20471 Removed GstURI, closes bug #321061
20473 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20475 * check/gst/gststructure.c: (GST_START_TEST):
20476 * gst/gststructure.c: (gst_structure_parse_value):
20477 Oops, broke automatic string type parsing.
20478 Add a test to catch it in future.
20480 2005-11-22 Andy Wingo <wingo@pobox.com>
20482 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20483 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20484 Actually rename the function implementations. Grr.
20486 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20488 * check/gst/capslist.h:
20490 * check/gst/gststructure.c: (GST_START_TEST),
20491 (gst_structure_suite):
20492 Test automatic value type detection in gst_structure_from_string.
20493 * gst/gststructure.c: (gst_structure_parse_value):
20494 Add fraction as a type we try and guess automatically in
20495 caps/structure strings.
20497 2005-11-22 Andy Wingo <wingo@pobox.com>
20499 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20501 * gst/gsttagsetter.h:
20502 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20503 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20504 (gst_tag_setter_add_tag_valist)
20505 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20506 _add_values, _add_valist, and _add_valist_values. Since this is an
20507 interface the function suffixes should be more explicit so
20508 language binding don't end up with element.add_valist ->
20509 gst_tag_setter_add_valist, for example. Fixes #322069.
20511 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20513 * check/gst/gstcaps.c: (GST_START_TEST):
20514 Extend caps string tests to check that a caps to string
20515 conversion is reversible and produces the same caps.
20517 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20518 Output "fraction" as the generic type fraction range, so caps
20519 serialisation and deserialisation works.
20520 * check/gst/capslist.h:
20521 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20522 Support 'MIN' and 'MAX' for deserialising fractions.
20524 2005-11-22 Andy Wingo <wingo@pobox.com>
20526 * gst/gstevent.h (gst_event_new_new_segment)
20527 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20528 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20529 Renamed from *_newsegment, *_buffersize, *_notarget.
20531 * scripts/update-funcnames: New script, performs the changes
20534 2005-11-22 Wim Taymans <wim@fluendo.com>
20536 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20537 Make sure the GstFlowReturn is returned.
20539 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20540 (gst_bus_add_signal_watch):
20542 add gst_bus_add_signal_watch_full.
20544 * gst/gstplugin.c: (gst_plugin_load_file):
20545 Small style cleanup.
20547 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20549 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20550 Block the fakesrc srcpad when we send an event, to avoid
20551 contention on the stream_lock causing random test failures.
20553 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20555 * check/gst/gstvalue.c: (GST_START_TEST):
20556 * gst/gstvalue.c: (gst_value_fraction_subtract):
20559 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20562 include "gstchildproxy.h"
20563 * gst/gstchildproxy.h:
20564 * libs/gst/controller/gstcontroller.h:
20565 use G_GNUC_NULL_TERMINATED
20567 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20569 * check/gst/capslist.h:
20570 * check/gst/gstcaps.c: (GST_START_TEST):
20571 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20572 * gst/gststructure.c: (gst_structure_parse_range),
20573 (gst_structure_fixate_field_nearest_fraction):
20574 * gst/gststructure.h:
20575 * gst/gstvalue.c: (gst_value_init_fraction_range),
20576 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20577 (gst_value_collect_fraction_range),
20578 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20579 (gst_value_set_fraction_range_full),
20580 (gst_value_get_fraction_range_min),
20581 (gst_value_get_fraction_range_max),
20582 (gst_value_serialize_fraction_range),
20583 (gst_value_transform_fraction_range_string),
20584 (gst_value_compare_fraction_range),
20585 (gst_value_deserialize_fraction_range),
20586 (gst_value_intersect_fraction_fraction_range),
20587 (gst_value_intersect_fraction_range_fraction_range),
20588 (gst_value_subtract_fraction_fraction_range),
20589 (gst_value_subtract_fraction_range_fraction),
20590 (gst_value_subtract_fraction_range_fraction_range),
20591 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20592 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20593 (gst_value_transform_string_fraction), (_gst_value_initialize):
20595 Implement fraction ranges and extend GstFraction to support
20596 arithmetic subtraction, as well as deserialization from integer
20597 strings such as "100"
20598 Add a testsuite as for int and double range set operations
20600 2005-11-21 Andy Wingo <wingo@pobox.com>
20602 * gst/gsttaglist.h:
20604 * gst/gststructure.h: Add glib-compat.h.
20606 2005-11-21 Wim Taymans <wim@fluendo.com>
20608 * gst/gstbin.c: (gst_bin_change_state_func):
20611 2005-11-21 Wim Taymans <wim@fluendo.com>
20613 * gst/gstsegment.h:
20614 And add a nice define too.
20616 2005-11-21 Wim Taymans <wim@fluendo.com>
20618 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20619 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20620 (gst_segment_set_duration), (gst_segment_set_last_stop),
20621 (gst_segment_set_seek), (gst_segment_set_newsegment),
20622 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20623 (gst_segment_clip):
20624 * gst/gstsegment.h:
20625 Make binding friendly.
20627 2005-11-21 Andy Wingo <wingo@pobox.com>
20629 * gst/gsttagsetter.h:
20630 * gst/gsttaglist.h:
20631 * gst/gststructure.h:
20633 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20636 * gst/gsterror.c (_gst_core_errors_init):
20637 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20640 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20641 (noinst_HEADERS): noinst the -private.
20643 2005-11-21 Michael Smith <msmith@fluendo.com>
20646 * gst/gstregistry.h:
20647 Remove unimplemented declarations for which we can see no sensible
20650 2005-11-21 Andy Wingo <wingo@pobox.com>
20652 * gst/gst.h: Include glib-compat.h.
20654 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20656 * gst/glib-compat.c: Include the public and the private header.
20658 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20662 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20664 * check/gst/gstevent.c (create_custom_events): Check that
20665 FLUSH_STOP is serialized.
20667 * check/elements/identity.c (event_func):
20668 * check/elements/fakesrc.c (event_func): No stream lock, the core
20671 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20672 stream lock taking, yay.
20674 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20675 ensure that core takes the stream lock.
20677 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20680 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20681 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20682 it already. For the flush start we do take it though so we get the
20683 right preroll state change messages.
20685 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20686 the stream lock here, the core does it for us.
20688 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20689 GST_STREAM_GET_LOCK.
20690 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20691 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20692 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20693 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20694 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20695 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20697 * gst/gstpad.c: Update for stream lock name change.
20699 * gst/base/gstbasesink.c: Update for preroll lock name change.
20701 2005-11-21 Wim Taymans <wim@fluendo.com>
20703 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20704 (gst_clock_get_master):
20706 * gst/gstsystemclock.c: (gst_system_clock_init):
20707 Convert Clock flags to object flags.
20708 Added methods to manage master/slave clocks.
20710 2005-11-21 Wim Taymans <wim@fluendo.com>
20712 * check/gst/gstsegment.c: (GST_START_TEST):
20713 * docs/design/part-TODO.txt:
20714 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20715 (gst_base_sink_event), (gst_base_sink_do_sync),
20716 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20717 (gst_base_sink_query), (gst_base_sink_change_state):
20718 * gst/base/gstbasesink.h:
20719 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20720 (gst_base_src_default_newsegment),
20721 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20722 (gst_base_src_get_range), (gst_base_src_loop),
20723 (gst_base_src_change_state):
20724 * gst/base/gstbasesrc.h:
20725 * gst/base/gstbasetransform.c:
20726 (gst_base_transform_prepare_output_buf),
20727 (gst_base_transform_event), (gst_base_transform_change_state):
20728 * gst/base/gstbasetransform.h:
20729 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20730 (gst_collect_pads_event):
20731 * gst/base/gstcollectpads.h:
20732 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20733 (gst_fake_src_create):
20734 * gst/elements/gstfakesrc.h:
20735 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20736 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20737 (gst_segment_set_last_stop), (gst_segment_set_seek),
20738 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20739 (gst_segment_to_running_time), (gst_segment_clip):
20740 * gst/gstsegment.h:
20741 More segment updates, replace code in plugins with segment
20744 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20746 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20747 Don't ignore sscanf results
20749 2005-11-21 Andy Wingo <wingo@pobox.com>
20751 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20754 * *.c: Ran scripts/update-macros. Oh yes.
20756 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20757 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20760 * scripts/update-macros: New script. Run it on your files to
20761 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20764 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20766 * docs/gst/Makefile.am:
20767 * docs/gst/gstreamer-docs.sgml:
20768 * docs/gst/gstreamer-sections.txt:
20769 * docs/gst/gstreamer.types:
20771 more docs fixes, add new api to the docs
20773 2005-11-21 Andy Wingo <wingo@pobox.com>
20775 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20776 state_broadcast call.
20778 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20780 2005-11-21 Julien MOUTTE <julien@moutte.net>
20782 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20783 function calls for arrays.
20785 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20787 * docs/random/ensonic/media-device-daemon.txt:
20788 wild idea, can this be done?
20789 * docs/gst/gstreamer-sections.txt:
20794 * gst/gstpluginfeature.c:
20798 doc fixes and additions
20800 2005-11-21 Andy Wingo <wingo@pobox.com>
20802 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20803 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20804 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20805 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20806 private to the basesrc implementation.
20808 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20809 behalf of event function if necessary. It should no longer be
20810 necessary to take the stream lock in pad's event functions. Fixes
20813 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20814 * docs/gst/gstreamer-sections.txt:
20815 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20816 (gst_structure_fixate_field_nearest_double),
20817 (gst_structure_fixate_field_boolean):
20818 * gst/gststructure.h:
20819 * win32/common/libgstreamer.def:
20820 * win32/gstreamer.def:
20822 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20825 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20827 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20828 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20829 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20830 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20831 (gst_fdsrc_uri_handler_init):
20832 * gst/elements/gstfdsrc.h:
20833 Port fd:// URI handler from 0.8 to fdsrc
20835 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20837 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20838 (gst_value_serialize_fourcc):
20840 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20841 consistent with our other format defines (#320324).
20843 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20845 * gst/gstvalue.c: (gst_value_is_fixed):
20846 Revert previous commit. Value lists are by definition
20847 not fixed, as they are a list of possible values.
20849 2005-11-21 Andy Wingo <wingo@pobox.com>
20851 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20852 during the stable series if we need it. Fixes #319178.
20854 * gst/gstevent.c (gst_event_new_filler): Removed.
20856 * check/gst/gstevent.c: Update comment about filler events.
20858 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20860 * gst/gstvalue.c: (gst_value_is_fixed):
20861 Should handle both value arrays and value lists.
20863 2005-11-21 Andy Wingo <wingo@pobox.com>
20865 patch by: Alessandro Dessina <alessandro nnva org>
20867 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20868 functions to access arrays. Fixes #321962.
20870 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20872 * docs/gst/gstreamer.types:
20873 gst_collectpads_get_type => gst_collect_pads_get_type.
20875 * gst/base/gstbasetransform.c:
20876 Remove unused SIGNAL_HANDOFF enum.
20878 2005-11-21 Andy Wingo <wingo@pobox.com>
20880 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20881 the event type (upstream, downstream, serialized). Renamed
20882 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20883 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20884 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20886 * gst/gstevent.c: Update for new CUSTOM event names.
20888 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20891 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20894 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20896 * docs/gst/gstreamer-sections.txt:
20897 * win32/common/libgstbase.def:
20898 * win32/libgstbase.def:
20899 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20900 (gst_collect_pads_class_init), (gst_collect_pads_init),
20901 (gst_collect_pads_finalize), (gst_collect_pads_new),
20902 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20903 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20904 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20905 (gst_collect_pads_start), (gst_collect_pads_stop),
20906 (gst_collect_pads_peek), (gst_collect_pads_pop),
20907 (gst_collect_pads_available), (gst_collect_pads_read),
20908 (gst_collect_pads_flush), (gst_collect_pads_event),
20909 (gst_collect_pads_chain):
20910 * gst/base/gstcollectpads.h:
20911 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20912 unimplemented functions as unimplemented. Add padding to
20913 GstCollectData. (#320766, #320423)
20915 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20917 * gst/gstmessage.c:
20918 Improve docs for DURATION message (usage of duration parameter)
20921 2005-11-20 Wim Taymans <wim@fluendo.com>
20923 * check/Makefile.am:
20924 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20928 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20929 (gst_segment_set_seek), (gst_segment_set_newsegment),
20930 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20931 (gst_segment_clip):
20932 * gst/gstsegment.h:
20933 Added segment helper structure and methods. Not fully implemented
20935 Added segment check.
20937 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20939 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20940 Add a deserialisation test for fractions
20941 * examples/metadata/read-metadata.c: (message_loop),
20942 (make_pipeline), (main):
20943 Fix up metadata reading sample.
20944 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20946 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20947 Don't try and fixate empty caps
20948 * gst/gst_private.h:
20949 Wrap in G_BEGIN_DECLS/G_END_DECLS
20950 * gst/gstvalue.c: (gst_value_collect_fraction),
20951 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20952 (gst_value_transform_string_fraction),
20953 (gst_value_compare_fraction):
20954 Add some extra guards to ensure that we don't end up
20955 with an invalid denominator of 0 in a gstfraction and
20956 that fractions always get reduced.
20958 2005-11-20 Wim Taymans <wim@fluendo.com>
20960 * docs/gst/gstreamer-sections.txt:
20962 * gst/gstelement.c:
20971 2005-11-20 Wim Taymans <wim@fluendo.com>
20973 * docs/design/part-TODO.txt:
20975 Make a proper enum of the flag.
20977 2005-11-19 Wim Taymans <wim@fluendo.com>
20979 * docs/design/part-TODO.txt:
20980 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20981 (gst_format_to_quark), (gst_format_register):
20983 * gst/gstquery.c: (_gst_query_initialize),
20984 (gst_query_type_get_name), (gst_query_type_to_quark),
20985 (gst_query_type_register):
20987 Add type to quark and type to string conversions.
20989 2005-11-19 Andy Wingo <wingo@pobox.com>
20991 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20994 2005-11-19 Wim Taymans <wim@fluendo.com>
20996 * docs/design/part-TODO.txt:
20997 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20998 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20999 (gst_bin_handle_message_func):
21001 Make message handling overridable.
21003 2005-11-19 Andy Wingo <wingo@pobox.com>
21005 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21008 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21010 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21011 is a GstClockTime. Fixes #321710.
21013 * gst/gstclock.h (GstClock): Remove offset property. Add
21014 internal_calibration and external_calibration. Fix padding. Pad
21015 also by GstClockTime so we don't run into problems.
21017 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21018 (gst_clock_get_rate_offset): Remove.
21019 (gst_clock_set_time_adjust): Remove. Fixes #321712.
21022 * gst/gstutils.c (g_static_rec_cond_wait)
21023 (g_static_rec_cond_timed_wait): Removed, no longer needed.
21025 * gst/gstbin.c: Remove terrible continue_state prototype.
21027 * gst/gstelement.h (gst_element_continue_state): Make public.
21029 * gst/gstelement.h:
21030 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21031 by continue_state. Fixes #319389.
21033 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21034 Really fixes #168438. However I don't see anywhere where the
21035 filter function is called... stupid GStreamer...
21037 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21038 don't have a dispose function, so it won't get called when the
21039 object is unreffed, but oh well!
21041 * gst/gstindex.c (gst_index_set_filter_full): New API function,
21042 allows a destroy function to be set so user_data can be freed.
21044 (gst_index_set_filter): Call gst_index_set_filter_full.
21046 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21048 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21049 string should produce an error, given the lack of a way to
21050 represent NULL strings. Fixes #165650.
21053 * gst/gstvalue.c (gst_value_array_append_value)
21054 (gst_value_array_prepend_value, gst_value_array_get_size)
21055 (gst_value_array_get_value): New API, copied from
21056 gst_value_list_*, only operates on arrays.
21057 (gst_value_list_append_value, gst_value_list_prepend_value)
21058 (gst_value_list_concat, gst_value_list_get_size)
21059 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21061 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21062 init_list, because it works on both.
21063 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21064 (gst_value_copy_list_or_array): Renamed from copy_list.
21065 (gst_value_free_list_or_array): Renamed from free_list.
21066 (gst_value_collect_list_or_array): Renamed from collect_list.
21067 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21068 (gst_value_list_or_array_peek_pointer): Renamed from
21070 (_gst_value_array_value_table, _gst_value_list_value_table):
21071 Update value table functions.
21072 (gst_value_compare_list_or_array): Renamed from compare_list.
21074 * gsttaglist.h: Whoops, foreach function returns void. Also fix
21077 * gst/gsttaglist.c:
21078 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21079 GstTagList*. Fixes #143472.
21081 * gst/gststructure.h: Clarify what the foreach/map functions can
21082 or can't do to their arguments.
21084 2005-11-18 Wim Taymans <wim@fluendo.com>
21086 * gst/gstclock.c: (gst_clock_set_calibration),
21087 (gst_clock_get_calibration):
21089 Calibration can be set with internal time equal to current
21092 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
21098 2005-11-18 Andy Wingo <wingo@pobox.com>
21101 * pkgconfig/gstreamer-net.pc.in:
21102 * pkgconfig/gstreamer-net-uninstalled.pc.in:
21103 * pkgconfig/Makefile.am: Add net pkgconfig files.
21105 2005-11-18 Stefan Kost <ensonic@users.sf.net>
21108 * gst/gstghostpad.c:
21114 2005-11-18 Andy Wingo <wingo@pobox.com>
21116 * gst/net/gstnetclientclock.c: Turn off debugging.
21118 * check/net/gstnetclientclock.c (test_functioning): Assert that the
21119 times connverge somewhat. Can't make a real test.
21121 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21122 integer arithmetic. Return the minimum of the domain, which can be
21123 set as "internal" for gst_clock_set_calibration.
21124 (gst_net_client_clock_observe_times): Call _set_calibration.
21125 (gst_net_client_clock_new): Call _set_calibration instead of
21128 * check/net/gstnetclientclock.c (test_functioning): Use the right
21132 * gst/gstclock.c (gst_clock_get_calibration)
21133 (gst_clock_set_calibration): New functions, obsolete the ones I
21134 added yesterday. Doh. Precision issues mean we have to extrapolate
21135 from a point in the more recent past than 1970.
21136 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21138 (gst_clock_adjust_unlocked): Use the right calibration data.
21140 2005-11-18 Edward Hervey <edward@fluendo.com>
21142 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21143 Also reset the ->current_* values in READY->PAUSED
21145 2005-11-18 Andy Wingo <wingo@pobox.com>
21147 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21148 Whoops, check the right fd. Also add some debugging.
21149 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21150 (do_linear_regression): Add a crapload of debugging. Subtract off
21151 the minimum values from the input series to discard unneeded bits.
21152 Use only int arithmetic. There is still double arithmetic when
21153 calculating the intercept that needs fixing. Return boolean to
21154 indicate success; FALSE would mean the domain or range is too
21155 great. Still needs fixes.
21157 2005-11-18 Wim Taymans <wim@fluendo.com>
21159 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21160 For the current position in stream time, we need to subtract
21163 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21164 Release lock before calling the callback function of async
21167 2005-11-18 Andy Wingo <wingo@pobox.com>
21169 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21170 Port goes all the way to MAXUINT16.
21172 * gst/net/gstnettimeprovider.c: Make the port range the same as
21173 for the kernel: 0 assigns, otherwise ports are less than
21176 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21179 * check/net/gstnetclientclock.c (test_functioning): Add the start
21182 2005-11-18 Wim Taymans <wim@fluendo.com>
21184 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21185 (gst_bin_remove_func), (bin_bus_handler):
21187 Removing a clock provider from a bin, triggers a clock lost message
21188 so that a new clock will be selected.
21189 Adding a clock to a bin triggers a clock provider message.
21190 Make sure we reselect a clock when we received a clock lost message.
21191 Keep a reference to the element that provided the clock.
21193 2005-11-18 Andy Wingo <wingo@pobox.com>
21195 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21196 the clock initially so it produces values around the base time.
21197 (gst_net_client_clock_class_init): Typo fix.
21198 (gst_net_client_clock_thread): Add note on when the socket gets
21201 2005-11-17 Wim Taymans <wim@fluendo.com>
21203 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21204 Free remote and local time arrays.
21206 2005-11-17 Wim Taymans <wim@fluendo.com>
21208 * gst/net/gstnetclientclock.c: (do_linear_regression),
21209 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21210 Fix compilation, uninitialized vars and a forgotten continue.
21212 2005-11-17 Andy Wingo <wingo@pobox.com>
21214 * check/Makefile.am (check_PROGRAMS):
21215 * check/net/gstnetclientclock.c: Add a most minimal test for the
21216 net client clock. More to come later.
21218 * gst/net/gstnet.h:
21219 * gst/net/Makefile.am: Add netclientclock.
21221 * gst/net/gstnetclientclock.h:
21222 * gst/net/gstnetclientclock.c: New files, implement an untested
21223 GstClock that takes its time from a network time provider.
21224 Implements the algorithm in network-clock.scm.
21226 * tests/network-clock.scm (*window-size*): Rename from
21228 * tests/network-clock.scm (network-time):
21229 * tests/network-clock-utils.scm (q-push): Update callers.
21231 2005-11-17 Wim Taymans <wim@fluendo.com>
21233 * gst/gstbin.c: (gst_bin_provide_clock_func),
21234 (gst_bin_sort_iterator_new):
21235 And unref the child too..
21237 2005-11-17 Wim Taymans <wim@fluendo.com>
21239 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21240 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21241 Refactor the sort iterator so it can be used while holding the
21243 Make clock selection select a clock closest to the source.
21245 2005-11-17 Michael Smith <msmith@fluendo.com>
21247 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21248 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21250 Anonymous structs are a gcc (and some other compilers) extension, so
21251 don't use them. Since this is only for ABI-compatibility, and our
21252 API/ABI freeze is over in a few days, this whole thing will only
21253 last a few days, so don't bother trying to think up a meaningful
21254 name for the struct.
21256 2005-11-17 Andy Wingo <wingo@pobox.com>
21258 * gst/gstclock.h (GstClock): Add rate and offset properties,
21259 preserving ABI stability. Add rate/offset accessors. Will file bug
21260 for the freeze break.
21262 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21263 and offset, trying to keep precision and avoiding
21264 underflow/overflow.
21265 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21266 functions. Make gst_clock_set_time_adjust obsolete.
21267 (gst_clock_set_time_adjust): Note that this function is obsolete.
21268 Will file bug soon.
21270 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21271 greppable by using GST_PADDING-1+1.
21273 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21275 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21277 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21278 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21280 * gst/gstpadtemplate.h:
21281 * gst/gstpluginfeature.h:
21282 Don't use c++ style comments in headers (#321638).
21284 2005-11-16 Andy Wingo <wingo@pobox.com>
21286 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21289 * check/net/gstnettimeprovider.c: Check to see that the time
21290 provider actually provides times. Works, yo!
21292 2005-11-16 Wim Taymans <wim@fluendo.com>
21294 * check/Makefile.am:
21297 * check/elements/fakesrc.c: (GST_START_TEST):
21298 Set element to NULL before disposing it.
21300 2005-11-16 Andy Wingo <wingo@pobox.com>
21302 * gst/net/Makefile.am:
21303 * gst/net/gstnet.h:
21304 * gst/net/gstnettimeprovider.c:
21305 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21306 provider, include it from gstnet.h, and add it to the build.
21308 * gst/net/gstnettimepacket.h:
21309 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21310 sending and receiving.
21312 2005-11-16 Wim Taymans <wim@fluendo.com>
21314 * check/Makefile.am:
21315 Enable valgrind check.
21317 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21318 (gst_fake_src_alloc_buffer):
21321 2005-11-16 Wim Taymans <wim@fluendo.com>
21323 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21324 Call parent finalize too.
21326 2005-11-16 Wim Taymans <wim@fluendo.com>
21328 * check/Makefile.am:
21329 Enable valgrind check that should work fine now.
21331 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21332 * gst/gstqueue.c: (gst_queue_init):
21333 Fix memleaks in pad allocation.
21335 2005-11-16 Andy Wingo <wingo@pobox.com>
21337 * gst/net/Makefile.am:
21338 * gst/net/gstnet.h: New part of core to hold network elements and
21339 objects. Put in core because it exposes API that applications want
21340 to use. The library is named libgstnet-tempname right now because
21341 of the existing libgstnet in gst-plugins-base. Solution is
21342 probably to rename the one in plugins-base; will file a bug for
21345 * gst/net/gstnettimeprovider.c:
21346 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21347 get_time call over the network.
21350 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21352 * check/Makefile.am:
21353 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21354 get additions shortly.
21356 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21358 * gst/gstpad.c: (gst_pad_new_from_static_template):
21360 add gst_pad_new_from_static_template functions
21361 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21362 (gst_check_setup_sink_pad):
21363 * gst/elements/gsttee.c: (gst_tee_init):
21366 2005-11-16 Wim Taymans <wim@fluendo.com>
21368 * gst/gstpad.c: (gst_pad_pause_task):
21369 Removed warning, it's not really an error either.
21371 2005-11-16 Wim Taymans <wim@fluendo.com>
21373 * gst/base/gstbasetransform.c:
21374 (gst_base_transform_prepare_output_buf),
21375 (gst_base_transform_event):
21376 Check if the caps are NULL, this can happen if the element
21377 is shutting down and the pad caps are set to NULL.
21379 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21381 * gst/elements/gsttee.c: (gst_tee_init):
21382 fix pad template leak in tee
21384 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21386 * gst/glib-compat.c: (g_value_dup_gst_object):
21387 * gst/glib-compat.h:
21388 * gst/gstpad.c: (gst_pad_set_property):
21389 use gst_object_ref when setting the pad template; this will
21390 trigger the pad template leaks on GLib 2.6 and the slaves
21392 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21394 * gst/glib-compat.c: (gst_flags_get_first_value):
21395 * gst/glib-compat.h:
21396 * gst/gstregistryxml.c:
21397 remove functions copied from GLib 2.6
21399 2005-11-16 Michael Smith <msmith@fluendo.com>
21402 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21403 do, but only breaks with newer valgrind versions. We're not a
21404 valgrind tool, we have no link-time dependencies on libcoregrind.
21406 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21408 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21410 * gst/gstmessage.h:
21413 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21415 * gst/base/gstbasesrc.c: (gst_base_src_init):
21416 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21417 * gst/gstqueue.c: (gst_queue_init):
21418 * gst/gstregistryxml.c: (load_feature):
21419 Revert all these unrefs, they don't even pass make check !
21421 2005-11-15 Johan Dahlin <johan@gnome.org>
21423 * gst/base/gstbasesrc.c: (gst_base_src_init):
21424 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21425 * gst/gstqueue.c: (gst_queue_init):
21426 Free pad templates, fixes a couple of leaks.
21428 2005-11-15 Daniel Fischer <dan at f3c dot com>
21430 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21432 * gst/gstpad.c: (gst_pad_get_property):
21433 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21434 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21437 2005-11-15 Wim Taymans <wim@fluendo.com>
21442 2005-11-15 Andy Wingo <wingo@pobox.com>
21444 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21446 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21447 using GST_CLOCK_TIME_NONE to disable base time management.
21448 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21449 time if it was NONE before.
21450 (gst_pipeline_change_state): Only munge the base time if
21451 stream_time != GST_CLOCK_TIME_NONE.
21453 * check/gst/gstpipeline.c (test_base_time): Punt around the
21454 problem of the probe not being called, because that's not the
21455 issue I'm looking at. Add a check that setting stream_time to NONE
21456 disables base time management.
21458 2005-11-15 Wim Taymans <wim@fluendo.com>
21460 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21461 segment_stop == -1 at startup.
21463 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21464 (gst_base_transform_change_state):
21465 Init segment values at start.
21467 2005-11-15 Wim Taymans <wim@fluendo.com>
21469 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21470 0 segment values are 0 in any format.
21472 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21473 * gst/base/gstbasetransform.h:
21474 Parse newsegment correctly in basetransform
21476 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21477 Sync to clock using updated segment values.
21479 2005-11-15 Andy Wingo <wingo@pobox.com>
21481 * check/gst/gstpipeline.c (test_base_time): Add check that the
21482 base time and stream time are reset correctly.
21484 2005-11-15 Wim Taymans <wim@fluendo.com>
21486 * docs/design/part-TODO.txt:
21487 Some more TODO items.
21489 2005-11-15 Andy Wingo <wingo@pobox.com>
21491 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21492 error if the user selected "no clock" as the clocking method.
21494 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21495 timestamps with live capture.
21497 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21498 is 0 but we are a live source, timestamp the buffers using the
21501 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21503 * docs/gst/gstreamer-sections.txt:
21505 * gst/gstghostpad.c:
21510 2005-11-14 Wim Taymans <wim@fluendo.com>
21513 add suppressions from Wim's Debian machine
21515 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21518 add suppressions from Andy's AMD64 Ubuntu machine
21520 2005-11-14 Andy Wingo <wingo@pobox.com>
21522 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21523 STATE_LOCK not necessary. Fixes #311489.
21525 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21528 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21529 this function is not implemented.
21531 2005-11-14 Julien MOUTTE <julien@moutte.net>
21533 * gst/base/gstbasetransform.c:
21534 (gst_base_transform_prepare_output_buf):
21535 Ref the source pad caps while we need them.
21538 2005-11-11 Wim Taymans <wim@fluendo.com>
21540 * docs/gst/gstreamer-sections.txt:
21541 Added some docs for GstCollectData.
21543 * gst/base/gstadapter.c:
21544 Some small code example fix.
21546 * gst/base/gstcollectpads.c:
21547 * gst/base/gstcollectpads.h:
21548 Document some more.
21550 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21552 * configure.ac: back to HEAD
21554 === release 0.9.5 ===
21556 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21559 releasing 0.9.5, "Bike Lunch Day"
21561 2005-11-11 Wim Taymans <wim@fluendo.com>
21563 * gst/gstbuffer.c: (_gst_buffer_copy):
21566 * gst/gstcaps.c: (gst_caps_is_equal):
21568 Make _is_equal fast in the trivial cases.
21570 * gst/gstminiobject.c:
21571 * gst/gstminiobject.h:
21572 More docs. Spifify .h file.
21577 2005-11-11 Wim Taymans <wim@fluendo.com>
21579 * gst/base/gstbasetransform.c:
21580 (gst_base_transform_prepare_output_buf),
21581 (gst_base_transform_handle_buffer):
21583 If we're processing a buffer and need to allocate an output
21584 buffer, we cannot accept a format change. If we did get a
21585 format change, we have to alloc a buffer ourselves of the
21588 2005-11-11 Wim Taymans <wim@fluendo.com>
21590 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21591 While checking the flag for reentrancy in the gstcaps function
21592 is nice to detect recursive invocations, it also makes it
21593 impossible to call getcaps from multiple threads, which must be
21594 possible. So, checking for recursive calls has to go.
21596 2005-11-11 Michael Smith <msmith@fluendo.com>
21598 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21599 Don't sync on buffers that fall partially outside our current
21600 segment. Prevents an assertion failure/abort playing some files.
21602 2005-11-10 Andy Wingo <wingo@pobox.com>
21604 * check/gst/gstbin.c (test_message_state_changed_children): Style
21607 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21608 gst_bus_poll with the signal watch. Ensures that poll and a signal
21609 watch see the same messages.
21611 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21612 a poll and a watch at the same time get the same messages.
21614 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21616 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21617 * gst/gstcaps.c: (gst_caps_intersect):
21618 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21619 and it's not needed.
21621 2005-11-10 Wim Taymans <wim@fluendo.com>
21623 * docs/design/part-TODO.txt:
21626 2005-11-10 Wim Taymans <wim@fluendo.com>
21628 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21629 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21630 (gst_base_src_do_sync), (gst_base_src_get_range):
21631 Implement clock sync in base class.
21633 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21635 patch by: Tim-Philipp Müller <tim at centricular dot net>
21637 * gst/gststructure.c: (gst_structure_parse_field),
21638 (gst_structure_from_string):
21639 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21640 so that gst_parse_launch() can deal with spaces in filtered link
21641 caps (fixes #164479)
21642 * check/gst/capslist.h:
21643 * check/gst/gststructure.c: (GST_START_TEST):
21644 add unit tests for this change
21646 2005-11-10 Wim Taymans <wim@fluendo.com>
21648 * docs/gst/gstreamer-sections.txt:
21649 * gst/gstelement.c:
21650 * gst/gstelement.h:
21651 Fix docs, move some STATE macros to private.
21653 2005-11-10 Wim Taymans <wim@fluendo.com>
21655 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21656 Added check for bug #317341
21660 Some more spiffifying.
21662 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21663 Call peer linkfunction if we are a source pad. Totally fixes
21667 Update docs, source pads should call the peer linkfunction
21668 so they can atomically perform the pad link.
21670 2005-11-09 Wim Taymans <wim@fluendo.com>
21674 Uber-spiffy-spiffify some more.
21676 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21678 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21679 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21680 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21681 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21682 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21683 * gst/gstpad.c: (gst_pad_init):
21684 Use GST_DEBUG_FUNCPTR() more extensively.
21686 2005-11-09 Wim Taymans <wim@fluendo.com>
21688 * gst/gstobject.c: (gst_object_class_init):
21690 Documentation fixes.
21692 2005-11-09 Edward Hervey <edward@fluendo.com>
21694 * gst/gsttypefindfactory.c:
21697 2005-11-09 Edward Hervey <edward@fluendo.com>
21699 * gst/base/gsttypefindhelper.c:
21700 * gst/gsttypefind.c:
21701 * gst/gsttypefind.h:
21704 2005-11-09 Wim Taymans <wim@fluendo.com>
21706 * gst/gstiterator.c:
21713 2005-11-09 Wim Taymans <wim@fluendo.com>
21719 2005-11-09 Wim Taymans <wim@fluendo.com>
21721 * docs/gst/gstreamer-sections.txt:
21722 Moved the message async delivery private lock and cond
21723 to the private section.
21725 * gst/gstmessage.c:
21726 * gst/gstmessage.h:
21729 2005-11-09 Edward Hervey <edward@fluendo.com>
21731 * docs/gst/gstreamer-sections.txt:
21734 Document GstURIHandler
21736 2005-11-09 Wim Taymans <wim@fluendo.com>
21738 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21739 (gst_iterator_find_custom):
21740 * gst/gstiterator.h:
21743 2005-11-09 Wim Taymans <wim@fluendo.com>
21746 Document another field.
21748 * gst/gststructure.c:
21749 * gst/gststructure.h:
21752 2005-11-09 Wim Taymans <wim@fluendo.com>
21755 Documented structs.
21757 2005-11-09 Wim Taymans <wim@fluendo.com>
21759 * docs/gst/gstreamer-sections.txt:
21760 Added some new macros.
21767 2005-11-09 Wim Taymans <wim@fluendo.com>
21769 * docs/design/part-TODO.txt:
21770 Some more items for the TODO
21776 2005-11-09 Andy Wingo <wingo@pobox.com>
21778 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21779 to work on something else now tho...
21781 * gst/base/gstadapter.c: More adapter docs.
21783 * gst/elements/gstfilesink.c (gst_file_sink_start)
21784 (gst_file_sink_stop): New functions, replace the state change
21786 (gst_file_sink_class_init): Hook up the start and stop functions.
21787 (gst_file_sink_base_init): Don't set the state change handler any
21788 more. It was a bit ugly too, being set from here...
21789 (gst_file_sink_get_property, gst_file_sink_set_property):
21791 (gst_file_sink_set_location): More robust check that doesn't call
21792 GST_STATE. Ugggggg.
21794 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21796 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21797 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21799 2005-11-08 Wim Taymans <wim@fluendo.com>
21801 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21802 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21803 (gst_base_sink_chain), (gst_base_sink_change_state):
21804 * gst/base/gstbasesink.h:
21805 * gst/base/gstbasesrc.h:
21806 * gst/gstelement.h:
21808 Avoid excessive typechecking in macros.
21810 * gst/gstminiobject.c: (gst_mini_object_get_type),
21811 (gst_mini_object_init), (gst_mini_object_new),
21812 (gst_mini_object_free):
21813 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21814 (gst_object_finalize):
21815 Remove cruft code, optimize alloc_trace.
21817 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21819 * docs/faq/gst-uninstalled:
21820 fix up PS1 for systems that try to reset it
21822 2005-11-07 Wim Taymans <wim@fluendo.com>
21824 * gst/base/gstbasesrc.c: (gst_base_src_init),
21825 (gst_base_src_get_range):
21826 Set the segment_end to -1 initially. Fixed typefind.
21828 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21830 * gst/base/gstadapter.c:
21831 Debug category should be 'adapter', not 'GstAdapter'.
21833 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21834 (gst_collectpads_class_init), (gst_collectpads_init),
21835 (gst_collectpads_peek), (gst_collectpads_pop),
21836 (gst_collectpads_event), (gst_collectpads_chain):
21837 Add debug category and some debugging output. Use boilerplate
21838 macros. Remove some extraneous words from docs.
21840 2005-11-05 Andy Wingo <wingo@pobox.com>
21842 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21845 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21847 * docs/gst/gstreamer-sections.txt:
21850 * gst/gstminiobject.h:
21855 2005-11-04 Wim Taymans <wim@fluendo.com>
21857 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21858 Small update to stop at the configured segment_end
21861 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21863 * gst/gstregistry.c:
21864 * gst/gstregistry.h:
21867 2005-11-04 Edward Hervey <edward@fluendo.com>
21869 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21870 Check if we are doing a segment seek and have arrived at the
21871 end of that segment.
21873 2005-11-04 Wim Taymans <wim@fluendo.com>
21875 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21876 Don't leak a mutex unlock in case of an error.
21881 2005-11-04 Wim Taymans <wim@fluendo.com>
21883 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21885 Get the context to wake up only once.
21887 2005-11-03 Wim Taymans <wim@fluendo.com>
21889 * check/states/sinks.c: (GST_START_TEST):
21890 Uncomment fixed check.
21892 * docs/design/part-TODO.txt:
21895 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21896 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21897 (gst_base_sink_get_position):
21898 If we are going to PLAYING, post the right pending state
21899 when we post the intermediate paused message.
21901 * gst/gstelement.c: (gst_element_continue_state),
21902 (gst_element_set_state_func), (gst_element_change_state):
21903 Don't post state changes that were between the same state
21904 and were not ASYNC.
21906 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21908 * docs/gst/gstreamer-sections.txt:
21911 * gst/gstminiobject.h:
21914 more docs and doc style fixes
21916 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21918 * docs/gst/gstreamer-sections.txt:
21919 * gst/gstelement.c:
21920 * gst/gstminiobject.c:
21923 2005-11-03 Andy Wingo <wingo@pobox.com>
21925 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21926 state-changed messages actually have the right order and the right
21929 2005-11-03 Wim Taymans <wim@fluendo.com>
21931 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21932 Added some more checks. Specifically the case where NO_PREROLL
21933 elements are in the pipeline.
21935 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21936 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21937 (gst_base_sink_get_position):
21938 Post READY->PAUSED state change messages too.
21939 Fix bug where VOID was posted as pending state...
21941 * gst/gstbin.c: (gst_bin_recalc_state):
21942 use _element_continue_state() to continue the state change.
21944 * gst/gstelement.c: (gst_element_continue_state),
21945 (gst_element_commit_state), (gst_element_set_state_func),
21946 (gst_element_change_state), (gst_element_change_state_func):
21947 Lots of state change cleanups, assign the STATE_RETURN in
21948 a new continue_state() function that also propagates the
21949 last return value from a state change to the app.
21950 Update some debug statements with proper category.
21952 2005-11-03 Wim Taymans <wim@fluendo.com>
21954 * docs/design/part-events.txt:
21955 * docs/design/part-gstpipeline.txt:
21956 * docs/design/part-messages.txt:
21957 * docs/design/part-overview.txt:
21958 * docs/design/part-seeking.txt:
21959 * docs/design/part-states.txt:
21960 * docs/design/part-trickmodes.txt:
21961 * docs/manual/advanced-position.xml:
21962 Small docs updates.
21965 People think !! is ugly, this looks better.
21967 * gst/gstpad.c: (gst_pad_set_blocked_async):
21968 Remove !! since it's fixed elsewhere now.
21970 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21972 * gst/gstminiobject.h:
21974 Add !! to _FLAG_IS_SET macros to make the result boolean.
21976 2005-11-03 Edward Hervey <edward@fluendo.com>
21978 * gst/gstpad.c: (gst_pad_set_blocked_async):
21979 comparing a flag and a gboolean rarely returns coherent results...
21980 Added two characters (!!) to make that work correctly.
21982 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21984 * gst/gstbus.c: (gst_bus_class_init):
21987 * gst/gstqueue.c: (gst_queue_loop):
21988 Don't assume a miniobject that isn't a buffer is an
21989 event (it could be that there is a refcounting
21990 problem somewhere and the pointer is stale and
21991 refers to an already destroyed miniobject).
21993 2005-11-03 Julien MOUTTE <julien@moutte.net>
21995 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21997 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21999 * docs/manual/advanced-position.xml:
22000 Update seek example and explanations to current 0.9 API.
22002 * gst/elements/gsttypefindelement.c:
22003 (gst_type_find_element_activate):
22004 Remove FIXME comment now that the found caps
22007 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
22009 * gst/gstregistryxml.c: (load_feature):
22010 Add another GST_STR_NULL instance
22012 2005-11-02 Edward Hervey <edward@fluendo.com>
22014 * gst/gstpad.c: (handle_pad_block):
22015 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22017 2005-11-02 Wim Taymans <wim@fluendo.com>
22022 * gst/gstelement.c: (gst_element_commit_state):
22023 Remove unused value.
22025 * gst/gstiterator.c:
22026 Mention that the returned element is reffed in the docs.
22028 2005-11-02 Wim Taymans <wim@fluendo.com>
22030 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22031 (gst_pad_push), (gst_pad_push_event):
22032 Unlock blocked pads when they are flushed.
22034 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22037 * docs/gst/gstreamer-sections.txt:
22040 * gst/gstregistry.c: (gst_registry_scan_path_level):
22041 fix for a nasty little missed situation where an installed plug-in
22042 which was in the cache did not get overridden by an uninstalled one
22043 which was earlier in the plugin path because the newly created plugin
22044 for the uninstalled one (not in the registry) didn't get its
22045 ->registered set to TRUE
22047 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22049 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22050 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22051 (gst_collectpads_is_active), (gst_collectpads_collect),
22052 (gst_collectpads_collect_range), (gst_collectpads_start),
22053 (gst_collectpads_stop), (gst_collectpads_peek),
22054 (gst_collectpads_pop), (gst_collectpads_available),
22055 (gst_collectpads_read), (gst_collectpads_flush):
22056 Guard public API with assertions.
22059 Fix docs for gst_pad_set_link_function().
22061 2005-11-02 Johan Dahlin <johan@gnome.org>
22063 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
22064 Unref found_caps after we used it.
22066 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
22068 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22069 Don't try to ref NULL.
22071 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22073 * win32/common/config.h.in:
22074 provide a GST_FUNCTION that just gives a string for now
22076 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
22078 * win32/common/gstenumtypes.c: (register_gst_object_flags),
22079 (gst_object_flags_get_type), (register_gst_bin_flags),
22080 (gst_bin_flags_get_type), (register_gst_buffer_flag),
22081 (gst_buffer_flag_get_type), (register_gst_bus_flags),
22082 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22083 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22084 (gst_clock_return_get_type), (register_gst_clock_entry_type),
22085 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22086 (gst_clock_flags_get_type), (register_gst_state),
22087 (gst_state_get_type), (register_gst_state_change_return),
22088 (gst_state_change_return_get_type), (register_gst_state_change),
22089 (gst_state_change_get_type), (register_gst_element_flags),
22090 (gst_element_flags_get_type), (register_gst_core_error),
22091 (gst_core_error_get_type), (register_gst_library_error),
22092 (gst_library_error_get_type), (register_gst_resource_error),
22093 (gst_resource_error_get_type), (register_gst_stream_error),
22094 (gst_stream_error_get_type), (register_gst_event_type),
22095 (gst_event_type_get_type), (register_gst_seek_type),
22096 (gst_seek_type_get_type), (register_gst_seek_flags),
22097 (gst_seek_flags_get_type), (register_gst_format),
22098 (gst_format_get_type), (register_gst_index_certainty),
22099 (gst_index_certainty_get_type), (register_gst_index_entry_type),
22100 (gst_index_entry_type_get_type),
22101 (register_gst_index_lookup_method),
22102 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22103 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22104 (gst_index_resolver_method_get_type), (register_gst_index_flags),
22105 (gst_index_flags_get_type), (register_gst_debug_level),
22106 (gst_debug_level_get_type), (register_gst_debug_color_flags),
22107 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22108 (gst_iterator_result_get_type), (register_gst_iterator_item),
22109 (gst_iterator_item_get_type), (register_gst_message_type),
22110 (gst_message_type_get_type), (register_gst_mini_object_flags),
22111 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22112 (gst_pad_link_return_get_type), (register_gst_flow_return),
22113 (gst_flow_return_get_type), (register_gst_activate_mode),
22114 (gst_activate_mode_get_type), (register_gst_pad_direction),
22115 (gst_pad_direction_get_type), (register_gst_pad_flags),
22116 (gst_pad_flags_get_type), (register_gst_pad_presence),
22117 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22118 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22119 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22120 (gst_plugin_error_get_type), (register_gst_plugin_flags),
22121 (gst_plugin_flags_get_type), (register_gst_rank),
22122 (gst_rank_get_type), (register_gst_query_type),
22123 (gst_query_type_get_type), (register_gst_tag_merge_mode),
22124 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22125 (gst_tag_flag_get_type), (register_gst_task_state),
22126 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22127 (gst_alloc_trace_flags_get_type),
22128 (register_gst_type_find_probability),
22129 (gst_type_find_probability_get_type), (register_gst_uri_type),
22130 (gst_uri_type_get_type), (register_gst_parse_error),
22131 (gst_parse_error_get_type):
22132 * win32/common/gstversion.h:
22133 update win32 copies
22135 2005-11-01 Luca Ognibene <luogni@tin.it>
22138 fix docs. popt is dead, long live GOption.
22140 2005-10-31 Wim Taymans <wim@fluendo.com>
22145 2005-10-31 Andy Wingo <wingo@pobox.com>
22149 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22151 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22152 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22153 the possibility of deadlocks here if code calling notify() or
22154 set() has a lock that can be taken in another notify handler (ABBA
22155 with class lock and e.g. python GIL state lock).
22157 2005-10-28 Julien MOUTTE <julien@moutte.net>
22159 * gst/gstbus.c: Doc updates.
22161 2005-10-28 Wim Taymans <wim@fluendo.com>
22163 * docs/design/part-TODO.txt:
22164 * gst/gstiterator.c:
22165 * gst/gstsystemclock.c:
22166 * gst/gstsystemclock.h:
22169 2005-10-28 Edward Hervey <edward@fluendo.com>
22171 * docs/gst/gstreamer-docs.sgml:
22172 * docs/gst/gstreamer-sections.txt:
22173 the GstURIType documentation page is private, it only defines GstURIType
22174 which should be defined in the GstURIHandler page
22176 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22178 * gst/gstbin.c: (gst_bin_class_init):
22181 Documentation updates.
22183 2005-10-28 Wim Taymans <wim@fluendo.com>
22185 * docs/gst/gstreamer-sections.txt:
22188 Documented the clocks.
22190 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22192 * docs/gst/gstreamer-sections.txt:
22193 move some macros to private sections
22194 * gst/gstminiobject.c:
22195 * gst/gstminiobject.h:
22196 add descriptions provided by ds and some more
22198 mark macro as to be removed
22200 2005-10-28 Wim Taymans <wim@fluendo.com>
22202 * docs/design/part-TODO.txt:
22203 Add an item to TODO.
22205 * gst/gstiterator.c: (gst_iterator_fold),
22206 (gst_iterator_find_custom):
22207 * gst/gstiterator.h:
22210 2005-10-28 Wim Taymans <wim@fluendo.com>
22212 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22213 (gst_base_transform_init):
22216 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22217 An EOS event marks the queue as completely filled.
22219 2005-10-27 Wim Taymans <wim@fluendo.com>
22221 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22222 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22223 Some more debugging.
22225 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22226 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22227 (gst_base_transform_event), (gst_base_transform_getrange),
22228 (gst_base_transform_chain):
22229 * gst/base/gstbasetransform.h:
22231 Protect transform and concurrent buffer alloc with a new lock.
22232 Try not to break ABI/API.
22234 2005-10-27 Wim Taymans <wim@fluendo.com>
22236 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22237 (gst_base_src_init), (gst_base_src_query),
22238 (gst_base_src_default_newsegment),
22239 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22240 (gst_base_src_send_event), (gst_base_src_event_handler),
22241 (gst_base_src_pad_get_range), (gst_base_src_loop),
22242 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22243 (gst_base_src_start), (gst_base_src_deactivate),
22244 (gst_base_src_activate_push), (gst_base_src_change_state):
22245 Move some stuff around and cleanup things.
22247 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22249 * gst/base/gstbasesrc.c: (gst_base_src_query):
22250 Add missing break statements.
22252 2005-10-27 Wim Taymans <wim@fluendo.com>
22254 * check/gst/gstbin.c: (GST_START_TEST):
22255 An extra refcount is taken in basesrc.
22257 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22258 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22259 (gst_base_src_loop):
22260 Small cleanups, check for flushing after being unlocked from the
22261 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22262 Don't send out EOS when going to READY.
22264 2005-10-27 Wim Taymans <wim@fluendo.com>
22266 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22267 (gst_base_sink_get_position):
22270 * gst/gstbin.c: (message_check), (bin_replace_message),
22271 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22272 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22273 (bin_query_duration_init), (bin_query_duration_fold),
22274 (bin_query_duration_done), (bin_query_generic_fold),
22276 * tools/gst-launch.c: (main):
22279 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22281 * examples/controller/audio-example.c: (main):
22282 * examples/queue/queue.c: (event_loop):
22283 * gst/base/gstbasetransform.h:
22284 * gst/gstelement.c: (gst_element_send_event):
22286 * gst/gstpad.c: (gst_pad_send_event):
22289 changing log priority in error situations
22291 2005-10-25 Wim Taymans <wim@fluendo.com>
22293 * gst/gstbin.c: (message_check), (bin_replace_message),
22294 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22295 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22296 (bin_query_duration_init), (bin_query_duration_fold),
22297 (bin_query_duration_done), (bin_query_generic_fold),
22299 Some doc and debug updates.
22300 Cache previously requested query DURATION for speed. invalidate
22301 cached duration if element posts a DURATION message.
22303 2005-10-25 Wim Taymans <wim@fluendo.com>
22305 * docs/design/part-TODO.txt:
22308 * gst/gstbin.c: (message_check), (bin_replace_message),
22309 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22310 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22311 (bin_query_duration_init), (bin_query_duration_fold),
22312 (bin_query_duration_done), (bin_query_generic_fold),
22314 Handle SEGMENT_START/DONE messages correctly.
22315 More evolved query algorithm that handles duration queries
22318 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22319 (gst_element_get_state_func), (gst_element_abort_state),
22320 (gst_element_commit_state), (gst_element_lost_state):
22321 Some more debugging.
22323 * gst/gstmessage.h:
22326 2005-10-25 Wim Taymans <wim@fluendo.com>
22328 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22329 Don't use invalid stream_time.
22331 * gst/gstevent.c: (gst_event_new_newsegment):
22332 stream_time in newsegment cannot be undefined.
22334 2005-10-24 Wim Taymans <wim@fluendo.com>
22339 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22341 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22343 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22345 * docs/libs/tmpl/gstdparam.sgml:
22346 * docs/libs/tmpl/gstdplinint.sgml:
22347 * docs/libs/tmpl/gstdpman.sgml:
22348 * docs/libs/tmpl/gstdpsmooth.sgml:
22349 * docs/libs/tmpl/gstunitconvert.sgml:
22352 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22357 === release 0.9.4 ===
22359 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22362 releasing 0.9.4, "Tyrannosaurus Rex"
22364 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22366 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22367 (gst_file_sink_get_current_offset):
22368 Use fseeko() and ftello() if available. When falling back on
22369 lseek() to get the current offset, fflush() first to make sure
22370 everything is up-to-date and we get the right offset.
22372 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22374 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22375 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22376 * gst/gsterror.c: (_gst_stream_errors_init):
22378 * gst/gstqueue.c: (gst_queue_loop):
22380 remove prematurely added error category and clean up the instances
22382 2005-10-21 Wim Taymans <wim@fluendo.com>
22384 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22385 (gst_base_sink_get_position), (gst_base_sink_query),
22386 (gst_base_sink_change_state):
22387 Simply set the right flag when going to playing, that's all
22388 we need to do instead of calling a function inside the object
22389 lock (that could take the lock as well and deadlock)
22391 2005-10-21 Wim Taymans <wim@fluendo.com>
22393 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22394 (gst_base_src_loop):
22395 Don't warn, the peer element knows what to do best when
22396 the seek failed, it might try something else.
22398 2005-10-21 Wim Taymans <wim@fluendo.com>
22400 * gst/base/gstbasesrc.c: (gst_base_src_init),
22401 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22404 2005-10-21 Wim Taymans <wim@fluendo.com>
22406 * docs/design/part-segments.txt:
22409 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22410 Correctly set caps, even on the subbufer.
22412 2005-10-21 Wim Taymans <wim@fluendo.com>
22414 * docs/gst/gstreamer-docs.sgml:
22415 * docs/gst/gstreamer-sections.txt:
22416 * gst/gstelement.h:
22419 * gst/gstmessage.h:
22422 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22426 And 2% more doc coverage.
22428 2005-10-21 Andy Wingo <wingo@pobox.com>
22430 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22431 position reporting.
22433 2005-10-20 Wim Taymans <wim@fluendo.com>
22435 * gst/gsterror.c: (gst_error_get_message):
22438 * gst/gststructure.c:
22443 2005-10-20 Wim Taymans <wim@fluendo.com>
22448 Another 1% more coverage.
22450 2005-10-20 Wim Taymans <wim@fluendo.com>
22452 * docs/gst/gstreamer-sections.txt:
22453 * gst/gstelement.c: (gst_element_get_state_func),
22454 (gst_element_abort_state), (gst_element_commit_state),
22455 (gst_element_lost_state):
22457 * gst/gstquery.c: (gst_query_set_position),
22458 (gst_query_parse_position), (gst_query_set_duration),
22459 (gst_query_parse_duration), (gst_query_new_convert):
22461 Yay! 1% more docs coverage.
22463 2005-10-20 Wim Taymans <wim@fluendo.com>
22466 * gst/gstquery.c: (gst_query_set_position),
22467 (gst_query_parse_position), (gst_query_set_duration),
22468 (gst_query_parse_duration), (gst_query_new_convert):
22470 * gst/gstutils.c: (gst_element_query_convert):
22472 Docs and consistency fixes.
22474 2005-10-20 Wim Taymans <wim@fluendo.com>
22480 2005-10-20 Wim Taymans <wim@fluendo.com>
22482 * gst/gstbin.c: (message_check), (bin_replace_message),
22483 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22484 (update_degree), (gst_bin_sort_iterator_next),
22485 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22486 Reworked the message handling a bit, cache the messages instead of
22487 only the senders. alows us to do more in the future.
22489 2005-10-20 Wim Taymans <wim@fluendo.com>
22491 * docs/design/part-TODO.txt:
22494 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22495 (gst_base_sink_query):
22496 Don't use clock time to report position when in EOS.
22498 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22500 * tools/gst-inspect.c: (print_interfaces),
22501 (print_element_properties_info), (print_element_info):
22502 Fix interface output with gst-inspect -a; don't print
22503 newlines after double/float properties.
22505 2005-10-20 Wim Taymans <wim@fluendo.com>
22507 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22508 (gst_base_sink_query):
22509 Speed up current position calculation.
22511 * gst/base/gstbasesrc.c: (gst_base_src_query),
22512 (gst_base_src_default_newsegment):
22513 Correctly set stream position in newsegment.
22515 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22516 (update_degree), (gst_bin_sort_iterator_next),
22517 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22518 * gst/gstmessage.c: (gst_message_new_custom):
22519 Clean up debugging info
22521 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22522 (gst_queue_loop), (gst_queue_handle_src_query):
22525 2005-10-19 Wim Taymans <wim@fluendo.com>
22527 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22528 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22529 Fix query handling again.
22531 2005-10-19 Wim Taymans <wim@fluendo.com>
22533 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22534 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22535 * gst/base/gstbasesrc.c: (gst_base_src_query):
22536 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22537 * gst/elements/gsttypefindelement.c:
22538 (gst_type_find_handle_src_query), (find_element_get_length),
22539 (gst_type_find_element_activate):
22542 * gst/gstquery.c: (gst_query_new_position),
22543 (gst_query_set_position), (gst_query_parse_position),
22544 (gst_query_new_duration), (gst_query_set_duration),
22545 (gst_query_parse_duration), (gst_query_set_segment),
22546 (gst_query_parse_segment):
22548 Bundling query position/duration is not a good idea since duration
22549 does not change much and we don't want to recalculate it for every
22550 position query, so they are separated again..
22551 Base value in segment query is not needed.
22553 * gst/gstqueue.c: (gst_queue_handle_src_query):
22554 * gst/gstutils.c: (gst_element_query_position),
22555 (gst_element_query_duration), (gst_pad_query_position),
22556 (gst_pad_query_duration):
22558 Updates for query API change.
22559 Added some docs here and there.
22561 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22563 * check/gst/gstbin.c: (GST_START_TEST):
22564 * check/gst/gstghostpad.c: (GST_START_TEST):
22565 * check/pipelines/cleanup.c: (GST_START_TEST):
22566 wait on thread to die so we can check refcount correctly
22568 2005-10-18 Wim Taymans <wim@fluendo.com>
22570 * check/pipelines/stress.c: (GST_START_TEST):
22571 Make check a little more time consuming.
22573 2005-10-18 Wim Taymans <wim@fluendo.com>
22575 * check/Makefile.am:
22576 * check/pipelines/stress.c: (GST_START_TEST),
22577 (simple_launch_lines_suite), (main):
22578 Small state change torture test.
22580 * docs/design/part-states.txt:
22581 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22582 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22583 (gst_base_sink_change_state):
22584 Never take state lock from streaming thread, clean up ugly
22585 hacks. Unfortunatly core does not yet support nice ways to
22586 async commit state.
22588 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22590 Start state recalc if a STATE_DIRTY message is posted, but only
22591 on the toplevel bin.
22593 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22594 (gst_element_get_state_func), (gst_element_abort_state),
22595 (gst_element_commit_state), (gst_element_lost_state),
22596 (gst_element_set_state_func), (gst_element_change_state):
22597 * gst/gstelement.h:
22598 State variables are now protected with the LOCK, the state
22599 lock is only used to serialize _set_state().
22601 2005-10-18 Wim Taymans <wim@fluendo.com>
22603 * check/gst/gstbin.c: (GST_START_TEST):
22604 * check/gst/gstmessage.c: (GST_START_TEST):
22605 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22606 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22608 * gst/gstelement.c: (gst_element_abort_state),
22609 (gst_element_commit_state), (gst_element_lost_state):
22610 * gst/gstmessage.c: (gst_message_new_state_changed),
22611 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22612 (gst_message_new_segment_done), (gst_message_new_duration),
22613 (gst_message_parse_state_changed),
22614 (gst_message_parse_segment_start),
22615 (gst_message_parse_segment_done), (gst_message_parse_duration):
22616 * gst/gstmessage.h:
22617 * tools/gst-launch.c: (event_loop):
22618 Seriously, this is better than a previous commit as we only need
22619 to notify the fact that an element changed state in a streaming
22620 thread, marking the state of the parents dirty, hence the
22621 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22624 2005-10-18 Wim Taymans <wim@fluendo.com>
22626 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22627 (gst_bin_recalc_func):
22628 * gst/gstelement.c: (gst_element_set_clock),
22629 (gst_element_abort_state), (gst_element_lost_state):
22630 Cleanups, prepare for state change fixes.
22632 2005-10-18 Wim Taymans <wim@fluendo.com>
22635 * gst/gstelement.c: (gst_element_class_init),
22636 (gst_element_set_state), (gst_element_set_state_func):
22637 * gst/gstelement.h:
22638 Pending ABI changes.
22639 GThreadPool in GstBinClass to monitor async state changes.
22640 state_cookie in GstElement to detect concurrent gst/set state.
22641 set_state is now virtual too in case a very complicated element
22642 has to be constructed.
22644 2005-10-18 Wim Taymans <wim@fluendo.com>
22646 * check/gst/gstbin.c: (GST_START_TEST):
22647 * check/gst/gstmessage.c: (GST_START_TEST):
22648 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22649 * gst/gstbin.c: (bin_bus_handler):
22650 * gst/gstelement.c: (gst_element_commit_state),
22651 (gst_element_lost_state):
22652 * gst/gstmessage.c: (gst_message_new_state_changed),
22653 (gst_message_new_segment_start), (gst_message_new_segment_done),
22654 (gst_message_new_duration), (gst_message_parse_state_changed),
22655 (gst_message_parse_segment_start),
22656 (gst_message_parse_segment_done), (gst_message_parse_duration):
22657 * gst/gstmessage.h:
22658 * tools/gst-launch.c: (event_loop):
22659 Make messages future proof.
22660 state-change gets a flag if it was a message comming from the
22662 segment-start/stop can also be specified in other formats.
22663 A message to notify an app that a pipeline changed playback
22665 Also fix a GstMessage leak in -launch
22667 2005-10-18 Andy Wingo <wingo@pobox.com>
22669 * gst/gstelement.c (gst_element_dispose): More helpful message.
22671 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22673 reviewed by: <delete if not using a buddy>
22675 * common/gtk-doc.mak:
22677 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22679 * gst/gstregistry.c: (gst_registry_scan_path_level):
22680 unref a plug-in we get that was already initialized
22682 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22684 * docs/gst/gstreamer-sections.txt:
22685 * docs/libs/gstreamer-libs-sections.txt:
22686 * gst/gstelement.h:
22687 add new api entries
22688 hide internal macro
22690 2005-10-17 Andy Wingo <wingo@pobox.com>
22692 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22695 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22697 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22699 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22700 (gst_element_get_state_func): Better debug message.
22701 (gst_element_commit_state): s/INFO/DEBUG/.
22702 (gst_element_lost_state, gst_element_change_state):
22704 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22705 (gst_message_new_custom): s/INFO/LOG/.
22707 2005-10-17 Michael Smith <msmith@fluendo.com>
22709 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22710 Check if end time is valid using end time, not start time.
22712 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22714 * check/gst-libs/controller.c: (GST_START_TEST),
22715 (gst_controller_suite):
22716 * libs/gst/controller/gstcontroller.c:
22717 (gst_controlled_property_set_interpolation_mode):
22718 * libs/gst/controller/gstcontroller.h:
22719 * libs/gst/controller/gstinterpolation.c:
22720 * testsuite/controller/.cvsignore:
22721 * testsuite/controller/Makefile.am:
22722 * testsuite/controller/interpolator.c:
22723 merge controller testsuites
22725 remove mem-chunk from docs
22727 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22729 * gst/gstmemchunk.c:
22730 * gst/gstmemchunk.h:
22731 * gst/gsttrashstack.c:
22732 * gst/gsttrashstack.h:
22733 out. get out. you're fired. to the Attic !
22735 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22737 * gst/gstcaps.c: (gst_caps_intersect):
22738 fix signedness issues in a (hopefully) correct way
22739 * gst/gstelement.c: (gst_element_pads_activate):
22741 * gst/gstobject.c: (gst_object_set_parent):
22744 2005-10-17 Julien MOUTTE <julien@moutte.net>
22746 * gst/gstvalue.h: Fix prototypes.
22748 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22750 * docs/gst/gstreamer-sections.txt:
22751 * gst/gst.c: (gst_version_string):
22753 * gst/gstversion.h.in:
22754 * win32/common/libgstreamer.def:
22755 add gst_version_string ()
22757 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22761 * gst/gst.c: (init_post):
22762 * win32/common/config.h.in:
22764 * gst/gstcaps.c: (gst_caps_intersect):
22765 use gint64, the range could be bigger than a guint
22767 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22770 document potential problem in 2038
22772 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22774 * gst/gstcaps.c: (gst_caps_intersect):
22775 Fix guint j diving under 0
22777 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22780 * win32/common/config.h:
22781 * win32/common/config.h.in:
22782 check for process.h, declares getpid() on Windows
22784 include process.h if we have it
22785 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22786 * gst/gstmemchunk.h:
22787 fix signedness issues
22788 * win32/common/libgstreamer.def:
22791 2005-10-16 Julien MOUTTE <julien@moutte.net>
22793 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22794 fix. Because of unsigned ints, caps intersection was going nuts and
22795 trying to access structures with G_MAXUINT index. That fixes
22796 videotestsrc ! ffmpegcolorspace ! fakesink
22797 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22800 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22803 use the gettext macro
22804 * gst/elements/gstelements.c:
22806 * gst/indexers/gstindexers.c:
22807 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22808 * win32/common/config.h:
22810 * win32/common/config.h.in:
22811 add the template to generate config.h
22812 * win32/common/gstenumtypes.c:
22813 * win32/common/gstversion.h:
22816 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22818 * gst/gst.c: (gst_version):
22819 * gst/gstversion.h.in:
22822 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22825 Oops, add missing closing bracket.
22827 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22830 use common m4's for argument checking
22832 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22834 * docs/gst/gstreamer-sections.txt:
22836 Add GST_EVENT_TYPE_NAME() macro.
22838 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22841 * gst/gstpluginfeature.c:
22843 privatize more symbols
22845 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22848 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22849 everything that uses GStreamer API should have the includes
22851 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22853 * docs/gst/gstreamer-sections.txt:
22854 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22856 give each value a _get_type, removes the DATA exports
22858 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22862 remove _gst_registry_auto_load, not used anymore
22863 * gst/gstbin.c: (gst_bin_get_type):
22865 * gst/gstelement.c: (gst_element_get_type):
22866 * gst/gstelement.h:
22867 * gst/gstobject.c: (gst_object_get_type):
22869 * gst/gstpad.c: (gst_pad_get_type):
22871 make _get_type functions similar, fixes data export from library
22873 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22876 correctly make conditionals
22877 * gst/elements/Makefile.am:
22878 * gst/elements/gstelements.c:
22879 fix typo causing fdsrc not to build
22881 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22883 * testsuite/Makefile.am:
22884 * testsuite/bytestream/.cvsignore:
22885 * testsuite/bytestream/Makefile.am:
22886 * testsuite/bytestream/filepadsink.c:
22887 * testsuite/bytestream/gstbstest.c:
22888 * testsuite/bytestream/test1.c:
22889 * testsuite/bytestream/testfile1:
22890 * testsuite/caps/normalisation.c:
22891 * testsuite/caps/random.c: (main):
22892 * testsuite/cleanup/.cvsignore:
22893 * testsuite/cleanup/Makefile.am:
22894 * testsuite/cleanup/cleanup1.c:
22895 * testsuite/cleanup/cleanup2.c:
22896 * testsuite/cleanup/cleanup3.c:
22897 * testsuite/cleanup/cleanup4.c:
22898 * testsuite/cleanup/cleanup5.c:
22899 * testsuite/controller/interpolator.c:
22900 * testsuite/debug/printf_extension.c: (main):
22901 * testsuite/elements/tee.c:
22902 * testsuite/negotiation/.cvsignore:
22903 * testsuite/negotiation/Makefile.am:
22904 * testsuite/negotiation/pad_link.c:
22905 * testsuite/pad/Makefile.am:
22906 * testsuite/pad/chainnopull.c:
22907 * testsuite/pad/getnopush.c:
22908 * testsuite/pad/link.c:
22909 * testsuite/refcounting/sched.c: (create_pipeline):
22910 * testsuite/registry/Makefile.am:
22911 * testsuite/registry/gst-print-formats.c:
22912 * testsuite/schedulers/.cvsignore:
22913 * testsuite/schedulers/142183-2.c:
22914 * testsuite/schedulers/142183.c:
22915 * testsuite/schedulers/143777-2.c:
22916 * testsuite/schedulers/143777.c:
22917 * testsuite/schedulers/147713.c:
22918 * testsuite/schedulers/147819.c:
22919 * testsuite/schedulers/147894-2.c:
22920 * testsuite/schedulers/147894.c:
22921 * testsuite/schedulers/Makefile.am:
22922 * testsuite/schedulers/group_link.c:
22923 * testsuite/schedulers/queue_link.c:
22924 * testsuite/schedulers/relink.c:
22925 * testsuite/schedulers/unlink.c:
22926 * testsuite/schedulers/unref.c:
22927 * testsuite/schedulers/useless_iteration.c:
22928 * testsuite/states/bin.c:
22929 clean out/remove some stuff from the testsuite directories
22931 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22934 check for some headers
22935 * gst/elements/Makefile.am:
22936 * gst/elements/gstelements.c:
22937 don't compile fdsrc without sys/socket.h
22938 * gst/indexers/Makefile.am:
22939 * gst/indexers/gstindexers.c: (plugin_init):
22940 don't compile fileindex without mmap
22942 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22949 * check/Makefile.am:
22950 * docs/gst/Makefile.am:
22951 * examples/helloworld/Makefile.am:
22953 * gst/base/Makefile.am:
22954 * gst/check/Makefile.am:
22955 * gst/elements/Makefile.am:
22956 * gst/indexers/Makefile.am:
22957 * gst/parse/Makefile.am:
22958 * libs/gst/controller/Makefile.am:
22959 * libs/gst/dataprotocol/Makefile.am:
22960 * examples/helloworld/helloworld.c: (event_loop):
22961 compile fixes, though it's not being compiled currently
22963 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22965 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22966 Add some simple tests for the new taglist date API.
22968 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22970 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22971 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22972 Beautify 'last-message' output: print 'none' for buffer timestamps
22973 and durations if none is set; improve alignment with next messages.
22975 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22977 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22978 * gst/gstpluginfeature.h:
22979 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22980 * gst/gstregistry.h:
22981 * docs/gst/gstreamer-sections.txt:
22982 Add new API to check plugin feature version requirements.
22984 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22985 Some basic tests for the above.
22987 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22989 * gst/gststructure.c: (gst_structure_to_string):
22990 guard against NULL printf - happens when for example
22991 a message structure with GstClock gets serialized
22993 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22995 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22996 Fix presumable copy'n'pasto.
22998 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23000 * gst/elements/gstfakesrc.h:
23001 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23002 * gst/elements/gsttypefindelement.c:
23003 fix some signedness
23004 * gst/elements/gstfilesink.c: (gst_file_sink_render):
23005 I wonder if this could actually write +2GB files before
23007 2005-10-13 Andy Wingo <wingo@pobox.com>
23009 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23010 Fix Timmeke Waymans bug.
23011 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23012 string of the proper length to gst_caps_from_string. There's a
23013 potential for, before this fix, that this could cause someone
23014 connecting over the network to cause a segfault if the payload is
23015 not NUL-terminated.
23017 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23019 * docs/design/draft-push-pull.txt:
23020 * docs/design/part-overview.txt:
23021 * docs/random/TODO-pre-0.9:
23022 * docs/random/old/ChangeLog.gstreamer:
23023 * gst/base/gstpushsrc.c:
23027 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23029 * gst/glib-compat.c: (gst_flags_get_first_value):
23030 * gst/glib-compat.h:
23031 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23032 (gst_value_compare_double), (gst_value_serialize_flags):
23033 GLib 2.6 g_flags_get_first_value has a bug that triggers an
23036 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23038 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23039 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23041 * tools/gst-launch.c: (event_loop):
23042 print out clock nicely
23044 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
23046 * docs/gst/gstreamer-sections.txt:
23047 * gst/gsttaglist.h:
23048 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23049 (gst_tag_list_get_date_index):
23050 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23051 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23053 2005-10-13 Julien MOUTTE <julien@moutte.net>
23055 * gst/base/gstcollectpads.c: (gst_collectpads_event),
23056 (gst_collectpads_chain):
23057 * gst/base/gstcollectpads.h: Handle newsegment and store informations
23060 2005-10-13 Stefan Kost <ensonic@users.sf.net>
23062 * docs/gst/gstreamer-sections.txt:
23065 * tools/gst-inspect.c: (main):
23066 * tools/gst-launch.c: (main):
23067 * tools/gst-run.c: (main):
23068 * tools/gst-xmlinspect.c: (main):
23069 fix GOption context leaks
23072 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
23076 * win32/common/config.h:
23078 * win32/vs6/grammar.dsp:
23079 * win32/vs6/libgstelements.dsp:
23080 * win32/vs6/libgstreamer.dsp:
23083 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23085 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23086 * gst/base/gstbasesrc.c: (gst_base_src_query):
23087 fix more guint64<->gdouble conversions
23089 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23092 add win32-update target
23093 * win32/common/gstconfig.h:
23094 * win32/common/gstenumtypes.c:
23095 * win32/common/gstenumtypes.h:
23096 * win32/common/gstversion.h:
23097 add files that visual studio can't generate
23099 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
23102 add a win32-update target
23105 2005-10-12 Wim Taymans <wim@fluendo.com>
23107 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23108 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23109 * gst/gstelement.c: (gst_element_commit_state),
23110 (gst_element_set_state):
23111 Protect flags with proper lock.
23112 unref provided cached clock in dispose.
23114 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23117 * gst/gstminiobject.h:
23119 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23120 removed unused flags from miniobject
23123 2005-10-12 Wim Taymans <wim@fluendo.com>
23125 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23126 (gst_file_sink_event), (gst_file_sink_render):
23127 Flush before seeking.
23129 2005-10-12 Andy Wingo <wingo@pobox.com>
23131 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23132 always been the case.
23134 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23136 * check/gst/gstbin.c: (GST_START_TEST):
23137 * docs/gst/gstreamer-sections.txt:
23138 * gst/base/gstbasesink.c: (gst_base_sink_init):
23139 * gst/base/gstbasesrc.c: (gst_base_src_init),
23140 (gst_base_src_get_range), (gst_base_src_check_get_range),
23141 (gst_base_src_start), (gst_base_src_stop):
23142 * gst/base/gstbasesrc.h:
23143 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23144 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23145 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23149 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23151 * gst/gstelement.c: (gst_element_is_locked_state),
23152 (gst_element_set_locked_state), (gst_element_commit_state),
23153 (gst_element_set_state):
23154 * gst/gstelement.h:
23155 * gst/gstindex.c: (gst_index_init):
23157 * gst/gstminiobject.h:
23158 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23159 (gst_object_set_parent):
23161 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23162 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23164 * gst/gstpadtemplate.h:
23165 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23166 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23167 * gst/gstpipeline.h:
23168 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23169 (gst_file_index_commit):
23170 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23171 * testsuite/pad/link.c: (gst_test_src_init),
23172 (gst_test_filter_init), (gst_test_sink_init):
23173 * testsuite/states/locked.c: (main):
23174 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23175 moved bitshift from macro to enum definition
23177 2005-10-12 Wim Taymans <wim@fluendo.com>
23179 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23180 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23181 (gst_file_sink_render):
23182 Some more debugging info.
23184 2005-10-12 Wim Taymans <wim@fluendo.com>
23186 * docs/design/part-states.txt:
23187 * tools/gst-launch.c: (main):
23189 Revert non-intentional change.
23191 2005-10-12 Wim Taymans <wim@fluendo.com>
23193 * check/gst/gstbin.c: (GST_START_TEST):
23194 * check/gst/gstelement.c: (GST_START_TEST):
23195 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23196 * check/gst/gstghostpad.c: (GST_START_TEST):
23197 * check/gst/gstpipeline.c: (GST_START_TEST):
23198 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23199 * check/states/sinks.c: (GST_START_TEST):
23200 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23201 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23202 (gst_bin_remove_func), (gst_bin_get_state_func),
23203 (gst_bin_recalc_state), (gst_bin_change_state_func),
23205 * gst/gstelement.c: (gst_element_get_state_func),
23206 (gst_element_get_state), (gst_element_abort_state),
23207 (gst_element_commit_state), (gst_element_set_state),
23208 (gst_element_change_state), (gst_element_change_state_func):
23209 * gst/gstelement.h:
23210 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23211 (gst_pipeline_provide_clock_func):
23212 * gst/gstutils.c: (gst_element_link_pads_filtered):
23213 * tools/gst-launch.c: (main):
23214 * tools/gst-typefind.c: (main):
23215 Use GstClockTime in _get_state() instead of GTimeVal.
23216 Remove old code in gstutils.c
23218 2005-10-12 Andy Wingo <wingo@pobox.com>
23220 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23223 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23224 there is no task. Shouldn't affect any code, as nothing in our
23225 plugins checks this return value.
23226 (gst_pad_stop_task): Also take the stream lock if the pad has no
23227 task. Docs updated.
23229 2005-10-12 Wim Taymans <wim@fluendo.com>
23231 * gst/gstpad.c: (pre_activate), (post_activate),
23232 (gst_pad_activate_pull), (gst_pad_activate_push):
23233 Cleanup activation code. Reset old state if
23236 2005-10-12 Wim Taymans <wim@fluendo.com>
23238 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23239 (gst_base_sink_change_state):
23240 No need to prerol after receiving EOS.
23242 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23243 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23244 * gst/elements/gstidentity.c: (gst_identity_event):
23245 Print events more verbosely.
23247 2005-10-12 Wim Taymans <wim@fluendo.com>
23249 * check/Makefile.am:
23250 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23251 * check/states/sinks2.c:
23252 Moved sinks2 testcode in sinks check.
23254 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23255 (gst_bin_remove_func), (gst_bin_recalc_state),
23256 (gst_bin_change_state_func), (bin_bus_handler):
23257 Fix potential race condition when _get_state() iterated over an
23258 ASYNC element right before it posted a state completion.
23261 Do proper cast here.
23263 * gst/gstevent.c: (gst_event_new_newsegment),
23264 (gst_event_parse_newsegment):
23265 A playback rate of 0.0 is not allowed.
23267 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23269 * win32/common/config.h:
23270 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23271 (_trewinddir), (_ttelldir), (_tseekdir):
23272 * win32/common/dirent.h:
23273 * win32/common/gtchar.h:
23274 * win32/common/libgstbase.def:
23275 * win32/common/libgstreamer.def:
23276 * win32/vs6/grammar.dsp:
23277 * win32/vs6/gst_inspect.dsp:
23278 * win32/vs6/gst_launch.dsp:
23279 * win32/vs6/gstreamer.dsw:
23280 * win32/vs6/libgstbase.dsp:
23281 * win32/vs6/libgstelements.dsp:
23282 * win32/vs6/libgstreamer.dsp:
23283 Visual Studio 6 project files, and a new common directory.
23286 2005-10-11 Wim Taymans <wim@fluendo.com>
23288 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23289 (gst_base_sink_do_sync), (gst_base_sink_query),
23290 (gst_base_sink_change_state):
23291 * gst/base/gstbasesink.h:
23292 Correctly parse newsegment info.
23294 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23296 * gst/gst.c: (init_post):
23297 split plugin paths correctly
23299 2005-10-11 Wim Taymans <wim@fluendo.com>
23301 * check/gst/gstevent.c: (GST_START_TEST):
23302 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23303 (gst_base_sink_change_state):
23304 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23305 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23306 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23307 * gst/gstevent.c: (gst_event_new_newsegment),
23308 (gst_event_parse_newsegment):
23310 Added extra flag to newsegment for future API freeze.
23311 Updated check and base elements.
23313 2005-10-11 Julien MOUTTE <julien@moutte.net>
23315 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23316 (gst_collectpads_add_pad), (gst_collectpads_pop),
23317 (gst_collectpads_event), (gst_collectpads_chain):
23318 * gst/base/gstcollectpads.h: Handle EOS correctly.
23320 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23322 * tools/gst-launch.c: (main):
23323 more null protecting
23325 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23327 * gst/gst-i18n-lib.h:
23328 check for ENABLE_NLS, not GETTEXT_PACKAGE
23329 * gst/gstregistry.c: (gst_registry_add_plugin),
23330 (gst_registry_scan_path_level),
23331 (_gst_registry_remove_cache_plugins):
23332 protect possibly NULL strings
23333 * gst/parse/types.h:
23334 config.h already included before
23335 * tools/gst-inspect.c: (main):
23336 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23337 check for ENABLE_NLS, not GETTEXT_PACKAGE
23338 * tools/gst-launch.c: (main):
23339 check for ENABLE_NLS, not GETTEXT_PACKAGE
23341 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23344 if we don't have glib, fail before testing 2.8
23345 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23346 fix a leak, should fix plugins-base testsuite
23348 2005-10-11 Andy Wingo <wingo@pobox.com>
23350 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23351 take the mode we're going to as an arg. Go head and set the mode
23352 and flushing flags now, so that if the activate function starts a
23353 thread all the flags will be in the right state.
23354 (post_activate): Renamed also. Just handle making sure streaming
23355 finishes for the deactivation case, and setting the deactivated
23357 (gst_pad_set_active): Complain loudly if deactivation fails.
23358 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23359 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23360 remove the terrible hack.
23362 2005-10-11 Wim Taymans <wim@fluendo.com>
23364 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23365 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23366 (gst_bin_recalc_state), (gst_bin_change_state_func),
23367 (gst_bin_dispose), (bin_bus_handler):
23369 Prepare to make current EOS message queue more generic.
23372 * gst/gstevent.c: (gst_event_new_newsegment),
23373 (gst_event_parse_newsegment):
23375 Rename base to stream_time.
23377 * gst/gstmessage.h:
23380 2005-10-11 Wim Taymans <wim@fluendo.com>
23382 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23383 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23384 (gst_bin_change_state_func), (bin_bus_handler):
23386 Work on proper clock selection.
23388 2005-10-11 Edward Hervey <edward@fluendo.com>
23390 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23391 * libs/gst/controller/gstcontroller.h:
23392 Added GList* version of _remove_properties() in order to be able to wrap
23395 2005-10-11 Wim Taymans <wim@fluendo.com>
23397 * docs/design/part-states.txt:
23400 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23401 (gst_bin_change_state_func), (bin_bus_handler):
23402 Doc updates. Don't distribute the same clock over and over again.
23408 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23409 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23410 (gst_pad_send_event):
23412 Make probe emission threadsafe again.
23413 Register quarks and move _get_name() from utils.
23416 * gst/gstpipeline.c: (gst_pipeline_class_init),
23417 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23418 Only redistribute the clock of it changed.
23420 * gst/gstsystemclock.h:
23425 Moved the _flow_get_name() to GstPad.
23427 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23429 * check/gst-libs/gdp.c: (GST_START_TEST):
23430 * check/gst/gstcaps.c: (GST_START_TEST):
23431 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23432 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23433 (gst_dp_packet_from_caps):
23434 fix more valgrind warnings before turning up the heat
23436 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23438 * gst/parse/grammar.y:
23439 some cleanup before the hacking
23441 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23443 * gst/base/gstbasesrc.c: (gst_base_src_query):
23445 * gst/gstutils.c: (gst_guint64_to_gdouble),
23446 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23448 externalize, basesrc uses it
23449 obviously the implementation needs testing
23451 2005-10-10 Wim Taymans <wim@fluendo.com>
23453 * tests/sched/Makefile.am:
23454 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23455 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23457 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23459 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23460 apparently converting from guint64 to double is not implemented
23463 2005-10-10 Wim Taymans <wim@fluendo.com>
23465 * check/Makefile.am:
23466 * check/generic/states.c: (GST_START_TEST):
23467 * check/gst/gstbin.c: (GST_START_TEST):
23468 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23469 * check/states/sinks.c: (GST_START_TEST):
23470 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23472 Check fixes, use API as stated in design docs, remove hacks.
23474 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23475 (gst_base_sink_change_state):
23476 Catch stopping our task while we're shutting down.
23478 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23479 (gst_bin_remove_func), (gst_bin_get_state_func),
23480 (gst_bin_recalc_state), (gst_bin_change_state_func),
23483 * gst/gstelement.c: (gst_element_init),
23484 (gst_element_get_state_func), (gst_element_abort_state),
23485 (gst_element_commit_state), (gst_element_lost_state),
23486 (gst_element_set_state), (gst_element_change_state),
23487 (gst_element_change_state_func):
23488 * gst/gstelement.h:
23489 New state change algorithm (see #318116)
23491 * gst/gstpipeline.c: (gst_pipeline_class_init),
23492 (gst_pipeline_init), (gst_pipeline_set_property),
23493 (gst_pipeline_get_property), (do_pipeline_seek),
23494 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23495 * gst/gstpipeline.h:
23496 Remove crude state change hacks.
23499 Remove crude hacks.
23501 * tools/gst-launch.c: (main):
23502 Fixes for state change. Needs some more work to fully use the
23505 2005-10-10 Andy Wingo <wingo@pobox.com>
23507 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23509 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23510 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23513 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23515 * gst/gstiterator.c: (gst_iterator_new):
23516 Fix my previous commit: GTypes passed to gst_iterator_new()
23517 can be fundamental types.
23519 2005-10-10 Wim Taymans <wim@fluendo.com>
23521 * gst/gstelement.c: (gst_element_iterate_pad_list),
23522 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23523 (gst_element_iterate_sink_pads):
23524 Use src/sink pads lists for the respective iterators instead
23527 2005-10-10 Andy Wingo <wingo@pobox.com>
23529 Merged in popt removal + GOption addition patch from Ronald, bug
23532 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23533 GstElement macros around, remove popt-related symbols, add goption
23536 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23538 * docs/gst/Makefile.am:
23539 * docs/libs/Makefile.am: No POPT_CFLAGS.
23541 * examples/manual/Makefile.am:
23542 * docs/manual/basics-init.xml: Doc updates with an example.
23544 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23545 (gst_init), (parse_one_option), (parse_goption_arg):
23546 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23547 bit of hand merging and debugging to get the GOption stuff working
23550 * tests/Makefile.am:
23551 * tools/Makefile.am:
23552 * tools/gst-inspect.c: (main):
23553 * tools/gst-launch.c: (main):
23554 * tools/gst-run.c: (main):
23555 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23557 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23559 * gst/gstiterator.c: (gst_iterator_new):
23560 Add assertions to make sure passed GType is likely to really
23561 be a GType (as the compiler won't catch it if the size and
23562 GType arguments get mixed up, see #318447).
23564 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23566 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23568 * gst/gstbin.c: (gst_bin_iterate_sorted):
23569 Pass GType and size arguments to gst_iterator_new() in the right
23570 order (maybe we should make _new() take the GType as first argument
23571 just like _new_list()?) (#318447).
23574 2005-10-10 Wim Taymans <wim@fluendo.com>
23576 * gst/gstelement.c: (gst_element_finalize):
23577 And free the GStaticRecMutex too
23579 2005-10-10 Andy Wingo <wingo@pobox.com>
23581 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23582 Allocate and free the mutex properly.
23584 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23586 (GstElement): The state_lock is now recursive. Rebuild your
23587 plugins, suckers. Old macros adapted.
23589 * docs/gst/gstreamer-sections.txt: Doc updates.
23592 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23593 (g_static_rec_cond_wait): Ported from state changes patch, while
23594 we wait on bug #317802 to be solved in a well-distributed GLib.
23596 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23597 gst_element_change_state, variable name changes.
23598 (gst_element_change_state): Split out of gst_element_set_state in
23599 preparation for the state change merge. Doesn't pay attention to
23600 the 'transition' argument.
23601 (gst_element_set_state): Updates, hopefully purely cosmetic.
23602 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23603 state change patch.
23604 (gst_element_get_state_func): Renamed from get_state, cosmetic
23607 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23609 * gst/elements/gstelements.c:
23610 * win32/GStreamer.vcproj:
23612 * win32/dirent.c: (_tseekdir):
23613 * win32/gst-inspect.vcproj:
23614 * win32/gst-launch.vcproj:
23615 * win32/gstconfig.h:
23616 * win32/gstelements.vcproj:
23617 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23618 * win32/gstreamer.def:
23619 * win32/msvc71.sln:
23620 updates for the win32 build (patch from Sebastien Moutte)
23622 2005-10-10 Andy Wingo <wingo@pobox.com>
23624 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23625 gst_bin_get_state, cleaned up (but no logic changes).
23626 (bin_element_is_sink): Comment updates.
23627 (sink_iterator_filter): Remove needless cast.
23628 (gst_bin_iterate_sinks): Doc update.
23629 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23630 cleaned up (but no logic changes).
23632 * check/states/sinks.c (test_src_sink): Cleanups from the state
23634 (test_livesrc_sink): Sync on the state.
23636 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23637 the state change patch.
23639 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23642 * check/gst/gstbin.c: Merge in some style fixes and additional
23643 checks from Wim's state change patch.
23645 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23647 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23648 (gst_type_find_helper):
23649 Check whether we have the requested data already in our list of
23650 cached buffers before pulling a new buffer; also make the buffer
23651 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23653 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23658 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23659 don't use long long, it's not portable. Replacing with
23660 gint64 seems to work; let's hope no skeletons fall out of the closet.
23662 2005-10-10 Andy Wingo <wingo@pobox.com>
23664 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23666 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23668 * docs/gst/gstreamer-sections.txt:
23673 * gst/gstmessage.c: (gst_message_parse_state_changed):
23676 more docs, fix compilation
23678 2005-10-09 Philippe Khalaf <burger@speedy.org>
23679 * gst/gstmessage.c:
23680 Fixed a few forgotten variables on previous commit
23682 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23684 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23685 Fix evil typefind crasher: getrange() might return a short
23686 buffer at the end of a file, but gst_type_find_peek() must
23687 either return the full data as requested or NULL, but
23688 never a short buffer.
23690 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23692 * gst/gstmessage.c: (gst_message_new_state_changed),
23693 (gst_message_parse_state_changed):
23694 * gst/gstmessage.h:
23695 don't use "new", it's a C++ keyword
23697 2005-10-08 Wim Taymans <wim@fluendo.com>
23699 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23700 * gst/gstelement.c: (gst_element_post_message):
23701 * gst/gstpipeline.c: (gst_pipeline_change_state):
23702 Small docs and debug updates.
23704 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23706 * docs/gst/gstreamer-sections.txt:
23707 * gst/gstelementfactory.c:
23709 * gst/gsttaglist.c:
23712 2005-10-08 Wim Taymans <wim@fluendo.com>
23714 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23715 (gst_bin_dispose), (bin_bus_handler):
23716 Fix typos, add comments.
23717 Clear EOS list when going to PAUSED from any direction and do it
23718 in a threadsafe way.
23719 Get base time in a threadsafe way too.
23720 Fix confusing debug in the change_state function.
23721 Various other small cleanups.
23723 * gst/gstelement.c: (gst_element_post_message):
23724 Fix very verbose bus posting code.
23726 * gst/gstpipeline.c: (gst_pipeline_class_init),
23727 (gst_pipeline_set_property), (gst_pipeline_get_property),
23728 (gst_pipeline_change_state):
23729 Small ARG_ -> PROP_ cleanup
23731 2005-10-08 Wim Taymans <wim@fluendo.com>
23733 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23734 Do a less CPU demanding EOS check because we can.
23736 2005-10-08 Wim Taymans <wim@fluendo.com>
23738 * libs/gst/dataprotocol/dataprotocol.c:
23739 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23740 (gst_dp_packet_from_event):
23741 * libs/gst/dataprotocol/dataprotocol.h:
23742 * libs/gst/dataprotocol/dp-private.h:
23743 It's about time we bump the version number.
23744 Since event types don't fit in the guint8 anymore describing
23745 the payload type, make payload type 16 bits wide.
23747 2005-10-08 Wim Taymans <wim@fluendo.com>
23749 * docs/design/part-TODO.txt:
23750 * docs/design/part-clocks.txt:
23751 * docs/design/part-events.txt:
23752 * docs/design/part-gstbin.txt:
23753 * docs/design/part-gstelement.txt:
23754 * docs/design/part-gstpipeline.txt:
23755 * docs/design/part-live-source.txt:
23756 * docs/design/part-messages.txt:
23757 * docs/design/part-overview.txt:
23758 * docs/design/part-states.txt:
23761 2005-10-08 Wim Taymans <wim@fluendo.com>
23765 Fix event quark registration.
23766 Add some space between events so we can insert them in the
23769 2005-10-08 Wim Taymans <wim@fluendo.com>
23771 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23772 (gst_base_sink_handle_buffer):
23773 Better log message.
23776 * gst/gstelement.h:
23779 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23780 (gst_queue_set_property), (gst_queue_get_property):
23782 Remove old unused properties.
23784 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23785 * docs/gst/gstreamer-sections.txt:
23786 * gst/gstmessage.c:
23787 * gst/gstmessage.h:
23788 * gst/gstminiobject.c:
23789 * gst/gstminiobject.h:
23793 lots of new docs and doc fixes
23795 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23797 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23799 * gst/gstregistry.c: (gst_registry_lookup_locked),
23800 (gst_registry_scan_path_level):
23801 * gst/gstregistryxml.c: (load_plugin):
23802 Only ever load one plugin for a given plugin basename.
23803 This ensures correct overriding of GST_PLUGIN_PATH over
23804 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23805 system installed plugins.
23807 2005-10-08 Wim Taymans <wim@fluendo.com>
23809 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23810 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23811 Prepare for doing QOS.
23813 2005-10-08 Wim Taymans <wim@fluendo.com>
23815 * check/gst/gstbin.c: (GST_START_TEST):
23816 * check/pipelines/cleanup.c: (GST_START_TEST):
23817 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23818 Allow new clock message too.
23820 2005-10-08 Wim Taymans <wim@fluendo.com>
23822 * gst/gstmessage.c: (gst_message_new_error),
23823 (gst_message_new_warning), (gst_message_new_tag),
23824 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23825 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23826 (gst_message_new_segment_start), (gst_message_new_segment_done),
23827 (gst_message_parse_state_changed),
23828 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23829 (gst_message_parse_new_clock):
23830 * gst/gstmessage.h:
23831 Also carry the clock in question.
23833 2005-10-08 Wim Taymans <wim@fluendo.com>
23835 * gst/gstmessage.c: (gst_message_new_custom),
23836 (gst_message_new_eos), (gst_message_new_error),
23837 (gst_message_new_warning), (gst_message_new_tag),
23838 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23839 (gst_message_new_new_clock), (gst_message_new_segment_start),
23840 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23841 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23842 * gst/gstmessage.h:
23844 Added clock related messages.
23846 * gst/gstpipeline.c: (gst_pipeline_change_state):
23847 Post message when the clock changed.
23849 * tools/gst-launch.c: (event_loop):
23852 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23854 * tools/gst-inspect.c: (print_element_properties_info):
23855 Can't pass NULL strings to g_print() on windows.
23857 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23859 * docs/Makefile.am:
23860 * docs/gst/Makefile.am:
23861 * docs/gst/gstreamer-docs.sgml:
23862 * docs/gst/running.xml:
23863 * docs/version.entities.in:
23864 add a chapter on running GStreamer.
23865 document GST_DEBUG and GST_PLUGIN* env vars
23867 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23872 remove PLUGINS_BUILDDIR stuff
23873 * gst/gst.c: (init_post):
23874 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23876 remove, it was condescending and not needed
23878 2005-10-08 Wim Taymans <wim@fluendo.com>
23880 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23881 (gst_base_sink_handle_object), (gst_base_sink_event),
23882 (gst_base_sink_wait), (gst_base_sink_handle_event),
23883 (gst_base_sink_change_state):
23884 * gst/base/gstbasesink.h:
23885 Repost EOS message while going to PLAYING if still EOS.
23886 Make sure that when receiving a FLUSH_START we don't attempt
23887 to sync on the clock anymore.
23889 2005-10-08 Wim Taymans <wim@fluendo.com>
23891 * tools/gst-launch.c: (event_loop):
23892 Better message printout.
23894 2005-10-08 Wim Taymans <wim@fluendo.com>
23896 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23897 (gst_bin_child_proxy_get_children_count):
23898 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23899 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23900 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23901 (gst_child_proxy_set_valist):
23902 * gst/parse/grammar.y:
23903 Make ChildProxy threadsafe and fix mem leaks.
23905 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23907 * gst/gst.c: (init_post):
23908 debug the GST_PLUGIN_ env vars
23910 2005-10-08 Wim Taymans <wim@fluendo.com>
23912 * check/gst/gstbin.c: (GST_START_TEST):
23913 * check/gst/gstmessage.c: (GST_START_TEST):
23914 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23915 * gst/gstelement.c: (gst_element_commit_state),
23916 (gst_element_lost_state):
23917 * gst/gstmessage.c: (gst_message_new_state_changed),
23918 (gst_message_parse_state_changed):
23919 * gst/gstmessage.h:
23920 * tools/gst-launch.c: (event_loop):
23921 Added extra field to STATE_CHANGE message with the pending
23922 state, which will be different from the new state soon.
23924 2005-10-08 Wim Taymans <wim@fluendo.com>
23926 * gst/gstbus.c: (gst_bus_pop):
23928 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23929 Small cleanups and doc updates.
23931 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23933 * gst/gst.c: (init_pre):
23934 * gst/gstbin.c: (gst_bin_add_func):
23935 log distributing clocks and base time
23936 * gst/gstregistry.c: (gst_registry_add_plugin),
23937 (gst_registry_scan_path_level), (gst_registry_scan_path):
23938 clean up the debugging output a little
23939 * gst/gstutils.c: (gst_element_state_get_name):
23940 warn about a memleak (I've actually seen this be used, though
23941 it was probably a bug)
23943 2005-10-07 Wim Taymans <wim@fluendo.com>
23945 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23946 (gst_base_src_init), (gst_base_src_default_newsegment),
23947 (gst_base_src_newsegment), (gst_base_src_do_seek),
23948 (gst_base_src_loop), (gst_base_src_start):
23949 * gst/base/gstbasesrc.h:
23950 Make the newsegment event customizable by subclasses.
23952 2005-10-07 Wim Taymans <wim@fluendo.com>
23954 * gst/gstevent.c: (gst_event_new_buffersize),
23955 (gst_event_parse_buffersize):
23957 New event for future idea.
23959 2005-10-07 Andy Wingo <wingo@pobox.com>
23961 * gst/gstelement.c (gst_element_post_message): Doc update.
23963 * docs/gst/gstreamer-sections.txt: Update.
23965 * gst/gstmessage.c (gst_message_new_application): Made into a
23966 function like honest API calls.
23967 (gst_message_new_element): New message type.
23969 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23971 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23972 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23975 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23976 NO_PREROLL from gst_element_change_state to fall through.
23978 2005-10-07 Wim Taymans <wim@fluendo.com>
23980 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23981 (gst_ghost_pad_do_activate_push):
23982 Activating a ghostpad with no internal pad in push mode
23985 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23988 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23989 Fixes compilation on Windows.
23991 2005-10-07 Michael Smith <msmith@fluendo.com>
23993 * tools/gst-inspect.c:
23994 Print out feature and plugin count at the end when printing out
23997 2005-10-04 Michael Smith <msmith@fluendo.com>
23999 * gst/gsterror.c: (_gst_stream_errors_init):
24000 Add another error string used in a few existing plugins.
24003 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24004 * tools/gst-inspect.c: (print_element_info):
24005 When a feature disappears from a plugin (and the feature exists in
24006 the cached registry file), things went horribly wrong. This isn't a
24007 complete fix, we should actually be removing the 'missing' features
24008 from the features list when we load the actual plugin. That's not
24011 2005-10-04 Johan Dahlin <johan@gnome.org>
24013 * check/gst/gstiterator.c: (GST_START_TEST):
24014 * gst/gstbin.c: (gst_bin_iterate_elements),
24015 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24016 * gst/gstelement.c: (gst_element_iterate_pads):
24017 * gst/gstformat.c: (gst_format_iterate_definitions):
24018 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24019 (gst_iterator_new_list), (gst_iterator_filter):
24020 * gst/gstiterator.h:
24021 * gst/gstquery.c: (gst_query_type_iterate_definitions):
24022 Add a GType to GstIterator, update callsites and tests.
24024 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24026 * gst/gstpad.c: (gst_pad_event_default_dispatch):
24027 give events a chance to be handled by event probes when the pad
24030 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24032 * gst/gstevent.c: (gst_event_type_get_name),
24033 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24035 add string representations for event types
24037 2005-10-06 Wim Taymans <wim@fluendo.com>
24039 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24040 Don't use NULL pointers.
24042 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24044 * gst/gst_private.h:
24046 * gst/gstelement.c:
24048 * gst/gstpluginfeature.c:
24049 widen the debug category in output to fit the biggest one we have
24050 add a bus category and use it
24051 play with the colors
24052 fix up some categories
24054 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
24056 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24057 add push activation of sink ghost pads.
24058 Andye, please verify
24060 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24062 * gst/gstutils.c: (gst_element_link_pads):
24063 fix a bug in the case where neither element has a pad
24064 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24065 add a test for that case
24067 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
24069 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24070 emit have-data before checking for peers. This allows
24071 for probe handlers to connect elements. This helps autopluggers.
24072 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24074 add six checks, linked/unlinked with no/true/false probe
24076 2005-10-04 Wim Taymans <wim@fluendo.com>
24078 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24079 (gst_fake_sink_event), (gst_fake_sink_preroll),
24080 (gst_fake_sink_render), (gst_fake_sink_change_state):
24081 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24082 (gst_fake_src_get_property), (gst_fake_src_create),
24083 (gst_fake_src_stop):
24084 * gst/elements/gstidentity.c: (gst_identity_stop):
24085 Protect last_message with lock.
24087 2005-10-04 Edward Hervey <edward@fluendo.com>
24090 Added precision in the comments for GST_FORMAT_DEFAULT
24092 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
24094 * tools/gst-launch.c: (main):
24095 Don't try to run erroneous pipelines.
24097 2005-10-04 Julien MOUTTE <julien@moutte.net>
24099 * gst/gstbus.c: We don't need this header.
24101 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24104 back to development
24106 === release 0.9.3 ===
24108 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
24112 Releasing 0.9.3, "Unregistered"
24114 2005-10-03 Andy Wingo <wingo@pobox.com>
24116 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24117 whereby calling a pad's activatepush() function can start a thread
24118 that starts to push or pull before the pad gets the FLUSHING flag
24119 unset. Hack around it by holding the stream lock until the flag is
24120 set. Need to replace this with a proper solution. Together with
24121 the ghost pad fixes, this fixes mp3 playing/tagreading.
24123 * docs/design/part-gstghostpad.txt: Add a note about activation of
24124 proxy pads outside of ghost pads.
24126 * gst/gstghostpad.c: Implement the ghost pad activation design.
24128 2005-10-02 Andy Wingo <wingo@pobox.com>
24130 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24131 It is volatile, after all.
24133 * docs/design/part-gstghostpad.txt: Flesh out activation with
24136 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24139 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24142 Fix (unused) AM_CONDITIONAL tests.
24144 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24146 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24148 * gst/gstutils.c: (gst_pad_query_convert):
24149 Add assertion that makes sure src_val is >=0, just like
24150 gst_query_new_convert() has. (#315895)
24152 2005-09-30 Edward Hervey <edward@fluendo.com>
24154 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24155 Let's not iterate pads we're not interested in, it avoids getting
24156 sky-high refcounts on sinkpad.
24158 2005-09-30 Wim Taymans <wim@fluendo.com>
24160 * gst/gstelement.c: (gst_element_set_state),
24161 (gst_element_change_state):
24162 Small tweak, element in ASYNC remains ASYNC.
24164 2005-09-30 Wim Taymans <wim@fluendo.com>
24166 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24167 Only error is an error.
24169 * gst/gstbin.c: (gst_bin_change_state):
24172 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24173 Also call pad_block in pad alloc.
24175 * gst/gstutils.c: (gst_flow_get_name):
24178 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24180 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24181 (gst_base_src_get_range):
24182 Fix documentation typos. Add some more debug info.
24184 2005-09-29 David Schleef <ds@schleef.org>
24186 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24187 more end-user friendly.
24188 * tools/gst-inspect.c: (main): Check if command-line argument is
24189 a file and attempt to load that file as a plugin.
24191 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24193 * check/gst/gstbin.c:
24194 * check/states/sinks.c:
24195 fix tests for the new warning
24196 * check/gst/gstpipeline.c:
24197 add a test for pipeline and bus interaction
24198 * gst/gstelement.c:
24199 elements should be NULL if they get disposed; add a warning if not
24201 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24204 for 2.6 refcounting, make debug log more correct by printing
24205 the actual refcounts at the time of swap (Wim)
24207 2005-09-29 Andy Wingo <wingo@pobox.com>
24209 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24210 removes signal watches previously added via
24211 gst_bus_add_signal_watch.
24212 (gst_bus_add_signal_watch): Don't return the source id, just store
24213 it on the bus if there wasn't an id already.
24215 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24216 add_signal_watch and remove_signal_watch.
24218 2005-09-29 Edward Hervey <edward@fluendo.com>
24220 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24221 Better if we actually iterate the list :)
24223 2005-09-29 Wim Taymans <wim@fluendo.com>
24225 * check/gst/gstbin.c: (GST_START_TEST):
24226 Change for new bus API.
24228 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24229 (send_messages), (GST_START_TEST), (gstbus_suite):
24230 Change for new bus signal API.
24232 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24233 (gst_bus_source_prepare), (gst_bus_source_check),
24234 (gst_bus_create_watch), (gst_bus_add_watch_full),
24235 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24236 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24238 Remove support for multiple GSources operating on different
24239 message types as it is too complex and unneeded when using
24241 Added support for receiving signals from the bus.
24243 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24245 * docs/libs/tmpl/gstdataprotocol.sgml:
24246 * docs/manual/advanced-dataaccess.xml:
24247 * gst/elements/gstcapsfilter.c:
24249 rename filter-caps to caps property
24251 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24253 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24254 More robust fraction string parsing.
24256 * docs/pwg/appendix-porting.xml:
24257 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24259 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24261 * gst/gstcaps.c: (gst_caps_do_simplify):
24262 Thou shalt not free a structure and then continue using it
24263 in the next loop iteration.
24265 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24267 Add test case for caps simplification.
24269 2005-09-29 Wim Taymans <wim@fluendo.com>
24271 * check/gst/gstbin.c: (GST_START_TEST):
24274 2005-09-29 Wim Taymans <wim@fluendo.com>
24276 * check/gst/gstbin.c: (GST_START_TEST):
24279 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24280 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24281 (find_element), (gst_bin_sort_iterator_next),
24282 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24283 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24284 (gst_bin_change_state), (gst_bin_dispose):
24285 A bin does not have a bus, it gets the bus from the parent.
24287 * gst/gstelement.c: (gst_element_requires_clock),
24288 (gst_element_provides_clock), (gst_element_is_indexable),
24289 (gst_element_is_locked_state), (gst_element_change_state),
24290 (gst_element_set_bus_func):
24293 * gst/gstpipeline.c: (gst_pipeline_class_init),
24294 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24295 The pipeline provides a bus.
24297 2005-09-28 Johan Dahlin <johan@gnome.org>
24299 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24300 gst_structure_get_enum instead of gst_structure_get_int
24302 * gst/gststructure.c (gst_structure_get_enum): Impl.
24304 * gst/gststructure.h (gst_structure_get_enum): Add
24306 * docs/gst/gstreamer-sections.txt: Ditto
24308 * gst/gstmessage.c (gst_message_new_state_changed): Use
24309 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24310 which does introspection.
24311 Reviewed by Christian Schaller
24313 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24315 * gst/gstinfo.c: (gst_debug_log_default):
24316 don't do dummy g_strdup()s
24317 * libs/gst/controller/gstcontroller.c:
24318 (on_object_controlled_property_changed),
24319 (gst_controlled_property_new), (gst_controller_new_valist),
24320 (gst_controller_new_list),
24321 (gst_controller_remove_properties_valist), (gst_controller_set),
24322 (gst_controller_get), (gst_controller_sync_values),
24323 (gst_controller_get_value_array), (_gst_controller_class_init),
24324 (gst_controller_get_type):
24325 * libs/gst/controller/gstcontroller.h:
24326 * libs/gst/controller/gstinterpolation.c:
24327 (gst_controlled_property_find_timed_value_node):
24328 convert // to /**/ comments
24330 2005-09-28 Wim Taymans <wim@fluendo.com>
24332 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24333 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24334 (gst_bus_sync_signal_handler):
24336 Added async-message and sync-message signals to the bus.
24337 Added helper BusFunc to emit signals for all posted messages.
24339 * gst/gstmessage.c: (gst_message_type_get_name),
24340 (gst_message_type_to_quark), (gst_message_get_type):
24341 * gst/gstmessage.h:
24342 Register quarks for message names.
24344 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24346 * docs/libs/gstreamer-libs-sections.txt:
24347 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24348 (gst_controller_new_list):
24349 * libs/gst/controller/gstcontroller.h:
24350 added another constructor for language bindings
24352 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24354 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24358 * gst/gstinfo.c: (_gst_debug_init):
24359 slightly more readable color for refcount debugging
24361 2005-09-28 Wim Taymans <wim@fluendo.com>
24363 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24364 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24365 (find_element), (gst_bin_sort_iterator_next),
24366 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24367 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24368 (gst_bin_change_state), (gst_bin_dispose):
24369 Small doc fixes. get_clock -> provide_clock.
24371 * gst/gstelement.c: (gst_element_class_init),
24372 (gst_element_provides_clock), (gst_element_provide_clock),
24373 (gst_element_get_clock), (gst_element_commit_state),
24374 (gst_element_lost_state):
24375 * gst/gstelement.h:
24376 Make get/set_clock() symetric. Add provide_clock vmethod since
24377 that is actually what this function does.
24379 * gst/gstpipeline.c: (gst_pipeline_class_init),
24380 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24381 (gst_pipeline_get_clock):
24382 get_clock -> provide_clock.
24384 2005-09-28 Andy Wingo <wingo@pobox.com>
24386 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24387 lieu of real docs...
24389 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24391 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24393 * gst/elements/gstcapsfilter.c:
24394 * gst/elements/gstfakesink.c:
24395 * gst/elements/gstfakesrc.c:
24396 * gst/elements/gstfdsink.c:
24397 * gst/elements/gstfdsrc.c:
24398 * gst/elements/gstfilesink.c:
24399 * gst/elements/gstfilesrc.c:
24400 * gst/elements/gstidentity.c:
24401 * gst/elements/gsttee.c:
24402 * gst/elements/gsttypefindelement.c:
24403 Make element details static.
24405 2005-09-28 Wim Taymans <wim@fluendo.com>
24407 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24408 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24409 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24410 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24411 (gst_bin_change_state), (gst_bin_dispose):
24412 Some documentation updates.
24413 Clean up dispose handlers.
24415 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24416 * gst/gstpad.c: (gst_pad_dispose):
24417 Clean up dispose handler.
24419 * gst/gstpipeline.c: (gst_pipeline_change_state):
24420 Removed spurious UNLOCK.
24422 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24424 * docs/gst/gstreamer-sections.txt:
24425 * gst/base/gstbasesrc.h:
24426 * gst/gstelement.h:
24430 * gst/gstpipeline.c:
24431 * gst/gstpipeline.h:
24434 added two new functions to the docs
24435 documents all undocumented GstXXXFlags
24436 completed some incomplete docs
24438 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24440 * gst/gstbin.c: (gst_bin_dispose):
24441 * gst/gstelement.c: (gst_element_dispose):
24442 remove now useless and leaky resurrection code in dispose
24443 * gst/base/gstbasesrc.c: (gst_base_src_init):
24444 * gst/gstelementfactory.c: (gst_element_factory_create):
24445 * gst/gstobject.c: (gst_object_set_parent):
24448 2005-09-27 Wim Taymans <wim@fluendo.com>
24450 * docs/design/part-TODO.txt:
24453 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24454 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24455 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24456 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24457 (gst_bin_change_state):
24458 * gst/gstelement.h:
24459 Remove element variable, we keep element info in the iterator now.
24461 2005-09-27 Andy Wingo <wingo@pobox.com>
24463 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24466 2005-09-27 Wim Taymans <wim@fluendo.com>
24468 * check/gst/gstbin.c: (GST_START_TEST):
24469 Enable check that works now.
24471 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24472 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24473 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24474 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24475 (gst_bin_change_state):
24477 Redid the state change algorithm using a topological sort algo.
24478 Handles all cases correctly.
24479 Exposed iterator for state change order.
24481 * gst/gstelement.h:
24482 Temp storage for state changes. Need to get rid of this soon.
24484 2005-09-27 Wim Taymans <wim@fluendo.com>
24486 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24487 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24488 (link_fold_func), (gst_pad_proxy_setcaps):
24489 Leak fixes, the fold functions need to unref the passed object and
24490 _get_parent_*() returns ref to parent.
24492 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24494 * check/gst/gstbuffer.c: (test_make_writable):
24495 Plug leak in test case and fix 'make check-valgrind'
24497 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24499 * gst/gstbuffer.c: (gst_subbuffer_init):
24500 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24501 works correctly in all circumstances (we could have just copied
24502 the parent buffer's readonly flag, but conceptually it seems
24503 cleaner to mark all subbuffers as read-only). (based on patch
24504 by Alessandro Decina, #314710).
24506 * check/gst/gstbuffer.c: (create_read_only_buffer),
24507 (test_make_writable), (test_subbuffer_make_writable),
24509 Add some tests for gst_buffer_make_writable().
24511 2005-09-27 Wim Taymans <wim@fluendo.com>
24513 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24514 use gst_object_has_ancestor().
24516 * gst/gstobject.c: (gst_object_has_ancestor):
24518 gst_object_has_ancestor() copied from gstbin.c as it is a
24521 * tests/instantiate/create.c: (create_all_elements):
24522 * tests/lat.c: (handoff_src), (handoff_sink):
24523 * tests/sched/runxml.c: (main):
24524 * tests/seeking/seeking1.c: (main):
24525 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24527 Fix compilation of some tests.
24529 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24532 Remove comment. GST_TYPE_G_ERROR is here to stay,
24533 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24534 (#316961, #300610).
24536 2005-09-26 Wim Taymans <wim@fluendo.com>
24538 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24539 Added check that shows error in state change order.
24541 2005-09-26 Wim Taymans <wim@fluendo.com>
24543 * gst/gstbin.c: (gst_bin_change_state):
24544 Make state change function use 3 queues again, we were
24545 adding elements in the wrong order.
24547 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24550 * gst/gstpad.c: (gst_pad_dispose):
24551 Added some debug info first.
24553 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24555 * docs/design/draft-push-pull.txt:
24556 * docs/design/part-events.txt:
24557 * docs/design/part-overview.txt:
24558 * docs/design/part-scheduling.txt:
24559 Replace all _pull_region() with _pull_range()
24561 2005-09-26 Andy Wingo <wingo@pobox.com>
24563 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24565 * check/gst-libs/controller.c: Update for controller api change.
24568 * tests/Makefile.am:
24569 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24570 over by GLib bug 118439.
24572 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24573 routines to a function.
24575 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24577 * libs/gst/controller/gsthelper.c:
24578 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24579 (gst_object_sync_values): Renamed from sink_values. Ugh.
24581 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24583 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24584 Renamed from controller_key, as it is exported.
24586 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24588 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24593 * gst/gstpadtemplate.h:
24596 * gst/gstqueryutils.c:
24597 * gst/gstqueryutils.h:
24598 remove queryutils headers after moving the two used functions
24599 to gstquery. also fixes build problem for gstsiddec
24601 2005-09-26 Michael Smith <msmith@fluendo.com>
24603 * tools/gst-launch.1.in:
24604 Correct documentation in manpage of debug syntax
24606 2005-09-26 Wim Taymans <wim@fluendo.com>
24608 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24609 (gst_base_src_is_seekable), (gst_base_src_change_state):
24610 Some more debugging info.
24612 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24614 * docs/gst/gstreamer-sections.txt:
24615 * gst/base/gstbasetransform.h:
24619 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24621 * docs/gst/.cvsignore:
24622 * docs/gst/tmpl/.cvsignore:
24623 * docs/gst/tmpl/gstpipeline.sgml:
24624 * docs/gst/tmpl/gstplugin.sgml:
24625 * gst/gstpipeline.c:
24628 inlined the last two docs files
24629 removed the tmpl directory from cvs (no more conflicts here!)
24631 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24633 * docs/gst/gstreamer-sections.txt:
24634 * docs/gst/tmpl/.cvsignore:
24635 * docs/gst/tmpl/gstpad.sgml:
24636 * docs/gst/tmpl/gstpadtemplate.sgml:
24638 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24639 (gst_pad_finalize), (gst_pad_set_pad_template):
24641 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24642 (gst_pad_template_class_init), (gst_pad_template_init),
24643 (gst_pad_template_dispose), (name_is_valid),
24644 (gst_static_pad_template_get), (gst_pad_template_new),
24645 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24646 (gst_pad_template_pad_created):
24647 * gst/gstpadtemplate.h:
24648 inlined two more docs
24649 factored gstpadtemplate out of gstpad
24651 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24653 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24654 (test_children_state_change_order_semi_sink):
24655 Fix test case: we can't rely on a fixed state change order when
24656 going from READY => PAUSED because the sink might commit its
24657 new state first when the first buffer created by the source
24658 reaches the sink before the source has finished its change state.
24659 (Test case still fails at times, see #316856, comment 5 onwards)
24661 2005-09-24 Wim Taymans <wim@fluendo.com>
24663 * docs/design/part-events.txt:
24664 * docs/design/part-gstbus.txt:
24665 * docs/design/part-gstpipeline.txt:
24666 * docs/design/part-messages.txt:
24667 * docs/design/part-overview.txt:
24668 * docs/design/part-segments.txt:
24672 * gst/gstelement.c:
24675 * gst/gstiterator.c:
24676 Various documentation updates.
24678 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24681 Well, that's embarassing. Luckily we weren't using
24682 GST_CLOCK_DIFF anywhere.
24684 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24686 * common/gtk-doc.mak:
24687 don't fail on building XML, FC4 slave shows a bunch of doc
24688 missing bits that I don't get
24690 * gst/gstpipeline.c:
24691 * gst/gststructure.c:
24694 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24696 * docs/design/part-gstbin.txt:
24697 * docs/design/part-gstbus.txt:
24699 Add blurb about how the bus goes into flushing mode and
24700 drops all messages when its bin goes from READY into NULL
24703 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24705 * docs/gst/gstreamer-sections.txt:
24706 * gst/gststructure.c: (gst_structure_get_clock_time):
24707 * gst/gststructure.h:
24708 add a method to get a GstClockTime out of a structure
24710 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24712 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24713 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24714 Added test to check state change order in bins (can still be made
24715 to fail here under heavy disk load; bails out with 'Push on pad
24716 fakesink:sink0, but it was not activated in push mode').
24718 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24719 Fix state change order when there is only a semi sink (#316856)
24721 * gst/gstbus.c: (gst_bus_class_init):
24722 Use _class_peek_parent(), not _class_ref(); fix docs to say
24723 'default main context' instead of 'mainloop' where that is
24726 * gst/gstelement.c: (gst_element_commit_state),
24727 (gst_element_set_state):
24728 Fix typos in debug messages
24730 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24733 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24734 * gst/gstpluginfeature.c:
24736 various doc updates
24737 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24738 change an assert into an error until it gets fixed properly
24740 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24742 * docs/gst/gstreamer-sections.txt:
24743 * docs/gst/tmpl/.cvsignore:
24744 * docs/gst/tmpl/gstelement.sgml:
24745 * docs/gst/tmpl/gstinfo.sgml:
24746 * docs/gst/tmpl/gstobject.sgml:
24747 * gst/gstelement.c:
24748 * gst/gstelement.h:
24751 * gst/gstobject.c: (gst_object_class_init):
24753 inlined 3 more biiiig doc files and added some missing docs on the fly
24755 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24757 * check/gst/.cvsignore:
24758 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24759 * gst/gstregistryxml.c: (load_plugin),
24760 (gst_registry_xml_save_plugin):
24761 put back source in registry. add checks for find_plugin.
24762 * testsuite/states/bin.c: (assert_state), (empty_bin),
24763 (test_adding_one_element), (main):
24764 * testsuite/states/locked.c: (main):
24765 some compile/run fixes
24767 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24769 * check/gst/gstvalue.c: (GST_START_TEST):
24770 fix leaks in the test itself
24772 2005-09-22 Wim Taymans <wim@fluendo.com>
24774 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24775 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24776 (gst_base_sink_query):
24777 Prepare for more accurate position reporting and query
24780 * gst/gstelement.c: (gst_element_send_event),
24781 (gst_element_set_state):
24784 2005-09-22 Wim Taymans <wim@fluendo.com>
24786 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24787 (gst_query_parse_segment):
24789 More documentation.
24790 Add segment query for future use.
24792 2005-09-22 Wim Taymans <wim@fluendo.com>
24794 * gst/gstbin.c: (gst_bin_add_func):
24795 Some more debug info.
24797 * gst/gstelement.c: (gst_element_send_event):
24798 Simplify send_event
24800 * gst/gstelement.h:
24801 Don't know how flags got broken.
24806 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24808 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24809 Add simplistic test suite for GST_TYPE_DATE serialisation and
24812 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24814 * docs/gst/gstreamer-sections.txt:
24815 * gst/gststructure.c: (gst_structure_set_valist),
24816 (gst_structure_get_date):
24817 * gst/gststructure.h:
24818 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24819 (gst_date_copy), (gst_value_compare_date),
24820 (gst_value_serialize_date), (gst_value_deserialize_date),
24821 (gst_value_transform_date_string),
24822 (gst_value_transform_string_date), (_gst_value_initialize):
24824 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24825 bunch of utility functions along with a hack that checks that
24826 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24827 is required. Part of the grand scheme in #170777.
24829 2005-09-22 Andy Wingo <wingo@pobox.com>
24831 * gst/gstconfig.h.in: Psych out gtk-doc.
24833 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24835 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24837 * tools/gst-inspect.c (print_element_list): Plug some
24838 inconsequential leaks.
24840 * gst/gstregistry.c (gst_registry_get_default): Doc.
24842 * check/gst/gstplugin.c:
24843 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24844 * gst/gstelementfactory.c (gst_element_factory_create):
24845 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24848 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24849 (gst_plugin_feature_load): Doc, don't eat refs.
24851 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24852 (gst_plugin_list_free): Doc.
24853 (gst_plugin_load_file): Doc updates.
24855 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24856 accessors returning refcounted objects, return a ref.
24858 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24859 accessor for caps. IDEMPOTENCE. Oh yes.
24861 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24863 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24865 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24866 (_gst_debug_register_funcptr):
24867 Add mutex to serialise access to the hash table with
24868 the function pointer => function name string mapping;
24869 make that hash table static scope (#316809).
24871 * gst/registries/.cvsignore:
24872 Remove left-over file.
24874 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24876 * docs/pwg/appendix-porting.xml:
24877 And something about newsegment events and caps-on-buffers to
24878 the porting guide (feel free to improve).
24880 2005-09-21 Andy Wingo <wingo@pobox.com>
24882 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24883 data and event probes on the same pad.
24884 (test_buffer_probe_once): Test that removing probes from within
24885 the probe functions works.
24887 2005-09-21 Andy Wingo <wingo@pobox.com>
24889 * check/gst/gstutils.c: New file.
24890 (test_buffer_probe_n_times): A simple buffer probe test. More to
24893 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24894 have-data::buffer, not have-data.
24895 (gst_pad_add_event_probe): Likewise for have-data::event.
24896 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24897 peer' isn't quite right yet though.
24898 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24899 (gst_pad_remove_data_probe): Change to take the guint handler_id
24900 as their arg, not the function+data, which is more glib-like.
24902 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24903 the signal emission to indicate if the data is a buffer or an
24905 (gst_pad_get_type): Initialize buffer and event quarks.
24906 (gst_pad_class_init): have-data is now a detailed signal, yes it
24909 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24911 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24912 * gst/gstutils.c: (gst_util_set_value_from_string),
24913 (gst_util_set_object_arg):
24914 Don't put functional code in g_return_if_fail() or
24915 g_return_val_if_fail() statements, otherwise things will
24916 break when G_DISABLE_CHECKS is defined during compilation.
24918 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24920 * docs/gst/tmpl/.cvsignore:
24921 * docs/gst/tmpl/gstvalue.sgml:
24924 inlied another one and added some obvious docs
24926 2005-09-21 Wim Taymans <wim@fluendo.com>
24928 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24929 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24930 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24931 (gst_fdsrc_get_property), (gst_fdsrc_create):
24932 * gst/elements/gstfdsrc.h:
24933 Properly implement fdsrc. Removed signal and timeout,
24934 better implemented somewhere else.
24936 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24938 * docs/gst/tmpl/.cvsignore:
24939 * docs/gst/tmpl/gstimplementsinterface.sgml:
24940 * gst/gstinterface.c:
24943 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24945 * docs/gst/gstreamer-sections.txt:
24946 * docs/gst/tmpl/.cvsignore:
24947 * docs/gst/tmpl/gstenumtypes.sgml:
24948 remove obsolete doc file
24950 2005-09-21 David Schleef <ds@schleef.org>
24952 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24953 little beer, fix a little leak.
24955 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24957 * docs/gst/gstreamer-docs.sgml:
24958 * docs/gst/gstreamer-sections.txt:
24959 * docs/gst/tmpl/.cvsignore:
24963 * gst/gstelement.h:
24964 * gst/gstindex.c: (gst_index_class_init):
24966 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24967 (gst_index_factory_class_init), (gst_index_factory_init),
24968 (gst_index_factory_finalize), (gst_index_factory_new),
24969 (gst_index_factory_destroy), (gst_index_factory_find),
24970 (gst_index_factory_create), (gst_index_factory_make):
24971 * gst/gstindexfactory.h:
24972 * gst/gstpluginfeature.c:
24973 * gst/gstpluginfeature.h:
24974 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24975 more docs inlined, splitted gstindex.{c,h}
24977 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24979 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24982 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24984 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24985 Set sync to FALSE by default.
24987 2005-09-20 Wim Taymans <wim@fluendo.com>
24989 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24990 (gst_base_sink_init):
24991 Make sync property settable from subclass.
24993 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24994 (gst_fake_sink_change_state):
24995 Set sync to FALSE by default.
24997 2005-09-20 Wim Taymans <wim@fluendo.com>
24999 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25000 * tools/gst-launch.c: (main):
25001 The timeout handler should have lower priority than the source
25002 so we don't timeout before popping a message with 0 timeout.
25003 Dump error messages after failed state change.
25005 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
25007 * tools/gst-inspect.c: (print_element_properties_info):
25010 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25012 * check/gst/gstevent.c:
25013 * gst/elements/gstfakesink.c:
25014 * gst/elements/gstfakesink.h:
25015 remove the sync property from fakesink.
25016 has the side effect of setting sync TRUE
25017 for fakesink, which is a change. Anyone who knows how
25018 to fix this nicely in a GObject-y way, feel free.
25020 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25022 * docs/gst/gstreamer-docs.sgml:
25023 remove probe refsection
25025 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25027 * check/Makefile.am:
25028 disable valgrinding the controller test again
25029 * docs/gst/gstreamer-sections.txt:
25030 update for api-changes
25032 2005-09-20 Wim Taymans <wim@fluendo.com>
25034 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25035 (gst_base_sink_set_property), (gst_base_sink_get_property),
25036 (gst_base_sink_do_sync):
25037 * gst/base/gstbasesink.h:
25038 Added sync property to basesink to disable clock sync.
25040 2005-09-20 Andy Wingo <wingo@pobox.com>
25042 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25043 eating the caller's refcount.
25045 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
25046 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25049 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25050 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25051 of GLib 2.8 public, so we can know which refcount to check in
25054 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25055 (gst_object_init): Only set the gst refcount if we're going ahead
25056 with the refcount hack.
25058 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25060 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25061 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25062 more leaks plumbed, added more debug-logging
25066 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25068 * gst/gstmessage.c:
25069 remove include of gstmemchunk.h
25071 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25073 * gst/gstclock.c: (_gst_clock_id_free):
25074 Commit from the Political Party For More Atomic CVS Commits,
25075 so that people don't waste too much of their day fishing
25076 out obvious leaks out of massive commits.
25077 Oh, and fix a pretty damn obvious leak in the memchunk
25080 2005-09-20 Stefan Kost <ensonic@users.sf.net>
25082 * check/Makefile.am:
25083 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25084 plug mem-leak, re-add to valgrindable tests
25086 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
25089 unbreak the build for those who have chronic arthritis
25090 and typing "make check" is just too taxing on the hands
25092 2005-09-20 Andy Wingo <wingo@pobox.com>
25094 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25095 really want it out, you should fix plugins at the same time.
25097 2005-09-19 Stefan Kost <ensonic@users.sf.net>
25100 * docs/gst/gstreamer-sections.txt:
25102 added missing symbols to api docs
25103 disable ref-count hack if we have glib >= 2.8
25105 2005-09-19 David Schleef <ds@schleef.org>
25107 * docs/gst/Makefile.am: Ignore a few more internal headers
25108 * docs/gst/gstreamer-docs.sgml: Remove old sections
25109 * docs/gst/gstreamer-sections.txt: Remove old sections
25110 * docs/gst/tmpl/gstobject.sgml: update
25111 * docs/gst/tmpl/gstplugin.sgml: update
25112 * docs/gst/tmpl/gstpluginfeature.sgml: update
25113 * docs/random/ds/0.9-suggested-changes: update.
25114 * gst/Makefile.am: remove memchunk and trashstack, since they're
25116 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25117 * gst/gst.h: don't include some headers
25118 * gst/gstchildproxy.c: add gstmarshal.h
25119 * gst/gstclock.c: Don't use memchunks
25120 * gst/gstminiobject.c: Add some docs
25121 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25122 * gst/gstobject.h: same
25123 * gst/gstplugin.c: include gstmacros.h
25124 * gst/gstplugin.h: don't include gstmacros.h, since it's private
25125 * gst/gstquery.c: don't use memchunks
25126 * gst/gstregistry.c: rename gst_registry_deinit()
25127 * gst/gstregistry.h: same
25129 2005-09-19 David Schleef <ds@schleef.org>
25131 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25132 * docs/libs/gstreamer-libs-sections.txt:
25133 * docs/libs/tmpl/gstgetbits.sgml:
25134 * docs/libs/tmpl/gstputbits.sgml:
25136 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25138 * win32/gstenumtypes.c:
25139 * win32/gstenumtypes.h:
25142 2005-09-19 Wim Taymans <wim@fluendo.com>
25144 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25145 Automatically PAUSE and RESUME a pipeline when a flushing seek
25148 2005-09-19 Andy Wingo <wingo@pobox.com>
25150 * gst/gstregistry.h: Spacing fixen.
25152 2005-09-19 Wim Taymans <wim@fluendo.com>
25154 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25155 Handle state change failure more correctly.
25157 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25159 * check/Makefile.am:
25160 * check/pipelines/cleanup.c: (run_pipeline):
25161 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25163 enable cleanup again after fixing the leak
25165 some more info on docs
25167 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25169 * check/Makefile.am:
25170 re-enable tests now that leaks are plugged
25172 * check/gst/gstbin.c:
25173 * check/gst/gstpipeline.c:
25174 add some more tests while fixing leaks
25175 * common/check.mak:
25176 make sure binaries are uptodate when valgrinding/gdbing
25178 * gst/gstelementfactory.c:
25179 remove a ref too many, and add a FIXME for when we get
25180 round to disposing of classes
25182 fix the refcounting when loading a plugin from a file and
25183 the code pretends that the pointer is the same even though
25184 of course it can change
25185 * gst/gstpluginfeature.c:
25186 unref plugins marked cached (a bit confusing as a name)
25187 as the docs state should be done
25188 various doc additions to explain refcounting
25189 * gst/gstregistry.c:
25190 * gst/gstregistryxml.c:
25193 2005-09-19 Wim Taymans <wim@fluendo.com>
25195 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25196 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25197 (send_messages), (GST_START_TEST), (gstbus_suite):
25198 * check/gst/gstpipeline.c: (GST_START_TEST):
25199 * check/pipelines/cleanup.c: (run_pipeline):
25200 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25202 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25203 (gst_bus_source_check), (gst_bus_source_dispatch),
25204 (gst_bus_create_watch), (gst_bus_add_watch_full),
25205 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25207 * tools/gst-launch.c: (event_loop):
25208 * tools/gst-md5sum.c: (event_loop):
25209 GstBusHandler -> GstBusFunc, return value has the same meaning as
25210 any other GSource (FALSE == remove source).
25211 _add_watch() and _add_watch_full() now take a MessageType mask to
25212 only handle specific types of messages.
25213 _poll() returns the GstMessage instead of the message type to avoid
25215 _have_pending() takes a MessageType mask now too.
25216 Added testsuite for multiple bus watches.
25217 Fix testsuites and applications for new bus API.
25219 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25221 * check/Makefile.am:
25222 mark a bunch of the tests as to fix until we fix them
25224 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25226 * common/check.mak:
25227 use GST_PLUGIN settings for valgrind tests as well, so we're
25228 valgrinding the correct thing
25229 * gst/gst.c: (init_post):
25232 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25234 * gst/gst.c: (init_post), (gst_deinit):
25235 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25236 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25237 * gst/gstindex.c: (gst_index_factory_class_init),
25238 (gst_index_factory_finalize):
25239 * gst/gstobject.c: (gst_object_dispose):
25240 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25241 (gst_plugin_load_file), (gst_plugin_desc_free):
25242 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25243 (gst_plugin_feature_finalize):
25244 * gst/gstregistry.c: (gst_registry_class_init),
25245 (gst_registry_init), (gst_registry_finalize),
25246 (gst_registry_get_default), (gst_registry_deinit):
25247 * gst/gstregistry.h:
25248 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25249 various cleanups and memleak plugging. make valgrind is happy now.
25251 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25253 * common/check.mak:
25254 add a check-valgrind target
25256 2005-09-18 David Schleef <ds@schleef.org>
25258 * tools/gst-inspect.c: Revert the GOption code.
25260 2005-09-17 David Schleef <ds@schleef.org>
25262 * check/Makefile.am: Fix environment variables.
25263 * check/gst/gstplugin.c: Fix for API changes.
25264 * tools/gst-inspect.c: Fix for API changes.
25265 * tools/gst-xmlinspect.c: Fix for API changes.
25266 * gst/gstelementfactory.c:
25269 * gst/gstpluginfeature.c:
25270 * gst/gstpluginfeature.h:
25271 * gst/gstregistry.c:
25272 * gst/gstregistry.h:
25273 * gst/gstregistryxml.c:
25274 * gst/gsttypefind.c:
25275 * gst/gsttypefindfactory.c:
25276 * gst/indexers/gstfileindex.c:
25277 * gst/indexers/gstmemindex.c:
25278 * gst/schedulers/Makefile.am:
25279 Change registry to keep track of both plugins and features,
25280 removing the feature tracking from plugins themselves.
25282 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25284 * check/Makefile.am:
25285 * tools/gst-register.1.in:
25286 remove gst-register
25288 2005-09-15 David Schleef <ds@schleef.org>
25290 * check/gst/gstplugin.c:
25291 * gst/gstelementfactory.c:
25293 * gst/gstpluginfeature.c:
25294 * gst/gstregistry.c:
25295 Getting tired of debugging. Disabled all the unreffing of
25296 plugins and features, which fixes the segfaults, but of
25297 course leaks like crazy. At least playbin works.
25299 2005-09-15 David Schleef <ds@schleef.org>
25301 * check/gst/gstplugin.c: (register_check_elements),
25302 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25304 * gst/elements/gsttypefindelement.c: Fix refcounting.
25305 * gst/gsttypefind.c:
25306 * gst/gsttypefindfactory.c:
25307 * gst/gsttypefindfactory.h:
25309 2005-09-15 David Schleef <ds@schleef.org>
25311 * gst/gstindex.c: get refcounting correct.
25312 * gst/gstregistry.c: Handle the case where a feature/plugin is
25315 2005-09-15 David Schleef <ds@schleef.org>
25317 * check/Makefile.am:
25318 * check/gst/gstplugin.c: Add test
25319 * gst/gstplugin.c: Fix problems noticed by testsuite
25321 * gst/gstregistry.c:
25322 * gst/gstregistry.h:
25324 2005-09-15 David Schleef <ds@schleef.org>
25326 * gst/gstplugin.c: Implement semi-decent recounting and locking
25327 in plugins and plugin features.
25329 * gst/gstpluginfeature.c:
25330 * gst/gstpluginfeature.h:
25331 * gst/gstregistry.c:
25333 2005-09-15 Michael Smith <msmith@fluendo.com>
25335 * gst/gstregistry.c: (gst_registry_get_feature_list):
25336 Implement this. Makes oggdemux work; decodebin still broken.
25338 2005-09-14 David Schleef <ds@schleef.org>
25340 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25342 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25343 * gst/check/Makefile.am:
25344 * libs/gst/controller/Makefile.am:
25345 * libs/gst/dataprotocol/Makefile.am:
25347 2005-09-14 David Schleef <ds@schleef.org>
25349 * configure.ac: Remove getbits library. Nothing uses it, and
25350 it should be in something like liboil if someone did want
25352 * libs/gst/Makefile.am:
25353 * libs/gst/getbits/Makefile.am:
25354 * libs/gst/getbits/gbtest.c:
25355 * libs/gst/getbits/getbits.c:
25356 * libs/gst/getbits/getbits.h:
25357 * libs/gst/getbits/gstgetbits_generic.c:
25358 * libs/gst/getbits/gstgetbits_i386.s:
25359 * libs/gst/getbits/gstgetbits_inl.h:
25361 2005-09-14 David Schleef <ds@schleef.org>
25363 * gst/Makefile.am: Dist glib-compat.h
25365 2005-09-14 David Schleef <ds@schleef.org>
25367 * configure.ac: Remove gst/registries, since it's no longer used.
25368 * gst/registries/Makefile.am:
25369 * gst/registries/gstlibxmlregistry.c:
25370 * gst/registries/gstlibxmlregistry.h:
25371 * gst/registries/gstxmlregistry.c:
25372 * gst/registries/gstxmlregistry.h:
25373 * gst/registries/registrytest.c:
25375 2005-09-14 David Schleef <ds@schleef.org>
25377 * gst/glib-compat.h:
25378 * gst/gstregistryxml.c:
25379 Convergence is near. Seriously.
25381 2005-09-14 David Schleef <ds@schleef.org>
25383 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25384 * gst/glib-compat.h:
25385 Attempt #4 to appease the buildbots.
25387 2005-09-14 David Schleef <ds@schleef.org>
25389 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
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/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25402 2005-09-14 David Schleef <ds@schleef.org>
25404 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25405 * gst/glib-compat.h: Add some functions that are in newer versions
25406 of glib than we care to require.
25407 * gst/gstregistryxml.c: Use them.
25409 2005-09-14 David Schleef <ds@schleef.org>
25411 * po/POTFILES.in: remove gst-register.c
25413 2005-09-14 David Schleef <ds@schleef.org>
25415 * docs/gst/gstreamer-docs.sgml:
25416 * docs/gst/gstreamer-sections.txt:
25417 * docs/gst/gstreamer.types:
25418 * docs/gst/tmpl/gstelement.sgml:
25419 * docs/gst/tmpl/gstplugin.sgml:
25420 * docs/gst/tmpl/gstpluginfeature.sgml:
25421 Documentation updates for registry changes.
25423 2005-09-14 David Schleef <ds@schleef.org>
25425 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25426 because we don't require glib-2.8.
25428 2005-09-14 David Schleef <ds@schleef.org>
25430 * gst/gstregistryxml.c: Added. Essentially moved out of the
25431 registries directory.
25433 2005-09-14 David Schleef <ds@schleef.org>
25435 * check/Makefile.am:
25436 * check/generic/states.c:
25440 * gst/gst_private.h:
25441 * gst/gstelementfactory.c:
25446 * gst/gstpluginfeature.c:
25447 * gst/gstpluginfeature.h:
25448 * gst/gstregistry.c:
25449 * gst/gstregistry.h:
25450 * gst/gstregistrypool.c: remove
25451 * gst/gstregistrypool.h: remove
25452 * gst/gsttypefind.c:
25453 * gst/gsttypefindfactory.c:
25455 * tools/Makefile.am:
25456 * tools/gst-compprep.c:
25457 * tools/gst-inspect.c:
25458 * tools/gst-register.c: remove
25459 * tools/gst-xmlinspect.c:
25460 Registry rewrite. Changes registry from being a file created
25461 by a tool into a simple cache file created automatically by
25462 libgstreamer. Removed gst-register (because it's no longer
25463 needed). Remove registry pools, because we only have one
25464 registry implementation (XML). Fix up other subsystems as
25467 2005-09-13 Michael Smith <msmith@fluendo.com>
25469 * gst/gstconfig.h.in:
25470 Don't Use windows linking attributes for MinGW. Fixes #316157
25472 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25474 * gst/gstutils.c: (set_state_async_thread_func),
25475 (gst_element_set_state_async):
25476 Apparently people think it's better if this function doesn't
25477 try to set the state to whatever state was asked for on the first
25478 call to this function for any object. Seriously.
25480 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25482 * check/gst/gstpipeline.c: (GST_START_TEST):
25483 * docs/gst/gstreamer-sections.txt:
25484 * gst/gstutils.c: (set_state_async_thread_func),
25485 (gst_element_set_state_async):
25487 add a "gst_element_set_state_async" method that
25488 sets the state and starts a thread to make sure the state
25489 change completes as best as it can
25491 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25493 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25494 codify design+behaviour in testsuite after discussion
25496 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25498 * docs/gst/tmpl/gstelement.sgml:
25499 * docs/manual/appendix-quotes.xml:
25501 * gst/gstelement.c: (gst_element_set_state):
25504 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25506 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25507 (gst_base_transform_prepare_output_buf),
25508 (gst_base_transform_handle_buffer):
25509 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25510 (gst_capsfilter_prepare_buf):
25511 Remove the requirement for sub-classes to call the parent
25512 implementation of prepare_output_buffer with a wrapper function.
25514 * gst/gsttaglist.h:
25515 * gst/gsttagsetter.h:
25516 Fix #define wrapper
25518 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25520 * docs/gst/gstreamer-sections.txt:
25523 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25525 * docs/gst/gstreamer-sections.txt:
25526 * docs/gst/tmpl/gstelement.sgml:
25527 * docs/gst/tmpl/gstplugin.sgml:
25528 * gst/gstminiobject.c:
25530 docs now stop throwing warnings
25532 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25534 * docs/gst/gstreamer-sections.txt:
25535 * docs/gst/gstreamer.types:
25536 * docs/gst/tmpl/gstpad.sgml:
25537 * docs/gst/tmpl/gsttypes.sgml:
25538 * gst/base/gstadapter.h:
25539 * gst/base/gstbasesink.h:
25540 * gst/base/gstbasesrc.h:
25546 * gst/gstelement.h:
25548 * gst/gstmessage.h:
25550 * gst/gststructure.c:
25551 * gst/registries/gstlibxmlregistry.h:
25552 various documentation fixes
25554 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25556 * docs/gst/gstreamer-sections.txt:
25557 * docs/gst/tmpl/gstvalue.sgml:
25558 rearrange gstvalue section
25559 * gst/gstutils.c: (gst_element_state_get_name):
25561 * gst/gstvalue.c: (_gst_value_initialize):
25565 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25567 * check/gst-libs/controller.c:
25568 Header include fix.
25569 * gst/base/gstbasetransform.c:
25570 (gst_base_transform_default_prepare_buf),
25571 (gst_base_transform_handle_buffer):
25572 * gst/base/gstbasetransform.h:
25573 Some more basetransform changes and fixes to enable sub-classes
25574 that modify buffer metadata only.
25575 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25576 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25577 (gst_capsfilter_prepare_buf):
25578 If the output pad has fixed allowed caps and input buffers
25579 don't have any, set the fixed caps on outgoing buffers.
25581 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25582 * check/elements/identity.c: (GST_START_TEST):
25583 Make the error a little clearer when the test fails because
25584 identity made a copy of the buffer.
25585 * docs/gst/gstreamer-sections.txt:
25586 New symbols in gstbasetransform.h
25587 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25588 (gst_base_transform_init), (gst_base_transform_transform_size),
25589 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25590 (gst_base_transform_default_prepare_buf),
25591 (gst_base_transform_get_unit_size),
25592 (gst_base_transform_buffer_alloc),
25593 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25594 (gst_base_transform_change_state),
25595 (gst_base_transform_set_passthrough),
25596 (gst_base_transform_set_in_place),
25597 (gst_base_transform_is_in_place):
25598 * gst/base/gstbasetransform.h:
25599 Change BaseTransform to separate in_place operate from same_caps
25600 output. in_place implies that the element can perform the transform
25601 on incoming buffers in-place, even if the caps on the output are
25603 Sub-class elements can now implement special buffer allocation
25604 methods for outgoing buffers if they wish to.
25605 Big documentation addition.
25606 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25607 * gst/elements/gstelements.c:
25608 Changes for basetransform modifications.
25609 * gst/elements/Makefile.am:
25610 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25611 Compile fix. Extra debug output.
25613 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25615 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25617 add tests for valid pad naming
25618 * gst/check/gstcheck.c: (gst_check_log_message_func),
25619 (gst_check_log_critical_func):
25621 remove printing of code, it is fragile when the code contains
25622 % and the line number is enough info
25623 * gst/check/gstcheck.h:
25624 * gst/gstpad.c: (gst_pad_template_new):
25627 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25630 say what CHECK flags we use
25631 * docs/libs/gstreamer-libs.types:
25632 * libs/gst/controller/Makefile.am:
25633 * libs/gst/controller/gst-controller.c:
25634 * libs/gst/controller/gst-controller.h:
25635 * libs/gst/controller/gst-helper.c:
25636 * libs/gst/controller/gst-interpolation.c:
25637 * libs/gst/controller/gstcontroller.c:
25638 * libs/gst/controller/gsthelper.c:
25639 * libs/gst/controller/gstinterpolation.c:
25640 * tools/gst-inspect.c: (print_plugin_info):
25641 we don't use dashes in header names
25643 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25645 * check/Makefile.am:
25646 * check/gst/.cvsignore:
25647 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25648 (gst_pipeline_suite), (main):
25649 adding a test for pipelines and state changes
25650 * gst/gstutils.c: (get_state_func):
25652 * gstreamer.spec.in:
25655 2005-09-08 Michael Smith <msmith@fluendo.com>
25657 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25658 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25659 (gst_file_src_is_seekable), (gst_file_src_get_size),
25660 (gst_file_src_start):
25661 * gst/elements/gstfilesrc.h:
25662 Various fixes for unseekable, unmmapable, and non-normal files, so
25663 that fallback to read() rather than mmap() works.
25664 * gst/gstevent.c: (gst_event_new_newsegment):
25665 Allow newsegment events with segment_start == segment_end, as will
25666 correctly happen if you use filesrc on a zero-size file, for
25669 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25671 * gst/gstplugin.c: (gst_plugin_load_file):
25672 Call g_module_close when we don't load the module
25674 * gst/registries/gstlibxmlregistry.c:
25675 (gst_xml_registry_get_property):
25676 Port leak fix from 0.8
25678 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25680 * docs/gst/gstreamer-docs.sgml:
25681 * docs/gst/tmpl/.cvsignore:
25682 * docs/gst/tmpl/gsttrace.sgml:
25683 * docs/gst/tmpl/gsttrashstack.sgml:
25686 * gst/gstelement.h:
25688 * gst/gstmessage.c:
25689 * gst/gstmessage.h:
25692 * gst/gsttaginterface.c:
25693 * gst/gsttaginterface.h:
25694 * gst/gsttaglist.c:
25695 * gst/gsttaglist.h:
25696 * gst/gsttagsetter.c:
25697 * gst/gsttagsetter.h:
25700 * gst/gsttrashstack.c:
25701 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25702 inlined docs for gsttrace, gsttrashstack
25704 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25707 * gst/elements/gstbufferstore.h:
25708 * gst/elements/gsttypefindelement.c:
25709 * gst/elements/gsttypefindelement.h:
25711 * gst/gsttypefind.c:
25712 * gst/gsttypefind.h:
25713 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25714 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25715 (gst_type_find_factory_dispose),
25716 (gst_type_find_factory_unload_thyself),
25717 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25718 (gst_type_find_factory_get_caps),
25719 (gst_type_find_factory_get_extensions),
25720 (gst_type_find_factory_call_function):
25721 * gst/gsttypefindfactory.h:
25722 * gst/registries/gstlibxmlregistry.c:
25723 * gst/registries/gstxmlregistry.c:
25724 splitted gsttypefind into gsttypefind, gsttypefindfactory
25726 2005-09-07 Andy Wingo <wingo@pobox.com>
25728 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25729 condition whereby the pad's task function is entered before the
25730 pad_mode variable was set.
25732 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25734 * gst/gstpad.c: (gst_pad_alloc_buffer):
25735 Catch misbehaving pad_alloc functions that don't
25736 set up caps and do it for them.
25738 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25740 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25741 test for pipe!=NULL
25742 * docs/gst/tmpl/.cvsignore:
25743 * docs/gst/tmpl/gstmemchunk.sgml:
25744 * docs/gst/tmpl/gstparse.sgml:
25745 * docs/gst/tmpl/gsttaglist.sgml:
25746 * docs/gst/tmpl/gsttagsetter.sgml:
25747 * docs/gst/tmpl/gsttypefind.sgml:
25748 * docs/gst/tmpl/gsttypefindfactory.sgml:
25749 * gst/gstmemchunk.c:
25752 * gst/gsttaginterface.c:
25753 * gst/gsttypefind.c:
25754 * gst/gsttypefind.h:
25757 === release 0.9.2 ===
25759 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25764 releasing 0.9.2, "South"
25766 2005-09-05 Andy Wingo <wingo@pobox.com>
25768 * gst/registries/gstxmlregistry.h:
25769 * gst/registries/gstxmlregistry.c: Um... resurrect...
25771 * gst/registries/gstxmlregistry.h:
25772 * gst/registries/gstxmlregistry.c: and update to newer API.
25773 Incidentally they should be a bit faster now that they don't have
25776 2005-09-05 Andy Wingo <wingo@pobox.com>
25778 * gst/registries/gstxmlregistry.h:
25779 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25780 replaced by the libxml registry a while back
25782 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25784 * docs/gst/tmpl/gstplugin.sgml:
25785 * gst/elements/gstelements.c:
25787 * gst/gstplugin.c: (gst_plugin_register_func),
25788 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25789 (gst_plugin_get_source):
25791 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25792 (gst_xml_registry_save_plugin):
25793 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25794 (gst_xml_registry_save_plugin):
25795 * tools/gst-inspect.c: (print_plugin_info):
25796 add a "source" plugin description field, to represent the source
25797 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25798 will set it to PACKAGE, which is automake's idea of the name of
25799 the source project.
25801 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25806 * docs/Makefile.am:
25807 * docs/faq/Makefile.am:
25808 * docs/gst/tmpl/gstelement.sgml:
25809 * docs/gst/tmpl/gsttypes.sgml:
25810 * docs/htmlinstall.mak:
25811 * docs/manual/Makefile.am:
25812 * docs/pwg/Makefile.am:
25813 reorganize doc build a little
25814 split out docbook and gtk-doc stuff
25815 have two separate --enable's and enable them through autogen
25816 but disable by default in configure (to be similar to other
25818 * gstreamer.spec.in:
25819 clean up docs install
25837 translation updates
25839 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25841 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25844 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25845 (gst_fake_sink_change_state):
25846 Make state change function thread-safe.
25848 * gst/gstpad.c: (gst_pad_alloc_buffer):
25849 Set offset on generic buffer allocated by fallback.
25851 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25853 * docs/gst/gstreamer-sections.txt:
25854 * docs/gst/tmpl/gstelement.sgml:
25856 * libs/gst/controller/gst-controller.c:
25857 (gst_controlled_property_set_interpolation_mode),
25858 (gst_controlled_property_new),
25859 (gst_controller_find_controlled_property):
25860 run the wingo-magic script against the docs
25862 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25864 * docs/gst/gstreamer-docs.sgml:
25865 * docs/gst/gstreamer-sections.txt:
25866 * docs/gst/tmpl/.cvsignore:
25867 * docs/gst/tmpl/gstelementdetails.sgml:
25868 * docs/gst/tmpl/gstelementfactory.sgml:
25871 * gst/gstelementfactory.c:
25872 * gst/gstelementfactory.h:
25873 merged elementdetails docs into elementfactory docs
25876 2005-09-02 Andy Wingo <wingo@pobox.com>
25878 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25879 consider this enum an enum and not a flags.
25881 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25883 * docs/gst/gstreamer-docs.sgml:
25884 * docs/gst/tmpl/.cvsignore:
25885 * docs/gst/tmpl/gstghostpad.sgml:
25886 * docs/gst/tmpl/gstiterator.sgml:
25887 * docs/gst/tmpl/gstmacros.sgml:
25888 * docs/gst/tmpl/gstrealpad.sgml:
25889 * docs/gst/tmpl/gstregistry.sgml:
25890 * docs/gst/tmpl/gstregistrypool.sgml:
25891 * docs/gst/tmpl/gststructure.sgml:
25892 * docs/gst/tmpl/gstsystemclock.sgml:
25893 * docs/gst/tmpl/gsttrace.sgml:
25894 * gst/gstghostpad.c:
25896 * gst/gstmemchunk.c:
25897 * gst/gstmemchunk.h:
25899 * gst/gstregistry.c:
25900 * gst/gstregistrypool.c:
25901 * gst/gststructure.c:
25902 * gst/gstsystemclock.c:
25905 2005-09-02 Andy Wingo <wingo@pobox.com>
25907 * gst/gstelement.h (GstState): Renamed from GstElementState,
25908 changed to be a normal enum instead of flags.
25909 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25910 munged to be GST_STATE_CHANGE_*.
25911 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25912 work with the new state representation.
25913 (GstStateChange): New enumeration of possible state transitions.
25914 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25915 (GstElementClass::change_state): Pass the GstStateChange along as
25916 an argument. Helps language bindings, so they don't have to use
25917 tricky lock-needing macros like GST_STATE_CHANGE ().
25919 * scripts/update-states (file): New script. Run it on a file to
25920 update it for state naming and API changes. Updates files in
25923 * All files updated for the new API.
25925 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25927 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25928 * gst/gstutils.c: (gst_util_set_value_from_string),
25929 (gst_util_set_object_arg):
25930 fix a bunch of unchecked return values
25931 * tools/gst-complete.c: (main):
25932 * gstreamer.spec.in:
25935 2005-09-01 Wim Taymans <wim@fluendo.com>
25937 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25938 (gst_base_sink_event), (gst_base_sink_do_sync),
25939 (gst_base_sink_handle_event):
25940 * gst/base/gstbasesink.h:
25941 Handle newsegments more correctly.
25946 * gst/gstevent.c: (gst_event_new_newsegment):
25947 A newsegment cannot have a start_time of -1
25949 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25951 * win32/gstenumtypes.c:
25952 * win32/gstenumtypes.h:
25955 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25957 * libs/gst/controller/gst-controller.c:
25958 (gst_controlled_property_set_interpolation_mode),
25959 (gst_controlled_property_new):
25960 fixed boolean again
25962 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25964 * docs/faq/gst-uninstalled:
25969 * gst/gstutils.c: (gst_element_link_filtered):
25971 add gst_element_link_filtered
25973 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25975 * docs/gst/gstreamer-docs.sgml:
25976 * docs/gst/gstreamer-sections.txt:
25977 * docs/gst/tmpl/.cvsignore:
25978 * docs/gst/tmpl/gsterror.sgml:
25979 * docs/gst/tmpl/gstfilter.sgml:
25980 * docs/gst/tmpl/gsturihandler.sgml:
25981 * docs/gst/tmpl/gsturitype.sgml:
25982 * docs/gst/tmpl/gstutils.sgml:
25983 * docs/gst/tmpl/gstxml.sgml:
25988 * gst/gsturitype.c:
25991 inlined more docs, fixed double id-ref
25993 2005-08-31 Wim Taymans <wim@fluendo.com>
25995 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25996 (gst_base_transform_handle_buffer):
25997 Passthrough elements don't need the caps as they don't care.
25999 2005-08-31 Wim Taymans <wim@fluendo.com>
26001 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26002 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26003 Don't leak refcounts on buffers.
26005 2005-08-31 Wim Taymans <wim@fluendo.com>
26007 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26008 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26009 (gst_base_transform_chain), (gst_base_transform_change_state):
26010 * gst/base/gstbasetransform.h:
26011 Handle the case where we are not negotiated more gracefully.
26013 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
26015 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26016 (gst_file_src_map_region):
26017 Set READONLY flag on mmap'ed buffers, otherwise
26018 gst_buffer_make_writable() won't work properly (#314708).
26020 2005-08-31 Wim Taymans <wim@fluendo.com>
26022 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26023 passthrough elements can even do inplace on non writable
26024 buffers (as they don't touch them).
26026 2005-08-31 Stefan Kost <ensonic@users.sf.net>
26028 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26029 (gst_test_mono_source_set_property),
26030 (gst_test_mono_source_class_init), (GST_START_TEST),
26031 (gst_controller_suite):
26032 more tests (hehe I have the most)
26034 describe popping messages whenusing mulltiple sources
26035 * libs/gst/controller/gst-controller.c:
26036 (gst_controlled_property_set_interpolation_mode),
26037 (gst_controlled_property_new):
26038 * libs/gst/controller/gst-controller.h:
26039 * libs/gst/controller/gst-interpolation.c:
26040 implement boolean properties
26042 2005-08-31 Wim Taymans <wim@fluendo.com>
26044 * gst/gstminiobject.c: (gst_mini_object_ref):
26045 Cannot assert that the refcount has to be positive
26046 since a disposed object can be resurrected.
26048 2005-08-31 Wim Taymans <wim@fluendo.com>
26050 * gst/gstpad.c: (gst_pad_init):
26051 Revert change, need to first fix badly behaving
26054 2005-08-30 Wim Taymans <wim@fluendo.com>
26056 * check/elements/fakesrc.c: (setup_fakesrc):
26057 * check/elements/identity.c: (setup_identity):
26058 Activate pads before using them.
26060 2005-08-30 Wim Taymans <wim@fluendo.com>
26062 * gst/base/gstadapter.c: (gst_adapter_flush):
26063 Flushing out 0 bytes is ok for this function.
26065 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26066 no newsegment gives a warning and sets the start/stop to
26069 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26070 (gst_base_transform_set_passthrough):
26073 * gst/gstminiobject.c: (gst_mini_object_ref):
26074 Check refcount here too.
26076 * gst/gstpad.c: (gst_pad_init):
26077 Pads are initially flushing and refusing data.
26079 * gst/gstutils.c: (gst_element_link_pads_filtered):
26080 When adding a capsfilter element make sure it has the
26081 same state as the parent bin.
26083 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26085 * docs/gst/tmpl/.cvsignore:
26086 * docs/gst/tmpl/gstformat.sgml:
26087 * docs/gst/tmpl/gstversion.sgml:
26091 * gst/gstversion.h.in:
26092 more docs and two more inlined
26094 2005-08-30 Wim Taymans <wim@fluendo.com>
26096 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26097 Don't sync to clock.
26099 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26101 * docs/gst/gstreamer-sections.txt:
26102 ultral33t func10ns deserve to appear in the docs actually
26103 * docs/gst/tmpl/.cvsignore:
26104 * docs/gst/tmpl/gstcompat.sgml:
26105 * docs/gst/tmpl/gstconfig.sgml:
26106 * gst/check/gstcheck.c:
26108 * gst/gstconfig.h.in:
26111 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26113 * docs/gst/tmpl/.cvsignore:
26114 * docs/gst/tmpl/gstquery.sgml:
26115 * docs/gst/tmpl/gstutils.sgml:
26118 inlined and extended docs
26120 2005-08-30 Stefan Kost <ensonic@users.sf.net>
26122 * check/gst-libs/controller.c: (GST_START_TEST),
26123 (gst_controller_suite):
26125 * docs/gst/tmpl/gstutils.sgml:
26126 * docs/libs/gstreamer-libs-sections.txt:
26127 * docs/libs/tmpl/gstdataprotocol.sgml:
26129 * examples/controller/audio-example.c: (main):
26130 controller example works now
26133 * tools/gst-inspect.c: (print_element_properties_info):
26134 show param spec flags
26136 2005-08-29 Andy Wingo <wingo@pobox.com>
26138 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26140 2005-08-28 Andy Wingo <wingo@pobox.com>
26142 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26143 as having two arguments instead of just one. Allows superclasses
26144 to access information on subclasses -- see the terrible for() loop
26145 in gtype.c:g_type_create_instance for the reason why. All callers
26148 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26150 * docs/design/part-messages.txt:
26152 * docs/gst/tmpl/.cvsignore:
26153 * docs/gst/tmpl/gstcaps.sgml:
26154 * docs/gst/tmpl/gstclock.sgml:
26160 * gst/gstmessage.c:
26161 added descriptions for bus and message
26162 inline caps and clock docs
26164 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26166 * gst/gstmessage.c:
26167 * gst/gstmessage.h:
26170 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26172 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26175 2005-08-26 Andy Wingo <wingo@pobox.com>
26177 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26178 element_set_state's return val.
26179 (test_2_elements): Add test that's been disabled for months.
26181 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26182 can-activate-pull properties.
26184 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26185 can-activate-pull properties. Implement is_seekable so fakesrc can
26186 operate in pull mode.
26188 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26190 (gst_base_sink_activate, gst_base_sink_activate_pull)
26191 (gst_base_sink_activate_push): Make activation mode choosing work.
26193 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26194 is right. Make pull mode work. Post an eos before pausing in pull
26196 (gst_base_sink_change_state): Pay attention to the core's
26197 change_state() return val.
26199 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26200 has-getrange properties. Cleanups.
26202 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26203 has_getrange and replace with can_activate_pull and
26206 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26207 locking comments. Remove has_loop, has_chain and replace with
26208 can_activate_pull and can_activate_push.
26210 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26213 * examples/Makefile.am:
26214 * examples/metadata/Makefile.am:
26215 * examples/metadata/read-metadata.c: (message_loop),
26216 (have_pad_handler), (make_pipeline), (print_tag), (main):
26217 Add metadata reading example that loops over a list of filenames,
26218 dumping any tags found.
26220 * gst/gstbus.c: (gst_bus_dispose):
26221 * gst/gstelement.c: (gst_element_dispose):
26222 Release a few potentially-held references in dispose.
26224 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26226 * docs/gst/tmpl/gstminiobject.sgml:
26227 do *not* add tmpl/*.sgml files to CVS!
26229 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26231 * libs/gst/bytestream/.cvsignore:
26232 * libs/gst/bytestream/Makefile.am:
26233 * libs/gst/bytestream/adapter.c:
26234 * libs/gst/bytestream/adapter.h:
26235 * libs/gst/bytestream/bytestream.c:
26236 * libs/gst/bytestream/bytestream.h:
26237 * libs/gst/bytestream/filepad.c:
26238 * libs/gst/bytestream/filepad.h:
26239 removing obsolete files
26241 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26243 * docs/gst/gstreamer-docs.sgml:
26244 * docs/libs/gstreamer-libs-docs.sgml:
26245 disabed additional index entries again, as this makes docs-gen just
26246 slow and they aren't useful yet
26247 * docs/libs/gstreamer-libs-sections.txt:
26248 little -section.txt cleanup for libs
26250 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26252 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26253 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26254 fix up some debugging
26255 (gst_base_transform_get_unit_size),
26256 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26257 (gst_base_transform_handle_buffer):
26258 * gst/base/gstbasetransform.h:
26259 handle and store timed NEWSEGMENT events so that subclasses that
26260 calculate time by counting samples have a segment_start time they
26261 need to add to their timestamps - see audioresample
26263 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26266 removed ';' from the end of macro defs
26267 * docs/gst/gstreamer-docs.sgml:
26268 * docs/gst/gstreamer-sections.txt:
26269 * docs/gst/tmpl/.cvsignore:
26271 * gst/gstelement.c: (gst_element_class_init),
26272 (gst_element_set_state), (activate_pads),
26273 (gst_element_save_thyself):
26274 * gst/gstevent.c: (gst_event_new_newsegment):
26276 * gst/gstiterator.c:
26277 * gst/gstiterator.h:
26280 * gst/gstutils.c: (gst_pad_query_convert):
26282 fixed parameter name mismatches between source, header and docs
26283 added some more docs, resolved the last batch of unused elements in
26284 docs (now someone needs to doc them)
26286 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26288 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26289 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26290 don't walk through the plugins backwards. Where is all this
26291 reversed logic coming from ?
26293 2005-08-25 Wim Taymans <wim@fluendo.com>
26295 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26296 (gst_base_transform_transform_size),
26297 (gst_base_transform_configure_caps),
26298 (gst_base_transform_get_unit_size),
26299 (gst_base_transform_buffer_alloc),
26300 (gst_base_transform_change_state):
26301 * gst/base/gstbasetransform.h:
26302 Cache caps unit_size.
26303 Make sure we cannot negotiate up and downstream at the
26306 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26308 * gst/gst.c: (init_pre), (init_post):
26309 register the installed plugin path after the env var
26310 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26311 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26312 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26313 directories, so the tests can prefer uninstalled over installed
26315 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26317 * gst/base/gstbasetransform.h:
26322 2005-08-25 Wim Taymans <wim@fluendo.com>
26324 * gst/gstbin.c: (bin_bus_handler):
26325 Be a bit more conservative about the posted message.
26327 * gst/gstbus.c: (gst_bus_post):
26328 Some cleanups, warn wrong return values.
26330 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26332 * check/gst/gstbin.c: (GST_START_TEST):
26333 * gst/gstbin.c: (bin_bus_handler):
26334 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26335 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26336 (gst_message_new_warning), (gst_message_new_tag),
26337 (gst_message_new_state_changed), (gst_message_new_segment_start),
26338 (gst_message_new_segment_done), (gst_message_new_custom):
26339 * gst/gstmessage.h:
26340 * tools/gst-launch.c: (event_loop):
26341 * tools/gst-md5sum.c: (event_loop):
26342 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26344 2005-08-25 Wim Taymans <wim@fluendo.com>
26346 * check/generic/states.c: (GST_START_TEST):
26347 Cleanup can be done at the end.
26349 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26350 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26351 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26352 Oh boy.. Thanks for finding this, Thomas.
26354 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26356 * docs/gst/gstreamer.types:
26357 added missing types
26359 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26361 * docs/gst/gstreamer-docs.sgml:
26362 * docs/gst/gstreamer-sections.txt:
26363 * docs/gst/tmpl/.cvsignore:
26365 * gst/gstiterator.c:
26367 * gst/registries/gstxmlregistry.h:
26368 added missing classes and symbols (123 more to go)
26369 removed removed symbols from section file
26370 fixed many doc-comments
26372 2005-08-24 Wim Taymans <wim@fluendo.com>
26374 * check/generic/states.c: (GST_START_TEST):
26375 Make sure all tasks are stopped.
26377 * check/gst/gstbin.c: (GST_START_TEST):
26378 Unref after usage for proper valgrinding.
26380 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26381 Really wait for the task to stop before destroying the
26384 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26385 (gst_queue_src_activate_push):
26386 Small cleanups. Don't stop the task when we did not start
26389 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26390 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26391 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26394 Protect the stream lock with the object lock.
26395 Disallow setting the stream lock when running.
26396 Add cleanup_all to wait for the threadpool to finish.
26397 Remove code to autoallocate a mutex if none was provided.
26398 Add _join() to wait for a task to stop.
26399 Protect the thread pool with a global lock.
26401 2005-08-24 Wim Taymans <wim@fluendo.com>
26403 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26404 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26405 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26406 * gst/base/gstbasesink.h:
26407 Handle newsegment events correctly.
26408 Drop buffers out of the segment range.
26410 2005-08-22 Andy Wingo <wingo@pobox.com>
26412 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26413 macro, implements an interface and gstimplementsinterface for a
26416 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26418 * check/Makefile.am:
26419 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26420 add a test that does a bunch of state changes on elements
26421 needs some fixing for valgrind
26422 * check/states/sinks.c: (gst_object_suite):
26425 add prototype for gst_caps_is_equal_fixed
26427 * gst/gstregistrypool.c:
26430 2005-08-24 Andy Wingo <wingo@pobox.com>
26432 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26433 convert a negative value. Doesn't make much sense. Mostly this is
26434 here to force callers to ensure -1 maps to -1.
26436 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26438 * docs/pwg/advanced-types.xml:
26439 Well done to Michael for catching my deliberate introduction
26440 of this spelling mistake.
26441 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26442 * gst/gstelement.h:
26443 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26444 unlink pads before removing the element from the bin.
26446 2005-08-24 Andy Wingo <wingo@pobox.com>
26448 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26449 the same thing as GST_DEBUG=*:4.
26450 (parse_debug_level, parse_debug_category): New helper parsers.
26452 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26454 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26455 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26456 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26457 (gst_base_transform_buffer_alloc),
26458 (gst_base_transform_handle_buffer):
26459 use gboolean return values and pointers to size so we can use the
26460 full GST_BUFFER_SIZE range (guint) for buffer sizes
26461 use GstPadDirection for transform_caps
26462 * gst/base/gstbasetransform.h:
26463 rename get_size to get_unit_size since that's what it is
26464 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26465 use GstPadDirection for transform_caps
26466 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26468 cleanup and debugging
26470 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26472 * gst/gstelement.c: (gst_element_class_init),
26473 (gst_element_set_state), (activate_pads),
26474 (gst_element_save_thyself):
26475 * tools/gst-compprep.c: (main):
26476 * tools/gst-inspect.c: (print_element_properties_info):
26477 * tools/gst-xmlinspect.c: (print_element_properties):
26478 Fixed long standing mem-leak
26480 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26482 * check/gst/gstbin.c: (GST_START_TEST):
26483 * gst/gstbin.c: (bin_bus_handler):
26484 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26485 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26486 (gst_message_new_warning), (gst_message_new_tag),
26487 (gst_message_new_state_changed), (gst_message_new_segment_start),
26488 (gst_message_new_segment_done), (gst_message_new_custom):
26489 * gst/gstmessage.h:
26490 * tools/gst-launch.c: (event_loop):
26491 * tools/gst-md5sum.c: (event_loop):
26492 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26493 that applications can sensibly post custom messages with references
26494 to their own objects.
26496 2005-08-24 Andy Wingo <wingo@pobox.com>
26498 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26501 2005-08-24 Wim Taymans <wim@fluendo.com>
26503 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26504 (gst_base_transform_transform_caps),
26505 (gst_base_transform_transform_size),
26506 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26507 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26508 (gst_base_transform_handle_buffer):
26509 * gst/base/gstbasetransform.h:
26510 Many fixes and new features added by Thomas. Can now also do
26511 transforms with variable sizes and a custom fixate_caps function.
26513 2005-08-24 Wim Taymans <wim@fluendo.com>
26515 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26519 Cast to ClockTime before formatting to time.
26524 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26526 * check/gst-libs/controller.c: (GST_START_TEST),
26527 (gst_controller_suite):
26528 * docs/gst/tmpl/gstcaps.sgml:
26529 * docs/gst/tmpl/gstghostpad.sgml:
26530 * docs/gst/tmpl/gstquery.sgml:
26531 * docs/gst/tmpl/gstutils.sgml:
26532 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26533 (gst_object_sink_values), (gst_object_get_value_arrays),
26534 (gst_object_get_value_array):
26535 gracefully handle helper method calls to objects that are not beeing
26536 controlled, added test case for that
26538 2005-08-23 Wim Taymans <wim@fluendo.com>
26540 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26541 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26542 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26543 (gst_event_parse_qos), (gst_event_new_seek),
26544 (gst_event_parse_seek):
26546 Some more debugging output and doc cleanups.
26548 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26549 Fix possible deadlock.
26551 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26553 * docs/gst/gstreamer-docs.sgml:
26554 * docs/gst/gstreamer-sections.txt:
26555 * docs/gst/gstreamer.types:
26556 * docs/gst/tmpl/.cvsignore:
26559 * gst/gstelement.c:
26561 added 100 symbols from gstreamer-unused.txt to the right sections
26562 fixed more broken comments
26563 added GstBus to docs
26565 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26567 * docs/gst/gstreamer-sections.txt:
26568 * docs/gst/tmpl/.cvsignore:
26569 * docs/gst/tmpl/gstbin.sgml:
26570 * docs/gst/tmpl/gstbuffer.sgml:
26571 * gst/base/gstbasesrc.c:
26572 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26575 * tools/gst-launch.1.in:
26576 inlined more doc comments, added missing comments and fixed comments
26579 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26581 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26585 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26587 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26588 * gst/gststructure.h:
26589 add a fixate function for booleans; add a FIXME that these func
26590 names should probably be gst_structure_fixate_*
26592 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26594 * docs/gst/gstreamer-docs.sgml:
26595 * docs/gst/gstreamer-sections.txt:
26597 * gst/gstbin.c: (gst_bin_get_type),
26598 (gst_bin_child_proxy_get_child_by_index),
26599 (gst_bin_child_proxy_get_children_count),
26600 (gst_bin_child_proxy_init):
26601 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26602 (gst_child_proxy_get_child_by_index),
26603 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26604 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26605 (gst_child_proxy_get), (gst_child_proxy_set_property),
26606 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26607 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26608 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26609 * gst/gstchildproxy.h:
26610 * gst/parse/grammar.y:
26611 * tools/gst-inspect.c: (print_interfaces),
26612 (print_element_properties_info), (print_element_info):
26613 ported gstchildproxy over from 0.8
26614 ported gst-inspect fixes and enhancements over from 0.8
26616 2005-08-22 Wim Taymans <wim@fluendo.com>
26618 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26619 (gst_base_transform_handle_buffer):
26620 Also call the transform function if we have ANY caps.
26622 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26625 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26627 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26628 Don't pretend to handle seek events if the source is not seekable
26630 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26632 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26633 Remove extra parameter to debug output
26635 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26636 (gst_base_src_do_seek), (gst_base_src_activate_push):
26637 Fix seek event handling.
26639 * gst/gstpipeline.c: (gst_pipeline_change_state):
26640 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26641 (gst_queue_src_activate_push):
26642 Don't start the src pad task on FLUSH_STOP if the pad
26646 2005-08-22 Wim Taymans <wim@fluendo.com>
26648 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26649 Added check for gst_static_caps_get() refcounting.
26651 2005-08-22 Wim Taymans <wim@fluendo.com>
26653 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26654 Make _static_caps_get() refcounting sane.
26656 * gst/gstelement.c: (gst_element_set_state):
26657 Add g_return_val_if_fail() to protect against segfaults.
26659 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26661 * docs/gst/tmpl/gstevent.sgml:
26664 inlined remaining docs, added missing doc comments
26666 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26668 * check/gst/gstbin.c: (GST_START_TEST):
26669 since we don't know when preroll is done, use refcount range
26671 * gst/check/gstcheck.h:
26672 add macro for checking refcount range
26674 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26676 * check/Makefile.am:
26677 clean up environment for when registry gets built versus
26678 when actual tests are run; valgrind seems to not report
26679 leaks if GST_PLUGIN_PATH is set to some specific values
26680 * check/gst/gstbin.c: (GST_START_TEST):
26681 add more refcounting checks; maybe this exposes a
26683 * common/check.mak:
26684 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26685 * gst/check/gstcheck.h:
26686 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26687 (gst_bin_change_state):
26688 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26689 add/fix debugging/whitespace
26691 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26693 * check/gst/gstevent.c: (event_probe), (test_event),
26695 Er, don't call gst_bin_watch_for_state_change you idiot.
26697 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26699 * check/Makefile.am:
26700 Use CHECK_CFLAGS and CHECK_LIBS
26701 * check/gst/gstevent.c: (event_probe), (test_event),
26704 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26705 (gst_base_src_start), (gst_base_src_stop),
26706 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26707 (gst_base_src_change_state):
26708 Sprinkle gst_base_src_stop liberally around error paths to fix
26709 problems reusing a source after failed state changes.
26710 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26711 (helper_find_suggest), (gst_type_find_helper):
26712 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26714 * docs/gst/tmpl/gstevent.sgml:
26715 Migrate part of the docs from the SGML file. Wait for ensonic to
26716 tell me how I did it wrong ;)
26717 * tools/gst-typefind.c: (main):
26718 Extra robustness to state changes between files.
26720 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26722 * check/Makefile.am:
26723 don't valgrind the controller test - it's leaking - Stefan, HELP
26724 * gst/check/gstcheck.c: (gst_check_message_error),
26725 (gst_check_chain_func), (gst_check_setup_element),
26726 (gst_check_teardown_element), (gst_check_setup_src_pad),
26727 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26728 (gst_check_teardown_sink_pad):
26729 * gst/check/gstcheck.h:
26730 add a bunch of methods to set up elements, and src and sink pads
26731 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26732 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26735 * gst/gstmessage.c:
26737 whitespace/doc fixes
26739 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26741 * gst/gstelement.h:
26742 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26743 be handled by the application and not always printed as well
26745 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26747 * check/Makefile.am:
26749 * gst/check/gstcheck.c: (gst_check_message_error):
26750 * gst/check/gstcheck.h:
26751 add a fail_unless_equals_int
26752 add fail_unless for error messages
26754 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26756 * check/Makefile.am:
26758 * common/Makefile.am:
26759 * common/check.mak:
26761 factor out some of the common stuff so we can use it
26763 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26765 * check/Makefile.am:
26766 * check/gst/gstiterator.c: (GST_START_TEST):
26767 * check/gst/gstsystemclock.c: (GST_START_TEST),
26768 (gst_systemclock_suite):
26769 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26771 valgrind more tests
26773 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26775 * check/elements/.cvsignore:
26776 * check/elements/gstfakesrc.c:
26777 rename to name of element
26778 * check/elements/identity.c: (chain_func), (event_func),
26779 (setup_identity), (cleanup_identity), (GST_START_TEST),
26780 (identity_suite), (main):
26781 add a test for identity
26782 * check/Makefile.am:
26783 * pkgconfig/Makefile.am:
26784 * pkgconfig/gstreamer-check.pc.in:
26785 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26789 move the check stuff to a library that gets installed
26790 * check/gst-libs/controller.c: (GST_START_TEST):
26791 * check/gst-libs/gdp.c:
26792 * check/gst/gst.c: (GST_START_TEST):
26793 * check/gst/gstbin.c:
26794 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26795 * check/gst/gstbus.c:
26796 * check/gst/gstcaps.c: (GST_START_TEST):
26797 * check/gst/gstelement.c:
26798 * check/gst/gstghostpad.c:
26799 * check/gst/gstiterator.c:
26800 * check/gst/gstmessage.c:
26801 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26802 * check/gst/gstobject.c:
26803 * check/gst/gstpad.c: (GST_START_TEST):
26804 * check/gst/gststructure.c: (GST_START_TEST):
26805 * check/gst/gstsystemclock.c: (GST_START_TEST),
26806 (gst_systemclock_suite):
26807 * check/gst/gsttag.c: (gst_tag_suite):
26808 * check/gst/gstvalue.c:
26809 * check/pipelines/cleanup.c:
26810 * check/pipelines/simple_launch_lines.c:
26811 * check/states/sinks.c:
26812 change include statement
26814 * docs/gst/gstreamer-sections.txt:
26815 * docs/gst/tmpl/gstpad.sgml:
26816 document more pad stuff
26817 * gst/gstminiobject.c: (gst_mini_object_ref),
26818 (gst_mini_object_unref):
26821 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26823 * docs/gst/tmpl/gst.sgml:
26825 eliminate another tmpl file, fix spelling in the long-description
26827 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26829 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26830 (test_event), (timediff), (gstevents_suite):
26831 Should fix build on 64-bit arch's
26833 2005-08-18 Andy Wingo <wingo@pobox.com>
26835 Make sure that when a pipeline goes to PLAYING, that data has
26836 actually hit the sink.
26838 * check/states/sinks.c (test_sink): A sink that doesn't get any
26839 data shouldn't return SUCCESS for going to either PLAYING or
26840 PAUSED. Test also the return values on the way back down.
26842 * gst/gstelement.c (gst_element_set_state): When changing the
26843 state of an element currently changing state asynchronously, go to
26844 lost-state after commiting the pending state. Makes future calls
26845 to get_state continue to return ASYNC.
26847 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26848 ASYNC when going to PLAYING if we still don't have preroll, as can
26849 happen with live sources.
26851 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26853 * docs/pwg/advanced-types.xml:
26854 Hack long paragraph into 2 chunks as a workaround for buggy
26855 jadetex version in sid and breezy that loops infinitely and
26858 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26860 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26861 (test_event), (timediff), (gstevents_suite):
26862 Provide more error margin in clock measurements to allow for
26863 g_get_current_time inaccuracies.
26865 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26867 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26868 (test_event), (timediff), (gstevents_suite):
26869 Fix error message output so I might be able to tell why the
26870 test works here but fails on the build farm.
26872 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26874 * check/Makefile.am:
26875 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26876 (test_event), (timediff), (gstevents_suite), (main):
26879 * docs/design/part-seeking.txt:
26880 Spelling correction
26882 * docs/gst/tmpl/gstevent.sgml:
26883 * docs/gst/tmpl/gstfakesrc.sgml:
26886 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26887 Treat a buffer-without-newsegment the same as a receiving
26888 a newsegment not in time format, and disable syncing to the clock
26891 * gst/gstbus.c: (gst_bus_set_sync_handler):
26892 Assert if anyone tries to replace the existing sync_handler for bus,
26893 as only the owner should be setting it.
26896 Have a fixed set of custom event enums with events identified by
26897 their structure name (as in 0.8), rather than a free-for-all
26898 allowing collisions between enum values from different plugins.
26900 * gst/gstpad.c: (gst_pad_class_init):
26903 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26904 Handle out-of-band downstream events from the sending thread.
26906 2005-08-17 Andy Wingo <wingo@pobox.com>
26908 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26909 play-timeout==0 to mean no timeout at all. In that case, don't
26910 bother with a get_state or a warning, just return directly, even
26913 * gst/base/gstbasetransform.c: Debug changes.
26916 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26917 ensure bins post state change messages. A bit of a hack but I can't
26918 think of a way to avoid it.
26920 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26922 2005-08-16 Andy Wingo <wingo@pobox.com>
26924 * gst/base/gstadapter.h:
26925 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26926 peek() but you own the data. Not terribly efficient atm.
26928 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26930 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26931 (gst_element_found_tags):
26933 Add two utility functions for tag handling.
26935 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26937 * docs/manual/advanced-dataaccess.xml:
26938 * docs/manual/basics-helloworld.xml:
26939 Fix docs to use _bin_add() before _link(), which fixes the examples
26940 with recent core versions (reported by Madhan Raj M
26941 <raj_madan@rediffmail.com>, #313199).
26943 2005-08-16 Wim Taymans <wim@fluendo.com>
26945 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26946 Added subtract checks.
26948 * docs/design/part-events.txt:
26949 Some more docs about newsegment
26951 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26954 * gst/gstcaps.c: (gst_caps_to_string):
26955 Add comments, cleanups.
26957 * gst/gstelement.c: (gst_element_save_thyself):
26960 * gst/gstvalue.c: (gst_value_collect_int_range),
26961 (gst_string_unwrap), (gst_value_union_int_int_range),
26962 (gst_value_union_int_range_int_range),
26963 (gst_value_intersect_int_int_range),
26964 (gst_value_intersect_int_range_int_range),
26965 (gst_value_intersect_double_double_range),
26966 (gst_value_intersect_double_range_double_range),
26967 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26968 (gst_value_subtract_int_range_int),
26969 (gst_value_subtract_double_range_double),
26970 (gst_value_subtract_double_range_double_range),
26971 (gst_value_subtract_from_list), (gst_value_subtract_list),
26972 (gst_value_can_compare), (gst_value_compare_fraction):
26973 Cleanups, add comments, remove unneeded asserts.
26975 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26977 * tools/gst-launch.c: (event_loop):
26978 don't convert NULL structures to strings
26980 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26982 * docs/gst/gstreamer-sections.txt:
26983 made some defines private
26984 * docs/gst/tmpl/gstconfig.sgml:
26985 * docs/gst/tmpl/gstqueue.sgml:
26986 * docs/gst/tmpl/gsttaglist.sgml:
26987 * docs/gst/tmpl/gsttypes.sgml:
26988 * docs/gst/tmpl/gstutils.sgml:
26989 * docs/pwg/appendix-porting.xml:
26990 * gst/base/gstbasesink.h:
26991 * gst/base/gstbasesrc.c:
26992 * gst/base/gstbasesrc.h:
26993 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26994 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26995 * gst/gstelement.c: (gst_element_class_init):
26996 * gst/gstpad.c: (gst_pad_class_init):
26997 * gst/gstqueue.c: (gst_queue_class_init):
26998 * gst/gstxml.c: (gst_xml_class_init):
26999 documented all undocumented signal inline
27000 * libs/gst/controller/gst-controller.h:
27003 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27005 * docs/pwg/appendix-porting.xml:
27006 Document _set_link_function -> _set_setcaps_function.
27008 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
27010 * check/Makefile.am:
27011 add a .check target for running the check
27012 * check/gst-libs/controller.c: (GST_START_TEST):
27014 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27015 complete checks for gstbuffer; would be nice if I could get the
27016 gcov stuff to work so I can see if I actually completed gstbuffer.c
27017 * check/gstcheck.h:
27018 add ASSERT_BUFFER_REFCOUNT
27020 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
27022 * docs/gst/gstreamer-sections.txt:
27023 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27025 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27026 spew out a warning if a tag that is already registered
27027 is re-registered, unless it is re-registered with a
27028 different type (#308438).
27030 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
27032 * docs/pwg/appendix-porting.xml:
27033 * docs/pwg/building-state.xml:
27034 Add some paragraphs about state changes in 0.9 to the PWG
27035 and the porting guide, in particular about the new meaning
27036 of GST_STATE_PAUSED and how to write state change functions
27037 with concurrent access by multiple threads in mind.
27039 2005-08-11 Stefan Kost <ensonic@users.sf.net>
27041 * docs/gst/gstreamer-docs.sgml:
27042 * docs/libs/gstreamer-libs-docs.sgml:
27043 added deprecation and since indexes
27044 * libs/gst/controller/gst-controller.c:
27045 * libs/gst/controller/gst-helper.c:
27049 2005-08-11 Wim Taymans <wim@fluendo.com>
27051 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27052 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27053 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27054 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27055 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27056 (gst_ghost_pad_set_target):
27057 Actually implement (re)setting the target on a ghostpad
27058 as described in the docs.
27060 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27062 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27063 Check whether GST_DEBUG_NO_COLOR environment variable is
27064 set and disable coloured debug output if that is the case.
27066 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
27068 * gst/base/gsttypefindhelper.c: (helper_find_peek),
27069 (gst_type_find_helper):
27070 The memory returned by gst_type_find_peek() needs to
27071 stay valid until the end of a typefind function, and
27072 typefind functions may keep results from different
27073 offsets around, so we can't just unref the buffer from
27074 the previous _peek(), but have to save all buffers
27075 returned by _peek() until typefinding is done and only
27078 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
27080 * docs/gst/gstreamer-sections.txt:
27082 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27084 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27086 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27087 Fix a pretty good memleak.
27089 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27091 * gst/gstiterator.h:
27092 Fix wrong include and 'make distcheck'.
27094 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27096 * gst/gstbin.c: (bin_bus_handler):
27097 Use gst_element_post_message() instead.
27099 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
27101 * gst/base/gstadapter.h:
27102 * gst/base/gstbasesink.h:
27103 * gst/base/gstbasesrc.h:
27104 * gst/base/gstbasetransform.h:
27105 * gst/base/gstcollectpads.h:
27106 * gst/base/gstpushsrc.h:
27107 * gst/gstiterator.h:
27108 Add padding to our base elements' class and instance structs and
27109 to GstIterator (you will need to rebuild all plugins and apps!)
27111 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27113 * gst/gstbin.c: (bin_bus_handler):
27114 Make default message forwarding from child->bus to bin->bus
27115 threadsafe and make it not emit warnings if the parent has no bus.
27117 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27119 * gst/gstelement.c: (activate_pads):
27120 On paused->ready, set pad->caps to NULL, as is the documented
27121 behaviour in this state change. Fixes playback of series of
27122 media files when visualization is enabled in Totem.
27124 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27126 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27127 Allow NULL as filter-caps (which means "any").
27129 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27131 * docs/libs/gstreamer-libs-sections.txt:
27132 * libs/gst/controller/gst-controller.c:
27133 * libs/gst/controller/gst-controller.h:
27134 * libs/gst/controller/gst-helper.c:
27135 adding more entries to the docs and fix small doc-bugs
27137 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27139 * docs/gst/gstreamer-docs.sgml:
27140 * docs/gst/gstreamer-sections.txt:
27141 * docs/gst/gstreamer.types:
27142 * docs/gst/tmpl/gstbasesink.sgml:
27143 * docs/gst/tmpl/gstbasesrc.sgml:
27144 * docs/gst/tmpl/gstbasetransform.sgml:
27145 * docs/gst/tmpl/gstfakesrc.sgml:
27146 * gst/base/gstcollectpads.c:
27147 * gst/base/gstcollectpads.h:
27148 * libs/gst/controller/gst-controller.c:
27149 * libs/gst/controller/gst-controller.h:
27150 * libs/gst/controller/gst-helper.c:
27151 * libs/gst/controller/gst-interpolation.c:
27152 * libs/gst/controller/lib.c:
27153 added long/short desc for controller docs
27154 added collectpads base class docs
27155 added correct includes to base-class docs
27157 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27159 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27160 (gst_test_mono_source_set_property),
27161 (gst_test_mono_source_class_init), (GST_START_TEST),
27162 (gst_controller_suite):
27163 * docs/gst/gstreamer-docs.sgml:
27164 * docs/gst/gstreamer-sections.txt:
27165 * docs/gst/gstreamer.types:
27166 * docs/libs/gstreamer-libs-docs.sgml:
27167 * docs/libs/gstreamer-libs-sections.txt:
27168 * gst/base/gstadapter.c:
27169 * libs/gst/controller/gst-controller.c:
27170 (gst_controlled_property_new), (gst_controlled_property_free),
27171 (gst_controller_new_valist),
27172 (gst_controller_remove_properties_valist),
27173 (gst_controller_sink_values), (_gst_controller_finalize):
27174 * libs/gst/controller/gst-controller.h:
27175 * libs/gst/controller/gst-helper.c:
27176 (gst_object_control_properties), (gst_object_uncontrol_properties),
27177 (gst_object_get_controller), (gst_object_set_controller),
27178 (gst_object_sink_values), (gst_object_get_value_arrays),
27179 (gst_object_get_value_array):
27180 more tests (and fixes) for the controller
27181 more docs for the controller
27182 integrated companies docs for the adapter
27184 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27186 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27187 (GST_START_TEST), (fakesrc_suite):
27188 add tests for sizetype
27190 2005-08-04 Andy Wingo <wingo@pobox.com>
27192 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27193 fixes buffer_alloc proxying among other things.
27195 * gst/base/gstbasetransform.c:
27196 * gst/base/gstbasetransform.h:
27197 Revert patch to gstbasetransform from 7-28 removing
27200 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27201 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27202 Semantics changed, should return not the size of the output buffer
27203 but the byte size of a buffer with a given caps.
27205 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27207 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27208 out) are not the pad caps until setcaps finishes.
27209 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27210 not-in-place case as well. Deal with changing from in-place to
27211 not-in-place within calling pad_alloc_buffer. Still a bit
27212 concerned about the overhead here...
27214 2005-08-03 Andy Wingo <wingo@pobox.com>
27216 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27217 fixating is an error.
27219 2005-08-04 Edward Hervey <edward@fluendo.com>
27221 * gst/base/gstadapter.h:
27222 Added gst_adapter_get_type() to the header
27224 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27226 * check/Makefile.am:
27227 * check/gst-libs/controller.c:
27228 * libs/gst/controller/gst-controller.c:
27229 (gst_controller_new_valist):
27230 added check test suite for the controller
27231 * gst/base/gstpushsrc.c:
27234 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27236 * docs/gst/Makefile.am:
27237 * docs/gst/gstreamer-docs.sgml:
27238 * docs/gst/gstreamer-sections.txt:
27239 * docs/gst/gstreamer.types:
27240 * docs/gst/tmpl/gstfakesrc.sgml:
27242 * gst/base/gstbasesink.c:
27243 * gst/base/gstbasesink.h:
27244 * gst/base/gstbasesrc.c:
27245 * gst/base/gstbasesrc.h:
27246 * gst/base/gstbasetransform.c:
27247 * gst/base/gstpushsrc.c:
27248 * gst/base/gstpushsrc.h:
27249 add short/long description docs to base classes
27250 add pushsrc to the docs
27251 remove consolidated doc fragments
27253 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27256 * docs/libs/Makefile.am:
27257 * docs/libs/gstreamer-libs-docs.sgml:
27258 * docs/libs/gstreamer-libs-sections.txt:
27259 * docs/libs/gstreamer-libs.types:
27260 * examples/Makefile.am:
27261 * examples/controller/.cvsignore:
27262 * examples/controller/Makefile.am:
27263 * examples/controller/audio-example.c: (main):
27264 * libs/gst/Makefile.am:
27265 * libs/gst/controller/.cvsignore:
27266 * libs/gst/controller/Makefile.am:
27267 * libs/gst/controller/gst-controller.c:
27268 (on_object_controlled_property_changed), (gst_timed_value_compare),
27269 (gst_timed_value_find),
27270 (gst_controlled_property_set_interpolation_mode),
27271 (gst_controlled_property_new), (gst_controlled_property_free),
27272 (gst_controller_find_controlled_property),
27273 (gst_controller_new_valist), (gst_controller_new),
27274 (gst_controller_remove_properties_valist),
27275 (gst_controller_remove_properties), (gst_controller_set),
27276 (gst_controller_set_from_list), (gst_controller_unset),
27277 (gst_controller_get), (gst_controller_get_all),
27278 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27279 (gst_controller_get_value_array),
27280 (gst_controller_set_interpolation_mode),
27281 (_gst_controller_finalize), (_gst_controller_init),
27282 (_gst_controller_class_init), (gst_controller_get_type):
27283 * libs/gst/controller/gst-controller.h:
27284 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27285 (g_object_uncontrol_properties), (g_object_get_controller),
27286 (g_object_set_controller), (g_object_sink_values),
27287 (g_object_get_value_arrays), (g_object_get_value_array):
27288 * libs/gst/controller/gst-interpolation.c:
27289 (gst_controlled_property_find_timed_value_node),
27290 (interpolate_none_get), (interpolate_trigger_get),
27291 (interpolate_trigger_get_value_array):
27292 * libs/gst/controller/lib.c: (gst_controller_init):
27293 * pkgconfig/Makefile.am:
27294 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27295 * pkgconfig/gstreamer-control.pc.in:
27296 * testsuite/Makefile.am:
27297 * testsuite/controller/.cvsignore:
27298 * testsuite/controller/Makefile.am:
27299 * testsuite/controller/interpolator.c: (main):
27300 added controller code
27301 removed dparam pc files
27303 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27304 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27305 (gst_collectpads_stop):
27306 Broadcast the condition when shutting down, to make sure we wake all
27307 threads up. Shut down pads on finalize, for safety.
27309 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27310 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27311 (gst_base_transform_handle_buffer),
27312 (gst_base_transform_change_state):
27313 Handle PAUSED->READY->PAUSED transition after negotiation
27315 * gst/gstmessage.c: (gst_message_init):
27316 Extra piece of debug for new messages.
27318 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27321 * docs/gst/tmpl/gstbasesrc.sgml:
27322 * docs/gst/tmpl/gstelement.sgml:
27323 * docs/gst/tmpl/gstevent.sgml:
27324 * docs/gst/tmpl/gstfakesrc.sgml:
27325 * docs/gst/tmpl/gstformat.sgml:
27326 * docs/gst/tmpl/gstghostpad.sgml:
27327 * docs/gst/tmpl/gstpad.sgml:
27328 * docs/gst/tmpl/gstquery.sgml:
27329 * docs/gst/tmpl/gststructure.sgml:
27330 * docs/gst/tmpl/gsttaglist.sgml:
27331 * docs/gst/tmpl/gstvalue.sgml:
27332 * docs/libs/gstreamer-libs-docs.sgml:
27333 * docs/libs/gstreamer-libs-sections.txt:
27334 * docs/libs/gstreamer-libs.types:
27335 * libs/gst/Makefile.am:
27336 * libs/gst/control/.cvsignore:
27337 * libs/gst/control/Makefile.am:
27338 * libs/gst/control/control.c:
27339 * libs/gst/control/control.h:
27340 * libs/gst/control/dparam.c:
27341 * libs/gst/control/dparam.h:
27342 * libs/gst/control/dparam_smooth.c:
27343 * libs/gst/control/dparam_smooth.h:
27344 * libs/gst/control/dparamcommon.h:
27345 * libs/gst/control/dparammanager.c:
27346 * libs/gst/control/dparammanager.h:
27347 * libs/gst/control/dplinearinterp.c:
27348 * libs/gst/control/dplinearinterp.h:
27349 * libs/gst/control/unitconvert.c:
27350 * libs/gst/control/unitconvert.h:
27351 * testsuite/Makefile.am:
27352 * testsuite/dynparams/.cvsignore:
27353 * testsuite/dynparams/Makefile.am:
27354 * testsuite/dynparams/dparamstest.c:
27355 * tools/Makefile.am:
27356 * tools/gst-inspect.c: (print_element_info), (main):
27357 * tools/gst-xmlinspect.c: (print_element_info), (main):
27358 deactivate and remove dparams (libgstcontrol)
27360 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27362 * gst/elements/gsttypefindelement.c:
27363 (gst_type_find_element_have_type), (gst_type_find_element_init),
27364 (stop_typefinding), (gst_type_find_element_handle_event),
27365 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27366 * gst/elements/gsttypefindelement.h:
27367 Set caps on all outgoing buffers, not just the first one.
27369 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27371 * gst/elements/gsttypefindelement.c:
27372 (gst_type_find_element_have_type),
27373 (gst_type_find_element_check_set_buffer_caps),
27374 (gst_type_find_element_init), (stop_typefinding),
27375 (gst_type_find_element_handle_event),
27376 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27377 * gst/elements/gsttypefindelement.h:
27378 Set caps on first outgoing buffer when we've found the type.
27380 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27382 * docs/gst/gstreamer-docs.sgml:
27383 * docs/gst/gstreamer-sections.txt:
27384 * docs/gst/tmpl/gstscheduler.sgml:
27385 * docs/gst/tmpl/gstschedulerfactory.sgml:
27386 Remove some old cruft from docs.
27388 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27391 Fix inline docs for GstPadLinkReturn.
27393 * gst/gststructure.c: (gst_structure_has_name):
27394 * gst/gststructure.h:
27395 * docs/gst/gstreamer-sections.txt:
27396 New API: gst_structure_has_name().
27398 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27401 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27402 and _LARGEFILE_SOURCE in config.h as required. Do not
27403 export those flags in our .pc files any longer (#142209).
27405 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27407 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27408 (gst_file_sink_do_seek), (gst_file_sink_event),
27409 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27410 Redo seek/tell calls with large file support in mind; add some
27411 debugging messages; add log message that tells us when large
27412 file support is unavailable or not enabled for some reason.
27414 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27415 Add log message that tells us when large file support
27416 is unavailable or not enabled for some reason.
27418 2005-07-29 Wim Taymans <wim@fluendo.com>
27420 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27421 Added test for removing an element with ghostpad from a bin.
27422 Fixed test as current implementation does the right thing.
27424 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27425 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27426 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27427 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27428 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27429 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27430 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27431 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27432 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27433 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27434 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27435 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27436 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27437 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27438 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27439 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27440 * gst/gstghostpad.h:
27441 Clean up ghostpads, remove properties for internal stuff.
27444 Prepare for switching targets, not all use cases work yet.
27446 2005-07-29 Wim Taymans <wim@fluendo.com>
27448 * docs/design/part-gstghostpad.txt:
27451 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27452 (gst_bin_remove_func):
27453 Unlinking pads while holding the bin LOCK is not a good
27456 * gst/gstpad.c: (gst_pad_class_init),
27457 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27458 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27459 No prob setting template after creating the pad.
27461 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27463 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27464 (gst_bus_peek), (gst_bus_source_dispatch),
27465 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27466 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27467 gst_bus_poll may be called from other threads. Handle
27468 this nicely by not making poll_data disappear off the
27469 stack once gst_bus_poll returns.
27470 gst_bus_peek now increments the refcount on the returned
27473 2005-07-29 Wim Taymans <wim@fluendo.com>
27475 * docs/design/part-gstghostpad.txt:
27476 Overview of current GhostPad datastructures and use
27477 cases for changing the target.
27479 2005-07-28 Wim Taymans <wim@fluendo.com>
27481 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27482 Added checks for hierarchy consistency whan adding linked
27485 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27486 Added check to test element scheduling without bin/pipeline.
27488 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27489 First add elements to bin, then link.
27491 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27492 (gst_bin_remove_func):
27493 Unlink pads from elements added/removed from bin to maintain
27494 hierarchy consistency.
27496 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27498 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27499 (gst_base_transform_handle_buffer):
27500 * gst/base/gstbasetransform.h:
27501 Remove broken delay_configure (fixes renegotiation of software
27502 scaling pipelines); remove some leftover printf()s.
27504 2005-07-28 Wim Taymans <wim@fluendo.com>
27506 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27507 Added some more tests for wrong hierarchy
27509 * docs/design/part-overview.txt:
27512 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27515 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27516 (gst_element_dispose):
27517 Some more cleanups.
27519 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27520 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27521 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27522 (gst_pad_set_caps), (gst_pad_send_event):
27523 Check for correct hierarchy when linking pads. Moving to
27524 strict requirement for ghostpads when linking elements in
27528 Clean ups. Added WRONG_HIERARCHY return value.
27530 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27532 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27533 Better debug if no transform is possible.
27535 2005-07-27 Wim Taymans <wim@fluendo.com>
27537 * docs/random/wtay/network-transp:
27538 Some old doc I had.
27540 2005-07-27 Wim Taymans <wim@fluendo.com>
27542 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27543 (gst_dp_event_from_packet):
27544 Fix serialization of seek events.
27546 2005-07-27 Wim Taymans <wim@fluendo.com>
27548 * check/gst-libs/gdp.c: (GST_START_TEST):
27549 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27550 Fix compilation and fix event serialization.
27552 2005-07-27 Wim Taymans <wim@fluendo.com>
27555 * docs/design/part-TODO.txt:
27556 * docs/design/part-events.txt:
27559 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27560 (gst_base_sink_event), (gst_base_sink_do_sync),
27561 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27562 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27563 (gst_base_src_do_seek), (gst_base_src_event_handler),
27564 (gst_base_src_loop):
27565 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27566 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27567 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27568 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27569 (gst_base_transform_set_passthrough),
27570 (gst_base_transform_is_passthrough):
27571 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27572 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27578 * gst/gstelement.c: (gst_element_seek):
27579 * gst/gstelement.h:
27580 Update gst_element_seek.
27582 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27583 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27584 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27585 (gst_event_new_eos), (gst_event_new_newsegment),
27586 (gst_event_parse_newsegment), (gst_event_new_tag),
27587 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27588 (gst_event_parse_qos), (gst_event_new_seek),
27589 (gst_event_parse_seek), (gst_event_new_navigation):
27591 Make GstEvent use GstStructure. Add parsing code, make sure the
27592 API is sufficiently generic.
27593 Mark possible directions of events and serialization.
27595 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27596 (_gst_message_copy), (gst_message_new_segment_start),
27597 (gst_message_new_segment_done), (gst_message_new_custom),
27598 (gst_message_parse_segment_start),
27599 (gst_message_parse_segment_done):
27602 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27603 (gst_pad_set_caps), (gst_pad_send_event):
27604 Update for new events.
27605 Catch events sent in wrong directions.
27607 * gst/gstqueue.c: (gst_queue_link_src),
27608 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27609 (gst_queue_handle_src_query):
27614 Remove event code from this file.
27616 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27617 (gst_dp_event_from_packet):
27620 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27622 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27623 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27624 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27625 Make debugging actually useful.
27627 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27629 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27630 (gst_pad_fixate_caps):
27631 Implement default fixation once again, so that gst_pad_fixate()
27632 actually does anything at all. This probably needs to be some
27633 sort of a last resort, and use profile-based fixation first, but
27634 since that doesn't exist yet, this is the best we have. Fixes
27635 visualization in Totem.
27637 2005-07-22 Wim Taymans <wim@fluendo.com>
27639 * docs/design/part-events.txt:
27642 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27643 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27644 (gst_base_sink_activate_pull):
27645 Some more comments.
27647 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27648 (gst_fake_src_create):
27649 Fix handoff marshall.
27651 * gst/elements/gstidentity.c: (gst_identity_class_init),
27652 (gst_identity_transform_ip):
27653 We're a real inplace element.
27655 * gst/gstbus.c: (gst_bus_post):
27656 Added some comments.
27658 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27659 * tests/muxing/case1.c: (main):
27660 * tests/sched/dynamic-pipeline.c: (main):
27661 * tests/sched/interrupt1.c: (main):
27662 * tests/sched/interrupt2.c: (main):
27663 * tests/sched/interrupt3.c: (main):
27664 * tests/sched/runxml.c: (main):
27665 * tests/sched/sched-stress.c: (main):
27666 * tests/seeking/seeking1.c: (event_received), (main):
27667 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27669 * tests/threadstate/threadstate3.c: (main):
27670 * tests/threadstate/threadstate4.c: (main):
27671 * tests/threadstate/threadstate5.c: (main):
27674 2005-07-21 Wim Taymans <wim@fluendo.com>
27676 * docs/design/part-seeking.txt:
27677 Some small additions.
27679 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27680 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27681 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27682 * gst/base/gstbasesink.h:
27683 discont values are gint64, handle the math correctly.
27685 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27686 Make the basesrc report error if the source pad is not linked.
27688 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27689 (gst_queue_loop), (gst_queue_handle_src_query),
27690 (gst_queue_src_activate_push):
27691 Make queue collect data even if the srcpad is not linked.
27692 Start pushing out data as soon as it is linked.
27694 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27696 Added gst_flow_get_name() to ease error reporting.
27698 2005-07-20 Wim Taymans <wim@fluendo.com>
27700 * gst/gstmessage.c: (gst_message_new_segment_start),
27701 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27702 (gst_message_parse_segment_done):
27703 * gst/gstmessage.h:
27704 Added a bunch of messages for advanced seeking.
27706 * gst/parse/grammar.y:
27707 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27708 (gst_dpman_state_changed):
27709 Fix some new-pad -> pad-added signals
27711 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27713 * docs/manual/appendix-porting.xml:
27714 * docs/pwg/appendix-porting.xml:
27715 Document new-pad/state-change signal renames and the FixedList
27718 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27720 * docs/manual/advanced-autoplugging.xml:
27721 * docs/manual/basics-helloworld.xml:
27722 * docs/manual/basics-pads.xml:
27723 * docs/random/ds/0.9-suggested-changes:
27724 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27725 * gst/gstelement.h:
27729 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27730 (gst_structure_parse_array), (gst_structure_parse_value):
27731 * gst/gstvalue.c: (gst_type_is_fixed),
27732 (gst_value_list_prepend_value), (gst_value_list_append_value),
27733 (gst_value_list_get_size), (gst_value_list_get_value),
27734 (gst_value_transform_array_string), (gst_value_serialize_array),
27735 (gst_value_deserialize_array), (gst_value_intersect_array),
27736 (gst_value_is_fixed), (_gst_value_initialize):
27738 GstElement::new-pad -> pad-added, GstElement::state-change ->
27739 state-changed, GstValueFixedList -> GstValueArray, add format and
27740 flags as their own arguments in gst_element_seek() (should improve
27741 "bindeability"), remove function generators since they don't work
27742 under a whole bunch of compilers (they were deprecated already
27745 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27747 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27748 (_gst_debug_register_funcptr):
27750 Fix illegal cast on some platforms (#309253).
27752 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27754 * gst/gstmessage.c: (gst_message_new_custom):
27755 * gst/gstmessage.h:
27756 Add _new_custom, make _new_application a macro to _new_custom.
27758 2005-07-20 Wim Taymans <wim@fluendo.com>
27760 * gst/base/gstbasesrc.c: (gst_base_src_init),
27761 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27762 * gst/base/gstbasesrc.h:
27763 Add a gboolean to decide when to push out a discont.
27765 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27766 (gst_queue_loop), (gst_queue_handle_src_query),
27767 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27768 (gst_queue_set_property), (gst_queue_get_property):
27771 * tests/threadstate/threadstate1.c: (main):
27772 Make a thread test compile and run... very silly..
27775 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27777 * docs/manual/appendix-porting.xml:
27778 Mention removal of libgstgconf-0.9.la and existence of gconf
27781 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27783 * docs/pwg/advanced-clock.xml:
27784 * docs/pwg/appendix-porting.xml:
27785 * docs/pwg/intro-preface.xml:
27786 * docs/pwg/other-base.xml:
27787 * docs/pwg/other-manager.xml:
27788 * docs/pwg/other-nton.xml:
27789 * docs/pwg/other-ntoone.xml:
27790 * docs/pwg/other-oneton.xml:
27791 * docs/pwg/pwg.xml:
27792 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27793 demuxer), remove n-to-n (was never written), fix some code examples
27794 and links and update the porting section to include all this.
27796 2005-07-19 Wim Taymans <wim@fluendo.com>
27798 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27799 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27800 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27801 (gst_queue_src_activate_push), (gst_queue_change_state),
27802 (gst_queue_get_property):
27804 Propagate GstFlowReturn more intelligently upstream and output
27805 an ERROR/EOS when streaming stopped due to fatal error.
27807 2005-07-19 Wim Taymans <wim@fluendo.com>
27809 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27810 Don't block forever for the state change to complete, the
27811 pipeline already did with a sensible timeout.
27813 2005-07-19 Wim Taymans <wim@fluendo.com>
27815 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27816 Make sure we never call the create function is we
27819 2005-07-19 Andy Wingo <wingo@pobox.com>
27821 * gst/parse/parse.l: Attempt to solve bug #172815.
27823 2005-07-19 Wim Taymans <wim@fluendo.com>
27825 * docs/design/part-clocks.txt:
27826 * docs/design/part-events.txt:
27827 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27828 Small docs updates.
27829 Only update the seeking values when we are not
27832 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27834 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27835 Oops, ignore the result of gst_pad_push_event here.
27837 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27839 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27840 (gst_base_src_activate_push):
27841 Send discont event from the loop function, as pads
27842 aren't activated yet in the activate_push handler.
27844 * gst/gstbin.c: (bin_bus_handler):
27845 Don't leak element name.
27847 2005-07-18 Andy Wingo <wingo@pobox.com>
27849 * configure.ac: Use AS_LIBTOOL_TAGS.
27851 2005-07-18 Wim Taymans <wim@fluendo.com>
27853 * docs/gst/gstreamer.types:
27854 Remove deleted types.
27856 2005-07-18 Wim Taymans <wim@fluendo.com>
27858 * check/elements/gstfakesrc.c: (GST_START_TEST):
27861 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27862 (init_popt_callback):
27864 * gst/gst_private.h:
27865 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27866 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27869 * gst/gstconfig.h.in:
27870 * gst/gstelement.c: (gst_element_class_init),
27871 (gst_element_set_base_time), (gst_element_get_base_time),
27872 (iterator_fold_with_resync), (gst_element_change_state),
27873 (gst_element_dispose), (gst_element_get_bus):
27874 * gst/gstelement.h:
27875 * gst/gstelementfactory.h:
27876 * gst/gsterror.c: (_gst_core_errors_init):
27879 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27881 * gst/gstinfo.c: (_gst_debug_init):
27882 * gst/gstmessage.c: (_gst_message_copy):
27883 * gst/gstmessage.h:
27884 * gst/gstminiobject.h:
27887 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27888 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27891 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27892 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27893 (gst_pipeline_get_last_stream_time):
27894 * gst/gstpipeline.h:
27895 * gst/gstpluginfeature.h:
27897 * gst/gstscheduler.c:
27898 * gst/gstscheduler.h:
27899 * gst/gststructure.h:
27900 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27901 (gst_task_finalize), (gst_task_func), (gst_task_create),
27902 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27903 (gst_task_stop), (gst_task_pause):
27905 * gst/gsttypefind.h:
27907 * gst/registries/gstlibxmlregistry.c: (load_feature),
27908 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27909 * gst/registries/gstxmlregistry.c:
27910 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27911 * gst/schedulers/threadscheduler.c:
27912 * libs/gst/control/dparammanager.h:
27913 * tools/gst-inspect.c: (print_element_list),
27914 (print_plugin_features), (print_element_features):
27915 * tools/gst-xmlinspect.c: (print_element_list),
27916 (print_plugin_info), (main):
27917 Removed plugable schedulers.
27918 Removed Scheduler/Manager from elements.
27919 Removed gsttypes.h, rearranged includes.
27920 Removed dependency pad<->element, element<>pipeline, and
27921 various others, fix includes.
27922 implement gst_pad_get_parent() with gst_object_get_parent()
27923 Make GstTask sefcontained.
27924 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27926 Fix endless loop in iterator_fold_with_resync.
27929 2005-07-18 Wim Taymans <wim@fluendo.com>
27935 2005-07-18 Wim Taymans <wim@fluendo.com>
27938 No more cothreads.h
27940 2005-07-18 Wim Taymans <wim@fluendo.com>
27944 Let's remove these.
27946 2005-07-18 Wim Taymans <wim@fluendo.com>
27948 * docs/design/part-dynamic.txt:
27949 * docs/design/part-events.txt:
27950 * docs/design/part-seeking.txt:
27951 Some more docs in the works.
27953 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27954 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27955 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27956 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27957 (gst_base_transform_handle_buffer),
27958 (gst_base_transform_sink_activate_push),
27959 (gst_base_transform_src_activate_pull),
27960 (gst_base_transform_set_passthrough),
27961 (gst_base_transform_is_passthrough):
27964 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27967 * gst/gstevent.c: (gst_event_finalize):
27970 * gst/gstutils.c: (gst_element_unlink),
27971 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27972 (gst_pad_proxy_setcaps):
27974 Add _get_parent_element() to get a pads parent as an element.
27976 2005-07-18 Wim Taymans <wim@fluendo.com>
27978 * check/gst/gstbin.c: (GST_START_TEST):
27981 2005-07-18 Wim Taymans <wim@fluendo.com>
27983 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27984 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27985 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27986 (gst_base_sink_event), (gst_base_sink_do_sync),
27987 (gst_base_sink_chain), (gst_base_sink_loop),
27988 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27989 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27991 Fix logic for returning ASYNC when not prerolled.
27993 2005-07-18 Wim Taymans <wim@fluendo.com>
27995 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27996 Fix nasty refcount bug.
27998 2005-07-16 Philippe Khalaf <burger@speedy.org>
28000 * gst/elements/gstfdsrc.c:
28001 * gst/elements/gstfdsrc.h:
28002 * gst/elements/gstelements.c:
28003 * gst/elements/Makefile.am:
28004 Ported fdsrc to 0.9.
28006 2005-07-16 Wim Taymans <wim@fluendo.com>
28008 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28009 (gst_base_sink_do_sync):
28012 2005-07-16 Wim Taymans <wim@fluendo.com>
28014 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28015 (gst_base_sink_event), (gst_base_sink_get_times),
28016 (gst_base_sink_do_sync), (gst_base_sink_change_state):
28017 * gst/base/gstbasesink.h:
28018 Store and use discont values when syncing buffers as described
28021 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28022 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28023 (gst_base_src_activate_push):
28024 Push discont event when starting.
28026 * gst/elements/gstidentity.c: (gst_identity_transform):
28029 * gst/gstbin.c: (gst_bin_change_state):
28030 Small cleanups in base_time distribution.
28032 * gst/gstelement.c: (gst_element_set_base_time),
28033 (gst_element_get_base_time), (gst_element_change_state):
28034 * gst/gstelement.h:
28035 Added methods for the base_time of the element.
28038 * gst/gstpipeline.c: (gst_pipeline_send_event),
28039 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28040 (gst_pipeline_get_last_stream_time):
28041 * gst/gstpipeline.h:
28043 Handle seeking as described in design doc, remove stream_time
28045 Cleanups clock and stream_time selection code. Added accessors
28046 for the stream_time.
28049 2005-07-16 Andy Wingo <wingo@pobox.com>
28051 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28054 2005-07-16 Wim Taymans <wim@fluendo.com>
28056 * check/gst/gstbin.c: (GST_START_TEST):
28057 Make elements silent as the deep_notify refs the
28058 parent, which might make the test fail.
28060 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28061 Don't hold the lock for too long.
28063 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
28065 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28066 Don't unref the caps we passed to gst_caps_make_writable() after
28067 passing them. gst_caps_make_writable() will do that for us.
28069 2005-07-15 Andy Wingo <wingo@pobox.com>
28071 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28074 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28075 own marshalling function for the handoff signal. Properly type the
28076 buffer as a buffer. Fixes some warnings. Should do a more general
28078 (gst_identity_class_init): Plug into the right marshaller.
28080 2005-07-15 Wim Taymans <wim@fluendo.com>
28082 * docs/design/part-TODO.txt:
28083 * docs/design/part-clocks.txt:
28084 * docs/design/part-element-sink.txt:
28085 * docs/design/part-events.txt:
28086 * docs/design/part-gstpipeline.txt:
28087 Updated docs, mostly DISCONT related.
28089 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
28091 * docs/pwg/building-pads.xml:
28092 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28094 2005-07-15 Andy Wingo <wingo@pobox.com>
28096 * tools/gst-typefind.c: Update, add copyright block.
28098 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28099 Normalize and truncate caps before fixation.
28102 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28103 discards all but the first structure from its argument.
28105 2005-07-15 Wim Taymans <wim@fluendo.com>
28107 * gst/base/gstbasetransform.c: (gst_base_transform_init),
28108 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28109 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28110 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28111 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28112 (gst_base_transform_chain), (gst_base_transform_change_state),
28113 (gst_base_transform_set_passthrough),
28114 (gst_base_transform_is_passthrough):
28115 * gst/base/gstbasetransform.h:
28116 Make passthrough work using the bufferpools.
28117 Changed API a bit, subclasses have to write into a buffer
28118 provided by the base class.
28119 More debug info in nego functions.
28121 * gst/elements/gstidentity.c: (gst_identity_init),
28122 (gst_identity_transform):
28123 Port to new base class.
28125 2005-07-15 Wim Taymans <wim@fluendo.com>
28127 * gst/gstmessage.c: (gst_message_new_state_changed):
28128 * tools/gst-launch.c: (event_loop), (main):
28129 Totally dump messages in -launch with the -m option.
28130 Fix message name for State messages,
28132 2005-07-14 Wim Taymans <wim@fluendo.com>
28134 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28135 Post error messages on errors.
28137 2005-07-14 Wim Taymans <wim@fluendo.com>
28139 * gst/gstcaps.c: (gst_caps_do_simplify):
28143 Define error for stream stopped.
28145 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28146 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28147 Do proper return values.
28149 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28150 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28151 (gst_pad_get_range):
28152 Better return values.
28155 Reorganise return values, add macro to check for fatal errors.
28157 * gst/gstqueue.c: (gst_queue_chain):
28158 Return proper GstFlowReturn values,
28160 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28162 * docs/gst/gstreamer-sections.txt:
28163 * docs/gst/gstreamer.types:
28164 * docs/gst/tmpl/gst.sgml:
28165 * docs/gst/tmpl/gstbasesink.sgml:
28166 * docs/gst/tmpl/gstbasesrc.sgml:
28167 * docs/gst/tmpl/gstbasetransform.sgml:
28168 * docs/gst/tmpl/gstbin.sgml:
28169 * docs/gst/tmpl/gstbuffer.sgml:
28170 * docs/gst/tmpl/gstcaps.sgml:
28171 * docs/gst/tmpl/gstclock.sgml:
28172 * docs/gst/tmpl/gstcompat.sgml:
28173 * docs/gst/tmpl/gstconfig.sgml:
28174 * docs/gst/tmpl/gstelement.sgml:
28175 * docs/gst/tmpl/gstelementdetails.sgml:
28176 * docs/gst/tmpl/gstelementfactory.sgml:
28177 * docs/gst/tmpl/gstenumtypes.sgml:
28178 * docs/gst/tmpl/gsterror.sgml:
28179 * docs/gst/tmpl/gstevent.sgml:
28180 * docs/gst/tmpl/gstfakesink.sgml:
28181 * docs/gst/tmpl/gstfakesrc.sgml:
28182 * docs/gst/tmpl/gstfilesink.sgml:
28183 * docs/gst/tmpl/gstfilesrc.sgml:
28184 * docs/gst/tmpl/gstfilter.sgml:
28185 * docs/gst/tmpl/gstformat.sgml:
28186 * docs/gst/tmpl/gstghostpad.sgml:
28187 * docs/gst/tmpl/gstimplementsinterface.sgml:
28188 * docs/gst/tmpl/gstindex.sgml:
28189 * docs/gst/tmpl/gstindexfactory.sgml:
28190 * docs/gst/tmpl/gstinfo.sgml:
28191 * docs/gst/tmpl/gstiterator.sgml:
28192 * docs/gst/tmpl/gstmacros.sgml:
28193 * docs/gst/tmpl/gstmemchunk.sgml:
28194 * docs/gst/tmpl/gstminiobject.sgml:
28195 * docs/gst/tmpl/gstobject.sgml:
28196 * docs/gst/tmpl/gstpad.sgml:
28197 * docs/gst/tmpl/gstpadtemplate.sgml:
28198 * docs/gst/tmpl/gstparse.sgml:
28199 * docs/gst/tmpl/gstpipeline.sgml:
28200 * docs/gst/tmpl/gstplugin.sgml:
28201 * docs/gst/tmpl/gstpluginfeature.sgml:
28202 * docs/gst/tmpl/gstquery.sgml:
28203 * docs/gst/tmpl/gstqueue.sgml:
28204 * docs/gst/tmpl/gstregistry.sgml:
28205 * docs/gst/tmpl/gstregistrypool.sgml:
28206 * docs/gst/tmpl/gstscheduler.sgml:
28207 * docs/gst/tmpl/gstschedulerfactory.sgml:
28208 * docs/gst/tmpl/gststructure.sgml:
28209 * docs/gst/tmpl/gstsystemclock.sgml:
28210 * docs/gst/tmpl/gsttaglist.sgml:
28211 * docs/gst/tmpl/gsttagsetter.sgml:
28212 * docs/gst/tmpl/gsttrace.sgml:
28213 * docs/gst/tmpl/gsttrashstack.sgml:
28214 * docs/gst/tmpl/gsttypefind.sgml:
28215 * docs/gst/tmpl/gsttypefindfactory.sgml:
28216 * docs/gst/tmpl/gsttypes.sgml:
28217 * docs/gst/tmpl/gsturihandler.sgml:
28218 * docs/gst/tmpl/gsturitype.sgml:
28219 * docs/gst/tmpl/gstutils.sgml:
28220 * docs/gst/tmpl/gstvalue.sgml:
28221 * docs/gst/tmpl/gstversion.sgml:
28222 * docs/gst/tmpl/gstxml.sgml:
28223 * docs/libs/tmpl/gstcontrol.sgml:
28224 * docs/libs/tmpl/gstdataprotocol.sgml:
28225 * docs/libs/tmpl/gstdparam.sgml:
28226 * docs/libs/tmpl/gstdplinint.sgml:
28227 * docs/libs/tmpl/gstdpman.sgml:
28228 * docs/libs/tmpl/gstdpsmooth.sgml:
28229 * docs/libs/tmpl/gstgetbits.sgml:
28230 * docs/libs/tmpl/gstunitconvert.sgml:
28231 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28232 (gst_push_src_base_init), (gst_push_src_class_init),
28233 (gst_push_src_init), (gst_push_src_create):
28234 * gst/base/gstpushsrc.h:
28235 * gst/elements/gstelements.c:
28236 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28237 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28238 (gst_fake_sink_init), (gst_fake_sink_set_property),
28239 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28240 (gst_fake_sink_event), (gst_fake_sink_preroll),
28241 (gst_fake_sink_render), (gst_fake_sink_change_state):
28242 * gst/elements/gstfakesink.h:
28243 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28244 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28245 (gst_fake_src_base_init), (gst_fake_src_class_init),
28246 (gst_fake_src_init), (gst_fake_src_event_handler),
28247 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28248 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28249 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28250 (gst_fake_src_create_buffer), (gst_fake_src_create),
28251 (gst_fake_src_start), (gst_fake_src_stop):
28252 * gst/elements/gstfakesrc.h:
28253 * gst/elements/gstfilesink.c: (_do_init),
28254 (gst_file_sink_base_init), (gst_file_sink_class_init),
28255 (gst_file_sink_init), (gst_file_sink_dispose),
28256 (gst_file_sink_set_location), (gst_file_sink_set_property),
28257 (gst_file_sink_get_property), (gst_file_sink_open_file),
28258 (gst_file_sink_close_file), (gst_file_sink_query),
28259 (gst_file_sink_event), (gst_file_sink_render),
28260 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28261 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28262 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28263 * gst/elements/gstfilesink.h:
28264 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28265 (gst_file_src_class_init), (gst_file_src_init),
28266 (gst_file_src_finalize), (gst_file_src_set_location),
28267 (gst_file_src_set_property), (gst_file_src_get_property),
28268 (gst_file_src_map_region), (gst_file_src_map_small_region),
28269 (gst_file_src_create_mmap), (gst_file_src_create_read),
28270 (gst_file_src_create), (gst_file_src_is_seekable),
28271 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28272 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28273 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28274 (gst_file_src_uri_handler_init):
28275 * gst/elements/gstfilesrc.h:
28276 more autistic cleanliness in functions/names/defines
28278 2005-07-13 Andy Wingo <wingo@pobox.com>
28280 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28281 source couldn't negotiate.
28283 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28287 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28288 function. I am channeling Hades. Put your boots on suckers!!!
28290 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28292 * testsuite/caps/Makefile.am:
28293 * testsuite/caps/value_compare.c:
28294 * testsuite/caps/value_intersect.c:
28295 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28296 move two testsuite apps over to the check dir
28298 2005-07-12 Wim Taymans <wim@fluendo.com>
28300 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28301 Added more debug info in the negotiate process.
28303 * gst/gstmessage.h:
28304 Prepare for segment playback.
28306 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28312 * tools/gst-launch.c: (main):
28313 NULL pipeline on errors.
28315 2005-07-12 Andy Wingo <wingo@pobox.com>
28317 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28318 not it comes from a malloc region. Make sure our copy gets freed.
28320 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28322 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28323 * check/gst/gstmessage.c: (GST_START_TEST):
28324 * check/gst/gststructure.c: (GST_START_TEST),
28325 (gst_structure_suite), (main):
28327 * gst/gstelement.c: (gst_element_message_full):
28328 clean up GError and debug string now that they get copied
28329 * gst/gstmessage.c: (gst_message_new_error),
28330 (gst_message_new_warning), (gst_message_parse_error),
28331 (gst_message_parse_warning):
28332 use GST_TYPE_G_ERROR for structure_new, and take copies of
28333 arguments, so that we don't mess up refcounting
28335 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28337 * check/Makefile.am:
28338 add per-test valgrind targets
28339 * check/gst-libs/gdp.c: (GST_START_TEST),
28340 (gst_data_protocol_suite), (main):
28343 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28345 * check/Makefile.am:
28346 instate more valgrindable tests
28347 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28348 (GST_START_TEST), (fakesrc_suite):
28349 * check/gst/gstpad.c: (GST_START_TEST):
28350 * check/gst/gststructure.c: (GST_START_TEST):
28352 * docs/gst/tmpl/gstminiobject.sgml:
28353 * gst/gstpad.c: (gst_pad_finalize):
28354 fix the static mutex leak
28356 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28358 * check/Makefile.am:
28359 add two more tests for valgrinding
28360 * check/gst/gstvalue.c: (GST_START_TEST):
28361 test refcount of deserialized buffer, found a leak
28362 * docs/gst/gstreamer-docs.sgml:
28363 * docs/gst/gstreamer-sections.txt:
28364 * docs/gst/gstreamer.types:
28365 * docs/gst/tmpl/gstminiobject.sgml:
28366 add miniobject to docs
28367 * gst/gstminiobject.c:
28369 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28370 (gst_string_unwrap):
28371 fix a hard-to-find invalid write for one of the tests
28372 fix a leak for deserialized buffers
28374 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28376 * docs/pwg/advanced-events.xml:
28377 * docs/pwg/advanced-request.xml:
28378 * docs/pwg/advanced-scheduling.xml:
28379 * docs/pwg/appendix-porting.xml:
28380 * docs/pwg/building-boiler.xml:
28381 * docs/pwg/intro-preface.xml:
28382 * docs/pwg/other-ntoone.xml:
28383 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28384 of example code and explanation for pad activation, loop() and
28385 getrange() functions and a bit more. Remove old comments pointing
28387 * examples/pwg/Makefile.am:
28388 Add loop/getrange examples.
28390 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28393 check for valgrind binary + some fixes
28395 valgrind suppressions for the tests
28396 * check/Makefile.am:
28397 add a valgrind: target that valgrinds the unit tests
28398 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28399 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28400 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28401 * check/gst/gstghostpad.c:
28403 * check/gst/gstdata.c:
28405 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28406 (thread_unref), (gst_mini_object_suite), (main):
28408 * gst/gst.c: (gst_deinit):
28410 add a method to clean up.
28411 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28412 (gst_system_clock_obtain):
28413 allow for disposing the system clock.
28414 * tools/gst-launch.c: (main):
28417 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28419 * docs/gst/tmpl/gstbasesrc.sgml:
28420 * docs/gst/tmpl/gstfakesrc.sgml:
28421 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28422 (gst_base_src_init), (gst_base_src_set_property),
28423 (gst_base_src_get_property), (gst_base_src_get_range),
28424 (gst_base_src_start):
28425 * gst/base/gstbasesrc.h:
28426 add num-buffers property
28427 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28428 (gst_fakesrc_init), (gst_fakesrc_set_property),
28429 (gst_fakesrc_get_property), (gst_fakesrc_create),
28430 (gst_fakesrc_start):
28431 remove num-buffers property
28433 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28435 * docs/gst/gstreamer-sections.txt:
28436 * docs/gst/tmpl/gstbasesink.sgml:
28437 * docs/gst/tmpl/gstbasesrc.sgml:
28438 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28439 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28440 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28441 (gst_base_sink_set_property), (gst_base_sink_get_property),
28442 (gst_base_sink_handle_object), (gst_base_sink_event),
28443 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28444 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28445 (gst_base_sink_loop), (gst_base_sink_deactivate),
28446 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28447 (gst_base_sink_change_state):
28448 * gst/base/gstbasesink.h:
28449 * gst/base/gstbasesrc.h:
28450 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28451 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28452 (gst_filesink_init):
28453 more macro splitting
28455 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28457 * gst/gstelement.c: (gst_element_get_bus):
28459 * tools/gst-launch.c: (check_intr), (event_loop):
28462 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28464 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28467 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28469 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28470 (gst_base_src_finalize):
28471 add finalize method and clean up properly
28472 * gst/gstpipeline.c: (gst_pipeline_dispose):
28475 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28477 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28479 add more things to check
28480 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28481 * gst/gstelement.c:
28484 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28486 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28487 (GST_START_TEST), (fakesrc_suite):
28488 * check/gst-libs/gdp.c: (GST_START_TEST):
28489 * check/gst/gst.c: (GST_START_TEST):
28490 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28491 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28492 * check/gst/gstbus.c: (GST_START_TEST):
28493 * check/gst/gstcaps.c: (GST_START_TEST):
28494 * check/gst/gstdata.c: (GST_START_TEST):
28495 * check/gst/gstelement.c: (GST_START_TEST):
28496 * check/gst/gstghostpad.c: (GST_START_TEST):
28497 * check/gst/gstiterator.c: (GST_START_TEST):
28498 * check/gst/gstmessage.c: (GST_START_TEST):
28499 * check/gst/gstobject.c: (GST_START_TEST):
28500 * check/gst/gstpad.c: (GST_START_TEST):
28501 * check/gst/gststructure.c: (GST_START_TEST):
28502 * check/gst/gstsystemclock.c: (GST_START_TEST),
28503 (gst_systemclock_suite):
28504 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28505 * check/gst/gstvalue.c: (GST_START_TEST):
28506 * check/pipelines/cleanup.c: (GST_START_TEST):
28507 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28508 * check/states/sinks.c: (GST_START_TEST):
28509 * check/gstcheck.c: (gst_check_init):
28510 * check/gstcheck.h:
28511 add debugging category
28512 use GST_START_TEST now, so we add a debug line
28514 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28516 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28517 add test for state change message on a bin
28518 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28520 * gst/gstbin.c: (gst_bin_init):
28521 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28522 * gst/gstelement.c: (gst_element_post_message),
28523 (gst_element_set_state):
28524 * gst/gstelementfactory.c: (gst_element_factory_create):
28525 * gst/gstmessage.c: (gst_message_new):
28526 * gst/gstscheduler.c:
28527 various debugging additions and cleanups
28529 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28531 * check/Makefile.am:
28532 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28534 adding tests for elements
28535 * gst/gstelement.c: (gst_element_dispose):
28537 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28539 * gst/registries/gstlibxmlregistry.c: (load_feature):
28540 plug more leaks. A simple gst_init() now is leakfree, yay.
28542 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28544 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28545 (gst_xml_registry_load):
28546 plug another memleak
28548 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28551 use GST_SET_ERROR_CFLAGS
28552 * docs/faq/cvs.xml:
28553 change to ERROR_CFLAGS
28555 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28558 make GST_ERROR_CFLAGS overridable and re-enable Werror
28559 * docs/faq/cvs.xml:
28560 add a note about error CFLAGS
28561 * docs/gst/tmpl/gstfakesrc.sgml:
28562 * gst/elements/gstfakesrc.c:
28563 comment out some unused code
28564 * gst/gst.c: (split_and_iterate):
28565 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28569 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28571 * common/Makefile.am:
28572 * common/gtk-doc.mak:
28573 * docs/gst/Makefile.am:
28574 factor out gtk-doc.mak
28576 2005-07-07 Wim Taymans <wim@fluendo.com>
28578 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28579 (gst_thread_scheduler_dispose):
28580 Unlock the STREAM_LOCK completely.
28582 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28584 * check/Makefile.am:
28585 * check/elements/.cvsignore:
28586 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28587 (START_TEST), (fakesrc_suite), (main):
28588 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28589 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28590 (gst_fakesrc_create), (gst_fakesrc_start):
28591 * gst/elements/gstfakesrc.h:
28592 adding a first element test
28594 2005-07-07 Andy Wingo <wingo@pobox.com>
28596 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28599 2005-07-07 Wim Taymans <wim@fluendo.com>
28605 2005-07-07 Wim Taymans <wim@fluendo.com>
28607 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28608 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28609 Allow subclasses to implement their own negotiation.
28611 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28613 * docs/design/part-gstbin.txt:
28614 * docs/design/part-gstpipeline.txt:
28615 Update design notes to reflect the movement of
28616 responsibility for bus handling from GstPipeline to
28619 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28622 Remove unnecessary queue2/3/4 examples.
28624 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28626 * examples/Makefile.am:
28627 * examples/helloworld/helloworld.c: (event_loop), (main):
28628 * examples/queue/queue.c: (event_loop), (main):
28629 * examples/queue2/queue2.c: (main):
28630 Update a couple of the examples to work again.
28632 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28633 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28634 Spelling corrections and extra debug.
28636 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28637 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28638 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28640 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28641 (gst_pipeline_change_state):
28642 * gst/gstpipeline.h:
28643 Move the bus handler for children to the GstBin, and create a
28644 separate bus for receiving messages from children to the one the
28645 bus sends 'upwards' on.
28647 2005-07-06 Wim Taymans <wim@fluendo.com>
28650 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28651 (gst_base_sink_handle_object), (gst_base_sink_loop),
28652 (gst_base_sink_change_state):
28653 * gst/base/gstbasesink.h:
28654 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28655 (gst_base_src_init), (gst_base_src_setcaps),
28656 (gst_base_src_getcaps), (gst_base_src_loop),
28657 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28658 (gst_base_src_start), (gst_base_src_change_state):
28659 * gst/base/gstbasesrc.h:
28660 Make basesrc negotiate.
28661 Handle the case where preroll fails in basesink.
28664 2005-07-06 Wim Taymans <wim@fluendo.com>
28666 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28667 Implement the fixate function.
28668 Clean up acceptcaps.
28670 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28672 * docs/pwg/building-filterfactory.xml:
28673 * docs/pwg/pwg.xml:
28674 Remove never-written filter-factory chapter; I'll add the various
28675 base classes to part 4 ("other element types") later on.
28677 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28679 * docs/pwg/advanced-negotiation.xml:
28680 * docs/pwg/building-boiler.xml:
28681 * docs/pwg/building-pads.xml:
28682 * docs/pwg/pwg.xml:
28683 * examples/pwg/Makefile.am:
28684 Add a chapter on caps negotiation, simplify the original code
28685 samples a bit w.r.t. caps negotiation, add link to the advanced
28686 section. Add a bunch of examples showing different use cases of
28687 different types of caps negotiation. Upstream renegotiation isn't
28688 fully documented yet since nobody knows how that works.
28690 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28692 * check/gst/gstpad.c:
28693 * check/gstcheck.c:
28694 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28695 if pad has no parent, return NULL as list of internal links
28697 2005-07-05 Andy Wingo <wingo@pobox.com>
28699 * gst/elements/gstfilesrc.c:
28700 * gst/elements/gstfakesrc.c:
28701 * gst/base/gstpushsrc.c:
28702 * gst/base/gstbasesrc.h:
28703 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28705 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28708 better report generation target (lcov needs a patch)
28710 2005-07-05 Andy Wingo <wingo@pobox.com>
28712 * gst/elements, testsuite: Null if we got it...
28714 2005-07-05 Wim Taymans <wim@fluendo.com>
28717 * libs/gst/dataprotocol/Makefile.am:
28718 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28719 * libs/gst/dataprotocol/dataprotocol.h:
28720 * pkgconfig/Makefile.am:
28721 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28722 * pkgconfig/gstreamer-dataprotocol.pc.in:
28723 Ported dataprotol to 0.9.
28724 Added pkgconfig files.
28726 2005-07-05 Andy Wingo <wingo@pobox.com>
28728 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28729 Default to returning TRUE for the case when tranform_caps returns
28730 a fixed caps, like for identity or volume.
28732 * check/gst/gstbus.c (pound_bus_with_messages):
28733 * check/gst/gstmessage.c (START_TEST):
28734 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28735 message API change.
28737 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28738 logic weaks here: always run transform_caps, trying passthrough
28739 operation only if the original caps intersects with the transform.
28741 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28742 source and sink caps.
28744 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28745 Intersect the peer caps with the pad template before going into
28747 (gst_base_transform_transform_caps): More debugging.
28749 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28752 2005-07-04 Edward Hervey <edward@fluendo.com>
28756 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28759 2005-07-04 Andy Wingo <wingo@pobox.com>
28761 * check/gst/gstpad.c: Only set explicit caps on pads.
28763 2005-07-01 Andy Wingo <wingo@pobox.com>
28765 * tests/network-clock.scm: Commentary update.
28767 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28768 Didn't really make sense, not implementable with basetransform,
28770 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28771 attempt at implementing the sync property, needs an unlock method.
28773 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28774 New func, by default returns the same caps (the identity
28776 (gst_base_transform_getcaps): Uses transform_caps to return
28777 something sensible.
28778 (gst_base_transform_setcaps): Complicated logic to get caps on
28779 both pads, even if they are different, and to call set_caps once
28780 for every time both pads get their caps set.
28781 (gst_base_transform_handle_buffer): Give the ref to the transform
28782 function. Allows in-place modification of the buffer.
28784 * gst/base/gstbasetransform.h (transform_caps): New class method.
28785 Given caps on one side, what can I do on the other.
28786 (set_caps): Take two caps, one for each side of the element.
28789 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28790 caps in place. This is safe because we can check the mutability of
28791 the caps, and a good idea because fixate functions are just called
28792 as a matter of last resort. (Not actually implemented.)
28793 (gst_pad_set_caps): If the caps we're setting is actually the same
28794 as the existing pad caps, just update the pointer without calling
28795 setcaps. Assert that caps is either NULL or fixed, as per the
28798 * gst/gstghostpad.c: Update for fixate changes.
28800 2005-07-02 Andy Wingo <wingo@pobox.com>
28803 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28804 two refcounts makes it immutable, which is enough. Doc more.
28806 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28808 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28809 Put the mini_object into GValue as a mini_object,
28810 not a gpointer, since that's how we declared
28813 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28815 * examples/pwg/Makefile.am:
28816 Fix buildbot again.
28818 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28820 * docs/pwg/building-testapp.xml:
28822 * examples/pwg/Makefile.am:
28825 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28828 * examples/Makefile.am:
28829 * examples/pwg/Makefile.am:
28830 * examples/pwg/extract.pl:
28831 Enable building the PWG examples.
28832 * docs/pwg/advanced-interfaces.xml:
28833 Add URI interface stub.
28834 * docs/pwg/advanced-types.xml:
28835 * docs/pwg/other-autoplugger.xml:
28836 * docs/pwg/appendix-porting.xml:
28837 * docs/pwg/pwg.xml:
28838 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28839 * docs/pwg/building-boiler.xml:
28840 * docs/pwg/building-chainfn.xml:
28841 * docs/pwg/building-pads.xml:
28842 * docs/pwg/building-props.xml:
28843 * docs/pwg/building-state.xml:
28844 * docs/pwg/building-testapp.xml:
28845 Update the building-*.xml parts for 0.9 changes. All examples
28846 code blocks compile in examples/pwg/*.
28848 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28850 * docs/manual/advanced-autoplugging.xml:
28851 * docs/manual/appendix-checklist.xml:
28852 * docs/manual/appendix-integration.xml:
28853 * docs/manual/highlevel-components.xml:
28854 Fix playbin/decodebin examples, update docs a bit, mention bus
28855 instead of signals in various places, mention kmplayer and
28856 kaffeine since they have a working GStreamer backend in the KDE
28859 2005-06-30 Wim Taymans <wim@fluendo.com>
28862 * docs/design/draft-ghostpads.txt:
28863 * docs/design/draft-push-pull.txt:
28864 * docs/design/draft-query.txt:
28865 * docs/design/part-TODO.txt:
28866 * docs/design/part-query.txt:
28867 Added CHANGES-0.9 doc, updated status of other docs.
28872 2005-06-30 Wim Taymans <wim@fluendo.com>
28874 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28875 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28876 (gst_base_sink_change_state):
28877 * gst/base/gstbasesink.h:
28878 Some tweaks, only EOS and a buffer complete a preroll.
28880 2005-06-30 Andy Wingo <wingo@pobox.com>
28882 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28883 activate_push down to the internal pad as well.
28885 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28887 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28889 * gst/gsttaginterface.c:
28890 Some documentation fixes (#307394 and #307397).
28892 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28894 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28896 * gst/gstvalue.c: (gst_value_intersect_list):
28897 Fix memleak (#309125).
28899 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28901 * docs/manual/advanced-dataaccess.xml:
28902 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28903 * docs/manual/basics-pads.xml:
28904 Add reference for filtered caps to above chapter.
28906 2005-06-30 Wim Taymans <wim@fluendo.com>
28908 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28909 (gst_bin_change_state):
28911 Lame attempt at making the state change function a bit
28914 2005-06-30 Wim Taymans <wim@fluendo.com>
28916 * docs/design/part-clocks.txt:
28917 * docs/design/part-element-sink.txt:
28918 * docs/design/part-events.txt:
28919 * docs/design/part-preroll.txt:
28920 * docs/design/part-states.txt:
28921 Some more tweeks and additions to the docs.
28923 2005-06-30 Wim Taymans <wim@fluendo.com>
28925 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28926 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28927 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28928 (gst_pad_check_pull_range), (gst_pad_get_range),
28929 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28931 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28932 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28933 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28934 (gst_pad_remove_buffer_probe):
28935 Removed atomic operations, use existing LOCK.
28936 Move exception handling out of main code path.
28938 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28940 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28941 (silly_return_true_function), (gst_pad_class_init),
28942 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28943 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28944 (gst_pad_send_event):
28945 Fix accumulator, add default value by using _emitv() instead
28946 of _emit() for signal emission.
28948 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28950 * docs/manual/advanced-dataaccess.xml:
28951 * examples/manual/Makefile.am:
28953 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28956 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28958 * gst/elements/gstfilesink.c: (gst_filesink_render):
28959 Simplify code so that we don't have to handle short
28960 writes and return GST_FLOW_ERROR if an error occured.
28962 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28964 * docs/gst/gstreamer-docs.sgml:
28965 Remove probes more.
28967 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28969 * docs/gst/gstreamer-sections.txt:
28970 * docs/gst/tmpl/gstpad.sgml:
28971 * docs/gst/tmpl/gstprobe.sgml:
28973 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28974 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28975 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28976 (gst_pad_push_event), (gst_pad_send_event):
28978 * gst/gstutils.c: (gst_pad_add_data_probe),
28979 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28980 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28981 (gst_pad_remove_buffer_probe):
28983 Remove old probes, add new g-signal-based probes and some utility
28986 2005-06-29 Edward Hervey <edward@fluendo.com>
28988 * gst/gstelementfactory.c:
28991 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28992 the definition to the header file.
28994 2005-06-29 Andy Wingo <wingo@pobox.com>
28996 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28997 plugins from the source directory.
28999 2005-06-29 Wim Taymans <wim@fluendo.com>
29001 * docs/gst/tmpl/gstbuffer.sgml:
29002 * docs/gst/tmpl/gstclock.sgml:
29003 Some fixings for blantently wrong text.
29005 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29007 * check/Makefile.am:
29008 * gst/gst.c: (add_path_func), (init_pre):
29009 * gst/gstregistry.c: (gst_registry_add_path):
29010 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29011 only scan the GST_PLUGIN_PATH locations, and not add
29014 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
29016 * docs/gst/gstreamer-sections.txt:
29017 * docs/gst/tmpl/gstbasesrc.sgml:
29018 * gst/gstelement.c:
29019 * gst/gstelement.h:
29024 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29026 * docs/manual/advanced-autoplugging.xml:
29027 Fix autoplugging example.
29029 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29031 * docs/manual/advanced-autoplugging.xml:
29032 * docs/manual/mime-world.fig:
29033 Try to get autoplugging working, fix type detection. Fix text
29034 in hello-world image.
29036 2005-06-29 Wim Taymans <wim@fluendo.com>
29038 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29039 (gst_base_sink_change_state):
29043 map SIGNAL and BROADCAST to the right function.
29046 Remove redundant braces.
29048 * gst/gstpad.c: (gst_pad_set_caps):
29049 Don't call setcaps function when reseting caps to NULL.
29051 * gst/gstsystemclock.c: (gst_system_clock_dispose),
29052 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29053 (gst_system_clock_id_unschedule):
29054 Use BROADCAST as this is what we do.
29056 2005-06-29 Wim Taymans <wim@fluendo.com>
29058 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29059 We are actually prerolling before commiting the state
29062 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29064 * docs/manual/advanced-clocks.xml:
29065 * docs/manual/advanced-interfaces.xml:
29066 * docs/manual/advanced-metadata.xml:
29067 * docs/manual/advanced-position.xml:
29068 * docs/manual/advanced-schedulers.xml:
29069 * docs/manual/advanced-threads.xml:
29070 * docs/manual/appendix-porting.xml:
29071 * docs/manual/basics-bins.xml:
29072 * docs/manual/basics-bus.xml:
29073 * docs/manual/basics-elements.xml:
29074 * docs/manual/basics-helloworld.xml:
29075 * docs/manual/basics-pads.xml:
29076 * docs/manual/highlevel-components.xml:
29077 * docs/manual/manual.xml:
29078 * docs/manual/thread.fig:
29079 Update (until threads/scheduling) Application Development Manual;
29080 remove GstThread, add GstBus, add simple porting checklist, add
29081 documentation for tag writing, clocks, make all examples until this
29082 part compile and run.
29083 * examples/manual/Makefile.am:
29084 Update from changes to Application Development Manual; add bus
29085 example, remove thread example.
29087 2005-06-28 Wim Taymans <wim@fluendo.com>
29089 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29090 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29091 (gst_bus_source_dispatch):
29092 Add debugging messages.
29093 Make internal methods static.
29094 Handle the case where the bus is flushed in the handler.
29096 * gst/gstelement.c: (gst_element_get_bus):
29097 Fix refcount in _get_bus();
29099 * gst/gstpipeline.c: (gst_pipeline_change_state),
29100 (gst_pipeline_get_clock_func):
29101 Clock refcounting fixes.
29102 Handle the case where preroll timed out more gracefully.
29104 * gst/gstsystemclock.c: (gst_system_clock_dispose):
29105 Clean up the internal thread in dispose. This is needed
29106 for subclasses that actually get disposed.
29108 * gst/schedulers/threadscheduler.c:
29109 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29110 (gst_thread_scheduler_dispose):
29111 Free thread pool in dispose.
29113 2005-06-28 Andy Wingo <wingo@pobox.com>
29115 * tests/network-clock-utils.scm (debug, print-event): New utils.
29117 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29118 (*packet-loss*): Unified loss probability.
29119 (network-time): Report out-of-band events.
29121 * tests/plot-data: Add support for out-of-band events. Hack it
29122 into this script instead of passing it down the pipe; should fix
29125 2005-06-28 Wim Taymans <wim@fluendo.com>
29127 * docs/gst/gstreamer.types:
29128 * docs/gst/tmpl/gstbasesrc.sgml:
29129 * docs/gst/tmpl/gstpad.sgml:
29132 2005-06-28 Wim Taymans <wim@fluendo.com>
29134 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29135 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29136 (gst_proxy_pad_do_fixatecaps):
29137 Correctly proxy the check_pull_range function.
29139 2005-06-28 Andy Wingo <wingo@pobox.com>
29141 * tests/network-clock.scm: Removed need for slib.
29143 2005-06-28 Wim Taymans <wim@fluendo.com>
29145 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29146 (gst_basesink_preroll_queue_flush):
29147 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29148 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29149 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29150 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29151 (gst_proxy_pad_set_property):
29154 * gst/gstqueue.c: (gst_queue_init):
29155 The deprecated pad loop function is removed now.
29157 2005-06-28 Andy Wingo <wingo@pobox.com>
29159 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29160 New parameters, simulate network packet loss.
29162 * tests/network-clock-utils.scm: Initialize the RNG.
29164 2005-06-28 Wim Taymans <wim@fluendo.com>
29166 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29167 (gst_basesink_event), (gst_basesink_deactivate):
29168 Flushing the preroll queue always needs to unlock the waiters.
29170 2005-06-28 Edward Hervey <edward@fluendo.com>
29172 * gst/gstpipeline.c: (gst_pipeline_send_event):
29173 Wheen a seek was successful on a pipeline, set the stream_time to the
29174 seek offset in order to have a synchronized stream_time.
29176 2005-06-28 Wim Taymans <wim@fluendo.com>
29178 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29179 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29180 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29181 (gst_proxy_pad_do_fixatecaps):
29182 Call wrapper function instead of just calling the function
29183 pointers. This takes care of any locking and whatmore.
29185 2005-06-28 Wim Taymans <wim@fluendo.com>
29187 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29188 (gst_pad_pull_range):
29190 CONNECTED -> LINKED.
29192 2005-06-28 Andy Wingo <wingo@pobox.com>
29194 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29195 source-munging commit!!!
29197 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29198 (gst_object_sink): Take gpointer arguments, not GstObject --
29199 avoids casts. Like GLib.
29201 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29204 2005-06-27 Andy Wingo <wingo@pobox.com>
29206 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29209 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29210 returns a sorted copy of the trace list.
29211 (gst_alloc_trace_print_live): New API, only prints traces with
29212 live objects. Sort the list.
29213 (gst_alloc_trace_print_all): Sort the list.
29214 (gst_alloc_trace_print): Align columns.
29216 * gst/elements/gstttypefindelement.c:
29217 * gst/elements/gsttee.c:
29218 * gst/base/gstbasesrc.c:
29219 * gst/base/gstbasesink.c:
29220 * gst/base/gstbasetransform.c:
29221 * gst/gstqueue.c: Adapt for pad activation changes.
29223 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29225 (gst_pipeline_dispose): Drop ref on sched.
29227 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29228 (gst_pad_activate_default): Push mode by default.
29229 (pre_activate_switch, post_activate_switch): New stubs, things to
29230 do before and after switching activation modes on pads.
29231 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29232 the pad's activate function to choose which mode to activate.
29233 Shortcut on deactivation and call the right function directly.
29234 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29236 (gst_pad_activate_push): New API, same for push mode.
29237 (gst_pad_set_activate_function)
29238 (gst_pad_set_activatepull_function)
29239 (gst_pad_set_activatepush_function): Setters for new API.
29241 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29242 Trace all miniobjects.
29243 (gst_mini_object_make_writable): Unref the arg if we copy, like
29244 gst_caps_make_writable.
29246 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29248 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29249 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29250 Adapt for new pad API.
29252 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29254 * gst/gstelement.h:
29255 * gst/gstelement.c (gst_element_iterate_src_pads)
29256 (gst_element_iterate_sink_pads): New API functions.
29258 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29259 should fold into gstiterator.c in some form.
29260 (gst_element_pads_activate): Simplified via use of fold and
29261 delegation of decisions to gstpad->activate.
29263 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29266 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29267 class once in init, like gstmessage. Didn't run into this issue
29268 but it seems correct. Don't initialize a trace, gstminiobject does
29271 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29272 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29274 (assert_live_count): New util function, uses alloc traces to check
29277 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29278 To be modified when unlink drops the internal pad.
29280 2005-06-27 Wim Taymans <wim@fluendo.com>
29282 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29283 (gst_bin_change_state):
29284 Cleanup the get_state() function a little, make sure it
29285 iterates the same set of elements.
29286 Added stub iterate_state_order().
29288 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29290 * docs/gst/gstreamer-docs.sgml:
29291 * docs/gst/gstreamer-sections.txt:
29292 * docs/gst/gstreamer.types:
29293 * docs/gst/tmpl/gstbasesink.sgml:
29294 * docs/gst/tmpl/gstbasesrc.sgml:
29295 * docs/gst/tmpl/gstbasetransform.sgml:
29296 * docs/gst/tmpl/gstelement.sgml:
29297 * docs/gst/tmpl/gstiterator.sgml:
29298 * gst/base/gstbasesrc.c:
29299 * gst/base/gstbasesrc.h:
29300 * gst/base/gstbasetransform.h:
29301 * gst/gstelement.c:
29302 * gst/gstiterator.h:
29303 adding basetransform and iterator docs
29305 2005-06-27 Andy Wingo <wingo@pobox.com>
29307 * docs/design/part-activation.txt: Notes on how activation should
29308 work -- not quite implemented yet.
29310 2005-06-25 Wim Taymans <wim@fluendo.com>
29312 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29313 At least get the chain function correct, needs more
29316 2005-06-25 Wim Taymans <wim@fluendo.com>
29318 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29319 (gst_basesink_handle_object), (gst_basesink_event),
29320 (gst_basesink_do_sync), (gst_basesink_handle_event),
29321 (gst_basesink_change_state):
29323 Right, two problems here: ghostpads don't take locks and
29324 glib _rec_mutex_lock_full() with depth==0 still locks.
29325 Catch illegal locking and g_warn them.
29327 2005-06-25 Wim Taymans <wim@fluendo.com>
29329 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29330 Have to check for completion now...
29332 2005-06-25 Wim Taymans <wim@fluendo.com>
29334 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29335 (gst_basesink_handle_object), (gst_basesink_event),
29336 (gst_basesink_do_sync), (gst_basesink_handle_event),
29337 (gst_basesink_change_state):
29339 Unlock STREAM_LOCK whatever the recursion was.
29341 2005-06-25 Wim Taymans <wim@fluendo.com>
29343 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29344 (gst_basesink_preroll_queue_empty),
29345 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29346 (gst_basesink_event), (gst_basesink_do_sync),
29347 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29348 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29349 (gst_basesink_change_state):
29350 Reworked the base sink, handle event and buffer serialisation
29351 correctly and removed possible deadlock.
29352 Handle EOS correctly.
29354 2005-06-25 Wim Taymans <wim@fluendo.com>
29356 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29357 (gst_pipeline_change_state):
29358 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29359 Allow elements to post EOS in the state change function.
29360 Fix up -launch, make it exit the poll loop when the
29361 pipeline actually changed state.
29362 Fix up warning parsing in -launch.
29364 2005-06-25 Wim Taymans <wim@fluendo.com>
29366 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29367 (gst_tee_sink_activate):
29368 Core takes STREAM_LOCK for us now.
29370 2005-06-25 Wim Taymans <wim@fluendo.com>
29372 * gst/gstelement.c: (gst_element_get_state_func),
29373 (gst_element_set_state):
29374 * gst/gstelement.h:
29375 * gst/gstmessage.c: (gst_message_parse_error),
29376 (gst_message_parse_warning):
29377 Keep track of current target state while performing a state
29378 change so that subclasses can do something interesting.
29379 Fix parsing of warning/error messages when GError is NULL.
29381 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29383 * docs/gst/Makefile.am:
29384 * docs/gst/gstreamer-docs.sgml:
29385 * docs/gst/gstreamer-sections.txt:
29386 * docs/gst/gstreamer.types:
29387 * docs/gst/tmpl/gstbasesink.sgml:
29388 * docs/gst/tmpl/gstbasesrc.sgml:
29389 * docs/gst/tmpl/gstbin.sgml:
29390 * docs/gst/tmpl/gstcompat.sgml:
29391 * docs/gst/tmpl/gstfakesink.sgml:
29392 * docs/gst/tmpl/gstfakesrc.sgml:
29393 * docs/gst/tmpl/gstfilesink.sgml:
29394 * docs/gst/tmpl/gstfilesrc.sgml:
29395 * docs/gst/tmpl/gstindex.sgml:
29396 * docs/manual/appendix-quotes.xml:
29397 * gst/base/gstbasesrc.h:
29398 * gst/elements/gstfakesrc.h:
29399 * gst/gstmessage.h:
29400 start pulling in base classes and elements in our docs
29402 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29404 * docs/gst/Makefile.am:
29405 * docs/libs/Makefile.am:
29406 fixed make distcheck with gtk-doc 1.3
29408 2005-06-23 Wim Taymans <wim@fluendo.com>
29410 * gst/gstelement.c: (gst_element_get_state_func),
29411 (gst_element_set_state), (gst_element_change_state):
29412 When the state did not change, also report NO_PREROLL
29415 2005-06-23 Wim Taymans <wim@fluendo.com>
29417 * gst/gstpad.c: (gst_pad_event_default):
29418 * gst/gstqueue.c: (gst_queue_loop):
29419 No unsafe task pausing please.
29421 2005-06-23 Wim Taymans <wim@fluendo.com>
29423 * gst/schedulers/threadscheduler.c:
29424 (gst_thread_scheduler_task_start),
29425 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29426 Ref the task before pushing it on the threadpool. This
29427 makes sure that we have a ref when the threadfunction is
29430 2005-06-23 Andy Wingo <wingo@pobox.com>
29432 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29433 offset is greater than the file's size.
29435 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29436 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29437 * gst/gstobject.c (gst_object_class_init): Make the class lock
29438 recursive. Wim won't let me drop deep_notify. Decodebin works
29439 again, whoopdy doo.
29441 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29442 internal pad, and hacks accordingly. Doesn't do it on the target
29443 pad because we change its caps. Probably catches all cases of
29445 (gst_ghost_pad_set_property): Connect to notify::caps as
29448 * tests/network-clock.scm (plot-simulation): Pipe data to the
29449 elite python skript.
29451 * tests/network-clock-utils.scm (define-parameter): New macro,
29452 defines a parameter that can be set via the command line.
29453 (set-parameter!, parse-parameter-arguments): Command line args
29456 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29459 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29461 * gst/elements/gsttypefindelement.c:
29462 (gst_type_find_element_handle_event):
29463 Don't restart typefinding on a discont.
29464 * gst/gstelement.c: (gst_element_set_state):
29465 Debug spelling fix.
29466 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29467 Allow changing mode of an active pad.
29468 Debug output fixes.
29469 * gst/registries/gstlibxmlregistry.c: (load_feature):
29470 Don't cast a static pad template to a normal pad template.
29472 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29474 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29475 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29476 remove gst_strtoll completely, since it didn't actually do
29477 anything more than what g_ascii_strtoull already does.
29478 check for range errors when deserializing
29479 do a cast for the unsigned cases; but further fixing needs
29480 a decision on what the interpretation of "(int)" and
29481 deserialization should be for values that fall outside the
29482 type's boundaries (ie, refuse, or interpret as casting)
29484 2005-06-23 Wim Taymans <wim@fluendo.com>
29486 * check/Makefile.am:
29487 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29488 * docs/design/part-live-source.txt:
29489 * docs/design/part-states.txt:
29490 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29491 (gst_basesrc_set_live), (gst_basesrc_is_live),
29492 (gst_basesrc_get_range), (gst_basesrc_activate),
29493 (gst_basesrc_change_state):
29494 * gst/base/gstbasesrc.h:
29495 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29496 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29497 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29498 * gst/gstelement.c: (gst_element_get_state_func),
29499 (gst_element_set_state):
29500 * gst/gstelement.h:
29502 * tools/gst-launch.c: (event_loop), (main):
29503 Added support for live sources and other elements that
29505 Updated design docs, added live-source design doc.
29506 Implemented live source functionality in basesrc
29507 Fix error condition in _bin_get_state()
29508 Implement live source handling in -launch.
29509 Added check for live sources.
29510 Fixed case in GstBin where elements were changed state
29514 2005-06-23 Andy Wingo <wingo@pobox.com>
29516 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29517 borken refcounting.
29519 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29520 gst_caps_replace takes care of this for us.
29522 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29523 gst_pad_set_caps on the target, not just its setcaps() function.
29525 * tests/network-clock.scm:
29526 * tests/network-clock-utils.scm: A network clock simulator.
29527 Something of an algorithmic testbed before doing something in C.
29529 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29531 * check/Makefile.am:
29532 * check/gst/capslist.h:
29533 copy over from 0.8, and add two with bitmasks specified with
29535 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29536 add test to parse everything from capslist.h
29537 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29539 add test for structure deserialization
29540 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29541 add tests for deserialization of strings to int types
29542 * gst/gststructure.c: (gst_structure_nth_field_name):
29543 * gst/gststructure.h:
29544 add a way to get the name of a field referenced by index
29545 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29546 instead of checking if the resulting long long lies between
29547 min and max, we check if the long long would fit into
29548 a number of bytes for the final type.
29549 This fixes cases where a string represents 2^32 - 1, which
29550 when cast to int would be the (valid) -1, but is bigger than
29553 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29555 * gst/parse/grammar.y:
29556 add a log line for type deserialization
29558 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29560 * check/gst/gstvalue.c: (START_TEST):
29561 * gst/gstvalue.c: (gst_value_deserialize):
29562 return long long, not int, so gint64 deserialization actually
29563 works. Is there any flag that makes the compiler check this ?
29566 2005-06-22 Wim Taymans <wim@fluendo.com>
29569 Added convenience macros for setting buffers in GValue.
29571 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29573 * check/gst/.cvsignore:
29574 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29575 add a test deserializing int64, and comment part out because
29578 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29580 * check/Makefile.am:
29581 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29582 * testsuite/Makefile.am:
29583 * testsuite/caps/Makefile.am:
29584 * testsuite/caps/value_serialize.c:
29585 * testsuite/test_gst_init.c:
29586 move a value_serialize test over
29588 2005-06-20 Wim Taymans <wim@fluendo.com>
29593 * gst/gstvalue.c: (gst_value_compare_buffer),
29594 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29595 (gst_value_compare_flags), (gst_value_serialize_flags),
29596 (gst_value_deserialize_flags), (_gst_value_initialize):
29597 Fix serialisation of buffers, they are not boxed types anymore
29599 2005-06-20 Wim Taymans <wim@fluendo.com>
29601 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29602 Testcase to show error in buffer-on-caps serialisation.
29604 2005-06-20 Andy Wingo <wingo@pobox.com>
29606 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29607 will be adding to later.
29609 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29610 if its socks fill with rocks.
29611 (gst_system_clock_obtain): Set the name on object construction.
29612 Avoid double-checked locking.
29614 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29616 * gst/gsturi.c: (gst_element_make_from_uri):
29617 Fix potential endless loop.
29619 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29621 * check/Makefile.am:
29623 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29625 move over from testsuite dir and clean up
29628 * testsuite/Makefile.am:
29629 * testsuite/tags/.cvsignore:
29630 * testsuite/tags/Makefile.am:
29631 * testsuite/tags/merge.c:
29632 remove testsuite/tags
29634 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29636 * docs/gst/gstreamer-sections.txt:
29637 * docs/gst/tmpl/gstenumtypes.sgml:
29638 * win32/gstenumtypes.c:
29639 clean up documentation build a little
29641 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29643 * check/gstcheck.h:
29644 add macros for checking refcounts on objects and caps
29645 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29646 add some more unit tests
29647 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29648 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29649 fix leaked refcounts (I hope :)) so unittest works
29653 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29655 * configure.ac: back to HEAD
29657 === release 0.9.1 ===
29659 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29665 2005-06-17 Andy Wingo <wingo@pobox.com>
29667 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29668 assert; it's always possible that the pad gets deactivated in
29669 between the checks in gstpad.c and the implementation. Rely on
29670 finish_preroll() to return a FLUSHING or similar instead of on the
29673 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29674 clock and post an EOS message if we come out of finish_preroll in
29677 2005-06-16 David Schleef <ds@schleef.org>
29679 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29680 (gst_capsfilter_set_property): Allow NULL as possible value
29681 for filter_caps property, indicating GST_CAPS_ANY.
29683 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29685 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29687 * gst/schedulers/Makefile.am:
29689 * gstreamer.spec.in:
29692 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29694 * gstreamer.spec.in:
29697 2005-06-08 Andy Wingo <wingo@pobox.com>
29699 * gst/gstutils.c: RPAD fixes all around.
29700 (gst_element_link_pads): Refcounting fixes.
29702 * tools/gst-inspect.c:
29703 * tools/gst-xmlinspect.c:
29705 * gst/base/gsttypefindhelper.c:
29706 * gst/base/gstbasesink.c:
29707 * gst/gstqueue.c: RPAD fixes.
29709 * gst/gstghostpad.h:
29710 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29711 pads. The tricky thing is they provide both source and sink
29712 interfaces, since they proxy the internal pad for the external
29713 pad, and vice versa. Implement with lower-level ProxyPad objects,
29714 with the interior proxy pad as a child of the exterior ghost pad.
29715 Should write a doc on this.
29717 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29718 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29721 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29722 pads are real pads. No ghost pads in this file. Not documenting
29723 the myriad s/RPAD/PAD/ and REALIZE fixes.
29724 (gst_pad_class_init): Add properties for "direction" and
29725 "template". Both are construct-only, so they can't change during
29726 the life of the pad. Fixes properly deriving from GstPad.
29727 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29728 derived objects, just set properties when creating the objects via
29730 (gst_pad_get_parent): Implement as a function, return NULL if the
29731 parent is not an element.
29732 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29733 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29735 * gst/gstobject.c (gst_object_class_init): Make name a construct
29736 property. Don't set it in the object init.
29738 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29739 with UNKNOWN direction.
29740 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29741 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29742 (gst_element_remove_pad): Remove ghost-pad special cases.
29743 (gst_element_pads_activate): Remove rpad cruft.
29745 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29746 catch the pad's-parent-not-an-element case.
29748 * gst/gst.h: Include gstghostpad.h.
29750 * gst/gst.c (init_post): No more real, ghost pads.
29752 * gst/Makefile.am: Add gstghostpad.[ch].
29754 * check/Makefile.am:
29755 * check/gst/gstbin.c:
29756 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29757 into a bin creates ghost pads, and that the refcounts are right.
29758 Partly moved from gstbin.c.
29760 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29762 * check/gst-libs/.cvsignore:
29763 * check/gst/.cvsignore:
29764 * check/pipelines/.cvsignore:
29766 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29767 (START_TEST), (cleanup_suite), (main):
29768 add some tests related to cleanup after running pipelines
29770 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29772 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29773 add a testsuite for GstBuffer
29775 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29777 * gst/gstminiobject.h:
29778 add defines for accessing the refcount
29780 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29782 * Makefile.am: added support for html unit test coverage reports
29784 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29786 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29787 Free existing caps if the capsfilter changes. Add a FIXME about
29788 setting those caps on the pads.
29790 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29791 Before adding a ghost pad to a parent bin, check that there isn't
29792 already one for the element on the bin. Prevents infinite recursion
29793 when using decodebin in parse pipelines. Andy says he'll rewrite the
29794 way this works anyway, so ignore the hack.
29796 2005-06-02 Andy Wingo <wingo@pobox.com>
29798 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29799 file size, pass it on to the type find helper.
29801 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29802 segment_start and segment_end properly according to the seek
29803 method. Segment_end is still a bit flaky because offset can be
29804 negative for CUR and END cases, but it takes -1 as an "unset"
29807 2005-06-02 Wim Taymans <wim@fluendo.com>
29809 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29810 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29811 (gst_basesink_activate):
29812 * gst/base/gstbasesink.h:
29813 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29814 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29815 (gst_pad_query), (gst_pad_start_task):
29817 * gst/gstqueue.c: (gst_queue_bufferalloc),
29818 (gst_queue_handle_sink_event), (gst_queue_chain):
29819 Bufferalloc: return GstFlowReturn to more accuratly report
29820 why allocation failed.
29822 2005-06-02 Wim Taymans <wim@fluendo.com>
29824 * gst/gstpipeline.c: (gst_pipeline_send_event):
29825 Take snapshot of state without blocking.
29827 2005-06-02 Wim Taymans <wim@fluendo.com>
29829 * docs/design/part-TODO.txt:
29830 * docs/design/part-caps.txt:
29831 * docs/design/part-clocks.txt:
29832 * docs/design/part-negotiation.txt:
29833 * docs/design/part-preroll.txt:
29836 2005-05-30 Wim Taymans <wim@fluendo.com>
29838 * gst/elements/gstidentity.c: (gst_identity_event),
29839 (gst_identity_transform), (gst_identity_get_property):
29840 Protect last_message property as it is accessed from
29843 2005-05-30 Wim Taymans <wim@fluendo.com>
29845 * gst/gstelement.c: (gst_element_init),
29846 (gst_element_pads_activate), (gst_element_change_state):
29847 Slicker pad activation code.
29849 2005-05-30 Wim Taymans <wim@fluendo.com>
29852 * gst/gstelement.h:
29853 * gst/gstelementfactory.h:
29855 Move elementfactory methods to separate .h file.
29857 2005-05-30 Wim Taymans <wim@fluendo.com>
29859 * docs/design/part-overview.txt:
29860 * gst/gstsystemclock.h:
29861 Small typo fixes, doc updates.
29863 2005-05-30 Wim Taymans <wim@fluendo.com>
29865 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29866 (init_popt_callback):
29867 Remove cpu-opt flag.
29869 2005-05-30 Wim Taymans <wim@fluendo.com>
29871 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29872 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29874 Avoid typechecking in places where not needed.
29875 Added accessor for malloc_data.
29877 2005-05-30 Wim Taymans <wim@fluendo.com>
29879 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29880 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29881 (gst_pad_configure_sink), (gst_pad_configure_src),
29882 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29883 (gst_pad_start_task):
29884 Propagate errors from _set_caps() in configure_src/sink
29885 functions instead of returning TRUE.
29886 FLUSH events can travel up and downstream
29889 2005-05-30 Wim Taymans <wim@fluendo.com>
29891 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29892 (gst_basesink_activate):
29893 Handle EOS in preroll.
29895 2005-05-30 Wim Taymans <wim@fluendo.com>
29897 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29898 (gst_queue_loop), (gst_queue_handle_src_event):
29899 Remove old pieces of code
29900 Flushing the queue in an upstream event is a very bad idea.
29902 2005-05-26 Andy Wingo <wingo@pobox.com>
29904 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29905 gst_value_set_mini_object so as to add a ref on the object (which
29906 will be removed when the value is unset).
29908 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29909 arg type in ::handoff.
29911 * gst/gstelement.c (gst_element_change_state): Also deactivate
29912 pads in READY->NULL, just in case the element didn't make it to
29913 PAUSED. Wingo tested, Wim approved.
29915 2005-05-26 Wim Taymans <wim@fluendo.com>
29917 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29918 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29919 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29920 A flushing pad cannot be used to alloc_buffer from.
29922 2005-05-26 Wim Taymans <wim@fluendo.com>
29924 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29925 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29926 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29927 (gst_bus_create_watch), (gst_bus_add_watch_full):
29929 Implement a real GSource and use g_main_context_wakeup() to
29930 signal new messages instead of the socketpair.
29932 2005-05-25 Wim Taymans <wim@fluendo.com>
29934 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29935 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29936 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29937 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29938 (gst_pad_send_event), (gst_pad_start_task):
29939 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29940 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29941 (gst_queue_sink_activate), (gst_queue_src_activate),
29942 (gst_queue_change_state):
29944 Fix state changes for non sinks. We now change sinks, then elements
29945 with unconnected srcpads, then the rest.
29946 More efficient queue unlocking in flush and state changes.
29947 Set the pad activate mode even if it does not have an activate
29950 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29952 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29953 Don't go in pull mode for non-seekable sources.
29954 * gst/elements/gsttypefindelement.h:
29955 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29956 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29957 (free_entry), (stop_typefinding),
29958 (gst_type_find_element_handle_event), (find_peek),
29959 (gst_type_find_element_chain), (do_pull_typefind),
29960 (gst_type_find_element_change_state):
29961 Allow typefinding (w/o seeking) in push-mode, simplified version
29962 of what was in 0.8.
29963 * gst/gstutils.c: (gst_buffer_join):
29965 gst_buffer_join() from 0.8.
29967 2005-05-25 Wim Taymans <wim@fluendo.com>
29969 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29970 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29971 (gst_pad_send_event), (gst_pad_start_task):
29972 Disable attempt at mode switching until it is figured out.
29974 2005-05-25 Wim Taymans <wim@fluendo.com>
29976 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29977 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29978 (gst_basesink_finish_preroll), (gst_basesink_chain),
29979 (gst_basesink_loop), (gst_basesink_activate),
29980 (gst_basesink_change_state):
29981 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29982 (gst_basesrc_get_range), (gst_basesrc_loop),
29983 (gst_basesrc_activate):
29984 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29985 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29986 (gst_real_pad_init), (gst_real_pad_set_property),
29987 (gst_real_pad_get_property), (gst_pad_set_active),
29988 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29989 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29990 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29991 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29992 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29993 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29994 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29995 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29996 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29997 (gst_pad_stop_task):
29999 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30000 (gst_queue_loop), (gst_queue_src_activate):
30001 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30002 (gst_task_get_state):
30004 * gst/schedulers/threadscheduler.c:
30005 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30006 Implement gst_pad_pause/start/stop_task(), take STREAM lock
30008 Remove ACTIVE pad flag, use FLUSHING everywhere
30009 Added _pad_chain(), _pad_get_range() to call chain/getrange
30011 Add locks around IS_FLUSHING when reading.
30012 Take STREAM lock in chain(), get_range() functions so plugins
30013 don't need to take it anymore.
30017 2005-05-25 Wim Taymans <wim@fluendo.com>
30019 * tools/gst-launch.c: (event_loop):
30020 Unref message after using its contents instead of
30023 2005-05-24 Wim Taymans <wim@fluendo.com>
30025 * docs/design/draft-ghostpads.txt:
30026 * docs/design/draft-push-pull.txt:
30027 * docs/design/draft-query.txt:
30028 * docs/design/part-overview.txt:
30029 Docs updates, added general overview doc.
30031 2005-05-21 David Schleef <ds@schleef.org>
30033 * docs/gst/tmpl/old/GstBin.sgml:
30034 * docs/gst/tmpl/old/GstBuffer.sgml:
30035 * docs/gst/tmpl/old/GstCaps.sgml:
30036 * docs/gst/tmpl/old/GstClock.sgml:
30037 * docs/gst/tmpl/old/GstCompat.sgml:
30038 * docs/gst/tmpl/old/GstData.sgml:
30039 * docs/gst/tmpl/old/GstElement.sgml:
30040 * docs/gst/tmpl/old/GstEvent.sgml:
30041 * docs/gst/tmpl/old/GstIndex.sgml:
30042 * docs/gst/tmpl/old/GstStructure.sgml:
30043 * docs/gst/tmpl/old/GstTag.sgml:
30044 * docs/gst/tmpl/old/cothreads.sgml:
30045 * docs/gst/tmpl/old/cothreads_compat.sgml:
30046 * docs/gst/tmpl/old/gettext.sgml:
30047 * docs/gst/tmpl/old/gobject2gtk.sgml:
30048 * docs/gst/tmpl/old/grammar.tab.sgml:
30049 * docs/gst/tmpl/old/gst-i18n-app.sgml:
30050 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30051 * docs/gst/tmpl/old/gst_private.sgml:
30052 * docs/gst/tmpl/old/gstaggregator.sgml:
30053 * docs/gst/tmpl/old/gstarch.sgml:
30054 * docs/gst/tmpl/old/gstatomic_impl.sgml:
30055 * docs/gst/tmpl/old/gstbufferstore.sgml:
30056 * docs/gst/tmpl/old/gstdata_private.sgml:
30057 * docs/gst/tmpl/old/gstdisksink.sgml:
30058 * docs/gst/tmpl/old/gstdisksrc.sgml:
30059 * docs/gst/tmpl/old/gstelementfactory.sgml:
30060 * docs/gst/tmpl/old/gstextratypes.sgml:
30061 * docs/gst/tmpl/old/gstfakesink.sgml:
30062 * docs/gst/tmpl/old/gstfakesrc.sgml:
30063 * docs/gst/tmpl/old/gstfdsink.sgml:
30064 * docs/gst/tmpl/old/gstfdsrc.sgml:
30065 * docs/gst/tmpl/old/gstfilesink.sgml:
30066 * docs/gst/tmpl/old/gstfilesrc.sgml:
30067 * docs/gst/tmpl/old/gsthttpsrc.sgml:
30068 * docs/gst/tmpl/old/gstidentity.sgml:
30069 * docs/gst/tmpl/old/gstindexfactory.sgml:
30070 * docs/gst/tmpl/old/gstmarshal.sgml:
30071 * docs/gst/tmpl/old/gstmd5sink.sgml:
30072 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30073 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30074 * docs/gst/tmpl/old/gstpadtemplate.sgml:
30075 * docs/gst/tmpl/old/gstpipefilter.sgml:
30076 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30077 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30078 * docs/gst/tmpl/old/gstshaper.sgml:
30079 * docs/gst/tmpl/old/gstspider.sgml:
30080 * docs/gst/tmpl/old/gstspideridentity.sgml:
30081 * docs/gst/tmpl/old/gststatistics.sgml:
30082 * docs/gst/tmpl/old/gsttee.sgml:
30083 * docs/gst/tmpl/old/gsttimecache.sgml:
30084 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30085 * docs/gst/tmpl/old/gstxmlregistry.sgml:
30086 * docs/gst/tmpl/old/gthread-cothreads.sgml:
30087 * docs/gst/tmpl/old/types.sgml:
30088 I didn't intend to add these or check them in.
30090 2005-05-19 David Schleef <ds@schleef.org>
30092 * configure.ac: Use -no-common everywhere. In a sane world, it
30093 would be the default in libtool, because without it, you can't
30094 build DLLs on Windows.
30095 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30096 * docs/gst/gstreamer-sections.txt:
30097 * docs/gst/tmpl/gstcpu.sgml:
30098 * docs/gst/tmpl/gstdata.sgml:
30099 * docs/gst/tmpl/gstthread.sgml:
30101 2005-05-19 David Schleef <ds@schleef.org>
30103 * gst/gstminiobject.c: (gst_value_set_mini_object),
30104 (gst_value_take_mini_object), (gst_value_get_mini_object):
30105 * gst/gstminiobject.h: Add GValue set/get functions.
30107 2005-05-19 Wim Taymans <wim@fluendo.com>
30109 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30110 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30111 (gst_subbuffer_init), (gst_buffer_is_span_fast):
30113 * gst/gstbus.c: (gst_bus_post):
30114 * gst/gstelement.c: (gst_element_get_random_pad):
30115 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30116 Make subbufer unref the parent in finalize.
30117 some more debugging info.
30120 2005-05-19 Wim Taymans <wim@fluendo.com>
30122 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30123 (gst_basesink_init), (gst_basesink_finalize),
30124 (gst_basesink_activate), (gst_basesink_change_state):
30125 Don't free preroll queue too early.
30127 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30131 Hi, I'm outdated. Please shoot me.
30133 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30135 * gst/gstpipeline.c: (gst_pipeline_send_event):
30136 Do not access variables after they have been deleted.
30138 2005-05-19 Wim Taymans <wim@fluendo.com>
30140 * tools/gst-inspect.c: (print_plugin_features):
30141 A plugin feature does unfortunatly not use the
30144 2005-05-18 Wim Taymans <wim@fluendo.com>
30146 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30147 Port _span() functions to new subbuffers.
30149 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30151 * gst/gstbin.c: (gst_bin_add_func):
30152 Fix clock settery in bins when adding kids after the clock has
30155 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30157 * gst/elements/gstidentity.c: (gst_identity_class_init):
30158 Workaround until signals support GstMiniObject.
30160 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30163 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30165 2005-05-18 Wim Taymans <wim@fluendo.com>
30167 * gst/base/Makefile.am:
30168 * gst/base/gstadapter.c: (gst_adapter_base_init),
30169 (gst_adapter_class_init), (gst_adapter_init),
30170 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30171 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30172 (gst_adapter_flush), (gst_adapter_available),
30173 (gst_adapter_available_fast):
30174 * gst/base/gstadapter.h:
30175 Ported and added adapter to the base classes.
30177 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30180 * gst/gstmessage.c:
30181 Make sure the class is reffed/unreffed once before threads can be
30182 used. Fixes #304551.
30184 2005-05-17 Wim Taymans <wim@fluendo.com>
30186 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30187 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30188 * gst/gstminiobject.c: (gst_mini_object_get_type),
30189 (gst_mini_object_free):
30190 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30191 (gst_pad_push), (gst_pad_push_event):
30192 * gst/gstqueue.c: (gst_queue_change_state):
30193 Don't queue buffers in basesink when we are flushing.
30194 Unref buffer when flushing in basesink.
30195 Flush queue when going to READY
30196 Unref buffer when _push() returns an error.
30197 Don't free MiniObject instance when refcount is incremented
30198 in _finalize() so that we can recover objects.
30200 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30202 * docs/manual/advanced-schedulers.xml:
30203 * docs/manual/appendix-checklist.xml:
30204 * docs/pwg/advanced-clock.xml:
30205 * docs/pwg/advanced-interfaces.xml:
30206 * docs/pwg/advanced-request.xml:
30207 * docs/pwg/advanced-types.xml:
30208 * docs/pwg/intro-preface.xml:
30209 * examples/plugins/example.c: (gst_example_get_type),
30210 (gst_example_class_init), (gst_example_chain),
30211 (gst_example_set_property), (gst_example_get_property),
30212 (gst_example_change_state), (plugin_init):
30213 * examples/plugins/example.h:
30216 2005-05-17 Wim Taymans <wim@fluendo.com>
30218 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30219 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30220 * gst/gstqueue.c: (gst_queue_change_state):
30221 Clear queue when going to READY.
30222 Remove IN_SETCAPS flag too.
30224 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30226 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30227 Remove implicit cast from gboolean to GstElementStateReturn;
30228 make sure we still return failure in paused => ready case if
30229 the parent class fails to change state and our own stop
30232 2005-05-17 Wim Taymans <wim@fluendo.com>
30234 * tools/gst-launch.c: (event_loop):
30235 Message was unreffed too soon.
30237 2005-05-16 Andy Wingo <wingo@pobox.com>
30239 * gst/gstbin.c (sink_iterator_filter): Err... um...
30241 * check/gst/gstbin.c (test_ghost_pads): New test for the
30242 ghosting-if-elements-not-in-same-bin behavior.
30244 2005-05-16 David Schleef <ds@schleef.org>
30246 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30247 accessing refcount directly.
30249 2005-05-15 David Schleef <ds@schleef.org>
30251 * check/Makefile.am: remove GstData checks
30252 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30253 * gst/Makefile.am: add miniobject, remove data
30254 * gst/gst.h: add miniobject, remove data
30255 * gst/gstdata.c: remove
30256 * gst/gstdata.h: remove
30257 * gst/gstdata_private.h: remove
30258 * gst/gsttypes.h: remove GstEvent and GstMessage
30259 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30260 * gst/gstmarshal.list: change BOXED -> OBJECT
30262 Implement GstMiniObject.
30263 * gst/gstminiobject.c:
30264 * gst/gstminiobject.h:
30266 Modify to be subclasses of GstMiniObject.
30267 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30268 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30269 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30270 (gst_subbuffer_get_type), (gst_subbuffer_init),
30271 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30274 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30275 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30276 (_gst_event_copy), (gst_event_new):
30278 * gst/gstmessage.c: (_gst_message_initialize),
30279 (gst_message_get_type), (gst_message_class_init),
30280 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30281 (gst_message_new), (gst_message_new_error),
30282 (gst_message_new_warning), (gst_message_new_tag),
30283 (gst_message_new_state_changed), (gst_message_new_application):
30284 * gst/gstmessage.h:
30285 * gst/gstprobe.c: (gst_probe_perform),
30286 (gst_probe_dispatcher_dispatch):
30288 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30289 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30290 (_gst_query_copy), (gst_query_new):
30292 Update elements for GstData -> GstMiniObject changes
30294 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30295 (gst_queue_chain), (gst_queue_loop):
30296 * gst/elements/gstbufferstore.c:
30297 (gst_buffer_store_add_buffer_func),
30298 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30299 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30300 (gst_fakesink_render):
30301 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30302 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30303 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30304 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30305 (gst_filesrc_create_read):
30306 * gst/elements/gstidentity.c: (gst_identity_class_init):
30307 * gst/elements/gsttypefindelement.c:
30308 (gst_type_find_element_src_event), (free_entry_buffers),
30309 (gst_type_find_element_handle_event):
30310 * libs/gst/dataprotocol/dataprotocol.c:
30311 (gst_dp_header_from_buffer):
30312 * libs/gst/dataprotocol/dataprotocol.h:
30313 * libs/gst/dataprotocol/dp-private.h:
30315 2005-05-15 David Schleef <ds@schleef.org>
30317 * gst/elements/gstelements.c: Don't include headers that were
30320 2005-05-15 David Schleef <ds@schleef.org>
30322 * gst/elements/Makefile.am: Remove some elements that don't
30323 need to be in the core (or even exist at all).
30324 * gst/elements/gstaggregator.c:
30325 * gst/elements/gstaggregator.h:
30326 * gst/elements/gstmd5sink.c:
30327 * gst/elements/gstmd5sink.h:
30328 * gst/elements/gstmultifilesrc.c:
30329 * gst/elements/gstmultifilesrc.h:
30330 * gst/elements/gstpipefilter.c:
30331 * gst/elements/gstpipefilter.h:
30332 * gst/elements/gstshaper.c:
30333 * gst/elements/gstshaper.h:
30334 * gst/elements/gststatistics.c:
30335 * gst/elements/gststatistics.h:
30336 * po/POTFILES.in: Remove above files.
30338 2005-05-14 Andy Wingo <wingo@pobox.com>
30340 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30341 so as to get the refs right.
30342 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30343 unreffing objects that don't pass the filter.
30345 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30346 gst_element_set_bus.
30347 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30348 normal cases, this will destroy the bus.
30350 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30353 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30356 2005-05-13 Andy Wingo <wingo@pobox.com>
30358 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30359 gst_pad_link, call pad_link_maybe_ghosting,
30360 (pad_link_maybe_ghosting): Links pads, making sure that the
30361 elements being linked are in the same bin.
30362 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30363 Helpers for pad_link_maybe_ghosting.
30365 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30368 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30370 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30372 * docs/design/part-element-source.txt:
30375 2005-05-12 Wim Taymans <wim@fluendo.com>
30377 * gst/base/gstbasesink.c: (gst_basesink_init),
30378 (gst_basesink_activate):
30379 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30380 (gst_basesrc_is_seekable):
30381 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30382 (bin_element_is_sink), (gst_bin_change_state):
30383 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30384 * gst/gstelement.h:
30385 Identify sinks by their flag to avoid overly complicated
30387 Do state changes even for elements not reachable from the
30389 BaseSink is a sink now :)
30390 Some more debugging info in the basesrc.
30393 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30395 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30396 Implement _query on a bin, similar to _send_event.
30398 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30400 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30401 Discont event offset format should be GST_FORMAT_BYTES,
30402 not GST_FORMAT_TIME.
30404 2005-05-12 Wim Taymans <wim@fluendo.com>
30406 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30407 Same fix as Ronald's but without the signal.
30409 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30411 * gst/gstutils.c: (gst_element_query_position):
30412 No, an element is not a pad.
30414 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30416 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30417 (gst_bin_get_state):
30418 If a child is removed from a bin while we remove the child from
30419 the bin and while we're retrieving its state, signal this to the
30420 get_state function so we abort the wait (instead of waiting for
30421 a timeout) and can immediately re-iterate over all other elements.
30423 2005-05-12 Wim Taymans <wim@fluendo.com>
30425 * gst/base/Makefile.am:
30426 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30427 (gst_basesrc_start):
30428 * gst/base/gstbasesrc.h:
30429 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30430 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30431 (gst_pushsrc_init), (gst_pushsrc_create):
30432 * gst/base/gstpushsrc.h:
30433 Added is_seekable to BaseSrc
30434 Added simple PushSrc.
30436 2005-05-11 Wim Taymans <wim@fluendo.com>
30438 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30439 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30440 (gst_element_link_pads), (gst_element_query_position),
30441 (gst_element_query_convert), (intersect_caps_func),
30442 (gst_pad_query_position), (gst_pad_query_convert):
30443 Fix refcounting in utils function.
30444 No point in trying to activate a pad when it's added, it could
30445 be added from the state change function and then we deadlock, the
30446 element has to decide what to do.
30448 2005-05-10 Andy Wingo <wingo@pobox.com>
30450 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30451 *all* the arguments.
30453 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30454 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30455 lock (according to the docs -- if this is wrong change the docs).
30457 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30458 flush messages in the NULL state.
30460 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30461 message immediately and return.
30462 (gst_bus_set_flushing): New function. If a bus is flushing, it
30463 flushes out any queued messages and immediately unrefs new
30464 messages. This is so when an element goes to NULL, all of the
30465 unhandled messages coming from it can be freed, and their
30466 references to the element dropped. In other words: message source
30467 ref considered harmful :P
30469 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30470 we're finished with it.
30472 * gst/gstmessage.c (gst_message_new_state_changed):
30474 2005-05-10 Wim Taymans <wim@fluendo.com>
30476 * gst/gstvalue.c: (gst_value_compare_flags),
30477 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30478 (_gst_value_initialize):
30479 Added flags serialize/deserialize/compare code.
30481 2005-05-09 Andy Wingo <wingo@pobox.com>
30483 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30484 Intersect the peer's caps with our caps.
30486 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30488 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30489 * gst/elements/gsttypefindelement.c: (find_peek):
30490 Handle negative offsets better. Fixes decodebin.
30492 2005-05-09 Wim Taymans <wim@fluendo.com>
30494 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30495 (gst_base_transform_event):
30496 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30497 Implement accept_caps.
30498 Fix silly lock/unlock mismatch in base class.
30500 2005-05-09 Wim Taymans <wim@fluendo.com>
30502 * docs/design/draft-push-pull.txt:
30503 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30504 * gst/elements/gstfilesink.c: (gst_filesink_init),
30505 (gst_filesink_query):
30506 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30507 (gst_type_find_handle_src_query), (find_element_get_length):
30508 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30509 * gst/gstelement.h:
30510 * gst/gstmessage.c:
30511 * gst/gstmessage.h:
30512 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30513 (gst_real_pad_get_caps_unlocked),
30514 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30515 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30516 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30517 (gst_real_pad_dispose), (gst_real_pad_finalize),
30518 (gst_pad_load_and_link), (gst_pad_save_thyself),
30519 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30520 (gst_pad_check_pull_range), (gst_pad_pull_range),
30521 (gst_pad_template_get_type), (gst_pad_template_class_init),
30522 (gst_pad_template_init), (gst_pad_template_dispose),
30523 (name_is_valid), (gst_static_pad_template_get),
30524 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30525 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30526 (gst_pad_get_element_private), (gst_pad_start_task),
30527 (gst_pad_pause_task), (gst_pad_stop_task),
30528 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30529 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30530 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30531 (gst_ghost_pad_new):
30533 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30534 (gst_query_new_position), (gst_query_set_position),
30535 (gst_query_parse_position), (gst_query_new_convert),
30536 (gst_query_set_convert), (gst_query_parse_convert):
30538 * gst/gstqueryutils.c:
30539 * gst/gstqueryutils.h:
30540 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30541 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30542 (gst_queue_handle_src_query):
30543 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30544 (gst_element_query_position), (gst_element_query_convert),
30545 (intersect_caps_func), (gst_pad_query_position),
30546 (gst_pad_query_convert):
30548 * tools/gst-inspect.c: (print_pad_info):
30549 * tools/gst-xmlinspect.c: (print_element_info):
30550 Remove old query functions. Ported old code.
30551 Added position/convert helper functions to gstutils.
30552 Reordered gstpad.c code, grouping relevant things.
30553 Remove gst_message_new(), always need to speficy a specific
30557 2005-05-09 Andy Wingo <wingo@pobox.com>
30559 * gst/gstiterator.h: Add some includes.
30561 * gst/gstqueryutils.h: Include more headers.
30564 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30565 some uses of gst_pad_query.
30567 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30568 NULL out parameters.
30569 (gst_query_new_position): New proc, allocates a new position
30572 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30573 gstqueryutils.c to the build.
30575 * gst/gststructure.c (gst_structure_set_valist): Implement with
30576 the generic G_VALUE_COLLECT.
30578 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30580 * gst/Makefile.am: (gst_headers):
30581 Added gstqueryutils.h to the list of headers to install, that was
30582 a 'nachty' move wingo :)
30584 2005-05-06 Andy Wingo <wingo@pobox.com>
30587 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30588 GstData, init a memchunk.
30589 (standard_definitions): Add a few query types, deprecate a few.
30590 (gst_query_get_type): New proc.
30591 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30593 (gst_query_new_application, gst_query_get_structure): New public
30596 * docs/design/draft-query.txt: Removed LINKS from the query types,
30597 because all the rest can be dispatched to other pads -- seemed
30598 ugly to have a query that couldn't be dispatched. internal_links
30599 is fine as a pad method.
30601 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30602 in gstpad.c, but maintain binary compatibility for the moment.
30603 Will fix before 0.9 is out.
30605 * gst/gstqueryutils.c:
30606 * gst/gstqueryutils.h: New files, implement 3 methods for each
30607 query type: parse_query, parse_response, and set. Probably need an
30610 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30612 * gst/elements/gstfilesink.c (gst_filesink_query2):
30613 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30614 query_types, and formats methods.
30616 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30617 (gst_pad_set_query2_function): New functions.
30618 (gst_real_pad_init): Set query2_default as the default query2
30619 function. Basically just dispatches to internally linked pads.
30623 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30624 without using the atomic operations. Only one thread can possibly
30625 be accessing the data at this point. Changed so as to avoid
30626 gst_atomic operations.
30628 2005-05-06 Wim Taymans <wim@fluendo.com>
30630 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30631 Also set caps if we use the fallback buffer alloc.
30633 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30635 * docs/gst/Makefile.am:
30636 * docs/gst/gstreamer-docs.sgml:
30637 * docs/gst/gstreamer-sections.txt:
30638 * docs/gst/tmpl/gstatomic.sgml:
30639 * docs/gst/tmpl/gstmemchunk.sgml:
30640 * testsuite/elements/struct_i386.h:
30641 * win32/GStreamer.vcproj:
30643 Purge GstAtomic stuff from docs and win32 makefiles as well
30645 2005-05-06 Wim Taymans <wim@fluendo.com>
30647 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30648 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30649 * gst/gstpad.c: (gst_pad_peer_get_caps):
30650 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30651 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30652 (gst_queue_src_activate), (gst_queue_change_state):
30654 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30655 (intersect_caps_func):
30656 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30657 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30658 Some fixes for the peer_get_caps() change.
30660 2005-05-06 Wim Taymans <wim@fluendo.com>
30662 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30663 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30664 (gst_basesink_activate):
30665 Actually do something with error codes returned from the push
30668 2005-05-06 Wim Taymans <wim@fluendo.com>
30670 * docs/design/part-element-sink.txt:
30671 * docs/design/part-element-source.txt:
30672 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30673 (gst_basesink_event), (gst_basesink_activate):
30674 * gst/base/gstbasesink.h:
30675 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30676 (gst_basesrc_activate):
30677 * gst/base/gstbasesrc.h:
30678 * gst/gstelement.c: (gst_element_pads_activate):
30679 Some more documentation.
30680 Fixed scheduling decision in _pads_activate().
30682 2005-05-05 Andy Wingo <wingo@pobox.com>
30684 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30687 2005-05-05 Wim Taymans <wim@fluendo.com>
30689 * gst/base/Makefile.am:
30690 * gst/base/gstbasesink.h:
30691 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30692 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30693 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30694 (gst_collectpads_class_init), (gst_collectpads_init),
30695 (gst_collectpads_finalize), (gst_collectpads_new),
30696 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30697 (find_pad), (gst_collectpads_remove_pad),
30698 (gst_collectpads_is_active), (gst_collectpads_collect),
30699 (gst_collectpads_collect_range), (gst_collectpads_start),
30700 (gst_collectpads_stop), (gst_collectpads_peek),
30701 (gst_collectpads_pop), (gst_collectpads_available),
30702 (gst_collectpads_read), (gst_collectpads_flush),
30703 (gst_collectpads_chain):
30704 * gst/base/gstcollectpads.h:
30705 * gst/elements/Makefile.am:
30706 * gst/elements/gstelements.c:
30707 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30708 (gst_fakesink_get_times), (gst_fakesink_event),
30709 (gst_fakesink_preroll), (gst_fakesink_render):
30710 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30711 (gst_filesink_init), (gst_filesink_set_location),
30712 (gst_filesink_open_file), (gst_filesink_close_file),
30713 (gst_filesink_pad_query), (gst_filesink_event),
30714 (gst_filesink_render), (gst_filesink_change_state):
30715 * gst/elements/gstfilesink.h:
30716 Added object to help in making collect pad based elements.
30718 Make event function in sink baseclass return gboolean.
30720 2005-05-05 Wim Taymans <wim@fluendo.com>
30722 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30723 (gst_bin_get_by_name):
30725 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30726 (gst_clock_finalize):
30727 * gst/gstdata.c: (gst_data_replace):
30729 * gst/gstelement.c: (gst_element_request_pad),
30730 (gst_element_pads_activate):
30731 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30732 (gst_object_unref):
30733 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30734 (gst_pad_set_checkgetrange_function),
30735 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30736 (gst_pad_check_pull_range), (gst_pad_pull_range),
30737 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30738 (gst_pad_pause_task), (gst_pad_stop_task):
30739 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30740 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30741 Fix name lookup in GstBin.
30742 Added _data_replace() function and _buffer_replace()
30743 Use finalize method to clean up clock.
30744 Fix refcounting on request pads.
30745 Fix pad schedule mode error.
30746 Some more object refcounting debug info,
30749 2005-05-04 Andy Wingo <wingo@pobox.com>
30751 * check/Makefile.am:
30752 * docs/gst/tmpl/gstatomic.sgml:
30753 * docs/gst/tmpl/gstplugin.sgml:
30754 * gst/base/gstbasesink.c: (gst_basesink_activate):
30755 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30756 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30757 (gst_basesrc_query), (gst_basesrc_set_property),
30758 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30759 (gst_basesrc_activate):
30760 * gst/base/gstbasesrc.h:
30761 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30762 (gst_base_transform_src_activate):
30763 * gst/elements/gstelements.c:
30764 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30765 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30766 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30767 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30768 (gst_type_find_element_checkgetrange),
30769 (gst_type_find_element_activate):
30770 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30771 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30772 (gst_caps_load_thyself):
30773 * gst/gstelement.c: (gst_element_pads_activate),
30774 (gst_element_save_thyself), (gst_element_restore_thyself):
30775 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30776 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30778 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30779 (gst_xml_parse_file), (gst_xml_parse_memory),
30780 (gst_xml_get_element), (gst_xml_make_element):
30781 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30782 (_file_index_id_save_xml), (gst_file_index_commit):
30783 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30784 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30786 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30787 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30788 * tools/gst-complete.c: (main):
30789 * tools/gst-compprep.c: (main):
30790 * tools/gst-inspect.c: (print_element_properties_info):
30791 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30792 * tools/gst-xmlinspect.c: (print_element_properties):
30795 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30797 * gst/gstplugin.c: (gst_plugin_check_module),
30798 (gst_plugin_check_file), (gst_plugin_load_file):
30799 apply patch from #172526 to make register work on MacOSX
30801 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30803 * docs/gst/tmpl/gstconfig.sgml:
30804 * gst/gstconfig.h.in:
30805 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30806 * testsuite/debug/printf_extension.c: (main):
30807 Do not use GST_PTR_FORMAT on pointers to types with
30808 sizeof < sizeof(gpointer). Fixes test on 64-bit
30809 * testsuite/elements/property.h:
30810 use correct printf format
30812 2005-05-02 Wim Taymans <wim@fluendo.com>
30814 * docs/design/draft-push-pull.txt:
30815 * docs/design/draft-query.txt:
30816 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30817 (gst_basesrc_start):
30818 Added draft for new query API.
30819 Added draft for better selecting scheduling methods.
30820 Make basesrc ignore length if the subclass does not support
30823 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30826 possible fixes for automake-1.5 - _LIBADD is reserved
30828 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30830 * docs/faq/Makefile.am:
30831 * docs/manual/Makefile.am:
30832 * docs/manuals.mak:
30833 * docs/pwg/Makefile.am:
30835 possible fixes for automake-1.5
30837 2005-04-28 Wim Taymans <wim@fluendo.com>
30839 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30840 (gst_basesink_pad_getcaps), (gst_basesink_init),
30841 (gst_basesink_do_sync):
30842 * gst/gstclock.c: (gst_clock_entry_new):
30843 * gst/gstevent.c: (gst_event_discont_get_value):
30844 * gst/gstpipeline.c: (pipeline_bus_handler),
30845 (gst_pipeline_change_state):
30846 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30847 Better debugging of clocking info.
30848 Allow NULL values when getting discont values.
30850 2005-04-27 Wim Taymans <wim@fluendo.com>
30852 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30853 * check/gst/gstpad.c: (gst_pad_suite):
30854 Increase timeout for checks.
30856 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30858 * check/Makefile.am:
30859 fix the broken rule for cleanup. Apparently this rule is
30860 only needed on FC2, so maybe this warrants further autotool
30863 2005-04-26 Wim Taymans <wim@fluendo.com>
30865 * gst/gsttrashstack.h:
30866 Ooohh. a nasty one! After having a failed pop() from the stack,
30867 it's possible that the stack is empty. In that case, don't
30868 follow the NULL pointer.
30870 2005-04-25 Wim Taymans <wim@fluendo.com>
30872 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30873 (gst_pad_set_checkgetrange_function),
30874 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30875 (gst_pad_check_pull_range), (gst_pad_pull_range),
30876 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30877 (gst_pad_pause_task), (gst_pad_stop_task):
30878 * gst/gstplugin.c: (gst_plugin_load):
30880 Remove gst_library_load as it does more harm than good with
30881 the new g_module flags.
30882 Revert bogus caps template check in pad linking, pad caps
30883 are important when linking not the template, which is more
30884 general than the current caps.
30886 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30888 * gst/autoplug/.cvsignore:
30889 * gst/autoplug/Makefile.am:
30890 * gst/autoplug/gstsearchfuncs.c:
30891 * gst/autoplug/gstsearchfuncs.h:
30892 * gst/autoplug/gstspider.c:
30893 * gst/autoplug/gstspider.h:
30894 * gst/autoplug/gstspideridentity.c:
30895 * gst/autoplug/gstspideridentity.h:
30896 * gst/autoplug/spidertest.c:
30899 2005-04-25 Wim Taymans <wim@fluendo.com>
30901 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30902 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30903 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30904 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30906 Added stubs for unimplemented functions.
30908 2005-04-24 David Schleef <ds@schleef.org>
30910 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30913 2005-04-24 David Schleef <ds@schleef.org>
30915 Convert everything from GstAtomicInt to g_atomic_int_*, and
30920 * gst/gstatomic_impl.h:
30928 * gst/gstdata_private.h:
30932 * gst/gstmessage.c:
30935 * gst/gststructure.c:
30936 * gst/gststructure.h:
30937 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30940 2005-04-24 David Schleef <ds@schleef.org>
30942 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30943 make the regressions tests work. Remove some code that is no
30945 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30946 Disable warning for pads without templates.
30948 2005-04-24 David Schleef <ds@schleef.org>
30950 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30951 functions that handle filtered links.
30952 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30954 * gst/gstutils.c: Fix/remove utility functions that handle
30957 * gst/gstvalue.c: Add serialization/deserialization of caps
30958 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30959 requires fixing so that the filter caps notation creates
30960 a capsfilter element and sets the filter_caps property. I
30961 think everyone probably wants to keep the shorthand notation.
30962 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30963 * docs/gst/tmpl/gstpad.sgml:
30965 * gst/elements/gstelements.c: Register capsfilter element.
30966 * gst/Makefile.am: fix spacing
30967 * docs/random/ds/0.9-suggested-changes: random
30969 2005-04-23 David Schleef <ds@schleef.org>
30971 * gst/elements/Makefile.am:
30972 * gst/elements/gstcapsfilter.c: New element that acts like an
30973 identity, but filters caps. Will eventually replace filtered
30974 caps in pad linking.
30975 * gst/gstutils.c: (gst_element_create_all_pads): New function
30976 to create all the ALWAYS pads that are registered with an
30977 element class. This functionality should eventually be
30978 merged in with GstElement initialization.
30980 * testsuite/trigger/README: part of trigger test code that should
30981 have been checked in a long time ago.
30983 2005-04-23 David Schleef <ds@schleef.org>
30985 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30986 needed with new versions of libtool (nobody will confirm this),
30987 and hard to carry around.
30988 * gst/autoplug/Makefile.am:
30989 * gst/base/Makefile.am:
30990 * gst/elements/Makefile.am:
30991 * gst/indexers/Makefile.am:
30992 * gst/schedulers/Makefile.am:
30993 * libs/gst/bytestream/Makefile.am:
30994 * libs/gst/control/Makefile.am:
30995 * libs/gst/dataprotocol/Makefile.am:
30996 * libs/gst/getbits/Makefile.am:
30998 2005-04-21 Wim Taymans <wim@fluendo.com>
31000 * docs/design/draft-push-pull.txt:
31001 * docs/design/part-MT-refcounting.txt:
31002 * docs/design/part-TODO.txt:
31003 * docs/design/part-caps.txt:
31004 * docs/design/part-events.txt:
31005 * docs/design/part-gstbus.txt:
31006 * docs/design/part-gstpipeline.txt:
31007 * docs/design/part-messages.txt:
31008 * docs/design/part-push-pull.txt:
31009 * docs/design/part-query.txt:
31012 2005-04-21 Wim Taymans <wim@fluendo.com>
31014 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31015 (gst_message_new), (gst_message_new_error),
31016 (gst_message_new_warning), (gst_message_new_tag),
31017 (gst_message_new_state_changed), (gst_message_new_application),
31018 (gst_message_get_structure):
31019 * gst/gstmessage.h:
31020 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31021 (gst_structure_copy_conditional):
31022 Use parent refcount in GstMessage to ensure GstStructure
31024 Cleaned up headers a bit.
31027 2005-04-20 Wim Taymans <wim@fluendo.com>
31029 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31030 (gst_basesink_pad_getcaps), (gst_basesink_init),
31031 (gst_basesink_chain_unlocked):
31032 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31033 (gst_type_find_helper):
31034 * gst/elements/gsttypefindelement.c:
31035 (gst_type_find_element_have_type), (gst_type_find_element_init),
31036 (stop_typefinding), (gst_type_find_element_handle_event),
31037 (find_suggest), (gst_type_find_element_chain),
31038 (gst_type_find_element_checkgetrange),
31039 (gst_type_find_element_getrange), (do_typefind),
31040 (gst_type_find_element_activate):
31041 * gst/gstbuffer.c: (_gst_buffer_sub_free),
31042 (gst_buffer_default_free), (gst_buffer_default_copy),
31043 (gst_buffer_set_caps):
31044 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31045 (gst_caps_replace):
31046 * gst/gstmessage.c: (gst_message_new),
31047 (gst_message_new_state_changed):
31048 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31049 (gst_pad_set_checkgetrange_function),
31050 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31051 (gst_pad_set_caps), (gst_pad_check_pull_range),
31052 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31054 * gst/gsttypefind.c: (gst_type_find_register):
31055 Make gst_caps_replace() work like other _replace() functions.
31056 Use _caps_replace() where possible.
31057 Make sure _message_new() initialises its field.
31058 Add gst_static_pad_template_get_caps()
31061 2005-04-18 Andy Wingo <wingo@pobox.com>
31063 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31064 on the peer, not the pad. I think that was a typo. Pass an extra
31065 arg to see if random access is possible. Activate the pads as
31066 PULL_RANGE if possible.
31068 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31070 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
31071 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31074 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31076 * docs/faq/using.xml:
31077 Add note on gstreamer-properties (#154996).
31079 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31081 * docs/random/bbb/optional-properties:
31082 Some analysis on optional properties.
31084 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31086 * docs/gst/tmpl/gstelementfactory.sgml:
31087 * gst/gstelement.h:
31088 * gst/gstelementfactory.c: (gst_element_factory_init),
31089 (gst_element_factory_cleanup), (gst_element_register),
31090 (__gst_element_factory_add_static_pad_template),
31091 (gst_element_factory_get_static_pad_templates),
31092 (gst_element_factory_can_src_caps),
31093 (gst_element_factory_can_sink_caps):
31094 * gst/registries/Makefile.am:
31095 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31096 (gst_xml_registry_class_init), (gst_xml_registry_init),
31097 (gst_xml_registry_new), (gst_xml_registry_set_property),
31098 (gst_xml_registry_get_property), (get_time), (make_dir),
31099 (gst_xml_registry_get_perms_func),
31100 (plugin_times_older_than_recurse), (plugin_times_older_than),
31101 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31102 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31103 (add_to_char_array), (read_string), (read_uint), (read_enum),
31104 (load_pad_template), (load_feature), (load_plugin), (load_paths),
31105 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31106 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31107 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31108 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31109 (gst_xml_registry_rebuild):
31110 * gst/registries/gstlibxmlregistry.h:
31111 * tools/gst-compprep.c: (main):
31112 * tools/gst-inspect.c: (print_pad_templates_info):
31113 * tools/gst-xmlinspect.c: (print_element_info):
31114 Use libxml2 for registry parsing, use staticpadtemplates in
31115 elementfactories. Makes gst_init() +/- 10x faster.
31117 2005-04-12 Wim Taymans <wim@fluendo.com>
31119 * gst/base/Makefile.am:
31120 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31121 (gst_basesink_pad_getcaps), (gst_basesink_init),
31122 (gst_basesink_event), (gst_basesink_change_state):
31123 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31124 (gst_basesrc_init), (gst_basesrc_query),
31125 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31126 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31127 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31128 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31129 (gst_basesrc_stop), (gst_basesrc_activate),
31130 (gst_basesrc_change_state):
31131 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31132 (helper_find_suggest), (gst_type_find_helper):
31133 * gst/base/gsttypefindhelper.h:
31134 * gst/elements/Makefile.am:
31135 * gst/elements/gstelements.c:
31136 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31137 (gst_fakesink_get_times), (gst_fakesink_event),
31138 (gst_fakesink_preroll), (gst_fakesink_render):
31139 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31140 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31141 (gst_fakesrc_get_property), (gst_fakesrc_create),
31142 (gst_fakesrc_start), (gst_fakesrc_stop):
31143 * gst/elements/gstfakesrc.h:
31144 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31145 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31146 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31147 (gst_filesrc_create_read), (gst_filesrc_create),
31148 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31149 (gst_filesrc_start):
31150 * gst/elements/gsttypefindelement.c:
31151 (gst_type_find_element_have_type), (gst_type_find_element_init),
31152 (start_typefinding), (stop_typefinding), (push_buffer_store),
31153 (gst_type_find_element_handle_event),
31154 (gst_type_find_element_chain),
31155 (gst_type_find_element_checkgetrange),
31156 (gst_type_find_element_getrange), (do_typefind),
31157 (gst_type_find_element_activate),
31158 (gst_type_find_element_change_state):
31159 * gst/elements/gsttypefindelement.h:
31160 * gst/gstpipeline.c: (pipeline_bus_handler):
31161 Added typefind helper.
31162 Small preroll fix in the base sink.
31163 Disable typefind code in basesrc.
31164 Crude port of typefindelement.
31168 2005-04-11 Wim Taymans <wim@fluendo.com>
31170 * check/gst/gstbus.c: (gstbus_suite):
31171 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31172 * check/gstcheck.h:
31173 Fix up the timeout so that the test does not fail.
31175 2005-04-06 Wim Taymans <wim@fluendo.com>
31178 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31179 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31180 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31181 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31182 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31183 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31184 (gst_basesrc_stop), (gst_basesrc_activate),
31185 (gst_basesrc_change_state), (basesrc_find_peek),
31186 (basesrc_find_suggest), (gst_basesrc_type_find):
31187 * gst/base/gstbasesrc.h:
31188 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31189 (gst_filesrc_class_init), (gst_filesrc_init),
31190 (gst_filesrc_finalize), (gst_filesrc_set_location),
31191 (gst_filesrc_set_property), (gst_filesrc_get_property),
31192 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31193 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31194 (gst_filesrc_create_read), (gst_filesrc_create),
31195 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31196 * gst/elements/gstfilesrc.h:
31197 * gst/gstelement.c: (gst_element_get_state_func),
31198 (gst_element_lost_state), (gst_element_pads_activate):
31199 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31200 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31201 (gst_pad_pull_range):
31203 More work on the generic source base class, implement seeking,
31205 Make filesrc extend the base source class.
31206 Added gst_pad_set_checkgetrange_function to GstPad.
31208 2005-04-06 Andy Wingo <wingo@pobox.com>
31210 * pkgconfig/gstreamer-base.pc.in:
31211 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31213 * pkgconfig/Makefile.am:
31214 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31216 2005-04-04 Wim Taymans <wim@fluendo.com>
31218 * gst/base/Makefile.am:
31220 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31221 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31222 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31223 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31224 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31225 (gst_basesrc_base_init), (gst_basesrc_class_init),
31226 (gst_basesrc_init), (gst_basesrc_get_formats),
31227 (gst_basesrc_get_query_types), (gst_basesrc_query),
31228 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31229 (gst_basesrc_set_property), (gst_basesrc_get_property),
31230 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31231 (gst_basesrc_loop), (gst_basesrc_activate),
31232 (gst_basesrc_change_state):
31233 * gst/base/gstbasesrc.h:
31234 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31235 (gst_fakesrc_class_init), (gst_fakesrc_init),
31236 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31237 (gst_fakesrc_get_property), (gst_fakesrc_create):
31238 * gst/elements/gstfakesrc.h:
31239 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31240 (gst_filesrc_open_file), (gst_filesrc_loop),
31241 (gst_filesrc_activate), (filesrc_find_peek),
31242 (gst_filesrc_type_find):
31243 Made base source class, make fakesrc extend it.
31244 Add comments to basesink class.
31245 Some filesrc cleanup.
31247 2005-03-31 David Schleef <ds@schleef.org>
31249 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31250 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31251 expected to link against libgstreamer.
31252 * gst/base/Makefile.am: link against libgstreamer
31253 * gst/elements/Makefile.am: same
31255 2005-03-31 Andy Wingo <wingo@pobox.com>
31257 * tests/instantiate/Makefile.am:
31258 * tests/instantiate/caps.c: Add test to test speed of caps copy
31261 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31262 GMemChunk to be fair.
31264 * gst/gsttrashstack.h: Remove warning about using the fallback
31265 trash stack implementation, it's still faster than malloc.
31267 2005-03-30 Andy Wingo <wingo@pobox.com>
31269 * tests/complexity.c: Add a copyright.
31271 2005-03-31 Wim Taymans <wim@fluendo.com>
31273 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31274 (gst_base_transform_class_init), (gst_base_transform_init),
31275 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31276 (gst_base_transform_get_property),
31277 (gst_base_transform_sink_activate),
31278 (gst_base_transform_src_activate),
31279 (gst_base_transform_change_state):
31280 * gst/base/gstbasetransform.h:
31281 * gst/elements/gstidentity.c: (gst_identity_class_init),
31282 (gst_identity_event), (gst_identity_check_perfect),
31283 (gst_identity_transform), (gst_identity_start),
31284 (gst_identity_stop):
31285 Added start/stop methods to transform base class so subclasses
31286 don't need to deal with state changes even.
31288 2005-03-31 Wim Taymans <wim@fluendo.com>
31290 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31291 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31293 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31294 (gst_pad_pull_range):
31295 Added rate to the discont event to prepare for variable speed
31296 and reverse playback.
31298 2005-03-29 David Schleef <ds@schleef.org>
31301 * testsuite/trigger/Makefile.am:
31302 * testsuite/trigger/trigger.c: A little example program to show
31303 how trigger-based elements can work.
31305 2005-03-29 Wim Taymans <wim@fluendo.com>
31307 * gst/base/Makefile.am:
31309 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31310 (gst_basesink_base_init), (gst_basesink_class_init),
31311 (gst_basesink_pad_getcaps), (gst_basesink_init),
31312 (gst_basesink_activate), (gst_basesink_change_state):
31313 * gst/base/gstbasesink.h:
31314 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31315 (gst_base_transform_base_init), (gst_base_transform_finalize),
31316 (gst_base_transform_class_init), (gst_base_transform_init),
31317 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31318 (gst_base_transform_event), (gst_base_transform_getrange),
31319 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31320 (gst_base_transform_set_property),
31321 (gst_base_transform_get_property),
31322 (gst_base_transform_sink_activate),
31323 (gst_base_transform_src_activate),
31324 (gst_base_transform_change_state):
31325 * gst/base/gstbasetransform.h:
31326 * gst/elements/gstidentity.c: (gst_identity_finalize),
31327 (gst_identity_class_init), (gst_identity_init),
31328 (gst_identity_event), (gst_identity_check_perfect),
31329 (gst_identity_transform), (gst_identity_set_property),
31330 (gst_identity_get_property), (gst_identity_change_state):
31331 * gst/elements/gstidentity.h:
31332 * gst/gstelement.c: (gst_element_get_state_func),
31333 (gst_element_lost_state), (gst_element_pads_activate):
31334 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31335 (gst_pad_check_pull_range), (gst_pad_pull_range):
31337 Simplify pad activation.
31338 Added function to check if pull_range can be performed.
31339 Error out when pulling inactive or flushing pads.
31340 Removed const from refcounted types as it does not make sense.
31341 Simplify pad templates in basesink
31342 Added base class for simple 1-to-1 transforms.
31343 Make identity subclass the base transform.
31345 2005-03-29 Andy Wingo <wingo@pobox.com>
31347 * docs/libs/gstreamer-libs-overrides.txt:
31348 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31349 really don't understand what's going on, but like whatever. I want
31352 * docs/gst/Makefile.am:
31353 * docs/libs/Makefile.am: Dist the overrides files.
31355 * check/Makefile.am (clean-local): Remove .libs directories.
31357 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31358 elements to EXTRA_DIST, so po/ files are happy.
31360 * po/POTFILES.in: Er, remove it here.
31362 * po/POTFILES: Remove gstspider.c.
31364 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31366 * docs/libs/gstreamer-libs-docs.sgml:
31367 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31370 * tests/complexity.c (main): Set the length of the preroll queue
31371 on the sinks to prevent a lockup.
31373 * libs/gst/dataprotocol/Makefile.am:
31374 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31375 the same as the one in check/gst-libs/gdp.c.
31377 * po/, docs/gst/: Commit automatic changes to docs and po files.
31379 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31380 the versioned libgstbase.
31382 * check/Makefile.am: Depend on an unversioned gst-register, seems
31383 to make autoconf happier.
31385 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31387 2005-03-28 Wim Taymans <wim@fluendo.com>
31390 * docs/design/part-gstelement.txt:
31391 * docs/design/part-negotiation.txt:
31392 * docs/design/part-preroll.txt:
31393 * docs/design/part-scheduling.txt:
31394 * docs/design/part-states.txt:
31396 * gst/base/Makefile.am:
31398 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31399 (gst_basesink_base_init), (gst_basesink_class_init),
31400 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31401 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31402 (gst_basesink_set_pad_functions),
31403 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31404 (gst_basesink_set_property), (gst_basesink_get_property),
31405 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31406 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31407 (gst_basesink_preroll_queue_push),
31408 (gst_basesink_preroll_queue_empty),
31409 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31410 (gst_basesink_event), (gst_basesink_get_times),
31411 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31412 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31413 (gst_basesink_loop), (gst_basesink_activate),
31414 (gst_basesink_change_state):
31415 * gst/base/gstbasesink.h:
31416 * gst/elements/Makefile.am:
31417 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31418 (gst_fakesink_class_init), (gst_fakesink_init),
31419 (gst_fakesink_set_property), (gst_fakesink_get_property),
31420 (gst_fakesink_get_times), (gst_fakesink_event),
31421 (gst_fakesink_preroll), (gst_fakesink_render),
31422 (gst_fakesink_change_state):
31423 * gst/elements/gstfakesink.h:
31424 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31425 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31426 * gst/gstelement.c: (gst_element_add_pad),
31427 (gst_element_get_state_func), (gst_element_abort_state),
31428 (gst_element_commit_state), (gst_element_lost_state),
31429 (gst_element_set_state), (gst_element_pads_activate):
31430 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31431 * gst/gstpipeline.c: (gst_pipeline_send_event),
31432 (gst_pipeline_change_state):
31433 Added state change code.
31434 Added/updated docs.
31435 Added sink base class, make fakesink extend the base class.
31436 Small cleanups in GstPipeline.
31438 2005-03-26 David Schleef <ds@schleef.org>
31440 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31441 is broken and should be implemented in a different library.
31442 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31443 * gst/gst.h: remove gstcpu.h
31444 * gst/gstcpu.c: remove
31445 * gst/gstcpu.h: remove
31446 * gst/Makefile.am.future: Remove this file. It's ancient.
31448 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31450 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31451 (gst_bin_send_event):
31452 Add default event/set_manager handlers. The set_manager handler
31453 takes care that the manager is distributed over kids that were
31454 already in the bin before the manager was set. The event handler
31455 is a utility virtual function that sends the event over all sinks,
31456 so that gst_element_send_event (bin, event); has the expected
31458 * gst/gstpad.c: (gst_pad_event_default):
31459 Re-install default event handling for discontinuities, so that
31460 seeking works without requiring hacks in applications or extra
31462 * gst/gstpipeline.c: (gst_pipeline_class_init),
31463 (gst_pipeline_send_event):
31464 Half hack, half utility: set a pipeline to PAUSED for seek events,
31465 since that is the only way we can guarantee a/v sync. Means that
31466 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31467 and it "just works".
31469 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31471 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31472 Lock/unlock mismatch.
31474 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31476 * docs/faq/gst-uninstalled:
31477 add gst-plugins-base
31478 * docs/gst/Makefile.am:
31479 don't error out until docs are fixed
31480 * docs/gst/gstreamer.types:
31483 2005-03-22 Wim Taymans <wim@fluendo.com>
31485 * check/Makefile.am:
31486 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31487 * gst/gststructure.c: (gst_structure_set_valist),
31488 (gst_structure_copy_conditional):
31489 Activated more tests.
31490 Added message test.
31491 Added G_TYPE_POINTER to GstStructure.
31494 2005-03-22 Wim Taymans <wim@fluendo.com>
31496 * docs/design/part-TODO.txt:
31497 * docs/design/part-events.txt:
31498 * docs/design/part-gstbin.txt:
31499 * docs/design/part-gstbus.txt:
31500 * docs/design/part-gstpipeline.txt:
31501 * docs/design/part-messages.txt:
31503 * gst/gstmessage.c:
31506 2005-03-21 Wim Taymans <wim@fluendo.com>
31508 * gst/gstbus.c: (gst_bus_post):
31509 Fix copy-and-paste error.
31511 2005-03-21 Wim Taymans <wim@fluendo.com>
31513 * check/Makefile.am:
31515 * gst/elements/Makefile.am:
31516 * gst/elements/gstelements.c:
31517 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31518 (gst_fakesink_event), (gst_fakesink_chain):
31519 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31520 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31521 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31522 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31523 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31524 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31525 (gst_fakesrc_loop), (gst_fakesrc_activate),
31526 (gst_fakesrc_change_state):
31527 * gst/elements/gstfakesrc.h:
31528 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31529 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31530 (gst_filesrc_open_file), (gst_filesrc_loop),
31531 (gst_filesrc_activate), (gst_filesrc_change_state),
31532 (filesrc_find_peek), (filesrc_find_suggest),
31533 (gst_filesrc_type_find):
31534 * gst/elements/gstidentity.c: (gst_identity_finalize),
31535 (gst_identity_class_init), (gst_identity_init),
31536 (gst_identity_proxy_getcaps), (identity_queue_push),
31537 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31538 (gst_identity_getrange), (gst_identity_chain),
31539 (gst_identity_sink_loop), (gst_identity_src_loop),
31540 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31541 (gst_identity_set_property), (gst_identity_get_property),
31542 (gst_identity_change_state):
31543 * gst/elements/gstidentity.h:
31544 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31545 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31546 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31547 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31548 (gst_tee_sink_activate):
31549 * gst/elements/gsttee.h:
31550 * gst/gst.c: (gst_register_core_elements), (init_post):
31552 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31553 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31554 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31555 (gst_bin_change_state):
31557 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31558 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31559 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31560 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31561 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31562 (bus_watch_callback), (bus_watch_destroy),
31563 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31564 (poll_timeout), (gst_bus_poll):
31568 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31569 (gst_element_post_message), (gst_element_message_full),
31570 (gst_element_get_state_func), (gst_element_get_state),
31571 (gst_element_abort_state), (gst_element_commit_state),
31572 (gst_element_lost_state), (gst_element_set_state),
31573 (gst_element_pads_activate), (gst_element_change_state),
31574 (gst_element_dispose), (gst_element_set_manager_func),
31575 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31576 (gst_element_set_manager), (gst_element_get_manager),
31577 (gst_element_set_bus), (gst_element_get_bus),
31578 (gst_element_set_scheduler), (gst_element_get_scheduler):
31579 * gst/gstelement.h:
31580 * gst/gstevent.c: (gst_event_new_segment_seek),
31581 (gst_event_new_flush):
31583 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31584 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31585 (gst_message_new_eos), (gst_message_new_error),
31586 (gst_message_new_warning), (gst_message_new_tag),
31587 (gst_message_new_state_changed), (gst_message_new_application),
31588 (gst_message_get_structure), (gst_message_parse_tag),
31589 (gst_message_parse_state_changed), (gst_message_parse_error),
31590 (gst_message_parse_warning):
31591 * gst/gstmessage.h:
31592 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31593 (gst_real_pad_set_property), (gst_pad_set_active),
31594 (gst_pad_is_active), (gst_pad_set_blocked_async),
31595 (gst_pad_set_blocked), (gst_pad_is_blocked),
31596 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31597 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31598 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31599 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31600 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31601 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31602 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31603 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31604 (gst_pad_set_caps), (gst_pad_configure_sink),
31605 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31606 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31607 (gst_real_pad_dispose), (gst_real_pad_finalize),
31608 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31609 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31610 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31612 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31613 (pipeline_bus_handler), (gst_pipeline_change_state),
31614 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31615 * gst/gstpipeline.h:
31617 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31618 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31619 (gst_queue_link_src), (gst_queue_bufferalloc),
31620 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31621 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31622 (gst_queue_loop), (gst_queue_handle_src_event),
31623 (gst_queue_handle_src_query), (gst_queue_src_activate),
31624 (gst_queue_change_state):
31626 * gst/gstscheduler.c: (gst_scheduler_init),
31627 (gst_scheduler_dispose), (gst_scheduler_create_task),
31628 (gst_scheduler_factory_create):
31629 * gst/gstscheduler.h:
31630 * gst/gststructure.c: (gst_structure_get_type),
31631 (gst_structure_copy_conditional):
31632 * gst/gststructure.h:
31633 * gst/gsttaginterface.h:
31634 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31635 (gst_task_init), (gst_task_dispose), (gst_task_create),
31636 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31642 * gst/schedulers/Makefile.am:
31643 * gst/schedulers/cothreads_compat.h:
31644 * gst/schedulers/entryscheduler.c:
31645 * gst/schedulers/faircothreads.c:
31646 * gst/schedulers/faircothreads.h:
31647 * gst/schedulers/fairscheduler.c:
31648 * gst/schedulers/gstbasicscheduler.c:
31649 * gst/schedulers/gstoptimalscheduler.c:
31650 * gst/schedulers/gthread-cothreads.h:
31651 * gst/schedulers/threadscheduler.c:
31652 (gst_thread_scheduler_task_get_type),
31653 (gst_thread_scheduler_task_class_init),
31654 (gst_thread_scheduler_task_init),
31655 (gst_thread_scheduler_task_start),
31656 (gst_thread_scheduler_task_stop),
31657 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31658 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31659 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31660 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31662 * libs/gst/Makefile.am:
31663 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31664 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31665 (gst_file_pad_parent_set):
31666 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31667 (gst_dp_event_from_packet):
31668 * tests/complexity.c: (main):
31669 * tests/mass_elements.c: (main):
31670 * testsuite/states/locked.c: (message_received), (main):
31671 * testsuite/states/parent.c: (main):
31672 * tools/gst-inspect.c: (print_element_flag_info),
31673 (print_implementation_info), (print_pad_info):
31674 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31676 * tools/gst-md5sum.c: (event_loop), (main):
31677 * tools/gst-typefind.c: (main):
31678 * tools/gst-xmlinspect.c: (print_element_info):
31680 Added GstBus for mainloop integration.
31681 Added GstMessage for sending notifications on the bus.
31682 Added GstTask as an abstraction for pipeline entry points.
31684 Removed Schedulers.
31685 Simplified GstQueue for multithreaded core.
31686 Made _link threadsafe, removed old capsnego.
31687 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31688 Added pad blocking functions.
31689 Reworked scheduling functions in GstPad to prepare for
31690 scheduling updates soon.
31691 Moved events out of data stream.
31692 Simplified GstEvent types.
31693 Added return values to push/pull.
31694 Removed clocking from GstElement.
31695 Added prototypes for state change function for next merge.
31696 Removed iterate from bins and state change management.
31697 Fixed some elements, disabled others for now.
31698 Fixed -inspect and -launch.
31699 Added check for GstBus.
31701 2005-03-10 Wim Taymans <wim@fluendo.com>
31703 * docs/design/part-MT-refcounting.txt:
31704 * docs/design/part-clocks.txt:
31705 * docs/design/part-gstelement.txt:
31706 * docs/design/part-gstobject.txt:
31707 * docs/design/part-standards.txt:
31708 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31709 (gst_bin_remove_func), (gst_bin_remove):
31713 * testsuite/clock/clock1.c: (main):
31714 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31716 * testsuite/dlopen/loadgst.c: (do_test):
31717 * testsuite/refcounting/bin.c: (add_remove_test1),
31718 (add_remove_test2), (main):
31719 * testsuite/refcounting/element.c: (main):
31720 * testsuite/refcounting/element_pad.c: (main):
31721 * testsuite/refcounting/pad.c: (main):
31722 * tools/gst-launch.c: (sigint_handler_sighandler):
31723 * tools/gst-typefind.c: (main):
31725 Added doc about clock.
31726 removed gst_bin_iterate_recurse_up(), marked methods
31728 Fix more testsuites.
31730 2005-03-09 Wim Taymans <wim@fluendo.com>
31732 * gst/gstpad.c: (gst_pad_get_direction),
31733 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31734 (gst_pad_collect_valist):
31735 * testsuite/bins/interface.c: (main):
31736 * testsuite/caps/audioscale.c: (test_caps):
31737 * testsuite/caps/caps.c: (test1), (test2), (test3):
31738 * testsuite/caps/deserialize.c: (main):
31739 * testsuite/caps/enumcaps.c: (main):
31740 * testsuite/caps/filtercaps.c: (main):
31741 * testsuite/caps/intersect2.c: (main):
31742 * testsuite/caps/random.c: (main):
31743 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31744 * testsuite/caps/sets.c: (check_caps):
31745 * testsuite/caps/simplify.c: (check_caps), (main):
31746 * testsuite/caps/subtract.c: (check_caps):
31747 Fix _pad_get_direction wrt ghostpads.
31748 Fix caps testsuite.
31750 2005-03-09 Wim Taymans <wim@fluendo.com>
31752 * check/Makefile.am:
31753 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31754 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31755 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31756 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31757 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31758 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31759 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31760 (bin_element_is_sink), (gst_bin_iterate_sinks),
31761 (gst_bin_iterate_all_by_interface):
31763 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31764 (gst_element_change_state), (gst_element_dispose),
31765 (gst_element_finalize), (gst_element_set_loop_function):
31766 * gst/gstelement.h:
31767 * gst/gstiterator.c: (find_custom_fold_func):
31768 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31769 (gst_pad_collectv), (gst_pad_collect_valist),
31770 (gst_pad_template_new):
31771 * gst/gstpipeline.c: (gst_pipeline_class_init),
31772 (gst_pipeline_dispose), (gst_pipeline_set_property),
31773 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31774 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31775 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31777 * gst/schedulers/entryscheduler.c:
31778 * gst/schedulers/gstbasicscheduler.c:
31779 (gst_basic_scheduler_cothreaded_chain),
31780 (gst_basic_scheduler_chain_add_element):
31781 * testsuite/bins/interface.c: (main):
31783 Added GstSystemClock test.
31784 Implemented clock distribution code in GstBin.
31785 Implemented iterate sinks method for future use.
31786 Rearranged gstelement.h
31787 Fix GstIterator comparison bug.
31788 Moved some code to GstPipeline, mostly clocking related.
31790 2005-03-09 Wim Taymans <wim@fluendo.com>
31793 * gst/gst_private.h:
31794 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31795 (gst_bin_remove_func), (gst_bin_remove),
31796 (gst_bin_get_by_name_recurse_up):
31797 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31798 (gst_clock_id_compare_func), (gst_clock_id_wait),
31799 (gst_clock_id_wait_async), (gst_clock_init),
31800 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31801 * gst/gstelement.h:
31802 * gst/gstinfo.c: (_gst_debug_init):
31804 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31805 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31807 Bump version number, we're now 0.9.0
31808 Add future debugging category.
31809 Fix NULL _unref() in _get_by_name_recurse_up
31810 Rearrange gstpad.h.
31813 2005-03-08 Wim Taymans <wim@fluendo.com>
31815 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31816 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31817 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31818 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31819 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31820 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31821 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31822 * gst/elements/gstidentity.c: (gst_identity_class_init):
31823 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31824 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31825 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31826 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31827 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31829 * gst/gstelement.c: (gst_element_class_init),
31830 (gst_element_base_class_init), (gst_element_init),
31831 (gst_element_get_random_pad), (gst_element_wait_state_change),
31832 (gst_element_change_state), (gst_element_dispose),
31833 (gst_element_finalize), (gst_element_set_loop_function):
31834 * gst/gstelement.h:
31835 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31836 * gst/gstthread.c: (gst_thread_class_init),
31837 (gst_thread_release_children_locks), (gst_thread_change_state):
31838 * gst/schedulers/gstbasicscheduler.c:
31839 (gst_basic_scheduler_loopfunc_wrapper),
31840 (gst_basic_scheduler_chain_wrapper),
31841 (gst_basic_scheduler_src_wrapper),
31842 (gst_basic_scheduler_remove_element):
31843 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31844 Remove threadsafe properties. Fix elements because GObject
31845 complains when installing a property before declaring a
31846 set/get_property handler.
31847 Rearrange gstelement.h file, use STATE macros for state locks.
31848 Free mutexes in the finalize method instead of dispose.
31850 2005-03-08 Wim Taymans <wim@fluendo.com>
31852 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31853 * gst/gstthread.c: (gst_thread_release_children_locks):
31854 Added parentage check.
31855 Fix build og GstThread again.
31857 2005-03-08 Wim Taymans <wim@fluendo.com>
31859 * docs/design/part-MT-refcounting.txt:
31860 * docs/design/part-conventions.txt:
31861 * docs/design/part-gstobject.txt:
31862 * docs/design/part-relations.txt:
31863 * docs/design/part-standards.txt:
31864 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31865 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31866 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31867 (gst_bin_iterate_all_by_interface):
31870 * gst/gstelement.c: (gst_element_class_init),
31871 (gst_element_change_state), (gst_element_set_loop_function):
31872 * gst/gstelement.h:
31873 * gst/gstiterator.c:
31874 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31875 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31876 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31877 (gst_object_set_parent), (gst_object_unparent),
31878 (gst_object_check_uniqueness):
31880 Docs updates, clean up some headers.
31882 2005-03-07 Wim Taymans <wim@fluendo.com>
31884 * check/.cvsignore:
31885 * check/Makefile.am:
31886 * check/gst-libs/.cvsignore:
31887 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31888 * check/gst/.cvsignore:
31889 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31890 (START_TEST), (gstbus_suite), (main):
31891 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31892 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31893 (gst_data_suite), (main):
31894 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31895 (add_fold_func), (gstiterator_suite), (main):
31896 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31897 (thread_name_object), (thread_name_object_default),
31898 (gst_object_name_compare), (gst_object_suite), (main):
31899 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31900 (gst_pad_suite), (main):
31901 * check/gstcheck.c: (gst_check_log_message_func),
31902 (gst_check_log_critical_func), (gst_check_init):
31903 * check/gstcheck.h:
31904 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31905 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31908 2005-03-07 Wim Taymans <wim@fluendo.com>
31910 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31911 (gst_list_iterator_next), (gst_list_iterator_resync),
31912 (gst_list_iterator_free), (gst_iterator_new_list),
31913 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31914 (gst_iterator_free), (gst_iterator_push), (filter_next),
31915 (filter_resync), (filter_uninit), (filter_free),
31916 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31917 (gst_iterator_foreach), (find_custom_fold_func),
31918 (gst_iterator_find_custom):
31919 * gst/gstiterator.h:
31920 Added missing files.
31922 2005-03-07 Wim Taymans <wim@fluendo.com>
31926 * docs/design/part-MT-refcounting.txt:
31927 * docs/design/part-conventions.txt:
31928 * docs/design/part-gstobject.txt:
31929 * docs/design/part-relations.txt:
31930 * examples/mixer/mixer.c: (main):
31931 * examples/thread/thread.c: (eos), (main):
31933 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31934 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31935 (gst_spider_plug_from_srcpad):
31936 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31937 (gst_spider_identity_change_state),
31938 (gst_spider_identity_sink_loop_type_finding):
31939 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31940 * gst/elements/gstidentity.c: (gst_identity_init):
31941 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31942 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31943 * gst/elements/gsttypefindelement.c: (free_entry):
31946 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31947 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31948 (gst_bin_set_index), (gst_bin_set_element_sched),
31949 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31950 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31951 (gst_bin_iterate_elements), (iterate_child_recurse),
31952 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31953 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31954 (compare_interface), (gst_bin_get_by_interface),
31955 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31957 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31958 (gst_buffer_default_free), (gst_buffer_default_copy),
31959 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31960 (gst_buffer_create_sub):
31962 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31963 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31964 (gst_caps_unref), (gst_static_caps_get),
31965 (gst_caps_remove_and_get_structure), (gst_caps_append),
31966 (gst_caps_append_structure), (gst_caps_remove_structure),
31967 (gst_caps_copy_nth), (gst_caps_set_simple),
31968 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31969 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31970 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31971 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31972 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31973 (gst_caps_structure_figure_out_union),
31974 (gst_caps_switch_structures), (gst_caps_do_simplify),
31975 (gst_caps_replace), (gst_caps_from_string),
31976 (gst_caps_copy_conditional):
31978 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31979 (_gst_clock_id_free), (gst_clock_id_unref),
31980 (gst_clock_id_compare_func), (gst_clock_id_wait),
31981 (gst_clock_id_wait_async), (gst_clock_class_init),
31982 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31983 (gst_clock_get_time), (gst_clock_set_time_adjust),
31984 (gst_clock_set_property), (gst_clock_get_property):
31987 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31988 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31990 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31991 (gst_element_requires_clock), (gst_element_provides_clock),
31992 (gst_element_set_clock), (gst_element_clock_wait),
31993 (gst_element_wait), (gst_element_set_time_delay),
31994 (gst_element_is_indexable), (gst_element_add_pad),
31995 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31996 (pad_compare_name), (gst_element_get_static_pad),
31997 (gst_element_request_pad), (gst_element_get_request_pad),
31998 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31999 (gst_element_class_get_pad_template_list),
32000 (gst_element_class_get_pad_template), (gst_element_error_func),
32001 (gst_element_get_random_pad), (gst_element_get_event_masks),
32002 (gst_element_send_event), (gst_element_seek),
32003 (gst_element_get_query_types), (gst_element_query),
32004 (gst_element_get_formats), (gst_element_convert),
32005 (gst_element_is_locked_state), (gst_element_set_locked_state),
32006 (gst_element_sync_state_with_parent), (gst_element_change_state),
32007 (gst_element_finalize), (gst_element_yield),
32008 (gst_element_interrupt), (gst_element_set_scheduler),
32009 (gst_element_get_scheduler), (gst_element_set_loop_function):
32010 * gst/gstelement.h:
32012 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32013 (gst_format_get_by_nick), (gst_format_get_details),
32014 (gst_format_iterate_definitions):
32016 * gst/gstindex.c: (gst_index_gtype_resolver):
32019 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32020 (gst_mem_chunk_free):
32021 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32022 (gst_object_ref), (gst_object_unref), (gst_object_sink),
32023 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32024 (gst_object_dispatch_properties_changed),
32025 (gst_object_set_name_default), (gst_object_set_name),
32026 (gst_object_get_name), (gst_object_set_name_prefix),
32027 (gst_object_get_name_prefix), (gst_object_set_parent),
32028 (gst_object_get_parent), (gst_object_unparent),
32029 (gst_object_check_uniqueness), (gst_object_save_thyself),
32030 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32031 (gst_object_set_property), (gst_object_get_property),
32032 (gst_object_get_path_string):
32034 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32035 (gst_real_pad_init), (gst_real_pad_get_property),
32036 (gst_pad_custom_new), (gst_pad_get_direction),
32037 (gst_pad_set_active), (gst_pad_is_active),
32038 (gst_pad_set_event_function), (gst_pad_is_linked),
32039 (gst_pad_link_free), (gst_pad_link_intersect),
32040 (gst_pad_link_fixate), (gst_pad_set_caps),
32041 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32042 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32043 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32044 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32045 (gst_pad_get_caps), (gst_pad_peer_get_caps),
32046 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32047 (gst_pad_realize), (gst_pad_get_allowed_caps),
32048 (gst_real_pad_dispose), (gst_real_pad_finalize),
32049 (gst_pad_collectv), (gst_pad_collect_valist),
32050 (gst_pad_template_dispose), (gst_pad_template_new),
32051 (gst_pad_get_internal_links):
32053 * gst/gstpipeline.c: (gst_pipeline_dispose),
32054 (gst_pipeline_change_state):
32055 * gst/gstpipeline.h:
32057 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32058 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32059 * gst/gstpluginfeature.h:
32060 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32061 * gst/gstquery.c: (_gst_query_type_initialize),
32062 (gst_query_type_register), (gst_query_type_get_by_nick),
32063 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32065 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32066 * gst/gstscheduler.c: (gst_scheduler_add_element),
32067 (gst_scheduler_factory_create):
32068 * gst/gststructure.c: (gst_structure_set_parent_refcount),
32069 (gst_structure_free), (gst_structure_set_name),
32070 (gst_structure_id_set_value), (gst_structure_set_value),
32071 (gst_structure_set_valist), (gst_structure_remove_field),
32072 (gst_structure_remove_fields),
32073 (gst_structure_remove_fields_valist),
32074 (gst_structure_remove_all_fields), (gst_structure_foreach),
32075 (gst_structure_map_in_place),
32076 (gst_caps_structure_fixate_field_nearest_int),
32077 (gst_caps_structure_fixate_field_nearest_double):
32078 * gst/gststructure.h:
32079 * gst/gstsystemclock.c: (gst_system_clock_class_init),
32080 (gst_system_clock_init), (gst_system_clock_dispose),
32081 (gst_system_clock_async_thread),
32082 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32083 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32084 * gst/gstsystemclock.h:
32085 * gst/gsttag.c: (gst_tag_list_add_value_internal),
32086 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32087 * gst/gsttaginterface.c:
32088 * gst/gstthread.c: (gst_thread_dispose),
32089 (gst_thread_release_children_locks), (gst_thread_change_state),
32090 (gst_thread_main_loop):
32091 * gst/gsttrashstack.h:
32092 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32094 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32095 (gst_element_request_pad), (gst_element_get_pad_from_template),
32096 (gst_element_request_compatible_pad),
32097 (gst_element_get_compatible_pad_filtered),
32098 (gst_element_get_compatible_pad), (gst_element_state_get_name),
32099 (gst_element_link_pads_filtered), (gst_element_link_filtered),
32100 (gst_element_link_many), (gst_element_link),
32101 (gst_element_link_pads), (gst_element_unlink_pads),
32102 (gst_element_unlink_many), (gst_element_unlink),
32103 (gst_pad_can_link_filtered), (gst_pad_can_link),
32104 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32105 (gst_object_default_error), (gst_bin_add_many),
32106 (gst_bin_remove_many), (gst_element_populate_std_props),
32107 (gst_element_class_install_std_props), (gst_buffer_merge),
32108 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32109 (link_fold_func), (gst_pad_proxy_setcaps):
32111 * gst/gstvalue.c: (gst_value_deserialize_string):
32112 * gst/parse/grammar.y:
32113 * gst/schedulers/gstbasicscheduler.c:
32114 (gst_basic_scheduler_cothreaded_chain),
32115 (gst_basic_scheduler_chain_recursive_add),
32116 (gst_basic_scheduler_pad_link):
32117 * gst/schedulers/gstoptimalscheduler.c:
32118 (get_group_schedule_function),
32119 (gst_opt_scheduler_state_transition),
32120 (gst_opt_scheduler_add_element), (element_get_reachables_func):
32121 * libs/gst/bytestream/bytestream.c:
32122 * libs/gst/dataprotocol/dataprotocol.c:
32123 (gst_dp_header_from_buffer):
32126 * tests/threadstate/threadstate2.c: (eos):
32127 * tools/gst-compprep.c: (main):
32128 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32129 (print_pad_info), (print_children_info):
32130 * tools/gst-launch.c: (idle_func), (main):
32131 * tools/gst-md5sum.c: (idle_func), (main):
32132 * tools/gst-xmlinspect.c: (print_element_info):
32133 First THREADED backport attempt, focusing on adding locks and
32134 making sure the API is threadsafe. Needs more work. More docs
32137 2005-02-24 Andy Wingo <wingo@pobox.com>
32139 * tests/bench-complexity.scm:
32140 * tests/complexity.gnuplot: New files, good for running complexity
32143 * tests/Makefile.am:
32144 * tests/complexity.c: New test, sets up N elements, at each level
32145 teeing into M streams per element. Eeeenteresting.
32147 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32148 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32149 running bench-mass_elements.scm.
32151 * tests/bench-mass_elements.scm: New script, runs mass_elements
32152 for various numbers of identities, outputting the results to a
32153 file. Requires guile 1.6. Just for testing.
32155 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32157 * gst/schedulers/fairscheduler.c:
32158 compile with debug disabled
32160 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32163 hunting season on 0.9 is now OPEN