1 2008-12-04 Sebastian Dröge <sebastian.droege@collabora.co.uk>
4 Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
7 2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
9 Patch by: Cygwin Ports maintainer
10 <yselkowitz at users dot sourceforge dot net>
14 Require gettext 0.17 because older versions don't mix with libtool
15 2.2. At build time an older gettext version will still work.
18 2008-11-27 Wim Taymans <wim.taymans@collabora.co.uk>
20 Patch by: 이문형 <iwings at gmail dot com>
22 * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
23 Adds support for FD_CONNECT event (win32). See #562258.
25 2008-11-24 Stefan Kost <ensonic@users.sf.net>
27 * libs/gst/base/gstbasesink.c:
28 Turn comment into gtk-doc comment.
30 2008-11-24 Wim Taymans <wim.taymans@collabora.co.uk>
32 * libs/gst/base/gstbasetransform.c:
33 (gst_base_transform_acceptcaps):
34 Revert quick accepcaps attempt, it's not fully equivalent to the old
35 behaviour and thus causes regressions.
37 2008-11-24 Edward Hervey <edward.hervey@collabora.co.uk>
39 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
42 2008-11-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
44 Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
46 * gst/gstregistry.c: (gst_registry_scan_path_level):
47 Reduce the number of stat() calls for every file from three times
48 to one time. Fixes bug #560360.
50 2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
52 * libs/gst/base/gstbasetransform.c:
53 (gst_base_transform_acceptcaps):
54 Rename a variable to make the code clearer.
56 2008-11-21 Stefan Kost <ensonic@users.sf.net>
58 * plugins/elements/gstidentity.c:
59 Don't warning on offset==-1. Taken from _check_imperfect_offset().
61 2008-11-21 Michael Smith <msmith@songbirdnest.com>
63 * plugins/elements/gstfilesrc.c:
64 Check for localhost in URI was backwards, fix it. Fixes unit test.
66 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
68 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
69 (gst_base_transform_getcaps), (gst_base_transform_find_transform),
70 (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
71 Add beginnings of a more optimized acceptcaps function than the default
74 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
76 * gst/gstpad.c: (gst_pad_accept_caps):
77 Avoid getting the acceptcaps function too early.
79 2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
81 * tools/gst-launch.c: (event_loop):
82 Make gst-launch handle LATENCY messages and make it recalculate the
85 2008-11-20 Michael Smith <msmith@songbirdnest.com>
87 * plugins/elements/gstfilesrc.c:
88 Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
89 out own slightly incorrect version. Fixes use of some paths on
92 2008-11-20 Michael Smith <msmith@songbirdnest.com>
94 * gst/gstregistrybinary.c:
95 In win32 codepath, if we fail to write the registry, create the
96 directory for it and try again, matching the behaviour in non-win32
99 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
101 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
102 Changing the render delay changes the latency and so we must post a
105 2008-11-20 Wim Taymans <wim.taymans@collabora.co.uk>
109 Add GstQueryType for custom queries instead of having to use the
110 not-so-very-convenient registration infrastructure to register new
113 2008-11-19 Sebastian Dröge <sebastian.droege@collabora.co.uk>
115 Patch by: Andrew Feren <acferen at yahoo dot com>
117 * gst/gstobject.c: (gst_object_default_deep_notify):
118 Unref the GEnumClass after usage again. Fixes bug #561501.
120 2008-11-19 Wim Taymans <wim.taymans@collabora.co.uk>
122 * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
123 (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
124 (gst_bin_change_state_func):
126 Add do-latency signal with the old default fallback implementation. This
127 allows for custom latency calculations for when the default is not
129 API: GstBin::do-latency signal.
131 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
133 * win32/common/libgstreamer.def:
134 Add new symbols to .def file.
136 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
138 * docs/gst/gstreamer-sections.txt:
139 * gst/gstbin.c: (gst_bin_recalculate_latency),
140 (gst_bin_change_state_func):
142 Add method to recalculate and redistribute the latency on a bin.
143 API: gst_bin_recalculate_latency().
145 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
148 Document the free_func.
150 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
152 * libs/gst/controller/gstinterpolation.c:
153 * libs/gst/controller/gstlfocontrolsource.c:
154 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
155 as it is mapped to a cast on non-win32 platforms.
157 2008-11-17 Stefan Kost <ensonic@users.sf.net>
159 * libs/gst/controller/gstcontroller.c:
160 * libs/gst/controller/gstcontrollerprivate.h:
161 Keep last-value and only call set_property if value has changed. This
162 supresses all the g_object_notifies we would trigger otherwise. It
163 also allows the user to chage the value while there is no controller
166 2008-11-17 Stefan Kost <ensonic@users.sf.net>
169 Don't crash if either of the string GValues is empty.
171 2008-11-17 Andy Wingo <wingo@pobox.com>
173 * tools/gst-inspect.c (print_all_uri_handlers): New function,
174 prints a summary of what URI schemes are supported by what
176 (main): Plumb in support for --uri-handlers or -u, and fix the
177 argc check for -a and -u.
179 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
182 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
183 conversion functions.
185 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
187 * gst/gstbuffer.c: (gst_buffer_finalize):
188 Avoid costly typechecking for trivially correct pointers.
190 * gst/gstpoll.c: (gst_poll_wait):
191 Add some G_LIKELY here and there.
193 * libs/gst/base/gstadapter.c: (gst_adapter_push):
196 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
198 * docs/random/wtay/poll-timeout:
201 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
203 * tests/old/testsuite/caps/intersection.c: (main):
204 * tests/old/testsuite/plugin/loading.c: (main):
205 Remove references to deprecated API g_mem_chunk*.
208 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
210 * tools/gst-inspect.c: (main):
211 Add --plugin option. Fixes #560301.
213 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
215 * docs/random/wtay/poll-timeout:
216 Quick braindump for a possible (not totally verified) atomic case.
218 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
220 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
221 (gst_registry_binary_initialize_magic),
222 (gst_registry_binary_write_cache),
223 (gst_registry_binary_check_magic):
224 * gst/gstregistrybinary.h:
225 Don't write and check a CRC for the binary registry file. It's
226 guaranteed that the registry is completely written (it's first written
227 to a temporary file and then moved) and if the registry was corrupted
228 by some hardware failure we would have bigger problems.
230 Bump binary registry version to 0.10.21.1 for this as it's an
231 incompatible change and to ensure that the registry gets rebuild
234 This saves some milliseconds for reading/writing the registry.
237 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
239 * docs/random/wtay/poll-timeout:
240 Some pseudo code for how we could implement clock timeouts with GstPoll.
242 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
244 * plugins/elements/gstfilesink.c:
245 Update Author string to match others.
247 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
249 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
250 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
251 being fixed and inline the trivial check.
253 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
255 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
256 (gst_caps_merge_structure), (gst_caps_get_structure),
257 (gst_caps_copy_nth), (gst_caps_set_simple),
258 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
259 (gst_caps_is_equal_fixed), (gst_caps_intersect),
260 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
261 (gst_caps_to_string):
262 Callgrind micro optimisations.
263 Avoid array bounds checks and force inline of trivial function.
265 * gst/gstobject.c: (gst_object_set_name_default):
266 -1 is equivalent to letting glib to the strlen but then there is more
267 room for optimisations and it's not our fault.
269 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
270 no need to clear the array, we're cool.
272 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
273 The most common _is_fixed() check is done on fundamental glib base
274 types so we check this first instead of doing a huge amount of
275 useless GST_TYPE_ARRAY calls.
277 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
280 Add a SKIP seek flag for use with advanced trickmodes.
281 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
283 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
285 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
286 No need to memset, we can clear the value ourselves.
288 * gst/gstvalue.c: (gst_type_is_fixed),
289 (gst_value_get_compare_func):
290 Some optimisations from a few callgrind sessions:
291 When checking if a type is fixed, check for trivial fundamental types
292 first before checking types for which we need to get the type followed
293 by the heavy duty type checks, this reduces the amount of
294 g_type_fundamental() calls a lot.
295 When getting the compare function, first check for our registered types.
296 If that fails, do the heavy duty g_type_is_a() checks, reduces the
297 amount of g_type_is_a() considerably.
299 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
301 * docs/design/part-TODO.txt:
302 Mumble something about removing GstXML.
304 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
306 * gst/gstbin.c: (gst_bin_handle_message_func):
307 Get the seqnum before we dispose the message.
309 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
311 * docs/design/part-TODO.txt:
312 Refer to the framestepping document.
314 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
316 * gst/gstbin.c: (bin_handle_async_start),
317 (gst_bin_handle_message_func), (gst_bin_query):
318 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
319 (gst_base_sink_event), (gst_base_sink_change_state):
320 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
321 (gst_base_src_loop), (gst_base_src_change_state):
322 Copy seqnums from events to messages so that they can all be related
325 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
327 * tools/gst-launch.c: (event_loop):
328 Print the message seqnums.
330 2008-11-04 Andy Wingo <wingo@pobox.com>
332 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
334 2008-11-04 Andy Wingo <wingo@pobox.com>
336 Add sequence numbers to events and messages. See #559250.
338 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
342 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
343 events with a new sequence number, and copy it when copying.
344 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
345 an event's sequence number.
348 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
349 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
352 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
354 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
356 * docs/manual/advanced-position.xml:
357 * docs/manual/basics-bins.xml:
358 * docs/manual/basics-bus.xml:
359 * docs/manual/basics-pads.xml:
360 * docs/manual/intro-gstreamer.xml:
361 * docs/manual/intro-preface.xml:
362 Some Application Development Manual fixes thanks to
363 Andrew Feren. Fixes #558459.
365 2008-11-03 Stefan Kost <ensonic@users.sf.net>
367 * gst/gstregistrybinary.c:
368 Don't bother with the GTimer if we don't output the results.
370 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
372 Patch by: David Schleef <ds@schleef.org>
374 * libs/gst/net/Makefile.am:
375 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
377 2008-10-31 Stefan Kost <ensonic@users.sf.net>
379 * gst/gstregistrybinary.c:
380 Oh my, studip, stupid me. Remove double stat() call.
382 2008-10-31 Stefan Kost <ensonic@users.sf.net>
385 Use g_unlink instead of unlink.
387 * gst/gststructure.c:
396 Formatting & whitespaces.
398 2008-10-31 Stefan Kost <ensonic@users.sf.net>
400 * plugins/elements/gstidentity.c:
401 Doc typo. Use return value of parent_class->event.
403 * plugins/elements/gsttypefindelement.c:
404 Chain up at the end for consistency.
406 2008-10-30 Stefan Kost <ensonic@users.sf.net>
409 * docs/gst/gstreamer-docs.sgml:
410 * docs/gst/gstreamer-sections.txt:
411 * docs/gst/running.xml:
412 * docs/libs/gstreamer-libs-docs.sgml:
413 Change to xinclude based build - its faster and easier to maintain.
415 2008-10-30 Stefan Kost <ensonic@users.sf.net>
417 * gst/gstregistrybinary.c:
418 * gst/gstregistryxml.c:
419 Use g_unlink() as none of these are directories.
421 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
423 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
426 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
428 * libs/gst/base/gstbasetransform.c:
429 (gst_base_transform_find_transform), (gst_base_transform_getrange):
430 If we have a fixate function, call it even if we already have fixed caps
431 because the subclass might add some caps. Makes audioconvert add a
432 default channel layout.
434 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
436 * libs/gst/base/gstbasetransform.c:
437 (gst_base_transform_prepare_output_buffer),
438 (gst_base_transform_getrange):
439 Clear the output buffer variable.
440 Cleanups to the error path in the getrange function.
443 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
445 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
446 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
447 Use gst_buffer_try_new_and_alloc() and handle errors instead of
448 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
451 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
453 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
454 Set the last_stop to a more meaningful position when configuring the
455 segment. ie. the start/stop of the segment or clipped against the
456 updated segment boundaries.
458 * tests/check/gst/gstsegment.c: (GST_START_TEST):
459 Add some unit tests for the last_stop.
461 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
463 * libs/gst/base/gstbytereader.c:
464 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
467 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
469 * docs/gst/gstreamer-sections.txt:
471 API: Move float endianness conversion macros from libgstfloatcast
472 to core as it's useful in general, even in core. Fixes bug #555196.
473 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
474 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
475 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
477 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
478 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
479 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
480 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
482 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
484 * docs/libs/gstreamer-libs-sections.txt:
485 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
486 (gst_byte_reader_peek_data):
487 * libs/gst/base/gstbytereader.h:
488 * win32/common/libgstbase.def:
489 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
490 to get a pointer to the data at the current position and have
493 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
496 Fix a bug in the output of the configure script summary
497 when --gst-disable-registry is supplied
499 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
501 * libs/gst/base/gstbitreader.c:
502 * libs/gst/base/gstbytereader.c:
503 Fix the names of 2 functions in the docs strings.
505 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
507 * libs/gst/base/gstbasetransform.c:
508 (gst_base_transform_prepare_output_buffer),
509 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
510 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
511 refcount problems as seen in banshee and maybe also in farsight2.
512 Remove atomic int now that we need to take the lock anyways.
514 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
516 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
517 (gst_base_sink_default_prepare_seek_segment),
518 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
519 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
520 (gst_base_sink_query):
521 Implement more seeking in pull mode.
522 Use pad convert functions to convert position to the requested format.
523 Fix position/duration reporting in pull mode.
524 Implement position and duration reporting in other formats than time.
526 * libs/gst/base/gstbasesink.h:
527 Add member to keep track of when the segment is playing.
529 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
531 * gst/gstpad.c: (gst_pad_configure_src):
532 When we use gst_pad_alloc_buffer() without wanting to set the caps we
533 also don't need to check if the caps are compatible because the caller
534 presumably is going to perform its own custom checks. Fixes some cases
535 where basetransform elements would error out when it was not needed.
537 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
539 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
542 * libs/gst/base/gstbasetransform.c:
543 (gst_base_transform_handle_buffer),
544 (gst_base_transform_reconfigure):
547 * win32/common/libgstbase.def:
550 2008-10-19 Stefan Kost <ensonic@users.sf.net>
552 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
553 Remove duplicated assignment and log a message in failure case.
555 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
557 Patch by: Dig Ge <dig.ge.cn at gmail com>
559 * tests/examples/helloworld/helloworld.c: (main):
560 Fix copy'n'paste bug in hello world example (#556900).
562 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
564 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
565 (gst_base_sink_query):
566 Query the total number of bytes when activating the pad in pull mode.
567 Implement duration query in pull mode by using the installed pad convert
568 function to convert from bytes to the requested format.
570 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
572 * docs/libs/gstreamer-libs-sections.txt:
573 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
574 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
575 (gst_base_sink_event), (gst_base_sink_perform_seek),
576 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
577 (gst_base_sink_send_event), (gst_base_sink_change_state):
578 * libs/gst/base/gstbasesink.h:
579 Add method to commit the state in subclasses.
580 Refactor the flush_start and flush_stop code because we need it for
581 flushing while seeking too.
582 Implement the beginnings of seeking in pull mode.
583 Use the segment last_stop field for the pulling offset.
584 Fix the pause method in pull mode.
585 Configure the segment to BYTES for pull mode.
586 API: GstBaseSink::gst_base_sink_do_preroll()
588 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
590 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
593 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
595 * gst/gstquark.c: (_priv_gst_quarks_initialize):
596 Fix printf format warning.
598 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
600 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
601 Fix flow aggregation of tee. Error out immediately for all flow returns
602 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
603 and return OK if at least one pad is linked.
605 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
606 and otherwise returned the flow return of the last pad, which is wrong.
608 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
609 (GST_START_TEST), (tee_suite):
610 Add unit tests for the flow aggregation.
612 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
614 * docs/design/part-TODO.txt:
615 Remove item from the todo list because it was fixed with the latency
616 state change rewrites.
618 * docs/design/part-seeking.txt:
619 * docs/design/part-segments.txt:
622 * gst/gstevent.c: (gst_event_new_new_segment_full),
623 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
624 (gst_event_parse_buffer_size), (gst_event_new_qos),
625 (gst_event_parse_qos), (gst_event_new_seek),
626 (gst_event_parse_seek), (gst_event_new_latency),
627 (gst_event_parse_latency):
628 Use quarks to construct and parse events.
630 * gst/gstquark.c: (_priv_gst_quarks_initialize):
632 Add some more quarks to the table.
633 Emit a warning when the quark tables are not in sync.
635 * tests/check/gst/gstbus.c: (GST_START_TEST):
638 2008-10-13 Stefan Kost <ensonic@users.sf.net>
640 * plugins/elements/Makefile.am:
641 * plugins/indexers/Makefile.am:
642 Don't install static libs for plugins. Fixes #550851 for core.
644 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
646 * gst/gstbus.c: (gst_bus_source_finalize),
647 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
648 (gst_bus_enable_sync_message_emission),
649 (gst_bus_disable_sync_message_emission),
650 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
651 Fix deadlock, g_source_get_id() cannot be called in finalize.
652 Keep track of the watch source by keeping a pointer to the source object
654 Use the bus lock to protect access to the pointer to the current
657 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
659 Base on Patch by: Olivier Crete <tester at tester dot ca>
661 * gst/gstbus.c: (gst_bus_source_finalize),
662 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
663 Only allow one bus watch to be set at a time. This is necessary
664 because the dispatcher pops the message from the bus and the second
665 watcher will then get NULL or the next message (and the first won't
666 get this next message then, etc). If more than one "watcher" is
667 required signal watches should be used. Fixes bug #526044.
669 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
671 * tools/gst-launch.c:
672 Change the printing of the 'buffering...' output to avoid putting
673 a \r in a translateable string (flagged by the TP).
675 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
678 Clarify that the save_thyself() and restore_thyself() virtual
679 functions of GstObject need to be overriden, not
680 gst_object_(save|restore)_thyself() which is impossible.
683 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
685 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
686 Revert a patch from 21 months ago that broke caps negotiation in pull
687 mode. Basically, having a buffer pass over a pad will trigger the
688 setcaps function when caps change, just like in push mode.
690 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
692 * docs/design/part-negotiation.txt:
693 Update the docs some more.
695 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
696 If we pull a buffer with non-trivial caps, suggest those caps with the
699 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
701 * docs/design/part-TODO.txt:
702 Add another limitation of pad-blocking with segment seeks not pushing
705 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
707 * win32/common/libgstbase.def:
708 * win32/common/libgstreamer.def:
709 Add new symbols to the win32 defs files
711 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
713 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
714 (gst_bin_handle_message_func):
715 The message src can be NULL, don't try to print the object names in that
718 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
719 Add some more debug info.
721 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
724 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
727 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
729 * docs/design/part-negotiation.txt:
732 * docs/libs/gstreamer-libs-sections.txt:
733 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
734 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
735 (gst_base_sink_init), (gst_base_sink_set_blocksize),
736 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
737 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
738 (gst_base_sink_loop), (gst_base_sink_pad_activate),
739 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
740 (gst_base_sink_change_state):
741 * libs/gst/base/gstbasesink.h:
742 Add blocksize property and methods to control the amount of data
744 Negotiate first before activating upstream in pull mode so that they can
745 negotiate themselves.
746 When we operate in pull mode, we only accept the caps that we
748 Make the sink go ASYNC to PAUSED, like all other sinks.
749 API: GstBaseSink::gst_base_sink_set_blocksize()
750 API: GstBaseSink::gst_base_sink_get_blocksize()
751 API: GstBaseSink::blocksize
753 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
754 (gst_base_src_set_live), (gst_base_src_is_live),
755 (gst_base_src_set_format), (gst_base_src_query_latency),
756 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
757 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
758 (gst_base_src_set_property), (gst_base_src_get_property):
759 * libs/gst/base/gstbasesrc.h:
760 Add typechecking in public API functions.
761 Add methods to control the blocksize in subclasses.
762 API: GstBaseSrc::gst_base_src_set_blocksize()
763 API: GstBaseSrc::gst_base_src_get_blocksize()
765 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
767 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
768 (buffer_probe), (event_probe), (GST_START_TEST):
769 We now see 3 events go through our pad, since basesink now sends
770 upstream latency events.
772 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
774 * gst/gstpipeline.c: (gst_pipeline_change_state):
775 Release the object lock before trying to flush the bus.
777 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
779 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
780 Forward LATENCY events upstreams so that elements know about the total
781 pipeline latency. Fixes #555307.
783 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
785 * plugins/elements/gstqueue.c:
786 Allow through queries when we don't know how
787 to adjust them (not TIME or BYTES), as otherwise it's
788 not possible to query the current position in order
789 to seek in other formats at all.
791 2008-10-08 Andy Wingo <wingo@pobox.com>
793 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
795 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
799 Unbreak -good build, private is a reserved c++ keyword.
801 2008-10-08 Andy Wingo <wingo@pobox.com>
803 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
804 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
805 removal: re-add GST_GHOST_PAD_CAST to the header.
807 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
808 (GstGhostPadClass): Publically expose these structures so as to
809 allow easy subclassing from C. Hide the member data behind a
810 private opaque data pointer.
812 * gst/gstghostpad.c: Adapt to store instance data in the type
813 instance's private data region, not in the public struct.
815 2008-10-08 Andy Wingo <wingo@pobox.com>
817 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
818 template via g_object_get(), be sure to unref it.
820 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
822 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
824 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
825 If we can't get a cache file don't try to save something to it.
826 Dereferencing NULL pointers usually isn't a good idea.
828 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
830 * tests/check/Makefile.am:
831 * tests/check/gst/gstabi.c:
832 * tests/check/gst/struct_sparc.h:
833 * tests/check/libs/libsabi.c:
834 * tests/check/libs/struct_sparc.h:
837 * tests/check/gst/gstvalue.c: (GST_START_TEST):
838 Cast signed integer to unsigned to avoid a compiler warning.
840 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
842 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
843 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
844 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
845 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
846 (gst_byte_reader_peek_int24_be):
847 Use new GST_READ_UINT24_(LE|BE) macros.
849 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
851 * docs/gst/gstreamer-sections.txt:
853 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
854 as it's too easy to break the ISO C strict aliasing rules with simple
855 casts to the corresponding type and this would introduce hard to debug
856 bugs. Fixes bug #545714.
858 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
860 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
862 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
863 * gst/gstghostpad.c: (gst_ghost_pad_construct):
864 Add 'Since' bits to gtk-doc chunks for new API.
866 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
868 * docs/gst/gstreamer-sections.txt:
871 2008-10-06 Andy Wingo <wingo@pobox.com>
873 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
874 that will be called on the malloc_data to free it. Basically a way
875 to avoid subclassing when all you need is a different free
876 function, i.e. free() instead of g_free().
878 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
879 calling the free function.
880 (gst_buffer_init): Initialize the free function to g_free.
882 2008-10-06 Andy Wingo <wingo@pobox.com>
885 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
886 finishes the initialization of ghost pad. Useful for language
887 bindings and subclassers of GstGhostPad. Fixes #539108.
888 (gst_ghost_pad_new_full): Use the new constructor.
890 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
892 Base on Patch by: Olivier Crete <tester at tester dot ca>
894 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
895 (gst_bin_remove_func), (update_degree),
896 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
897 Keep track of pads that are being linked/unlinked and resync the state
900 * gst/gstpad.c: (gst_pad_get_direction),
901 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
902 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
903 (gst_pad_link_prepare), (gst_pad_link),
904 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
905 (gst_pad_check_pull_range), (gst_pad_get_range),
906 (gst_pad_pull_range):
907 Some code cleanups, use macros to check pad direction.
908 Don't need to take the lock on the pad direction.
909 Post structure change when pads are linked/unlinked.
910 Change some checks into _return_if_fail().
912 * tests/check/gst/gstbin.c:
913 (test_link_structure_change_state_changed_sync_cb),
914 (GST_START_TEST), (gst_bin_suite):
915 Add testcase for pad link/unlinke resync during a state change.
918 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
920 * docs/gst/gstreamer-sections.txt:
921 * gst/gstmessage.c: (gst_message_new_structure_change),
922 (gst_message_parse_structure_change):
924 Implement STRUCTURE_CHANGED messages. These messages will be used to
925 signal the parent bin of link/unlink operations that could require a
926 resync when doing a state change. See ##510354.
927 API: gst_message_new_structure_change()
928 API: gst_message_parse_structure_change()
930 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
934 Add some more quarks for new message. See #510354.
936 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
938 * docs/libs/gstreamer-libs-docs.sgml:
939 * docs/libs/gstreamer-libs-sections.txt:
940 * libs/gst/base/Makefile.am:
941 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
942 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
943 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
944 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
945 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
946 (gst_bit_reader_skip_to_byte):
947 * libs/gst/base/gstbitreader.h:
948 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
949 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
950 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
951 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
952 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
953 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
954 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
955 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
956 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
957 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
958 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
959 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
960 * libs/gst/base/gstbytereader.h:
961 * tests/check/Makefile.am:
962 * tests/check/libs/bitreader.c: (GST_START_TEST),
963 (gst_bit_reader_suite):
964 * tests/check/libs/bytereader.c: (GST_START_TEST),
965 (gst_byte_reader_suite):
966 API: Add bit reader and byte reader classes, including documentation
967 and an extensive unit test suite. Fixes bug #553554.
969 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
971 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
972 (gst_base_sink_query):
973 Improve position reporting while flushing and other intermediate state
974 changes. Fixes #553874.
976 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
978 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
980 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
981 Original patch by : Simon Descaries
982 Fix small refount leak in caps compatibility check.
985 2008-10-06 Stefan Kost <ensonic@users.sf.net>
987 * docs/pwg/advanced-request.xml:
988 Fix 0.8 api usage in example. Fixes #554561
990 * docs/pwg/appendix-porting.xml:
991 Change 0.9 to 0.10 here.
993 2008-10-06 Stefan Kost <ensonic@users.sf.net>
995 * docs/manual/basics-data.xml:
996 Change "event-event interaction" to "element-element interaction".
997 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1000 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
1003 Back to development -> 0.10.21.1
1005 === release 0.10.21 ===
1007 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
1010 releasing 0.10.21, "Take These Things From Me"
1012 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1015 0.10.20.4 pre-release
1017 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
1019 * libs/gst/base/gstbasetransform.c:
1020 * plugins/elements/gstcapsfilter.c:
1021 * tests/check/Makefile.am:
1022 * tests/check/elements/.cvsignore:
1023 * tests/check/elements/capsfilter.c:
1024 Fix assertion in basetransform when the subclass chooses not to
1025 allocate a buffer in prepare_buffer(), and make capsfilter error out
1026 cleanly if requested to apply caps that don't completely specify the
1027 buffer. Fixes #551509
1029 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
1031 * libs/gst/base/gstbasetransform.c:
1032 (gst_base_transform_prepare_output_buffer):
1033 Take new caps ref because our old one might have been gone when the
1034 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1036 2008-09-15 Stefan Kost <ensonic@users.sf.net>
1039 Do not probe availability of check unit test library when cross
1040 compiling, as test would not work anyway. Also cleanup verbose output
1041 of the check test. Fixes #551952.
1043 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
1045 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1047 * gst/gstelement.c: (gst_element_sync_state_with_parent):
1048 Avoid leaking the parent ref when we fail changing the state of the
1049 element using gst_element_sync_state_with_parent(). Fixes #551978.
1051 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
1053 * docs/manual/intro-motivation.xml::
1054 Remove some bits that no longer apply, update others (#551642).
1056 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
1059 0.10.20.2 pre-release
1067 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1069 * win32/common/config.h.in:
1070 Add GST_DATADIR, hard-code cpu to x86.
1072 * win32/common/libgstreamer.def:
1075 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1078 Fix Since: markers for new geo tags.
1080 2008-09-02 Stefan Kost <ensonic@users.sf.net>
1083 Fix actual tag name define after renaming from altitude to elevation.
1085 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1087 * gst/gstpad.c: (add_unref_pad_to_list),
1088 (gst_pad_get_internal_links_default):
1089 Add fallback when calling the deprecated function on an element that
1090 implements the new internal_link handler.
1092 2008-09-01 Stefan Kost <ensonic@users.sf.net>
1094 * docs/gst/gstreamer-sections.txt:
1097 Add new tags for geo location and clarify purpose of existing location
1100 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1102 Patch by: Olivier Crete <tester at tester dot ca>
1104 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1105 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1106 Use thread-safe internal links iterator. Fixes #549504.
1108 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
1110 Based on patch by: Olivier Crete <tester at tester dot ca>
1112 * docs/gst/gstreamer-sections.txt:
1113 * win32/common/libgstreamer.def:
1114 * gst/gstpad.c: (gst_pad_init),
1115 (gst_pad_set_iterate_internal_links_function),
1116 (int_link_iter_data_free), (iterate_pad),
1117 (gst_pad_iterate_internal_links_default),
1118 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1120 Add threadsafe replacement functions for getting internal links of an
1121 element. Deprecate the old internal links functions.
1122 API:GstPad::gst_pad_set_iterate_internal_links_function()
1123 API:GstPad::GstPadIterIntLinkFunction
1124 API:GstPad::gst_pad_iterate_internal_links()
1125 API:GstPad::gst_pad_iterate_internal_links_default()
1127 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1128 (gst_proxy_pad_init):
1129 Implement threadsafe internal links.
1131 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1132 Unit test for internal links on tee. See #549504.
1134 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1136 * tests/check/Makefile.am:
1137 libs/transform1 test requires libs/test_transform.c
1139 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1141 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1142 Die evil deadlock, die !
1144 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1146 * gst/gstutils.c: (gst_element_get_compatible_pad):
1147 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1148 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1149 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1150 not steal the refcount of the given caps as stated.
1152 REVERT THIS COMMIT ONCE FIXED !
1153 REVERT THIS COMMIT ONCE FIXED !
1154 REVERT THIS COMMIT ONCE FIXED !
1155 REVERT THIS COMMIT ONCE FIXED !
1156 REVERT THIS COMMIT ONCE FIXED !
1157 REVERT THIS COMMIT ONCE FIXED !
1159 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1161 * gst/gstiterator.c:
1162 * gst/gstiterator.h:
1163 After 3 years it's about time to revise the documentation of the
1166 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1168 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1169 Make the internal links function less thread-unsafe and add some
1170 comments, dunno why.
1172 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1174 * gst/gst_private.h:
1175 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1176 build with --disable-gst-debug.
1178 2008-08-28 David Schleef <ds@schleef.org>
1180 * gst/gstpadtemplate.c: Revert last change, since it breaks
1181 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1182 but shouldn't be enabled until we've released fixed versions
1183 of -good and -ffmpeg.
1185 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1188 Put the gst_object_get_name() back in.
1190 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1192 * gst/gstpadtemplate.c:
1193 The old behaviour was that gst_pad_template_new() takes ownership of
1194 the caps. As we now call g_object_new() which calls g_object_set() and
1195 which copies the caps, we have to unref them to not leak them. Fixes
1196 make valgrid for me.
1198 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1201 Don't segfault on input like "tel:+1-123-555-1234".
1203 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1206 Due to popular request also include ObjectType in
1207 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1209 2008-08-26 David Schleef <ds@schleef.org>
1211 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1212 src_val must be positive, because that's not a requirement.
1213 This causes problems with converting negative granulepos
1215 * gst/gstquery.c: Same, gst_query_new_convert().
1217 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1219 * gst/gstclock.c: (gst_clock_add_observation):
1220 Add some more debugging to the clock slaving code.
1222 * win32/common/libgstbase.def:
1223 Add new basetransform method.
1225 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1227 * gst/gstbin.c: (gst_bin_element_set_state):
1228 Take the (recursive) state lock between getting the locked state of an
1229 element and changing the element state. This allows the application to
1230 lock an element's state and then change its state without races.
1232 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1234 * gst/gstbin.c: (gst_bin_element_set_state):
1235 When an element is in the locked state we still want to update the
1236 base_time of the element.
1238 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1240 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1241 Use the result from gst_pad_set_caps() instead of assuming the element
1242 always accepted the caps computed by the default negotiate function.
1244 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1246 * docs/libs/gstreamer-libs-sections.txt:
1247 * libs/gst/base/gstbasetransform.c:
1248 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1249 (gst_base_transform_chain), (gst_base_transform_suggest),
1250 (gst_base_transform_reconfigure):
1251 * libs/gst/base/gstbasetransform.h:
1252 Implement method for reconfiguring basetransform.
1253 API: GstBaseTransform::gst_base_transform_reconfigure()
1255 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1257 patch by: Murray Cumming <murrayc@murrayc.com>
1260 Mention that this is just like gst_buffer_merge() but with extra
1261 unreffing for C coders. Advise language bindings not to wrap it.
1264 Also fix file comment.
1266 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1268 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1270 * plugins/elements/gstfakesink.c:
1271 * plugins/elements/gstfakesrc.c:
1272 Call super::event() when not handling it. Fixes #544855.
1274 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1276 Patch by: Alessandro Decina <alessandro@nnva.org>
1277 * plugins/elements/gstfilesrc.c:
1278 Use 64 bit variants of stat functions on win32, to enable support
1279 of large files there.
1282 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1284 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1285 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1286 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1287 (gst_base_sink_get_position), (gst_base_sink_change_state):
1288 Improve position reporting in the flushing state.
1289 Also report the position when we are not yet prerolled but we
1290 have a newsegment event. Fixes #543444.
1291 Improve the pull-based negotiation code.
1293 * tests/check/elements/fakesink.c: (GST_START_TEST),
1295 Add testcase for position reporting while flushing in PAUSED and
1298 * tests/check/generic/sinks.c: (GST_START_TEST):
1299 Update unit-test, we can now query the position as soon as we receive a
1302 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1304 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1306 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1307 When the subclass event handler releases the PREROLL_LOCK, we could be
1308 in the flushing state and we have to ignore the event. Fixes #548394.
1310 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1312 * tools/gst-launch.1.in:
1313 Document GST_REGISTRY_UPDATE environment variable.
1315 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1317 * libs/gst/base/gstbasetransform.c:
1318 (gst_base_transform_prepare_output_buffer):
1319 If the element is configured in passthrough mode but the
1320 prepare_output_buffer gave us a new output buffer, discard that buffer
1321 and reuse the input buffer.
1323 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1325 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1327 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1328 (gst_tee_request_new_pad), (gst_tee_release_pad),
1329 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1330 * plugins/elements/gsttee.h:
1331 Protect pad_alloc with a new lock so that we can be sure that nothing is
1332 performing a pad_alloc when removing the pad. Fixes #547835.
1334 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1335 (buffer_alloc_harness_teardown), (app_thread_func),
1336 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1337 Added testcase for shutdown race.
1339 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1344 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1346 * libs/gst/base/gstbasetransform.c:
1347 (gst_base_transform_prepare_output_buffer),
1348 (gst_base_transform_buffer_alloc):
1349 Go over the buffer_alloc function again and make sure we always end up
1350 allocating a buffer.
1352 Avoid doing pad alloc when we have a pending suggestion because we
1353 cannot yet deal with changing caps in that case. Fixes #547728
1355 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1357 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1359 * docs/manual/advanced-clocks.xml:
1360 * docs/manual/clocks.png:
1361 * docs/manual/diagrams-clocks.svg:
1362 Add one more image showing different times together with a describing
1363 paragraph. Fixes #547729.
1365 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1367 * win32/common/libgstbase.def:
1370 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1372 * libs/gst/base/gstbasetransform.c:
1373 (gst_base_transform_transform_caps),
1374 (gst_base_transform_prepare_output_buffer),
1375 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1376 Don't overwrite the outsize when calculating the expected size of a new
1377 buffer because we still need it in case we cannot process the new
1379 When converting the size of the new buffer to an upstream size, actually
1380 use the expected size of the buffer, not some other random value.
1381 Use an atomic int to signal that a new upstream caps suggestion is
1383 When we can convert the current buffer to a new format, check if the
1384 buffer size is of the expected size and allocate a new buffer of the
1385 expected size when this is not the case. Fixes #546883.
1387 * tests/check/libs/transform1.c: (GST_START_TEST):
1388 remove ifdeffed code from the unit test.
1390 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1392 * pkgconfig/gstreamer-uninstalled.pc.in:
1393 * pkgconfig/gstreamer.pc.in:
1394 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1395 called gstcontroller-0.10.
1397 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1399 * gst/gstchildproxy.h:
1401 Remove double interface from doc-string.
1403 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1405 * libs/gst/base/gstbasesrc.c:
1406 * libs/gst/base/gstbasetransform.c:
1407 Fix headings in docs and gtk-doc warnings.
1409 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1411 * gst/gstregistrybinary.c:
1412 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1416 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1418 * libs/gst/base/gstbasetransform.c:
1419 (gst_base_transform_buffer_alloc):
1420 Fix a "may be used unitialized" warning.
1422 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1424 * docs/gst/gstreamer-sections.txt:
1426 Document preset-iface vmethods.
1428 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1430 * docs/manual/advanced-interfaces.xml:
1431 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1432 only used to discover devices.
1434 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1436 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1438 * gst/gst.c: (init_pre):
1439 Make sure gettext returns translations in UTF-8 encoding rather
1440 than in the current locale encoding (#546822).
1442 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1444 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1447 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1448 Improve unit test subset tests and add a testcase for the subset failure
1451 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1452 Improve subtraction unit test.
1454 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1456 * plugins/elements/gsttee.c:
1457 Unlock, instead of locking again.
1459 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1462 Clarify the docs a bit more.
1464 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1466 * tests/examples/metadata/read-metadata.c:
1467 Don't leak old taglist.
1469 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1471 Patch by: Olivier Crete <tester at tester dot ca>
1473 * gst/gststructure.c:
1474 (gst_structure_fixate_field_nearest_fraction):
1475 Avoid overflows in fixation code when dealing with MAXINT values, which
1476 v4l2src seems to do.
1479 * tests/check/gst/gststructure.c: (GST_START_TEST):
1480 Make a unit test to check the fix.
1482 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1484 * plugins/elements/gstcapsfilter.c: (copy_func),
1485 (gst_capsfilter_set_property):
1486 Use new caps suggestion feature of basetransform to request a caps
1487 negotiation upstream.
1489 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1491 * docs/libs/gstreamer-libs-sections.txt:
1493 API: GstBaseTransform::gst_base_transform_suggest()
1495 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1496 (gst_base_transform_init), (gst_base_transform_transform_caps),
1497 (gst_base_transform_transform_size),
1498 (gst_base_transform_configure_caps),
1499 (gst_base_transform_can_transform),
1500 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1501 (gst_base_transform_prepare_output_buffer),
1502 (gst_base_transform_buffer_alloc),
1503 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1504 (gst_base_transform_chain), (gst_base_transform_activate),
1505 (gst_base_transform_set_passthrough),
1506 (gst_base_transform_is_passthrough),
1507 (gst_base_transform_set_in_place),
1508 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1509 (gst_base_transform_set_qos_enabled),
1510 (gst_base_transform_is_qos_enabled),
1511 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1512 (gst_base_transform_reconfigure):
1513 * libs/gst/base/gstbasetransform.h:
1514 Rewrite of basetransform to perform negotiation outside of the
1515 buffer_alloc functions. Fixes #545853.
1517 * tests/check/libs/transform1.c: (GST_START_TEST),
1521 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1523 * tests/check/gst/gstpreset.c:
1524 Only run preset tests when $HOME is writable. Preliminary fix for
1527 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1529 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1530 (gst_bin_change_state_func), (bin_handle_async_done),
1531 (gst_bin_handle_message_func):
1532 Fix race for bins that simulate ASYNC state changes by inserting
1533 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1534 pending ASYNC messages even when the bin does not have ASYNC children.
1535 We note detect this behaviour because we will receive an ASYNC message
1536 that is originating from the bin itself.
1537 Fixes races with decodebin2 state changes.
1539 * tests/check/gst/gstbin.c: (GST_START_TEST):
1540 Add some more debug.
1542 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1544 * gst/gsttaglist.c: (_gst_tag_initialize):
1547 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1550 Argh. actually save the text before committing. Now adds
1551 gst_tag_merge_strings_with_comma() to gst_tag_register().
1553 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1557 Do as tim pointed out and actually register the new tag. Also improve
1558 te docs and use gst_tag_merge_strings_with_comma() method to allow
1559 retriving all keywords merged in one list.
1561 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1564 * docs/gst/gstreamer.types:
1565 Revert 'accidential' change of the configure option removal. We still
1566 need to generate the types file in configure --disable-load-save.
1568 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1570 * docs/gst/gstreamer-sections.txt:
1572 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1574 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1576 * gst/gstpadtemplate.c:
1577 (gst_pad_template_class_init), (gst_static_pad_template_get),
1578 (gst_pad_template_new), (gst_pad_template_pad_created),
1579 (gst_pad_template_set_property), (gst_pad_template_get_property):
1580 Add "name-template", "direction", "presence" and "caps" properties,
1581 so that gst_pad_template_new() is just a thin wrapper around
1582 g_object_new(), which is better for bindings. (Fixes: #539772)
1584 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1587 Be more liberal in what URIs we accept.
1588 Do not unescape bits of the URI for no apparent reason before passing to
1589 the element. Fixes #545352.
1591 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1593 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1596 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1598 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1601 * docs/gst/gstreamer-sections.txt:
1602 * docs/gst/gstreamer.types:
1603 * docs/gst/gstreamer.types.in:
1606 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1607 * gst/gstconfig.h.in:
1608 * gst/gstelement.c: (gst_element_get_index):
1609 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1610 (gst_registry_binary_load_feature),
1611 (gst_registry_binary_read_cache):
1612 * gst/gstregistryxml.c: (load_feature),
1613 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1614 * plugins/Makefile.am:
1616 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1617 (print_plugin_features), (print_element_features):
1618 * tools/gst-xmlinspect.c: (print_event_masks),
1619 (print_element_info):
1620 * win32/common/gstconfig.h:
1621 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1623 Disabling the indexers and URI handler code will only reduce the
1624 required amount of memory by a very small amount but on the other hand
1625 requires much more maintaince work. Apart from that many places of
1626 code are broken when disabling them.
1628 Disabling the enum types doesn't reduce the required amount of memory
1629 by more than a few bytes and makes it hard to fix bugs like #539772,
1630 i.e. use the enums as GObject properties.
1632 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1634 * docs/design/part-TODO.txt:
1635 Add some thoughts and problems with upstream renegotiation.
1637 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1639 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1640 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1641 Remove silly redundant debug.
1642 Add some more debug info.
1643 Clarify the docs regarding new caps received from pad_alloc.
1645 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1647 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1648 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1649 Make setting the caps more threadsafe.
1651 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1653 * docs/design/part-element-transform.txt:
1656 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1658 * plugins/elements/gstqueue.c: (gst_queue_init),
1659 (gst_queue_acceptcaps):
1660 Add and use a custom acceptcaps function instead of falling back to the
1661 potentially less optimized default implementation.
1663 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1665 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1666 Only sanity-check the buffer size if requested_caps == buffer_caps
1667 (ie. don't take pad caps into account, they're not relevant here)
1669 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1671 * plugins/elements/gsttee.c:
1672 * plugins/elements/gsttee.h:
1673 Reverting as not everything is clear yet. Needs some general design
1676 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1679 ChangeLog surgery for tee commit.
1681 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1683 * docs/gst/gstreamer-sections.txt:
1684 Cleanup section-file.
1686 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1688 * plugins/elements/gsttee.c:
1689 * plugins/elements/gsttee.h:
1690 Relay tag events in tee. Fixes parts of #474016.
1691 Downgrades 3 reoccurring debugs to log.
1693 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1696 * libs/gst/Makefile.am:
1697 Build the net library if we have winsock2.
1699 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1701 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1703 * docs/manual/advanced-threads.xml:
1704 * docs/manual/diagrams-pipelines.svg:
1705 * docs/manual/hello-world.png:
1706 * docs/manual/linked-elements.png:
1707 * docs/manual/mime-world.png:
1708 * docs/manual/queue.png:
1709 * docs/manual/thread-buffering.png:
1710 * docs/manual/thread-synchronizing.png:
1711 Replace one diagram with two separate ones and updates others.
1714 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1717 Fix link in documentation.
1719 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1722 Fix confusing documentation.
1724 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1726 * libs/gst/base/gstbasesrc.h:
1727 revert the changes to the header file for the ABI.
1729 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1731 * libs/gst/base/gstbasesrc.c:
1732 * libs/gst/base/gstbasesrc.h:
1733 Don't cache the seekable status.
1736 2008-07-24 Rene Stadler <mail@renestadler.de>
1738 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1739 code to close the pipeline graph. This prevents the program from
1740 printing internal data flow errors.
1742 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1744 * docs/manual/basics-bus.xml:
1745 Correct typo. Fixes bug #544320.
1747 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1750 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1751 Add check (taken from -base) for winsock, adds WIN32_LIBS
1753 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1755 Define GST_EXPORTS when building libgstreamer (only used on win32)
1756 * gst/gst_private.h:
1758 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1759 for symbols that we need to export in both these files.
1761 Include gst_private.h higher up to avoid some compile problems on win32.
1763 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1768 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1771 Previous commit was wrong NULL caps does not exist
1772 and indicate an error, so also add a FIXME to
1773 gst_caps_is_equal where NULL caps are accepted.
1775 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1778 Allow passing of NULL to gst_caps_union
1780 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1782 * gst/gstghostpad.c:
1783 Add in doc that gst_ghost_pad_set_target can accept
1784 NULL to clear target
1786 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1789 * gst/gstregistry.c:
1790 GstRegistryPool doesn't exist; don't refer to it in docs.
1791 Don't refer to functions that don't exist in docs, it's
1794 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1797 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1799 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1801 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1803 * docs/pwg/building-testapp.xml:
1804 Don't use an undeclared variable in the example program.
1807 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1809 * gst/gstdebugutils.c:
1810 Squeeze ghost-pad links and remove <> from classname labels to save
1811 more horizontal space.
1813 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1815 * gst/gstdebugutils.c:
1816 Give request and sometimes pads a different shpe style. Condense the
1817 graphs a little more.
1819 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1822 Don't require flex and bison if the parser is disabled.
1824 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1826 * libs/gst/controller/gstinterpolationcontrolsource.c:
1827 (_list_find_sorted_custom):
1828 Don't use declarations after statements.
1830 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1832 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1833 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1834 of the the child-added / -removed signals as GstChildProxy
1835 only supports GstObjects.
1837 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1839 * gst/gstdebugutils.c:
1842 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1844 Patch by: Alessandro Decina <alessandro at nnva dot org>
1847 Fix "ignored return value" compiler warning with newer glibc.
1849 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1851 * gst/gstchildproxy.c:
1852 Fix copy&paste error in gst_child_proxy_removed() documentation.
1854 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1856 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1857 Print error debug message if plugin description fields that should
1860 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1861 Don't crash if the string to serialise is NULL (it really should
1862 not be, but apparently this used to work with the xml registry ...).
1864 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1866 * tools/gst-plot-timeline.py:
1867 Fix parsing of log messages
1869 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1871 * win32/common/libgstbase.def::
1872 Sort alphabetically so make check-exports doesn't barf.
1874 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1877 Use gst_format_get_name() to improve debug output.
1880 Remove #ifdef'ed code. Add TODO comment.
1883 Add debug output to ease spotting format != segment.format assertions.
1885 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1887 * tests/check/libs/gdp.c: (gst_dp_suite):
1888 Also enable the GDP unit test again on PPC now that the bug
1891 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1893 * libs/gst/dataprotocol/dataprotocol.c:
1894 Don't write to the same region of memory as a uint64 and uint16
1895 as this breaks strict aliasing rules and apparantly breaks on PPC
1896 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1898 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1900 * libs/gst/controller/gstinterpolationcontrolsource.c:
1901 Optimize list handling. Use own find function. Exploit that fact that
1902 the list is sorted. Also pass back the node before, so that we can
1903 insert quickly. Have a fast path for append.
1905 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1907 * docs/design/draft-framestep.txt:
1908 * docs/design/part-negotiation.txt:
1911 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1914 Show configuration sumary after configure run. Based on patch by
1915 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1917 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1919 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1921 * docs/manual/advanced-autoplugging.xml:
1922 * docs/manual/advanced-threads.xml:
1923 * docs/manual/basics-bins.xml:
1924 * docs/manual/basics-elements.xml:
1925 * docs/manual/basics-helloworld.xml:
1926 * docs/manual/basics-pads.xml:
1927 Add scale factor for pdf output.
1929 * docs/manual/intro-basics.xml:
1930 Switched sections "pads" and "bins" and added a pipeline diagram.
1932 * docs/manual/intro-gstreamer.xml:
1933 Added more info on gstreamer.
1935 * docs/manual/intro-motivation.xml:
1936 Commented out the whole section "current problem", which sounds
1937 historical and somehow osolete; it could be turned in a positive
1938 way and reused to improve the design principles.
1940 * docs/manual/intro-preface.xml:
1941 - Update URLs to library.gnome.org.
1942 - Do not mention GTK+ in preliminary reading (irrelevant).
1943 - Mention Plugin Writer's Manual and further reading only in the
1945 - Added a list of most relevant GObject/glib topics.
1947 * docs/manual/Makefile.am:
1948 * docs/manual/bin-element-ghost.fig:
1949 * docs/manual/bin-element-ghost.png:
1950 * docs/manual/bin-element-noghost.fig:
1951 * docs/manual/bin-element-noghost.png:
1952 * docs/manual/bin-element.fig:
1953 * docs/manual/bin-element.png:
1954 * docs/manual/filter-element-multi.fig:
1955 * docs/manual/filter-element-multi.png:
1956 * docs/manual/filter-element.fig:
1957 * docs/manual/filter-element.png:
1958 * docs/manual/gstreamer-overview.png:
1959 * docs/manual/hello-world.fig:
1960 * docs/manual/hello-world.png:
1961 * docs/manual/linked-elements.fig:
1962 * docs/manual/linked-elements.png:
1963 * docs/manual/mime-world.fig:
1964 * docs/manual/mime-world.png:
1965 * docs/manual/queue.fig:
1966 * docs/manual/queue.png:
1967 * docs/manual/simple-player.png:
1968 * docs/manual/sink-element.fig:
1969 * docs/manual/sink-element.png:
1970 * docs/manual/src-element.fig:
1971 * docs/manual/src-element.png:
1972 * docs/manual/diagrams-general.svg:
1973 * docs/manual/diagrams-pipelines.svg:
1974 Removed .fig, added .png counterpart.
1978 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1980 * plugins/elements/gstmultiqueue.c:
1981 * plugins/elements/gstmultiqueue.h:
1982 revert extra-size-buffers stuff, caused some race conditions
1983 and extra-size-buffers is not used anymore. Docs needs some updates
1985 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1987 * win32/common/config.h:
1988 * win32/common/gstenumtypes.c:
1989 * win32/common/gstenumtypes.h:
1990 * win32/common/gstversion.h:
1993 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1995 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1996 (GST_DEBUG_BIN_TO_DOT_FILE):
1997 Add missing Since' markers to gtk-doc blurbs.
1999 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
2001 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2002 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2003 (set_caps_1), (set_caps_ct1), (transform_ct1),
2004 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2005 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2006 (transform_size_ct2), (buffer_alloc_ct2):
2007 Add some more tests with switching caps in buffer_alloc.
2009 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2011 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2012 (gst_test_trans_class_init), (result_sink_chain),
2013 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2014 (gst_test_trans_push), (gst_test_trans_pop):
2015 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2016 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2017 (set_caps_1), (set_caps_ct1), (transform_ct1),
2018 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2019 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2020 (transform_size_ct2), (buffer_alloc_ct2),
2021 (gst_basetransform_suite):
2022 More tests, prepare for tests with switching caps in buffer_alloc.
2024 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
2026 * plugins/elements/gstmultiqueue.c:
2027 * plugins/elements/gstmultiqueue.h:
2028 Fix dead-lock in underrun_cb
2030 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2032 * docs/design/part-states.txt:
2033 Fix device open/close docs.
2035 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2038 Mention bugnumber for last commit.
2040 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2042 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2044 * docs/manual/manual.xml:
2045 - Reorganised the previous "introduction" bundle into Foreword,
2046 Introduction, and About GStreamer. The two first are <preface>
2047 docbook elements. The later is the first part of the book.
2048 - added intro-gstreamer.xml (content partially from
2050 - moved appendix-win32.xml into appendix-integration.xml
2052 * docs/manual/intro-preface.xml: gstreamer section moved...
2053 * docs/manual/intro-gstreamer.xml: ...here. new file.
2055 * docs/manual/appendix-win32.xml: removed file. Content moved...
2056 * docs/manual/appendix-integration.xml: ...here.
2058 * docs/manual/highlevel-components.xml: section about GstEditor moved...
2059 * docs/manual/appendix-checklist.xml: ...here.
2063 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2065 patch by: Luc Pionchon <luc.pionchon@nokia.com>
2067 * docs/manual/basics-helloworld.xml:
2068 * docs/manual/hello-world.fig:
2069 - Explicitely include glib.h.
2070 - Do not use global variables.
2071 - Use g_printerr() instead of g_print().
2072 - Minor formating/renaming to increase readibility.
2073 - Renamed new_pad() to on_pad_added()
2074 - Improved explenatory comments.
2075 - renamed ogg parser to ogg demuxer
2076 - Use "autoaudiosink" instead of "alsasink".
2079 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2082 Remove cvs conflict marker.
2084 2008-06-25 Stefan Kost <ensonic@users.sf.net>
2087 Document that for plgin-docs we extraxt he short-desc from the element
2090 * docs/design/part-states.txt:
2091 Tell that devices should be closed in PAUSED -> READY.
2093 * docs/manual/README:
2094 Document how tests in the manual are handled.
2099 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2101 * gst/gstbin.c: (bin_query_latency_fold):
2102 Only care about latency min and max when the sink is actually a live
2105 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
2107 * docs/design/part-block.txt:
2110 * docs/design/part-element-transform.txt:
2111 Add notes about why transform needs to know input/output sizes.
2112 Add some issues that need to be solved.
2113 Add some more use cases.
2115 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2116 (gst_test_trans_class_init), (result_sink_chain),
2117 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2118 (gst_test_trans_push), (gst_test_trans_pop):
2119 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2120 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2121 (set_caps_1), (set_caps_ct1), (transform_ct1),
2122 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2123 (gst_basetransform_suite):
2124 Add suport for different pad templates and buffer-alloc.
2125 Add more checks for caps and buffer-alloc.
2126 Add checks for proxy buffer alloc.
2127 Add unit test for copy transform.
2129 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2131 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2133 * docs/manual/appendix-integration.xml:
2134 * docs/manual/appendix-licensing.xml:
2135 * docs/manual/basics-elements.xml:
2136 * docs/manual/basics-helloworld.xml:
2137 * docs/manual/basics-pads.xml:
2138 * docs/manual/highlevel-components.xml:
2139 * docs/manual/highlevel-xml.xml:
2140 * docs/manual/intro-basics.xml:
2141 * docs/manual/intro-preface.xml:
2142 Typo and formatting fixes (#538594).
2144 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2146 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2147 Fix some memory leaks and uses of object instances that we don't
2150 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2152 * plugins/elements/gstmultiqueue.c:
2153 Add functionality to extra-size-buffers property.
2155 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2157 * plugins/elements/gstmultiqueue.c:
2158 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2159 activate the pads if they are added in STATE_NULL.
2161 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2163 * docs/libs/gstreamer-libs-sections.txt:
2165 * libs/gst/check/gstcheck.c:
2166 * libs/gst/check/gstcheck.h:
2167 API: gst_check_teardown_pad_by_name
2169 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2171 * libs/gst/check/gstcheck.c:
2172 * libs/gst/check/gstcheck.h:
2173 Also setup request pads and allow setup pads by name (#537812)
2174 API: gst_check_setup_src_pad_by_name
2175 API: gst_check_setup_sink_pad_by_name
2177 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2179 * tests/check/gst/gstbuffer.c:
2180 * tests/check/pipelines/parse-launch.c:
2181 Use HAVE_VALGRIND_H some more.
2183 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2185 * scripts/cvs-update.sh:
2186 Pass arguments to make.
2187 Run autoregen.sh if Makefile is not there.
2189 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2193 Don't assume that <valgrind/valgrind.h> exists just because
2194 the binary is there.
2196 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2198 * tests/check/Makefile.am:
2199 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2200 (gst_test_trans_class_init), (gst_test_trans_init),
2201 (gst_test_trans_set_data), (result_sink_chain),
2202 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2203 (gst_test_trans_pop):
2204 * tests/check/libs/transform1.c: (GST_START_TEST),
2205 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2206 Add some test basetransform element and the beginnings of various
2209 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2211 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2212 Increase code readability.
2213 Don't try to compare buffer offsets when ther are invalid.
2215 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2217 * docs/design/Makefile.am:
2218 Dist some more design docs.
2220 * docs/random/moving-plugins:
2221 Small addition: good plugins mustn't have functional code
2222 within assertion macros.
2224 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2226 * docs/design/draft-framestep.txt:
2227 Some ideas about a framestep API
2229 * docs/design/part-element-transform.txt:
2230 Start design and use cases for basetransform in order to get it
2233 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2236 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2237 be in UTF-8 encoding.
2239 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2242 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2244 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2246 * plugins/elements/gstcapsfilter.c:
2247 * plugins/elements/gstfakesink.c:
2248 * plugins/elements/gstfakesrc.c:
2249 * plugins/elements/gstfdsink.c:
2250 * plugins/elements/gstfdsrc.c:
2251 * plugins/elements/gstfilesink.c:
2252 * plugins/elements/gstfilesrc.c:
2253 * plugins/elements/gstidentity.c:
2254 * plugins/elements/gstmultiqueue.c:
2255 * plugins/elements/gstqueue.c:
2256 * plugins/elements/gsttee.c:
2257 * plugins/elements/gsttypefindelement.c:
2258 Remove short_description. Add basic docs for gsttypefindelement.
2259 Simplify markup for fakesrc/fdsrc.
2261 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2263 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2266 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2268 Patch by: Joel Larsson <tilljoel at gmail dot com>
2270 * docs/plugins/gstreamer-plugins.args:
2271 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2272 (gst_fd_src_init), (gst_fd_src_update_fd),
2273 (gst_fd_src_set_property), (gst_fd_src_get_property),
2274 (gst_fd_src_create):
2275 * plugins/elements/gstfdsrc.h:
2276 Add timeout property like udpsrc. Fixes #538628.
2277 Add some more docs and example pipelines.
2279 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2281 * docs/libs/gstreamer-libs-sections.txt:
2282 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2283 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2284 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2285 (gst_base_sink_do_sync):
2286 * libs/gst/base/gstbasesink.h:
2287 * win32/common/libgstbase.def:
2288 Add method to allow sinks to specify additional delay between the sync
2289 times and the actual rendering of the data.
2290 API: gst_base_sink_set_render_delay()
2291 API: gst_base_sink_get_render_delay()
2293 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2296 Bump version number back to dev -> 0.10.20.1
2298 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2300 * docs/gst/gstreamer-sections.txt:
2301 * gst/gsttaglist.c: (_gst_tag_initialize):
2303 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2306 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2308 * libs/gst/controller/gstcontroller.c:
2309 Revert one change, that make ret value possible uninitialized.
2311 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2313 * libs/gst/controller/gstcontroller.c:
2314 Use freeze/thaw notify to sync notify emission a bit (its also more
2315 efficient). Move debug output to LOG (is called a lot in a loop).
2316 Always unset g_values if the have been initialized.
2318 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2320 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2321 (gst_base_sink_wait_eos), (gst_base_sink_event):
2322 If we have not seen a buffer before EOS, use the segment values to
2323 report the current position instead of invalid positions.
2325 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2327 * docs/plugins/tmpl/.cvsignore:
2328 * tests/check/gst/.cvsignore:
2331 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2333 * libs/gst/controller/gstinterpolation.c:
2334 * libs/gst/controller/gstinterpolationcontrolsource.c:
2335 * tests/check/libs/controller.c:
2336 Rewrite handling of default values. Fix overflow with unsigned types
2337 in linear interpolation. Remove now obsolete _first_value() function.
2338 Add more tests. Fixes #538201.
2340 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2342 * libs/gst/base/gstbasetransform.c:
2343 (gst_base_transform_class_init), (gst_base_transform_init),
2344 (gst_base_transform_transform_caps),
2345 (gst_base_transform_prepare_output_buffer):
2347 When a buffer is writable, its metadata is also writable so we don't
2348 need to subbuffer (which then makes the buffer not-writable anymore).
2350 === release 0.10.20 ===
2352 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2355 releasing 0.10.20, "You Crazy Diamond"
2357 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2360 0.10.19.3 pre-release
2362 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2366 Rename DATADIR to GST_DATADIR to avoid build problems
2367 on win32. Patch By: David Schleef <ds@schleef.org>
2370 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2373 Explicitely link with -ldl if dladdr() is found there. Before it was
2374 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2375 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2377 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2379 * gst/gsterror.c: (_gst_stream_errors_init):
2380 Fix typo (spotted by Fabricio Godoy, #536723).
2382 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2385 0.10.19.2 pre-release
2387 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2389 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2390 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2392 Make sure we don't generate invalid QoS messages.
2394 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2396 * gst/gstevent.c: (gst_event_new_qos):
2397 Add some assert and docs for invalid input to the qos function.
2399 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2401 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2402 (gst_base_sink_get_position):
2403 The reported position must always be smaller than the last seen
2404 timestamps (or timestamp + duration for reverse).
2406 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2408 Patch by: Rob Bradford <rob at robster dot org dot uk>
2410 * gst/gstregistry.c: (gst_registry_scan_path_level):
2411 Don't recurse into .debug directories as some distros install
2412 the debugging symbols next to the plugins in .debug directories
2413 and dlopen() crashes on them sometimes. Fixes bug #508070.
2415 Add FIXME for 0.11 to not recurse into directories at all because
2416 it's very inconsistent to the behaviour of other PATH environment
2419 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2421 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2422 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2423 Fix position query range checks in reverse playback.
2425 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2429 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2430 clear of the reference to the resulting pad must be released later
2431 or not, resulting in possible leaks. Fixes bug #533865.
2433 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2435 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2437 * gst/gstelementfactory.c:
2438 Small doc fix. Fixes #535285.
2440 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2442 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2444 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2445 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2446 (gst_base_src_loop), (gst_base_src_set_flushing),
2447 (gst_base_src_change_state):
2448 Make sending an EOS event to the basesrc non-blocking even if the
2449 implementation does blocking waits in the create function. This is done
2450 by unlocking the create function when EOS is sent.
2453 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2455 * tools/gst-inspect.c: (print_element_properties_info):
2456 If possible print the element type of GValueArray properties.
2458 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2460 * gst/gstiterator.c:
2461 Remove an unused field from the private GstListIterator struct.
2463 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2465 * libs/gst/controller/gstcontroller.c:
2466 Add parameter guards.
2468 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2470 * tests/check/gst/gstpipeline.c:
2471 Revert test change and add comment why it should not work.
2473 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2475 * tests/check/gst/gstpipeline.c:
2476 Extending the test a little to verify that we also get the NULL state-
2479 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2481 * gst/gstpreset.c: (gst_preset_default_get_meta),
2482 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2483 (gst_preset_load_preset), (gst_preset_save_preset),
2484 (gst_preset_rename_preset), (gst_preset_delete_preset),
2485 (gst_preset_set_meta):
2486 Add Since: markers to docs blurbs.
2488 * win32/common/libgstreamer.def:
2489 Add recently-added API.
2491 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2493 Patch by: Stefan Kost <ensonic@users.sf.net>
2496 Add DATADIR for storing presets.
2498 * docs/gst/gstreamer-docs.sgml:
2499 * docs/gst/gstreamer-sections.txt:
2500 * docs/gst/gstreamer.types.in:
2501 Add GstPreset to docs.
2505 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2506 (preset_open_and_parse_header), (preset_parse_version),
2507 (preset_merge), (preset_get_keyfile),
2508 (gst_preset_default_get_preset_names),
2509 (gst_preset_default_get_property_names),
2510 (gst_preset_default_load_preset),
2511 (gst_preset_default_save_presets_file),
2512 (gst_preset_default_save_preset),
2513 (gst_preset_default_rename_preset),
2514 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2515 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2516 (gst_preset_default_reset), (gst_preset_get_preset_names),
2517 (gst_preset_get_property_names), (gst_preset_load_preset),
2518 (gst_preset_save_preset), (gst_preset_rename_preset),
2519 (gst_preset_delete_preset), (gst_preset_set_meta),
2520 (gst_preset_get_meta), (gst_preset_class_init),
2521 (gst_preset_base_init), (gst_preset_get_type):
2523 Add GstPreset to core. Fixes #396779
2525 * tests/check/Makefile.am:
2526 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2527 (gst_preset_test_set_property), (gst_preset_test_class_init),
2528 (gst_preset_test_base_init), (gst_preset_test_get_type),
2529 (gst_preset_test_plugin_init), (GST_START_TEST),
2530 (remove_preset_file), (test_setup), (test_teardown),
2532 Add GstPreset unit tests.
2534 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2536 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2537 The default event function on a sinkpad should return TRUE when
2538 there are no internal links but should collect the return values from
2539 the internal links otherwise.
2541 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2543 * plugins/elements/gsttypefindelement.c:
2544 (gst_type_find_element_src_event),
2545 (gst_type_find_element_handle_event):
2546 Use faster and safer _pad_push_event().
2548 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2550 * docs/gst/gstreamer-sections.txt:
2551 * gst/gstutils.c: (element_find_unlinked_pad),
2552 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2554 API: add gst_bin_find_unlinked_pad()
2555 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2557 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2563 Fixed a bunch of typos.
2565 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2568 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2569 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2570 (gst_parse_bin_from_description_full):
2572 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2574 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2576 * docs/pwg/advanced-tagging.xml:
2577 Small docs update, can't be bothered to rewrite the nonsensical
2580 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2583 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2585 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2587 * gst/parse/grammar.y:
2588 Remove unneeded casts.
2590 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2592 * gst/parse/grammar.y:
2593 * tests/check/pipelines/parse-launch.c:
2594 Get all missing elements from a parse launch string if possible
2595 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2597 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2599 * tests/check/Makefile.am:
2600 * tests/check/pipelines/parse-launch.c:
2601 Add some unit tests for the new gst_parse_launch*_full() API.
2602 (Exposes a previously-existing memory leak in the error code
2603 path, so adding to VALGRIND_TO_FIX for now).
2605 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2607 * docs/gst/gstreamer-sections.txt:
2608 * gst/gst.c: (init_post):
2609 * gst/gst_private.h: (_GstParseContext):
2610 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2611 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2612 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2613 (gst_parse_launch_full):
2614 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2615 (GstParseFlags), (GstParseContext):
2616 * gst/gstutils.c: (gst_parse_bin_from_description),
2617 (gst_parse_bin_from_description_full):
2619 * gst/parse/grammar.y:
2620 * gst/parse/types.h:
2621 * win32/common/libgstreamer.def:
2622 Add new gst_parse_*_full API (#528178):
2623 API: gst_parse_launch_full()
2624 API: gst_parse_launchv_full()
2625 API: gst_parse_bin_from_description_full()
2626 API: gst_parse_context_new()
2627 API: gst_parse_context_free()
2628 API: gst_parse_context_get_missing_elements()
2630 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2632 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2634 * docs/faq/gst-uninstalled:
2635 Also support ffmpeg in gst-uninstalled.
2637 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2640 After discussion on IRC use the binary registry as default
2641 but allow to disable it with --disable-binary-registry.
2643 * win32/common/libgstreamer.def:
2644 Add the two new symbols for the binary registry.
2646 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2648 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2649 * gst/gstutils.c: (gst_parse_bin_from_description):
2650 * gst/parse/grammar.y: (graph):
2651 More guards against bad input; typo fix; some minor clean-ups.
2653 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2655 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2657 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2658 If nothing else can be used, use the last buffer's start time as
2659 the segment's last stop. Fixes bug #534258.
2661 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2663 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2664 Move size sanity check to the right place: downstream may return
2665 a buffer with a smaller size if the buffer caps are different than
2666 the requested ones, as may happen when doing reverse negotiation.
2668 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2670 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2671 (gst_file_sink_render):
2672 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2673 (gst_file_src_start):
2674 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2677 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2679 * gst/gstpad.c: (gst_pad_load_and_link):
2680 * gst/gstutils.c: (gst_element_link_pads),
2681 (gst_element_unlink_pads):
2682 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2683 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2684 (gst_check_teardown_sink_pad),
2685 (gst_check_element_push_buffer_list):
2686 * tests/check/elements/fakesink.c: (GST_START_TEST):
2687 * tests/check/elements/filesink.c:
2688 * tests/check/elements/filesrc.c: (GST_START_TEST):
2689 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2690 (mq_sinkpad_to_srcpad):
2691 * tests/check/elements/tee.c: (GST_START_TEST):
2692 * tests/check/generic/sinks.c: (GST_START_TEST):
2693 * tests/check/gst/gstbin.c: (GST_START_TEST):
2694 * tests/check/gst/gstevent.c: (GST_START_TEST):
2695 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2696 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2697 * tests/check/gst/gstquery.c: (GST_START_TEST):
2698 * tests/check/gst/gstutils.c: (GST_START_TEST):
2699 * tests/check/libs/basesrc.c: (GST_START_TEST):
2700 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2701 (gst_parse_test_element_change_state):
2702 Don't use gst_element_get_pad().
2704 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2707 Fix installing plugin documentation when gtk-doc is disabled.
2709 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2711 * docs/manual/advanced-autoplugging.xml:
2712 * docs/manual/basics-helloworld.xml:
2713 * docs/manual/basics-pads.xml:
2714 * docs/manual/highlevel-components.xml:
2715 Avoid using a bad function in the example code.
2717 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2719 * gst/gstclock.c: (gst_clock_set_calibration):
2720 Fix debug of the new clock rate.
2722 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2724 * win32/common/libgstbase.def:
2725 Add gst_base_sink_wait_clock() to the exported symbols.
2727 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2729 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2731 * libs/gst/base/gstbasetransform.c:
2732 (gst_base_transform_sink_event):
2733 Unref events that the GstBaseTransform::event vfunc didn't want to
2734 have forwarded by the base class. Closes a leak in identity.
2737 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2739 * docs/libs/gstreamer-libs-sections.txt:
2740 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2741 * libs/gst/base/gstbasesink.h:
2742 Expose a method that was previously used internally to synchronize
2743 against the clock because it can be useful for subclasses too.
2744 API: GstBaseSink::gst_base_sink_wait_clock()
2746 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2748 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2749 Add sanity check to make sure we don't get smaller buffers
2750 than requested (and fallback to normal buffer alloc if we do).
2752 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2754 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2755 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2756 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2757 Refactor adjusting the running_time with latency and offset into a
2759 When doing clipping, we still want to use the subclass get_times method,
2760 just in case the DURATION or TIMESTAMP are not set.
2762 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2764 * docs/gst/gstreamer-sections.txt:
2765 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2766 * gst/gsttypefind.h:
2767 * win32/common/libgstreamer.def:
2768 API: add gst_type_find_suggest_simple(), #533740.
2770 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2772 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2773 Use right error code when typefinding fails, so we can use
2774 the default (translated) error messages.
2776 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2778 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2779 (gst_base_src_start):
2780 When the subclass did not set caps on outgoing buffers, configure the
2781 caps we negotiated on the source pad.
2782 When the typefind helper does not find caps, error out properly instead
2783 of doing things with NULL caps.
2785 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2787 * gst/gsttypefind.h:
2788 Tabs to spaces, oh yes!
2790 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2792 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2793 Add David's and Benjamin's tests for array intersection to the
2794 unit test suite (#147931).
2796 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2799 Document that gst_event_new_tag() and gst_event_new_navigation()
2800 take ownership of the taglist/structure passed to them. (#533635).
2802 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2805 Don't descend into the plugins dir if plugin docs building
2809 Add a note about the new type:GTypeName syntax for the plugin
2810 documentation .types file.
2812 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2814 * gst/gstmessage.c: (gst_message_new_error),
2815 (gst_message_new_warning), (gst_message_new_info):
2817 Mark the debug string parameters as const. Fixes bug #533490.
2819 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2821 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2822 Sort buffer cache list by end offsets. This makes sure that we don't
2823 stop to search for a cached buffer that contains the requested data
2825 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2826 more efficient. Fixes bug #459862.
2828 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2831 Explain why we copy the list.
2833 * gst/gstpipeline.c:
2837 Add one debug-log statement to help tracing probelms with linking pads.
2839 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2841 * tests/check/gst/gstinfo.c:
2842 Add a test for removing the default log handler. Seems to fail under
2845 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2847 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2848 Release pad lock before calling out to avoid a possible deadlock.
2850 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2852 * gst/parse/grammar.y:
2853 Remove unneeded value unset.
2855 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2856 Add unit test for de/serialization of caps.
2858 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2860 * plugins/elements/gstfakesink.c:
2861 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2862 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2863 (gst_fake_src_class_init):
2864 Use custom marshalers that take GstMiniObject as first parameter.
2865 Using OBJECT as parameter while a GstMiniObject is given will lead
2866 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2868 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2870 * plugins/elements/gsttypefindelement.c:
2871 (gst_type_find_element_handle_event),
2872 (gst_type_find_element_send_cached_events),
2873 (gst_type_find_element_change_state):
2874 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2877 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2879 * plugins/elements/gsttypefindelement.c:
2880 (gst_type_find_handle_src_query), (stop_typefinding),
2881 (gst_type_find_element_handle_event),
2882 (gst_type_find_element_send_cached_events),
2883 (gst_type_find_element_change_state):
2884 Forward FLUSH_START events immediately and clean up instead of
2887 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2889 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2891 * libs/gst/base/gstbasetransform.c:
2892 (gst_base_transform_buffer_alloc):
2893 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2894 fall back to default negotiation in the chain function if the caps
2895 are different from what was requested. Fixes bug #526768.
2897 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2900 * tests/check/gst/gstsegment.c:
2901 No, let's not use g_slice_{dup|copy} here, since they only exist
2902 since GLib 2.14 and we still depend only on >= 2.12. Also add
2903 unit test for gst_segment_copy().
2905 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2907 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2908 Try to fix 'dereferencing type-punned pointer will break strict
2909 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2910 changed the default GType typedef from gulong to gsize at some point,
2911 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2912 g_once_* functions all take a gsize * though, so work around the type
2913 mismatch for C++ by doing everything in gsize and casting to GType
2916 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2918 * plugins/elements/gstmultiqueue.c:
2919 Add documentation for the signals to push our core plugin docs
2920 coverage back up to 100%.
2922 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2924 * gst/gstinfo.h (GST_FUNCTION):
2925 Reverted GST_FUNCTION to the old version as we don't want the
2926 full signature in C++ code. Also added support for MSVC.
2928 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2931 Intern the type name string, similar to what G_DEFINE_TYPE does.
2933 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2936 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2938 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2940 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2942 * libs/gst/base/gstbasetransform.c:
2943 (gst_base_transform_buffer_alloc):
2944 Don't passthrough buffer allocation too easily if the caps change.
2945 This breaks when working in passthrough mode and upstream changes
2946 it's caps. Fixes bug #526768.
2948 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2950 * gst/gstinfo.c (gst_debug_log_valist):
2951 Improved the __FILE__ part of debug output for MSVC.
2953 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2955 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2956 Declaration after statement fix for compilers like MSVC.
2958 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2960 * win32/common/config.h.in:
2961 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2962 use the real thing than having "???" unconditionally.
2964 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2966 * gst/gstinfo.h (GST_FUNCTION):
2967 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2969 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2971 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2974 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2975 (gst_base_sink_set_flushing):
2976 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2979 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2981 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2982 (gst_fake_src_init), (gst_fake_src_set_property),
2983 (gst_fake_src_get_property), (gst_fake_src_start):
2984 * plugins/elements/gstfakesrc.h:
2985 Added format property to control the format of the newsegment events.
2986 API: GstFakeSrc:format
2988 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2990 * win32/common/libgstreamer.def:
2991 Add gst_pad_has_name() to the exported symbols.
2993 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2995 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2996 * libs/gst/base/gstbasetransform.c:
2997 (gst_base_transform_prepare_output_buffer):
2998 Don't allow negative sizes when allocating new buffers.
3001 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3003 Patch by: Sjoerd Simons <sjoerd at luon net>
3005 * gst/gstbus.c: (gst_bus_source_dispatch):
3006 Don't print a warning if the queue is empty when we try to pop
3007 here. That could happen if another thread or callback set the
3008 bus to flushing between the source's check/prepare and the
3009 dispatch being called (#531538).
3011 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
3013 * plugins/elements/gstmultiqueue.c:
3016 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
3018 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3019 Add unit test for deserializing uint64s and check some really large
3020 numbers in the int64 test.
3022 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3024 * tools/gst-inspect.c: (n_print), (print_hierarchy),
3025 (print_interfaces), (print_element_properties_info),
3026 (print_signal_info):
3027 Use "%s" as format string instead of printing strings directly.
3029 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
3031 * gst/gstclock.c: (gst_clock_set_calibration):
3032 Make some checks actually useful.
3034 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3035 Remove some unused code. Unsigned integers tend to be >= 0.
3037 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3039 * gst/gstminiobject.c: (gst_value_get_mini_object):
3040 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3041 function was not in the unscheduled 0.10.19 release.
3043 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3045 * gst/gstregistry.c: (gst_registry_scan_path_level):
3046 Only print one log message per non-plugin file.
3048 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3050 * gst/gstinfo.c: (gst_debug_log_default):
3051 Fix alignment of debug log columns on 64-bit.
3053 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
3055 * docs/libs/Makefile.am:
3056 * docs/libs/gstreamer-libs-sections.txt:
3057 Ignore private controller headers for docs.
3059 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
3061 * libs/gst/controller/gstcontrollerprivate.h:
3062 * libs/gst/controller/gsthelper.c:
3063 * libs/gst/controller/gstinterpolation.c:
3064 * libs/gst/controller/gstinterpolationcontrolsource.c:
3065 (gst_interpolation_control_source_set_interpolation_mode):
3066 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3067 * libs/gst/controller/lib.c:
3068 Move some private declarations into private headers.
3070 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
3072 * gst/gstdebugutils.c: (debug_dump_element_pad):
3073 Remove some code that is unused after Stefan's refactoring and uses
3074 uninitialized variables now, resulting in a compiler warning.
3076 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
3078 * gst/gstregistry.c: (gst_registry_scan_path_level):
3079 Run g_str_has_suffix() only on the file name, not the
3082 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
3084 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3085 Since we're not called only from the chain function any longer,
3086 we can't assume that there's always data in the queue, so move
3087 the is_full check to the beginning of the loop (otherwise we'd
3088 hit the assert when changing the limit properties while the
3089 queue is empty or not running yet).
3090 Also, only set a discont if items were actually removed from
3093 * tests/check/elements/queue.c: (test_leaky_downstream):
3094 Test case for the above.
3096 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
3098 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3100 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3101 (gst_queue_chain), (queue_capacity_change),
3102 (gst_queue_set_property):
3103 When changing thr max capacity of a leaky queue, immediatly drop buffers
3104 instead of waiting for a push on the sinkpad. Fixes #530637.
3106 2008-04-30 Stefan Kost <ensonic@users.sf.net>
3108 * gst/gstdebugutils.c:
3109 Refactor code and fix handling of ghostpads and their proxypads.
3111 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
3113 * docs/gst/gstreamer-sections.txt:
3114 * gst/gstevent.c: (gst_event_has_name):
3116 * tests/check/gst/gstevent.c: (GST_START_TEST):
3117 Add method to conveniently check the name of a custom event with
3118 gst_event_has_name().
3119 Reformat the event docs so that related methods are put together instead
3120 of the default alphabetical sort.
3121 Update unit test with new method.
3122 API: GstEvent::gst_event_has_name()
3124 2008-04-28 Michael Smith <msmith@songbirdnest.com>
3126 * libs/gst/check/Makefile.am:
3127 Don't add an explicit link to libgstreamer-0.10.la; it's already
3128 included in GST_OBJ_LIBS.
3130 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3133 Register GstClock type from a type-safe context. Fixes bug #530317.
3135 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3137 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3139 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3141 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3143 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3145 Use the GLib stuff to create a private structure.
3146 Add some locking around some dispose methods to make them a little
3147 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3149 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3151 * libs/gst/base/gstbasesink.h:
3152 * libs/gst/base/gstbasesrc.h:
3153 * libs/gst/base/gstbasetransform.h:
3154 * libs/gst/base/gstcollectpads.h:
3155 Fix doc typos and unify caps a bit.
3157 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3159 * tools/gst-launch.1.in:
3160 Forgot to also add the envvar docs here.
3162 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3164 * gst/gst.c: (init_post), (gst_deinit):
3165 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3166 (test_concurrent_create), (gst_pipeline_suite):
3167 Ref some more classes in gst_init() to work around thread-safety
3168 issues in pre-2.16 GLibs, and add basic unit test.
3170 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3172 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3173 (gst_base_sink_send_event):
3174 Rearrange the latency query code. We always want to do the upstream
3175 query, even if we are not live so that the upstream elements can get the
3176 latency results too. If we fail doing the query and we are live, we
3177 return TRUE afterwards.
3179 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3181 patch by: Jason Zhao <e3423c@motorola.com>
3183 * docs/gst/running.xml:
3185 Enable/disable scan_and_update_registry() based on commandline switch
3186 or environment variable. Fixes #520468.
3189 Fix typo in my previous commit.
3191 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3193 * gst/gstregistrybinary.c:
3194 Add a warning if we hit unhandled factories when saving.
3195 More debug logging detail, but move to LOG category.
3197 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3199 * gst/gstregistry.c:
3200 Tell the *truth* when improving the documentation.
3202 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3204 * gst/gstelementfactory.c: (gst_element_factory_make):
3205 Unref the factory after it was used the last time, not before.
3207 * gst/gstindexfactory.c: (gst_index_factory_make):
3208 Improve debugging a bit and don't leak a ref to the index factory with
3211 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3213 * gst/gstregistry.c:
3214 Improve the documentation.
3216 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3219 The glib macro seems to be borked. Use g_slice_copy directly and cast
3220 in the hope that this fixes the warning on 64bit.
3222 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3225 Document the new function. Use g_slice_dup() (no need for
3226 gst_segment_init()).
3228 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3230 * docs/gst/gstreamer-sections.txt:
3231 Move GParamSepc macros to standart section.
3234 Dn't document _get_type - its in private section in docs anyway and
3235 this doc-blob was incomplete.
3238 Fix wrong symbol names in docs.
3241 Add once doc sentence.
3243 * tests/check/gst/.cvsignore:
3246 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3248 * docs/gst/Makefile.am:
3249 And remove those libs here.
3251 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3253 * docs/libs/Makefile.am:
3254 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3256 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3258 Patch by: Olivier Crete <tester at tester dot ca>
3260 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3261 Add the min-threshold to the min latency if possible. Fixes #529148.
3263 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3265 * docs/gst/gstreamer.types.in:
3266 Stupid editor, I removed that line as it should go in yet.
3268 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3270 * docs/gst/gstreamer.types.in:
3271 * docs/libs/gstreamer-libs.types:
3272 Remove library types fro core docs and have them in libs docs.
3273 Reformat and cleanup. Add comment for miniobject types.
3275 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3277 * gst/gsturi.c: (gst_uri_get_protocol):
3278 Fix leak: g_strdown operates on the string in place, while
3279 g_ascii_strdown() returns a newly-allocated string.
3281 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3283 * tools/gst-inspect.c: (print_uri_handler_info),
3284 (print_element_info):
3285 Print the URI protocols and the URI type supported by the element.
3287 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3289 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3290 Use g_value_take_string() instead of the deprecated
3291 g_value_set_string_take_ownership().
3293 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3295 * gst/gstregistrybinary.c: (_gst_crc32):
3296 Return the old CRC instead of 0 if we give a NULL buffer
3297 or a buffer with a length of 0.
3299 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3301 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3302 (gst_uri_get_protocol), (gst_uri_has_protocol),
3303 (gst_uri_construct), (gst_uri_handler_set_uri):
3304 A valid URI scheme can also include '+', '-' and '.' additional
3305 to alphanumeric characters as per RFC 3986 Section 3.1.
3307 Handle URI schemes case insensitive in all places and convert
3308 to lower-case when constructing an URI or setting an URI with
3309 the GstURIHandler interface. Fixes bug #528868.
3310 All elements can still assume (as before) that they will
3311 get passed URIs with a lower-case URI scheme by the GstURIHandler
3314 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3316 * gst/gstcaps.c: (gst_static_caps_get):
3317 * gst/gstclock.c: (gst_clock_entry_new):
3318 Don't use g_atomic_set_int where it's not needed.
3320 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3322 * gst/gstvalue.c: (gst_value_deserialize_caps):
3323 * gst/parse/grammar.y:
3326 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3328 * gst/gstutils.c: (gst_atomic_int_set):
3329 Use g_atomic_int_set() here too instead of assignment +
3332 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3336 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3337 now that we depend on new enough GLib.
3339 * gst/gstcaps.c: (gst_static_caps_get):
3340 * gst/gstclock.c: (gst_clock_entry_new):
3341 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3342 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3343 (gst_debug_category_set_threshold):
3344 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3345 (gst_base_sink_set_qos_enabled):
3346 * libs/gst/net/gstnettimeprovider.c:
3347 (gst_net_time_provider_set_property):
3348 Use g_atomic_int_set() instead of gst_atomic_int_set().
3350 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3353 Also use G_GINT64_CONSTANT for the queries.
3355 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3358 Use G_GINT64_CONSTANT in varargs function.
3360 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3362 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3363 Initialize the registry magic with zeroes.
3365 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3367 * gst/gstregistrybinary.c: (_gst_crc32),
3368 (gst_registry_binary_write),
3369 (gst_registry_binary_initialize_magic),
3370 (gst_registry_binary_write_cache),
3371 (gst_registry_binary_check_magic),
3372 (gst_registry_binary_read_cache):
3373 * gst/gstregistrybinary.h:
3374 Add crc32 checksum to the binary registry file and check this before
3375 accepting a registry file.
3377 Also free the data list when writing to the registry file fails.
3379 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3381 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3382 (gst_registry_binary_load_feature),
3383 (gst_registry_binary_load_plugin):
3384 If an element supports the Uri interface, returns a valid pointer
3385 to the supported URI protocols but this pointer contains nothing
3386 don't try to save that as it will corrupt the registry.
3388 Don't unref the plugin if we added it to the registry already but
3389 fail to load a feature as gst_registry_add_plugin() takes ownership
3392 Improve debugging a bit.
3394 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3397 Clarify some tag item docs after discussion on irc.
3399 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3401 * docs/gst/gstreamer-docs.sgml:
3402 Remove commented out plugins (they have their own docs). Update
3405 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3407 * docs/gst/gstreamer-docs.sgml:
3408 * docs/gst/gstreamer-sections.txt:
3409 * gst/gstparamspecs.c:
3410 * gst/gstparamspecs.h:
3411 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3412 docs to own section.
3415 This now only documents GValue.
3417 * docs/libs/gstreamer-libs-sections.txt:
3418 * libs/gst/controller/gstcontroller.h:
3419 Remove GST_PARAM_CONTROLLABLE.
3421 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3424 Correct file path. Tell about how to use -overrides.txt.
3425 * docs/design/draft-tagreading.txt:
3426 Small design update.
3428 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3430 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3431 (gst_registry_binary_load_plugin):
3432 Fix a typo in a debug message and revert change from yesterday as
3433 gst_registry_add_plugin() will only fail if something is really wrong
3434 already and we can't survive it anyway.
3436 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3438 * gst/gst.c: (init_post), (gst_deinit):
3439 Pre-register GstGError GType from a thread-safe context
3440 (fixes #527967); unref enum type classes in deinit.
3442 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3444 Patch by: Rene Stadler <mail at renestadler de>
3446 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3447 Merging an empty list with another list in KEEP_ALL mode should
3448 yield an empty list as result and not the second list (#512578).
3450 * tests/check/gst/gsttagsetter.c:
3451 Add unit test for tag merge modes and the aforementioned bug.
3453 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3455 Patch by: Rene Stadler <mail at renestadler de>
3458 Fix description to match the order in the table (#512577).
3460 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3462 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3464 * libs/gst/net/gstnettimepacket.h:
3465 * docs/libs/gstreamer-libs-sections.txt:
3466 Define socklen_t as int if it's not defined yet. Fixes compilation
3467 with MSVC6 and other versions where socklen_t is not defined in
3468 the windows headers (#518022).
3470 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3472 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3473 If gst_registry_add_plugin() fails our reference to the plugin is
3474 invalid so don't try to use it anymore and instead error out.
3476 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3478 * tools/gst-xmlinspect.c: (print_element_info), (main):
3479 De-cruft a bit. If no argument is specified, print all elements in
3480 XML syntax rather than a freestyle list of elements like gst-inspect.
3481 Also, don't print XML header chunk unless we actually have something
3482 to print (ie. don't print it before an error message); print error
3483 message to stderr not stdout. Remove support for printing plugin
3484 info (it would just output something freestyle along the lines of
3485 gst-inspect so far), which fixes #514507. Also add license header.
3487 2008-04-11 Julien Moutte <julien@fluendo.com>
3490 * configure.ac: Merge platform specific defines, introduce a new
3491 define on OS X to remember that forking when updating registry is
3493 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3495 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3497 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3498 condition that leads to absolutely no plugins being registered on
3501 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3503 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3505 * gst/gstutils.c: (gst_pad_add_data_probe),
3506 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3507 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3508 (gst_pad_add_buffer_probe_full):
3510 * docs/gst/gstreamer-sections.txt:
3511 * win32/common/libgstreamer.def:
3512 Add gst_pad_add_*_probe_full() functions with a notify callback that
3513 lets the caller free the data it passes to the probe functions. This
3514 is useful for bindings such as gst-python or gstreamermm (#526814).
3515 API: gst_pad_add_data_probe_full
3516 API: gst_pad_add_buffer_probe_full
3517 API: gst_pad_add_event_probe_full
3519 * tests/check/gst/gstutils.c:
3520 Add minimal unit test to make sure freeing the data actually works
3523 * tests/benchmarks/.cvsignore:
3524 Random cvsignore addendum.
3526 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3528 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3529 (GST_DEBUG_BIN_TO_DOT_FILE):
3530 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3531 to it in the docs (since these are macros the types of the arguments
3532 won't be shown in the docs otherwise).
3534 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3537 Do not abort on out of memory for pad_alloc_buffer.
3539 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3541 * libs/gst/check/gstcheck.c:
3542 Remove blank line between symbol name ad parameters to fix gtkdoc
3545 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3547 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3549 * docs/gst/gstreamer-sections.txt:
3552 * win32/common/libgstreamer.def:
3553 Expose gst_segment_copy() to make things easier for the c++ bindings.
3555 API: gst_segment_copy()
3557 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3559 * gst/gst.c: (gst_init_get_option_group), (init_post):
3560 Fix const position; ref GType classes for enum types to work
3561 around thread-safety issues in GLib versions < 2.16.
3563 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3565 * docs/design/part-buffering.txt:
3566 Fix some typos and set the estimated total for push mode to -1.
3568 * gst/gstquery.c: (gst_query_new_buffering):
3569 Set buffering-left to 0 as we're not buffering by default.
3571 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3572 Implement BUFFERING query.
3574 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3576 Based on patch by: Milosz Derezynski <internalerror gmail com>
3578 * gst/gsterror.c: (_gst_stream_errors_init):
3580 Add two new error codes for encrypted content. Fixes #524659.
3581 API: GST_STREAM_ERROR_DECRYPT
3582 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3584 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3589 * win32/common/libgstreamer.def:
3592 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3594 * plugins/elements/gstidentity.c: (gst_identity_event),
3595 (gst_identity_start):
3596 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3597 event after processing some data. Fixes bug #526042.
3599 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3601 * docs/gst/gstreamer-sections.txt:
3602 * gst/gstquery.c: (gst_query_parse_latency),
3603 (gst_query_set_buffering_percent),
3604 (gst_query_parse_buffering_percent),
3605 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3607 Rename _avail -> _range
3608 API: gst_query_set_buffering_range
3609 API: gst_query_parse_buffering_range
3611 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3613 * docs/design/part-buffering.txt:
3616 * gst/gstquery.c: (gst_query_parse_latency),
3617 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3618 (gst_query_parse_buffering_percent):
3620 Add busy field and quark for the buffering query so that the app can
3621 only use the query to see if buffering is in progress.
3623 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3625 * docs/gst/gstreamer-sections.txt:
3626 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3627 (gst_message_parse_buffering_stats):
3629 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3630 (gst_query_parse_latency), (gst_query_new_buffering),
3631 (gst_query_set_buffering_percent),
3632 (gst_query_parse_buffering_percent),
3633 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3634 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3636 Reorder the message docs and headers for clarity.
3637 Add aditional buffering stats API for messages.
3638 Add buffering query.
3639 Convert some leftover queries to use GstQuark.
3640 API: gst_message_set_buffering_stats
3641 API: gst_message_parse_buffering_stats
3642 API: GST_QUERY_BUFFERING
3643 API: GstBufferingMode
3644 API: gst_query_new_buffering
3645 API: gst_query_set_buffering_percent
3646 API: gst_query_parse_buffering_percent
3647 API: gst_query_set_buffering_stats
3648 API: gst_query_parse_buffering_stats
3650 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3652 * gst/gstmessage.c: (gst_message_new_error),
3653 (gst_message_new_warning), (gst_message_new_info),
3654 (gst_message_new_buffering), (gst_message_new_state_changed),
3655 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3656 (gst_message_new_new_clock), (gst_message_new_segment_start),
3657 (gst_message_new_segment_done), (gst_message_new_duration),
3658 (gst_message_new_async_start), (gst_message_parse_buffering),
3659 (gst_message_parse_state_changed),
3660 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3661 (gst_message_parse_new_clock), (gst_message_parse_error),
3662 (gst_message_parse_warning), (gst_message_parse_info),
3663 (gst_message_parse_segment_start),
3664 (gst_message_parse_segment_done), (gst_message_parse_duration),
3665 (gst_message_parse_async_start):
3666 Use GstQuark for messages.
3668 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3670 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3672 Add some more quarks needed for messages and queries.
3674 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3676 * docs/design/part-buffering.txt:
3677 Remove the "none" buffering mode, STREAM is a good default.
3678 Move estimated-time to the avail query, that's when it will be needed.
3679 Other small typo fixes and updates.
3681 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3683 * gst/gstindex.c: (gst_index_resolver_get_type):
3684 Don't put descriptions into the nick field of a GEnumValue: it's not
3685 meant for that and some language bindings rely on the nick field to
3686 construct constants and the like. Fixes #526705.
3688 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3693 Merge other changes from 0.10.19 release branch.
3695 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3697 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3700 Actually build dlls when cross-compiling with mingw32.
3703 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3705 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3708 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3710 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3712 * docs/design/draft-latency.txt:
3715 * docs/design/part-buffering.txt:
3716 Update design docs with more buffering ideas.
3718 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3721 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3723 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3726 Revert part that belongs to the preset patch.
3728 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3731 Add qoutes to the define. Fixes # 525961.
3733 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3735 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3736 (gst_file_index_load), (gst_file_index_add_id),
3737 (gst_file_index_get_assoc_entry):
3738 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3739 (gst_mem_index_free_id), (gst_mem_index_add_id),
3740 (gst_mem_index_index_format):
3741 Use GSlice when possible.
3743 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3745 * libs/gst/controller/gstinterpolationcontrolsource.c:
3746 (gst_control_point_free),
3747 (gst_interpolation_control_source_set_internal):
3748 Use GSlice for allocating the control points.
3750 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3752 * plugins/elements/gsttypefindelement.c:
3753 (gst_type_find_element_class_init),
3754 (gst_type_find_element_set_property),
3755 (gst_type_find_element_get_property),
3756 (gst_type_find_element_activate):
3757 * plugins/elements/gsttypefindelement.h:
3759 Fix pad leak when peer query fails.
3760 We can still typefind when the peer returns -1.
3761 Add property to force caps and bypass typefinding. This will be used in
3765 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3770 * gst/glib-compat-private.h:
3771 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3772 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3773 Unconditionally use GSlice for allocation.
3775 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3776 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3777 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3778 (gst_structure_free):
3779 Use GSlice for allocation.
3781 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3783 * gst/parse/Makefile.am:
3784 * gst/parse/grammar.tab.pre.c:
3785 * gst/parse/grammar.tab.pre.h:
3786 * gst/parse/lex._gst_parse_yy.pre.c:
3787 Require a new enough flex and bison and remove the parser hacks to use
3788 a pre-regenerated version.
3790 2008-04-01 Julien Moutte <julien@fluendo.com>
3792 patch by: Jason Zhao <E3423C@motorola.com>
3794 * configure.ac: Add a configure switch to disable option parsing
3798 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3801 * gst/gstregistry.c:
3802 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3803 and handle this case.
3806 Add a comment here describing, why we stat each plugin and not try to
3809 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3811 * libs/gst/base/gstbasetransform.c:
3812 (gst_base_transform_prepare_output_buffer):
3813 Also unset the GAP flag on buffers if we're working inplace but
3814 the element is not GAP-aware.
3816 Mark a comment as FIXME 0.11.
3818 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3821 Fix type in log message and add one to ease seeing how long registry
3822 cache verification takes.
3824 * gst/gstregistry.c:
3825 Only test plugin filenames against G_MODULE_SUFFIX.
3827 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3829 * gst/gstdebugutils.c:
3830 Improve handling ghost/proxy pads.
3832 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3834 * docs/gst/gstreamer-sections.txt:
3837 Expose macro to docs and fix link to it.
3839 2008-03-27 Michael Smith <msmith@fluendo.com>
3841 * libs/gst/dataprotocol/dataprotocol.c:
3842 (gst_dp_packet_from_event_1_0):
3843 When calculating GDP body CRC, use the correct pointer.
3844 Fixes part of #522401.
3846 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3848 Patch by: Mark Nauwelaerts <manauw at skynet be>
3850 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3851 (gst_identity_init), (gst_identity_prepare_output_buffer):
3852 Identity is not always a passthrough element, it can modify the buffer
3853 timestamps when it has a datarate and operates in single-segment mode.
3854 We therefore make it an in_place filter with a custom buffer prepare
3855 function that conditionally makes the input buffer metadata writable
3856 when needed. Fixes #523985.
3858 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3860 Patch by: Mark Nauwelaerts <manauw at skynet be>
3863 * libs/gst/base/gstbasesrc.h:
3864 * libs/gst/base/gstbasetransform.c:
3865 * libs/gst/check/gstcheck.c:
3866 Small documentation fixes. Fixes #523978.
3868 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3870 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3871 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3872 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3874 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3876 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3877 (single_queue_underrun_cb):
3878 When trying to make room in the queue, bump the max allowed buffers
3879 bigger than the current amount of buffers in the queue. this fixes some
3880 nasty deadlocks in multiqueue when dynamically changing the limits of
3883 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3885 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3887 * gst/gstcaps.c: (gst_caps_set_simple),
3888 (gst_caps_set_simple_valist), (gst_caps_intersect):
3890 Constify the field gchar * params in set_simple and friends.
3893 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3895 * gst/gstvalue.c: (gst_value_transform_object_string):
3896 Transform a GstObject to a more meaningfull string that includes the
3897 object type in addition to its name.
3899 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3902 ChangeLog surgery to add bugnumber to commit.
3904 2008-03-23 Rene Stadler <mail@renestadler.de>
3906 * libs/gst/base/gstbasetransform.c:
3907 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3909 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3911 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3912 Rename constant everywhere and don't forget one occurence.
3914 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3916 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3917 Align memory to the pointer size even if the architecture allows
3918 unaligned memory access. Unaligned memory access usually comes with
3919 performance penality.
3921 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3923 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3924 (gst_registry_binary_check_magic),
3925 (gst_registry_binary_load_pad_template),
3926 (gst_registry_binary_load_feature),
3927 (gst_registry_binary_load_plugin):
3928 Align memory to the pointer size instead of always 32 bit. Fixes
3929 unaligned memory accesses on ia64 and friends.
3931 * gst/gstregistrybinary.h:
3932 Bump binary registry format version for this as it changes the
3933 format on those architectures that don't have unaligned access
3934 and 64 bit pointers.
3936 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3938 * docs/pwg/advanced-dparams.xml:
3939 * docs/pwg/building-props.xml:
3940 * docs/pwg/other-source.xml:
3941 * gst/glib-compat.h:
3942 * gst/gstbin.c: (gst_bin_class_init):
3943 * gst/gstclock.c: (gst_clock_class_init):
3944 * gst/gstindex.c: (gst_index_class_init):
3945 * gst/gstobject.c: (gst_object_class_init):
3946 * gst/gstpad.c: (gst_pad_class_init):
3947 * gst/gstpipeline.c: (gst_pipeline_class_init):
3948 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3949 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3950 * libs/gst/base/gstbasetransform.c:
3951 (gst_base_transform_class_init):
3952 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3953 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3954 (_gst_check_fault_handler_sighandler),
3955 (_gst_check_fault_handler_setup), (gst_check_init):
3956 * libs/gst/controller/gstcontroller.c:
3957 (_gst_controller_class_init):
3958 * libs/gst/controller/gstlfocontrolsource.c:
3959 (gst_lfo_control_source_class_init):
3960 * libs/gst/net/gstnetclientclock.c:
3961 (gst_net_client_clock_class_init):
3962 * libs/gst/net/gstnettimeprovider.c:
3963 (gst_net_time_provider_class_init):
3964 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3965 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3966 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3967 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3968 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3969 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3970 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3971 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3972 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3973 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3974 * plugins/elements/gsttee.c: (gst_tee_class_init):
3975 * plugins/elements/gsttypefindelement.c:
3976 (gst_type_find_element_class_init):
3977 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3978 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3979 use it everywhere for GParamSpecs that use static strings (i.e. all).
3980 This gives us less memory usage, fewer allocations and thus less
3981 memory defragmentation. Fixes bug #523806.
3983 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3985 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3986 (gst_param_spec_mini_object):
3987 * gst/gstminiobject.h:
3988 * win32/common/libgstreamer.def:
3989 * docs/gst/gstreamer-sections.txt:
3990 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3991 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3992 GstParamSpecMiniObject into a public header for this.
3994 This make GstMiniObject a bit more consistent with GObject and makes
3995 it possible to extend the param specs.
3997 gst_value_dup_mini_object is mainly useful for set_property methods.
4001 * tools/gst-inspect.c: (print_element_properties_info):
4002 Print something useful for GstMiniObject properties and not just
4005 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4007 * docs/gst/gstreamer-sections.txt:
4008 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4009 (gst_registry_binary_check_magic):
4010 * gst/gstregistrybinary.h:
4011 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4012 and add it to the (private part) of the docs to fix the build.
4014 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
4016 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4017 (gst_registry_binary_check_magic),
4018 (gst_registry_binary_read_cache):
4019 * gst/gstregistrybinary.h:
4020 Don't use GST_MAJORMINOR for the binary registry version. Instead
4021 hardcode a value that must be changed whenever the format changes
4022 in an incompatible way.
4023 Also don't GST_ERROR when there is a version mismatch, just
4024 regenerate the registry silently.
4026 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
4029 Back to development - 0.10.18.1
4031 === release 0.10.18 ===
4033 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
4036 releasing 0.10.18, "So far away"
4038 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
4041 * win32/common/config.h:
4042 0.10.17.4 pre-release
4044 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
4046 Patch by: Ole André Vadla Ravnås
4047 <ole dot andre dot ravnas at tandberg dot com>
4049 * docs/gst/gstreamer-sections.txt:
4050 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4051 (gst_poll_update_winsock_event_mask),
4052 (gst_poll_prepare_winsock_active_sets),
4053 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4054 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4055 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4056 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4057 (gst_poll_check_ctrl_commands), (gst_poll_wait):
4059 * win32/common/libgstreamer.def:
4060 Add new function gst_poll_fd_ignored() for improved Windows
4062 Various minor fixes and cleanups. See #520808.
4064 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
4066 * gst/gstindex.c: (gst_index_entry_free):
4068 Don't free key strings which we don't own. Fixes crash in
4069 gst_index_entry_free() (#522741).
4071 * tests/check/Makefile.am:
4072 * tests/check/gst/.cvsignore:
4073 * tests/check/gst/gstindex.c: (test_index_entries),
4074 (gst_index_suite), (gst_index):
4075 Add unit test for the above.
4077 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
4079 * win32/common/libgstreamer.def:
4080 Remove symbols that were removed recently. Fixes bug #521740.
4082 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
4085 * win32/common/config.h:
4086 0.10.17.3 pre-release
4088 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
4090 Patch by: Ole André Vadla Ravnås
4091 <ole dot andre dot ravnas at tandberg dot com>
4093 * docs/gst/gstreamer-sections.txt:
4094 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4095 (gst_poll_update_winsock_event_mask), (gst_poll_new),
4096 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4097 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4098 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4099 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4100 (gst_poll_fd_can_write), (gst_poll_wait),
4101 (gst_poll_set_controllable), (gst_poll_restart),
4102 (gst_poll_set_flushing):
4104 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4105 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4106 (gst_net_time_provider_new):
4107 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4108 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4109 * tests/benchmarks/gstpollstress.c: (main):
4110 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4111 Remove GstPollMode from the API, it does not make sense to let the
4112 application control this.
4113 Add support for Win32.
4114 Fix the testsuite. Fixes #520671.
4116 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
4118 Patch by: Ole André Vadla Ravnås
4119 <ole dot andre dot ravnas at tandberg dot com>
4121 * gst/gstregistrybinary.c:
4122 Include io.h for write() and close() when building with MSVC. Fixes
4125 2008-03-07 Stefan Kost <ensonic@users.sf.net>
4128 * gst/gst_private.h:
4129 * gst/gstconfig.h.in:
4130 * gst/gstregistry.h:
4131 * gst/gstregistrybinary.c:
4132 * win32/common/gstconfig.h:
4133 Move registry backend API to private headers where we can. Add
4134 fixme-0.11 comments for the others. Add stubs for the xml backend when
4135 using the binary to ensure they functions exists (they should not be
4136 used though). Fixes #520756.
4138 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4141 * win32/common/config.h:
4144 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4146 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4147 (gst_registry_binary_read_cache):
4148 * gst/gstregistryxml.c: (gst_registry_save):
4149 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4150 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4151 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4152 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4153 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4156 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4158 * gst/gstminiobject.c:
4159 Import gst_private.h before any other header that might include other
4160 glib headers. This fixes the build on windows using native compilers.
4162 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4164 * win32/common/gstconfig.h:
4165 Add here too, just for completeness.
4167 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4170 * gst/gstconfig.h.in:
4171 * gst/gstregistry.h:
4172 Fix broken use of config.h-defined preprocessor directive in a public
4173 header file. Add a corresponding define to gstconfig.h, since we can't
4174 really remove those function declarations from the header file now
4175 (or can we? and why are they there in the first place?).
4177 2008-03-03 Andy Wingo <wingo@pobox.com>
4179 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4182 * gst/gststructure.c (gst_structure_from_string): Warn if
4183 structure_from_string didn't consume the whole string, but the
4184 caller did not provide an end pointer.
4186 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4188 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4190 * gst/gstregistryxml.c: (read_string), (load_feature):
4191 Strings allocated by libxml2 should be freed with xmlFree(), not
4192 with g_free(). Fixes issues on windows in certain contexts (#519698).
4194 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4196 * gst/gstinterface.c: (gst_element_implements_interface):
4197 Don't crash if the element supports the interface queried, but does
4198 not implement GstImplementsInterface. Fixes #519584.
4200 * tests/check/Makefile.am:
4201 * tests/check/gst/.cvsignore:
4202 * tests/check/gst/gstinterface.c:
4203 Add unit test for the above.
4205 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4207 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4210 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4212 * gst/gstsegment.c: (gst_segment_set_seek),
4213 (gst_segment_to_stream_time):
4214 Improve some comment.
4215 Update variables where it makes more sense.
4217 2008-02-29 Rene Stadler <mail@renestadler.de>
4219 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4220 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4221 URIHandlers implemented using language bindings.
4223 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4225 * gst/gstelementfactory.h:
4226 * tests/check/elements/fakesink.c:
4227 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4228 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4229 * tests/check/elements/filesink.c: (setup_filesink):
4230 * tests/check/elements/filesrc.c: (setup_filesrc):
4231 * tests/check/elements/identity.c: (setup_identity):
4232 * tests/check/elements/tee.c:
4233 * tests/check/generic/sinks.c:
4234 * tests/check/generic/states.c: (setup), (teardown):
4235 * tests/check/gst/gst.c:
4236 * tests/check/gst/gstabi.c:
4237 * tests/check/gst/gstbin.c:
4238 * tests/check/gst/gstbus.c: (pull_messages):
4239 * tests/check/gst/gstcaps.c:
4240 * tests/check/gst/gstelement.c:
4241 * tests/check/gst/gstevent.c:
4242 * tests/check/gst/gstghostpad.c:
4243 * tests/check/gst/gstiterator.c:
4244 * tests/check/gst/gstmessage.c:
4245 * tests/check/gst/gstminiobject.c: (my_foo_init):
4246 * tests/check/gst/gstobject.c: (thread_name_object),
4248 * tests/check/gst/gstpad.c:
4249 * tests/check/gst/gstplugin.c:
4250 * tests/check/gst/gstpoll.c:
4251 * tests/check/gst/gstquery.c:
4252 * tests/check/gst/gstsegment.c:
4253 * tests/check/gst/gststructure.c:
4254 * tests/check/gst/gstsystemclock.c:
4255 * tests/check/gst/gsttask.c:
4256 * tests/check/gst/gstutils.c:
4257 * tests/check/gst/gstvalue.c:
4258 * tests/check/gst/struct_hppa.h:
4259 * tests/check/gst/struct_i386.h:
4260 * tests/check/gst/struct_ppc32.h:
4261 * tests/check/gst/struct_ppc64.h:
4262 * tests/check/gst/struct_x86_64.h:
4263 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4264 * tests/check/libs/basesrc.c:
4265 * tests/check/libs/controller.c: (GST_START_TEST):
4266 * tests/check/libs/gdp.c:
4267 * tests/check/libs/gstnetclientclock.c:
4268 * tests/check/libs/gstnettimeprovider.c:
4269 * tests/check/libs/libsabi.c:
4270 * tests/check/libs/struct_hppa.h:
4271 * tests/check/libs/struct_i386.h:
4272 * tests/check/libs/struct_ppc32.h:
4273 * tests/check/libs/struct_ppc64.h:
4274 * tests/check/libs/struct_x86_64.h:
4275 * tests/check/pipelines/cleanup.c:
4276 * tests/check/pipelines/simple-launch-lines.c:
4277 * tests/check/pipelines/stress.c:
4278 And correct even more valid sparse warnings.
4280 * win32/common/libgstreamer.def:
4281 Add gst_poll_fd_init to the list of symbols.
4283 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4285 * gst/gstconfig.h.in:
4286 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4287 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4288 (gst_check_log_critical_func), (gst_check_drop_buffers),
4289 (gst_check_element_push_buffer_list):
4290 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4291 (gst_controller_get_type):
4292 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4293 (gst_object_get_controller), (gst_object_get_control_source):
4294 * libs/gst/controller/gstinterpolationcontrolsource.c:
4295 (gst_interpolation_control_source_new):
4296 * libs/gst/controller/gstlfocontrolsource.c:
4297 (gst_lfo_control_source_new):
4298 * libs/gst/dataprotocol/dataprotocol.c:
4299 (gst_dp_event_from_packet_0_2):
4300 * plugins/elements/gstfdsrc.c:
4301 * plugins/elements/gstmultiqueue.c:
4302 * plugins/elements/gsttee.c:
4303 * plugins/elements/gsttypefindelement.c:
4304 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4305 (gst_file_index_add_association):
4306 * plugins/indexers/gstmemindex.c:
4307 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4308 * tests/check/elements/queue.c: (setup_queue):
4309 * tests/check/gst/gstpipeline.c:
4310 * tests/check/libs/collectpads.c: (setup), (teardown),
4311 (gst_collect_pads_suite):
4312 * tests/examples/adapter/adapter_test.c:
4313 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4314 * tests/examples/xml/createxml.c:
4315 * tests/examples/xml/runxml.c:
4316 * tools/gst-inspect.c:
4318 Correct all relevant warnings found by the sparse semantic code
4319 analyzer. This include marking several symbols static, using
4320 NULL instead of 0 for pointers, not using variable sized arrays
4321 on the stack, moving variable declarations to the beginning of
4322 a block and using "foo (void)" instead of "foo ()" for declarations.
4324 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4326 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4327 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4328 Don't reset GstPollFDs, this is not necessary at all.
4330 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4331 (delayed_restart), (delayed_control):
4332 Use GST_POLL_FD_INIT.
4334 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4336 * gst/gstpoll.c: (gst_poll_fd_init):
4340 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4341 Use some more init macros.
4343 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4345 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4346 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4347 Use init macros and functions.
4349 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4351 * docs/gst/gstreamer-sections.txt:
4352 * gst/gstpoll.c: (gst_poll_fd_init):
4354 Add INIT macro and _init method for initializing the GstPollFD.
4356 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4358 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4359 (gst_fd_sink_update_fd):
4360 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4361 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4362 (delayed_restart), (delayed_control):
4363 Initialize some uninitialized variables as spotted by valgrind.
4365 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4367 * tests/benchmarks/Makefile.am:
4368 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4370 Add poll stress test.
4372 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4374 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4376 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4377 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4378 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4379 * plugins/elements/gstfdsink.h:
4380 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4381 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4382 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4383 (gst_fd_src_uri_set_uri):
4384 * plugins/elements/gstfdsrc.h:
4385 Port to GstPoll. See #505417.
4387 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4389 * win32/common/libgstreamer.def:
4390 Add new gst_poll_ symbols to win32 defs.
4392 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4394 * docs/libs/gstreamer-libs-sections.txt:
4395 * libs/gst/net/gstnetclientclock.c:
4396 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4397 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4398 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4399 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4400 * libs/gst/net/gstnetclientclock.h:
4401 * libs/gst/net/gstnettimeprovider.c:
4402 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4403 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4404 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4405 (gst_net_time_provider_new):
4406 * libs/gst/net/gstnettimeprovider.h:
4407 Use a private stuct to not break ABI.
4409 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4411 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4413 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4414 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4415 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4416 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4417 * libs/gst/net/gstnetclientclock.h:
4418 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4419 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4420 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4421 (gst_net_time_provider_new):
4422 * libs/gst/net/gstnettimeprovider.h:
4423 Massive code removal and cleanups because of GstPoll.
4426 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4429 Add checks for poll, ppoll and pselect.
4431 * docs/gst/gstreamer-docs.sgml:
4432 * docs/gst/gstreamer-sections.txt:
4433 Add docs for GstPoll.
4437 * gst/gstpoll.c: (find_index), (selectable_fds),
4438 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4439 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4440 (gst_poll_set_mode), (gst_poll_get_mode),
4441 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4442 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4443 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4444 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4445 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4446 (gst_poll_fd_can_write), (gst_poll_wait),
4447 (gst_poll_set_controllable), (gst_poll_restart),
4448 (gst_poll_set_flushing):
4450 Add generic poll abstraction. We ideally don't want to have this in core
4451 here but in glib intead...
4452 This code will be used in various network elements and ultimately for
4453 the nanosecond precision monotonic clock (that's why it's here in core).
4454 It'll allow us to implement cancelable socket operations for windows too.
4456 * tests/check/Makefile.am:
4457 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4458 (delayed_stop), (delayed_restart), (delayed_flush),
4459 (delayed_control), (gst_poll_suite):
4460 Add GstPoll unit test.
4462 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4465 Improve documentation of gst_filter_run(). Fixes #518627.
4467 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4470 Add a few lines about the new 'check-inspected-versions' target.
4472 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4474 * tests/check/gst/gstevent.c:
4475 Add qos to the event test. Rename tcase/tsuite; is not only about
4478 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4480 * plugins/elements/gstqueue.c:
4481 Ensure that buffer metadata is writeable, before modifying. Spotted by
4484 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4486 * plugins/elements/gstqueue.c:
4487 * plugins/elements/gstqueue.h:
4488 When dropping buffers in leaky modes, mark next buffers we sent as
4491 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4493 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4494 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4496 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4498 * plugins/elements/Makefile.am:
4499 * plugins/elements/gstbufferstore.c:
4500 * plugins/elements/gstbufferstore.h:
4501 * plugins/elements/gsttypefindelement.h:
4502 Remove GstBufferStore, no idea why we were still building it.
4503 It's not used anywhere and superseded by GstAdapter.
4505 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4506 (gst_file_src_create_mmap):
4507 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4508 Printf format fixes for 64-bit integers.
4510 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4513 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4514 We're not in 0.8 times anymore.
4516 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4518 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4519 (gst_check_element_push_buffer_list):
4520 * libs/gst/check/gstcheck.h:
4521 Make the declaration in the header for
4522 gst_check_element_push_buffer_list match the implementation.
4524 Fix up spelling, grammar and wording of the documentation in a few
4525 places, and add the Since keyword to new API functions.
4526 Use g_list_delete_link instead of g_list_remove in
4527 gst_check_drop_buffers, since it's immeasurably more efficient.
4529 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4530 Use new gst_check_drop_buffers function where appropriate.
4532 * win32/common/libgstbase.def:
4533 * win32/common/libgstreamer.def:
4534 Add new symbols gst_collect_pads_take_buffer,
4535 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4538 Changelog surgery to add API keyword to new gst_check API.
4540 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4542 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4543 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4544 Update pre-generated flex files with flex 2.3.34.
4546 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4548 * gst/gstminiobject.c:
4549 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4550 friendly to subclasses and not require them to know all internals
4551 of their parent class.
4553 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4555 * docs/libs/gstreamer-libs-sections.txt:
4556 * libs/gst/base/gstcollectpads.c:
4557 * libs/gst/base/gstcollectpads.h:
4558 Add sub-buffer functions to collectpads. Fixes #516187.
4559 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4561 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4564 Copy selected buffer-flags when creating subbuffers.
4567 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4569 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4570 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4571 * gst/gstmessage.c: (gst_message_class_init),
4572 (gst_message_finalize):
4573 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4574 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4575 (gst_mmap_buffer_finalize):
4576 Properly chain up finalize functions to the parent class.
4578 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4580 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4582 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4583 (gst_index_set_resolver_full):
4585 Add new function with option to dispose of user_data in resolver.
4586 Actually call the dispose function when finalizing the object and not
4587 just when changing the resolver/filter.
4588 API: GstIndex::gst_index_set_resolver_full()
4590 * docs/gst/gstreamer-sections.txt:
4591 Add new function to docs. Fixes #515469.
4593 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4595 * gst/gstindex.c: (gst_index_finalize):
4596 Chain up finalize to the parent class. Fixes leaking the GstObject
4597 name and other things.
4599 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4602 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4603 pre-releases or releases.
4605 * docs/faq/gst-uninstalled:
4608 * docs/random/release:
4609 Change one of the steps - we only upload core & base to Gnome FTP
4611 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4613 * gst/gstconfig.h.in:
4614 Add 'id' for example.
4618 * plugins/elements/gstfdsink.c:
4619 Link to signals. Doc and comment fixes.
4621 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4623 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4624 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4625 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4626 unused and unimplemented; finally, it is plugin features, not
4627 plugins, that have ranks.
4629 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4631 * gst/gstpluginfeature.h:
4632 Clarify GstRank range docs.
4634 2008-02-05 David Schleef <ds@schleef.org>
4636 * gst/gst.c: Add a separate gst_deinitialized that prevents
4637 gst_init() from being called after gst_deinit(). Fixes #509559
4639 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4641 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4642 (gst_bin_class_init):
4643 * gst/gstelement.c: (gst_element_base_class_init),
4644 (gst_element_class_add_pad_template):
4645 * gst/gstpadtemplate.c: (gst_pad_template_init):
4646 * gst/gstpipeline.c: (gst_pipeline_get_type),
4647 (gst_pipeline_base_init), (gst_pipeline_class_init):
4648 * libs/gst/base/gstbasesink.c:
4649 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4650 (gst_base_src_base_init), (gst_base_src_class_init):
4651 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4652 (gst_capsfilter_class_init):
4653 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4654 (gst_fake_sink_class_init):
4655 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4656 (gst_fake_src_class_init):
4657 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4658 (gst_fd_sink_class_init):
4659 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4660 (gst_fd_src_class_init):
4661 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4662 (gst_file_sink_class_init):
4663 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4664 (gst_file_src_class_init):
4665 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4666 (gst_identity_class_init):
4667 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4668 (gst_multi_queue_class_init):
4669 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4670 (gst_queue_class_init):
4671 * plugins/elements/gsttee.c: (gst_tee_base_init),
4672 (gst_tee_class_init):
4673 * plugins/elements/gsttypefindelement.c:
4674 (gst_type_find_element_base_init),
4675 (gst_type_find_element_class_init):
4676 * tests/check/gst/gstelement.c: (gst_element_suite):
4677 Revert previous changes to the behaviour of GstPadTemplates, etc
4678 and the possiblity to call them in class_init as it breaks too
4679 many elements. Reopens bug #491501.
4681 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4684 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4686 * tools/gst-launch.c:
4687 Dump one graph per pipeline state-change and state change name
4688 (if GST_DEBUG_DUMP_DOT_DIR is set).
4690 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4693 * tests/check/gst/gstpad.c:
4694 Be sure that we have a new copy of the caps and not
4695 reffed caps from a template
4697 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4699 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4700 * gst/gstpipeline.c: (gst_pipeline_get_type),
4701 (gst_pipeline_class_init):
4702 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4703 (gst_base_sink_class_init):
4704 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4705 (gst_base_src_class_init):
4706 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4707 (gst_base_transform_class_init):
4708 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4709 (gst_collect_pads_class_init):
4710 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4711 * libs/gst/net/gstnettimeprovider.c:
4712 (gst_net_time_provider_base_init),
4713 (gst_net_time_provider_class_init):
4714 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4715 (gst_capsfilter_class_init):
4716 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4717 (gst_fake_sink_class_init):
4718 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4719 (gst_fake_src_class_init):
4720 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4721 (gst_fd_sink_class_init):
4722 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4723 (gst_fd_src_class_init):
4724 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4725 (gst_file_sink_class_init):
4726 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4727 (gst_file_src_class_init):
4728 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4729 (gst_identity_class_init):
4730 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4731 (gst_multi_queue_class_init):
4732 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4733 (gst_queue_class_init):
4734 * plugins/elements/gsttee.c: (gst_tee_base_init),
4735 (gst_tee_class_init):
4736 * plugins/elements/gsttypefindelement.c:
4737 (gst_type_find_element_base_init),
4738 (gst_type_find_element_class_init):
4739 Don't use base_init where not absolutely necessary. For example it's
4740 not necessary anymore for adding pad templates or setting element
4743 Leave empty base_init functions in several places as GST_BOILERPLATE
4744 still defines and uses them.
4746 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4748 * gst/gstelement.c: (gst_element_base_class_init),
4749 (gst_element_class_add_pad_template):
4750 * gst/gstpadtemplate.c:
4751 Make it possible (and recommended) to set element details and add
4752 pad templates in the class_init functions by copying the details/pad
4753 templates in GstElement's base_init.
4755 Also make it possible to replace existing pad templates by adding
4756 a new one with the same name. This was done in a hackish fashion
4757 in same elements before already.
4759 Don't reference pad templates that are added a second time. A
4760 new pad template has a refcount of one and is not floating anymore
4761 and to be owned by the element's class. Make this more explicit by
4762 mentioning it in the docs of gst_element_class_add_pad_template().
4764 These changes are backwards compatible. Fixes bug #491501.
4766 * tests/check/gst/gstelement.c:
4767 Add unit test for setting element details, adding pad templates and
4768 replacing them in a subclass.
4770 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4772 * tools/gst-inspect.c: (print_interfaces),
4773 (print_element_properties_info), (print_pad_info),
4774 (print_signal_info), (print_element_info):
4775 Fix a few memory leaks.
4777 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4779 * docs/libs/gstreamer-libs-sections.txt:
4780 * libs/gst/check/gstcheck.c:
4781 * libs/gst/check/gstcheck.h:
4782 Add more functions for unit testing: gst_check_drop_buffers,
4783 gst_check_caps_equal, gst_check_element_push_buffer_list,
4784 gst_check_element_push_buffer
4785 API: gst_check_drop_buffers
4786 API: gst_check_caps_equal
4787 API: gst_check_element_push_buffer_list
4788 API: gst_check_element_push_buffer
4790 2008-02-01 Julien Moutte <julien@fluendo.com>
4792 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4793 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4794 (gst_index_finalize), (gst_index_entry_free),
4795 (gst_index_add_association): Fix memory leaks.
4796 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4797 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4798 (gst_mem_index_free_format), (gst_mem_index_free_id),
4799 (gst_mem_index_finalize): Fix memory leaks.
4800 * win32/common/config.h: Updated to CVS HEAD.
4802 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4805 Some more details about how the plugin docs works.
4807 * docs/plugins/gstreamer-plugins-sections.txt:
4810 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4812 * gst/parse/grammar.tab.pre.c:
4813 * gst/parse/grammar.tab.pre.h:
4814 * gst/parse/grammar.y:
4815 * gst/parse/lex._gst_parse_yy.pre.c:
4816 Add delayed set-property. This allows to set properties on dynamicaly
4817 created objects (pads in videomxer). Fixes #509391.
4819 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4822 Check if caps are not NULL (fix bug #510194)
4824 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4826 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4827 (gst_base_sink_get_position_paused):
4828 Add fixme regarding EOS in pull mode.
4829 Fix position reporting in PAUSED for negative rates.
4831 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4833 * gst/gstminiobject.c: (gst_mini_object_replace):
4834 When replacing a miniobject, do a quick equality check first so that we
4835 can avoid a ref/unref pair.
4837 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4839 * docs/design/part-synchronisation.txt:
4842 * docs/plugins/Makefile.am:
4843 * docs/plugins/gstreamer-plugins-docs.sgml:
4844 * docs/plugins/gstreamer-plugins-sections.txt:
4845 * plugins/elements/gstmultiqueue.c:
4846 Add multiqueue to the docs.
4848 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4853 === release 0.10.17 ===
4855 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4858 releasing 0.10.17, "Due Negligence"
4860 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4863 Revert caps != NULL check temporarily for 0.10.17 release.
4865 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4868 Check if caps are not NULL (fix bug #510194)
4870 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4873 Fix compilation on systems that have posix timers but no
4876 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4879 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4881 * tools/gst-inspect.c:
4882 Revert previous commit in preparation for an impromptu 0.10.17 release
4884 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4886 * tools/gst-inspect.c: (print_interfaces),
4887 (print_element_properties_info), (print_pad_info),
4888 (print_signal_info), (print_element_info):
4889 Fix a few memory leaks.
4891 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4896 === release 0.10.16 ===
4898 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4901 releasing 0.10.16, "Special Dispensation"
4903 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4906 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4907 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4908 not fail when trying to crosscompile on OpenEmbedded (#511750).
4910 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4913 Use $(MAKE) instead of make to fix the build if GNU make is
4914 called different. Fixes bug #510747.
4916 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4918 * gst/gstplugin.c: (_gst_plugin_initialize):
4919 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4920 again, which I broke two commits ago when changing the API
4921 of gst_plugin_register_static(): the g_list_foreach() in
4922 _gst_plugin_register_static still assumed the old function
4923 signature and would therefore fail (re-fixes #510187).
4925 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4926 (_gst_plugin_register_static), (gst_plugin_register_static):
4927 Revert the (technically correct) change to call g_thread_init() from
4928 the pre-main() constructor. This will break programs which call
4929 g_thread_init() without an if (!g_thread_supported()) guard in their
4930 main function. We could just blame it on GLib or the application, but
4931 it's probably best to just avoid this altogether and simply not use
4932 any GLib functions here and use plain old malloc() with a simple
4933 array to store the plugins to register later when gst_init() is
4934 finally called (re-fixes #510187).
4936 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4937 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4938 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4939 (GST_START_TEST), (gst_plugin_suite):
4940 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4943 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4945 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4946 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4947 This makes gtk-doc complain, but results in slightly better
4948 compiler errors. The old _gst_plugin_register_static() is
4949 still guarded, so there'll be a compiler warning about that
4950 instead. Fixes #510187 too.
4952 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4954 * gst/gst.c: (init_post):
4955 * gst/gstplugin.c: (_gst_plugin_register_static),
4956 (gst_plugin_register_static), (_gst_plugin_initialize):
4957 * gst/gstplugin.h: (GstPluginFilter):
4958 Change API of gst_plugin_register_static() to not take
4959 a GstPluginDesc, but rather just take all the arguments
4960 in a GstPluginDesc directly. This is more intuitive and
4961 avoids certain mistakes when porting code from
4962 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4965 * tests/check/gst/gstplugin.c:
4966 Fix up for changed API.
4968 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4970 * docs/faq/legal.xml:
4971 Update FAQ, Totem actually has an exception these days.
4973 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4975 * win32/common/libgstreamer.def:
4976 Add new API declarations
4978 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4980 * gst/gstminiobject.c:
4981 Spelling fixes for the API docs.
4983 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4985 * libs/gst/base/gstbasetransform.c:
4986 Fix long property description for QoS.
4988 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4991 _gst_trace_on is already provided by gsttrace.h, no need to declare
4994 * docs/libs/gstreamer-libs-sections.txt:
4995 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4996 and remove strange tcase_add_test which is outputting a warning.
4998 * libs/gst/check/gstcheck.c:
4999 * libs/gst/check/gstcheck.h:
5000 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5001 and define them in gstcheck.c instead of having every .c file whcih
5002 includes gstcheck.h be defining its own copy and relying on symbol
5003 interposing to marry them all, which doesn't work on Solaris.
5005 * tests/check/elements/identity.c: (GST_START_TEST):
5006 Don't define 'buffers' locally, it comes from libgstcheck.
5008 * tests/check/generic/sinks.c: (send_buffer):
5009 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5011 * tests/check/gst/gststructure.c: (GST_START_TEST):
5012 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5013 * tests/check/gst/gstutils.c: (GST_START_TEST):
5014 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5015 Add a bunch of casts to make various constants fit the types
5016 they're being assigned to.
5018 2008-01-10 Stefan Kost <ensonic@users.sf.net>
5020 * gst/gstchildproxy.c:
5021 Improve docs and add some ideas for making this more general-purpose.
5023 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
5025 * gst/gst_private.h: (GST_CAT_TYPES):
5026 Add GST_CAT_TYPES, for consistency, and so that the other
5027 debug categories don't make fun of it. Spotted by Saur on IRC.
5029 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5031 * gst/parse/Makefile.am:
5032 Move types.h from EXTRA_DIST to noinst_HEADERS.
5034 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
5037 Add -Wno-portability to the automake parameters to stop warnings
5038 about GNU make extensions being used. We require GNU make in almost
5039 every Makefile anyway.
5042 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5043 at the same time is required for per target flags.
5045 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5048 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5049 __GNUC__ is defined before using it.
5051 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5053 * docs/gst/gstreamer-sections.txt:
5054 * gst/gst.c: (init_post):
5055 * gst/gstplugin.c: (_gst_plugin_register_static),
5056 (gst_plugin_register_static), (_gst_plugin_initialize),
5057 (gst_plugin_register_func):
5058 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5059 API: add gst_plugin_register_static() and deprecate
5060 GST_PLUGIN_DEFINE_STATIC, since it's not portable
5062 Also, in _gst_plugin_register_static(), make sure to call
5063 g_thread_init() before calling GLib functions such as
5064 g_list_append() if we're not initialised yet, since that
5065 may lead to random crashes with older GSlice/GLib versions.
5067 * tests/check/gst/gstplugin.c:
5068 Adapt unit test to above changes.
5070 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5072 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5073 * gst/gstcaps.c: (gst_caps_to_string):
5074 * gst/gststructure.c: (GST_ASCII_IS_STRING),
5075 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5076 Yet another gratuitous GString micro-optimisation: add a (private)
5077 function that serialises a structure appending to an existing
5078 GString, so that when we serialise caps we don't need to alloc+free
5079 a throwaway GString for each structure (each of which also entailing
5080 multiple reallocs on the way); also use g_string_sized_new() in
5081 various places with an approximate string length to avoid reallocs
5082 within GString. See #500143.
5084 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
5086 * gst/gststructure.c: (gst_structure_id_set_value):
5087 Always check UTF-8 conformance of structure strings and not only
5088 if the debugging system is enabled; reasoning: the behaviour of
5089 the actual code shouldn't really change depending on whether the
5090 debugging system is enabled or not (#508291).
5092 2008-01-09 Stefan Kost <ensonic@users.sf.net>
5095 Remove old coverage target in favour of "make lcov".
5097 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5099 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5100 (gst_base_src_loop):
5101 The start segment for reverse playback goes from start to last_stop.
5103 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5105 Patch by: Peter Kjellerstedt <pkj axis com>
5108 Cast the results from the timeval/spec_to_time macros to what the
5109 docs say it casts to, a GstClockTime. fixes #508175.
5111 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
5114 Update some comments.
5116 * tools/gst-inspect.c: (print_element_properties_info):
5117 Improve printing of flags.
5119 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
5121 * libs/gst/base/gstbasetransform.c:
5122 (gst_base_transform_transform_size):
5123 Print element name with g_warning() if there's a problem
5126 2008-01-07 David Schleef <ds@schleef.org>
5128 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5130 * libs/gst/controller/gstcontroller.h:
5131 * libs/gst/controller/gstcontrolsource.h:
5132 * libs/gst/controller/gstinterpolationcontrolsource.h:
5133 * libs/gst/controller/gstlfocontrolsource.h:
5134 * libs/gst/dataprotocol/dataprotocol.h:
5135 Fix empty prototypes. Fixes bug #507957.
5137 2008-01-07 David Schleef <ds@schleef.org>
5139 * docs/faq/dependencies.xml: Fix typo.
5141 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5143 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5144 (gst_base_src_loop):
5145 Don't update the last_stop position in do_seek, that's the position we
5147 Read backwards when we have a negative rate.
5149 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5150 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5152 Add check for reverse reading.
5154 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5156 Patch by: Alexis Ballier <aballier at gentoo org>
5158 * tests/check/gst/gstabi.c:
5159 * tests/check/gst/struct_ppc64.h:
5160 * tests/check/libs/libsabi.c:
5161 * tests/check/libs/struct_ppc64.h:
5162 Decide which header to include based on the userland ABI target
5163 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5164 for 64-bit userland (#503590). Might need something similar for
5167 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5169 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5170 Log the reason why fopen fails in addition to the fact that it failed.
5172 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5174 * gst/parse/parse.l:
5175 Use "%option never-interactive" to prevent useless calls to isatty()
5176 on every input when parsing. Also use "%option noinput" to not define
5177 the static input/yyinput functions which we don't use anyway. This
5178 removes a compiler warning with gcc 4.3 and saves some bytes in the
5181 * gst/parse/lex._gst_parse_yy.pre.c:
5182 Regenerated for the above change.
5184 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5186 * gst/gstpad.c: (fixate_value):
5187 Don't crash when trying to fixate and empty list.
5190 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5192 * docs/faq/gst-uninstalled:
5193 Clarify the comments to make the usage of this script and what it
5194 does easier to understand.
5196 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5198 * tools/gst-plot-timeline.py:
5199 Add more options to gst-plot-timeline
5201 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5203 * docs/design/part-synchronisation.txt:
5204 Some more info on how the stream_time in GstBaseSink is done.
5206 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5208 * tests/check/generic/sinks.c: (gst_sinks_suite):
5209 Put back the tcase_set_timeout(), apparently it's needed after
5210 all; fix it up in a way that makes things work with valgrind too.
5212 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5214 * gst/gstdebugutils.c:
5215 Add warning when failed to open file for writing.
5217 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5219 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5221 * gst/gstvalue.c: (gst_value_is_fixed):
5222 Optimisation: bail out of the loop as early as possible (#500143).
5224 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5226 * gst/gstcaps.c: (gst_caps_to_string):
5227 * gst/gstinfo.c: (gst_debug_construct_term_color):
5228 * gst/gstparse.c: (gst_parse_launchv):
5229 * gst/gstutils.c: (gst_util_dump_mem):
5230 * gst/gstvalue.c: (gst_value_serialize_any_list),
5231 (gst_value_transform_any_list_string):
5232 Bunch of gratuitous nano-optimisations.
5234 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5236 * tests/check/generic/sinks.c: (async_done_func),
5237 (async_done_eos_func):
5238 Fix leak in unit test (bus sync handler must unref the message
5239 if it returns GST_BUS_DROP). Don't fiddle with the default test
5240 timeout, this is smaller than the current preconfigured value
5241 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5242 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5244 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5246 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5249 Check for stdio_ext.h for the filesink changes.
5251 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5252 (gst_file_sink_class_init), (gst_file_sink_init),
5253 (gst_file_sink_dispose), (gst_file_sink_set_property),
5254 (gst_file_sink_get_property), (gst_file_sink_open_file),
5255 (gst_file_sink_close_file):
5256 * plugins/elements/gstfilesink.h:
5257 Add two properties to control the buffering mode and size.
5258 API: GstFileSink::buffer-mode
5259 API: GstFileSink::buffer-size
5262 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5264 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5265 Add some more docs to explain why a FIXME was wrongly added.
5267 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5270 Fix typo in the gst_object_{ref,unref} documentation.
5272 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5274 * tests/check/libs/controller.c:
5275 * tests/check/libs/typefindhelper.c:
5276 * tests/check/pipelines/parse-launch.c:
5277 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5278 going to be deprecated (see #498924).
5280 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5282 * gst/gsttypefind.c: (gst_type_find_register):
5283 Make gst_type_find_register work for static typefind functions,
5284 ie. allow passing plugin == NULL (prerequisite for #498924).
5286 * gst/gstelementfactory.c: (gst_element_register):
5287 Small docs addition.
5289 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5291 * gst/gstpad.c: (gst_pad_dispose):
5292 Really unlink the peer pad instead of setting the peer pointer to NULL
5293 when we dispose the pad.
5294 This correctly calls the unlink functions and makes sure that the peer
5295 does not have a handle to invalid memory. See #504671.
5297 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5298 Add testsuite for above case.
5300 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5302 Patch by: Peter Kjellerstedt <pkj axis com>
5304 * libs/gst/check/gstcheck.h:
5305 Fix detection of the check version we're compiling against (would
5306 otherwise break if check goes v0.10.0); correctly report the
5307 name of the failed test again in case of failure, instead of
5308 just 'tf' (fixes #504499).
5310 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5312 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5313 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5314 (gst_base_src_loop), (gst_base_src_set_flushing),
5315 (gst_base_src_change_state):
5316 Allow sending EOS to the source to make it send out an EOS event from
5317 the streaming thread.
5318 Update docs and deprecate the old NULL/READY shutdown method.
5320 * tests/check/libs/basesrc.c: (GST_START_TEST),
5321 (gst_basesrc_suite):
5322 Add unit test for controlled shutdown.
5324 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5326 * docs/design/part-synchronisation.txt:
5329 * gst/gstsegment.c: (gst_segment_set_seek),
5330 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5331 (gst_segment_to_running_time):
5332 The seek format can be different from the segment format when the start
5333 and stop values are not to be updated, when we only do a rate change for
5336 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5337 (gst_segment_suite):
5338 Add a testcase for the rate-only seeks, checking that the format is
5339 correctly ignored when start and stop are not updated.
5341 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5343 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5345 * win32/vs8/grammar.vcproj:
5346 * win32/vs8/libgstcontroller.vcproj:
5347 * win32/vs8/libgstreamer.vcproj:
5348 Fix compilation with VS8 and include some missing files.
5350 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5353 Small docs addition: mention that the strings returned by
5354 gst_tag_list_get_string*() are in UTF-8 encoding.
5356 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5359 The check-exports stuff moved to common/win32.mak, so include that.
5361 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5363 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5364 (gst_base_src_perform_seek), (gst_base_src_get_range),
5365 (gst_base_src_set_playing), (gst_base_src_change_state):
5366 Make _wait_playing() not check any variables so that we can call this
5367 function from subclasses. Move the checks elsewhere similar to
5368 _wait_preroll() in basesink.
5370 Only signal the LIVE cond when we are going back to PLAYING.
5372 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5374 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5375 Use g_remove() and g_rename(). Check result of g_rename(), and
5376 don't leak the open file descriptor if we error out when writing.
5378 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5379 Must check the return value of close() after writing out the new
5380 registry file. Sometimes write problems such as out-of-diskspace
5381 are only reported when the file is closed and not already during
5382 the write. This may have caused partial/broken registry files in
5383 some rare circumstances. Should fix #503675.
5385 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5387 * docs/gst/.cvsignore:
5388 * docs/libs/.cvsignore:
5389 * docs/plugins/.cvsignore:
5390 Ignore files generated by new common/* modifications
5392 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5394 * win32/common/libgstbase.def:
5395 Yes, you can also have a <TAB> if you want.
5397 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5399 * win32/common/libgstbase.def:
5400 Add new basetransform API to win export file.
5402 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5404 * tests/check/gst/gstbin.c:
5405 Adjust the test to the refcount change two days ago.
5407 2007-12-14 David Schleef <ds@schleef.org>
5409 * docs/faq/getting.xml: Fix typo.
5411 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5413 * docs/libs/gstreamer-libs-sections.txt:
5414 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5415 (gst_base_transform_prepare_output_buffer),
5416 (gst_base_transform_set_gap_aware):
5417 * libs/gst/base/gstbasetransform.h:
5418 API: Add gst_base_transform_set_gap_aware() to control whether
5419 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5420 get buffers with this flag at all. Fixes #503231.
5422 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5424 * libs/gst/base/gstbasesink.c:
5425 * libs/gst/base/gstbasesrc.c:
5426 * libs/gst/base/gstbasetransform.c:
5427 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5428 thread. Correct log message in gstbasesrc.c.
5430 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5432 * gst/gstutils.c: (element_find_unconnected_pad):
5433 Fix possible compiler warning (#503417).
5435 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5437 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5438 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5440 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5442 * tools/gst-inspect.c: (print_element_properties_info):
5443 Add support for GstFraction properties.
5445 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5448 Add check-exports target and run it as part of 'make check'
5449 (see #499140 and #493983).
5451 * gst/gst_private.h:
5452 * gst/gstelementfactory.h:
5453 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5454 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5455 (_priv_gst_in_valgrind):
5456 * gst/gstinfo.h: (GstLogFunction):
5457 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5458 (gst_type_find_register):
5459 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5460 (gst_type_find_factory_get_type):
5461 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5462 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5463 (gst_controller_new_valist), (gst_controller_new_list),
5464 (_gst_controller_dispose), (_gst_controller_class_init):
5465 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5466 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5467 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5468 (gst_object_get_controller), (gst_object_set_controller),
5469 (gst_object_suggest_next_sync), (gst_object_sync_values),
5470 (gst_object_set_control_source), (gst_object_get_control_source),
5471 (gst_object_get_value_arrays), (gst_object_get_value_array),
5472 (gst_object_get_control_rate), (gst_object_set_control_rate):
5473 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5474 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5475 Make some functions that should be static static; rename some
5476 private symbols so that they don't get exported; add some FIXME
5477 comments so we can move accidentally exported functions into
5478 our private section in 0.11.
5480 * win32/common/libgstreamer.def:
5481 Add gst_utils_get_timestamp().
5483 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5487 Add more missing "Since:" tags to docs.
5489 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5492 Add mising "Since:" to docs.
5494 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5497 Include "glib-compat-private.h" to fix the build on system with
5498 glib < 2.10. Fixes #503131.
5500 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5504 Actually its not PURE as it gets the time from elsewhere.
5506 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5508 * docs/gst/gstreamer-sections.txt:
5510 * gst/gstdebugutils.c:
5514 * libs/gst/base/gstbasesink.c:
5515 * tools/gst-launch.c:
5516 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5517 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5518 Thanks Tim for spotting.
5519 API: gst_util_get_timestamp
5521 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5524 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5526 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5528 * gst/gststructure.c: (gst_structure_validate_name),
5529 (gst_structure_new_valist), (gst_structure_parse_value),
5530 (gst_structure_from_string):
5531 Don't crash in _from_string() if the structure name is not valid
5532 (fixes #501560). Allow structure names to start with a number
5533 again (this apparently broke the ubuntu codec installer).
5535 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5537 Add unit test for the crash; update unit tests for new behaviour.
5539 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5542 Clarify gst_element_get_compatible_pad() documentation.
5545 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5547 * tests/check/Makefile.am:
5548 Don't forget to dist {gst,libs}/struct_hppa.h.
5550 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5552 * libs/gst/base/gstbasesink.c:
5553 Use new API to get elapsed time.
5555 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5557 * gst/gstdebugutils.c:
5559 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5561 * tools/gst-launch.c:
5562 Use new API to get elapsed time.
5564 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5566 * docs/gst/gstreamer-sections.txt:
5568 * gst/gstdebugutils.c:
5570 Rename new API + ChangeLog surgery to remove old name from last entry..
5572 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5574 * docs/gst/gstreamer-sections.txt:
5576 * gst/gstdebugutils.c:
5578 Now hide the different clock stuff behind a macro.
5580 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5583 * gst/gstdebugutils.c:
5585 Apply the posix-timer check from #361155. Conditionally use the posix
5586 timer for logging. This gives better timestamp precission, less
5587 overhead and no ntp jitter.
5589 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5591 * gst/gstminiobject.c: (gst_mini_object_get_type),
5592 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5593 (gst_mini_object_finalize), (gst_mini_object_copy),
5594 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5595 (gst_mini_object_replace), (param_mini_object_validate),
5596 (gst_param_spec_mini_object_get_type):
5597 Some cleanup and checking against invalid function parameters.
5599 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5601 * docs/gst/gstreamer-sections.txt:
5603 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5604 (gst_systemclock_suite):
5605 Start merging in the easy bits of #361155, the monotonic clock patch.
5606 This one adds a few handy macros with docs and a testsuite.
5608 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5610 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5611 Be a bit smarter when seeking, like, don't try to do a seek when it's
5612 not needed. This avoids errors when the file is not seekable.
5615 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5617 * docs/gst/gstreamer-docs.sgml:
5618 * docs/gst/gstreamer-sections.txt:
5619 * docs/gst/gstreamer.types.in:
5624 * plugins/elements/gstqueue.c:
5625 Due to popular request remove preset interface again. :-(.
5627 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5629 * tools/gst-inspect.c:
5630 Print 'default value' for enums and flags too.
5632 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5634 * docs/random/ensonic/profiling.txt:
5638 Fix typo and give better log output.
5640 * gst/gstdebugutils.c:
5641 * gst/gstdebugutils.h:
5642 More ideas, make graphs a bit smaller and fix param name in macro.
5644 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5647 Try harder to use the return value from fgets().
5649 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5652 For theses two fgets we handle the error below.
5654 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5656 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5657 Only send upstream events upstream. Fixes #498746.
5659 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5661 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5663 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5664 (gst_identity_init), (gst_identity_transform_ip),
5665 (gst_identity_set_property), (gst_identity_get_property):
5666 * plugins/elements/gstidentity.h:
5667 Add property to disable handoff signal emission. Fixes #498694.
5668 API: GstIdentity::signal-handoffs
5670 2007-11-21 Julien Moutte <julien@fluendo.com>
5672 * docs/faq/gst-uninstalled: Yet another missing library for the
5673 uninstalled script (fft)
5675 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5677 * docs/faq/developing.xml:
5678 Add a question about how to submit new translations.
5680 * docs/random/release:
5681 Update the contact email address for the Translation Project
5683 * plugins/elements/gstfdsrc.c:
5684 The parent_class for fdsrc is pushsrc, not GstElement.
5686 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5689 Plug a leak and fix saving.
5691 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5693 * docs/gst/gstreamer-sections.txt:
5694 Add new gst_preset__get_property_names() function to the docs
5697 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5701 Change _get_preset_names API to return a strv with copies. Add
5702 _get_property_names to allow implementations to filter and provide
5703 good default implementation.
5705 2007-11-20 Julien MOUTTE <julien@moutte.net>
5707 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5710 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5713 More cleanups, docs, and TODOs from comments that now slowly come in.
5715 2007-11-19 Julien MOUTTE <julien@moutte.net>
5717 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5720 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5723 Fix bogus warning and make the property type specific code more
5726 2007-11-19 Julien MOUTTE <julien@moutte.net>
5728 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5731 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5733 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5734 (gst_bin_add_func), (gst_bin_remove_func),
5735 (gst_bin_change_state_func), (gst_bin_continue_func):
5736 Change email, cleanups add some more debug and comments.
5737 Also set bus and clock on new elements when the pipeline was in error.
5739 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5742 * gst/gstdebugutils.c:
5743 Fix build with --disable-gst-debug. Fixes #497859.
5744 Spotted by Sameer Naik.
5746 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5749 Little documentation improvment.
5752 More TODO cleanups. Remove c++ comments.
5754 * libs/gst/controller/gstcontroller.c:
5755 Add TODO and use quark from static string.
5757 * tests/check/gst/gstmessage.c:
5758 * tests/check/gst/gststructure.c:
5759 Use quark from static string.
5761 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5764 Add some comments and TODOs.
5767 Add padding for future changes.
5769 * plugins/elements/gstqueue.c:
5770 Implement the iface.
5772 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5774 * docs/gst/gstreamer-docs.sgml:
5775 * docs/gst/gstreamer-sections.txt:
5776 * docs/gst/gstreamer.types.in:
5781 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5783 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5789 === release 0.10.15 ===
5791 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5794 releasing 0.10.15, "October"
5796 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5798 * win32/vs6/libgstreamer.dsp:
5799 Convert line endings back to DOS.
5801 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5803 * docs/design/draft-tagreading.txt:
5804 * docs/random/ensonic/profiling.txt:
5805 Update fast tagreading draft and performance profiling ideas.
5807 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5809 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5810 Don't hold the object lock when unreffing a buffer because it could
5811 cause a deadlock when the finalize function wants to grab the object
5812 lock too. Fixes #495133.
5814 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5816 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5817 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5818 Also accumulate time correctly when doing reverse playback. Fixes
5820 When converting to running and stream time, use default values for
5821 start/stop/time/accum when comparing different formats. Fixes #494245.
5823 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5824 Do running/stream time in TIME format.
5826 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5827 (gst_segment_suite):
5828 2 new unit tests for segment accumulation.
5830 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5832 * gst/gst.c: (init_pre):
5833 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5834 (_gst_debug_bin_to_dot_file):
5835 Move getenv() back into gst_init, so everyone can live happily
5836 ever after. Make sure the symbol isn't exported though.
5838 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5840 Patch by: Sebastien Moutte <sebastien moutte net>
5842 * win32/common/gstenumtypes.c:
5843 * win32/common/gstenumtypes.h:
5846 * win32/vs6/libgstreamer.dsp:
5847 Update vs6 project files (#494343).
5849 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5851 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5852 (gst_base_src_perform_seek), (gst_base_src_default_event),
5853 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5854 (gst_base_src_activate_pull):
5855 Unify flushing code, remove some old unlock code that is no longer used.
5856 Take the streaming lock when seeking to avoid races. Fixes #492729.
5857 Added some more comments.
5859 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5861 * gst/gst.c: (_gst_disable_segtrap):
5862 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5863 we can use gst_segtrap_is_enabled() there now that we have that API.
5864 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5865 to do the getenv here (and export the variable).
5867 * gst/gstdebugutils.c: (debug_dump_element),
5868 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5869 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5871 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5872 (gst_debug_log_default):
5873 Rename _gst_info_start_time to priv_gst_info_start_time so it
5874 doesn't get exported (was never in any header).
5876 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5877 (gst_plugin_loading_mutex):
5878 Make static mutex gst_plugin_loading_mutex really static (was never
5879 in any header), and use gst_segtrap_is_enabled() instead of
5880 _gst_disable_segtrap.
5882 * gst/gsttrace.c: (_gst_trace_default):
5883 Make local _gst_trace_default static (was never in any header).
5885 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5887 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5889 * win32/common/libgstbase.def:
5890 * win32/common/libgstcontroller.def:
5891 * win32/common/libgstdataprotocol.def:
5892 * win32/common/libgstnet.def:
5893 * win32/common/libgstreamer.def:
5894 Add more missing symbols, remove some duplicates, and sort
5895 as the 'sort' command sorts it (partially fixes #493983).
5897 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5899 * gst/gstelement.c: (gst_element_set_state_func):
5900 Only change the state cookie if a different state was set on the
5901 element. See #492729.
5903 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5906 Remove unused and uninitialised type variables that were still
5907 exported for some reason (they were never in any header files
5910 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5912 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5913 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5914 (gst_base_sink_event), (gst_base_sink_get_position_last),
5915 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5916 (gst_base_sink_change_state):
5917 Don't try to report a 0 position when we don't know, return -1 and FALSE
5918 instead. This mostly happens when we are prerolling.
5919 Make sure we can report the right position before we post the ASYNC_DONE
5920 message so that a message handler can query position without races.
5922 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5923 (async_done_handoff), (async_done_func), (send_buffer),
5924 (async_done_eos_func), (gst_sinks_suite):
5925 Add two tests for the above.
5927 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5930 Update with new email address.
5932 * docs/design/part-TODO.txt:
5933 Add some more info about future pad-block and negotiation changes.
5935 * docs/design/part-buffering.txt:
5936 Add some ideas about buffering reporting.
5938 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5940 * tests/check/gst/gstobject.c:
5941 Disable silly racy test that always fails on this combination of CPU
5944 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5946 Patch by: Murray Cumming <murrayc@murrayc.com>
5949 Corrected the registration of the parent-set and parent-unset
5950 signals: The parameter is a GstObject, not a GObject (#493134).
5952 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5954 * gst/gst_private.h:
5963 Move declaration of private _gst_foo_initialize() functions into
5964 our private header file where they should have been all along.
5966 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5968 * docs/plugins/gstreamer-plugins-sections.txt:
5969 * gst/gstdebugutils.h:
5971 * plugins/elements/gstqueue.c:
5972 gtk-doc fixes; trailing-comma-in-enum fix.
5974 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5976 * gst/gst.c: (gst_deinit):
5977 Clean up on deinit (not the external ones though, doesn't seem to be
5978 needed for some reason).
5980 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5982 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5983 Remove __declspec(dllimport) for MSVC that was copied over into core
5984 from a plugin, obviously without ever having been tested (note the
5985 single underscore in _declspec in the initial commit), and that doesn't
5986 really make sense. See #492077.
5988 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5990 * gst/gst.c: (init_post):
5991 * gst/gstevent.c: (_gst_event_initialize):
5992 * gst/gstquery.c: (_gst_query_initialize):
5993 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5994 g_type_class_ref() other types as well, see #349410 and #64764.
5996 * gst/gstbuffer.c: (_gst_buffer_initialize):
5997 * gst/gstmessage.c: (_gst_message_initialize):
5998 Simplify existing g_type_class_ref().
6000 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6002 * gst/gstformat.c: (_gst_format_initialize):
6003 g_type_class_ref() our GstFormat type to make sure we avoid the
6004 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6005 bug #64764. Should fix intermittent tee unit test failures (#474823).
6007 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
6009 * tests/check/elements/tee.c: (test_num_buffers):
6010 Simplify, simplify, simplify - or not. Rewrite unit test
6011 not to use gst_parse_launch(); allow N sub-streams. Increasing
6012 the number of sub-streams seems to reproduce #474823 more easily.
6014 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6016 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
6019 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6020 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6021 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6022 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6023 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6024 so use _pipe() directly (#492077).
6026 * win32/common/dirent.c: (_treaddir):
6027 Add a couple of casts to make it build without warnings with MSVC.
6029 * win32/common/libgstreamer.def:
6030 Add some more symbols that need to be exported.
6032 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
6034 * tests/examples/metadata/read-metadata.c: (message_loop):
6035 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6036 arriving in a second or third tag message are added to
6037 the tag list as well.
6039 2007-10-31 Stefan Kost <ensonic@users.sf.net>
6041 * libs/gst/base/gstbasesrc.c:
6042 Its "Since:" and not "@Since:". And remove an superflous cast.
6044 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
6046 * docs/libs/gstreamer-libs-sections.txt:
6047 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6048 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6049 (gst_base_sink_get_property), (gst_base_sink_render_object),
6050 (gst_base_sink_preroll_object),
6051 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6052 (gst_base_sink_change_state):
6053 * libs/gst/base/gstbasesink.h:
6054 Add a new last-buffer property that contains the last buffer used in
6055 basesink for preroll or rendering. useful for making snapshots.
6056 API: gst_base_sink_get_last_buffer()
6057 API: GstBaseSink::last-buffer
6059 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6061 * docs/gst/running.xml:
6063 * gst/gstdebugutils.c:
6064 * gst/gstdebugutils.h:
6065 * tools/gst-launch.c:
6066 Improve bin graph dumping, by using the envvar to specify a path.
6067 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6069 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
6071 * plugins/elements/gsttypefindelement.c:
6072 (gst_type_find_element_handle_event),
6073 (gst_type_find_element_activate):
6074 Post special error message if we can't determine the type of a stream
6077 2007-10-29 Stefan Kost <ensonic@users.sf.net>
6079 * docs/gst/running.xml:
6080 * gst/gstdebugutils.c:
6081 Document new env-var. Add one log-line after dumpng a graph.
6083 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
6086 Ugly hack to put the (recently removed and non-portable, apparently)
6087 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6088 GNU ld, because without that 'make check' fails miserably on my debian
6089 stable box. Someone with more knowledge of linker intricacies and
6090 portability issues than me fix this properly please.
6092 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
6094 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6095 Reset last seen position after flushing so that we don't report the old
6098 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6100 * gst/gstelementfactory.c: (gst_element_register):
6102 Patch from Alessandro Decina adding get_type_full and
6103 get_protocols_full private vfuncs to the URIHandler interface
6104 to allow bindings to support creating URI handlers.
6105 Partially fixes: #339279
6106 API: GstURIHandlerInterface::get_type_full
6107 API: GstURIHandlerInterface::get_protocols_full
6109 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6111 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6112 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6113 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6114 Make it so that pads are considered linked until a buffer is pushed
6115 and discovered otherwise. This avoids problems with decodebin2 hanging
6116 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6119 Make sure we lock the multiqueue when updating the max-size properties.
6121 Fix a crash on Solaris in a debug statement in get_request_pad that
6122 passes a NULL string to GST_DEBUG.
6124 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6125 (run_output_order_test):
6126 Fix the test to allow the first buffer on not-linked pads to come out
6127 of sequence while multiqueue discovers that they are not-linked.
6129 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6132 * libs/gst/check/Makefile.am:
6133 Use a custom export symbol regex for libgstcheck, as it needs
6134 to export symbols that don't match the standard GStreamer gst_*
6135 pattern, and --export-dynamic is not portable (only works on
6138 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6139 (gst_check_setup_sink_pad):
6140 Make sure to pass a message parameter to the fail_* macros.
6142 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6143 Fix some compiler warnings.
6145 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6147 * tests/check/gst/gststructure.c: (test_to_string):
6148 Disable test that checks that white spaces are not allowed
6149 in structure names or field names, since we need to
6150 support that for now for backwards compatibility reasons.
6152 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6154 * docs/gst/gstreamer-sections.txt:
6157 API: add GST_TAG_ARTIST_SORTNAME
6158 API: add GST_TAG_ALBUM_SORTNAME
6159 API: add GST_TAG_TITLE_SORTNAME
6160 Add tag variants for sorting (#414539).
6162 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6164 * gst/gststructure.c:
6165 Also allow white space for names so we don't break
6166 backwards compatibility.
6168 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6170 * docs/design/part-TODO.txt:
6171 * docs/design/part-segments.txt:
6172 * docs/design/part-streams.txt:
6175 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6177 * docs/gst/gstreamer-sections.txt:
6178 Fixed documentation from my previous commit (added new API add
6179 gst_value_set_structure(), add gst_value_get_structure() and
6180 GST_VALUE_HOLDS_STRUCTURE).
6182 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6184 * gst/gstdebugutils.c:
6185 Reflow code to fix uninitialized variable warning.
6187 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6189 * gst/gstcaps.c: (gst_caps_to_string),
6190 (gst_caps_from_string_inplace):
6191 * gst/gststructure.c: (gst_structure_get_abbrs),
6192 (gst_structure_to_string), (gst_structure_from_string):
6193 * gst/gstvalue.c: (gst_value_set_structure),
6194 (gst_value_get_structure), (gst_value_serialize_structure),
6195 (gst_value_deserialize_structure), (_gst_value_initialize):
6197 * tests/check/gst/gststructure.c: (GST_START_TEST),
6198 (gst_structure_suite):
6199 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6200 Added GstStructure to gst_value_table and its related functions.
6201 Changed gst_structure_to_string to print ';' in the end.
6202 Changed gst_caps_to_string to not print ';' beteween its
6203 fields (structures) anymore and remove the lastes ';' from latest
6204 structure. Now it is possible to have nested structures.
6205 In addition, backward compatibilty is assured by accepting '\0' as
6206 end delimiter. Fixes: #487969.
6207 API: add gst_value_set_structure()
6208 API: add gst_value_get_structure()
6209 API: add GST_VALUE_HOLDS_STRUCTURE
6211 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6214 When no GSource callback has been set up, tell developer
6215 to use a function that actually exists.
6217 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6219 * docs/gst/gstreamer-sections.txt:
6223 * gst/gstdebugutils.c:
6224 * gst/gstdebugutils.h:
6227 * tools/gst-launch.c:
6228 Allow dumping pipelines as dot graphs. Fixes #456573.
6230 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6232 * gst/gststructure.c:
6233 Allow '+' as well, it can be part of media or mime types
6234 such as image/svg+xml.
6236 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6238 * docs/gst/gstreamer-sections.txt:
6241 API: add gst_bus_pop_filtered
6242 API: add gst_bus_timed_pop_filtered
6243 Two new functions for waiting for specific message types on the
6244 bus for a specified amount of time without iterating any main
6245 loops or main contexts.
6247 * tests/check/gst/gstbus.c:
6248 Some tests for the new functions.
6250 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6252 * docs/libs/gstreamer-libs-sections.txt:
6253 Make gtk-doc ignore stuff it should ignore.
6255 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6257 * libs/gst/check/gstcheck.c:
6258 * libs/gst/check/gstcheck.h:
6259 Allow runtime selection of unit tests to run via the GST_CHECKS
6260 environment variable (test case function names, comma-separated).
6262 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6264 * gst/gststructure.c:
6265 * tests/check/gst/gststructure.c:
6266 Revert serialisation change and constrain structure-names after
6267 consensus on irc. Update api documentation to reflect the change.
6269 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6271 * gst/gststructure.c:
6272 Improve serialization and fix tests.
6274 * tests/check/gst/gststructure.c:
6275 Add another test that covers why I actually did the previous structure
6278 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6280 * tools/gst-inspect.c: (print_element_info):
6281 Don't crash when inspecting an element.
6283 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6285 * tests/check/gst/gststructure.c:
6286 Add unit test for escaping of structure name when serialising
6287 and deserialising to/from strings.
6289 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6291 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6292 (gst_single_queue_new):
6293 * plugins/elements/gstqueue.c: (gst_queue_init),
6294 (gst_queue_push_one):
6295 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6296 upstream is tricked into thinking it can suggest a format downstream
6297 while downstream does not support that format. The real problem is that
6298 core calls acceptcaps when pushing a buffer with new caps, for which we
6299 do a little workaround by setting the caps on the srcpad ourselves
6300 before pushing the buffer (until this is figured out). Fixes #486758.
6302 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6304 * gst/gststructure.c:
6306 Add some more comments and debug output. Quote structure name to fix
6307 deserialisation of some strings.
6309 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6312 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6313 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6315 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6317 * tools/gst-inspect.c:
6318 Save approx. 400 1 byte allocs when printing. Use API to acces element
6324 * tools/gst-xmlinspect.c:
6325 Use API to acces element details.
6327 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6330 Fix some spelling errors.
6332 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6334 * gst/gstbin.c: (bin_handle_async_done):
6335 Correctly set the next state if all of our async children commited their
6336 state. This makes sure we can actually cancel the state change in
6337 progress. Fixes a regression in Rhythmbox when seeking.
6339 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6342 Don't shadow local variable.
6345 Don't shadow global function name.
6347 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6349 * gst/gstelementfactory.c:
6350 * gst/gstpluginfeature.c:
6351 * gst/gstpluginfeature.h:
6352 * gst/gstregistrybinary.c:
6353 * gst/gstregistryxml.c:
6354 * gst/gsttypefind.c:
6355 Use already-interned string for the private GstPluginFeature
6358 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6360 * docs/libs/gstreamer-libs-sections.txt:
6361 Add new API to docs; fixes the build.
6363 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6365 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6367 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6368 (gst_base_sink_event):
6369 * libs/gst/base/gstbasesink.h:
6370 Add function to wait for EOS, subclasses can use this to correctly wait
6371 for devices to drain before performing the EOS logic. Fixes #485343.
6372 API: gst_base_sink_wait_eos()
6374 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6377 Cast description string constants in GST_PLUGIN_DEFINE macros
6378 to a (gchar*) to make C++ code using these macros compile
6379 without warning with g++-4.2 (see #462737). Even if slightly
6380 ugly, this seems preferable to putting the description strings
6381 into the GLib quark table or making the structure member a
6382 const gchar * and doing casts in core code that allocs and
6383 frees these strings, or requiring a cast in the C++ code.
6385 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6388 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6389 to print the entire class/function signature into the log
6390 file for C++ code. This only affects C++ code, for C code
6391 everything remains the same.
6393 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6395 * gst/gstbin.c: (remove_from_queue):
6396 Work around a problem with pipelines containing (semi)loops until a
6397 proper, more complicated solution is ready. See #475455.
6399 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6403 * gst/gstregistrybinary.c:
6404 * gst/gstregistryxml.c:
6405 Put more strings into the GLib quark table. No need to keep
6406 a hundred-something copies of identical version strings,
6407 license strings, package name strings and package origin
6410 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6412 * docs/manual/advanced-dataaccess.xml:
6413 Don't imply that it's okay to unconditionally change
6414 buffer data or buffer metadata in a pad probe callback,
6415 and a bunch of other comments. Fixes #430031.
6417 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6419 * win32/common/gstenumtypes.c:
6420 * win32/common/gstenumtypes.h:
6421 * win32/common/gstversion.h:
6422 Update generated files.
6424 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6426 * docs/manual/advanced-autoplugging.xml:
6427 Prefix section with broken code with a warning (see #342432).
6429 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6431 * docs/manual/appendix-integration.xml:
6432 * docs/manual/basics-init.xml:
6433 Call g_thread_init() before g_option_context_new() to
6434 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6436 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6438 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6439 (gst_base_sink_queue_object_unlocked),
6440 (gst_base_sink_queue_object), (gst_base_sink_event),
6441 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6442 When we received EOS and are waiting for when to post the EOS message,
6443 our state is prerolled and we should not return ASYNC.
6444 Reorganize some code paths to implement this behavior.
6446 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6448 Add unit test to verify above EOS fix.
6450 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6452 * plugins/elements/gsttypefindelement.c:
6453 (gst_type_find_element_have_type), (gst_type_find_element_init),
6454 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6455 Move detecting the input caps of the sinkpad to the setcaps function.
6456 This allows us to update the output caps when we receive new input caps
6457 instead of always using the first detected caps.
6459 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6461 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6462 (gst_base_sink_get_position):
6463 Don't try to preroll non-async elements after a flush.
6464 Subtract latency form clock times when reporting position.
6466 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6468 * gst/gstpad.c: (gst_pad_pause_task):
6470 Small comment and documentation update.
6472 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6474 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6475 (gst_base_src_set_live), (gst_base_src_is_live),
6476 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6477 (gst_base_src_default_event), (gst_base_src_wait),
6478 (gst_base_src_do_sync), (gst_base_src_get_range),
6479 (gst_base_src_pad_get_range), (gst_base_src_loop),
6480 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6481 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6482 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6483 (gst_base_src_change_state):
6484 Rework the locking of basesrc in a similar fashion to basesink. We
6485 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6486 us to handle live sources and semi live ones much better.
6488 Fix unlocking when seeking, shutting down and pausing in live sources.
6490 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6492 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6493 Fix compilation again.
6495 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6498 Use meaningful categories for the logs to clean the default one.
6500 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6502 * tests/check/pipelines/cleanup.c:
6503 Print message name and not just number.
6505 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6507 * docs/design/draft-tagreading.txt:
6508 Add some more thoughts.
6510 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6512 * tests/check/pipelines/simple-launch-lines.c:
6513 Print message name and not just number.
6515 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6517 * libs/gst/base/gsttypefindhelper.c:
6518 Speedup typefinding. This is work in progress (see #459862).
6520 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6523 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6524 Spotted by Josep Torra Valles <josep@fluendo.com>.
6526 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6529 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6530 field has moved to GstObject.
6532 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6534 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6535 (gst_base_src_get_range), (gst_base_src_change_state):
6536 Call unlock for live sources so that they can't get stuck in _create and
6537 produce a buffer before they are set back to PLAYING.
6539 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6541 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6542 (gst_queue_locked_dequeue):
6543 Comment the segment-related code... in the PROPER function.
6544 See #482147 and my commit from yesterday.
6546 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6548 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6549 Also initialize the counter that calculates the first timestamp on a
6550 buffer correctly for non-live sources.
6552 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6554 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6555 Disable code that's breaking the current-time-level reporting.
6558 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6560 * docs/gst/gstreamer-sections.txt:
6561 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6562 as they shouldn't show up. Fixes the docs build.
6564 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6567 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6568 Define M_PI which is used in files which are including gstinfo.h.
6569 VS6 includes doesn't define it.
6570 * win32/common/libgstbase.def:
6571 * win32/common/libgstcontroller.def:
6572 * win32/common/libgstreamer.def:
6573 Add new exported functions and variables.
6574 * win32/vs6/libgstcontroller.dsp:
6575 * win32/vs6/libgstreamer.dsp:
6576 Update the list of files to build.
6578 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6580 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6582 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6583 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6584 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6585 Improve debugging. Fixes #480858.
6587 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6589 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6591 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6592 First patch of code cleanups, use the macros and right arguments in the
6593 macros to signal and lock the queue. See #480858.
6595 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6597 * gst/gstbus.c: (poll_func):
6598 Improve debugging when dealing with _poll().
6600 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6602 * gst/gstregistryxml.c:
6603 Fix memory leak I introduced a few days ago.
6605 2007-09-26 Michael Smith <msmith@fluendo.com>
6607 * gst/gstbuffer.c: (gst_buffer_finalize):
6608 Make it once again possible to free GstBuffers in the default
6610 The poisoning scribbles on parts of the miniobject we need in
6614 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6616 * docs/gst/gstreamer-sections.txt:
6619 API: add GST_TAG_COMPOSER, fixes #459809.
6621 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6625 Add the 3-clause BSD license and the MIT/X11 license to the license
6626 list. Fixes #479784.
6628 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6630 * docs/faq/getting.xml:
6631 Add Q+A about different GStreamer versions (#364056).
6633 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6635 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6636 (gst_base_sink_event), (gst_base_sink_change_state):
6637 Return correct gboolean from query function.
6639 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6641 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6642 (gst_base_sink_event), (gst_base_sink_query),
6643 (gst_base_sink_change_state):
6644 Simplify latency query.
6645 When not synchronizing, we can report latency without querying the peer
6648 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6652 Fix small typos in the docs.
6654 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6656 * docs/design/draft-latency.txt:
6657 * docs/design/draft-push-pull.txt:
6658 * docs/design/draft-tagreading.txt:
6659 * docs/design/part-MT-refcounting.txt:
6660 * docs/design/part-activation.txt:
6661 * docs/design/part-block.txt:
6662 * docs/design/part-element-source.txt:
6663 * docs/design/part-events.txt:
6664 * docs/design/part-gstbin.txt:
6665 * docs/design/part-gstelement.txt:
6666 * docs/design/part-gstobject.txt:
6667 * docs/design/part-gstpipeline.txt:
6668 * docs/design/part-messages.txt:
6669 * docs/design/part-preroll.txt:
6670 * docs/design/part-push-pull.txt:
6671 * docs/design/part-qos.txt:
6672 * docs/design/part-query.txt:
6673 * docs/design/part-scheduling.txt:
6674 * docs/design/part-seeking.txt:
6675 * docs/design/part-segments.txt:
6676 * docs/design/part-states.txt:
6677 Documentation updates and typo fixes.
6679 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6681 * plugins/elements/gstfakesink.c:
6682 Add some debug text to error message to indicate that
6683 we errored out on request.
6685 * tools/gst-launch.c:
6686 When the state change to PLAYING fails, check for an
6687 error message on the bus and print it.
6689 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6691 translated by: Jorge González González <aloriel@gmail.com>
6695 Added Spanish translation.
6697 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6699 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6700 Fix printf arguments.
6702 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6704 * tests/check/generic/states.c:
6705 Improved state change unit test.
6707 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6710 Move priv to the right place.
6712 * gst/gstsystemclock.c:
6713 Add FIXME: and improve log.
6715 * tests/check/Makefile.am:
6716 * tests/examples/manual/Makefile.am:
6717 Work with all types of registries.
6719 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6721 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6722 Don't unref the event after pushing it. Fixes #478401.
6724 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6727 * tests/examples/manual/.cvsignore:
6728 Ignore registries in any format.
6730 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6732 * gst/glib-compat-private.h:
6733 Add compatibility macro for g_intern_string() for
6734 GLib-2.8 (any reason we can't just bump the
6735 requirement to at least 2.10?)
6737 * gst/gstpadtemplate.h:
6738 * gst/gstelementfactory.c:
6739 * gst/gstregistryxml.c:
6740 * gst/gstregistrybinary.c:
6741 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6742 up the internal code accordingly. This shouldn't be a problem, since
6743 there is no reason external code could ever assume the string in such
6744 a structure is dynamically allocated unless it did that itself; the
6745 use of g_strdup() is private to element factories. The new code also
6746 saves some memory by putting pad template name strings into the GLib
6747 quark table instead of allocating them dynamically.
6748 Declaring this field constant fixes warnings with g++-4.2 when using
6749 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6751 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6753 * gst/gstelementfactory.c:
6754 Release static caps. Fixes #475723.
6756 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6760 Make some internal API take const gchar * instead of just
6761 gchar * to avoid compiler warnings with g++-4.2.2 when
6762 passing string constants (partially fixes #478092).
6764 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6766 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6767 A latency query fails when one of the sinks fail.
6769 * gst/gstelement.c: (gst_element_set_base_time):
6772 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6774 * gst/gstbin.c: (gst_bin_continue_func):
6775 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6776 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6777 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6779 Fix minor compilation warnings shown with Forte.
6781 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6783 * plugins/elements/gstqueue.c: (apply_buffer),
6784 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6785 Measure queue level based on the diff between head and tail timestamps
6786 even when pushing the first buffer.
6788 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6790 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6791 (gst_base_sink_event), (gst_base_sink_change_state):
6792 Sinks that don't preroll can always be queried for the latency.
6793 Don't post ASYNC start when we are not async.
6795 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6797 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6798 (gst_queue_handle_sink_event), (gst_queue_chain),
6799 (gst_queue_push_one), (gst_queue_handle_src_query),
6800 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6801 * plugins/elements/gstqueue.h:
6802 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6803 push more buffers but allow pushing of EOS and NEWSEGMENT.
6804 Add some more debug info here and there. Fixes #476514.
6806 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6808 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6809 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6810 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6811 (gst_base_sink_set_flushing), (gst_base_sink_query),
6812 (gst_base_sink_change_state):
6813 Latency query is allowed after we are prerolled. Introduce a new flag
6814 for this and stop abusing other variables.
6816 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6818 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6819 Push OOB events downstream when we get them in send_event. This allows
6820 the application to insert events in the pipeline.
6821 Add some more comments.
6823 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6825 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6826 (do_bin_latency), (gst_bin_change_state_func):
6827 * gst/gstpipeline.c: (gst_pipeline_change_state):
6828 Move latency query from GstPipeline to GstBin so that we can also
6829 use it when async-handling is enabled on bins.
6831 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6833 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6834 (gst_base_src_do_sync), (gst_base_src_change_state):
6836 Clean up the timestamping and syncing code for pseudo live sources.
6838 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6840 Patch by: Steve Fink <sphink gmail com>
6842 * docs/manual/appendix-checklist.xml:
6843 Mention less -R switch in the section about debug output (#474055).
6845 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6847 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6848 Queue can latency to the pipeline up to the configured max size in time.
6849 Report this fact in the latency query.
6851 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6853 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6855 * libs/gst/controller/gstinterpolation.c:
6856 * libs/gst/controller/gstlfocontrolsource.c:
6857 Use gst_guint64_to_gdouble() when converting from a uint64 or
6858 GstClockTime to double to fix the build on win32. Fixes #474371.
6860 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6862 * gst/gstbuffer.c: (gst_buffer_finalize):
6863 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6864 When finalizing a buffer the complete struct is filled with 0xff,
6865 thus making a use of the buffer after the final unref impossible.
6867 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6869 * tests/check/libs/controller.c: (GST_START_TEST):
6870 Use fail_unless_equals_int(a, b) instead of
6871 fail_unless_equals (a == b) to get better output on failures.
6873 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6875 * tests/check/gst/gsturi.c:
6876 Also check for the other file URI variant on win32.
6878 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6880 * gst/gsturi.c: (gst_uri_get_location):
6881 If there's no hostname, we want to return 'c:/foo/bar.txt'
6882 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6884 * tests/check/gst/gsturi.c:
6885 Unit test for the above and a few more things.
6887 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6889 * docs/design/part-live-source.txt:
6890 Add docs on how live sources should timestamp.
6892 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6893 Add some more debug info.
6894 For subclasses that are live and like to sync, add aditional startup
6895 latency to sync time and timestamps so that we timstamp according to the
6898 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6901 Also do a g_type_class_ref() for the subbuffer type in
6904 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6906 * docs/gst/gstreamer-sections.txt:
6907 * gst/gstpad.c: (gst_pad_peer_query):
6909 Add function to perform a query on the peer of a pad.
6910 API: gst_pad_peer_query()
6912 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6914 * tests/check/gst/gstsystemclock.c:
6915 Cleanup the test a little (use gst-logging and not g_message). Improve
6916 test to check if a wait reached the target.
6918 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6920 * docs/libs/gstreamer-libs-sections.txt:
6921 Add new API to docs and fix the build.
6923 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6925 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6926 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6927 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6928 (gst_base_src_get_property), (gst_base_src_do_sync):
6929 * libs/gst/base/gstbasesrc.h:
6930 Add property to make the basesrc timestamp buffers based on the current
6932 API: GstBaseSrc::do-timestamp
6933 API: gst_base_src_set_do_timestamp()
6934 API: gst_base_src_get_do_timestamp()
6936 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6938 * docs/random/release:
6939 Really make sure translations are up-to-date before
6940 a release (#465010).
6942 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6944 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6945 Always destroy the timer, also in error cases.
6947 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6949 * docs/manual/highlevel-xml.xml:
6950 Fix XML example code. Fixes #472714.
6952 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6954 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6955 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6956 (gst_base_sink_query):
6957 Protect eos and have_preroll with the OBJECT lock so we don't need to
6958 take the PREROLL lock when querying the latency. Fixes #473846.
6960 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6963 Give some log-messages a category.
6965 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6967 * gst/gststructure.c:
6968 (gst_structure_fixate_field_nearest_fraction):
6969 Fix fraction list fixation code. Take the fraction with the smallest
6970 difference with the target instead of the first one in the list.
6972 * tests/check/gst/gststructure.c: (GST_START_TEST),
6973 (gst_structure_suite):
6974 Added test to verify correct fraction list fixation behaviour.
6976 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6978 * win32/common/libgstreamer.def:
6979 Export gst_bus_add_signal_watch too.
6981 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6983 * docs/libs/gstreamer-libs-sections.txt:
6984 Add new methods to docs.
6986 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6987 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6988 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6989 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6990 * libs/gst/base/gstbasesink.h:
6991 Add ts-offset property to fine-tune the synchronisation.
6992 API: GstBaseSink::ts-offset property
6993 API: gst_base_sink_set_ts_offset()
6994 API: gst_base_sink_get_ts_offset()
6996 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6998 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6999 (gst_base_sink_init), (gst_base_sink_set_sync),
7000 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7001 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7002 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7003 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7004 (gst_base_sink_get_property), (gst_base_sink_change_state):
7005 * libs/gst/base/gstbasesink.h:
7006 Add async property to instruct the sink never to inform the parent about
7007 ASYNC state changes, update docs.
7008 Check argument with g_return_* for the public functions.
7009 API: GstBaseSink::async property
7010 API: gst_base_sink_set_async_enabled()
7011 API: gst_base_sink_is_async_enabled()
7013 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
7015 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7018 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7019 (gst_base_src_default_query), (gst_base_src_wait),
7020 (gst_base_src_do_sync), (gst_base_src_change_state):
7021 Rearrange some code so that we can add support for measuring the
7024 2007-08-27 Stefan Kost <ensonic@users.sf.net>
7026 * docs/random/ensonic/dynlink.txt:
7027 More thoughs on this.
7029 * plugins/elements/gstcapsfilter.c:
7030 Add bugzilla ticket number to FIXME comment.
7032 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
7034 * docs/design/part-TODO.txt:
7035 * docs/design/part-block.txt:
7038 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7041 Revert patch which uses $(gst_headers) instead of $^ because it
7044 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7046 * tests/check/gst/gstbin.c: (GST_START_TEST):
7047 Fix leaks in the new unit test.
7049 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
7052 Don't use GST_INFO before the debug system is actually initialised
7053 (shouldn't do any harm, but won't print anything either, so we can
7054 just as well remove it).
7057 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7058 compilers that don't support variadic macros (such as MSVC), should
7059 check for debug_level <= __gst_debug_min as well, since that's the
7060 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7061 inline helper functions. Should improve performance a bit, but also
7062 makes sure uses of GST_INFO et.al are ignored if the debugging
7063 system isn't initialised yet (instead of printing an assertion
7066 2007-08-23 Stefan Kost <ensonic@users.sf.net>
7068 patch by: David Nečas <yeti@physics.muni.cz>
7071 Replace some non portable makefile constructs.
7073 2007-08-21 Stefan Kost <ensonic@users.sf.net>
7075 * common/gtk-doc-plugins.mak:
7076 Grrrrr. Don't remove the types file on make clean.
7078 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
7080 * tools/gst-launch.1.in:
7081 Add colorspace to example pipeline. Fixes #458274.
7083 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
7085 * docs/random/release:
7086 The release manager should run 'make download-po' before making a
7087 release to make sure translations are up-to-date.
7093 Add some new translations.
7095 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
7097 * tools/gst-launch.c: (event_loop), (main):
7098 Don´t try to do any state management when a live pipeline posts
7100 Also make the buffering string translatable.
7102 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7104 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7105 (bin_handle_async_start), (gst_bin_handle_message_func):
7107 When adding elements, insert messages into the bus of the newly added
7108 element and make sure the element is the source of the message. This
7109 allows the parent bin to intercept the message and do the
7110 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7111 messages to the app (which is not allowed).
7114 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7115 Fix testsuite so that is does not work around messages that should not
7116 have been posted in the first place.
7118 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7120 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7121 (update_degree), (gst_bin_sort_iterator_next):
7122 Fix annoying bug in the sorted iterator where a sink that is not really
7123 a sink (when it has downstream links) screwed up the iterator.
7125 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7126 Unit test to verify the fix.
7128 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7131 Add some more docs for the messages.
7133 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7134 (gst_base_sink_query):
7135 Add some more debugging.
7137 * tools/gst-launch.c: (event_loop):
7138 When interrupting, don't try to set pipeline to PAUSED twice.
7140 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7143 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7144 (bin_handle_async_start), (gst_bin_handle_message_func):
7145 Move ASYNC_START message posting to where it belongs, similar to
7147 Don't post ASYNC_START when we are in error.
7148 Post ASYNC_START when we added an async element to a bin.
7150 2007-08-14 Julien MOUTTE <julien@moutte.net>
7152 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7153 generation from vargs. Fixes #466595.
7155 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7157 * gst/gstbin.c: (gst_bin_element_set_state):
7158 Always change the state of a NO_PREROLL element even if it has ASYNC
7159 elements inside (in case of a bin).
7161 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7162 Unit test for this case.
7164 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7166 * libs/gst/check/gstbufferstraw.c:
7167 * libs/gst/check/gstcheck.h:
7168 * libs/gst/controller/gstcontroller.c:
7169 * libs/gst/controller/gstcontrolsource.h:
7170 * libs/gst/controller/gstlfocontrolsource.h:
7171 * plugins/elements/gstcapsfilter.h:
7172 * plugins/elements/gstfdsink.h:
7173 * plugins/elements/gstfdsrc.h:
7174 Add more missing docs.
7176 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7178 * gst/gststructure.c:
7179 Add Since tag to docs.
7181 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7183 * docs/gst/gstreamer-sections.txt:
7184 * gst/gststructure.c: (gst_structure_get_uint):
7185 * gst/gststructure.h:
7186 Add function to get uint from a structure.
7187 API: gst_structure_get_uint()
7189 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7191 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7192 (gst_caps_intersect):
7193 Fix proper check for simple caps.
7195 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7197 * docs/gst/Makefile.am:
7198 * docs/libs/Makefile.am:
7199 Remove cruft and do some cleanups.
7201 * docs/gst/gstreamer-docs.sgml:
7202 * docs/libs/gstreamer-libs-docs.sgml:
7203 Prepare for comming gtkdoc features (rebase against online docs).
7205 2007-08-10 Michael Smith <msmith@fluendo.com>
7207 * docs/gst/gstreamer-sections.txt:
7208 Add gst_registry_add_path to docs.
7210 2007-08-10 Michael Smith <msmith@fluendo.com>
7212 * gst/gstregistry.h:
7213 Add gst_registry_add_path, which was missing from this header.
7215 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7217 * libs/gst/controller/gstlfocontrolsource.c:
7220 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7222 * libs/gst/base/gstbasesink.c:
7223 Don't send an async_start message during downwards state change if
7224 target state is less than READY
7226 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7228 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7232 Added Hungarian translation.
7234 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7241 Updated translations.
7243 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7245 * libs/gst/controller/Makefile.am:
7246 Dist gstlfocontrolsourceprivate.h
7248 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7250 * docs/libs/gstreamer-libs.types:
7251 Don't register the enum type gst_lfo_waveform_get_type() in the
7252 .types file - only GObject derived types belong.
7254 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7256 Patch by: <arenevier at fdn dot fr>
7259 Remove comma from last element in enum to avoid compile errors when
7260 using -pendantic. Fixes #464366.
7262 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7264 * docs/design/part-TODO.txt:
7265 Add some more TODO items
7267 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7270 * gst/gstcaps.c: (gst_caps_intersect):
7271 Optimize trivial intersection case between identical caps pointers.
7273 * gst/gstelement.c: (gst_element_continue_state),
7274 (gst_element_set_state_func):
7276 Fix spelling and grammar mistakes.
7278 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7282 Update POTFILES. Fixes #461599.
7284 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7287 Fix confusing typo in debug output.
7289 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7291 reviewed by: Stefan Kost <ensonic@users.sf.net>
7293 * libs/gst/controller/Makefile.am:
7294 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7295 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7296 (gst_lfo_control_source_new),
7297 (gst_lfo_control_source_set_waveform),
7298 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7299 (gst_lfo_control_source_finalize),
7300 (gst_lfo_control_source_dispose),
7301 (gst_lfo_control_source_set_property),
7302 (gst_lfo_control_source_get_property),
7303 (gst_lfo_control_source_class_init):
7304 * libs/gst/controller/gstlfocontrolsource.h:
7305 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7306 API: Add GstLFOControlSource, a control source that gives values
7307 for specific timestamps based on several periodic waveforms.
7310 * tests/check/libs/controller.c: (GST_START_TEST),
7311 (gst_controller_suite):
7312 * docs/libs/gstreamer-libs-docs.sgml:
7313 * docs/libs/gstreamer-libs-sections.txt:
7314 * docs/libs/gstreamer-libs.types:
7315 Add documentation and unit tests for GstLFOControlSource.
7317 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7322 === release 0.10.14 ===
7324 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7327 releasing 0.10.14, "Breathing Vacuum"
7329 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7331 * gst/gstelement.c: (gst_element_class_set_details_simple):
7333 Make strings passed to gst_element_class_set_details_simple()
7334 constant, as they should be (#462752).
7336 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7338 * gst/gstbin.c: (gst_bin_change_state_func),
7339 (bin_handle_async_done), (gst_bin_handle_message_func):
7340 Don't forget about the fact that some element went ASYNC even after a
7341 resync. This makes us post the ASYNC_DONE message correctly.
7344 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7346 * gst/gstregistry.c: (gst_registry_add_feature):
7347 When replacing an existing feature in the registry, make sure to
7348 continue holding a reference until we've replaced the name string
7349 within our feature hash table. Make sure to use g_hash_table_replace
7350 instead of g_hash_table_insert to ensure the new name string is used
7351 as a key instead of the old one that we're about to free.
7354 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7356 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7357 (gst_plugin_feature_set_name):
7358 Revert patch from #459466 until after the release and we can work
7359 out exactly what the problem is (if any).
7361 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7363 * docs/gst/gstreamer-sections.txt:
7366 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7368 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7370 * docs/libs/Makefile.am:
7371 Include our build-prefix libs and includes before the generic ones to
7372 avoid linking against the installed libs when we want the build-tree
7375 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7377 Patch by: Steve Fink <sphink gmail com>
7379 * docs/pwg/building-testapp.xml:
7380 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7381 if people try to build or install the example from the plugin
7382 template against a GStreamer from package using the configure
7385 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7387 Patch by: Steve Fink <sphink gmail com>
7389 * tools/gst-inspect.1.in:
7390 Document --print-all and --print-plugin-auto-install-info command
7391 line options in man page.
7393 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7395 * docs/gst/gstreamer-sections.txt:
7396 Add docs for new api function.
7398 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7400 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7401 * gst/gstelementfactory.h:
7402 API: gst_element_factory_has_interface()
7403 Added method to check if an element factory implements a named
7406 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7409 * docs/gst/gstreamer.types.in:
7410 Another conditional doc check.
7413 * gst/gstparamspecs.h:
7414 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7419 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7421 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7422 (gst_registry_binary_load_feature),
7423 (gst_registry_binary_load_plugin),
7424 (gst_registry_binary_read_cache):
7425 Print error just once and with additional info.
7427 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7429 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7430 (helper_find_suggest), (helper_find_get_length),
7431 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7432 (gst_type_find_helper_for_buffer):
7433 Cleanup the typefindhelper code and add private doc comments.
7435 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7437 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7438 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7439 Fix capsfilter for cases where the caps set on capsfilter will provide
7440 additional information.
7443 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7445 * gst/gsttypefindfactory.c:
7446 Fix docs that recommened wrong function to use.
7448 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7450 * tools/gst-inspect.c: (print_plugin_features):
7451 Also give media-type for typefinders in element output.
7453 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7455 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7456 (gst_registry_remove_features_for_plugin_unlocked),
7457 (gst_registry_add_feature), (gst_registry_remove_feature),
7458 (gst_registry_lookup_feature_locked):
7459 * gst/gstregistry.h:
7460 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7463 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7465 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7466 (gst_plugin_feature_set_name):
7467 Avoid double memory usage for pluginfeature names. Fixes #459466.
7469 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7472 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7473 driving the pipeline may need to explicitly check for NOT_LINKED as
7474 well, since IS_FATAL doesn't cover that.
7476 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7478 * docs/pwg/advanced-types.xml:
7479 Fix typo and duplicate entry in video formats list.
7481 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7483 * libs/gst/controller/gstinterpolation.c:
7484 Also round to the nearest int when using cubic interpolation.
7486 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7488 * libs/gst/controller/gstinterpolation.c:
7489 When linearly interpolating integer types, round to the nearest int
7490 by adding 0.5. Don't do it for float/double types.
7491 Fixes the failing controller test on my machine, which is somehow
7492 rounding differently than on the buildbots.
7494 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7496 * tools/gst-plot-timeline.py:
7497 Better log parsing (categories can have -). Adjust text vs. lines, so
7498 that they span the same y-range.
7500 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7502 * docs/random/ensonic/audiobaseclasses.txt:
7503 * docs/random/ensonic/dynlink.txt:
7504 * docs/random/ensonic/profiling.txt:
7507 * docs/random/moving-plugins:
7508 Add note to use g_assert type macros.
7510 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7513 * libs/gst/check/Makefile.am:
7514 Add libm check as we use in for plugins.
7516 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7518 * gst/gstbin.c: (gst_bin_continue_func):
7519 Check that the state_cookie hasn't changed since the continue_func
7520 was scheduled. Avoids problems where the state changes back to
7521 something it shouldn't be because it was changed in the meantime.
7523 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7525 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7526 (gst_registry_binary_save_string),
7527 (gst_registry_binary_save_pad_template),
7528 (gst_registry_binary_save_feature),
7529 (gst_registry_binary_save_plugin),
7530 (gst_registry_binary_load_feature),
7531 (gst_registry_binary_load_plugin),
7532 (gst_registry_binary_read_cache):
7533 Fix memory leak. Be less verbose in the log.
7535 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7537 * tests/check/elements/.cvsignore:
7538 Add file to cvsignore as commanded.
7540 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7542 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7543 (mq_dummypad_event), (run_output_order_test):
7544 Use a GStaticMutex to protect all cases where libcheck
7545 fail_if/fail_unless macros might be called from multiple threads
7546 simultaneously to avoid errors like:
7547 "check_pack.c:107: :-1081725400:Bad message type arg"
7549 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7551 * tests/check/pipelines/stress.c: (GST_START_TEST):
7552 Make sure we set the pipeline back to the NULL state before
7553 dropping our final reference.
7555 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7557 * tests/check/elements/tee.c: (GST_START_TEST):
7558 Make the tee stress-test a little less stressful so it doesn't just
7559 time out on slow-machines, and remove a small race when it's starting
7560 up by adding a get_state() call.
7562 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7565 Avoid reading registry twice on startup. Fixes #457322.
7567 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7569 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7570 * pkgconfig/gstreamer-check.pc.in:
7571 Substitute the CFLAGS for libcheck into our .pc file too so that
7572 dependent modules will pick it up properly if libcheck is installed
7573 into some other prefix.
7575 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7578 Revert the pkg-config check for libcheck, since it pulls in the
7579 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7580 a proper solution, either from the check project, or something else.
7582 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7585 Use pkg-config to locate check.
7587 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7594 Add deprecation guards.
7596 * libs/gst/base/gstcollectpads.h:
7597 Don't document object (this is implicitly private).
7599 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7601 * gst/gststructure.c: (gst_structure_parse_value):
7602 When deserialising foo=bar without a type cast, check if it's a
7603 boolean before falling back to a string type, otherwise things like
7604 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7605 because the filtercaps end up having a signed=(string)true field,
7606 which causes problems later when intersection caps.
7608 * tests/check/gst/gststructure.c: (GST_START_TEST):
7609 Add a unit test for this.
7611 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7613 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7615 * libs/gst/controller/Makefile.am:
7616 * libs/gst/controller/gstcontroller.c:
7617 (gst_controlled_property_add_interpolation_control_source),
7618 (gst_controlled_property_new), (gst_controlled_property_free),
7619 (gst_controller_find_controlled_property),
7620 (gst_controller_new_valist), (gst_controller_new_list),
7621 (gst_controller_new), (gst_controller_remove_properties_valist),
7622 (gst_controller_remove_properties_list),
7623 (gst_controller_remove_properties),
7624 (gst_controller_set_property_disabled),
7625 (gst_controller_set_disabled), (gst_controller_set_control_source),
7626 (gst_controller_get_control_source), (gst_controller_get),
7627 (gst_controller_sync_values), (gst_controller_get_value_array),
7628 (_gst_controller_dispose), (gst_controller_get_type),
7629 (gst_controlled_property_set_interpolation_mode),
7630 (gst_controller_set), (gst_controller_set_from_list),
7631 (gst_controller_unset), (gst_controller_unset_all),
7632 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7633 * libs/gst/controller/gstcontroller.h:
7634 * libs/gst/controller/gstcontrollerprivate.h:
7635 * libs/gst/controller/gstcontrolsource.c:
7636 (gst_control_source_class_init), (gst_control_source_init),
7637 (gst_control_source_get_value),
7638 (gst_control_source_get_value_array), (gst_control_source_bind):
7639 * libs/gst/controller/gstcontrolsource.h:
7640 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7641 (gst_object_get_control_source):
7642 * libs/gst/controller/gstinterpolation.c:
7643 (gst_interpolation_control_source_find_control_point_node),
7644 (gst_interpolation_control_source_get_first_value),
7645 (_interpolate_none_get), (interpolate_none_get),
7646 (interpolate_none_get_boolean_value_array),
7647 (interpolate_none_get_enum_value_array),
7648 (interpolate_none_get_string_value_array),
7649 (_interpolate_trigger_get), (interpolate_trigger_get),
7650 (interpolate_trigger_get_boolean_value_array),
7651 (interpolate_trigger_get_enum_value_array),
7652 (interpolate_trigger_get_string_value_array):
7653 * libs/gst/controller/gstinterpolationcontrolsource.c:
7654 (gst_control_point_free), (gst_interpolation_control_source_reset),
7655 (gst_interpolation_control_source_new),
7656 (gst_interpolation_control_source_set_interpolation_mode),
7657 (gst_interpolation_control_source_bind),
7658 (gst_control_point_compare), (gst_control_point_find),
7659 (gst_interpolation_control_source_set_internal),
7660 (gst_interpolation_control_source_set),
7661 (gst_interpolation_control_source_set_from_list),
7662 (gst_interpolation_control_source_unset),
7663 (gst_interpolation_control_source_unset_all),
7664 (gst_interpolation_control_source_get_all),
7665 (gst_interpolation_control_source_get_count),
7666 (gst_interpolation_control_source_init),
7667 (gst_interpolation_control_source_finalize),
7668 (gst_interpolation_control_source_dispose),
7669 (gst_interpolation_control_source_class_init):
7670 * libs/gst/controller/gstinterpolationcontrolsource.h:
7671 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7672 API: Refactor GstController into the core controller which can take
7673 a GstControlSource for providing actual values for timestamps.
7674 Implement a interpolation control source and use this for backward
7675 compatibility, deprecate a bunch of functions that are now handled
7676 by GstControlSource or GstInterpolationControlSource.
7677 Make it possible to disable the controller completely or only for
7678 specific properties. Fixes #450711.
7679 * docs/libs/gstreamer-libs-docs.sgml:
7680 * docs/libs/gstreamer-libs-sections.txt:
7681 * docs/libs/gstreamer-libs.types:
7682 Add new functions and classes to the docs.
7683 * tests/check/libs/controller.c: (GST_START_TEST),
7684 (gst_controller_suite):
7685 * tests/examples/controller/audio-example.c: (main):
7686 Port unit test and example to the new API and add some new
7689 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7691 Patch by: Mark Nauwelaerts <manauw at skynet be>
7693 * plugins/elements/gstmultiqueue.c:
7694 (gst_multi_queue_get_internal_links), (apply_buffer),
7695 (single_queue_overrun_cb), (gst_single_queue_new):
7696 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7697 the pipeline layout can be tracked correctly. Fixes #453732.
7699 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7701 * docs/gst/Makefile.am:
7702 * docs/libs/Makefile.am:
7703 * docs/plugins/Makefile.am:
7704 Simplify --extra-dir as gtkdoc scans recursively.
7706 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7708 * tools/gst-launch.c: (main):
7709 When we got an error, there is no point in waiting for preroll when
7712 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7714 * plugins/elements/gsttee.c: (gst_tee_base_init),
7715 (gst_tee_request_new_pad), (gst_tee_release_pad),
7716 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7717 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7719 Be a lot smarter when deciding what srcpad to use for proxying
7720 the buffer_alloc. Also handle pad added/removed when doing so.
7722 Keep track of what pads we already pushed on in case we have pads
7723 added/removed while pushing. Fixes #374639
7725 * tests/check/Makefile.am:
7726 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7728 Added unit test for pad resync.
7730 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7734 Updated translations.
7736 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7738 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7742 Added new Finnish translation.
7744 2007-06-28 Wim Taymans <wim@fluendo.com>
7746 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7747 (single_queue_overrun_cb):
7748 When figuring out when a queue is filled, use our internal time estimate
7749 based on segments, just like check_full does.
7751 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7753 * gst/gstminiobject.c: (gst_mini_object_get_type):
7754 Remove 3 do-nothing methods.
7756 2007-06-27 Wim Taymans <wim@fluendo.com>
7758 Patch by: Tim Angus <tim at ngus dot net>
7760 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7761 (gst_capsfilter_set_property):
7762 Take a reference instead of a copy when setting "caps".
7763 Fix documentation to clarify this behaviour. Fixes #449414.
7765 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7767 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7768 * gst/gstplugin.c: (gst_plugin_init):
7769 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7770 * gst/gstquery.c: (gst_query_get_type):
7771 * gst/gstregistry.c: (gst_registry_init):
7772 * gst/gsturi.c: (gst_uri_handler_base_init):
7773 Remove empty instance_init() functions to save relocs and lessen the
7774 noise. Remove some of the function prototypes that are doubled by
7777 2007-06-27 Wim Taymans <wim@fluendo.com>
7779 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7781 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7782 Add peer and direction in the XML serialisation of ghostpads.
7785 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7788 Preserve useful information, thanks Tim.
7790 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7792 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7793 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7794 (gst_single_queue_push_one), (gst_multi_queue_loop),
7795 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7796 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7797 (compute_high_id), (gst_single_queue_new):
7798 * plugins/elements/gstmultiqueue.h:
7799 Take the multiqueue lock when updating the fill level so we don't get
7802 After applying a buffer or event on the src pad segment, make sure to
7803 call gst_data_queue_limits_changed() to get the data queue to unblock
7804 and check the filled state again.
7806 Rework the not-linked pad handling so the logic is that not-linked
7807 pads can push as fast as they like, but only so they never get
7808 ahead of any linked pads.
7810 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7811 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7812 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7814 Add a test to check that not-linked pads always stay behind
7819 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7821 * docs/random/release:
7822 Some updates to the release procedure.
7824 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7826 * gst/gstelementfactory.c: (__gst_element_details_clear):
7827 Microoptimization that saves stunning 80 bytes.
7829 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7831 * docs/plugins/gstreamer-plugins.args:
7832 * docs/plugins/inspect/plugin-coreelements.xml:
7833 * docs/plugins/inspect/plugin-coreindexers.xml:
7834 Update docs with caps info.
7836 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7839 Updated Italian translation.
7841 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7845 Update Vietnamese translations.
7847 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7849 * libs/gst/base/gstbasesink.c:
7850 Remove unused signal enum.
7852 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7854 * docs/gst/gstreamer-sections.txt:
7856 * gst/gstutils.c: (gst_type_register_static_full):
7857 Beef up and include the docs for gst_type_register_static_full and
7858 gst_element_class_set_details_simple and add the API keyword
7861 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7863 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7864 (update_time_level), (gst_single_queue_push_one),
7865 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7866 (single_queue_overrun_cb), (single_queue_underrun_cb),
7867 (single_queue_check_full):
7868 Fix setting max-* properties after adding queues.
7869 Use IS_FILLED for checking visible items.
7870 Signal overrun if multiple queues overrun.
7871 Add extra debug output.
7872 Patch by: Wim Taymans <wim@fluendo.com>
7874 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7876 * gst/gstelement.c: (gst_element_class_set_details_simple):
7878 * gst/gstutils.c: (gst_type_register_static_full):
7880 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7881 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7882 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7883 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7884 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7885 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7886 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7887 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7888 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7889 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7890 (apply_buffer), (gst_queue_chain):
7891 * plugins/elements/gsttee.c: (gst_tee_base_init):
7892 * plugins/elements/gsttypefindelement.c:
7893 (gst_type_find_element_base_init),
7894 (gst_type_find_element_class_init):
7895 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7896 API: add gst_type_register_static_full
7897 API: add gst_element_class_set_details_simple
7899 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7901 * docs/pwg/advanced-types.xml:
7902 Fix typo in iana.org URI.
7904 2007-06-19 Andy Wingo <wingo@pobox.com>
7906 * tests/check/pipelines/simple-launch-lines.c
7907 (test_state_change_returns): Enable pull-mode tests now that
7908 basesink has been fixed.
7910 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7911 Changed from gst_base_sink_is_prerolled, reversing the sense of
7912 the return value. Returns FALSE also if the sink is in pull mode,
7913 in which case it needs no preroll.
7914 (gst_base_sink_query, gst_base_sink_change_state): Update for
7915 needs_preroll change.
7916 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7917 chaining up, in which we return SUCCESS directly if we activated
7918 in pull mode instead of ASYNC. Involves countering an async_start
7919 message sent before chaining up; not sure if this is correct, in
7920 an ideal world we only send async-start when activating in push
7923 * tests/check/pipelines/simple-launch-lines.c
7924 (test_state_change_returns): New test, partially disabled until
7927 2007-06-19 Wim Taymans <wim@fluendo.com>
7929 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7930 (gst_multi_queue_sink_event):
7933 2007-06-19 Wim Taymans <wim@fluendo.com>
7935 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7936 (gst_bin_change_state_func), (bin_push_state_continue),
7937 (bin_handle_async_start), (bin_handle_async_done),
7938 (gst_bin_handle_message_func):
7939 Move the common code for posting state-change messages into
7941 Broadcast the state signal after we posted the messages.
7942 Mark the bin as busy when it's doing a state-change.
7943 Make sure async-start/done messages don't interfere with the bin's
7944 state when it's busy.
7945 After the state change, let the bin check which elements completed the
7946 state change while it was busy so that it can update its state.
7948 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7950 * docs/random/release:
7951 Add a note about updating the doap file to the release checklist
7953 2007-06-18 Wim Taymans <wim@fluendo.com>
7955 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7956 (gst_single_queue_push_one), (gst_multi_queue_chain),
7957 (gst_multi_queue_sink_event):
7958 Make sure we don't reference the buffer/event after we have given away
7959 ownership in the queue.
7961 2007-06-18 Wim Taymans <wim@fluendo.com>
7963 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7964 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7965 Update queue state _after_ adding the item in the queue because else we
7966 could end up being full without the element added yet.
7968 2007-06-18 Wim Taymans <wim@fluendo.com>
7970 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7971 (gst_bin_remove_func), (gst_bin_get_state_func),
7972 (gst_bin_element_set_state), (gst_bin_continue_func),
7973 (bin_push_state_continue), (bin_handle_async_start),
7974 (bin_handle_async_done), (gst_bin_handle_message_func):
7976 Immediatly commit the toplevel bin state when receiving an async-done
7977 message. This enables us to avoid spawning a thread to commit the state
7978 in some common cases and it also avoids some races.
7979 Avoid spawning a state thread when adding/removing async elements to a
7980 toplevel bin. Instead we immediatly update the bin state.
7981 Get rid of iterating all the children when getting the state in the bin
7982 because it is now always up-to-date.
7983 Fix bug where locked elements would always return _SUCCESS even it they
7984 returned NO_PREROLL before being locked.
7985 Fix the order of the state_change, async-start/done messages that was
7986 sometimes incorrect.
7987 Mark the state_dirty field as deprecated, we don't need it anymore as we
7988 are always up-to-date.
7990 * gst/gstelement.c: (gst_element_get_state_func),
7991 (gst_element_continue_state):
7992 Small debug inprovements.
7993 Return the previous element state return when nothing is pending instead
7994 of blindly returning SUCCESS.
7996 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7998 Add a whole bunch of new testcases.
8000 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8004 Update translations.
8006 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
8009 Fix typo in the docs.
8011 2007-06-15 Wim Taymans <wim@fluendo.com>
8013 * docs/libs/gstreamer-libs-sections.txt:
8014 Add docs for new methods.
8016 2007-06-15 Wim Taymans <wim@fluendo.com>
8018 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8019 (gst_multi_queue_item_new):
8020 Don't use GSlice because we don't depend on >= 2.10 yet.
8022 2007-06-15 Wim Taymans <wim@fluendo.com>
8024 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8025 (update_time_level), (apply_segment), (apply_buffer),
8026 (gst_single_queue_push_one), (gst_multi_queue_item_new),
8027 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8028 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8029 (single_queue_underrun_cb), (single_queue_check_full):
8030 Remove debug printf.
8032 2007-06-15 Wim Taymans <wim@fluendo.com>
8034 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8035 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8036 (gst_data_queue_set_flushing), (gst_data_queue_push),
8037 (gst_data_queue_pop), (gst_data_queue_drop_head),
8038 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8039 * libs/gst/base/gstdataqueue.h:
8041 Added methods to get the current levels and to inform the queue that the
8042 'full' limits changed.
8044 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8045 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8046 (gst_single_queue_flush), (update_time_level), (apply_segment),
8047 (apply_buffer), (gst_single_queue_push_one),
8048 (gst_multi_queue_item_steal_object),
8049 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8050 (gst_multi_queue_loop), (gst_multi_queue_chain),
8051 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8052 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8053 (gst_multi_queue_src_query), (single_queue_overrun_cb),
8054 (single_queue_underrun_cb), (single_queue_check_full),
8055 (gst_single_queue_new):
8056 Keep track of time in the queue by measuring the difference between
8057 running_time on input and output. This gives more accurate results and
8058 can compensate for segments correctly.
8059 Make a queue by default only 5 buffers deep. We will now increase the
8060 buffer size depending on the filledness of the other queues.
8061 Factor out commong flush code.
8062 Make sure we don't add additional refcounts to buffers when we can avoid
8064 Propagate GstFlowReturn differently.
8065 Use GSlice for intermediate GstMultiQueueItems.
8067 Resize queues on over and underruns based on filled level of other
8069 When checking if the queue is filled, prefer to measure in time if we
8070 can and fall back to bytes when no time is known.
8072 * plugins/elements/gstqueue.c:
8075 2007-06-15 Wim Taymans <wim@fluendo.com>
8077 * libs/gst/base/gstbasetransform.c:
8078 (gst_base_transform_sink_event):
8079 Work around the brokenness of the event vmethod in basetransform. Prefer
8080 to return TRUE when the subclass returned FALSE (meaning don't forward
8083 * libs/gst/base/gstbasetransform.h:
8086 2007-06-15 Wim Taymans <wim@fluendo.com>
8088 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8089 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8090 (gst_base_src_default_query), (gst_base_src_get_range),
8091 (gst_base_src_start):
8092 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8095 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8097 * docs/pwg/advanced-types.xml:
8098 Added more formats to caps table.
8100 2007-06-15 Stefan Kost <ensonic@users.sf.net>
8102 * tools/gst-launch.c: (main):
8103 Remove crufy code. GOption does not need this workaround.
8105 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8107 * libs/gst/controller/gstcontroller.c:
8108 (gst_controlled_property_set_interpolation_mode):
8109 Fix wrong getter for enums in controller.
8111 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8113 * libs/gst/check/gstcheck.c: (gst_check_init):
8114 Intercept criticals and warnings in the Gst-Phonon log domain, so
8115 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8118 2007-06-14 Edward Hervey <edward@fluendo.com>
8120 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8121 Since this file doesn't include "gst.h" it will not go through the
8122 macros that disable GST_LOG if debugging was disabled.
8124 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8126 * libs/gst/check/Makefile.am:
8127 * libs/gst/check/gstcheck.h:
8128 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8129 * pkgconfig/gstreamer-check.pc.in:
8130 Ugly 'fix' for the controller unit test on the p5 bot: in
8131 fail_unless_equals_float() check whether the values are 'almost
8132 equal' by allowing a small absolute error, which should be good
8133 enough for our use cases (normal numbers and values close to 0).
8134 Proper fixage left to floating point arithmetic aficionados.
8136 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8138 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8139 (gst_base_sink_render_object), (gst_base_sink_get_position):
8140 Add two breaks thats where missing.
8142 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8144 * docs/libs/gstreamer-libs-sections.txt:
8145 * libs/gst/check/gstcheck.h:
8146 API: add fail_unless_equals_float() and assert_equals_float().
8147 Add documentation for some of the macros.
8149 * tests/check/libs/controller.c: (GST_START_TEST):
8150 Use newly-added asserts.
8152 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8154 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8155 Show the caps change in the log to help spotting the case of not
8156 exactly matching caps.
8158 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8160 * docs/pwg/building-boiler.xml:
8161 Fix typos, spotted by Thijs Vermeir (#447190).
8163 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8165 * docs/plugins/tmpl/.cvsignore:
8166 Ignore file to keep the buildbots happy
8168 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8170 * docs/plugins/Makefile.am:
8171 * docs/plugins/gstreamer-plugins-docs.sgml:
8172 * docs/plugins/gstreamer-plugins-sections.txt:
8173 Pull fdsink into the docs too.
8175 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8177 * libs/gst/controller/gstinterpolation.c:
8178 Actually use the new functions with min/max checks for the trigger and
8179 none interpolation modes for get() and get_value_array() instead of
8182 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8184 * libs/gst/controller/gstcontroller.c:
8185 (gst_controlled_property_free):
8186 Unset the minimum and maximum GValues when freeing the corresponding
8187 GstControllerProperty struct.
8189 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8191 * libs/gst/controller/gstcontroller.c:
8192 (gst_controlled_property_new):
8193 * libs/gst/controller/gstcontrollerprivate.h:
8194 * libs/gst/controller/gstinterpolation.c:
8195 (gst_controlled_property_find_control_point_node),
8196 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8197 (interpolate_none_get_string_value_array),
8198 (interpolate_trigger_get),
8199 (interpolate_trigger_get_enum_value_array),
8200 (interpolate_trigger_get_string_value_array):
8201 Protect against values larger or smaller than the minimum or maximum
8202 allowed value for the property when using values that can be compared.
8204 Optimize trigger interpolator a bit by taking the last requested value
8205 into account instead of always looping through the complete list.
8207 Fix coding style a bit, everywhere else we use "return foo" instead
8210 * tests/check/libs/controller.c: (GST_START_TEST),
8211 (gst_controller_suite):
8212 Add unit test for the protection against too large or too small
8215 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8217 * docs/random/slomo/controller.txt:
8218 Add some thoughts about the future of the controller.
8220 2007-06-08 Wim Taymans <wim@fluendo.com>
8222 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8223 Don't overflow in retimestamping code.
8225 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8227 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8228 Use gst_util_guint64_to_gdouble for conversions.
8229 * win32/common/libgstreamer.def:
8230 Add new exported functions.
8232 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8235 Small docs addition.
8237 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8240 Remove that test line again.
8242 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8245 Test commit mail sending.
8247 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8250 Fix typo and test commit mail sending.
8252 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8254 * tests/examples/controller/audio-example.c:
8255 Improve comment and test commit mail sending.
8257 2007-06-07 Wim Taymans <wim@fluendo.com>
8259 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8260 (gst_bin_remove_func), (gst_bin_element_set_state),
8261 (bin_handle_async_start), (bin_handle_async_done),
8262 (gst_bin_handle_message_func):
8263 Add helper function to find messages.
8264 Generate the async-done messages together with the state change
8266 Small cleanups in handling toplevel bins.
8268 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8270 * libs/gst/base/gstdataqueue.c:
8271 * libs/gst/base/gstdataqueue.h:
8272 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8273 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8274 (gst_multi_queue_sink_event):
8275 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8276 Fix multiqueue leaking buffers and events when downstream or the
8277 queue are flushing. Make refcounting assumptions explicit and
8278 document them (shouldn't break existing code that uses it other than
8279 maybe leak miniobjects, but that already happens anyway). Add unit
8280 test for the most common flushing case. Fixes #423700.
8282 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8284 * libs/gst/controller/gstcontroller.c:
8285 Clarify docs: The get_all, get_value_array(s) functions
8286 don't modify the GObject properties.
8288 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8290 * libs/gst/controller/gstcontroller.c:
8291 (gst_controlled_property_set_interpolation_mode),
8292 (gst_controlled_property_prepend_default),
8293 (gst_controlled_property_new), (gst_controller_set_unlocked),
8294 (gst_controller_set), (gst_controller_set_from_list),
8295 (gst_controller_unset), (gst_controller_unset_all):
8296 * libs/gst/controller/gstcontrollerprivate.h:
8297 * libs/gst/controller/gstinterpolation.c:
8298 Factor out the 'set' logic into gst_controller_set_unlocked for the
8299 gst_controller_set and gst_controller_set_from_list functions.
8301 To make life of the interpolators easier always add a control point
8302 at timestamp zero with the default value.
8304 In the linear interpolator make things more obvious by better variable
8307 Implement cubic interpolation mode (by using a natural cubic spline)
8308 and map the quadratic interpolation mode to this too (as quadratic
8309 doesn't make much sense, see discussion on the list).
8311 * tests/check/libs/controller.c: (GST_START_TEST),
8312 (gst_controller_suite):
8313 Add unit test for the cubic interpolation mode and check everywhere
8314 if the interpolation mode could be set as expected.
8316 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8318 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8319 Don't use GLib-2.10 functions, we still depend on
8320 GLib-how-old-is-it-again-2.8.
8322 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8324 * docs/gst/gstreamer-sections.txt:
8328 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8329 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8330 (_gst_param_fraction_values_cmp),
8331 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8332 * gst/gstparamspecs.h:
8334 * tests/check/Makefile.am:
8335 * tests/check/gst/.cvsignore:
8336 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8337 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8338 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8339 (GST_START_TEST), (gst_param_spec_suite):
8340 API: add GstParamSpecFraction, so elements can have fraction
8341 properties without lots of painful string parsing (#444648).
8343 2007-06-05 Wim Taymans <wim@fluendo.com>
8345 * gst/gstobject.c: (gst_object_class_init):
8346 Fix signal signature.
8349 Add small clarification in the api docs.
8351 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8352 States are protected with object lock.
8354 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8357 I should probably be listed as an author by now.
8359 * docs/random/release:
8360 Update the release doc
8362 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8365 Make docs for gst_value_compare() mention return enums that
8368 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8373 === release 0.10.13 ===
8375 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8378 releasing 0.10.13, "With or without you"
8380 2007-05-25 Wim Taymans <wim@fluendo.com>
8382 * gst/gstbin.c: (bin_handle_async_done):
8383 Make sure that the child bin stops after completing the async state
8384 change so that the parent can continue the state change to PLAYING.
8387 2007-05-25 Wim Taymans <wim@fluendo.com>
8389 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8390 (unref_data), (gst_collect_pads_remove_pad),
8391 (gst_collect_pads_check_pads):
8392 Use additional refcounting to avoid crashes when dynamically adding and
8393 removing pads. Fixes #420206.
8395 2007-05-24 Wim Taymans <wim@fluendo.com>
8397 * tools/gst-launch.c: (event_loop):
8398 When buffering goes from a two digit to a single digit number, make sure
8399 to remove the old second digit by writing a blank over it.
8401 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8403 * libs/gst/base/gstdataqueue.c:
8404 Eliminate tabs and trailing comma in enum list; fix some typos.
8406 2007-05-24 Wim Taymans <wim@fluendo.com>
8408 * tests/check/gst/gstbin.c: (GST_START_TEST):
8409 Allow refcount of 3 and 4 because some state thread might still be busy
8412 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8414 * plugins/elements/Makefile.am:
8415 * plugins/elements/gstmultiqueue.h:
8416 * plugins/elements/gstqueue.h:
8417 These are not installed headers, no need for padding.
8419 2007-05-24 Wim Taymans <wim@fluendo.com>
8421 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8422 (gst_bin_continue_func):
8423 Enable latency for next release.
8424 Restore STATE_LOCK around recalc_state that was left out during the
8425 rewrite and could result in racy behaviour when _get_state and
8426 recalc_state are run concurrently. See #440463.
8428 2007-05-23 Wim Taymans <wim@fluendo.com>
8430 * tests/check/gst/gstsystemclock.c: (store_callback),
8432 Improve test_async_order to also work when both timers are already
8433 expired when we get scheduled to check it.
8435 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8437 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8438 (gst_bin_set_property), (gst_bin_get_property),
8439 (gst_bin_remove_func), (gst_bin_handle_message_func):
8441 'private' is a c++ keyword, let's not use that in header files,
8442 otherwise c++ compilers will throw a tantrum.
8444 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8446 * plugins/elements/gstelements.c:
8447 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8448 (gst_file_sink_get_current_offset):
8449 * plugins/indexers/gstindexers.c: (plugin_init):
8450 Use #ifdef for HAVE_XYZ for consistency.
8452 * tests/check/Makefile.am:
8453 * tests/check/elements/.cvsignore:
8454 * tests/check/elements/filesink.c: (setup_filesink),
8455 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8456 Add some unit tests for filesink.
8458 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8460 Patch by: Mark Nauwelaerts <manauw at skynet be>
8462 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8463 (gst_file_sink_query), (gst_file_sink_do_seek),
8464 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8465 * plugins/elements/gstfilesink.h:
8466 Fix position reporting; rename data_written member to current_pos to
8467 reflect its real meaning (fixes #412648).
8469 2007-05-22 Edward Hervey <edward@fluendo.com>
8471 * docs/gst/gstreamer-sections.txt:
8472 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8473 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8474 (gst_bin_remove_func), (gst_bin_handle_message_func):
8476 Add a property for bins that handle the state change of their childs.
8479 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8481 * libs/gst/controller/gstinterpolation.c:
8482 Use an array of the correct type when using _get_value_array with
8483 linear interpolation.
8485 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8487 * gst/gstelement.c (gst_element_requires_clock,
8488 gst_element_provides_clock, gst_element_request_pad,
8489 gst_element_class_set_details, gst_element_class_set_details_simple,
8490 gst_element_default_send_event, gst_element_abort_state,
8491 gst_element_continue_state, gst_element_set_state,
8492 gst_element_set_state_func, iterator_activate_fold_with_resync):
8493 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8494 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8495 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8496 gst_pad_get_range, gst_pad_pull_range):
8497 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8498 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8499 GstPadActivateModeFunction, GstPadChainFunction,
8500 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8501 GstPadFixateCapsFunction, GstPadTemplate):
8502 * gst/gstpipeline.c (gst_pipeline_change_state,
8503 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8504 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8505 gst_pipeline_get_delay):
8506 Whitespace and docs fixes.
8508 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8510 * libs/gst/controller/gstinterpolation.c:
8511 (interpolate_trigger_get_enum_value_array),
8512 (interpolate_trigger_get_string_value_array):
8513 Add support for retrieving value arrays when using the trigger
8516 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8518 * libs/gst/controller/gstcontroller.c:
8519 (gst_controller_get_value_array):
8520 * libs/gst/controller/gstcontroller.h:
8521 Clarify the docs of gst_controller_get_value_array(): The array where
8522 the values should be written to must be allocated as there seems to be
8523 no way to get the size of a random GType. This doesn't change any
8524 behaviour. Also fix some typos all over the place and remove an unused,
8525 commented function that is not necessary as g_object_set() could be
8527 * tests/check/libs/controller.c: (GST_START_TEST),
8528 (gst_controller_suite):
8529 Add unit test for gst_controller_get_value_array().
8531 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8533 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8535 Disable part of the gst_buffer_try_new_and_alloc test, because
8536 it can happily succeed on 64-bit systems where there's more address
8539 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8541 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8542 Add unit test for the improved caps checking from bug #421543.
8544 2007-05-21 Wim Taymans <wim@fluendo.com>
8546 * docs/design/part-synchronisation.txt:
8549 * gst/gstbin.c: (gst_bin_query):
8550 * plugins/elements/gstqueue.c: (apply_segment):
8556 2007-05-21 Wim Taymans <wim@fluendo.com>
8558 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8559 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8560 (gst_pad_configure_src):
8561 Added simple version of improved caps checking. It was previously
8562 assumed that a setcaps function would check the validity of the caps but
8563 people prefer us to check caps against the template automatically.
8566 2007-05-21 Wim Taymans <wim@fluendo.com>
8568 * libs/gst/base/gstbasetransform.h:
8569 Fix macro for locking/unlocking the transform lock.
8571 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8573 * docs/plugins/tmpl/.cvsignore:
8576 2007-05-18 Edward Hervey <edward@fluendo.com>
8578 * plugins/elements/gstqueue.c: (gst_queue_loop):
8579 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8580 for the subtle art of warning a potentially blocking thread that it
8581 should check the source pad return value, and relay the information
8584 2007-05-18 Edward Hervey <edward@fluendo.com>
8586 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8587 Release the queue lock !
8589 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8591 * docs/libs/gstreamer-libs-sections.txt:
8592 Add the two new controller functions to the appropiate places.
8594 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8596 reviewed by: Stefan Kost <ensonic@users.sf.net>
8598 * libs/gst/controller/gstcontroller.c:
8599 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8600 (_gst_controller_get_property), (_gst_controller_set_property),
8601 (_gst_controller_init), (_gst_controller_class_init):
8602 * libs/gst/controller/gstcontroller.h:
8603 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8604 (gst_object_get_control_rate), (gst_object_set_control_rate):
8605 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8606 Add API that provides sync suggestion timestamps for elements that
8607 call gst_object_sync_values() from which those elements can subdivide
8608 their processing loop to get the best results for the controlled
8609 properties. For now it just suggests last_sync + control_rate as
8610 new timestamp but this will be improved in the future.
8612 While doing that change the control-rate property to a GstClockTime
8613 from guint and change it's meaning from samples to nanoseconds as
8614 the GstController doesn't know anything about sampling rate. Strictly
8615 speaking this breaks ABI but as the control-rate property didn't do
8616 anything in the past and as such couldn't be used this should be no
8619 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8621 reviewed by: Stefan Kost <ensonic@users.sf.net>
8623 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8624 (gst_controller_unset_all):
8625 * libs/gst/controller/gstcontrollerprivate.h:
8626 * libs/gst/controller/gstinterpolation.c:
8627 (gst_controlled_property_find_control_point_node):
8628 Save last synced value from the list to continue searching from there
8629 in future syncs. This speeds everything up a bit.
8631 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8633 reviewed by: Stefan Kost <ensonic@users.sf.net>
8635 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8636 (gst_control_point_find), (gst_controlled_property_new),
8637 (gst_control_point_free), (gst_controlled_property_free),
8638 (gst_controller_set), (gst_controller_set_from_list),
8639 (gst_controller_unset), (gst_controller_unset_all),
8640 (gst_controller_sync_values):
8641 * libs/gst/controller/gstcontroller.h:
8642 * libs/gst/controller/gstcontrollerprivate.h:
8643 * libs/gst/controller/gstinterpolation.c:
8644 (gst_controlled_property_find_control_point_node),
8645 (interpolate_none_get), (interpolate_trigger_get):
8646 Add a new private GstControlPoint struct which "inherits" from
8647 GstTimedValue to allow different interpolators to store internal
8648 values next to each control point. From the outside everything is
8649 still a GstControlPoint so we don't loose binary compatibility.
8650 Also fixup all the GValue handling to not leak GValues or list nodes.
8651 * tests/check/libs/controller.c: (GST_START_TEST):
8652 Free the list nodes and GValues in the controller_misc test.
8654 2007-05-17 Edward Hervey <edward@fluendo.com>
8659 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8661 * gst/gstplugin.c: (gst_plugin_load_file):
8662 If we fail to load a plugin because of unresolved symbols or missing
8663 libraries and spew a warning to stderr, we may just as well mention
8664 which plugin it was that failed to load.
8666 2007-05-13 David Schleef <ds@schleef.org>
8668 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8669 handles the case when ENABLE_GTK_DOC is false, and installs
8670 the prebuilt documentation. So gtk-doc subdirs are
8671 unconditionally enabled. Fixes: #349099.
8673 2007-05-13 David Schleef <ds@schleef.org>
8675 * gst/gstutils.h: Reword some documentation.
8677 2007-05-12 David Schleef <ds@schleef.org>
8679 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8680 do anything with the passed "module" parameter, so remove it.
8681 Allows removal of additional vestigal code.
8683 2007-05-12 David Schleef <ds@schleef.org>
8686 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8687 Switch to using g_stat() because it's more portable.
8689 2007-05-12 David Schleef <ds@schleef.org>
8692 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8693 parsing for embedded systems.
8694 * gst/gstelementfactory.c:
8695 Allow gst_element_register() to be called with plugin==NULL.
8696 Did nobody notice that static elements were broken?
8698 2007-05-12 Wim Taymans <wim@fluendo.com>
8700 * tools/gst-launch.c: (event_loop):
8701 Give more interesting info when buffering starts and stops.
8702 Fix case where buffering starts but we fail to update the buffering flag
8703 because the target state is not PLAYING.
8705 2007-05-12 Wim Taymans <wim@fluendo.com>
8707 * plugins/elements/gstqueue.c: (gst_queue_init),
8708 (gst_queue_finalize), (update_time_level), (apply_segment),
8709 (apply_buffer), (gst_queue_locked_flush),
8710 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8711 (gst_queue_handle_sink_event), (gst_queue_chain),
8712 (gst_queue_push_one), (gst_queue_loop):
8713 * plugins/elements/gstqueue.h:
8714 Refactor an cleanup queue a bit.
8715 Do better time level calculations that also work when the srcpad is not
8717 Remove some unneeded debug lines.
8719 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8720 Added testcase for time level measurement.
8721 Try to make some stuff more racefree.
8723 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8725 * gst/gsturi.c: (gst_element_make_from_uri):
8726 Don't leak plugin feature.
8728 * tests/check/Makefile.am:
8729 * tests/check/gst/.cvsignore:
8730 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8731 Add brain-dead unit test.
8733 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8735 Patch by: Jeroen Wouters <woutersj at gmail com>
8737 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8738 Treat protocol strings in a case-insensitive way (#437563).
8740 2007-05-11 Michael Smith <msmith@fluendo.com>
8742 * gst/gstplugin.c: (gst_plugin_load_file):
8743 * gst/gstregistry.c: (gst_registry_scan_path_level):
8744 Don't print a g_warning for any failure to load a shared object.
8745 Instead, push this down into gstplugin.c, and warn _only_ if we
8746 failed to open the module (i.e. failure to link).
8747 Avoids warnings on normal, working, non-plugin .so files.
8749 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8751 * gst/gstplugin.c (gst_plugin_load_file):
8752 * gst/gstregistry.c (GST_CAT_DEFAULT,
8753 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8754 Print a g_warning if there was an error when loading a plugins during
8755 registry scan. The shuld help beginners starting with gst-plugin
8758 2007-05-10 Wim Taymans <wim@fluendo.com>
8760 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8761 (update_time_level), (gst_queue_locked_flush),
8762 (gst_queue_handle_sink_event), (gst_queue_chain),
8763 (gst_queue_push_one), (gst_queue_loop):
8764 * plugins/elements/gstqueue.h:
8765 Be smarter when calculating the current amount of data in the queue by
8766 measuring the difference between start and end timestamps (in running
8767 time) inside the queue. Fixes #432876.
8768 API: GstQueue::pushing to notify elements that we are pushing data again
8769 since the running signal is rather broken for this purpose.
8771 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8773 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8774 gst_queue_base_init, gst_queue_init):
8777 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8779 * win32/common/libgstreamer.def:
8780 Add new exported functions.
8781 * win32/vs6/grammar.dsp:
8782 Use grammar pre-generated files.
8784 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8786 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8789 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8791 * gst/gstutils.c: (gst_parse_bin_from_description):
8793 Maintain API and ABI when --disable-parse is used. Now that
8794 we have an appropriate error code, we can just return NULL and the
8795 appropriate error when gst_parse_launch() is used despite it having
8796 been disabled (#342564).
8798 * tests/check/Makefile.am:
8799 * tests/check/pipelines/.cvsignore:
8800 * tests/check/pipelines/parse-disabled.c:
8801 Make sure these functions exist and return NULL plus a GError when
8802 --disable-parse is used.
8804 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8806 * tests/benchmarks/complexity.c: (main):
8807 * tests/benchmarks/mass-elements.c: (main):
8808 Set a good example and don't leak messages.
8810 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8812 * docs/gst/Makefile.am:
8813 * docs/libs/Makefile.am:
8814 Correct fixxrefs options.
8816 * docs/plugins/Makefile.am:
8817 * docs/plugins/gstreamer-plugins-docs.sgml:
8818 * docs/plugins/gstreamer-plugins-sections.txt:
8819 * plugins/elements/Makefile.am:
8820 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8821 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8822 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8823 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8824 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8825 _GstCapsFilterClass, trans_class):
8826 * plugins/elements/gstelements.c (name, rank, type, _elements):
8827 * plugins/elements/gstidentity.c
8828 (gst_identity_check_imperfect_timestamp,
8829 gst_identity_check_imperfect_offset):
8830 Document capsfilter and add doc-blurb to identity.
8832 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8834 * libs/gst/controller/gstcontroller.c:
8835 (gst_controlled_property_set_interpolation_mode):
8836 * libs/gst/controller/gstinterpolation.c:
8837 Don't crash if someone tries to set an interpolation mode that
8838 is invalid or that isn't supported yet. Fixes #422295.
8840 * tests/check/libs/controller.c: (GST_START_TEST),
8841 (gst_controller_suite):
8842 Add a test case for the above.
8844 2007-05-03 Edward Hervey <edward@fluendo.com>
8846 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8847 Properly set the last_stop position on GstSegment. This will only happen
8848 if there is a buffer to push out.
8850 2007-05-03 Wim Taymans <wim@fluendo.com>
8852 * libs/gst/base/gstbasetransform.c:
8853 (gst_base_transform_buffer_alloc):
8854 always_in_place does not mean that the sink and source caps are the
8855 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8857 2007-05-03 Wim Taymans <wim@fluendo.com>
8859 * docs/libs/gstreamer-libs-sections.txt:
8860 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8861 (gst_base_src_default_query), (gst_base_src_get_range):
8862 * libs/gst/base/gstbasesrc.h:
8863 API: gst_base_src_query_latency(). Added method so that subclasses can
8864 easily get the latency values of the base source class.
8866 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8868 * tools/gst-inspect.c (print_implementation_info):
8871 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8873 * tools/Makefile.am:
8874 * tools/gst-launch.1.in:
8875 Don't create a customised man page based on the host architecture,
8876 describe the default registry path generically. That way the man
8877 page is the same for all architectures and packagers have one
8878 multilib issue less to deal with. Fixes #434926.
8880 2007-05-02 Wim Taymans <wim@fluendo.com>
8883 Fix documentation as spotted by rg on IRC.
8885 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8888 Improve docs for gst_element_{link,unlink}.
8890 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8892 * docs/design/part-events.txt:
8893 * docs/design/part-overview.txt:
8897 * libs/gst/base/gstbasesink.c:
8898 Typo fixes; minor docs addition.
8900 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8902 * docs/gst/gstreamer-sections.txt:
8903 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8904 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8906 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8907 or src that supports a given URI protocol exists.
8909 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8911 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8912 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8913 Set the location to NULL if "file://" is set as URI. Otherwise
8914 some random previous URI would still be set if "file://" is
8915 set on an already used filesink/filesrc.
8917 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8919 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8920 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8921 Special case the "file://" URI as as this is used by some
8922 applications to test with gst_element_make_from_uri if there's
8923 an element that supports the URI protocol.
8924 Also move the g_path_is_absolute() check for the location part
8925 of the URI to also check this for "file://localhost/bla" URIs.
8927 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8929 * docs/gst/gstreamer-sections.txt:
8930 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8932 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8934 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8936 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8938 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8939 (gst_registry_binary_load_pad_template),
8940 (gst_registry_binary_load_plugin),
8941 (gst_registry_binary_read_cache):
8942 * gst/gstregistrybinary.h:
8943 Implement no-mmap alternative for registry reading. Do code cleanups.
8944 Add more comments about avoiding strdups for all text data. Comments
8947 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8949 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8950 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8951 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8952 Comment structs and reformat to fix the build (that stuff should go
8953 into a priv. header).
8955 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8957 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8958 (gst_registry_binary_load_feature):
8959 * gst/gstregistrybinary.h:
8960 Refactor so that we can implement multiple features. Add support for
8961 TypeFindFactory features.
8963 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8965 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8968 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8970 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8972 * gst/gstbin.c: (gst_bin_element_set_state),
8973 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8974 (bin_handle_async_done), (gst_bin_handle_message_func):
8975 Fix build with --gst-disable-gst-debug
8977 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8979 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8980 Make sure streaming has finished before calling the ::stop() vfunc,
8981 since that vfunc might clear state which is being used in the
8982 streaming thread. This fixes a race that caused crashes in
8983 audioresample when shutting down a pipeline (#420106).
8985 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8987 * docs/gst/gstreamer-sections.txt:
8988 That was one byte missing.
8990 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8993 * docs/gst/gstreamer-sections.txt:
8995 * gst/gstconfig.h.in:
8996 * gst/gstobject.c: (gst_object_class_init),
8997 (gst_signal_object_class_init):
8999 2nd attempt to have a xml-less build as a joined effort of #413123
9002 2007-04-20 Stefan Kost <ensonic@users.sf.net>
9004 * docs/design/draft-tagreading.txt:
9005 Added open issues/thoughts to draft.
9007 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9009 * gst/parse/grammar.tab.pre.c:
9010 * gst/parse/grammar.tab.pre.h:
9011 * gst/parse/lex._gst_parse_yy.pre.c:
9012 Update the prebuild parser sources.
9014 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9016 * gst/parse/Makefile.am:
9017 And now fix the building of the flex sources. Now everything should
9020 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9022 * gst/parse/Makefile.am:
9023 Now hopefully fix the build failures by setting proper rule
9024 dependencies and moving instead of copying.
9026 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9028 * tests/benchmarks/complexity.gnuplot:
9029 * tests/benchmarks/complexity.scm:
9030 * tests/benchmarks/mass-elements.gnuplot:
9031 * tests/benchmarks/mass-elements.scm:
9032 Total licensification.
9034 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9036 * gst/parse/Makefile.am:
9037 Fix the build by correcting the rule that gave wrong files to flex.
9039 2007-04-19 Stefan Kost <ensonic@users.sf.net>
9041 * tests/benchmarks/complexity.c:
9042 * tests/benchmarks/mass-elements.c:
9043 Change licence to LGPL as granted by Benjamin and Andy.
9045 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
9047 * gst/parse/Makefile.am:
9048 Add correct grammar.tab.h dependency if compiling without new enough
9049 flex. Fixes #431150.
9051 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9053 * gst/parse/Makefile.am:
9054 Fix typo and use outdated sources if the flex/bison sources are newer
9055 than the pregenerated ones but flex is too old. Print a warning in
9056 that case. This should fix the build on the build bot.
9058 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
9060 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9061 * gst/parse/Makefile.am:
9062 * gst/parse/grammar.y:
9063 * gst/parse/parse.l:
9064 Make the parser reentrant and recursively callable. This requires flex
9065 >= 2.5.31, for older versions pregenerated sources are used as we
9066 can't bump the build dependency. Finally fixes #349180.
9068 * gst/gstparse.c: (gst_parse_launch):
9069 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9072 * docs/gst/Makefile.am:
9073 * docs/gst/Makefile.am:
9074 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9075 (__gst_parse_strfree), (__gst_parse_link_new),
9076 (__gst_parse_link_free), (__gst_parse_chain_new),
9077 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9078 (gst_parse_element_set), (gst_parse_free_link),
9079 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9080 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9081 (_gst_parse_launch):
9082 * gst/parse/grammar.tab.pre.h:
9083 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9084 (yy_get_previous_state), (yy_try_NUL_trans), (input),
9085 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9086 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9087 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9088 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9089 (_gst_parse_yypop_buffer_state),
9090 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9091 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9092 (yy_fatal_error), (_gst_parse_yyget_extra),
9093 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9094 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9095 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9096 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9097 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9098 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9099 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9100 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9101 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9102 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9103 (_gst_parse_yyfree):
9104 If the installed flex version is too old use pre-generated parser
9105 sources. These pre-generated parser sources are always updated when
9106 the actual flex/bison sources change but require everybody who wants
9107 to change something in the parser to have flex >= 2.5.31 installed.
9109 2007-04-18 Stefan Kost <ensonic@users.sf.net>
9111 * common/m4/gst-gettext.m4:
9112 * gst/gst-i18n-lib.h:
9113 Make --disable-nls to work
9115 2007-04-17 Wim Taymans <wim@fluendo.com>
9117 * gst/gstconfig.h.in:
9118 Revert previous change that broke the build.
9120 2007-04-17 Stefan Kost <ensonic@users.sf.net>
9124 * gst/gstconfig.h.in:
9125 Drop libxml2 dependency when building with
9126 --enable-binary-registry --disable-loadsave
9128 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9130 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9131 (gst_registry_binary_read_cache):
9132 * gst/gstregistrybinary.h:
9133 Remove unnecessary <sys/mman.h> include which broke the win32 build
9134 with MingW; move includes from header file to .c file, even if the
9135 header file isn't installed; use g_strerror() where UTF-8 strings
9136 are expected, such as in GST_DEBUG messages.
9138 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9140 * docs/libs/gstreamer-libs-sections.txt:
9141 Remove bogus addition for API I didn't end up keeping.
9143 * libs/gst/base/gstbasesrc.h:
9144 Mention Since: 0.10.13 in the documentation.
9146 Add the API keyword to the previous ChangeLog entry.
9148 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9150 * docs/libs/gstreamer-libs-sections.txt:
9151 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9152 (gst_base_src_default_prepare_seek_segment),
9153 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9154 * libs/gst/base/gstbasesrc.h:
9155 Allow basesrc derived classes to execute seeks in other formats
9156 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9157 to prepare the GstSegment in any format that their perform_seek method
9158 will be able to understand. The default implementation provides the
9159 old behaviour of attempting to convert the seek offsets to the
9160 configured native format.
9162 API: basesrc::prepare_seek_segment vmethod.
9164 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9166 * gst/gstelement.c: (gst_element_get_state_func):
9167 Don't output the same debug statement twice.
9169 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9170 (gst_adapter_peek), (gst_adapter_take_buffer):
9171 Optimise the case where we have buffers at the head of the queue that
9172 can be joined quickly (because they're contiguous sub-buffers) by
9173 merging them together rather than copying data out into new memory.
9175 * gst/parse/grammar.y:
9176 * tests/check/pipelines/parse-launch.c:
9177 Fix a leak in an error path for parse_launch, and add a check
9178 for it to the testsuite.
9180 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9182 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9183 Don't deadlock when releasing a pad - gst_pad_set_active may try
9184 and take the multiqueue lock too.
9186 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9188 * gst/gsterror.c: (_gst_core_errors_init):
9190 API: add GST_CORE_ERROR_DISABLED (#392804).
9192 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9194 * docs/faq/gst-uninstalled:
9195 don't get empty paths on the PATH variables
9196 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9197 Don't format for the uncommon terminal width of 84 characters.
9199 2007-04-06 Wim Taymans <wim@fluendo.com>
9201 * gst/gstpipeline.c: (reset_stream_time),
9202 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9203 Only try to select a different pipeline clock when we went back to
9204 PAUSED and not when we merely got flushed.
9206 2007-04-05 Michael Smith <msmith@fluendo.com>
9208 * tools/gst-launch.1.in:
9209 fractions are better supported in gstreamer than ractions, so
9210 suggest using those.
9212 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9214 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9218 Added Danish translation.
9220 2007-04-05 Wim Taymans <wim@fluendo.com>
9222 * libs/gst/base/gstbasesink.c:
9223 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9224 Fix leak caused when refusing newsegment after EOS.
9226 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9227 (gst_fake_sink_init), (gst_fake_sink_set_property),
9228 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9229 (gst_fake_sink_render), (gst_fake_sink_change_state):
9230 * plugins/elements/gstfakesink.h:
9231 Add num-buffers property to make the element generate EOS after a
9232 configurable amount of buffers.
9233 API: fakesink::num-buffers property.
9235 * tests/check/elements/fakesink.c: (GST_START_TEST),
9237 Fix GstBus leak in test.
9238 Test for fakesink num-buffers.
9240 2007-04-05 Wim Taymans <wim@fluendo.com>
9242 * libs/gst/base/gstbasesink.c:
9243 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9244 (gst_base_sink_change_state):
9245 Don't accept anything after an EOS, return UNEXPECTED instead.
9247 * tests/check/elements/fakesink.c: (GST_START_TEST),
9249 Unit test for new EOS behaviour.
9251 2007-04-05 Wim Taymans <wim@fluendo.com>
9253 * gst/gstelement.c: (gst_element_get_request_pad):
9254 Make padtemplates also work when they don't contain %s or %d.
9256 2007-04-05 Wim Taymans <wim@fluendo.com>
9258 * docs/gst/gstreamer-sections.txt:
9259 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9260 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9262 Improve _adjust_unlocked() so that it overflows less.
9263 Add gst_clock_unadjust_unlocked to convert from external time to
9264 internal time based on calibration.
9265 Add some more debug.
9266 API: GstClock::gst_clock_unadjust_unlocked()
9268 2007-04-03 Wim Taymans <wim@fluendo.com>
9270 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9272 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9273 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9274 when releasing sink pad. Fixes #425400.
9276 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9278 * docs/random/ensonic/dynlink.txt:
9279 More work on proposal for new core api.
9281 * docs/libs/gstreamer-libs-sections.txt:
9282 * libs/gst/base/gstbasetransform.h:
9283 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9285 * libs/gst/controller/gstcontroller.c:
9286 (on_object_controlled_property_changed),
9287 (gst_controller_sync_values),
9288 (gst_controller_set_interpolation_mode):
9289 * libs/gst/controller/gstcontroller.h:
9290 Less verbose logging add docs for unimplemented parts and correctly
9291 return when using unavailable parts.
9293 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9295 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9296 Move all the debug to the CLOCK category, and associate it with
9299 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9301 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9302 Make take_buffer a bit quicker by removing redundant checks
9303 caused by calling gst_adapter_take.
9305 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9307 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9310 * tests/check/Makefile.am:
9311 * tests/check/elements/.cvsignore:
9312 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9313 (GST_START_TEST), (multiqueue_suite):
9314 Add some dead simple unit tests for the 'multiqueue' element
9315 (some bits don't work yet and are disabled for now).
9317 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9319 * gst/gstelement.c: (gst_element_get_request_pad),
9320 (gst_element_class_get_request_pad_template):
9321 Make gst_element_get_request_pad() create request pads only for
9322 request pad templates and not for, say, sometimes pad templates.
9324 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9326 * docs/design/draft-klass.txt:
9327 Add example that needs more thinking.
9329 * docs/design/draft-missing-plugins.txt:
9330 More thoughts about wrapper plugins.
9332 * docs/random/ensonic/embedded.txt:
9333 * docs/random/ensonic/profiling.txt:
9336 2007-03-25 Wim Taymans <wim@fluendo.com>
9338 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9339 (gst_base_src_loop):
9340 Only push the segment events in the PLAYING state for live sources.
9342 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9344 * gst/gstpipeline.c: (gst_pipeline_change_state):
9345 Modify the clock distribution path in PAUSED->PLAYING so that we
9346 never attempt to choose a new clock unless we're actually leaving
9347 the PAUSED state for the first time. This prevents choosing a
9348 different clock when the state_change gets called for a 2nd time due
9349 to some element doing an async state change.
9351 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9353 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9354 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9355 (gst_pad_chain_unchecked), (gst_pad_push):
9356 Revert last commit. This needs some more thoughts.
9358 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9360 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9361 (gst_pad_chain_unchecked), (gst_pad_push):
9362 Check in set_caps if the caps are compatible with the pad and remove
9363 two functions that are redundant now. Fixes #421543.
9365 2007-03-22 Wim Taymans <wim@fluendo.com>
9367 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9368 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9369 Unref some more to make valgrind happy.
9371 2007-03-22 Wim Taymans <wim@fluendo.com>
9373 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9374 (gst_system_clock_id_wait_jitter),
9375 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9376 Fix anoying regression that survived a few releases. When adding an
9377 async entry while blocking on a sync entry, the sync entry will unblock
9378 but still be busy, so it should continue to wait instead of returning
9380 Add some comments here and there.
9382 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9383 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9384 Add testcase for this.
9386 2007-03-22 Wim Taymans <wim@fluendo.com>
9388 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9389 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9390 WRONG_STATE and can silently pause the task. All other cases should
9393 2007-03-22 Wim Taymans <wim@fluendo.com>
9395 Patch by: Ville Syrjala <syrjala at sci dot fi>
9397 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9398 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9401 2007-03-21 Michael Smith <msmith@fluendo.com>
9403 * docs/pwg/advanced-types.xml:
9404 Fix some errors in the typefinding docs pointed out on irc.
9406 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9408 * libs/gst/base/gstbasesrc.c:
9409 Clarify FIXME comment in the face of having added unlock_stop()
9411 2007-03-21 Wim Taymans <wim@fluendo.com>
9413 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9414 Prepare for release where we warn against possible app breakage in the
9415 case of live pipelines along with an env var to enable/disable live
9416 preroll mode (GST_COMPAT=[no-]live-preroll).
9418 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9420 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9421 So we should use correct constants for checking for None offset.
9423 2007-03-20 Wim Taymans <wim@fluendo.com>
9425 * docs/design/part-block.txt:
9426 Mention the fact that the newly switched element should be set to at
9429 2007-03-20 Wim Taymans <wim@fluendo.com>
9432 Fix compilation with registry disabled as spotted by Saur.
9434 2007-03-20 Wim Taymans <wim@fluendo.com>
9436 Patch by: Olivier Crete <tester at tester dot ca>
9438 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9439 Look at the pending state too when syncing the element state to the
9440 parent. Fixes #420133.
9442 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9444 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9445 (gst_base_sink_change_state):
9446 * libs/gst/base/gstbasesink.h:
9447 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9448 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9449 (gst_base_src_deactivate):
9450 * libs/gst/base/gstbasesrc.h:
9451 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9452 for sub-classes to correctly clear any state they set trying to
9453 unlock, such as clearing out unlock commands from a command fd.
9454 API: basesrc::unlock_stop
9455 API: basesink::unlock_stop
9457 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9458 (gst_fd_sink_render), (gst_fd_sink_unlock),
9459 (gst_fd_sink_unlock_stop):
9460 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9461 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9462 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9464 Implement unlock_stop in fdsrc and fdsink.
9465 Implement seeking in fdsrc when a seekable fd is passed, as in
9466 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9468 2007-03-19 Wim Taymans <wim@fluendo.com>
9470 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9472 * gst/gstelement.c: (gst_element_class_init):
9473 Fix pad-added and pad-removed signal signatures so that the pad type is
9474 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9476 2007-03-19 Wim Taymans <wim@fluendo.com>
9478 * docs/gst/gstreamer-sections.txt:
9479 Add new element field and method.
9481 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9482 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9483 (gst_bin_recalc_state), (gst_bin_get_state_func),
9484 (gst_bin_element_set_state), (gst_bin_change_state_func),
9485 (gst_bin_continue_func), (bin_bus_handler),
9486 (bin_push_state_continue), (bin_handle_async_start),
9487 (bin_handle_async_done), (gst_bin_handle_message_func):
9488 Make async state changes a bit smarter by using new ASYNC_START and
9489 ASYNC_DONE messages. This reduces the number of times we run the state
9490 recalculation thread.
9491 Don't change state of element with a pending ASYNC_START message.
9492 Deprecate STATE_DIRTY messages.
9494 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9495 (gst_element_get_state_func), (gst_element_continue_state),
9496 (gst_element_lost_state), (gst_element_set_state_func),
9497 (gst_element_change_state):
9499 Keep the state that was last set by the app in a new element field.
9500 Don't allow state changes when handling an element event.
9501 Post ASYNC_START and ASYNC_DONE messages.
9502 Change lost_state so that we go to PAUSED and wait for the parent to set
9503 us to PLAYING again (so latency calculation can be performed)
9504 Export gst_element_change_state() method so that subclasses can use it.
9505 API: gst_element_change_state()
9506 API: GST_STATE_TARGET
9508 * gst/gstpipeline.c: (gst_pipeline_class_init),
9509 (reset_stream_time), (gst_pipeline_change_state),
9510 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9511 Using the new ASYNC_START message we can reset the base_time when
9512 needed. This can then be used to implement base_time redistribution in
9513 flushing seeks so that we can remove the explicit seek handling.
9514 Perform latency query and configuration when going to PLAYING.
9516 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9517 (gst_base_sink_query), (gst_base_sink_change_state):
9518 Post new ASYNC_START/ASYNC_DONE messages.
9520 * tests/check/generic/sinks.c: (GST_START_TEST):
9521 Fix test because the bin will not set the async element to PLAYING right
9524 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9525 Make the message check a little stronger.
9526 Handle ASYNC messages.
9528 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9529 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9530 Expect ASYNC_DONE messages.
9532 2007-03-19 Wim Taymans <wim@fluendo.com>
9534 * docs/gst/gstreamer-sections.txt:
9535 * gst/gstmessage.c: (gst_message_new_async_start),
9536 (gst_message_new_async_done), (gst_message_parse_info),
9537 (gst_message_parse_async_start):
9539 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9542 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9544 * tools/gst-inspect.c:
9545 (print_plugin_automatic_install_info_codecs):
9546 Now that we don't check for the 'Codec' keyword any longer in the
9547 klass, we shouldn't spew a warning if the klass isn't a decoder or
9548 encoder (since it might be a Source/Network, for example).
9550 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9552 * tools/gst-inspect.c:
9553 (print_plugin_automatic_install_info_codecs):
9554 Don't require decoder/demuxer/depayloader elements or
9555 encoder/muxer/paylader elements to have 'Codec' as part of their
9556 factory class string when introspecting a plugin's capabilities.
9557 draft-klass.txt mentions that it might be removed in future, and
9558 flump3dec doesn't have it as part of its class string, so chances
9559 are others might also not have it.
9561 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9583 Update translations from translation project
9585 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9587 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9588 (gst_child_proxy_set_property):
9589 Invert precondition check to be alike the ones in the mimiced gobject
9592 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9594 * docs/design/draft-tagreading.txt:
9595 * docs/random/ensonic/audiobaseclasses.txt:
9596 Do some Architect work.
9598 * gst/gstobject.c: (gst_object_set_name):
9602 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9604 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9606 * gst/gstsystemclock.c: (gst_system_clock_init),
9607 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9608 Defer starting the async system clock thread until the first async
9609 wait is scheduled. Fixes #414986.
9611 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9613 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9614 (gst_single_queue_free):
9615 Fix small leak (free GstSingleQueue structure too, not only contents).
9617 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9619 * gst/gstbin.c:(gst_bin_add):
9620 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9621 * win32/common/libgstbase.def:
9622 * win32/common/libgstreamer.def:
9623 Add new exported functions.
9625 2007-03-09 Wim Taymans <wim@fluendo.com>
9627 * docs/plugins/gstreamer-plugins-sections.txt:
9630 2007-03-09 Wim Taymans <wim@fluendo.com>
9632 * docs/gst/gstreamer-sections.txt:
9633 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9635 Add metadata copy functions. Fixes #393099.
9636 API: gst_buffer_copy_metadata()
9638 * gst/gstutils.c: (gst_buffer_stamp):
9639 * libs/gst/base/gstbasetransform.c:
9640 (gst_base_transform_prepare_output_buffer):
9641 Use new metadata copy functions.
9643 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9645 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9646 (gst_identity_init), (gst_identity_check_perfect),
9647 (gst_identity_check_imperfect_timestamp),
9648 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9649 (gst_identity_set_property), (gst_identity_get_property):
9650 * plugins/elements/gstidentity.h:
9651 Separate out check-imperfect-timestamp and check-imperfect-offset.
9652 Put back check-perfect as it was to keep compatibility.
9654 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9656 * gst/gstelement.c: (gst_element_dispose):
9657 There's no need to warn if VOID_PENDING is not NONE here, as
9658 long as the state is NULL it's ok, and that's checked immediately
9661 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9663 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9664 Fix check for perfect stream to ignore buffers with -1
9665 offsets/offset ends when checking data contiguity.
9667 2007-03-08 Wim Taymans <wim@fluendo.com>
9669 * tools/gst-launch.c: (event_loop):
9670 Print INFO messages.
9672 2007-03-08 Wim Taymans <wim@fluendo.com>
9674 * libs/gst/base/gstbasetransform.c:
9675 (gst_base_transform_sink_eventfunc),
9676 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9677 (gst_base_transform_activate):
9678 * libs/gst/base/gstbasetransform.h:
9679 Add support for dropping buffers with custom GstFlowReturn.
9680 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9681 buffers or dropped buffers.
9683 * docs/libs/gstreamer-libs-sections.txt:
9684 docs for new custom return code.
9686 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9687 Use drop support in base class to implement drop-probability.
9689 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9691 * gst/gst.c: (load_plugin_func):
9692 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9693 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9694 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9695 Remove newlines at end of debug log strings.
9697 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9699 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9700 Only post bus message at max, once per buffer received.
9702 2007-03-07 Wim Taymans <wim@fluendo.com>
9704 * docs/design/Makefile.am:
9705 * docs/design/part-synchronisation.txt:
9706 Add doc about synchronisation
9708 * docs/design/draft-latency.txt:
9709 * docs/design/part-TODO.txt:
9710 * docs/design/part-clocks.txt:
9711 * docs/design/part-events.txt:
9712 * docs/design/part-gstbus.txt:
9713 * docs/design/part-gstpipeline.txt:
9714 * docs/design/part-live-source.txt:
9715 * docs/design/part-messages.txt:
9716 * docs/design/part-overview.txt:
9717 * docs/design/part-streams.txt:
9718 * docs/design/part-trickmodes.txt:
9719 Documentation updates.
9721 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9724 Update the doap file.
9726 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9728 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9729 Rename non-perfect to imperfect for Mike and for the sanctity of the
9731 Also make sure bus message gets emitted for data-incontiguities.
9733 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9735 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9736 (gst_identity_start):
9737 * plugins/elements/gstidentity.h:
9738 Emit bus message if check-perfect is true and we encounter a
9739 non-perfect stream between 2 consecutive buffers.
9742 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9747 === release 0.10.12 ===
9749 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9752 releasing 0.10.12, "Inevitable Demise"
9754 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9757 Version 0.10.11.2 (0.10.12 pre-release)
9758 Bump libtool versioning.
9760 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9762 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9763 Log flow-names and not numbers.
9765 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9768 Convert to new AG_GST style.
9770 2007-02-28 Wim Taymans <wim@fluendo.com>
9772 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9773 Don't unref query twice.
9775 2007-02-28 Wim Taymans <wim@fluendo.com>
9777 * gst/gstvalue.c: (gst_value_transform_object_string),
9778 (_gst_value_initialize):
9779 Implement GstObject -> string transform so we print object names
9780 when serializing GValues containing GstObjects.
9782 2007-02-28 Wim Taymans <wim@fluendo.com>
9784 * docs/gst/gstreamer-sections.txt:
9785 Add new stuff to docs.
9787 2007-02-28 Wim Taymans <wim@fluendo.com>
9789 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9790 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9791 (gst_base_sink_change_state):
9792 Improve latency query code.
9793 Don't leak latency events.
9795 * tests/check/gst/gstbin.c: (GST_START_TEST):
9798 2007-02-28 Wim Taymans <wim@fluendo.com>
9800 * gst/gstelement.c: (gst_element_message_full),
9801 (gst_element_get_state_func):
9803 Improve docs a little. Added Since: for new macro.
9805 * gst/gstobject.c: (gst_object_sink):
9806 * gst/gstpipeline.c: (gst_pipeline_change_state),
9807 (gst_pipeline_set_new_stream_time):
9808 * gst/gstpipeline.h:
9809 Improve debugging and docs.
9811 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9814 2007-02-28 Wim Taymans <wim@fluendo.com>
9816 * gst/gstelement.c: (gst_element_message_full),
9817 (gst_element_set_locked_state), (gst_element_get_state_func),
9818 (gst_element_change_state):
9819 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9820 Documentation updates.
9821 Small code cleanups.
9823 * gst/gstmessage.c: (gst_message_new_info),
9824 (gst_message_parse_info):
9826 API: gst_message_new_info()
9827 API: gst_message_parse_info()
9828 Add INFO message create and parse code.
9830 2007-02-28 Wim Taymans <wim@fluendo.com>
9832 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9833 (bin_query_latency_done):
9834 Also report the live parameter of a latency query.
9836 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9838 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9839 Copy the current generic/states example from -base and adapt so
9840 we can use the exact same code everywhere.
9841 Check a STATES_IGNORE_ELEMENTS env var which can be used
9842 to ignore certain element factories for this test, which is
9843 what is being done in -base
9844 * tests/check/Makefile.am:
9845 Mention this environment variable.
9847 2007-02-27 Wim Taymans <wim@fluendo.com>
9849 * docs/gst/gstreamer-sections.txt:
9850 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9851 (gst_bus_timed_pop), (gst_bus_pop):
9853 API: gst_bus_timed_pop()
9854 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9855 message to arrive on the bus.
9857 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9859 Two unit tests for new _timed_pop() function.
9861 2007-02-23 Wim Taymans <wim@fluendo.com>
9863 * gst/gstpipeline.c: (gst_pipeline_change_state),
9864 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9865 Don't ref a NULL clock in _provide_clock_func().
9866 Don't allow an INVALID delay.
9867 Don't try to calculate base_time with an invalid start_time.
9868 Also distribute and notify a NULL clock when it was selected.
9870 * tools/gst-launch.c: (event_loop):
9871 Don't crash when a NULL clock was selected in the pipeline.
9873 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9875 * docs/design/Makefile.am:
9876 * docs/design/draft-missing-plugins.txt:
9877 * docs/random/draft-missing-plugins.txt:
9878 Some small updates: update plugin system identifier prefix
9879 ('gstreamer.net' to 'gstreamer'), mention our new install
9880 API in libgstbaseutils rather than libgimme-codec, add
9881 reference to the online docs.
9883 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9885 * win32/common/config.h:
9886 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9887 use moap cl ci to only check in what is mentioned in the ChangeLog.
9889 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9891 * docs/gst/gstreamer-sections.txt:
9893 Fix up documentation to link to the correct GstGError section.
9894 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9896 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9898 * tools/gst-launch.c: (event_loop):
9899 Make sure that we actually show the important message part of a
9901 No need to check if the gerror is not NULL to free; first of all
9902 g_free accepts NULL; and second the default error handler would
9903 segfault if gerror was NULL.
9905 2007-02-21 Wim Taymans <wim@fluendo.com>
9907 * docs/gst/gstreamer-sections.txt:
9908 Removed docs as well.
9910 2007-02-21 Wim Taymans <wim@fluendo.com>
9912 * gst/gstmessage.c: (gst_message_parse_duration):
9914 Remove new messages for release.
9916 2007-02-20 Wim Taymans <wim@fluendo.com>
9918 * docs/design/part-gstghostpad.txt:
9919 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9920 (gst_ghost_pad_new_full):
9921 Make the ghostpad a parent of the internal pad again for better backward
9922 compatibility. Don't write code that relies on this however.
9924 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9925 (gst_pad_link_check_hierarchy):
9926 Require that parents should be GstElements in the hierarchy check.
9928 2007-02-20 Wim Taymans <wim@fluendo.com>
9930 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9931 (gst_bin_change_state_func), (bin_query_min_max_init),
9932 (bin_query_latency_fold), (bin_query_latency_done),
9935 Implement latency query.
9937 2007-02-20 Wim Taymans <wim@fluendo.com>
9939 * docs/design/part-gstghostpad.txt:
9940 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9941 (gst_ghost_pad_internal_do_activate_push),
9942 (gst_ghost_pad_internal_do_activate_pull),
9943 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9944 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9945 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9946 Do not set the internal pad as a parent anymore so we can avoid
9947 hierarchy linking errors when the ghostpad has no parent yet. This also
9948 fixes failed activation because of unlinked internal pads, which in
9949 turn fixes the impossible case where you have to activate a pad before
9950 you can add it to a running element.
9953 * gst/gstpad.c: (pre_activate), (post_activate),
9954 (gst_pad_set_active), (gst_pad_activate_pull),
9955 (gst_pad_activate_push), (gst_pad_check_pull_range):
9956 Add some more debug info.
9957 Mark activation mode in pre_activate so that we don't try to activate in
9958 endless loops. Fixes #385084.
9960 2007-02-19 Wim Taymans <wim@fluendo.com>
9962 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9963 (gst_base_transform_check_get_range):
9964 Implement a checkgetrange function instead of relying on the default
9965 core behaviour that assumes we can operate in pull mode if we have a
9966 getrange function. First step at fixing #385084.
9968 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9970 * gst/gstchildproxy.h:
9971 * libs/gst/base/gstbasesink.h:
9972 * libs/gst/base/gstbasesrc.h:
9973 * libs/gst/base/gstbasetransform.h:
9974 More docs coverage and some ChangeLog surgery (add missing names)
9976 2007-02-15 Wim Taymans <wim@fluendo.com>
9978 * docs/design/part-TODO.txt:
9979 * docs/design/part-activation.txt:
9980 * docs/design/part-block.txt:
9981 * docs/design/part-buffering.txt:
9982 * docs/design/part-clocks.txt:
9983 * docs/design/part-element-source.txt:
9984 * docs/design/part-events.txt:
9985 * docs/design/part-gstbin.txt:
9986 * docs/design/part-gstbus.txt:
9987 * docs/design/part-gstpipeline.txt:
9988 * docs/design/part-live-source.txt:
9989 * docs/design/part-messages.txt:
9990 * docs/design/part-overview.txt:
9991 * docs/design/part-qos.txt:
9992 * docs/design/part-query.txt:
9993 * docs/design/part-states.txt:
9994 * docs/design/part-trickmodes.txt:
9995 Some doc updates. Start renaming from stream_time to running_time where
9996 it was used wrongly.
9998 2007-02-15 Wim Taymans <wim@fluendo.com>
10000 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10001 Answer LATENCY query.
10003 2007-02-15 Wim Taymans <wim@fluendo.com>
10005 * tests/check/gst/gstevent.c: (event_probe), (test_event),
10009 2007-02-15 Wim Taymans <wim@fluendo.com>
10011 * gst/gstpad.c: (gst_pad_get_internal_links_default),
10012 (gst_pad_dispatcher):
10013 Improve debugging of default pad dispatcher and query functions.
10015 2007-02-15 Wim Taymans <wim@fluendo.com>
10017 * docs/gst/gstreamer-sections.txt:
10018 Remove old unused method.
10020 2007-02-13 Wim Taymans <wim@fluendo.com>
10022 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10025 2007-02-13 Wim Taymans <wim@fluendo.com>
10027 * docs/design/part-seeking.txt:
10030 * gst/gstsegment.c: (gst_segment_set_seek):
10031 Revert old bogus change that should make seeking work again.
10033 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10035 * docs/random/ensonic/dynlink.txt:
10036 * docs/random/ensonic/interfaces.txt:
10037 * docs/random/ensonic/receipies.txt:
10038 Possible dynamic reconnection api, plus some type fixes the other two
10041 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
10043 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10044 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10045 Also check for an absolute path following file:// in the filesrc
10046 element. Remove redundant check and call g_path_is_absolute() on the
10047 unescaped location.
10049 2007-02-13 Stefan Kost <ensonic@users.sf.net>
10051 * docs/design/draft-klass.txt:
10052 Add existing category analysis.
10055 Fix doc example, framerate is a fraction.
10057 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10060 * docs/gst/Makefile.am:
10061 * docs/gst/gstreamer-sections.txt:
10062 * docs/libs/Makefile.am:
10063 Erm, forgot a bunch of --extra-dir.
10065 2007-02-12 Stefan Kost <ensonic@users.sf.net>
10068 * docs/gst/Makefile.am:
10069 * docs/libs/Makefile.am:
10070 * docs/plugins/Makefile.am:
10071 Add crossreferences to glib/gobject docs.
10073 2007-02-12 Wim Taymans <wim@fluendo.com>
10075 * docs/design/draft-latency.txt:
10078 * docs/libs/gstreamer-libs-sections.txt:
10079 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10080 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10081 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10082 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10083 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10084 (gst_base_sink_get_position), (gst_base_sink_query),
10085 (gst_base_sink_change_state):
10086 * libs/gst/base/gstbasesink.h:
10087 API: gst_base_sink_query_latency() to let subclasses query the upstream
10089 API: gst_base_sink_get_latency() to let subclasses query the configured
10090 latency in the sink.
10091 Implement query and set latency.
10093 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10094 don't continue preroll when we are flushing. Fixes #405284.
10096 * tests/check/pipelines/stress.c: (change_state_timeout),
10097 (quit_timeout), (GST_START_TEST), (stress_suite):
10100 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
10102 Patch by: René Stadler <mail at renestadler de>
10104 * docs/gst/gstreamer-sections.txt:
10105 * gst/gsttaglist.c: (_gst_tag_initialize):
10106 * gst/gsttaglist.h:
10107 API: add GST_TAG_REFERENCE_LEVEL (#403597).
10109 2007-02-11 Stefan Kost <ensonic@users.sf.net>
10111 * docs/libs/Makefile.am:
10112 Fix path to core docs.
10114 * gst/gstbin.c: (gst_bin_get_by_interface),
10115 (gst_bin_iterate_all_by_interface):
10116 Refix docs by also renaming 'interface' to 'iface' in implementation.
10118 * docs/gst/gstreamer-sections.txt:
10120 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10121 * gst/gstchildproxy.h:
10122 * gst/gstelementfactory.c:
10123 * gst/gstpadtemplate.h:
10124 * libs/gst/controller/gstcontroller.c:
10125 (gst_controlled_property_new):
10128 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10130 * gst/gstbin.h:(gst_bin_get_by_interface),
10131 (gst_bin_iterate_all_by_interface):
10132 Replace interface parameter name by iface as interface is
10133 a reserved keyword in Visual Studio for C++ projects so it removes
10134 a build error for application developpers using VS.
10135 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10136 Fix a bug on Windows in uri format check. Now the prefix checked
10137 is file:// and next we check if the path after file:// is absolute.
10138 * win32/common/libgstbase.def:
10139 * win32/common/libgstdataprotocol.def:
10140 * win32/common/libgstgstreamer.def:
10141 Add new exported functions.
10143 2007-02-09 Andy Wingo <wingo@pobox.com>
10145 * tests/check/pipelines/simple-launch-lines.c
10146 (simple_launch_lines_suite, test_tee): Disable tee test until I
10147 have time to fix it :-(
10149 * tests/check/Makefile.am (noinst_HEADERS):
10150 * tests/check/libs/libsabi.c:
10151 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10152 * tests/check/gst/gstabi.c:
10153 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10155 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10156 tests for push and pull tee behavior.
10158 * plugins/elements/gsttee.h:
10159 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10160 mark as deprecated as well as unimplemented. It was a crack idea.
10161 Add support for tee operating in pull mode, off by default.
10163 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10164 normal-case logs down to LOG, raise errors to WARNING.
10165 (gst_registry_xml_read_cache): Don't log before calling a function
10168 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10169 exit (registry finalize).
10170 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10171 DEBUG log when we emit signals that people don't even have the
10172 chance to connect to.
10173 (gst_registry_scan_path_level): Less logging in the normal case.
10175 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10177 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10179 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10180 Correctly generate EOS for non-seekable files. We don't have a total
10181 length for them and would get an unexpected end of file if we only
10182 special-cased for regular files. (Fixes: #404569)
10184 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10186 * tests/check/elements/filesrc.c: (GST_START_TEST),
10188 Add unit test for the GstURIHandler interface in filesrc. This also
10189 tests the newly added file://localhost/foo/bar support.
10191 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10193 * gst/gstelementfactory.h:
10194 The klass string is not a hierarchy. Add reference to the design doc
10195 for more information and common types.
10197 2007-02-02 Wim Taymans <wim@fluendo.com>
10199 * gst/gstquery.c: (gst_query_new_latency):
10200 Remove old structure field.
10202 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10204 * tools/gst-launch.1.in:
10205 Give example for network streaming (#351998)
10207 2007-02-02 Wim Taymans <wim@fluendo.com>
10209 * docs/gst/gstreamer-sections.txt:
10210 Add docs for new methods.
10212 * gst/gstevent.c: (gst_event_new_latency),
10213 (gst_event_parse_latency):
10215 Add new LATENCY event to configure latency in a pipeline.
10216 API: gst_event_new_latency
10217 API: gst_event_parse_latency
10219 * gst/gstmessage.c: (gst_message_new_buffering),
10220 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10221 (gst_message_new_latency), (gst_message_parse_buffering),
10222 (gst_message_parse_lost_preroll):
10223 * gst/gstmessage.h:
10224 Added messages used in draft-latency.
10225 API: gst_message_new_lost_preroll
10226 API: gst_message_parse_lost_preroll
10227 API: gst_message_new_prerolled
10228 API: gst_message_new_latency
10230 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10231 (gst_query_parse_latency):
10233 Implemented new latency query as in design doc.
10234 API: gst_query_new_latency
10235 API: gst_query_set_latency
10236 API: gst_query_parse_latency
10238 2007-02-02 Wim Taymans <wim@fluendo.com>
10240 * docs/design/draft-latency.txt:
10241 Slight redesign to allow for dynamic latency adjustments.
10243 * docs/design/part-negotiation.txt:
10246 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10248 reviewed by: Wim Taymans <wim@fluendo.com>
10250 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10251 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10252 Allow file://localhost/foo/bar URLs and correctly fail for every other
10253 hostname that one sets. This was gnomevfssrc is linked for those if
10254 installed as it can handle it (#403172)
10256 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10258 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10260 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10261 (unref_data), (gst_collect_pads_add_pad_full):
10262 * libs/gst/base/gstcollectpads.h:
10263 Don't put the previously added destroy notify in the GstCollectData
10264 struct as all it's padding is already used and we don't want to break
10265 ABI. Instead put in the pad's GObject data for now. This should be
10266 cleaned up for 0.11 (#402393).
10268 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10270 reviewed by: Wim Taymans <wim@fluendo.com>
10272 * docs/libs/gstreamer-libs-sections.txt:
10273 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10274 (unref_data), (gst_collect_pads_add_pad),
10275 (gst_collect_pads_add_pad_full):
10276 * libs/gst/base/gstcollectpads.h:
10277 API: Add function to specify a destroy notification for custom
10278 GstCollectData when adding new pads in GstCollectPads (#402393).
10280 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10283 Update Swedish translation (#378255).
10285 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10287 * docs/design/draft-klass.txt:
10288 Fix the previous change, this is a list of categories and not a hierarchy.
10290 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10292 * docs/design/draft-klass.txt:
10293 Add info about how to get a list of used classes.
10295 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10297 * plugins/elements/gsttypefindelement.c:
10298 (gst_type_find_element_chain_do_typefinding),
10299 (gst_type_find_element_change_state):
10300 Don't leak found caps in chain function (no idea why that never
10301 showed up as a leak anywhere).
10303 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10306 Fix and expand GstPluginDesc API docs.
10308 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10311 * gst/gstelementfactory.c:
10312 * gst/gstpadtemplate.h:
10315 * libs/gst/controller/gstcontroller.c:
10316 (gst_controlled_property_new):
10317 * tests/examples/controller/audio-example.c:
10320 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10323 comment about refining the xml deps
10325 * docs/manuals.mak:
10326 comments about moving away from jade for docs
10329 recommit the ifdefs to use the binary registry
10331 * gst/gstbin.c: (gst_bin_change_state_func):
10332 this break is obsolete
10334 * gst/gstelementfactory.h:
10335 better GST_ELEMENT_DETAILS docs, add comment about translation
10340 * gst/gstobject.c: (gst_signal_object_get_type):
10341 add G_UNLIKELY as usual
10343 * gst/gstpad.c: (gst_pad_event_default):
10344 add fall trhu comment
10346 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10347 (gst_registry_binary_initialize_magic),
10348 (gst_registry_binary_save_string),
10349 (gst_registry_binary_save_pad_template),
10350 (gst_registry_binary_save_feature),
10351 (gst_registry_binary_save_plugin),
10352 (gst_registry_binary_write_cache),
10353 (gst_registry_binary_check_magic),
10354 (gst_registry_binary_load_pad_template),
10355 (gst_registry_binary_load_feature),
10356 (gst_registry_binary_load_plugin),
10357 (gst_registry_binary_read_cache):
10358 comment typo and formatting
10360 * gst/gstutils.c: (gst_element_state_get_name),
10361 (gst_element_state_change_return_get_name):
10362 remove obsolete breaks
10364 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10365 add FIXME 0.11 and remove cpp comment
10367 2007-01-29 Edward Hervey <edward@fluendo.com>
10369 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10370 Fix print statement in an even more portable way.
10372 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10374 * docs/gst/gstreamer-sections.txt:
10376 API: add GST_ROUND_DOWN_* macros (#401781).
10378 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10380 * docs/gst/gstreamer.types.in:
10381 * gst/gstregistry.c: (gst_registry_class_init):
10382 Document registry signals and make gtk-doc pick them up (#401381).
10384 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10386 * docs/pwg/building-testapp.xml:
10387 Add some audioconverts and audioresample to the pipeline, and some
10388 more comments and error handling.
10390 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10392 * docs/manual/manual.xml:
10393 * docs/pwg/pwg.xml:
10394 Fix typo (#400987).
10396 2007-01-26 Wim Taymans <wim@fluendo.com>
10398 * gst/gstcaps.c: (gst_static_caps_get):
10399 Init caps flags too.
10401 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10403 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10405 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10406 If not using mmap'ed files try to seek to the end instead of the
10407 start to determine whether we can seek at all. This fixes the case
10408 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10409 seeks for everything afterwards fail. Fixes #400656
10411 2007-01-25 Wim Taymans <wim@fluendo.com>
10413 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10414 Add some refcount debugging.
10415 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10416 in multiple streaming threads.
10418 2007-01-25 Wim Taymans <wim@fluendo.com>
10420 Patch by: David Schleef <ds at schleef dot org>
10422 * docs/libs/gstreamer-libs-sections.txt:
10423 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10424 * libs/gst/base/gstadapter.h:
10425 API: gst_adapter_copy() that can reduce the amount of memcpy when
10426 getting data from the adapter. Fixes #388201.
10428 2007-01-25 Edward Hervey <edward@fluendo.com>
10430 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10431 In print statements, "%x" is for guint. Fixes build on macosx.
10433 2007-01-24 Edward Hervey <edward@fluendo.com>
10435 * plugins/elements/gstmultiqueue.c:
10436 (gst_multi_queue_loop):
10438 (single_queue_overrun_cb), (single_queue_underrun_cb),
10439 (single_queue_check_full), (gst_single_queue_new):
10440 Implement single queue growth system.
10441 This uses the extra-size properties, and will grow single queues by
10442 that much if one goes full whereas there are others empty. This is
10443 called extra-mode in the code.
10444 When a single queue's levels go back below the initial max-size
10445 limits, it is no longer in extra-mode. This is to ensure we don't
10446 consume too much memory.
10449 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10451 * gst/gst.c: (gst_init_get_option_group):
10452 Make warning about late g_thread_init() calls a bit more explicit,
10453 so that it's more obvious to application developers what they need
10454 to do if a user files a bug against their application.
10456 2007-01-22 Edward Hervey <edward@fluendo.com>
10458 * plugins/elements/gstmultiqueue.c:
10459 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10460 Remove previous hack of unsetting the flushing flag for the source pad
10461 instead of activating it. Instead, fix the source pad activate function
10462 so that it no longer depends on having a parent set or not.
10464 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10466 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10468 * docs/manual/basics-bus.xml:
10469 Fix example code, gst_element_unref() doesn't exist any longer.
10471 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10473 Patch by: Mark Nauwelaerts <manauw at skynet be>
10476 Fix two docs typoes (#399094).
10478 2007-01-19 Edward Hervey <edward@fluendo.com>
10480 * docs/faq/gst-uninstalled:
10481 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10482 depending on libgstbaseutils can work in uninstalled environment.
10484 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10486 * gst/gsttaglist.h:
10487 * gst/gsttagsetter.c:
10488 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10489 statement for new tag.
10491 2007-01-17 Edward Hervey <edward@fluendo.com>
10493 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10494 When dynamically creating single queues, activate sinkpad before adding
10496 We should be doing the same thing for the source pad, but we can't
10497 since it would call a method which needs the parent to be set in order
10498 to work propertly. Instead of activating the source pad, we just unset
10499 the flushing flag, which is the minimal requirement for adding a pad
10500 to an element in a state greater than READY.
10502 2007-01-17 Edward Hervey <edward@fluendo.com>
10504 * docs/faq/gst-uninstalled:
10505 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10508 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10510 * tests/check/gst/gstabi.c:
10511 * tests/check/gst/struct_hppa.h:
10512 * tests/check/libs/libsabi.c:
10513 * tests/check/libs/struct_hppa.h:
10514 Add ABI structs for HPPA (see #393796).
10516 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10518 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10519 Actually write ABI structs to the file specified in the GST_ABI
10520 environment variable, as the message we print claims we would.
10522 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10524 * tests/check/gst/gsttask.c:
10525 Fix header comment.
10527 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10529 * gst/gsttaglist.c: (_gst_tag_initialize):
10530 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10531 previous two entries.
10533 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10535 * docs/gst/gstreamer-sections.txt:
10536 * gst/gsttaglist.c: (_gst_tag_initialize):
10537 * gst/gsttaglist.h:
10538 Add tag support for beat-per-minute.
10540 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10542 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10543 (gst_registry_binary_initialize_magic),
10544 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10545 (gst_registry_binary_save_pad_template),
10546 (gst_registry_binary_save_feature),
10547 (gst_registry_binary_save_plugin),
10548 (gst_registry_binary_write_cache),
10549 (gst_registry_binary_check_magic),
10550 (gst_registry_binary_load_pad_template),
10551 (gst_registry_binary_load_feature),
10552 (gst_registry_binary_load_plugin),
10553 (gst_registry_binary_read_cache):
10554 * gst/gstregistrybinary.h:
10555 Use glib types, cleanup comments, impement interfaces and uri-types.
10557 2007-01-13 Andy Wingo <wingo@pobox.com>
10559 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10560 getrange() to return buffers with other caps, while we fix
10561 demuxers and typefind, or otherwise change part-negotiation.txt.
10563 2007-01-12 Andy Wingo <wingo@pobox.com>
10565 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10566 Factor start/stop into this private function instead of partially
10567 in activate functions and partially in the change_state function.
10568 Fixes setup before the element has changed from READY->PAUSED, as
10569 is the case in pull-mode pipelines.
10570 (gst_base_transform_sink_activate_push)
10571 (gst_base_transform_src_activate_pull): Refactor to use
10572 gst_base_transform_activate().
10573 (gst_base_transform_change_state): Removed, not needed any more.
10575 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10576 Truncate before fixating.
10578 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10579 Don't set_caps() if the result of fixating is ANY, as it's not
10580 supported, and not necessary in the case of a link with no
10581 template caps on either side. Fixes tests/check/libs/basesrc in
10582 some pull-mode tests.
10584 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10585 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10586 (gst_base_transform_src_activate_pull):
10587 Track the activation mode.
10588 (gst_base_transform_setcaps): In pull mode, when activating the
10589 src pad, after activating the sink pad, activate the sink pad's
10590 peer, as discussed in part-negotiation.txt.
10592 * libs/gst/base/gstbasesrc.h:
10593 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10594 vmethod, as in basesink.
10596 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10598 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10599 mode, first proxy the setcaps to the peer pad.
10600 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10601 new fixate vmethod.
10602 (gst_base_sink_default_activate_pull): Rename from
10603 gst_base_sink_activate_pull.
10604 (gst_base_sink_negotiate_pull): New function, performs negotiation
10605 in pull mode before calling ::activate_pull().
10606 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10607 vmethod instead of the default implementation. I have no idea how
10608 this worked before. Negotiate before calling activate_pull.
10610 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10611 sink pads in pull mode. In addition to being correct, fixes
10612 filesrc ! decodebin ! identity ! fakesink.
10613 (gst_pad_get_range, gst_pad_pull_range): Don't call
10614 gst_pad_set_caps() if the caps changes; instead error out with
10615 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10617 2007-01-12 Andy Wingo <wingo@pobox.com>
10619 * docs/design/part-negotiation.txt: Update with more policy.
10621 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10623 * libs/gst/check/gstbufferstraw.h:
10624 * libs/gst/check/gstcheck.h:
10625 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10628 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10630 * tests/check/Makefile.am:
10631 * tests/check/gst/.cvsignore:
10632 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10633 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10634 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10635 (GST_START_TEST), (gst_tag_setter_suite):
10636 Add minimal unit test for beforementioned GstTagSetter bug.
10638 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10640 Patch by: René Stadler <mail at renestadler dot de>
10642 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10643 gst_tag_list_merge() returns a new list, so it's not the best idea
10644 to ingore its return value. Effectively meant that tags could only
10645 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10646 Also add function guard to require a non-NULL taglist as input (has
10647 always been so due to gst_tag_list_copy(), just making it explicit).
10649 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10651 * docs/random/draft-missing-plugins.txt:
10652 Some additions: mention new API that is supposed to be used at the
10653 various stages; short blob about new gst-inspect introspection
10654 option; mention potential future problem with plugins that have
10655 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10657 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10659 * tools/gst-inspect.c:
10660 (print_plugin_automatic_install_info_codecs),
10661 (print_plugin_automatic_install_info_protocols),
10662 (print_plugin_automatic_install_info), (main):
10663 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10664 introspect plugin files and get machine-parsable output that corresponds
10665 to the last bit of the missing-plugin installer string (small gotcha:
10666 doesn't take into account ranks).
10668 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10671 * docs/gst/gstreamer-sections.txt:
10673 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10674 (gst_registry_lookup_locked):
10675 * gst/gstregistry.h:
10676 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10677 (gst_registry_binary_initialize_magic),
10678 (gst_registry_binary_save_string),
10679 (gst_registry_binary_save_pad_template),
10680 (gst_registry_binary_save_feature),
10681 (gst_registry_binary_save_plugin),
10682 (gst_registry_binary_write_cache),
10683 (gst_registry_binary_check_magic),
10684 (gst_registry_binary_load_pad_template),
10685 (gst_registry_binary_load_feature),
10686 (gst_registry_binary_load_plugin),
10687 (gst_registry_binary_read_cache):
10688 * gst/gstregistrybinary.h:
10689 * gst/gstregistryxml.c: (load_feature),
10690 (gst_registry_xml_read_cache):
10691 commit binary registry (disabled by default, see #359653)
10693 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10695 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10696 Fix 'make check' too.
10698 2007-01-10 Andy Wingo <wingo@pobox.com>
10700 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10703 * docs/design/part-negotiation.txt: Update with, um, one way that
10704 pull-mode negotiation might work?
10707 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10708 that the pad must be a src pad; makes sense to call it the other
10709 way in pull mode, and the logic is symmetric anyway.
10711 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10713 * plugins/elements/gstfilesink.c:
10714 Include <stdio.h> for fseeko().
10716 2007-01-10 Wim Taymans <wim@fluendo.com>
10720 Reserve LATENCY event.
10722 2007-01-09 Wim Taymans <wim@fluendo.com>
10724 * docs/design/draft-latency.txt:
10727 2007-01-09 Wim Taymans <wim@fluendo.com>
10729 * docs/design/draft-latency.txt:
10732 * gst/gstelement.h:
10733 * gst/gststructure.c:
10737 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10739 * tests/check/.cvsignore:
10740 Ignore test-registry.xml as well.
10742 2007-01-09 Wim Taymans <wim@fluendo.com>
10744 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10745 unref data at the end when we are done with the pad.
10747 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10749 * docs/gst/gstreamer-sections.txt:
10750 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10751 (init_post), (gst_deinit), (gst_update_registry):
10753 API: add gst_update_registry() (#391296).
10755 * tests/check/Makefile.am:
10756 * tests/check/gst/gstregistry.c:
10757 * tests/check/gst/.cvsignore:
10758 Simple unit test for the above.
10760 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10762 * gst/gstregistry.c: (gst_registry_scan_path_level):
10763 Plugin extension on HP-UX is .sl, add that to the list of approved
10764 plugin extensions (see #393796).
10766 * tests/check/gst/gstpad.c: (GST_START_TEST):
10767 ulong => gulong. Fixes compilation with HP-UX compiler.
10769 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10770 Fix compilation if valgrind headers are not available.
10772 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10774 * win32/common/libgstreamer.def:
10775 Add new exported function.
10776 * win32/vs6/libgstbase.dsp:
10777 Add gstdataqueue.c to the build.
10778 * win32/vs6/libgstcoreelements.dsp:
10779 Add gstmultiqueue.c to the build.
10781 2007-01-06 Andy Wingo <wingo@pobox.com>
10783 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10784 activate_pull(), providing for a way to specialize the process of
10785 spawning a thread to pull on the sink pad. There is a default
10788 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10789 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10790 (gst_base_sink_init): Renamed pad activation functions (inserting
10791 "_pad" in their names). Refactor to use the new activate_pull
10792 vmethod, as appropriate.
10793 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10794 default activate_pull function to start a task pulling from the
10795 sink pad, as before.
10797 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10798 on the pads if necessary, as in push()/chain(). Update docs.
10799 Shouldn't affect existing pull() usage as it is currently only
10800 being used on buffers without caps.
10802 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10804 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10806 Call g_thread_init() first thing in gst_init() / gst_check_init().
10807 When initialisation is done via gst_init_get_option_group() and
10808 GOption parsing, issue a warning if the GLib thread system has not
10809 been initialised yet by the time gst_init_get_option_group() is
10810 called, as it's quite likely other GLib functions such as
10811 g_option_context_new() have been called already then, and
10812 g_thread_init() must be called before any other GLib function. The
10813 application in question must be fixed in that case, since memory
10814 corruption might happen otherwise.
10815 We issue the warning because even if the GLib folks decide to work
10816 around the problem on their end in future, this is still an issue
10817 with all GLib versions >= 2.10.0, so we should warn until we depend
10818 on a GLib version we know to be safe.
10819 Update documentation as well.
10820 Closes bug #391278.
10822 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10824 * tools/gst-inspect.c: (main):
10825 * tools/gst-launch.c: (main):
10826 * tools/gst-typefind.c: (main):
10827 * tools/gst-xmlinspect.c: (main):
10828 Call g_thread_init() really really early, before any other GLib
10829 function (see #342564 and recent discussion on gtk-devel-list).
10831 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10833 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10835 * gst/gst_private.h:
10836 * gst/gstconfig.h.in:
10838 On win32, all the __declspec stuff for symbol exporting is
10839 apparently only needed with MSVC, but doesn't work with MingW.
10840 Fixes compilation with MingW and #391909.
10842 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10844 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10845 Change some GST_ERROR_OBJECT that aren't really errors to
10846 GST_WARNING_OBJECT in order to reduce terminal spam.
10848 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10850 * tests/check/Makefile.am:
10851 disable test again, as there seem to be still race problems
10853 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10855 * tests/check/Makefile.am:
10856 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10857 (GST_START_TEST), (queue_suite):
10858 enable queue test again, add tests for the leaky behaviour
10860 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10863 * tests/examples/Makefile.am:
10864 Compile adapter test/example only if the required headers are
10865 available (fixes #391915).
10867 2007-01-01 David Schleef <ds@schleef.org>
10870 Restore the previous signal handler for SIGSEGV instead of
10871 setting to default, since we may have stolen it away from
10872 someone. (i.e., Mono)
10874 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10876 * docs/random/draft-missing-plugins.txt:
10877 Some small additions and clarifications.
10879 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10881 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10882 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10883 since that can lead to random memory corruptions and crashes
10884 (may or may not be related to #383244, #386711, and #386711).
10886 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10888 * tests/check/.cvsignore:
10889 * tests/check/Makefile.am:
10890 sync .cvsignome and CLEANFILES
10892 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10894 * tests/check/Makefile.am:
10897 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10899 * docs/design/part-states.txt:
10900 two tiny additional comments
10902 * gst/gststructure.c:
10905 * tests/check/Makefile.am:
10906 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10908 disable test for now, unless it gets fixed
10910 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10912 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10914 fix race in underrun test
10916 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10918 * tests/check/elements/.cvsignore:
10921 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10923 try to narrow test failure
10925 2006-12-21 David Schleef <ds@schleef.org>
10927 * plugins/elements/gstfakesrc.c:
10928 Use g_random_int_range(), since it produces better random
10929 numbers in a range than almost-correct floating point code.
10931 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10933 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10934 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10935 (gst_check_teardown_sink_pad):
10936 do not automatically (de)activate pads
10938 * tests/check/Makefile.am:
10939 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10940 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10941 add new, yet simple tests for queue
10943 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10944 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10945 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10947 * tests/check/elements/identity.c: (cleanup_identity):
10948 consistent pad (de)activation
10950 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10952 Patch by: Sebastian Dröge <slomo ubuntu com>
10954 * libs/gst/base/gstcollectpads.c:
10955 Fix two doc typos (#387866).
10957 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10959 * docs/manual/advanced-dparams.xml:
10960 Fix typo (g_object_control_properties() doesn't exist).
10962 2006-12-19 Edward Hervey <edward@fluendo.com>
10964 * gst/gstsegment.c: (gst_segment_set_seek):
10965 Fine tune the cases where the segment start/stop values are really
10967 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10968 Add tests for the return values of gst_segment_set_seek().
10970 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10975 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10977 Fix incorrect documentation and flesh it out a bit more.
10978 Set default values for the max properties on the GParamSpec as well,
10979 so it shows up correctly in gst-inspect.
10981 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10983 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10984 Correct docs of queue, add more detail and crosslink it more.
10986 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10988 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10989 Print additional debug info when the stream isn't perfectly
10990 timestamped; don't try to use invalid durations.
10992 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10994 * docs/design/Makefile.am:
10995 Dist new design docs.
10997 2006-12-16 Wim Taymans <wim@fluendo.com>
10999 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11001 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11002 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11003 (gst_collect_pads_stop), (gst_collect_pads_event),
11004 (gst_collect_pads_chain):
11005 * libs/gst/base/gstcollectpads.h:
11006 Add refcounting to the collectpads data so we can track when it's safe
11007 to free the data. Fixes #383382.
11009 2006-12-15 Wim Taymans <wim@fluendo.com>
11011 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11012 (gst_collect_pads_remove_pad):
11013 Automatically activate/deactivate pads when they are added to a
11014 started/stoped collectpads.
11016 2006-12-15 Wim Taymans <wim@fluendo.com>
11018 * gst/gstelement.c: (gst_element_add_pad):
11019 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11020 * gst/gstpad.c: (gst_pad_init):
11021 Set pads to FLUSHING when they are created. Check, warn and fix when a
11022 demuxer adds an inactive pad to itself when running. Fixes #339326.
11024 2006-12-15 Wim Taymans <wim@fluendo.com>
11026 * gst/gstelement.c: (gst_element_class_init),
11027 (gst_element_default_send_event), (gst_element_send_event),
11028 (gst_element_default_query), (gst_element_query):
11029 Expose default element send_event and query handling as vmethods that
11030 subclasses can chain up to.
11032 2006-12-15 Wim Taymans <wim@fluendo.com>
11034 * gst/gstelement.c: (gst_element_set_state_func):
11035 Small documentation fixes.
11037 2006-12-15 Wim Taymans <wim@fluendo.com>
11039 * docs/design/draft-latency.txt:
11040 Checked in draft for handling latency in pipelines.
11042 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
11046 * gstreamer.spec.in:
11049 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
11051 * gst/gst.c: (init_pre), (init_post):
11052 init_pre() and init_post() might be called via our GOptionGroup or
11053 from gst_init(), and we should skip both of them if we've already
11054 been initialised, otherwise we will init some things twice or add
11055 two default log functions.
11057 2006-12-13 Edward Hervey <edward@fluendo.com>
11059 * docs/manual/basics-bus.xml:
11060 No, gst_main_loop does not exist. Its g_main_loop.
11061 Discovered by somebody who abused the copy-paste technique of coding :)
11063 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
11065 * gst/gstghostpad.c:
11066 Log ghostpad debug stuff to the GST_PADS category as well rather
11067 than just to the default category.
11069 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
11072 * gst/gst.c: (init_pre):
11073 Add some basic system details such as OS and architecture
11074 to the debug output if possible, courtesy of uname().
11076 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
11078 * docs/gst/running.xml:
11079 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11080 environment variables.
11082 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11084 * tests/check/gst/gstbin.c: (GST_START_TEST):
11085 It is acceptable to have a refcount of 2 or 3 at this point in the
11086 test, because the pipeline might be just posting its state_change
11087 message. The next line then waits for that message to appear using
11088 bus_poll, so that should be fine too.
11090 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
11092 * gst/gst.c: (ensure_current_registry_forking):
11093 Ignore EINTR when reading from the child registry pipe.
11094 Explicitly ignore the return value from close, since it makes no
11097 * gst/gstminiobject.c: (gst_mini_object_ref),
11098 (gst_mini_object_unref):
11099 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11101 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11102 When removing cached plugins, remove their features too, so they're
11103 not visible after they've disappeared.
11105 * gst/gstutils.c: (prepare_link_maybe_ghosting):
11106 In the unlikely case that we are linking pads with no parents, don't
11107 crash trying to get the non-existent parent bin.
11109 * gst/parse/grammar.y:
11110 Output debug in the PIPELINE category
11112 2005-03-08 Wim Taymans <wim@fluendo.com>
11114 Patch by: René Stadler <mail at renestadler dot de>
11116 * gst/gstclock.c: (gst_clock_new_periodic_id):
11117 Reject invalid clock times for interval of periodic ids.
11120 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11122 * gst/gstelementfactory.c: (gst_element_factory_create):
11123 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11124 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11125 * tools/gst-inspect.c: (print_element_info):
11126 Fix refcounting of gst_plugin_feature_load to match the docs.
11129 2006-12-07 Wim Taymans <wim@fluendo.com>
11131 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11132 (gst_base_sink_get_position):
11133 Improve debugging of events.
11135 2006-12-07 Wim Taymans <wim@fluendo.com>
11137 Patch by: René Stadler <mail at renestadler dot de>
11139 * gst/gstclock.c: (gst_clock_id_wait):
11140 Make period ids add the interval to the origial requested time instead
11141 of the possibly updated time which can be wrong when there are multiple
11142 waiters for the same id. Fixes #382592.
11144 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11145 (gst_system_clock_id_wait_jitter_unlocked),
11146 (gst_system_clock_id_wait_jitter):
11147 Fix restart in the async notify thread when an async entry is added to
11148 the front of the list. Fixes #381492.
11150 * tests/check/gst/gstsystemclock.c: (store_callback),
11151 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11152 Added test for multiple async waits.
11153 Added test for async wait order.
11155 2006-12-07 Wim Taymans <wim@fluendo.com>
11157 * gst/gstbin.c: (gst_bin_query):
11158 Add some more docs about the POSITION query.
11160 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11163 Bump version nano - back to CVS.
11165 === release 0.10.11 ===
11167 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11170 releasing 0.10.11, "Love never runs on time"
11172 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11174 * win32/common/libgstbase.def:
11175 * win32/common/libgstreamer.def:
11176 * win32/vs8/libgstbase.vcproj:
11177 * win32/vs8/libgstcoreelements.vcproj:
11178 * win32/vs8/libgstreamer.vcproj:
11179 Fix compilation on win32 under VS8
11180 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11181 Partially fixes #381175
11183 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11185 * gst/gstvalue.c: (gst_value_compare_fraction):
11186 If someone is foolish enough to compare 2 fractions with denominator =
11187 0, return UNORDERED rather than aborting.
11189 2006-11-28 Edward Hervey <edward@fluendo.com>
11191 * libs/gst/base/Makefile.am:
11192 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11193 (gst_data_queue_base_init), (gst_data_queue_class_init),
11194 (gst_data_queue_init), (gst_data_queue_new),
11195 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11196 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11197 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11198 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11199 (gst_data_queue_set_flushing), (gst_data_queue_push),
11200 (gst_data_queue_pop), (gst_data_queue_drop_head),
11201 (gst_data_queue_set_property), (gst_data_queue_get_property):
11202 * libs/gst/base/gstdataqueue.h:
11203 New GstDataQueue object for threadsafe queueing. Most useful for
11204 elements that need some queueing functionnality.
11205 * docs/libs/gstreamer-libs-docs.sgml:
11206 * docs/libs/gstreamer-libs-sections.txt:
11207 Insert documentation for GstDataQueue
11208 * plugins/elements/Makefile.am:
11209 * plugins/elements/gstelements.c:
11210 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11211 (gst_multi_queue_class_init), (gst_multi_queue_init),
11212 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11213 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11214 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11215 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11216 (gst_multi_queue_loop), (gst_multi_queue_chain),
11217 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11218 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11219 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11220 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11221 (wake_up_next_non_linked), (compute_next_non_linked),
11222 (single_queue_overrun_cb), (single_queue_underrun_cb),
11223 (single_queue_check_full), (gst_single_queue_new):
11224 * plugins/elements/gstmultiqueue.h:
11225 New multiqueue element, using GstDataQueue. Used for queuing multiple
11227 Closes #344639 and #347785
11229 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11231 * docs/pwg/advanced-types.xml:
11232 add more missing type details
11234 * tools/gst-run.c: (main):
11235 remove unused variable
11237 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11239 * docs/libs/Makefile.am:
11240 * docs/libs/gstreamer-libs.types:
11241 add types of base classes to enable gobject specific stuff in the docs
11243 * docs/random/ensonic/embedded.txt:
11244 more ideas about isolating platform specific things
11246 2006-11-20 Wim Taymans <wim@fluendo.com>
11248 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11250 * libs/gst/check/gstcheck.h:
11251 Fix compilation and running against 0.9.4. Fixes #377332.
11253 2006-11-20 Wim Taymans <wim@fluendo.com>
11255 * gst/gstsegment.c: (gst_segment_set_seek),
11256 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11257 (gst_segment_to_running_time):
11258 Fix boundary checking in to_running_time() and to_stream_time().
11261 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11262 stream and running time can now be calculated for the complete
11265 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11267 * gst/gstpad.c: (gst_pad_push_event):
11268 Can't access event structure after giving away ownership of
11271 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11273 * docs/random/ensonic/embedded.txt:
11274 * docs/random/ensonic/profiling.txt:
11275 * docs/random/ensonic/receipies.txt:
11278 2006-11-13 Wim Taymans <wim@fluendo.com>
11280 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11283 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11285 2006-11-13 Wim Taymans <wim@fluendo.com>
11287 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11289 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11290 Store new length in segment duration so we don't keep on calling the
11291 potentially expensize get_size() call. Fixes #370865.
11293 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11295 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11297 * win32/common/libgstreamer.def:
11298 Add two missing symbols (#366492).
11300 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11302 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11303 (gst_adapter_take_buffer):
11304 Fix format string to use all its arguments.
11305 Remove useless >= check on a guint
11307 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11309 * tests/examples/adapter/.cvsignore:
11310 Ignore build file as commanded by the build-bot
11312 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11314 * tests/examples/adapter/Makefile.am:
11315 * tests/examples/adapter/adapter_test.c: (run_test_take),
11316 (run_test_take_buffer), (run_tests), (main):
11318 Add new files from the previous commit
11320 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11324 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11325 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11326 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11327 * libs/gst/base/gstadapter.h:
11328 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11329 (GST_START_TEST), (gst_adapter_suite):
11330 * tests/examples/Makefile.am:
11331 Do some optimisation work in GstAdapter to avoid copies in more cases.
11332 It could still do slightly better by merging buffers when
11333 gst_buffer_is_span_fast is true, but is already faster.
11335 Also, avoid traversing a single-linked list to append each incoming
11336 buffer inside the adapter.
11338 Add simple test app that times the adapter behaviour in different
11339 situations, and extend the unit test to check that bytes enter and
11340 exit the adapter in their original order.
11342 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11344 * docs/random/draft-missing-plugins.txt:
11345 Update: use element message instead of adding a new message
11346 type to the core; don't provide GStreamer API to initiate the
11347 plugin download, just provide API to compose the strings needed
11348 and let an external libgimmestuff handle the rest.
11350 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11352 * tools/gst-inspect.c: (print_element_properties_info):
11353 Print a string instead of 'unknown type' for GValueArray properties
11355 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11357 * docs/random/draft-missing-plugins.txt:
11360 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11362 * tests/examples/typefind/typefind.c: (type_found), (main):
11363 Make typefind element example work again (#371894); add a
11366 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11368 * docs/random/draft-missing-plugins.txt:
11369 Commit initial draft about how to deal with missing plugins,
11370 needs work (API too).
11372 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11374 * docs/pwg/advanced-types.xml:
11375 documents the new caps elements (see #363118)
11377 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11379 * gst/gstplugin.c: (gst_plugin_load_file):
11380 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11381 (gst_file_src_map_region), (gst_file_src_start):
11382 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11383 (gst_file_index_commit):
11384 Use g_strerror() instead of strerror() - we want UTF-8.
11386 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11388 Patch by: Peter Kjellerstedt <pkj at axis com>
11390 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11391 Another printf fix (#371493).
11393 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11395 * tests/check/gst/gsttag.c:
11396 relicence (okay with author=company)
11398 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11400 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11401 (gst_pad_push_event):
11402 Enhance debug and improve docs
11407 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11409 * docs/random/ensonic/distributed.txt:
11410 * docs/random/ensonic/profiling.txt:
11413 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11415 * docs/gst/gstreamer-sections.txt:
11416 add new API and fix the build
11418 * gst/gstbin.c: (gst_bin_recalc_state):
11419 * gst/gstelement.c: (gst_element_message_full),
11420 (gst_element_get_state_func), (gst_element_set_state_func):
11421 use new API and improve logging
11423 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11425 API: add function to get StateChangereturn names to improve logs
11427 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11429 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11430 I'm considering shooting the next person to put strerror stuff
11431 in the translateable part of the message.
11433 2006-11-03 Wim Taymans <wim@fluendo.com>
11435 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11436 Get the type and printf conversion specifiers right.
11438 2006-11-03 Wim Taymans <wim@fluendo.com>
11440 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11442 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11443 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11444 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11445 Some small cleanups. Improve debugging.
11447 Signal all waiting threads with a broadcast instead of just one.
11450 2006-11-03 Wim Taymans <wim@fluendo.com>
11452 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11453 (gst_fd_src_create):
11454 Add some debugging.
11455 Only update fd when it's different from the old.
11457 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11459 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11460 Printf fixes for PPC/OSX, take two (#369366).
11462 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11464 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11466 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11467 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11468 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11469 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11470 don't cast to long long for portability reasons, but use
11471 GLib's types instead.
11473 2006-10-30 Michael Smith <msmith@fluendo.com>
11475 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11476 Get the arguments to lseek() the right way around.
11479 2006-10-30 Wim Taymans <wim@fluendo.com>
11481 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11484 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11486 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11488 Patch by: Kjartan Maraas <kmaraas at gnome org>
11490 * docs/design/part-MT-refcounting.txt:
11491 * docs/random/wtay/capsnego2-docs:
11494 Typo fixes (#366212).
11496 2006-10-28 Wim Taymans <wim@fluendo.com>
11498 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11501 * win32/common/libgstbase.def:
11502 * win32/common/libgstreamer.def:
11503 * win32/vs8/libgstbase.vcproj:
11504 * win32/vs8/libgstcontroller.vcproj:
11505 Add needed entries in .def files.
11507 Rearrange def files in vs8 solutions. Fixes #366286.
11509 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11511 * win32/common/gstconfig.h:
11512 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11513 hand-made win32 gstconfig.h. Fixes #366321.
11515 2006-10-27 Wim Taymans <wim@fluendo.com>
11517 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11518 (gst_ghost_pad_new_full):
11519 Make acceptcaps return TRUE when we don't have a target, just like
11522 2006-10-27 Wim Taymans <wim@fluendo.com>
11524 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11525 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11527 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11529 * gst/gststructure.c: (gst_structure_id_set_value):
11530 If someone tries to set a non-UTF8 string field on a structure,
11531 don't just print a warning, but also ignore the request and do
11532 not change/add that field to the structure.
11534 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11535 Test for the above.
11537 2006-10-25 David Schleef <ds@schleef.org>
11540 g_hash_table_insert() needs a cast to a non-const pointer duh.
11542 2006-10-25 David Schleef <ds@schleef.org>
11546 Change name parameter of _gst_debug_register_funcptr to const
11547 to reflect the constness of its use in the function as well
11548 as to quiet a gcc warning.
11550 2006-10-25 Edward Hervey <edward@fluendo.com>
11552 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11553 Don't push the buffer if it's empty.
11556 2006-10-24 Wim Taymans <wim@fluendo.com>
11561 * libs/gst/base/gstbasetransform.c:
11562 (gst_base_transform_sink_eventfunc):
11563 Debug segment values *after* updating them as this is more
11566 2006-10-23 Wim Taymans <wim@fluendo.com>
11568 * docs/design/part-events.txt:
11571 * docs/design/part-block.txt:
11572 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11573 (gst_pad_push_event):
11574 Revert BLOCKING patch, it tries to be smart without really having a
11575 clear idea what or how. So, now we discard all FLUSHING events again on
11576 a blocking pad. Should fix gnonlin again.
11578 2006-10-23 Wim Taymans <wim@fluendo.com>
11580 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11582 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11583 (gst_base_src_start), (gst_base_src_activate_push):
11584 Make sure size is always initialized. Fixes #364388.
11586 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11588 * docs/random/ensonic/distributed.txt:
11589 add some ideas about doing distributed processing
11591 * docs/random/ensonic/profiling.txt:
11592 get_rusage look promising
11594 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11596 * docs/manual/basics-helloworld.xml:
11597 Add a cast in example to fix compile warning
11599 2006-10-18 Wim Taymans <wim@fluendo.com>
11601 * gst/gstsegment.c: (gst_segment_set_last_stop),
11602 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11603 Relax arg checking again, -1 is allowed.
11605 2006-10-18 Wim Taymans <wim@fluendo.com>
11607 * gst/gstsegment.c: (gst_segment_set_last_stop),
11608 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11609 _set_last_stop() must be with a value != -1
11610 A _TYPE_SET to -1 means seek to 0.
11611 Calc last_stop correctly for negative rates.
11612 Make sure we work with positive durations when updating a segment.
11614 2006-10-18 Wim Taymans <wim@fluendo.com>
11616 * docs/design/part-live-source.txt:
11620 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11623 Add an explicit cast to GstBuffer** to keep old code that added an
11624 explicit cast to GstMiniObject** for gst_mini_object_replace()
11625 compiling without warning.
11627 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11629 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11630 check for validity of dates
11632 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11634 * docs/gst/gstreamer-sections.txt:
11635 Forgot this one, makes gtk-doc shut up.
11637 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11639 Patch by: Peter Kjellerstedt <pkj at axis com>
11642 Don't define xmlNodePtr to gpointer if the core was built with
11643 --disable-loadsave and --disable-registry, this will break
11644 applications that want to use libxml2 but are buildling against a
11645 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11646 instead so we don't have to mess with the libxml2 namespace
11649 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11652 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11653 type-punned pointer warnings.
11655 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11657 * gst/gstelement.h:
11658 Add casts to the correct return type to state <=> state transition
11661 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11663 * docs/design/part-live-source.txt:
11664 describe howto handle latency
11666 * docs/random/ensonic/profiling.txt:
11669 * tools/gst-plot-timeline.py:
11670 fix log parsing for solaris, remove unused function
11672 2006-10-16 Wim Taymans <wim@fluendo.com>
11674 * docs/design/part-trickmodes.txt:
11676 Update some docs regarding reverse playback.
11678 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11680 Patch by: Marcus Granado <mrc dot gran at gmail com>
11682 * win32/vs8/grammar.vcproj:
11683 Error out with a warning if glib-genmarshal.exe is not in path,
11684 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11686 2006-10-13 Wim Taymans <wim@fluendo.com>
11688 * gst/gstsegment.c: (gst_segment_set_seek):
11689 When seeking to stop -1, set last_stop (current position) to the
11690 duration of the segment.
11692 2006-10-13 Wim Taymans <wim@fluendo.com>
11694 * gst/gstelement.h:
11695 Clarify _NO_PREROLL a bit more.
11700 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11701 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11702 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11703 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11704 due to wrong locking order. Fixes #361769.
11705 Remove some redundant/misplaced checks in pad_block.
11707 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11708 For negative rates, count backwards from the duration.
11710 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11712 * gst/gsterror.c: (_gst_library_errors_init):
11713 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11714 up with something better).
11716 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11718 * win32/vs6/libgstreamer.dsp:
11719 * win32/vs7/libgstreamer.vcproj:
11720 * win32/vs8/libgstreamer.vcproj:
11721 Don't reference glib-compat.c which is currently not used and not
11722 disted; add gstquark.c which was recently added. Fixes #361730.
11724 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11726 * win32/common/libgstbase.def:
11727 * win32/common/libgstcontroller.def:
11728 * win32/common/libgstreamer.def:
11729 Add gst_caps_merge() and a bunch of other recently-added functions.
11732 2006-10-11 Wim Taymans <wim@fluendo.com>
11734 * docs/plugins/gstreamer-plugins.args:
11735 * docs/plugins/inspect/plugin-coreelements.xml:
11736 * docs/plugins/inspect/plugin-coreindexers.xml:
11737 Update element args.
11739 * gst/gstsystemclock.c:
11740 Small comment update.
11742 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11743 (gst_tee_request_new_pad), (gst_tee_release_pad),
11744 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11745 (gst_tee_sink_activate_pull):
11746 * plugins/elements/gsttee.h:
11748 Add default property defines.
11749 Implement release pad function.
11750 Give properties better blubs etc.
11751 Activate pads before adding them to a running tee.
11752 Do simple buffer_alloc on the first requested pad.
11753 Post error when activation fails.
11755 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11757 * gst/gst.c: (ensure_current_registry_forking):
11758 Check return value of write() to make compiler happy.
11760 2006-10-11 Wim Taymans <wim@fluendo.com>
11762 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11764 * plugins/elements/gstqueue.c: (gst_queue_chain):
11765 Recheck queue filledness after signalling the overrun when we're about
11766 to leak downstream because we released the lock when emitting the signal
11767 and the queue could be empty again. Fixes #352345.
11769 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11771 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11772 Fix refcounting here too, just like we did for _new_valist() a few
11773 days ago (#357180) (thanks to René Stadler). Also remove all those
11774 'Since: 0.9' from the gtk-doc blobs.
11776 * tests/check/libs/controller.c: (controller_refcount_new_list),
11777 (gst_controller_suite):
11778 Unit test for the above.
11780 2006-10-10 Wim Taymans <wim@fluendo.com>
11782 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11784 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11785 (gst_pad_save_thyself):
11787 Write pad direction in XML output. Fixes #345496.
11789 2006-10-10 Wim Taymans <wim@fluendo.com>
11791 Patch by: René Stadler <mail at renestadler dot de>
11793 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11794 (gst_controller_new_list), (_gst_controller_dispose),
11795 (_gst_controller_finalize), (_gst_controller_class_init):
11796 Take ref to controlled object so that it cannot disappear.
11799 2006-10-10 Wim Taymans <wim@fluendo.com>
11801 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11802 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11803 (gst_check_teardown_sink_pad):
11804 Activate/deactivate pads in setup/teardown respectively.
11806 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11808 Patch by: Josep Torra Valles <josep@fluendo.com>
11811 Cast values when making gstenumtypes.h. This pacifies Forte
11812 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11813 in the enumeration.
11815 2006-10-09 Wim Taymans <wim@fluendo.com>
11817 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11818 Rename some more @cur to @start to fix docs.
11820 * gst/gstsegment.c: (gst_segment_set_seek):
11822 time and start must always stay in sync as defined in design doc.
11824 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11825 Rename param to fix docs.
11827 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11828 Check that start and time are in sync.
11830 * tests/check/pipelines/parse-launch.c:
11831 (gst_parse_test_element_change_state):
11832 Activate pad before adding to the element.
11834 2006-10-09 Wim Taymans <wim@fluendo.com>
11836 * docs/design/part-qos.txt:
11841 Update seek event docs regarding negative rates.
11842 Rename @cur to @start.
11844 * gst/gstsegment.c: (gst_segment_set_seek):
11845 * gst/gstsegment.h:
11846 Update set_seek docs regarding negative rates.
11847 Correctly update last_stop to @stop when dealing with negative
11849 Rename @cur to @start.
11851 * tests/check/gst/gstpad.c: (GST_START_TEST):
11852 Activate pads before trying to use them.
11854 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11855 (gst_segment_suite):
11856 Add simple check for segments and negative rates.
11858 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11860 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11861 * gst/gsttaglist.h:
11862 * docs/gst/gstreamer-sections.txt:
11863 API: add gst_tag_list_is_empty() (#360467).
11865 * tests/check/gst/gsttag.c: (GST_START_TEST):
11868 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11870 * gst/gstmessage.h:
11871 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11872 a value that doesn't fit on enumeration.
11874 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11876 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11877 Remove local debugging system and use Gstreamer's instead.
11879 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11881 Patch by: Josep Torra Valles <josep@fluendo.com>
11883 * common/m4/gst-error.m4:
11884 Disable warning of statement not reached on Forte.
11885 * gst/gstmessage.h:
11886 Fix warning on Forte (value doesn't fit on enumeration).
11887 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11888 Fix warning on Forte (value doesn't fit on enumeration).
11889 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11890 DEBUG macro says it takes minimum of 2 args and so Forte
11891 complains about the use with just 1 arg.
11892 * plugins/elements/gstfdsink.c:
11893 * plugins/elements/gstfdsrc.c:
11894 * plugins/elements/gstfilesink.c:
11895 * plugins/elements/gstfilesrc.c:
11896 Use correct return type for the uri handler implementations.
11898 All these fix warnings in Forte. Fixes bug #360860.
11900 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11902 * gst/gstelement.h:
11903 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11904 format string, so don't use G_GNUC_PRINTF for those versions.
11906 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11908 * gst/gsttaglist.c: (gst_is_tag_list):
11909 * gst/gsttaglist.h:
11910 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11912 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11913 Small test for the above.
11915 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11917 * gst/gsttaglist.h:
11918 Less tabs, more spaces.
11920 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11923 Those two function declarations do actually belong there, revert
11924 commit from yesterday that turned them intro macros.
11926 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11928 Patch by: Josep Torra Valles <josep@fluendo.com>
11930 * gst/gst.c: (gst_init_get_option_group):
11931 Fix empty declaration and type mismatch.
11932 * gst/gstbin.c: (gst_bin_change_state_func):
11934 * gst/gstelement.c: (gst_element_continue_state),
11935 (gst_element_set_state_func), (gst_element_change_state),
11936 (gst_element_change_state_func):
11937 Fix type mismatches.
11938 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11939 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11940 Cast as appropriate.
11941 * gst/gstobject.c: (gst_class_signal_connect):
11942 Cast as appropriate. The function pointer parameter really
11943 has the wrong type but would break API if we change it.
11945 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11946 order of including string.h.
11947 * gst/gstutils.c: (gst_element_state_get_name):
11948 Remove unreachable line.
11949 * gst/gstxml.c: (gst_xml_parse_doc):
11951 All these caught by Forte.
11953 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11955 Patch by: Josep Torra Valles <josep@fluendo.com>
11957 * common/m4/gst-error.m4:
11959 We need to disable warnings on Forte for empty declarations
11960 due to gst-indent adding ;s to lines that just use macros
11961 where the macro actually doesn't need a ; at end to end
11964 2006-10-06 Wim Taymans <wim@fluendo.com>
11966 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11967 (gst_file_sink_close_file), (gst_file_sink_event),
11968 (gst_file_sink_render):
11969 Add some FIXME for the NEWSEGMENT handling.
11971 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11973 * gst/parse/grammar.y:
11974 Remove static function gst_parse_element_lock as all it does
11975 is return. Looks like cruft from 0.8.
11977 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11979 Patch by: Josep Torra Valles <josep@fluendo.com>
11981 * common/m4/gst-error.m4:
11983 * libs/gst/net/Makefile.am:
11984 Fix a compilation issue with Forte on Solaris. inet_aton is in
11987 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11989 * gst/gstpad.c: (pre_activate):
11990 * gst/gstregistry.c: (gst_registry_scan_path_level):
11991 * gst/gstregistryxml.c: (load_plugin):
11992 * libs/gst/controller/gstcontroller.c:
11993 (gst_controlled_property_set_interpolation_mode):
11994 * libs/gst/dataprotocol/dataprotocol.c:
11995 (gst_dp_packet_from_event_1_0):
11996 * libs/gst/net/gstnetclientclock.c:
11997 (gst_net_client_clock_observe_times):
11998 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12001 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
12004 * docs/gst/gstreamer-sections.txt:
12005 * gst/gstconfig.h.in:
12006 * gst/gstelement.h:
12008 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12009 whether we can use G_GNUC_PRINTF in other header files and at
12010 least check the printf format/arguments of debug messages and
12011 GST_ELEMENT_ERROR messages when the printf extension is not
12013 Replace more tabs with spaces in gstinfo.h and remove two spurious
12014 function declarations in GST_DISABLE_DEBUG part with macros.
12016 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
12018 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12019 More docs for the sync-message signal (mention that it is not
12020 emitted by default); log message structures of messages posted on
12023 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
12025 * gst/gst.c: (ensure_current_registry_forking):
12026 Use a pipe pair to receive status results from the forked child, and
12027 ignore the result from waitpid. Fixes #355499
12029 2006-10-02 Wim Taymans <wim@fluendo.com>
12031 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12032 (gst_ghost_pad_suite):
12035 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12038 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12040 2006-10-02 Edward Hervey <edward@fluendo.com>
12042 * docs/design/part-block.txt:
12043 Further explain the use of flushing on blocked pads.
12044 * docs/gst/gstreamer-sections.txt:
12045 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12046 (gst_pad_push_event):
12048 Added new GstPadFlag : GST_PAD_BLOCKING.
12049 Adds the notion of pads really blocking, which enables to properly
12050 handle FLUSH_START/FLUSH_STOP events on blocked pads.
12052 API: gst_pad_is_blocking()
12053 API: GST_PAD_IS_BLOCKING() macro
12054 API: GST_PAD_BLOCKING GstPadFlag
12056 2006-10-02 Wim Taymans <wim@fluendo.com>
12058 Patch by: mrcgran <mrc.gran at gmail dot com>
12060 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12061 Filter the proxied caps against the padtemplate if we have one.
12063 * gst/gstquery.c: (gst_query_new_segment):
12064 Add include for gstinfo.h so that compilation with
12065 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12067 2006-10-02 Wim Taymans <wim@fluendo.com>
12069 Patch by: Alessandro Decina <alessandro at nnva org>
12071 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12072 (gst_file_sink_set_location), (gst_file_sink_open_file),
12073 (gst_file_sink_close_file), (gst_file_sink_event),
12074 (gst_file_sink_render):
12075 Set file to NULL when closing filesink so that we can set a new filename
12076 in READY. Fixes #358613.
12078 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
12080 Patch by: Alessandro Decina <alessandro at nnva org>
12082 * gst/gstevent.c: (_gst_event_copy):
12083 Fix gst_mini_object_make_writable() and gst_event_copy() for events
12084 with event structures by setting the parent refcount address of the
12085 copied structure to the address of the refcount member of the newly
12086 copied event rather than the address of the refcount member of the
12087 original event. Fixes #358737.
12089 * tests/check/gst/gstevent.c: (GST_START_TEST):
12090 Unit test for the above.
12092 2006-09-29 Stefan Kost <ensonic@users.sf.net>
12094 * docs/design/Makefile.am:
12095 Dist some more files.
12097 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12099 * tests/check/libs/controller.c: (GST_START_TEST),
12100 (gst_controller_suite):
12101 Add test for the previous fix; add some more tests
12102 for correct refcounting behaviour; fix a few leaks
12103 in test cases; call gst_controller_init() at start
12106 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
12108 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12109 (gst_controller_set_from_list):
12110 Don't g_return_val_if_fail() on timed values with invalid timestamps
12111 inside a critical section without unlocking the mutex. Spotted by
12112 René Stadler. (#357617)
12113 Also, fix up refcounting properly: when returning an existing
12114 controller, we should increase the reference only once and not
12115 once per property and when trying to control a property again
12116 we should also increase the refcount.
12118 2006-09-29 Wim Taymans <wim@fluendo.com>
12120 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12121 * libs/gst/net/gstnettimeprovider.c:
12122 (gst_net_time_provider_thread):
12123 Stop reading commands when EOF as well.
12125 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12126 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12127 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12128 Unify description of the dump property.
12130 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12132 * tests/examples/manual/.cvsignore:
12133 OK, so it's actually cvsignore that needs changing. Stop laughing.
12135 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12137 * tests/examples/manual/Makefile.am:
12138 Gah, declare vars *before* using them
12140 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12142 * gst/gst.c: (init_pre), (scan_and_update_registry),
12143 (ensure_current_registry_nonforking),
12144 (ensure_current_registry_forking), (ensure_current_registry),
12145 (init_post), (gst_debug_help), (gst_deinit):
12146 * gst/gst_private.h:
12147 * gst/gstregistry.c: (gst_registry_finalize),
12148 (gst_registry_remove_features_for_plugin_unlocked),
12149 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12150 (gst_registry_scan_path),
12151 (_priv_gst_registry_remove_cache_plugins),
12152 (_priv_gst_registry_cleanup):
12153 * gst/gstregistry.h:
12154 Re-commit the registry changes, along with an extra fix:
12155 When a cached plugin is encountered at a different file path,
12156 update the stored path in the registry cache so that the parent
12157 process knows where it actually is now when it re-reads the registry
12158 cache. Fixes the thing that broke distcheck with the previous commit.
12160 * tests/check/Makefile.am:
12161 Clean up files named 'core' too when running make clean.
12163 * tests/examples/manual/Makefile.am:
12164 Set up a registry path for running these tests, and clean it properly
12167 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12170 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12171 want gmodule-no-export-2.0.pc instead so that we don't drag in
12172 --export-dynamic on every project that links to GStreamer.
12174 Also, make our export regex only match the start of symbols, rather
12175 than any symbol that contains '_gst' somewhere.
12177 * libs/gst/check/Makefile.am:
12178 The libgstcheck we build does however need export-dynamic, as it
12179 produces some symbols that don't match our _gst... style regex.
12182 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12184 * gst/gst.c: (init_pre), (scan_and_update_registry),
12185 (ensure_current_registry_nonforking),
12186 (ensure_current_registry_forking), (ensure_current_registry),
12187 (init_post), (gst_debug_help), (gst_deinit):
12188 * gst/gst_private.h:
12189 * gst/gstregistry.c: (gst_registry_finalize),
12190 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12191 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12192 (_gst_registry_cleanup):
12193 * gst/gstregistry.h:
12194 Revert previous change until I figure out why it breaks distcheck.
12196 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12198 * gst/gst.c: (init_pre), (scan_and_update_registry),
12199 (ensure_current_registry_nonforking),
12200 (ensure_current_registry_forking), (ensure_current_registry),
12201 (init_post), (gst_debug_help), (gst_deinit):
12203 Make init_pre and init_post take the full complement of GOptionFunc
12204 args so they can return useful GErrors. Make the registry updating
12207 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12208 ensure that the registry we're about to write out doesn't contain
12209 stale information about old-deleted plugin files.
12211 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12212 that deletion of plugin files is considered a registry change.
12214 * gst/gst_private.h:
12215 * gst/gstregistry.c: (gst_registry_finalize),
12216 (gst_registry_remove_features_for_plugin_unlocked),
12217 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12218 (gst_registry_scan_path),
12219 (_priv_gst_registry_remove_cache_plugins),
12220 (_priv_gst_registry_cleanup):
12221 * gst/gstregistry.h:
12222 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12223 by adding _priv prefix, so that they won't appear in the global
12224 symbol table. They still do atm though because of #318031. Move the
12225 prototypes to gst_private.h
12227 When removing a plugin, remove all features for that plugin too.
12230 2006-09-27 Wim Taymans <wim@fluendo.com>
12232 * docs/random/moving-plugins:
12233 Make it clear that the "compiled-in descriptions" really mean
12234 the element details.
12236 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12237 (gst_base_sink_wait_preroll):
12240 * docs/libs/gstreamer-libs-sections.txt:
12241 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12242 (gst_base_src_get_range), (gst_base_src_activate_push):
12243 * libs/gst/base/gstbasesrc.h:
12244 Added function to block while waiting for PLAYING, this function
12245 is used by live sources that block on the clock.
12246 API: gst_base_src_wait_playing()
12248 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12250 Patch by: Peter Kjellerstedt <pkj at axis com>
12253 gst-element-check.m4 is generated and should therefore be
12254 copied from the build dir rather than the source dir (#357593).
12255 'make distcheck' hasn't noticed this because we were disting
12256 the file as well, so stop doing that.
12258 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12260 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12261 Add some tests for gst_caps_intersect().
12263 * tools/gst-launch.c: (event_loop):
12264 Print all buffering percentages we get, even the 100% one.
12266 2006-09-26 Wim Taymans <wim@fluendo.com>
12268 * tools/gst-inspect.c: (print_element_properties_info),
12269 (print_signal_info):
12270 Fix printing of flags to match the look of enums.
12272 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12274 * gst/gstelementfactory.c:
12275 Fix typo in docs blurb.
12277 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12279 * gst/gsturi.c: (search_by_entry):
12280 Don't assert/crash here if a uri handler doesn't return any
12281 supported protocols. The list of protocols could be generated
12282 dynamically at runtime or at plugin registration, and an error
12283 in the underlying library shouldn't be fatal (#353301).
12285 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12288 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12289 (spotted by Peter Kjellerstedt).
12291 2006-09-23 Wim Taymans <wim@fluendo.com>
12293 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12295 * libs/gst/base/gstbasesrc.c:
12296 (gst_base_src_default_check_get_range), (gst_base_src_start),
12297 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12298 (gst_base_src_change_state):
12299 Match _start/_stop calls in the activate functions. Remove redundant
12300 _stop call from the state change function. Fixes #356910.
12301 Turn failure DEBUG into ERROR.
12303 2006-09-22 Wim Taymans <wim@fluendo.com>
12305 * docs/design/part-buffering.txt:
12306 * gst/gstmessage.c: (gst_message_new_buffering),
12307 (gst_message_parse_buffering):
12308 Update docs about buffering.
12310 * docs/design/part-trickmodes.txt:
12313 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12315 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12316 (gst_controller_new_list):
12317 Ref instances when returning them again (fixes #357180)
12319 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12321 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12322 Don't forget to release proxy lock when there's an error.
12324 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12327 Add extra initialisers for Caps things, to fix some plugin warnings
12330 2006-09-18 Wim Taymans <wim@fluendo.com>
12332 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12333 Also set template on the internal pad so that a getcaps from the
12334 target pad returns the template caps.
12336 2006-09-18 Wim Taymans <wim@fluendo.com>
12338 * gst/gstelement.c: (gst_element_post_message),
12339 (gst_element_dispose):
12340 Use _DEBUG_OBJECT some more.
12342 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12345 * tools/gst-launch.c: (main):
12346 If the toplevel element is not a GstPipeline, it must be put in a
12347 pipeline so that a bus and clock is selected.
12349 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12351 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12352 JITTER, RATE, and LATENCY query should be handled by the
12353 default case and not by the CONVERT query code.
12355 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12357 * gst/gstformat.c: (gst_format_register):
12358 Fix locking order (must take lock before using n_values).
12360 * gst/gstvalue.c: (gst_value_serialize_enum),
12361 (gst_value_deserialize_enum_iter_cmp),
12362 (gst_value_deserialize_enum):
12363 Fix serialisation/deserialisation of custom registered GstFormats.
12365 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12366 Unit test for custom format serialisation/deserialisation.
12368 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12370 * docs/pwg/building-boiler.xml:
12371 * plugins/elements/gstcapsfilter.c:
12372 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12375 2006-09-16 Edward Hervey <edward@fluendo.com>
12377 * libs/gst/base/gstbasetransform.c:
12378 (gst_base_transform_buffer_alloc):
12379 Check if requested caps are the same as the sinks caps IF
12380 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12382 This fixes the renegotiation issues stated in #352827.
12384 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12387 * docs/manual/advanced-autoplugging.xml:
12388 * tests/examples/Makefile.am:
12389 * tests/examples/manual/.cvsignore:
12390 * tests/examples/manual/Makefile.am:
12391 * tests/examples/manual/extract.pl:
12392 Extract the manual examples again like we used to do.
12395 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12397 * win32/common/config.h:
12400 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12403 Documents how to receive errors.
12405 2006-09-15 Wim Taymans <wim@fluendo.com>
12407 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12408 (event_loop), (main):
12409 Added some comments here and there.
12410 Post an application message when an interrupt is caught instead of doing
12411 an uncontrolled state change.
12412 Clean up the event loop.
12413 Handle buffering messages, pause/resume the pipeline.
12414 Make shutdown because of an interrupt more reliable.
12416 2006-09-15 Wim Taymans <wim@fluendo.com>
12418 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12419 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12420 (gst_base_sink_preroll_object):
12421 Make sure that our internal state is correct when we commit our state
12422 asynchronously. This solves a race where a state change to PLAYING
12423 could cause the sink to remain blocked in preroll in some situations.
12425 2006-09-15 Wim Taymans <wim@fluendo.com>
12427 * tools/gst-inspect.c: (print_element_properties_info),
12428 (print_signal_info):
12429 List flags as hex so it's easier to deal with.
12431 2006-09-15 Wim Taymans <wim@fluendo.com>
12433 * docs/libs/gstreamer-libs-sections.txt:
12434 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12435 (gst_base_sink_do_sync):
12436 * libs/gst/base/gstbasesink.h:
12437 Expose logic to wait for preroll so that subclasses such as audiosink
12438 can also use this method.
12439 API: gst_base_sink_wait_preroll()
12441 2006-09-15 Wim Taymans <wim@fluendo.com>
12443 * gst/gstobject.c: (gst_object_set_parent):
12444 * gst/gstpipeline.c: (do_pipeline_seek):
12445 Small cleanups in docs and code.
12447 * gst/gstsegment.c: (gst_segment_clip):
12448 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12449 if stop == start and start is in the segment, no clipping should be
12450 done. Also add a test for this.
12452 2006-09-15 Wim Taymans <wim@fluendo.com>
12454 * docs/design/part-buffering.txt:
12455 * docs/gst/gstreamer-sections.txt:
12456 * gst/gstmessage.c: (gst_message_new_buffering),
12457 (gst_message_parse_buffering):
12458 * gst/gstmessage.h:
12459 Added methods to create and parse BUFFERING messages.
12460 Added preliminary docs about buffering.
12461 API: gst_message_new_buffering
12462 API: gst_message_parse_buffering
12464 2006-09-06 Wim Taymans <wim@fluendo.com>
12467 Update documentation.
12469 * gst/gstelement.c: (gst_element_class_init),
12470 (gst_element_release_request_pad), (gst_element_set_clock),
12471 (gst_element_get_index), (gst_element_add_pad),
12472 (gst_element_remove_pad), (gst_element_get_random_pad),
12473 (gst_element_send_event), (gst_element_get_query_types),
12474 (gst_element_query), (gst_element_post_message),
12475 (gst_element_message_full), (gst_element_continue_state),
12476 (gst_element_lost_state), (gst_element_save_thyself),
12477 (gst_element_restore_thyself):
12478 Documentation updates.
12479 Rename last bit of the new-pad -> pad-added signal rename.
12480 Fix the case where an element query would only work if the source
12482 Avoid some useless type checking in message handling.
12487 Documentation updates.
12489 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12491 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12492 add an INFO line for when we actually update the fd
12494 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12499 === release 0.10.10 ===
12501 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12504 releasing 0.10.10, "Pais"
12506 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12508 * docs/manual/advanced-position.xml:
12509 Fix typo in sample code.
12511 2006-09-05 Wim Taymans <wim@fluendo.com>
12513 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12514 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12515 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12516 * libs/gst/net/gstnetclientclock.h:
12517 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12518 * libs/gst/net/gstnettimepacket.h:
12519 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12520 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12521 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12522 * libs/gst/net/gstnettimeprovider.h:
12523 Make stuff compile on windows. Fixes #345295.
12525 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12527 * gst/gst.c: (ensure_current_registry_forking):
12528 Print better details when child was terminated by signal.
12530 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12532 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12533 Print a warning rather than g_assert() if a plugin feature
12534 is a URI handler but returns no protocols (#353976).
12536 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12538 * docs/random/moving-plugins:
12541 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12543 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12544 Fix locking order, handle NULL function values properly.
12549 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12550 Initialise variable before using it and fix debug statement to
12551 print the address of the function rather than the address of the
12552 variable on the stack holding the address of the function.
12554 2006-09-01 Wim Taymans <wim@fluendo.com>
12556 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12557 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12558 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12559 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12560 (gst_ghost_pad_parent_unset),
12561 (gst_ghost_pad_internal_do_activate_push),
12562 (gst_ghost_pad_internal_do_activate_pull),
12563 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12564 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12565 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12566 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12567 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12568 (gst_ghost_pad_new_no_target_from_template),
12569 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12571 Avoid needless typechecking in macros.
12572 Since the internal pad is always present and never changes, there is
12573 no need to locking or ref when retrieving it.
12574 Improve debugging a bit.
12575 Handle link errors when setting the target. Fixes #341029.
12577 2006-09-01 Wim Taymans <wim@fluendo.com>
12579 * docs/libs/gstreamer-libs-sections.txt:
12580 * docs/plugins/gstreamer-plugins-sections.txt:
12581 Fix docs some more.
12583 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12584 (gst_collect_pads_event):
12585 * libs/gst/base/gstcollectpads.h:
12586 Documentation updates.
12587 Free queued buffer when removing a pad.
12589 2006-08-31 Michael Smith <msmith@fluendo.com>
12591 * gst/gstutils.c: (gst_element_link_pads),
12592 (gst_element_link_pads_filtered):
12593 Ensure that we set a capsfilter to NULL if we failed to link it
12594 when doing filtered linking, to avoid criticals.
12596 No need to check for unreffing srcpad, which is explicly NULLed
12597 above (a trivial code cleanup).
12599 2006-08-31 Wim Taymans <wim@fluendo.com>
12601 * docs/design/part-gstghostpad.txt:
12602 Update ascii art in documentation.
12604 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12605 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12606 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12607 (gst_ghost_pad_internal_do_activate_push),
12608 (gst_ghost_pad_internal_do_activate_pull),
12609 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12610 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12611 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12612 (gst_ghost_pad_set_target):
12613 Small cleanups and leak fixes.
12614 Remove some checks now that the internal pad is never NULL.
12615 Fix the case where linking pads without a target would create nasty
12616 criticals. Fixes #341029.
12617 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12618 value of _set_target().
12620 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12621 (gst_ghost_pad_suite):
12622 Some more tests for creating and linking untargeted ghostpads.
12624 2006-08-31 Edward Hervey <edward@fluendo.com>
12626 * docs/gst/gstreamer-sections.txt:
12627 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12628 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12629 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12630 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12631 (gst_ghost_pad_new_from_template),
12632 (gst_ghost_pad_new_no_target_from_template):
12633 * gst/gstghostpad.h:
12634 Refactored *_new() functions.
12635 Templates are now used as a g_object_new() parameter.
12636 Use template in _do_getcaps() if we don't have a target.
12637 Small documentation cleanups.
12638 Added two new constructors:
12639 gst_ghost_pad_new_from_template()
12640 gst_ghost_pad_new_no_target_from_template()
12641 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12642 (gst_ghost_pad_suite):
12643 Added tests for new ghostpad instanciation functions.
12645 API additions: gst_ghost_pad_new_from_template,
12646 gst_ghost_pad_new_no_target_from_template
12648 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12650 * docs/random/ensonic/profiling.txt:
12651 Ideas about qos profiling.
12653 2006-08-29 Wim Taymans <wim@fluendo.com>
12655 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12659 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12662 Improve and detypofy docs.
12664 * tests/check/Makefile.am:
12665 * tests/check/gst/.cvsignore:
12666 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12667 Add a basic test suite for GstXML.
12669 2006-08-29 Wim Taymans <wim@fluendo.com>
12671 * gst/gstelement.c: (activate_pads), (clear_caps),
12672 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12673 Clear the pad caps when the element shut down all of the pads and
12674 is not streaming data that could modify the caps.
12677 2006-08-28 Michael Smith <msmith@fluendo.com>
12679 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12680 Revert previous change; I misunderstood single-segment mode.
12682 2006-08-28 Michael Smith <msmith@fluendo.com>
12684 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12685 Unset DISCONT on buffers when using single-segment mode.
12687 2006-08-28 Wim Taymans <wim@fluendo.com>
12689 * gst/gstcaps.c: (gst_caps_merge_structure):
12691 Fix docs and indentation again.
12693 * tests/check/gst/gstquery.c: (GST_START_TEST):
12694 Fix leak in tests and add some more tests.
12696 2006-08-28 Edward Hervey <edward@fluendo.com>
12698 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12699 Inform GstSegment of the last stop position in order for the current
12700 segment to have a proper duration if it doesn't have a specific stop
12701 position from which a duration could be calculated.
12702 This bug was noticeable when a non-flushing, non-update new segment was
12703 followed by another segment (all buffers from the new segment were being
12706 2006-08-28 Wim Taymans <wim@fluendo.com>
12708 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12709 Small comment update.
12711 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12712 (gst_identity_transform_ip):
12713 Drop-probability is broken, mention this in the code with a
12714 FIXME and also in the property description.
12715 Make silent also be silent about the drop messages.
12717 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12719 * docs/manual/appendix-win32.xml:
12720 Remove mention of popt, we don't depend on that any
12721 longer (#353136). Add some comments pointing out that
12722 this section is slightly outdated.
12724 2006-08-28 Wim Taymans <wim@fluendo.com>
12726 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12728 * gst/gstquery.c: (gst_query_new_segment):
12729 * tests/check/gst/gstquery.c: (GST_START_TEST):
12730 Initialize variables when creating a new segment query.
12733 2006-08-28 Wim Taymans <wim@fluendo.com>
12735 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12737 * gst/gstelement.c: (gst_element_get_bus):
12738 * tests/check/gst/gstelement.c: (GST_START_TEST):
12739 Check for NULL before _reffing the bus. Fixes #353122.
12741 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12743 * docs/manual/basics-bus.xml:
12744 Docs update: fix wrong callback return value explanation; add
12745 some lines about the implicit relationship between main loop
12746 and main context; remove duplicate main loop variable declaration.
12748 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12750 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12751 Don't leak caps in unit test; add a few more simple
12754 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12756 * docs/gst/gstreamer-sections.txt:
12757 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12758 (gst_caps_structure_is_subset), (gst_caps_merge),
12759 (gst_caps_merge_structure):
12761 * libs/gst/base/gstbasetransform.c:
12762 (gst_base_transform_transform_caps):
12763 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12764 implement caps merging (fixes #352580)
12766 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12768 * tools/Makefile.am:
12769 * tools/gst-plot-timeline.py:
12770 add debug-log plotting developer tool (#340674)
12772 2006-08-23 Wim Taymans <wim@fluendo.com>
12774 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12775 (gst_pad_stop_task):
12776 Improve debugging for task functions.
12778 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12779 (gst_task_start), (gst_task_pause), (gst_task_join):
12780 Make sure that the task function started and finished after a
12782 Don't try to push the task function on the threadpool multiple
12784 Improve the g_warning message with some useful suggestions
12785 about how to fix the problem.
12787 2006-08-23 Wim Taymans <wim@fluendo.com>
12789 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12790 Handle RESYNC correctly in _proxy_getcaps.
12792 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12794 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12795 (gst_xml_parse_memory), (gst_xml_get_element):
12796 Chain up to parent class in dispose function and also
12797 unref the elements in the toplevel_elements GList.
12798 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12799 Always return a reference in gst_xml_get_element() rather
12800 than only sometimes.
12802 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12803 Don't leak GstXml object.
12805 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12807 * docs/gst/gstreamer-sections.txt:
12808 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12811 * libs/gst/base/gstbasetransform.c:
12812 (gst_base_transform_transform_caps):
12813 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12816 2006-08-21 Edward Hervey <edward@fluendo.com>
12818 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12819 Implement GObject::dispose virtual method in GstXML so we can free the
12820 top_elements GList.
12822 2006-08-21 Wim Taymans <wim@fluendo.com>
12824 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12825 (gst_buffer_create_sub):
12826 Copy duration/offset_end/caps when creating a subbuffer of the
12828 Make the subbuffer read-only when we make the metadata writable for
12829 now. Fixes #351768.
12831 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12832 Added check for metadata copy when creating subbuffers.
12834 2006-08-21 Edward Hervey <edward@fluendo.com>
12836 * libs/gst/base/gstbasetransform.c:
12837 (gst_base_transform_buffer_alloc):
12838 Only call downstream buffer_alloc if transform element is passthrough
12839 or always_in_place. Closes #350449.
12841 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12844 ChangeLog surgery to add comments to previous changes
12846 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12851 * gst/gstpad.c: (gst_pad_set_active):
12852 Be more verbose in the log
12854 * libs/gst/base/gstbasetransform.c:
12855 (gst_base_transform_transform_caps):
12856 Simplify caps to get rid of duplicates, fixes #345444
12858 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12862 Use these optimizations only internally.
12864 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12866 * gst/gstvalue.c: (gst_value_compare_list),
12867 (gst_value_compare_fraction_range),
12868 (gst_value_intersect_fraction_fraction_range),
12869 (gst_value_intersect_fraction_range_fraction_range),
12870 (gst_value_subtract_fraction_fraction_range),
12871 (gst_value_subtract_fraction_range_fraction_range),
12872 (gst_value_get_compare_func), (gst_value_compare),
12873 (gst_value_compare_with_func):
12875 Saves the expensive lookup of the compare function in many cases
12878 2006-08-18 Edward Hervey <edward@fluendo.com>
12880 * tests/check/gst/gstinfo.c: (gst_info_suite):
12881 Disable test that require gstdebug if it wasn't built in core.
12883 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12885 * docs/random/ensonic/logging.txt:
12888 * gst/gstinfo.c: (gst_debug_log_default):
12889 reorder fields, save some columns, add optional color codes for log
12892 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12894 * docs/random/ensonic/logging.txt:
12895 add ideas about making the logs a bit more useful
12897 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12899 * docs/pwg/advanced-events.xml:
12900 * docs/pwg/titlepage.xml:
12901 Update for 0.10 API (#340627). Add myself
12904 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12906 * docs/libs/gstreamer-libs-docs.sgml:
12907 * docs/libs/gstreamer-libs-sections.txt:
12908 * libs/gst/check/gstbufferstraw.c:
12909 Make gstcheck stuff show up in docs (still needs to
12910 be documented properly though).
12912 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12914 * docs/gst/gstreamer-sections.txt:
12916 * gst/gst.c: (init_post):
12917 * gst/gst_private.h:
12918 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12920 * gst/gstquery.c: (gst_query_new_position),
12921 (gst_query_set_position), (gst_query_parse_position),
12922 (gst_query_new_duration), (gst_query_set_duration),
12923 (gst_query_parse_duration), (gst_query_new_convert),
12924 (gst_query_set_convert), (gst_query_parse_convert),
12925 (gst_query_new_segment), (gst_query_set_segment),
12926 (gst_query_parse_segment), (gst_query_new_seeking),
12927 (gst_query_set_seeking), (gst_query_parse_seeking):
12928 Add internal helpers for pre-registering quarks from static strings
12929 and using the quark values directly instead of looking them up when
12930 creating and parsing queries. Can be used for event construction too.
12933 2006-08-16 Wim Taymans <wim@fluendo.com>
12938 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12940 * gst/gstutils.c: (gst_util_set_value_from_string):
12941 Fix memleak (#351502).
12943 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12944 Add unit test for most of gst_util_set_value_from_string()
12945 (not that one would want to encourage use of this function).
12947 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12949 * libs/gst/check/gstcheck.h:
12950 Use const gchar * variables in fail_unless_equals_string
12951 macro to avoid compiler warnings (and don't use tabs for
12954 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12956 * tools/gst-launch.c: (print_tag):
12957 More space on the left for the tag names, to cater
12958 for the 'extended comment' tag (not touching the
12959 string for the first line since it's translated).
12961 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12963 * libs/gst/check/gstcheck.h:
12964 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12965 print something when they fail.
12967 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12969 * docs/gst/gstreamer-sections.txt:
12970 * gst/gsttaglist.c: (_gst_tag_initialize):
12971 * gst/gsttaglist.h:
12972 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12973 Also change merge function for GST_TAG_COMMENT to
12976 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12978 * gst/gstinfo.c: (gst_debug_print_object):
12979 Make GST_PTR_FORMAT print messages as well.
12981 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12982 (GST_START_TEST), (gst_info_suite):
12985 2006-08-14 Edward Hervey <edward@fluendo.com>
12987 * gst/gstelementfactory.c: (gst_element_register):
12988 If the GstElementClass doesn't have a GstElementDetails with all fields
12989 filled up correctly (longname, description AND author), then error out
12990 nicely instead of crashing.
12992 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12994 * gst/gststructure.c:
12995 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12998 Expand on the difference between arrays and lists as we use them.
13000 2006-08-14 Wim Taymans <wim@fluendo.com>
13002 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13003 If the parent state change function failed, don't assume we can safely
13004 stop the source, this will be done when the pads are deactivated.
13006 2006-08-14 Wim Taymans <wim@fluendo.com>
13009 * gst/gsttask.c: (gst_task_join):
13012 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13013 (gst_pad_stop_task):
13014 When pad (de)activation failed for some reason, restore the old
13015 activation mode and set the pad to flushing instead of assuming the
13016 pad is deactivated.
13017 If the _task_join() failed, reinstall the task on the pad so that it can
13018 be stopped later and return an error.
13020 2006-08-11 Andy Wingo <wingo@pobox.com>
13023 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13024 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13025 is only for users of API that don't want to see deprecated
13026 functions in the headers; people that want to compile out
13027 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13028 CFLAGS. Fixes the build of multifdsink, or will soon..
13030 2006-08-11 Wim Taymans <wim@fluendo.com>
13032 * docs/gst/gstreamer-sections.txt:
13033 Add GstClockClass vmethod docs.
13036 Mark #endif with comment for associated #if
13038 * gst/gstclock.c: (gst_clock_id_wait):
13040 Add vmethod wait_jitter to avoid an unneeded _get_time() for
13041 most clock implementations.
13043 Flesh out docs about resolution methods.
13044 API: GstClockClass::wait_jitter
13046 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13047 (gst_system_clock_async_thread),
13048 (gst_system_clock_id_wait_jitter_unlocked),
13049 (gst_system_clock_id_wait_jitter):
13050 Use base class wait_jitter variant for improved performance
13051 due to less clock polling.
13053 2006-08-11 Edward Hervey <edward@fluendo.com>
13055 * gst/gst.c: (gst_init_check), (init_post):
13056 Set gst as being initialized before scanning/updating the registry,
13057 since there might be my python plugin loader that calls gst_init() and
13058 we don't want to loop back in.
13061 2006-08-11 Wim Taymans <wim@fluendo.com>
13063 * docs/design/part-qos.txt:
13064 Bring docs in line with the code. Mostly the sign of the jitter was
13065 wrong in the docs. Fixes #349943.
13068 Fix the docs for the jitter.
13070 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13071 (gst_event_parse_tag), (gst_event_new_buffer_size),
13072 (gst_event_parse_buffer_size), (gst_event_parse_qos),
13073 (gst_event_new_seek), (gst_event_parse_seek),
13074 (gst_event_new_navigation):
13075 Make sure the GstStructure has no parent when creating custom
13077 Add some more argument checking so that we avoid 0.0 rates.
13078 Flesh out the docs for the QoS event some more.
13080 2006-08-11 Wim Taymans <wim@fluendo.com>
13082 * docs/gst/gstreamer-sections.txt:
13083 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13084 (ensure_current_registry_forking), (ensure_current_registry),
13085 (parse_one_option), (parse_goption_arg), (gst_deinit),
13086 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13089 Added API and command line option to disable registry forking in
13090 addition to the environment variable.
13091 Constify some static arrays.
13092 Added some more debug.
13093 Don't deinit twice.
13094 API: gst_registry_fork_is_enabled()
13095 API: gst_registry_fork_set_enabled()
13096 API: --gst-disable-registry-fork command line option
13099 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
13101 * gst/gst.c: (gst_init):
13102 Fix typo in error message.
13104 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13106 * libs/gst/controller/gstcontroller.h:
13107 fix ABI size-correction
13109 * tests/check/libs/gdp.c: (gst_dp_suite):
13110 make tests that use deprecated API conditional
13112 2006-08-10 Stefan Kost <ensonic@users.sf.net>
13114 * docs/libs/gstreamer-libs-sections.txt:
13115 * libs/gst/controller/gstcontroller.c:
13116 (_gst_controller_get_property), (_gst_controller_set_property),
13117 (_gst_controller_init), (_gst_controller_class_init):
13118 * libs/gst/controller/gstcontroller.h:
13119 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13120 (gst_object_set_control_rate):
13121 API: add gst_object_{s,g}et_control_rate(), add private data section,
13124 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13125 * libs/gst/dataprotocol/dataprotocol.h:
13126 add deprecation guards to make gtk-doc happy and allow disabling cruft
13128 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13130 * tests/check/Makefile.am:
13131 * tests/check/gst/.cvsignore:
13132 Let's enable the new unit test as well.
13134 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13137 * docs/gst/gstreamer-sections.txt:
13138 * gst/gstconfig.h.in:
13139 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13140 (_gst_info_printf_extension_ptr),
13141 (_gst_info_printf_extension_segment):
13142 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13143 register that lets us easily dump GstSegments into debug
13146 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13147 (info_segment_format_printf_extension), (gst_info_suite):
13148 Add simple unit test that logs a bunch of different segments (not
13149 valgrinded at the moment because of leaks in
13150 gst_debug_add_log_function).
13152 2006-08-09 Edward Hervey <edward@fluendo.com>
13154 * libs/gst/base/gstbasetransform.c:
13155 (gst_base_transform_buffer_alloc):
13156 Even if we can't figure out the proper format to request downstream,
13157 call buffer_alloc() downstream with the input parameters without setting
13158 the caps on the srcpad. This will force negotiation in the chain
13162 2006-08-08 Edward Hervey <edward@fluendo.com>
13164 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13165 Unlinking from a pad without a target is now a perfectly valid case
13166 which should NOT raise an assertion.
13167 This case would happen if a linked ghostpad its target set to NULL after
13168 it was previously linked.
13170 2006-08-08 Edward Hervey <edward@fluendo.com>
13172 * tests/check/libs/gdp.c:
13173 Also comment out the test (see below).
13175 2006-08-08 Edward Hervey <edward@fluendo.com>
13177 * tests/check/libs/gdp.c: (gst_dp_suite):
13178 Use the architecture information from config.h and not gcc macros
13179 in order to properly disable a test that fails on PPC64.
13181 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13183 * gst/gstelement.c: (gst_element_remove_pad):
13184 Don't crash printing the warning if the pad has no parent.
13186 2006-08-02 Wim Taymans <wim@fluendo.com>
13188 * libs/gst/dataprotocol/dataprotocol.c:
13189 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13190 (gst_dp_crc), (gst_dp_header_payload_length),
13191 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13192 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13193 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13194 (gst_dp_event_from_packet), (gst_dp_validate_header),
13195 (gst_dp_validate_payload):
13196 Make debug category static
13197 Constify the crc table.
13198 Do some more arg checking in public functions.
13199 Fix some docs and do some small cleanups.
13201 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13202 Add some more checks to see if GDP deals with bogus input.
13204 2006-07-31 Wim Taymans <wim@fluendo.com>
13206 * gst/gstvalue.c: (gst_value_compare_list):
13207 Fix GstValueList comparison code. Fixes #347293.
13209 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13210 Check to test GstValueList comparison.
13212 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13214 * gst/gstelementfactory.c: (gst_element_factory_create):
13215 Remove unnecessary ref/unref pair
13217 * gst/parse/grammar.y:
13218 Make sure to free the parse buffer on all code paths.
13219 Move a g_free up to the error handler where it's easier to see.
13221 * tests/check/gst/gstevent.c: (test_event):
13222 Extending timeout for downstream travelling events to 10 seconds to
13223 hopefully avoid intermittent failure on the buildbots.
13225 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13226 Don't manually set the state of the src element - it will happen as a
13227 natural consequence of the pipeline changing state, and that way it
13228 will do it in the right order too.
13230 2006-07-31 Wim Taymans <wim@fluendo.com>
13232 * libs/gst/base/gstbasetransform.c:
13233 (gst_base_transform_buffer_alloc):
13234 Use OBJECT_LOCK and refcounting to get the pad caps in the
13235 buffer_alloc function because the caps could change while we are
13236 busy with them. Fixes #349105
13238 2006-07-31 Wim Taymans <wim@fluendo.com>
13240 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13241 Protect _PAD_CAPS with OBJECT_LOCK.
13243 2006-07-31 Wim Taymans <wim@fluendo.com>
13245 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13246 (gst_pad_get_property), (gst_pad_activate_pull),
13247 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13248 (gst_pad_set_activate_function),
13249 (gst_pad_set_activatepull_function),
13250 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13251 (gst_pad_set_getrange_function),
13252 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13253 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13254 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13255 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13256 (gst_pad_set_acceptcaps_function),
13257 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13258 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13259 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13260 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13261 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13262 (gst_pad_configure_sink), (gst_pad_configure_src),
13263 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13264 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13265 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13266 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13267 (gst_pad_send_event):
13268 Use _DEBUG_OBJECT when it makes sense.
13269 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13270 Small cleanups and code reflows.
13271 Avoid caps refcounting in _accept_caps.
13272 Refactor alloc_buffer so that the code performed on the peer is in a
13273 separate function. Also if the pad does not implement a buffer alloc
13274 function, we should still check if the pad is flushing before falling
13275 back to the default allocator.
13277 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13279 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13280 Make all uses of identity and fakesink have silent=true to avoid
13281 serialising every passing data structure, which is breaking tests
13282 on FC4 for some unknown reason.
13284 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13286 * gst/parse/Makefile.am:
13287 * gst/parse/grammar.y:
13288 * gst/parse/parse.l:
13289 Reverted previous patch as it required to bump the flex dependency to
13290 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13292 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13294 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13296 * gst/parse/Makefile.am:
13297 * gst/parse/grammar.y:
13298 * gst/parse/parse.l:
13299 push & pop the state of the lexer for reentrant use case
13302 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13304 * libs/gst/base/gstbasesrc.h:
13305 Note in the docs that the ::newsegment vfunc is not actually used by
13308 2006-07-28 Wim Taymans <wim@fluendo.com>
13310 * libs/gst/base/gstcollectpads.c:
13311 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13312 (gst_collect_pads_clear), (gst_collect_pads_flush),
13313 (gst_collect_pads_event), (gst_collect_pads_chain):
13314 When flushing a pad, also clear the queued buffer so that we don't
13315 accidentally use it when we shouldn't.
13316 Fix leaks by inreffing incomming buffer.
13317 Flush out queued buffers in case of errors.
13320 2006-07-28 Wim Taymans <wim@fluendo.com>
13322 * docs/random/phonon-gst:
13323 Random notes about a Phonon backend.
13325 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13327 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13329 * tests/check/libs/gdp.c: (gst_dp_suite):
13330 Take a whack at fixing the ppc compile using a different define to
13331 disable the broken test.
13333 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13334 Remove excess g_print()
13336 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13338 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13339 Oops, meant to uncomment this line too to dampen the noise a bit.
13341 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13343 * gst/parse/grammar.y:
13344 * gst/parse/parse.l:
13345 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13346 (GST_START_TEST), (parse_suite):
13347 Fix some of the leaks exposed by extending the parse-launch testsuite,
13348 and move the 3 I can't figure out into a separate test that won't run
13349 the pipelines unless the appropriate line is uncommented.
13351 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13353 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13354 Requesting 0 bytes before the end of the file should result in
13355 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13358 2006-07-27 Wim Taymans <wim@fluendo.com>
13360 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13361 Fix useless assert, a uint is always positive.
13363 * gst/gststructure.c: (gst_structure_nth_field_name),
13364 (gst_structure_foreach), (gst_structure_map_in_place):
13365 Check input arguments for public functions to avoid obvious crashes.
13367 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13368 * plugins/elements/gstfakesink.h:
13369 Do less useless typechecking.
13371 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13373 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13374 Do not use mmap() by default since there are a number of error
13375 conditions that we would like to handle in a non-fatal way that
13376 will result in a SIGBUS if we use mmap(). Examples: external
13377 devices (USB harddrive, portable music player) being unplugged
13378 while in use; file on mounted CD/DVD that can't be read because
13379 the medium is partly damaged. Fixes #348455 and #348475.
13381 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13384 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13385 rates are a gdouble
13387 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13389 * gst/gstregistry.c:
13390 Move big documentation comment into class section header, so that it
13391 appears in the API docs.
13393 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13395 * docs/gst/gstreamer-sections.txt:
13396 Oops. Commit the docs additions too for new API.
13397 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13399 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13401 * gst/gststructure.c: (gst_structure_id_set),
13402 (gst_structure_id_set_valist):
13403 * gst/gststructure.h:
13404 Add API for setting values into structures without performing
13405 a quark lookup, if the appropriate quark is already known.
13407 API: gst_structure_id_set
13408 API: gst_structure_id_set_valist
13410 * gst/parse/grammar.y:
13411 * gst/parse/parse.l:
13412 Remove some dead code shown by the coverage information.
13413 Don't throw a critical g_warning when encountering a syntax error,
13414 just warn and let the normal error path handle it.
13416 * plugins/elements/gstelements.c:
13417 Bump the rank of filesink up to PRIMARY so that it is preferred over
13418 gnomevfssink for file:// sink uri's
13420 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13421 (GST_START_TEST), (run_delayed_test),
13422 (gst_parse_test_element_base_init),
13423 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13424 (gst_parse_test_element_change_state),
13425 (gst_register_parse_element), (parse_suite):
13426 Beef up the tests for parse syntax to check that more error cases
13427 fail as they are supposed to. Increases the test coverage a bit.
13429 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13431 * docs/manual/basics-elements.xml:
13432 Fix gst_element_link() example.
13435 Mention in API docs that one should usually gst_bin_add()
13436 elements to a bin or pipeline before doing the linking.
13438 2006-07-26 Wim Taymans <wim@fluendo.com>
13440 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13441 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13442 Avoid function call for known types by keeping the buffer and
13443 subbuffer GType global.
13445 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13446 Random silly optimisations in read() path.
13448 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13450 * tools/gst-launch.c: (main):
13451 If the top-level of the parse is a normal bin, it doesn't do the
13452 right logic to run as a top-level element, so place it inside a
13455 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13457 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13458 Remove superfluous g_object_notify() calls, GObject does
13459 that for us automatically.
13461 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13464 on Win32, use dllspec to export the debug category symbols
13466 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13468 * gst/gsttaglist.c: (_gst_tag_initialize):
13469 Allow more than one GST_TAG_IMAGE per taglist.
13471 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13473 * gst/gstminiobject.c:
13475 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13476 (gst_fd_src_create):
13477 log recurring events at LOG level
13478 add more debug for when the fd gets set
13480 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13482 * gst/gstparse.c: (gst_parse_launch):
13483 Also remove reentrance checks if flex is MT safe (#348179)
13484 Fix my empty ChangeLog entry below
13486 2006-07-21 Andy Wingo <wingo@pobox.com>
13488 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13490 * libs/gst/check/Makefile.am
13491 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13492 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13493 * libs/gst/check/gstbufferstraw.h:
13494 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13495 functions, thus proving I am still a GStreamer haxor. OK I wrote
13496 them a long time ago, but anyways.
13498 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13501 * gst/gstparse.c: (gst_parse_launch):
13502 Check for flex version and omit mutex if we have a MT save flex
13505 2006-07-21 Wim Taymans <wim@fluendo.com>
13507 * gst/gstparse.c: (gst_parse_launch):
13508 Protect recursive calls to _parse with a recursive mutex
13511 2006-07-21 Wim Taymans <wim@fluendo.com>
13513 * tests/check/gst/gstpad.c: (GST_START_TEST):
13516 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13518 * gst/gstparse.c: (gst_parse_launch):
13519 Do not hang on recursive usage of gst_parse_launch()
13521 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13523 * gst/gsttaglist.c:
13524 Add some more docs, comments and FIXME 0.11s here and there
13525 and also fix some typos.
13527 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13529 * gst/gstsegment.h:
13530 Convert tabs to spaces for better readability.
13532 2006-07-20 Edward Hervey <edward@fluendo.com>
13534 * tests/check/libs/gdp.c: (gst_dp_suite):
13535 the test_buffer test fails at line 140 on ppc64 at the following
13537 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13538 GST_BUFFER_FLAG_IN_CAPS),
13539 "GST_BUFFER_IN_CAPS flag should have been copied !");
13540 See bug #348114 for more details.
13542 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13544 * docs/pwg/advanced-scheduling.xml:
13546 Fix typos (#348000).
13548 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13550 * docs/pwg/intro-basics.xml:
13551 Fix wrong links (#347927).
13553 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13555 * gst/gstregistry.h:
13556 * gst/gstregistryxml.c: (load_feature),
13557 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13558 * win32/common/config.h:
13559 make --disable-index work (#342564)
13561 2006-07-18 Wim Taymans <wim@fluendo.com>
13563 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13567 The attached patch adds two missing defines to gsttrace.h when tracing
13568 is disabled. It also corrects one existing define.
13571 2006-07-17 Wim Taymans <wim@fluendo.com>
13573 * docs/gst/gstreamer-sections.txt:
13574 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13576 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13577 Add two functions to check and change the SIGSEGV behaviour
13578 when loading plugins.
13579 Don't mess with the SIGSEGV handler when we were told not to.
13581 API: gst_segtrap_is_enabled
13582 API: gst_segtrap_set_enabled
13584 2006-07-14 Wim Taymans <wim@fluendo.com>
13586 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13587 * tests/check/elements/filesrc.c: (GST_START_TEST):
13588 Revert fix for regression in #347408 after release.
13590 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13592 Patch by: Antoine Tremblay <hexa00 at gmail com>
13594 * gst/gstutils.c: (gst_element_unlink):
13595 Free iterator when done (#347311).
13597 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13598 And add a test case for this.
13600 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13603 Bump nano back to CVS
13605 === release 0.10.9 ===
13607 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13610 releasing 0.10.9, "On the road again"
13612 2006-07-13 Wim Taymans <wim@fluendo.com>
13614 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13615 * tests/check/elements/filesrc.c: (GST_START_TEST):
13616 Revert pull-0 fix for release. Disable check. Fixes #347408.
13618 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13620 * libs/gst/dataprotocol/dataprotocol.c:
13621 (gst_dp_event_from_packet_1_0):
13622 Fixes #347337: failure to deserialize event packets with
13623 empty payload (only event type)
13625 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13628 do not install a .c file in the header directory
13630 2006-07-13 Edward Hervey <edward@fluendo.com>
13632 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13633 GhostPad no longer implicitely use the padtemplates of the targets.
13636 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13638 * gst/gstvalue.c: (gst_value_compare_list),
13639 (gst_value_compare_array), (_gst_value_initialize):
13640 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13641 Make GstValueArray comparison be order dependent as designed.
13642 Add checks for value lists and value array comparisons.
13645 2006-07-11 Edward Hervey <edward@fluendo.com>
13647 * gst/gstbin.c: (activate_pads),
13648 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13649 (gst_bin_change_state_func):
13650 (de)activate src pads before calling state_change on the childs.
13651 This is to avoid the case where a src ghostpad is blocked (holding the
13652 stream lock), which would block the deactivation of the ghostpad's
13654 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13655 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13656 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13657 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13658 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13659 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13660 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13661 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13662 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13663 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13664 (gst_ghost_pad_class_init),
13665 (gst_ghost_pad_internal_do_activate_push),
13666 (gst_ghost_pad_internal_do_activate_pull),
13667 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13668 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13669 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13670 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13671 GhostPads now create their internal GstProxyPad at creation (and not
13672 when they're linked, as it was being done previously).
13673 The internal and target pads are linked straight away.
13674 The data will also travel through the other pad in order to make
13675 pad blocking and probes non-hackish (the probe/block now really happens
13676 on the GhostPad and not on the target).
13677 * gst/gstpad.c: (gst_pad_set_blocked_async),
13678 (gst_pad_link_prepare), (gst_pad_push_event):
13679 Remove previous ghostpad cruft.
13680 * gst/gstutils.c: (gst_pad_add_data_probe),
13681 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13682 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13683 (gst_pad_remove_buffer_probe):
13684 Remove previous ghost pad cruft.
13685 Added more detailed debug statements.
13686 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13687 Fix the testsuite for refcounting changes.
13688 The comments about who has references were correct, but the refcount
13689 being checked wasn't the same (!?!).
13693 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13695 * docs/gst/gstreamer-sections.txt:
13696 * gst/gstconfig.h.in:
13697 More docs for configuration options, add docs to gtk-doc.
13699 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13702 * gst/gstconfig.h.in:
13703 * win32/common/config.h:
13704 Fix build when disabling tracing (fixes #344016). Also start to document
13705 the defines that disable the sub-systems.
13707 2006-07-10 Edward Hervey <edward@fluendo.com>
13709 * gst/gst.c: (ensure_current_registry_forking):
13710 let's make valgrind happy...
13712 2006-07-09 Wim Taymans <wim@fluendo.com>
13714 * gst/gstelement.c: (activate_pads),
13715 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13716 Better pad activation code: Reset the collect value too on resync.
13719 2006-07-09 Wim Taymans <wim@fluendo.com>
13721 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13722 (gst_pad_activate_push):
13723 Use some more macros where it makes sense.
13724 Allow pad mode switching instead of asserting. When a pad
13725 is activated in one mode and we activate it in another,
13726 deactivate it first before activating it in a different mode.
13729 2006-07-08 Andy Wingo <wingo@pobox.com>
13731 * tools/gst-launch.c (main): Handle err == NULL.
13733 * gst/gst.c (init_post, ensure_current_registry)
13734 (ensure_current_registry_forking)
13735 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13736 factoring out the registry scanning into separate functions. Don't
13737 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13738 Better environment var name/interface suggestions accepted.
13740 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13742 * gst/gstobject.c: (gst_object_set_name_default),
13743 (gst_object_set_name):
13744 Random micro-optimisation: don't use a hash table
13745 with strings as keys and the usual strdup/strcmp
13746 involved, but rather just use the GQuark of the
13747 type name as key, since it needs to be looked up
13748 anyway to get the type name string.
13750 * tests/check/gst/gstobject.c: (GST_START_TEST):
13753 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13755 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13756 (gst_bin_iterate_all_by_interface):
13757 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13758 GTypes are gulongs and thus the top 4 bytes might be cut
13759 off on some platforms when doing GPOINTER_TO_INT, leading
13760 to invalid GTypes and bad things happening (see RH bug #179654).
13761 Also add a check to make sure the type passed in is really
13764 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13769 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13773 * gst-element-check.m4:
13774 * gst-element-check.m4.in:
13775 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13776 instead of the unversioned gst-inspect (#324176, #168659).
13778 2006-07-06 Wim Taymans <wim@fluendo.com>
13780 * gst/gstmessage.h:
13781 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13784 2006-07-06 Wim Taymans <wim@fluendo.com>
13786 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13787 (gst_base_src_wait), (gst_base_src_update_length),
13788 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13789 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13790 (gst_base_src_loop), (gst_base_src_start),
13791 (gst_base_src_activate_pull):
13793 blocksize == 0 now means the default blocksize when working in push
13795 Remove some pointless asserts in _wait function.
13796 Fix offset/length calculations and EOS handling. We can now pull 0
13797 bytes as well, which is allowed.
13798 use _check_get_range() to decide if we can operate in _pull based
13800 Fix refcounting leak when check_get_range function was not
13802 API GstBaseSrc::blocksize range can be 0 too now (default)
13804 * tests/check/elements/filesrc.c: (GST_START_TEST),
13806 Added check to test _get_range() behaviour.
13808 2006-07-06 Wim Taymans <wim@fluendo.com>
13810 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13811 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13812 (gst_pad_pull_range):
13814 Lots of comments and docs added to the pad functions.
13815 Flesh out the expected behaviour of the get_range() functions.
13817 2006-07-06 Wim Taymans <wim@fluendo.com>
13822 * gst/gstiterator.h:
13826 Remove comma at end of enumerator list.
13828 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13830 * win32/common/libgstbase.def:
13831 * win32/common/libgstdataprotocol.def:
13832 * win32/common/libsgtreamer.def:
13833 Add new exported functions.
13835 2006-07-05 Wim Taymans <wim@fluendo.com>
13837 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13838 Add some more docs here and there.
13840 2006-07-05 Wim Taymans <wim@fluendo.com>
13842 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13843 (gst_base_sink_loop), (gst_base_sink_get_position):
13844 When operating in pull mode update the offset so that we
13847 2006-07-05 Wim Taymans <wim@fluendo.com>
13849 * gst/gstregistryxml.c: (read_string):
13850 Avoid strdup. (will happen in libxml, but hey!)
13853 Add some more docs.
13855 2006-07-05 Wim Taymans <wim@fluendo.com>
13857 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13858 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13859 (gst_buffer_suite):
13860 No point in checking if the size of the subbuffer > 0, the
13861 code handles it correclty as demonstrated by unit test.
13862 Also add a unit test for the zero sized _new_and_alloc and
13863 _copy. Fixes #346663.
13865 2006-07-05 Wim Taymans <wim@fluendo.com>
13867 * libs/gst/base/gstbasetransform.c:
13868 (gst_base_transform_prepare_output_buffer),
13869 (gst_base_transform_buffer_alloc),
13870 (gst_base_transform_handle_buffer):
13871 Make sure the buffer we pass to transform_ip has a refcount of
13872 1 and thus is writable. Fixes #343196
13874 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13876 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13877 (gst_file_src_init), (gst_file_src_set_property),
13878 (gst_file_src_get_property), (gst_file_src_map_region):
13879 * plugins/elements/gstfilesrc.h:
13880 Add "sequential" property, off by default, to use madvise and hint
13881 to the kernel that sequential access is desired.
13882 Touch all retrieved pages by default to ensure they are pulled
13883 into memory. (Closes #345720)
13885 2006-07-03 Wim Taymans <wim@fluendo.com>
13887 * docs/design/part-block.txt:
13888 * docs/design/part-dynamic.txt:
13889 Small docs updates.
13891 2006-07-03 Wim Taymans <wim@fluendo.com>
13893 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13894 (gst_caps_unref), (gst_static_caps_get),
13895 (gst_caps_append_structure):
13896 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13897 Use GSlice when the glib we build against is >= 2.10
13899 2006-07-03 Wim Taymans <wim@fluendo.com>
13901 * gst/gstelement.c: (gst_element_pads_activate):
13902 Small cleanup in pad activation code.
13904 2006-07-03 Wim Taymans <wim@fluendo.com>
13906 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13908 * gst/gst-i18n-app.h:
13909 * gst/gst-i18n-lib.h:
13910 * tools/gst-inspect.c: (print_signal_info):
13911 The attached patch will make the inclusion of gettext.h unconditional in
13912 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13913 libintl.h in tools/gst-inspect.c.
13914 This allows use of --disable-nls again and fixes #344642.
13916 2006-07-03 Edward Hervey <edward@fluendo.com>
13918 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13919 Implement pad blocking on events according to part-block.txt.
13920 More comments on behaviour.
13921 * tests/check/gst/gstevent.c: (test_event):
13922 Send event to peer pad of blocked pad (else it will block).
13924 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13926 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13927 (gst_check_run_suite):
13928 if we get the wrong message, give us the types as string
13929 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13931 * tests/check/elements/filesrc.c: (GST_START_TEST):
13932 add a test for trying to open a non-existing file
13934 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13936 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13937 add a test for adding self
13939 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13941 * libs/gst/check/gstcheck.h:
13942 add some assert_ as alias for fail_unless_*
13943 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13944 increase test coverage
13946 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13949 include lcov.mak for lcov coverage generation
13950 * tools/Makefile.am:
13953 2006-07-02 Edward Hervey <edward@fluendo.com>
13955 * tests/check/elements/.cvsignore:
13958 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13961 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13962 * tests/check/Makefile.am:
13963 clean up gcov files
13965 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13967 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13968 remove gst_caps_simplify; it was not declared and not used
13969 and deprecated in 0.8
13971 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13973 * docs/faq/gst-uninstalled:
13974 don't put empty paths on PYTHONPATH
13975 * docs/gst/gstreamer-sections.txt:
13976 remove some symbols that are not there
13978 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13980 * gst/gstcaps.c: (gst_caps_compare_structures):
13982 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13983 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13986 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13988 * libs/gst/dataprotocol/Makefile.am:
13989 build dataprotocol test by linking to the lib, instead of
13990 compiling the source, so we get coverage
13991 * tests/check/Makefile.am:
13992 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13993 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13994 add a test for filesrc
13996 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13998 * tests/check/gst/gststructure.c: (GST_START_TEST),
13999 (gst_structure_suite):
14000 Push coverage from 59.04% to 70.00%
14002 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14004 * tests/check/Makefile.am:
14005 gst-inspect every element; this makes sure that we also get
14006 coverage on element's get/set functions
14008 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
14011 set CFLAGS and friends to -O0 if gcov is being used
14014 * libs/gst/base/Makefile.am:
14015 * libs/gst/check/Makefile.am:
14016 * libs/gst/controller/Makefile.am:
14017 * libs/gst/dataprotocol/Makefile.am:
14018 * libs/gst/net/Makefile.am:
14019 * plugins/elements/Makefile.am:
14020 * plugins/indexers/Makefile.am:
14021 add makefile rules to generate gcov data and clean up
14022 * tests/check/Makefile.am:
14023 add a coverage target that generates an html overview
14026 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14028 * tests/check/elements/fakesink.c:
14029 * tests/check/elements/fakesrc.c:
14030 * tests/check/elements/fdsrc.c:
14031 * tests/check/elements/identity.c:
14032 * tests/check/generic/sinks.c: (gst_sinks_suite):
14033 * tests/check/generic/states.c:
14034 * tests/check/gst/gst.c:
14035 * tests/check/gst/gstabi.c:
14036 * tests/check/gst/gstbin.c:
14037 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14038 * tests/check/gst/gstbus.c: (gst_bus_suite):
14039 * tests/check/gst/gstcaps.c: (GST_START_TEST):
14040 * tests/check/gst/gstelement.c:
14041 * tests/check/gst/gstevent.c: (gst_event_suite):
14042 * tests/check/gst/gstghostpad.c:
14043 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14044 * tests/check/gst/gstmessage.c: (gst_message_suite):
14045 * tests/check/gst/gstminiobject.c:
14046 * tests/check/gst/gstobject.c:
14047 * tests/check/gst/gstpad.c:
14048 * tests/check/gst/gstpipeline.c:
14049 * tests/check/gst/gstplugin.c:
14050 * tests/check/gst/gstquery.c: (gst_query_suite):
14051 * tests/check/gst/gstsegment.c: (gst_segment_suite):
14052 * tests/check/gst/gststructure.c:
14053 * tests/check/gst/gstsystemclock.c:
14054 * tests/check/gst/gsttag.c:
14055 * tests/check/gst/gsttask.c: (gst_task_suite):
14056 * tests/check/gst/gstutils.c:
14057 * tests/check/gst/gstvalue.c:
14058 * tests/check/libs/adapter.c:
14059 * tests/check/libs/basesrc.c:
14060 * tests/check/libs/collectpads.c:
14061 * tests/check/libs/controller.c:
14062 * tests/check/libs/gdp.c: (gst_dp_suite):
14063 * tests/check/libs/gstnetclientclock.c:
14064 * tests/check/libs/gstnettimeprovider.c:
14065 * tests/check/libs/libsabi.c: (libsabi_suite):
14066 * tests/check/libs/typefindhelper.c:
14067 * tests/check/pipelines/cleanup.c:
14068 * tests/check/pipelines/parse-launch.c:
14069 * tests/check/pipelines/simple-launch-lines.c:
14070 * tests/check/pipelines/stress.c: (stress_suite):
14073 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
14075 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14076 * libs/gst/check/gstcheck.h:
14077 create a macro and function so that the simple unit test
14078 case can be just one macro to create main()
14080 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
14082 * gst/gstbin.c: (gst_bin_restore_thyself):
14083 * gst/gstxml.c: (gst_xml_make_element):
14084 Fix deserialisation from XML. Set parent manually
14085 instead of using gst_bin_add(), since gst_bin_add()
14086 will unlink all pads of the element being added.
14089 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
14091 Patch by: Peter Kjellerstedt <pkj at axis com>
14093 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14094 Fix missing g_strdup() and double free when using the
14095 --gst-plugin-load command line option (#346097).
14097 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14100 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14102 * libs/gst/net/gstnetclientclock.c:
14103 * libs/gst/net/gstnettimeprovider.c:
14104 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14106 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
14108 * docs/manual/advanced-dataaccess.xml:
14109 Fix buffer probe example compilation in
14112 2006-06-22 Edward Hervey <edward@fluendo.com>
14114 * gst/gstelement.c: (gst_element_pads_activate):
14115 We need to deactivate src pads first and then sink pads.
14116 The reason is the src pads might be blocking while holding the streaming
14117 lock, so we need to deactivate them first so that deactivating the sink
14118 pads doesn't block (since it will require the streaming lock).
14120 2006-06-22 Wim Taymans <wim@fluendo.com>
14122 * libs/gst/base/gstbasetransform.c:
14123 (gst_base_transform_buffer_alloc):
14124 Forgot to remove two unneeded unrefs.
14125 Simplify a check _is_equal allready checks the obvious case.
14127 2006-06-22 Wim Taymans <wim@fluendo.com>
14129 * docs/design/part-block.txt:
14130 Some docs about what pad_block should do.
14132 2006-06-22 Wim Taymans <wim@fluendo.com>
14134 * gst/gstcaps.c: (gst_caps_replace):
14135 Fix crasher when passed NULL. Doc clarification.
14136 Optimize for the trivial case.
14138 * gst/gstpipeline.c: (gst_pipeline_change_state):
14141 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14142 Small documentation cleanup.
14144 * libs/gst/base/gstbasetransform.c:
14145 (gst_base_transform_buffer_alloc):
14146 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14147 is what we need and it avoids a whole lot of redundant
14148 refcount operations.
14150 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14152 Patch by: Philip Jägenstedt <philip at lysator liu se>
14154 * docs/manual/advanced-dataaccess.xml:
14155 Fix 'Embedding static elements' section to use
14156 GST_PLUGIN_DEFINE_STATIC (#345607).
14158 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14160 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14161 Attempt to 'fix' spuriously failing test case: it seems like the
14162 timeout of half a second is simply too small when the system is under
14163 load otherwise, and the timeout doesn't really seem to serve any
14164 particular purpose here. Give the pipeline a few seconds to preroll
14165 first, and then give it another half a second to go from PAUSED to
14166 PLAYING and marshal the message into the main thread.
14168 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14170 * tools/gst-feedback-m.m:
14171 Don't only use unversioned tools, try versioned tools as well
14174 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14176 * gst/gstbus.c: (gst_bus_class_init):
14177 Fix some typos, make docs more explicit.
14179 2006-06-20 Wim Taymans <wim@fluendo.com>
14181 * tests/check/gst/gstghostpad.c: (block_callback),
14182 (GST_START_TEST), (gst_ghost_pad_suite):
14183 Added some more ghostpad tests, mainly blocking
14186 2006-06-16 Wim Taymans <wim@fluendo.com>
14188 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14189 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14190 (gst_file_sink_event), (gst_file_sink_render):
14191 * plugins/elements/gstfilesink.h:
14192 Check if we can seek in the file instead of assuming
14193 we always can. Post an error when we are asked to seek in a
14194 non-seekable file (like a fifo). Fixes #343312.
14197 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14199 * tools/gst-launch.1.in:
14200 Un-garble (fourcc) bit in filtered caps section.
14202 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14204 * docs/manual/advanced-autoplugging.xml:
14205 * docs/manual/basics-helloworld.xml:
14206 * docs/manual/highlevel-components.xml:
14207 Don't leak bus reference in sample code.
14209 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14212 Add default for new --enable-plugin-docs switch.
14215 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14218 * docs/Makefile.am:
14219 Use new ENABLE_PLUGIN_DOCS conditional.
14221 2006-06-14 Wim Taymans <wim@fluendo.com>
14223 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14224 Make it clear with a FIXME and a real define what the #if 0
14225 previously disabled.
14227 2006-06-14 Wim Taymans <wim@fluendo.com>
14229 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14230 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14231 * libs/gst/base/gstbasetransform.c:
14232 (gst_base_transform_sink_eventfunc):
14233 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14234 Don't randomly and silently reset a segment when the format
14235 changes as this is a bug somewhere upstream. Fixes #330379.
14237 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14239 Patch by: Wouter Paesen <wouter at kangaroot net>
14241 * libs/gst/controller/gstcontroller.c:
14242 (gst_controlled_property_new):
14243 Fix controlling of float properties (#344849).
14245 * tests/check/libs/controller.c:
14246 (gst_test_mono_source_get_property),
14247 (gst_test_mono_source_set_property),
14248 (gst_test_mono_source_class_init), (GST_START_TEST):
14249 While we're at it, add some float stuff to unit test.
14251 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14254 * docs/images/gdp-header.svg:
14256 * docs/libs/Makefile.am:
14257 * docs/libs/gdp-header.png:
14258 * libs/gst/dataprotocol/dataprotocol.c:
14259 add it to the API docs
14260 * docs/manual/intro-motivation.xml:
14263 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14265 * gst/gst.c: (scan_and_update_registry), (init_post):
14266 If the fork()'ed child process can't write the updated registry cache
14267 file to disk for some reason, make it exit with a failure exit code,
14268 so that the parent can then re-scan the plugins itself and update the
14269 registry structures in memory and work with that (rather than failing
14270 when creating elements because seemingly no plugins are available).
14271 Refactor registry scanning code into separate function for this and
14272 also separate fork() and non-fork() code paths. Fixes #344748.
14274 2006-06-13 Wim Taymans <wim@fluendo.com>
14276 * docs/manual/advanced-dataaccess.xml:
14277 Fix wrong PluginDesc. Fixes #344755.
14279 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14281 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14282 Fix silly bug that prevented us from creating
14283 ~/.gstreamer-0.10 and writing the registry in one
14284 go (the first call to g_mkstemp() would overwrite the
14285 placeholder in the template string, so the second call
14286 to g_mkstemp() after creating the missing directory
14287 would then error out with 'invalid argument').
14289 2006-06-13 Edward Hervey <edward@fluendo.com>
14291 * gst/gst.c: (init_post):
14294 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14296 * gst/glib-compat-private.h:
14297 * gst/glib-compat.c:
14298 * gst/glib-compat.h:
14299 * gst/gstvalue.c: (gst_value_serialize_flags):
14300 remove GLib 2.6 compatibility code
14302 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14304 * gst/parse/Makefile.am:
14305 Fix build with 'make -j N' even more (#340016).
14307 2006-06-12 Wim Taymans <wim@fluendo.com>
14309 * docs/gst/gstreamer-sections.txt:
14312 2006-06-12 Wim Taymans <wim@fluendo.com>
14314 * gst/gstsegment.c: (gst_segment_set_duration),
14315 (gst_segment_set_last_stop), (gst_segment_set_seek),
14316 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14317 (gst_segment_to_running_time), (gst_segment_clip):
14318 Use G_UNLIKELY to help the compiler a bit.
14320 2006-06-12 Wim Taymans <wim@fluendo.com>
14322 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14324 * gst/gstevent.c: (gst_event_get_type):
14325 * gst/gstmessage.c:
14326 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14328 constify quark registration strings. Fixes #344115
14329 Avoid unneeded type checking is _pad_push() by internally
14330 calling gst_pad_chain_unchecked().
14332 2006-06-12 Wim Taymans <wim@fluendo.com>
14334 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14335 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14336 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14337 (gst_buffer_is_span_fast), (gst_buffer_span):
14338 Init _type for consistency.
14339 Use _FLAGS macro to avoid type check.
14340 Avoid unneeded type checks in subbufer code.
14342 2006-06-12 Wim Taymans <wim@fluendo.com>
14344 * gst/gst.c: (gst_debug_help):
14345 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14346 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14347 (gst_plugin_feature_list_free):
14348 * gst/gstregistry.c: (gst_registry_add_plugin),
14349 (gst_registry_add_feature), (gst_registry_plugin_filter),
14350 (gst_registry_feature_filter), (gst_registry_find_plugin),
14351 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14352 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14353 * gst/gstregistryxml.c: (load_feature),
14354 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14355 * gst/gstminiobject.c: (gst_mini_object_unref),
14356 (gst_mini_object_replace), (gst_value_mini_object_free),
14357 (gst_value_mini_object_copy):
14358 Use _CAST macros to avoid unneeded type checking.
14359 Added some more G_UNLIKELY.
14361 2006-06-12 Wim Taymans <wim@fluendo.com>
14364 Avoid unneeded type checking.
14365 API: GST_BUFFER_IS_DISCONT
14367 * gst/gstminiobject.h:
14368 Avoid type check in flag accessor.
14370 * gst/gstelementfactory.h:
14372 * gst/gstpluginfeature.h:
14374 API: GST_ELEMENT_FACTORY_CAST
14375 API: GST_PLUGIN_CAST
14376 API: GST_PLUGIN_FEATURE_CAST
14378 2006-06-12 Wim Taymans <wim@fluendo.com>
14380 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14381 (gst_object_unref):
14382 Add G_UNLIKELY in type registration.
14383 Avoid type check in _ref/_unref since that is also
14386 2006-06-12 Wim Taymans <wim@fluendo.com>
14388 * gst/gsterror.c: (gst_g_error_get_type):
14389 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14390 (gst_static_pad_template_get_type):
14391 * gst/gsttaglist.c: (gst_tag_list_get_type):
14392 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14393 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14394 * gst/gsturi.c: (gst_uri_handler_get_type):
14395 * gst/gstvalue.c: (gst_date_get_type):
14396 * gst/gstxml.c: (gst_xml_get_type):
14397 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14398 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14399 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14400 Add G_UNLIKELY in type registration.
14402 2006-06-12 Wim Taymans <wim@fluendo.com>
14404 * tools/gst-inspect.c: (print_signal_info):
14405 Properly print enum values.
14407 2006-06-12 Wim Taymans <wim@fluendo.com>
14409 * gst/gstinfo.c: (gst_debug_set_active),
14410 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14412 Add some G_[UN]LIKELY.
14413 Maintain __gst_debug_min to avoid formatting the arguments of
14414 debug messages that will be dropped anyway to avoid a lot of
14415 overhead from the debugging system.
14417 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14420 * po/POTFILES.skip:
14421 add missing files containing translatable strings, tell intltool about
14424 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14426 * tests/check/libs/.cvsignore:
14427 add test-binary to ignore list
14429 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14431 * docs/libs/gstreamer-libs-docs.sgml:
14432 reorder (put dp into a chapter) and indent
14434 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14439 === release 0.10.8 ===
14441 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14444 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14446 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14448 * gst/gst.c: (init_post):
14449 move pid declaration to declaration block
14451 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14453 * gst/gst.c: (init_post):
14454 use _exit() instead of exit() in our forked child; this ensures
14455 that none of the registered exit handlers from whatever is using
14456 GStreamer get executed. This fixes gnome-mixer-applet failing
14457 to load, because ORBit would shut down.
14458 Spotted by: Edward Hervey <edward@fluendo.com>
14459 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14462 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14467 === release 0.10.7 ===
14469 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14472 releasing 0.10.7, "Soepeke, ik zie ou"
14474 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14497 * win32/common/config.h:
14498 0.10.6.2 prerelease
14500 2006-06-07 Wim Taymans <wim@fluendo.com>
14502 * gst/gstindex.c: (gst_index_gtype_resolver):
14503 * tools/gst-xmlinspect.c: (print_plugin_info):
14504 Fix leak spotted by coverity checker. Fixes #343827
14505 Fix another other leak found by paolo borelli.
14507 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14509 * libs/gst/dataprotocol/dataprotocol.c:
14510 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14511 (gst_dp_version_get_type), (gst_dp_init),
14512 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14513 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14514 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14515 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14516 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14517 (gst_dp_packetizer_free):
14518 * libs/gst/dataprotocol/dataprotocol.h:
14519 API: add a GstDPPacketizer object, and create/free functions
14520 API: add GstDPVersion enum
14521 Add 1.0 event function that uses the string serialization
14522 Serialize more useful buffer flags
14525 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14527 * tests/check/Makefile.am:
14528 * tests/check/gst/gstabi.c:
14529 * tests/check/gst/struct_ppc64.h:
14530 * tests/check/libs/libsabi.c:
14531 * tests/check/libs/struct_ppc64.h:
14532 add ppc64 structure sizes
14534 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14536 * tests/check/Makefile.am:
14537 * tests/check/gst/gstabi.c:
14538 * tests/check/gst/struct_x86_64.h:
14539 * tests/check/libs/libsabi.c:
14540 * tests/check/libs/struct_x86_64.h:
14541 generate and add structure size lists for x86_64
14543 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14545 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14546 * libs/gst/check/gstcheck.h:
14547 factor out the method from tests that checks size of structures,
14548 and add code to generate the header containing these sizes
14549 * tests/check/gst/gstabi.c: (GST_START_TEST):
14550 * tests/check/gst/struct_i386.h:
14551 * tests/check/libs/libsabi.c: (GST_START_TEST):
14552 * tests/check/libs/struct_i386.h:
14555 2006-06-06 Michael Smith <msmith@fluendo.com>
14557 * gst/gstsegment.h:
14558 Don't use c++-style comments, fixes #343929
14560 2006-06-05 Edward Hervey <edward@fluendo.com>
14563 plugin_paths is not used if we build without registry support.
14565 * gst/gstsegment.c: (gst_segment_copy):
14566 _copy() was always returning NULL...
14568 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14570 * libs/gst/dataprotocol/dataprotocol.c:
14571 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14572 (gst_dp_packet_from_event):
14573 factor out CRC code
14575 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14577 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14578 make sure we unset caps
14580 2006-06-02 Michael Smith <msmith@fluendo.com>
14582 * libs/gst/check/gstcheck.c: (gst_check_init),
14583 (gst_check_chain_func):
14584 * libs/gst/check/gstcheck.h:
14585 Add a cond/mutex to the check support lib, signal this whenever we
14586 add to the buffers list. This will allow tests to not busy-wait on
14589 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14591 * libs/gst/dataprotocol/dataprotocol.c:
14592 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14593 (gst_dp_packet_from_event):
14594 factor out some common header init code
14596 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14598 * docs/libs/gstreamer-libs-sections.txt:
14599 * docs/libs/tmpl/gstdataprotocol.sgml:
14600 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14601 * libs/gst/dataprotocol/dataprotocol.h:
14602 API: make gst_dp_crc() public
14604 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14606 * plugins/indexers/gstindexers.c: (plugin_init):
14607 conditionally register fileindexer (fixes #343598)
14609 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14611 * gst/gsttagsetter.h:
14612 Can't cast ifaces to a class
14614 * libs/gst/net/gstnetclientclock.h:
14615 * libs/gst/net/gstnettimeprovider.h:
14616 * plugins/elements/gstfakesink.h:
14617 * plugins/elements/gstfakesrc.h:
14618 * plugins/elements/gstfdsink.h:
14619 * plugins/elements/gstfdsrc.h:
14620 * plugins/elements/gstfilesink.h:
14621 * plugins/elements/gstfilesrc.h:
14622 * plugins/elements/gstidentity.h:
14623 * plugins/elements/gstqueue.h:
14624 * plugins/elements/gsttee.h:
14625 * plugins/indexers/gstfileindex.c:
14626 * plugins/indexers/gstmemindex.c:
14627 * tests/old/examples/plugins/example.h:
14628 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14630 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14632 * libs/gst/dataprotocol/dataprotocol.c:
14633 (gst_dp_header_from_buffer):
14634 make sure we zero the whole ABI-compatible area
14636 2006-06-01 Wim Taymans <wim@fluendo.com>
14638 Patch by: Alessandro Decina <alessandro at nnva dot org>
14640 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14641 Make sure the EOS flag is cleared from pads after a flush
14642 or stop. Fixes #343538.
14644 * tests/check/libs/collectpads.c: (GST_START_TEST),
14645 (gst_collect_pads_suite):
14646 Added test for collectpads reusage after EOS.
14648 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14651 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14652 * win32/common/libgstbase.def:
14653 export gst_collect_pads_set_flushing
14654 * win32/common/libgstreamer.def:
14655 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14656 gst_value_fraction_multiply
14657 * win32/vs6/gst_inspect.dsp:
14658 add a link to intl.lib
14660 2006-05-30 Wim Taymans <wim@fluendo.com>
14662 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14663 (gst_collect_pads_chain):
14664 Handle the case where a pad is removed from the collection
14665 that could cause the other pads to become collectable.
14667 2006-05-30 Wim Taymans <wim@fluendo.com>
14669 * gst/gstelement.c:
14670 Clarify the use of _release_request_pad() and
14671 _get_request_pad() a bit better.
14673 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14674 (gst_adapter_take_buffer):
14675 Fix some doc and comment typos.
14677 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14679 * docs/gst/gstreamer-sections.txt:
14680 * docs/libs/gstreamer-libs-sections.txt:
14681 add declared symbols
14683 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14685 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14686 Add debug that can be enabled using a #define at the top of the file,
14687 for dumping stats about how late/early we were when waking up from
14688 waiting on the clock.
14690 2006-05-30 Wim Taymans <wim@fluendo.com>
14692 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14693 When rebuilding the pad list, don't leak the previous list.
14695 2006-05-30 Wim Taymans <wim@fluendo.com>
14697 Patch by: Lutz Mueller <lutz at topfrose dot de>
14699 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14700 (gst_base_src_get_query_types), (gst_base_src_update_length):
14701 Publish supported query types.
14702 Update last_stop field in get_range mode so the position
14703 query works. Fixes #342321.
14705 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14707 * docs/gst/gstreamer-sections.txt:
14708 * gst/gsttaglist.c: (_gst_tag_initialize):
14709 * gst/gsttaglist.h:
14710 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14712 2006-05-30 Wim Taymans <wim@fluendo.com>
14714 Patch by: Alessandro Decina <alessandro at nnva dot org>
14716 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14717 Unlock mutex when removing an unknown pad.
14720 * tests/check/Makefile.am:
14721 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14722 (push_event), (setup), (teardown), (GST_START_TEST),
14723 (gst_collect_pads_suite), (main):
14724 Added collecpads check, disabled for now as check crashes for
14727 2006-05-29 Wim Taymans <wim@fluendo.com>
14729 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14730 Don't leak pads lists.
14732 2006-05-29 Wim Taymans <wim@fluendo.com>
14734 * docs/libs/gstreamer-libs-sections.txt:
14735 * libs/gst/base/gstcollectpads.c:
14736 (gst_collect_pads_set_flushing_unlocked),
14737 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14738 (gst_collect_pads_stop):
14739 * libs/gst/base/gstcollectpads.h:
14740 API: gst_collect_pads_set_flushing()
14741 Added api to set the pads to flushing, useful for seeking
14742 code in elements using collectpads.
14743 Clear segment when receiving a flush.
14745 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14747 * gst/gst.c: (add_path_func), (init_post):
14748 Don't scan registry paths passed via --gst-plugin-path immediately
14749 (will crash, because absolutely nothing is set up and no types are
14750 registered etc.); do this later in init_post(). Fixes #343057.
14752 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14754 * gst/gst.c: (init_post):
14755 if we have fork, fork while reading/rebuilding the registry
14756 so the parent doesn't take the hit of having all plugins loaded
14757 in memory. Fixes #342777.
14759 Check if we have fork()
14760 * win32/common/config.h.in:
14763 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14765 * plugins/elements/gstelements.c:
14766 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14767 (gst_file_src_init), (gst_file_src_set_property),
14768 (gst_file_src_get_property), (gst_file_src_start):
14769 * plugins/elements/gstfilesrc.h:
14770 API: GstFileSrc::use-mmap
14772 Add a use-mmap property to enable easier testing of all code paths.
14773 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14774 in the absence of gnomevfssrc. (Closes #340501)
14776 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14778 * tools/gst-inspect.c:
14779 Add missing include, removes warning of ngettext not being defined on
14782 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14784 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14785 Handle NULL input and output pointers silently as a failed conversion,
14786 rather than g_warnings.
14788 2006-05-25 Wim Taymans <wim@fluendo.com>
14790 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14791 Initialize variable before using. Fixes #342820.
14793 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14795 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14796 Fix off-by-one bug that would only allow peeks of N-1 bytes
14797 from the start even if the buffer to typefind on contains
14798 in fact N bytes of data (makes vorbis typefinding from a
14799 vorbis identification header buffer work).
14801 * tests/check/Makefile.am:
14802 * tests/check/libs/.cvsignore:
14803 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14804 (gst_typefindhelper_suite), (main), (foobar_typefind),
14806 Add very basic unit test for gst_type_find_helper_for_buffer()
14807 that checks for the problem fixed above.
14809 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14811 * tools/gst-inspect.c: (print_interfaces),
14812 (print_element_properties_info), (print_element_list), (main):
14813 add more translatable strings
14815 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14817 Patch by: Julien Moutte <julien at moutte net>
14819 * docs/gst/gstreamer-sections.txt:
14820 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14822 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14823 (gst_fake_sink_preroll):
14824 * plugins/elements/gstfakesink.h:
14825 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14827 2006-05-23 Wim Taymans <wim@fluendo.com>
14829 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14831 Added _CUSTOM error and success GstFlowReturn that can be
14832 used be elements internally.
14833 Added macro to check for SUCCESS flowreturns.
14834 API: GST_FLOW_CUSTOM_SUCCESS
14835 API: GST_FLOW_CUSTOM_ERROR
14836 API: GST_FLOW_IS_SUCCESS
14838 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14839 Added check for GstFlowReturn sanity.
14841 2006-05-23 Wim Taymans <wim@fluendo.com>
14843 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14845 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14846 (gst_collect_pads_event):
14847 clear/reset segment info in FLUSH_STOP.
14850 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14852 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14853 (gst_collect_pads_check_collected):
14854 Flush queued buffer on _stop(), fixes playing again (#342454)
14856 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14858 * tests/check/gst/gststructure.c: (GST_START_TEST),
14859 (gst_structure_suite):
14860 add a test for a complete structure
14862 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14864 * docs/faq/developing.xml:
14865 * docs/faq/faq.xml:
14866 * docs/faq/troubleshooting.xml:
14867 * docs/faq/using.xml:
14868 Some minor FAQ updates that won't change the fact that
14869 our FAQ is badly structured, full of information hardly
14870 anyone new to GStreamer needs to know and lacking lots
14871 of information people constantly ask for.
14873 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14875 * gst/gstpad.c: (gst_pad_set_caps):
14876 Short-circuit gst_pad_set_caps if setting the existing
14877 caps pointer again, and avoid printing debug and
14878 reffing/unreffing the caps.
14880 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14881 There's actually no need to set the caps before pushing -
14882 the acceptcaps method will handle it anyway.
14884 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14886 * docs/gst/gstreamer-sections.txt:
14887 * win32/common/libgstreamer.def:
14888 * gst/gstutils.c: (gst_element_seek_simple):
14890 API: add gst_element_seek_simple() (#342238).
14892 2006-05-18 Edward Hervey <edward@fluendo.com>
14894 * gst/gsttypefind.c: (gst_type_find_get_type):
14895 * gst/gsttypefind.h:
14896 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14897 registered for GstTypeFind pointers. This allows wrapping the structure
14898 in bindings (i.e. gst-python).
14900 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14902 * gst/gsttagsetter.c:
14903 Docs additions and fixes (see #339918).
14905 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14907 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14908 The caps intersection algorithm can produce multiple copies of the
14909 caps. Until that is fixed, we need to simplify the result to be
14910 sure whether the allowed caps are fixed or not.
14912 * plugins/elements/gstqueue.c: (gst_queue_init),
14913 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14914 (gst_queue_push_one):
14915 Proxied buffer alloc should not set the caps on the source pad.
14916 When pushing buffers, we always accept the caps change that triggers.
14917 This prevents negotiation errors caused by caps changing mid-stream
14918 and then being refused on our source pad (because upstream is now
14919 refusing those caps).
14921 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14923 * tests/examples/helloworld/helloworld.c: (main):
14924 Must plug audioconvert and audioresample between decoder
14927 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14929 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14930 (load_feature), (load_plugin):
14931 Allow empty strings for some of the plugin fields so we don't
14932 drop valid plugin entries that were written out correctly
14935 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14937 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14938 Use g_remove and g_rename instead of remove and rename that don't
14939 handle utf8 characters. rename was failing for users who had specific
14940 characters in their name then the registry was built at each
14942 * win32/vs6/gst_inspect.dsp:
14943 * win32/vs6/gst_launch.dsp:
14944 * win32/vs6/libgstbase.dsp:
14945 * win32/vs6/libgstcoreelements.dsp:
14946 * win32/vs6/libgstreamer.dsp:
14947 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14948 build of libgstreamer and clean unused libraries in projects link
14951 2006-05-17 Edward Hervey <edward@fluendo.com>
14953 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14954 The queue is not responsible for pushing an EOS when receiving a fatal
14955 flow error. It's up to the real element driving the pipeline to do that.
14957 2006-05-16 Edward Hervey <edward@fluendo.com>
14959 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14960 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14961 buffer returned a fatal error. It should just send an EOS and stop
14963 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14964 when pushing buffers on the queue and will be able to handle the event.
14966 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14968 * docs/manual/basics-bins.xml:
14969 * docs/manual/basics-init.xml:
14970 Fix typos and minor errors in sample code (#341856).
14972 2006-05-16 Wim Taymans <wim@fluendo.com>
14974 * docs/design/part-qos.txt:
14975 Fix indexes in formulas to make more sense.
14977 2006-05-15 Wim Taymans <wim@fluendo.com>
14979 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14980 Don't report POSITION based on clock time if sync is
14981 disabled in a sink.
14983 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14986 Add cast to make compiler happy - refcount variable was a gint
14987 in GstObject but is a guint in GObject and g_atomic_int_get()
14990 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14992 * gst/parse/Makefile.am:
14993 chain commands using &&, which also makes parallel make work
14995 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14997 * docs/gst/gstreamer-sections.txt:
15000 * gst/gstmessage.h:
15003 === release 0.10.6 ===
15005 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
15008 releasing 0.10.6, "Take the cannoli"
15010 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
15012 * tools/gst-launch.c: (print_tag):
15013 Fix use of uninitialized variable in the hypothetical
15014 case that some broken plugin creates a GST_TAG_IMAGE
15015 tag containing a NULL buffer (#341667).
15017 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
15019 * tools/gst-launch.c: (print_tag):
15020 Print something more intelligible for image tags when
15021 using the -t switch (#341556).
15023 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
15028 define GST_MAJORMINOR so we have it available in win32/common/config.h
15029 Possibly remove it from our Makefile.am files later
15030 * win32/common/config.h:
15031 * win32/common/config.h.in:
15032 added GST_MAJORMINOR
15033 * win32/common/gstenumtypes.c: (register_gst_resource_error):
15034 * win32/common/gstversion.h:
15037 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
15040 Update win32 files listing.
15041 * win32/common/gstversion.h:
15042 Add GST_MAJORMINOR definition.
15043 * win32/common/libgstreamer.def:
15044 Add new exported functions.
15046 2006-05-12 Michael Smith <msmith@fluendo.com>
15048 * gst/gstplugin.c: (gst_plugin_load_file):
15049 If an so file has no plugin entry point, unload the module.
15051 2006-05-11 Wim Taymans <wim@fluendo.com>
15053 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15054 (gst_queue_set_property):
15055 Don't forget to signal the _chain or _loop function
15056 when the queue size or thresholds change since that might
15057 cause them to make progres again.
15059 2006-05-11 Stefan Kost <ensonic@users.sf.net>
15061 * gst/gstclock.c: (gst_clock_class_init):
15062 * gst/gstindex.c: (gst_index_class_init):
15063 * gst/gstobject.c: (gst_object_class_init):
15064 * gst/gstpad.c: (gst_pad_class_init):
15065 * gst/gstpipeline.c: (gst_pipeline_class_init):
15066 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15067 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15068 * libs/gst/base/gstbasetransform.c:
15069 (gst_base_transform_class_init):
15070 * libs/gst/net/gstnetclientclock.c:
15071 (gst_net_client_clock_class_init):
15072 * libs/gst/net/gstnettimeprovider.c:
15073 (gst_net_time_provider_class_init):
15074 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15075 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15076 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15077 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15078 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15079 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15080 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15081 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15082 * plugins/elements/gsttee.c: (gst_tee_class_init):
15083 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15084 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15085 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15087 2006-05-11 Wim Taymans <wim@fluendo.com>
15089 * gst/gstbuffer.c: (_gst_buffer_initialize):
15090 Register subbufer along with the buffer type so that
15091 it does not accidentally gets registered from N
15092 different streaming threads in a non threadsafe way.
15094 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15098 * gst/gstmessage.h:
15099 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15100 gst_event_ref() and gst_message_ref() functions again
15101 (ugly hack, please do fix if there's a better way besides
15102 overrides.txt, which doesn't seem to work).
15104 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15106 * libs/gst/check/gstcheck.h:
15107 add an assert for setting state to avoid lots of repetitive code
15110 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15112 * gst/gstvalue.c: (gst_value_serialize_flags):
15113 fix a leak if no flags are set
15114 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15117 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
15119 * docs/manual/basics-pads.xml:
15120 Expand a bit on caps and filtered links and update
15121 examples that were still using the no longer existing
15122 gst_pad_link_filtered() (#338206).
15124 2006-05-10 Wim Taymans <wim@fluendo.com>
15126 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15127 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15128 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15129 (gst_collect_pads_stop):
15130 * libs/gst/base/gstcollectpads.h:
15131 No need to call _stop in _finalize.
15132 Iterate the main pad list in _finalize.
15133 Added some more debug.
15134 Free lists and data in the right order.
15135 Also free data whem doing _remove_pad when stopped for
15136 backward compatibility protect ::started with PAD_LOCK as
15139 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15141 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15142 (gst_structure_parse_value):
15144 rename a method so that it actually says what it does better
15146 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15148 * gst/gstevent.c: (_gst_event_initialize):
15149 * gst/gstformat.c: (_gst_format_initialize):
15150 make sure some essential types used by events are registered
15151 as part of gst_init()
15152 * gst/gstvalue.c: (gst_value_serialize_flags):
15153 if no flags are set, serialize them to a value that represents NONE
15154 so that deserializing them works
15155 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15156 add tests for serialization and deserialization of flags
15158 2006-05-10 Wim Taymans <wim@fluendo.com>
15160 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15161 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15162 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15163 (gst_collect_pads_event), (gst_collect_pads_chain):
15166 Catch and return errors from the collect function
15167 Refuse data on eos pads.
15169 2006-05-10 Edward Hervey <edward@fluendo.com>
15171 * gst/gstinterface.h:
15172 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15173 GInterface type checking.
15174 They were previously using non-defined macros.
15176 2006-05-09 Wim Taymans <wim@fluendo.com>
15178 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15179 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15180 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15181 (gst_collect_pads_start), (gst_collect_pads_stop),
15182 (gst_collect_pads_peek), (gst_collect_pads_pop),
15183 (gst_collect_pads_available), (gst_collect_pads_read),
15184 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15185 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15186 (gst_collect_pads_chain):
15187 * libs/gst/base/gstcollectpads.h:
15188 Clean up the mess that is collectpads, add comments and
15189 FIXMEs where needed.
15190 Maintain a separate pad list so we can add pads while
15191 collecting the other ones. For this we need a new separate
15193 Fix memory leak in finalize.
15194 Refactor some weird code to set/unset pad flushing flags, mark
15196 Don't crash in _available, _read, _flush when we're EOS.
15198 * tests/check/libs/.cvsignore:
15199 Ignore adapter check binary.
15201 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15203 * gst/gstindex.c: (gst_index_resolver_get_type):
15204 * plugins/elements/gstfakesink.c:
15205 (gst_fake_sink_state_error_get_type):
15206 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15207 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15208 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15209 Const-ify GEnumValue arrays.
15211 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15213 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15214 Add test case for flags + gst_buffer_make_metadata_writable().
15216 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15218 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15219 gst_buffer_make_metadata_writable() should maintain the
15220 buffer flags (those that make sense at least) (see #340859).
15222 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15224 * tools/gst-inspect.c:
15225 * tools/gst-launch.c:
15226 * tools/gst-typefind.c:
15227 * tools/gst-xmlinspect.c:
15229 Fix up includes: need to include stdlib.h in tools.h for exit().
15231 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15233 * gst/gsttaglist.c: (_gst_tag_initialize):
15234 * gst/gsttaglist.h:
15235 API: add GST_TAG_IMAGE tag (#340721).
15237 2006-05-08 Wim Taymans <wim@fluendo.com>
15240 Added some docs for the segment query.
15242 2006-05-08 Wim Taymans <wim@fluendo.com>
15244 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15245 (gst_base_src_loop), (gst_base_src_change_state):
15246 Always push non-flushing serialized events in the streaming
15249 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15251 * gst/gsterror.c: (_gst_stream_errors_init):
15252 Add a missing error string.
15254 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15256 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15257 Add applied_rate to the debug
15259 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15260 Copy applied_rate into the outgoing NEWSEGMENT event
15262 2006-05-08 Wim Taymans <wim@fluendo.com>
15264 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15266 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15267 (gst_base_sink_change_state):
15268 call ::unlock before taking the PREROLL_LOCK so we can safely
15269 handle elements that lock in ::render.
15272 2006-05-08 Edward Hervey <edward@fluendo.com>
15274 * autogen.sh: (CONFIGURE_DEF_OPT):
15275 Darwin's libtoolize is in fact called glibtoolize.
15276 Adding glibtoolize to the list of accepted names for libtoolize.
15278 2006-05-08 Wim Taymans <wim@fluendo.com>
15280 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15281 Unify error handling, don't post an error message
15282 when a push() returns EOS but perform our normal EOS
15283 handling code. Fixes #340772.
15285 2006-05-08 Wim Taymans <wim@fluendo.com>
15287 * docs/design/part-overview.txt:
15288 Make upsteam/downstream concepts more clear.
15289 Give an example of serialized/non-serialized events.
15291 * docs/design/part-events.txt:
15292 * docs/design/part-streams.txt:
15293 Mention applied_rate.
15295 * docs/design/part-trickmodes.txt:
15296 Mention applied rate, flesh out some more use cases.
15298 * gst/gstevent.c: (gst_event_new_new_segment),
15299 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15300 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15301 (gst_event_parse_tag), (gst_event_new_buffer_size),
15302 (gst_event_parse_buffer_size), (gst_event_new_qos),
15303 (gst_event_parse_qos), (gst_event_parse_seek),
15304 (gst_event_new_navigation):
15306 Add applied_rate field to NEWSEGMENT event.
15307 API: gst_event_new_new_segment_full()
15308 API: gst_event_parse_new_segment_full()
15310 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15311 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15312 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15313 * gst/gstsegment.h:
15314 Add applied_rate to GstSegment structure.
15315 Make calculation of stream_time and running_time more correct
15316 wrt rate/applied_rate.
15317 Add some more docs.
15318 API: GstSegment::applied_rate field
15319 API: gst_segment_set_newsegment_full();
15321 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15322 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15323 * libs/gst/base/gstbasetransform.c:
15324 (gst_base_transform_sink_eventfunc),
15325 (gst_base_transform_handle_buffer):
15326 Parse and use applied_rate in the GstSegment field.
15328 * tests/check/gst/gstevent.c: (GST_START_TEST):
15329 Add check for applied_rate field.
15331 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15332 (gstsegments_suite):
15333 Add more checks for various GstSegment operations.
15335 2006-05-08 Wim Taymans <wim@fluendo.com>
15337 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15338 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15339 (gst_base_sink_get_position), (gst_base_sink_change_state):
15340 Store the sync time of the buffer end position separatly in a
15341 new variable eos_rtime so we can properly sync the EOS event.
15343 Fix the docs for gst_base_sink_set_qos_enabled().
15344 Don't set segment start to invalid value when we receive a
15345 non TIME newsegment.
15346 get closer to handling position reporting for negative rates
15349 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15352 Docs about how to print caps for debug purposes.
15354 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15355 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15357 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15359 * gst/gstelement.c:
15360 use full enum names and preprend a '%' in docs strings to make recent
15361 gtk-doc turn that into a link
15363 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15365 * docs/manual/basics-bins.xml:
15366 * docs/manual/basics-bus.xml:
15367 * docs/manual/basics-pads.xml:
15368 Some typo fixes, some additions, some clarifications.
15370 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15372 * tools/gst-inspect.c: (main):
15373 * tools/gst-launch.c: (main):
15374 * tools/gst-run.c: (main):
15375 * tools/gst-typefind.c: (main):
15376 * tools/gst-xmlinspect.c: (main):
15377 Use the string passed to g_option_context_new() for
15378 what it's intended for - the program name is already
15381 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15383 * tools/Makefile.am:
15384 * tools/gst-inspect.c: (main):
15385 * tools/gst-launch.c: (main):
15386 * tools/gst-xmlinspect.c: (main):
15388 Add back --version command line option (#340460).
15390 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15391 Add --version option and use GOption for argument parsing; refactor a
15392 bit; accept directories as arguments and recurse into them; lastly,
15393 print a decent error message when things go wrong.
15395 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15397 * docs/manual/basics-bins.xml:
15398 Don't mention GstThread (#340611)
15399 * docs/manual/basics-elements.xml:
15400 Update link to GObject tutorial (#340607)
15402 2006-05-05 Wim Taymans <wim@fluendo.com>
15405 * gst/gstminiobject.c:
15406 Add note about refcounting and miniobject/buffer writeability
15407 to docs. Fixes #340604
15409 * gst/gstelementfactory.h:
15410 Added some explanation about @klass.
15412 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15414 * docs/manual/intro-motivation.xml:
15415 * docs/manual/manual.xml:
15416 Avoid CORBA & Bonobo references (#340598)
15418 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15420 * docs/manual/basics-bus.xml:
15421 * docs/manual/basics-pads.xml:
15422 Fix up some inaccuracies and omissions (#340609)
15424 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15426 * gst/gstghostpad.c:
15427 Small typo in docs (#340625)
15429 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15431 * gst/parse/Makefile.am:
15432 Make 'make -j' proof (see #340698).
15434 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15437 Require GLib-2.8 here as well.
15439 2006-05-05 Wim Taymans <wim@fluendo.com>
15441 * gst/glib-compat.c:
15442 * gst/gst.c: (init_pre):
15443 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15444 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15445 (gst_object_dispatch_properties_changed):
15447 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15448 * gst/gststructure.c: (gst_structure_set_valist):
15449 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15450 Remove pre glib2.8 compatibility, fixes #340508
15452 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15454 * gst/gsttaglist.h:
15455 Mention type of tags in doc blurbs.
15457 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15459 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15460 (gst_pad_configure_src), (gst_pad_push):
15461 Restore acceptcaps checking behaviour now that good plugins have
15464 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15466 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15473 * gst/gstmessage.c:
15477 * gst/parse/Makefile.am:
15478 * libs/gst/base/gstadapter.c:
15479 * libs/gst/base/gstbasesrc.c:
15480 * libs/gst/base/gstpushsrc.c:
15481 * libs/gst/base/gsttypefindhelper.c:
15482 * plugins/elements/gstfakesrc.c:
15483 * plugins/elements/gstidentity.c:
15484 Make sure gstprivate.h and/or config.h are
15485 always included first, otherwise some of our
15486 defines (like _FILE_OFFSET_BITS) might be
15487 redefined in the system headers. Fixes build
15488 on opensolaris (#340016).
15490 2006-05-04 Wim Taymans <wim@fluendo.com>
15492 * docs/libs/gstreamer-libs-sections.txt:
15493 API: addition: gst_adapter_take_buffer()
15495 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15496 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15497 (gst_adapter_available_fast):
15498 * libs/gst/base/gstadapter.h:
15499 Prepare for optimizing the hell out of this hugely inefficient
15501 Added gst_adapter_take_buffer() so we can at least start thinking
15502 about subbuffering and merging.
15503 Added some comments.
15505 * tests/check/Makefile.am:
15506 * tests/check/libs/adapter.c: (GST_START_TEST),
15507 (gst_adapter_suite), (main):
15508 Added GstAdapter check.
15510 2006-05-04 Wim Taymans <wim@fluendo.com>
15512 * docs/design/part-overview.txt:
15513 Fix some typos, add blurb about buffer flags.
15515 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15517 * docs/libs/gstreamer-libs-sections.txt:
15518 make sure GstBaseTransformClass shows up in the docs
15519 * libs/gst/base/gstbasetransform.c:
15520 * libs/gst/base/gstbasetransform.h:
15521 move docs so gtk-doc picks it up now
15523 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15525 * docs/libs/gstreamer-libs-sections.txt:
15526 add missing symbols to docs
15528 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15530 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15531 back out the newsegment handling change, see #340060 for ongoing
15534 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15536 * tools/gst-run.c: (get_candidates), (main):
15537 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15538 work); fix typo in error message. Fixes #340079.
15540 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15542 * common/Makefile.am:
15543 * docs/Makefile.am:
15544 * docs/faq/Makefile.am:
15545 * docs/gst/Makefile.am:
15546 * docs/libs/Makefile.am:
15547 * docs/manual/Makefile.am:
15548 * docs/plugins/Makefile.am:
15549 * docs/pwg/Makefile.am:
15550 * docs/slides/Makefile.am:
15552 * common/upload.mak:
15553 move upload.mak to common
15555 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15557 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15558 add more asserts on refcounts
15559 do more cleanup at end of tests
15560 fix test leaks showing in FC5
15562 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15564 * plugins/elements/gsttypefindelement.c:
15565 (gst_type_find_element_handle_event):
15566 reverted wrong change and reflowed code to avoid others falling into
15569 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15571 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15572 fix changelog entry about last collectpads change,
15573 add notes about proper fix
15575 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15578 * gst/gstregistry.c: (gst_registry_scan_path_level),
15579 (gst_registry_scan_path):
15580 * gst/gstregistry.h:
15581 only write out registry if it has changed, fixes #338339
15583 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15586 * gst/gstpipeline.c:
15587 * plugins/elements/gstcapsfilter.c:
15588 * plugins/elements/gstfakesink.c:
15589 * plugins/elements/gstfakesrc.c:
15590 * plugins/elements/gstfdsink.c:
15591 * plugins/elements/gstfdsrc.c:
15592 * plugins/elements/gstfilesink.c:
15593 * plugins/elements/gstfilesrc.c:
15594 * plugins/elements/gstidentity.c:
15595 * plugins/elements/gstqueue.c:
15596 * plugins/elements/gsttee.c:
15597 * plugins/elements/gsttypefindelement.c:
15598 (gst_type_find_element_handle_event):
15599 make GstElementDetails const
15601 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15603 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15604 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15605 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15606 more detailed debug and formatting cleanup,
15607 forward newsegments to src-pad (so that e.g. adder not eats them)
15609 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15611 * gst/gstutils.c: (gst_element_link_pads):
15612 cleanup double code
15614 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15616 * libs/gst/controller/gstcontroller.c:
15617 (gst_controller_sync_values):
15619 * tests/check/libs/controller.c: (GST_START_TEST),
15620 (gst_controller_suite):
15621 a new test for live value handling
15623 2006-04-28 Wim Taymans <wim@fluendo.com>
15625 * gst/gstutils.c: (push_and_ref):
15626 Added some more docs.
15627 Fix refcount issue whith gst_element_found_tags() helper
15628 function. Fixes #338335
15630 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15631 Added testsuite for gst_element_found_tags().
15633 2006-04-28 Michael Smith <msmith@fluendo.com>
15635 * gst/gstvalue.c: (gst_value_serialize_flags):
15636 Avoid NULL dereference when trying to serialize flags containing
15639 2006-04-28 Michael Smith <msmith@fluendo.com>
15641 * plugins/elements/gsttypefindelement.c:
15642 (gst_type_find_element_handle_event):
15643 If we get EOS before any data is accumulated, don't use
15644 uninitialised local variables.
15646 2006-04-28 Michael Smith <msmith@fluendo.com>
15648 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15649 (gst_dp_event_from_packet):
15650 Fixes in reading/writing events over GDP (not currently used?) -
15651 dereferencing NULL events for unknown/invalid event types, memory
15652 leak, and change g_warning to GST_WARNING.
15654 2006-04-28 Wim Taymans <wim@fluendo.com>
15656 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15657 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15658 (gst_base_sink_get_position), (gst_base_sink_change_state):
15659 When frame dropping is enabled, we should not ignore frames
15660 without a duration.
15661 Update some documentation.
15663 2006-04-28 Wim Taymans <wim@fluendo.com>
15665 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15666 (gst_base_src_send_event), (gst_base_src_change_state):
15667 Documentation updates.
15669 2006-04-28 Wim Taymans <wim@fluendo.com>
15671 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15672 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15673 handle EAGAIN, EINTR and short writes correctly. Also clean
15674 up some error cases, avoid a deadlock on bad file descriptors and
15675 use GST_DEBUG_OBJECT.
15678 2006-04-28 Wim Taymans <wim@fluendo.com>
15680 * gst/gstvalue.c: (gst_value_serialize_buffer),
15681 (gst_value_deserialize_buffer):
15682 Don't try to serialize a GValue with a NULL buffer.
15685 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15686 Added check for serialisation of NULL buffers.
15688 2006-04-28 Wim Taymans <wim@fluendo.com>
15690 * gst/gstminiobject.c: (gst_value_take_mini_object):
15691 Taking a NULL miniobject is valid, fix the case where
15692 we try to unref the NULL miniobject.
15694 2006-04-28 Wim Taymans <wim@fluendo.com>
15696 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15698 * gst/gstbin.c: (gst_bin_handle_message_func):
15700 Don't leak bin refcount when a state recalc is
15701 in progress and we delay another one #339808.
15703 2006-04-28 Wim Taymans <wim@fluendo.com>
15705 * docs/design/part-TODO.txt:
15706 Mention QoS as an ongoing work item.
15708 * docs/design/part-buffering.txt:
15709 New doc about buffering that needs to be fleshed out
15712 * docs/design/part-qos.txt:
15713 More QoS policy for decoders/demuxers/transforms
15715 * docs/design/part-trickmodes.txt:
15718 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15723 === release 0.10.5 ===
15725 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15728 releasing 0.10.5, "Fogo"
15730 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15732 patch by: Wim Taymans
15734 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15735 (gst_pad_configure_src), (gst_pad_push):
15736 * gst/gstpipeline.c: (gst_pipeline_init):
15737 Fix internal data flow errors. Fixes #338711.
15739 2006-04-12 Wim Taymans <wim@fluendo.com>
15741 * tests/check/gst/gstelement.c: (GST_START_TEST):
15742 Don't leak the factory.
15744 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15747 * win32/common/config.h:
15750 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15752 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15753 (gst_controller_unset_all):
15754 Free allocated GstTimedValues when freeing list nodes.
15755 Should fix leaks 'make check-valgrind' complains about.
15757 * win32/common/libgstcontroller.def:
15758 Add gst_controller_unset_all.
15760 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15762 * docs/libs/gstreamer-libs-sections.txt:
15763 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15764 (gst_controller_unset_all):
15765 * libs/gst/controller/gstcontroller.h:
15766 API: Added new method gst_controller_unset_all()
15767 fixed gst_controller_unset()
15768 * tests/check/libs/controller.c: (GST_START_TEST),
15769 (gst_controller_suite):
15770 Added two testcases for new and fixed method
15772 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15774 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15775 MSG_DONTWAIT is not defined on Cygwin, so work
15776 around that (fixes #317048).
15778 2006-04-11 Wim Taymans <wim@fluendo.com>
15780 * gst/gstelementfactory.c: (gst_element_register),
15781 (gst_element_factory_create), (gst_element_factory_make):
15784 Updated docs (Fixes #131079)
15786 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15789 * tests/check/gst/gstelement.c: (GST_START_TEST),
15790 (gst_element_suite):
15791 Added testcase for elementfactory class field.
15793 2006-04-10 Wim Taymans <wim@fluendo.com>
15795 * gst/gstsegment.c:
15796 Added some more docs.
15798 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15799 (gst_base_sink_reset_qos):
15800 Calculate more accurate rate values.
15802 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15804 * gst/gst_private.h:
15805 add a new #ifdef to use __declspec(dllimport) only for
15806 other modules and not for gstreamer core
15807 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15808 use gst_guint64_to_gdouble for conversion
15809 * win32/common/libgstreamer.def:
15810 add new exported functions
15811 * win32/vs6/gst_inspect.dsp:
15812 * win32/vs6/gst_launch.dsp:
15813 * win32/vs6/libgstbase.dsp:
15814 * win32/vs6/libgstcontroller.dsp:
15815 * win32/vs6/libgstcoreelements.dsp:
15816 * win32/vs6/libgstdataprotocol.dsp:
15817 * win32/vs6/libgstnet.dsp:
15818 update project files
15820 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15822 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15823 * gst/gstclock.c: (gst_clock_class_init):
15824 * gst/gstelement.c: (gst_element_class_init):
15825 * gst/gstindex.c: (gst_index_class_init):
15826 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15827 * gst/gstobject.c: (gst_object_class_init),
15828 (gst_signal_object_class_init):
15829 * gst/gstpad.c: (gst_pad_class_init):
15830 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15831 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15832 * gst/gstregistry.c: (gst_registry_class_init):
15833 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15834 * gst/gsttask.c: (gst_task_class_init):
15835 * gst/gstxml.c: (gst_xml_class_init):
15836 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15837 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15838 (gst_base_src_loop):
15839 * libs/gst/controller/gstcontroller.c:/
15840 (_gst_controller_class_init):
15841 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15842 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15843 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15844 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15845 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15846 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15848 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15850 * gst/gstpad.c: (gst_pad_link):
15851 Must set peer pads before calling the link function, otherwise
15852 a task started from a link function might get a flow-not-linked
15853 result when trying to push because the other thread where the
15854 linking happens hasn't had a chance to set the peers yet. This
15855 might happen for example when a queue gets linked to a downstream
15856 element, as queue starts a streaming task when its source pad
15857 gets linked. Happens in real life when playing back flac/musepack
15858 files in playbin (#332390).
15860 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15864 * libs/gst/base/gstadapter.h:
15865 * libs/gst/base/gstbasesink.h:
15866 * libs/gst/base/gstbasesrc.h:
15867 * libs/gst/base/gstbasetransform.h:
15868 * libs/gst/base/gstcollectpads.h:
15869 * libs/gst/base/gstpushsrc.h:
15870 Fix broken GObject macros
15872 2006-04-07 Wim Taymans <wim@fluendo.com>
15874 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15875 Initialize start and stop times, thanks valgrind.
15877 2006-04-07 Wim Taymans <wim@fluendo.com>
15879 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15880 Be a bit nicer to badly behaving upstream elements that expect
15881 us to deal with non TIME segments and timestamps (such as fakesrc
15884 2006-04-07 Wim Taymans <wim@fluendo.com>
15887 Small documentation clarification about the signal watch.
15889 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15890 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15891 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15892 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15893 (gst_base_sink_get_position_last),
15894 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15895 Convert and store timestamps in stream time and running time, the
15896 raw timestamps are not useful, also document this better.
15897 Use different window sizes for good and bad QoS observations so
15898 we react to badness a little quicker.
15899 Keep track of the amount of rendered and dropped buffers.
15900 Send QoS timestamps in running time.
15902 * libs/gst/base/gstbasetransform.c:
15903 (gst_base_transform_sink_eventfunc),
15904 (gst_base_transform_handle_buffer):
15905 Compare QoS timestamps against running time.
15907 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15910 Typo fixes in docs.
15912 2006-04-06 Michael Smith <msmith@fluendo.com>
15914 * gst/gstpad.c: (gst_pad_set_property):
15915 Use g_value_get_object() instead of g_value_dup_gst_object(),
15916 to avoid double-reffing the pad template (which we then sink,
15917 so this worked previously if (and only if) the pad template
15920 * gst/gstpadtemplate.c: (gst_pad_template_init),
15921 (gst_pad_template_pad_created):
15922 Never return floating references to pad templates, create
15923 them as initially-sunken.
15925 Document an extra function (and make this stop sinking our
15926 pad template, since that is now guaranteed to do nothing,
15927 since we created it sunken).
15929 * gst/gstghostpad.c:
15932 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15934 * gst/gstinfo.c: (__gst_in_valgrind):
15937 * plugins/elements/gsttypefindelement.c:
15938 (gst_type_find_element_chain):
15939 Don't leak buffer caps.
15941 2006-04-06 Michael Smith <msmith@fluendo.com>
15943 * gst/parse/grammar.y:
15944 Fix a leak in parse-launch for any source-or-sink named element
15947 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15948 Unref the pipeline if it exists after we've failed parsing.
15950 2006-04-05 Michael Smith <msmith@fluendo.com>
15952 * gst/gstpipeline.c: (gst_pipeline_init):
15953 When we create a pipeline bus, initially create it in flushing mode.
15954 Fixes leaks in at least one test, and makes a new pipeline work the
15955 same as one that has gone to READY and then back to NULL.
15957 * gst/gstelement.c:
15960 2006-04-05 Michael Smith <msmith@fluendo.com>
15962 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15963 Unref a pad we reffed.
15964 * tests/check/gst/gstutils.c: (GST_START_TEST):
15967 2006-04-05 Michael Smith <msmith@fluendo.com>
15969 * gst/gstquery.c: (gst_query_set_formats),
15970 (gst_query_set_formatsv):
15971 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15973 2006-04-05 Michael Smith <msmith@fluendo.com>
15975 * tests/check/generic/sinks.c: (GST_START_TEST):
15976 Fix a variety of memleaks in sinks check, which are only sometimes
15977 shown by running the tests under valgrind (weird?).
15979 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15981 * docs/version.entities.in:
15982 Fix the substituted entity name after thomas' changes on the
15985 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15987 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15990 2006-04-05 Andy Wingo <wingo@pobox.com>
15992 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15994 * libs/gst/base/gstbasetransform.c
15995 (gst_base_transform_sink_eventfunc): When resetting our segment on
15996 FLUSH_STOP, also update the flag saying we haven't seen a
15999 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16001 Patch by: Paolo Borelli <pborelli at katamail dot com>
16003 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16004 (gst_plugin_check_license):
16005 minor clean-ups: G_DEFINE_TYPE already takes care of the
16006 parent_class stuff, no need to do it twice. Mark array of
16007 license strings as constant. (#337103)
16009 2006-04-04 Michael Smith <msmith@fluendo.com>
16011 * tools/gst-inspect.c: (print_element_list):
16012 Free the right plugin list; fixes a memory leak.
16014 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16016 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
16018 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16019 Don't error out on empty buffers (#336945).
16021 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
16023 * docs/libs/gstreamer-libs-sections.txt:
16024 * gst/gsttaglist.c:
16025 * libs/gst/base/gstbasesink.c:
16026 * libs/gst/base/gstbasesink.h:
16027 * libs/gst/base/gstbasesrc.c:
16028 * libs/gst/base/gstbasesrc.h:
16029 Documentation updates. Make BaseSink and BaseSrc docs contain the
16030 class structure so that people can actually see the prototypes for
16031 virtual functions they're supposed to be overriding.
16033 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
16035 * plugins/elements/gsttypefindelement.c:
16036 (gst_type_find_element_chain):
16037 More debug info; when skipping typefinding, send cached
16038 events in all cases.
16040 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
16043 use new AS_VERSION and AS_NANO macros
16044 * gst/gst-i18n-lib.h:
16047 * gst/gstversion.h.in:
16048 * win32/common/config.h:
16049 * win32/common/config.h.in:
16052 2006-03-31 Michael Smith <msmith@fluendo.com>
16054 * plugins/elements/gsttypefindelement.c:
16055 (gst_type_find_element_chain):
16056 Do not typefind content if the buffers already have caps.
16057 Neccesary for icydemux (#333657), and the right thing to do anyway.
16059 2006-03-30 Wim Taymans <wim@fluendo.com>
16061 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16062 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16063 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16064 (gst_base_sink_record_qos_observation),
16065 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16066 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16067 (gst_base_sink_change_state):
16068 More QoS measurements as described in the design doc.
16069 Get rid of ringbuffer with observations, running average is
16070 more simple and equally good.
16071 Calculates valid proportion now.
16072 Added beginning of flood measurement.
16074 2006-03-29 Wim Taymans <wim@fluendo.com>
16076 * docs/design/part-qos.txt:
16078 Small documentation updates and additions.
16080 2006-03-29 Wim Taymans <wim@fluendo.com>
16082 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16083 (gst_base_src_send_event), (gst_base_src_loop),
16084 (gst_base_src_change_state):
16085 Perform the EOS logic when we reach the segment stop position.
16086 Fix compilation on gcc4.1
16088 2006-03-29 Wim Taymans <wim@fluendo.com>
16090 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16092 * plugins/elements/gstqueue.c: (gst_queue_init),
16093 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16094 (gst_queue_set_property):
16095 * plugins/elements/gstqueue.h:
16096 In queue, when EOS is received, if minimum threshold > max_size -
16097 current_level, there is chance that queue blocks forever in conditional
16098 item del wait. This is because the queue is not emptied completely due
16099 to minimum threshold. Here is another approach. Instead of setting
16100 cur_levels to max in EOS, just zero all minimum threshold levels. This
16101 should make sure that queue gives out all data. When going to READY
16102 (stop) state, just reset the original minimum threshold levels.
16105 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
16107 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16108 (gst_type_find_element_handle_event),
16109 (gst_type_find_element_send_cached_events),
16110 (gst_type_find_element_change_state):
16111 * plugins/elements/gsttypefindelement.h:
16112 When typefinding is done in push mode, we should cache
16113 events we receive during typefinding instead of just
16114 dropping them (e.g. newsegment, custom events from
16115 dvdreadsrc etc.) and then send them out once we've
16116 determined the type of the stream (and decodebin
16117 has had a chance to plug in a decoder/demuxer).
16119 2006-03-27 Wim Taymans <wim@fluendo.com>
16121 * docs/design/part-qos.txt:
16124 2006-03-27 Wim Taymans <wim@fluendo.com>
16126 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16128 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16129 (gst_base_src_send_event), (gst_base_src_change_state):
16130 Handle element seek correctly when we are streaming.
16133 2006-03-24 Michael Smith <msmith@fluendo.com>
16135 * docs/faq/gst-uninstalled:
16136 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16137 allow you to correctly run intalled applications built against old
16138 core, using plugins that require updated core (e.g. running
16139 installed totem against a full uninstalled gstreamer stack)
16141 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16143 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16146 2006-03-24 Wim Taymans <wim@fluendo.com>
16148 * docs/gst/gstreamer-sections.txt:
16149 Rearrange the order of the methods so that related methods
16150 are grouped together in sections.
16152 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16154 * gst/gstelement.c:
16155 Little clarification in the docs
16157 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16161 * plugins/elements/gstidentity.c:
16162 * plugins/elements/gstqueue.c:
16163 * plugins/elements/gsttee.c:
16164 * plugins/elements/gsttypefindelement.c:
16165 GST_ELEMENT_DETAILS formatting
16167 2006-03-24 Wim Taymans <wim@fluendo.com>
16169 * libs/gst/base/gstbasesink.h:
16170 Only add fields, not insert or we break ABI.
16172 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16174 * win32/common/libgstbase.def:
16175 * win32/common/libgstreamer.def:
16176 Update, add recently added functions.
16178 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16180 * docs/gst/gstreamer-sections.txt:
16181 * gst/gstutils.c: (gst_pad_query_peer_position),
16182 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16184 API: add some new utility functions:
16185 - gst_pad_query_peer_position()
16186 - gst_pad_query_peer_duration()
16187 - gst_pad_query_peer_convert()
16189 2006-03-23 Wim Taymans <wim@fluendo.com>
16191 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16192 (gst_base_sink_init), (gst_base_sink_finalize),
16193 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16194 (gst_base_sink_set_property), (gst_base_sink_get_property),
16195 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16196 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16197 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16198 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16199 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16200 (gst_base_sink_preroll_object), (gst_base_sink_event),
16201 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16202 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16203 (gst_base_sink_query), (gst_base_sink_change_state):
16204 Decouple max-lateness and the fact that QoS messages are generated
16205 with a new property (qos).
16206 added API: GstBaseSink::async_play()
16207 Add vmethod so subclasses can be notified of ASYNC playing
16209 Collect timestamp start and stop to report better current
16210 position in EOS/PLAYING/PAUSED/READY/NULL.
16211 Refactor QoS/frame dropping and other measurements.
16212 API: GstBaseSrc::qos
16215 * libs/gst/base/gstbasesink.h:
16216 Added Private struct.
16217 API: gst_base_sink_set_qos_enabled()
16218 API: gst_base_sink_is_qos_enabled()
16220 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16222 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16223 If compiling against GLib-2.8 or newer, try to read the
16224 registry file using GMappedFile first before falling back
16225 to fopen() + fread() (#332151).
16227 2006-03-22 Wim Taymans <wim@fluendo.com>
16229 * gst/gstinfo.c: (gst_debug_set_active),
16230 (gst_debug_category_set_threshold):
16231 Disable debugging unless explicitly activated.
16234 2006-03-22 Wim Taymans <wim@fluendo.com>
16236 * gst/gstelement.c: (gst_element_set_locked_state),
16237 (gst_element_dispose):
16238 Cleanup the error case.
16240 * gst/gstobject.c: (gst_object_dispose):
16241 print a critical when some object was disposed with
16242 a parent, also revive the object since it might
16245 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16247 * tools/gst-launch.1.in:
16250 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16253 * tests/check/Makefile.am:
16254 disable some tests when we don't have a registry
16255 * tests/check/gst/gstutils.c: (gst_utils_suite):
16256 don't build the part that needs parsing
16258 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16261 * tests/examples/Makefile.am:
16262 fix --disable-parse build
16264 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16266 * tools/gst-feedback.1.in:
16267 Fix typo: s/feeback/feedback/ (#133494).
16269 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16271 * tools/Makefile.am:
16272 * tools/gst-launch.1.in:
16273 Add FILES section and correct entry about GST_REGISTRY_PATH
16274 environment variable (#133495; #133494).
16276 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16278 * tools/Makefile.am:
16279 * tools/gst-md5sum.1.in:
16280 * tools/gst-md5sum.c:
16281 Remove gst-md5sum and man page (the md5sink element
16282 required was removed ages ago)
16284 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16286 * gst/gststructure.c: (gst_structure_id_set_value):
16287 Make sure that string fields in structures/taglists
16288 contain valid UTF-8 - we don't want to pass rubbish to
16289 applications because of a buggy plugin (cp. #334167).
16291 2006-03-21 Edward Hervey <edward@fluendo.com>
16293 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16294 (gst_bin_handle_message_func):
16295 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16296 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16297 (gst_element_set_bus_func):
16298 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16299 * gst/gstminiobject.c: (gst_value_set_mini_object),
16300 (gst_value_take_mini_object):
16301 * gst/gstpad.c: (gst_pad_set_pad_template):
16302 * gst/gstpipeline.c: (gst_pipeline_dispose),
16303 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16304 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16305 (gst_collect_pads_chain):
16306 * libs/gst/net/gstnettimeprovider.c:
16307 (gst_net_time_provider_set_property):
16308 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16309 It's in fact all issues with gst_*object_replace().
16311 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16313 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16315 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16316 * pkgconfig/gstreamer-check.pc.in:
16317 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16319 2006-03-21 Edward Hervey <edward@fluendo.com>
16323 * gst/gstmessage.h:
16324 gst_[buffer|event|message]_ref() macros are replaced by a static
16325 inline functions because gcc-4.1 will about if the return value
16327 * tests/check/gst/gstevent.c: (event_probe):
16328 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16330 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16333 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16334 the type' case. (Closes: #335195 for now). In the future, when we
16335 depend on GLib 2.10, we could also intern the type name using
16336 g_intern_static_string()
16338 2006-03-20 Wim Taymans <wim@fluendo.com>
16340 * gst/gstbin.c: (gst_bin_handle_message_func),
16341 (bin_query_max_init), (bin_query_position_fold),
16342 (bin_query_position_done), (gst_bin_query):
16343 Position query should also take max of all streams.
16345 2006-03-20 Wim Taymans <wim@fluendo.com>
16347 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16348 (gst_fake_src_finalize):
16349 Fix leaks in fakesrc.
16351 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16352 Fix leaks in the testcase.
16354 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16356 * gst/gst_private.h:
16357 add win32 specific import decoration(__declspec(dllimport))
16358 for all extern GstDebugCategory * variables
16359 * win32/common/libgstbase.def:
16360 * win32/common/libgstcontroller.def:
16361 * win32/common/libgstreamer.def:
16362 Add some exports, remove empty lines
16363 * win32/common/libgstdataprotocol.def:
16364 * win32/common/libgstdataprotocol.dsp:
16365 * win32/common/libgstnet.def:
16366 * win32/common/libgstnet.dsp:
16367 new project files and exportation files added
16369 2006-03-19 Wim Taymans <wim@fluendo.com>
16371 * tests/check/libs/basesrc.c: (eos_event_counter):
16372 Use proper return value for probe.
16374 2006-03-17 Wim Taymans <wim@fluendo.com>
16376 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16378 Don't leak buffers, caps and pads on negotiation errors.
16380 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16382 * docs/faq/cvs.xml:
16383 * docs/faq/dependencies.xml:
16384 * docs/faq/developing.xml:
16385 * docs/faq/faq.xml:
16386 * docs/faq/general.xml:
16387 * docs/faq/getting.xml:
16388 * docs/faq/legal.xml:
16389 * docs/faq/troubleshooting.xml:
16390 * docs/faq/using.xml:
16391 Faq review and update.
16393 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16395 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16397 Don't pound the cpu to pieces by checking get_caps when accept_caps
16398 is called with the same caps as the pad already has.
16399 Use GST_DEBUG_OBJECT when outputting caps change information.
16401 2006-03-15 Wim Taymans <wim@fluendo.com>
16403 * gst/gstclock.c: (gst_clock_class_init):
16406 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16411 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16412 (gst_pad_accept_caps), (gst_pad_configure_sink),
16413 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16414 Make the default acceptcaps behaviour be to check the requested
16415 caps against the gst_pad_get_caps output.
16417 Ensure that gst_pad_accept_caps is used to check caps when a pad
16418 doesn't have a setcaps function, so that pads automatically refuse
16419 caps that they don't allow in their pad template. (Fixes #332986)
16421 When a buffer with attached caps is pushed, ensure that the source
16422 pad receives those caps even if the element didn't call
16423 gst_pad_set_caps first.
16425 2006-03-15 Wim Taymans <wim@fluendo.com>
16427 * libs/gst/base/gstadapter.c:
16430 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16432 * win32/common/libgstbase.def:
16433 * win32/common/libgstcontroller.def:
16434 * win32/common/libgstreamer.def:
16435 Add a whole bunch of missing functions (#334434).
16437 2006-03-14 Wim Taymans <wim@fluendo.com>
16439 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16440 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16441 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16442 Better debug info when we receive a segment event.
16443 Reorganize a bit so we can pass the get_times() results around.
16444 Use the segment format when calculating the running time.
16445 Don't do QoS is sync is disabled or we have no clock or the
16446 element does not want us to sync to the clock.
16447 Don't drop buffers if QoS is disabled for now.
16449 2006-03-14 Wim Taymans <wim@fluendo.com>
16451 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16452 Marked the stats property as unimplemented so people don't get
16454 Add debug message when regression goes wrong.
16455 Added some more docs.
16457 2006-03-14 Wim Taymans <wim@fluendo.com>
16459 * gst/gstsegment.c: (gst_segment_to_stream_time):
16460 Return correct return type in case of errors.
16462 2006-03-14 Wim Taymans <wim@fluendo.com>
16464 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16465 Don't segfault on invalid formats.
16467 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16469 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16470 Can't use gst_segment_to_running_time() when the segment
16471 is not in GST_TIME_FORMAT (like with filesink, for example).
16472 Stops flac encoding pipelines from spewing critical warnings
16475 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16477 * gst/gstpipeline.c: (gst_pipeline_class_init):
16478 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16480 * plugins/elements/gsttypefindelement.c:
16481 (gst_type_find_element_handle_event):
16482 Don't try to typefind empty streams.
16484 2006-03-14 Wim Taymans <wim@fluendo.com>
16486 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16487 (gst_base_sink_do_qos):
16488 Separate QoS calculation.
16489 Only drop buffers when lateness is bigger than the
16490 duration of the buffer.
16492 2006-03-13 Wim Taymans <wim@fluendo.com>
16494 * gst/gstpipeline.c: (gst_pipeline_set_property),
16495 (gst_pipeline_get_property), (do_pipeline_seek),
16496 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16497 (gst_pipeline_get_delay):
16498 Don't deadlock when reading properties.
16500 2006-03-13 Wim Taymans <wim@fluendo.com>
16502 * libs/gst/base/gstbasetransform.c:
16503 (gst_base_transform_class_init), (gst_base_transform_init),
16504 (gst_base_transform_sink_event),
16505 (gst_base_transform_sink_eventfunc),
16506 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16507 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16508 (gst_base_transform_set_property),
16509 (gst_base_transform_get_property),
16510 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16511 (gst_base_transform_set_qos_enabled),
16512 (gst_base_transform_is_qos_enabled):
16513 * libs/gst/base/gstbasetransform.h:
16514 Make basetransform virtual method for src events too.
16515 Handle QOS in basetransform.
16516 API: gst_base_transform_update_qos()
16517 API: gst_base_transform_set_qos_enabled()
16518 API: gst_base_transform_is_qos_enabled()
16520 2006-03-13 Wim Taymans <wim@fluendo.com>
16522 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16523 (gst_base_sink_do_sync):
16525 Use QOS debug category.
16527 2006-03-13 Wim Taymans <wim@fluendo.com>
16529 * plugins/elements/gstqueue.c:
16530 Very small doc update.
16532 2006-03-13 Wim Taymans <wim@fluendo.com>
16534 * gst/gst_private.h:
16535 * gst/gstinfo.c: (_gst_debug_init):
16536 Added QOS debug category
16538 2006-03-13 Wim Taymans <wim@fluendo.com>
16540 * docs/gst/gstreamer-sections.txt:
16541 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16543 * gst/gstbus.c: (gst_bus_class_init):
16546 * gst/gstelement.c: (gst_element_set_locked_state):
16547 * gst/gstsegment.c:
16548 Documentation updates.
16550 * gst/gstpipeline.c: (gst_pipeline_get_type),
16551 (gst_pipeline_class_init), (gst_pipeline_init),
16552 (gst_pipeline_dispose), (gst_pipeline_set_property),
16553 (gst_pipeline_get_property), (do_pipeline_seek),
16554 (gst_pipeline_send_event), (gst_pipeline_change_state),
16555 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16556 (gst_pipeline_get_delay):
16557 * gst/gstpipeline.h:
16558 Added methods for setting the delay.
16559 API: gst_pipeline_set_delay()
16560 API: gst_pipeline_get_delay()
16561 Add pipeline debug category
16564 Don't reset stream time when seek failed.
16566 2006-03-13 Wim Taymans <wim@fluendo.com>
16568 * docs/design/draft-klass.txt:
16569 * docs/design/part-clocks.txt:
16570 * docs/design/part-events.txt:
16571 * docs/design/part-gstbin.txt:
16572 * docs/design/part-gstpipeline.txt:
16573 * docs/design/part-messages.txt:
16574 * docs/design/part-negotiation.txt:
16575 * docs/design/part-overview.txt:
16576 * docs/design/part-preroll.txt:
16577 * docs/design/part-seeking.txt:
16578 * docs/design/part-states.txt:
16579 * docs/design/part-streams.txt:
16580 Documentation updates.
16582 2006-03-12 Julien MOUTTE <julien@moutte.net>
16584 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16585 us to leak strings...
16587 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16589 * libs/gst/net/gstnettimeprovider.c:
16591 * win32/common/config.h:
16594 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16596 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16599 Don't check for libgnomeui (leftover from old examples
16600 that aren't built or disted any longer) (#334303).
16602 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16604 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16605 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16606 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16607 there's no space left on the device.
16609 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16612 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16613 to cast the input to GstClockTime before comparing with
16614 another GstClockTime value.
16616 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16621 === release 0.10.4 ===
16623 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16626 releasing 0.10.4, "Light"
16628 2006-03-10 Michael Smith <msmith@fluendo.com>
16630 * libs/gst/dataprotocol/dataprotocol.c:
16631 Fix docs for dataprocotol to not get the return types completely
16632 wrong for a few functions.
16634 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16636 * docs/gst/gstreamer-sections.txt:
16637 * gst/gstpipeline.c: (gst_pipeline_class_init),
16638 (gst_pipeline_init), (gst_pipeline_set_property),
16639 (gst_pipeline_get_property), (gst_pipeline_change_state),
16640 (gst_pipeline_set_auto_flush_bus),
16641 (gst_pipeline_get_auto_flush_bus):
16642 * gst/gstpipeline.h:
16643 Add new API: gst_pipeline_set_auto_flush_bus() and
16644 gst_pipeline_get_auto_flush_bus() to disable automatic
16645 flushing of the pipeline's GstBus when going from READY
16646 to NULL state (#332045).
16648 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16650 * docs/gst/gstreamer-sections.txt:
16651 * gst/gsturi.c: (gst_uri_has_protocol):
16653 Add new API: gst_uri_has_protocol() (#333779).
16655 2006-03-09 Wim Taymans <wim@fluendo.com>
16657 * gst/gstclock.c: (gst_clock_entry_new),
16658 (gst_clock_id_compare_func), (gst_clock_id_wait),
16659 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16660 (gst_clock_init), (gst_clock_get_internal_time),
16661 (gst_clock_set_master), (do_linear_regression),
16662 (gst_clock_add_observation), (gst_clock_set_property):
16666 Fix a possible segfault when the window-size is made smaller.
16667 Calculate jitter before performing the clock wait. Ideally
16668 the clock implementation should calculate jitter but we need
16669 API breakage for that.
16671 * gst/gstsystemclock.c: (gst_system_clock_init):
16674 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16675 Remove leftover else
16677 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16678 (gst_systemclock_suite):
16679 Added check to test GST_CLOCK_DIFF.
16681 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16683 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16684 (gst_type_find_helper_get_range):
16685 If we are provided with the size, we should implement
16686 GstTypeFind::get_length, so that typefind functions who
16687 want to can actually peek at the middle of a file.
16689 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16691 * docs/manual/advanced-dataaccess.xml:
16692 Add some very very basic error checking.
16694 * docs/pwg/appendix-checklist.xml:
16695 Some updates to the list of things to check when writing an element.
16697 2006-03-08 Wim Taymans <wim@fluendo.com>
16699 * docs/design/part-element-transform.txt:
16700 Added some docs about the design of tranform elements.
16702 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16703 (gst_base_src_loop), (gst_base_src_change_state):
16704 Mark buffers with the DISCONT flag.
16706 2006-03-08 Michael Smith <msmith@fluendo.com>
16708 * gst/gstregistry.h:
16709 * gst/gstregistryxml.c: (gst_registry_save),
16710 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16711 (gst_registry_xml_save_pad_template),
16712 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16713 (gst_registry_xml_write_cache):
16714 Rewrite registry-saving to avoid race conditions and check for
16717 2006-03-08 Wim Taymans <wim@fluendo.com>
16719 * libs/gst/base/gstbasetransform.c:
16720 (gst_base_transform_transform_caps),
16721 (gst_base_transform_transform_size),
16722 (gst_base_transform_prepare_output_buffer),
16723 (gst_base_transform_get_unit_size),
16724 (gst_base_transform_buffer_alloc),
16725 (gst_base_transform_handle_buffer),
16726 (gst_base_transform_change_state):
16727 Cleanups, separate normal flow from errors, add sensible
16729 Don't try to renegotiate when allocating an output buffer.
16730 Also copy DISCONT buffer flag when copying a buffer.
16731 Reset the transform after we finish streaming, not during.
16733 2006-03-08 Wim Taymans <wim@fluendo.com>
16735 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16736 Use last buffer timestamp in qos message.
16738 2006-03-07 Wim Taymans <wim@fluendo.com>
16740 Patch by: Christophe Fergeau
16742 * docs/pwg/advanced-tagging.xml:
16743 * docs/pwg/building-pads.xml:
16746 2006-03-07 Wim Taymans <wim@fluendo.com>
16748 * docs/libs/gstreamer-libs-sections.txt:
16749 Added basesink new methods.
16753 Docs updates. Flesh out the QoS docs.
16755 * libs/gst/base/gstadapter.c:
16756 Small doc clarification about ownership and flushing.
16758 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16759 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16760 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16761 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16762 * libs/gst/base/gstbasesink.h:
16764 Added new methods to allow subclass to control max-lateness
16766 Generate very basic QoS events based on last sync observation.
16767 Updated docs, fix typo, added some QoS blurb.
16769 * libs/gst/base/gstbasesrc.c:
16770 Remove obsolete _get_state() calls from docs.
16772 2006-03-07 Wim Taymans <wim@fluendo.com>
16774 * docs/libs/gstreamer-libs-sections.txt:
16775 * libs/gst/base/gstbasetransform.h:
16776 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16777 Fix docs for GstBaseSrc.
16779 2006-03-07 Wim Taymans <wim@fluendo.com>
16781 * docs/gst/gstreamer-sections.txt:
16784 * libs/gst/base/gstbasetransform.h:
16785 Small documentation fixes.
16787 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16790 Document thread-unsafety of gst_value_register_foo_func()
16791 when used at the same time as gst_value_foo() (#322628).
16793 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16795 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16796 (gst_push_src_check_get_range):
16797 Push sources don't support pull mode by default.
16799 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16801 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16802 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16803 (gst_base_src_default_check_get_range):
16804 * libs/gst/base/gstbasesrc.h:
16805 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16806 provide default implementation, and rename
16807 gst_base_src_check_get_range() to
16808 gst_base_src_pad_check_get_range() for clarity.
16810 2006-03-06 Wim Taymans <wim@fluendo.com>
16812 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16813 Make property overridable.
16815 2006-03-06 Wim Taymans <wim@fluendo.com>
16817 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16818 (gst_base_sink_init), (gst_base_sink_set_property),
16819 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16820 * libs/gst/base/gstbasesink.h:
16821 API addition: Make max-lateness a property.
16823 2006-03-06 Wim Taymans <wim@fluendo.com>
16825 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16826 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16827 Don't ever draw a frame that is >10ms late.
16829 2006-03-06 Michael Smith <msmith@fluendo.com>
16831 * gst/gstmessage.c: (_gst_message_copy):
16832 When copying a message, set the parent_refcount of the enclosed
16833 structure to point at the copy, not the original message.
16835 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16837 Patch by: Christophe Fergeau
16840 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16841 usable in c++ code (#333417)
16843 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16846 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16848 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16850 * libs/gst/base/gstbasetransform.c:
16851 (gst_base_transform_transform_caps):
16852 Make sure caps are writable before passing them to
16855 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16858 Fix some minor docs errors.
16860 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16862 Patch by: Ross Burton <ross at burtonini dot com>
16864 * gst/gsterror.c: (_gst_resource_errors_init):
16866 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16868 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16871 Add a check and output a g_warning when GStreamer is built
16872 against GLib 2.6 but running against 2.8 or higher, and vice
16873 versa. (Closes: #323542)
16875 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16877 * gst/parse/parse.l:
16878 Commit patch for parse_launch syntax from #331255. Removes
16879 support for quoted strings and mimetypes when writing filtered
16880 caps. See the bug report for more details - I'm pretty sure this
16881 obscure feature is not in use by _anyone_ anywhere.
16883 With this simple change, the size of the gstreamer.so here
16884 drops from 2193KB to 1565KB.
16886 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16888 * plugins/elements/gsttypefindelement.h:
16889 * plugins/elements/gsttypefindelement.c:
16890 (gst_type_find_element_src_event), (start_typefinding),
16891 (stop_typefinding), (gst_type_find_element_handle_event),
16892 (gst_type_find_element_chain),
16893 (gst_type_find_element_chain_do_typefinding):
16894 Use gst_type_find_helper_for_buffer() for chain-based
16897 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16899 * plugins/elements/gsttypefindelement.c:
16900 (gst_type_find_element_class_init),
16901 (gst_type_find_element_set_property),
16902 (gst_type_find_element_get_property):
16903 Deprecate "maximum" property (not only was it only taken into
16904 account for typefinding in push-mode anyway, it also was never
16905 actually possible to set it in the first place because the
16906 property was registered with the numeric property ID for the
16907 "minimum" property). Register "maximum" property correctly,
16908 for the sake of future copy'n'pasters. Remove some cruft
16909 from property get/set functions.
16911 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16913 * plugins/elements/gsttypefindelement.c:
16914 (gst_type_find_element_activate):
16915 Use gst_type_find_helper_get_range() here, so we
16916 can honour the "minimum" property and also emit
16917 the signal with the correct probability of the found caps.
16919 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16921 * docs/libs/gstreamer-libs-sections.txt:
16922 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16923 (helper_find_suggest), (gst_type_find_helper_get_range),
16924 (gst_type_find_helper):
16925 * libs/gst/base/gsttypefindhelper.h:
16926 New API: gst_type_find_helper_get_range() (#333042).
16928 2006-03-02 Michael Smith <msmith@fluendo.com>
16930 * gst/gstregistryxml.c: (load_feature):
16931 Asserting on a failure to read part of the registry is Not Cool.
16932 Just log a warning and return NULL (which is already handled)
16934 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16936 * win32/common/libgstbase.def:
16937 added export of gst_type_find_helper_for_buffer
16938 * win32/common/libgstbase.def:
16939 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16940 gst_ghost_pad_get_target
16942 2006-02-28 Wim Taymans <wim@fluendo.com>
16944 * docs/design/draft-klass.txt:
16946 Added Connector to mark elements that are only used to
16947 allow pipeline connections.
16948 Moved Debug to extra feature since most of them are
16949 functionally something else.
16951 2006-02-28 Wim Taymans <wim@fluendo.com>
16953 * docs/design/draft-klass.txt:
16954 Some updates and clarifications.
16956 2006-02-28 Wim Taymans <wim@fluendo.com>
16958 * docs/design/draft-klass.txt:
16959 Proposal for klass field values.
16961 * docs/design/part-streams.txt:
16962 Start of a doc describing stream anatomy.
16964 2006-02-28 Wim Taymans <wim@fluendo.com>
16966 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16967 Help the compiler a bit with type registration.
16968 Use existing forward cod path instead of duplicating it when
16969 handling a message.
16971 * gst/gstbus.c: (gst_bus_get_type):
16972 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16973 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16974 * gst/gstclock.c: (gst_clock_get_type):
16975 * gst/gstelement.c: (gst_element_get_type),
16976 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16977 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16978 * gst/gstminiobject.c: (gst_mini_object_get_type):
16979 * gst/gstpad.c: (gst_pad_get_type):
16980 * gst/gstsegment.c: (gst_segment_get_type):
16981 * gst/gststructure.c: (gst_structure_get_type):
16982 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16983 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16985 Help compiler with type registration.
16987 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16990 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16992 * plugins/elements/gsttypefindelement.c:
16993 (gst_type_find_element_handle_event):
16994 When we get an EOS event and have not found a type yet
16995 (most likely because we had not yet accumulated
16996 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16997 type given the data we have so far. Fixes typefinding
16998 for very short streams again, most notably quicktime
16999 redirections as used on Apple's trailer site (#331701).
17001 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17003 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17004 (gst_type_find_helper):
17005 Try typefinding factories with the highest rank first.
17007 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17009 * docs/libs/gstreamer-libs-docs.sgml:
17010 * docs/libs/gstreamer-libs-sections.txt:
17011 * libs/gst/base/gsttypefindhelper.c:
17012 Add section for typefind helper and add documentation
17013 for the old and the new function.
17015 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17017 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17018 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17019 (gst_type_find_helper_for_buffer):
17020 * libs/gst/base/gsttypefindhelper.h:
17021 New API: gst_type_find_helper_for_buffer() (#332723).
17023 2006-02-27 Michael Smith <msmith@fluendo.com>
17025 Patch by: Loïc Minier
17028 * docs/Makefile.am:
17029 * docs/slides/Makefile.am:
17030 prevent CVS directories getting disted.
17032 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
17034 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17035 Use the REFCOUNTING category for caps refcounting.
17037 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17039 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17040 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17042 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
17044 * plugins/elements/gsttypefindelement.c:
17045 (gst_type_find_element_activate):
17046 Use gst_pad_check_pull_range() before _activate_pull()
17047 to avoid unnecessary open/close (see #331690).
17049 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17052 Docs enhancement: make it crystal clear what the
17053 gst_pad_add_*_probe() callbacks should look like.
17055 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
17057 * libs/gst/base/gstbasesrc.c:
17058 Document how applications can stop recording from
17059 live sources (see #330996).
17061 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17063 * tests/check/Makefile.am:
17064 * tests/check/libs/basesrc.c: (eos_event_counter),
17065 (basesrc_eos_events_pull), (basesrc_eos_events_push),
17066 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17067 (gst_basesrc_suite), (main):
17068 ... and add some tests for the base source EOS stuff.
17070 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17072 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17073 Test case originally showed the problem fixed below,
17074 but was then amended. Add checks back at the place
17075 where they used to be.
17077 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17079 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17080 (gst_base_src_init), (gst_base_src_loop),
17081 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17082 (gst_base_src_change_state):
17083 * libs/gst/base/gstbasesrc.h:
17084 Don't unconditionally send EOS when going from PAUSED to
17085 READY state, esp. make sure we don't send two EOS events
17086 in some cases (e.g. one when reaching EOS and one when
17087 going from PAUSED to READY). Also, we don't want to send
17088 EOS events when operating in pull mode. However, we do
17089 want to send an EOS event when shutting down a live
17090 source explicitly, for example (fixes #330996).
17092 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
17094 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17095 Update src->read_position after a seek when not using mmap.
17096 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17098 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
17104 Make things work with --disable-parse as they do with
17105 --disable-load-save - the symbols involved disappear, but the
17106 header is still installed and GST_DISABLE_PARSE is included via
17109 2006-02-20 Julien MOUTTE <julien@moutte.net>
17111 * libs/gst/base/gstbasetransform.c:
17112 (gst_base_transform_change_state): Fix a stupid bug. I was
17113 sure I compiled that.
17115 2006-02-20 Julien MOUTTE <julien@moutte.net>
17117 * gst/gstpad.c: (gst_pad_set_blocked_async):
17118 * gst/gstutils.c: (gst_pad_add_data_probe),
17119 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17120 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17121 (gst_pad_remove_buffer_probe): Make those function act on the
17122 ghostpad target when it's a ghostpad. (Closes #331727)
17124 2006-02-20 Julien MOUTTE <julien@moutte.net>
17126 * libs/gst/base/gstbasetransform.c:
17127 (gst_base_transform_change_state): Make basetransform reusable.
17130 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17132 * docs/random/release:
17133 Move the current documentation of how to do a release to the top
17136 * gst/gstbin.c: (gst_bin_class_init),
17137 (gst_bin_handle_message_func):
17138 Allow multiple state-recalculation threads. (Closes #328873)
17140 2006-02-19 Julien MOUTTE <julien@moutte.net>
17142 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17143 * gst/gstpad.c: (gst_pad_set_event_function),
17144 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17145 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17146 2 strings. You can't use the STR_NULL macro on that.
17148 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17150 * gst/gstpad.c: (gst_pad_set_event_function),
17151 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17152 (gst_pad_set_getcaps_function)
17153 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17154 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17155 So now, we can use --gst-debug-level=5 on Windows
17156 * win32/common/libgstcontroller.def:
17157 Added export of gst_controller_init
17158 * win32/vs6/libgstcontroller.dsp:
17159 Fixed Release post build configuration
17161 2006-02-17 Wim Taymans <wim@fluendo.com>
17163 * tests/check/gst/gstquery.c: (GST_START_TEST):
17164 Added another check.
17166 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17168 * plugins/elements/gsttypefindelement.c: (find_peek):
17169 We can do peeks at non-zero offsets, as long as they
17170 fall within the buffer we have.
17172 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17174 * tests/check/Makefile.am:
17175 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17176 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17177 (parse_suite), (main):
17178 Add testsuite for parse launch syntax
17180 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17182 * plugins/elements/gsttypefindelement.c:
17183 (gst_type_find_element_chain):
17184 When typefinding is unsuccessful in the chain function, don't
17185 error out immediately. Only error out with NO_CAPS_FOUND if
17186 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17187 otherwise simply wait for more data so we can try typefinding
17188 again with more data later. Also, don't attempt to typefind
17189 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17190 this should improve typefinding from network sources where the
17191 size of the first buffer can be somewhat random.
17193 2006-02-14 Wim Taymans <wim@fluendo.com>
17195 * docs/gst/gstreamer-sections.txt:
17196 * gst/gstpadtemplate.c:
17197 * gst/gstpadtemplate.h:
17198 Fix padtemplate docs, fixes #328805.
17200 2006-02-14 Wim Taymans <wim@fluendo.com>
17202 * tools/gst-launch.c: (main):
17203 NO_PREROLL is not an ERROR so don't send confusing messages
17206 2006-02-14 Wim Taymans <wim@fluendo.com>
17208 Patch by: Torsten Schoenfeld
17210 * gst/gstregistry.c: (gst_registry_get_default),
17211 (_gst_registry_cleanup):
17212 Protect default registry with lock and ref/sink it.
17215 2006-02-14 Wim Taymans <wim@fluendo.com>
17218 * gst/gstquery.c: (gst_query_list_add_format),
17219 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17220 (gst_query_parse_formats_nth):
17221 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17224 2006-02-14 Wim Taymans <wim@fluendo.com>
17226 * docs/gst/gstreamer-sections.txt:
17227 Reworked query docs.
17229 * gst/gstquery.c: (gst_query_new_formats),
17230 (gst_query_list_add_format), (gst_query_set_formats),
17231 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17232 (gst_query_parse_formats_nth):
17234 Flesh out formats query, added some new methods.
17235 Fix part of #324398.
17237 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17238 Added query creation tests.
17240 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17242 * gst/gstpad.c: (fixate_value):
17243 Add a default fixation for fraction lists.
17245 2006-02-13 Wim Taymans <wim@fluendo.com>
17247 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17248 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17251 Detect and warn for obvious deadlocks. fixes #320340
17252 Fix error case where lock was not released.
17254 * tests/check/Makefile.am:
17255 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17256 (task_func), (gst_element_suite), (main):
17259 2006-02-13 Wim Taymans <wim@fluendo.com>
17261 * docs/gst/gstreamer-sections.txt:
17263 Add new functions to docs.
17265 2006-02-13 Wim Taymans <wim@fluendo.com>
17267 * docs/design/part-TODO.txt:
17268 Updated TODO list, basesrc supports seeking to non-bytes
17271 * docs/design/part-element-sink.txt:
17274 * gst/gstbin.c: (bin_replace_message),
17275 (gst_bin_handle_message_func):
17276 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17277 * gst/gstevent.c: (gst_event_finalize):
17278 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17279 (gst_pad_send_event):
17280 Use shiny new _TYPE_NAME macros.
17282 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17283 Move debug statement up.
17285 * gst/gstelement.c: (gst_element_set_locked_state):
17286 Add some debugging.
17288 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17290 * docs/gst/gstreamer-sections.txt:
17291 * gst/gstmessage.h:
17293 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17294 macros (#330906). Also, document the already existing
17295 GST_QUERY_TYPE macro.
17297 2006-02-13 Wim Taymans <wim@fluendo.com>
17299 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17300 (event_probe), (GST_START_TEST):
17301 Only events up to the pipeline EOS are counted, there are
17302 some more when going to NULL currently which we don't care
17305 2006-02-13 Wim Taymans <wim@fluendo.com>
17307 * gst/gstpad.c: (gst_pad_send_event):
17308 Correctly check flushing and emit probes. fixes #330125
17310 2006-02-10 Andy Wingo <wingo@pobox.com>
17312 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17314 (gst_bus_init): Cache the location of the private data in the
17315 instance structure.
17316 (gst_bus_enable_sync_message_emission)
17317 (gst_bus_disable_sync_message_emission): Implement new public
17319 (gst_bus_post): Emit the sync-message signal if the user asked for
17322 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17323 location of the bus-private structure.
17324 (gst_bus_enable_sync_message_emission)
17325 (gst_bus_disable_sync_message_emission): API addition
17327 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17329 Patch by: Vincent Torri
17331 * docs/pwg/building-boiler.xml:
17332 PWG patch from #326800
17334 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17337 * docs/Makefile.am:
17338 * docs/design/Makefile.am:
17341 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17346 === release 0.10.3 ===
17348 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17351 releasing 0.10.3, "Like a virgin"
17353 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17356 2nd prerelease of 0.10.3
17357 Bump libtool versioning.
17359 2006-02-07 Andy Wingo <wingo@pobox.com>
17361 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17362 update last_stop if we're in TIME format and the timestamp is
17365 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17366 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17367 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17368 If we get a new newsegment with a different format, adapt
17371 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17372 of 0. Not a problem, really.
17374 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17377 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17382 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17385 project files updated to the default vs7 configuration
17386 * win32/common/libgstbase.def:
17387 * win32/common/libgstreamer.def:
17389 removed empty lines,
17390 sorted all exported symbols alphabetically
17391 * win32/common/dirent.c:
17392 * win32/common/dirent.h:
17393 * win32/common/gchar.h:
17394 use windows line end.
17396 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17398 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17399 Send EOS event when stopping.
17401 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17404 Tell folks what to do if the plugin-foobar.xml file
17405 hasn't been generated for a newly-added plugin.
17407 2006-02-05 Julien MOUTTE <julien@moutte.net>
17409 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17410 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17411 (gst_collect_pads_start), (gst_collect_pads_stop),
17412 (gst_collect_pads_event): Collectpads now holds a reference
17413 to the GstPad that was added. Indeed we don't want to look
17414 at pads that might just go away with no warning...
17416 2006-02-05 Julien MOUTTE <julien@moutte.net>
17418 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17419 (gst_collect_pads_start), (gst_collect_pads_stop),
17420 (gst_collect_pads_event), (gst_collect_pads_chain):
17421 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17422 Mark Nauwelaerts's patch on bug #328491.
17424 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17426 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17428 Add some simple tests for gst_parse_bin_from_description() and
17429 gst_bin_find_unconnected_pad() (#329069).
17431 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17433 * tools/gst-launch.c: (event_loop), (main):
17434 Catch errors during preroll (#320084).
17436 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17438 * plugins/elements/gsttypefindelement.c:
17439 (gst_type_find_element_activate):
17440 Post TYPE_NOT_FOUND error message when typefinding
17441 is unsuccessful in the activate function as well.
17443 2006-02-02 Wim Taymans <wim@fluendo.com>
17445 * docs/design/part-element-sink.txt:
17448 2006-02-02 Wim Taymans <wim@fluendo.com>
17450 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17451 (gst_base_sink_render_object),
17452 (gst_base_sink_queue_object_unlocked):
17453 Only keep track of prerollable items when we are
17455 Before rendering after preroll, always check if we
17457 Added some more debugging.
17459 2006-02-02 Wim Taymans <wim@fluendo.com>
17461 * gst/gstelement.c: (gst_element_continue_state),
17462 (gst_element_set_state_func), (gst_element_change_state):
17463 Fixed #326576, been running this for quite some time with
17464 no regressions at all.
17466 2006-02-02 Wim Taymans <wim@fluendo.com>
17469 Added more suppressions
17471 2006-02-02 Wim Taymans <wim@fluendo.com>
17473 * docs/design/part-element-sink.txt:
17476 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17477 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17478 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17479 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17480 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17481 (gst_base_sink_preroll_object),
17482 (gst_base_sink_queue_object_unlocked),
17483 (gst_base_sink_queue_object), (gst_base_sink_event),
17484 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17485 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17486 (gst_base_sink_get_position), (gst_base_sink_change_state):
17487 * libs/gst/base/gstbasesink.h:
17488 Totally refactored matching the design doc.
17489 Use two segments, one to clip incomming buffers and another to
17491 Handle queueing correctly, bypass the queue when playing.
17492 Make EOS cancelable.
17493 Handle errors correctly when operating in pull based mode.
17495 * tests/check/elements/fakesink.c: (GST_START_TEST),
17497 Added new check for sinks.
17499 2006-02-02 Wim Taymans <wim@fluendo.com>
17501 * gst/gstsegment.c: (gst_segment_clip):
17502 No reason to refuse to clip when start == -1
17504 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17507 * docs/manual/intro-basics.xml:
17508 * docs/manual/intro-preface.xml:
17509 * docs/manual/manual.xml:
17510 * docs/pwg/advanced-dparams.xml:
17511 * docs/pwg/intro-basics.xml:
17512 * docs/pwg/intro-preface.xml:
17513 * docs/pwg/pwg.xml:
17514 describe dparams (controller) for plugins
17515 unify docs a little more
17517 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17519 * docs/gst/gstreamer-sections.txt:
17520 * gst/gstutils.c: (element_find_unconnected_pad),
17521 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17523 Add new API: gst_parse_bin_from_description() and
17524 gst_bin_find_unconnected_pad() (#329069).
17526 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17528 * docs/manual/README:
17529 uncover a nasty detail of the docs build
17531 2006-01-31 Wim Taymans <wim@fluendo.com>
17533 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17534 Don't cache duration messages if we're not going to use or
17537 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17539 * docs/manual/advanced-dparams.xml:
17540 * docs/pwg/advanced-dparams.xml:
17544 * libs/gst/controller/lib.c: (gst_controller_init):
17547 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17549 * gst/gstelement.c: (gst_element_message_full):
17550 also show file/line/func if no additional debug was given
17552 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17554 * win32/vs7/grammar.vcproj:
17555 activate copy of autogenerated files for Release mode
17557 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17559 * win32/common/libgstreamer.def:
17560 export gst_value_compare
17562 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17564 * plugins/elements/Makefile.am:
17565 * plugins/elements/gstelements.c:
17566 * plugins/elements/gstfdsink.c: (_do_init),
17567 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17568 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17569 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17570 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17571 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17572 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17573 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17574 * plugins/elements/gstfdsink.h:
17575 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17577 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17579 * docs/manual/advanced-dparams.xml:
17580 describe controller
17581 * docs/manual/advanced-position.xml:
17582 * docs/manual/basics-init.xml:
17583 * docs/manual/manual.xml:
17584 * docs/manual/titlepage.xml:
17585 * docs/pwg/pwg.xml:
17586 * docs/pwg/titlepage.xml:
17587 cleanup xml (more to come)
17588 * libs/gst/controller/gstcontroller.c:
17591 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17593 * win32/vs6/grammar.dsp:
17594 add autogen of gstmarshal.c,h for Release mode
17596 2006-01-30 Wim Taymans <wim@fluendo.com>
17598 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17599 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17600 (gst_base_sink_handle_object), (gst_base_sink_event),
17601 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17602 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17603 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17604 (gst_base_sink_deactivate), (gst_base_sink_activate),
17605 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17606 (gst_base_sink_query), (gst_base_sink_change_state):
17607 Basesink cleanups, remove some old code.
17608 Handle the case where a subclass can preroll in the render
17609 method (mostly audiosinks).
17610 Handle more events.
17611 Remove some locks around variables that are now protected
17612 with the PREROLL_LOCK (clock_id, flushing, ..).
17613 Optimize position query some more, do correct locking.
17614 Remove old code to push queue in state change, this is not
17615 needed anymore since preroll blocks on all prerollable items
17617 Almost implemented as described in design doc.
17619 2006-01-30 Wim Taymans <wim@fluendo.com>
17621 * tests/check/gst/gstbin.c: (GST_START_TEST):
17622 Wait for refcount to settle down before checking.
17624 2006-01-30 Wim Taymans <wim@fluendo.com>
17626 * docs/design/part-element-sink.txt:
17627 Pseudo code overview of desired sink behaviour regarding
17630 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17631 * win32/vs6/grammar.dsp:
17632 fix some bugs in Release mode for autogenerated files
17634 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17635 * win32/common/libgstbase.def:
17636 * win32/common/libgstreamer.def:
17637 export some new symbols: gst_base_src_set_format,
17638 gst_iterator_next, gst_structure_set_valist
17640 2006-01-29 Julien MOUTTE <julien@moutte.net>
17642 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17643 Set pad functions unconditionally. Fixes #329105.
17645 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17647 add vs8 project files created by Sergey Scobich
17649 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17651 * gst/gstutils.c: (gst_element_unlink_pads):
17652 Don't leak pad references.
17654 * tests/check/elements/fakesink.c: (GST_START_TEST):
17655 * tests/check/generic/sinks.c: (GST_START_TEST):
17656 * tests/check/generic/states.c: (GST_START_TEST):
17657 * tests/check/gst/gstbin.c: (GST_START_TEST):
17658 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17659 * tests/check/gst/gstelement.c: (GST_START_TEST):
17660 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17661 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17662 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17663 Fix a bunch of leaks. Make generic/sinks.c
17664 use a bit less cpu by slowing the buffer rate
17665 between fakesrc and fakesink.
17667 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17669 * gst/gstelement.c: (gst_element_send_event):
17672 * gst/gstiterator.c:
17673 * gst/gstiterator.h:
17674 * gst/gstpad.c: (gst_pad_send_event):
17675 * gst/gststructure.c:
17679 * libs/gst/base/gstadapter.c:
17680 doc fixes, to link to function, just write gst_cool_function(), don't
17683 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17685 * plugins/elements/gsttee.c: (gst_tee_do_push),
17686 (gst_tee_handle_buffer):
17687 Always prefer an actual return value from a src
17688 pad in place of NOT_LINKED. This means we return
17689 WRONG_STATE when all src pads are WRONG_STATE
17690 instead of NOT_LINKED.
17692 Lock when replacing the last message to prevent
17693 racing with the get_property method.
17697 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17699 * tests/check/Makefile.am:
17700 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17702 Add a very simple check that should have caught the memleak I fixed
17703 last night (if not for the slice allocator hiding it)
17705 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17707 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17708 (gst_bin_remove_func), (gst_bin_handle_message_func),
17709 (bin_query_duration_fold), (bin_query_generic_fold):
17710 Clean up references to the clock provider when disposed or when
17711 handling a clock-lost message from it.
17713 Unref sinks when performing a query via gst_iterator_fold, as the
17714 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17716 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17717 (gst_clock_set_master):
17718 Drop our reference to the master clock, if any, when we are disposed.
17720 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17721 Chain up in dispose.
17723 2006-01-26 Wim Taymans <wim@fluendo.com>
17725 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17726 Add some debugging.
17728 2006-01-26 Julien MOUTTE <julien@moutte.net>
17730 * plugins/elements/gsttee.c: (gst_tee_do_push),
17731 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17732 handles pad being NOT_LINKED or in WRONG_STATE.
17734 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17739 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17742 remove obsolete entry
17744 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17746 * docs/gst/gstreamer-sections.txt:
17747 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17748 (gst_bin_iterate_sources), (gst_bin_send_event):
17750 * gst/gstelement.c: (gst_element_send_event):
17752 * gst/gstpad.c: (gst_pad_send_event):
17753 added code for downstream events, reviewed docs in gstevent.c
17755 2006-01-25 Julien MOUTTE <julien@moutte.net>
17757 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17758 We only query position using the clock in the playing state.
17759 Query peer in the other cases.
17760 * win32/common/config.h: Updates.
17762 2006-01-24 Wim Taymans <wim@fluendo.com>
17764 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17765 A clock entry that is scheduled for the exact time of the
17766 clock is still in time.
17768 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17769 (gst_base_sink_do_sync):
17770 Add some more debug info.
17772 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17775 Add new vs7 project files and solution.
17777 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17780 all files removed as they were out-dated.
17782 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17784 * docs/random/release:
17786 * gst/gstbin.c: (gst_bin_init):
17787 * gst/gstbus.c: (gst_bus_new):
17789 * gst/gstpipeline.c: (gst_pipeline_init):
17790 use gst_bus_new(), improve logging, fix docs
17791 * win32/common/config.h:
17792 update for cvs build
17794 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17797 up required version of automake to 1.7
17799 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17801 * win32/common/libgstreamer.def:
17802 export gst_buffer_is_metadata_writable
17804 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17806 * docs/gst/gstreamer-sections.txt:
17808 Add gst_event_replace() (#327001)
17810 2006-01-20 Wim Taymans <wim@fluendo.com>
17812 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17813 Make it actually compile too..
17815 2006-01-20 Wim Taymans <wim@fluendo.com>
17818 Clarify behaviour of _is_equal() when passing NULL parameters.
17820 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17821 (gst_pad_set_caps):
17822 Cleanups. Don't unref NULL caps.
17823 When setting the same caps, protect caps of the pad with
17825 Use full functionality of _is_equal() when comparing caps.
17827 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17829 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17830 Don't loop infinitely if there are no buffers to present. Partially
17831 fixes #327197, but collectpads is just broken for reusing elements
17832 to do multiple encodes atm.
17834 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17836 * tools/gst-inspect.c: (print_element_features):
17837 * tools/gst-xmlinspect.c: (main):
17838 URL_HANDLER is not a plugin feature we can search for in
17841 2006-01-19 Edward Hervey <edward@fluendo.com>
17843 * gst/gstelement.c: (gst_element_pads_activate):
17844 When activating, do src pads first, then sink pads.
17845 When de-activating, do sink pads first, then src pads.
17847 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17849 * docs/gst/gstreamer-sections.txt:
17850 Add gst_index_add_associationv to the docs
17852 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17857 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17858 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17859 Do some refactoring. Doesn't actually change functionality,
17860 but makes landing the DRAIN event easier later.
17862 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17864 * docs/pwg/advanced-scheduling.xml:
17865 Update from 0.9.x to 0.10 API and make example a bit
17868 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17870 * docs/gst/gstreamer-sections.txt:
17871 Add gst_buffer_(is|make)_metadata_writable methods.
17873 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17875 * docs/design/part-sparsestreams.txt:
17876 Update sparse streams doc, hopefully for greater clarity
17878 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17880 * docs/design/part-events.txt:
17881 Remove mention of FILLER events.
17884 * docs/design/part-sparsestreams.txt:
17885 Write some things about using NEWSEGMENT to keep sparse streams
17888 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17890 * gst/gstbin.c: (gst_bin_dispose):
17891 Guard gst_object_unref call against a NULL object (dispose
17892 can theoretically be called multiple times).
17894 2006-01-18 Wim Taymans <wim@fluendo.com>
17896 * gst/gstbin.c: (gst_bin_element_set_state):
17897 * gst/gstclock.c: (gst_clock_id_wait):
17898 Added some more debug info.
17900 * libs/gst/base/gstadapter.c:
17903 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17904 (gst_base_sink_do_sync), (gst_base_sink_chain):
17905 Added some comments.
17907 2006-01-18 Wim Taymans <wim@fluendo.com>
17909 * tests/check/Makefile.am:
17910 * tests/check/elements/fakesink.c: (chain_async_buffer),
17911 (chain_async), (chain_async_return), (GST_START_TEST),
17912 (fakesink_suite), (main):
17913 Added fakesink test that checks prerolling and clipping
17916 * tests/check/gst/gstutils.c: (GST_START_TEST):
17917 Make check run faster so that buildbots don't timeout.
17919 2006-01-18 Wim Taymans <wim@fluendo.com>
17921 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17922 (gst_base_sink_do_sync):
17924 When the sink finishes blocking on the preroll buffer, it can
17925 immediatly render it instead of rendering when the next buffer
17928 2006-01-18 Wim Taymans <wim@fluendo.com>
17930 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17931 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17932 (gst_base_sink_chain):
17934 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17935 Don't store _last_stop if the buffer is dropped.
17937 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17939 * plugins/elements/gsttypefindelement.c:
17940 (gst_type_find_element_class_init):
17941 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17942 object method handler that sets the caps on the pad and we want
17943 that to happen before we emit the signal (fixes e.g. feeding a
17944 plain text file to decodebin).
17946 2006-01-18 Christian Schaller <Christian@fluendo.com>
17948 * gst/gstplugin.c: Add MPL and Proprietary as license options
17950 2006-01-18 Andy Wingo <wingo@pobox.com>
17952 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17953 symbol was exported before, it appears this was just an oversight.
17955 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17957 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17958 prototype to gint. OK since this prototype was not in the header.
17960 2006-01-17 Andy Wingo <wingo@pobox.com>
17962 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17963 registry while we remove plugins.
17965 * tools/gst-inspect.c (print_element_info): Don't unref the
17966 factory arg, that should be the responsibility of whatever code
17967 received the ref. Fixes a double-free when called from
17968 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17969 (main): Unref the factory if we have one.
17970 (print_element_list): No change -- relies on the
17971 plugin_feature_list_free to free the list of features.
17973 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17975 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17976 (gst_buffer_make_metadata_writable):
17978 * libs/gst/base/gstbasetransform.c:
17979 (gst_base_transform_prepare_output_buf):
17980 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17981 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17982 Replace gst_buffer_(make|is)_metadata_writable patch now
17983 that the release is out.
17985 2006-01-17 Andy Wingo <wingo@pobox.com>
17987 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17988 in the present tense without reference to versions.
17990 * gst/gstregistry.c (gst_registry_add_plugin)
17991 (gst_registry_remove_plugin, gst_registry_remove_feature)
17992 (gst_registry_find_feature, gst_registry_get_feature_list)
17993 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17994 (gst_registry_lookup, gst_registry_scan_path)
17995 (_gst_registry_remove_cache_plugins)
17996 (gst_registry_get_feature_list_by_plugin): Add argument
17999 === release 0.10.2 ===
18001 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
18004 releasing 0.10.2, "If man is five"
18006 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18010 * libs/gst/base/gstbasetransform.c:
18011 (gst_base_transform_prepare_output_buf):
18012 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18013 * tests/check/gst/gstbuffer.c: (gst_test_suite):
18014 Back out patch until after the release.
18016 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18018 * gst/gstminiobject.c:
18019 Spelling fix in docs.
18020 * ChangeLog - remove conflict indicator
18022 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
18024 Reviewed By: Andy Wingo
18026 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18027 (gst_buffer_make_metadata_writable):
18029 Add gst_buffer_(is|make)_metadata_writable as analogues of
18030 gst_buffer_(is|make)_writable.
18032 * libs/gst/base/gstbasetransform.c:
18033 (gst_base_transform_prepare_output_buf):
18034 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18035 Use name gst_buffer_(is|make)_metadata_writable functions.
18037 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18038 Test gst_buffer_(is|make)_metadata_writable
18042 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
18044 * docs/manual/Makefile.am:
18045 don't do parallel make
18048 * win32/common/config.h.in:
18049 add generations for HOST_CPU and GST_MAJORMINOR
18050 * win32/common/config.h:
18051 commit generated result
18053 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
18055 * docs/manual/appendix-integration.xml:
18056 Update GNOME integration section to use gst_init_get_option_group()
18057 instead of the old popt stuff (#322911). Also, GNOME applications
18058 should now use gconf*sink and gconf*src instead of the old gconf
18061 2006-01-13 Stefan Kost <ensonic@users.sf.net>
18064 * docs/gst/gstreamer-docs.sgml:
18065 * docs/gst/gstreamer-sections.txt:
18066 * docs/libs/gstreamer-libs-sections.txt:
18067 add new API entries to the docs
18068 * libs/gst/controller/Makefile.am:
18069 * libs/gst/controller/gstcontroller.c:
18070 * libs/gst/controller/gstcontroller.h:
18071 * libs/gst/controller/gstcontrollerprivate.h:
18072 * libs/gst/controller/gsthelper.c:
18073 * libs/gst/controller/gstinterpolation.c:
18074 move private structs to private header
18076 gstreamer-0.7 -> gstreamer-0.10
18077 * tests/check/libs/struct_i386.h:
18078 remove private structs
18080 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18082 * plugins/indexers/Makefile.am:
18083 Fixes as part of #317048
18085 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
18087 * plugins/indexers/Makefile.am:
18088 fix #316086 - compilation when mmap is missing
18090 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
18092 * libs/gst/base/gstbasesink.c:
18093 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
18094 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18095 * win32/common/config.h:
18096 added some defines GST_MAJORMINOR and HOST_CPU
18097 * win32/common/libgstbase.def:
18098 * win32/common/libgstreamer.def:
18099 added some exported functions.
18101 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18103 * libs/gst/controller/gstcontroller.c:
18104 (gst_controlled_property_set_interpolation_mode),
18105 (gst_controlled_property_new):
18106 * libs/gst/controller/gstcontroller.h:
18107 * libs/gst/controller/gstinterpolation.c:
18108 (interpolate_none_get_string_value_array):
18109 make G_TYPE_STRING controlable
18111 2006-01-12 Stefan Kost <ensonic@users.sf.net>
18114 * tools/gst-feedback.1.in:
18115 * tools/gst-inspect.1.in:
18116 * tools/gst-launch.1.in:
18117 * tools/gst-md5sum.1.in:
18118 * tools/gst-typefind.1.in:
18119 * tools/gst-xmlinspect.1.in:
18120 * tools/gst-xmllaunch.1.in:
18121 cleanup man-pages, remove reference to gst-register, document env-vars
18123 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
18125 * gst/gstbuffer.c: (gst_buffer_span):
18126 gst_buffer_span should copy the timestamp of the first buffer
18127 if they were both originally overlapping subbuffers of the
18128 same parent, using the same logic as the 'slow copy' case.
18130 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18132 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18133 Need to awaken ALL the pads when we pop a buffer, otherwise
18134 collectpads only works when there is 2 input streams.
18136 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18138 * docs/random/ensonic/media-device-daemon.txt:
18141 fix doc example, add clarification
18142 * tools/gst-launch.1.in:
18143 add initial info about GST_PLUGIN_PATH, needs more work
18145 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18147 * docs/manual/basics-bins.xml:
18148 * docs/manual/basics-elements.xml:
18149 * docs/manual/intro-basics.xml:
18150 Some more minor docs additions and updates.
18152 2006-01-11 Wim Taymans <wim@fluendo.com>
18154 * docs/manual/basics-bins.xml:
18155 * docs/manual/basics-elements.xml:
18156 Some small fixes as pointed out by Ser-ver on IRC.
18158 2006-01-10 Edward Hervey <edward@fluendo.com>
18160 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18161 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18162 the single-segment mode.
18164 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18166 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18168 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18169 (gst_base_src_perform_seek), (gst_base_src_send_event),
18170 (gst_base_src_set_property), (gst_base_src_get_property),
18171 (gst_base_src_loop), (gst_base_src_start),
18172 (gst_base_src_activate_push):
18173 * libs/gst/base/gstbasesrc.h:
18174 Name (private) union; makes Sun's Forte compiler happy (#324900).
18176 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18179 gst-register is gone.
18181 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18183 * gst/gstvalue.c: (_gst_value_initialize):
18184 make the G_TYPE_DATE instantiation work if debug is disabled
18186 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18188 * gst/gstmessage.c: (gst_message_parse_tag),
18189 (gst_message_parse_error), (gst_message_parse_warning):
18190 Don't crash when return location for error/warning debug
18191 string is NULL; add fact that return locations can be
18192 NULL to docs where appropriate.
18194 2006-01-05 Wim Taymans <wim@fluendo.com>
18196 * gst/gstplugin.c: (gst_plugin_load_file):
18197 Replace strdup by g_strdup.
18199 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18201 * docs/pwg/advanced-types.xml:
18204 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18206 submitted by: Abel Cheung
18210 Added Chinese (traditional) translation
18212 2006-01-04 Wim Taymans <wim@fluendo.com>
18214 * docs/manual/basics-pads.xml:
18215 * docs/plugins/Makefile.am:
18216 * docs/plugins/gstreamer-plugins-docs.sgml:
18217 * docs/plugins/gstreamer-plugins-sections.txt:
18218 * docs/pwg/advanced-clock.xml:
18219 * docs/pwg/advanced-scheduling.xml:
18220 * docs/pwg/advanced-types.xml:
18221 * plugins/elements/gstfdsink.c:
18222 * plugins/elements/gstfdsrc.c:
18223 * plugins/elements/gstfdsrc.h:
18224 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18225 * plugins/elements/gstidentity.h:
18226 * plugins/elements/gstqueue.h:
18227 * plugins/elements/gsttee.c:
18228 * plugins/elements/gsttee.h:
18229 * plugins/elements/gsttypefindelement.c:
18230 (gst_type_find_element_class_init):
18231 * plugins/elements/gsttypefindelement.h:
18232 Small updates to various docs.
18233 Added core plugins to docs.
18235 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18238 add a suppression for liboil's uninitialized variable
18240 2006-01-02 James Livingston <jrl at ids dot org dot au>
18242 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18245 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18246 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18247 compiler switch is being used (#325429).
18249 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18251 * gst/gstbin.c: (gst_bin_query):
18252 Disable duration query caching in bins until it gets
18253 fixed (see #324807).
18255 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18257 * tools/gst-inspect.c: (print_element_properties_info):
18258 Handle properties of POINTER and BOXED type.
18260 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18262 * gst/gst.c: (init_post):
18263 Init tags stuff and some other things before loading
18264 any static plugins (there may be other static plugins
18265 than just the GStreamer ones, and they may want to
18266 register their own tags or formats or whatever, and
18267 preferably without segfaulting).
18269 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18270 Print at least a warning in the debug logs if we drop a
18271 query just because we don't know how to adjust the value
18272 in the particular format.
18274 2005-12-24 David Schleef <ds@schleef.org>
18276 * tools/gstreamer-completion:
18277 Replacement for gst-complete written in sh and sed. Only
18278 completes names of features, but that's 90% of what I want
18279 it for. Properties are not available in registry.xml. (Maybe
18282 === release 0.10.1 ===
18284 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18287 releasing 0.10.1, "Nollaig chridheil"
18289 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18291 * docs/faq/cvs.xml:
18292 Add missing quote, should be make ERROR_CFLAGS="".
18294 2005-12-20 Wim Taymans <wim@fluendo.com>
18296 * docs/design/part-trickmodes.txt:
18297 More documentation on trickmodes.
18299 2005-12-20 Edward Hervey <edward@fluendo.com>
18301 * gst/gstcaps.c: (gst_static_caps_get_type):
18303 API addition: GST_TYPE_STATIC_CAPS
18304 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18305 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18306 * gst/gstpadtemplate.h:
18307 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18308 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18311 2005-12-18 Wim Taymans <wim@fluendo.com>
18313 * libs/gst/base/gstadapter.c:
18314 * libs/gst/base/gstadapter.h:
18315 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18316 (gst_base_sink_get_position):
18317 * libs/gst/base/gstbasesink.h:
18318 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18319 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18320 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18321 (gst_base_src_send_event), (gst_base_src_update_length),
18322 (gst_base_src_get_range), (gst_base_src_loop),
18323 (gst_base_src_start):
18324 * libs/gst/base/gstbasesrc.h:
18325 * libs/gst/base/gstbasetransform.h:
18326 * libs/gst/base/gstcollectpads.h:
18327 * libs/gst/base/gstpushsrc.c:
18328 * libs/gst/base/gstpushsrc.h:
18329 * libs/gst/dataprotocol/dataprotocol.c:
18330 * libs/gst/dataprotocol/dataprotocol.h:
18331 * libs/gst/net/gstnetclientclock.h:
18332 * libs/gst/net/gstnettimeprovider.h:
18333 Documentation updates.
18335 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18337 * docs/manual/basics-helloworld.xml:
18338 Remove superfluous closing bracket in helloworld example.
18340 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18342 * tools/gst-launch.1.in:
18343 Update gst-launch man page; add a section with useful
18344 environment variables. Fixes #323882.
18346 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18349 * gst/gst_private.h:
18350 change some char* into char[]
18352 2005-12-16 Wim Taymans <wim@fluendo.com>
18354 * gst/gstregistryxml.c: (load_feature):
18356 Don't use g_object_unref on GstObjects so that we avoid
18357 leaks on unsafe glibs.
18359 2005-12-16 Wim Taymans <wim@fluendo.com>
18361 * gst/gstbin.c: (gst_bin_recalc_state):
18364 2005-12-16 Wim Taymans <wim@fluendo.com>
18366 * common/check.mak:
18367 Added make forever target for check.
18369 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18371 * gst/gst.c: (init_post):
18372 make the registry cache file HOST_CPU-dependent
18374 2005-12-16 Andy Wingo <wingo@pobox.com>
18376 * plugins/elements/gstbufferstore.c
18377 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18380 * tests/check/gst/gstobject.c
18381 (test_fake_object_name_threaded_unique): Pay attention to
18382 g_list_sort return value.
18384 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18386 * tools/gst-feedback-m.m:
18387 Update for 0.9/0.10 (fixes #323870).
18389 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18391 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18392 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18394 * tests/check/gst/gstminiobject.c: (my_foo_init),
18395 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18396 (test_value_collection), (gst_mini_object_suite):
18397 Add test to ensure refcounts end up as expected when passing
18398 GstMiniObjects through g_object_get() and g_object_set().
18400 2005-12-14 Julien MOUTTE <julien@moutte.net>
18402 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18403 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18404 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18405 of collectpads. This version removes a lot of races without
18406 touching API/ABI. Yay !
18408 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18410 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18411 Don't allow activation of a srcpad in pull_range if it has no
18413 Change some debug statements to be a little clearer
18415 * plugins/elements/gsttypefindelement.c:
18416 (gst_type_find_handle_src_query):
18417 Check that we have a peer before executing queries thereupon.
18419 * tests/examples/metadata/read-metadata.c: (message_loop):
18420 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18421 immediately return us any available message with 0 timeout.
18423 2005-12-12 Michael Smith <msmith@fluendo.com>
18425 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18426 Don't unref factories after calling them.
18427 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18428 * plugins/elements/gsttypefindelement.c:
18429 (gst_type_find_element_chain):
18430 Free lists of factories after using them. Fixing typefinding memory
18433 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18435 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18436 (gst_plugin_feature_load):
18437 more meaningful debug output
18439 * tests/Makefile.am:
18440 * tests/old/examples/Makefile.am:
18441 make make distcheck happy again
18443 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18445 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18446 Catch the special case where we are operating chain-based,
18447 but the downstream peer pad has no chain function. Emit a
18448 custom error message in this case instead of letting the
18449 core generate one implying that this is some sort of core
18450 bug. It's not, it just means that whatever got plugged
18451 into the pipeline downstream when we announced the type
18452 can only operate pull-based, while our source can only
18453 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18454 Error string has not been marked for translation yet, as
18455 it probably needs some more work first.
18457 (gst_type_find_element_get_best_possibility):
18458 Add helper function to find the best of all available
18459 found possibilities that qualify given the min. threshold.
18461 (gst_type_find_element_handle_event):
18462 Fix the case where we get an EOS while still in TYPEFIND
18463 mode (we want to chose the best of all possible types,
18464 not just the first type that happens to be in our unsorted
18465 list of possible types).
18467 (gst_type_find_element_chain):
18468 Make sure we return GST_FLOW_ERROR when we errored out
18469 in stop_typefinding(); also, don't just find the best of
18470 all found type entries and then use the last examined
18471 type entry, but actually use the best entry.
18473 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18475 * tests/examples/typefind/typefind.c: (type_found):
18476 * tests/examples/xml/runxml.c: (xml_loaded):
18477 More gcc4 fixes and a mem leak fix.
18479 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18481 * tests/examples/xml/createxml.c: (object_saved):
18484 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18486 * tests/Makefile.am:
18487 enable the examples even more
18489 2005-12-12 Andy Wingo <wingo@pobox.com>
18491 * libs/gst/net/gstnettimeprovider.c
18492 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18493 (gst_net_time_provider_set_property)
18494 (gst_net_time_provider_get_property):
18495 API addition: Export "active" as a GObject property.
18496 (gst_net_time_provider_thread): Only respond to time queries if
18497 the time provider is active.
18499 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18500 NetTimeProvider, preserving binary compat.
18502 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18504 * tests/examples/controller/audio-example.c: (main):
18505 * tests/examples/launch/Makefile.am:
18506 convert comments again
18508 2005-12-12 Wim Taymans <wim@fluendo.com>
18510 * libs/gst/base/gstpushsrc.c:
18513 2005-12-12 Wim Taymans <wim@fluendo.com>
18515 * docs/libs/gstreamer-libs-sections.txt:
18516 Added new symbol to docs.
18518 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18519 (gst_base_src_init), (gst_base_src_set_format),
18520 (gst_base_src_default_query), (gst_base_src_query),
18521 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18522 (gst_base_src_perform_seek), (gst_base_src_send_event),
18523 (gst_base_src_default_event), (gst_base_src_event_handler),
18524 (gst_base_src_set_property), (gst_base_src_get_property),
18525 (gst_base_src_wait), (gst_base_src_do_sync),
18526 (gst_base_src_update_length), (gst_base_src_get_range),
18527 (gst_base_src_check_get_range), (gst_base_src_loop),
18528 (gst_base_src_default_negotiate), (gst_base_src_start),
18529 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18530 (gst_base_src_change_state):
18531 * libs/gst/base/gstbasesrc.h:
18532 Implement seeking to other formats than _BYTES.
18533 Implement more seeking methods correctly.
18535 Added query vmethod.
18536 Added do_seek vmethod to make life easier for subclasses
18538 API addition: gst_base_src_set_format()
18540 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18542 * tests/examples/Makefile.am:
18545 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18548 * docs/random/ensonic/media-device-daemon.txt:
18549 * tests/examples/controller/.cvsignore:
18550 * tests/examples/controller/Makefile.am:
18551 * tests/examples/controller/audio-example.c: (main):
18552 * tests/examples/helloworld/.cvsignore:
18553 * tests/examples/helloworld/Makefile.am:
18554 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18555 * tests/examples/launch/.cvsignore:
18556 * tests/examples/launch/Makefile.am:
18557 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18558 * tests/examples/metadata/.cvsignore:
18559 * tests/examples/metadata/Makefile.am:
18560 * tests/examples/metadata/read-metadata.c: (message_loop),
18561 (make_pipeline), (print_tag), (main):
18562 * tests/examples/queue/.cvsignore:
18563 * tests/examples/queue/Makefile.am:
18564 * tests/examples/queue/queue.c: (event_loop), (main):
18565 * tests/examples/typefind/.cvsignore:
18566 * tests/examples/typefind/Makefile.am:
18567 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18569 * tests/examples/xml/.cvsignore:
18570 * tests/examples/xml/Makefile.am:
18571 * tests/examples/xml/createxml.c: (object_saved), (main):
18572 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18573 * tests/old/examples/Makefile.am:
18574 * tests/old/examples/TODO:
18575 * tests/old/examples/controller/.cvsignore:
18576 * tests/old/examples/controller/Makefile.am:
18577 * tests/old/examples/controller/audio-example.c:
18578 * tests/old/examples/helloworld/.cvsignore:
18579 * tests/old/examples/helloworld/Makefile.am:
18580 * tests/old/examples/helloworld/helloworld.c:
18581 * tests/old/examples/launch/.cvsignore:
18582 * tests/old/examples/launch/Makefile.am:
18583 * tests/old/examples/launch/mp3parselaunch.c:
18584 * tests/old/examples/launch/mp3play:
18585 * tests/old/examples/manual/Makefile.am:
18586 * tests/old/examples/metadata/Makefile.am:
18587 * tests/old/examples/metadata/read-metadata.c:
18588 * tests/old/examples/queue/.cvsignore:
18589 * tests/old/examples/queue/Makefile.am:
18590 * tests/old/examples/queue/queue.c:
18591 * tests/old/examples/typefind/.cvsignore:
18592 * tests/old/examples/typefind/Makefile.am:
18593 * tests/old/examples/typefind/typefind.c:
18594 * tests/old/examples/xml/.cvsignore:
18595 * tests/old/examples/xml/Makefile.am:
18596 * tests/old/examples/xml/createxml.c:
18597 * tests/old/examples/xml/runxml.c:
18598 applied some simple fixing to some examples
18599 re-enabled the working examples
18601 2005-12-12 Wim Taymans <wim@fluendo.com>
18603 * gst/gstsegment.c: (gst_segment_init),
18604 (gst_segment_set_last_stop), (gst_segment_set_seek),
18605 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18606 (gst_segment_to_running_time):
18607 Added more documentation.
18608 Make sure the last_pos value is updated properly.
18609 Make sure to_stream_time and to_running_time don't
18610 operate on wrong values.
18612 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18615 2005-12-12 Michael Smith <msmith@fluendo.com>
18617 * plugins/elements/gsttypefindelement.c: (free_entry),
18618 (gst_type_find_element_chain):
18619 Now that we're not leaking factories, make sure we keep references
18620 to them while we need them.
18622 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18624 * tests/check/gst/struct_i386.h:
18625 ifdef out the XML structs
18627 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18629 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18630 floor is not needed, F is always positive; this obviates the
18631 need for adding -lm when building without libxml
18633 2005-12-12 Wim Taymans <wim@fluendo.com>
18635 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18636 Take current playback rate into account when reporting
18639 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18641 * docs/manual/mime-world.fig:
18642 Let's try this again, this time with a file that is
18643 actually in XFig format.
18645 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18647 * docs/manual/mime-world.fig:
18648 Add audioconvert element to diagram so that it
18649 matches the text and the code (fixes #319526).
18651 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18653 * docs/pwg/building-chainfn.xml:
18654 * docs/pwg/building-pads.xml:
18655 * docs/pwg/building-state.xml:
18656 * docs/pwg/other-source.xml:
18657 Update state change stuff for 0.10 (fixes #322969).
18659 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18661 * docs/manual/advanced-dataaccess.xml:
18662 * docs/manual/appendix-checklist.xml:
18663 * docs/manual/appendix-programs.xml:
18664 * docs/manual/basics-pads.xml:
18665 * docs/manual/highlevel-components.xml:
18666 * docs/manual/manual.xml:
18667 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18668 add converters in front of pipelines; remove curly
18669 brackets for threads stuff, they no longer exist; use
18670 GST_TYPE_FRACTION for framerates; update some pieces of
18671 code to 0.10, but there's plenty more to do.
18673 * docs/manual/appendix-porting.xml:
18674 Expand on asynchroneous state changes; s/0.9/0.10/;
18675 mention disappearance of gst_init_get_popt_table()
18678 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18680 * docs/faq/using.xml:
18681 Spider no longer exists, and neither does gst-launch-ext.
18682 Update examples to use decodebin and playbin and put
18683 converters in front of sinks (fixes #323726).
18685 2005-12-09 Michael Smith <msmith@fluendo.com>
18687 * plugins/elements/gsttypefindelement.c: (find_peek),
18688 (gst_type_find_element_chain):
18689 Fix leaking element factories in typefinding.
18690 Fix problem where we forgot about a probable type on non-seekable
18691 files, and thus later mis-typefound it.
18693 2005-12-09 Michael Smith <msmith@fluendo.com>
18695 * common/m4/gst-makecontext.m4:
18696 * common/m4/gst-mcsc.m4:
18698 * win32/common/config.h:
18699 * win32/common/config.h.in:
18700 Remove makecontext stuff; not used in 0.10 and causes problems on
18701 HPUX according to bug #322441
18703 2005-12-07 Wim Taymans <wim@fluendo.com>
18705 * tests/check/Makefile.am:
18706 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18708 * tests/check/libs/struct_i386.h:
18709 Added ABI check for libs
18711 2005-12-07 Wim Taymans <wim@fluendo.com>
18713 * tests/check/Makefile.am:
18714 And add the struct_i386.h to dist.
18716 2005-12-07 Wim Taymans <wim@fluendo.com>
18718 * tests/check/Makefile.am:
18719 * tests/check/gst/.cvsignore:
18720 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18722 * tests/check/gst/struct_i386.h:
18723 Added check for ABI compatibility.
18725 2005-12-07 Wim Taymans <wim@fluendo.com>
18727 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18728 (gst_fake_src_get_times), (gst_fake_src_create):
18729 Fix broken sync option, fixes #323259
18731 2005-12-07 Wim Taymans <wim@fluendo.com>
18736 * gst/gstcaps.c: (gst_caps_is_equal):
18737 Don't assert on NULL <--> X. Fixes #323260
18739 * gst/gstminiobject.c: (gst_mini_object_replace):
18740 If we're doing atomic operations, we might just as well use
18741 the proper way to get an atomic pointer.
18743 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18744 Clean up debugging.
18746 2005-12-07 Michael Smith <msmith@fluendo.com>
18748 * gst/parse/grammar.y:
18749 Remove handling of { } for threads.
18751 2005-12-06 David Schleef <ds@schleef.org>
18753 * libs/gst/base/gstbasetransform.c: speling fix.
18755 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18757 * docs/libs/tmpl/gstdataprotocol.sgml:
18758 * docs/random/omega/testing/gstobject.c:
18761 * gst/gstelement.c:
18762 * gst/gstelementfactory.c:
18765 * gst/gstghostpad.c:
18767 * gst/gstpadtemplate.c:
18768 * gst/gstregistryxml.c:
18769 * gst/gsttaglist.c:
18770 * gst/gsttagsetter.c:
18771 * gst/gsttypefind.c:
18773 * libs/gst/base/gstbasesrc.c:
18774 * libs/gst/net/gstnetclientclock.c:
18775 * libs/gst/net/gstnettimeprovider.c:
18776 * plugins/elements/gstfakesrc.c:
18777 * plugins/elements/gstfdsrc.c:
18778 * plugins/elements/gstfilesrc.c:
18779 * plugins/elements/gstidentity.c:
18780 * plugins/elements/gstqueue.c:
18781 * plugins/elements/gsttypefindelement.c:
18782 * plugins/indexers/gstfileindex.c:
18783 * plugins/indexers/gstmemindex.c:
18784 * tests/check/gst/gsttag.c:
18785 * tests/old/examples/cutter/cutter.c:
18786 * tests/old/examples/mixer/mixer.c:
18787 * tests/old/examples/xml/runxml.c: (main):
18788 * tests/old/testsuite/caps/normalisation.c:
18789 * tests/old/testsuite/debug/global.c:
18790 * tests/old/testsuite/parse/parse1.c:
18791 * tools/gst-xmlinspect.c:
18792 * win32/common/dirent.c:
18795 === release 0.10.0 ===
18797 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18800 releasing 0.10.0, "Maroilles"
18802 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18804 submitted by: Funda Wang <fundawang@linux.net.cn>
18808 added Chinese (Traditional) translation
18810 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18812 * docs/gst/gstreamer-sections.txt:
18813 * docs/libs/tmpl/gstdataprotocol.sgml:
18814 * docs/random/thomasvs/TODO:
18819 2005-12-05 Andy Wingo <wingo@pobox.com>
18821 patch by: Wim Taymans <wim@fluendo.com>
18823 * libs/gst/base/gstbasetransform.c
18824 (gst_base_transform_prepare_output_buf)
18825 (gst_base_transform_buffer_alloc):
18826 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18827 alloc_buffer_and_set_caps.
18829 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18830 set_caps on the source pad.
18831 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18832 alloc_buffer used to do. Fixes #322874.
18834 * docs/gst/gstreamer-sections.txt:
18835 * docs/design/part-negotiation.txt:
18836 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18839 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18841 patch by: Sebastien Moutte
18844 * win32/common/config.h.in:
18845 * win32/vs6/libgstcontroller.dsp:
18848 2005-12-05 Wim Taymans <wim@fluendo.com>
18850 * gst/gstcaps.c: (gst_caps_is_equal):
18851 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18852 (gst_fake_src_create):
18853 Back out previous code changes, leave doc updates, file bugs
18856 2005-12-05 Wim Taymans <wim@fluendo.com>
18858 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18859 (gst_fake_src_get_times), (gst_fake_src_create):
18860 * plugins/elements/gstfakesrc.h:
18861 Fix broken sync code.
18863 2005-12-05 Wim Taymans <wim@fluendo.com>
18865 * gst/gstcaps.c: (gst_caps_is_equal):
18866 Comparing NULL against !NULL yields different caps, not a
18869 2005-12-05 Wim Taymans <wim@fluendo.com>
18871 * gst/gstpipeline.c:
18872 Fix small typo in docs.
18874 2005-12-05 Andy Wingo <wingo@pobox.com>
18876 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18878 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18879 registries/plugins with a MAJORMINOR one.
18880 (plugin_desc): Rename library from gstcoreleements to
18881 staticelements. Fixes #323222.
18883 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18885 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18886 Change debug category to 'collectpads' from 'collect_pads'
18889 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18891 patch by: Sebastien Moutte
18893 * libs/gst/controller/gstinterpolation.c:
18894 use convert function for uint64/double
18895 * win32/vs6/libgstcontroller.dsp:
18898 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18900 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18901 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18903 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18904 add tests that seem to show that the guint64/gdouble conversions
18907 2005-12-02 Wim Taymans <wim@fluendo.com>
18909 * gst/gstregistry.c: (gst_registry_add_path):
18910 * gst/gstregistry.h:
18911 * gst/gstregistryxml.c:
18914 2005-12-02 Wim Taymans <wim@fluendo.com>
18916 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18917 (gst_util_uint64_scale_int):
18920 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18921 Add debug log line.
18923 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18926 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18929 * win32/common/config.h:
18930 * win32/vs6/gstreamer.dsw:
18931 * win32/vs6/libgstcoreelements.dsp:
18932 * win32/vs6/libgstelements.dsp:
18933 renamed core elements plugin
18935 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18937 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18939 do piece-wise major/minor comparison so 0.9 < 0.10
18940 also allow .exe extensions for tools
18942 2005-12-02 Michael Smith <msmith@fluendo.com>
18945 Escape a % to make gtkdoc happier; bug 322958.
18947 === release 0.9.7 ===
18949 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18952 releasing 0.9.7, "My Dog Has No Nose"
18954 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18956 * common/gst-xmlinspect.py:
18958 * docs/libs/tmpl/gstdataprotocol.sgml:
18959 * docs/random/release:
18978 * win32/common/config.h:
18979 * win32/common/config.h.in:
18980 * win32/vs6/gst_inspect.dsp:
18981 * win32/vs6/gst_launch.dsp:
18982 * win32/vs6/libgstbase.dsp:
18983 * win32/vs6/libgstelements.dsp:
18984 * win32/vs6/libgstreamer.dsp:
18985 * win32/vs7/GStreamer.vcproj:
18986 * win32/vs7/gst-inspect.vcproj:
18987 * win32/vs7/gst-launch.vcproj:
18988 * win32/vs7/libgstbase.vcproj:
18989 bump GST_MAJORMINOR to 0.10
18990 reset libtool version
18992 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18996 Added Bulgarian translation by (Alexander Shopov)
18998 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19000 * tests/check/gst/gstplugin.c:
19003 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19005 * common/gst-xmlinspect.py:
19006 * common/gtk-doc-plugins.mak:
19008 * docs/Makefile.am:
19009 * docs/gst/Makefile.am:
19010 * docs/gst/gstreamer-docs.sgml:
19011 * docs/gst/gstreamer-sections.txt:
19012 * docs/gst/gstreamer.types:
19013 * docs/gst/gstreamer.types.in:
19014 * docs/plugins/Makefile.am:
19015 * docs/plugins/gstreamer-plugins-docs.sgml:
19016 * docs/plugins/gstreamer-plugins-sections.txt:
19017 * docs/plugins/gstreamer-plugins.types:
19018 * docs/plugins/inspect.stamp:
19019 * docs/plugins/inspect/plugin-coreelements.xml:
19020 * docs/plugins/inspect/plugin-coreindexers.xml:
19021 * docs/plugins/scanobj-build.stamp:
19022 * gstreamer.spec.in:
19023 * plugins/elements/Makefile.am:
19024 * plugins/elements/gstelements.c:
19025 * plugins/elements/gstfakesink.c:
19026 * plugins/elements/gstfakesrc.c:
19027 * plugins/elements/gstfilesink.c:
19028 * plugins/elements/gstfilesrc.c:
19029 * plugins/elements/gstqueue.c:
19030 * plugins/indexers/Makefile.am:
19031 * plugins/indexers/gstindexers.c:
19032 document core plugins in a separate document just like all the
19034 rename these plugins to something starting with core
19036 2005-12-01 Andy Wingo <wingo@pobox.com>
19038 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19039 padding here before, but it missed the commit.
19041 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19043 * libs/gst/controller/gstinterpolation.c:
19044 whitespace prices have crashed, we should feel free to use some now
19045 use gst_guint64_to_gdouble
19047 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19049 * libs/gst/controller/gstcontroller.c:
19050 * libs/gst/controller/gsthelper.c:
19051 * libs/gst/controller/gstinterpolation.c:
19052 * libs/gst/controller/lib.c:
19053 wrap config.h include
19055 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19057 * docs/gst/gstreamer-sections.txt:
19060 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
19062 * plugins/elements/gstelements.c:
19063 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19064 (gst_fd_sink__class_init), (gst_fd_sink__init),
19065 (gst_fd_sink__chain), (gst_fd_sink__set_property),
19066 (gst_fd_sink__get_property):
19067 * plugins/elements/gstfdsink.h:
19068 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19069 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19070 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19071 (gst_fd_src_unlock), (gst_fd_src_set_property),
19072 (gst_fd_src_get_property), (gst_fd_src_create),
19073 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19074 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19075 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19076 (gst_fd_src_uri_handler_init):
19077 * plugins/elements/gstfdsrc.h:
19078 * plugins/elements/gstqueue.c: (gst_queue_get_type):
19081 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19083 * docs/gst/Makefile.am:
19084 * docs/gst/gstreamer.types.in:
19088 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19094 * gst/gstregistry.h:
19095 * tests/benchmarks/complexity.c:
19096 * tests/benchmarks/mass-elements.c:
19097 * tests/check/Makefile.am:
19098 * tools/Makefile.am:
19099 * tools/gst-inspect.c:
19100 * tools/gst-xmlinspect.c:
19101 various fixes to make
19102 --disable-nls --disable-registry --disable-loadsave
19103 --disable-parse --disable-gst-debug
19104 work and get the core .so down to 360444 bytes after stripping
19106 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19111 * docs/random/thomasvs/TODO:
19112 * tests/Makefile.am:
19116 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19118 * win32/GStreamer.vcproj:
19121 * win32/Makefile.inspect:
19122 * win32/Makefile.launch:
19123 * win32/Makefile.register:
19124 * win32/README.txt:
19125 * win32/gst-inspect.vcproj:
19126 * win32/gst-launch.vcproj:
19127 * win32/gst-register.vcproj:
19128 * win32/gstelements.vcproj:
19129 * win32/gstgetbits.def:
19130 * win32/gstgetbits.vcproj:
19131 * win32/gstreamer-dbg.def:
19132 * win32/gstreamer.def:
19133 * win32/libgstbase.def:
19134 * win32/libgstbase.vcproj:
19135 * win32/link_oldruntime.c:
19139 * win32/msvc71.sln:
19140 move even more stuff, win32/ is nice and clean now
19142 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19144 * libs/gst/control/.cvsignore:
19149 * win32/gstbytestream.def:
19150 * win32/gstbytestream.vcproj:
19151 * win32/gstconfig.h:
19152 * win32/gstenumtypes.c:
19153 * win32/gstenumtypes.h:
19154 * win32/gstoptimalscheduler.vcproj:
19155 * win32/gstversion.h:
19157 * win32/testsuite/bins.vcproj:
19158 * win32/testsuite/bytestream.vcproj:
19159 * win32/testsuite/caps.vcproj:
19160 * win32/testsuite/cleanup.vcproj:
19161 * win32/testsuite/clock.vcproj:
19162 * win32/testsuite/debug.vcproj:
19163 * win32/testsuite/dlopen.vcproj:
19164 * win32/testsuite/dynparams.vcproj:
19165 * win32/testsuite/elements.vcproj:
19166 * win32/testsuite/ghostpads.vcproj:
19167 * win32/testsuite/indexers.vcproj:
19168 * win32/testsuite/negotiation.vcproj:
19169 * win32/testsuite/parse.vcproj:
19170 * win32/testsuite/plugin.vcproj:
19171 * win32/testsuite/refcounting.vcproj:
19172 * win32/testsuite/schedulers.vcproj:
19173 * win32/testsuite/states.vcproj:
19174 * win32/testsuite/tags.vcproj:
19175 * win32/testsuite/threads.vcproj:
19176 remove old win32 stuff that isn't maintained and should be
19179 2005-11-30 Andy Wingo <wingo@pobox.com>
19181 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19182 loading the gst.interfaces python module bork.
19184 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19185 available since GLib 2.2. Fixes #318031.
19187 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19190 * check/.cvsignore:
19191 * check/Makefile.am:
19192 * check/elements/.cvsignore:
19193 * check/elements/fakesrc.c:
19194 * check/elements/fdsrc.c:
19195 * check/elements/identity.c:
19196 * check/generic/.cvsignore:
19197 * check/generic/states.c:
19198 * check/gst-libs/.cvsignore:
19199 * check/gst-libs/controller.c:
19200 * check/gst-libs/gdp.c:
19201 * check/gst/.cvsignore:
19202 * check/gst/capslist.h:
19204 * check/gst/gstbin.c:
19205 * check/gst/gstbuffer.c:
19206 * check/gst/gstbus.c:
19207 * check/gst/gstcaps.c:
19208 * check/gst/gstelement.c:
19209 * check/gst/gstevent.c:
19210 * check/gst/gstghostpad.c:
19211 * check/gst/gstiterator.c:
19212 * check/gst/gstmessage.c:
19213 * check/gst/gstminiobject.c:
19214 * check/gst/gstobject.c:
19215 * check/gst/gstpad.c:
19216 * check/gst/gstpipeline.c:
19217 * check/gst/gstplugin.c:
19218 * check/gst/gstsegment.c:
19219 * check/gst/gststructure.c:
19220 * check/gst/gstsystemclock.c:
19221 * check/gst/gsttag.c:
19222 * check/gst/gstutils.c:
19223 * check/gst/gstvalue.c:
19224 * check/net/.cvsignore:
19225 * check/net/gstnetclientclock.c:
19226 * check/net/gstnettimeprovider.c:
19227 * check/pipelines/.cvsignore:
19228 * check/pipelines/cleanup.c:
19229 * check/pipelines/simple_launch_lines.c:
19230 * check/pipelines/stress.c:
19231 * check/states/.cvsignore:
19232 * check/states/sinks.c:
19234 * examples/Makefile.am:
19235 * examples/appreader/.cvsignore:
19236 * examples/appreader/Makefile.am:
19237 * examples/appreader/appreader.c:
19238 * examples/controller/.cvsignore:
19239 * examples/controller/Makefile.am:
19240 * examples/controller/audio-example.c:
19241 * examples/cutter/.cvsignore:
19242 * examples/cutter/Makefile.am:
19243 * examples/cutter/cutter.c:
19244 * examples/cutter/cutter.h:
19245 * examples/events/Makefile.am:
19246 * examples/events/seek.c:
19247 * examples/helloworld/.cvsignore:
19248 * examples/helloworld/Makefile.am:
19249 * examples/helloworld/helloworld.c:
19250 * examples/helloworld2/.cvsignore:
19251 * examples/helloworld2/Makefile.am:
19252 * examples/helloworld2/helloworld2.c:
19253 * examples/launch/.cvsignore:
19254 * examples/launch/Makefile.am:
19255 * examples/launch/mp3parselaunch.c:
19256 * examples/launch/mp3play:
19257 * examples/manual/.cvsignore:
19258 * examples/manual/Makefile.am:
19259 * examples/manual/extract.pl:
19260 * examples/metadata/Makefile.am:
19261 * examples/metadata/read-metadata.c:
19262 * examples/mixer/.cvsignore:
19263 * examples/mixer/Makefile.am:
19264 * examples/mixer/mixer.c:
19265 * examples/mixer/mixer.h:
19266 * examples/pingpong/.cvsignore:
19267 * examples/pingpong/Makefile.am:
19268 * examples/pingpong/pingpong.c:
19269 * examples/plugins/.cvsignore:
19270 * examples/plugins/Makefile.am:
19271 * examples/plugins/example.c:
19272 * examples/plugins/example.h:
19273 * examples/pwg/.cvsignore:
19274 * examples/pwg/Makefile.am:
19275 * examples/pwg/extract.pl:
19276 * examples/queue/.cvsignore:
19277 * examples/queue/Makefile.am:
19278 * examples/queue/queue.c:
19279 * examples/queue2/.cvsignore:
19280 * examples/queue2/Makefile.am:
19281 * examples/queue2/queue2.c:
19282 * examples/queue3/.cvsignore:
19283 * examples/queue3/Makefile.am:
19284 * examples/queue3/queue3.c:
19285 * examples/queue4/.cvsignore:
19286 * examples/queue4/Makefile.am:
19287 * examples/queue4/queue4.c:
19288 * examples/retag/.cvsignore:
19289 * examples/retag/Makefile.am:
19290 * examples/retag/retag.c:
19291 * examples/retag/transcode.c:
19292 * examples/thread/.cvsignore:
19293 * examples/thread/Makefile.am:
19294 * examples/thread/thread.c:
19295 * examples/typefind/.cvsignore:
19296 * examples/typefind/Makefile.am:
19297 * examples/typefind/typefind.c:
19298 * examples/xml/.cvsignore:
19299 * examples/xml/Makefile.am:
19300 * examples/xml/createxml.c:
19301 * examples/xml/runxml.c:
19302 * tests/Makefile.am:
19303 * tests/check/Makefile.am:
19304 * testsuite/.cvsignore:
19305 * testsuite/Makefile.am:
19307 * testsuite/caps/.cvsignore:
19308 * testsuite/caps/Makefile.am:
19309 * testsuite/caps/app_fixate.c:
19310 * testsuite/caps/audioscale.c:
19311 * testsuite/caps/caps.c:
19312 * testsuite/caps/caps.h:
19313 * testsuite/caps/caps_strings:
19314 * testsuite/caps/compatibility.c:
19315 * testsuite/caps/deserialize.c:
19316 * testsuite/caps/enumcaps.c:
19317 * testsuite/caps/eratosthenes.c:
19318 * testsuite/caps/filtercaps.c:
19319 * testsuite/caps/fixed.c:
19320 * testsuite/caps/fraction-convert.c:
19321 * testsuite/caps/fraction-multiply-and-zero.c:
19322 * testsuite/caps/intersect2.c:
19323 * testsuite/caps/intersection.c:
19324 * testsuite/caps/normalisation.c:
19325 * testsuite/caps/random.c:
19326 * testsuite/caps/renegotiate.c:
19327 * testsuite/caps/sets.c:
19328 * testsuite/caps/simplify.c:
19329 * testsuite/caps/string-conversions.c:
19330 * testsuite/caps/structure.c:
19331 * testsuite/caps/subtract.c:
19332 * testsuite/caps/union.c:
19333 * testsuite/debug/.cvsignore:
19334 * testsuite/debug/Makefile.am:
19335 * testsuite/debug/category.c:
19336 * testsuite/debug/commandline.c:
19337 * testsuite/debug/global.c:
19338 * testsuite/debug/output.c:
19339 * testsuite/debug/printf_extension.c:
19340 * testsuite/dlopen/.cvsignore:
19341 * testsuite/dlopen/Makefile.am:
19342 * testsuite/dlopen/dlopen_gst.c:
19343 * testsuite/dlopen/loadgst.c:
19344 * testsuite/elements/.cvsignore:
19345 * testsuite/elements/Makefile.am:
19346 * testsuite/elements/gst-inspect-check.in:
19347 * testsuite/elements/struct_i386.h:
19348 * testsuite/elements/struct_size.c:
19349 * testsuite/indexers/.cvsignore:
19350 * testsuite/indexers/Makefile.am:
19351 * testsuite/indexers/cache1.c:
19352 * testsuite/indexers/indexdump.c:
19353 * testsuite/parse/.cvsignore:
19354 * testsuite/parse/Makefile.am:
19355 * testsuite/parse/parse1.c:
19356 * testsuite/parse/parse2.c:
19357 * testsuite/plugin/.cvsignore:
19358 * testsuite/plugin/Makefile.am:
19359 * testsuite/plugin/README:
19360 * testsuite/plugin/dynamic.c:
19361 * testsuite/plugin/linked.c:
19362 * testsuite/plugin/loading.c:
19363 * testsuite/plugin/registry.c:
19364 * testsuite/plugin/static.c:
19365 * testsuite/plugin/static2.c:
19366 * testsuite/plugin/testplugin.c:
19367 * testsuite/plugin/testplugin2.c:
19368 * testsuite/plugin/testplugin2_s.c:
19369 * testsuite/plugin/testplugin_s.c:
19370 * testsuite/refcounting/.cvsignore:
19371 * testsuite/refcounting/Makefile.am:
19372 * testsuite/refcounting/bin.c:
19373 * testsuite/refcounting/element.c:
19374 * testsuite/refcounting/element_pad.c:
19375 * testsuite/refcounting/mainloop.c:
19376 * testsuite/refcounting/mem.c:
19377 * testsuite/refcounting/mem.h:
19378 * testsuite/refcounting/object.c:
19379 * testsuite/refcounting/pad.c:
19380 * testsuite/refcounting/sched.c:
19381 * testsuite/refcounting/thread.c:
19382 * testsuite/states/.cvsignore:
19383 * testsuite/states/Makefile.am:
19384 * testsuite/states/bin.c:
19385 * testsuite/states/locked.c:
19386 * testsuite/states/parent.c:
19387 * testsuite/threads/.cvsignore:
19388 * testsuite/threads/159566.c:
19389 * testsuite/threads/159852.c:
19390 * testsuite/threads/Makefile.am:
19391 * testsuite/threads/queue.c:
19392 * testsuite/threads/signals.c:
19393 * testsuite/threads/staticrec.c:
19394 * testsuite/threads/thread.c:
19395 * testsuite/threads/threadb.c:
19396 * testsuite/threads/threadc.c:
19397 * testsuite/threads/threadd.c:
19398 * testsuite/threads/threade.c:
19399 * testsuite/threads/threadf.c:
19400 * testsuite/threads/threadg.c:
19401 * testsuite/threads/threadh.c:
19402 * testsuite/threads/threadi.c:
19403 move all of these under tests
19405 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19408 * tests/Makefile.am:
19411 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19413 * docs/gst/gstreamer-sections.txt:
19414 * tests/sched/.cvsignore:
19415 * tests/sched/Makefile.am:
19416 * tests/sched/cases/(fs-fs).xml:
19417 * tests/sched/cases/(fs-i-fs).xml:
19418 * tests/sched/cases/(fs-i-i-fs).xml:
19419 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19420 * tests/sched/dynamic-pipeline.c:
19421 * tests/sched/interrupt1.c:
19422 * tests/sched/interrupt2.c:
19423 * tests/sched/interrupt3.c:
19424 * tests/sched/runtestcases:
19425 * tests/sched/runxml.c:
19426 * tests/sched/sched-stress.c:
19427 * tests/sched/sort.c:
19428 * tests/sched/testcases:
19429 * tests/sched/testcases1.tc:
19430 * tests/seeking/.cvsignore:
19431 * tests/seeking/Makefile.am:
19432 * tests/seeking/seeking1.c:
19433 * tests/threadstate/.cvsignore:
19434 * tests/threadstate/Makefile.am:
19435 * tests/threadstate/test1.c:
19436 * tests/threadstate/test2.c:
19437 * tests/threadstate/threadstate1.c:
19438 * tests/threadstate/threadstate2.c:
19439 * tests/threadstate/threadstate3.c:
19440 * tests/threadstate/threadstate4.c:
19441 * tests/threadstate/threadstate5.c:
19442 remove obsolete tests
19444 * tests/bench-complexity.scm:
19445 * tests/bench-mass_elements.scm:
19446 * tests/complexity.c:
19447 * tests/complexity.gnuplot:
19448 * tests/instantiate/.cvsignore:
19449 * tests/instantiate/Makefile.am:
19450 * tests/instantiate/caps.c:
19451 * tests/mass_elements.c:
19452 * tests/network-clock-utils.scm:
19453 * tests/network-clock.scm:
19455 First pass at cleaning up tests/ dir before moving the rest
19456 Combined with CVS surgery
19458 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19461 queue has moved, update
19463 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19465 * docs/gst/gstreamer-sections.txt:
19466 remove double entries from the docs
19467 * gst/gst_private.h:
19468 * gst/gstinfo.c: (_gst_debug_init):
19469 remove the THREAD debug category
19473 * docs/gst/gstreamer.types:
19474 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19475 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19476 completely move queue and fix up debugging categories
19478 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19480 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19481 make initialization portable, using LL is not
19483 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19485 * win32/common/gstconfig.h:
19488 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19490 * win32/common/libgstreamer.def:
19491 rename symbols; sort base section
19493 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19495 * gst/gstclock.c: (do_linear_regression):
19496 remove crack non-portable handrolled DEBUG macro
19498 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19500 * docs/random/release:
19502 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19503 (gst_object_flags_get_type), (register_gst_bin_flags),
19504 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19505 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19506 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19507 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19508 (gst_caps_flags_get_type), (register_gst_clock_return),
19509 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19510 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19511 (gst_clock_flags_get_type), (register_gst_state),
19512 (gst_state_get_type), (register_gst_state_change_return),
19513 (gst_state_change_return_get_type), (register_gst_state_change),
19514 (gst_state_change_get_type), (register_gst_element_flags),
19515 (gst_element_flags_get_type), (register_gst_core_error),
19516 (gst_core_error_get_type), (register_gst_library_error),
19517 (gst_library_error_get_type), (register_gst_resource_error),
19518 (gst_resource_error_get_type), (register_gst_stream_error),
19519 (gst_stream_error_get_type), (register_gst_event_type_flags),
19520 (gst_event_type_flags_get_type), (register_gst_event_type),
19521 (gst_event_type_get_type), (register_gst_seek_type),
19522 (gst_seek_type_get_type), (register_gst_seek_flags),
19523 (gst_seek_flags_get_type), (register_gst_format),
19524 (gst_format_get_type), (register_gst_index_certainty),
19525 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19526 (gst_index_entry_type_get_type),
19527 (register_gst_index_lookup_method),
19528 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19529 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19530 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19531 (gst_index_flags_get_type), (register_gst_debug_level),
19532 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19533 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19534 (gst_iterator_result_get_type), (register_gst_iterator_item),
19535 (gst_iterator_item_get_type), (register_gst_message_type),
19536 (gst_message_type_get_type), (register_gst_mini_object_flags),
19537 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19538 (gst_pad_link_return_get_type), (register_gst_flow_return),
19539 (gst_flow_return_get_type), (register_gst_activate_mode),
19540 (gst_activate_mode_get_type), (register_gst_pad_direction),
19541 (gst_pad_direction_get_type), (register_gst_pad_flags),
19542 (gst_pad_flags_get_type), (register_gst_pad_presence),
19543 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19544 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19545 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19546 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19547 (gst_plugin_flags_get_type), (register_gst_rank),
19548 (gst_rank_get_type), (register_gst_query_type),
19549 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19550 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19551 (gst_tag_flag_get_type), (register_gst_task_state),
19552 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19553 (gst_alloc_trace_flags_get_type),
19554 (register_gst_type_find_probability),
19555 (gst_type_find_probability_get_type), (register_gst_uri_type),
19556 (gst_uri_type_get_type), (register_gst_parse_error),
19557 (gst_parse_error_get_type):
19558 * win32/common/gstenumtypes.h:
19559 * win32/common/gstversion.h:
19560 update visual studio generated files
19562 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19564 * win32/vs6/libgstbase.dsp:
19565 * win32/vs6/libgstelements.dsp:
19566 update project files for new locations
19568 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19573 reinstate and update
19578 * docs/random/LICENSE:
19581 2005-11-30 Edward Hervey <edward@fluendo.com>
19583 * gst/gsttypefind.c: (gst_type_find_register):
19584 * gst/gsttypefind.h:
19585 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19586 (gst_type_find_factory_dispose):
19587 * gst/gsttypefindfactory.h:
19588 Fix memory leak in GstTypeFindFactory.
19590 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19593 * plugins/elements/Makefile.am:
19594 * plugins/elements/gstelements.c:
19595 * plugins/elements/gstqueue.c:
19596 move queue from core to the elements plugin
19598 2005-11-29 Andy Wingo <wingo@pobox.com>
19600 * libs/gst/base/gstbasetransform.h:
19601 * libs/gst/base/gstbasesrc.h:
19602 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19604 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19605 of pointers by which to pad very extensible base classes (like the
19606 ones in libs/gst/base).
19608 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19610 * docs/gst/gstreamer-docs.sgml:
19611 * docs/gst/gstreamer-sections.txt:
19612 * docs/libs/gstreamer-libs-docs.sgml:
19613 * docs/libs/gstreamer-libs-sections.txt:
19614 moving documentation from core to lib
19616 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19618 * check/Makefile.am:
19620 * docs/gst/Makefile.am:
19622 * gst/base/.cvsignore:
19623 * gst/base/Makefile.am:
19625 * gst/base/gstadapter.c:
19626 * gst/base/gstadapter.h:
19627 * gst/base/gstbasesink.c:
19628 * gst/base/gstbasesink.h:
19629 * gst/base/gstbasesrc.c:
19630 * gst/base/gstbasesrc.h:
19631 * gst/base/gstbasetransform.c:
19632 * gst/base/gstbasetransform.h:
19633 * gst/base/gstcollectpads.c:
19634 * gst/base/gstcollectpads.h:
19635 * gst/base/gstpushsrc.c:
19636 * gst/base/gstpushsrc.h:
19637 * gst/base/gsttypefindhelper.c:
19638 * gst/base/gsttypefindhelper.h:
19639 * gst/check/Makefile.am:
19640 * gst/check/gstcheck.c:
19641 * gst/check/gstcheck.h:
19642 * gst/net/Makefile.am:
19643 * gst/net/gstnet.h:
19644 * gst/net/gstnetclientclock.c:
19645 * gst/net/gstnetclientclock.h:
19646 * gst/net/gstnettimepacket.c:
19647 * gst/net/gstnettimepacket.h:
19648 * gst/net/gstnettimeprovider.c:
19649 * gst/net/gstnettimeprovider.h:
19650 * libs/gst/Makefile.am:
19651 * libs/gst/base/Makefile.am:
19652 * libs/gst/base/gstbasetransform.c:
19653 * libs/gst/check/Makefile.am:
19654 * plugins/elements/Makefile.am:
19656 CVS surgery + support to move base, check, and net out of gst
19659 2005-11-29 Andy Wingo <wingo@pobox.com>
19661 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19663 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19666 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19668 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19670 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19672 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19673 padding; reduces object size by about 30%. We don't expect
19674 anything else to go into gstobject.
19676 * gst/gstminiobject.h (struct _GstMiniObject)
19677 (struct _GstMiniObjectClass): Only one pointer of padding; the
19678 payload is only a pointer and two ints anyway. For the class there
19679 are only two methods as well.
19681 * gst/gstelement.h (struct _GstElementClass): Removed
19682 the state_changed signal callback, it is not used.
19684 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19686 * docs/gst/gstreamer.types:
19687 fix includes, though they are a little dinky
19689 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19691 * check/Makefile.am:
19692 look in the right place for elements, a lot more chance of
19695 remove indexers and elements subdirs
19696 * plugins/Makefile.am:
19697 make indexers conditional
19699 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19703 * plugins/elements/Makefile.am:
19704 * plugins/elements/gstcapsfilter.c:
19705 * plugins/elements/gstfilesink.c:
19706 * plugins/elements/gstfilesrc.c:
19707 * plugins/elements/gstidentity.c:
19708 * plugins/indexers/Makefile.am:
19709 do CVS surgery and related build fixery to move elements
19710 and indexers in a new gstreamer/plugins directory, out of the
19713 2005-11-29 Andy Wingo <wingo@pobox.com>
19715 * check/Makefile.am:
19716 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19717 * pkgconfig/gstreamer-net.pc.in:
19718 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19721 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19723 * tools/Makefile.am:
19724 * tools/gst-complete.1.in:
19725 * tools/gst-complete.c:
19726 * tools/gst-compprep.1.in:
19727 * tools/gst-compprep.c:
19728 removing -compprep and -complete
19730 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19732 * gst/gstevent.c: (gst_event_new_new_segment),
19733 (gst_event_parse_new_segment):
19735 fix #320529 - clean up new_segment API and structure.
19736 Let's hope everyone was using the methods, and not the structure.
19738 2005-11-29 Edward Hervey <edward@fluendo.com>
19740 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19741 (gst_base_sink_event), (gst_base_sink_do_sync),
19742 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19743 Properly handle non GST_FORMAT_TIME segment
19744 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19745 Properly handle non GST_FORMAT_TIME segment
19746 * gst/gstsegment.c:
19747 This function is valid if the accumulator is 0 and the format
19748 is different from the requested format.
19750 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19752 * docs/gst/gstreamer-sections.txt:
19753 Add gst_query_new_seeking and gst_query_parse_seeking to the
19756 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19758 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19759 Treat a pad alloc with new caps the same as if we were not
19760 negotiated, in order to allow a changing upstream output
19761 to produce a new format of data.
19763 2005-11-29 Edward Hervey <edward@fluendo.com>
19765 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19766 (gst_base_transform_event), (gst_base_transform_eventfunc):
19767 The event virtual method is now properly implemented, with a default
19769 Sub classes should call the parent_class event method. They should
19770 return FALSE if they had a problem handling the given event, or don't
19771 want GstBaseTransform to send that even downstream
19772 * gst/elements/gstidentity.c: (gst_identity_class_init),
19773 (gst_identity_init), (gst_identity_event),
19774 (gst_identity_transform_ip), (gst_identity_set_property),
19775 (gst_identity_get_property):
19776 * gst/elements/gstidentity.h:
19777 Added the single-segment boolean property.
19778 If set to TRUE, it will output a single segment of data, starting from
19779 0, will eat up all incoming newsegment, and modify the timestamp of the
19780 buffers accordingly
19782 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19784 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19785 Don't ref NULL target pad (#322751). Improve docs.
19787 2005-11-29 Michael Smith <msmith@fluendo.com>
19789 * gst/gstregistryxml.c: (load_plugin):
19790 Don't crash if we failed to load a feature from a plugin.
19792 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19794 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19796 use more check API and less GLib API
19798 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19801 don't run checks if we don't have check
19802 * common/check.mak:
19803 remove the registry when running make torture
19804 * docs/gst/gstreamer-sections.txt:
19805 remove second multiply
19806 * gst/gstqueue.c: (gst_queue_loop):
19807 fix a compile warning when disabling debug
19809 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19812 Hey! Let's print the pad name if the pointer != NULL instead
19813 of when it == NULL :-)
19815 2005-11-28 Wim Taymans <wim@fluendo.com>
19817 * check/gst/gstutils.c: (GST_START_TEST):
19818 Updated check, add some scaling accuracy checking code.
19820 * gst/gstutils.c: (gst_util_div128_64),
19821 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19822 (gst_util_uint64_scale_int):
19823 Fix 6 times faster division code. Optimize for common
19824 1/1 and less common X/1 cases.
19826 2005-11-28 Wim Taymans <wim@fluendo.com>
19828 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19831 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19832 (do_linear_regression), (gst_clock_add_observation):
19834 Release lock when the clock cannot be slaved.
19835 Catch the case where the regression returned an invalid denominator.
19837 * gst/gstutils.c: (gst_util_div128_64_iterate),
19838 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19839 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19840 Add protentially more performant non-iterative 128/64 divide function
19841 that unfortunatly does not work yet.
19842 Shortcut the trivial 0/X = 0 case.
19843 Remove the warnings on overflow.
19845 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19847 * gst/gstplugin.c: (gst_plugin_register_func):
19848 everything causing a plugin not to load should be at least a WARNING
19850 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19852 * docs/random/ensonic/dparams.txt:
19853 some TODOs for the next dev cycle
19854 * libs/gst/controller/gstcontroller.c:
19855 (gst_controlled_property_set_interpolation_mode),
19856 (gst_controlled_property_new):
19857 * libs/gst/controller/gstcontroller.h:
19858 use base type to assign acccessor functions
19860 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19862 * check/Makefile.am:
19863 Oops, that should have been top_srcdir
19865 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19867 * check/Makefile.am:
19868 * check/elements/fdsrc.c: (GST_START_TEST):
19869 Use a cmdline define to specify the location of a file to use for
19870 testing, to avoid breaking distcheck.
19872 2005-11-28 Andy Wingo <wingo@pobox.com>
19874 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19876 2005-11-28 Edward Hervey <edward@fluendo.com>
19878 * tools/gst-launch.c: (main):
19879 Clarify the output strings, makes it easier to translate.
19882 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19885 don't try and build net if we don't even have <sys/socket.h>
19887 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19889 * check/Makefile.am:
19890 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19891 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19892 Add tests for fdsrc seekability
19894 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19895 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19896 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19897 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19898 * gst/elements/gstfdsrc.h:
19899 fdsrc should not be a 'live' source.
19900 Implement seeking on seekable fd's.
19902 * gst/gstquery.c: (gst_query_new_seeking),
19903 (gst_query_parse_seeking):
19905 Implement SEEKING query functions:
19906 *_new_seeking and *_parse_seeking
19908 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19910 * gst/gstelement.c: (gst_element_dispose):
19913 * gst/gstiterator.c:
19914 * gst/gststructure.c:
19917 * libs/gst/controller/gstcontroller.c:
19918 (gst_controlled_property_set_interpolation_mode):
19919 * libs/gst/controller/gstcontroller.h:
19920 * libs/gst/controller/gstinterpolation.c:
19921 (interpolate_none_get_enum_value_array):
19922 support controlling enums
19924 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19927 Improve documentation for gst_value_union().
19930 Change return value for union, intersect and subtract functions
19931 from gint to gboolean.
19933 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19935 * gst/gstvalue.c: (gst_value_serialize_any_list),
19936 (gst_value_transform_any_list_string),
19937 (gst_value_deserialize_list), (gst_value_deserialize_array),
19938 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19939 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19940 (gst_value_set_fraction_range_full),
19941 (gst_value_deserialize_fraction_range),
19942 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19943 (gst_value_deserialize_boolean),
19944 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19945 (gst_value_serialize_float), (gst_value_deserialize_float),
19946 (gst_string_wrap), (gst_value_deserialize_string),
19947 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19948 (gst_value_union_int_range_int_range),
19949 (gst_value_intersect_int_range_int_range),
19950 (gst_value_intersect_double_range_double_range),
19951 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19952 (gst_value_subtract_int_range_int_range),
19953 (gst_value_subtract_double_double_range),
19954 (gst_value_subtract_double_range_double_range),
19955 (gst_value_deserialize_fraction):
19957 Use gint, gdouble and gchar in our API instead of int, double and
19958 char (and make usage in gstvalue.c more consistent).
19960 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19962 * check/Makefile.am:
19963 * libs/gst/controller/Makefile.am:
19964 * libs/gst/dataprotocol/Makefile.am:
19965 fix up Makefile.am and remove GST_ENABLE_NEW
19967 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19971 * gst/base/Makefile.am:
19972 * gst/check/Makefile.am:
19973 * gst/elements/Makefile.am:
19974 * gst/net/Makefile.am:
19975 update LDFLAGS use some more
19977 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19979 * common/m4/gst-doc.m4:
19982 2005-11-26 Edward Hervey <edward@fluendo.com>
19984 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19985 This shouldn't issue a g_warning since it returns NULL if it
19986 couldn't find the plugin, and all functions using this behave
19987 properly on a NULL return. Switching to a GST_WARNING.
19989 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19991 * gst/gstbin.c: (gst_bin_handle_message_func):
19992 Don't leak clock messages.
19994 2005-11-25 Wim Taymans <wim@fluendo.com>
19996 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19997 (gst_util_uint64_scale_int):
19998 Optimisations, remove unneeded vars.
20000 2005-11-25 Wim Taymans <wim@fluendo.com>
20002 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20003 Added more checks for the high precision uint64 cases.
20005 * gst/gstutils.c: (gst_util_uint64_scale_int64),
20006 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20007 Implement high precision (guint64 * guint64) / guint64.
20009 2005-11-24 Wim Taymans <wim@fluendo.com>
20011 * gst/base/gstbasesrc.c: (gst_base_src_query):
20012 Fix wrong percentage query.
20014 * gst/gstutils.c: (gst_util_uint64_scale),
20015 (gst_util_uint64_scale_int):
20016 Add some more common cases that can be handled
20017 efficiently to _scale.
20019 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20021 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20022 (gst_mini_object_suite):
20023 don't use check calls from threads; check probably isn't
20024 threadsafe and using a lock to make it threadsafe would
20025 defeat the purpose of this check
20026 * gst/check/gstcheck.c:
20027 * gst/check/gstcheck.h:
20028 use GST_DEBUG some more
20030 2005-11-24 Wim Taymans <wim@fluendo.com>
20032 * gst/gstutils.c: (gst_util_uint64_scale),
20033 (gst_util_uint64_scale_int):
20034 Chain trivial case to _scale_int.
20036 2005-11-24 Wim Taymans <wim@fluendo.com>
20038 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20039 Added test for scaling.
20044 * gst/gstutils.c: (gst_util_uint64_scale_int):
20045 Implemented high precision scaling code.
20047 2005-11-24 Stefan Kost <ensonic@users.sf.net>
20050 do not crash on pad==NULL
20052 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
20054 Patch by: Stefan Kost
20056 * common/gtk-doc.mak:
20057 * docs/gst/Makefile.am:
20058 * docs/libs/Makefile.am:
20059 Fix distcheck issues for the libraries docs build
20062 2005-11-24 Michael Smith <msmith@fluendo.com>
20064 * docs/manual/basics-helloworld.xml:
20065 Fix bug #315027: memory leak in example code in docs.
20067 2005-11-24 Michael Smith <msmith@fluendo.com>
20069 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20070 Unlock the PREROLL_LOCK in a failure case.
20072 2005-11-24 Wim Taymans <wim@fluendo.com>
20074 * docs/gst/gstreamer-sections.txt:
20075 * gst/base/gstadapter.h:
20076 * gst/base/gstbasesink.h:
20077 * gst/base/gstbasesrc.h:
20078 * gst/base/gstbasetransform.h:
20079 * gst/base/gstpushsrc.h:
20080 * gst/elements/gstfakesink.h:
20081 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20082 * gst/elements/gstfakesrc.h:
20083 * gst/elements/gstfilesink.h:
20084 * gst/elements/gstfilesrc.h:
20087 * gst/gstbuffer.c: (_gst_buffer_copy):
20090 * gst/gstchildproxy.c:
20092 * gst/gstelement.c:
20093 * gst/gstelementfactory.c:
20094 * gst/gstelementfactory.h:
20096 * gst/gstghostpad.h:
20098 * gst/gstinterface.h:
20099 * gst/gstminiobject.c:
20100 * gst/gstminiobject.h:
20103 * gst/gstpadtemplate.h:
20104 * gst/gstpipeline.h:
20105 * gst/gstpluginfeature.h:
20108 * gst/gsttaglist.c:
20109 * gst/gsttaglist.h:
20110 * gst/gsttagsetter.c:
20111 * gst/gsttagsetter.h:
20114 * gst/gsttypefind.h:
20117 * gst/net/gstnetclientclock.c:
20118 * gst/net/gstnetclientclock.h:
20119 * gst/net/gstnettimepacket.c:
20120 * gst/net/gstnettimeprovider.c:
20121 * gst/net/gstnettimeprovider.h:
20124 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20126 * configure.ac: back to HEAD
20128 === release 0.9.6 ===
20130 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20133 releasing 0.9.6, "Always On Time"
20135 2005-11-23 Wim Taymans <wim@fluendo.com>
20137 * docs/gst/gstreamer-sections.txt:
20138 * gst/glib-compat.c:
20139 * gst/gsttagsetter.c:
20141 * gst/net/gstnetclientclock.c:
20142 * gst/net/gstnettimepacket.h:
20145 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20147 * docs/faq/using.xml:
20148 * docs/libs/tmpl/gstcontrol.sgml:
20149 * docs/manual/advanced-dparams.xml:
20150 * docs/manual/appendix-checklist.xml:
20151 * docs/manual/basics-elements.xml:
20152 * docs/pwg/other-source.xml:
20153 * docs/random/moving-plugins:
20155 * tools/gst-launch.1.in:
20156 remove mentions of sinesrc
20158 2005-11-23 Michael Smith <msmith@fluendo.com>
20160 * docs/gst/gstreamer-sections.txt:
20161 Update for new API and API changes.
20163 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20165 Documentation typo fix.
20166 * gst/net/gstnettimepacket.c:
20167 Documentation fixes for arguments.
20169 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20171 * gst/gststructure.c: (gst_structure_get_fraction),
20172 (gst_structure_parse_value),
20173 (gst_structure_fixate_field_nearest_fraction):
20174 * gst/gststructure.h:
20175 * gst/gstutils.c: (gst_util_uint64_scale_int):
20177 * scripts/update-funcnames:
20179 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20180 Make gst_structure_fixate_field_nearest_fraction take a numerator
20181 and denominator argument instead of a GValue
20182 add gst_structure_get_fraction helper function.
20184 2005-11-23 Wim Taymans <wim@fluendo.com>
20186 * docs/design/part-TODO.txt:
20189 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20190 * gst/net/gstnetclientclock.h:
20191 Use parent fields for timeout and window_size.
20193 2005-11-23 Andy Wingo <wingo@pobox.com>
20195 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20196 rate_num/rate_denom change.
20198 * gst/net/gstnetclientclock.c
20199 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20200 OBJECT_LOCK. Don't call add_observation with the lock.
20202 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20204 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20206 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20207 deal with rate as a fraction whose numerator and denominator are
20208 GstClockTime values.
20209 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20210 master; the other fields are protected by the SLAVE_LOCK.
20211 (do_linear_regression): Note that this must be called with the
20213 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20214 OBJECT_LOCK. Call set_calibration instead of touching the
20215 variables directly.
20216 (gst_clock_set_property, gst_clock_get_property): Protect
20217 master/slave parameters with the SLAVE_LOCK.
20219 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20220 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20221 note that all of the instance variables that add_observation and
20222 the set_master functions use are protected by that lock and not
20224 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20226 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20227 the caller to take the object lock.
20229 2005-11-23 Wim Taymans <wim@fluendo.com>
20231 * gst/gsterror.c: (_gst_core_errors_init):
20233 Add error for clock stuff.
20235 * gst/gstpipeline.c: (gst_pipeline_change_state),
20236 (gst_pipeline_set_clock):
20237 Post clock error when clock cannot be used in a pipeline.
20239 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20241 * docs/gst/gstreamer-sections.txt:
20242 make two symbols from gstinfo private for the docs
20243 * gst/base/gstcollectpads.h:
20245 fix doc typos, update docs
20247 2005-11-22 Wim Taymans <wim@fluendo.com>
20249 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20250 (gst_base_sink_wait), (gst_base_sink_do_sync),
20251 (gst_base_sink_handle_event):
20252 * gst/base/gstbasesink.h:
20253 No need to store the clock, the parent element class already
20256 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20257 Updates for clock_set returning a gboolean
20259 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20260 (gst_clock_id_wait_async), (gst_clock_class_init),
20261 (gst_clock_init), (gst_clock_finalize),
20262 (gst_clock_get_internal_time), (gst_clock_get_time),
20263 (gst_clock_slave_callback), (gst_clock_set_master),
20264 (gst_clock_get_master), (do_linear_regression),
20265 (gst_clock_add_observation), (gst_clock_set_property),
20266 (gst_clock_get_property):
20268 Implement master/slave. When setting a clock as a slave, a
20269 periodic timeout is scheduled to sample master and slave times.
20270 Then the slave clock is recalibrated to match offset and rate
20271 of the master clock.
20272 Update logging a bit.
20273 Add flag so that a clock can state that is cannot be slaved to
20276 * gst/gstelement.c: (gst_element_set_clock):
20277 * gst/gstelement.h:
20278 The set clock returns a gboolean for when an element cannot
20279 deal with the selected clock in the pipeline.
20281 * gst/gstpipeline.c: (gst_pipeline_change_state),
20282 (gst_pipeline_set_clock):
20283 * gst/gstpipeline.h:
20284 Handle the case where the selected clock cannot be set on
20287 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20288 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20289 (gst_net_client_clock_set_property),
20290 (gst_net_client_clock_get_property),
20291 (gst_net_client_clock_observe_times):
20292 * gst/net/gstnetclientclock.h:
20293 Use regression code in GstClock parent, remove duplicated
20296 2005-11-22 Michael Smith <msmith@fluendo.com>
20298 * gst/gstutils.c: (gst_util_clock_time_scale):
20300 * docs/gst/gstreamer-sections.txt:
20301 Rename method to have extra underscore.
20303 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20305 * gst/elements/Makefile.am:
20306 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20307 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20308 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20309 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20310 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20311 * gst/elements/gstfakesrc.h:
20312 * gst/gstqueue.c: (queue_leaky_get_type):
20313 correctly fix GEnumValues so that nick is the short lowercase
20315 * tools/gst-inspect.c: (print_element_properties_info):
20316 also show the nick, since it's useful to use from parse_launch
20320 2005-11-22 Michael Smith <msmith@fluendo.com>
20322 * gst/gstutils.c: (gst_util_clocktime_scale):
20324 * docs/gst/gstreamer-sections.txt:
20325 Add util method for scaling a clocktime by a fraction. Useful
20326 implementation is left as an exercise for the reader.
20328 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20330 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20331 If needed, allocate storage in the destination value during
20334 2005-11-22 Edward Hervey <edward@fluendo.com>
20336 * docs/gst/gstreamer-sections.txt:
20339 * gst/gsturitype.c:
20340 * gst/gsturitype.h:
20341 * gst/gstutils.c: (gst_util_set_object_arg):
20342 * tools/gst-compprep.c: (main):
20343 * tools/gst-inspect.c: (print_element_properties_info):
20344 Removed GstURI, closes bug #321061
20346 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20348 * check/gst/gststructure.c: (GST_START_TEST):
20349 * gst/gststructure.c: (gst_structure_parse_value):
20350 Oops, broke automatic string type parsing.
20351 Add a test to catch it in future.
20353 2005-11-22 Andy Wingo <wingo@pobox.com>
20355 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20356 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20357 Actually rename the function implementations. Grr.
20359 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20361 * check/gst/capslist.h:
20363 * check/gst/gststructure.c: (GST_START_TEST),
20364 (gst_structure_suite):
20365 Test automatic value type detection in gst_structure_from_string.
20366 * gst/gststructure.c: (gst_structure_parse_value):
20367 Add fraction as a type we try and guess automatically in
20368 caps/structure strings.
20370 2005-11-22 Andy Wingo <wingo@pobox.com>
20372 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20374 * gst/gsttagsetter.h:
20375 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20376 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20377 (gst_tag_setter_add_tag_valist)
20378 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20379 _add_values, _add_valist, and _add_valist_values. Since this is an
20380 interface the function suffixes should be more explicit so
20381 language binding don't end up with element.add_valist ->
20382 gst_tag_setter_add_valist, for example. Fixes #322069.
20384 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20386 * check/gst/gstcaps.c: (GST_START_TEST):
20387 Extend caps string tests to check that a caps to string
20388 conversion is reversible and produces the same caps.
20390 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20391 Output "fraction" as the generic type fraction range, so caps
20392 serialisation and deserialisation works.
20393 * check/gst/capslist.h:
20394 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20395 Support 'MIN' and 'MAX' for deserialising fractions.
20397 2005-11-22 Andy Wingo <wingo@pobox.com>
20399 * gst/gstevent.h (gst_event_new_new_segment)
20400 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20401 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20402 Renamed from *_newsegment, *_buffersize, *_notarget.
20404 * scripts/update-funcnames: New script, performs the changes
20407 2005-11-22 Wim Taymans <wim@fluendo.com>
20409 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20410 Make sure the GstFlowReturn is returned.
20412 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20413 (gst_bus_add_signal_watch):
20415 add gst_bus_add_signal_watch_full.
20417 * gst/gstplugin.c: (gst_plugin_load_file):
20418 Small style cleanup.
20420 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20422 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20423 Block the fakesrc srcpad when we send an event, to avoid
20424 contention on the stream_lock causing random test failures.
20426 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20428 * check/gst/gstvalue.c: (GST_START_TEST):
20429 * gst/gstvalue.c: (gst_value_fraction_subtract):
20432 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20435 include "gstchildproxy.h"
20436 * gst/gstchildproxy.h:
20437 * libs/gst/controller/gstcontroller.h:
20438 use G_GNUC_NULL_TERMINATED
20440 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20442 * check/gst/capslist.h:
20443 * check/gst/gstcaps.c: (GST_START_TEST):
20444 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20445 * gst/gststructure.c: (gst_structure_parse_range),
20446 (gst_structure_fixate_field_nearest_fraction):
20447 * gst/gststructure.h:
20448 * gst/gstvalue.c: (gst_value_init_fraction_range),
20449 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20450 (gst_value_collect_fraction_range),
20451 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20452 (gst_value_set_fraction_range_full),
20453 (gst_value_get_fraction_range_min),
20454 (gst_value_get_fraction_range_max),
20455 (gst_value_serialize_fraction_range),
20456 (gst_value_transform_fraction_range_string),
20457 (gst_value_compare_fraction_range),
20458 (gst_value_deserialize_fraction_range),
20459 (gst_value_intersect_fraction_fraction_range),
20460 (gst_value_intersect_fraction_range_fraction_range),
20461 (gst_value_subtract_fraction_fraction_range),
20462 (gst_value_subtract_fraction_range_fraction),
20463 (gst_value_subtract_fraction_range_fraction_range),
20464 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20465 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20466 (gst_value_transform_string_fraction), (_gst_value_initialize):
20468 Implement fraction ranges and extend GstFraction to support
20469 arithmetic subtraction, as well as deserialization from integer
20470 strings such as "100"
20471 Add a testsuite as for int and double range set operations
20473 2005-11-21 Andy Wingo <wingo@pobox.com>
20475 * gst/gsttaglist.h:
20477 * gst/gststructure.h: Add glib-compat.h.
20479 2005-11-21 Wim Taymans <wim@fluendo.com>
20481 * gst/gstbin.c: (gst_bin_change_state_func):
20484 2005-11-21 Wim Taymans <wim@fluendo.com>
20486 * gst/gstsegment.h:
20487 And add a nice define too.
20489 2005-11-21 Wim Taymans <wim@fluendo.com>
20491 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20492 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20493 (gst_segment_set_duration), (gst_segment_set_last_stop),
20494 (gst_segment_set_seek), (gst_segment_set_newsegment),
20495 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20496 (gst_segment_clip):
20497 * gst/gstsegment.h:
20498 Make binding friendly.
20500 2005-11-21 Andy Wingo <wingo@pobox.com>
20502 * gst/gsttagsetter.h:
20503 * gst/gsttaglist.h:
20504 * gst/gststructure.h:
20506 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20509 * gst/gsterror.c (_gst_core_errors_init):
20510 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20513 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20514 (noinst_HEADERS): noinst the -private.
20516 2005-11-21 Michael Smith <msmith@fluendo.com>
20519 * gst/gstregistry.h:
20520 Remove unimplemented declarations for which we can see no sensible
20523 2005-11-21 Andy Wingo <wingo@pobox.com>
20525 * gst/gst.h: Include glib-compat.h.
20527 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20529 * gst/glib-compat.c: Include the public and the private header.
20531 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20535 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20537 * check/gst/gstevent.c (create_custom_events): Check that
20538 FLUSH_STOP is serialized.
20540 * check/elements/identity.c (event_func):
20541 * check/elements/fakesrc.c (event_func): No stream lock, the core
20544 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20545 stream lock taking, yay.
20547 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20548 ensure that core takes the stream lock.
20550 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20553 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20554 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20555 it already. For the flush start we do take it though so we get the
20556 right preroll state change messages.
20558 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20559 the stream lock here, the core does it for us.
20561 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20562 GST_STREAM_GET_LOCK.
20563 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20564 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20565 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20566 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20567 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20568 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20570 * gst/gstpad.c: Update for stream lock name change.
20572 * gst/base/gstbasesink.c: Update for preroll lock name change.
20574 2005-11-21 Wim Taymans <wim@fluendo.com>
20576 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20577 (gst_clock_get_master):
20579 * gst/gstsystemclock.c: (gst_system_clock_init):
20580 Convert Clock flags to object flags.
20581 Added methods to manage master/slave clocks.
20583 2005-11-21 Wim Taymans <wim@fluendo.com>
20585 * check/gst/gstsegment.c: (GST_START_TEST):
20586 * docs/design/part-TODO.txt:
20587 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20588 (gst_base_sink_event), (gst_base_sink_do_sync),
20589 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20590 (gst_base_sink_query), (gst_base_sink_change_state):
20591 * gst/base/gstbasesink.h:
20592 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20593 (gst_base_src_default_newsegment),
20594 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20595 (gst_base_src_get_range), (gst_base_src_loop),
20596 (gst_base_src_change_state):
20597 * gst/base/gstbasesrc.h:
20598 * gst/base/gstbasetransform.c:
20599 (gst_base_transform_prepare_output_buf),
20600 (gst_base_transform_event), (gst_base_transform_change_state):
20601 * gst/base/gstbasetransform.h:
20602 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20603 (gst_collect_pads_event):
20604 * gst/base/gstcollectpads.h:
20605 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20606 (gst_fake_src_create):
20607 * gst/elements/gstfakesrc.h:
20608 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20609 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20610 (gst_segment_set_last_stop), (gst_segment_set_seek),
20611 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20612 (gst_segment_to_running_time), (gst_segment_clip):
20613 * gst/gstsegment.h:
20614 More segment updates, replace code in plugins with segment
20617 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20619 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20620 Don't ignore sscanf results
20622 2005-11-21 Andy Wingo <wingo@pobox.com>
20624 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20627 * *.c: Ran scripts/update-macros. Oh yes.
20629 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20630 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20633 * scripts/update-macros: New script. Run it on your files to
20634 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20637 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20639 * docs/gst/Makefile.am:
20640 * docs/gst/gstreamer-docs.sgml:
20641 * docs/gst/gstreamer-sections.txt:
20642 * docs/gst/gstreamer.types:
20644 more docs fixes, add new api to the docs
20646 2005-11-21 Andy Wingo <wingo@pobox.com>
20648 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20649 state_broadcast call.
20651 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20653 2005-11-21 Julien MOUTTE <julien@moutte.net>
20655 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20656 function calls for arrays.
20658 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20660 * docs/random/ensonic/media-device-daemon.txt:
20661 wild idea, can this be done?
20662 * docs/gst/gstreamer-sections.txt:
20667 * gst/gstpluginfeature.c:
20671 doc fixes and additions
20673 2005-11-21 Andy Wingo <wingo@pobox.com>
20675 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20676 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20677 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20678 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20679 private to the basesrc implementation.
20681 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20682 behalf of event function if necessary. It should no longer be
20683 necessary to take the stream lock in pad's event functions. Fixes
20686 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20687 * docs/gst/gstreamer-sections.txt:
20688 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20689 (gst_structure_fixate_field_nearest_double),
20690 (gst_structure_fixate_field_boolean):
20691 * gst/gststructure.h:
20692 * win32/common/libgstreamer.def:
20693 * win32/gstreamer.def:
20695 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20698 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20700 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20701 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20702 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20703 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20704 (gst_fdsrc_uri_handler_init):
20705 * gst/elements/gstfdsrc.h:
20706 Port fd:// URI handler from 0.8 to fdsrc
20708 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20710 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20711 (gst_value_serialize_fourcc):
20713 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20714 consistent with our other format defines (#320324).
20716 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20718 * gst/gstvalue.c: (gst_value_is_fixed):
20719 Revert previous commit. Value lists are by definition
20720 not fixed, as they are a list of possible values.
20722 2005-11-21 Andy Wingo <wingo@pobox.com>
20724 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20725 during the stable series if we need it. Fixes #319178.
20727 * gst/gstevent.c (gst_event_new_filler): Removed.
20729 * check/gst/gstevent.c: Update comment about filler events.
20731 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20733 * gst/gstvalue.c: (gst_value_is_fixed):
20734 Should handle both value arrays and value lists.
20736 2005-11-21 Andy Wingo <wingo@pobox.com>
20738 patch by: Alessandro Dessina <alessandro nnva org>
20740 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20741 functions to access arrays. Fixes #321962.
20743 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20745 * docs/gst/gstreamer.types:
20746 gst_collectpads_get_type => gst_collect_pads_get_type.
20748 * gst/base/gstbasetransform.c:
20749 Remove unused SIGNAL_HANDOFF enum.
20751 2005-11-21 Andy Wingo <wingo@pobox.com>
20753 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20754 the event type (upstream, downstream, serialized). Renamed
20755 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20756 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20757 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20759 * gst/gstevent.c: Update for new CUSTOM event names.
20761 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20764 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20767 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20769 * docs/gst/gstreamer-sections.txt:
20770 * win32/common/libgstbase.def:
20771 * win32/libgstbase.def:
20772 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20773 (gst_collect_pads_class_init), (gst_collect_pads_init),
20774 (gst_collect_pads_finalize), (gst_collect_pads_new),
20775 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20776 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20777 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20778 (gst_collect_pads_start), (gst_collect_pads_stop),
20779 (gst_collect_pads_peek), (gst_collect_pads_pop),
20780 (gst_collect_pads_available), (gst_collect_pads_read),
20781 (gst_collect_pads_flush), (gst_collect_pads_event),
20782 (gst_collect_pads_chain):
20783 * gst/base/gstcollectpads.h:
20784 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20785 unimplemented functions as unimplemented. Add padding to
20786 GstCollectData. (#320766, #320423)
20788 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20790 * gst/gstmessage.c:
20791 Improve docs for DURATION message (usage of duration parameter)
20794 2005-11-20 Wim Taymans <wim@fluendo.com>
20796 * check/Makefile.am:
20797 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20801 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20802 (gst_segment_set_seek), (gst_segment_set_newsegment),
20803 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20804 (gst_segment_clip):
20805 * gst/gstsegment.h:
20806 Added segment helper structure and methods. Not fully implemented
20808 Added segment check.
20810 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20812 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20813 Add a deserialisation test for fractions
20814 * examples/metadata/read-metadata.c: (message_loop),
20815 (make_pipeline), (main):
20816 Fix up metadata reading sample.
20817 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20819 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20820 Don't try and fixate empty caps
20821 * gst/gst_private.h:
20822 Wrap in G_BEGIN_DECLS/G_END_DECLS
20823 * gst/gstvalue.c: (gst_value_collect_fraction),
20824 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20825 (gst_value_transform_string_fraction),
20826 (gst_value_compare_fraction):
20827 Add some extra guards to ensure that we don't end up
20828 with an invalid denominator of 0 in a gstfraction and
20829 that fractions always get reduced.
20831 2005-11-20 Wim Taymans <wim@fluendo.com>
20833 * docs/gst/gstreamer-sections.txt:
20835 * gst/gstelement.c:
20844 2005-11-20 Wim Taymans <wim@fluendo.com>
20846 * docs/design/part-TODO.txt:
20848 Make a proper enum of the flag.
20850 2005-11-19 Wim Taymans <wim@fluendo.com>
20852 * docs/design/part-TODO.txt:
20853 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20854 (gst_format_to_quark), (gst_format_register):
20856 * gst/gstquery.c: (_gst_query_initialize),
20857 (gst_query_type_get_name), (gst_query_type_to_quark),
20858 (gst_query_type_register):
20860 Add type to quark and type to string conversions.
20862 2005-11-19 Andy Wingo <wingo@pobox.com>
20864 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20867 2005-11-19 Wim Taymans <wim@fluendo.com>
20869 * docs/design/part-TODO.txt:
20870 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20871 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20872 (gst_bin_handle_message_func):
20874 Make message handling overridable.
20876 2005-11-19 Andy Wingo <wingo@pobox.com>
20878 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20881 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20883 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20884 is a GstClockTime. Fixes #321710.
20886 * gst/gstclock.h (GstClock): Remove offset property. Add
20887 internal_calibration and external_calibration. Fix padding. Pad
20888 also by GstClockTime so we don't run into problems.
20890 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20891 (gst_clock_get_rate_offset): Remove.
20892 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20895 * gst/gstutils.c (g_static_rec_cond_wait)
20896 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20898 * gst/gstbin.c: Remove terrible continue_state prototype.
20900 * gst/gstelement.h (gst_element_continue_state): Make public.
20902 * gst/gstelement.h:
20903 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20904 by continue_state. Fixes #319389.
20906 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20907 Really fixes #168438. However I don't see anywhere where the
20908 filter function is called... stupid GStreamer...
20910 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20911 don't have a dispose function, so it won't get called when the
20912 object is unreffed, but oh well!
20914 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20915 allows a destroy function to be set so user_data can be freed.
20917 (gst_index_set_filter): Call gst_index_set_filter_full.
20919 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20921 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20922 string should produce an error, given the lack of a way to
20923 represent NULL strings. Fixes #165650.
20926 * gst/gstvalue.c (gst_value_array_append_value)
20927 (gst_value_array_prepend_value, gst_value_array_get_size)
20928 (gst_value_array_get_value): New API, copied from
20929 gst_value_list_*, only operates on arrays.
20930 (gst_value_list_append_value, gst_value_list_prepend_value)
20931 (gst_value_list_concat, gst_value_list_get_size)
20932 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20934 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20935 init_list, because it works on both.
20936 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20937 (gst_value_copy_list_or_array): Renamed from copy_list.
20938 (gst_value_free_list_or_array): Renamed from free_list.
20939 (gst_value_collect_list_or_array): Renamed from collect_list.
20940 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20941 (gst_value_list_or_array_peek_pointer): Renamed from
20943 (_gst_value_array_value_table, _gst_value_list_value_table):
20944 Update value table functions.
20945 (gst_value_compare_list_or_array): Renamed from compare_list.
20947 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20950 * gst/gsttaglist.c:
20951 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20952 GstTagList*. Fixes #143472.
20954 * gst/gststructure.h: Clarify what the foreach/map functions can
20955 or can't do to their arguments.
20957 2005-11-18 Wim Taymans <wim@fluendo.com>
20959 * gst/gstclock.c: (gst_clock_set_calibration),
20960 (gst_clock_get_calibration):
20962 Calibration can be set with internal time equal to current
20965 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20971 2005-11-18 Andy Wingo <wingo@pobox.com>
20974 * pkgconfig/gstreamer-net.pc.in:
20975 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20976 * pkgconfig/Makefile.am: Add net pkgconfig files.
20978 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20981 * gst/gstghostpad.c:
20987 2005-11-18 Andy Wingo <wingo@pobox.com>
20989 * gst/net/gstnetclientclock.c: Turn off debugging.
20991 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20992 times connverge somewhat. Can't make a real test.
20994 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20995 integer arithmetic. Return the minimum of the domain, which can be
20996 set as "internal" for gst_clock_set_calibration.
20997 (gst_net_client_clock_observe_times): Call _set_calibration.
20998 (gst_net_client_clock_new): Call _set_calibration instead of
21001 * check/net/gstnetclientclock.c (test_functioning): Use the right
21005 * gst/gstclock.c (gst_clock_get_calibration)
21006 (gst_clock_set_calibration): New functions, obsolete the ones I
21007 added yesterday. Doh. Precision issues mean we have to extrapolate
21008 from a point in the more recent past than 1970.
21009 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21011 (gst_clock_adjust_unlocked): Use the right calibration data.
21013 2005-11-18 Edward Hervey <edward@fluendo.com>
21015 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21016 Also reset the ->current_* values in READY->PAUSED
21018 2005-11-18 Andy Wingo <wingo@pobox.com>
21020 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21021 Whoops, check the right fd. Also add some debugging.
21022 (gst_net_client_clock_observe_times): Adjust for int64 offset.
21023 (do_linear_regression): Add a crapload of debugging. Subtract off
21024 the minimum values from the input series to discard unneeded bits.
21025 Use only int arithmetic. There is still double arithmetic when
21026 calculating the intercept that needs fixing. Return boolean to
21027 indicate success; FALSE would mean the domain or range is too
21028 great. Still needs fixes.
21030 2005-11-18 Wim Taymans <wim@fluendo.com>
21032 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21033 For the current position in stream time, we need to subtract
21036 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21037 Release lock before calling the callback function of async
21040 2005-11-18 Andy Wingo <wingo@pobox.com>
21042 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21043 Port goes all the way to MAXUINT16.
21045 * gst/net/gstnettimeprovider.c: Make the port range the same as
21046 for the kernel: 0 assigns, otherwise ports are less than
21049 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21052 * check/net/gstnetclientclock.c (test_functioning): Add the start
21055 2005-11-18 Wim Taymans <wim@fluendo.com>
21057 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21058 (gst_bin_remove_func), (bin_bus_handler):
21060 Removing a clock provider from a bin, triggers a clock lost message
21061 so that a new clock will be selected.
21062 Adding a clock to a bin triggers a clock provider message.
21063 Make sure we reselect a clock when we received a clock lost message.
21064 Keep a reference to the element that provided the clock.
21066 2005-11-18 Andy Wingo <wingo@pobox.com>
21068 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21069 the clock initially so it produces values around the base time.
21070 (gst_net_client_clock_class_init): Typo fix.
21071 (gst_net_client_clock_thread): Add note on when the socket gets
21074 2005-11-17 Wim Taymans <wim@fluendo.com>
21076 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21077 Free remote and local time arrays.
21079 2005-11-17 Wim Taymans <wim@fluendo.com>
21081 * gst/net/gstnetclientclock.c: (do_linear_regression),
21082 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21083 Fix compilation, uninitialized vars and a forgotten continue.
21085 2005-11-17 Andy Wingo <wingo@pobox.com>
21087 * check/Makefile.am (check_PROGRAMS):
21088 * check/net/gstnetclientclock.c: Add a most minimal test for the
21089 net client clock. More to come later.
21091 * gst/net/gstnet.h:
21092 * gst/net/Makefile.am: Add netclientclock.
21094 * gst/net/gstnetclientclock.h:
21095 * gst/net/gstnetclientclock.c: New files, implement an untested
21096 GstClock that takes its time from a network time provider.
21097 Implements the algorithm in network-clock.scm.
21099 * tests/network-clock.scm (*window-size*): Rename from
21101 * tests/network-clock.scm (network-time):
21102 * tests/network-clock-utils.scm (q-push): Update callers.
21104 2005-11-17 Wim Taymans <wim@fluendo.com>
21106 * gst/gstbin.c: (gst_bin_provide_clock_func),
21107 (gst_bin_sort_iterator_new):
21108 And unref the child too..
21110 2005-11-17 Wim Taymans <wim@fluendo.com>
21112 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21113 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21114 Refactor the sort iterator so it can be used while holding the
21116 Make clock selection select a clock closest to the source.
21118 2005-11-17 Michael Smith <msmith@fluendo.com>
21120 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21121 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21123 Anonymous structs are a gcc (and some other compilers) extension, so
21124 don't use them. Since this is only for ABI-compatibility, and our
21125 API/ABI freeze is over in a few days, this whole thing will only
21126 last a few days, so don't bother trying to think up a meaningful
21127 name for the struct.
21129 2005-11-17 Andy Wingo <wingo@pobox.com>
21131 * gst/gstclock.h (GstClock): Add rate and offset properties,
21132 preserving ABI stability. Add rate/offset accessors. Will file bug
21133 for the freeze break.
21135 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21136 and offset, trying to keep precision and avoiding
21137 underflow/overflow.
21138 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21139 functions. Make gst_clock_set_time_adjust obsolete.
21140 (gst_clock_set_time_adjust): Note that this function is obsolete.
21141 Will file bug soon.
21143 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21144 greppable by using GST_PADDING-1+1.
21146 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21148 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21150 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21151 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21153 * gst/gstpadtemplate.h:
21154 * gst/gstpluginfeature.h:
21155 Don't use c++ style comments in headers (#321638).
21157 2005-11-16 Andy Wingo <wingo@pobox.com>
21159 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21162 * check/net/gstnettimeprovider.c: Check to see that the time
21163 provider actually provides times. Works, yo!
21165 2005-11-16 Wim Taymans <wim@fluendo.com>
21167 * check/Makefile.am:
21170 * check/elements/fakesrc.c: (GST_START_TEST):
21171 Set element to NULL before disposing it.
21173 2005-11-16 Andy Wingo <wingo@pobox.com>
21175 * gst/net/Makefile.am:
21176 * gst/net/gstnet.h:
21177 * gst/net/gstnettimeprovider.c:
21178 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21179 provider, include it from gstnet.h, and add it to the build.
21181 * gst/net/gstnettimepacket.h:
21182 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21183 sending and receiving.
21185 2005-11-16 Wim Taymans <wim@fluendo.com>
21187 * check/Makefile.am:
21188 Enable valgrind check.
21190 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21191 (gst_fake_src_alloc_buffer):
21194 2005-11-16 Wim Taymans <wim@fluendo.com>
21196 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21197 Call parent finalize too.
21199 2005-11-16 Wim Taymans <wim@fluendo.com>
21201 * check/Makefile.am:
21202 Enable valgrind check that should work fine now.
21204 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21205 * gst/gstqueue.c: (gst_queue_init):
21206 Fix memleaks in pad allocation.
21208 2005-11-16 Andy Wingo <wingo@pobox.com>
21210 * gst/net/Makefile.am:
21211 * gst/net/gstnet.h: New part of core to hold network elements and
21212 objects. Put in core because it exposes API that applications want
21213 to use. The library is named libgstnet-tempname right now because
21214 of the existing libgstnet in gst-plugins-base. Solution is
21215 probably to rename the one in plugins-base; will file a bug for
21218 * gst/net/gstnettimeprovider.c:
21219 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21220 get_time call over the network.
21223 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21225 * check/Makefile.am:
21226 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21227 get additions shortly.
21229 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21231 * gst/gstpad.c: (gst_pad_new_from_static_template):
21233 add gst_pad_new_from_static_template functions
21234 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21235 (gst_check_setup_sink_pad):
21236 * gst/elements/gsttee.c: (gst_tee_init):
21239 2005-11-16 Wim Taymans <wim@fluendo.com>
21241 * gst/gstpad.c: (gst_pad_pause_task):
21242 Removed warning, it's not really an error either.
21244 2005-11-16 Wim Taymans <wim@fluendo.com>
21246 * gst/base/gstbasetransform.c:
21247 (gst_base_transform_prepare_output_buf),
21248 (gst_base_transform_event):
21249 Check if the caps are NULL, this can happen if the element
21250 is shutting down and the pad caps are set to NULL.
21252 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21254 * gst/elements/gsttee.c: (gst_tee_init):
21255 fix pad template leak in tee
21257 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21259 * gst/glib-compat.c: (g_value_dup_gst_object):
21260 * gst/glib-compat.h:
21261 * gst/gstpad.c: (gst_pad_set_property):
21262 use gst_object_ref when setting the pad template; this will
21263 trigger the pad template leaks on GLib 2.6 and the slaves
21265 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21267 * gst/glib-compat.c: (gst_flags_get_first_value):
21268 * gst/glib-compat.h:
21269 * gst/gstregistryxml.c:
21270 remove functions copied from GLib 2.6
21272 2005-11-16 Michael Smith <msmith@fluendo.com>
21275 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21276 do, but only breaks with newer valgrind versions. We're not a
21277 valgrind tool, we have no link-time dependencies on libcoregrind.
21279 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21281 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21283 * gst/gstmessage.h:
21286 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21288 * gst/base/gstbasesrc.c: (gst_base_src_init):
21289 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21290 * gst/gstqueue.c: (gst_queue_init):
21291 * gst/gstregistryxml.c: (load_feature):
21292 Revert all these unrefs, they don't even pass make check !
21294 2005-11-15 Johan Dahlin <johan@gnome.org>
21296 * gst/base/gstbasesrc.c: (gst_base_src_init):
21297 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21298 * gst/gstqueue.c: (gst_queue_init):
21299 Free pad templates, fixes a couple of leaks.
21301 2005-11-15 Daniel Fischer <dan at f3c dot com>
21303 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21305 * gst/gstpad.c: (gst_pad_get_property):
21306 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21307 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21310 2005-11-15 Wim Taymans <wim@fluendo.com>
21315 2005-11-15 Andy Wingo <wingo@pobox.com>
21317 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21319 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21320 using GST_CLOCK_TIME_NONE to disable base time management.
21321 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21322 time if it was NONE before.
21323 (gst_pipeline_change_state): Only munge the base time if
21324 stream_time != GST_CLOCK_TIME_NONE.
21326 * check/gst/gstpipeline.c (test_base_time): Punt around the
21327 problem of the probe not being called, because that's not the
21328 issue I'm looking at. Add a check that setting stream_time to NONE
21329 disables base time management.
21331 2005-11-15 Wim Taymans <wim@fluendo.com>
21333 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21334 segment_stop == -1 at startup.
21336 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21337 (gst_base_transform_change_state):
21338 Init segment values at start.
21340 2005-11-15 Wim Taymans <wim@fluendo.com>
21342 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21343 0 segment values are 0 in any format.
21345 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21346 * gst/base/gstbasetransform.h:
21347 Parse newsegment correctly in basetransform
21349 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21350 Sync to clock using updated segment values.
21352 2005-11-15 Andy Wingo <wingo@pobox.com>
21354 * check/gst/gstpipeline.c (test_base_time): Add check that the
21355 base time and stream time are reset correctly.
21357 2005-11-15 Wim Taymans <wim@fluendo.com>
21359 * docs/design/part-TODO.txt:
21360 Some more TODO items.
21362 2005-11-15 Andy Wingo <wingo@pobox.com>
21364 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21365 error if the user selected "no clock" as the clocking method.
21367 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21368 timestamps with live capture.
21370 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21371 is 0 but we are a live source, timestamp the buffers using the
21374 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21376 * docs/gst/gstreamer-sections.txt:
21378 * gst/gstghostpad.c:
21383 2005-11-14 Wim Taymans <wim@fluendo.com>
21386 add suppressions from Wim's Debian machine
21388 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21391 add suppressions from Andy's AMD64 Ubuntu machine
21393 2005-11-14 Andy Wingo <wingo@pobox.com>
21395 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21396 STATE_LOCK not necessary. Fixes #311489.
21398 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21401 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21402 this function is not implemented.
21404 2005-11-14 Julien MOUTTE <julien@moutte.net>
21406 * gst/base/gstbasetransform.c:
21407 (gst_base_transform_prepare_output_buf):
21408 Ref the source pad caps while we need them.
21411 2005-11-11 Wim Taymans <wim@fluendo.com>
21413 * docs/gst/gstreamer-sections.txt:
21414 Added some docs for GstCollectData.
21416 * gst/base/gstadapter.c:
21417 Some small code example fix.
21419 * gst/base/gstcollectpads.c:
21420 * gst/base/gstcollectpads.h:
21421 Document some more.
21423 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21425 * configure.ac: back to HEAD
21427 === release 0.9.5 ===
21429 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21432 releasing 0.9.5, "Bike Lunch Day"
21434 2005-11-11 Wim Taymans <wim@fluendo.com>
21436 * gst/gstbuffer.c: (_gst_buffer_copy):
21439 * gst/gstcaps.c: (gst_caps_is_equal):
21441 Make _is_equal fast in the trivial cases.
21443 * gst/gstminiobject.c:
21444 * gst/gstminiobject.h:
21445 More docs. Spifify .h file.
21450 2005-11-11 Wim Taymans <wim@fluendo.com>
21452 * gst/base/gstbasetransform.c:
21453 (gst_base_transform_prepare_output_buf),
21454 (gst_base_transform_handle_buffer):
21456 If we're processing a buffer and need to allocate an output
21457 buffer, we cannot accept a format change. If we did get a
21458 format change, we have to alloc a buffer ourselves of the
21461 2005-11-11 Wim Taymans <wim@fluendo.com>
21463 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21464 While checking the flag for reentrancy in the gstcaps function
21465 is nice to detect recursive invocations, it also makes it
21466 impossible to call getcaps from multiple threads, which must be
21467 possible. So, checking for recursive calls has to go.
21469 2005-11-11 Michael Smith <msmith@fluendo.com>
21471 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21472 Don't sync on buffers that fall partially outside our current
21473 segment. Prevents an assertion failure/abort playing some files.
21475 2005-11-10 Andy Wingo <wingo@pobox.com>
21477 * check/gst/gstbin.c (test_message_state_changed_children): Style
21480 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21481 gst_bus_poll with the signal watch. Ensures that poll and a signal
21482 watch see the same messages.
21484 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21485 a poll and a watch at the same time get the same messages.
21487 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21489 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21490 * gst/gstcaps.c: (gst_caps_intersect):
21491 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21492 and it's not needed.
21494 2005-11-10 Wim Taymans <wim@fluendo.com>
21496 * docs/design/part-TODO.txt:
21499 2005-11-10 Wim Taymans <wim@fluendo.com>
21501 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21502 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21503 (gst_base_src_do_sync), (gst_base_src_get_range):
21504 Implement clock sync in base class.
21506 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21508 patch by: Tim-Philipp Müller <tim at centricular dot net>
21510 * gst/gststructure.c: (gst_structure_parse_field),
21511 (gst_structure_from_string):
21512 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21513 so that gst_parse_launch() can deal with spaces in filtered link
21514 caps (fixes #164479)
21515 * check/gst/capslist.h:
21516 * check/gst/gststructure.c: (GST_START_TEST):
21517 add unit tests for this change
21519 2005-11-10 Wim Taymans <wim@fluendo.com>
21521 * docs/gst/gstreamer-sections.txt:
21522 * gst/gstelement.c:
21523 * gst/gstelement.h:
21524 Fix docs, move some STATE macros to private.
21526 2005-11-10 Wim Taymans <wim@fluendo.com>
21528 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21529 Added check for bug #317341
21533 Some more spiffifying.
21535 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21536 Call peer linkfunction if we are a source pad. Totally fixes
21540 Update docs, source pads should call the peer linkfunction
21541 so they can atomically perform the pad link.
21543 2005-11-09 Wim Taymans <wim@fluendo.com>
21547 Uber-spiffy-spiffify some more.
21549 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21551 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21552 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21553 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21554 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21555 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21556 * gst/gstpad.c: (gst_pad_init):
21557 Use GST_DEBUG_FUNCPTR() more extensively.
21559 2005-11-09 Wim Taymans <wim@fluendo.com>
21561 * gst/gstobject.c: (gst_object_class_init):
21563 Documentation fixes.
21565 2005-11-09 Edward Hervey <edward@fluendo.com>
21567 * gst/gsttypefindfactory.c:
21570 2005-11-09 Edward Hervey <edward@fluendo.com>
21572 * gst/base/gsttypefindhelper.c:
21573 * gst/gsttypefind.c:
21574 * gst/gsttypefind.h:
21577 2005-11-09 Wim Taymans <wim@fluendo.com>
21579 * gst/gstiterator.c:
21586 2005-11-09 Wim Taymans <wim@fluendo.com>
21592 2005-11-09 Wim Taymans <wim@fluendo.com>
21594 * docs/gst/gstreamer-sections.txt:
21595 Moved the message async delivery private lock and cond
21596 to the private section.
21598 * gst/gstmessage.c:
21599 * gst/gstmessage.h:
21602 2005-11-09 Edward Hervey <edward@fluendo.com>
21604 * docs/gst/gstreamer-sections.txt:
21607 Document GstURIHandler
21609 2005-11-09 Wim Taymans <wim@fluendo.com>
21611 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21612 (gst_iterator_find_custom):
21613 * gst/gstiterator.h:
21616 2005-11-09 Wim Taymans <wim@fluendo.com>
21619 Document another field.
21621 * gst/gststructure.c:
21622 * gst/gststructure.h:
21625 2005-11-09 Wim Taymans <wim@fluendo.com>
21628 Documented structs.
21630 2005-11-09 Wim Taymans <wim@fluendo.com>
21632 * docs/gst/gstreamer-sections.txt:
21633 Added some new macros.
21640 2005-11-09 Wim Taymans <wim@fluendo.com>
21642 * docs/design/part-TODO.txt:
21643 Some more items for the TODO
21649 2005-11-09 Andy Wingo <wingo@pobox.com>
21651 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21652 to work on something else now tho...
21654 * gst/base/gstadapter.c: More adapter docs.
21656 * gst/elements/gstfilesink.c (gst_file_sink_start)
21657 (gst_file_sink_stop): New functions, replace the state change
21659 (gst_file_sink_class_init): Hook up the start and stop functions.
21660 (gst_file_sink_base_init): Don't set the state change handler any
21661 more. It was a bit ugly too, being set from here...
21662 (gst_file_sink_get_property, gst_file_sink_set_property):
21664 (gst_file_sink_set_location): More robust check that doesn't call
21665 GST_STATE. Ugggggg.
21667 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21669 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21670 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21672 2005-11-08 Wim Taymans <wim@fluendo.com>
21674 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21675 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21676 (gst_base_sink_chain), (gst_base_sink_change_state):
21677 * gst/base/gstbasesink.h:
21678 * gst/base/gstbasesrc.h:
21679 * gst/gstelement.h:
21681 Avoid excessive typechecking in macros.
21683 * gst/gstminiobject.c: (gst_mini_object_get_type),
21684 (gst_mini_object_init), (gst_mini_object_new),
21685 (gst_mini_object_free):
21686 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21687 (gst_object_finalize):
21688 Remove cruft code, optimize alloc_trace.
21690 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21692 * docs/faq/gst-uninstalled:
21693 fix up PS1 for systems that try to reset it
21695 2005-11-07 Wim Taymans <wim@fluendo.com>
21697 * gst/base/gstbasesrc.c: (gst_base_src_init),
21698 (gst_base_src_get_range):
21699 Set the segment_end to -1 initially. Fixed typefind.
21701 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21703 * gst/base/gstadapter.c:
21704 Debug category should be 'adapter', not 'GstAdapter'.
21706 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21707 (gst_collectpads_class_init), (gst_collectpads_init),
21708 (gst_collectpads_peek), (gst_collectpads_pop),
21709 (gst_collectpads_event), (gst_collectpads_chain):
21710 Add debug category and some debugging output. Use boilerplate
21711 macros. Remove some extraneous words from docs.
21713 2005-11-05 Andy Wingo <wingo@pobox.com>
21715 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21718 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21720 * docs/gst/gstreamer-sections.txt:
21723 * gst/gstminiobject.h:
21728 2005-11-04 Wim Taymans <wim@fluendo.com>
21730 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21731 Small update to stop at the configured segment_end
21734 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21736 * gst/gstregistry.c:
21737 * gst/gstregistry.h:
21740 2005-11-04 Edward Hervey <edward@fluendo.com>
21742 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21743 Check if we are doing a segment seek and have arrived at the
21744 end of that segment.
21746 2005-11-04 Wim Taymans <wim@fluendo.com>
21748 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21749 Don't leak a mutex unlock in case of an error.
21754 2005-11-04 Wim Taymans <wim@fluendo.com>
21756 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21758 Get the context to wake up only once.
21760 2005-11-03 Wim Taymans <wim@fluendo.com>
21762 * check/states/sinks.c: (GST_START_TEST):
21763 Uncomment fixed check.
21765 * docs/design/part-TODO.txt:
21768 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21769 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21770 (gst_base_sink_get_position):
21771 If we are going to PLAYING, post the right pending state
21772 when we post the intermediate paused message.
21774 * gst/gstelement.c: (gst_element_continue_state),
21775 (gst_element_set_state_func), (gst_element_change_state):
21776 Don't post state changes that were between the same state
21777 and were not ASYNC.
21779 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21781 * docs/gst/gstreamer-sections.txt:
21784 * gst/gstminiobject.h:
21787 more docs and doc style fixes
21789 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21791 * docs/gst/gstreamer-sections.txt:
21792 * gst/gstelement.c:
21793 * gst/gstminiobject.c:
21796 2005-11-03 Andy Wingo <wingo@pobox.com>
21798 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21799 state-changed messages actually have the right order and the right
21802 2005-11-03 Wim Taymans <wim@fluendo.com>
21804 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21805 Added some more checks. Specifically the case where NO_PREROLL
21806 elements are in the pipeline.
21808 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21809 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21810 (gst_base_sink_get_position):
21811 Post READY->PAUSED state change messages too.
21812 Fix bug where VOID was posted as pending state...
21814 * gst/gstbin.c: (gst_bin_recalc_state):
21815 use _element_continue_state() to continue the state change.
21817 * gst/gstelement.c: (gst_element_continue_state),
21818 (gst_element_commit_state), (gst_element_set_state_func),
21819 (gst_element_change_state), (gst_element_change_state_func):
21820 Lots of state change cleanups, assign the STATE_RETURN in
21821 a new continue_state() function that also propagates the
21822 last return value from a state change to the app.
21823 Update some debug statements with proper category.
21825 2005-11-03 Wim Taymans <wim@fluendo.com>
21827 * docs/design/part-events.txt:
21828 * docs/design/part-gstpipeline.txt:
21829 * docs/design/part-messages.txt:
21830 * docs/design/part-overview.txt:
21831 * docs/design/part-seeking.txt:
21832 * docs/design/part-states.txt:
21833 * docs/design/part-trickmodes.txt:
21834 * docs/manual/advanced-position.xml:
21835 Small docs updates.
21838 People think !! is ugly, this looks better.
21840 * gst/gstpad.c: (gst_pad_set_blocked_async):
21841 Remove !! since it's fixed elsewhere now.
21843 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21845 * gst/gstminiobject.h:
21847 Add !! to _FLAG_IS_SET macros to make the result boolean.
21849 2005-11-03 Edward Hervey <edward@fluendo.com>
21851 * gst/gstpad.c: (gst_pad_set_blocked_async):
21852 comparing a flag and a gboolean rarely returns coherent results...
21853 Added two characters (!!) to make that work correctly.
21855 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21857 * gst/gstbus.c: (gst_bus_class_init):
21860 * gst/gstqueue.c: (gst_queue_loop):
21861 Don't assume a miniobject that isn't a buffer is an
21862 event (it could be that there is a refcounting
21863 problem somewhere and the pointer is stale and
21864 refers to an already destroyed miniobject).
21866 2005-11-03 Julien MOUTTE <julien@moutte.net>
21868 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21870 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21872 * docs/manual/advanced-position.xml:
21873 Update seek example and explanations to current 0.9 API.
21875 * gst/elements/gsttypefindelement.c:
21876 (gst_type_find_element_activate):
21877 Remove FIXME comment now that the found caps
21880 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21882 * gst/gstregistryxml.c: (load_feature):
21883 Add another GST_STR_NULL instance
21885 2005-11-02 Edward Hervey <edward@fluendo.com>
21887 * gst/gstpad.c: (handle_pad_block):
21888 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21890 2005-11-02 Wim Taymans <wim@fluendo.com>
21895 * gst/gstelement.c: (gst_element_commit_state):
21896 Remove unused value.
21898 * gst/gstiterator.c:
21899 Mention that the returned element is reffed in the docs.
21901 2005-11-02 Wim Taymans <wim@fluendo.com>
21903 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21904 (gst_pad_push), (gst_pad_push_event):
21905 Unlock blocked pads when they are flushed.
21907 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21910 * docs/gst/gstreamer-sections.txt:
21913 * gst/gstregistry.c: (gst_registry_scan_path_level):
21914 fix for a nasty little missed situation where an installed plug-in
21915 which was in the cache did not get overridden by an uninstalled one
21916 which was earlier in the plugin path because the newly created plugin
21917 for the uninstalled one (not in the registry) didn't get its
21918 ->registered set to TRUE
21920 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21922 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21923 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21924 (gst_collectpads_is_active), (gst_collectpads_collect),
21925 (gst_collectpads_collect_range), (gst_collectpads_start),
21926 (gst_collectpads_stop), (gst_collectpads_peek),
21927 (gst_collectpads_pop), (gst_collectpads_available),
21928 (gst_collectpads_read), (gst_collectpads_flush):
21929 Guard public API with assertions.
21932 Fix docs for gst_pad_set_link_function().
21934 2005-11-02 Johan Dahlin <johan@gnome.org>
21936 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21937 Unref found_caps after we used it.
21939 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21941 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21942 Don't try to ref NULL.
21944 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21946 * win32/common/config.h.in:
21947 provide a GST_FUNCTION that just gives a string for now
21949 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21951 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21952 (gst_object_flags_get_type), (register_gst_bin_flags),
21953 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21954 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21955 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21956 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21957 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21958 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21959 (gst_clock_flags_get_type), (register_gst_state),
21960 (gst_state_get_type), (register_gst_state_change_return),
21961 (gst_state_change_return_get_type), (register_gst_state_change),
21962 (gst_state_change_get_type), (register_gst_element_flags),
21963 (gst_element_flags_get_type), (register_gst_core_error),
21964 (gst_core_error_get_type), (register_gst_library_error),
21965 (gst_library_error_get_type), (register_gst_resource_error),
21966 (gst_resource_error_get_type), (register_gst_stream_error),
21967 (gst_stream_error_get_type), (register_gst_event_type),
21968 (gst_event_type_get_type), (register_gst_seek_type),
21969 (gst_seek_type_get_type), (register_gst_seek_flags),
21970 (gst_seek_flags_get_type), (register_gst_format),
21971 (gst_format_get_type), (register_gst_index_certainty),
21972 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21973 (gst_index_entry_type_get_type),
21974 (register_gst_index_lookup_method),
21975 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21976 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21977 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21978 (gst_index_flags_get_type), (register_gst_debug_level),
21979 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21980 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21981 (gst_iterator_result_get_type), (register_gst_iterator_item),
21982 (gst_iterator_item_get_type), (register_gst_message_type),
21983 (gst_message_type_get_type), (register_gst_mini_object_flags),
21984 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21985 (gst_pad_link_return_get_type), (register_gst_flow_return),
21986 (gst_flow_return_get_type), (register_gst_activate_mode),
21987 (gst_activate_mode_get_type), (register_gst_pad_direction),
21988 (gst_pad_direction_get_type), (register_gst_pad_flags),
21989 (gst_pad_flags_get_type), (register_gst_pad_presence),
21990 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21991 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21992 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21993 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21994 (gst_plugin_flags_get_type), (register_gst_rank),
21995 (gst_rank_get_type), (register_gst_query_type),
21996 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21997 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21998 (gst_tag_flag_get_type), (register_gst_task_state),
21999 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22000 (gst_alloc_trace_flags_get_type),
22001 (register_gst_type_find_probability),
22002 (gst_type_find_probability_get_type), (register_gst_uri_type),
22003 (gst_uri_type_get_type), (register_gst_parse_error),
22004 (gst_parse_error_get_type):
22005 * win32/common/gstversion.h:
22006 update win32 copies
22008 2005-11-01 Luca Ognibene <luogni@tin.it>
22011 fix docs. popt is dead, long live GOption.
22013 2005-10-31 Wim Taymans <wim@fluendo.com>
22018 2005-10-31 Andy Wingo <wingo@pobox.com>
22022 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22024 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22025 need to serialize property notifications on GLib 2.8. GLib 2.6 has
22026 the possibility of deadlocks here if code calling notify() or
22027 set() has a lock that can be taken in another notify handler (ABBA
22028 with class lock and e.g. python GIL state lock).
22030 2005-10-28 Julien MOUTTE <julien@moutte.net>
22032 * gst/gstbus.c: Doc updates.
22034 2005-10-28 Wim Taymans <wim@fluendo.com>
22036 * docs/design/part-TODO.txt:
22037 * gst/gstiterator.c:
22038 * gst/gstsystemclock.c:
22039 * gst/gstsystemclock.h:
22042 2005-10-28 Edward Hervey <edward@fluendo.com>
22044 * docs/gst/gstreamer-docs.sgml:
22045 * docs/gst/gstreamer-sections.txt:
22046 the GstURIType documentation page is private, it only defines GstURIType
22047 which should be defined in the GstURIHandler page
22049 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
22051 * gst/gstbin.c: (gst_bin_class_init):
22054 Documentation updates.
22056 2005-10-28 Wim Taymans <wim@fluendo.com>
22058 * docs/gst/gstreamer-sections.txt:
22061 Documented the clocks.
22063 2005-10-28 Stefan Kost <ensonic@users.sf.net>
22065 * docs/gst/gstreamer-sections.txt:
22066 move some macros to private sections
22067 * gst/gstminiobject.c:
22068 * gst/gstminiobject.h:
22069 add descriptions provided by ds and some more
22071 mark macro as to be removed
22073 2005-10-28 Wim Taymans <wim@fluendo.com>
22075 * docs/design/part-TODO.txt:
22076 Add an item to TODO.
22078 * gst/gstiterator.c: (gst_iterator_fold),
22079 (gst_iterator_find_custom):
22080 * gst/gstiterator.h:
22083 2005-10-28 Wim Taymans <wim@fluendo.com>
22085 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22086 (gst_base_transform_init):
22089 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22090 An EOS event marks the queue as completely filled.
22092 2005-10-27 Wim Taymans <wim@fluendo.com>
22094 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22095 (gst_base_sink_do_sync), (gst_base_sink_get_position):
22096 Some more debugging.
22098 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22099 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22100 (gst_base_transform_event), (gst_base_transform_getrange),
22101 (gst_base_transform_chain):
22102 * gst/base/gstbasetransform.h:
22104 Protect transform and concurrent buffer alloc with a new lock.
22105 Try not to break ABI/API.
22107 2005-10-27 Wim Taymans <wim@fluendo.com>
22109 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22110 (gst_base_src_init), (gst_base_src_query),
22111 (gst_base_src_default_newsegment),
22112 (gst_base_src_configure_segment), (gst_base_src_do_seek),
22113 (gst_base_src_send_event), (gst_base_src_event_handler),
22114 (gst_base_src_pad_get_range), (gst_base_src_loop),
22115 (gst_base_src_unlock), (gst_base_src_default_negotiate),
22116 (gst_base_src_start), (gst_base_src_deactivate),
22117 (gst_base_src_activate_push), (gst_base_src_change_state):
22118 Move some stuff around and cleanup things.
22120 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
22122 * gst/base/gstbasesrc.c: (gst_base_src_query):
22123 Add missing break statements.
22125 2005-10-27 Wim Taymans <wim@fluendo.com>
22127 * check/gst/gstbin.c: (GST_START_TEST):
22128 An extra refcount is taken in basesrc.
22130 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22131 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22132 (gst_base_src_loop):
22133 Small cleanups, check for flushing after being unlocked from the
22134 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22135 Don't send out EOS when going to READY.
22137 2005-10-27 Wim Taymans <wim@fluendo.com>
22139 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22140 (gst_base_sink_get_position):
22143 * gst/gstbin.c: (message_check), (bin_replace_message),
22144 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22145 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22146 (bin_query_duration_init), (bin_query_duration_fold),
22147 (bin_query_duration_done), (bin_query_generic_fold),
22149 * tools/gst-launch.c: (main):
22152 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22154 * examples/controller/audio-example.c: (main):
22155 * examples/queue/queue.c: (event_loop):
22156 * gst/base/gstbasetransform.h:
22157 * gst/gstelement.c: (gst_element_send_event):
22159 * gst/gstpad.c: (gst_pad_send_event):
22162 changing log priority in error situations
22164 2005-10-25 Wim Taymans <wim@fluendo.com>
22166 * gst/gstbin.c: (message_check), (bin_replace_message),
22167 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22168 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22169 (bin_query_duration_init), (bin_query_duration_fold),
22170 (bin_query_duration_done), (bin_query_generic_fold),
22172 Some doc and debug updates.
22173 Cache previously requested query DURATION for speed. invalidate
22174 cached duration if element posts a DURATION message.
22176 2005-10-25 Wim Taymans <wim@fluendo.com>
22178 * docs/design/part-TODO.txt:
22181 * gst/gstbin.c: (message_check), (bin_replace_message),
22182 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22183 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22184 (bin_query_duration_init), (bin_query_duration_fold),
22185 (bin_query_duration_done), (bin_query_generic_fold),
22187 Handle SEGMENT_START/DONE messages correctly.
22188 More evolved query algorithm that handles duration queries
22191 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22192 (gst_element_get_state_func), (gst_element_abort_state),
22193 (gst_element_commit_state), (gst_element_lost_state):
22194 Some more debugging.
22196 * gst/gstmessage.h:
22199 2005-10-25 Wim Taymans <wim@fluendo.com>
22201 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22202 Don't use invalid stream_time.
22204 * gst/gstevent.c: (gst_event_new_newsegment):
22205 stream_time in newsegment cannot be undefined.
22207 2005-10-24 Wim Taymans <wim@fluendo.com>
22212 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22214 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22216 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22218 * docs/libs/tmpl/gstdparam.sgml:
22219 * docs/libs/tmpl/gstdplinint.sgml:
22220 * docs/libs/tmpl/gstdpman.sgml:
22221 * docs/libs/tmpl/gstdpsmooth.sgml:
22222 * docs/libs/tmpl/gstunitconvert.sgml:
22225 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22230 === release 0.9.4 ===
22232 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22235 releasing 0.9.4, "Tyrannosaurus Rex"
22237 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22239 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22240 (gst_file_sink_get_current_offset):
22241 Use fseeko() and ftello() if available. When falling back on
22242 lseek() to get the current offset, fflush() first to make sure
22243 everything is up-to-date and we get the right offset.
22245 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22247 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22248 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22249 * gst/gsterror.c: (_gst_stream_errors_init):
22251 * gst/gstqueue.c: (gst_queue_loop):
22253 remove prematurely added error category and clean up the instances
22255 2005-10-21 Wim Taymans <wim@fluendo.com>
22257 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22258 (gst_base_sink_get_position), (gst_base_sink_query),
22259 (gst_base_sink_change_state):
22260 Simply set the right flag when going to playing, that's all
22261 we need to do instead of calling a function inside the object
22262 lock (that could take the lock as well and deadlock)
22264 2005-10-21 Wim Taymans <wim@fluendo.com>
22266 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22267 (gst_base_src_loop):
22268 Don't warn, the peer element knows what to do best when
22269 the seek failed, it might try something else.
22271 2005-10-21 Wim Taymans <wim@fluendo.com>
22273 * gst/base/gstbasesrc.c: (gst_base_src_init),
22274 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22277 2005-10-21 Wim Taymans <wim@fluendo.com>
22279 * docs/design/part-segments.txt:
22282 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22283 Correctly set caps, even on the subbufer.
22285 2005-10-21 Wim Taymans <wim@fluendo.com>
22287 * docs/gst/gstreamer-docs.sgml:
22288 * docs/gst/gstreamer-sections.txt:
22289 * gst/gstelement.h:
22292 * gst/gstmessage.h:
22295 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22299 And 2% more doc coverage.
22301 2005-10-21 Andy Wingo <wingo@pobox.com>
22303 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22304 position reporting.
22306 2005-10-20 Wim Taymans <wim@fluendo.com>
22308 * gst/gsterror.c: (gst_error_get_message):
22311 * gst/gststructure.c:
22316 2005-10-20 Wim Taymans <wim@fluendo.com>
22321 Another 1% more coverage.
22323 2005-10-20 Wim Taymans <wim@fluendo.com>
22325 * docs/gst/gstreamer-sections.txt:
22326 * gst/gstelement.c: (gst_element_get_state_func),
22327 (gst_element_abort_state), (gst_element_commit_state),
22328 (gst_element_lost_state):
22330 * gst/gstquery.c: (gst_query_set_position),
22331 (gst_query_parse_position), (gst_query_set_duration),
22332 (gst_query_parse_duration), (gst_query_new_convert):
22334 Yay! 1% more docs coverage.
22336 2005-10-20 Wim Taymans <wim@fluendo.com>
22339 * gst/gstquery.c: (gst_query_set_position),
22340 (gst_query_parse_position), (gst_query_set_duration),
22341 (gst_query_parse_duration), (gst_query_new_convert):
22343 * gst/gstutils.c: (gst_element_query_convert):
22345 Docs and consistency fixes.
22347 2005-10-20 Wim Taymans <wim@fluendo.com>
22353 2005-10-20 Wim Taymans <wim@fluendo.com>
22355 * gst/gstbin.c: (message_check), (bin_replace_message),
22356 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22357 (update_degree), (gst_bin_sort_iterator_next),
22358 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22359 Reworked the message handling a bit, cache the messages instead of
22360 only the senders. alows us to do more in the future.
22362 2005-10-20 Wim Taymans <wim@fluendo.com>
22364 * docs/design/part-TODO.txt:
22367 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22368 (gst_base_sink_query):
22369 Don't use clock time to report position when in EOS.
22371 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22373 * tools/gst-inspect.c: (print_interfaces),
22374 (print_element_properties_info), (print_element_info):
22375 Fix interface output with gst-inspect -a; don't print
22376 newlines after double/float properties.
22378 2005-10-20 Wim Taymans <wim@fluendo.com>
22380 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22381 (gst_base_sink_query):
22382 Speed up current position calculation.
22384 * gst/base/gstbasesrc.c: (gst_base_src_query),
22385 (gst_base_src_default_newsegment):
22386 Correctly set stream position in newsegment.
22388 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22389 (update_degree), (gst_bin_sort_iterator_next),
22390 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22391 * gst/gstmessage.c: (gst_message_new_custom):
22392 Clean up debugging info
22394 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22395 (gst_queue_loop), (gst_queue_handle_src_query):
22398 2005-10-19 Wim Taymans <wim@fluendo.com>
22400 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22401 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22402 Fix query handling again.
22404 2005-10-19 Wim Taymans <wim@fluendo.com>
22406 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22407 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22408 * gst/base/gstbasesrc.c: (gst_base_src_query):
22409 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22410 * gst/elements/gsttypefindelement.c:
22411 (gst_type_find_handle_src_query), (find_element_get_length),
22412 (gst_type_find_element_activate):
22415 * gst/gstquery.c: (gst_query_new_position),
22416 (gst_query_set_position), (gst_query_parse_position),
22417 (gst_query_new_duration), (gst_query_set_duration),
22418 (gst_query_parse_duration), (gst_query_set_segment),
22419 (gst_query_parse_segment):
22421 Bundling query position/duration is not a good idea since duration
22422 does not change much and we don't want to recalculate it for every
22423 position query, so they are separated again..
22424 Base value in segment query is not needed.
22426 * gst/gstqueue.c: (gst_queue_handle_src_query):
22427 * gst/gstutils.c: (gst_element_query_position),
22428 (gst_element_query_duration), (gst_pad_query_position),
22429 (gst_pad_query_duration):
22431 Updates for query API change.
22432 Added some docs here and there.
22434 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22436 * check/gst/gstbin.c: (GST_START_TEST):
22437 * check/gst/gstghostpad.c: (GST_START_TEST):
22438 * check/pipelines/cleanup.c: (GST_START_TEST):
22439 wait on thread to die so we can check refcount correctly
22441 2005-10-18 Wim Taymans <wim@fluendo.com>
22443 * check/pipelines/stress.c: (GST_START_TEST):
22444 Make check a little more time consuming.
22446 2005-10-18 Wim Taymans <wim@fluendo.com>
22448 * check/Makefile.am:
22449 * check/pipelines/stress.c: (GST_START_TEST),
22450 (simple_launch_lines_suite), (main):
22451 Small state change torture test.
22453 * docs/design/part-states.txt:
22454 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22455 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22456 (gst_base_sink_change_state):
22457 Never take state lock from streaming thread, clean up ugly
22458 hacks. Unfortunatly core does not yet support nice ways to
22459 async commit state.
22461 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22463 Start state recalc if a STATE_DIRTY message is posted, but only
22464 on the toplevel bin.
22466 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22467 (gst_element_get_state_func), (gst_element_abort_state),
22468 (gst_element_commit_state), (gst_element_lost_state),
22469 (gst_element_set_state_func), (gst_element_change_state):
22470 * gst/gstelement.h:
22471 State variables are now protected with the LOCK, the state
22472 lock is only used to serialize _set_state().
22474 2005-10-18 Wim Taymans <wim@fluendo.com>
22476 * check/gst/gstbin.c: (GST_START_TEST):
22477 * check/gst/gstmessage.c: (GST_START_TEST):
22478 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22479 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22481 * gst/gstelement.c: (gst_element_abort_state),
22482 (gst_element_commit_state), (gst_element_lost_state):
22483 * gst/gstmessage.c: (gst_message_new_state_changed),
22484 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22485 (gst_message_new_segment_done), (gst_message_new_duration),
22486 (gst_message_parse_state_changed),
22487 (gst_message_parse_segment_start),
22488 (gst_message_parse_segment_done), (gst_message_parse_duration):
22489 * gst/gstmessage.h:
22490 * tools/gst-launch.c: (event_loop):
22491 Seriously, this is better than a previous commit as we only need
22492 to notify the fact that an element changed state in a streaming
22493 thread, marking the state of the parents dirty, hence the
22494 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22497 2005-10-18 Wim Taymans <wim@fluendo.com>
22499 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22500 (gst_bin_recalc_func):
22501 * gst/gstelement.c: (gst_element_set_clock),
22502 (gst_element_abort_state), (gst_element_lost_state):
22503 Cleanups, prepare for state change fixes.
22505 2005-10-18 Wim Taymans <wim@fluendo.com>
22508 * gst/gstelement.c: (gst_element_class_init),
22509 (gst_element_set_state), (gst_element_set_state_func):
22510 * gst/gstelement.h:
22511 Pending ABI changes.
22512 GThreadPool in GstBinClass to monitor async state changes.
22513 state_cookie in GstElement to detect concurrent gst/set state.
22514 set_state is now virtual too in case a very complicated element
22515 has to be constructed.
22517 2005-10-18 Wim Taymans <wim@fluendo.com>
22519 * check/gst/gstbin.c: (GST_START_TEST):
22520 * check/gst/gstmessage.c: (GST_START_TEST):
22521 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22522 * gst/gstbin.c: (bin_bus_handler):
22523 * gst/gstelement.c: (gst_element_commit_state),
22524 (gst_element_lost_state):
22525 * gst/gstmessage.c: (gst_message_new_state_changed),
22526 (gst_message_new_segment_start), (gst_message_new_segment_done),
22527 (gst_message_new_duration), (gst_message_parse_state_changed),
22528 (gst_message_parse_segment_start),
22529 (gst_message_parse_segment_done), (gst_message_parse_duration):
22530 * gst/gstmessage.h:
22531 * tools/gst-launch.c: (event_loop):
22532 Make messages future proof.
22533 state-change gets a flag if it was a message comming from the
22535 segment-start/stop can also be specified in other formats.
22536 A message to notify an app that a pipeline changed playback
22538 Also fix a GstMessage leak in -launch
22540 2005-10-18 Andy Wingo <wingo@pobox.com>
22542 * gst/gstelement.c (gst_element_dispose): More helpful message.
22544 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22546 reviewed by: <delete if not using a buddy>
22548 * common/gtk-doc.mak:
22550 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22552 * gst/gstregistry.c: (gst_registry_scan_path_level):
22553 unref a plug-in we get that was already initialized
22555 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22557 * docs/gst/gstreamer-sections.txt:
22558 * docs/libs/gstreamer-libs-sections.txt:
22559 * gst/gstelement.h:
22560 add new api entries
22561 hide internal macro
22563 2005-10-17 Andy Wingo <wingo@pobox.com>
22565 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22568 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22570 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22572 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22573 (gst_element_get_state_func): Better debug message.
22574 (gst_element_commit_state): s/INFO/DEBUG/.
22575 (gst_element_lost_state, gst_element_change_state):
22577 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22578 (gst_message_new_custom): s/INFO/LOG/.
22580 2005-10-17 Michael Smith <msmith@fluendo.com>
22582 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22583 Check if end time is valid using end time, not start time.
22585 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22587 * check/gst-libs/controller.c: (GST_START_TEST),
22588 (gst_controller_suite):
22589 * libs/gst/controller/gstcontroller.c:
22590 (gst_controlled_property_set_interpolation_mode):
22591 * libs/gst/controller/gstcontroller.h:
22592 * libs/gst/controller/gstinterpolation.c:
22593 * testsuite/controller/.cvsignore:
22594 * testsuite/controller/Makefile.am:
22595 * testsuite/controller/interpolator.c:
22596 merge controller testsuites
22598 remove mem-chunk from docs
22600 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22602 * gst/gstmemchunk.c:
22603 * gst/gstmemchunk.h:
22604 * gst/gsttrashstack.c:
22605 * gst/gsttrashstack.h:
22606 out. get out. you're fired. to the Attic !
22608 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22610 * gst/gstcaps.c: (gst_caps_intersect):
22611 fix signedness issues in a (hopefully) correct way
22612 * gst/gstelement.c: (gst_element_pads_activate):
22614 * gst/gstobject.c: (gst_object_set_parent):
22617 2005-10-17 Julien MOUTTE <julien@moutte.net>
22619 * gst/gstvalue.h: Fix prototypes.
22621 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22623 * docs/gst/gstreamer-sections.txt:
22624 * gst/gst.c: (gst_version_string):
22626 * gst/gstversion.h.in:
22627 * win32/common/libgstreamer.def:
22628 add gst_version_string ()
22630 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22634 * gst/gst.c: (init_post):
22635 * win32/common/config.h.in:
22637 * gst/gstcaps.c: (gst_caps_intersect):
22638 use gint64, the range could be bigger than a guint
22640 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22643 document potential problem in 2038
22645 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22647 * gst/gstcaps.c: (gst_caps_intersect):
22648 Fix guint j diving under 0
22650 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22653 * win32/common/config.h:
22654 * win32/common/config.h.in:
22655 check for process.h, declares getpid() on Windows
22657 include process.h if we have it
22658 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22659 * gst/gstmemchunk.h:
22660 fix signedness issues
22661 * win32/common/libgstreamer.def:
22664 2005-10-16 Julien MOUTTE <julien@moutte.net>
22666 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22667 fix. Because of unsigned ints, caps intersection was going nuts and
22668 trying to access structures with G_MAXUINT index. That fixes
22669 videotestsrc ! ffmpegcolorspace ! fakesink
22670 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22673 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22676 use the gettext macro
22677 * gst/elements/gstelements.c:
22679 * gst/indexers/gstindexers.c:
22680 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22681 * win32/common/config.h:
22683 * win32/common/config.h.in:
22684 add the template to generate config.h
22685 * win32/common/gstenumtypes.c:
22686 * win32/common/gstversion.h:
22689 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22691 * gst/gst.c: (gst_version):
22692 * gst/gstversion.h.in:
22695 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22698 Oops, add missing closing bracket.
22700 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22703 use common m4's for argument checking
22705 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22707 * docs/gst/gstreamer-sections.txt:
22709 Add GST_EVENT_TYPE_NAME() macro.
22711 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22714 * gst/gstpluginfeature.c:
22716 privatize more symbols
22718 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22721 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22722 everything that uses GStreamer API should have the includes
22724 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22726 * docs/gst/gstreamer-sections.txt:
22727 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22729 give each value a _get_type, removes the DATA exports
22731 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22735 remove _gst_registry_auto_load, not used anymore
22736 * gst/gstbin.c: (gst_bin_get_type):
22738 * gst/gstelement.c: (gst_element_get_type):
22739 * gst/gstelement.h:
22740 * gst/gstobject.c: (gst_object_get_type):
22742 * gst/gstpad.c: (gst_pad_get_type):
22744 make _get_type functions similar, fixes data export from library
22746 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22749 correctly make conditionals
22750 * gst/elements/Makefile.am:
22751 * gst/elements/gstelements.c:
22752 fix typo causing fdsrc not to build
22754 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22756 * testsuite/Makefile.am:
22757 * testsuite/bytestream/.cvsignore:
22758 * testsuite/bytestream/Makefile.am:
22759 * testsuite/bytestream/filepadsink.c:
22760 * testsuite/bytestream/gstbstest.c:
22761 * testsuite/bytestream/test1.c:
22762 * testsuite/bytestream/testfile1:
22763 * testsuite/caps/normalisation.c:
22764 * testsuite/caps/random.c: (main):
22765 * testsuite/cleanup/.cvsignore:
22766 * testsuite/cleanup/Makefile.am:
22767 * testsuite/cleanup/cleanup1.c:
22768 * testsuite/cleanup/cleanup2.c:
22769 * testsuite/cleanup/cleanup3.c:
22770 * testsuite/cleanup/cleanup4.c:
22771 * testsuite/cleanup/cleanup5.c:
22772 * testsuite/controller/interpolator.c:
22773 * testsuite/debug/printf_extension.c: (main):
22774 * testsuite/elements/tee.c:
22775 * testsuite/negotiation/.cvsignore:
22776 * testsuite/negotiation/Makefile.am:
22777 * testsuite/negotiation/pad_link.c:
22778 * testsuite/pad/Makefile.am:
22779 * testsuite/pad/chainnopull.c:
22780 * testsuite/pad/getnopush.c:
22781 * testsuite/pad/link.c:
22782 * testsuite/refcounting/sched.c: (create_pipeline):
22783 * testsuite/registry/Makefile.am:
22784 * testsuite/registry/gst-print-formats.c:
22785 * testsuite/schedulers/.cvsignore:
22786 * testsuite/schedulers/142183-2.c:
22787 * testsuite/schedulers/142183.c:
22788 * testsuite/schedulers/143777-2.c:
22789 * testsuite/schedulers/143777.c:
22790 * testsuite/schedulers/147713.c:
22791 * testsuite/schedulers/147819.c:
22792 * testsuite/schedulers/147894-2.c:
22793 * testsuite/schedulers/147894.c:
22794 * testsuite/schedulers/Makefile.am:
22795 * testsuite/schedulers/group_link.c:
22796 * testsuite/schedulers/queue_link.c:
22797 * testsuite/schedulers/relink.c:
22798 * testsuite/schedulers/unlink.c:
22799 * testsuite/schedulers/unref.c:
22800 * testsuite/schedulers/useless_iteration.c:
22801 * testsuite/states/bin.c:
22802 clean out/remove some stuff from the testsuite directories
22804 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22807 check for some headers
22808 * gst/elements/Makefile.am:
22809 * gst/elements/gstelements.c:
22810 don't compile fdsrc without sys/socket.h
22811 * gst/indexers/Makefile.am:
22812 * gst/indexers/gstindexers.c: (plugin_init):
22813 don't compile fileindex without mmap
22815 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22822 * check/Makefile.am:
22823 * docs/gst/Makefile.am:
22824 * examples/helloworld/Makefile.am:
22826 * gst/base/Makefile.am:
22827 * gst/check/Makefile.am:
22828 * gst/elements/Makefile.am:
22829 * gst/indexers/Makefile.am:
22830 * gst/parse/Makefile.am:
22831 * libs/gst/controller/Makefile.am:
22832 * libs/gst/dataprotocol/Makefile.am:
22833 * examples/helloworld/helloworld.c: (event_loop):
22834 compile fixes, though it's not being compiled currently
22836 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22838 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22839 Add some simple tests for the new taglist date API.
22841 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22843 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22844 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22845 Beautify 'last-message' output: print 'none' for buffer timestamps
22846 and durations if none is set; improve alignment with next messages.
22848 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22850 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22851 * gst/gstpluginfeature.h:
22852 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22853 * gst/gstregistry.h:
22854 * docs/gst/gstreamer-sections.txt:
22855 Add new API to check plugin feature version requirements.
22857 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22858 Some basic tests for the above.
22860 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22862 * gst/gststructure.c: (gst_structure_to_string):
22863 guard against NULL printf - happens when for example
22864 a message structure with GstClock gets serialized
22866 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22868 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22869 Fix presumable copy'n'pasto.
22871 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22873 * gst/elements/gstfakesrc.h:
22874 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22875 * gst/elements/gsttypefindelement.c:
22876 fix some signedness
22877 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22878 I wonder if this could actually write +2GB files before
22880 2005-10-13 Andy Wingo <wingo@pobox.com>
22882 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22883 Fix Timmeke Waymans bug.
22884 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22885 string of the proper length to gst_caps_from_string. There's a
22886 potential for, before this fix, that this could cause someone
22887 connecting over the network to cause a segfault if the payload is
22888 not NUL-terminated.
22890 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22892 * docs/design/draft-push-pull.txt:
22893 * docs/design/part-overview.txt:
22894 * docs/random/TODO-pre-0.9:
22895 * docs/random/old/ChangeLog.gstreamer:
22896 * gst/base/gstpushsrc.c:
22900 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22902 * gst/glib-compat.c: (gst_flags_get_first_value):
22903 * gst/glib-compat.h:
22904 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22905 (gst_value_compare_double), (gst_value_serialize_flags):
22906 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22909 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22911 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22912 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22914 * tools/gst-launch.c: (event_loop):
22915 print out clock nicely
22917 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22919 * docs/gst/gstreamer-sections.txt:
22920 * gst/gsttaglist.h:
22921 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22922 (gst_tag_list_get_date_index):
22923 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22924 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22926 2005-10-13 Julien MOUTTE <julien@moutte.net>
22928 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22929 (gst_collectpads_chain):
22930 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22933 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22935 * docs/gst/gstreamer-sections.txt:
22938 * tools/gst-inspect.c: (main):
22939 * tools/gst-launch.c: (main):
22940 * tools/gst-run.c: (main):
22941 * tools/gst-xmlinspect.c: (main):
22942 fix GOption context leaks
22945 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22949 * win32/common/config.h:
22951 * win32/vs6/grammar.dsp:
22952 * win32/vs6/libgstelements.dsp:
22953 * win32/vs6/libgstreamer.dsp:
22956 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22958 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22959 * gst/base/gstbasesrc.c: (gst_base_src_query):
22960 fix more guint64<->gdouble conversions
22962 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22965 add win32-update target
22966 * win32/common/gstconfig.h:
22967 * win32/common/gstenumtypes.c:
22968 * win32/common/gstenumtypes.h:
22969 * win32/common/gstversion.h:
22970 add files that visual studio can't generate
22972 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22975 add a win32-update target
22978 2005-10-12 Wim Taymans <wim@fluendo.com>
22980 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22981 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22982 * gst/gstelement.c: (gst_element_commit_state),
22983 (gst_element_set_state):
22984 Protect flags with proper lock.
22985 unref provided cached clock in dispose.
22987 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22990 * gst/gstminiobject.h:
22992 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22993 removed unused flags from miniobject
22996 2005-10-12 Wim Taymans <wim@fluendo.com>
22998 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22999 (gst_file_sink_event), (gst_file_sink_render):
23000 Flush before seeking.
23002 2005-10-12 Andy Wingo <wingo@pobox.com>
23004 * gst/gst.c (gst_init_check): Ignore unknown options, as has
23005 always been the case.
23007 2005-10-12 Stefan Kost <ensonic@users.sf.net>
23009 * check/gst/gstbin.c: (GST_START_TEST):
23010 * docs/gst/gstreamer-sections.txt:
23011 * gst/base/gstbasesink.c: (gst_base_sink_init):
23012 * gst/base/gstbasesrc.c: (gst_base_src_init),
23013 (gst_base_src_get_range), (gst_base_src_check_get_range),
23014 (gst_base_src_start), (gst_base_src_stop):
23015 * gst/base/gstbasesrc.h:
23016 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23017 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23018 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23022 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23024 * gst/gstelement.c: (gst_element_is_locked_state),
23025 (gst_element_set_locked_state), (gst_element_commit_state),
23026 (gst_element_set_state):
23027 * gst/gstelement.h:
23028 * gst/gstindex.c: (gst_index_init):
23030 * gst/gstminiobject.h:
23031 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23032 (gst_object_set_parent):
23034 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23035 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23037 * gst/gstpadtemplate.h:
23038 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23039 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23040 * gst/gstpipeline.h:
23041 * gst/indexers/gstfileindex.c: (gst_file_index_load),
23042 (gst_file_index_commit):
23043 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23044 * testsuite/pad/link.c: (gst_test_src_init),
23045 (gst_test_filter_init), (gst_test_sink_init):
23046 * testsuite/states/locked.c: (main):
23047 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23048 moved bitshift from macro to enum definition
23050 2005-10-12 Wim Taymans <wim@fluendo.com>
23052 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23053 * gst/elements/gstfilesink.c: (gst_file_sink_event),
23054 (gst_file_sink_render):
23055 Some more debugging info.
23057 2005-10-12 Wim Taymans <wim@fluendo.com>
23059 * docs/design/part-states.txt:
23060 * tools/gst-launch.c: (main):
23062 Revert non-intentional change.
23064 2005-10-12 Wim Taymans <wim@fluendo.com>
23066 * check/gst/gstbin.c: (GST_START_TEST):
23067 * check/gst/gstelement.c: (GST_START_TEST):
23068 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23069 * check/gst/gstghostpad.c: (GST_START_TEST):
23070 * check/gst/gstpipeline.c: (GST_START_TEST):
23071 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23072 * check/states/sinks.c: (GST_START_TEST):
23073 * gst/elements/gsttypefindelement.c: (stop_typefinding):
23074 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23075 (gst_bin_remove_func), (gst_bin_get_state_func),
23076 (gst_bin_recalc_state), (gst_bin_change_state_func),
23078 * gst/gstelement.c: (gst_element_get_state_func),
23079 (gst_element_get_state), (gst_element_abort_state),
23080 (gst_element_commit_state), (gst_element_set_state),
23081 (gst_element_change_state), (gst_element_change_state_func):
23082 * gst/gstelement.h:
23083 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23084 (gst_pipeline_provide_clock_func):
23085 * gst/gstutils.c: (gst_element_link_pads_filtered):
23086 * tools/gst-launch.c: (main):
23087 * tools/gst-typefind.c: (main):
23088 Use GstClockTime in _get_state() instead of GTimeVal.
23089 Remove old code in gstutils.c
23091 2005-10-12 Andy Wingo <wingo@pobox.com>
23093 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23096 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23097 there is no task. Shouldn't affect any code, as nothing in our
23098 plugins checks this return value.
23099 (gst_pad_stop_task): Also take the stream lock if the pad has no
23100 task. Docs updated.
23102 2005-10-12 Wim Taymans <wim@fluendo.com>
23104 * gst/gstpad.c: (pre_activate), (post_activate),
23105 (gst_pad_activate_pull), (gst_pad_activate_push):
23106 Cleanup activation code. Reset old state if
23109 2005-10-12 Wim Taymans <wim@fluendo.com>
23111 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23112 (gst_base_sink_change_state):
23113 No need to prerol after receiving EOS.
23115 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23116 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23117 * gst/elements/gstidentity.c: (gst_identity_event):
23118 Print events more verbosely.
23120 2005-10-12 Wim Taymans <wim@fluendo.com>
23122 * check/Makefile.am:
23123 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23124 * check/states/sinks2.c:
23125 Moved sinks2 testcode in sinks check.
23127 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23128 (gst_bin_remove_func), (gst_bin_recalc_state),
23129 (gst_bin_change_state_func), (bin_bus_handler):
23130 Fix potential race condition when _get_state() iterated over an
23131 ASYNC element right before it posted a state completion.
23134 Do proper cast here.
23136 * gst/gstevent.c: (gst_event_new_newsegment),
23137 (gst_event_parse_newsegment):
23138 A playback rate of 0.0 is not allowed.
23140 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23142 * win32/common/config.h:
23143 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23144 (_trewinddir), (_ttelldir), (_tseekdir):
23145 * win32/common/dirent.h:
23146 * win32/common/gtchar.h:
23147 * win32/common/libgstbase.def:
23148 * win32/common/libgstreamer.def:
23149 * win32/vs6/grammar.dsp:
23150 * win32/vs6/gst_inspect.dsp:
23151 * win32/vs6/gst_launch.dsp:
23152 * win32/vs6/gstreamer.dsw:
23153 * win32/vs6/libgstbase.dsp:
23154 * win32/vs6/libgstelements.dsp:
23155 * win32/vs6/libgstreamer.dsp:
23156 Visual Studio 6 project files, and a new common directory.
23159 2005-10-11 Wim Taymans <wim@fluendo.com>
23161 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23162 (gst_base_sink_do_sync), (gst_base_sink_query),
23163 (gst_base_sink_change_state):
23164 * gst/base/gstbasesink.h:
23165 Correctly parse newsegment info.
23167 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23169 * gst/gst.c: (init_post):
23170 split plugin paths correctly
23172 2005-10-11 Wim Taymans <wim@fluendo.com>
23174 * check/gst/gstevent.c: (GST_START_TEST):
23175 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23176 (gst_base_sink_change_state):
23177 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23178 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23179 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23180 * gst/gstevent.c: (gst_event_new_newsegment),
23181 (gst_event_parse_newsegment):
23183 Added extra flag to newsegment for future API freeze.
23184 Updated check and base elements.
23186 2005-10-11 Julien MOUTTE <julien@moutte.net>
23188 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23189 (gst_collectpads_add_pad), (gst_collectpads_pop),
23190 (gst_collectpads_event), (gst_collectpads_chain):
23191 * gst/base/gstcollectpads.h: Handle EOS correctly.
23193 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23195 * tools/gst-launch.c: (main):
23196 more null protecting
23198 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23200 * gst/gst-i18n-lib.h:
23201 check for ENABLE_NLS, not GETTEXT_PACKAGE
23202 * gst/gstregistry.c: (gst_registry_add_plugin),
23203 (gst_registry_scan_path_level),
23204 (_gst_registry_remove_cache_plugins):
23205 protect possibly NULL strings
23206 * gst/parse/types.h:
23207 config.h already included before
23208 * tools/gst-inspect.c: (main):
23209 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23210 check for ENABLE_NLS, not GETTEXT_PACKAGE
23211 * tools/gst-launch.c: (main):
23212 check for ENABLE_NLS, not GETTEXT_PACKAGE
23214 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23217 if we don't have glib, fail before testing 2.8
23218 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23219 fix a leak, should fix plugins-base testsuite
23221 2005-10-11 Andy Wingo <wingo@pobox.com>
23223 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23224 take the mode we're going to as an arg. Go head and set the mode
23225 and flushing flags now, so that if the activate function starts a
23226 thread all the flags will be in the right state.
23227 (post_activate): Renamed also. Just handle making sure streaming
23228 finishes for the deactivation case, and setting the deactivated
23230 (gst_pad_set_active): Complain loudly if deactivation fails.
23231 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23232 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23233 remove the terrible hack.
23235 2005-10-11 Wim Taymans <wim@fluendo.com>
23237 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23238 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23239 (gst_bin_recalc_state), (gst_bin_change_state_func),
23240 (gst_bin_dispose), (bin_bus_handler):
23242 Prepare to make current EOS message queue more generic.
23245 * gst/gstevent.c: (gst_event_new_newsegment),
23246 (gst_event_parse_newsegment):
23248 Rename base to stream_time.
23250 * gst/gstmessage.h:
23253 2005-10-11 Wim Taymans <wim@fluendo.com>
23255 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23256 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23257 (gst_bin_change_state_func), (bin_bus_handler):
23259 Work on proper clock selection.
23261 2005-10-11 Edward Hervey <edward@fluendo.com>
23263 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23264 * libs/gst/controller/gstcontroller.h:
23265 Added GList* version of _remove_properties() in order to be able to wrap
23268 2005-10-11 Wim Taymans <wim@fluendo.com>
23270 * docs/design/part-states.txt:
23273 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23274 (gst_bin_change_state_func), (bin_bus_handler):
23275 Doc updates. Don't distribute the same clock over and over again.
23281 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23282 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23283 (gst_pad_send_event):
23285 Make probe emission threadsafe again.
23286 Register quarks and move _get_name() from utils.
23289 * gst/gstpipeline.c: (gst_pipeline_class_init),
23290 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23291 Only redistribute the clock of it changed.
23293 * gst/gstsystemclock.h:
23298 Moved the _flow_get_name() to GstPad.
23300 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23302 * check/gst-libs/gdp.c: (GST_START_TEST):
23303 * check/gst/gstcaps.c: (GST_START_TEST):
23304 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23305 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23306 (gst_dp_packet_from_caps):
23307 fix more valgrind warnings before turning up the heat
23309 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23311 * gst/parse/grammar.y:
23312 some cleanup before the hacking
23314 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23316 * gst/base/gstbasesrc.c: (gst_base_src_query):
23318 * gst/gstutils.c: (gst_guint64_to_gdouble),
23319 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23321 externalize, basesrc uses it
23322 obviously the implementation needs testing
23324 2005-10-10 Wim Taymans <wim@fluendo.com>
23326 * tests/sched/Makefile.am:
23327 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23328 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23330 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23332 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23333 apparently converting from guint64 to double is not implemented
23336 2005-10-10 Wim Taymans <wim@fluendo.com>
23338 * check/Makefile.am:
23339 * check/generic/states.c: (GST_START_TEST):
23340 * check/gst/gstbin.c: (GST_START_TEST):
23341 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23342 * check/states/sinks.c: (GST_START_TEST):
23343 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23345 Check fixes, use API as stated in design docs, remove hacks.
23347 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23348 (gst_base_sink_change_state):
23349 Catch stopping our task while we're shutting down.
23351 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23352 (gst_bin_remove_func), (gst_bin_get_state_func),
23353 (gst_bin_recalc_state), (gst_bin_change_state_func),
23356 * gst/gstelement.c: (gst_element_init),
23357 (gst_element_get_state_func), (gst_element_abort_state),
23358 (gst_element_commit_state), (gst_element_lost_state),
23359 (gst_element_set_state), (gst_element_change_state),
23360 (gst_element_change_state_func):
23361 * gst/gstelement.h:
23362 New state change algorithm (see #318116)
23364 * gst/gstpipeline.c: (gst_pipeline_class_init),
23365 (gst_pipeline_init), (gst_pipeline_set_property),
23366 (gst_pipeline_get_property), (do_pipeline_seek),
23367 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23368 * gst/gstpipeline.h:
23369 Remove crude state change hacks.
23372 Remove crude hacks.
23374 * tools/gst-launch.c: (main):
23375 Fixes for state change. Needs some more work to fully use the
23378 2005-10-10 Andy Wingo <wingo@pobox.com>
23380 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23382 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23383 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23386 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23388 * gst/gstiterator.c: (gst_iterator_new):
23389 Fix my previous commit: GTypes passed to gst_iterator_new()
23390 can be fundamental types.
23392 2005-10-10 Wim Taymans <wim@fluendo.com>
23394 * gst/gstelement.c: (gst_element_iterate_pad_list),
23395 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23396 (gst_element_iterate_sink_pads):
23397 Use src/sink pads lists for the respective iterators instead
23400 2005-10-10 Andy Wingo <wingo@pobox.com>
23402 Merged in popt removal + GOption addition patch from Ronald, bug
23405 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23406 GstElement macros around, remove popt-related symbols, add goption
23409 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23411 * docs/gst/Makefile.am:
23412 * docs/libs/Makefile.am: No POPT_CFLAGS.
23414 * examples/manual/Makefile.am:
23415 * docs/manual/basics-init.xml: Doc updates with an example.
23417 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23418 (gst_init), (parse_one_option), (parse_goption_arg):
23419 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23420 bit of hand merging and debugging to get the GOption stuff working
23423 * tests/Makefile.am:
23424 * tools/Makefile.am:
23425 * tools/gst-inspect.c: (main):
23426 * tools/gst-launch.c: (main):
23427 * tools/gst-run.c: (main):
23428 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23430 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23432 * gst/gstiterator.c: (gst_iterator_new):
23433 Add assertions to make sure passed GType is likely to really
23434 be a GType (as the compiler won't catch it if the size and
23435 GType arguments get mixed up, see #318447).
23437 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23439 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23441 * gst/gstbin.c: (gst_bin_iterate_sorted):
23442 Pass GType and size arguments to gst_iterator_new() in the right
23443 order (maybe we should make _new() take the GType as first argument
23444 just like _new_list()?) (#318447).
23447 2005-10-10 Wim Taymans <wim@fluendo.com>
23449 * gst/gstelement.c: (gst_element_finalize):
23450 And free the GStaticRecMutex too
23452 2005-10-10 Andy Wingo <wingo@pobox.com>
23454 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23455 Allocate and free the mutex properly.
23457 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23459 (GstElement): The state_lock is now recursive. Rebuild your
23460 plugins, suckers. Old macros adapted.
23462 * docs/gst/gstreamer-sections.txt: Doc updates.
23465 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23466 (g_static_rec_cond_wait): Ported from state changes patch, while
23467 we wait on bug #317802 to be solved in a well-distributed GLib.
23469 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23470 gst_element_change_state, variable name changes.
23471 (gst_element_change_state): Split out of gst_element_set_state in
23472 preparation for the state change merge. Doesn't pay attention to
23473 the 'transition' argument.
23474 (gst_element_set_state): Updates, hopefully purely cosmetic.
23475 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23476 state change patch.
23477 (gst_element_get_state_func): Renamed from get_state, cosmetic
23480 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23482 * gst/elements/gstelements.c:
23483 * win32/GStreamer.vcproj:
23485 * win32/dirent.c: (_tseekdir):
23486 * win32/gst-inspect.vcproj:
23487 * win32/gst-launch.vcproj:
23488 * win32/gstconfig.h:
23489 * win32/gstelements.vcproj:
23490 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23491 * win32/gstreamer.def:
23492 * win32/msvc71.sln:
23493 updates for the win32 build (patch from Sebastien Moutte)
23495 2005-10-10 Andy Wingo <wingo@pobox.com>
23497 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23498 gst_bin_get_state, cleaned up (but no logic changes).
23499 (bin_element_is_sink): Comment updates.
23500 (sink_iterator_filter): Remove needless cast.
23501 (gst_bin_iterate_sinks): Doc update.
23502 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23503 cleaned up (but no logic changes).
23505 * check/states/sinks.c (test_src_sink): Cleanups from the state
23507 (test_livesrc_sink): Sync on the state.
23509 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23510 the state change patch.
23512 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23515 * check/gst/gstbin.c: Merge in some style fixes and additional
23516 checks from Wim's state change patch.
23518 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23520 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23521 (gst_type_find_helper):
23522 Check whether we have the requested data already in our list of
23523 cached buffers before pulling a new buffer; also make the buffer
23524 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23526 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23531 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23532 don't use long long, it's not portable. Replacing with
23533 gint64 seems to work; let's hope no skeletons fall out of the closet.
23535 2005-10-10 Andy Wingo <wingo@pobox.com>
23537 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23539 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23541 * docs/gst/gstreamer-sections.txt:
23546 * gst/gstmessage.c: (gst_message_parse_state_changed):
23549 more docs, fix compilation
23551 2005-10-09 Philippe Khalaf <burger@speedy.org>
23552 * gst/gstmessage.c:
23553 Fixed a few forgotten variables on previous commit
23555 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23557 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23558 Fix evil typefind crasher: getrange() might return a short
23559 buffer at the end of a file, but gst_type_find_peek() must
23560 either return the full data as requested or NULL, but
23561 never a short buffer.
23563 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23565 * gst/gstmessage.c: (gst_message_new_state_changed),
23566 (gst_message_parse_state_changed):
23567 * gst/gstmessage.h:
23568 don't use "new", it's a C++ keyword
23570 2005-10-08 Wim Taymans <wim@fluendo.com>
23572 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23573 * gst/gstelement.c: (gst_element_post_message):
23574 * gst/gstpipeline.c: (gst_pipeline_change_state):
23575 Small docs and debug updates.
23577 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23579 * docs/gst/gstreamer-sections.txt:
23580 * gst/gstelementfactory.c:
23582 * gst/gsttaglist.c:
23585 2005-10-08 Wim Taymans <wim@fluendo.com>
23587 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23588 (gst_bin_dispose), (bin_bus_handler):
23589 Fix typos, add comments.
23590 Clear EOS list when going to PAUSED from any direction and do it
23591 in a threadsafe way.
23592 Get base time in a threadsafe way too.
23593 Fix confusing debug in the change_state function.
23594 Various other small cleanups.
23596 * gst/gstelement.c: (gst_element_post_message):
23597 Fix very verbose bus posting code.
23599 * gst/gstpipeline.c: (gst_pipeline_class_init),
23600 (gst_pipeline_set_property), (gst_pipeline_get_property),
23601 (gst_pipeline_change_state):
23602 Small ARG_ -> PROP_ cleanup
23604 2005-10-08 Wim Taymans <wim@fluendo.com>
23606 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23607 Do a less CPU demanding EOS check because we can.
23609 2005-10-08 Wim Taymans <wim@fluendo.com>
23611 * libs/gst/dataprotocol/dataprotocol.c:
23612 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23613 (gst_dp_packet_from_event):
23614 * libs/gst/dataprotocol/dataprotocol.h:
23615 * libs/gst/dataprotocol/dp-private.h:
23616 It's about time we bump the version number.
23617 Since event types don't fit in the guint8 anymore describing
23618 the payload type, make payload type 16 bits wide.
23620 2005-10-08 Wim Taymans <wim@fluendo.com>
23622 * docs/design/part-TODO.txt:
23623 * docs/design/part-clocks.txt:
23624 * docs/design/part-events.txt:
23625 * docs/design/part-gstbin.txt:
23626 * docs/design/part-gstelement.txt:
23627 * docs/design/part-gstpipeline.txt:
23628 * docs/design/part-live-source.txt:
23629 * docs/design/part-messages.txt:
23630 * docs/design/part-overview.txt:
23631 * docs/design/part-states.txt:
23634 2005-10-08 Wim Taymans <wim@fluendo.com>
23638 Fix event quark registration.
23639 Add some space between events so we can insert them in the
23642 2005-10-08 Wim Taymans <wim@fluendo.com>
23644 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23645 (gst_base_sink_handle_buffer):
23646 Better log message.
23649 * gst/gstelement.h:
23652 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23653 (gst_queue_set_property), (gst_queue_get_property):
23655 Remove old unused properties.
23657 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23658 * docs/gst/gstreamer-sections.txt:
23659 * gst/gstmessage.c:
23660 * gst/gstmessage.h:
23661 * gst/gstminiobject.c:
23662 * gst/gstminiobject.h:
23666 lots of new docs and doc fixes
23668 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23670 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23672 * gst/gstregistry.c: (gst_registry_lookup_locked),
23673 (gst_registry_scan_path_level):
23674 * gst/gstregistryxml.c: (load_plugin):
23675 Only ever load one plugin for a given plugin basename.
23676 This ensures correct overriding of GST_PLUGIN_PATH over
23677 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23678 system installed plugins.
23680 2005-10-08 Wim Taymans <wim@fluendo.com>
23682 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23683 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23684 Prepare for doing QOS.
23686 2005-10-08 Wim Taymans <wim@fluendo.com>
23688 * check/gst/gstbin.c: (GST_START_TEST):
23689 * check/pipelines/cleanup.c: (GST_START_TEST):
23690 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23691 Allow new clock message too.
23693 2005-10-08 Wim Taymans <wim@fluendo.com>
23695 * gst/gstmessage.c: (gst_message_new_error),
23696 (gst_message_new_warning), (gst_message_new_tag),
23697 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23698 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23699 (gst_message_new_segment_start), (gst_message_new_segment_done),
23700 (gst_message_parse_state_changed),
23701 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23702 (gst_message_parse_new_clock):
23703 * gst/gstmessage.h:
23704 Also carry the clock in question.
23706 2005-10-08 Wim Taymans <wim@fluendo.com>
23708 * gst/gstmessage.c: (gst_message_new_custom),
23709 (gst_message_new_eos), (gst_message_new_error),
23710 (gst_message_new_warning), (gst_message_new_tag),
23711 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23712 (gst_message_new_new_clock), (gst_message_new_segment_start),
23713 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23714 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23715 * gst/gstmessage.h:
23717 Added clock related messages.
23719 * gst/gstpipeline.c: (gst_pipeline_change_state):
23720 Post message when the clock changed.
23722 * tools/gst-launch.c: (event_loop):
23725 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23727 * tools/gst-inspect.c: (print_element_properties_info):
23728 Can't pass NULL strings to g_print() on windows.
23730 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23732 * docs/Makefile.am:
23733 * docs/gst/Makefile.am:
23734 * docs/gst/gstreamer-docs.sgml:
23735 * docs/gst/running.xml:
23736 * docs/version.entities.in:
23737 add a chapter on running GStreamer.
23738 document GST_DEBUG and GST_PLUGIN* env vars
23740 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23745 remove PLUGINS_BUILDDIR stuff
23746 * gst/gst.c: (init_post):
23747 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23749 remove, it was condescending and not needed
23751 2005-10-08 Wim Taymans <wim@fluendo.com>
23753 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23754 (gst_base_sink_handle_object), (gst_base_sink_event),
23755 (gst_base_sink_wait), (gst_base_sink_handle_event),
23756 (gst_base_sink_change_state):
23757 * gst/base/gstbasesink.h:
23758 Repost EOS message while going to PLAYING if still EOS.
23759 Make sure that when receiving a FLUSH_START we don't attempt
23760 to sync on the clock anymore.
23762 2005-10-08 Wim Taymans <wim@fluendo.com>
23764 * tools/gst-launch.c: (event_loop):
23765 Better message printout.
23767 2005-10-08 Wim Taymans <wim@fluendo.com>
23769 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23770 (gst_bin_child_proxy_get_children_count):
23771 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23772 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23773 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23774 (gst_child_proxy_set_valist):
23775 * gst/parse/grammar.y:
23776 Make ChildProxy threadsafe and fix mem leaks.
23778 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23780 * gst/gst.c: (init_post):
23781 debug the GST_PLUGIN_ env vars
23783 2005-10-08 Wim Taymans <wim@fluendo.com>
23785 * check/gst/gstbin.c: (GST_START_TEST):
23786 * check/gst/gstmessage.c: (GST_START_TEST):
23787 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23788 * gst/gstelement.c: (gst_element_commit_state),
23789 (gst_element_lost_state):
23790 * gst/gstmessage.c: (gst_message_new_state_changed),
23791 (gst_message_parse_state_changed):
23792 * gst/gstmessage.h:
23793 * tools/gst-launch.c: (event_loop):
23794 Added extra field to STATE_CHANGE message with the pending
23795 state, which will be different from the new state soon.
23797 2005-10-08 Wim Taymans <wim@fluendo.com>
23799 * gst/gstbus.c: (gst_bus_pop):
23801 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23802 Small cleanups and doc updates.
23804 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23806 * gst/gst.c: (init_pre):
23807 * gst/gstbin.c: (gst_bin_add_func):
23808 log distributing clocks and base time
23809 * gst/gstregistry.c: (gst_registry_add_plugin),
23810 (gst_registry_scan_path_level), (gst_registry_scan_path):
23811 clean up the debugging output a little
23812 * gst/gstutils.c: (gst_element_state_get_name):
23813 warn about a memleak (I've actually seen this be used, though
23814 it was probably a bug)
23816 2005-10-07 Wim Taymans <wim@fluendo.com>
23818 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23819 (gst_base_src_init), (gst_base_src_default_newsegment),
23820 (gst_base_src_newsegment), (gst_base_src_do_seek),
23821 (gst_base_src_loop), (gst_base_src_start):
23822 * gst/base/gstbasesrc.h:
23823 Make the newsegment event customizable by subclasses.
23825 2005-10-07 Wim Taymans <wim@fluendo.com>
23827 * gst/gstevent.c: (gst_event_new_buffersize),
23828 (gst_event_parse_buffersize):
23830 New event for future idea.
23832 2005-10-07 Andy Wingo <wingo@pobox.com>
23834 * gst/gstelement.c (gst_element_post_message): Doc update.
23836 * docs/gst/gstreamer-sections.txt: Update.
23838 * gst/gstmessage.c (gst_message_new_application): Made into a
23839 function like honest API calls.
23840 (gst_message_new_element): New message type.
23842 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23844 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23845 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23848 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23849 NO_PREROLL from gst_element_change_state to fall through.
23851 2005-10-07 Wim Taymans <wim@fluendo.com>
23853 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23854 (gst_ghost_pad_do_activate_push):
23855 Activating a ghostpad with no internal pad in push mode
23858 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23861 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23862 Fixes compilation on Windows.
23864 2005-10-07 Michael Smith <msmith@fluendo.com>
23866 * tools/gst-inspect.c:
23867 Print out feature and plugin count at the end when printing out
23870 2005-10-04 Michael Smith <msmith@fluendo.com>
23872 * gst/gsterror.c: (_gst_stream_errors_init):
23873 Add another error string used in a few existing plugins.
23876 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23877 * tools/gst-inspect.c: (print_element_info):
23878 When a feature disappears from a plugin (and the feature exists in
23879 the cached registry file), things went horribly wrong. This isn't a
23880 complete fix, we should actually be removing the 'missing' features
23881 from the features list when we load the actual plugin. That's not
23884 2005-10-04 Johan Dahlin <johan@gnome.org>
23886 * check/gst/gstiterator.c: (GST_START_TEST):
23887 * gst/gstbin.c: (gst_bin_iterate_elements),
23888 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23889 * gst/gstelement.c: (gst_element_iterate_pads):
23890 * gst/gstformat.c: (gst_format_iterate_definitions):
23891 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23892 (gst_iterator_new_list), (gst_iterator_filter):
23893 * gst/gstiterator.h:
23894 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23895 Add a GType to GstIterator, update callsites and tests.
23897 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23899 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23900 give events a chance to be handled by event probes when the pad
23903 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23905 * gst/gstevent.c: (gst_event_type_get_name),
23906 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23908 add string representations for event types
23910 2005-10-06 Wim Taymans <wim@fluendo.com>
23912 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23913 Don't use NULL pointers.
23915 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23917 * gst/gst_private.h:
23919 * gst/gstelement.c:
23921 * gst/gstpluginfeature.c:
23922 widen the debug category in output to fit the biggest one we have
23923 add a bus category and use it
23924 play with the colors
23925 fix up some categories
23927 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23929 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23930 add push activation of sink ghost pads.
23931 Andye, please verify
23933 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23935 * gst/gstutils.c: (gst_element_link_pads):
23936 fix a bug in the case where neither element has a pad
23937 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23938 add a test for that case
23940 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23942 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23943 emit have-data before checking for peers. This allows
23944 for probe handlers to connect elements. This helps autopluggers.
23945 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23947 add six checks, linked/unlinked with no/true/false probe
23949 2005-10-04 Wim Taymans <wim@fluendo.com>
23951 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23952 (gst_fake_sink_event), (gst_fake_sink_preroll),
23953 (gst_fake_sink_render), (gst_fake_sink_change_state):
23954 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23955 (gst_fake_src_get_property), (gst_fake_src_create),
23956 (gst_fake_src_stop):
23957 * gst/elements/gstidentity.c: (gst_identity_stop):
23958 Protect last_message with lock.
23960 2005-10-04 Edward Hervey <edward@fluendo.com>
23963 Added precision in the comments for GST_FORMAT_DEFAULT
23965 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23967 * tools/gst-launch.c: (main):
23968 Don't try to run erroneous pipelines.
23970 2005-10-04 Julien MOUTTE <julien@moutte.net>
23972 * gst/gstbus.c: We don't need this header.
23974 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23977 back to development
23979 === release 0.9.3 ===
23981 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23985 Releasing 0.9.3, "Unregistered"
23987 2005-10-03 Andy Wingo <wingo@pobox.com>
23989 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23990 whereby calling a pad's activatepush() function can start a thread
23991 that starts to push or pull before the pad gets the FLUSHING flag
23992 unset. Hack around it by holding the stream lock until the flag is
23993 set. Need to replace this with a proper solution. Together with
23994 the ghost pad fixes, this fixes mp3 playing/tagreading.
23996 * docs/design/part-gstghostpad.txt: Add a note about activation of
23997 proxy pads outside of ghost pads.
23999 * gst/gstghostpad.c: Implement the ghost pad activation design.
24001 2005-10-02 Andy Wingo <wingo@pobox.com>
24003 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24004 It is volatile, after all.
24006 * docs/design/part-gstghostpad.txt: Flesh out activation with
24009 * gst/base/gstbasesrc.c (gst_base_src_init): Use
24012 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
24015 Fix (unused) AM_CONDITIONAL tests.
24017 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
24019 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24021 * gst/gstutils.c: (gst_pad_query_convert):
24022 Add assertion that makes sure src_val is >=0, just like
24023 gst_query_new_convert() has. (#315895)
24025 2005-09-30 Edward Hervey <edward@fluendo.com>
24027 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24028 Let's not iterate pads we're not interested in, it avoids getting
24029 sky-high refcounts on sinkpad.
24031 2005-09-30 Wim Taymans <wim@fluendo.com>
24033 * gst/gstelement.c: (gst_element_set_state),
24034 (gst_element_change_state):
24035 Small tweak, element in ASYNC remains ASYNC.
24037 2005-09-30 Wim Taymans <wim@fluendo.com>
24039 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24040 Only error is an error.
24042 * gst/gstbin.c: (gst_bin_change_state):
24045 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24046 Also call pad_block in pad alloc.
24048 * gst/gstutils.c: (gst_flow_get_name):
24051 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24053 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24054 (gst_base_src_get_range):
24055 Fix documentation typos. Add some more debug info.
24057 2005-09-29 David Schleef <ds@schleef.org>
24059 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24060 more end-user friendly.
24061 * tools/gst-inspect.c: (main): Check if command-line argument is
24062 a file and attempt to load that file as a plugin.
24064 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24066 * check/gst/gstbin.c:
24067 * check/states/sinks.c:
24068 fix tests for the new warning
24069 * check/gst/gstpipeline.c:
24070 add a test for pipeline and bus interaction
24071 * gst/gstelement.c:
24072 elements should be NULL if they get disposed; add a warning if not
24074 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24077 for 2.6 refcounting, make debug log more correct by printing
24078 the actual refcounts at the time of swap (Wim)
24080 2005-09-29 Andy Wingo <wingo@pobox.com>
24082 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24083 removes signal watches previously added via
24084 gst_bus_add_signal_watch.
24085 (gst_bus_add_signal_watch): Don't return the source id, just store
24086 it on the bus if there wasn't an id already.
24088 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24089 add_signal_watch and remove_signal_watch.
24091 2005-09-29 Edward Hervey <edward@fluendo.com>
24093 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
24094 Better if we actually iterate the list :)
24096 2005-09-29 Wim Taymans <wim@fluendo.com>
24098 * check/gst/gstbin.c: (GST_START_TEST):
24099 Change for new bus API.
24101 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24102 (send_messages), (GST_START_TEST), (gstbus_suite):
24103 Change for new bus signal API.
24105 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24106 (gst_bus_source_prepare), (gst_bus_source_check),
24107 (gst_bus_create_watch), (gst_bus_add_watch_full),
24108 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24109 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24111 Remove support for multiple GSources operating on different
24112 message types as it is too complex and unneeded when using
24114 Added support for receiving signals from the bus.
24116 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
24118 * docs/libs/tmpl/gstdataprotocol.sgml:
24119 * docs/manual/advanced-dataaccess.xml:
24120 * gst/elements/gstcapsfilter.c:
24122 rename filter-caps to caps property
24124 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24126 * gst/gstvalue.c: (gst_value_deserialize_fraction):
24127 More robust fraction string parsing.
24129 * docs/pwg/appendix-porting.xml:
24130 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24132 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24134 * gst/gstcaps.c: (gst_caps_do_simplify):
24135 Thou shalt not free a structure and then continue using it
24136 in the next loop iteration.
24138 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24140 Add test case for caps simplification.
24142 2005-09-29 Wim Taymans <wim@fluendo.com>
24144 * check/gst/gstbin.c: (GST_START_TEST):
24147 2005-09-29 Wim Taymans <wim@fluendo.com>
24149 * check/gst/gstbin.c: (GST_START_TEST):
24152 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24153 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24154 (find_element), (gst_bin_sort_iterator_next),
24155 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24156 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24157 (gst_bin_change_state), (gst_bin_dispose):
24158 A bin does not have a bus, it gets the bus from the parent.
24160 * gst/gstelement.c: (gst_element_requires_clock),
24161 (gst_element_provides_clock), (gst_element_is_indexable),
24162 (gst_element_is_locked_state), (gst_element_change_state),
24163 (gst_element_set_bus_func):
24166 * gst/gstpipeline.c: (gst_pipeline_class_init),
24167 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24168 The pipeline provides a bus.
24170 2005-09-28 Johan Dahlin <johan@gnome.org>
24172 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24173 gst_structure_get_enum instead of gst_structure_get_int
24175 * gst/gststructure.c (gst_structure_get_enum): Impl.
24177 * gst/gststructure.h (gst_structure_get_enum): Add
24179 * docs/gst/gstreamer-sections.txt: Ditto
24181 * gst/gstmessage.c (gst_message_new_state_changed): Use
24182 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24183 which does introspection.
24184 Reviewed by Christian Schaller
24186 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24188 * gst/gstinfo.c: (gst_debug_log_default):
24189 don't do dummy g_strdup()s
24190 * libs/gst/controller/gstcontroller.c:
24191 (on_object_controlled_property_changed),
24192 (gst_controlled_property_new), (gst_controller_new_valist),
24193 (gst_controller_new_list),
24194 (gst_controller_remove_properties_valist), (gst_controller_set),
24195 (gst_controller_get), (gst_controller_sync_values),
24196 (gst_controller_get_value_array), (_gst_controller_class_init),
24197 (gst_controller_get_type):
24198 * libs/gst/controller/gstcontroller.h:
24199 * libs/gst/controller/gstinterpolation.c:
24200 (gst_controlled_property_find_timed_value_node):
24201 convert // to /**/ comments
24203 2005-09-28 Wim Taymans <wim@fluendo.com>
24205 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24206 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24207 (gst_bus_sync_signal_handler):
24209 Added async-message and sync-message signals to the bus.
24210 Added helper BusFunc to emit signals for all posted messages.
24212 * gst/gstmessage.c: (gst_message_type_get_name),
24213 (gst_message_type_to_quark), (gst_message_get_type):
24214 * gst/gstmessage.h:
24215 Register quarks for message names.
24217 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24219 * docs/libs/gstreamer-libs-sections.txt:
24220 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24221 (gst_controller_new_list):
24222 * libs/gst/controller/gstcontroller.h:
24223 added another constructor for language bindings
24225 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24227 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24231 * gst/gstinfo.c: (_gst_debug_init):
24232 slightly more readable color for refcount debugging
24234 2005-09-28 Wim Taymans <wim@fluendo.com>
24236 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24237 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24238 (find_element), (gst_bin_sort_iterator_next),
24239 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24240 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24241 (gst_bin_change_state), (gst_bin_dispose):
24242 Small doc fixes. get_clock -> provide_clock.
24244 * gst/gstelement.c: (gst_element_class_init),
24245 (gst_element_provides_clock), (gst_element_provide_clock),
24246 (gst_element_get_clock), (gst_element_commit_state),
24247 (gst_element_lost_state):
24248 * gst/gstelement.h:
24249 Make get/set_clock() symetric. Add provide_clock vmethod since
24250 that is actually what this function does.
24252 * gst/gstpipeline.c: (gst_pipeline_class_init),
24253 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24254 (gst_pipeline_get_clock):
24255 get_clock -> provide_clock.
24257 2005-09-28 Andy Wingo <wingo@pobox.com>
24259 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24260 lieu of real docs...
24262 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24264 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24266 * gst/elements/gstcapsfilter.c:
24267 * gst/elements/gstfakesink.c:
24268 * gst/elements/gstfakesrc.c:
24269 * gst/elements/gstfdsink.c:
24270 * gst/elements/gstfdsrc.c:
24271 * gst/elements/gstfilesink.c:
24272 * gst/elements/gstfilesrc.c:
24273 * gst/elements/gstidentity.c:
24274 * gst/elements/gsttee.c:
24275 * gst/elements/gsttypefindelement.c:
24276 Make element details static.
24278 2005-09-28 Wim Taymans <wim@fluendo.com>
24280 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24281 (update_outdegree), (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 Some documentation updates.
24286 Clean up dispose handlers.
24288 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24289 * gst/gstpad.c: (gst_pad_dispose):
24290 Clean up dispose handler.
24292 * gst/gstpipeline.c: (gst_pipeline_change_state):
24293 Removed spurious UNLOCK.
24295 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24297 * docs/gst/gstreamer-sections.txt:
24298 * gst/base/gstbasesrc.h:
24299 * gst/gstelement.h:
24303 * gst/gstpipeline.c:
24304 * gst/gstpipeline.h:
24307 added two new functions to the docs
24308 documents all undocumented GstXXXFlags
24309 completed some incomplete docs
24311 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24313 * gst/gstbin.c: (gst_bin_dispose):
24314 * gst/gstelement.c: (gst_element_dispose):
24315 remove now useless and leaky resurrection code in dispose
24316 * gst/base/gstbasesrc.c: (gst_base_src_init):
24317 * gst/gstelementfactory.c: (gst_element_factory_create):
24318 * gst/gstobject.c: (gst_object_set_parent):
24321 2005-09-27 Wim Taymans <wim@fluendo.com>
24323 * docs/design/part-TODO.txt:
24326 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24327 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24328 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24329 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24330 (gst_bin_change_state):
24331 * gst/gstelement.h:
24332 Remove element variable, we keep element info in the iterator now.
24334 2005-09-27 Andy Wingo <wingo@pobox.com>
24336 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24339 2005-09-27 Wim Taymans <wim@fluendo.com>
24341 * check/gst/gstbin.c: (GST_START_TEST):
24342 Enable check that works now.
24344 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24345 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24346 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24347 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24348 (gst_bin_change_state):
24350 Redid the state change algorithm using a topological sort algo.
24351 Handles all cases correctly.
24352 Exposed iterator for state change order.
24354 * gst/gstelement.h:
24355 Temp storage for state changes. Need to get rid of this soon.
24357 2005-09-27 Wim Taymans <wim@fluendo.com>
24359 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24360 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24361 (link_fold_func), (gst_pad_proxy_setcaps):
24362 Leak fixes, the fold functions need to unref the passed object and
24363 _get_parent_*() returns ref to parent.
24365 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24367 * check/gst/gstbuffer.c: (test_make_writable):
24368 Plug leak in test case and fix 'make check-valgrind'
24370 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24372 * gst/gstbuffer.c: (gst_subbuffer_init):
24373 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24374 works correctly in all circumstances (we could have just copied
24375 the parent buffer's readonly flag, but conceptually it seems
24376 cleaner to mark all subbuffers as read-only). (based on patch
24377 by Alessandro Decina, #314710).
24379 * check/gst/gstbuffer.c: (create_read_only_buffer),
24380 (test_make_writable), (test_subbuffer_make_writable),
24382 Add some tests for gst_buffer_make_writable().
24384 2005-09-27 Wim Taymans <wim@fluendo.com>
24386 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24387 use gst_object_has_ancestor().
24389 * gst/gstobject.c: (gst_object_has_ancestor):
24391 gst_object_has_ancestor() copied from gstbin.c as it is a
24394 * tests/instantiate/create.c: (create_all_elements):
24395 * tests/lat.c: (handoff_src), (handoff_sink):
24396 * tests/sched/runxml.c: (main):
24397 * tests/seeking/seeking1.c: (main):
24398 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24400 Fix compilation of some tests.
24402 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24405 Remove comment. GST_TYPE_G_ERROR is here to stay,
24406 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24407 (#316961, #300610).
24409 2005-09-26 Wim Taymans <wim@fluendo.com>
24411 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24412 Added check that shows error in state change order.
24414 2005-09-26 Wim Taymans <wim@fluendo.com>
24416 * gst/gstbin.c: (gst_bin_change_state):
24417 Make state change function use 3 queues again, we were
24418 adding elements in the wrong order.
24420 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24423 * gst/gstpad.c: (gst_pad_dispose):
24424 Added some debug info first.
24426 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24428 * docs/design/draft-push-pull.txt:
24429 * docs/design/part-events.txt:
24430 * docs/design/part-overview.txt:
24431 * docs/design/part-scheduling.txt:
24432 Replace all _pull_region() with _pull_range()
24434 2005-09-26 Andy Wingo <wingo@pobox.com>
24436 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24438 * check/gst-libs/controller.c: Update for controller api change.
24441 * tests/Makefile.am:
24442 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24443 over by GLib bug 118439.
24445 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24446 routines to a function.
24448 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24450 * libs/gst/controller/gsthelper.c:
24451 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24452 (gst_object_sync_values): Renamed from sink_values. Ugh.
24454 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24456 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24457 Renamed from controller_key, as it is exported.
24459 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24461 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24466 * gst/gstpadtemplate.h:
24469 * gst/gstqueryutils.c:
24470 * gst/gstqueryutils.h:
24471 remove queryutils headers after moving the two used functions
24472 to gstquery. also fixes build problem for gstsiddec
24474 2005-09-26 Michael Smith <msmith@fluendo.com>
24476 * tools/gst-launch.1.in:
24477 Correct documentation in manpage of debug syntax
24479 2005-09-26 Wim Taymans <wim@fluendo.com>
24481 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24482 (gst_base_src_is_seekable), (gst_base_src_change_state):
24483 Some more debugging info.
24485 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24487 * docs/gst/gstreamer-sections.txt:
24488 * gst/base/gstbasetransform.h:
24492 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24494 * docs/gst/.cvsignore:
24495 * docs/gst/tmpl/.cvsignore:
24496 * docs/gst/tmpl/gstpipeline.sgml:
24497 * docs/gst/tmpl/gstplugin.sgml:
24498 * gst/gstpipeline.c:
24501 inlined the last two docs files
24502 removed the tmpl directory from cvs (no more conflicts here!)
24504 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24506 * docs/gst/gstreamer-sections.txt:
24507 * docs/gst/tmpl/.cvsignore:
24508 * docs/gst/tmpl/gstpad.sgml:
24509 * docs/gst/tmpl/gstpadtemplate.sgml:
24511 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24512 (gst_pad_finalize), (gst_pad_set_pad_template):
24514 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24515 (gst_pad_template_class_init), (gst_pad_template_init),
24516 (gst_pad_template_dispose), (name_is_valid),
24517 (gst_static_pad_template_get), (gst_pad_template_new),
24518 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24519 (gst_pad_template_pad_created):
24520 * gst/gstpadtemplate.h:
24521 inlined two more docs
24522 factored gstpadtemplate out of gstpad
24524 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24526 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24527 (test_children_state_change_order_semi_sink):
24528 Fix test case: we can't rely on a fixed state change order when
24529 going from READY => PAUSED because the sink might commit its
24530 new state first when the first buffer created by the source
24531 reaches the sink before the source has finished its change state.
24532 (Test case still fails at times, see #316856, comment 5 onwards)
24534 2005-09-24 Wim Taymans <wim@fluendo.com>
24536 * docs/design/part-events.txt:
24537 * docs/design/part-gstbus.txt:
24538 * docs/design/part-gstpipeline.txt:
24539 * docs/design/part-messages.txt:
24540 * docs/design/part-overview.txt:
24541 * docs/design/part-segments.txt:
24545 * gst/gstelement.c:
24548 * gst/gstiterator.c:
24549 Various documentation updates.
24551 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24554 Well, that's embarassing. Luckily we weren't using
24555 GST_CLOCK_DIFF anywhere.
24557 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24559 * common/gtk-doc.mak:
24560 don't fail on building XML, FC4 slave shows a bunch of doc
24561 missing bits that I don't get
24563 * gst/gstpipeline.c:
24564 * gst/gststructure.c:
24567 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24569 * docs/design/part-gstbin.txt:
24570 * docs/design/part-gstbus.txt:
24572 Add blurb about how the bus goes into flushing mode and
24573 drops all messages when its bin goes from READY into NULL
24576 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24578 * docs/gst/gstreamer-sections.txt:
24579 * gst/gststructure.c: (gst_structure_get_clock_time):
24580 * gst/gststructure.h:
24581 add a method to get a GstClockTime out of a structure
24583 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24585 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24586 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24587 Added test to check state change order in bins (can still be made
24588 to fail here under heavy disk load; bails out with 'Push on pad
24589 fakesink:sink0, but it was not activated in push mode').
24591 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24592 Fix state change order when there is only a semi sink (#316856)
24594 * gst/gstbus.c: (gst_bus_class_init):
24595 Use _class_peek_parent(), not _class_ref(); fix docs to say
24596 'default main context' instead of 'mainloop' where that is
24599 * gst/gstelement.c: (gst_element_commit_state),
24600 (gst_element_set_state):
24601 Fix typos in debug messages
24603 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24606 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24607 * gst/gstpluginfeature.c:
24609 various doc updates
24610 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24611 change an assert into an error until it gets fixed properly
24613 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24615 * docs/gst/gstreamer-sections.txt:
24616 * docs/gst/tmpl/.cvsignore:
24617 * docs/gst/tmpl/gstelement.sgml:
24618 * docs/gst/tmpl/gstinfo.sgml:
24619 * docs/gst/tmpl/gstobject.sgml:
24620 * gst/gstelement.c:
24621 * gst/gstelement.h:
24624 * gst/gstobject.c: (gst_object_class_init):
24626 inlined 3 more biiiig doc files and added some missing docs on the fly
24628 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24630 * check/gst/.cvsignore:
24631 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24632 * gst/gstregistryxml.c: (load_plugin),
24633 (gst_registry_xml_save_plugin):
24634 put back source in registry. add checks for find_plugin.
24635 * testsuite/states/bin.c: (assert_state), (empty_bin),
24636 (test_adding_one_element), (main):
24637 * testsuite/states/locked.c: (main):
24638 some compile/run fixes
24640 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24642 * check/gst/gstvalue.c: (GST_START_TEST):
24643 fix leaks in the test itself
24645 2005-09-22 Wim Taymans <wim@fluendo.com>
24647 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24648 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24649 (gst_base_sink_query):
24650 Prepare for more accurate position reporting and query
24653 * gst/gstelement.c: (gst_element_send_event),
24654 (gst_element_set_state):
24657 2005-09-22 Wim Taymans <wim@fluendo.com>
24659 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24660 (gst_query_parse_segment):
24662 More documentation.
24663 Add segment query for future use.
24665 2005-09-22 Wim Taymans <wim@fluendo.com>
24667 * gst/gstbin.c: (gst_bin_add_func):
24668 Some more debug info.
24670 * gst/gstelement.c: (gst_element_send_event):
24671 Simplify send_event
24673 * gst/gstelement.h:
24674 Don't know how flags got broken.
24679 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24681 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24682 Add simplistic test suite for GST_TYPE_DATE serialisation and
24685 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24687 * docs/gst/gstreamer-sections.txt:
24688 * gst/gststructure.c: (gst_structure_set_valist),
24689 (gst_structure_get_date):
24690 * gst/gststructure.h:
24691 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24692 (gst_date_copy), (gst_value_compare_date),
24693 (gst_value_serialize_date), (gst_value_deserialize_date),
24694 (gst_value_transform_date_string),
24695 (gst_value_transform_string_date), (_gst_value_initialize):
24697 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24698 bunch of utility functions along with a hack that checks that
24699 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24700 is required. Part of the grand scheme in #170777.
24702 2005-09-22 Andy Wingo <wingo@pobox.com>
24704 * gst/gstconfig.h.in: Psych out gtk-doc.
24706 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24708 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24710 * tools/gst-inspect.c (print_element_list): Plug some
24711 inconsequential leaks.
24713 * gst/gstregistry.c (gst_registry_get_default): Doc.
24715 * check/gst/gstplugin.c:
24716 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24717 * gst/gstelementfactory.c (gst_element_factory_create):
24718 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24721 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24722 (gst_plugin_feature_load): Doc, don't eat refs.
24724 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24725 (gst_plugin_list_free): Doc.
24726 (gst_plugin_load_file): Doc updates.
24728 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24729 accessors returning refcounted objects, return a ref.
24731 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24732 accessor for caps. IDEMPOTENCE. Oh yes.
24734 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24736 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24738 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24739 (_gst_debug_register_funcptr):
24740 Add mutex to serialise access to the hash table with
24741 the function pointer => function name string mapping;
24742 make that hash table static scope (#316809).
24744 * gst/registries/.cvsignore:
24745 Remove left-over file.
24747 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24749 * docs/pwg/appendix-porting.xml:
24750 And something about newsegment events and caps-on-buffers to
24751 the porting guide (feel free to improve).
24753 2005-09-21 Andy Wingo <wingo@pobox.com>
24755 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24756 data and event probes on the same pad.
24757 (test_buffer_probe_once): Test that removing probes from within
24758 the probe functions works.
24760 2005-09-21 Andy Wingo <wingo@pobox.com>
24762 * check/gst/gstutils.c: New file.
24763 (test_buffer_probe_n_times): A simple buffer probe test. More to
24766 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24767 have-data::buffer, not have-data.
24768 (gst_pad_add_event_probe): Likewise for have-data::event.
24769 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24770 peer' isn't quite right yet though.
24771 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24772 (gst_pad_remove_data_probe): Change to take the guint handler_id
24773 as their arg, not the function+data, which is more glib-like.
24775 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24776 the signal emission to indicate if the data is a buffer or an
24778 (gst_pad_get_type): Initialize buffer and event quarks.
24779 (gst_pad_class_init): have-data is now a detailed signal, yes it
24782 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24784 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24785 * gst/gstutils.c: (gst_util_set_value_from_string),
24786 (gst_util_set_object_arg):
24787 Don't put functional code in g_return_if_fail() or
24788 g_return_val_if_fail() statements, otherwise things will
24789 break when G_DISABLE_CHECKS is defined during compilation.
24791 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24793 * docs/gst/tmpl/.cvsignore:
24794 * docs/gst/tmpl/gstvalue.sgml:
24797 inlied another one and added some obvious docs
24799 2005-09-21 Wim Taymans <wim@fluendo.com>
24801 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24802 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24803 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24804 (gst_fdsrc_get_property), (gst_fdsrc_create):
24805 * gst/elements/gstfdsrc.h:
24806 Properly implement fdsrc. Removed signal and timeout,
24807 better implemented somewhere else.
24809 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24811 * docs/gst/tmpl/.cvsignore:
24812 * docs/gst/tmpl/gstimplementsinterface.sgml:
24813 * gst/gstinterface.c:
24816 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24818 * docs/gst/gstreamer-sections.txt:
24819 * docs/gst/tmpl/.cvsignore:
24820 * docs/gst/tmpl/gstenumtypes.sgml:
24821 remove obsolete doc file
24823 2005-09-21 David Schleef <ds@schleef.org>
24825 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24826 little beer, fix a little leak.
24828 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24830 * docs/gst/gstreamer-docs.sgml:
24831 * docs/gst/gstreamer-sections.txt:
24832 * docs/gst/tmpl/.cvsignore:
24836 * gst/gstelement.h:
24837 * gst/gstindex.c: (gst_index_class_init):
24839 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24840 (gst_index_factory_class_init), (gst_index_factory_init),
24841 (gst_index_factory_finalize), (gst_index_factory_new),
24842 (gst_index_factory_destroy), (gst_index_factory_find),
24843 (gst_index_factory_create), (gst_index_factory_make):
24844 * gst/gstindexfactory.h:
24845 * gst/gstpluginfeature.c:
24846 * gst/gstpluginfeature.h:
24847 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24848 more docs inlined, splitted gstindex.{c,h}
24850 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24852 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24855 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24857 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24858 Set sync to FALSE by default.
24860 2005-09-20 Wim Taymans <wim@fluendo.com>
24862 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24863 (gst_base_sink_init):
24864 Make sync property settable from subclass.
24866 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24867 (gst_fake_sink_change_state):
24868 Set sync to FALSE by default.
24870 2005-09-20 Wim Taymans <wim@fluendo.com>
24872 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24873 * tools/gst-launch.c: (main):
24874 The timeout handler should have lower priority than the source
24875 so we don't timeout before popping a message with 0 timeout.
24876 Dump error messages after failed state change.
24878 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24880 * tools/gst-inspect.c: (print_element_properties_info):
24883 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24885 * check/gst/gstevent.c:
24886 * gst/elements/gstfakesink.c:
24887 * gst/elements/gstfakesink.h:
24888 remove the sync property from fakesink.
24889 has the side effect of setting sync TRUE
24890 for fakesink, which is a change. Anyone who knows how
24891 to fix this nicely in a GObject-y way, feel free.
24893 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24895 * docs/gst/gstreamer-docs.sgml:
24896 remove probe refsection
24898 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24900 * check/Makefile.am:
24901 disable valgrinding the controller test again
24902 * docs/gst/gstreamer-sections.txt:
24903 update for api-changes
24905 2005-09-20 Wim Taymans <wim@fluendo.com>
24907 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24908 (gst_base_sink_set_property), (gst_base_sink_get_property),
24909 (gst_base_sink_do_sync):
24910 * gst/base/gstbasesink.h:
24911 Added sync property to basesink to disable clock sync.
24913 2005-09-20 Andy Wingo <wingo@pobox.com>
24915 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24916 eating the caller's refcount.
24918 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24919 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24922 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24923 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24924 of GLib 2.8 public, so we can know which refcount to check in
24927 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24928 (gst_object_init): Only set the gst refcount if we're going ahead
24929 with the refcount hack.
24931 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24933 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24934 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24935 more leaks plumbed, added more debug-logging
24939 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24941 * gst/gstmessage.c:
24942 remove include of gstmemchunk.h
24944 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24946 * gst/gstclock.c: (_gst_clock_id_free):
24947 Commit from the Political Party For More Atomic CVS Commits,
24948 so that people don't waste too much of their day fishing
24949 out obvious leaks out of massive commits.
24950 Oh, and fix a pretty damn obvious leak in the memchunk
24953 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24955 * check/Makefile.am:
24956 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24957 plug mem-leak, re-add to valgrindable tests
24959 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24962 unbreak the build for those who have chronic arthritis
24963 and typing "make check" is just too taxing on the hands
24965 2005-09-20 Andy Wingo <wingo@pobox.com>
24967 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24968 really want it out, you should fix plugins at the same time.
24970 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24973 * docs/gst/gstreamer-sections.txt:
24975 added missing symbols to api docs
24976 disable ref-count hack if we have glib >= 2.8
24978 2005-09-19 David Schleef <ds@schleef.org>
24980 * docs/gst/Makefile.am: Ignore a few more internal headers
24981 * docs/gst/gstreamer-docs.sgml: Remove old sections
24982 * docs/gst/gstreamer-sections.txt: Remove old sections
24983 * docs/gst/tmpl/gstobject.sgml: update
24984 * docs/gst/tmpl/gstplugin.sgml: update
24985 * docs/gst/tmpl/gstpluginfeature.sgml: update
24986 * docs/random/ds/0.9-suggested-changes: update.
24987 * gst/Makefile.am: remove memchunk and trashstack, since they're
24989 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24990 * gst/gst.h: don't include some headers
24991 * gst/gstchildproxy.c: add gstmarshal.h
24992 * gst/gstclock.c: Don't use memchunks
24993 * gst/gstminiobject.c: Add some docs
24994 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24995 * gst/gstobject.h: same
24996 * gst/gstplugin.c: include gstmacros.h
24997 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24998 * gst/gstquery.c: don't use memchunks
24999 * gst/gstregistry.c: rename gst_registry_deinit()
25000 * gst/gstregistry.h: same
25002 2005-09-19 David Schleef <ds@schleef.org>
25004 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25005 * docs/libs/gstreamer-libs-sections.txt:
25006 * docs/libs/tmpl/gstgetbits.sgml:
25007 * docs/libs/tmpl/gstputbits.sgml:
25009 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
25011 * win32/gstenumtypes.c:
25012 * win32/gstenumtypes.h:
25015 2005-09-19 Wim Taymans <wim@fluendo.com>
25017 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25018 Automatically PAUSE and RESUME a pipeline when a flushing seek
25021 2005-09-19 Andy Wingo <wingo@pobox.com>
25023 * gst/gstregistry.h: Spacing fixen.
25025 2005-09-19 Wim Taymans <wim@fluendo.com>
25027 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25028 Handle state change failure more correctly.
25030 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25032 * check/Makefile.am:
25033 * check/pipelines/cleanup.c: (run_pipeline):
25034 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25036 enable cleanup again after fixing the leak
25038 some more info on docs
25040 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25042 * check/Makefile.am:
25043 re-enable tests now that leaks are plugged
25045 * check/gst/gstbin.c:
25046 * check/gst/gstpipeline.c:
25047 add some more tests while fixing leaks
25048 * common/check.mak:
25049 make sure binaries are uptodate when valgrinding/gdbing
25051 * gst/gstelementfactory.c:
25052 remove a ref too many, and add a FIXME for when we get
25053 round to disposing of classes
25055 fix the refcounting when loading a plugin from a file and
25056 the code pretends that the pointer is the same even though
25057 of course it can change
25058 * gst/gstpluginfeature.c:
25059 unref plugins marked cached (a bit confusing as a name)
25060 as the docs state should be done
25061 various doc additions to explain refcounting
25062 * gst/gstregistry.c:
25063 * gst/gstregistryxml.c:
25066 2005-09-19 Wim Taymans <wim@fluendo.com>
25068 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25069 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25070 (send_messages), (GST_START_TEST), (gstbus_suite):
25071 * check/gst/gstpipeline.c: (GST_START_TEST):
25072 * check/pipelines/cleanup.c: (run_pipeline):
25073 * check/pipelines/simple_launch_lines.c: (run_pipeline),
25075 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25076 (gst_bus_source_check), (gst_bus_source_dispatch),
25077 (gst_bus_create_watch), (gst_bus_add_watch_full),
25078 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25080 * tools/gst-launch.c: (event_loop):
25081 * tools/gst-md5sum.c: (event_loop):
25082 GstBusHandler -> GstBusFunc, return value has the same meaning as
25083 any other GSource (FALSE == remove source).
25084 _add_watch() and _add_watch_full() now take a MessageType mask to
25085 only handle specific types of messages.
25086 _poll() returns the GstMessage instead of the message type to avoid
25088 _have_pending() takes a MessageType mask now too.
25089 Added testsuite for multiple bus watches.
25090 Fix testsuites and applications for new bus API.
25092 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
25094 * check/Makefile.am:
25095 mark a bunch of the tests as to fix until we fix them
25097 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25099 * common/check.mak:
25100 use GST_PLUGIN settings for valgrind tests as well, so we're
25101 valgrinding the correct thing
25102 * gst/gst.c: (init_post):
25105 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25107 * gst/gst.c: (init_post), (gst_deinit):
25108 * gst/gstelementfactory.c: (gst_element_factory_class_init),
25109 (gst_element_factory_finalize), (gst_element_factory_cleanup):
25110 * gst/gstindex.c: (gst_index_factory_class_init),
25111 (gst_index_factory_finalize):
25112 * gst/gstobject.c: (gst_object_dispose):
25113 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25114 (gst_plugin_load_file), (gst_plugin_desc_free):
25115 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25116 (gst_plugin_feature_finalize):
25117 * gst/gstregistry.c: (gst_registry_class_init),
25118 (gst_registry_init), (gst_registry_finalize),
25119 (gst_registry_get_default), (gst_registry_deinit):
25120 * gst/gstregistry.h:
25121 * gst/gstregistryxml.c: (load_feature), (load_plugin):
25122 various cleanups and memleak plugging. make valgrind is happy now.
25124 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
25126 * common/check.mak:
25127 add a check-valgrind target
25129 2005-09-18 David Schleef <ds@schleef.org>
25131 * tools/gst-inspect.c: Revert the GOption code.
25133 2005-09-17 David Schleef <ds@schleef.org>
25135 * check/Makefile.am: Fix environment variables.
25136 * check/gst/gstplugin.c: Fix for API changes.
25137 * tools/gst-inspect.c: Fix for API changes.
25138 * tools/gst-xmlinspect.c: Fix for API changes.
25139 * gst/gstelementfactory.c:
25142 * gst/gstpluginfeature.c:
25143 * gst/gstpluginfeature.h:
25144 * gst/gstregistry.c:
25145 * gst/gstregistry.h:
25146 * gst/gstregistryxml.c:
25147 * gst/gsttypefind.c:
25148 * gst/gsttypefindfactory.c:
25149 * gst/indexers/gstfileindex.c:
25150 * gst/indexers/gstmemindex.c:
25151 * gst/schedulers/Makefile.am:
25152 Change registry to keep track of both plugins and features,
25153 removing the feature tracking from plugins themselves.
25155 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25157 * check/Makefile.am:
25158 * tools/gst-register.1.in:
25159 remove gst-register
25161 2005-09-15 David Schleef <ds@schleef.org>
25163 * check/gst/gstplugin.c:
25164 * gst/gstelementfactory.c:
25166 * gst/gstpluginfeature.c:
25167 * gst/gstregistry.c:
25168 Getting tired of debugging. Disabled all the unreffing of
25169 plugins and features, which fixes the segfaults, but of
25170 course leaks like crazy. At least playbin works.
25172 2005-09-15 David Schleef <ds@schleef.org>
25174 * check/gst/gstplugin.c: (register_check_elements),
25175 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25177 * gst/elements/gsttypefindelement.c: Fix refcounting.
25178 * gst/gsttypefind.c:
25179 * gst/gsttypefindfactory.c:
25180 * gst/gsttypefindfactory.h:
25182 2005-09-15 David Schleef <ds@schleef.org>
25184 * gst/gstindex.c: get refcounting correct.
25185 * gst/gstregistry.c: Handle the case where a feature/plugin is
25188 2005-09-15 David Schleef <ds@schleef.org>
25190 * check/Makefile.am:
25191 * check/gst/gstplugin.c: Add test
25192 * gst/gstplugin.c: Fix problems noticed by testsuite
25194 * gst/gstregistry.c:
25195 * gst/gstregistry.h:
25197 2005-09-15 David Schleef <ds@schleef.org>
25199 * gst/gstplugin.c: Implement semi-decent recounting and locking
25200 in plugins and plugin features.
25202 * gst/gstpluginfeature.c:
25203 * gst/gstpluginfeature.h:
25204 * gst/gstregistry.c:
25206 2005-09-15 Michael Smith <msmith@fluendo.com>
25208 * gst/gstregistry.c: (gst_registry_get_feature_list):
25209 Implement this. Makes oggdemux work; decodebin still broken.
25211 2005-09-14 David Schleef <ds@schleef.org>
25213 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25215 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25216 * gst/check/Makefile.am:
25217 * libs/gst/controller/Makefile.am:
25218 * libs/gst/dataprotocol/Makefile.am:
25220 2005-09-14 David Schleef <ds@schleef.org>
25222 * configure.ac: Remove getbits library. Nothing uses it, and
25223 it should be in something like liboil if someone did want
25225 * libs/gst/Makefile.am:
25226 * libs/gst/getbits/Makefile.am:
25227 * libs/gst/getbits/gbtest.c:
25228 * libs/gst/getbits/getbits.c:
25229 * libs/gst/getbits/getbits.h:
25230 * libs/gst/getbits/gstgetbits_generic.c:
25231 * libs/gst/getbits/gstgetbits_i386.s:
25232 * libs/gst/getbits/gstgetbits_inl.h:
25234 2005-09-14 David Schleef <ds@schleef.org>
25236 * gst/Makefile.am: Dist glib-compat.h
25238 2005-09-14 David Schleef <ds@schleef.org>
25240 * configure.ac: Remove gst/registries, since it's no longer used.
25241 * gst/registries/Makefile.am:
25242 * gst/registries/gstlibxmlregistry.c:
25243 * gst/registries/gstlibxmlregistry.h:
25244 * gst/registries/gstxmlregistry.c:
25245 * gst/registries/gstxmlregistry.h:
25246 * gst/registries/registrytest.c:
25248 2005-09-14 David Schleef <ds@schleef.org>
25250 * gst/glib-compat.h:
25251 * gst/gstregistryxml.c:
25252 Convergence is near. Seriously.
25254 2005-09-14 David Schleef <ds@schleef.org>
25256 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25257 * gst/glib-compat.h:
25258 Attempt #4 to appease the buildbots.
25260 2005-09-14 David Schleef <ds@schleef.org>
25262 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25265 2005-09-14 David Schleef <ds@schleef.org>
25267 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25270 2005-09-14 David Schleef <ds@schleef.org>
25272 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25275 2005-09-14 David Schleef <ds@schleef.org>
25277 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25278 * gst/glib-compat.h: Add some functions that are in newer versions
25279 of glib than we care to require.
25280 * gst/gstregistryxml.c: Use them.
25282 2005-09-14 David Schleef <ds@schleef.org>
25284 * po/POTFILES.in: remove gst-register.c
25286 2005-09-14 David Schleef <ds@schleef.org>
25288 * docs/gst/gstreamer-docs.sgml:
25289 * docs/gst/gstreamer-sections.txt:
25290 * docs/gst/gstreamer.types:
25291 * docs/gst/tmpl/gstelement.sgml:
25292 * docs/gst/tmpl/gstplugin.sgml:
25293 * docs/gst/tmpl/gstpluginfeature.sgml:
25294 Documentation updates for registry changes.
25296 2005-09-14 David Schleef <ds@schleef.org>
25298 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25299 because we don't require glib-2.8.
25301 2005-09-14 David Schleef <ds@schleef.org>
25303 * gst/gstregistryxml.c: Added. Essentially moved out of the
25304 registries directory.
25306 2005-09-14 David Schleef <ds@schleef.org>
25308 * check/Makefile.am:
25309 * check/generic/states.c:
25313 * gst/gst_private.h:
25314 * gst/gstelementfactory.c:
25319 * gst/gstpluginfeature.c:
25320 * gst/gstpluginfeature.h:
25321 * gst/gstregistry.c:
25322 * gst/gstregistry.h:
25323 * gst/gstregistrypool.c: remove
25324 * gst/gstregistrypool.h: remove
25325 * gst/gsttypefind.c:
25326 * gst/gsttypefindfactory.c:
25328 * tools/Makefile.am:
25329 * tools/gst-compprep.c:
25330 * tools/gst-inspect.c:
25331 * tools/gst-register.c: remove
25332 * tools/gst-xmlinspect.c:
25333 Registry rewrite. Changes registry from being a file created
25334 by a tool into a simple cache file created automatically by
25335 libgstreamer. Removed gst-register (because it's no longer
25336 needed). Remove registry pools, because we only have one
25337 registry implementation (XML). Fix up other subsystems as
25340 2005-09-13 Michael Smith <msmith@fluendo.com>
25342 * gst/gstconfig.h.in:
25343 Don't Use windows linking attributes for MinGW. Fixes #316157
25345 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25347 * gst/gstutils.c: (set_state_async_thread_func),
25348 (gst_element_set_state_async):
25349 Apparently people think it's better if this function doesn't
25350 try to set the state to whatever state was asked for on the first
25351 call to this function for any object. Seriously.
25353 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25355 * check/gst/gstpipeline.c: (GST_START_TEST):
25356 * docs/gst/gstreamer-sections.txt:
25357 * gst/gstutils.c: (set_state_async_thread_func),
25358 (gst_element_set_state_async):
25360 add a "gst_element_set_state_async" method that
25361 sets the state and starts a thread to make sure the state
25362 change completes as best as it can
25364 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25366 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25367 codify design+behaviour in testsuite after discussion
25369 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25371 * docs/gst/tmpl/gstelement.sgml:
25372 * docs/manual/appendix-quotes.xml:
25374 * gst/gstelement.c: (gst_element_set_state):
25377 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25379 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25380 (gst_base_transform_prepare_output_buf),
25381 (gst_base_transform_handle_buffer):
25382 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25383 (gst_capsfilter_prepare_buf):
25384 Remove the requirement for sub-classes to call the parent
25385 implementation of prepare_output_buffer with a wrapper function.
25387 * gst/gsttaglist.h:
25388 * gst/gsttagsetter.h:
25389 Fix #define wrapper
25391 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25393 * docs/gst/gstreamer-sections.txt:
25396 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25398 * docs/gst/gstreamer-sections.txt:
25399 * docs/gst/tmpl/gstelement.sgml:
25400 * docs/gst/tmpl/gstplugin.sgml:
25401 * gst/gstminiobject.c:
25403 docs now stop throwing warnings
25405 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25407 * docs/gst/gstreamer-sections.txt:
25408 * docs/gst/gstreamer.types:
25409 * docs/gst/tmpl/gstpad.sgml:
25410 * docs/gst/tmpl/gsttypes.sgml:
25411 * gst/base/gstadapter.h:
25412 * gst/base/gstbasesink.h:
25413 * gst/base/gstbasesrc.h:
25419 * gst/gstelement.h:
25421 * gst/gstmessage.h:
25423 * gst/gststructure.c:
25424 * gst/registries/gstlibxmlregistry.h:
25425 various documentation fixes
25427 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25429 * docs/gst/gstreamer-sections.txt:
25430 * docs/gst/tmpl/gstvalue.sgml:
25431 rearrange gstvalue section
25432 * gst/gstutils.c: (gst_element_state_get_name):
25434 * gst/gstvalue.c: (_gst_value_initialize):
25438 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25440 * check/gst-libs/controller.c:
25441 Header include fix.
25442 * gst/base/gstbasetransform.c:
25443 (gst_base_transform_default_prepare_buf),
25444 (gst_base_transform_handle_buffer):
25445 * gst/base/gstbasetransform.h:
25446 Some more basetransform changes and fixes to enable sub-classes
25447 that modify buffer metadata only.
25448 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25449 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25450 (gst_capsfilter_prepare_buf):
25451 If the output pad has fixed allowed caps and input buffers
25452 don't have any, set the fixed caps on outgoing buffers.
25454 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25455 * check/elements/identity.c: (GST_START_TEST):
25456 Make the error a little clearer when the test fails because
25457 identity made a copy of the buffer.
25458 * docs/gst/gstreamer-sections.txt:
25459 New symbols in gstbasetransform.h
25460 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25461 (gst_base_transform_init), (gst_base_transform_transform_size),
25462 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25463 (gst_base_transform_default_prepare_buf),
25464 (gst_base_transform_get_unit_size),
25465 (gst_base_transform_buffer_alloc),
25466 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25467 (gst_base_transform_change_state),
25468 (gst_base_transform_set_passthrough),
25469 (gst_base_transform_set_in_place),
25470 (gst_base_transform_is_in_place):
25471 * gst/base/gstbasetransform.h:
25472 Change BaseTransform to separate in_place operate from same_caps
25473 output. in_place implies that the element can perform the transform
25474 on incoming buffers in-place, even if the caps on the output are
25476 Sub-class elements can now implement special buffer allocation
25477 methods for outgoing buffers if they wish to.
25478 Big documentation addition.
25479 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25480 * gst/elements/gstelements.c:
25481 Changes for basetransform modifications.
25482 * gst/elements/Makefile.am:
25483 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25484 Compile fix. Extra debug output.
25486 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25488 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25490 add tests for valid pad naming
25491 * gst/check/gstcheck.c: (gst_check_log_message_func),
25492 (gst_check_log_critical_func):
25494 remove printing of code, it is fragile when the code contains
25495 % and the line number is enough info
25496 * gst/check/gstcheck.h:
25497 * gst/gstpad.c: (gst_pad_template_new):
25500 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25503 say what CHECK flags we use
25504 * docs/libs/gstreamer-libs.types:
25505 * libs/gst/controller/Makefile.am:
25506 * libs/gst/controller/gst-controller.c:
25507 * libs/gst/controller/gst-controller.h:
25508 * libs/gst/controller/gst-helper.c:
25509 * libs/gst/controller/gst-interpolation.c:
25510 * libs/gst/controller/gstcontroller.c:
25511 * libs/gst/controller/gsthelper.c:
25512 * libs/gst/controller/gstinterpolation.c:
25513 * tools/gst-inspect.c: (print_plugin_info):
25514 we don't use dashes in header names
25516 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25518 * check/Makefile.am:
25519 * check/gst/.cvsignore:
25520 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25521 (gst_pipeline_suite), (main):
25522 adding a test for pipelines and state changes
25523 * gst/gstutils.c: (get_state_func):
25525 * gstreamer.spec.in:
25528 2005-09-08 Michael Smith <msmith@fluendo.com>
25530 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25531 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25532 (gst_file_src_is_seekable), (gst_file_src_get_size),
25533 (gst_file_src_start):
25534 * gst/elements/gstfilesrc.h:
25535 Various fixes for unseekable, unmmapable, and non-normal files, so
25536 that fallback to read() rather than mmap() works.
25537 * gst/gstevent.c: (gst_event_new_newsegment):
25538 Allow newsegment events with segment_start == segment_end, as will
25539 correctly happen if you use filesrc on a zero-size file, for
25542 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25544 * gst/gstplugin.c: (gst_plugin_load_file):
25545 Call g_module_close when we don't load the module
25547 * gst/registries/gstlibxmlregistry.c:
25548 (gst_xml_registry_get_property):
25549 Port leak fix from 0.8
25551 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25553 * docs/gst/gstreamer-docs.sgml:
25554 * docs/gst/tmpl/.cvsignore:
25555 * docs/gst/tmpl/gsttrace.sgml:
25556 * docs/gst/tmpl/gsttrashstack.sgml:
25559 * gst/gstelement.h:
25561 * gst/gstmessage.c:
25562 * gst/gstmessage.h:
25565 * gst/gsttaginterface.c:
25566 * gst/gsttaginterface.h:
25567 * gst/gsttaglist.c:
25568 * gst/gsttaglist.h:
25569 * gst/gsttagsetter.c:
25570 * gst/gsttagsetter.h:
25573 * gst/gsttrashstack.c:
25574 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25575 inlined docs for gsttrace, gsttrashstack
25577 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25580 * gst/elements/gstbufferstore.h:
25581 * gst/elements/gsttypefindelement.c:
25582 * gst/elements/gsttypefindelement.h:
25584 * gst/gsttypefind.c:
25585 * gst/gsttypefind.h:
25586 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25587 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25588 (gst_type_find_factory_dispose),
25589 (gst_type_find_factory_unload_thyself),
25590 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25591 (gst_type_find_factory_get_caps),
25592 (gst_type_find_factory_get_extensions),
25593 (gst_type_find_factory_call_function):
25594 * gst/gsttypefindfactory.h:
25595 * gst/registries/gstlibxmlregistry.c:
25596 * gst/registries/gstxmlregistry.c:
25597 splitted gsttypefind into gsttypefind, gsttypefindfactory
25599 2005-09-07 Andy Wingo <wingo@pobox.com>
25601 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25602 condition whereby the pad's task function is entered before the
25603 pad_mode variable was set.
25605 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25607 * gst/gstpad.c: (gst_pad_alloc_buffer):
25608 Catch misbehaving pad_alloc functions that don't
25609 set up caps and do it for them.
25611 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25613 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25614 test for pipe!=NULL
25615 * docs/gst/tmpl/.cvsignore:
25616 * docs/gst/tmpl/gstmemchunk.sgml:
25617 * docs/gst/tmpl/gstparse.sgml:
25618 * docs/gst/tmpl/gsttaglist.sgml:
25619 * docs/gst/tmpl/gsttagsetter.sgml:
25620 * docs/gst/tmpl/gsttypefind.sgml:
25621 * docs/gst/tmpl/gsttypefindfactory.sgml:
25622 * gst/gstmemchunk.c:
25625 * gst/gsttaginterface.c:
25626 * gst/gsttypefind.c:
25627 * gst/gsttypefind.h:
25630 === release 0.9.2 ===
25632 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25637 releasing 0.9.2, "South"
25639 2005-09-05 Andy Wingo <wingo@pobox.com>
25641 * gst/registries/gstxmlregistry.h:
25642 * gst/registries/gstxmlregistry.c: Um... resurrect...
25644 * gst/registries/gstxmlregistry.h:
25645 * gst/registries/gstxmlregistry.c: and update to newer API.
25646 Incidentally they should be a bit faster now that they don't have
25649 2005-09-05 Andy Wingo <wingo@pobox.com>
25651 * gst/registries/gstxmlregistry.h:
25652 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25653 replaced by the libxml registry a while back
25655 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25657 * docs/gst/tmpl/gstplugin.sgml:
25658 * gst/elements/gstelements.c:
25660 * gst/gstplugin.c: (gst_plugin_register_func),
25661 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25662 (gst_plugin_get_source):
25664 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25665 (gst_xml_registry_save_plugin):
25666 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25667 (gst_xml_registry_save_plugin):
25668 * tools/gst-inspect.c: (print_plugin_info):
25669 add a "source" plugin description field, to represent the source
25670 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25671 will set it to PACKAGE, which is automake's idea of the name of
25672 the source project.
25674 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25679 * docs/Makefile.am:
25680 * docs/faq/Makefile.am:
25681 * docs/gst/tmpl/gstelement.sgml:
25682 * docs/gst/tmpl/gsttypes.sgml:
25683 * docs/htmlinstall.mak:
25684 * docs/manual/Makefile.am:
25685 * docs/pwg/Makefile.am:
25686 reorganize doc build a little
25687 split out docbook and gtk-doc stuff
25688 have two separate --enable's and enable them through autogen
25689 but disable by default in configure (to be similar to other
25691 * gstreamer.spec.in:
25692 clean up docs install
25710 translation updates
25712 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25714 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25717 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25718 (gst_fake_sink_change_state):
25719 Make state change function thread-safe.
25721 * gst/gstpad.c: (gst_pad_alloc_buffer):
25722 Set offset on generic buffer allocated by fallback.
25724 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25726 * docs/gst/gstreamer-sections.txt:
25727 * docs/gst/tmpl/gstelement.sgml:
25729 * libs/gst/controller/gst-controller.c:
25730 (gst_controlled_property_set_interpolation_mode),
25731 (gst_controlled_property_new),
25732 (gst_controller_find_controlled_property):
25733 run the wingo-magic script against the docs
25735 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25737 * docs/gst/gstreamer-docs.sgml:
25738 * docs/gst/gstreamer-sections.txt:
25739 * docs/gst/tmpl/.cvsignore:
25740 * docs/gst/tmpl/gstelementdetails.sgml:
25741 * docs/gst/tmpl/gstelementfactory.sgml:
25744 * gst/gstelementfactory.c:
25745 * gst/gstelementfactory.h:
25746 merged elementdetails docs into elementfactory docs
25749 2005-09-02 Andy Wingo <wingo@pobox.com>
25751 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25752 consider this enum an enum and not a flags.
25754 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25756 * docs/gst/gstreamer-docs.sgml:
25757 * docs/gst/tmpl/.cvsignore:
25758 * docs/gst/tmpl/gstghostpad.sgml:
25759 * docs/gst/tmpl/gstiterator.sgml:
25760 * docs/gst/tmpl/gstmacros.sgml:
25761 * docs/gst/tmpl/gstrealpad.sgml:
25762 * docs/gst/tmpl/gstregistry.sgml:
25763 * docs/gst/tmpl/gstregistrypool.sgml:
25764 * docs/gst/tmpl/gststructure.sgml:
25765 * docs/gst/tmpl/gstsystemclock.sgml:
25766 * docs/gst/tmpl/gsttrace.sgml:
25767 * gst/gstghostpad.c:
25769 * gst/gstmemchunk.c:
25770 * gst/gstmemchunk.h:
25772 * gst/gstregistry.c:
25773 * gst/gstregistrypool.c:
25774 * gst/gststructure.c:
25775 * gst/gstsystemclock.c:
25778 2005-09-02 Andy Wingo <wingo@pobox.com>
25780 * gst/gstelement.h (GstState): Renamed from GstElementState,
25781 changed to be a normal enum instead of flags.
25782 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25783 munged to be GST_STATE_CHANGE_*.
25784 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25785 work with the new state representation.
25786 (GstStateChange): New enumeration of possible state transitions.
25787 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25788 (GstElementClass::change_state): Pass the GstStateChange along as
25789 an argument. Helps language bindings, so they don't have to use
25790 tricky lock-needing macros like GST_STATE_CHANGE ().
25792 * scripts/update-states (file): New script. Run it on a file to
25793 update it for state naming and API changes. Updates files in
25796 * All files updated for the new API.
25798 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25800 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25801 * gst/gstutils.c: (gst_util_set_value_from_string),
25802 (gst_util_set_object_arg):
25803 fix a bunch of unchecked return values
25804 * tools/gst-complete.c: (main):
25805 * gstreamer.spec.in:
25808 2005-09-01 Wim Taymans <wim@fluendo.com>
25810 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25811 (gst_base_sink_event), (gst_base_sink_do_sync),
25812 (gst_base_sink_handle_event):
25813 * gst/base/gstbasesink.h:
25814 Handle newsegments more correctly.
25819 * gst/gstevent.c: (gst_event_new_newsegment):
25820 A newsegment cannot have a start_time of -1
25822 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25824 * win32/gstenumtypes.c:
25825 * win32/gstenumtypes.h:
25828 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25830 * libs/gst/controller/gst-controller.c:
25831 (gst_controlled_property_set_interpolation_mode),
25832 (gst_controlled_property_new):
25833 fixed boolean again
25835 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25837 * docs/faq/gst-uninstalled:
25842 * gst/gstutils.c: (gst_element_link_filtered):
25844 add gst_element_link_filtered
25846 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25848 * docs/gst/gstreamer-docs.sgml:
25849 * docs/gst/gstreamer-sections.txt:
25850 * docs/gst/tmpl/.cvsignore:
25851 * docs/gst/tmpl/gsterror.sgml:
25852 * docs/gst/tmpl/gstfilter.sgml:
25853 * docs/gst/tmpl/gsturihandler.sgml:
25854 * docs/gst/tmpl/gsturitype.sgml:
25855 * docs/gst/tmpl/gstutils.sgml:
25856 * docs/gst/tmpl/gstxml.sgml:
25861 * gst/gsturitype.c:
25864 inlined more docs, fixed double id-ref
25866 2005-08-31 Wim Taymans <wim@fluendo.com>
25868 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25869 (gst_base_transform_handle_buffer):
25870 Passthrough elements don't need the caps as they don't care.
25872 2005-08-31 Wim Taymans <wim@fluendo.com>
25874 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25875 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25876 Don't leak refcounts on buffers.
25878 2005-08-31 Wim Taymans <wim@fluendo.com>
25880 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25881 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25882 (gst_base_transform_chain), (gst_base_transform_change_state):
25883 * gst/base/gstbasetransform.h:
25884 Handle the case where we are not negotiated more gracefully.
25886 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25888 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25889 (gst_file_src_map_region):
25890 Set READONLY flag on mmap'ed buffers, otherwise
25891 gst_buffer_make_writable() won't work properly (#314708).
25893 2005-08-31 Wim Taymans <wim@fluendo.com>
25895 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25896 passthrough elements can even do inplace on non writable
25897 buffers (as they don't touch them).
25899 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25901 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25902 (gst_test_mono_source_set_property),
25903 (gst_test_mono_source_class_init), (GST_START_TEST),
25904 (gst_controller_suite):
25905 more tests (hehe I have the most)
25907 describe popping messages whenusing mulltiple sources
25908 * libs/gst/controller/gst-controller.c:
25909 (gst_controlled_property_set_interpolation_mode),
25910 (gst_controlled_property_new):
25911 * libs/gst/controller/gst-controller.h:
25912 * libs/gst/controller/gst-interpolation.c:
25913 implement boolean properties
25915 2005-08-31 Wim Taymans <wim@fluendo.com>
25917 * gst/gstminiobject.c: (gst_mini_object_ref):
25918 Cannot assert that the refcount has to be positive
25919 since a disposed object can be resurrected.
25921 2005-08-31 Wim Taymans <wim@fluendo.com>
25923 * gst/gstpad.c: (gst_pad_init):
25924 Revert change, need to first fix badly behaving
25927 2005-08-30 Wim Taymans <wim@fluendo.com>
25929 * check/elements/fakesrc.c: (setup_fakesrc):
25930 * check/elements/identity.c: (setup_identity):
25931 Activate pads before using them.
25933 2005-08-30 Wim Taymans <wim@fluendo.com>
25935 * gst/base/gstadapter.c: (gst_adapter_flush):
25936 Flushing out 0 bytes is ok for this function.
25938 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25939 no newsegment gives a warning and sets the start/stop to
25942 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25943 (gst_base_transform_set_passthrough):
25946 * gst/gstminiobject.c: (gst_mini_object_ref):
25947 Check refcount here too.
25949 * gst/gstpad.c: (gst_pad_init):
25950 Pads are initially flushing and refusing data.
25952 * gst/gstutils.c: (gst_element_link_pads_filtered):
25953 When adding a capsfilter element make sure it has the
25954 same state as the parent bin.
25956 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25958 * docs/gst/tmpl/.cvsignore:
25959 * docs/gst/tmpl/gstformat.sgml:
25960 * docs/gst/tmpl/gstversion.sgml:
25964 * gst/gstversion.h.in:
25965 more docs and two more inlined
25967 2005-08-30 Wim Taymans <wim@fluendo.com>
25969 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25970 Don't sync to clock.
25972 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25974 * docs/gst/gstreamer-sections.txt:
25975 ultral33t func10ns deserve to appear in the docs actually
25976 * docs/gst/tmpl/.cvsignore:
25977 * docs/gst/tmpl/gstcompat.sgml:
25978 * docs/gst/tmpl/gstconfig.sgml:
25979 * gst/check/gstcheck.c:
25981 * gst/gstconfig.h.in:
25984 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25986 * docs/gst/tmpl/.cvsignore:
25987 * docs/gst/tmpl/gstquery.sgml:
25988 * docs/gst/tmpl/gstutils.sgml:
25991 inlined and extended docs
25993 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25995 * check/gst-libs/controller.c: (GST_START_TEST),
25996 (gst_controller_suite):
25998 * docs/gst/tmpl/gstutils.sgml:
25999 * docs/libs/gstreamer-libs-sections.txt:
26000 * docs/libs/tmpl/gstdataprotocol.sgml:
26002 * examples/controller/audio-example.c: (main):
26003 controller example works now
26006 * tools/gst-inspect.c: (print_element_properties_info):
26007 show param spec flags
26009 2005-08-29 Andy Wingo <wingo@pobox.com>
26011 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26013 2005-08-28 Andy Wingo <wingo@pobox.com>
26015 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26016 as having two arguments instead of just one. Allows superclasses
26017 to access information on subclasses -- see the terrible for() loop
26018 in gtype.c:g_type_create_instance for the reason why. All callers
26021 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26023 * docs/design/part-messages.txt:
26025 * docs/gst/tmpl/.cvsignore:
26026 * docs/gst/tmpl/gstcaps.sgml:
26027 * docs/gst/tmpl/gstclock.sgml:
26033 * gst/gstmessage.c:
26034 added descriptions for bus and message
26035 inline caps and clock docs
26037 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26039 * gst/gstmessage.c:
26040 * gst/gstmessage.h:
26043 2005-08-27 Stefan Kost <ensonic@users.sf.net>
26045 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26048 2005-08-26 Andy Wingo <wingo@pobox.com>
26050 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26051 element_set_state's return val.
26052 (test_2_elements): Add test that's been disabled for months.
26054 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26055 can-activate-pull properties.
26057 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26058 can-activate-pull properties. Implement is_seekable so fakesrc can
26059 operate in pull mode.
26061 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26063 (gst_base_sink_activate, gst_base_sink_activate_pull)
26064 (gst_base_sink_activate_push): Make activation mode choosing work.
26066 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26067 is right. Make pull mode work. Post an eos before pausing in pull
26069 (gst_base_sink_change_state): Pay attention to the core's
26070 change_state() return val.
26072 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26073 has-getrange properties. Cleanups.
26075 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26076 has_getrange and replace with can_activate_pull and
26079 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26080 locking comments. Remove has_loop, has_chain and replace with
26081 can_activate_pull and can_activate_push.
26083 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
26086 * examples/Makefile.am:
26087 * examples/metadata/Makefile.am:
26088 * examples/metadata/read-metadata.c: (message_loop),
26089 (have_pad_handler), (make_pipeline), (print_tag), (main):
26090 Add metadata reading example that loops over a list of filenames,
26091 dumping any tags found.
26093 * gst/gstbus.c: (gst_bus_dispose):
26094 * gst/gstelement.c: (gst_element_dispose):
26095 Release a few potentially-held references in dispose.
26097 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26099 * docs/gst/tmpl/gstminiobject.sgml:
26100 do *not* add tmpl/*.sgml files to CVS!
26102 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26104 * libs/gst/bytestream/.cvsignore:
26105 * libs/gst/bytestream/Makefile.am:
26106 * libs/gst/bytestream/adapter.c:
26107 * libs/gst/bytestream/adapter.h:
26108 * libs/gst/bytestream/bytestream.c:
26109 * libs/gst/bytestream/bytestream.h:
26110 * libs/gst/bytestream/filepad.c:
26111 * libs/gst/bytestream/filepad.h:
26112 removing obsolete files
26114 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26116 * docs/gst/gstreamer-docs.sgml:
26117 * docs/libs/gstreamer-libs-docs.sgml:
26118 disabed additional index entries again, as this makes docs-gen just
26119 slow and they aren't useful yet
26120 * docs/libs/gstreamer-libs-sections.txt:
26121 little -section.txt cleanup for libs
26123 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
26125 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26126 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26127 fix up some debugging
26128 (gst_base_transform_get_unit_size),
26129 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26130 (gst_base_transform_handle_buffer):
26131 * gst/base/gstbasetransform.h:
26132 handle and store timed NEWSEGMENT events so that subclasses that
26133 calculate time by counting samples have a segment_start time they
26134 need to add to their timestamps - see audioresample
26136 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26139 removed ';' from the end of macro defs
26140 * docs/gst/gstreamer-docs.sgml:
26141 * docs/gst/gstreamer-sections.txt:
26142 * docs/gst/tmpl/.cvsignore:
26144 * gst/gstelement.c: (gst_element_class_init),
26145 (gst_element_set_state), (activate_pads),
26146 (gst_element_save_thyself):
26147 * gst/gstevent.c: (gst_event_new_newsegment):
26149 * gst/gstiterator.c:
26150 * gst/gstiterator.h:
26153 * gst/gstutils.c: (gst_pad_query_convert):
26155 fixed parameter name mismatches between source, header and docs
26156 added some more docs, resolved the last batch of unused elements in
26157 docs (now someone needs to doc them)
26159 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26161 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26162 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26163 don't walk through the plugins backwards. Where is all this
26164 reversed logic coming from ?
26166 2005-08-25 Wim Taymans <wim@fluendo.com>
26168 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26169 (gst_base_transform_transform_size),
26170 (gst_base_transform_configure_caps),
26171 (gst_base_transform_get_unit_size),
26172 (gst_base_transform_buffer_alloc),
26173 (gst_base_transform_change_state):
26174 * gst/base/gstbasetransform.h:
26175 Cache caps unit_size.
26176 Make sure we cannot negotiate up and downstream at the
26179 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26181 * gst/gst.c: (init_pre), (init_post):
26182 register the installed plugin path after the env var
26183 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26184 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26185 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26186 directories, so the tests can prefer uninstalled over installed
26188 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26190 * gst/base/gstbasetransform.h:
26195 2005-08-25 Wim Taymans <wim@fluendo.com>
26197 * gst/gstbin.c: (bin_bus_handler):
26198 Be a bit more conservative about the posted message.
26200 * gst/gstbus.c: (gst_bus_post):
26201 Some cleanups, warn wrong return values.
26203 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26205 * check/gst/gstbin.c: (GST_START_TEST):
26206 * gst/gstbin.c: (bin_bus_handler):
26207 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26208 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26209 (gst_message_new_warning), (gst_message_new_tag),
26210 (gst_message_new_state_changed), (gst_message_new_segment_start),
26211 (gst_message_new_segment_done), (gst_message_new_custom):
26212 * gst/gstmessage.h:
26213 * tools/gst-launch.c: (event_loop):
26214 * tools/gst-md5sum.c: (event_loop):
26215 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26217 2005-08-25 Wim Taymans <wim@fluendo.com>
26219 * check/generic/states.c: (GST_START_TEST):
26220 Cleanup can be done at the end.
26222 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26223 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26224 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26225 Oh boy.. Thanks for finding this, Thomas.
26227 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26229 * docs/gst/gstreamer.types:
26230 added missing types
26232 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26234 * docs/gst/gstreamer-docs.sgml:
26235 * docs/gst/gstreamer-sections.txt:
26236 * docs/gst/tmpl/.cvsignore:
26238 * gst/gstiterator.c:
26240 * gst/registries/gstxmlregistry.h:
26241 added missing classes and symbols (123 more to go)
26242 removed removed symbols from section file
26243 fixed many doc-comments
26245 2005-08-24 Wim Taymans <wim@fluendo.com>
26247 * check/generic/states.c: (GST_START_TEST):
26248 Make sure all tasks are stopped.
26250 * check/gst/gstbin.c: (GST_START_TEST):
26251 Unref after usage for proper valgrinding.
26253 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26254 Really wait for the task to stop before destroying the
26257 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26258 (gst_queue_src_activate_push):
26259 Small cleanups. Don't stop the task when we did not start
26262 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26263 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26264 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26267 Protect the stream lock with the object lock.
26268 Disallow setting the stream lock when running.
26269 Add cleanup_all to wait for the threadpool to finish.
26270 Remove code to autoallocate a mutex if none was provided.
26271 Add _join() to wait for a task to stop.
26272 Protect the thread pool with a global lock.
26274 2005-08-24 Wim Taymans <wim@fluendo.com>
26276 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26277 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26278 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26279 * gst/base/gstbasesink.h:
26280 Handle newsegment events correctly.
26281 Drop buffers out of the segment range.
26283 2005-08-22 Andy Wingo <wingo@pobox.com>
26285 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26286 macro, implements an interface and gstimplementsinterface for a
26289 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26291 * check/Makefile.am:
26292 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26293 add a test that does a bunch of state changes on elements
26294 needs some fixing for valgrind
26295 * check/states/sinks.c: (gst_object_suite):
26298 add prototype for gst_caps_is_equal_fixed
26300 * gst/gstregistrypool.c:
26303 2005-08-24 Andy Wingo <wingo@pobox.com>
26305 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26306 convert a negative value. Doesn't make much sense. Mostly this is
26307 here to force callers to ensure -1 maps to -1.
26309 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26311 * docs/pwg/advanced-types.xml:
26312 Well done to Michael for catching my deliberate introduction
26313 of this spelling mistake.
26314 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26315 * gst/gstelement.h:
26316 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26317 unlink pads before removing the element from the bin.
26319 2005-08-24 Andy Wingo <wingo@pobox.com>
26321 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26322 the same thing as GST_DEBUG=*:4.
26323 (parse_debug_level, parse_debug_category): New helper parsers.
26325 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26327 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26328 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26329 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26330 (gst_base_transform_buffer_alloc),
26331 (gst_base_transform_handle_buffer):
26332 use gboolean return values and pointers to size so we can use the
26333 full GST_BUFFER_SIZE range (guint) for buffer sizes
26334 use GstPadDirection for transform_caps
26335 * gst/base/gstbasetransform.h:
26336 rename get_size to get_unit_size since that's what it is
26337 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26338 use GstPadDirection for transform_caps
26339 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26341 cleanup and debugging
26343 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26345 * gst/gstelement.c: (gst_element_class_init),
26346 (gst_element_set_state), (activate_pads),
26347 (gst_element_save_thyself):
26348 * tools/gst-compprep.c: (main):
26349 * tools/gst-inspect.c: (print_element_properties_info):
26350 * tools/gst-xmlinspect.c: (print_element_properties):
26351 Fixed long standing mem-leak
26353 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26355 * check/gst/gstbin.c: (GST_START_TEST):
26356 * gst/gstbin.c: (bin_bus_handler):
26357 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26358 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26359 (gst_message_new_warning), (gst_message_new_tag),
26360 (gst_message_new_state_changed), (gst_message_new_segment_start),
26361 (gst_message_new_segment_done), (gst_message_new_custom):
26362 * gst/gstmessage.h:
26363 * tools/gst-launch.c: (event_loop):
26364 * tools/gst-md5sum.c: (event_loop):
26365 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26366 that applications can sensibly post custom messages with references
26367 to their own objects.
26369 2005-08-24 Andy Wingo <wingo@pobox.com>
26371 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26374 2005-08-24 Wim Taymans <wim@fluendo.com>
26376 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26377 (gst_base_transform_transform_caps),
26378 (gst_base_transform_transform_size),
26379 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26380 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26381 (gst_base_transform_handle_buffer):
26382 * gst/base/gstbasetransform.h:
26383 Many fixes and new features added by Thomas. Can now also do
26384 transforms with variable sizes and a custom fixate_caps function.
26386 2005-08-24 Wim Taymans <wim@fluendo.com>
26388 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26392 Cast to ClockTime before formatting to time.
26397 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26399 * check/gst-libs/controller.c: (GST_START_TEST),
26400 (gst_controller_suite):
26401 * docs/gst/tmpl/gstcaps.sgml:
26402 * docs/gst/tmpl/gstghostpad.sgml:
26403 * docs/gst/tmpl/gstquery.sgml:
26404 * docs/gst/tmpl/gstutils.sgml:
26405 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26406 (gst_object_sink_values), (gst_object_get_value_arrays),
26407 (gst_object_get_value_array):
26408 gracefully handle helper method calls to objects that are not beeing
26409 controlled, added test case for that
26411 2005-08-23 Wim Taymans <wim@fluendo.com>
26413 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26414 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26415 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26416 (gst_event_parse_qos), (gst_event_new_seek),
26417 (gst_event_parse_seek):
26419 Some more debugging output and doc cleanups.
26421 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26422 Fix possible deadlock.
26424 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26426 * docs/gst/gstreamer-docs.sgml:
26427 * docs/gst/gstreamer-sections.txt:
26428 * docs/gst/gstreamer.types:
26429 * docs/gst/tmpl/.cvsignore:
26432 * gst/gstelement.c:
26434 added 100 symbols from gstreamer-unused.txt to the right sections
26435 fixed more broken comments
26436 added GstBus to docs
26438 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26440 * docs/gst/gstreamer-sections.txt:
26441 * docs/gst/tmpl/.cvsignore:
26442 * docs/gst/tmpl/gstbin.sgml:
26443 * docs/gst/tmpl/gstbuffer.sgml:
26444 * gst/base/gstbasesrc.c:
26445 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26448 * tools/gst-launch.1.in:
26449 inlined more doc comments, added missing comments and fixed comments
26452 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26454 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26458 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26460 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26461 * gst/gststructure.h:
26462 add a fixate function for booleans; add a FIXME that these func
26463 names should probably be gst_structure_fixate_*
26465 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26467 * docs/gst/gstreamer-docs.sgml:
26468 * docs/gst/gstreamer-sections.txt:
26470 * gst/gstbin.c: (gst_bin_get_type),
26471 (gst_bin_child_proxy_get_child_by_index),
26472 (gst_bin_child_proxy_get_children_count),
26473 (gst_bin_child_proxy_init):
26474 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26475 (gst_child_proxy_get_child_by_index),
26476 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26477 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26478 (gst_child_proxy_get), (gst_child_proxy_set_property),
26479 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26480 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26481 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26482 * gst/gstchildproxy.h:
26483 * gst/parse/grammar.y:
26484 * tools/gst-inspect.c: (print_interfaces),
26485 (print_element_properties_info), (print_element_info):
26486 ported gstchildproxy over from 0.8
26487 ported gst-inspect fixes and enhancements over from 0.8
26489 2005-08-22 Wim Taymans <wim@fluendo.com>
26491 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26492 (gst_base_transform_handle_buffer):
26493 Also call the transform function if we have ANY caps.
26495 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26498 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26500 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26501 Don't pretend to handle seek events if the source is not seekable
26503 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26505 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26506 Remove extra parameter to debug output
26508 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26509 (gst_base_src_do_seek), (gst_base_src_activate_push):
26510 Fix seek event handling.
26512 * gst/gstpipeline.c: (gst_pipeline_change_state):
26513 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26514 (gst_queue_src_activate_push):
26515 Don't start the src pad task on FLUSH_STOP if the pad
26519 2005-08-22 Wim Taymans <wim@fluendo.com>
26521 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26522 Added check for gst_static_caps_get() refcounting.
26524 2005-08-22 Wim Taymans <wim@fluendo.com>
26526 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26527 Make _static_caps_get() refcounting sane.
26529 * gst/gstelement.c: (gst_element_set_state):
26530 Add g_return_val_if_fail() to protect against segfaults.
26532 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26534 * docs/gst/tmpl/gstevent.sgml:
26537 inlined remaining docs, added missing doc comments
26539 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26541 * check/gst/gstbin.c: (GST_START_TEST):
26542 since we don't know when preroll is done, use refcount range
26544 * gst/check/gstcheck.h:
26545 add macro for checking refcount range
26547 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26549 * check/Makefile.am:
26550 clean up environment for when registry gets built versus
26551 when actual tests are run; valgrind seems to not report
26552 leaks if GST_PLUGIN_PATH is set to some specific values
26553 * check/gst/gstbin.c: (GST_START_TEST):
26554 add more refcounting checks; maybe this exposes a
26556 * common/check.mak:
26557 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26558 * gst/check/gstcheck.h:
26559 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26560 (gst_bin_change_state):
26561 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26562 add/fix debugging/whitespace
26564 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26566 * check/gst/gstevent.c: (event_probe), (test_event),
26568 Er, don't call gst_bin_watch_for_state_change you idiot.
26570 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26572 * check/Makefile.am:
26573 Use CHECK_CFLAGS and CHECK_LIBS
26574 * check/gst/gstevent.c: (event_probe), (test_event),
26577 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26578 (gst_base_src_start), (gst_base_src_stop),
26579 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26580 (gst_base_src_change_state):
26581 Sprinkle gst_base_src_stop liberally around error paths to fix
26582 problems reusing a source after failed state changes.
26583 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26584 (helper_find_suggest), (gst_type_find_helper):
26585 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26587 * docs/gst/tmpl/gstevent.sgml:
26588 Migrate part of the docs from the SGML file. Wait for ensonic to
26589 tell me how I did it wrong ;)
26590 * tools/gst-typefind.c: (main):
26591 Extra robustness to state changes between files.
26593 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26595 * check/Makefile.am:
26596 don't valgrind the controller test - it's leaking - Stefan, HELP
26597 * gst/check/gstcheck.c: (gst_check_message_error),
26598 (gst_check_chain_func), (gst_check_setup_element),
26599 (gst_check_teardown_element), (gst_check_setup_src_pad),
26600 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26601 (gst_check_teardown_sink_pad):
26602 * gst/check/gstcheck.h:
26603 add a bunch of methods to set up elements, and src and sink pads
26604 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26605 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26608 * gst/gstmessage.c:
26610 whitespace/doc fixes
26612 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26614 * gst/gstelement.h:
26615 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26616 be handled by the application and not always printed as well
26618 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26620 * check/Makefile.am:
26622 * gst/check/gstcheck.c: (gst_check_message_error):
26623 * gst/check/gstcheck.h:
26624 add a fail_unless_equals_int
26625 add fail_unless for error messages
26627 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26629 * check/Makefile.am:
26631 * common/Makefile.am:
26632 * common/check.mak:
26634 factor out some of the common stuff so we can use it
26636 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26638 * check/Makefile.am:
26639 * check/gst/gstiterator.c: (GST_START_TEST):
26640 * check/gst/gstsystemclock.c: (GST_START_TEST),
26641 (gst_systemclock_suite):
26642 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26644 valgrind more tests
26646 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26648 * check/elements/.cvsignore:
26649 * check/elements/gstfakesrc.c:
26650 rename to name of element
26651 * check/elements/identity.c: (chain_func), (event_func),
26652 (setup_identity), (cleanup_identity), (GST_START_TEST),
26653 (identity_suite), (main):
26654 add a test for identity
26655 * check/Makefile.am:
26656 * pkgconfig/Makefile.am:
26657 * pkgconfig/gstreamer-check.pc.in:
26658 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26662 move the check stuff to a library that gets installed
26663 * check/gst-libs/controller.c: (GST_START_TEST):
26664 * check/gst-libs/gdp.c:
26665 * check/gst/gst.c: (GST_START_TEST):
26666 * check/gst/gstbin.c:
26667 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26668 * check/gst/gstbus.c:
26669 * check/gst/gstcaps.c: (GST_START_TEST):
26670 * check/gst/gstelement.c:
26671 * check/gst/gstghostpad.c:
26672 * check/gst/gstiterator.c:
26673 * check/gst/gstmessage.c:
26674 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26675 * check/gst/gstobject.c:
26676 * check/gst/gstpad.c: (GST_START_TEST):
26677 * check/gst/gststructure.c: (GST_START_TEST):
26678 * check/gst/gstsystemclock.c: (GST_START_TEST),
26679 (gst_systemclock_suite):
26680 * check/gst/gsttag.c: (gst_tag_suite):
26681 * check/gst/gstvalue.c:
26682 * check/pipelines/cleanup.c:
26683 * check/pipelines/simple_launch_lines.c:
26684 * check/states/sinks.c:
26685 change include statement
26687 * docs/gst/gstreamer-sections.txt:
26688 * docs/gst/tmpl/gstpad.sgml:
26689 document more pad stuff
26690 * gst/gstminiobject.c: (gst_mini_object_ref),
26691 (gst_mini_object_unref):
26694 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26696 * docs/gst/tmpl/gst.sgml:
26698 eliminate another tmpl file, fix spelling in the long-description
26700 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26702 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26703 (test_event), (timediff), (gstevents_suite):
26704 Should fix build on 64-bit arch's
26706 2005-08-18 Andy Wingo <wingo@pobox.com>
26708 Make sure that when a pipeline goes to PLAYING, that data has
26709 actually hit the sink.
26711 * check/states/sinks.c (test_sink): A sink that doesn't get any
26712 data shouldn't return SUCCESS for going to either PLAYING or
26713 PAUSED. Test also the return values on the way back down.
26715 * gst/gstelement.c (gst_element_set_state): When changing the
26716 state of an element currently changing state asynchronously, go to
26717 lost-state after commiting the pending state. Makes future calls
26718 to get_state continue to return ASYNC.
26720 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26721 ASYNC when going to PLAYING if we still don't have preroll, as can
26722 happen with live sources.
26724 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26726 * docs/pwg/advanced-types.xml:
26727 Hack long paragraph into 2 chunks as a workaround for buggy
26728 jadetex version in sid and breezy that loops infinitely and
26731 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26733 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26734 (test_event), (timediff), (gstevents_suite):
26735 Provide more error margin in clock measurements to allow for
26736 g_get_current_time inaccuracies.
26738 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26740 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26741 (test_event), (timediff), (gstevents_suite):
26742 Fix error message output so I might be able to tell why the
26743 test works here but fails on the build farm.
26745 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26747 * check/Makefile.am:
26748 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26749 (test_event), (timediff), (gstevents_suite), (main):
26752 * docs/design/part-seeking.txt:
26753 Spelling correction
26755 * docs/gst/tmpl/gstevent.sgml:
26756 * docs/gst/tmpl/gstfakesrc.sgml:
26759 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26760 Treat a buffer-without-newsegment the same as a receiving
26761 a newsegment not in time format, and disable syncing to the clock
26764 * gst/gstbus.c: (gst_bus_set_sync_handler):
26765 Assert if anyone tries to replace the existing sync_handler for bus,
26766 as only the owner should be setting it.
26769 Have a fixed set of custom event enums with events identified by
26770 their structure name (as in 0.8), rather than a free-for-all
26771 allowing collisions between enum values from different plugins.
26773 * gst/gstpad.c: (gst_pad_class_init):
26776 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26777 Handle out-of-band downstream events from the sending thread.
26779 2005-08-17 Andy Wingo <wingo@pobox.com>
26781 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26782 play-timeout==0 to mean no timeout at all. In that case, don't
26783 bother with a get_state or a warning, just return directly, even
26786 * gst/base/gstbasetransform.c: Debug changes.
26789 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26790 ensure bins post state change messages. A bit of a hack but I can't
26791 think of a way to avoid it.
26793 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26795 2005-08-16 Andy Wingo <wingo@pobox.com>
26797 * gst/base/gstadapter.h:
26798 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26799 peek() but you own the data. Not terribly efficient atm.
26801 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26803 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26804 (gst_element_found_tags):
26806 Add two utility functions for tag handling.
26808 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26810 * docs/manual/advanced-dataaccess.xml:
26811 * docs/manual/basics-helloworld.xml:
26812 Fix docs to use _bin_add() before _link(), which fixes the examples
26813 with recent core versions (reported by Madhan Raj M
26814 <raj_madan@rediffmail.com>, #313199).
26816 2005-08-16 Wim Taymans <wim@fluendo.com>
26818 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26819 Added subtract checks.
26821 * docs/design/part-events.txt:
26822 Some more docs about newsegment
26824 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26827 * gst/gstcaps.c: (gst_caps_to_string):
26828 Add comments, cleanups.
26830 * gst/gstelement.c: (gst_element_save_thyself):
26833 * gst/gstvalue.c: (gst_value_collect_int_range),
26834 (gst_string_unwrap), (gst_value_union_int_int_range),
26835 (gst_value_union_int_range_int_range),
26836 (gst_value_intersect_int_int_range),
26837 (gst_value_intersect_int_range_int_range),
26838 (gst_value_intersect_double_double_range),
26839 (gst_value_intersect_double_range_double_range),
26840 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26841 (gst_value_subtract_int_range_int),
26842 (gst_value_subtract_double_range_double),
26843 (gst_value_subtract_double_range_double_range),
26844 (gst_value_subtract_from_list), (gst_value_subtract_list),
26845 (gst_value_can_compare), (gst_value_compare_fraction):
26846 Cleanups, add comments, remove unneeded asserts.
26848 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26850 * tools/gst-launch.c: (event_loop):
26851 don't convert NULL structures to strings
26853 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26855 * docs/gst/gstreamer-sections.txt:
26856 made some defines private
26857 * docs/gst/tmpl/gstconfig.sgml:
26858 * docs/gst/tmpl/gstqueue.sgml:
26859 * docs/gst/tmpl/gsttaglist.sgml:
26860 * docs/gst/tmpl/gsttypes.sgml:
26861 * docs/gst/tmpl/gstutils.sgml:
26862 * docs/pwg/appendix-porting.xml:
26863 * gst/base/gstbasesink.h:
26864 * gst/base/gstbasesrc.c:
26865 * gst/base/gstbasesrc.h:
26866 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26867 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26868 * gst/gstelement.c: (gst_element_class_init):
26869 * gst/gstpad.c: (gst_pad_class_init):
26870 * gst/gstqueue.c: (gst_queue_class_init):
26871 * gst/gstxml.c: (gst_xml_class_init):
26872 documented all undocumented signal inline
26873 * libs/gst/controller/gst-controller.h:
26876 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26878 * docs/pwg/appendix-porting.xml:
26879 Document _set_link_function -> _set_setcaps_function.
26881 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26883 * check/Makefile.am:
26884 add a .check target for running the check
26885 * check/gst-libs/controller.c: (GST_START_TEST):
26887 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26888 complete checks for gstbuffer; would be nice if I could get the
26889 gcov stuff to work so I can see if I actually completed gstbuffer.c
26890 * check/gstcheck.h:
26891 add ASSERT_BUFFER_REFCOUNT
26893 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26895 * docs/gst/gstreamer-sections.txt:
26896 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26898 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26899 spew out a warning if a tag that is already registered
26900 is re-registered, unless it is re-registered with a
26901 different type (#308438).
26903 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26905 * docs/pwg/appendix-porting.xml:
26906 * docs/pwg/building-state.xml:
26907 Add some paragraphs about state changes in 0.9 to the PWG
26908 and the porting guide, in particular about the new meaning
26909 of GST_STATE_PAUSED and how to write state change functions
26910 with concurrent access by multiple threads in mind.
26912 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26914 * docs/gst/gstreamer-docs.sgml:
26915 * docs/libs/gstreamer-libs-docs.sgml:
26916 added deprecation and since indexes
26917 * libs/gst/controller/gst-controller.c:
26918 * libs/gst/controller/gst-helper.c:
26922 2005-08-11 Wim Taymans <wim@fluendo.com>
26924 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26925 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26926 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26927 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26928 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26929 (gst_ghost_pad_set_target):
26930 Actually implement (re)setting the target on a ghostpad
26931 as described in the docs.
26933 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26935 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26936 Check whether GST_DEBUG_NO_COLOR environment variable is
26937 set and disable coloured debug output if that is the case.
26939 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26941 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26942 (gst_type_find_helper):
26943 The memory returned by gst_type_find_peek() needs to
26944 stay valid until the end of a typefind function, and
26945 typefind functions may keep results from different
26946 offsets around, so we can't just unref the buffer from
26947 the previous _peek(), but have to save all buffers
26948 returned by _peek() until typefinding is done and only
26951 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26953 * docs/gst/gstreamer-sections.txt:
26955 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26957 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26959 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26960 Fix a pretty good memleak.
26962 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26964 * gst/gstiterator.h:
26965 Fix wrong include and 'make distcheck'.
26967 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26969 * gst/gstbin.c: (bin_bus_handler):
26970 Use gst_element_post_message() instead.
26972 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26974 * gst/base/gstadapter.h:
26975 * gst/base/gstbasesink.h:
26976 * gst/base/gstbasesrc.h:
26977 * gst/base/gstbasetransform.h:
26978 * gst/base/gstcollectpads.h:
26979 * gst/base/gstpushsrc.h:
26980 * gst/gstiterator.h:
26981 Add padding to our base elements' class and instance structs and
26982 to GstIterator (you will need to rebuild all plugins and apps!)
26984 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26986 * gst/gstbin.c: (bin_bus_handler):
26987 Make default message forwarding from child->bus to bin->bus
26988 threadsafe and make it not emit warnings if the parent has no bus.
26990 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26992 * gst/gstelement.c: (activate_pads):
26993 On paused->ready, set pad->caps to NULL, as is the documented
26994 behaviour in this state change. Fixes playback of series of
26995 media files when visualization is enabled in Totem.
26997 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26999 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27000 Allow NULL as filter-caps (which means "any").
27002 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27004 * docs/libs/gstreamer-libs-sections.txt:
27005 * libs/gst/controller/gst-controller.c:
27006 * libs/gst/controller/gst-controller.h:
27007 * libs/gst/controller/gst-helper.c:
27008 adding more entries to the docs and fix small doc-bugs
27010 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27012 * docs/gst/gstreamer-docs.sgml:
27013 * docs/gst/gstreamer-sections.txt:
27014 * docs/gst/gstreamer.types:
27015 * docs/gst/tmpl/gstbasesink.sgml:
27016 * docs/gst/tmpl/gstbasesrc.sgml:
27017 * docs/gst/tmpl/gstbasetransform.sgml:
27018 * docs/gst/tmpl/gstfakesrc.sgml:
27019 * gst/base/gstcollectpads.c:
27020 * gst/base/gstcollectpads.h:
27021 * libs/gst/controller/gst-controller.c:
27022 * libs/gst/controller/gst-controller.h:
27023 * libs/gst/controller/gst-helper.c:
27024 * libs/gst/controller/gst-interpolation.c:
27025 * libs/gst/controller/lib.c:
27026 added long/short desc for controller docs
27027 added collectpads base class docs
27028 added correct includes to base-class docs
27030 2005-08-05 Stefan Kost <ensonic@users.sf.net>
27032 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27033 (gst_test_mono_source_set_property),
27034 (gst_test_mono_source_class_init), (GST_START_TEST),
27035 (gst_controller_suite):
27036 * docs/gst/gstreamer-docs.sgml:
27037 * docs/gst/gstreamer-sections.txt:
27038 * docs/gst/gstreamer.types:
27039 * docs/libs/gstreamer-libs-docs.sgml:
27040 * docs/libs/gstreamer-libs-sections.txt:
27041 * gst/base/gstadapter.c:
27042 * libs/gst/controller/gst-controller.c:
27043 (gst_controlled_property_new), (gst_controlled_property_free),
27044 (gst_controller_new_valist),
27045 (gst_controller_remove_properties_valist),
27046 (gst_controller_sink_values), (_gst_controller_finalize):
27047 * libs/gst/controller/gst-controller.h:
27048 * libs/gst/controller/gst-helper.c:
27049 (gst_object_control_properties), (gst_object_uncontrol_properties),
27050 (gst_object_get_controller), (gst_object_set_controller),
27051 (gst_object_sink_values), (gst_object_get_value_arrays),
27052 (gst_object_get_value_array):
27053 more tests (and fixes) for the controller
27054 more docs for the controller
27055 integrated companies docs for the adapter
27057 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
27059 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27060 (GST_START_TEST), (fakesrc_suite):
27061 add tests for sizetype
27063 2005-08-04 Andy Wingo <wingo@pobox.com>
27065 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27066 fixes buffer_alloc proxying among other things.
27068 * gst/base/gstbasetransform.c:
27069 * gst/base/gstbasetransform.h:
27070 Revert patch to gstbasetransform from 7-28 removing
27073 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27074 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27075 Semantics changed, should return not the size of the output buffer
27076 but the byte size of a buffer with a given caps.
27078 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27080 (gst_base_transform_configure_caps): Don't set out_size here: (in,
27081 out) are not the pad caps until setcaps finishes.
27082 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27083 not-in-place case as well. Deal with changing from in-place to
27084 not-in-place within calling pad_alloc_buffer. Still a bit
27085 concerned about the overhead here...
27087 2005-08-03 Andy Wingo <wingo@pobox.com>
27089 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27090 fixating is an error.
27092 2005-08-04 Edward Hervey <edward@fluendo.com>
27094 * gst/base/gstadapter.h:
27095 Added gst_adapter_get_type() to the header
27097 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27099 * check/Makefile.am:
27100 * check/gst-libs/controller.c:
27101 * libs/gst/controller/gst-controller.c:
27102 (gst_controller_new_valist):
27103 added check test suite for the controller
27104 * gst/base/gstpushsrc.c:
27107 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27109 * docs/gst/Makefile.am:
27110 * docs/gst/gstreamer-docs.sgml:
27111 * docs/gst/gstreamer-sections.txt:
27112 * docs/gst/gstreamer.types:
27113 * docs/gst/tmpl/gstfakesrc.sgml:
27115 * gst/base/gstbasesink.c:
27116 * gst/base/gstbasesink.h:
27117 * gst/base/gstbasesrc.c:
27118 * gst/base/gstbasesrc.h:
27119 * gst/base/gstbasetransform.c:
27120 * gst/base/gstpushsrc.c:
27121 * gst/base/gstpushsrc.h:
27122 add short/long description docs to base classes
27123 add pushsrc to the docs
27124 remove consolidated doc fragments
27126 2005-08-03 Stefan Kost <ensonic@users.sf.net>
27129 * docs/libs/Makefile.am:
27130 * docs/libs/gstreamer-libs-docs.sgml:
27131 * docs/libs/gstreamer-libs-sections.txt:
27132 * docs/libs/gstreamer-libs.types:
27133 * examples/Makefile.am:
27134 * examples/controller/.cvsignore:
27135 * examples/controller/Makefile.am:
27136 * examples/controller/audio-example.c: (main):
27137 * libs/gst/Makefile.am:
27138 * libs/gst/controller/.cvsignore:
27139 * libs/gst/controller/Makefile.am:
27140 * libs/gst/controller/gst-controller.c:
27141 (on_object_controlled_property_changed), (gst_timed_value_compare),
27142 (gst_timed_value_find),
27143 (gst_controlled_property_set_interpolation_mode),
27144 (gst_controlled_property_new), (gst_controlled_property_free),
27145 (gst_controller_find_controlled_property),
27146 (gst_controller_new_valist), (gst_controller_new),
27147 (gst_controller_remove_properties_valist),
27148 (gst_controller_remove_properties), (gst_controller_set),
27149 (gst_controller_set_from_list), (gst_controller_unset),
27150 (gst_controller_get), (gst_controller_get_all),
27151 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27152 (gst_controller_get_value_array),
27153 (gst_controller_set_interpolation_mode),
27154 (_gst_controller_finalize), (_gst_controller_init),
27155 (_gst_controller_class_init), (gst_controller_get_type):
27156 * libs/gst/controller/gst-controller.h:
27157 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27158 (g_object_uncontrol_properties), (g_object_get_controller),
27159 (g_object_set_controller), (g_object_sink_values),
27160 (g_object_get_value_arrays), (g_object_get_value_array):
27161 * libs/gst/controller/gst-interpolation.c:
27162 (gst_controlled_property_find_timed_value_node),
27163 (interpolate_none_get), (interpolate_trigger_get),
27164 (interpolate_trigger_get_value_array):
27165 * libs/gst/controller/lib.c: (gst_controller_init):
27166 * pkgconfig/Makefile.am:
27167 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27168 * pkgconfig/gstreamer-control.pc.in:
27169 * testsuite/Makefile.am:
27170 * testsuite/controller/.cvsignore:
27171 * testsuite/controller/Makefile.am:
27172 * testsuite/controller/interpolator.c: (main):
27173 added controller code
27174 removed dparam pc files
27176 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27177 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27178 (gst_collectpads_stop):
27179 Broadcast the condition when shutting down, to make sure we wake all
27180 threads up. Shut down pads on finalize, for safety.
27182 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27183 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27184 (gst_base_transform_handle_buffer),
27185 (gst_base_transform_change_state):
27186 Handle PAUSED->READY->PAUSED transition after negotiation
27188 * gst/gstmessage.c: (gst_message_init):
27189 Extra piece of debug for new messages.
27191 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27194 * docs/gst/tmpl/gstbasesrc.sgml:
27195 * docs/gst/tmpl/gstelement.sgml:
27196 * docs/gst/tmpl/gstevent.sgml:
27197 * docs/gst/tmpl/gstfakesrc.sgml:
27198 * docs/gst/tmpl/gstformat.sgml:
27199 * docs/gst/tmpl/gstghostpad.sgml:
27200 * docs/gst/tmpl/gstpad.sgml:
27201 * docs/gst/tmpl/gstquery.sgml:
27202 * docs/gst/tmpl/gststructure.sgml:
27203 * docs/gst/tmpl/gsttaglist.sgml:
27204 * docs/gst/tmpl/gstvalue.sgml:
27205 * docs/libs/gstreamer-libs-docs.sgml:
27206 * docs/libs/gstreamer-libs-sections.txt:
27207 * docs/libs/gstreamer-libs.types:
27208 * libs/gst/Makefile.am:
27209 * libs/gst/control/.cvsignore:
27210 * libs/gst/control/Makefile.am:
27211 * libs/gst/control/control.c:
27212 * libs/gst/control/control.h:
27213 * libs/gst/control/dparam.c:
27214 * libs/gst/control/dparam.h:
27215 * libs/gst/control/dparam_smooth.c:
27216 * libs/gst/control/dparam_smooth.h:
27217 * libs/gst/control/dparamcommon.h:
27218 * libs/gst/control/dparammanager.c:
27219 * libs/gst/control/dparammanager.h:
27220 * libs/gst/control/dplinearinterp.c:
27221 * libs/gst/control/dplinearinterp.h:
27222 * libs/gst/control/unitconvert.c:
27223 * libs/gst/control/unitconvert.h:
27224 * testsuite/Makefile.am:
27225 * testsuite/dynparams/.cvsignore:
27226 * testsuite/dynparams/Makefile.am:
27227 * testsuite/dynparams/dparamstest.c:
27228 * tools/Makefile.am:
27229 * tools/gst-inspect.c: (print_element_info), (main):
27230 * tools/gst-xmlinspect.c: (print_element_info), (main):
27231 deactivate and remove dparams (libgstcontrol)
27233 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27235 * gst/elements/gsttypefindelement.c:
27236 (gst_type_find_element_have_type), (gst_type_find_element_init),
27237 (stop_typefinding), (gst_type_find_element_handle_event),
27238 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27239 * gst/elements/gsttypefindelement.h:
27240 Set caps on all outgoing buffers, not just the first one.
27242 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27244 * gst/elements/gsttypefindelement.c:
27245 (gst_type_find_element_have_type),
27246 (gst_type_find_element_check_set_buffer_caps),
27247 (gst_type_find_element_init), (stop_typefinding),
27248 (gst_type_find_element_handle_event),
27249 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27250 * gst/elements/gsttypefindelement.h:
27251 Set caps on first outgoing buffer when we've found the type.
27253 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27255 * docs/gst/gstreamer-docs.sgml:
27256 * docs/gst/gstreamer-sections.txt:
27257 * docs/gst/tmpl/gstscheduler.sgml:
27258 * docs/gst/tmpl/gstschedulerfactory.sgml:
27259 Remove some old cruft from docs.
27261 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27264 Fix inline docs for GstPadLinkReturn.
27266 * gst/gststructure.c: (gst_structure_has_name):
27267 * gst/gststructure.h:
27268 * docs/gst/gstreamer-sections.txt:
27269 New API: gst_structure_has_name().
27271 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27274 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27275 and _LARGEFILE_SOURCE in config.h as required. Do not
27276 export those flags in our .pc files any longer (#142209).
27278 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27280 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27281 (gst_file_sink_do_seek), (gst_file_sink_event),
27282 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27283 Redo seek/tell calls with large file support in mind; add some
27284 debugging messages; add log message that tells us when large
27285 file support is unavailable or not enabled for some reason.
27287 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27288 Add log message that tells us when large file support
27289 is unavailable or not enabled for some reason.
27291 2005-07-29 Wim Taymans <wim@fluendo.com>
27293 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27294 Added test for removing an element with ghostpad from a bin.
27295 Fixed test as current implementation does the right thing.
27297 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27298 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27299 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27300 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27301 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27302 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27303 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27304 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27305 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27306 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27307 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27308 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27309 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27310 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27311 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27312 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27313 * gst/gstghostpad.h:
27314 Clean up ghostpads, remove properties for internal stuff.
27317 Prepare for switching targets, not all use cases work yet.
27319 2005-07-29 Wim Taymans <wim@fluendo.com>
27321 * docs/design/part-gstghostpad.txt:
27324 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27325 (gst_bin_remove_func):
27326 Unlinking pads while holding the bin LOCK is not a good
27329 * gst/gstpad.c: (gst_pad_class_init),
27330 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27331 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27332 No prob setting template after creating the pad.
27334 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27336 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27337 (gst_bus_peek), (gst_bus_source_dispatch),
27338 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27339 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27340 gst_bus_poll may be called from other threads. Handle
27341 this nicely by not making poll_data disappear off the
27342 stack once gst_bus_poll returns.
27343 gst_bus_peek now increments the refcount on the returned
27346 2005-07-29 Wim Taymans <wim@fluendo.com>
27348 * docs/design/part-gstghostpad.txt:
27349 Overview of current GhostPad datastructures and use
27350 cases for changing the target.
27352 2005-07-28 Wim Taymans <wim@fluendo.com>
27354 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27355 Added checks for hierarchy consistency whan adding linked
27358 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27359 Added check to test element scheduling without bin/pipeline.
27361 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27362 First add elements to bin, then link.
27364 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27365 (gst_bin_remove_func):
27366 Unlink pads from elements added/removed from bin to maintain
27367 hierarchy consistency.
27369 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27371 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27372 (gst_base_transform_handle_buffer):
27373 * gst/base/gstbasetransform.h:
27374 Remove broken delay_configure (fixes renegotiation of software
27375 scaling pipelines); remove some leftover printf()s.
27377 2005-07-28 Wim Taymans <wim@fluendo.com>
27379 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27380 Added some more tests for wrong hierarchy
27382 * docs/design/part-overview.txt:
27385 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27388 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27389 (gst_element_dispose):
27390 Some more cleanups.
27392 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27393 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27394 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27395 (gst_pad_set_caps), (gst_pad_send_event):
27396 Check for correct hierarchy when linking pads. Moving to
27397 strict requirement for ghostpads when linking elements in
27401 Clean ups. Added WRONG_HIERARCHY return value.
27403 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27405 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27406 Better debug if no transform is possible.
27408 2005-07-27 Wim Taymans <wim@fluendo.com>
27410 * docs/random/wtay/network-transp:
27411 Some old doc I had.
27413 2005-07-27 Wim Taymans <wim@fluendo.com>
27415 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27416 (gst_dp_event_from_packet):
27417 Fix serialization of seek events.
27419 2005-07-27 Wim Taymans <wim@fluendo.com>
27421 * check/gst-libs/gdp.c: (GST_START_TEST):
27422 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27423 Fix compilation and fix event serialization.
27425 2005-07-27 Wim Taymans <wim@fluendo.com>
27428 * docs/design/part-TODO.txt:
27429 * docs/design/part-events.txt:
27432 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27433 (gst_base_sink_event), (gst_base_sink_do_sync),
27434 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27435 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27436 (gst_base_src_do_seek), (gst_base_src_event_handler),
27437 (gst_base_src_loop):
27438 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27439 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27440 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27441 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27442 (gst_base_transform_set_passthrough),
27443 (gst_base_transform_is_passthrough):
27444 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27445 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27451 * gst/gstelement.c: (gst_element_seek):
27452 * gst/gstelement.h:
27453 Update gst_element_seek.
27455 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27456 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27457 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27458 (gst_event_new_eos), (gst_event_new_newsegment),
27459 (gst_event_parse_newsegment), (gst_event_new_tag),
27460 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27461 (gst_event_parse_qos), (gst_event_new_seek),
27462 (gst_event_parse_seek), (gst_event_new_navigation):
27464 Make GstEvent use GstStructure. Add parsing code, make sure the
27465 API is sufficiently generic.
27466 Mark possible directions of events and serialization.
27468 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27469 (_gst_message_copy), (gst_message_new_segment_start),
27470 (gst_message_new_segment_done), (gst_message_new_custom),
27471 (gst_message_parse_segment_start),
27472 (gst_message_parse_segment_done):
27475 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27476 (gst_pad_set_caps), (gst_pad_send_event):
27477 Update for new events.
27478 Catch events sent in wrong directions.
27480 * gst/gstqueue.c: (gst_queue_link_src),
27481 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27482 (gst_queue_handle_src_query):
27487 Remove event code from this file.
27489 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27490 (gst_dp_event_from_packet):
27493 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27495 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27496 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27497 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27498 Make debugging actually useful.
27500 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27502 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27503 (gst_pad_fixate_caps):
27504 Implement default fixation once again, so that gst_pad_fixate()
27505 actually does anything at all. This probably needs to be some
27506 sort of a last resort, and use profile-based fixation first, but
27507 since that doesn't exist yet, this is the best we have. Fixes
27508 visualization in Totem.
27510 2005-07-22 Wim Taymans <wim@fluendo.com>
27512 * docs/design/part-events.txt:
27515 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27516 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27517 (gst_base_sink_activate_pull):
27518 Some more comments.
27520 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27521 (gst_fake_src_create):
27522 Fix handoff marshall.
27524 * gst/elements/gstidentity.c: (gst_identity_class_init),
27525 (gst_identity_transform_ip):
27526 We're a real inplace element.
27528 * gst/gstbus.c: (gst_bus_post):
27529 Added some comments.
27531 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27532 * tests/muxing/case1.c: (main):
27533 * tests/sched/dynamic-pipeline.c: (main):
27534 * tests/sched/interrupt1.c: (main):
27535 * tests/sched/interrupt2.c: (main):
27536 * tests/sched/interrupt3.c: (main):
27537 * tests/sched/runxml.c: (main):
27538 * tests/sched/sched-stress.c: (main):
27539 * tests/seeking/seeking1.c: (event_received), (main):
27540 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27542 * tests/threadstate/threadstate3.c: (main):
27543 * tests/threadstate/threadstate4.c: (main):
27544 * tests/threadstate/threadstate5.c: (main):
27547 2005-07-21 Wim Taymans <wim@fluendo.com>
27549 * docs/design/part-seeking.txt:
27550 Some small additions.
27552 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27553 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27554 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27555 * gst/base/gstbasesink.h:
27556 discont values are gint64, handle the math correctly.
27558 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27559 Make the basesrc report error if the source pad is not linked.
27561 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27562 (gst_queue_loop), (gst_queue_handle_src_query),
27563 (gst_queue_src_activate_push):
27564 Make queue collect data even if the srcpad is not linked.
27565 Start pushing out data as soon as it is linked.
27567 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27569 Added gst_flow_get_name() to ease error reporting.
27571 2005-07-20 Wim Taymans <wim@fluendo.com>
27573 * gst/gstmessage.c: (gst_message_new_segment_start),
27574 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27575 (gst_message_parse_segment_done):
27576 * gst/gstmessage.h:
27577 Added a bunch of messages for advanced seeking.
27579 * gst/parse/grammar.y:
27580 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27581 (gst_dpman_state_changed):
27582 Fix some new-pad -> pad-added signals
27584 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27586 * docs/manual/appendix-porting.xml:
27587 * docs/pwg/appendix-porting.xml:
27588 Document new-pad/state-change signal renames and the FixedList
27591 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27593 * docs/manual/advanced-autoplugging.xml:
27594 * docs/manual/basics-helloworld.xml:
27595 * docs/manual/basics-pads.xml:
27596 * docs/random/ds/0.9-suggested-changes:
27597 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27598 * gst/gstelement.h:
27602 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27603 (gst_structure_parse_array), (gst_structure_parse_value):
27604 * gst/gstvalue.c: (gst_type_is_fixed),
27605 (gst_value_list_prepend_value), (gst_value_list_append_value),
27606 (gst_value_list_get_size), (gst_value_list_get_value),
27607 (gst_value_transform_array_string), (gst_value_serialize_array),
27608 (gst_value_deserialize_array), (gst_value_intersect_array),
27609 (gst_value_is_fixed), (_gst_value_initialize):
27611 GstElement::new-pad -> pad-added, GstElement::state-change ->
27612 state-changed, GstValueFixedList -> GstValueArray, add format and
27613 flags as their own arguments in gst_element_seek() (should improve
27614 "bindeability"), remove function generators since they don't work
27615 under a whole bunch of compilers (they were deprecated already
27618 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27620 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27621 (_gst_debug_register_funcptr):
27623 Fix illegal cast on some platforms (#309253).
27625 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27627 * gst/gstmessage.c: (gst_message_new_custom):
27628 * gst/gstmessage.h:
27629 Add _new_custom, make _new_application a macro to _new_custom.
27631 2005-07-20 Wim Taymans <wim@fluendo.com>
27633 * gst/base/gstbasesrc.c: (gst_base_src_init),
27634 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27635 * gst/base/gstbasesrc.h:
27636 Add a gboolean to decide when to push out a discont.
27638 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27639 (gst_queue_loop), (gst_queue_handle_src_query),
27640 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27641 (gst_queue_set_property), (gst_queue_get_property):
27644 * tests/threadstate/threadstate1.c: (main):
27645 Make a thread test compile and run... very silly..
27648 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27650 * docs/manual/appendix-porting.xml:
27651 Mention removal of libgstgconf-0.9.la and existence of gconf
27654 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27656 * docs/pwg/advanced-clock.xml:
27657 * docs/pwg/appendix-porting.xml:
27658 * docs/pwg/intro-preface.xml:
27659 * docs/pwg/other-base.xml:
27660 * docs/pwg/other-manager.xml:
27661 * docs/pwg/other-nton.xml:
27662 * docs/pwg/other-ntoone.xml:
27663 * docs/pwg/other-oneton.xml:
27664 * docs/pwg/pwg.xml:
27665 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27666 demuxer), remove n-to-n (was never written), fix some code examples
27667 and links and update the porting section to include all this.
27669 2005-07-19 Wim Taymans <wim@fluendo.com>
27671 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27672 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27673 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27674 (gst_queue_src_activate_push), (gst_queue_change_state),
27675 (gst_queue_get_property):
27677 Propagate GstFlowReturn more intelligently upstream and output
27678 an ERROR/EOS when streaming stopped due to fatal error.
27680 2005-07-19 Wim Taymans <wim@fluendo.com>
27682 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27683 Don't block forever for the state change to complete, the
27684 pipeline already did with a sensible timeout.
27686 2005-07-19 Wim Taymans <wim@fluendo.com>
27688 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27689 Make sure we never call the create function is we
27692 2005-07-19 Andy Wingo <wingo@pobox.com>
27694 * gst/parse/parse.l: Attempt to solve bug #172815.
27696 2005-07-19 Wim Taymans <wim@fluendo.com>
27698 * docs/design/part-clocks.txt:
27699 * docs/design/part-events.txt:
27700 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27701 Small docs updates.
27702 Only update the seeking values when we are not
27705 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27707 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27708 Oops, ignore the result of gst_pad_push_event here.
27710 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27712 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27713 (gst_base_src_activate_push):
27714 Send discont event from the loop function, as pads
27715 aren't activated yet in the activate_push handler.
27717 * gst/gstbin.c: (bin_bus_handler):
27718 Don't leak element name.
27720 2005-07-18 Andy Wingo <wingo@pobox.com>
27722 * configure.ac: Use AS_LIBTOOL_TAGS.
27724 2005-07-18 Wim Taymans <wim@fluendo.com>
27726 * docs/gst/gstreamer.types:
27727 Remove deleted types.
27729 2005-07-18 Wim Taymans <wim@fluendo.com>
27731 * check/elements/gstfakesrc.c: (GST_START_TEST):
27734 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27735 (init_popt_callback):
27737 * gst/gst_private.h:
27738 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27739 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27742 * gst/gstconfig.h.in:
27743 * gst/gstelement.c: (gst_element_class_init),
27744 (gst_element_set_base_time), (gst_element_get_base_time),
27745 (iterator_fold_with_resync), (gst_element_change_state),
27746 (gst_element_dispose), (gst_element_get_bus):
27747 * gst/gstelement.h:
27748 * gst/gstelementfactory.h:
27749 * gst/gsterror.c: (_gst_core_errors_init):
27752 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27754 * gst/gstinfo.c: (_gst_debug_init):
27755 * gst/gstmessage.c: (_gst_message_copy):
27756 * gst/gstmessage.h:
27757 * gst/gstminiobject.h:
27760 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27761 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27764 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27765 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27766 (gst_pipeline_get_last_stream_time):
27767 * gst/gstpipeline.h:
27768 * gst/gstpluginfeature.h:
27770 * gst/gstscheduler.c:
27771 * gst/gstscheduler.h:
27772 * gst/gststructure.h:
27773 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27774 (gst_task_finalize), (gst_task_func), (gst_task_create),
27775 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27776 (gst_task_stop), (gst_task_pause):
27778 * gst/gsttypefind.h:
27780 * gst/registries/gstlibxmlregistry.c: (load_feature),
27781 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27782 * gst/registries/gstxmlregistry.c:
27783 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27784 * gst/schedulers/threadscheduler.c:
27785 * libs/gst/control/dparammanager.h:
27786 * tools/gst-inspect.c: (print_element_list),
27787 (print_plugin_features), (print_element_features):
27788 * tools/gst-xmlinspect.c: (print_element_list),
27789 (print_plugin_info), (main):
27790 Removed plugable schedulers.
27791 Removed Scheduler/Manager from elements.
27792 Removed gsttypes.h, rearranged includes.
27793 Removed dependency pad<->element, element<>pipeline, and
27794 various others, fix includes.
27795 implement gst_pad_get_parent() with gst_object_get_parent()
27796 Make GstTask sefcontained.
27797 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27799 Fix endless loop in iterator_fold_with_resync.
27802 2005-07-18 Wim Taymans <wim@fluendo.com>
27808 2005-07-18 Wim Taymans <wim@fluendo.com>
27811 No more cothreads.h
27813 2005-07-18 Wim Taymans <wim@fluendo.com>
27817 Let's remove these.
27819 2005-07-18 Wim Taymans <wim@fluendo.com>
27821 * docs/design/part-dynamic.txt:
27822 * docs/design/part-events.txt:
27823 * docs/design/part-seeking.txt:
27824 Some more docs in the works.
27826 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27827 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27828 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27829 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27830 (gst_base_transform_handle_buffer),
27831 (gst_base_transform_sink_activate_push),
27832 (gst_base_transform_src_activate_pull),
27833 (gst_base_transform_set_passthrough),
27834 (gst_base_transform_is_passthrough):
27837 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27840 * gst/gstevent.c: (gst_event_finalize):
27843 * gst/gstutils.c: (gst_element_unlink),
27844 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27845 (gst_pad_proxy_setcaps):
27847 Add _get_parent_element() to get a pads parent as an element.
27849 2005-07-18 Wim Taymans <wim@fluendo.com>
27851 * check/gst/gstbin.c: (GST_START_TEST):
27854 2005-07-18 Wim Taymans <wim@fluendo.com>
27856 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27857 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27858 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27859 (gst_base_sink_event), (gst_base_sink_do_sync),
27860 (gst_base_sink_chain), (gst_base_sink_loop),
27861 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27862 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27864 Fix logic for returning ASYNC when not prerolled.
27866 2005-07-18 Wim Taymans <wim@fluendo.com>
27868 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27869 Fix nasty refcount bug.
27871 2005-07-16 Philippe Khalaf <burger@speedy.org>
27873 * gst/elements/gstfdsrc.c:
27874 * gst/elements/gstfdsrc.h:
27875 * gst/elements/gstelements.c:
27876 * gst/elements/Makefile.am:
27877 Ported fdsrc to 0.9.
27879 2005-07-16 Wim Taymans <wim@fluendo.com>
27881 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27882 (gst_base_sink_do_sync):
27885 2005-07-16 Wim Taymans <wim@fluendo.com>
27887 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27888 (gst_base_sink_event), (gst_base_sink_get_times),
27889 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27890 * gst/base/gstbasesink.h:
27891 Store and use discont values when syncing buffers as described
27894 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27895 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27896 (gst_base_src_activate_push):
27897 Push discont event when starting.
27899 * gst/elements/gstidentity.c: (gst_identity_transform):
27902 * gst/gstbin.c: (gst_bin_change_state):
27903 Small cleanups in base_time distribution.
27905 * gst/gstelement.c: (gst_element_set_base_time),
27906 (gst_element_get_base_time), (gst_element_change_state):
27907 * gst/gstelement.h:
27908 Added methods for the base_time of the element.
27911 * gst/gstpipeline.c: (gst_pipeline_send_event),
27912 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27913 (gst_pipeline_get_last_stream_time):
27914 * gst/gstpipeline.h:
27916 Handle seeking as described in design doc, remove stream_time
27918 Cleanups clock and stream_time selection code. Added accessors
27919 for the stream_time.
27922 2005-07-16 Andy Wingo <wingo@pobox.com>
27924 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27927 2005-07-16 Wim Taymans <wim@fluendo.com>
27929 * check/gst/gstbin.c: (GST_START_TEST):
27930 Make elements silent as the deep_notify refs the
27931 parent, which might make the test fail.
27933 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27934 Don't hold the lock for too long.
27936 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27938 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27939 Don't unref the caps we passed to gst_caps_make_writable() after
27940 passing them. gst_caps_make_writable() will do that for us.
27942 2005-07-15 Andy Wingo <wingo@pobox.com>
27944 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27947 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27948 own marshalling function for the handoff signal. Properly type the
27949 buffer as a buffer. Fixes some warnings. Should do a more general
27951 (gst_identity_class_init): Plug into the right marshaller.
27953 2005-07-15 Wim Taymans <wim@fluendo.com>
27955 * docs/design/part-TODO.txt:
27956 * docs/design/part-clocks.txt:
27957 * docs/design/part-element-sink.txt:
27958 * docs/design/part-events.txt:
27959 * docs/design/part-gstpipeline.txt:
27960 Updated docs, mostly DISCONT related.
27962 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27964 * docs/pwg/building-pads.xml:
27965 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27967 2005-07-15 Andy Wingo <wingo@pobox.com>
27969 * tools/gst-typefind.c: Update, add copyright block.
27971 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27972 Normalize and truncate caps before fixation.
27975 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27976 discards all but the first structure from its argument.
27978 2005-07-15 Wim Taymans <wim@fluendo.com>
27980 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27981 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27982 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27983 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27984 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27985 (gst_base_transform_chain), (gst_base_transform_change_state),
27986 (gst_base_transform_set_passthrough),
27987 (gst_base_transform_is_passthrough):
27988 * gst/base/gstbasetransform.h:
27989 Make passthrough work using the bufferpools.
27990 Changed API a bit, subclasses have to write into a buffer
27991 provided by the base class.
27992 More debug info in nego functions.
27994 * gst/elements/gstidentity.c: (gst_identity_init),
27995 (gst_identity_transform):
27996 Port to new base class.
27998 2005-07-15 Wim Taymans <wim@fluendo.com>
28000 * gst/gstmessage.c: (gst_message_new_state_changed):
28001 * tools/gst-launch.c: (event_loop), (main):
28002 Totally dump messages in -launch with the -m option.
28003 Fix message name for State messages,
28005 2005-07-14 Wim Taymans <wim@fluendo.com>
28007 * gst/base/gstbasesrc.c: (gst_base_src_loop):
28008 Post error messages on errors.
28010 2005-07-14 Wim Taymans <wim@fluendo.com>
28012 * gst/gstcaps.c: (gst_caps_do_simplify):
28016 Define error for stream stopped.
28018 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28019 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28020 Do proper return values.
28022 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28023 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28024 (gst_pad_get_range):
28025 Better return values.
28028 Reorganise return values, add macro to check for fatal errors.
28030 * gst/gstqueue.c: (gst_queue_chain):
28031 Return proper GstFlowReturn values,
28033 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
28035 * docs/gst/gstreamer-sections.txt:
28036 * docs/gst/gstreamer.types:
28037 * docs/gst/tmpl/gst.sgml:
28038 * docs/gst/tmpl/gstbasesink.sgml:
28039 * docs/gst/tmpl/gstbasesrc.sgml:
28040 * docs/gst/tmpl/gstbasetransform.sgml:
28041 * docs/gst/tmpl/gstbin.sgml:
28042 * docs/gst/tmpl/gstbuffer.sgml:
28043 * docs/gst/tmpl/gstcaps.sgml:
28044 * docs/gst/tmpl/gstclock.sgml:
28045 * docs/gst/tmpl/gstcompat.sgml:
28046 * docs/gst/tmpl/gstconfig.sgml:
28047 * docs/gst/tmpl/gstelement.sgml:
28048 * docs/gst/tmpl/gstelementdetails.sgml:
28049 * docs/gst/tmpl/gstelementfactory.sgml:
28050 * docs/gst/tmpl/gstenumtypes.sgml:
28051 * docs/gst/tmpl/gsterror.sgml:
28052 * docs/gst/tmpl/gstevent.sgml:
28053 * docs/gst/tmpl/gstfakesink.sgml:
28054 * docs/gst/tmpl/gstfakesrc.sgml:
28055 * docs/gst/tmpl/gstfilesink.sgml:
28056 * docs/gst/tmpl/gstfilesrc.sgml:
28057 * docs/gst/tmpl/gstfilter.sgml:
28058 * docs/gst/tmpl/gstformat.sgml:
28059 * docs/gst/tmpl/gstghostpad.sgml:
28060 * docs/gst/tmpl/gstimplementsinterface.sgml:
28061 * docs/gst/tmpl/gstindex.sgml:
28062 * docs/gst/tmpl/gstindexfactory.sgml:
28063 * docs/gst/tmpl/gstinfo.sgml:
28064 * docs/gst/tmpl/gstiterator.sgml:
28065 * docs/gst/tmpl/gstmacros.sgml:
28066 * docs/gst/tmpl/gstmemchunk.sgml:
28067 * docs/gst/tmpl/gstminiobject.sgml:
28068 * docs/gst/tmpl/gstobject.sgml:
28069 * docs/gst/tmpl/gstpad.sgml:
28070 * docs/gst/tmpl/gstpadtemplate.sgml:
28071 * docs/gst/tmpl/gstparse.sgml:
28072 * docs/gst/tmpl/gstpipeline.sgml:
28073 * docs/gst/tmpl/gstplugin.sgml:
28074 * docs/gst/tmpl/gstpluginfeature.sgml:
28075 * docs/gst/tmpl/gstquery.sgml:
28076 * docs/gst/tmpl/gstqueue.sgml:
28077 * docs/gst/tmpl/gstregistry.sgml:
28078 * docs/gst/tmpl/gstregistrypool.sgml:
28079 * docs/gst/tmpl/gstscheduler.sgml:
28080 * docs/gst/tmpl/gstschedulerfactory.sgml:
28081 * docs/gst/tmpl/gststructure.sgml:
28082 * docs/gst/tmpl/gstsystemclock.sgml:
28083 * docs/gst/tmpl/gsttaglist.sgml:
28084 * docs/gst/tmpl/gsttagsetter.sgml:
28085 * docs/gst/tmpl/gsttrace.sgml:
28086 * docs/gst/tmpl/gsttrashstack.sgml:
28087 * docs/gst/tmpl/gsttypefind.sgml:
28088 * docs/gst/tmpl/gsttypefindfactory.sgml:
28089 * docs/gst/tmpl/gsttypes.sgml:
28090 * docs/gst/tmpl/gsturihandler.sgml:
28091 * docs/gst/tmpl/gsturitype.sgml:
28092 * docs/gst/tmpl/gstutils.sgml:
28093 * docs/gst/tmpl/gstvalue.sgml:
28094 * docs/gst/tmpl/gstversion.sgml:
28095 * docs/gst/tmpl/gstxml.sgml:
28096 * docs/libs/tmpl/gstcontrol.sgml:
28097 * docs/libs/tmpl/gstdataprotocol.sgml:
28098 * docs/libs/tmpl/gstdparam.sgml:
28099 * docs/libs/tmpl/gstdplinint.sgml:
28100 * docs/libs/tmpl/gstdpman.sgml:
28101 * docs/libs/tmpl/gstdpsmooth.sgml:
28102 * docs/libs/tmpl/gstgetbits.sgml:
28103 * docs/libs/tmpl/gstunitconvert.sgml:
28104 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28105 (gst_push_src_base_init), (gst_push_src_class_init),
28106 (gst_push_src_init), (gst_push_src_create):
28107 * gst/base/gstpushsrc.h:
28108 * gst/elements/gstelements.c:
28109 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28110 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28111 (gst_fake_sink_init), (gst_fake_sink_set_property),
28112 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28113 (gst_fake_sink_event), (gst_fake_sink_preroll),
28114 (gst_fake_sink_render), (gst_fake_sink_change_state):
28115 * gst/elements/gstfakesink.h:
28116 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28117 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28118 (gst_fake_src_base_init), (gst_fake_src_class_init),
28119 (gst_fake_src_init), (gst_fake_src_event_handler),
28120 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28121 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28122 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28123 (gst_fake_src_create_buffer), (gst_fake_src_create),
28124 (gst_fake_src_start), (gst_fake_src_stop):
28125 * gst/elements/gstfakesrc.h:
28126 * gst/elements/gstfilesink.c: (_do_init),
28127 (gst_file_sink_base_init), (gst_file_sink_class_init),
28128 (gst_file_sink_init), (gst_file_sink_dispose),
28129 (gst_file_sink_set_location), (gst_file_sink_set_property),
28130 (gst_file_sink_get_property), (gst_file_sink_open_file),
28131 (gst_file_sink_close_file), (gst_file_sink_query),
28132 (gst_file_sink_event), (gst_file_sink_render),
28133 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28134 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28135 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28136 * gst/elements/gstfilesink.h:
28137 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28138 (gst_file_src_class_init), (gst_file_src_init),
28139 (gst_file_src_finalize), (gst_file_src_set_location),
28140 (gst_file_src_set_property), (gst_file_src_get_property),
28141 (gst_file_src_map_region), (gst_file_src_map_small_region),
28142 (gst_file_src_create_mmap), (gst_file_src_create_read),
28143 (gst_file_src_create), (gst_file_src_is_seekable),
28144 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28145 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28146 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28147 (gst_file_src_uri_handler_init):
28148 * gst/elements/gstfilesrc.h:
28149 more autistic cleanliness in functions/names/defines
28151 2005-07-13 Andy Wingo <wingo@pobox.com>
28153 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28154 source couldn't negotiate.
28156 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28160 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28161 function. I am channeling Hades. Put your boots on suckers!!!
28163 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28165 * testsuite/caps/Makefile.am:
28166 * testsuite/caps/value_compare.c:
28167 * testsuite/caps/value_intersect.c:
28168 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28169 move two testsuite apps over to the check dir
28171 2005-07-12 Wim Taymans <wim@fluendo.com>
28173 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28174 Added more debug info in the negotiate process.
28176 * gst/gstmessage.h:
28177 Prepare for segment playback.
28179 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28185 * tools/gst-launch.c: (main):
28186 NULL pipeline on errors.
28188 2005-07-12 Andy Wingo <wingo@pobox.com>
28190 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28191 not it comes from a malloc region. Make sure our copy gets freed.
28193 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28195 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28196 * check/gst/gstmessage.c: (GST_START_TEST):
28197 * check/gst/gststructure.c: (GST_START_TEST),
28198 (gst_structure_suite), (main):
28200 * gst/gstelement.c: (gst_element_message_full):
28201 clean up GError and debug string now that they get copied
28202 * gst/gstmessage.c: (gst_message_new_error),
28203 (gst_message_new_warning), (gst_message_parse_error),
28204 (gst_message_parse_warning):
28205 use GST_TYPE_G_ERROR for structure_new, and take copies of
28206 arguments, so that we don't mess up refcounting
28208 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28210 * check/Makefile.am:
28211 add per-test valgrind targets
28212 * check/gst-libs/gdp.c: (GST_START_TEST),
28213 (gst_data_protocol_suite), (main):
28216 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28218 * check/Makefile.am:
28219 instate more valgrindable tests
28220 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28221 (GST_START_TEST), (fakesrc_suite):
28222 * check/gst/gstpad.c: (GST_START_TEST):
28223 * check/gst/gststructure.c: (GST_START_TEST):
28225 * docs/gst/tmpl/gstminiobject.sgml:
28226 * gst/gstpad.c: (gst_pad_finalize):
28227 fix the static mutex leak
28229 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28231 * check/Makefile.am:
28232 add two more tests for valgrinding
28233 * check/gst/gstvalue.c: (GST_START_TEST):
28234 test refcount of deserialized buffer, found a leak
28235 * docs/gst/gstreamer-docs.sgml:
28236 * docs/gst/gstreamer-sections.txt:
28237 * docs/gst/gstreamer.types:
28238 * docs/gst/tmpl/gstminiobject.sgml:
28239 add miniobject to docs
28240 * gst/gstminiobject.c:
28242 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28243 (gst_string_unwrap):
28244 fix a hard-to-find invalid write for one of the tests
28245 fix a leak for deserialized buffers
28247 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28249 * docs/pwg/advanced-events.xml:
28250 * docs/pwg/advanced-request.xml:
28251 * docs/pwg/advanced-scheduling.xml:
28252 * docs/pwg/appendix-porting.xml:
28253 * docs/pwg/building-boiler.xml:
28254 * docs/pwg/intro-preface.xml:
28255 * docs/pwg/other-ntoone.xml:
28256 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28257 of example code and explanation for pad activation, loop() and
28258 getrange() functions and a bit more. Remove old comments pointing
28260 * examples/pwg/Makefile.am:
28261 Add loop/getrange examples.
28263 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28266 check for valgrind binary + some fixes
28268 valgrind suppressions for the tests
28269 * check/Makefile.am:
28270 add a valgrind: target that valgrinds the unit tests
28271 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28272 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28273 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28274 * check/gst/gstghostpad.c:
28276 * check/gst/gstdata.c:
28278 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28279 (thread_unref), (gst_mini_object_suite), (main):
28281 * gst/gst.c: (gst_deinit):
28283 add a method to clean up.
28284 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28285 (gst_system_clock_obtain):
28286 allow for disposing the system clock.
28287 * tools/gst-launch.c: (main):
28290 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28292 * docs/gst/tmpl/gstbasesrc.sgml:
28293 * docs/gst/tmpl/gstfakesrc.sgml:
28294 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28295 (gst_base_src_init), (gst_base_src_set_property),
28296 (gst_base_src_get_property), (gst_base_src_get_range),
28297 (gst_base_src_start):
28298 * gst/base/gstbasesrc.h:
28299 add num-buffers property
28300 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28301 (gst_fakesrc_init), (gst_fakesrc_set_property),
28302 (gst_fakesrc_get_property), (gst_fakesrc_create),
28303 (gst_fakesrc_start):
28304 remove num-buffers property
28306 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28308 * docs/gst/gstreamer-sections.txt:
28309 * docs/gst/tmpl/gstbasesink.sgml:
28310 * docs/gst/tmpl/gstbasesrc.sgml:
28311 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28312 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28313 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28314 (gst_base_sink_set_property), (gst_base_sink_get_property),
28315 (gst_base_sink_handle_object), (gst_base_sink_event),
28316 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28317 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28318 (gst_base_sink_loop), (gst_base_sink_deactivate),
28319 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28320 (gst_base_sink_change_state):
28321 * gst/base/gstbasesink.h:
28322 * gst/base/gstbasesrc.h:
28323 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28324 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28325 (gst_filesink_init):
28326 more macro splitting
28328 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28330 * gst/gstelement.c: (gst_element_get_bus):
28332 * tools/gst-launch.c: (check_intr), (event_loop):
28335 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28337 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28340 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28342 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28343 (gst_base_src_finalize):
28344 add finalize method and clean up properly
28345 * gst/gstpipeline.c: (gst_pipeline_dispose):
28348 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28350 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28352 add more things to check
28353 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28354 * gst/gstelement.c:
28357 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28359 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28360 (GST_START_TEST), (fakesrc_suite):
28361 * check/gst-libs/gdp.c: (GST_START_TEST):
28362 * check/gst/gst.c: (GST_START_TEST):
28363 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28364 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28365 * check/gst/gstbus.c: (GST_START_TEST):
28366 * check/gst/gstcaps.c: (GST_START_TEST):
28367 * check/gst/gstdata.c: (GST_START_TEST):
28368 * check/gst/gstelement.c: (GST_START_TEST):
28369 * check/gst/gstghostpad.c: (GST_START_TEST):
28370 * check/gst/gstiterator.c: (GST_START_TEST):
28371 * check/gst/gstmessage.c: (GST_START_TEST):
28372 * check/gst/gstobject.c: (GST_START_TEST):
28373 * check/gst/gstpad.c: (GST_START_TEST):
28374 * check/gst/gststructure.c: (GST_START_TEST):
28375 * check/gst/gstsystemclock.c: (GST_START_TEST),
28376 (gst_systemclock_suite):
28377 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28378 * check/gst/gstvalue.c: (GST_START_TEST):
28379 * check/pipelines/cleanup.c: (GST_START_TEST):
28380 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28381 * check/states/sinks.c: (GST_START_TEST):
28382 * check/gstcheck.c: (gst_check_init):
28383 * check/gstcheck.h:
28384 add debugging category
28385 use GST_START_TEST now, so we add a debug line
28387 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28389 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28390 add test for state change message on a bin
28391 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28393 * gst/gstbin.c: (gst_bin_init):
28394 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28395 * gst/gstelement.c: (gst_element_post_message),
28396 (gst_element_set_state):
28397 * gst/gstelementfactory.c: (gst_element_factory_create):
28398 * gst/gstmessage.c: (gst_message_new):
28399 * gst/gstscheduler.c:
28400 various debugging additions and cleanups
28402 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28404 * check/Makefile.am:
28405 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28407 adding tests for elements
28408 * gst/gstelement.c: (gst_element_dispose):
28410 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28412 * gst/registries/gstlibxmlregistry.c: (load_feature):
28413 plug more leaks. A simple gst_init() now is leakfree, yay.
28415 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28417 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28418 (gst_xml_registry_load):
28419 plug another memleak
28421 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28424 use GST_SET_ERROR_CFLAGS
28425 * docs/faq/cvs.xml:
28426 change to ERROR_CFLAGS
28428 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28431 make GST_ERROR_CFLAGS overridable and re-enable Werror
28432 * docs/faq/cvs.xml:
28433 add a note about error CFLAGS
28434 * docs/gst/tmpl/gstfakesrc.sgml:
28435 * gst/elements/gstfakesrc.c:
28436 comment out some unused code
28437 * gst/gst.c: (split_and_iterate):
28438 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28442 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28444 * common/Makefile.am:
28445 * common/gtk-doc.mak:
28446 * docs/gst/Makefile.am:
28447 factor out gtk-doc.mak
28449 2005-07-07 Wim Taymans <wim@fluendo.com>
28451 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28452 (gst_thread_scheduler_dispose):
28453 Unlock the STREAM_LOCK completely.
28455 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28457 * check/Makefile.am:
28458 * check/elements/.cvsignore:
28459 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28460 (START_TEST), (fakesrc_suite), (main):
28461 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28462 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28463 (gst_fakesrc_create), (gst_fakesrc_start):
28464 * gst/elements/gstfakesrc.h:
28465 adding a first element test
28467 2005-07-07 Andy Wingo <wingo@pobox.com>
28469 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28472 2005-07-07 Wim Taymans <wim@fluendo.com>
28478 2005-07-07 Wim Taymans <wim@fluendo.com>
28480 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28481 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28482 Allow subclasses to implement their own negotiation.
28484 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28486 * docs/design/part-gstbin.txt:
28487 * docs/design/part-gstpipeline.txt:
28488 Update design notes to reflect the movement of
28489 responsibility for bus handling from GstPipeline to
28492 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28495 Remove unnecessary queue2/3/4 examples.
28497 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28499 * examples/Makefile.am:
28500 * examples/helloworld/helloworld.c: (event_loop), (main):
28501 * examples/queue/queue.c: (event_loop), (main):
28502 * examples/queue2/queue2.c: (main):
28503 Update a couple of the examples to work again.
28505 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28506 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28507 Spelling corrections and extra debug.
28509 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28510 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28511 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28513 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28514 (gst_pipeline_change_state):
28515 * gst/gstpipeline.h:
28516 Move the bus handler for children to the GstBin, and create a
28517 separate bus for receiving messages from children to the one the
28518 bus sends 'upwards' on.
28520 2005-07-06 Wim Taymans <wim@fluendo.com>
28523 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28524 (gst_base_sink_handle_object), (gst_base_sink_loop),
28525 (gst_base_sink_change_state):
28526 * gst/base/gstbasesink.h:
28527 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28528 (gst_base_src_init), (gst_base_src_setcaps),
28529 (gst_base_src_getcaps), (gst_base_src_loop),
28530 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28531 (gst_base_src_start), (gst_base_src_change_state):
28532 * gst/base/gstbasesrc.h:
28533 Make basesrc negotiate.
28534 Handle the case where preroll fails in basesink.
28537 2005-07-06 Wim Taymans <wim@fluendo.com>
28539 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28540 Implement the fixate function.
28541 Clean up acceptcaps.
28543 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28545 * docs/pwg/building-filterfactory.xml:
28546 * docs/pwg/pwg.xml:
28547 Remove never-written filter-factory chapter; I'll add the various
28548 base classes to part 4 ("other element types") later on.
28550 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28552 * docs/pwg/advanced-negotiation.xml:
28553 * docs/pwg/building-boiler.xml:
28554 * docs/pwg/building-pads.xml:
28555 * docs/pwg/pwg.xml:
28556 * examples/pwg/Makefile.am:
28557 Add a chapter on caps negotiation, simplify the original code
28558 samples a bit w.r.t. caps negotiation, add link to the advanced
28559 section. Add a bunch of examples showing different use cases of
28560 different types of caps negotiation. Upstream renegotiation isn't
28561 fully documented yet since nobody knows how that works.
28563 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28565 * check/gst/gstpad.c:
28566 * check/gstcheck.c:
28567 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28568 if pad has no parent, return NULL as list of internal links
28570 2005-07-05 Andy Wingo <wingo@pobox.com>
28572 * gst/elements/gstfilesrc.c:
28573 * gst/elements/gstfakesrc.c:
28574 * gst/base/gstpushsrc.c:
28575 * gst/base/gstbasesrc.h:
28576 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28578 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28581 better report generation target (lcov needs a patch)
28583 2005-07-05 Andy Wingo <wingo@pobox.com>
28585 * gst/elements, testsuite: Null if we got it...
28587 2005-07-05 Wim Taymans <wim@fluendo.com>
28590 * libs/gst/dataprotocol/Makefile.am:
28591 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28592 * libs/gst/dataprotocol/dataprotocol.h:
28593 * pkgconfig/Makefile.am:
28594 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28595 * pkgconfig/gstreamer-dataprotocol.pc.in:
28596 Ported dataprotol to 0.9.
28597 Added pkgconfig files.
28599 2005-07-05 Andy Wingo <wingo@pobox.com>
28601 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28602 Default to returning TRUE for the case when tranform_caps returns
28603 a fixed caps, like for identity or volume.
28605 * check/gst/gstbus.c (pound_bus_with_messages):
28606 * check/gst/gstmessage.c (START_TEST):
28607 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28608 message API change.
28610 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28611 logic weaks here: always run transform_caps, trying passthrough
28612 operation only if the original caps intersects with the transform.
28614 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28615 source and sink caps.
28617 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28618 Intersect the peer caps with the pad template before going into
28620 (gst_base_transform_transform_caps): More debugging.
28622 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28625 2005-07-04 Edward Hervey <edward@fluendo.com>
28629 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28632 2005-07-04 Andy Wingo <wingo@pobox.com>
28634 * check/gst/gstpad.c: Only set explicit caps on pads.
28636 2005-07-01 Andy Wingo <wingo@pobox.com>
28638 * tests/network-clock.scm: Commentary update.
28640 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28641 Didn't really make sense, not implementable with basetransform,
28643 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28644 attempt at implementing the sync property, needs an unlock method.
28646 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28647 New func, by default returns the same caps (the identity
28649 (gst_base_transform_getcaps): Uses transform_caps to return
28650 something sensible.
28651 (gst_base_transform_setcaps): Complicated logic to get caps on
28652 both pads, even if they are different, and to call set_caps once
28653 for every time both pads get their caps set.
28654 (gst_base_transform_handle_buffer): Give the ref to the transform
28655 function. Allows in-place modification of the buffer.
28657 * gst/base/gstbasetransform.h (transform_caps): New class method.
28658 Given caps on one side, what can I do on the other.
28659 (set_caps): Take two caps, one for each side of the element.
28662 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28663 caps in place. This is safe because we can check the mutability of
28664 the caps, and a good idea because fixate functions are just called
28665 as a matter of last resort. (Not actually implemented.)
28666 (gst_pad_set_caps): If the caps we're setting is actually the same
28667 as the existing pad caps, just update the pointer without calling
28668 setcaps. Assert that caps is either NULL or fixed, as per the
28671 * gst/gstghostpad.c: Update for fixate changes.
28673 2005-07-02 Andy Wingo <wingo@pobox.com>
28676 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28677 two refcounts makes it immutable, which is enough. Doc more.
28679 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28681 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28682 Put the mini_object into GValue as a mini_object,
28683 not a gpointer, since that's how we declared
28686 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28688 * examples/pwg/Makefile.am:
28689 Fix buildbot again.
28691 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28693 * docs/pwg/building-testapp.xml:
28695 * examples/pwg/Makefile.am:
28698 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28701 * examples/Makefile.am:
28702 * examples/pwg/Makefile.am:
28703 * examples/pwg/extract.pl:
28704 Enable building the PWG examples.
28705 * docs/pwg/advanced-interfaces.xml:
28706 Add URI interface stub.
28707 * docs/pwg/advanced-types.xml:
28708 * docs/pwg/other-autoplugger.xml:
28709 * docs/pwg/appendix-porting.xml:
28710 * docs/pwg/pwg.xml:
28711 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28712 * docs/pwg/building-boiler.xml:
28713 * docs/pwg/building-chainfn.xml:
28714 * docs/pwg/building-pads.xml:
28715 * docs/pwg/building-props.xml:
28716 * docs/pwg/building-state.xml:
28717 * docs/pwg/building-testapp.xml:
28718 Update the building-*.xml parts for 0.9 changes. All examples
28719 code blocks compile in examples/pwg/*.
28721 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28723 * docs/manual/advanced-autoplugging.xml:
28724 * docs/manual/appendix-checklist.xml:
28725 * docs/manual/appendix-integration.xml:
28726 * docs/manual/highlevel-components.xml:
28727 Fix playbin/decodebin examples, update docs a bit, mention bus
28728 instead of signals in various places, mention kmplayer and
28729 kaffeine since they have a working GStreamer backend in the KDE
28732 2005-06-30 Wim Taymans <wim@fluendo.com>
28735 * docs/design/draft-ghostpads.txt:
28736 * docs/design/draft-push-pull.txt:
28737 * docs/design/draft-query.txt:
28738 * docs/design/part-TODO.txt:
28739 * docs/design/part-query.txt:
28740 Added CHANGES-0.9 doc, updated status of other docs.
28745 2005-06-30 Wim Taymans <wim@fluendo.com>
28747 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28748 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28749 (gst_base_sink_change_state):
28750 * gst/base/gstbasesink.h:
28751 Some tweaks, only EOS and a buffer complete a preroll.
28753 2005-06-30 Andy Wingo <wingo@pobox.com>
28755 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28756 activate_push down to the internal pad as well.
28758 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28760 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28762 * gst/gsttaginterface.c:
28763 Some documentation fixes (#307394 and #307397).
28765 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28767 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28769 * gst/gstvalue.c: (gst_value_intersect_list):
28770 Fix memleak (#309125).
28772 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28774 * docs/manual/advanced-dataaccess.xml:
28775 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28776 * docs/manual/basics-pads.xml:
28777 Add reference for filtered caps to above chapter.
28779 2005-06-30 Wim Taymans <wim@fluendo.com>
28781 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28782 (gst_bin_change_state):
28784 Lame attempt at making the state change function a bit
28787 2005-06-30 Wim Taymans <wim@fluendo.com>
28789 * docs/design/part-clocks.txt:
28790 * docs/design/part-element-sink.txt:
28791 * docs/design/part-events.txt:
28792 * docs/design/part-preroll.txt:
28793 * docs/design/part-states.txt:
28794 Some more tweeks and additions to the docs.
28796 2005-06-30 Wim Taymans <wim@fluendo.com>
28798 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28799 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28800 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28801 (gst_pad_check_pull_range), (gst_pad_get_range),
28802 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28804 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28805 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28806 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28807 (gst_pad_remove_buffer_probe):
28808 Removed atomic operations, use existing LOCK.
28809 Move exception handling out of main code path.
28811 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28813 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28814 (silly_return_true_function), (gst_pad_class_init),
28815 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28816 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28817 (gst_pad_send_event):
28818 Fix accumulator, add default value by using _emitv() instead
28819 of _emit() for signal emission.
28821 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28823 * docs/manual/advanced-dataaccess.xml:
28824 * examples/manual/Makefile.am:
28826 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28829 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28831 * gst/elements/gstfilesink.c: (gst_filesink_render):
28832 Simplify code so that we don't have to handle short
28833 writes and return GST_FLOW_ERROR if an error occured.
28835 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28837 * docs/gst/gstreamer-docs.sgml:
28838 Remove probes more.
28840 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28842 * docs/gst/gstreamer-sections.txt:
28843 * docs/gst/tmpl/gstpad.sgml:
28844 * docs/gst/tmpl/gstprobe.sgml:
28846 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28847 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28848 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28849 (gst_pad_push_event), (gst_pad_send_event):
28851 * gst/gstutils.c: (gst_pad_add_data_probe),
28852 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28853 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28854 (gst_pad_remove_buffer_probe):
28856 Remove old probes, add new g-signal-based probes and some utility
28859 2005-06-29 Edward Hervey <edward@fluendo.com>
28861 * gst/gstelementfactory.c:
28864 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28865 the definition to the header file.
28867 2005-06-29 Andy Wingo <wingo@pobox.com>
28869 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28870 plugins from the source directory.
28872 2005-06-29 Wim Taymans <wim@fluendo.com>
28874 * docs/gst/tmpl/gstbuffer.sgml:
28875 * docs/gst/tmpl/gstclock.sgml:
28876 Some fixings for blantently wrong text.
28878 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28880 * check/Makefile.am:
28881 * gst/gst.c: (add_path_func), (init_pre):
28882 * gst/gstregistry.c: (gst_registry_add_path):
28883 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28884 only scan the GST_PLUGIN_PATH locations, and not add
28887 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28889 * docs/gst/gstreamer-sections.txt:
28890 * docs/gst/tmpl/gstbasesrc.sgml:
28891 * gst/gstelement.c:
28892 * gst/gstelement.h:
28897 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28899 * docs/manual/advanced-autoplugging.xml:
28900 Fix autoplugging example.
28902 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28904 * docs/manual/advanced-autoplugging.xml:
28905 * docs/manual/mime-world.fig:
28906 Try to get autoplugging working, fix type detection. Fix text
28907 in hello-world image.
28909 2005-06-29 Wim Taymans <wim@fluendo.com>
28911 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28912 (gst_base_sink_change_state):
28916 map SIGNAL and BROADCAST to the right function.
28919 Remove redundant braces.
28921 * gst/gstpad.c: (gst_pad_set_caps):
28922 Don't call setcaps function when reseting caps to NULL.
28924 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28925 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28926 (gst_system_clock_id_unschedule):
28927 Use BROADCAST as this is what we do.
28929 2005-06-29 Wim Taymans <wim@fluendo.com>
28931 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28932 We are actually prerolling before commiting the state
28935 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28937 * docs/manual/advanced-clocks.xml:
28938 * docs/manual/advanced-interfaces.xml:
28939 * docs/manual/advanced-metadata.xml:
28940 * docs/manual/advanced-position.xml:
28941 * docs/manual/advanced-schedulers.xml:
28942 * docs/manual/advanced-threads.xml:
28943 * docs/manual/appendix-porting.xml:
28944 * docs/manual/basics-bins.xml:
28945 * docs/manual/basics-bus.xml:
28946 * docs/manual/basics-elements.xml:
28947 * docs/manual/basics-helloworld.xml:
28948 * docs/manual/basics-pads.xml:
28949 * docs/manual/highlevel-components.xml:
28950 * docs/manual/manual.xml:
28951 * docs/manual/thread.fig:
28952 Update (until threads/scheduling) Application Development Manual;
28953 remove GstThread, add GstBus, add simple porting checklist, add
28954 documentation for tag writing, clocks, make all examples until this
28955 part compile and run.
28956 * examples/manual/Makefile.am:
28957 Update from changes to Application Development Manual; add bus
28958 example, remove thread example.
28960 2005-06-28 Wim Taymans <wim@fluendo.com>
28962 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28963 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28964 (gst_bus_source_dispatch):
28965 Add debugging messages.
28966 Make internal methods static.
28967 Handle the case where the bus is flushed in the handler.
28969 * gst/gstelement.c: (gst_element_get_bus):
28970 Fix refcount in _get_bus();
28972 * gst/gstpipeline.c: (gst_pipeline_change_state),
28973 (gst_pipeline_get_clock_func):
28974 Clock refcounting fixes.
28975 Handle the case where preroll timed out more gracefully.
28977 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28978 Clean up the internal thread in dispose. This is needed
28979 for subclasses that actually get disposed.
28981 * gst/schedulers/threadscheduler.c:
28982 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28983 (gst_thread_scheduler_dispose):
28984 Free thread pool in dispose.
28986 2005-06-28 Andy Wingo <wingo@pobox.com>
28988 * tests/network-clock-utils.scm (debug, print-event): New utils.
28990 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28991 (*packet-loss*): Unified loss probability.
28992 (network-time): Report out-of-band events.
28994 * tests/plot-data: Add support for out-of-band events. Hack it
28995 into this script instead of passing it down the pipe; should fix
28998 2005-06-28 Wim Taymans <wim@fluendo.com>
29000 * docs/gst/gstreamer.types:
29001 * docs/gst/tmpl/gstbasesrc.sgml:
29002 * docs/gst/tmpl/gstpad.sgml:
29005 2005-06-28 Wim Taymans <wim@fluendo.com>
29007 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29008 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29009 (gst_proxy_pad_do_fixatecaps):
29010 Correctly proxy the check_pull_range function.
29012 2005-06-28 Andy Wingo <wingo@pobox.com>
29014 * tests/network-clock.scm: Removed need for slib.
29016 2005-06-28 Wim Taymans <wim@fluendo.com>
29018 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29019 (gst_basesink_preroll_queue_flush):
29020 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29021 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29022 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29023 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29024 (gst_proxy_pad_set_property):
29027 * gst/gstqueue.c: (gst_queue_init):
29028 The deprecated pad loop function is removed now.
29030 2005-06-28 Andy Wingo <wingo@pobox.com>
29032 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29033 New parameters, simulate network packet loss.
29035 * tests/network-clock-utils.scm: Initialize the RNG.
29037 2005-06-28 Wim Taymans <wim@fluendo.com>
29039 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29040 (gst_basesink_event), (gst_basesink_deactivate):
29041 Flushing the preroll queue always needs to unlock the waiters.
29043 2005-06-28 Edward Hervey <edward@fluendo.com>
29045 * gst/gstpipeline.c: (gst_pipeline_send_event):
29046 Wheen a seek was successful on a pipeline, set the stream_time to the
29047 seek offset in order to have a synchronized stream_time.
29049 2005-06-28 Wim Taymans <wim@fluendo.com>
29051 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29052 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29053 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29054 (gst_proxy_pad_do_fixatecaps):
29055 Call wrapper function instead of just calling the function
29056 pointers. This takes care of any locking and whatmore.
29058 2005-06-28 Wim Taymans <wim@fluendo.com>
29060 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29061 (gst_pad_pull_range):
29063 CONNECTED -> LINKED.
29065 2005-06-28 Andy Wingo <wingo@pobox.com>
29067 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29068 source-munging commit!!!
29070 * gst/gstobject.c (gst_object_unref, gst_object_ref)
29071 (gst_object_sink): Take gpointer arguments, not GstObject --
29072 avoids casts. Like GLib.
29074 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29077 2005-06-27 Andy Wingo <wingo@pobox.com>
29079 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29082 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29083 returns a sorted copy of the trace list.
29084 (gst_alloc_trace_print_live): New API, only prints traces with
29085 live objects. Sort the list.
29086 (gst_alloc_trace_print_all): Sort the list.
29087 (gst_alloc_trace_print): Align columns.
29089 * gst/elements/gstttypefindelement.c:
29090 * gst/elements/gsttee.c:
29091 * gst/base/gstbasesrc.c:
29092 * gst/base/gstbasesink.c:
29093 * gst/base/gstbasetransform.c:
29094 * gst/gstqueue.c: Adapt for pad activation changes.
29096 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29098 (gst_pipeline_dispose): Drop ref on sched.
29100 * gst/gstpad.c (gst_pad_init): Set the default activate func.
29101 (gst_pad_activate_default): Push mode by default.
29102 (pre_activate_switch, post_activate_switch): New stubs, things to
29103 do before and after switching activation modes on pads.
29104 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29105 the pad's activate function to choose which mode to activate.
29106 Shortcut on deactivation and call the right function directly.
29107 (gst_pad_activate_pull): New API, (de)activates a pad in pull
29109 (gst_pad_activate_push): New API, same for push mode.
29110 (gst_pad_set_activate_function)
29111 (gst_pad_set_activatepull_function)
29112 (gst_pad_set_activatepush_function): Setters for new API.
29114 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29115 Trace all miniobjects.
29116 (gst_mini_object_make_writable): Unref the arg if we copy, like
29117 gst_caps_make_writable.
29119 * gst/gstmessage.c (_gst_message_initialize): No trace init.
29121 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
29122 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29123 Adapt for new pad API.
29125 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29127 * gst/gstelement.h:
29128 * gst/gstelement.c (gst_element_iterate_src_pads)
29129 (gst_element_iterate_sink_pads): New API functions.
29131 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29132 should fold into gstiterator.c in some form.
29133 (gst_element_pads_activate): Simplified via use of fold and
29134 delegation of decisions to gstpad->activate.
29136 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29139 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29140 class once in init, like gstmessage. Didn't run into this issue
29141 but it seems correct. Don't initialize a trace, gstminiobject does
29144 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29145 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29147 (assert_live_count): New util function, uses alloc traces to check
29150 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29151 To be modified when unlink drops the internal pad.
29153 2005-06-27 Wim Taymans <wim@fluendo.com>
29155 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29156 (gst_bin_change_state):
29157 Cleanup the get_state() function a little, make sure it
29158 iterates the same set of elements.
29159 Added stub iterate_state_order().
29161 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29163 * docs/gst/gstreamer-docs.sgml:
29164 * docs/gst/gstreamer-sections.txt:
29165 * docs/gst/gstreamer.types:
29166 * docs/gst/tmpl/gstbasesink.sgml:
29167 * docs/gst/tmpl/gstbasesrc.sgml:
29168 * docs/gst/tmpl/gstbasetransform.sgml:
29169 * docs/gst/tmpl/gstelement.sgml:
29170 * docs/gst/tmpl/gstiterator.sgml:
29171 * gst/base/gstbasesrc.c:
29172 * gst/base/gstbasesrc.h:
29173 * gst/base/gstbasetransform.h:
29174 * gst/gstelement.c:
29175 * gst/gstiterator.h:
29176 adding basetransform and iterator docs
29178 2005-06-27 Andy Wingo <wingo@pobox.com>
29180 * docs/design/part-activation.txt: Notes on how activation should
29181 work -- not quite implemented yet.
29183 2005-06-25 Wim Taymans <wim@fluendo.com>
29185 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29186 At least get the chain function correct, needs more
29189 2005-06-25 Wim Taymans <wim@fluendo.com>
29191 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29192 (gst_basesink_handle_object), (gst_basesink_event),
29193 (gst_basesink_do_sync), (gst_basesink_handle_event),
29194 (gst_basesink_change_state):
29196 Right, two problems here: ghostpads don't take locks and
29197 glib _rec_mutex_lock_full() with depth==0 still locks.
29198 Catch illegal locking and g_warn them.
29200 2005-06-25 Wim Taymans <wim@fluendo.com>
29202 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29203 Have to check for completion now...
29205 2005-06-25 Wim Taymans <wim@fluendo.com>
29207 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29208 (gst_basesink_handle_object), (gst_basesink_event),
29209 (gst_basesink_do_sync), (gst_basesink_handle_event),
29210 (gst_basesink_change_state):
29212 Unlock STREAM_LOCK whatever the recursion was.
29214 2005-06-25 Wim Taymans <wim@fluendo.com>
29216 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29217 (gst_basesink_preroll_queue_empty),
29218 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29219 (gst_basesink_event), (gst_basesink_do_sync),
29220 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29221 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29222 (gst_basesink_change_state):
29223 Reworked the base sink, handle event and buffer serialisation
29224 correctly and removed possible deadlock.
29225 Handle EOS correctly.
29227 2005-06-25 Wim Taymans <wim@fluendo.com>
29229 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29230 (gst_pipeline_change_state):
29231 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29232 Allow elements to post EOS in the state change function.
29233 Fix up -launch, make it exit the poll loop when the
29234 pipeline actually changed state.
29235 Fix up warning parsing in -launch.
29237 2005-06-25 Wim Taymans <wim@fluendo.com>
29239 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29240 (gst_tee_sink_activate):
29241 Core takes STREAM_LOCK for us now.
29243 2005-06-25 Wim Taymans <wim@fluendo.com>
29245 * gst/gstelement.c: (gst_element_get_state_func),
29246 (gst_element_set_state):
29247 * gst/gstelement.h:
29248 * gst/gstmessage.c: (gst_message_parse_error),
29249 (gst_message_parse_warning):
29250 Keep track of current target state while performing a state
29251 change so that subclasses can do something interesting.
29252 Fix parsing of warning/error messages when GError is NULL.
29254 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29256 * docs/gst/Makefile.am:
29257 * docs/gst/gstreamer-docs.sgml:
29258 * docs/gst/gstreamer-sections.txt:
29259 * docs/gst/gstreamer.types:
29260 * docs/gst/tmpl/gstbasesink.sgml:
29261 * docs/gst/tmpl/gstbasesrc.sgml:
29262 * docs/gst/tmpl/gstbin.sgml:
29263 * docs/gst/tmpl/gstcompat.sgml:
29264 * docs/gst/tmpl/gstfakesink.sgml:
29265 * docs/gst/tmpl/gstfakesrc.sgml:
29266 * docs/gst/tmpl/gstfilesink.sgml:
29267 * docs/gst/tmpl/gstfilesrc.sgml:
29268 * docs/gst/tmpl/gstindex.sgml:
29269 * docs/manual/appendix-quotes.xml:
29270 * gst/base/gstbasesrc.h:
29271 * gst/elements/gstfakesrc.h:
29272 * gst/gstmessage.h:
29273 start pulling in base classes and elements in our docs
29275 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29277 * docs/gst/Makefile.am:
29278 * docs/libs/Makefile.am:
29279 fixed make distcheck with gtk-doc 1.3
29281 2005-06-23 Wim Taymans <wim@fluendo.com>
29283 * gst/gstelement.c: (gst_element_get_state_func),
29284 (gst_element_set_state), (gst_element_change_state):
29285 When the state did not change, also report NO_PREROLL
29288 2005-06-23 Wim Taymans <wim@fluendo.com>
29290 * gst/gstpad.c: (gst_pad_event_default):
29291 * gst/gstqueue.c: (gst_queue_loop):
29292 No unsafe task pausing please.
29294 2005-06-23 Wim Taymans <wim@fluendo.com>
29296 * gst/schedulers/threadscheduler.c:
29297 (gst_thread_scheduler_task_start),
29298 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29299 Ref the task before pushing it on the threadpool. This
29300 makes sure that we have a ref when the threadfunction is
29303 2005-06-23 Andy Wingo <wingo@pobox.com>
29305 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29306 offset is greater than the file's size.
29308 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29309 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29310 * gst/gstobject.c (gst_object_class_init): Make the class lock
29311 recursive. Wim won't let me drop deep_notify. Decodebin works
29312 again, whoopdy doo.
29314 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29315 internal pad, and hacks accordingly. Doesn't do it on the target
29316 pad because we change its caps. Probably catches all cases of
29318 (gst_ghost_pad_set_property): Connect to notify::caps as
29321 * tests/network-clock.scm (plot-simulation): Pipe data to the
29322 elite python skript.
29324 * tests/network-clock-utils.scm (define-parameter): New macro,
29325 defines a parameter that can be set via the command line.
29326 (set-parameter!, parse-parameter-arguments): Command line args
29329 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29332 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29334 * gst/elements/gsttypefindelement.c:
29335 (gst_type_find_element_handle_event):
29336 Don't restart typefinding on a discont.
29337 * gst/gstelement.c: (gst_element_set_state):
29338 Debug spelling fix.
29339 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29340 Allow changing mode of an active pad.
29341 Debug output fixes.
29342 * gst/registries/gstlibxmlregistry.c: (load_feature):
29343 Don't cast a static pad template to a normal pad template.
29345 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29347 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29348 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29349 remove gst_strtoll completely, since it didn't actually do
29350 anything more than what g_ascii_strtoull already does.
29351 check for range errors when deserializing
29352 do a cast for the unsigned cases; but further fixing needs
29353 a decision on what the interpretation of "(int)" and
29354 deserialization should be for values that fall outside the
29355 type's boundaries (ie, refuse, or interpret as casting)
29357 2005-06-23 Wim Taymans <wim@fluendo.com>
29359 * check/Makefile.am:
29360 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29361 * docs/design/part-live-source.txt:
29362 * docs/design/part-states.txt:
29363 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29364 (gst_basesrc_set_live), (gst_basesrc_is_live),
29365 (gst_basesrc_get_range), (gst_basesrc_activate),
29366 (gst_basesrc_change_state):
29367 * gst/base/gstbasesrc.h:
29368 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29369 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29370 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29371 * gst/gstelement.c: (gst_element_get_state_func),
29372 (gst_element_set_state):
29373 * gst/gstelement.h:
29375 * tools/gst-launch.c: (event_loop), (main):
29376 Added support for live sources and other elements that
29378 Updated design docs, added live-source design doc.
29379 Implemented live source functionality in basesrc
29380 Fix error condition in _bin_get_state()
29381 Implement live source handling in -launch.
29382 Added check for live sources.
29383 Fixed case in GstBin where elements were changed state
29387 2005-06-23 Andy Wingo <wingo@pobox.com>
29389 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29390 borken refcounting.
29392 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29393 gst_caps_replace takes care of this for us.
29395 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29396 gst_pad_set_caps on the target, not just its setcaps() function.
29398 * tests/network-clock.scm:
29399 * tests/network-clock-utils.scm: A network clock simulator.
29400 Something of an algorithmic testbed before doing something in C.
29402 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29404 * check/Makefile.am:
29405 * check/gst/capslist.h:
29406 copy over from 0.8, and add two with bitmasks specified with
29408 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29409 add test to parse everything from capslist.h
29410 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29412 add test for structure deserialization
29413 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29414 add tests for deserialization of strings to int types
29415 * gst/gststructure.c: (gst_structure_nth_field_name):
29416 * gst/gststructure.h:
29417 add a way to get the name of a field referenced by index
29418 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29419 instead of checking if the resulting long long lies between
29420 min and max, we check if the long long would fit into
29421 a number of bytes for the final type.
29422 This fixes cases where a string represents 2^32 - 1, which
29423 when cast to int would be the (valid) -1, but is bigger than
29426 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29428 * gst/parse/grammar.y:
29429 add a log line for type deserialization
29431 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29433 * check/gst/gstvalue.c: (START_TEST):
29434 * gst/gstvalue.c: (gst_value_deserialize):
29435 return long long, not int, so gint64 deserialization actually
29436 works. Is there any flag that makes the compiler check this ?
29439 2005-06-22 Wim Taymans <wim@fluendo.com>
29442 Added convenience macros for setting buffers in GValue.
29444 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29446 * check/gst/.cvsignore:
29447 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29448 add a test deserializing int64, and comment part out because
29451 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29453 * check/Makefile.am:
29454 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29455 * testsuite/Makefile.am:
29456 * testsuite/caps/Makefile.am:
29457 * testsuite/caps/value_serialize.c:
29458 * testsuite/test_gst_init.c:
29459 move a value_serialize test over
29461 2005-06-20 Wim Taymans <wim@fluendo.com>
29466 * gst/gstvalue.c: (gst_value_compare_buffer),
29467 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29468 (gst_value_compare_flags), (gst_value_serialize_flags),
29469 (gst_value_deserialize_flags), (_gst_value_initialize):
29470 Fix serialisation of buffers, they are not boxed types anymore
29472 2005-06-20 Wim Taymans <wim@fluendo.com>
29474 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29475 Testcase to show error in buffer-on-caps serialisation.
29477 2005-06-20 Andy Wingo <wingo@pobox.com>
29479 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29480 will be adding to later.
29482 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29483 if its socks fill with rocks.
29484 (gst_system_clock_obtain): Set the name on object construction.
29485 Avoid double-checked locking.
29487 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29489 * gst/gsturi.c: (gst_element_make_from_uri):
29490 Fix potential endless loop.
29492 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29494 * check/Makefile.am:
29496 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29498 move over from testsuite dir and clean up
29501 * testsuite/Makefile.am:
29502 * testsuite/tags/.cvsignore:
29503 * testsuite/tags/Makefile.am:
29504 * testsuite/tags/merge.c:
29505 remove testsuite/tags
29507 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29509 * docs/gst/gstreamer-sections.txt:
29510 * docs/gst/tmpl/gstenumtypes.sgml:
29511 * win32/gstenumtypes.c:
29512 clean up documentation build a little
29514 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29516 * check/gstcheck.h:
29517 add macros for checking refcounts on objects and caps
29518 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29519 add some more unit tests
29520 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29521 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29522 fix leaked refcounts (I hope :)) so unittest works
29526 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29528 * configure.ac: back to HEAD
29530 === release 0.9.1 ===
29532 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29538 2005-06-17 Andy Wingo <wingo@pobox.com>
29540 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29541 assert; it's always possible that the pad gets deactivated in
29542 between the checks in gstpad.c and the implementation. Rely on
29543 finish_preroll() to return a FLUSHING or similar instead of on the
29546 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29547 clock and post an EOS message if we come out of finish_preroll in
29550 2005-06-16 David Schleef <ds@schleef.org>
29552 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29553 (gst_capsfilter_set_property): Allow NULL as possible value
29554 for filter_caps property, indicating GST_CAPS_ANY.
29556 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29558 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29560 * gst/schedulers/Makefile.am:
29562 * gstreamer.spec.in:
29565 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29567 * gstreamer.spec.in:
29570 2005-06-08 Andy Wingo <wingo@pobox.com>
29572 * gst/gstutils.c: RPAD fixes all around.
29573 (gst_element_link_pads): Refcounting fixes.
29575 * tools/gst-inspect.c:
29576 * tools/gst-xmlinspect.c:
29578 * gst/base/gsttypefindhelper.c:
29579 * gst/base/gstbasesink.c:
29580 * gst/gstqueue.c: RPAD fixes.
29582 * gst/gstghostpad.h:
29583 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29584 pads. The tricky thing is they provide both source and sink
29585 interfaces, since they proxy the internal pad for the external
29586 pad, and vice versa. Implement with lower-level ProxyPad objects,
29587 with the interior proxy pad as a child of the exterior ghost pad.
29588 Should write a doc on this.
29590 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29591 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29594 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29595 pads are real pads. No ghost pads in this file. Not documenting
29596 the myriad s/RPAD/PAD/ and REALIZE fixes.
29597 (gst_pad_class_init): Add properties for "direction" and
29598 "template". Both are construct-only, so they can't change during
29599 the life of the pad. Fixes properly deriving from GstPad.
29600 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29601 derived objects, just set properties when creating the objects via
29603 (gst_pad_get_parent): Implement as a function, return NULL if the
29604 parent is not an element.
29605 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29606 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29608 * gst/gstobject.c (gst_object_class_init): Make name a construct
29609 property. Don't set it in the object init.
29611 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29612 with UNKNOWN direction.
29613 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29614 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29615 (gst_element_remove_pad): Remove ghost-pad special cases.
29616 (gst_element_pads_activate): Remove rpad cruft.
29618 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29619 catch the pad's-parent-not-an-element case.
29621 * gst/gst.h: Include gstghostpad.h.
29623 * gst/gst.c (init_post): No more real, ghost pads.
29625 * gst/Makefile.am: Add gstghostpad.[ch].
29627 * check/Makefile.am:
29628 * check/gst/gstbin.c:
29629 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29630 into a bin creates ghost pads, and that the refcounts are right.
29631 Partly moved from gstbin.c.
29633 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29635 * check/gst-libs/.cvsignore:
29636 * check/gst/.cvsignore:
29637 * check/pipelines/.cvsignore:
29639 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29640 (START_TEST), (cleanup_suite), (main):
29641 add some tests related to cleanup after running pipelines
29643 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29645 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29646 add a testsuite for GstBuffer
29648 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29650 * gst/gstminiobject.h:
29651 add defines for accessing the refcount
29653 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29655 * Makefile.am: added support for html unit test coverage reports
29657 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29659 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29660 Free existing caps if the capsfilter changes. Add a FIXME about
29661 setting those caps on the pads.
29663 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29664 Before adding a ghost pad to a parent bin, check that there isn't
29665 already one for the element on the bin. Prevents infinite recursion
29666 when using decodebin in parse pipelines. Andy says he'll rewrite the
29667 way this works anyway, so ignore the hack.
29669 2005-06-02 Andy Wingo <wingo@pobox.com>
29671 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29672 file size, pass it on to the type find helper.
29674 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29675 segment_start and segment_end properly according to the seek
29676 method. Segment_end is still a bit flaky because offset can be
29677 negative for CUR and END cases, but it takes -1 as an "unset"
29680 2005-06-02 Wim Taymans <wim@fluendo.com>
29682 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29683 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29684 (gst_basesink_activate):
29685 * gst/base/gstbasesink.h:
29686 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29687 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29688 (gst_pad_query), (gst_pad_start_task):
29690 * gst/gstqueue.c: (gst_queue_bufferalloc),
29691 (gst_queue_handle_sink_event), (gst_queue_chain):
29692 Bufferalloc: return GstFlowReturn to more accuratly report
29693 why allocation failed.
29695 2005-06-02 Wim Taymans <wim@fluendo.com>
29697 * gst/gstpipeline.c: (gst_pipeline_send_event):
29698 Take snapshot of state without blocking.
29700 2005-06-02 Wim Taymans <wim@fluendo.com>
29702 * docs/design/part-TODO.txt:
29703 * docs/design/part-caps.txt:
29704 * docs/design/part-clocks.txt:
29705 * docs/design/part-negotiation.txt:
29706 * docs/design/part-preroll.txt:
29709 2005-05-30 Wim Taymans <wim@fluendo.com>
29711 * gst/elements/gstidentity.c: (gst_identity_event),
29712 (gst_identity_transform), (gst_identity_get_property):
29713 Protect last_message property as it is accessed from
29716 2005-05-30 Wim Taymans <wim@fluendo.com>
29718 * gst/gstelement.c: (gst_element_init),
29719 (gst_element_pads_activate), (gst_element_change_state):
29720 Slicker pad activation code.
29722 2005-05-30 Wim Taymans <wim@fluendo.com>
29725 * gst/gstelement.h:
29726 * gst/gstelementfactory.h:
29728 Move elementfactory methods to separate .h file.
29730 2005-05-30 Wim Taymans <wim@fluendo.com>
29732 * docs/design/part-overview.txt:
29733 * gst/gstsystemclock.h:
29734 Small typo fixes, doc updates.
29736 2005-05-30 Wim Taymans <wim@fluendo.com>
29738 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29739 (init_popt_callback):
29740 Remove cpu-opt flag.
29742 2005-05-30 Wim Taymans <wim@fluendo.com>
29744 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29745 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29747 Avoid typechecking in places where not needed.
29748 Added accessor for malloc_data.
29750 2005-05-30 Wim Taymans <wim@fluendo.com>
29752 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29753 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29754 (gst_pad_configure_sink), (gst_pad_configure_src),
29755 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29756 (gst_pad_start_task):
29757 Propagate errors from _set_caps() in configure_src/sink
29758 functions instead of returning TRUE.
29759 FLUSH events can travel up and downstream
29762 2005-05-30 Wim Taymans <wim@fluendo.com>
29764 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29765 (gst_basesink_activate):
29766 Handle EOS in preroll.
29768 2005-05-30 Wim Taymans <wim@fluendo.com>
29770 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29771 (gst_queue_loop), (gst_queue_handle_src_event):
29772 Remove old pieces of code
29773 Flushing the queue in an upstream event is a very bad idea.
29775 2005-05-26 Andy Wingo <wingo@pobox.com>
29777 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29778 gst_value_set_mini_object so as to add a ref on the object (which
29779 will be removed when the value is unset).
29781 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29782 arg type in ::handoff.
29784 * gst/gstelement.c (gst_element_change_state): Also deactivate
29785 pads in READY->NULL, just in case the element didn't make it to
29786 PAUSED. Wingo tested, Wim approved.
29788 2005-05-26 Wim Taymans <wim@fluendo.com>
29790 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29791 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29792 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29793 A flushing pad cannot be used to alloc_buffer from.
29795 2005-05-26 Wim Taymans <wim@fluendo.com>
29797 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29798 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29799 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29800 (gst_bus_create_watch), (gst_bus_add_watch_full):
29802 Implement a real GSource and use g_main_context_wakeup() to
29803 signal new messages instead of the socketpair.
29805 2005-05-25 Wim Taymans <wim@fluendo.com>
29807 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29808 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29809 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29810 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29811 (gst_pad_send_event), (gst_pad_start_task):
29812 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29813 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29814 (gst_queue_sink_activate), (gst_queue_src_activate),
29815 (gst_queue_change_state):
29817 Fix state changes for non sinks. We now change sinks, then elements
29818 with unconnected srcpads, then the rest.
29819 More efficient queue unlocking in flush and state changes.
29820 Set the pad activate mode even if it does not have an activate
29823 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29825 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29826 Don't go in pull mode for non-seekable sources.
29827 * gst/elements/gsttypefindelement.h:
29828 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29829 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29830 (free_entry), (stop_typefinding),
29831 (gst_type_find_element_handle_event), (find_peek),
29832 (gst_type_find_element_chain), (do_pull_typefind),
29833 (gst_type_find_element_change_state):
29834 Allow typefinding (w/o seeking) in push-mode, simplified version
29835 of what was in 0.8.
29836 * gst/gstutils.c: (gst_buffer_join):
29838 gst_buffer_join() from 0.8.
29840 2005-05-25 Wim Taymans <wim@fluendo.com>
29842 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29843 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29844 (gst_pad_send_event), (gst_pad_start_task):
29845 Disable attempt at mode switching until it is figured out.
29847 2005-05-25 Wim Taymans <wim@fluendo.com>
29849 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29850 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29851 (gst_basesink_finish_preroll), (gst_basesink_chain),
29852 (gst_basesink_loop), (gst_basesink_activate),
29853 (gst_basesink_change_state):
29854 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29855 (gst_basesrc_get_range), (gst_basesrc_loop),
29856 (gst_basesrc_activate):
29857 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29858 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29859 (gst_real_pad_init), (gst_real_pad_set_property),
29860 (gst_real_pad_get_property), (gst_pad_set_active),
29861 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29862 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29863 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29864 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29865 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29866 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29867 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29868 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29869 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29870 (gst_pad_stop_task):
29872 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29873 (gst_queue_loop), (gst_queue_src_activate):
29874 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29875 (gst_task_get_state):
29877 * gst/schedulers/threadscheduler.c:
29878 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29879 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29881 Remove ACTIVE pad flag, use FLUSHING everywhere
29882 Added _pad_chain(), _pad_get_range() to call chain/getrange
29884 Add locks around IS_FLUSHING when reading.
29885 Take STREAM lock in chain(), get_range() functions so plugins
29886 don't need to take it anymore.
29890 2005-05-25 Wim Taymans <wim@fluendo.com>
29892 * tools/gst-launch.c: (event_loop):
29893 Unref message after using its contents instead of
29896 2005-05-24 Wim Taymans <wim@fluendo.com>
29898 * docs/design/draft-ghostpads.txt:
29899 * docs/design/draft-push-pull.txt:
29900 * docs/design/draft-query.txt:
29901 * docs/design/part-overview.txt:
29902 Docs updates, added general overview doc.
29904 2005-05-21 David Schleef <ds@schleef.org>
29906 * docs/gst/tmpl/old/GstBin.sgml:
29907 * docs/gst/tmpl/old/GstBuffer.sgml:
29908 * docs/gst/tmpl/old/GstCaps.sgml:
29909 * docs/gst/tmpl/old/GstClock.sgml:
29910 * docs/gst/tmpl/old/GstCompat.sgml:
29911 * docs/gst/tmpl/old/GstData.sgml:
29912 * docs/gst/tmpl/old/GstElement.sgml:
29913 * docs/gst/tmpl/old/GstEvent.sgml:
29914 * docs/gst/tmpl/old/GstIndex.sgml:
29915 * docs/gst/tmpl/old/GstStructure.sgml:
29916 * docs/gst/tmpl/old/GstTag.sgml:
29917 * docs/gst/tmpl/old/cothreads.sgml:
29918 * docs/gst/tmpl/old/cothreads_compat.sgml:
29919 * docs/gst/tmpl/old/gettext.sgml:
29920 * docs/gst/tmpl/old/gobject2gtk.sgml:
29921 * docs/gst/tmpl/old/grammar.tab.sgml:
29922 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29923 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29924 * docs/gst/tmpl/old/gst_private.sgml:
29925 * docs/gst/tmpl/old/gstaggregator.sgml:
29926 * docs/gst/tmpl/old/gstarch.sgml:
29927 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29928 * docs/gst/tmpl/old/gstbufferstore.sgml:
29929 * docs/gst/tmpl/old/gstdata_private.sgml:
29930 * docs/gst/tmpl/old/gstdisksink.sgml:
29931 * docs/gst/tmpl/old/gstdisksrc.sgml:
29932 * docs/gst/tmpl/old/gstelementfactory.sgml:
29933 * docs/gst/tmpl/old/gstextratypes.sgml:
29934 * docs/gst/tmpl/old/gstfakesink.sgml:
29935 * docs/gst/tmpl/old/gstfakesrc.sgml:
29936 * docs/gst/tmpl/old/gstfdsink.sgml:
29937 * docs/gst/tmpl/old/gstfdsrc.sgml:
29938 * docs/gst/tmpl/old/gstfilesink.sgml:
29939 * docs/gst/tmpl/old/gstfilesrc.sgml:
29940 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29941 * docs/gst/tmpl/old/gstidentity.sgml:
29942 * docs/gst/tmpl/old/gstindexfactory.sgml:
29943 * docs/gst/tmpl/old/gstmarshal.sgml:
29944 * docs/gst/tmpl/old/gstmd5sink.sgml:
29945 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29946 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29947 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29948 * docs/gst/tmpl/old/gstpipefilter.sgml:
29949 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29950 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29951 * docs/gst/tmpl/old/gstshaper.sgml:
29952 * docs/gst/tmpl/old/gstspider.sgml:
29953 * docs/gst/tmpl/old/gstspideridentity.sgml:
29954 * docs/gst/tmpl/old/gststatistics.sgml:
29955 * docs/gst/tmpl/old/gsttee.sgml:
29956 * docs/gst/tmpl/old/gsttimecache.sgml:
29957 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29958 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29959 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29960 * docs/gst/tmpl/old/types.sgml:
29961 I didn't intend to add these or check them in.
29963 2005-05-19 David Schleef <ds@schleef.org>
29965 * configure.ac: Use -no-common everywhere. In a sane world, it
29966 would be the default in libtool, because without it, you can't
29967 build DLLs on Windows.
29968 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29969 * docs/gst/gstreamer-sections.txt:
29970 * docs/gst/tmpl/gstcpu.sgml:
29971 * docs/gst/tmpl/gstdata.sgml:
29972 * docs/gst/tmpl/gstthread.sgml:
29974 2005-05-19 David Schleef <ds@schleef.org>
29976 * gst/gstminiobject.c: (gst_value_set_mini_object),
29977 (gst_value_take_mini_object), (gst_value_get_mini_object):
29978 * gst/gstminiobject.h: Add GValue set/get functions.
29980 2005-05-19 Wim Taymans <wim@fluendo.com>
29982 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29983 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29984 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29986 * gst/gstbus.c: (gst_bus_post):
29987 * gst/gstelement.c: (gst_element_get_random_pad):
29988 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29989 Make subbufer unref the parent in finalize.
29990 some more debugging info.
29993 2005-05-19 Wim Taymans <wim@fluendo.com>
29995 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29996 (gst_basesink_init), (gst_basesink_finalize),
29997 (gst_basesink_activate), (gst_basesink_change_state):
29998 Don't free preroll queue too early.
30000 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30004 Hi, I'm outdated. Please shoot me.
30006 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30008 * gst/gstpipeline.c: (gst_pipeline_send_event):
30009 Do not access variables after they have been deleted.
30011 2005-05-19 Wim Taymans <wim@fluendo.com>
30013 * tools/gst-inspect.c: (print_plugin_features):
30014 A plugin feature does unfortunatly not use the
30017 2005-05-18 Wim Taymans <wim@fluendo.com>
30019 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30020 Port _span() functions to new subbuffers.
30022 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30024 * gst/gstbin.c: (gst_bin_add_func):
30025 Fix clock settery in bins when adding kids after the clock has
30028 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30030 * gst/elements/gstidentity.c: (gst_identity_class_init):
30031 Workaround until signals support GstMiniObject.
30033 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
30036 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30038 2005-05-18 Wim Taymans <wim@fluendo.com>
30040 * gst/base/Makefile.am:
30041 * gst/base/gstadapter.c: (gst_adapter_base_init),
30042 (gst_adapter_class_init), (gst_adapter_init),
30043 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30044 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30045 (gst_adapter_flush), (gst_adapter_available),
30046 (gst_adapter_available_fast):
30047 * gst/base/gstadapter.h:
30048 Ported and added adapter to the base classes.
30050 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30053 * gst/gstmessage.c:
30054 Make sure the class is reffed/unreffed once before threads can be
30055 used. Fixes #304551.
30057 2005-05-17 Wim Taymans <wim@fluendo.com>
30059 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30060 (gst_basesink_chain_unlocked), (gst_basesink_activate):
30061 * gst/gstminiobject.c: (gst_mini_object_get_type),
30062 (gst_mini_object_free):
30063 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30064 (gst_pad_push), (gst_pad_push_event):
30065 * gst/gstqueue.c: (gst_queue_change_state):
30066 Don't queue buffers in basesink when we are flushing.
30067 Unref buffer when flushing in basesink.
30068 Flush queue when going to READY
30069 Unref buffer when _push() returns an error.
30070 Don't free MiniObject instance when refcount is incremented
30071 in _finalize() so that we can recover objects.
30073 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
30075 * docs/manual/advanced-schedulers.xml:
30076 * docs/manual/appendix-checklist.xml:
30077 * docs/pwg/advanced-clock.xml:
30078 * docs/pwg/advanced-interfaces.xml:
30079 * docs/pwg/advanced-request.xml:
30080 * docs/pwg/advanced-types.xml:
30081 * docs/pwg/intro-preface.xml:
30082 * examples/plugins/example.c: (gst_example_get_type),
30083 (gst_example_class_init), (gst_example_chain),
30084 (gst_example_set_property), (gst_example_get_property),
30085 (gst_example_change_state), (plugin_init):
30086 * examples/plugins/example.h:
30089 2005-05-17 Wim Taymans <wim@fluendo.com>
30091 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30092 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30093 * gst/gstqueue.c: (gst_queue_change_state):
30094 Clear queue when going to READY.
30095 Remove IN_SETCAPS flag too.
30097 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
30099 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30100 Remove implicit cast from gboolean to GstElementStateReturn;
30101 make sure we still return failure in paused => ready case if
30102 the parent class fails to change state and our own stop
30105 2005-05-17 Wim Taymans <wim@fluendo.com>
30107 * tools/gst-launch.c: (event_loop):
30108 Message was unreffed too soon.
30110 2005-05-16 Andy Wingo <wingo@pobox.com>
30112 * gst/gstbin.c (sink_iterator_filter): Err... um...
30114 * check/gst/gstbin.c (test_ghost_pads): New test for the
30115 ghosting-if-elements-not-in-same-bin behavior.
30117 2005-05-16 David Schleef <ds@schleef.org>
30119 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30120 accessing refcount directly.
30122 2005-05-15 David Schleef <ds@schleef.org>
30124 * check/Makefile.am: remove GstData checks
30125 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30126 * gst/Makefile.am: add miniobject, remove data
30127 * gst/gst.h: add miniobject, remove data
30128 * gst/gstdata.c: remove
30129 * gst/gstdata.h: remove
30130 * gst/gstdata_private.h: remove
30131 * gst/gsttypes.h: remove GstEvent and GstMessage
30132 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30133 * gst/gstmarshal.list: change BOXED -> OBJECT
30135 Implement GstMiniObject.
30136 * gst/gstminiobject.c:
30137 * gst/gstminiobject.h:
30139 Modify to be subclasses of GstMiniObject.
30140 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30141 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30142 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30143 (gst_subbuffer_get_type), (gst_subbuffer_init),
30144 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30147 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30148 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30149 (_gst_event_copy), (gst_event_new):
30151 * gst/gstmessage.c: (_gst_message_initialize),
30152 (gst_message_get_type), (gst_message_class_init),
30153 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30154 (gst_message_new), (gst_message_new_error),
30155 (gst_message_new_warning), (gst_message_new_tag),
30156 (gst_message_new_state_changed), (gst_message_new_application):
30157 * gst/gstmessage.h:
30158 * gst/gstprobe.c: (gst_probe_perform),
30159 (gst_probe_dispatcher_dispatch):
30161 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30162 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30163 (_gst_query_copy), (gst_query_new):
30165 Update elements for GstData -> GstMiniObject changes
30167 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30168 (gst_queue_chain), (gst_queue_loop):
30169 * gst/elements/gstbufferstore.c:
30170 (gst_buffer_store_add_buffer_func),
30171 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30172 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30173 (gst_fakesink_render):
30174 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30175 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30176 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30177 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30178 (gst_filesrc_create_read):
30179 * gst/elements/gstidentity.c: (gst_identity_class_init):
30180 * gst/elements/gsttypefindelement.c:
30181 (gst_type_find_element_src_event), (free_entry_buffers),
30182 (gst_type_find_element_handle_event):
30183 * libs/gst/dataprotocol/dataprotocol.c:
30184 (gst_dp_header_from_buffer):
30185 * libs/gst/dataprotocol/dataprotocol.h:
30186 * libs/gst/dataprotocol/dp-private.h:
30188 2005-05-15 David Schleef <ds@schleef.org>
30190 * gst/elements/gstelements.c: Don't include headers that were
30193 2005-05-15 David Schleef <ds@schleef.org>
30195 * gst/elements/Makefile.am: Remove some elements that don't
30196 need to be in the core (or even exist at all).
30197 * gst/elements/gstaggregator.c:
30198 * gst/elements/gstaggregator.h:
30199 * gst/elements/gstmd5sink.c:
30200 * gst/elements/gstmd5sink.h:
30201 * gst/elements/gstmultifilesrc.c:
30202 * gst/elements/gstmultifilesrc.h:
30203 * gst/elements/gstpipefilter.c:
30204 * gst/elements/gstpipefilter.h:
30205 * gst/elements/gstshaper.c:
30206 * gst/elements/gstshaper.h:
30207 * gst/elements/gststatistics.c:
30208 * gst/elements/gststatistics.h:
30209 * po/POTFILES.in: Remove above files.
30211 2005-05-14 Andy Wingo <wingo@pobox.com>
30213 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30214 so as to get the refs right.
30215 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30216 unreffing objects that don't pass the filter.
30218 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30219 gst_element_set_bus.
30220 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30221 normal cases, this will destroy the bus.
30223 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30226 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30229 2005-05-13 Andy Wingo <wingo@pobox.com>
30231 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30232 gst_pad_link, call pad_link_maybe_ghosting,
30233 (pad_link_maybe_ghosting): Links pads, making sure that the
30234 elements being linked are in the same bin.
30235 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30236 Helpers for pad_link_maybe_ghosting.
30238 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30241 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30243 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30245 * docs/design/part-element-source.txt:
30248 2005-05-12 Wim Taymans <wim@fluendo.com>
30250 * gst/base/gstbasesink.c: (gst_basesink_init),
30251 (gst_basesink_activate):
30252 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30253 (gst_basesrc_is_seekable):
30254 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30255 (bin_element_is_sink), (gst_bin_change_state):
30256 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30257 * gst/gstelement.h:
30258 Identify sinks by their flag to avoid overly complicated
30260 Do state changes even for elements not reachable from the
30262 BaseSink is a sink now :)
30263 Some more debugging info in the basesrc.
30266 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30268 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30269 Implement _query on a bin, similar to _send_event.
30271 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30273 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30274 Discont event offset format should be GST_FORMAT_BYTES,
30275 not GST_FORMAT_TIME.
30277 2005-05-12 Wim Taymans <wim@fluendo.com>
30279 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30280 Same fix as Ronald's but without the signal.
30282 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30284 * gst/gstutils.c: (gst_element_query_position):
30285 No, an element is not a pad.
30287 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30289 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30290 (gst_bin_get_state):
30291 If a child is removed from a bin while we remove the child from
30292 the bin and while we're retrieving its state, signal this to the
30293 get_state function so we abort the wait (instead of waiting for
30294 a timeout) and can immediately re-iterate over all other elements.
30296 2005-05-12 Wim Taymans <wim@fluendo.com>
30298 * gst/base/Makefile.am:
30299 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30300 (gst_basesrc_start):
30301 * gst/base/gstbasesrc.h:
30302 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30303 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30304 (gst_pushsrc_init), (gst_pushsrc_create):
30305 * gst/base/gstpushsrc.h:
30306 Added is_seekable to BaseSrc
30307 Added simple PushSrc.
30309 2005-05-11 Wim Taymans <wim@fluendo.com>
30311 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30312 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30313 (gst_element_link_pads), (gst_element_query_position),
30314 (gst_element_query_convert), (intersect_caps_func),
30315 (gst_pad_query_position), (gst_pad_query_convert):
30316 Fix refcounting in utils function.
30317 No point in trying to activate a pad when it's added, it could
30318 be added from the state change function and then we deadlock, the
30319 element has to decide what to do.
30321 2005-05-10 Andy Wingo <wingo@pobox.com>
30323 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30324 *all* the arguments.
30326 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30327 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30328 lock (according to the docs -- if this is wrong change the docs).
30330 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30331 flush messages in the NULL state.
30333 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30334 message immediately and return.
30335 (gst_bus_set_flushing): New function. If a bus is flushing, it
30336 flushes out any queued messages and immediately unrefs new
30337 messages. This is so when an element goes to NULL, all of the
30338 unhandled messages coming from it can be freed, and their
30339 references to the element dropped. In other words: message source
30340 ref considered harmful :P
30342 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30343 we're finished with it.
30345 * gst/gstmessage.c (gst_message_new_state_changed):
30347 2005-05-10 Wim Taymans <wim@fluendo.com>
30349 * gst/gstvalue.c: (gst_value_compare_flags),
30350 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30351 (_gst_value_initialize):
30352 Added flags serialize/deserialize/compare code.
30354 2005-05-09 Andy Wingo <wingo@pobox.com>
30356 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30357 Intersect the peer's caps with our caps.
30359 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30361 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30362 * gst/elements/gsttypefindelement.c: (find_peek):
30363 Handle negative offsets better. Fixes decodebin.
30365 2005-05-09 Wim Taymans <wim@fluendo.com>
30367 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30368 (gst_base_transform_event):
30369 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30370 Implement accept_caps.
30371 Fix silly lock/unlock mismatch in base class.
30373 2005-05-09 Wim Taymans <wim@fluendo.com>
30375 * docs/design/draft-push-pull.txt:
30376 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30377 * gst/elements/gstfilesink.c: (gst_filesink_init),
30378 (gst_filesink_query):
30379 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30380 (gst_type_find_handle_src_query), (find_element_get_length):
30381 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30382 * gst/gstelement.h:
30383 * gst/gstmessage.c:
30384 * gst/gstmessage.h:
30385 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30386 (gst_real_pad_get_caps_unlocked),
30387 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30388 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30389 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30390 (gst_real_pad_dispose), (gst_real_pad_finalize),
30391 (gst_pad_load_and_link), (gst_pad_save_thyself),
30392 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30393 (gst_pad_check_pull_range), (gst_pad_pull_range),
30394 (gst_pad_template_get_type), (gst_pad_template_class_init),
30395 (gst_pad_template_init), (gst_pad_template_dispose),
30396 (name_is_valid), (gst_static_pad_template_get),
30397 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30398 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30399 (gst_pad_get_element_private), (gst_pad_start_task),
30400 (gst_pad_pause_task), (gst_pad_stop_task),
30401 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30402 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30403 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30404 (gst_ghost_pad_new):
30406 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30407 (gst_query_new_position), (gst_query_set_position),
30408 (gst_query_parse_position), (gst_query_new_convert),
30409 (gst_query_set_convert), (gst_query_parse_convert):
30411 * gst/gstqueryutils.c:
30412 * gst/gstqueryutils.h:
30413 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30414 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30415 (gst_queue_handle_src_query):
30416 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30417 (gst_element_query_position), (gst_element_query_convert),
30418 (intersect_caps_func), (gst_pad_query_position),
30419 (gst_pad_query_convert):
30421 * tools/gst-inspect.c: (print_pad_info):
30422 * tools/gst-xmlinspect.c: (print_element_info):
30423 Remove old query functions. Ported old code.
30424 Added position/convert helper functions to gstutils.
30425 Reordered gstpad.c code, grouping relevant things.
30426 Remove gst_message_new(), always need to speficy a specific
30430 2005-05-09 Andy Wingo <wingo@pobox.com>
30432 * gst/gstiterator.h: Add some includes.
30434 * gst/gstqueryutils.h: Include more headers.
30437 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30438 some uses of gst_pad_query.
30440 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30441 NULL out parameters.
30442 (gst_query_new_position): New proc, allocates a new position
30445 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30446 gstqueryutils.c to the build.
30448 * gst/gststructure.c (gst_structure_set_valist): Implement with
30449 the generic G_VALUE_COLLECT.
30451 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30453 * gst/Makefile.am: (gst_headers):
30454 Added gstqueryutils.h to the list of headers to install, that was
30455 a 'nachty' move wingo :)
30457 2005-05-06 Andy Wingo <wingo@pobox.com>
30460 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30461 GstData, init a memchunk.
30462 (standard_definitions): Add a few query types, deprecate a few.
30463 (gst_query_get_type): New proc.
30464 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30466 (gst_query_new_application, gst_query_get_structure): New public
30469 * docs/design/draft-query.txt: Removed LINKS from the query types,
30470 because all the rest can be dispatched to other pads -- seemed
30471 ugly to have a query that couldn't be dispatched. internal_links
30472 is fine as a pad method.
30474 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30475 in gstpad.c, but maintain binary compatibility for the moment.
30476 Will fix before 0.9 is out.
30478 * gst/gstqueryutils.c:
30479 * gst/gstqueryutils.h: New files, implement 3 methods for each
30480 query type: parse_query, parse_response, and set. Probably need an
30483 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30485 * gst/elements/gstfilesink.c (gst_filesink_query2):
30486 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30487 query_types, and formats methods.
30489 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30490 (gst_pad_set_query2_function): New functions.
30491 (gst_real_pad_init): Set query2_default as the default query2
30492 function. Basically just dispatches to internally linked pads.
30496 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30497 without using the atomic operations. Only one thread can possibly
30498 be accessing the data at this point. Changed so as to avoid
30499 gst_atomic operations.
30501 2005-05-06 Wim Taymans <wim@fluendo.com>
30503 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30504 Also set caps if we use the fallback buffer alloc.
30506 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30508 * docs/gst/Makefile.am:
30509 * docs/gst/gstreamer-docs.sgml:
30510 * docs/gst/gstreamer-sections.txt:
30511 * docs/gst/tmpl/gstatomic.sgml:
30512 * docs/gst/tmpl/gstmemchunk.sgml:
30513 * testsuite/elements/struct_i386.h:
30514 * win32/GStreamer.vcproj:
30516 Purge GstAtomic stuff from docs and win32 makefiles as well
30518 2005-05-06 Wim Taymans <wim@fluendo.com>
30520 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30521 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30522 * gst/gstpad.c: (gst_pad_peer_get_caps):
30523 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30524 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30525 (gst_queue_src_activate), (gst_queue_change_state):
30527 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30528 (intersect_caps_func):
30529 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30530 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30531 Some fixes for the peer_get_caps() change.
30533 2005-05-06 Wim Taymans <wim@fluendo.com>
30535 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30536 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30537 (gst_basesink_activate):
30538 Actually do something with error codes returned from the push
30541 2005-05-06 Wim Taymans <wim@fluendo.com>
30543 * docs/design/part-element-sink.txt:
30544 * docs/design/part-element-source.txt:
30545 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30546 (gst_basesink_event), (gst_basesink_activate):
30547 * gst/base/gstbasesink.h:
30548 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30549 (gst_basesrc_activate):
30550 * gst/base/gstbasesrc.h:
30551 * gst/gstelement.c: (gst_element_pads_activate):
30552 Some more documentation.
30553 Fixed scheduling decision in _pads_activate().
30555 2005-05-05 Andy Wingo <wingo@pobox.com>
30557 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30560 2005-05-05 Wim Taymans <wim@fluendo.com>
30562 * gst/base/Makefile.am:
30563 * gst/base/gstbasesink.h:
30564 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30565 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30566 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30567 (gst_collectpads_class_init), (gst_collectpads_init),
30568 (gst_collectpads_finalize), (gst_collectpads_new),
30569 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30570 (find_pad), (gst_collectpads_remove_pad),
30571 (gst_collectpads_is_active), (gst_collectpads_collect),
30572 (gst_collectpads_collect_range), (gst_collectpads_start),
30573 (gst_collectpads_stop), (gst_collectpads_peek),
30574 (gst_collectpads_pop), (gst_collectpads_available),
30575 (gst_collectpads_read), (gst_collectpads_flush),
30576 (gst_collectpads_chain):
30577 * gst/base/gstcollectpads.h:
30578 * gst/elements/Makefile.am:
30579 * gst/elements/gstelements.c:
30580 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30581 (gst_fakesink_get_times), (gst_fakesink_event),
30582 (gst_fakesink_preroll), (gst_fakesink_render):
30583 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30584 (gst_filesink_init), (gst_filesink_set_location),
30585 (gst_filesink_open_file), (gst_filesink_close_file),
30586 (gst_filesink_pad_query), (gst_filesink_event),
30587 (gst_filesink_render), (gst_filesink_change_state):
30588 * gst/elements/gstfilesink.h:
30589 Added object to help in making collect pad based elements.
30591 Make event function in sink baseclass return gboolean.
30593 2005-05-05 Wim Taymans <wim@fluendo.com>
30595 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30596 (gst_bin_get_by_name):
30598 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30599 (gst_clock_finalize):
30600 * gst/gstdata.c: (gst_data_replace):
30602 * gst/gstelement.c: (gst_element_request_pad),
30603 (gst_element_pads_activate):
30604 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30605 (gst_object_unref):
30606 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30607 (gst_pad_set_checkgetrange_function),
30608 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30609 (gst_pad_check_pull_range), (gst_pad_pull_range),
30610 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30611 (gst_pad_pause_task), (gst_pad_stop_task):
30612 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30613 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30614 Fix name lookup in GstBin.
30615 Added _data_replace() function and _buffer_replace()
30616 Use finalize method to clean up clock.
30617 Fix refcounting on request pads.
30618 Fix pad schedule mode error.
30619 Some more object refcounting debug info,
30622 2005-05-04 Andy Wingo <wingo@pobox.com>
30624 * check/Makefile.am:
30625 * docs/gst/tmpl/gstatomic.sgml:
30626 * docs/gst/tmpl/gstplugin.sgml:
30627 * gst/base/gstbasesink.c: (gst_basesink_activate):
30628 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30629 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30630 (gst_basesrc_query), (gst_basesrc_set_property),
30631 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30632 (gst_basesrc_activate):
30633 * gst/base/gstbasesrc.h:
30634 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30635 (gst_base_transform_src_activate):
30636 * gst/elements/gstelements.c:
30637 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30638 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30639 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30640 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30641 (gst_type_find_element_checkgetrange),
30642 (gst_type_find_element_activate):
30643 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30644 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30645 (gst_caps_load_thyself):
30646 * gst/gstelement.c: (gst_element_pads_activate),
30647 (gst_element_save_thyself), (gst_element_restore_thyself):
30648 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30649 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30651 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30652 (gst_xml_parse_file), (gst_xml_parse_memory),
30653 (gst_xml_get_element), (gst_xml_make_element):
30654 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30655 (_file_index_id_save_xml), (gst_file_index_commit):
30656 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30657 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30659 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30660 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30661 * tools/gst-complete.c: (main):
30662 * tools/gst-compprep.c: (main):
30663 * tools/gst-inspect.c: (print_element_properties_info):
30664 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30665 * tools/gst-xmlinspect.c: (print_element_properties):
30668 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30670 * gst/gstplugin.c: (gst_plugin_check_module),
30671 (gst_plugin_check_file), (gst_plugin_load_file):
30672 apply patch from #172526 to make register work on MacOSX
30674 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30676 * docs/gst/tmpl/gstconfig.sgml:
30677 * gst/gstconfig.h.in:
30678 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30679 * testsuite/debug/printf_extension.c: (main):
30680 Do not use GST_PTR_FORMAT on pointers to types with
30681 sizeof < sizeof(gpointer). Fixes test on 64-bit
30682 * testsuite/elements/property.h:
30683 use correct printf format
30685 2005-05-02 Wim Taymans <wim@fluendo.com>
30687 * docs/design/draft-push-pull.txt:
30688 * docs/design/draft-query.txt:
30689 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30690 (gst_basesrc_start):
30691 Added draft for new query API.
30692 Added draft for better selecting scheduling methods.
30693 Make basesrc ignore length if the subclass does not support
30696 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30699 possible fixes for automake-1.5 - _LIBADD is reserved
30701 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30703 * docs/faq/Makefile.am:
30704 * docs/manual/Makefile.am:
30705 * docs/manuals.mak:
30706 * docs/pwg/Makefile.am:
30708 possible fixes for automake-1.5
30710 2005-04-28 Wim Taymans <wim@fluendo.com>
30712 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30713 (gst_basesink_pad_getcaps), (gst_basesink_init),
30714 (gst_basesink_do_sync):
30715 * gst/gstclock.c: (gst_clock_entry_new):
30716 * gst/gstevent.c: (gst_event_discont_get_value):
30717 * gst/gstpipeline.c: (pipeline_bus_handler),
30718 (gst_pipeline_change_state):
30719 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30720 Better debugging of clocking info.
30721 Allow NULL values when getting discont values.
30723 2005-04-27 Wim Taymans <wim@fluendo.com>
30725 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30726 * check/gst/gstpad.c: (gst_pad_suite):
30727 Increase timeout for checks.
30729 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30731 * check/Makefile.am:
30732 fix the broken rule for cleanup. Apparently this rule is
30733 only needed on FC2, so maybe this warrants further autotool
30736 2005-04-26 Wim Taymans <wim@fluendo.com>
30738 * gst/gsttrashstack.h:
30739 Ooohh. a nasty one! After having a failed pop() from the stack,
30740 it's possible that the stack is empty. In that case, don't
30741 follow the NULL pointer.
30743 2005-04-25 Wim Taymans <wim@fluendo.com>
30745 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30746 (gst_pad_set_checkgetrange_function),
30747 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30748 (gst_pad_check_pull_range), (gst_pad_pull_range),
30749 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30750 (gst_pad_pause_task), (gst_pad_stop_task):
30751 * gst/gstplugin.c: (gst_plugin_load):
30753 Remove gst_library_load as it does more harm than good with
30754 the new g_module flags.
30755 Revert bogus caps template check in pad linking, pad caps
30756 are important when linking not the template, which is more
30757 general than the current caps.
30759 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30761 * gst/autoplug/.cvsignore:
30762 * gst/autoplug/Makefile.am:
30763 * gst/autoplug/gstsearchfuncs.c:
30764 * gst/autoplug/gstsearchfuncs.h:
30765 * gst/autoplug/gstspider.c:
30766 * gst/autoplug/gstspider.h:
30767 * gst/autoplug/gstspideridentity.c:
30768 * gst/autoplug/gstspideridentity.h:
30769 * gst/autoplug/spidertest.c:
30772 2005-04-25 Wim Taymans <wim@fluendo.com>
30774 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30775 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30776 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30777 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30779 Added stubs for unimplemented functions.
30781 2005-04-24 David Schleef <ds@schleef.org>
30783 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30786 2005-04-24 David Schleef <ds@schleef.org>
30788 Convert everything from GstAtomicInt to g_atomic_int_*, and
30793 * gst/gstatomic_impl.h:
30801 * gst/gstdata_private.h:
30805 * gst/gstmessage.c:
30808 * gst/gststructure.c:
30809 * gst/gststructure.h:
30810 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30813 2005-04-24 David Schleef <ds@schleef.org>
30815 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30816 make the regressions tests work. Remove some code that is no
30818 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30819 Disable warning for pads without templates.
30821 2005-04-24 David Schleef <ds@schleef.org>
30823 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30824 functions that handle filtered links.
30825 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30827 * gst/gstutils.c: Fix/remove utility functions that handle
30830 * gst/gstvalue.c: Add serialization/deserialization of caps
30831 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30832 requires fixing so that the filter caps notation creates
30833 a capsfilter element and sets the filter_caps property. I
30834 think everyone probably wants to keep the shorthand notation.
30835 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30836 * docs/gst/tmpl/gstpad.sgml:
30838 * gst/elements/gstelements.c: Register capsfilter element.
30839 * gst/Makefile.am: fix spacing
30840 * docs/random/ds/0.9-suggested-changes: random
30842 2005-04-23 David Schleef <ds@schleef.org>
30844 * gst/elements/Makefile.am:
30845 * gst/elements/gstcapsfilter.c: New element that acts like an
30846 identity, but filters caps. Will eventually replace filtered
30847 caps in pad linking.
30848 * gst/gstutils.c: (gst_element_create_all_pads): New function
30849 to create all the ALWAYS pads that are registered with an
30850 element class. This functionality should eventually be
30851 merged in with GstElement initialization.
30853 * testsuite/trigger/README: part of trigger test code that should
30854 have been checked in a long time ago.
30856 2005-04-23 David Schleef <ds@schleef.org>
30858 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30859 needed with new versions of libtool (nobody will confirm this),
30860 and hard to carry around.
30861 * gst/autoplug/Makefile.am:
30862 * gst/base/Makefile.am:
30863 * gst/elements/Makefile.am:
30864 * gst/indexers/Makefile.am:
30865 * gst/schedulers/Makefile.am:
30866 * libs/gst/bytestream/Makefile.am:
30867 * libs/gst/control/Makefile.am:
30868 * libs/gst/dataprotocol/Makefile.am:
30869 * libs/gst/getbits/Makefile.am:
30871 2005-04-21 Wim Taymans <wim@fluendo.com>
30873 * docs/design/draft-push-pull.txt:
30874 * docs/design/part-MT-refcounting.txt:
30875 * docs/design/part-TODO.txt:
30876 * docs/design/part-caps.txt:
30877 * docs/design/part-events.txt:
30878 * docs/design/part-gstbus.txt:
30879 * docs/design/part-gstpipeline.txt:
30880 * docs/design/part-messages.txt:
30881 * docs/design/part-push-pull.txt:
30882 * docs/design/part-query.txt:
30885 2005-04-21 Wim Taymans <wim@fluendo.com>
30887 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30888 (gst_message_new), (gst_message_new_error),
30889 (gst_message_new_warning), (gst_message_new_tag),
30890 (gst_message_new_state_changed), (gst_message_new_application),
30891 (gst_message_get_structure):
30892 * gst/gstmessage.h:
30893 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30894 (gst_structure_copy_conditional):
30895 Use parent refcount in GstMessage to ensure GstStructure
30897 Cleaned up headers a bit.
30900 2005-04-20 Wim Taymans <wim@fluendo.com>
30902 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30903 (gst_basesink_pad_getcaps), (gst_basesink_init),
30904 (gst_basesink_chain_unlocked):
30905 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30906 (gst_type_find_helper):
30907 * gst/elements/gsttypefindelement.c:
30908 (gst_type_find_element_have_type), (gst_type_find_element_init),
30909 (stop_typefinding), (gst_type_find_element_handle_event),
30910 (find_suggest), (gst_type_find_element_chain),
30911 (gst_type_find_element_checkgetrange),
30912 (gst_type_find_element_getrange), (do_typefind),
30913 (gst_type_find_element_activate):
30914 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30915 (gst_buffer_default_free), (gst_buffer_default_copy),
30916 (gst_buffer_set_caps):
30917 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30918 (gst_caps_replace):
30919 * gst/gstmessage.c: (gst_message_new),
30920 (gst_message_new_state_changed):
30921 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30922 (gst_pad_set_checkgetrange_function),
30923 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30924 (gst_pad_set_caps), (gst_pad_check_pull_range),
30925 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30927 * gst/gsttypefind.c: (gst_type_find_register):
30928 Make gst_caps_replace() work like other _replace() functions.
30929 Use _caps_replace() where possible.
30930 Make sure _message_new() initialises its field.
30931 Add gst_static_pad_template_get_caps()
30934 2005-04-18 Andy Wingo <wingo@pobox.com>
30936 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30937 on the peer, not the pad. I think that was a typo. Pass an extra
30938 arg to see if random access is possible. Activate the pads as
30939 PULL_RANGE if possible.
30941 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30943 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30944 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30947 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30949 * docs/faq/using.xml:
30950 Add note on gstreamer-properties (#154996).
30952 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30954 * docs/random/bbb/optional-properties:
30955 Some analysis on optional properties.
30957 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30959 * docs/gst/tmpl/gstelementfactory.sgml:
30960 * gst/gstelement.h:
30961 * gst/gstelementfactory.c: (gst_element_factory_init),
30962 (gst_element_factory_cleanup), (gst_element_register),
30963 (__gst_element_factory_add_static_pad_template),
30964 (gst_element_factory_get_static_pad_templates),
30965 (gst_element_factory_can_src_caps),
30966 (gst_element_factory_can_sink_caps):
30967 * gst/registries/Makefile.am:
30968 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30969 (gst_xml_registry_class_init), (gst_xml_registry_init),
30970 (gst_xml_registry_new), (gst_xml_registry_set_property),
30971 (gst_xml_registry_get_property), (get_time), (make_dir),
30972 (gst_xml_registry_get_perms_func),
30973 (plugin_times_older_than_recurse), (plugin_times_older_than),
30974 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30975 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30976 (add_to_char_array), (read_string), (read_uint), (read_enum),
30977 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30978 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30979 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30980 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30981 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30982 (gst_xml_registry_rebuild):
30983 * gst/registries/gstlibxmlregistry.h:
30984 * tools/gst-compprep.c: (main):
30985 * tools/gst-inspect.c: (print_pad_templates_info):
30986 * tools/gst-xmlinspect.c: (print_element_info):
30987 Use libxml2 for registry parsing, use staticpadtemplates in
30988 elementfactories. Makes gst_init() +/- 10x faster.
30990 2005-04-12 Wim Taymans <wim@fluendo.com>
30992 * gst/base/Makefile.am:
30993 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30994 (gst_basesink_pad_getcaps), (gst_basesink_init),
30995 (gst_basesink_event), (gst_basesink_change_state):
30996 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30997 (gst_basesrc_init), (gst_basesrc_query),
30998 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30999 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31000 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31001 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31002 (gst_basesrc_stop), (gst_basesrc_activate),
31003 (gst_basesrc_change_state):
31004 * gst/base/gsttypefindhelper.c: (helper_find_peek),
31005 (helper_find_suggest), (gst_type_find_helper):
31006 * gst/base/gsttypefindhelper.h:
31007 * gst/elements/Makefile.am:
31008 * gst/elements/gstelements.c:
31009 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31010 (gst_fakesink_get_times), (gst_fakesink_event),
31011 (gst_fakesink_preroll), (gst_fakesink_render):
31012 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31013 (gst_fakesrc_init), (gst_fakesrc_event_handler),
31014 (gst_fakesrc_get_property), (gst_fakesrc_create),
31015 (gst_fakesrc_start), (gst_fakesrc_stop):
31016 * gst/elements/gstfakesrc.h:
31017 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31018 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31019 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31020 (gst_filesrc_create_read), (gst_filesrc_create),
31021 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31022 (gst_filesrc_start):
31023 * gst/elements/gsttypefindelement.c:
31024 (gst_type_find_element_have_type), (gst_type_find_element_init),
31025 (start_typefinding), (stop_typefinding), (push_buffer_store),
31026 (gst_type_find_element_handle_event),
31027 (gst_type_find_element_chain),
31028 (gst_type_find_element_checkgetrange),
31029 (gst_type_find_element_getrange), (do_typefind),
31030 (gst_type_find_element_activate),
31031 (gst_type_find_element_change_state):
31032 * gst/elements/gsttypefindelement.h:
31033 * gst/gstpipeline.c: (pipeline_bus_handler):
31034 Added typefind helper.
31035 Small preroll fix in the base sink.
31036 Disable typefind code in basesrc.
31037 Crude port of typefindelement.
31041 2005-04-11 Wim Taymans <wim@fluendo.com>
31043 * check/gst/gstbus.c: (gstbus_suite):
31044 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31045 * check/gstcheck.h:
31046 Fix up the timeout so that the test does not fail.
31048 2005-04-06 Wim Taymans <wim@fluendo.com>
31051 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31052 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31053 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31054 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31055 (gst_basesrc_check_get_range), (gst_basesrc_loop),
31056 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31057 (gst_basesrc_stop), (gst_basesrc_activate),
31058 (gst_basesrc_change_state), (basesrc_find_peek),
31059 (basesrc_find_suggest), (gst_basesrc_type_find):
31060 * gst/base/gstbasesrc.h:
31061 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31062 (gst_filesrc_class_init), (gst_filesrc_init),
31063 (gst_filesrc_finalize), (gst_filesrc_set_location),
31064 (gst_filesrc_set_property), (gst_filesrc_get_property),
31065 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31066 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31067 (gst_filesrc_create_read), (gst_filesrc_create),
31068 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31069 * gst/elements/gstfilesrc.h:
31070 * gst/gstelement.c: (gst_element_get_state_func),
31071 (gst_element_lost_state), (gst_element_pads_activate):
31072 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31073 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31074 (gst_pad_pull_range):
31076 More work on the generic source base class, implement seeking,
31078 Make filesrc extend the base source class.
31079 Added gst_pad_set_checkgetrange_function to GstPad.
31081 2005-04-06 Andy Wingo <wingo@pobox.com>
31083 * pkgconfig/gstreamer-base.pc.in:
31084 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31086 * pkgconfig/Makefile.am:
31087 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31089 2005-04-04 Wim Taymans <wim@fluendo.com>
31091 * gst/base/Makefile.am:
31093 * gst/base/gstbasesink.c: (gst_basesink_base_init),
31094 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31095 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31096 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31097 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31098 (gst_basesrc_base_init), (gst_basesrc_class_init),
31099 (gst_basesrc_init), (gst_basesrc_get_formats),
31100 (gst_basesrc_get_query_types), (gst_basesrc_query),
31101 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31102 (gst_basesrc_set_property), (gst_basesrc_get_property),
31103 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31104 (gst_basesrc_loop), (gst_basesrc_activate),
31105 (gst_basesrc_change_state):
31106 * gst/base/gstbasesrc.h:
31107 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31108 (gst_fakesrc_class_init), (gst_fakesrc_init),
31109 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31110 (gst_fakesrc_get_property), (gst_fakesrc_create):
31111 * gst/elements/gstfakesrc.h:
31112 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31113 (gst_filesrc_open_file), (gst_filesrc_loop),
31114 (gst_filesrc_activate), (filesrc_find_peek),
31115 (gst_filesrc_type_find):
31116 Made base source class, make fakesrc extend it.
31117 Add comments to basesink class.
31118 Some filesrc cleanup.
31120 2005-03-31 David Schleef <ds@schleef.org>
31122 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31123 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31124 expected to link against libgstreamer.
31125 * gst/base/Makefile.am: link against libgstreamer
31126 * gst/elements/Makefile.am: same
31128 2005-03-31 Andy Wingo <wingo@pobox.com>
31130 * tests/instantiate/Makefile.am:
31131 * tests/instantiate/caps.c: Add test to test speed of caps copy
31134 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31135 GMemChunk to be fair.
31137 * gst/gsttrashstack.h: Remove warning about using the fallback
31138 trash stack implementation, it's still faster than malloc.
31140 2005-03-30 Andy Wingo <wingo@pobox.com>
31142 * tests/complexity.c: Add a copyright.
31144 2005-03-31 Wim Taymans <wim@fluendo.com>
31146 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31147 (gst_base_transform_class_init), (gst_base_transform_init),
31148 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31149 (gst_base_transform_get_property),
31150 (gst_base_transform_sink_activate),
31151 (gst_base_transform_src_activate),
31152 (gst_base_transform_change_state):
31153 * gst/base/gstbasetransform.h:
31154 * gst/elements/gstidentity.c: (gst_identity_class_init),
31155 (gst_identity_event), (gst_identity_check_perfect),
31156 (gst_identity_transform), (gst_identity_start),
31157 (gst_identity_stop):
31158 Added start/stop methods to transform base class so subclasses
31159 don't need to deal with state changes even.
31161 2005-03-31 Wim Taymans <wim@fluendo.com>
31163 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31164 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31166 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31167 (gst_pad_pull_range):
31168 Added rate to the discont event to prepare for variable speed
31169 and reverse playback.
31171 2005-03-29 David Schleef <ds@schleef.org>
31174 * testsuite/trigger/Makefile.am:
31175 * testsuite/trigger/trigger.c: A little example program to show
31176 how trigger-based elements can work.
31178 2005-03-29 Wim Taymans <wim@fluendo.com>
31180 * gst/base/Makefile.am:
31182 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31183 (gst_basesink_base_init), (gst_basesink_class_init),
31184 (gst_basesink_pad_getcaps), (gst_basesink_init),
31185 (gst_basesink_activate), (gst_basesink_change_state):
31186 * gst/base/gstbasesink.h:
31187 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31188 (gst_base_transform_base_init), (gst_base_transform_finalize),
31189 (gst_base_transform_class_init), (gst_base_transform_init),
31190 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31191 (gst_base_transform_event), (gst_base_transform_getrange),
31192 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31193 (gst_base_transform_set_property),
31194 (gst_base_transform_get_property),
31195 (gst_base_transform_sink_activate),
31196 (gst_base_transform_src_activate),
31197 (gst_base_transform_change_state):
31198 * gst/base/gstbasetransform.h:
31199 * gst/elements/gstidentity.c: (gst_identity_finalize),
31200 (gst_identity_class_init), (gst_identity_init),
31201 (gst_identity_event), (gst_identity_check_perfect),
31202 (gst_identity_transform), (gst_identity_set_property),
31203 (gst_identity_get_property), (gst_identity_change_state):
31204 * gst/elements/gstidentity.h:
31205 * gst/gstelement.c: (gst_element_get_state_func),
31206 (gst_element_lost_state), (gst_element_pads_activate):
31207 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31208 (gst_pad_check_pull_range), (gst_pad_pull_range):
31210 Simplify pad activation.
31211 Added function to check if pull_range can be performed.
31212 Error out when pulling inactive or flushing pads.
31213 Removed const from refcounted types as it does not make sense.
31214 Simplify pad templates in basesink
31215 Added base class for simple 1-to-1 transforms.
31216 Make identity subclass the base transform.
31218 2005-03-29 Andy Wingo <wingo@pobox.com>
31220 * docs/libs/gstreamer-libs-overrides.txt:
31221 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31222 really don't understand what's going on, but like whatever. I want
31225 * docs/gst/Makefile.am:
31226 * docs/libs/Makefile.am: Dist the overrides files.
31228 * check/Makefile.am (clean-local): Remove .libs directories.
31230 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31231 elements to EXTRA_DIST, so po/ files are happy.
31233 * po/POTFILES.in: Er, remove it here.
31235 * po/POTFILES: Remove gstspider.c.
31237 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31239 * docs/libs/gstreamer-libs-docs.sgml:
31240 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31243 * tests/complexity.c (main): Set the length of the preroll queue
31244 on the sinks to prevent a lockup.
31246 * libs/gst/dataprotocol/Makefile.am:
31247 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31248 the same as the one in check/gst-libs/gdp.c.
31250 * po/, docs/gst/: Commit automatic changes to docs and po files.
31252 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31253 the versioned libgstbase.
31255 * check/Makefile.am: Depend on an unversioned gst-register, seems
31256 to make autoconf happier.
31258 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31260 2005-03-28 Wim Taymans <wim@fluendo.com>
31263 * docs/design/part-gstelement.txt:
31264 * docs/design/part-negotiation.txt:
31265 * docs/design/part-preroll.txt:
31266 * docs/design/part-scheduling.txt:
31267 * docs/design/part-states.txt:
31269 * gst/base/Makefile.am:
31271 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31272 (gst_basesink_base_init), (gst_basesink_class_init),
31273 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31274 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31275 (gst_basesink_set_pad_functions),
31276 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31277 (gst_basesink_set_property), (gst_basesink_get_property),
31278 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31279 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31280 (gst_basesink_preroll_queue_push),
31281 (gst_basesink_preroll_queue_empty),
31282 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31283 (gst_basesink_event), (gst_basesink_get_times),
31284 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31285 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31286 (gst_basesink_loop), (gst_basesink_activate),
31287 (gst_basesink_change_state):
31288 * gst/base/gstbasesink.h:
31289 * gst/elements/Makefile.am:
31290 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31291 (gst_fakesink_class_init), (gst_fakesink_init),
31292 (gst_fakesink_set_property), (gst_fakesink_get_property),
31293 (gst_fakesink_get_times), (gst_fakesink_event),
31294 (gst_fakesink_preroll), (gst_fakesink_render),
31295 (gst_fakesink_change_state):
31296 * gst/elements/gstfakesink.h:
31297 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31298 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31299 * gst/gstelement.c: (gst_element_add_pad),
31300 (gst_element_get_state_func), (gst_element_abort_state),
31301 (gst_element_commit_state), (gst_element_lost_state),
31302 (gst_element_set_state), (gst_element_pads_activate):
31303 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31304 * gst/gstpipeline.c: (gst_pipeline_send_event),
31305 (gst_pipeline_change_state):
31306 Added state change code.
31307 Added/updated docs.
31308 Added sink base class, make fakesink extend the base class.
31309 Small cleanups in GstPipeline.
31311 2005-03-26 David Schleef <ds@schleef.org>
31313 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31314 is broken and should be implemented in a different library.
31315 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31316 * gst/gst.h: remove gstcpu.h
31317 * gst/gstcpu.c: remove
31318 * gst/gstcpu.h: remove
31319 * gst/Makefile.am.future: Remove this file. It's ancient.
31321 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31323 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31324 (gst_bin_send_event):
31325 Add default event/set_manager handlers. The set_manager handler
31326 takes care that the manager is distributed over kids that were
31327 already in the bin before the manager was set. The event handler
31328 is a utility virtual function that sends the event over all sinks,
31329 so that gst_element_send_event (bin, event); has the expected
31331 * gst/gstpad.c: (gst_pad_event_default):
31332 Re-install default event handling for discontinuities, so that
31333 seeking works without requiring hacks in applications or extra
31335 * gst/gstpipeline.c: (gst_pipeline_class_init),
31336 (gst_pipeline_send_event):
31337 Half hack, half utility: set a pipeline to PAUSED for seek events,
31338 since that is the only way we can guarantee a/v sync. Means that
31339 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31340 and it "just works".
31342 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31344 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31345 Lock/unlock mismatch.
31347 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31349 * docs/faq/gst-uninstalled:
31350 add gst-plugins-base
31351 * docs/gst/Makefile.am:
31352 don't error out until docs are fixed
31353 * docs/gst/gstreamer.types:
31356 2005-03-22 Wim Taymans <wim@fluendo.com>
31358 * check/Makefile.am:
31359 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31360 * gst/gststructure.c: (gst_structure_set_valist),
31361 (gst_structure_copy_conditional):
31362 Activated more tests.
31363 Added message test.
31364 Added G_TYPE_POINTER to GstStructure.
31367 2005-03-22 Wim Taymans <wim@fluendo.com>
31369 * docs/design/part-TODO.txt:
31370 * docs/design/part-events.txt:
31371 * docs/design/part-gstbin.txt:
31372 * docs/design/part-gstbus.txt:
31373 * docs/design/part-gstpipeline.txt:
31374 * docs/design/part-messages.txt:
31376 * gst/gstmessage.c:
31379 2005-03-21 Wim Taymans <wim@fluendo.com>
31381 * gst/gstbus.c: (gst_bus_post):
31382 Fix copy-and-paste error.
31384 2005-03-21 Wim Taymans <wim@fluendo.com>
31386 * check/Makefile.am:
31388 * gst/elements/Makefile.am:
31389 * gst/elements/gstelements.c:
31390 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31391 (gst_fakesink_event), (gst_fakesink_chain):
31392 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31393 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31394 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31395 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31396 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31397 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31398 (gst_fakesrc_loop), (gst_fakesrc_activate),
31399 (gst_fakesrc_change_state):
31400 * gst/elements/gstfakesrc.h:
31401 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31402 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31403 (gst_filesrc_open_file), (gst_filesrc_loop),
31404 (gst_filesrc_activate), (gst_filesrc_change_state),
31405 (filesrc_find_peek), (filesrc_find_suggest),
31406 (gst_filesrc_type_find):
31407 * gst/elements/gstidentity.c: (gst_identity_finalize),
31408 (gst_identity_class_init), (gst_identity_init),
31409 (gst_identity_proxy_getcaps), (identity_queue_push),
31410 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31411 (gst_identity_getrange), (gst_identity_chain),
31412 (gst_identity_sink_loop), (gst_identity_src_loop),
31413 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31414 (gst_identity_set_property), (gst_identity_get_property),
31415 (gst_identity_change_state):
31416 * gst/elements/gstidentity.h:
31417 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31418 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31419 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31420 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31421 (gst_tee_sink_activate):
31422 * gst/elements/gsttee.h:
31423 * gst/gst.c: (gst_register_core_elements), (init_post):
31425 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31426 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31427 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31428 (gst_bin_change_state):
31430 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31431 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31432 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31433 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31434 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31435 (bus_watch_callback), (bus_watch_destroy),
31436 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31437 (poll_timeout), (gst_bus_poll):
31441 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31442 (gst_element_post_message), (gst_element_message_full),
31443 (gst_element_get_state_func), (gst_element_get_state),
31444 (gst_element_abort_state), (gst_element_commit_state),
31445 (gst_element_lost_state), (gst_element_set_state),
31446 (gst_element_pads_activate), (gst_element_change_state),
31447 (gst_element_dispose), (gst_element_set_manager_func),
31448 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31449 (gst_element_set_manager), (gst_element_get_manager),
31450 (gst_element_set_bus), (gst_element_get_bus),
31451 (gst_element_set_scheduler), (gst_element_get_scheduler):
31452 * gst/gstelement.h:
31453 * gst/gstevent.c: (gst_event_new_segment_seek),
31454 (gst_event_new_flush):
31456 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31457 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31458 (gst_message_new_eos), (gst_message_new_error),
31459 (gst_message_new_warning), (gst_message_new_tag),
31460 (gst_message_new_state_changed), (gst_message_new_application),
31461 (gst_message_get_structure), (gst_message_parse_tag),
31462 (gst_message_parse_state_changed), (gst_message_parse_error),
31463 (gst_message_parse_warning):
31464 * gst/gstmessage.h:
31465 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31466 (gst_real_pad_set_property), (gst_pad_set_active),
31467 (gst_pad_is_active), (gst_pad_set_blocked_async),
31468 (gst_pad_set_blocked), (gst_pad_is_blocked),
31469 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31470 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31471 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31472 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31473 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31474 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31475 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31476 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31477 (gst_pad_set_caps), (gst_pad_configure_sink),
31478 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31479 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31480 (gst_real_pad_dispose), (gst_real_pad_finalize),
31481 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31482 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31483 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31485 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31486 (pipeline_bus_handler), (gst_pipeline_change_state),
31487 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31488 * gst/gstpipeline.h:
31490 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31491 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31492 (gst_queue_link_src), (gst_queue_bufferalloc),
31493 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31494 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31495 (gst_queue_loop), (gst_queue_handle_src_event),
31496 (gst_queue_handle_src_query), (gst_queue_src_activate),
31497 (gst_queue_change_state):
31499 * gst/gstscheduler.c: (gst_scheduler_init),
31500 (gst_scheduler_dispose), (gst_scheduler_create_task),
31501 (gst_scheduler_factory_create):
31502 * gst/gstscheduler.h:
31503 * gst/gststructure.c: (gst_structure_get_type),
31504 (gst_structure_copy_conditional):
31505 * gst/gststructure.h:
31506 * gst/gsttaginterface.h:
31507 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31508 (gst_task_init), (gst_task_dispose), (gst_task_create),
31509 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31515 * gst/schedulers/Makefile.am:
31516 * gst/schedulers/cothreads_compat.h:
31517 * gst/schedulers/entryscheduler.c:
31518 * gst/schedulers/faircothreads.c:
31519 * gst/schedulers/faircothreads.h:
31520 * gst/schedulers/fairscheduler.c:
31521 * gst/schedulers/gstbasicscheduler.c:
31522 * gst/schedulers/gstoptimalscheduler.c:
31523 * gst/schedulers/gthread-cothreads.h:
31524 * gst/schedulers/threadscheduler.c:
31525 (gst_thread_scheduler_task_get_type),
31526 (gst_thread_scheduler_task_class_init),
31527 (gst_thread_scheduler_task_init),
31528 (gst_thread_scheduler_task_start),
31529 (gst_thread_scheduler_task_stop),
31530 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31531 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31532 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31533 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31535 * libs/gst/Makefile.am:
31536 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31537 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31538 (gst_file_pad_parent_set):
31539 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31540 (gst_dp_event_from_packet):
31541 * tests/complexity.c: (main):
31542 * tests/mass_elements.c: (main):
31543 * testsuite/states/locked.c: (message_received), (main):
31544 * testsuite/states/parent.c: (main):
31545 * tools/gst-inspect.c: (print_element_flag_info),
31546 (print_implementation_info), (print_pad_info):
31547 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31549 * tools/gst-md5sum.c: (event_loop), (main):
31550 * tools/gst-typefind.c: (main):
31551 * tools/gst-xmlinspect.c: (print_element_info):
31553 Added GstBus for mainloop integration.
31554 Added GstMessage for sending notifications on the bus.
31555 Added GstTask as an abstraction for pipeline entry points.
31557 Removed Schedulers.
31558 Simplified GstQueue for multithreaded core.
31559 Made _link threadsafe, removed old capsnego.
31560 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31561 Added pad blocking functions.
31562 Reworked scheduling functions in GstPad to prepare for
31563 scheduling updates soon.
31564 Moved events out of data stream.
31565 Simplified GstEvent types.
31566 Added return values to push/pull.
31567 Removed clocking from GstElement.
31568 Added prototypes for state change function for next merge.
31569 Removed iterate from bins and state change management.
31570 Fixed some elements, disabled others for now.
31571 Fixed -inspect and -launch.
31572 Added check for GstBus.
31574 2005-03-10 Wim Taymans <wim@fluendo.com>
31576 * docs/design/part-MT-refcounting.txt:
31577 * docs/design/part-clocks.txt:
31578 * docs/design/part-gstelement.txt:
31579 * docs/design/part-gstobject.txt:
31580 * docs/design/part-standards.txt:
31581 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31582 (gst_bin_remove_func), (gst_bin_remove):
31586 * testsuite/clock/clock1.c: (main):
31587 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31589 * testsuite/dlopen/loadgst.c: (do_test):
31590 * testsuite/refcounting/bin.c: (add_remove_test1),
31591 (add_remove_test2), (main):
31592 * testsuite/refcounting/element.c: (main):
31593 * testsuite/refcounting/element_pad.c: (main):
31594 * testsuite/refcounting/pad.c: (main):
31595 * tools/gst-launch.c: (sigint_handler_sighandler):
31596 * tools/gst-typefind.c: (main):
31598 Added doc about clock.
31599 removed gst_bin_iterate_recurse_up(), marked methods
31601 Fix more testsuites.
31603 2005-03-09 Wim Taymans <wim@fluendo.com>
31605 * gst/gstpad.c: (gst_pad_get_direction),
31606 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31607 (gst_pad_collect_valist):
31608 * testsuite/bins/interface.c: (main):
31609 * testsuite/caps/audioscale.c: (test_caps):
31610 * testsuite/caps/caps.c: (test1), (test2), (test3):
31611 * testsuite/caps/deserialize.c: (main):
31612 * testsuite/caps/enumcaps.c: (main):
31613 * testsuite/caps/filtercaps.c: (main):
31614 * testsuite/caps/intersect2.c: (main):
31615 * testsuite/caps/random.c: (main):
31616 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31617 * testsuite/caps/sets.c: (check_caps):
31618 * testsuite/caps/simplify.c: (check_caps), (main):
31619 * testsuite/caps/subtract.c: (check_caps):
31620 Fix _pad_get_direction wrt ghostpads.
31621 Fix caps testsuite.
31623 2005-03-09 Wim Taymans <wim@fluendo.com>
31625 * check/Makefile.am:
31626 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31627 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31628 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31629 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31630 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31631 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31632 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31633 (bin_element_is_sink), (gst_bin_iterate_sinks),
31634 (gst_bin_iterate_all_by_interface):
31636 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31637 (gst_element_change_state), (gst_element_dispose),
31638 (gst_element_finalize), (gst_element_set_loop_function):
31639 * gst/gstelement.h:
31640 * gst/gstiterator.c: (find_custom_fold_func):
31641 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31642 (gst_pad_collectv), (gst_pad_collect_valist),
31643 (gst_pad_template_new):
31644 * gst/gstpipeline.c: (gst_pipeline_class_init),
31645 (gst_pipeline_dispose), (gst_pipeline_set_property),
31646 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31647 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31648 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31650 * gst/schedulers/entryscheduler.c:
31651 * gst/schedulers/gstbasicscheduler.c:
31652 (gst_basic_scheduler_cothreaded_chain),
31653 (gst_basic_scheduler_chain_add_element):
31654 * testsuite/bins/interface.c: (main):
31656 Added GstSystemClock test.
31657 Implemented clock distribution code in GstBin.
31658 Implemented iterate sinks method for future use.
31659 Rearranged gstelement.h
31660 Fix GstIterator comparison bug.
31661 Moved some code to GstPipeline, mostly clocking related.
31663 2005-03-09 Wim Taymans <wim@fluendo.com>
31666 * gst/gst_private.h:
31667 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31668 (gst_bin_remove_func), (gst_bin_remove),
31669 (gst_bin_get_by_name_recurse_up):
31670 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31671 (gst_clock_id_compare_func), (gst_clock_id_wait),
31672 (gst_clock_id_wait_async), (gst_clock_init),
31673 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31674 * gst/gstelement.h:
31675 * gst/gstinfo.c: (_gst_debug_init):
31677 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31678 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31680 Bump version number, we're now 0.9.0
31681 Add future debugging category.
31682 Fix NULL _unref() in _get_by_name_recurse_up
31683 Rearrange gstpad.h.
31686 2005-03-08 Wim Taymans <wim@fluendo.com>
31688 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31689 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31690 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31691 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31692 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31693 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31694 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31695 * gst/elements/gstidentity.c: (gst_identity_class_init):
31696 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31697 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31698 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31699 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31700 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31702 * gst/gstelement.c: (gst_element_class_init),
31703 (gst_element_base_class_init), (gst_element_init),
31704 (gst_element_get_random_pad), (gst_element_wait_state_change),
31705 (gst_element_change_state), (gst_element_dispose),
31706 (gst_element_finalize), (gst_element_set_loop_function):
31707 * gst/gstelement.h:
31708 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31709 * gst/gstthread.c: (gst_thread_class_init),
31710 (gst_thread_release_children_locks), (gst_thread_change_state):
31711 * gst/schedulers/gstbasicscheduler.c:
31712 (gst_basic_scheduler_loopfunc_wrapper),
31713 (gst_basic_scheduler_chain_wrapper),
31714 (gst_basic_scheduler_src_wrapper),
31715 (gst_basic_scheduler_remove_element):
31716 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31717 Remove threadsafe properties. Fix elements because GObject
31718 complains when installing a property before declaring a
31719 set/get_property handler.
31720 Rearrange gstelement.h file, use STATE macros for state locks.
31721 Free mutexes in the finalize method instead of dispose.
31723 2005-03-08 Wim Taymans <wim@fluendo.com>
31725 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31726 * gst/gstthread.c: (gst_thread_release_children_locks):
31727 Added parentage check.
31728 Fix build og GstThread again.
31730 2005-03-08 Wim Taymans <wim@fluendo.com>
31732 * docs/design/part-MT-refcounting.txt:
31733 * docs/design/part-conventions.txt:
31734 * docs/design/part-gstobject.txt:
31735 * docs/design/part-relations.txt:
31736 * docs/design/part-standards.txt:
31737 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31738 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31739 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31740 (gst_bin_iterate_all_by_interface):
31743 * gst/gstelement.c: (gst_element_class_init),
31744 (gst_element_change_state), (gst_element_set_loop_function):
31745 * gst/gstelement.h:
31746 * gst/gstiterator.c:
31747 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31748 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31749 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31750 (gst_object_set_parent), (gst_object_unparent),
31751 (gst_object_check_uniqueness):
31753 Docs updates, clean up some headers.
31755 2005-03-07 Wim Taymans <wim@fluendo.com>
31757 * check/.cvsignore:
31758 * check/Makefile.am:
31759 * check/gst-libs/.cvsignore:
31760 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31761 * check/gst/.cvsignore:
31762 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31763 (START_TEST), (gstbus_suite), (main):
31764 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31765 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31766 (gst_data_suite), (main):
31767 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31768 (add_fold_func), (gstiterator_suite), (main):
31769 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31770 (thread_name_object), (thread_name_object_default),
31771 (gst_object_name_compare), (gst_object_suite), (main):
31772 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31773 (gst_pad_suite), (main):
31774 * check/gstcheck.c: (gst_check_log_message_func),
31775 (gst_check_log_critical_func), (gst_check_init):
31776 * check/gstcheck.h:
31777 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31778 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31781 2005-03-07 Wim Taymans <wim@fluendo.com>
31783 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31784 (gst_list_iterator_next), (gst_list_iterator_resync),
31785 (gst_list_iterator_free), (gst_iterator_new_list),
31786 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31787 (gst_iterator_free), (gst_iterator_push), (filter_next),
31788 (filter_resync), (filter_uninit), (filter_free),
31789 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31790 (gst_iterator_foreach), (find_custom_fold_func),
31791 (gst_iterator_find_custom):
31792 * gst/gstiterator.h:
31793 Added missing files.
31795 2005-03-07 Wim Taymans <wim@fluendo.com>
31799 * docs/design/part-MT-refcounting.txt:
31800 * docs/design/part-conventions.txt:
31801 * docs/design/part-gstobject.txt:
31802 * docs/design/part-relations.txt:
31803 * examples/mixer/mixer.c: (main):
31804 * examples/thread/thread.c: (eos), (main):
31806 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31807 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31808 (gst_spider_plug_from_srcpad):
31809 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31810 (gst_spider_identity_change_state),
31811 (gst_spider_identity_sink_loop_type_finding):
31812 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31813 * gst/elements/gstidentity.c: (gst_identity_init):
31814 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31815 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31816 * gst/elements/gsttypefindelement.c: (free_entry):
31819 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31820 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31821 (gst_bin_set_index), (gst_bin_set_element_sched),
31822 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31823 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31824 (gst_bin_iterate_elements), (iterate_child_recurse),
31825 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31826 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31827 (compare_interface), (gst_bin_get_by_interface),
31828 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31830 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31831 (gst_buffer_default_free), (gst_buffer_default_copy),
31832 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31833 (gst_buffer_create_sub):
31835 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31836 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31837 (gst_caps_unref), (gst_static_caps_get),
31838 (gst_caps_remove_and_get_structure), (gst_caps_append),
31839 (gst_caps_append_structure), (gst_caps_remove_structure),
31840 (gst_caps_copy_nth), (gst_caps_set_simple),
31841 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31842 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31843 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31844 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31845 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31846 (gst_caps_structure_figure_out_union),
31847 (gst_caps_switch_structures), (gst_caps_do_simplify),
31848 (gst_caps_replace), (gst_caps_from_string),
31849 (gst_caps_copy_conditional):
31851 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31852 (_gst_clock_id_free), (gst_clock_id_unref),
31853 (gst_clock_id_compare_func), (gst_clock_id_wait),
31854 (gst_clock_id_wait_async), (gst_clock_class_init),
31855 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31856 (gst_clock_get_time), (gst_clock_set_time_adjust),
31857 (gst_clock_set_property), (gst_clock_get_property):
31860 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31861 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31863 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31864 (gst_element_requires_clock), (gst_element_provides_clock),
31865 (gst_element_set_clock), (gst_element_clock_wait),
31866 (gst_element_wait), (gst_element_set_time_delay),
31867 (gst_element_is_indexable), (gst_element_add_pad),
31868 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31869 (pad_compare_name), (gst_element_get_static_pad),
31870 (gst_element_request_pad), (gst_element_get_request_pad),
31871 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31872 (gst_element_class_get_pad_template_list),
31873 (gst_element_class_get_pad_template), (gst_element_error_func),
31874 (gst_element_get_random_pad), (gst_element_get_event_masks),
31875 (gst_element_send_event), (gst_element_seek),
31876 (gst_element_get_query_types), (gst_element_query),
31877 (gst_element_get_formats), (gst_element_convert),
31878 (gst_element_is_locked_state), (gst_element_set_locked_state),
31879 (gst_element_sync_state_with_parent), (gst_element_change_state),
31880 (gst_element_finalize), (gst_element_yield),
31881 (gst_element_interrupt), (gst_element_set_scheduler),
31882 (gst_element_get_scheduler), (gst_element_set_loop_function):
31883 * gst/gstelement.h:
31885 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31886 (gst_format_get_by_nick), (gst_format_get_details),
31887 (gst_format_iterate_definitions):
31889 * gst/gstindex.c: (gst_index_gtype_resolver):
31892 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31893 (gst_mem_chunk_free):
31894 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31895 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31896 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31897 (gst_object_dispatch_properties_changed),
31898 (gst_object_set_name_default), (gst_object_set_name),
31899 (gst_object_get_name), (gst_object_set_name_prefix),
31900 (gst_object_get_name_prefix), (gst_object_set_parent),
31901 (gst_object_get_parent), (gst_object_unparent),
31902 (gst_object_check_uniqueness), (gst_object_save_thyself),
31903 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31904 (gst_object_set_property), (gst_object_get_property),
31905 (gst_object_get_path_string):
31907 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31908 (gst_real_pad_init), (gst_real_pad_get_property),
31909 (gst_pad_custom_new), (gst_pad_get_direction),
31910 (gst_pad_set_active), (gst_pad_is_active),
31911 (gst_pad_set_event_function), (gst_pad_is_linked),
31912 (gst_pad_link_free), (gst_pad_link_intersect),
31913 (gst_pad_link_fixate), (gst_pad_set_caps),
31914 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31915 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31916 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31917 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31918 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31919 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31920 (gst_pad_realize), (gst_pad_get_allowed_caps),
31921 (gst_real_pad_dispose), (gst_real_pad_finalize),
31922 (gst_pad_collectv), (gst_pad_collect_valist),
31923 (gst_pad_template_dispose), (gst_pad_template_new),
31924 (gst_pad_get_internal_links):
31926 * gst/gstpipeline.c: (gst_pipeline_dispose),
31927 (gst_pipeline_change_state):
31928 * gst/gstpipeline.h:
31930 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31931 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31932 * gst/gstpluginfeature.h:
31933 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31934 * gst/gstquery.c: (_gst_query_type_initialize),
31935 (gst_query_type_register), (gst_query_type_get_by_nick),
31936 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31938 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31939 * gst/gstscheduler.c: (gst_scheduler_add_element),
31940 (gst_scheduler_factory_create):
31941 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31942 (gst_structure_free), (gst_structure_set_name),
31943 (gst_structure_id_set_value), (gst_structure_set_value),
31944 (gst_structure_set_valist), (gst_structure_remove_field),
31945 (gst_structure_remove_fields),
31946 (gst_structure_remove_fields_valist),
31947 (gst_structure_remove_all_fields), (gst_structure_foreach),
31948 (gst_structure_map_in_place),
31949 (gst_caps_structure_fixate_field_nearest_int),
31950 (gst_caps_structure_fixate_field_nearest_double):
31951 * gst/gststructure.h:
31952 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31953 (gst_system_clock_init), (gst_system_clock_dispose),
31954 (gst_system_clock_async_thread),
31955 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31956 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31957 * gst/gstsystemclock.h:
31958 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31959 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31960 * gst/gsttaginterface.c:
31961 * gst/gstthread.c: (gst_thread_dispose),
31962 (gst_thread_release_children_locks), (gst_thread_change_state),
31963 (gst_thread_main_loop):
31964 * gst/gsttrashstack.h:
31965 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31967 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31968 (gst_element_request_pad), (gst_element_get_pad_from_template),
31969 (gst_element_request_compatible_pad),
31970 (gst_element_get_compatible_pad_filtered),
31971 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31972 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31973 (gst_element_link_many), (gst_element_link),
31974 (gst_element_link_pads), (gst_element_unlink_pads),
31975 (gst_element_unlink_many), (gst_element_unlink),
31976 (gst_pad_can_link_filtered), (gst_pad_can_link),
31977 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31978 (gst_object_default_error), (gst_bin_add_many),
31979 (gst_bin_remove_many), (gst_element_populate_std_props),
31980 (gst_element_class_install_std_props), (gst_buffer_merge),
31981 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31982 (link_fold_func), (gst_pad_proxy_setcaps):
31984 * gst/gstvalue.c: (gst_value_deserialize_string):
31985 * gst/parse/grammar.y:
31986 * gst/schedulers/gstbasicscheduler.c:
31987 (gst_basic_scheduler_cothreaded_chain),
31988 (gst_basic_scheduler_chain_recursive_add),
31989 (gst_basic_scheduler_pad_link):
31990 * gst/schedulers/gstoptimalscheduler.c:
31991 (get_group_schedule_function),
31992 (gst_opt_scheduler_state_transition),
31993 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31994 * libs/gst/bytestream/bytestream.c:
31995 * libs/gst/dataprotocol/dataprotocol.c:
31996 (gst_dp_header_from_buffer):
31999 * tests/threadstate/threadstate2.c: (eos):
32000 * tools/gst-compprep.c: (main):
32001 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32002 (print_pad_info), (print_children_info):
32003 * tools/gst-launch.c: (idle_func), (main):
32004 * tools/gst-md5sum.c: (idle_func), (main):
32005 * tools/gst-xmlinspect.c: (print_element_info):
32006 First THREADED backport attempt, focusing on adding locks and
32007 making sure the API is threadsafe. Needs more work. More docs
32010 2005-02-24 Andy Wingo <wingo@pobox.com>
32012 * tests/bench-complexity.scm:
32013 * tests/complexity.gnuplot: New files, good for running complexity
32016 * tests/Makefile.am:
32017 * tests/complexity.c: New test, sets up N elements, at each level
32018 teeing into M streams per element. Eeeenteresting.
32020 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32021 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32022 running bench-mass_elements.scm.
32024 * tests/bench-mass_elements.scm: New script, runs mass_elements
32025 for various numbers of identities, outputting the results to a
32026 file. Requires guile 1.6. Just for testing.
32028 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
32030 * gst/schedulers/fairscheduler.c:
32031 compile with debug disabled
32033 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
32036 hunting season on 0.9 is now OPEN