1 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
3 * gst/gstbin.c: (bin_handle_async_start),
4 (gst_bin_handle_message_func), (gst_bin_query):
5 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
6 (gst_base_sink_event), (gst_base_sink_change_state):
7 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8 (gst_base_src_loop), (gst_base_src_change_state):
9 Copy seqnums from events to messages so that they can all be related
12 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
14 * tools/gst-launch.c: (event_loop):
15 Print the message seqnums.
17 2008-11-04 Andy Wingo <wingo@pobox.com>
19 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
21 2008-11-04 Andy Wingo <wingo@pobox.com>
23 Add sequence numbers to events and messages. See #559250.
25 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
29 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
30 events with a new sequence number, and copy it when copying.
31 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
32 an event's sequence number.
35 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
36 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
39 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
41 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
43 * docs/manual/advanced-position.xml:
44 * docs/manual/basics-bins.xml:
45 * docs/manual/basics-bus.xml:
46 * docs/manual/basics-pads.xml:
47 * docs/manual/intro-gstreamer.xml:
48 * docs/manual/intro-preface.xml:
49 Some Application Development Manual fixes thanks to
50 Andrew Feren. Fixes #558459.
52 2008-11-03 Stefan Kost <ensonic@users.sf.net>
54 * gst/gstregistrybinary.c:
55 Don't bother with the GTimer if we don't output the results.
57 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
59 Patch by: David Schleef <ds@schleef.org>
61 * libs/gst/net/Makefile.am:
62 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
64 2008-10-31 Stefan Kost <ensonic@users.sf.net>
66 * gst/gstregistrybinary.c:
67 Oh my, studip, stupid me. Remove double stat() call.
69 2008-10-31 Stefan Kost <ensonic@users.sf.net>
72 Use g_unlink instead of unlink.
83 Formatting & whitespaces.
85 2008-10-31 Stefan Kost <ensonic@users.sf.net>
87 * plugins/elements/gstidentity.c:
88 Doc typo. Use return value of parent_class->event.
90 * plugins/elements/gsttypefindelement.c:
91 Chain up at the end for consistency.
93 2008-10-30 Stefan Kost <ensonic@users.sf.net>
96 * docs/gst/gstreamer-docs.sgml:
97 * docs/gst/gstreamer-sections.txt:
98 * docs/gst/running.xml:
99 * docs/libs/gstreamer-libs-docs.sgml:
100 Change to xinclude based build - its faster and easier to maintain.
102 2008-10-30 Stefan Kost <ensonic@users.sf.net>
104 * gst/gstregistrybinary.c:
105 * gst/gstregistryxml.c:
106 Use g_unlink() as none of these are directories.
108 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
110 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
113 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
115 * libs/gst/base/gstbasetransform.c:
116 (gst_base_transform_find_transform), (gst_base_transform_getrange):
117 If we have a fixate function, call it even if we already have fixed caps
118 because the subclass might add some caps. Makes audioconvert add a
119 default channel layout.
121 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
123 * libs/gst/base/gstbasetransform.c:
124 (gst_base_transform_prepare_output_buffer),
125 (gst_base_transform_getrange):
126 Clear the output buffer variable.
127 Cleanups to the error path in the getrange function.
130 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
132 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
133 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
134 Use gst_buffer_try_new_and_alloc() and handle errors instead of
135 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
138 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
140 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
141 Set the last_stop to a more meaningful position when configuring the
142 segment. ie. the start/stop of the segment or clipped against the
143 updated segment boundaries.
145 * tests/check/gst/gstsegment.c: (GST_START_TEST):
146 Add some unit tests for the last_stop.
148 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
150 * libs/gst/base/gstbytereader.c:
151 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
154 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
156 * docs/gst/gstreamer-sections.txt:
158 API: Move float endianness conversion macros from libgstfloatcast
159 to core as it's useful in general, even in core. Fixes bug #555196.
160 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
161 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
162 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
164 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
165 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
166 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
167 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
169 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
171 * docs/libs/gstreamer-libs-sections.txt:
172 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
173 (gst_byte_reader_peek_data):
174 * libs/gst/base/gstbytereader.h:
175 * win32/common/libgstbase.def:
176 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
177 to get a pointer to the data at the current position and have
180 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
183 Fix a bug in the output of the configure script summary
184 when --gst-disable-registry is supplied
186 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
188 * libs/gst/base/gstbitreader.c:
189 * libs/gst/base/gstbytereader.c:
190 Fix the names of 2 functions in the docs strings.
192 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
194 * libs/gst/base/gstbasetransform.c:
195 (gst_base_transform_prepare_output_buffer),
196 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
197 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
198 refcount problems as seen in banshee and maybe also in farsight2.
199 Remove atomic int now that we need to take the lock anyways.
201 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
203 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
204 (gst_base_sink_default_prepare_seek_segment),
205 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
206 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
207 (gst_base_sink_query):
208 Implement more seeking in pull mode.
209 Use pad convert functions to convert position to the requested format.
210 Fix position/duration reporting in pull mode.
211 Implement position and duration reporting in other formats than time.
213 * libs/gst/base/gstbasesink.h:
214 Add member to keep track of when the segment is playing.
216 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
218 * gst/gstpad.c: (gst_pad_configure_src):
219 When we use gst_pad_alloc_buffer() without wanting to set the caps we
220 also don't need to check if the caps are compatible because the caller
221 presumably is going to perform its own custom checks. Fixes some cases
222 where basetransform elements would error out when it was not needed.
224 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
226 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
229 * libs/gst/base/gstbasetransform.c:
230 (gst_base_transform_handle_buffer),
231 (gst_base_transform_reconfigure):
234 * win32/common/libgstbase.def:
237 2008-10-19 Stefan Kost <ensonic@users.sf.net>
239 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
240 Remove duplicated assignment and log a message in failure case.
242 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
244 Patch by: Dig Ge <dig.ge.cn at gmail com>
246 * tests/examples/helloworld/helloworld.c: (main):
247 Fix copy'n'paste bug in hello world example (#556900).
249 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
251 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
252 (gst_base_sink_query):
253 Query the total number of bytes when activating the pad in pull mode.
254 Implement duration query in pull mode by using the installed pad convert
255 function to convert from bytes to the requested format.
257 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
259 * docs/libs/gstreamer-libs-sections.txt:
260 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
261 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
262 (gst_base_sink_event), (gst_base_sink_perform_seek),
263 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
264 (gst_base_sink_send_event), (gst_base_sink_change_state):
265 * libs/gst/base/gstbasesink.h:
266 Add method to commit the state in subclasses.
267 Refactor the flush_start and flush_stop code because we need it for
268 flushing while seeking too.
269 Implement the beginnings of seeking in pull mode.
270 Use the segment last_stop field for the pulling offset.
271 Fix the pause method in pull mode.
272 Configure the segment to BYTES for pull mode.
273 API: GstBaseSink::gst_base_sink_do_preroll()
275 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
277 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
280 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
282 * gst/gstquark.c: (_priv_gst_quarks_initialize):
283 Fix printf format warning.
285 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
287 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
288 Fix flow aggregation of tee. Error out immediately for all flow returns
289 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
290 and return OK if at least one pad is linked.
292 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
293 and otherwise returned the flow return of the last pad, which is wrong.
295 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
296 (GST_START_TEST), (tee_suite):
297 Add unit tests for the flow aggregation.
299 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
301 * docs/design/part-TODO.txt:
302 Remove item from the todo list because it was fixed with the latency
303 state change rewrites.
305 * docs/design/part-seeking.txt:
306 * docs/design/part-segments.txt:
309 * gst/gstevent.c: (gst_event_new_new_segment_full),
310 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
311 (gst_event_parse_buffer_size), (gst_event_new_qos),
312 (gst_event_parse_qos), (gst_event_new_seek),
313 (gst_event_parse_seek), (gst_event_new_latency),
314 (gst_event_parse_latency):
315 Use quarks to construct and parse events.
317 * gst/gstquark.c: (_priv_gst_quarks_initialize):
319 Add some more quarks to the table.
320 Emit a warning when the quark tables are not in sync.
322 * tests/check/gst/gstbus.c: (GST_START_TEST):
325 2008-10-13 Stefan Kost <ensonic@users.sf.net>
327 * plugins/elements/Makefile.am:
328 * plugins/indexers/Makefile.am:
329 Don't install static libs for plugins. Fixes #550851 for core.
331 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
333 * gst/gstbus.c: (gst_bus_source_finalize),
334 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
335 (gst_bus_enable_sync_message_emission),
336 (gst_bus_disable_sync_message_emission),
337 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
338 Fix deadlock, g_source_get_id() cannot be called in finalize.
339 Keep track of the watch source by keeping a pointer to the source object
341 Use the bus lock to protect access to the pointer to the current
344 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
346 Base on Patch by: Olivier Crete <tester at tester dot ca>
348 * gst/gstbus.c: (gst_bus_source_finalize),
349 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
350 Only allow one bus watch to be set at a time. This is necessary
351 because the dispatcher pops the message from the bus and the second
352 watcher will then get NULL or the next message (and the first won't
353 get this next message then, etc). If more than one "watcher" is
354 required signal watches should be used. Fixes bug #526044.
356 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
358 * tools/gst-launch.c:
359 Change the printing of the 'buffering...' output to avoid putting
360 a \r in a translateable string (flagged by the TP).
362 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
365 Clarify that the save_thyself() and restore_thyself() virtual
366 functions of GstObject need to be overriden, not
367 gst_object_(save|restore)_thyself() which is impossible.
370 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
372 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
373 Revert a patch from 21 months ago that broke caps negotiation in pull
374 mode. Basically, having a buffer pass over a pad will trigger the
375 setcaps function when caps change, just like in push mode.
377 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
379 * docs/design/part-negotiation.txt:
380 Update the docs some more.
382 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
383 If we pull a buffer with non-trivial caps, suggest those caps with the
386 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
388 * docs/design/part-TODO.txt:
389 Add another limitation of pad-blocking with segment seeks not pushing
392 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
394 * win32/common/libgstbase.def:
395 * win32/common/libgstreamer.def:
396 Add new symbols to the win32 defs files
398 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
400 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
401 (gst_bin_handle_message_func):
402 The message src can be NULL, don't try to print the object names in that
405 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
406 Add some more debug info.
408 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
411 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
414 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
416 * docs/design/part-negotiation.txt:
419 * docs/libs/gstreamer-libs-sections.txt:
420 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
421 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
422 (gst_base_sink_init), (gst_base_sink_set_blocksize),
423 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
424 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
425 (gst_base_sink_loop), (gst_base_sink_pad_activate),
426 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
427 (gst_base_sink_change_state):
428 * libs/gst/base/gstbasesink.h:
429 Add blocksize property and methods to control the amount of data
431 Negotiate first before activating upstream in pull mode so that they can
432 negotiate themselves.
433 When we operate in pull mode, we only accept the caps that we
435 Make the sink go ASYNC to PAUSED, like all other sinks.
436 API: GstBaseSink::gst_base_sink_set_blocksize()
437 API: GstBaseSink::gst_base_sink_get_blocksize()
438 API: GstBaseSink::blocksize
440 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
441 (gst_base_src_set_live), (gst_base_src_is_live),
442 (gst_base_src_set_format), (gst_base_src_query_latency),
443 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
444 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
445 (gst_base_src_set_property), (gst_base_src_get_property):
446 * libs/gst/base/gstbasesrc.h:
447 Add typechecking in public API functions.
448 Add methods to control the blocksize in subclasses.
449 API: GstBaseSrc::gst_base_src_set_blocksize()
450 API: GstBaseSrc::gst_base_src_get_blocksize()
452 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
454 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
455 (buffer_probe), (event_probe), (GST_START_TEST):
456 We now see 3 events go through our pad, since basesink now sends
457 upstream latency events.
459 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
461 * gst/gstpipeline.c: (gst_pipeline_change_state):
462 Release the object lock before trying to flush the bus.
464 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
466 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
467 Forward LATENCY events upstreams so that elements know about the total
468 pipeline latency. Fixes #555307.
470 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
472 * plugins/elements/gstqueue.c:
473 Allow through queries when we don't know how
474 to adjust them (not TIME or BYTES), as otherwise it's
475 not possible to query the current position in order
476 to seek in other formats at all.
478 2008-10-08 Andy Wingo <wingo@pobox.com>
480 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
482 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
486 Unbreak -good build, private is a reserved c++ keyword.
488 2008-10-08 Andy Wingo <wingo@pobox.com>
490 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
491 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
492 removal: re-add GST_GHOST_PAD_CAST to the header.
494 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
495 (GstGhostPadClass): Publically expose these structures so as to
496 allow easy subclassing from C. Hide the member data behind a
497 private opaque data pointer.
499 * gst/gstghostpad.c: Adapt to store instance data in the type
500 instance's private data region, not in the public struct.
502 2008-10-08 Andy Wingo <wingo@pobox.com>
504 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
505 template via g_object_get(), be sure to unref it.
507 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
509 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
511 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
512 If we can't get a cache file don't try to save something to it.
513 Dereferencing NULL pointers usually isn't a good idea.
515 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
517 * tests/check/Makefile.am:
518 * tests/check/gst/gstabi.c:
519 * tests/check/gst/struct_sparc.h:
520 * tests/check/libs/libsabi.c:
521 * tests/check/libs/struct_sparc.h:
524 * tests/check/gst/gstvalue.c: (GST_START_TEST):
525 Cast signed integer to unsigned to avoid a compiler warning.
527 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
529 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
530 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
531 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
532 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
533 (gst_byte_reader_peek_int24_be):
534 Use new GST_READ_UINT24_(LE|BE) macros.
536 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
538 * docs/gst/gstreamer-sections.txt:
540 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
541 as it's too easy to break the ISO C strict aliasing rules with simple
542 casts to the corresponding type and this would introduce hard to debug
543 bugs. Fixes bug #545714.
545 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
547 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
549 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
550 * gst/gstghostpad.c: (gst_ghost_pad_construct):
551 Add 'Since' bits to gtk-doc chunks for new API.
553 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
555 * docs/gst/gstreamer-sections.txt:
558 2008-10-06 Andy Wingo <wingo@pobox.com>
560 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
561 that will be called on the malloc_data to free it. Basically a way
562 to avoid subclassing when all you need is a different free
563 function, i.e. free() instead of g_free().
565 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
566 calling the free function.
567 (gst_buffer_init): Initialize the free function to g_free.
569 2008-10-06 Andy Wingo <wingo@pobox.com>
572 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
573 finishes the initialization of ghost pad. Useful for language
574 bindings and subclassers of GstGhostPad. Fixes #539108.
575 (gst_ghost_pad_new_full): Use the new constructor.
577 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
579 Base on Patch by: Olivier Crete <tester at tester dot ca>
581 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
582 (gst_bin_remove_func), (update_degree),
583 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
584 Keep track of pads that are being linked/unlinked and resync the state
587 * gst/gstpad.c: (gst_pad_get_direction),
588 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
589 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
590 (gst_pad_link_prepare), (gst_pad_link),
591 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
592 (gst_pad_check_pull_range), (gst_pad_get_range),
593 (gst_pad_pull_range):
594 Some code cleanups, use macros to check pad direction.
595 Don't need to take the lock on the pad direction.
596 Post structure change when pads are linked/unlinked.
597 Change some checks into _return_if_fail().
599 * tests/check/gst/gstbin.c:
600 (test_link_structure_change_state_changed_sync_cb),
601 (GST_START_TEST), (gst_bin_suite):
602 Add testcase for pad link/unlinke resync during a state change.
605 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
607 * docs/gst/gstreamer-sections.txt:
608 * gst/gstmessage.c: (gst_message_new_structure_change),
609 (gst_message_parse_structure_change):
611 Implement STRUCTURE_CHANGED messages. These messages will be used to
612 signal the parent bin of link/unlink operations that could require a
613 resync when doing a state change. See ##510354.
614 API: gst_message_new_structure_change()
615 API: gst_message_parse_structure_change()
617 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
621 Add some more quarks for new message. See #510354.
623 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
625 * docs/libs/gstreamer-libs-docs.sgml:
626 * docs/libs/gstreamer-libs-sections.txt:
627 * libs/gst/base/Makefile.am:
628 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
629 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
630 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
631 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
632 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
633 (gst_bit_reader_skip_to_byte):
634 * libs/gst/base/gstbitreader.h:
635 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
636 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
637 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
638 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
639 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
640 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
641 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
642 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
643 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
644 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
645 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
646 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
647 * libs/gst/base/gstbytereader.h:
648 * tests/check/Makefile.am:
649 * tests/check/libs/bitreader.c: (GST_START_TEST),
650 (gst_bit_reader_suite):
651 * tests/check/libs/bytereader.c: (GST_START_TEST),
652 (gst_byte_reader_suite):
653 API: Add bit reader and byte reader classes, including documentation
654 and an extensive unit test suite. Fixes bug #553554.
656 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
658 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
659 (gst_base_sink_query):
660 Improve position reporting while flushing and other intermediate state
661 changes. Fixes #553874.
663 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
665 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
667 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
668 Original patch by : Simon Descaries
669 Fix small refount leak in caps compatibility check.
672 2008-10-06 Stefan Kost <ensonic@users.sf.net>
674 * docs/pwg/advanced-request.xml:
675 Fix 0.8 api usage in example. Fixes #554561
677 * docs/pwg/appendix-porting.xml:
678 Change 0.9 to 0.10 here.
680 2008-10-06 Stefan Kost <ensonic@users.sf.net>
682 * docs/manual/basics-data.xml:
683 Change "event-event interaction" to "element-element interaction".
684 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
687 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
690 Back to development -> 0.10.21.1
692 === release 0.10.21 ===
694 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
697 releasing 0.10.21, "Take These Things From Me"
699 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
702 0.10.20.4 pre-release
704 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
706 * libs/gst/base/gstbasetransform.c:
707 * plugins/elements/gstcapsfilter.c:
708 * tests/check/Makefile.am:
709 * tests/check/elements/.cvsignore:
710 * tests/check/elements/capsfilter.c:
711 Fix assertion in basetransform when the subclass chooses not to
712 allocate a buffer in prepare_buffer(), and make capsfilter error out
713 cleanly if requested to apply caps that don't completely specify the
714 buffer. Fixes #551509
716 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
718 * libs/gst/base/gstbasetransform.c:
719 (gst_base_transform_prepare_output_buffer):
720 Take new caps ref because our old one might have been gone when the
721 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
723 2008-09-15 Stefan Kost <ensonic@users.sf.net>
726 Do not probe availability of check unit test library when cross
727 compiling, as test would not work anyway. Also cleanup verbose output
728 of the check test. Fixes #551952.
730 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
732 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
734 * gst/gstelement.c: (gst_element_sync_state_with_parent):
735 Avoid leaking the parent ref when we fail changing the state of the
736 element using gst_element_sync_state_with_parent(). Fixes #551978.
738 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
740 * docs/manual/intro-motivation.xml::
741 Remove some bits that no longer apply, update others (#551642).
743 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
746 0.10.20.2 pre-release
754 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
756 * win32/common/config.h.in:
757 Add GST_DATADIR, hard-code cpu to x86.
759 * win32/common/libgstreamer.def:
762 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
765 Fix Since: markers for new geo tags.
767 2008-09-02 Stefan Kost <ensonic@users.sf.net>
770 Fix actual tag name define after renaming from altitude to elevation.
772 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
774 * gst/gstpad.c: (add_unref_pad_to_list),
775 (gst_pad_get_internal_links_default):
776 Add fallback when calling the deprecated function on an element that
777 implements the new internal_link handler.
779 2008-09-01 Stefan Kost <ensonic@users.sf.net>
781 * docs/gst/gstreamer-sections.txt:
784 Add new tags for geo location and clarify purpose of existing location
787 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
789 Patch by: Olivier Crete <tester at tester dot ca>
791 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
792 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
793 Use thread-safe internal links iterator. Fixes #549504.
795 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
797 Based on patch by: Olivier Crete <tester at tester dot ca>
799 * docs/gst/gstreamer-sections.txt:
800 * win32/common/libgstreamer.def:
801 * gst/gstpad.c: (gst_pad_init),
802 (gst_pad_set_iterate_internal_links_function),
803 (int_link_iter_data_free), (iterate_pad),
804 (gst_pad_iterate_internal_links_default),
805 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
807 Add threadsafe replacement functions for getting internal links of an
808 element. Deprecate the old internal links functions.
809 API:GstPad::gst_pad_set_iterate_internal_links_function()
810 API:GstPad::GstPadIterIntLinkFunction
811 API:GstPad::gst_pad_iterate_internal_links()
812 API:GstPad::gst_pad_iterate_internal_links_default()
814 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
815 (gst_proxy_pad_init):
816 Implement threadsafe internal links.
818 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
819 Unit test for internal links on tee. See #549504.
821 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
823 * tests/check/Makefile.am:
824 libs/transform1 test requires libs/test_transform.c
826 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
828 * gst/gstpad.c: (gst_pad_get_internal_links_default):
829 Die evil deadlock, die !
831 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
833 * gst/gstutils.c: (gst_element_get_compatible_pad):
834 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
835 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
836 Fix all leaks due to the bug in gst_pad_template_new() by which it does
837 not steal the refcount of the given caps as stated.
839 REVERT THIS COMMIT ONCE FIXED !
840 REVERT THIS COMMIT ONCE FIXED !
841 REVERT THIS COMMIT ONCE FIXED !
842 REVERT THIS COMMIT ONCE FIXED !
843 REVERT THIS COMMIT ONCE FIXED !
844 REVERT THIS COMMIT ONCE FIXED !
846 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
850 After 3 years it's about time to revise the documentation of the
853 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
855 * gst/gstpad.c: (gst_pad_get_internal_links_default):
856 Make the internal links function less thread-unsafe and add some
859 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
862 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
863 build with --disable-gst-debug.
865 2008-08-28 David Schleef <ds@schleef.org>
867 * gst/gstpadtemplate.c: Revert last change, since it breaks
868 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
869 but shouldn't be enabled until we've released fixed versions
870 of -good and -ffmpeg.
872 2008-08-28 Stefan Kost <ensonic@users.sf.net>
875 Put the gst_object_get_name() back in.
877 2008-08-28 Stefan Kost <ensonic@users.sf.net>
879 * gst/gstpadtemplate.c:
880 The old behaviour was that gst_pad_template_new() takes ownership of
881 the caps. As we now call g_object_new() which calls g_object_set() and
882 which copies the caps, we have to unref them to not leak them. Fixes
885 2008-08-28 Stefan Kost <ensonic@users.sf.net>
888 Don't segfault on input like "tel:+1-123-555-1234".
890 2008-08-27 Stefan Kost <ensonic@users.sf.net>
893 Due to popular request also include ObjectType in
894 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
896 2008-08-26 David Schleef <ds@schleef.org>
898 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
899 src_val must be positive, because that's not a requirement.
900 This causes problems with converting negative granulepos
902 * gst/gstquery.c: Same, gst_query_new_convert().
904 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
906 * gst/gstclock.c: (gst_clock_add_observation):
907 Add some more debugging to the clock slaving code.
909 * win32/common/libgstbase.def:
910 Add new basetransform method.
912 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
914 * gst/gstbin.c: (gst_bin_element_set_state):
915 Take the (recursive) state lock between getting the locked state of an
916 element and changing the element state. This allows the application to
917 lock an element's state and then change its state without races.
919 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
921 * gst/gstbin.c: (gst_bin_element_set_state):
922 When an element is in the locked state we still want to update the
923 base_time of the element.
925 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
927 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
928 Use the result from gst_pad_set_caps() instead of assuming the element
929 always accepted the caps computed by the default negotiate function.
931 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
933 * docs/libs/gstreamer-libs-sections.txt:
934 * libs/gst/base/gstbasetransform.c:
935 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
936 (gst_base_transform_chain), (gst_base_transform_suggest),
937 (gst_base_transform_reconfigure):
938 * libs/gst/base/gstbasetransform.h:
939 Implement method for reconfiguring basetransform.
940 API: GstBaseTransform::gst_base_transform_reconfigure()
942 2008-08-20 Stefan Kost <ensonic@users.sf.net>
944 patch by: Murray Cumming <murrayc@murrayc.com>
947 Mention that this is just like gst_buffer_merge() but with extra
948 unreffing for C coders. Advise language bindings not to wrap it.
951 Also fix file comment.
953 2008-08-20 Stefan Kost <ensonic@users.sf.net>
955 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
957 * plugins/elements/gstfakesink.c:
958 * plugins/elements/gstfakesrc.c:
959 Call super::event() when not handling it. Fixes #544855.
961 2008-08-19 Michael Smith <msmith@songbirdnest.com>
963 Patch by: Alessandro Decina <alessandro@nnva.org>
964 * plugins/elements/gstfilesrc.c:
965 Use 64 bit variants of stat functions on win32, to enable support
966 of large files there.
969 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
971 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
972 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
973 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
974 (gst_base_sink_get_position), (gst_base_sink_change_state):
975 Improve position reporting in the flushing state.
976 Also report the position when we are not yet prerolled but we
977 have a newsegment event. Fixes #543444.
978 Improve the pull-based negotiation code.
980 * tests/check/elements/fakesink.c: (GST_START_TEST),
982 Add testcase for position reporting while flushing in PAUSED and
985 * tests/check/generic/sinks.c: (GST_START_TEST):
986 Update unit-test, we can now query the position as soon as we receive a
989 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
991 Based on patch by: Jason Zhao <e3423c at motorola dot com>
993 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
994 When the subclass event handler releases the PREROLL_LOCK, we could be
995 in the flushing state and we have to ignore the event. Fixes #548394.
997 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
999 * tools/gst-launch.1.in:
1000 Document GST_REGISTRY_UPDATE environment variable.
1002 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1004 * libs/gst/base/gstbasetransform.c:
1005 (gst_base_transform_prepare_output_buffer):
1006 If the element is configured in passthrough mode but the
1007 prepare_output_buffer gave us a new output buffer, discard that buffer
1008 and reuse the input buffer.
1010 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1012 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1014 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1015 (gst_tee_request_new_pad), (gst_tee_release_pad),
1016 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1017 * plugins/elements/gsttee.h:
1018 Protect pad_alloc with a new lock so that we can be sure that nothing is
1019 performing a pad_alloc when removing the pad. Fixes #547835.
1021 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1022 (buffer_alloc_harness_teardown), (app_thread_func),
1023 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1024 Added testcase for shutdown race.
1026 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1031 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1033 * libs/gst/base/gstbasetransform.c:
1034 (gst_base_transform_prepare_output_buffer),
1035 (gst_base_transform_buffer_alloc):
1036 Go over the buffer_alloc function again and make sure we always end up
1037 allocating a buffer.
1039 Avoid doing pad alloc when we have a pending suggestion because we
1040 cannot yet deal with changing caps in that case. Fixes #547728
1042 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1044 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1046 * docs/manual/advanced-clocks.xml:
1047 * docs/manual/clocks.png:
1048 * docs/manual/diagrams-clocks.svg:
1049 Add one more image showing different times together with a describing
1050 paragraph. Fixes #547729.
1052 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1054 * win32/common/libgstbase.def:
1057 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1059 * libs/gst/base/gstbasetransform.c:
1060 (gst_base_transform_transform_caps),
1061 (gst_base_transform_prepare_output_buffer),
1062 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1063 Don't overwrite the outsize when calculating the expected size of a new
1064 buffer because we still need it in case we cannot process the new
1066 When converting the size of the new buffer to an upstream size, actually
1067 use the expected size of the buffer, not some other random value.
1068 Use an atomic int to signal that a new upstream caps suggestion is
1070 When we can convert the current buffer to a new format, check if the
1071 buffer size is of the expected size and allocate a new buffer of the
1072 expected size when this is not the case. Fixes #546883.
1074 * tests/check/libs/transform1.c: (GST_START_TEST):
1075 remove ifdeffed code from the unit test.
1077 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1079 * pkgconfig/gstreamer-uninstalled.pc.in:
1080 * pkgconfig/gstreamer.pc.in:
1081 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1082 called gstcontroller-0.10.
1084 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1086 * gst/gstchildproxy.h:
1088 Remove double interface from doc-string.
1090 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1092 * libs/gst/base/gstbasesrc.c:
1093 * libs/gst/base/gstbasetransform.c:
1094 Fix headings in docs and gtk-doc warnings.
1096 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1098 * gst/gstregistrybinary.c:
1099 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1103 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1105 * libs/gst/base/gstbasetransform.c:
1106 (gst_base_transform_buffer_alloc):
1107 Fix a "may be used unitialized" warning.
1109 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1111 * docs/gst/gstreamer-sections.txt:
1113 Document preset-iface vmethods.
1115 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1117 * docs/manual/advanced-interfaces.xml:
1118 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1119 only used to discover devices.
1121 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1123 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1125 * gst/gst.c: (init_pre):
1126 Make sure gettext returns translations in UTF-8 encoding rather
1127 than in the current locale encoding (#546822).
1129 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1131 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1134 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1135 Improve unit test subset tests and add a testcase for the subset failure
1138 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1139 Improve subtraction unit test.
1141 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1143 * plugins/elements/gsttee.c:
1144 Unlock, instead of locking again.
1146 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1149 Clarify the docs a bit more.
1151 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1153 * tests/examples/metadata/read-metadata.c:
1154 Don't leak old taglist.
1156 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1158 Patch by: Olivier Crete <tester at tester dot ca>
1160 * gst/gststructure.c:
1161 (gst_structure_fixate_field_nearest_fraction):
1162 Avoid overflows in fixation code when dealing with MAXINT values, which
1163 v4l2src seems to do.
1166 * tests/check/gst/gststructure.c: (GST_START_TEST):
1167 Make a unit test to check the fix.
1169 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1171 * plugins/elements/gstcapsfilter.c: (copy_func),
1172 (gst_capsfilter_set_property):
1173 Use new caps suggestion feature of basetransform to request a caps
1174 negotiation upstream.
1176 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1178 * docs/libs/gstreamer-libs-sections.txt:
1180 API: GstBaseTransform::gst_base_transform_suggest()
1182 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1183 (gst_base_transform_init), (gst_base_transform_transform_caps),
1184 (gst_base_transform_transform_size),
1185 (gst_base_transform_configure_caps),
1186 (gst_base_transform_can_transform),
1187 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1188 (gst_base_transform_prepare_output_buffer),
1189 (gst_base_transform_buffer_alloc),
1190 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1191 (gst_base_transform_chain), (gst_base_transform_activate),
1192 (gst_base_transform_set_passthrough),
1193 (gst_base_transform_is_passthrough),
1194 (gst_base_transform_set_in_place),
1195 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1196 (gst_base_transform_set_qos_enabled),
1197 (gst_base_transform_is_qos_enabled),
1198 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1199 (gst_base_transform_reconfigure):
1200 * libs/gst/base/gstbasetransform.h:
1201 Rewrite of basetransform to perform negotiation outside of the
1202 buffer_alloc functions. Fixes #545853.
1204 * tests/check/libs/transform1.c: (GST_START_TEST),
1208 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1210 * tests/check/gst/gstpreset.c:
1211 Only run preset tests when $HOME is writable. Preliminary fix for
1214 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1216 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1217 (gst_bin_change_state_func), (bin_handle_async_done),
1218 (gst_bin_handle_message_func):
1219 Fix race for bins that simulate ASYNC state changes by inserting
1220 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1221 pending ASYNC messages even when the bin does not have ASYNC children.
1222 We note detect this behaviour because we will receive an ASYNC message
1223 that is originating from the bin itself.
1224 Fixes races with decodebin2 state changes.
1226 * tests/check/gst/gstbin.c: (GST_START_TEST):
1227 Add some more debug.
1229 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1231 * gst/gsttaglist.c: (_gst_tag_initialize):
1234 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1237 Argh. actually save the text before committing. Now adds
1238 gst_tag_merge_strings_with_comma() to gst_tag_register().
1240 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1244 Do as tim pointed out and actually register the new tag. Also improve
1245 te docs and use gst_tag_merge_strings_with_comma() method to allow
1246 retriving all keywords merged in one list.
1248 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1251 * docs/gst/gstreamer.types:
1252 Revert 'accidential' change of the configure option removal. We still
1253 need to generate the types file in configure --disable-load-save.
1255 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1257 * docs/gst/gstreamer-sections.txt:
1259 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1261 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1263 * gst/gstpadtemplate.c:
1264 (gst_pad_template_class_init), (gst_static_pad_template_get),
1265 (gst_pad_template_new), (gst_pad_template_pad_created),
1266 (gst_pad_template_set_property), (gst_pad_template_get_property):
1267 Add "name-template", "direction", "presence" and "caps" properties,
1268 so that gst_pad_template_new() is just a thin wrapper around
1269 g_object_new(), which is better for bindings. (Fixes: #539772)
1271 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1274 Be more liberal in what URIs we accept.
1275 Do not unescape bits of the URI for no apparent reason before passing to
1276 the element. Fixes #545352.
1278 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1280 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1283 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1285 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1288 * docs/gst/gstreamer-sections.txt:
1289 * docs/gst/gstreamer.types:
1290 * docs/gst/gstreamer.types.in:
1293 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1294 * gst/gstconfig.h.in:
1295 * gst/gstelement.c: (gst_element_get_index):
1296 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1297 (gst_registry_binary_load_feature),
1298 (gst_registry_binary_read_cache):
1299 * gst/gstregistryxml.c: (load_feature),
1300 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1301 * plugins/Makefile.am:
1303 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1304 (print_plugin_features), (print_element_features):
1305 * tools/gst-xmlinspect.c: (print_event_masks),
1306 (print_element_info):
1307 * win32/common/gstconfig.h:
1308 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1310 Disabling the indexers and URI handler code will only reduce the
1311 required amount of memory by a very small amount but on the other hand
1312 requires much more maintaince work. Apart from that many places of
1313 code are broken when disabling them.
1315 Disabling the enum types doesn't reduce the required amount of memory
1316 by more than a few bytes and makes it hard to fix bugs like #539772,
1317 i.e. use the enums as GObject properties.
1319 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1321 * docs/design/part-TODO.txt:
1322 Add some thoughts and problems with upstream renegotiation.
1324 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1326 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1327 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1328 Remove silly redundant debug.
1329 Add some more debug info.
1330 Clarify the docs regarding new caps received from pad_alloc.
1332 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1334 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1335 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1336 Make setting the caps more threadsafe.
1338 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1340 * docs/design/part-element-transform.txt:
1343 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1345 * plugins/elements/gstqueue.c: (gst_queue_init),
1346 (gst_queue_acceptcaps):
1347 Add and use a custom acceptcaps function instead of falling back to the
1348 potentially less optimized default implementation.
1350 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1352 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1353 Only sanity-check the buffer size if requested_caps == buffer_caps
1354 (ie. don't take pad caps into account, they're not relevant here)
1356 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1358 * plugins/elements/gsttee.c:
1359 * plugins/elements/gsttee.h:
1360 Reverting as not everything is clear yet. Needs some general design
1363 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1366 ChangeLog surgery for tee commit.
1368 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1370 * docs/gst/gstreamer-sections.txt:
1371 Cleanup section-file.
1373 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1375 * plugins/elements/gsttee.c:
1376 * plugins/elements/gsttee.h:
1377 Relay tag events in tee. Fixes parts of #474016.
1378 Downgrades 3 reoccurring debugs to log.
1380 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1383 * libs/gst/Makefile.am:
1384 Build the net library if we have winsock2.
1386 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1388 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1390 * docs/manual/advanced-threads.xml:
1391 * docs/manual/diagrams-pipelines.svg:
1392 * docs/manual/hello-world.png:
1393 * docs/manual/linked-elements.png:
1394 * docs/manual/mime-world.png:
1395 * docs/manual/queue.png:
1396 * docs/manual/thread-buffering.png:
1397 * docs/manual/thread-synchronizing.png:
1398 Replace one diagram with two separate ones and updates others.
1401 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1404 Fix link in documentation.
1406 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1409 Fix confusing documentation.
1411 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1413 * libs/gst/base/gstbasesrc.h:
1414 revert the changes to the header file for the ABI.
1416 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1418 * libs/gst/base/gstbasesrc.c:
1419 * libs/gst/base/gstbasesrc.h:
1420 Don't cache the seekable status.
1423 2008-07-24 Rene Stadler <mail@renestadler.de>
1425 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1426 code to close the pipeline graph. This prevents the program from
1427 printing internal data flow errors.
1429 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1431 * docs/manual/basics-bus.xml:
1432 Correct typo. Fixes bug #544320.
1434 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1437 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1438 Add check (taken from -base) for winsock, adds WIN32_LIBS
1440 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1442 Define GST_EXPORTS when building libgstreamer (only used on win32)
1443 * gst/gst_private.h:
1445 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1446 for symbols that we need to export in both these files.
1448 Include gst_private.h higher up to avoid some compile problems on win32.
1450 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1455 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1458 Previous commit was wrong NULL caps does not exist
1459 and indicate an error, so also add a FIXME to
1460 gst_caps_is_equal where NULL caps are accepted.
1462 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1465 Allow passing of NULL to gst_caps_union
1467 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1469 * gst/gstghostpad.c:
1470 Add in doc that gst_ghost_pad_set_target can accept
1471 NULL to clear target
1473 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1476 * gst/gstregistry.c:
1477 GstRegistryPool doesn't exist; don't refer to it in docs.
1478 Don't refer to functions that don't exist in docs, it's
1481 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1484 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1486 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1488 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1490 * docs/pwg/building-testapp.xml:
1491 Don't use an undeclared variable in the example program.
1494 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1496 * gst/gstdebugutils.c:
1497 Squeeze ghost-pad links and remove <> from classname labels to save
1498 more horizontal space.
1500 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1502 * gst/gstdebugutils.c:
1503 Give request and sometimes pads a different shpe style. Condense the
1504 graphs a little more.
1506 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1509 Don't require flex and bison if the parser is disabled.
1511 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1513 * libs/gst/controller/gstinterpolationcontrolsource.c:
1514 (_list_find_sorted_custom):
1515 Don't use declarations after statements.
1517 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1519 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1520 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1521 of the the child-added / -removed signals as GstChildProxy
1522 only supports GstObjects.
1524 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1526 * gst/gstdebugutils.c:
1529 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1531 Patch by: Alessandro Decina <alessandro at nnva dot org>
1534 Fix "ignored return value" compiler warning with newer glibc.
1536 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1538 * gst/gstchildproxy.c:
1539 Fix copy&paste error in gst_child_proxy_removed() documentation.
1541 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1543 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1544 Print error debug message if plugin description fields that should
1547 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1548 Don't crash if the string to serialise is NULL (it really should
1549 not be, but apparently this used to work with the xml registry ...).
1551 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1553 * tools/gst-plot-timeline.py:
1554 Fix parsing of log messages
1556 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1558 * win32/common/libgstbase.def::
1559 Sort alphabetically so make check-exports doesn't barf.
1561 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1564 Use gst_format_get_name() to improve debug output.
1567 Remove #ifdef'ed code. Add TODO comment.
1570 Add debug output to ease spotting format != segment.format assertions.
1572 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1574 * tests/check/libs/gdp.c: (gst_dp_suite):
1575 Also enable the GDP unit test again on PPC now that the bug
1578 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1580 * libs/gst/dataprotocol/dataprotocol.c:
1581 Don't write to the same region of memory as a uint64 and uint16
1582 as this breaks strict aliasing rules and apparantly breaks on PPC
1583 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1585 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1587 * libs/gst/controller/gstinterpolationcontrolsource.c:
1588 Optimize list handling. Use own find function. Exploit that fact that
1589 the list is sorted. Also pass back the node before, so that we can
1590 insert quickly. Have a fast path for append.
1592 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1594 * docs/design/draft-framestep.txt:
1595 * docs/design/part-negotiation.txt:
1598 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1601 Show configuration sumary after configure run. Based on patch by
1602 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1604 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1606 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1608 * docs/manual/advanced-autoplugging.xml:
1609 * docs/manual/advanced-threads.xml:
1610 * docs/manual/basics-bins.xml:
1611 * docs/manual/basics-elements.xml:
1612 * docs/manual/basics-helloworld.xml:
1613 * docs/manual/basics-pads.xml:
1614 Add scale factor for pdf output.
1616 * docs/manual/intro-basics.xml:
1617 Switched sections "pads" and "bins" and added a pipeline diagram.
1619 * docs/manual/intro-gstreamer.xml:
1620 Added more info on gstreamer.
1622 * docs/manual/intro-motivation.xml:
1623 Commented out the whole section "current problem", which sounds
1624 historical and somehow osolete; it could be turned in a positive
1625 way and reused to improve the design principles.
1627 * docs/manual/intro-preface.xml:
1628 - Update URLs to library.gnome.org.
1629 - Do not mention GTK+ in preliminary reading (irrelevant).
1630 - Mention Plugin Writer's Manual and further reading only in the
1632 - Added a list of most relevant GObject/glib topics.
1634 * docs/manual/Makefile.am:
1635 * docs/manual/bin-element-ghost.fig:
1636 * docs/manual/bin-element-ghost.png:
1637 * docs/manual/bin-element-noghost.fig:
1638 * docs/manual/bin-element-noghost.png:
1639 * docs/manual/bin-element.fig:
1640 * docs/manual/bin-element.png:
1641 * docs/manual/filter-element-multi.fig:
1642 * docs/manual/filter-element-multi.png:
1643 * docs/manual/filter-element.fig:
1644 * docs/manual/filter-element.png:
1645 * docs/manual/gstreamer-overview.png:
1646 * docs/manual/hello-world.fig:
1647 * docs/manual/hello-world.png:
1648 * docs/manual/linked-elements.fig:
1649 * docs/manual/linked-elements.png:
1650 * docs/manual/mime-world.fig:
1651 * docs/manual/mime-world.png:
1652 * docs/manual/queue.fig:
1653 * docs/manual/queue.png:
1654 * docs/manual/simple-player.png:
1655 * docs/manual/sink-element.fig:
1656 * docs/manual/sink-element.png:
1657 * docs/manual/src-element.fig:
1658 * docs/manual/src-element.png:
1659 * docs/manual/diagrams-general.svg:
1660 * docs/manual/diagrams-pipelines.svg:
1661 Removed .fig, added .png counterpart.
1665 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1667 * plugins/elements/gstmultiqueue.c:
1668 * plugins/elements/gstmultiqueue.h:
1669 revert extra-size-buffers stuff, caused some race conditions
1670 and extra-size-buffers is not used anymore. Docs needs some updates
1672 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1674 * win32/common/config.h:
1675 * win32/common/gstenumtypes.c:
1676 * win32/common/gstenumtypes.h:
1677 * win32/common/gstversion.h:
1680 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1682 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1683 (GST_DEBUG_BIN_TO_DOT_FILE):
1684 Add missing Since' markers to gtk-doc blurbs.
1686 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1688 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1689 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1690 (set_caps_1), (set_caps_ct1), (transform_ct1),
1691 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1692 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1693 (transform_size_ct2), (buffer_alloc_ct2):
1694 Add some more tests with switching caps in buffer_alloc.
1696 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1698 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1699 (gst_test_trans_class_init), (result_sink_chain),
1700 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1701 (gst_test_trans_push), (gst_test_trans_pop):
1702 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1703 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1704 (set_caps_1), (set_caps_ct1), (transform_ct1),
1705 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1706 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1707 (transform_size_ct2), (buffer_alloc_ct2),
1708 (gst_basetransform_suite):
1709 More tests, prepare for tests with switching caps in buffer_alloc.
1711 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1713 * plugins/elements/gstmultiqueue.c:
1714 * plugins/elements/gstmultiqueue.h:
1715 Fix dead-lock in underrun_cb
1717 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1719 * docs/design/part-states.txt:
1720 Fix device open/close docs.
1722 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1725 Mention bugnumber for last commit.
1727 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1729 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1731 * docs/manual/manual.xml:
1732 - Reorganised the previous "introduction" bundle into Foreword,
1733 Introduction, and About GStreamer. The two first are <preface>
1734 docbook elements. The later is the first part of the book.
1735 - added intro-gstreamer.xml (content partially from
1737 - moved appendix-win32.xml into appendix-integration.xml
1739 * docs/manual/intro-preface.xml: gstreamer section moved...
1740 * docs/manual/intro-gstreamer.xml: ...here. new file.
1742 * docs/manual/appendix-win32.xml: removed file. Content moved...
1743 * docs/manual/appendix-integration.xml: ...here.
1745 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1746 * docs/manual/appendix-checklist.xml: ...here.
1750 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1752 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1754 * docs/manual/basics-helloworld.xml:
1755 * docs/manual/hello-world.fig:
1756 - Explicitely include glib.h.
1757 - Do not use global variables.
1758 - Use g_printerr() instead of g_print().
1759 - Minor formating/renaming to increase readibility.
1760 - Renamed new_pad() to on_pad_added()
1761 - Improved explenatory comments.
1762 - renamed ogg parser to ogg demuxer
1763 - Use "autoaudiosink" instead of "alsasink".
1766 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1769 Remove cvs conflict marker.
1771 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1774 Document that for plgin-docs we extraxt he short-desc from the element
1777 * docs/design/part-states.txt:
1778 Tell that devices should be closed in PAUSED -> READY.
1780 * docs/manual/README:
1781 Document how tests in the manual are handled.
1786 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1788 * gst/gstbin.c: (bin_query_latency_fold):
1789 Only care about latency min and max when the sink is actually a live
1792 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1794 * docs/design/part-block.txt:
1797 * docs/design/part-element-transform.txt:
1798 Add notes about why transform needs to know input/output sizes.
1799 Add some issues that need to be solved.
1800 Add some more use cases.
1802 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1803 (gst_test_trans_class_init), (result_sink_chain),
1804 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1805 (gst_test_trans_push), (gst_test_trans_pop):
1806 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1807 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1808 (set_caps_1), (set_caps_ct1), (transform_ct1),
1809 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1810 (gst_basetransform_suite):
1811 Add suport for different pad templates and buffer-alloc.
1812 Add more checks for caps and buffer-alloc.
1813 Add checks for proxy buffer alloc.
1814 Add unit test for copy transform.
1816 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1818 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
1820 * docs/manual/appendix-integration.xml:
1821 * docs/manual/appendix-licensing.xml:
1822 * docs/manual/basics-elements.xml:
1823 * docs/manual/basics-helloworld.xml:
1824 * docs/manual/basics-pads.xml:
1825 * docs/manual/highlevel-components.xml:
1826 * docs/manual/highlevel-xml.xml:
1827 * docs/manual/intro-basics.xml:
1828 * docs/manual/intro-preface.xml:
1829 Typo and formatting fixes (#538594).
1831 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1833 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1834 Fix some memory leaks and uses of object instances that we don't
1837 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1839 * plugins/elements/gstmultiqueue.c:
1840 Add functionality to extra-size-buffers property.
1842 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1844 * plugins/elements/gstmultiqueue.c:
1845 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1846 activate the pads if they are added in STATE_NULL.
1848 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1850 * docs/libs/gstreamer-libs-sections.txt:
1852 * libs/gst/check/gstcheck.c:
1853 * libs/gst/check/gstcheck.h:
1854 API: gst_check_teardown_pad_by_name
1856 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1858 * libs/gst/check/gstcheck.c:
1859 * libs/gst/check/gstcheck.h:
1860 Also setup request pads and allow setup pads by name (#537812)
1861 API: gst_check_setup_src_pad_by_name
1862 API: gst_check_setup_sink_pad_by_name
1864 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1866 * tests/check/gst/gstbuffer.c:
1867 * tests/check/pipelines/parse-launch.c:
1868 Use HAVE_VALGRIND_H some more.
1870 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1872 * scripts/cvs-update.sh:
1873 Pass arguments to make.
1874 Run autoregen.sh if Makefile is not there.
1876 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1880 Don't assume that <valgrind/valgrind.h> exists just because
1881 the binary is there.
1883 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1885 * tests/check/Makefile.am:
1886 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1887 (gst_test_trans_class_init), (gst_test_trans_init),
1888 (gst_test_trans_set_data), (result_sink_chain),
1889 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1890 (gst_test_trans_pop):
1891 * tests/check/libs/transform1.c: (GST_START_TEST),
1892 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1893 Add some test basetransform element and the beginnings of various
1896 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1898 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1899 Increase code readability.
1900 Don't try to compare buffer offsets when ther are invalid.
1902 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1904 * docs/design/Makefile.am:
1905 Dist some more design docs.
1907 * docs/random/moving-plugins:
1908 Small addition: good plugins mustn't have functional code
1909 within assertion macros.
1911 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1913 * docs/design/draft-framestep.txt:
1914 Some ideas about a framestep API
1916 * docs/design/part-element-transform.txt:
1917 Start design and use cases for basetransform in order to get it
1920 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1923 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
1924 be in UTF-8 encoding.
1926 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1929 Make it known that gst_bus_poll() is pure evil (fixes #538810).
1931 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1933 * plugins/elements/gstcapsfilter.c:
1934 * plugins/elements/gstfakesink.c:
1935 * plugins/elements/gstfakesrc.c:
1936 * plugins/elements/gstfdsink.c:
1937 * plugins/elements/gstfdsrc.c:
1938 * plugins/elements/gstfilesink.c:
1939 * plugins/elements/gstfilesrc.c:
1940 * plugins/elements/gstidentity.c:
1941 * plugins/elements/gstmultiqueue.c:
1942 * plugins/elements/gstqueue.c:
1943 * plugins/elements/gsttee.c:
1944 * plugins/elements/gsttypefindelement.c:
1945 Remove short_description. Add basic docs for gsttypefindelement.
1946 Simplify markup for fakesrc/fdsrc.
1948 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1950 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1953 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1955 Patch by: Joel Larsson <tilljoel at gmail dot com>
1957 * docs/plugins/gstreamer-plugins.args:
1958 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
1959 (gst_fd_src_init), (gst_fd_src_update_fd),
1960 (gst_fd_src_set_property), (gst_fd_src_get_property),
1961 (gst_fd_src_create):
1962 * plugins/elements/gstfdsrc.h:
1963 Add timeout property like udpsrc. Fixes #538628.
1964 Add some more docs and example pipelines.
1966 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1968 * docs/libs/gstreamer-libs-sections.txt:
1969 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1970 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
1971 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
1972 (gst_base_sink_do_sync):
1973 * libs/gst/base/gstbasesink.h:
1974 * win32/common/libgstbase.def:
1975 Add method to allow sinks to specify additional delay between the sync
1976 times and the actual rendering of the data.
1977 API: gst_base_sink_set_render_delay()
1978 API: gst_base_sink_get_render_delay()
1980 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
1983 Bump version number back to dev -> 0.10.20.1
1985 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
1987 * docs/gst/gstreamer-sections.txt:
1988 * gst/gsttaglist.c: (_gst_tag_initialize):
1990 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
1993 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1995 * libs/gst/controller/gstcontroller.c:
1996 Revert one change, that make ret value possible uninitialized.
1998 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2000 * libs/gst/controller/gstcontroller.c:
2001 Use freeze/thaw notify to sync notify emission a bit (its also more
2002 efficient). Move debug output to LOG (is called a lot in a loop).
2003 Always unset g_values if the have been initialized.
2005 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2007 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2008 (gst_base_sink_wait_eos), (gst_base_sink_event):
2009 If we have not seen a buffer before EOS, use the segment values to
2010 report the current position instead of invalid positions.
2012 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2014 * docs/plugins/tmpl/.cvsignore:
2015 * tests/check/gst/.cvsignore:
2018 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2020 * libs/gst/controller/gstinterpolation.c:
2021 * libs/gst/controller/gstinterpolationcontrolsource.c:
2022 * tests/check/libs/controller.c:
2023 Rewrite handling of default values. Fix overflow with unsigned types
2024 in linear interpolation. Remove now obsolete _first_value() function.
2025 Add more tests. Fixes #538201.
2027 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2029 * libs/gst/base/gstbasetransform.c:
2030 (gst_base_transform_class_init), (gst_base_transform_init),
2031 (gst_base_transform_transform_caps),
2032 (gst_base_transform_prepare_output_buffer):
2034 When a buffer is writable, its metadata is also writable so we don't
2035 need to subbuffer (which then makes the buffer not-writable anymore).
2037 === release 0.10.20 ===
2039 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2042 releasing 0.10.20, "You Crazy Diamond"
2044 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2047 0.10.19.3 pre-release
2049 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2053 Rename DATADIR to GST_DATADIR to avoid build problems
2054 on win32. Patch By: David Schleef <ds@schleef.org>
2057 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2060 Explicitely link with -ldl if dladdr() is found there. Before it was
2061 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2062 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2064 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2066 * gst/gsterror.c: (_gst_stream_errors_init):
2067 Fix typo (spotted by Fabricio Godoy, #536723).
2069 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2072 0.10.19.2 pre-release
2074 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2076 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2077 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2079 Make sure we don't generate invalid QoS messages.
2081 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2083 * gst/gstevent.c: (gst_event_new_qos):
2084 Add some assert and docs for invalid input to the qos function.
2086 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2088 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2089 (gst_base_sink_get_position):
2090 The reported position must always be smaller than the last seen
2091 timestamps (or timestamp + duration for reverse).
2093 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2095 Patch by: Rob Bradford <rob at robster dot org dot uk>
2097 * gst/gstregistry.c: (gst_registry_scan_path_level):
2098 Don't recurse into .debug directories as some distros install
2099 the debugging symbols next to the plugins in .debug directories
2100 and dlopen() crashes on them sometimes. Fixes bug #508070.
2102 Add FIXME for 0.11 to not recurse into directories at all because
2103 it's very inconsistent to the behaviour of other PATH environment
2106 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2108 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2109 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2110 Fix position query range checks in reverse playback.
2112 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2116 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2117 clear of the reference to the resulting pad must be released later
2118 or not, resulting in possible leaks. Fixes bug #533865.
2120 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2122 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2124 * gst/gstelementfactory.c:
2125 Small doc fix. Fixes #535285.
2127 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2129 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2131 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2132 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2133 (gst_base_src_loop), (gst_base_src_set_flushing),
2134 (gst_base_src_change_state):
2135 Make sending an EOS event to the basesrc non-blocking even if the
2136 implementation does blocking waits in the create function. This is done
2137 by unlocking the create function when EOS is sent.
2140 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2142 * tools/gst-inspect.c: (print_element_properties_info):
2143 If possible print the element type of GValueArray properties.
2145 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2147 * gst/gstiterator.c:
2148 Remove an unused field from the private GstListIterator struct.
2150 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2152 * libs/gst/controller/gstcontroller.c:
2153 Add parameter guards.
2155 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2157 * tests/check/gst/gstpipeline.c:
2158 Revert test change and add comment why it should not work.
2160 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2162 * tests/check/gst/gstpipeline.c:
2163 Extending the test a little to verify that we also get the NULL state-
2166 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2168 * gst/gstpreset.c: (gst_preset_default_get_meta),
2169 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2170 (gst_preset_load_preset), (gst_preset_save_preset),
2171 (gst_preset_rename_preset), (gst_preset_delete_preset),
2172 (gst_preset_set_meta):
2173 Add Since: markers to docs blurbs.
2175 * win32/common/libgstreamer.def:
2176 Add recently-added API.
2178 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2180 Patch by: Stefan Kost <ensonic@users.sf.net>
2183 Add DATADIR for storing presets.
2185 * docs/gst/gstreamer-docs.sgml:
2186 * docs/gst/gstreamer-sections.txt:
2187 * docs/gst/gstreamer.types.in:
2188 Add GstPreset to docs.
2192 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2193 (preset_open_and_parse_header), (preset_parse_version),
2194 (preset_merge), (preset_get_keyfile),
2195 (gst_preset_default_get_preset_names),
2196 (gst_preset_default_get_property_names),
2197 (gst_preset_default_load_preset),
2198 (gst_preset_default_save_presets_file),
2199 (gst_preset_default_save_preset),
2200 (gst_preset_default_rename_preset),
2201 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2202 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2203 (gst_preset_default_reset), (gst_preset_get_preset_names),
2204 (gst_preset_get_property_names), (gst_preset_load_preset),
2205 (gst_preset_save_preset), (gst_preset_rename_preset),
2206 (gst_preset_delete_preset), (gst_preset_set_meta),
2207 (gst_preset_get_meta), (gst_preset_class_init),
2208 (gst_preset_base_init), (gst_preset_get_type):
2210 Add GstPreset to core. Fixes #396779
2212 * tests/check/Makefile.am:
2213 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2214 (gst_preset_test_set_property), (gst_preset_test_class_init),
2215 (gst_preset_test_base_init), (gst_preset_test_get_type),
2216 (gst_preset_test_plugin_init), (GST_START_TEST),
2217 (remove_preset_file), (test_setup), (test_teardown),
2219 Add GstPreset unit tests.
2221 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2223 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2224 The default event function on a sinkpad should return TRUE when
2225 there are no internal links but should collect the return values from
2226 the internal links otherwise.
2228 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2230 * plugins/elements/gsttypefindelement.c:
2231 (gst_type_find_element_src_event),
2232 (gst_type_find_element_handle_event):
2233 Use faster and safer _pad_push_event().
2235 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2237 * docs/gst/gstreamer-sections.txt:
2238 * gst/gstutils.c: (element_find_unlinked_pad),
2239 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2241 API: add gst_bin_find_unlinked_pad()
2242 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2244 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2250 Fixed a bunch of typos.
2252 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2255 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2256 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2257 (gst_parse_bin_from_description_full):
2259 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2261 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2263 * docs/pwg/advanced-tagging.xml:
2264 Small docs update, can't be bothered to rewrite the nonsensical
2267 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2270 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2272 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2274 * gst/parse/grammar.y:
2275 Remove unneeded casts.
2277 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2279 * gst/parse/grammar.y:
2280 * tests/check/pipelines/parse-launch.c:
2281 Get all missing elements from a parse launch string if possible
2282 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2284 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2286 * tests/check/Makefile.am:
2287 * tests/check/pipelines/parse-launch.c:
2288 Add some unit tests for the new gst_parse_launch*_full() API.
2289 (Exposes a previously-existing memory leak in the error code
2290 path, so adding to VALGRIND_TO_FIX for now).
2292 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2294 * docs/gst/gstreamer-sections.txt:
2295 * gst/gst.c: (init_post):
2296 * gst/gst_private.h: (_GstParseContext):
2297 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2298 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2299 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2300 (gst_parse_launch_full):
2301 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2302 (GstParseFlags), (GstParseContext):
2303 * gst/gstutils.c: (gst_parse_bin_from_description),
2304 (gst_parse_bin_from_description_full):
2306 * gst/parse/grammar.y:
2307 * gst/parse/types.h:
2308 * win32/common/libgstreamer.def:
2309 Add new gst_parse_*_full API (#528178):
2310 API: gst_parse_launch_full()
2311 API: gst_parse_launchv_full()
2312 API: gst_parse_bin_from_description_full()
2313 API: gst_parse_context_new()
2314 API: gst_parse_context_free()
2315 API: gst_parse_context_get_missing_elements()
2317 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2319 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2321 * docs/faq/gst-uninstalled:
2322 Also support ffmpeg in gst-uninstalled.
2324 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2327 After discussion on IRC use the binary registry as default
2328 but allow to disable it with --disable-binary-registry.
2330 * win32/common/libgstreamer.def:
2331 Add the two new symbols for the binary registry.
2333 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2335 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2336 * gst/gstutils.c: (gst_parse_bin_from_description):
2337 * gst/parse/grammar.y: (graph):
2338 More guards against bad input; typo fix; some minor clean-ups.
2340 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2342 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2344 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2345 If nothing else can be used, use the last buffer's start time as
2346 the segment's last stop. Fixes bug #534258.
2348 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2350 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2351 Move size sanity check to the right place: downstream may return
2352 a buffer with a smaller size if the buffer caps are different than
2353 the requested ones, as may happen when doing reverse negotiation.
2355 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2357 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2358 (gst_file_sink_render):
2359 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2360 (gst_file_src_start):
2361 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2364 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2366 * gst/gstpad.c: (gst_pad_load_and_link):
2367 * gst/gstutils.c: (gst_element_link_pads),
2368 (gst_element_unlink_pads):
2369 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2370 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2371 (gst_check_teardown_sink_pad),
2372 (gst_check_element_push_buffer_list):
2373 * tests/check/elements/fakesink.c: (GST_START_TEST):
2374 * tests/check/elements/filesink.c:
2375 * tests/check/elements/filesrc.c: (GST_START_TEST):
2376 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2377 (mq_sinkpad_to_srcpad):
2378 * tests/check/elements/tee.c: (GST_START_TEST):
2379 * tests/check/generic/sinks.c: (GST_START_TEST):
2380 * tests/check/gst/gstbin.c: (GST_START_TEST):
2381 * tests/check/gst/gstevent.c: (GST_START_TEST):
2382 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2383 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2384 * tests/check/gst/gstquery.c: (GST_START_TEST):
2385 * tests/check/gst/gstutils.c: (GST_START_TEST):
2386 * tests/check/libs/basesrc.c: (GST_START_TEST):
2387 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2388 (gst_parse_test_element_change_state):
2389 Don't use gst_element_get_pad().
2391 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2394 Fix installing plugin documentation when gtk-doc is disabled.
2396 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2398 * docs/manual/advanced-autoplugging.xml:
2399 * docs/manual/basics-helloworld.xml:
2400 * docs/manual/basics-pads.xml:
2401 * docs/manual/highlevel-components.xml:
2402 Avoid using a bad function in the example code.
2404 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2406 * gst/gstclock.c: (gst_clock_set_calibration):
2407 Fix debug of the new clock rate.
2409 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2411 * win32/common/libgstbase.def:
2412 Add gst_base_sink_wait_clock() to the exported symbols.
2414 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2416 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2418 * libs/gst/base/gstbasetransform.c:
2419 (gst_base_transform_sink_event):
2420 Unref events that the GstBaseTransform::event vfunc didn't want to
2421 have forwarded by the base class. Closes a leak in identity.
2424 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2426 * docs/libs/gstreamer-libs-sections.txt:
2427 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2428 * libs/gst/base/gstbasesink.h:
2429 Expose a method that was previously used internally to synchronize
2430 against the clock because it can be useful for subclasses too.
2431 API: GstBaseSink::gst_base_sink_wait_clock()
2433 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2435 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2436 Add sanity check to make sure we don't get smaller buffers
2437 than requested (and fallback to normal buffer alloc if we do).
2439 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2441 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2442 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2443 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2444 Refactor adjusting the running_time with latency and offset into a
2446 When doing clipping, we still want to use the subclass get_times method,
2447 just in case the DURATION or TIMESTAMP are not set.
2449 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2451 * docs/gst/gstreamer-sections.txt:
2452 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2453 * gst/gsttypefind.h:
2454 * win32/common/libgstreamer.def:
2455 API: add gst_type_find_suggest_simple(), #533740.
2457 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2459 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2460 Use right error code when typefinding fails, so we can use
2461 the default (translated) error messages.
2463 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2465 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2466 (gst_base_src_start):
2467 When the subclass did not set caps on outgoing buffers, configure the
2468 caps we negotiated on the source pad.
2469 When the typefind helper does not find caps, error out properly instead
2470 of doing things with NULL caps.
2472 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2474 * gst/gsttypefind.h:
2475 Tabs to spaces, oh yes!
2477 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2479 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2480 Add David's and Benjamin's tests for array intersection to the
2481 unit test suite (#147931).
2483 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2486 Document that gst_event_new_tag() and gst_event_new_navigation()
2487 take ownership of the taglist/structure passed to them. (#533635).
2489 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2492 Don't descend into the plugins dir if plugin docs building
2496 Add a note about the new type:GTypeName syntax for the plugin
2497 documentation .types file.
2499 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2501 * gst/gstmessage.c: (gst_message_new_error),
2502 (gst_message_new_warning), (gst_message_new_info):
2504 Mark the debug string parameters as const. Fixes bug #533490.
2506 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2508 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2509 Sort buffer cache list by end offsets. This makes sure that we don't
2510 stop to search for a cached buffer that contains the requested data
2512 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2513 more efficient. Fixes bug #459862.
2515 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2518 Explain why we copy the list.
2520 * gst/gstpipeline.c:
2524 Add one debug-log statement to help tracing probelms with linking pads.
2526 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2528 * tests/check/gst/gstinfo.c:
2529 Add a test for removing the default log handler. Seems to fail under
2532 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2534 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2535 Release pad lock before calling out to avoid a possible deadlock.
2537 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2539 * gst/parse/grammar.y:
2540 Remove unneeded value unset.
2542 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2543 Add unit test for de/serialization of caps.
2545 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2547 * plugins/elements/gstfakesink.c:
2548 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2549 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2550 (gst_fake_src_class_init):
2551 Use custom marshalers that take GstMiniObject as first parameter.
2552 Using OBJECT as parameter while a GstMiniObject is given will lead
2553 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2555 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2557 * plugins/elements/gsttypefindelement.c:
2558 (gst_type_find_element_handle_event),
2559 (gst_type_find_element_send_cached_events),
2560 (gst_type_find_element_change_state):
2561 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2564 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2566 * plugins/elements/gsttypefindelement.c:
2567 (gst_type_find_handle_src_query), (stop_typefinding),
2568 (gst_type_find_element_handle_event),
2569 (gst_type_find_element_send_cached_events),
2570 (gst_type_find_element_change_state):
2571 Forward FLUSH_START events immediately and clean up instead of
2574 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2576 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2578 * libs/gst/base/gstbasetransform.c:
2579 (gst_base_transform_buffer_alloc):
2580 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2581 fall back to default negotiation in the chain function if the caps
2582 are different from what was requested. Fixes bug #526768.
2584 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2587 * tests/check/gst/gstsegment.c:
2588 No, let's not use g_slice_{dup|copy} here, since they only exist
2589 since GLib 2.14 and we still depend only on >= 2.12. Also add
2590 unit test for gst_segment_copy().
2592 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2594 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2595 Try to fix 'dereferencing type-punned pointer will break strict
2596 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2597 changed the default GType typedef from gulong to gsize at some point,
2598 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2599 g_once_* functions all take a gsize * though, so work around the type
2600 mismatch for C++ by doing everything in gsize and casting to GType
2603 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2605 * plugins/elements/gstmultiqueue.c:
2606 Add documentation for the signals to push our core plugin docs
2607 coverage back up to 100%.
2609 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2611 * gst/gstinfo.h (GST_FUNCTION):
2612 Reverted GST_FUNCTION to the old version as we don't want the
2613 full signature in C++ code. Also added support for MSVC.
2615 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2618 Intern the type name string, similar to what G_DEFINE_TYPE does.
2620 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2623 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2625 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2627 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2629 * libs/gst/base/gstbasetransform.c:
2630 (gst_base_transform_buffer_alloc):
2631 Don't passthrough buffer allocation too easily if the caps change.
2632 This breaks when working in passthrough mode and upstream changes
2633 it's caps. Fixes bug #526768.
2635 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2637 * gst/gstinfo.c (gst_debug_log_valist):
2638 Improved the __FILE__ part of debug output for MSVC.
2640 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2642 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2643 Declaration after statement fix for compilers like MSVC.
2645 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2647 * win32/common/config.h.in:
2648 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2649 use the real thing than having "???" unconditionally.
2651 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2653 * gst/gstinfo.h (GST_FUNCTION):
2654 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2656 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2658 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2661 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2662 (gst_base_sink_set_flushing):
2663 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2666 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2668 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2669 (gst_fake_src_init), (gst_fake_src_set_property),
2670 (gst_fake_src_get_property), (gst_fake_src_start):
2671 * plugins/elements/gstfakesrc.h:
2672 Added format property to control the format of the newsegment events.
2673 API: GstFakeSrc:format
2675 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2677 * win32/common/libgstreamer.def:
2678 Add gst_pad_has_name() to the exported symbols.
2680 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2682 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2683 * libs/gst/base/gstbasetransform.c:
2684 (gst_base_transform_prepare_output_buffer):
2685 Don't allow negative sizes when allocating new buffers.
2688 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2690 Patch by: Sjoerd Simons <sjoerd at luon net>
2692 * gst/gstbus.c: (gst_bus_source_dispatch):
2693 Don't print a warning if the queue is empty when we try to pop
2694 here. That could happen if another thread or callback set the
2695 bus to flushing between the source's check/prepare and the
2696 dispatch being called (#531538).
2698 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2700 * plugins/elements/gstmultiqueue.c:
2703 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2705 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2706 Add unit test for deserializing uint64s and check some really large
2707 numbers in the int64 test.
2709 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2711 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2712 (print_interfaces), (print_element_properties_info),
2713 (print_signal_info):
2714 Use "%s" as format string instead of printing strings directly.
2716 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2718 * gst/gstclock.c: (gst_clock_set_calibration):
2719 Make some checks actually useful.
2721 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2722 Remove some unused code. Unsigned integers tend to be >= 0.
2724 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2726 * gst/gstminiobject.c: (gst_value_get_mini_object):
2727 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2728 function was not in the unscheduled 0.10.19 release.
2730 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2732 * gst/gstregistry.c: (gst_registry_scan_path_level):
2733 Only print one log message per non-plugin file.
2735 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2737 * gst/gstinfo.c: (gst_debug_log_default):
2738 Fix alignment of debug log columns on 64-bit.
2740 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2742 * docs/libs/Makefile.am:
2743 * docs/libs/gstreamer-libs-sections.txt:
2744 Ignore private controller headers for docs.
2746 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
2748 * libs/gst/controller/gstcontrollerprivate.h:
2749 * libs/gst/controller/gsthelper.c:
2750 * libs/gst/controller/gstinterpolation.c:
2751 * libs/gst/controller/gstinterpolationcontrolsource.c:
2752 (gst_interpolation_control_source_set_interpolation_mode):
2753 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2754 * libs/gst/controller/lib.c:
2755 Move some private declarations into private headers.
2757 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
2759 * gst/gstdebugutils.c: (debug_dump_element_pad):
2760 Remove some code that is unused after Stefan's refactoring and uses
2761 uninitialized variables now, resulting in a compiler warning.
2763 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2765 * gst/gstregistry.c: (gst_registry_scan_path_level):
2766 Run g_str_has_suffix() only on the file name, not the
2769 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
2771 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2772 Since we're not called only from the chain function any longer,
2773 we can't assume that there's always data in the queue, so move
2774 the is_full check to the beginning of the loop (otherwise we'd
2775 hit the assert when changing the limit properties while the
2776 queue is empty or not running yet).
2777 Also, only set a discont if items were actually removed from
2780 * tests/check/elements/queue.c: (test_leaky_downstream):
2781 Test case for the above.
2783 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
2785 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2787 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2788 (gst_queue_chain), (queue_capacity_change),
2789 (gst_queue_set_property):
2790 When changing thr max capacity of a leaky queue, immediatly drop buffers
2791 instead of waiting for a push on the sinkpad. Fixes #530637.
2793 2008-04-30 Stefan Kost <ensonic@users.sf.net>
2795 * gst/gstdebugutils.c:
2796 Refactor code and fix handling of ghostpads and their proxypads.
2798 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
2800 * docs/gst/gstreamer-sections.txt:
2801 * gst/gstevent.c: (gst_event_has_name):
2803 * tests/check/gst/gstevent.c: (GST_START_TEST):
2804 Add method to conveniently check the name of a custom event with
2805 gst_event_has_name().
2806 Reformat the event docs so that related methods are put together instead
2807 of the default alphabetical sort.
2808 Update unit test with new method.
2809 API: GstEvent::gst_event_has_name()
2811 2008-04-28 Michael Smith <msmith@songbirdnest.com>
2813 * libs/gst/check/Makefile.am:
2814 Don't add an explicit link to libgstreamer-0.10.la; it's already
2815 included in GST_OBJ_LIBS.
2817 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
2820 Register GstClock type from a type-safe context. Fixes bug #530317.
2822 2008-04-25 Michael Smith <msmith@songbirdnest.com>
2824 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2826 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2828 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2830 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2832 Use the GLib stuff to create a private structure.
2833 Add some locking around some dispose methods to make them a little
2834 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2836 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2838 * libs/gst/base/gstbasesink.h:
2839 * libs/gst/base/gstbasesrc.h:
2840 * libs/gst/base/gstbasetransform.h:
2841 * libs/gst/base/gstcollectpads.h:
2842 Fix doc typos and unify caps a bit.
2844 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2846 * tools/gst-launch.1.in:
2847 Forgot to also add the envvar docs here.
2849 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
2851 * gst/gst.c: (init_post), (gst_deinit):
2852 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2853 (test_concurrent_create), (gst_pipeline_suite):
2854 Ref some more classes in gst_init() to work around thread-safety
2855 issues in pre-2.16 GLibs, and add basic unit test.
2857 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2859 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2860 (gst_base_sink_send_event):
2861 Rearrange the latency query code. We always want to do the upstream
2862 query, even if we are not live so that the upstream elements can get the
2863 latency results too. If we fail doing the query and we are live, we
2864 return TRUE afterwards.
2866 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2868 patch by: Jason Zhao <e3423c@motorola.com>
2870 * docs/gst/running.xml:
2872 Enable/disable scan_and_update_registry() based on commandline switch
2873 or environment variable. Fixes #520468.
2876 Fix typo in my previous commit.
2878 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2880 * gst/gstregistrybinary.c:
2881 Add a warning if we hit unhandled factories when saving.
2882 More debug logging detail, but move to LOG category.
2884 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2886 * gst/gstregistry.c:
2887 Tell the *truth* when improving the documentation.
2889 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
2891 * gst/gstelementfactory.c: (gst_element_factory_make):
2892 Unref the factory after it was used the last time, not before.
2894 * gst/gstindexfactory.c: (gst_index_factory_make):
2895 Improve debugging a bit and don't leak a ref to the index factory with
2898 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2900 * gst/gstregistry.c:
2901 Improve the documentation.
2903 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2906 The glib macro seems to be borked. Use g_slice_copy directly and cast
2907 in the hope that this fixes the warning on 64bit.
2909 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2912 Document the new function. Use g_slice_dup() (no need for
2913 gst_segment_init()).
2915 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2917 * docs/gst/gstreamer-sections.txt:
2918 Move GParamSepc macros to standart section.
2921 Dn't document _get_type - its in private section in docs anyway and
2922 this doc-blob was incomplete.
2925 Fix wrong symbol names in docs.
2928 Add once doc sentence.
2930 * tests/check/gst/.cvsignore:
2933 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2935 * docs/gst/Makefile.am:
2936 And remove those libs here.
2938 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
2940 * docs/libs/Makefile.am:
2941 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
2943 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
2945 Patch by: Olivier Crete <tester at tester dot ca>
2947 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2948 Add the min-threshold to the min latency if possible. Fixes #529148.
2950 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2952 * docs/gst/gstreamer.types.in:
2953 Stupid editor, I removed that line as it should go in yet.
2955 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2957 * docs/gst/gstreamer.types.in:
2958 * docs/libs/gstreamer-libs.types:
2959 Remove library types fro core docs and have them in libs docs.
2960 Reformat and cleanup. Add comment for miniobject types.
2962 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
2964 * gst/gsturi.c: (gst_uri_get_protocol):
2965 Fix leak: g_strdown operates on the string in place, while
2966 g_ascii_strdown() returns a newly-allocated string.
2968 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
2970 * tools/gst-inspect.c: (print_uri_handler_info),
2971 (print_element_info):
2972 Print the URI protocols and the URI type supported by the element.
2974 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2976 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
2977 Use g_value_take_string() instead of the deprecated
2978 g_value_set_string_take_ownership().
2980 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2982 * gst/gstregistrybinary.c: (_gst_crc32):
2983 Return the old CRC instead of 0 if we give a NULL buffer
2984 or a buffer with a length of 0.
2986 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2988 * gst/gsturi.c: (gst_uri_protocol_check_internal),
2989 (gst_uri_get_protocol), (gst_uri_has_protocol),
2990 (gst_uri_construct), (gst_uri_handler_set_uri):
2991 A valid URI scheme can also include '+', '-' and '.' additional
2992 to alphanumeric characters as per RFC 3986 Section 3.1.
2994 Handle URI schemes case insensitive in all places and convert
2995 to lower-case when constructing an URI or setting an URI with
2996 the GstURIHandler interface. Fixes bug #528868.
2997 All elements can still assume (as before) that they will
2998 get passed URIs with a lower-case URI scheme by the GstURIHandler
3001 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3003 * gst/gstcaps.c: (gst_static_caps_get):
3004 * gst/gstclock.c: (gst_clock_entry_new):
3005 Don't use g_atomic_set_int where it's not needed.
3007 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3009 * gst/gstvalue.c: (gst_value_deserialize_caps):
3010 * gst/parse/grammar.y:
3013 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3015 * gst/gstutils.c: (gst_atomic_int_set):
3016 Use g_atomic_int_set() here too instead of assignment +
3019 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3023 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3024 now that we depend on new enough GLib.
3026 * gst/gstcaps.c: (gst_static_caps_get):
3027 * gst/gstclock.c: (gst_clock_entry_new):
3028 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3029 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3030 (gst_debug_category_set_threshold):
3031 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3032 (gst_base_sink_set_qos_enabled):
3033 * libs/gst/net/gstnettimeprovider.c:
3034 (gst_net_time_provider_set_property):
3035 Use g_atomic_int_set() instead of gst_atomic_int_set().
3037 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3040 Also use G_GINT64_CONSTANT for the queries.
3042 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3045 Use G_GINT64_CONSTANT in varargs function.
3047 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3049 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3050 Initialize the registry magic with zeroes.
3052 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3054 * gst/gstregistrybinary.c: (_gst_crc32),
3055 (gst_registry_binary_write),
3056 (gst_registry_binary_initialize_magic),
3057 (gst_registry_binary_write_cache),
3058 (gst_registry_binary_check_magic),
3059 (gst_registry_binary_read_cache):
3060 * gst/gstregistrybinary.h:
3061 Add crc32 checksum to the binary registry file and check this before
3062 accepting a registry file.
3064 Also free the data list when writing to the registry file fails.
3066 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3068 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3069 (gst_registry_binary_load_feature),
3070 (gst_registry_binary_load_plugin):
3071 If an element supports the Uri interface, returns a valid pointer
3072 to the supported URI protocols but this pointer contains nothing
3073 don't try to save that as it will corrupt the registry.
3075 Don't unref the plugin if we added it to the registry already but
3076 fail to load a feature as gst_registry_add_plugin() takes ownership
3079 Improve debugging a bit.
3081 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3084 Clarify some tag item docs after discussion on irc.
3086 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3088 * docs/gst/gstreamer-docs.sgml:
3089 Remove commented out plugins (they have their own docs). Update
3092 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3094 * docs/gst/gstreamer-docs.sgml:
3095 * docs/gst/gstreamer-sections.txt:
3096 * gst/gstparamspecs.c:
3097 * gst/gstparamspecs.h:
3098 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3099 docs to own section.
3102 This now only documents GValue.
3104 * docs/libs/gstreamer-libs-sections.txt:
3105 * libs/gst/controller/gstcontroller.h:
3106 Remove GST_PARAM_CONTROLLABLE.
3108 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3111 Correct file path. Tell about how to use -overrides.txt.
3112 * docs/design/draft-tagreading.txt:
3113 Small design update.
3115 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3117 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3118 (gst_registry_binary_load_plugin):
3119 Fix a typo in a debug message and revert change from yesterday as
3120 gst_registry_add_plugin() will only fail if something is really wrong
3121 already and we can't survive it anyway.
3123 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3125 * gst/gst.c: (init_post), (gst_deinit):
3126 Pre-register GstGError GType from a thread-safe context
3127 (fixes #527967); unref enum type classes in deinit.
3129 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3131 Patch by: Rene Stadler <mail at renestadler de>
3133 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3134 Merging an empty list with another list in KEEP_ALL mode should
3135 yield an empty list as result and not the second list (#512578).
3137 * tests/check/gst/gsttagsetter.c:
3138 Add unit test for tag merge modes and the aforementioned bug.
3140 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3142 Patch by: Rene Stadler <mail at renestadler de>
3145 Fix description to match the order in the table (#512577).
3147 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3149 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3151 * libs/gst/net/gstnettimepacket.h:
3152 * docs/libs/gstreamer-libs-sections.txt:
3153 Define socklen_t as int if it's not defined yet. Fixes compilation
3154 with MSVC6 and other versions where socklen_t is not defined in
3155 the windows headers (#518022).
3157 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3159 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3160 If gst_registry_add_plugin() fails our reference to the plugin is
3161 invalid so don't try to use it anymore and instead error out.
3163 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3165 * tools/gst-xmlinspect.c: (print_element_info), (main):
3166 De-cruft a bit. If no argument is specified, print all elements in
3167 XML syntax rather than a freestyle list of elements like gst-inspect.
3168 Also, don't print XML header chunk unless we actually have something
3169 to print (ie. don't print it before an error message); print error
3170 message to stderr not stdout. Remove support for printing plugin
3171 info (it would just output something freestyle along the lines of
3172 gst-inspect so far), which fixes #514507. Also add license header.
3174 2008-04-11 Julien Moutte <julien@fluendo.com>
3177 * configure.ac: Merge platform specific defines, introduce a new
3178 define on OS X to remember that forking when updating registry is
3180 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3182 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3184 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3185 condition that leads to absolutely no plugins being registered on
3188 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3190 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3192 * gst/gstutils.c: (gst_pad_add_data_probe),
3193 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3194 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3195 (gst_pad_add_buffer_probe_full):
3197 * docs/gst/gstreamer-sections.txt:
3198 * win32/common/libgstreamer.def:
3199 Add gst_pad_add_*_probe_full() functions with a notify callback that
3200 lets the caller free the data it passes to the probe functions. This
3201 is useful for bindings such as gst-python or gstreamermm (#526814).
3202 API: gst_pad_add_data_probe_full
3203 API: gst_pad_add_buffer_probe_full
3204 API: gst_pad_add_event_probe_full
3206 * tests/check/gst/gstutils.c:
3207 Add minimal unit test to make sure freeing the data actually works
3210 * tests/benchmarks/.cvsignore:
3211 Random cvsignore addendum.
3213 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3215 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3216 (GST_DEBUG_BIN_TO_DOT_FILE):
3217 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3218 to it in the docs (since these are macros the types of the arguments
3219 won't be shown in the docs otherwise).
3221 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3224 Do not abort on out of memory for pad_alloc_buffer.
3226 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3228 * libs/gst/check/gstcheck.c:
3229 Remove blank line between symbol name ad parameters to fix gtkdoc
3232 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3234 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3236 * docs/gst/gstreamer-sections.txt:
3239 * win32/common/libgstreamer.def:
3240 Expose gst_segment_copy() to make things easier for the c++ bindings.
3242 API: gst_segment_copy()
3244 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3246 * gst/gst.c: (gst_init_get_option_group), (init_post):
3247 Fix const position; ref GType classes for enum types to work
3248 around thread-safety issues in GLib versions < 2.16.
3250 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3252 * docs/design/part-buffering.txt:
3253 Fix some typos and set the estimated total for push mode to -1.
3255 * gst/gstquery.c: (gst_query_new_buffering):
3256 Set buffering-left to 0 as we're not buffering by default.
3258 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3259 Implement BUFFERING query.
3261 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3263 Based on patch by: Milosz Derezynski <internalerror gmail com>
3265 * gst/gsterror.c: (_gst_stream_errors_init):
3267 Add two new error codes for encrypted content. Fixes #524659.
3268 API: GST_STREAM_ERROR_DECRYPT
3269 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3271 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3276 * win32/common/libgstreamer.def:
3279 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3281 * plugins/elements/gstidentity.c: (gst_identity_event),
3282 (gst_identity_start):
3283 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3284 event after processing some data. Fixes bug #526042.
3286 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3288 * docs/gst/gstreamer-sections.txt:
3289 * gst/gstquery.c: (gst_query_parse_latency),
3290 (gst_query_set_buffering_percent),
3291 (gst_query_parse_buffering_percent),
3292 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3294 Rename _avail -> _range
3295 API: gst_query_set_buffering_range
3296 API: gst_query_parse_buffering_range
3298 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3300 * docs/design/part-buffering.txt:
3303 * gst/gstquery.c: (gst_query_parse_latency),
3304 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3305 (gst_query_parse_buffering_percent):
3307 Add busy field and quark for the buffering query so that the app can
3308 only use the query to see if buffering is in progress.
3310 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3312 * docs/gst/gstreamer-sections.txt:
3313 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3314 (gst_message_parse_buffering_stats):
3316 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3317 (gst_query_parse_latency), (gst_query_new_buffering),
3318 (gst_query_set_buffering_percent),
3319 (gst_query_parse_buffering_percent),
3320 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3321 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3323 Reorder the message docs and headers for clarity.
3324 Add aditional buffering stats API for messages.
3325 Add buffering query.
3326 Convert some leftover queries to use GstQuark.
3327 API: gst_message_set_buffering_stats
3328 API: gst_message_parse_buffering_stats
3329 API: GST_QUERY_BUFFERING
3330 API: GstBufferingMode
3331 API: gst_query_new_buffering
3332 API: gst_query_set_buffering_percent
3333 API: gst_query_parse_buffering_percent
3334 API: gst_query_set_buffering_stats
3335 API: gst_query_parse_buffering_stats
3337 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3339 * gst/gstmessage.c: (gst_message_new_error),
3340 (gst_message_new_warning), (gst_message_new_info),
3341 (gst_message_new_buffering), (gst_message_new_state_changed),
3342 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3343 (gst_message_new_new_clock), (gst_message_new_segment_start),
3344 (gst_message_new_segment_done), (gst_message_new_duration),
3345 (gst_message_new_async_start), (gst_message_parse_buffering),
3346 (gst_message_parse_state_changed),
3347 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3348 (gst_message_parse_new_clock), (gst_message_parse_error),
3349 (gst_message_parse_warning), (gst_message_parse_info),
3350 (gst_message_parse_segment_start),
3351 (gst_message_parse_segment_done), (gst_message_parse_duration),
3352 (gst_message_parse_async_start):
3353 Use GstQuark for messages.
3355 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3357 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3359 Add some more quarks needed for messages and queries.
3361 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3363 * docs/design/part-buffering.txt:
3364 Remove the "none" buffering mode, STREAM is a good default.
3365 Move estimated-time to the avail query, that's when it will be needed.
3366 Other small typo fixes and updates.
3368 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3370 * gst/gstindex.c: (gst_index_resolver_get_type):
3371 Don't put descriptions into the nick field of a GEnumValue: it's not
3372 meant for that and some language bindings rely on the nick field to
3373 construct constants and the like. Fixes #526705.
3375 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3380 Merge other changes from 0.10.19 release branch.
3382 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3384 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3387 Actually build dlls when cross-compiling with mingw32.
3390 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3392 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3395 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3397 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3399 * docs/design/draft-latency.txt:
3402 * docs/design/part-buffering.txt:
3403 Update design docs with more buffering ideas.
3405 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3408 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3410 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3413 Revert part that belongs to the preset patch.
3415 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3418 Add qoutes to the define. Fixes # 525961.
3420 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3422 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3423 (gst_file_index_load), (gst_file_index_add_id),
3424 (gst_file_index_get_assoc_entry):
3425 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3426 (gst_mem_index_free_id), (gst_mem_index_add_id),
3427 (gst_mem_index_index_format):
3428 Use GSlice when possible.
3430 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3432 * libs/gst/controller/gstinterpolationcontrolsource.c:
3433 (gst_control_point_free),
3434 (gst_interpolation_control_source_set_internal):
3435 Use GSlice for allocating the control points.
3437 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3439 * plugins/elements/gsttypefindelement.c:
3440 (gst_type_find_element_class_init),
3441 (gst_type_find_element_set_property),
3442 (gst_type_find_element_get_property),
3443 (gst_type_find_element_activate):
3444 * plugins/elements/gsttypefindelement.h:
3446 Fix pad leak when peer query fails.
3447 We can still typefind when the peer returns -1.
3448 Add property to force caps and bypass typefinding. This will be used in
3452 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3457 * gst/glib-compat-private.h:
3458 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3459 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3460 Unconditionally use GSlice for allocation.
3462 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3463 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3464 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3465 (gst_structure_free):
3466 Use GSlice for allocation.
3468 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3470 * gst/parse/Makefile.am:
3471 * gst/parse/grammar.tab.pre.c:
3472 * gst/parse/grammar.tab.pre.h:
3473 * gst/parse/lex._gst_parse_yy.pre.c:
3474 Require a new enough flex and bison and remove the parser hacks to use
3475 a pre-regenerated version.
3477 2008-04-01 Julien Moutte <julien@fluendo.com>
3479 patch by: Jason Zhao <E3423C@motorola.com>
3481 * configure.ac: Add a configure switch to disable option parsing
3485 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3488 * gst/gstregistry.c:
3489 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3490 and handle this case.
3493 Add a comment here describing, why we stat each plugin and not try to
3496 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3498 * libs/gst/base/gstbasetransform.c:
3499 (gst_base_transform_prepare_output_buffer):
3500 Also unset the GAP flag on buffers if we're working inplace but
3501 the element is not GAP-aware.
3503 Mark a comment as FIXME 0.11.
3505 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3508 Fix type in log message and add one to ease seeing how long registry
3509 cache verification takes.
3511 * gst/gstregistry.c:
3512 Only test plugin filenames against G_MODULE_SUFFIX.
3514 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3516 * gst/gstdebugutils.c:
3517 Improve handling ghost/proxy pads.
3519 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3521 * docs/gst/gstreamer-sections.txt:
3524 Expose macro to docs and fix link to it.
3526 2008-03-27 Michael Smith <msmith@fluendo.com>
3528 * libs/gst/dataprotocol/dataprotocol.c:
3529 (gst_dp_packet_from_event_1_0):
3530 When calculating GDP body CRC, use the correct pointer.
3531 Fixes part of #522401.
3533 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3535 Patch by: Mark Nauwelaerts <manauw at skynet be>
3537 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3538 (gst_identity_init), (gst_identity_prepare_output_buffer):
3539 Identity is not always a passthrough element, it can modify the buffer
3540 timestamps when it has a datarate and operates in single-segment mode.
3541 We therefore make it an in_place filter with a custom buffer prepare
3542 function that conditionally makes the input buffer metadata writable
3543 when needed. Fixes #523985.
3545 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3547 Patch by: Mark Nauwelaerts <manauw at skynet be>
3550 * libs/gst/base/gstbasesrc.h:
3551 * libs/gst/base/gstbasetransform.c:
3552 * libs/gst/check/gstcheck.c:
3553 Small documentation fixes. Fixes #523978.
3555 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3557 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3558 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3559 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3561 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3563 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3564 (single_queue_underrun_cb):
3565 When trying to make room in the queue, bump the max allowed buffers
3566 bigger than the current amount of buffers in the queue. this fixes some
3567 nasty deadlocks in multiqueue when dynamically changing the limits of
3570 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3572 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3574 * gst/gstcaps.c: (gst_caps_set_simple),
3575 (gst_caps_set_simple_valist), (gst_caps_intersect):
3577 Constify the field gchar * params in set_simple and friends.
3580 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3582 * gst/gstvalue.c: (gst_value_transform_object_string):
3583 Transform a GstObject to a more meaningfull string that includes the
3584 object type in addition to its name.
3586 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3589 ChangeLog surgery to add bugnumber to commit.
3591 2008-03-23 Rene Stadler <mail@renestadler.de>
3593 * libs/gst/base/gstbasetransform.c:
3594 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3596 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3598 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3599 Rename constant everywhere and don't forget one occurence.
3601 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3603 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3604 Align memory to the pointer size even if the architecture allows
3605 unaligned memory access. Unaligned memory access usually comes with
3606 performance penality.
3608 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3610 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3611 (gst_registry_binary_check_magic),
3612 (gst_registry_binary_load_pad_template),
3613 (gst_registry_binary_load_feature),
3614 (gst_registry_binary_load_plugin):
3615 Align memory to the pointer size instead of always 32 bit. Fixes
3616 unaligned memory accesses on ia64 and friends.
3618 * gst/gstregistrybinary.h:
3619 Bump binary registry format version for this as it changes the
3620 format on those architectures that don't have unaligned access
3621 and 64 bit pointers.
3623 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3625 * docs/pwg/advanced-dparams.xml:
3626 * docs/pwg/building-props.xml:
3627 * docs/pwg/other-source.xml:
3628 * gst/glib-compat.h:
3629 * gst/gstbin.c: (gst_bin_class_init):
3630 * gst/gstclock.c: (gst_clock_class_init):
3631 * gst/gstindex.c: (gst_index_class_init):
3632 * gst/gstobject.c: (gst_object_class_init):
3633 * gst/gstpad.c: (gst_pad_class_init):
3634 * gst/gstpipeline.c: (gst_pipeline_class_init):
3635 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3636 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3637 * libs/gst/base/gstbasetransform.c:
3638 (gst_base_transform_class_init):
3639 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3640 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3641 (_gst_check_fault_handler_sighandler),
3642 (_gst_check_fault_handler_setup), (gst_check_init):
3643 * libs/gst/controller/gstcontroller.c:
3644 (_gst_controller_class_init):
3645 * libs/gst/controller/gstlfocontrolsource.c:
3646 (gst_lfo_control_source_class_init):
3647 * libs/gst/net/gstnetclientclock.c:
3648 (gst_net_client_clock_class_init):
3649 * libs/gst/net/gstnettimeprovider.c:
3650 (gst_net_time_provider_class_init):
3651 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3652 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3653 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3654 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3655 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3656 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3657 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3658 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3659 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3660 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3661 * plugins/elements/gsttee.c: (gst_tee_class_init):
3662 * plugins/elements/gsttypefindelement.c:
3663 (gst_type_find_element_class_init):
3664 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3665 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3666 use it everywhere for GParamSpecs that use static strings (i.e. all).
3667 This gives us less memory usage, fewer allocations and thus less
3668 memory defragmentation. Fixes bug #523806.
3670 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3672 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3673 (gst_param_spec_mini_object):
3674 * gst/gstminiobject.h:
3675 * win32/common/libgstreamer.def:
3676 * docs/gst/gstreamer-sections.txt:
3677 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3678 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3679 GstParamSpecMiniObject into a public header for this.
3681 This make GstMiniObject a bit more consistent with GObject and makes
3682 it possible to extend the param specs.
3684 gst_value_dup_mini_object is mainly useful for set_property methods.
3688 * tools/gst-inspect.c: (print_element_properties_info):
3689 Print something useful for GstMiniObject properties and not just
3692 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3694 * docs/gst/gstreamer-sections.txt:
3695 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3696 (gst_registry_binary_check_magic):
3697 * gst/gstregistrybinary.h:
3698 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3699 and add it to the (private part) of the docs to fix the build.
3701 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3703 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3704 (gst_registry_binary_check_magic),
3705 (gst_registry_binary_read_cache):
3706 * gst/gstregistrybinary.h:
3707 Don't use GST_MAJORMINOR for the binary registry version. Instead
3708 hardcode a value that must be changed whenever the format changes
3709 in an incompatible way.
3710 Also don't GST_ERROR when there is a version mismatch, just
3711 regenerate the registry silently.
3713 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3716 Back to development - 0.10.18.1
3718 === release 0.10.18 ===
3720 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3723 releasing 0.10.18, "So far away"
3725 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3728 * win32/common/config.h:
3729 0.10.17.4 pre-release
3731 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3733 Patch by: Ole André Vadla Ravnås
3734 <ole dot andre dot ravnas at tandberg dot com>
3736 * docs/gst/gstreamer-sections.txt:
3737 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3738 (gst_poll_update_winsock_event_mask),
3739 (gst_poll_prepare_winsock_active_sets),
3740 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3741 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3742 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3743 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3744 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3746 * win32/common/libgstreamer.def:
3747 Add new function gst_poll_fd_ignored() for improved Windows
3749 Various minor fixes and cleanups. See #520808.
3751 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
3753 * gst/gstindex.c: (gst_index_entry_free):
3755 Don't free key strings which we don't own. Fixes crash in
3756 gst_index_entry_free() (#522741).
3758 * tests/check/Makefile.am:
3759 * tests/check/gst/.cvsignore:
3760 * tests/check/gst/gstindex.c: (test_index_entries),
3761 (gst_index_suite), (gst_index):
3762 Add unit test for the above.
3764 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3766 * win32/common/libgstreamer.def:
3767 Remove symbols that were removed recently. Fixes bug #521740.
3769 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
3772 * win32/common/config.h:
3773 0.10.17.3 pre-release
3775 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
3777 Patch by: Ole André Vadla Ravnås
3778 <ole dot andre dot ravnas at tandberg dot com>
3780 * docs/gst/gstreamer-sections.txt:
3781 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3782 (gst_poll_update_winsock_event_mask), (gst_poll_new),
3783 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3784 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3785 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3786 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3787 (gst_poll_fd_can_write), (gst_poll_wait),
3788 (gst_poll_set_controllable), (gst_poll_restart),
3789 (gst_poll_set_flushing):
3791 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3792 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3793 (gst_net_time_provider_new):
3794 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3795 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3796 * tests/benchmarks/gstpollstress.c: (main):
3797 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3798 Remove GstPollMode from the API, it does not make sense to let the
3799 application control this.
3800 Add support for Win32.
3801 Fix the testsuite. Fixes #520671.
3803 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
3805 Patch by: Ole André Vadla Ravnås
3806 <ole dot andre dot ravnas at tandberg dot com>
3808 * gst/gstregistrybinary.c:
3809 Include io.h for write() and close() when building with MSVC. Fixes
3812 2008-03-07 Stefan Kost <ensonic@users.sf.net>
3815 * gst/gst_private.h:
3816 * gst/gstconfig.h.in:
3817 * gst/gstregistry.h:
3818 * gst/gstregistrybinary.c:
3819 * win32/common/gstconfig.h:
3820 Move registry backend API to private headers where we can. Add
3821 fixme-0.11 comments for the others. Add stubs for the xml backend when
3822 using the binary to ensure they functions exists (they should not be
3823 used though). Fixes #520756.
3825 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
3828 * win32/common/config.h:
3831 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3833 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3834 (gst_registry_binary_read_cache):
3835 * gst/gstregistryxml.c: (gst_registry_save):
3836 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3837 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3838 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3839 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3840 Switch to using portabl gsize/gssize instead of size_t/ssize_t
3843 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3845 * gst/gstminiobject.c:
3846 Import gst_private.h before any other header that might include other
3847 glib headers. This fixes the build on windows using native compilers.
3849 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3851 * win32/common/gstconfig.h:
3852 Add here too, just for completeness.
3854 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3857 * gst/gstconfig.h.in:
3858 * gst/gstregistry.h:
3859 Fix broken use of config.h-defined preprocessor directive in a public
3860 header file. Add a corresponding define to gstconfig.h, since we can't
3861 really remove those function declarations from the header file now
3862 (or can we? and why are they there in the first place?).
3864 2008-03-03 Andy Wingo <wingo@pobox.com>
3866 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3869 * gst/gststructure.c (gst_structure_from_string): Warn if
3870 structure_from_string didn't consume the whole string, but the
3871 caller did not provide an end pointer.
3873 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
3875 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
3877 * gst/gstregistryxml.c: (read_string), (load_feature):
3878 Strings allocated by libxml2 should be freed with xmlFree(), not
3879 with g_free(). Fixes issues on windows in certain contexts (#519698).
3881 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
3883 * gst/gstinterface.c: (gst_element_implements_interface):
3884 Don't crash if the element supports the interface queried, but does
3885 not implement GstImplementsInterface. Fixes #519584.
3887 * tests/check/Makefile.am:
3888 * tests/check/gst/.cvsignore:
3889 * tests/check/gst/gstinterface.c:
3890 Add unit test for the above.
3892 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3894 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3897 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3899 * gst/gstsegment.c: (gst_segment_set_seek),
3900 (gst_segment_to_stream_time):
3901 Improve some comment.
3902 Update variables where it makes more sense.
3904 2008-02-29 Rene Stadler <mail@renestadler.de>
3906 * gst/gsturi.c: (gst_uri_handler_get_protocols):
3907 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
3908 URIHandlers implemented using language bindings.
3910 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3912 * gst/gstelementfactory.h:
3913 * tests/check/elements/fakesink.c:
3914 * tests/check/elements/fakesrc.c: (setup_fakesrc):
3915 * tests/check/elements/fdsrc.c: (setup_fdsrc):
3916 * tests/check/elements/filesink.c: (setup_filesink):
3917 * tests/check/elements/filesrc.c: (setup_filesrc):
3918 * tests/check/elements/identity.c: (setup_identity):
3919 * tests/check/elements/tee.c:
3920 * tests/check/generic/sinks.c:
3921 * tests/check/generic/states.c: (setup), (teardown):
3922 * tests/check/gst/gst.c:
3923 * tests/check/gst/gstabi.c:
3924 * tests/check/gst/gstbin.c:
3925 * tests/check/gst/gstbus.c: (pull_messages):
3926 * tests/check/gst/gstcaps.c:
3927 * tests/check/gst/gstelement.c:
3928 * tests/check/gst/gstevent.c:
3929 * tests/check/gst/gstghostpad.c:
3930 * tests/check/gst/gstiterator.c:
3931 * tests/check/gst/gstmessage.c:
3932 * tests/check/gst/gstminiobject.c: (my_foo_init):
3933 * tests/check/gst/gstobject.c: (thread_name_object),
3935 * tests/check/gst/gstpad.c:
3936 * tests/check/gst/gstplugin.c:
3937 * tests/check/gst/gstpoll.c:
3938 * tests/check/gst/gstquery.c:
3939 * tests/check/gst/gstsegment.c:
3940 * tests/check/gst/gststructure.c:
3941 * tests/check/gst/gstsystemclock.c:
3942 * tests/check/gst/gsttask.c:
3943 * tests/check/gst/gstutils.c:
3944 * tests/check/gst/gstvalue.c:
3945 * tests/check/gst/struct_hppa.h:
3946 * tests/check/gst/struct_i386.h:
3947 * tests/check/gst/struct_ppc32.h:
3948 * tests/check/gst/struct_ppc64.h:
3949 * tests/check/gst/struct_x86_64.h:
3950 * tests/check/libs/adapter.c: (create_and_fill_adapter):
3951 * tests/check/libs/basesrc.c:
3952 * tests/check/libs/controller.c: (GST_START_TEST):
3953 * tests/check/libs/gdp.c:
3954 * tests/check/libs/gstnetclientclock.c:
3955 * tests/check/libs/gstnettimeprovider.c:
3956 * tests/check/libs/libsabi.c:
3957 * tests/check/libs/struct_hppa.h:
3958 * tests/check/libs/struct_i386.h:
3959 * tests/check/libs/struct_ppc32.h:
3960 * tests/check/libs/struct_ppc64.h:
3961 * tests/check/libs/struct_x86_64.h:
3962 * tests/check/pipelines/cleanup.c:
3963 * tests/check/pipelines/simple-launch-lines.c:
3964 * tests/check/pipelines/stress.c:
3965 And correct even more valid sparse warnings.
3967 * win32/common/libgstreamer.def:
3968 Add gst_poll_fd_init to the list of symbols.
3970 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3972 * gst/gstconfig.h.in:
3973 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
3974 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
3975 (gst_check_log_critical_func), (gst_check_drop_buffers),
3976 (gst_check_element_push_buffer_list):
3977 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
3978 (gst_controller_get_type):
3979 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
3980 (gst_object_get_controller), (gst_object_get_control_source):
3981 * libs/gst/controller/gstinterpolationcontrolsource.c:
3982 (gst_interpolation_control_source_new):
3983 * libs/gst/controller/gstlfocontrolsource.c:
3984 (gst_lfo_control_source_new):
3985 * libs/gst/dataprotocol/dataprotocol.c:
3986 (gst_dp_event_from_packet_0_2):
3987 * plugins/elements/gstfdsrc.c:
3988 * plugins/elements/gstmultiqueue.c:
3989 * plugins/elements/gsttee.c:
3990 * plugins/elements/gsttypefindelement.c:
3991 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
3992 (gst_file_index_add_association):
3993 * plugins/indexers/gstmemindex.c:
3994 * tests/benchmarks/gstpollstress.c: (mess_some_more):
3995 * tests/check/elements/queue.c: (setup_queue):
3996 * tests/check/gst/gstpipeline.c:
3997 * tests/check/libs/collectpads.c: (setup), (teardown),
3998 (gst_collect_pads_suite):
3999 * tests/examples/adapter/adapter_test.c:
4000 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4001 * tests/examples/xml/createxml.c:
4002 * tests/examples/xml/runxml.c:
4003 * tools/gst-inspect.c:
4005 Correct all relevant warnings found by the sparse semantic code
4006 analyzer. This include marking several symbols static, using
4007 NULL instead of 0 for pointers, not using variable sized arrays
4008 on the stack, moving variable declarations to the beginning of
4009 a block and using "foo (void)" instead of "foo ()" for declarations.
4011 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4013 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4014 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4015 Don't reset GstPollFDs, this is not necessary at all.
4017 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4018 (delayed_restart), (delayed_control):
4019 Use GST_POLL_FD_INIT.
4021 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4023 * gst/gstpoll.c: (gst_poll_fd_init):
4027 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4028 Use some more init macros.
4030 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4032 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4033 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4034 Use init macros and functions.
4036 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4038 * docs/gst/gstreamer-sections.txt:
4039 * gst/gstpoll.c: (gst_poll_fd_init):
4041 Add INIT macro and _init method for initializing the GstPollFD.
4043 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4045 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4046 (gst_fd_sink_update_fd):
4047 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4048 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4049 (delayed_restart), (delayed_control):
4050 Initialize some uninitialized variables as spotted by valgrind.
4052 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4054 * tests/benchmarks/Makefile.am:
4055 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4057 Add poll stress test.
4059 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4061 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4063 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4064 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4065 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4066 * plugins/elements/gstfdsink.h:
4067 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4068 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4069 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4070 (gst_fd_src_uri_set_uri):
4071 * plugins/elements/gstfdsrc.h:
4072 Port to GstPoll. See #505417.
4074 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4076 * win32/common/libgstreamer.def:
4077 Add new gst_poll_ symbols to win32 defs.
4079 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4081 * docs/libs/gstreamer-libs-sections.txt:
4082 * libs/gst/net/gstnetclientclock.c:
4083 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4084 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4085 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4086 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4087 * libs/gst/net/gstnetclientclock.h:
4088 * libs/gst/net/gstnettimeprovider.c:
4089 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4090 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4091 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4092 (gst_net_time_provider_new):
4093 * libs/gst/net/gstnettimeprovider.h:
4094 Use a private stuct to not break ABI.
4096 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4098 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4100 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4101 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4102 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4103 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4104 * libs/gst/net/gstnetclientclock.h:
4105 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4106 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4107 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4108 (gst_net_time_provider_new):
4109 * libs/gst/net/gstnettimeprovider.h:
4110 Massive code removal and cleanups because of GstPoll.
4113 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4116 Add checks for poll, ppoll and pselect.
4118 * docs/gst/gstreamer-docs.sgml:
4119 * docs/gst/gstreamer-sections.txt:
4120 Add docs for GstPoll.
4124 * gst/gstpoll.c: (find_index), (selectable_fds),
4125 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4126 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4127 (gst_poll_set_mode), (gst_poll_get_mode),
4128 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4129 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4130 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4131 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4132 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4133 (gst_poll_fd_can_write), (gst_poll_wait),
4134 (gst_poll_set_controllable), (gst_poll_restart),
4135 (gst_poll_set_flushing):
4137 Add generic poll abstraction. We ideally don't want to have this in core
4138 here but in glib intead...
4139 This code will be used in various network elements and ultimately for
4140 the nanosecond precision monotonic clock (that's why it's here in core).
4141 It'll allow us to implement cancelable socket operations for windows too.
4143 * tests/check/Makefile.am:
4144 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4145 (delayed_stop), (delayed_restart), (delayed_flush),
4146 (delayed_control), (gst_poll_suite):
4147 Add GstPoll unit test.
4149 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4152 Improve documentation of gst_filter_run(). Fixes #518627.
4154 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4157 Add a few lines about the new 'check-inspected-versions' target.
4159 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4161 * tests/check/gst/gstevent.c:
4162 Add qos to the event test. Rename tcase/tsuite; is not only about
4165 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4167 * plugins/elements/gstqueue.c:
4168 Ensure that buffer metadata is writeable, before modifying. Spotted by
4171 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4173 * plugins/elements/gstqueue.c:
4174 * plugins/elements/gstqueue.h:
4175 When dropping buffers in leaky modes, mark next buffers we sent as
4178 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4180 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4181 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4183 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4185 * plugins/elements/Makefile.am:
4186 * plugins/elements/gstbufferstore.c:
4187 * plugins/elements/gstbufferstore.h:
4188 * plugins/elements/gsttypefindelement.h:
4189 Remove GstBufferStore, no idea why we were still building it.
4190 It's not used anywhere and superseded by GstAdapter.
4192 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4193 (gst_file_src_create_mmap):
4194 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4195 Printf format fixes for 64-bit integers.
4197 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4200 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4201 We're not in 0.8 times anymore.
4203 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4205 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4206 (gst_check_element_push_buffer_list):
4207 * libs/gst/check/gstcheck.h:
4208 Make the declaration in the header for
4209 gst_check_element_push_buffer_list match the implementation.
4211 Fix up spelling, grammar and wording of the documentation in a few
4212 places, and add the Since keyword to new API functions.
4213 Use g_list_delete_link instead of g_list_remove in
4214 gst_check_drop_buffers, since it's immeasurably more efficient.
4216 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4217 Use new gst_check_drop_buffers function where appropriate.
4219 * win32/common/libgstbase.def:
4220 * win32/common/libgstreamer.def:
4221 Add new symbols gst_collect_pads_take_buffer,
4222 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4225 Changelog surgery to add API keyword to new gst_check API.
4227 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4229 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4230 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4231 Update pre-generated flex files with flex 2.3.34.
4233 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4235 * gst/gstminiobject.c:
4236 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4237 friendly to subclasses and not require them to know all internals
4238 of their parent class.
4240 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4242 * docs/libs/gstreamer-libs-sections.txt:
4243 * libs/gst/base/gstcollectpads.c:
4244 * libs/gst/base/gstcollectpads.h:
4245 Add sub-buffer functions to collectpads. Fixes #516187.
4246 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4248 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4251 Copy selected buffer-flags when creating subbuffers.
4254 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4256 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4257 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4258 * gst/gstmessage.c: (gst_message_class_init),
4259 (gst_message_finalize):
4260 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4261 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4262 (gst_mmap_buffer_finalize):
4263 Properly chain up finalize functions to the parent class.
4265 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4267 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4269 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4270 (gst_index_set_resolver_full):
4272 Add new function with option to dispose of user_data in resolver.
4273 Actually call the dispose function when finalizing the object and not
4274 just when changing the resolver/filter.
4275 API: GstIndex::gst_index_set_resolver_full()
4277 * docs/gst/gstreamer-sections.txt:
4278 Add new function to docs. Fixes #515469.
4280 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4282 * gst/gstindex.c: (gst_index_finalize):
4283 Chain up finalize to the parent class. Fixes leaking the GstObject
4284 name and other things.
4286 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4289 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4290 pre-releases or releases.
4292 * docs/faq/gst-uninstalled:
4295 * docs/random/release:
4296 Change one of the steps - we only upload core & base to Gnome FTP
4298 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4300 * gst/gstconfig.h.in:
4301 Add 'id' for example.
4305 * plugins/elements/gstfdsink.c:
4306 Link to signals. Doc and comment fixes.
4308 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4310 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4311 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4312 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4313 unused and unimplemented; finally, it is plugin features, not
4314 plugins, that have ranks.
4316 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4318 * gst/gstpluginfeature.h:
4319 Clarify GstRank range docs.
4321 2008-02-05 David Schleef <ds@schleef.org>
4323 * gst/gst.c: Add a separate gst_deinitialized that prevents
4324 gst_init() from being called after gst_deinit(). Fixes #509559
4326 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4328 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4329 (gst_bin_class_init):
4330 * gst/gstelement.c: (gst_element_base_class_init),
4331 (gst_element_class_add_pad_template):
4332 * gst/gstpadtemplate.c: (gst_pad_template_init):
4333 * gst/gstpipeline.c: (gst_pipeline_get_type),
4334 (gst_pipeline_base_init), (gst_pipeline_class_init):
4335 * libs/gst/base/gstbasesink.c:
4336 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4337 (gst_base_src_base_init), (gst_base_src_class_init):
4338 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4339 (gst_capsfilter_class_init):
4340 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4341 (gst_fake_sink_class_init):
4342 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4343 (gst_fake_src_class_init):
4344 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4345 (gst_fd_sink_class_init):
4346 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4347 (gst_fd_src_class_init):
4348 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4349 (gst_file_sink_class_init):
4350 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4351 (gst_file_src_class_init):
4352 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4353 (gst_identity_class_init):
4354 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4355 (gst_multi_queue_class_init):
4356 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4357 (gst_queue_class_init):
4358 * plugins/elements/gsttee.c: (gst_tee_base_init),
4359 (gst_tee_class_init):
4360 * plugins/elements/gsttypefindelement.c:
4361 (gst_type_find_element_base_init),
4362 (gst_type_find_element_class_init):
4363 * tests/check/gst/gstelement.c: (gst_element_suite):
4364 Revert previous changes to the behaviour of GstPadTemplates, etc
4365 and the possiblity to call them in class_init as it breaks too
4366 many elements. Reopens bug #491501.
4368 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4371 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4373 * tools/gst-launch.c:
4374 Dump one graph per pipeline state-change and state change name
4375 (if GST_DEBUG_DUMP_DOT_DIR is set).
4377 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4380 * tests/check/gst/gstpad.c:
4381 Be sure that we have a new copy of the caps and not
4382 reffed caps from a template
4384 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4386 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4387 * gst/gstpipeline.c: (gst_pipeline_get_type),
4388 (gst_pipeline_class_init):
4389 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4390 (gst_base_sink_class_init):
4391 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4392 (gst_base_src_class_init):
4393 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4394 (gst_base_transform_class_init):
4395 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4396 (gst_collect_pads_class_init):
4397 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4398 * libs/gst/net/gstnettimeprovider.c:
4399 (gst_net_time_provider_base_init),
4400 (gst_net_time_provider_class_init):
4401 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4402 (gst_capsfilter_class_init):
4403 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4404 (gst_fake_sink_class_init):
4405 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4406 (gst_fake_src_class_init):
4407 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4408 (gst_fd_sink_class_init):
4409 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4410 (gst_fd_src_class_init):
4411 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4412 (gst_file_sink_class_init):
4413 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4414 (gst_file_src_class_init):
4415 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4416 (gst_identity_class_init):
4417 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4418 (gst_multi_queue_class_init):
4419 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4420 (gst_queue_class_init):
4421 * plugins/elements/gsttee.c: (gst_tee_base_init),
4422 (gst_tee_class_init):
4423 * plugins/elements/gsttypefindelement.c:
4424 (gst_type_find_element_base_init),
4425 (gst_type_find_element_class_init):
4426 Don't use base_init where not absolutely necessary. For example it's
4427 not necessary anymore for adding pad templates or setting element
4430 Leave empty base_init functions in several places as GST_BOILERPLATE
4431 still defines and uses them.
4433 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4435 * gst/gstelement.c: (gst_element_base_class_init),
4436 (gst_element_class_add_pad_template):
4437 * gst/gstpadtemplate.c:
4438 Make it possible (and recommended) to set element details and add
4439 pad templates in the class_init functions by copying the details/pad
4440 templates in GstElement's base_init.
4442 Also make it possible to replace existing pad templates by adding
4443 a new one with the same name. This was done in a hackish fashion
4444 in same elements before already.
4446 Don't reference pad templates that are added a second time. A
4447 new pad template has a refcount of one and is not floating anymore
4448 and to be owned by the element's class. Make this more explicit by
4449 mentioning it in the docs of gst_element_class_add_pad_template().
4451 These changes are backwards compatible. Fixes bug #491501.
4453 * tests/check/gst/gstelement.c:
4454 Add unit test for setting element details, adding pad templates and
4455 replacing them in a subclass.
4457 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4459 * tools/gst-inspect.c: (print_interfaces),
4460 (print_element_properties_info), (print_pad_info),
4461 (print_signal_info), (print_element_info):
4462 Fix a few memory leaks.
4464 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4466 * docs/libs/gstreamer-libs-sections.txt:
4467 * libs/gst/check/gstcheck.c:
4468 * libs/gst/check/gstcheck.h:
4469 Add more functions for unit testing: gst_check_drop_buffers,
4470 gst_check_caps_equal, gst_check_element_push_buffer_list,
4471 gst_check_element_push_buffer
4472 API: gst_check_drop_buffers
4473 API: gst_check_caps_equal
4474 API: gst_check_element_push_buffer_list
4475 API: gst_check_element_push_buffer
4477 2008-02-01 Julien Moutte <julien@fluendo.com>
4479 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4480 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4481 (gst_index_finalize), (gst_index_entry_free),
4482 (gst_index_add_association): Fix memory leaks.
4483 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4484 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4485 (gst_mem_index_free_format), (gst_mem_index_free_id),
4486 (gst_mem_index_finalize): Fix memory leaks.
4487 * win32/common/config.h: Updated to CVS HEAD.
4489 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4492 Some more details about how the plugin docs works.
4494 * docs/plugins/gstreamer-plugins-sections.txt:
4497 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4499 * gst/parse/grammar.tab.pre.c:
4500 * gst/parse/grammar.tab.pre.h:
4501 * gst/parse/grammar.y:
4502 * gst/parse/lex._gst_parse_yy.pre.c:
4503 Add delayed set-property. This allows to set properties on dynamicaly
4504 created objects (pads in videomxer). Fixes #509391.
4506 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4509 Check if caps are not NULL (fix bug #510194)
4511 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4513 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4514 (gst_base_sink_get_position_paused):
4515 Add fixme regarding EOS in pull mode.
4516 Fix position reporting in PAUSED for negative rates.
4518 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4520 * gst/gstminiobject.c: (gst_mini_object_replace):
4521 When replacing a miniobject, do a quick equality check first so that we
4522 can avoid a ref/unref pair.
4524 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4526 * docs/design/part-synchronisation.txt:
4529 * docs/plugins/Makefile.am:
4530 * docs/plugins/gstreamer-plugins-docs.sgml:
4531 * docs/plugins/gstreamer-plugins-sections.txt:
4532 * plugins/elements/gstmultiqueue.c:
4533 Add multiqueue to the docs.
4535 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4540 === release 0.10.17 ===
4542 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4545 releasing 0.10.17, "Due Negligence"
4547 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4550 Revert caps != NULL check temporarily for 0.10.17 release.
4552 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4555 Check if caps are not NULL (fix bug #510194)
4557 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4560 Fix compilation on systems that have posix timers but no
4563 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4566 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4568 * tools/gst-inspect.c:
4569 Revert previous commit in preparation for an impromptu 0.10.17 release
4571 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4573 * tools/gst-inspect.c: (print_interfaces),
4574 (print_element_properties_info), (print_pad_info),
4575 (print_signal_info), (print_element_info):
4576 Fix a few memory leaks.
4578 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4583 === release 0.10.16 ===
4585 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4588 releasing 0.10.16, "Special Dispensation"
4590 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4593 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4594 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4595 not fail when trying to crosscompile on OpenEmbedded (#511750).
4597 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4600 Use $(MAKE) instead of make to fix the build if GNU make is
4601 called different. Fixes bug #510747.
4603 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4605 * gst/gstplugin.c: (_gst_plugin_initialize):
4606 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4607 again, which I broke two commits ago when changing the API
4608 of gst_plugin_register_static(): the g_list_foreach() in
4609 _gst_plugin_register_static still assumed the old function
4610 signature and would therefore fail (re-fixes #510187).
4612 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4613 (_gst_plugin_register_static), (gst_plugin_register_static):
4614 Revert the (technically correct) change to call g_thread_init() from
4615 the pre-main() constructor. This will break programs which call
4616 g_thread_init() without an if (!g_thread_supported()) guard in their
4617 main function. We could just blame it on GLib or the application, but
4618 it's probably best to just avoid this altogether and simply not use
4619 any GLib functions here and use plain old malloc() with a simple
4620 array to store the plugins to register later when gst_init() is
4621 finally called (re-fixes #510187).
4623 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4624 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4625 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4626 (GST_START_TEST), (gst_plugin_suite):
4627 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4630 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4632 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4633 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4634 This makes gtk-doc complain, but results in slightly better
4635 compiler errors. The old _gst_plugin_register_static() is
4636 still guarded, so there'll be a compiler warning about that
4637 instead. Fixes #510187 too.
4639 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4641 * gst/gst.c: (init_post):
4642 * gst/gstplugin.c: (_gst_plugin_register_static),
4643 (gst_plugin_register_static), (_gst_plugin_initialize):
4644 * gst/gstplugin.h: (GstPluginFilter):
4645 Change API of gst_plugin_register_static() to not take
4646 a GstPluginDesc, but rather just take all the arguments
4647 in a GstPluginDesc directly. This is more intuitive and
4648 avoids certain mistakes when porting code from
4649 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4652 * tests/check/gst/gstplugin.c:
4653 Fix up for changed API.
4655 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4657 * docs/faq/legal.xml:
4658 Update FAQ, Totem actually has an exception these days.
4660 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4662 * win32/common/libgstreamer.def:
4663 Add new API declarations
4665 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4667 * gst/gstminiobject.c:
4668 Spelling fixes for the API docs.
4670 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4672 * libs/gst/base/gstbasetransform.c:
4673 Fix long property description for QoS.
4675 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4678 _gst_trace_on is already provided by gsttrace.h, no need to declare
4681 * docs/libs/gstreamer-libs-sections.txt:
4682 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4683 and remove strange tcase_add_test which is outputting a warning.
4685 * libs/gst/check/gstcheck.c:
4686 * libs/gst/check/gstcheck.h:
4687 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4688 and define them in gstcheck.c instead of having every .c file whcih
4689 includes gstcheck.h be defining its own copy and relying on symbol
4690 interposing to marry them all, which doesn't work on Solaris.
4692 * tests/check/elements/identity.c: (GST_START_TEST):
4693 Don't define 'buffers' locally, it comes from libgstcheck.
4695 * tests/check/generic/sinks.c: (send_buffer):
4696 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4698 * tests/check/gst/gststructure.c: (GST_START_TEST):
4699 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4700 * tests/check/gst/gstutils.c: (GST_START_TEST):
4701 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4702 Add a bunch of casts to make various constants fit the types
4703 they're being assigned to.
4705 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4707 * gst/gstchildproxy.c:
4708 Improve docs and add some ideas for making this more general-purpose.
4710 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4712 * gst/gst_private.h: (GST_CAT_TYPES):
4713 Add GST_CAT_TYPES, for consistency, and so that the other
4714 debug categories don't make fun of it. Spotted by Saur on IRC.
4716 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4718 * gst/parse/Makefile.am:
4719 Move types.h from EXTRA_DIST to noinst_HEADERS.
4721 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4724 Add -Wno-portability to the automake parameters to stop warnings
4725 about GNU make extensions being used. We require GNU make in almost
4726 every Makefile anyway.
4729 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4730 at the same time is required for per target flags.
4732 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4735 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4736 __GNUC__ is defined before using it.
4738 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4740 * docs/gst/gstreamer-sections.txt:
4741 * gst/gst.c: (init_post):
4742 * gst/gstplugin.c: (_gst_plugin_register_static),
4743 (gst_plugin_register_static), (_gst_plugin_initialize),
4744 (gst_plugin_register_func):
4745 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4746 API: add gst_plugin_register_static() and deprecate
4747 GST_PLUGIN_DEFINE_STATIC, since it's not portable
4749 Also, in _gst_plugin_register_static(), make sure to call
4750 g_thread_init() before calling GLib functions such as
4751 g_list_append() if we're not initialised yet, since that
4752 may lead to random crashes with older GSlice/GLib versions.
4754 * tests/check/gst/gstplugin.c:
4755 Adapt unit test to above changes.
4757 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4759 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4760 * gst/gstcaps.c: (gst_caps_to_string):
4761 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4762 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4763 Yet another gratuitous GString micro-optimisation: add a (private)
4764 function that serialises a structure appending to an existing
4765 GString, so that when we serialise caps we don't need to alloc+free
4766 a throwaway GString for each structure (each of which also entailing
4767 multiple reallocs on the way); also use g_string_sized_new() in
4768 various places with an approximate string length to avoid reallocs
4769 within GString. See #500143.
4771 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4773 * gst/gststructure.c: (gst_structure_id_set_value):
4774 Always check UTF-8 conformance of structure strings and not only
4775 if the debugging system is enabled; reasoning: the behaviour of
4776 the actual code shouldn't really change depending on whether the
4777 debugging system is enabled or not (#508291).
4779 2008-01-09 Stefan Kost <ensonic@users.sf.net>
4782 Remove old coverage target in favour of "make lcov".
4784 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4786 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4787 (gst_base_src_loop):
4788 The start segment for reverse playback goes from start to last_stop.
4790 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4792 Patch by: Peter Kjellerstedt <pkj axis com>
4795 Cast the results from the timeval/spec_to_time macros to what the
4796 docs say it casts to, a GstClockTime. fixes #508175.
4798 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4801 Update some comments.
4803 * tools/gst-inspect.c: (print_element_properties_info):
4804 Improve printing of flags.
4806 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
4808 * libs/gst/base/gstbasetransform.c:
4809 (gst_base_transform_transform_size):
4810 Print element name with g_warning() if there's a problem
4813 2008-01-07 David Schleef <ds@schleef.org>
4815 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4817 * libs/gst/controller/gstcontroller.h:
4818 * libs/gst/controller/gstcontrolsource.h:
4819 * libs/gst/controller/gstinterpolationcontrolsource.h:
4820 * libs/gst/controller/gstlfocontrolsource.h:
4821 * libs/gst/dataprotocol/dataprotocol.h:
4822 Fix empty prototypes. Fixes bug #507957.
4824 2008-01-07 David Schleef <ds@schleef.org>
4826 * docs/faq/dependencies.xml: Fix typo.
4828 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
4830 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4831 (gst_base_src_loop):
4832 Don't update the last_stop position in do_seek, that's the position we
4834 Read backwards when we have a negative rate.
4836 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4837 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4839 Add check for reverse reading.
4841 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
4843 Patch by: Alexis Ballier <aballier at gentoo org>
4845 * tests/check/gst/gstabi.c:
4846 * tests/check/gst/struct_ppc64.h:
4847 * tests/check/libs/libsabi.c:
4848 * tests/check/libs/struct_ppc64.h:
4849 Decide which header to include based on the userland ABI target
4850 and not the kernel/cpu. Fix up structure sizes of ppc64 header
4851 for 64-bit userland (#503590). Might need something similar for
4854 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
4856 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4857 Log the reason why fopen fails in addition to the fact that it failed.
4859 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
4861 * gst/parse/parse.l:
4862 Use "%option never-interactive" to prevent useless calls to isatty()
4863 on every input when parsing. Also use "%option noinput" to not define
4864 the static input/yyinput functions which we don't use anyway. This
4865 removes a compiler warning with gcc 4.3 and saves some bytes in the
4868 * gst/parse/lex._gst_parse_yy.pre.c:
4869 Regenerated for the above change.
4871 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
4873 * gst/gstpad.c: (fixate_value):
4874 Don't crash when trying to fixate and empty list.
4877 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
4879 * docs/faq/gst-uninstalled:
4880 Clarify the comments to make the usage of this script and what it
4881 does easier to understand.
4883 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
4885 * tools/gst-plot-timeline.py:
4886 Add more options to gst-plot-timeline
4888 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
4890 * docs/design/part-synchronisation.txt:
4891 Some more info on how the stream_time in GstBaseSink is done.
4893 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
4895 * tests/check/generic/sinks.c: (gst_sinks_suite):
4896 Put back the tcase_set_timeout(), apparently it's needed after
4897 all; fix it up in a way that makes things work with valgrind too.
4899 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
4901 * gst/gstdebugutils.c:
4902 Add warning when failed to open file for writing.
4904 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4906 Based on patch by: Laurent Glayal <spglegle yahoo fr>
4908 * gst/gstvalue.c: (gst_value_is_fixed):
4909 Optimisation: bail out of the loop as early as possible (#500143).
4911 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4913 * gst/gstcaps.c: (gst_caps_to_string):
4914 * gst/gstinfo.c: (gst_debug_construct_term_color):
4915 * gst/gstparse.c: (gst_parse_launchv):
4916 * gst/gstutils.c: (gst_util_dump_mem):
4917 * gst/gstvalue.c: (gst_value_serialize_any_list),
4918 (gst_value_transform_any_list_string):
4919 Bunch of gratuitous nano-optimisations.
4921 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4923 * tests/check/generic/sinks.c: (async_done_func),
4924 (async_done_eos_func):
4925 Fix leak in unit test (bus sync handler must unref the message
4926 if it returns GST_BUS_DROP). Don't fiddle with the default test
4927 timeout, this is smaller than the current preconfigured value
4928 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
4929 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
4931 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4933 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4936 Check for stdio_ext.h for the filesink changes.
4938 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
4939 (gst_file_sink_class_init), (gst_file_sink_init),
4940 (gst_file_sink_dispose), (gst_file_sink_set_property),
4941 (gst_file_sink_get_property), (gst_file_sink_open_file),
4942 (gst_file_sink_close_file):
4943 * plugins/elements/gstfilesink.h:
4944 Add two properties to control the buffering mode and size.
4945 API: GstFileSink::buffer-mode
4946 API: GstFileSink::buffer-size
4949 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4951 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
4952 Add some more docs to explain why a FIXME was wrongly added.
4954 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
4957 Fix typo in the gst_object_{ref,unref} documentation.
4959 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
4961 * tests/check/libs/controller.c:
4962 * tests/check/libs/typefindhelper.c:
4963 * tests/check/pipelines/parse-launch.c:
4964 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
4965 going to be deprecated (see #498924).
4967 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
4969 * gst/gsttypefind.c: (gst_type_find_register):
4970 Make gst_type_find_register work for static typefind functions,
4971 ie. allow passing plugin == NULL (prerequisite for #498924).
4973 * gst/gstelementfactory.c: (gst_element_register):
4974 Small docs addition.
4976 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
4978 * gst/gstpad.c: (gst_pad_dispose):
4979 Really unlink the peer pad instead of setting the peer pointer to NULL
4980 when we dispose the pad.
4981 This correctly calls the unlink functions and makes sure that the peer
4982 does not have a handle to invalid memory. See #504671.
4984 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4985 Add testsuite for above case.
4987 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
4989 Patch by: Peter Kjellerstedt <pkj axis com>
4991 * libs/gst/check/gstcheck.h:
4992 Fix detection of the check version we're compiling against (would
4993 otherwise break if check goes v0.10.0); correctly report the
4994 name of the failed test again in case of failure, instead of
4995 just 'tf' (fixes #504499).
4997 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
4999 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5000 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5001 (gst_base_src_loop), (gst_base_src_set_flushing),
5002 (gst_base_src_change_state):
5003 Allow sending EOS to the source to make it send out an EOS event from
5004 the streaming thread.
5005 Update docs and deprecate the old NULL/READY shutdown method.
5007 * tests/check/libs/basesrc.c: (GST_START_TEST),
5008 (gst_basesrc_suite):
5009 Add unit test for controlled shutdown.
5011 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5013 * docs/design/part-synchronisation.txt:
5016 * gst/gstsegment.c: (gst_segment_set_seek),
5017 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5018 (gst_segment_to_running_time):
5019 The seek format can be different from the segment format when the start
5020 and stop values are not to be updated, when we only do a rate change for
5023 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5024 (gst_segment_suite):
5025 Add a testcase for the rate-only seeks, checking that the format is
5026 correctly ignored when start and stop are not updated.
5028 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5030 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5032 * win32/vs8/grammar.vcproj:
5033 * win32/vs8/libgstcontroller.vcproj:
5034 * win32/vs8/libgstreamer.vcproj:
5035 Fix compilation with VS8 and include some missing files.
5037 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5040 Small docs addition: mention that the strings returned by
5041 gst_tag_list_get_string*() are in UTF-8 encoding.
5043 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5046 The check-exports stuff moved to common/win32.mak, so include that.
5048 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5050 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5051 (gst_base_src_perform_seek), (gst_base_src_get_range),
5052 (gst_base_src_set_playing), (gst_base_src_change_state):
5053 Make _wait_playing() not check any variables so that we can call this
5054 function from subclasses. Move the checks elsewhere similar to
5055 _wait_preroll() in basesink.
5057 Only signal the LIVE cond when we are going back to PLAYING.
5059 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5061 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5062 Use g_remove() and g_rename(). Check result of g_rename(), and
5063 don't leak the open file descriptor if we error out when writing.
5065 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5066 Must check the return value of close() after writing out the new
5067 registry file. Sometimes write problems such as out-of-diskspace
5068 are only reported when the file is closed and not already during
5069 the write. This may have caused partial/broken registry files in
5070 some rare circumstances. Should fix #503675.
5072 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5074 * docs/gst/.cvsignore:
5075 * docs/libs/.cvsignore:
5076 * docs/plugins/.cvsignore:
5077 Ignore files generated by new common/* modifications
5079 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5081 * win32/common/libgstbase.def:
5082 Yes, you can also have a <TAB> if you want.
5084 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5086 * win32/common/libgstbase.def:
5087 Add new basetransform API to win export file.
5089 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5091 * tests/check/gst/gstbin.c:
5092 Adjust the test to the refcount change two days ago.
5094 2007-12-14 David Schleef <ds@schleef.org>
5096 * docs/faq/getting.xml: Fix typo.
5098 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5100 * docs/libs/gstreamer-libs-sections.txt:
5101 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5102 (gst_base_transform_prepare_output_buffer),
5103 (gst_base_transform_set_gap_aware):
5104 * libs/gst/base/gstbasetransform.h:
5105 API: Add gst_base_transform_set_gap_aware() to control whether
5106 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5107 get buffers with this flag at all. Fixes #503231.
5109 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5111 * libs/gst/base/gstbasesink.c:
5112 * libs/gst/base/gstbasesrc.c:
5113 * libs/gst/base/gstbasetransform.c:
5114 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5115 thread. Correct log message in gstbasesrc.c.
5117 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5119 * gst/gstutils.c: (element_find_unconnected_pad):
5120 Fix possible compiler warning (#503417).
5122 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5124 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5125 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5127 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5129 * tools/gst-inspect.c: (print_element_properties_info):
5130 Add support for GstFraction properties.
5132 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5135 Add check-exports target and run it as part of 'make check'
5136 (see #499140 and #493983).
5138 * gst/gst_private.h:
5139 * gst/gstelementfactory.h:
5140 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5141 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5142 (_priv_gst_in_valgrind):
5143 * gst/gstinfo.h: (GstLogFunction):
5144 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5145 (gst_type_find_register):
5146 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5147 (gst_type_find_factory_get_type):
5148 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5149 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5150 (gst_controller_new_valist), (gst_controller_new_list),
5151 (_gst_controller_dispose), (_gst_controller_class_init):
5152 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5153 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5154 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5155 (gst_object_get_controller), (gst_object_set_controller),
5156 (gst_object_suggest_next_sync), (gst_object_sync_values),
5157 (gst_object_set_control_source), (gst_object_get_control_source),
5158 (gst_object_get_value_arrays), (gst_object_get_value_array),
5159 (gst_object_get_control_rate), (gst_object_set_control_rate):
5160 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5161 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5162 Make some functions that should be static static; rename some
5163 private symbols so that they don't get exported; add some FIXME
5164 comments so we can move accidentally exported functions into
5165 our private section in 0.11.
5167 * win32/common/libgstreamer.def:
5168 Add gst_utils_get_timestamp().
5170 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5174 Add more missing "Since:" tags to docs.
5176 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5179 Add mising "Since:" to docs.
5181 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5184 Include "glib-compat-private.h" to fix the build on system with
5185 glib < 2.10. Fixes #503131.
5187 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5191 Actually its not PURE as it gets the time from elsewhere.
5193 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5195 * docs/gst/gstreamer-sections.txt:
5197 * gst/gstdebugutils.c:
5201 * libs/gst/base/gstbasesink.c:
5202 * tools/gst-launch.c:
5203 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5204 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5205 Thanks Tim for spotting.
5206 API: gst_util_get_timestamp
5208 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5211 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5213 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5215 * gst/gststructure.c: (gst_structure_validate_name),
5216 (gst_structure_new_valist), (gst_structure_parse_value),
5217 (gst_structure_from_string):
5218 Don't crash in _from_string() if the structure name is not valid
5219 (fixes #501560). Allow structure names to start with a number
5220 again (this apparently broke the ubuntu codec installer).
5222 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5224 Add unit test for the crash; update unit tests for new behaviour.
5226 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5229 Clarify gst_element_get_compatible_pad() documentation.
5232 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5234 * tests/check/Makefile.am:
5235 Don't forget to dist {gst,libs}/struct_hppa.h.
5237 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5239 * libs/gst/base/gstbasesink.c:
5240 Use new API to get elapsed time.
5242 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5244 * gst/gstdebugutils.c:
5246 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5248 * tools/gst-launch.c:
5249 Use new API to get elapsed time.
5251 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5253 * docs/gst/gstreamer-sections.txt:
5255 * gst/gstdebugutils.c:
5257 Rename new API + ChangeLog surgery to remove old name from last entry..
5259 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5261 * docs/gst/gstreamer-sections.txt:
5263 * gst/gstdebugutils.c:
5265 Now hide the different clock stuff behind a macro.
5267 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5270 * gst/gstdebugutils.c:
5272 Apply the posix-timer check from #361155. Conditionally use the posix
5273 timer for logging. This gives better timestamp precission, less
5274 overhead and no ntp jitter.
5276 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5278 * gst/gstminiobject.c: (gst_mini_object_get_type),
5279 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5280 (gst_mini_object_finalize), (gst_mini_object_copy),
5281 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5282 (gst_mini_object_replace), (param_mini_object_validate),
5283 (gst_param_spec_mini_object_get_type):
5284 Some cleanup and checking against invalid function parameters.
5286 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5288 * docs/gst/gstreamer-sections.txt:
5290 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5291 (gst_systemclock_suite):
5292 Start merging in the easy bits of #361155, the monotonic clock patch.
5293 This one adds a few handy macros with docs and a testsuite.
5295 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5297 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5298 Be a bit smarter when seeking, like, don't try to do a seek when it's
5299 not needed. This avoids errors when the file is not seekable.
5302 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5304 * docs/gst/gstreamer-docs.sgml:
5305 * docs/gst/gstreamer-sections.txt:
5306 * docs/gst/gstreamer.types.in:
5311 * plugins/elements/gstqueue.c:
5312 Due to popular request remove preset interface again. :-(.
5314 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5316 * tools/gst-inspect.c:
5317 Print 'default value' for enums and flags too.
5319 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5321 * docs/random/ensonic/profiling.txt:
5325 Fix typo and give better log output.
5327 * gst/gstdebugutils.c:
5328 * gst/gstdebugutils.h:
5329 More ideas, make graphs a bit smaller and fix param name in macro.
5331 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5334 Try harder to use the return value from fgets().
5336 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5339 For theses two fgets we handle the error below.
5341 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5343 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5344 Only send upstream events upstream. Fixes #498746.
5346 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5348 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5350 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5351 (gst_identity_init), (gst_identity_transform_ip),
5352 (gst_identity_set_property), (gst_identity_get_property):
5353 * plugins/elements/gstidentity.h:
5354 Add property to disable handoff signal emission. Fixes #498694.
5355 API: GstIdentity::signal-handoffs
5357 2007-11-21 Julien Moutte <julien@fluendo.com>
5359 * docs/faq/gst-uninstalled: Yet another missing library for the
5360 uninstalled script (fft)
5362 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5364 * docs/faq/developing.xml:
5365 Add a question about how to submit new translations.
5367 * docs/random/release:
5368 Update the contact email address for the Translation Project
5370 * plugins/elements/gstfdsrc.c:
5371 The parent_class for fdsrc is pushsrc, not GstElement.
5373 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5376 Plug a leak and fix saving.
5378 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5380 * docs/gst/gstreamer-sections.txt:
5381 Add new gst_preset__get_property_names() function to the docs
5384 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5388 Change _get_preset_names API to return a strv with copies. Add
5389 _get_property_names to allow implementations to filter and provide
5390 good default implementation.
5392 2007-11-20 Julien MOUTTE <julien@moutte.net>
5394 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5397 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5400 More cleanups, docs, and TODOs from comments that now slowly come in.
5402 2007-11-19 Julien MOUTTE <julien@moutte.net>
5404 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5407 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5410 Fix bogus warning and make the property type specific code more
5413 2007-11-19 Julien MOUTTE <julien@moutte.net>
5415 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5418 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5420 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5421 (gst_bin_add_func), (gst_bin_remove_func),
5422 (gst_bin_change_state_func), (gst_bin_continue_func):
5423 Change email, cleanups add some more debug and comments.
5424 Also set bus and clock on new elements when the pipeline was in error.
5426 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5429 * gst/gstdebugutils.c:
5430 Fix build with --disable-gst-debug. Fixes #497859.
5431 Spotted by Sameer Naik.
5433 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5436 Little documentation improvment.
5439 More TODO cleanups. Remove c++ comments.
5441 * libs/gst/controller/gstcontroller.c:
5442 Add TODO and use quark from static string.
5444 * tests/check/gst/gstmessage.c:
5445 * tests/check/gst/gststructure.c:
5446 Use quark from static string.
5448 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5451 Add some comments and TODOs.
5454 Add padding for future changes.
5456 * plugins/elements/gstqueue.c:
5457 Implement the iface.
5459 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5461 * docs/gst/gstreamer-docs.sgml:
5462 * docs/gst/gstreamer-sections.txt:
5463 * docs/gst/gstreamer.types.in:
5468 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5470 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5476 === release 0.10.15 ===
5478 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5481 releasing 0.10.15, "October"
5483 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5485 * win32/vs6/libgstreamer.dsp:
5486 Convert line endings back to DOS.
5488 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5490 * docs/design/draft-tagreading.txt:
5491 * docs/random/ensonic/profiling.txt:
5492 Update fast tagreading draft and performance profiling ideas.
5494 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5496 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5497 Don't hold the object lock when unreffing a buffer because it could
5498 cause a deadlock when the finalize function wants to grab the object
5499 lock too. Fixes #495133.
5501 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5503 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5504 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5505 Also accumulate time correctly when doing reverse playback. Fixes
5507 When converting to running and stream time, use default values for
5508 start/stop/time/accum when comparing different formats. Fixes #494245.
5510 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5511 Do running/stream time in TIME format.
5513 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5514 (gst_segment_suite):
5515 2 new unit tests for segment accumulation.
5517 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5519 * gst/gst.c: (init_pre):
5520 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5521 (_gst_debug_bin_to_dot_file):
5522 Move getenv() back into gst_init, so everyone can live happily
5523 ever after. Make sure the symbol isn't exported though.
5525 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5527 Patch by: Sebastien Moutte <sebastien moutte net>
5529 * win32/common/gstenumtypes.c:
5530 * win32/common/gstenumtypes.h:
5533 * win32/vs6/libgstreamer.dsp:
5534 Update vs6 project files (#494343).
5536 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5538 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5539 (gst_base_src_perform_seek), (gst_base_src_default_event),
5540 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5541 (gst_base_src_activate_pull):
5542 Unify flushing code, remove some old unlock code that is no longer used.
5543 Take the streaming lock when seeking to avoid races. Fixes #492729.
5544 Added some more comments.
5546 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5548 * gst/gst.c: (_gst_disable_segtrap):
5549 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5550 we can use gst_segtrap_is_enabled() there now that we have that API.
5551 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5552 to do the getenv here (and export the variable).
5554 * gst/gstdebugutils.c: (debug_dump_element),
5555 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5556 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5558 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5559 (gst_debug_log_default):
5560 Rename _gst_info_start_time to priv_gst_info_start_time so it
5561 doesn't get exported (was never in any header).
5563 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5564 (gst_plugin_loading_mutex):
5565 Make static mutex gst_plugin_loading_mutex really static (was never
5566 in any header), and use gst_segtrap_is_enabled() instead of
5567 _gst_disable_segtrap.
5569 * gst/gsttrace.c: (_gst_trace_default):
5570 Make local _gst_trace_default static (was never in any header).
5572 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5574 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5576 * win32/common/libgstbase.def:
5577 * win32/common/libgstcontroller.def:
5578 * win32/common/libgstdataprotocol.def:
5579 * win32/common/libgstnet.def:
5580 * win32/common/libgstreamer.def:
5581 Add more missing symbols, remove some duplicates, and sort
5582 as the 'sort' command sorts it (partially fixes #493983).
5584 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5586 * gst/gstelement.c: (gst_element_set_state_func):
5587 Only change the state cookie if a different state was set on the
5588 element. See #492729.
5590 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5593 Remove unused and uninitialised type variables that were still
5594 exported for some reason (they were never in any header files
5597 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5599 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5600 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5601 (gst_base_sink_event), (gst_base_sink_get_position_last),
5602 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5603 (gst_base_sink_change_state):
5604 Don't try to report a 0 position when we don't know, return -1 and FALSE
5605 instead. This mostly happens when we are prerolling.
5606 Make sure we can report the right position before we post the ASYNC_DONE
5607 message so that a message handler can query position without races.
5609 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5610 (async_done_handoff), (async_done_func), (send_buffer),
5611 (async_done_eos_func), (gst_sinks_suite):
5612 Add two tests for the above.
5614 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5617 Update with new email address.
5619 * docs/design/part-TODO.txt:
5620 Add some more info about future pad-block and negotiation changes.
5622 * docs/design/part-buffering.txt:
5623 Add some ideas about buffering reporting.
5625 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5627 * tests/check/gst/gstobject.c:
5628 Disable silly racy test that always fails on this combination of CPU
5631 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5633 Patch by: Murray Cumming <murrayc@murrayc.com>
5636 Corrected the registration of the parent-set and parent-unset
5637 signals: The parameter is a GstObject, not a GObject (#493134).
5639 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5641 * gst/gst_private.h:
5650 Move declaration of private _gst_foo_initialize() functions into
5651 our private header file where they should have been all along.
5653 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5655 * docs/plugins/gstreamer-plugins-sections.txt:
5656 * gst/gstdebugutils.h:
5658 * plugins/elements/gstqueue.c:
5659 gtk-doc fixes; trailing-comma-in-enum fix.
5661 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5663 * gst/gst.c: (gst_deinit):
5664 Clean up on deinit (not the external ones though, doesn't seem to be
5665 needed for some reason).
5667 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5669 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5670 Remove __declspec(dllimport) for MSVC that was copied over into core
5671 from a plugin, obviously without ever having been tested (note the
5672 single underscore in _declspec in the initial commit), and that doesn't
5673 really make sense. See #492077.
5675 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5677 * gst/gst.c: (init_post):
5678 * gst/gstevent.c: (_gst_event_initialize):
5679 * gst/gstquery.c: (_gst_query_initialize):
5680 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5681 g_type_class_ref() other types as well, see #349410 and #64764.
5683 * gst/gstbuffer.c: (_gst_buffer_initialize):
5684 * gst/gstmessage.c: (_gst_message_initialize):
5685 Simplify existing g_type_class_ref().
5687 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5689 * gst/gstformat.c: (_gst_format_initialize):
5690 g_type_class_ref() our GstFormat type to make sure we avoid the
5691 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5692 bug #64764. Should fix intermittent tee unit test failures (#474823).
5694 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5696 * tests/check/elements/tee.c: (test_num_buffers):
5697 Simplify, simplify, simplify - or not. Rewrite unit test
5698 not to use gst_parse_launch(); allow N sub-streams. Increasing
5699 the number of sub-streams seems to reproduce #474823 more easily.
5701 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5703 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5706 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5707 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5708 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5709 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5710 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5711 so use _pipe() directly (#492077).
5713 * win32/common/dirent.c: (_treaddir):
5714 Add a couple of casts to make it build without warnings with MSVC.
5716 * win32/common/libgstreamer.def:
5717 Add some more symbols that need to be exported.
5719 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5721 * tests/examples/metadata/read-metadata.c: (message_loop):
5722 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5723 arriving in a second or third tag message are added to
5724 the tag list as well.
5726 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5728 * libs/gst/base/gstbasesrc.c:
5729 Its "Since:" and not "@Since:". And remove an superflous cast.
5731 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5733 * docs/libs/gstreamer-libs-sections.txt:
5734 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5735 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5736 (gst_base_sink_get_property), (gst_base_sink_render_object),
5737 (gst_base_sink_preroll_object),
5738 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5739 (gst_base_sink_change_state):
5740 * libs/gst/base/gstbasesink.h:
5741 Add a new last-buffer property that contains the last buffer used in
5742 basesink for preroll or rendering. useful for making snapshots.
5743 API: gst_base_sink_get_last_buffer()
5744 API: GstBaseSink::last-buffer
5746 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5748 * docs/gst/running.xml:
5750 * gst/gstdebugutils.c:
5751 * gst/gstdebugutils.h:
5752 * tools/gst-launch.c:
5753 Improve bin graph dumping, by using the envvar to specify a path.
5754 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5756 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
5758 * plugins/elements/gsttypefindelement.c:
5759 (gst_type_find_element_handle_event),
5760 (gst_type_find_element_activate):
5761 Post special error message if we can't determine the type of a stream
5764 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5766 * docs/gst/running.xml:
5767 * gst/gstdebugutils.c:
5768 Document new env-var. Add one log-line after dumpng a graph.
5770 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
5773 Ugly hack to put the (recently removed and non-portable, apparently)
5774 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5775 GNU ld, because without that 'make check' fails miserably on my debian
5776 stable box. Someone with more knowledge of linker intricacies and
5777 portability issues than me fix this properly please.
5779 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
5781 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5782 Reset last seen position after flushing so that we don't report the old
5785 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5787 * gst/gstelementfactory.c: (gst_element_register):
5789 Patch from Alessandro Decina adding get_type_full and
5790 get_protocols_full private vfuncs to the URIHandler interface
5791 to allow bindings to support creating URI handlers.
5792 Partially fixes: #339279
5793 API: GstURIHandlerInterface::get_type_full
5794 API: GstURIHandlerInterface::get_protocols_full
5796 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5798 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5799 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5800 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5801 Make it so that pads are considered linked until a buffer is pushed
5802 and discovered otherwise. This avoids problems with decodebin2 hanging
5803 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5806 Make sure we lock the multiqueue when updating the max-size properties.
5808 Fix a crash on Solaris in a debug statement in get_request_pad that
5809 passes a NULL string to GST_DEBUG.
5811 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5812 (run_output_order_test):
5813 Fix the test to allow the first buffer on not-linked pads to come out
5814 of sequence while multiqueue discovers that they are not-linked.
5816 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5819 * libs/gst/check/Makefile.am:
5820 Use a custom export symbol regex for libgstcheck, as it needs
5821 to export symbols that don't match the standard GStreamer gst_*
5822 pattern, and --export-dynamic is not portable (only works on
5825 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5826 (gst_check_setup_sink_pad):
5827 Make sure to pass a message parameter to the fail_* macros.
5829 * tests/check/gst/gstinfo.c: (GST_START_TEST):
5830 Fix some compiler warnings.
5832 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
5834 * tests/check/gst/gststructure.c: (test_to_string):
5835 Disable test that checks that white spaces are not allowed
5836 in structure names or field names, since we need to
5837 support that for now for backwards compatibility reasons.
5839 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5841 * docs/gst/gstreamer-sections.txt:
5844 API: add GST_TAG_ARTIST_SORTNAME
5845 API: add GST_TAG_ALBUM_SORTNAME
5846 API: add GST_TAG_TITLE_SORTNAME
5847 Add tag variants for sorting (#414539).
5849 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5851 * gst/gststructure.c:
5852 Also allow white space for names so we don't break
5853 backwards compatibility.
5855 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
5857 * docs/design/part-TODO.txt:
5858 * docs/design/part-segments.txt:
5859 * docs/design/part-streams.txt:
5862 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5864 * docs/gst/gstreamer-sections.txt:
5865 Fixed documentation from my previous commit (added new API add
5866 gst_value_set_structure(), add gst_value_get_structure() and
5867 GST_VALUE_HOLDS_STRUCTURE).
5869 2007-10-22 Stefan Kost <ensonic@users.sf.net>
5871 * gst/gstdebugutils.c:
5872 Reflow code to fix uninitialized variable warning.
5874 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5876 * gst/gstcaps.c: (gst_caps_to_string),
5877 (gst_caps_from_string_inplace):
5878 * gst/gststructure.c: (gst_structure_get_abbrs),
5879 (gst_structure_to_string), (gst_structure_from_string):
5880 * gst/gstvalue.c: (gst_value_set_structure),
5881 (gst_value_get_structure), (gst_value_serialize_structure),
5882 (gst_value_deserialize_structure), (_gst_value_initialize):
5884 * tests/check/gst/gststructure.c: (GST_START_TEST),
5885 (gst_structure_suite):
5886 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5887 Added GstStructure to gst_value_table and its related functions.
5888 Changed gst_structure_to_string to print ';' in the end.
5889 Changed gst_caps_to_string to not print ';' beteween its
5890 fields (structures) anymore and remove the lastes ';' from latest
5891 structure. Now it is possible to have nested structures.
5892 In addition, backward compatibilty is assured by accepting '\0' as
5893 end delimiter. Fixes: #487969.
5894 API: add gst_value_set_structure()
5895 API: add gst_value_get_structure()
5896 API: add GST_VALUE_HOLDS_STRUCTURE
5898 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
5901 When no GSource callback has been set up, tell developer
5902 to use a function that actually exists.
5904 2007-10-17 Stefan Kost <ensonic@users.sf.net>
5906 * docs/gst/gstreamer-sections.txt:
5910 * gst/gstdebugutils.c:
5911 * gst/gstdebugutils.h:
5914 * tools/gst-launch.c:
5915 Allow dumping pipelines as dot graphs. Fixes #456573.
5917 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5919 * gst/gststructure.c:
5920 Allow '+' as well, it can be part of media or mime types
5921 such as image/svg+xml.
5923 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5925 * docs/gst/gstreamer-sections.txt:
5928 API: add gst_bus_pop_filtered
5929 API: add gst_bus_timed_pop_filtered
5930 Two new functions for waiting for specific message types on the
5931 bus for a specified amount of time without iterating any main
5932 loops or main contexts.
5934 * tests/check/gst/gstbus.c:
5935 Some tests for the new functions.
5937 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5939 * docs/libs/gstreamer-libs-sections.txt:
5940 Make gtk-doc ignore stuff it should ignore.
5942 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5944 * libs/gst/check/gstcheck.c:
5945 * libs/gst/check/gstcheck.h:
5946 Allow runtime selection of unit tests to run via the GST_CHECKS
5947 environment variable (test case function names, comma-separated).
5949 2007-10-16 Stefan Kost <ensonic@users.sf.net>
5951 * gst/gststructure.c:
5952 * tests/check/gst/gststructure.c:
5953 Revert serialisation change and constrain structure-names after
5954 consensus on irc. Update api documentation to reflect the change.
5956 2007-10-16 Stefan Kost <ensonic@users.sf.net>
5958 * gst/gststructure.c:
5959 Improve serialization and fix tests.
5961 * tests/check/gst/gststructure.c:
5962 Add another test that covers why I actually did the previous structure
5965 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
5967 * tools/gst-inspect.c: (print_element_info):
5968 Don't crash when inspecting an element.
5970 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
5972 * tests/check/gst/gststructure.c:
5973 Add unit test for escaping of structure name when serialising
5974 and deserialising to/from strings.
5976 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
5978 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5979 (gst_single_queue_new):
5980 * plugins/elements/gstqueue.c: (gst_queue_init),
5981 (gst_queue_push_one):
5982 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
5983 upstream is tricked into thinking it can suggest a format downstream
5984 while downstream does not support that format. The real problem is that
5985 core calls acceptcaps when pushing a buffer with new caps, for which we
5986 do a little workaround by setting the caps on the srcpad ourselves
5987 before pushing the buffer (until this is figured out). Fixes #486758.
5989 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5991 * gst/gststructure.c:
5993 Add some more comments and debug output. Quote structure name to fix
5994 deserialisation of some strings.
5996 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5999 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6000 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6002 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6004 * tools/gst-inspect.c:
6005 Save approx. 400 1 byte allocs when printing. Use API to acces element
6011 * tools/gst-xmlinspect.c:
6012 Use API to acces element details.
6014 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6017 Fix some spelling errors.
6019 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6021 * gst/gstbin.c: (bin_handle_async_done):
6022 Correctly set the next state if all of our async children commited their
6023 state. This makes sure we can actually cancel the state change in
6024 progress. Fixes a regression in Rhythmbox when seeking.
6026 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6029 Don't shadow local variable.
6032 Don't shadow global function name.
6034 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6036 * gst/gstelementfactory.c:
6037 * gst/gstpluginfeature.c:
6038 * gst/gstpluginfeature.h:
6039 * gst/gstregistrybinary.c:
6040 * gst/gstregistryxml.c:
6041 * gst/gsttypefind.c:
6042 Use already-interned string for the private GstPluginFeature
6045 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6047 * docs/libs/gstreamer-libs-sections.txt:
6048 Add new API to docs; fixes the build.
6050 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6052 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6054 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6055 (gst_base_sink_event):
6056 * libs/gst/base/gstbasesink.h:
6057 Add function to wait for EOS, subclasses can use this to correctly wait
6058 for devices to drain before performing the EOS logic. Fixes #485343.
6059 API: gst_base_sink_wait_eos()
6061 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6064 Cast description string constants in GST_PLUGIN_DEFINE macros
6065 to a (gchar*) to make C++ code using these macros compile
6066 without warning with g++-4.2 (see #462737). Even if slightly
6067 ugly, this seems preferable to putting the description strings
6068 into the GLib quark table or making the structure member a
6069 const gchar * and doing casts in core code that allocs and
6070 frees these strings, or requiring a cast in the C++ code.
6072 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6075 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6076 to print the entire class/function signature into the log
6077 file for C++ code. This only affects C++ code, for C code
6078 everything remains the same.
6080 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6082 * gst/gstbin.c: (remove_from_queue):
6083 Work around a problem with pipelines containing (semi)loops until a
6084 proper, more complicated solution is ready. See #475455.
6086 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6090 * gst/gstregistrybinary.c:
6091 * gst/gstregistryxml.c:
6092 Put more strings into the GLib quark table. No need to keep
6093 a hundred-something copies of identical version strings,
6094 license strings, package name strings and package origin
6097 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6099 * docs/manual/advanced-dataaccess.xml:
6100 Don't imply that it's okay to unconditionally change
6101 buffer data or buffer metadata in a pad probe callback,
6102 and a bunch of other comments. Fixes #430031.
6104 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6106 * win32/common/gstenumtypes.c:
6107 * win32/common/gstenumtypes.h:
6108 * win32/common/gstversion.h:
6109 Update generated files.
6111 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6113 * docs/manual/advanced-autoplugging.xml:
6114 Prefix section with broken code with a warning (see #342432).
6116 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6118 * docs/manual/appendix-integration.xml:
6119 * docs/manual/basics-init.xml:
6120 Call g_thread_init() before g_option_context_new() to
6121 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6123 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6125 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6126 (gst_base_sink_queue_object_unlocked),
6127 (gst_base_sink_queue_object), (gst_base_sink_event),
6128 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6129 When we received EOS and are waiting for when to post the EOS message,
6130 our state is prerolled and we should not return ASYNC.
6131 Reorganize some code paths to implement this behavior.
6133 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6135 Add unit test to verify above EOS fix.
6137 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6139 * plugins/elements/gsttypefindelement.c:
6140 (gst_type_find_element_have_type), (gst_type_find_element_init),
6141 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6142 Move detecting the input caps of the sinkpad to the setcaps function.
6143 This allows us to update the output caps when we receive new input caps
6144 instead of always using the first detected caps.
6146 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6148 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6149 (gst_base_sink_get_position):
6150 Don't try to preroll non-async elements after a flush.
6151 Subtract latency form clock times when reporting position.
6153 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6155 * gst/gstpad.c: (gst_pad_pause_task):
6157 Small comment and documentation update.
6159 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6161 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6162 (gst_base_src_set_live), (gst_base_src_is_live),
6163 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6164 (gst_base_src_default_event), (gst_base_src_wait),
6165 (gst_base_src_do_sync), (gst_base_src_get_range),
6166 (gst_base_src_pad_get_range), (gst_base_src_loop),
6167 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6168 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6169 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6170 (gst_base_src_change_state):
6171 Rework the locking of basesrc in a similar fashion to basesink. We
6172 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6173 us to handle live sources and semi live ones much better.
6175 Fix unlocking when seeking, shutting down and pausing in live sources.
6177 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6179 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6180 Fix compilation again.
6182 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6185 Use meaningful categories for the logs to clean the default one.
6187 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6189 * tests/check/pipelines/cleanup.c:
6190 Print message name and not just number.
6192 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6194 * docs/design/draft-tagreading.txt:
6195 Add some more thoughts.
6197 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6199 * tests/check/pipelines/simple-launch-lines.c:
6200 Print message name and not just number.
6202 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6204 * libs/gst/base/gsttypefindhelper.c:
6205 Speedup typefinding. This is work in progress (see #459862).
6207 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6210 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6211 Spotted by Josep Torra Valles <josep@fluendo.com>.
6213 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6216 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6217 field has moved to GstObject.
6219 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6221 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6222 (gst_base_src_get_range), (gst_base_src_change_state):
6223 Call unlock for live sources so that they can't get stuck in _create and
6224 produce a buffer before they are set back to PLAYING.
6226 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6228 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6229 (gst_queue_locked_dequeue):
6230 Comment the segment-related code... in the PROPER function.
6231 See #482147 and my commit from yesterday.
6233 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6235 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6236 Also initialize the counter that calculates the first timestamp on a
6237 buffer correctly for non-live sources.
6239 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6241 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6242 Disable code that's breaking the current-time-level reporting.
6245 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6247 * docs/gst/gstreamer-sections.txt:
6248 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6249 as they shouldn't show up. Fixes the docs build.
6251 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6254 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6255 Define M_PI which is used in files which are including gstinfo.h.
6256 VS6 includes doesn't define it.
6257 * win32/common/libgstbase.def:
6258 * win32/common/libgstcontroller.def:
6259 * win32/common/libgstreamer.def:
6260 Add new exported functions and variables.
6261 * win32/vs6/libgstcontroller.dsp:
6262 * win32/vs6/libgstreamer.dsp:
6263 Update the list of files to build.
6265 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6267 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6269 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6270 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6271 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6272 Improve debugging. Fixes #480858.
6274 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6276 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6278 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6279 First patch of code cleanups, use the macros and right arguments in the
6280 macros to signal and lock the queue. See #480858.
6282 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6284 * gst/gstbus.c: (poll_func):
6285 Improve debugging when dealing with _poll().
6287 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6289 * gst/gstregistryxml.c:
6290 Fix memory leak I introduced a few days ago.
6292 2007-09-26 Michael Smith <msmith@fluendo.com>
6294 * gst/gstbuffer.c: (gst_buffer_finalize):
6295 Make it once again possible to free GstBuffers in the default
6297 The poisoning scribbles on parts of the miniobject we need in
6301 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6303 * docs/gst/gstreamer-sections.txt:
6306 API: add GST_TAG_COMPOSER, fixes #459809.
6308 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6312 Add the 3-clause BSD license and the MIT/X11 license to the license
6313 list. Fixes #479784.
6315 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6317 * docs/faq/getting.xml:
6318 Add Q+A about different GStreamer versions (#364056).
6320 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6322 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6323 (gst_base_sink_event), (gst_base_sink_change_state):
6324 Return correct gboolean from query function.
6326 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6328 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6329 (gst_base_sink_event), (gst_base_sink_query),
6330 (gst_base_sink_change_state):
6331 Simplify latency query.
6332 When not synchronizing, we can report latency without querying the peer
6335 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6339 Fix small typos in the docs.
6341 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6343 * docs/design/draft-latency.txt:
6344 * docs/design/draft-push-pull.txt:
6345 * docs/design/draft-tagreading.txt:
6346 * docs/design/part-MT-refcounting.txt:
6347 * docs/design/part-activation.txt:
6348 * docs/design/part-block.txt:
6349 * docs/design/part-element-source.txt:
6350 * docs/design/part-events.txt:
6351 * docs/design/part-gstbin.txt:
6352 * docs/design/part-gstelement.txt:
6353 * docs/design/part-gstobject.txt:
6354 * docs/design/part-gstpipeline.txt:
6355 * docs/design/part-messages.txt:
6356 * docs/design/part-preroll.txt:
6357 * docs/design/part-push-pull.txt:
6358 * docs/design/part-qos.txt:
6359 * docs/design/part-query.txt:
6360 * docs/design/part-scheduling.txt:
6361 * docs/design/part-seeking.txt:
6362 * docs/design/part-segments.txt:
6363 * docs/design/part-states.txt:
6364 Documentation updates and typo fixes.
6366 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6368 * plugins/elements/gstfakesink.c:
6369 Add some debug text to error message to indicate that
6370 we errored out on request.
6372 * tools/gst-launch.c:
6373 When the state change to PLAYING fails, check for an
6374 error message on the bus and print it.
6376 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6378 translated by: Jorge González González <aloriel@gmail.com>
6382 Added Spanish translation.
6384 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6386 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6387 Fix printf arguments.
6389 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6391 * tests/check/generic/states.c:
6392 Improved state change unit test.
6394 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6397 Move priv to the right place.
6399 * gst/gstsystemclock.c:
6400 Add FIXME: and improve log.
6402 * tests/check/Makefile.am:
6403 * tests/examples/manual/Makefile.am:
6404 Work with all types of registries.
6406 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6408 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6409 Don't unref the event after pushing it. Fixes #478401.
6411 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6414 * tests/examples/manual/.cvsignore:
6415 Ignore registries in any format.
6417 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6419 * gst/glib-compat-private.h:
6420 Add compatibility macro for g_intern_string() for
6421 GLib-2.8 (any reason we can't just bump the
6422 requirement to at least 2.10?)
6424 * gst/gstpadtemplate.h:
6425 * gst/gstelementfactory.c:
6426 * gst/gstregistryxml.c:
6427 * gst/gstregistrybinary.c:
6428 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6429 up the internal code accordingly. This shouldn't be a problem, since
6430 there is no reason external code could ever assume the string in such
6431 a structure is dynamically allocated unless it did that itself; the
6432 use of g_strdup() is private to element factories. The new code also
6433 saves some memory by putting pad template name strings into the GLib
6434 quark table instead of allocating them dynamically.
6435 Declaring this field constant fixes warnings with g++-4.2 when using
6436 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6438 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6440 * gst/gstelementfactory.c:
6441 Release static caps. Fixes #475723.
6443 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6447 Make some internal API take const gchar * instead of just
6448 gchar * to avoid compiler warnings with g++-4.2.2 when
6449 passing string constants (partially fixes #478092).
6451 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6453 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6454 A latency query fails when one of the sinks fail.
6456 * gst/gstelement.c: (gst_element_set_base_time):
6459 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6461 * gst/gstbin.c: (gst_bin_continue_func):
6462 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6463 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6464 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6466 Fix minor compilation warnings shown with Forte.
6468 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6470 * plugins/elements/gstqueue.c: (apply_buffer),
6471 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6472 Measure queue level based on the diff between head and tail timestamps
6473 even when pushing the first buffer.
6475 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6477 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6478 (gst_base_sink_event), (gst_base_sink_change_state):
6479 Sinks that don't preroll can always be queried for the latency.
6480 Don't post ASYNC start when we are not async.
6482 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6484 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6485 (gst_queue_handle_sink_event), (gst_queue_chain),
6486 (gst_queue_push_one), (gst_queue_handle_src_query),
6487 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6488 * plugins/elements/gstqueue.h:
6489 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6490 push more buffers but allow pushing of EOS and NEWSEGMENT.
6491 Add some more debug info here and there. Fixes #476514.
6493 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6495 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6496 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6497 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6498 (gst_base_sink_set_flushing), (gst_base_sink_query),
6499 (gst_base_sink_change_state):
6500 Latency query is allowed after we are prerolled. Introduce a new flag
6501 for this and stop abusing other variables.
6503 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6505 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6506 Push OOB events downstream when we get them in send_event. This allows
6507 the application to insert events in the pipeline.
6508 Add some more comments.
6510 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6512 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6513 (do_bin_latency), (gst_bin_change_state_func):
6514 * gst/gstpipeline.c: (gst_pipeline_change_state):
6515 Move latency query from GstPipeline to GstBin so that we can also
6516 use it when async-handling is enabled on bins.
6518 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6520 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6521 (gst_base_src_do_sync), (gst_base_src_change_state):
6523 Clean up the timestamping and syncing code for pseudo live sources.
6525 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6527 Patch by: Steve Fink <sphink gmail com>
6529 * docs/manual/appendix-checklist.xml:
6530 Mention less -R switch in the section about debug output (#474055).
6532 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6534 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6535 Queue can latency to the pipeline up to the configured max size in time.
6536 Report this fact in the latency query.
6538 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6540 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6542 * libs/gst/controller/gstinterpolation.c:
6543 * libs/gst/controller/gstlfocontrolsource.c:
6544 Use gst_guint64_to_gdouble() when converting from a uint64 or
6545 GstClockTime to double to fix the build on win32. Fixes #474371.
6547 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6549 * gst/gstbuffer.c: (gst_buffer_finalize):
6550 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6551 When finalizing a buffer the complete struct is filled with 0xff,
6552 thus making a use of the buffer after the final unref impossible.
6554 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6556 * tests/check/libs/controller.c: (GST_START_TEST):
6557 Use fail_unless_equals_int(a, b) instead of
6558 fail_unless_equals (a == b) to get better output on failures.
6560 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6562 * tests/check/gst/gsturi.c:
6563 Also check for the other file URI variant on win32.
6565 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6567 * gst/gsturi.c: (gst_uri_get_location):
6568 If there's no hostname, we want to return 'c:/foo/bar.txt'
6569 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6571 * tests/check/gst/gsturi.c:
6572 Unit test for the above and a few more things.
6574 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6576 * docs/design/part-live-source.txt:
6577 Add docs on how live sources should timestamp.
6579 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6580 Add some more debug info.
6581 For subclasses that are live and like to sync, add aditional startup
6582 latency to sync time and timestamps so that we timstamp according to the
6585 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6588 Also do a g_type_class_ref() for the subbuffer type in
6591 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6593 * docs/gst/gstreamer-sections.txt:
6594 * gst/gstpad.c: (gst_pad_peer_query):
6596 Add function to perform a query on the peer of a pad.
6597 API: gst_pad_peer_query()
6599 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6601 * tests/check/gst/gstsystemclock.c:
6602 Cleanup the test a little (use gst-logging and not g_message). Improve
6603 test to check if a wait reached the target.
6605 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6607 * docs/libs/gstreamer-libs-sections.txt:
6608 Add new API to docs and fix the build.
6610 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6612 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6613 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6614 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6615 (gst_base_src_get_property), (gst_base_src_do_sync):
6616 * libs/gst/base/gstbasesrc.h:
6617 Add property to make the basesrc timestamp buffers based on the current
6619 API: GstBaseSrc::do-timestamp
6620 API: gst_base_src_set_do_timestamp()
6621 API: gst_base_src_get_do_timestamp()
6623 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6625 * docs/random/release:
6626 Really make sure translations are up-to-date before
6627 a release (#465010).
6629 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6631 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6632 Always destroy the timer, also in error cases.
6634 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6636 * docs/manual/highlevel-xml.xml:
6637 Fix XML example code. Fixes #472714.
6639 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6641 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6642 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6643 (gst_base_sink_query):
6644 Protect eos and have_preroll with the OBJECT lock so we don't need to
6645 take the PREROLL lock when querying the latency. Fixes #473846.
6647 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6650 Give some log-messages a category.
6652 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6654 * gst/gststructure.c:
6655 (gst_structure_fixate_field_nearest_fraction):
6656 Fix fraction list fixation code. Take the fraction with the smallest
6657 difference with the target instead of the first one in the list.
6659 * tests/check/gst/gststructure.c: (GST_START_TEST),
6660 (gst_structure_suite):
6661 Added test to verify correct fraction list fixation behaviour.
6663 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6665 * win32/common/libgstreamer.def:
6666 Export gst_bus_add_signal_watch too.
6668 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6670 * docs/libs/gstreamer-libs-sections.txt:
6671 Add new methods to docs.
6673 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6674 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6675 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6676 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6677 * libs/gst/base/gstbasesink.h:
6678 Add ts-offset property to fine-tune the synchronisation.
6679 API: GstBaseSink::ts-offset property
6680 API: gst_base_sink_set_ts_offset()
6681 API: gst_base_sink_get_ts_offset()
6683 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6685 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6686 (gst_base_sink_init), (gst_base_sink_set_sync),
6687 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6688 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6689 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6690 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6691 (gst_base_sink_get_property), (gst_base_sink_change_state):
6692 * libs/gst/base/gstbasesink.h:
6693 Add async property to instruct the sink never to inform the parent about
6694 ASYNC state changes, update docs.
6695 Check argument with g_return_* for the public functions.
6696 API: GstBaseSink::async property
6697 API: gst_base_sink_set_async_enabled()
6698 API: gst_base_sink_is_async_enabled()
6700 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6702 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6705 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6706 (gst_base_src_default_query), (gst_base_src_wait),
6707 (gst_base_src_do_sync), (gst_base_src_change_state):
6708 Rearrange some code so that we can add support for measuring the
6711 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6713 * docs/random/ensonic/dynlink.txt:
6714 More thoughs on this.
6716 * plugins/elements/gstcapsfilter.c:
6717 Add bugzilla ticket number to FIXME comment.
6719 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6721 * docs/design/part-TODO.txt:
6722 * docs/design/part-block.txt:
6725 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6728 Revert patch which uses $(gst_headers) instead of $^ because it
6731 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6733 * tests/check/gst/gstbin.c: (GST_START_TEST):
6734 Fix leaks in the new unit test.
6736 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6739 Don't use GST_INFO before the debug system is actually initialised
6740 (shouldn't do any harm, but won't print anything either, so we can
6741 just as well remove it).
6744 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6745 compilers that don't support variadic macros (such as MSVC), should
6746 check for debug_level <= __gst_debug_min as well, since that's the
6747 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6748 inline helper functions. Should improve performance a bit, but also
6749 makes sure uses of GST_INFO et.al are ignored if the debugging
6750 system isn't initialised yet (instead of printing an assertion
6753 2007-08-23 Stefan Kost <ensonic@users.sf.net>
6755 patch by: David Nečas <yeti@physics.muni.cz>
6758 Replace some non portable makefile constructs.
6760 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6762 * common/gtk-doc-plugins.mak:
6763 Grrrrr. Don't remove the types file on make clean.
6765 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6767 * tools/gst-launch.1.in:
6768 Add colorspace to example pipeline. Fixes #458274.
6770 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
6772 * docs/random/release:
6773 The release manager should run 'make download-po' before making a
6774 release to make sure translations are up-to-date.
6780 Add some new translations.
6782 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
6784 * tools/gst-launch.c: (event_loop), (main):
6785 Don´t try to do any state management when a live pipeline posts
6787 Also make the buffering string translatable.
6789 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6791 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6792 (bin_handle_async_start), (gst_bin_handle_message_func):
6794 When adding elements, insert messages into the bus of the newly added
6795 element and make sure the element is the source of the message. This
6796 allows the parent bin to intercept the message and do the
6797 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6798 messages to the app (which is not allowed).
6801 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6802 Fix testsuite so that is does not work around messages that should not
6803 have been posted in the first place.
6805 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6807 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6808 (update_degree), (gst_bin_sort_iterator_next):
6809 Fix annoying bug in the sorted iterator where a sink that is not really
6810 a sink (when it has downstream links) screwed up the iterator.
6812 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6813 Unit test to verify the fix.
6815 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6818 Add some more docs for the messages.
6820 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6821 (gst_base_sink_query):
6822 Add some more debugging.
6824 * tools/gst-launch.c: (event_loop):
6825 When interrupting, don't try to set pipeline to PAUSED twice.
6827 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6830 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6831 (bin_handle_async_start), (gst_bin_handle_message_func):
6832 Move ASYNC_START message posting to where it belongs, similar to
6834 Don't post ASYNC_START when we are in error.
6835 Post ASYNC_START when we added an async element to a bin.
6837 2007-08-14 Julien MOUTTE <julien@moutte.net>
6839 * gst/gstindex.c: (gst_index_add_association): Fix index entry
6840 generation from vargs. Fixes #466595.
6842 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6844 * gst/gstbin.c: (gst_bin_element_set_state):
6845 Always change the state of a NO_PREROLL element even if it has ASYNC
6846 elements inside (in case of a bin).
6848 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6849 Unit test for this case.
6851 2007-08-13 Stefan Kost <ensonic@users.sf.net>
6853 * libs/gst/check/gstbufferstraw.c:
6854 * libs/gst/check/gstcheck.h:
6855 * libs/gst/controller/gstcontroller.c:
6856 * libs/gst/controller/gstcontrolsource.h:
6857 * libs/gst/controller/gstlfocontrolsource.h:
6858 * plugins/elements/gstcapsfilter.h:
6859 * plugins/elements/gstfdsink.h:
6860 * plugins/elements/gstfdsrc.h:
6861 Add more missing docs.
6863 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6865 * gst/gststructure.c:
6866 Add Since tag to docs.
6868 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6870 * docs/gst/gstreamer-sections.txt:
6871 * gst/gststructure.c: (gst_structure_get_uint):
6872 * gst/gststructure.h:
6873 Add function to get uint from a structure.
6874 API: gst_structure_get_uint()
6876 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6878 * gst/gstcaps.c: (gst_caps_set_simple_valist),
6879 (gst_caps_intersect):
6880 Fix proper check for simple caps.
6882 2007-08-10 Stefan Kost <ensonic@users.sf.net>
6884 * docs/gst/Makefile.am:
6885 * docs/libs/Makefile.am:
6886 Remove cruft and do some cleanups.
6888 * docs/gst/gstreamer-docs.sgml:
6889 * docs/libs/gstreamer-libs-docs.sgml:
6890 Prepare for comming gtkdoc features (rebase against online docs).
6892 2007-08-10 Michael Smith <msmith@fluendo.com>
6894 * docs/gst/gstreamer-sections.txt:
6895 Add gst_registry_add_path to docs.
6897 2007-08-10 Michael Smith <msmith@fluendo.com>
6899 * gst/gstregistry.h:
6900 Add gst_registry_add_path, which was missing from this header.
6902 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
6904 * libs/gst/controller/gstlfocontrolsource.c:
6907 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
6909 * libs/gst/base/gstbasesink.c:
6910 Don't send an async_start message during downwards state change if
6911 target state is less than READY
6913 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6915 translated by: Gabor Kelemen <kelemeng@gnome.hu>
6919 Added Hungarian translation.
6921 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6928 Updated translations.
6930 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6932 * libs/gst/controller/Makefile.am:
6933 Dist gstlfocontrolsourceprivate.h
6935 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6937 * docs/libs/gstreamer-libs.types:
6938 Don't register the enum type gst_lfo_waveform_get_type() in the
6939 .types file - only GObject derived types belong.
6941 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
6943 Patch by: <arenevier at fdn dot fr>
6946 Remove comma from last element in enum to avoid compile errors when
6947 using -pendantic. Fixes #464366.
6949 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
6951 * docs/design/part-TODO.txt:
6952 Add some more TODO items
6954 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
6957 * gst/gstcaps.c: (gst_caps_intersect):
6958 Optimize trivial intersection case between identical caps pointers.
6960 * gst/gstelement.c: (gst_element_continue_state),
6961 (gst_element_set_state_func):
6963 Fix spelling and grammar mistakes.
6965 2007-08-05 Stefan Kost <ensonic@users.sf.net>
6969 Update POTFILES. Fixes #461599.
6971 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
6974 Fix confusing typo in debug output.
6976 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
6978 reviewed by: Stefan Kost <ensonic@users.sf.net>
6980 * libs/gst/controller/Makefile.am:
6981 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
6982 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
6983 (gst_lfo_control_source_new),
6984 (gst_lfo_control_source_set_waveform),
6985 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
6986 (gst_lfo_control_source_finalize),
6987 (gst_lfo_control_source_dispose),
6988 (gst_lfo_control_source_set_property),
6989 (gst_lfo_control_source_get_property),
6990 (gst_lfo_control_source_class_init):
6991 * libs/gst/controller/gstlfocontrolsource.h:
6992 * libs/gst/controller/gstlfocontrolsourceprivate.h:
6993 API: Add GstLFOControlSource, a control source that gives values
6994 for specific timestamps based on several periodic waveforms.
6997 * tests/check/libs/controller.c: (GST_START_TEST),
6998 (gst_controller_suite):
6999 * docs/libs/gstreamer-libs-docs.sgml:
7000 * docs/libs/gstreamer-libs-sections.txt:
7001 * docs/libs/gstreamer-libs.types:
7002 Add documentation and unit tests for GstLFOControlSource.
7004 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7009 === release 0.10.14 ===
7011 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7014 releasing 0.10.14, "Breathing Vacuum"
7016 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7018 * gst/gstelement.c: (gst_element_class_set_details_simple):
7020 Make strings passed to gst_element_class_set_details_simple()
7021 constant, as they should be (#462752).
7023 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7025 * gst/gstbin.c: (gst_bin_change_state_func),
7026 (bin_handle_async_done), (gst_bin_handle_message_func):
7027 Don't forget about the fact that some element went ASYNC even after a
7028 resync. This makes us post the ASYNC_DONE message correctly.
7031 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7033 * gst/gstregistry.c: (gst_registry_add_feature):
7034 When replacing an existing feature in the registry, make sure to
7035 continue holding a reference until we've replaced the name string
7036 within our feature hash table. Make sure to use g_hash_table_replace
7037 instead of g_hash_table_insert to ensure the new name string is used
7038 as a key instead of the old one that we're about to free.
7041 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7043 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7044 (gst_plugin_feature_set_name):
7045 Revert patch from #459466 until after the release and we can work
7046 out exactly what the problem is (if any).
7048 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7050 * docs/gst/gstreamer-sections.txt:
7053 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7055 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7057 * docs/libs/Makefile.am:
7058 Include our build-prefix libs and includes before the generic ones to
7059 avoid linking against the installed libs when we want the build-tree
7062 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7064 Patch by: Steve Fink <sphink gmail com>
7066 * docs/pwg/building-testapp.xml:
7067 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7068 if people try to build or install the example from the plugin
7069 template against a GStreamer from package using the configure
7072 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7074 Patch by: Steve Fink <sphink gmail com>
7076 * tools/gst-inspect.1.in:
7077 Document --print-all and --print-plugin-auto-install-info command
7078 line options in man page.
7080 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7082 * docs/gst/gstreamer-sections.txt:
7083 Add docs for new api function.
7085 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7087 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7088 * gst/gstelementfactory.h:
7089 API: gst_element_factory_has_interface()
7090 Added method to check if an element factory implements a named
7093 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7096 * docs/gst/gstreamer.types.in:
7097 Another conditional doc check.
7100 * gst/gstparamspecs.h:
7101 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7106 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7108 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7109 (gst_registry_binary_load_feature),
7110 (gst_registry_binary_load_plugin),
7111 (gst_registry_binary_read_cache):
7112 Print error just once and with additional info.
7114 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7116 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7117 (helper_find_suggest), (helper_find_get_length),
7118 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7119 (gst_type_find_helper_for_buffer):
7120 Cleanup the typefindhelper code and add private doc comments.
7122 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7124 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7125 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7126 Fix capsfilter for cases where the caps set on capsfilter will provide
7127 additional information.
7130 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7132 * gst/gsttypefindfactory.c:
7133 Fix docs that recommened wrong function to use.
7135 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7137 * tools/gst-inspect.c: (print_plugin_features):
7138 Also give media-type for typefinders in element output.
7140 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7142 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7143 (gst_registry_remove_features_for_plugin_unlocked),
7144 (gst_registry_add_feature), (gst_registry_remove_feature),
7145 (gst_registry_lookup_feature_locked):
7146 * gst/gstregistry.h:
7147 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7150 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7152 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7153 (gst_plugin_feature_set_name):
7154 Avoid double memory usage for pluginfeature names. Fixes #459466.
7156 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7159 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7160 driving the pipeline may need to explicitly check for NOT_LINKED as
7161 well, since IS_FATAL doesn't cover that.
7163 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7165 * docs/pwg/advanced-types.xml:
7166 Fix typo and duplicate entry in video formats list.
7168 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7170 * libs/gst/controller/gstinterpolation.c:
7171 Also round to the nearest int when using cubic interpolation.
7173 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7175 * libs/gst/controller/gstinterpolation.c:
7176 When linearly interpolating integer types, round to the nearest int
7177 by adding 0.5. Don't do it for float/double types.
7178 Fixes the failing controller test on my machine, which is somehow
7179 rounding differently than on the buildbots.
7181 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7183 * tools/gst-plot-timeline.py:
7184 Better log parsing (categories can have -). Adjust text vs. lines, so
7185 that they span the same y-range.
7187 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7189 * docs/random/ensonic/audiobaseclasses.txt:
7190 * docs/random/ensonic/dynlink.txt:
7191 * docs/random/ensonic/profiling.txt:
7194 * docs/random/moving-plugins:
7195 Add note to use g_assert type macros.
7197 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7200 * libs/gst/check/Makefile.am:
7201 Add libm check as we use in for plugins.
7203 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7205 * gst/gstbin.c: (gst_bin_continue_func):
7206 Check that the state_cookie hasn't changed since the continue_func
7207 was scheduled. Avoids problems where the state changes back to
7208 something it shouldn't be because it was changed in the meantime.
7210 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7212 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7213 (gst_registry_binary_save_string),
7214 (gst_registry_binary_save_pad_template),
7215 (gst_registry_binary_save_feature),
7216 (gst_registry_binary_save_plugin),
7217 (gst_registry_binary_load_feature),
7218 (gst_registry_binary_load_plugin),
7219 (gst_registry_binary_read_cache):
7220 Fix memory leak. Be less verbose in the log.
7222 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7224 * tests/check/elements/.cvsignore:
7225 Add file to cvsignore as commanded.
7227 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7229 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7230 (mq_dummypad_event), (run_output_order_test):
7231 Use a GStaticMutex to protect all cases where libcheck
7232 fail_if/fail_unless macros might be called from multiple threads
7233 simultaneously to avoid errors like:
7234 "check_pack.c:107: :-1081725400:Bad message type arg"
7236 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7238 * tests/check/pipelines/stress.c: (GST_START_TEST):
7239 Make sure we set the pipeline back to the NULL state before
7240 dropping our final reference.
7242 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7244 * tests/check/elements/tee.c: (GST_START_TEST):
7245 Make the tee stress-test a little less stressful so it doesn't just
7246 time out on slow-machines, and remove a small race when it's starting
7247 up by adding a get_state() call.
7249 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7252 Avoid reading registry twice on startup. Fixes #457322.
7254 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7256 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7257 * pkgconfig/gstreamer-check.pc.in:
7258 Substitute the CFLAGS for libcheck into our .pc file too so that
7259 dependent modules will pick it up properly if libcheck is installed
7260 into some other prefix.
7262 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7265 Revert the pkg-config check for libcheck, since it pulls in the
7266 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7267 a proper solution, either from the check project, or something else.
7269 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7272 Use pkg-config to locate check.
7274 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7281 Add deprecation guards.
7283 * libs/gst/base/gstcollectpads.h:
7284 Don't document object (this is implicitly private).
7286 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7288 * gst/gststructure.c: (gst_structure_parse_value):
7289 When deserialising foo=bar without a type cast, check if it's a
7290 boolean before falling back to a string type, otherwise things like
7291 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7292 because the filtercaps end up having a signed=(string)true field,
7293 which causes problems later when intersection caps.
7295 * tests/check/gst/gststructure.c: (GST_START_TEST):
7296 Add a unit test for this.
7298 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7300 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7302 * libs/gst/controller/Makefile.am:
7303 * libs/gst/controller/gstcontroller.c:
7304 (gst_controlled_property_add_interpolation_control_source),
7305 (gst_controlled_property_new), (gst_controlled_property_free),
7306 (gst_controller_find_controlled_property),
7307 (gst_controller_new_valist), (gst_controller_new_list),
7308 (gst_controller_new), (gst_controller_remove_properties_valist),
7309 (gst_controller_remove_properties_list),
7310 (gst_controller_remove_properties),
7311 (gst_controller_set_property_disabled),
7312 (gst_controller_set_disabled), (gst_controller_set_control_source),
7313 (gst_controller_get_control_source), (gst_controller_get),
7314 (gst_controller_sync_values), (gst_controller_get_value_array),
7315 (_gst_controller_dispose), (gst_controller_get_type),
7316 (gst_controlled_property_set_interpolation_mode),
7317 (gst_controller_set), (gst_controller_set_from_list),
7318 (gst_controller_unset), (gst_controller_unset_all),
7319 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7320 * libs/gst/controller/gstcontroller.h:
7321 * libs/gst/controller/gstcontrollerprivate.h:
7322 * libs/gst/controller/gstcontrolsource.c:
7323 (gst_control_source_class_init), (gst_control_source_init),
7324 (gst_control_source_get_value),
7325 (gst_control_source_get_value_array), (gst_control_source_bind):
7326 * libs/gst/controller/gstcontrolsource.h:
7327 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7328 (gst_object_get_control_source):
7329 * libs/gst/controller/gstinterpolation.c:
7330 (gst_interpolation_control_source_find_control_point_node),
7331 (gst_interpolation_control_source_get_first_value),
7332 (_interpolate_none_get), (interpolate_none_get),
7333 (interpolate_none_get_boolean_value_array),
7334 (interpolate_none_get_enum_value_array),
7335 (interpolate_none_get_string_value_array),
7336 (_interpolate_trigger_get), (interpolate_trigger_get),
7337 (interpolate_trigger_get_boolean_value_array),
7338 (interpolate_trigger_get_enum_value_array),
7339 (interpolate_trigger_get_string_value_array):
7340 * libs/gst/controller/gstinterpolationcontrolsource.c:
7341 (gst_control_point_free), (gst_interpolation_control_source_reset),
7342 (gst_interpolation_control_source_new),
7343 (gst_interpolation_control_source_set_interpolation_mode),
7344 (gst_interpolation_control_source_bind),
7345 (gst_control_point_compare), (gst_control_point_find),
7346 (gst_interpolation_control_source_set_internal),
7347 (gst_interpolation_control_source_set),
7348 (gst_interpolation_control_source_set_from_list),
7349 (gst_interpolation_control_source_unset),
7350 (gst_interpolation_control_source_unset_all),
7351 (gst_interpolation_control_source_get_all),
7352 (gst_interpolation_control_source_get_count),
7353 (gst_interpolation_control_source_init),
7354 (gst_interpolation_control_source_finalize),
7355 (gst_interpolation_control_source_dispose),
7356 (gst_interpolation_control_source_class_init):
7357 * libs/gst/controller/gstinterpolationcontrolsource.h:
7358 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7359 API: Refactor GstController into the core controller which can take
7360 a GstControlSource for providing actual values for timestamps.
7361 Implement a interpolation control source and use this for backward
7362 compatibility, deprecate a bunch of functions that are now handled
7363 by GstControlSource or GstInterpolationControlSource.
7364 Make it possible to disable the controller completely or only for
7365 specific properties. Fixes #450711.
7366 * docs/libs/gstreamer-libs-docs.sgml:
7367 * docs/libs/gstreamer-libs-sections.txt:
7368 * docs/libs/gstreamer-libs.types:
7369 Add new functions and classes to the docs.
7370 * tests/check/libs/controller.c: (GST_START_TEST),
7371 (gst_controller_suite):
7372 * tests/examples/controller/audio-example.c: (main):
7373 Port unit test and example to the new API and add some new
7376 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7378 Patch by: Mark Nauwelaerts <manauw at skynet be>
7380 * plugins/elements/gstmultiqueue.c:
7381 (gst_multi_queue_get_internal_links), (apply_buffer),
7382 (single_queue_overrun_cb), (gst_single_queue_new):
7383 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7384 the pipeline layout can be tracked correctly. Fixes #453732.
7386 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7388 * docs/gst/Makefile.am:
7389 * docs/libs/Makefile.am:
7390 * docs/plugins/Makefile.am:
7391 Simplify --extra-dir as gtkdoc scans recursively.
7393 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7395 * tools/gst-launch.c: (main):
7396 When we got an error, there is no point in waiting for preroll when
7399 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7401 * plugins/elements/gsttee.c: (gst_tee_base_init),
7402 (gst_tee_request_new_pad), (gst_tee_release_pad),
7403 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7404 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7406 Be a lot smarter when deciding what srcpad to use for proxying
7407 the buffer_alloc. Also handle pad added/removed when doing so.
7409 Keep track of what pads we already pushed on in case we have pads
7410 added/removed while pushing. Fixes #374639
7412 * tests/check/Makefile.am:
7413 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7415 Added unit test for pad resync.
7417 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7421 Updated translations.
7423 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7425 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7429 Added new Finnish translation.
7431 2007-06-28 Wim Taymans <wim@fluendo.com>
7433 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7434 (single_queue_overrun_cb):
7435 When figuring out when a queue is filled, use our internal time estimate
7436 based on segments, just like check_full does.
7438 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7440 * gst/gstminiobject.c: (gst_mini_object_get_type):
7441 Remove 3 do-nothing methods.
7443 2007-06-27 Wim Taymans <wim@fluendo.com>
7445 Patch by: Tim Angus <tim at ngus dot net>
7447 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7448 (gst_capsfilter_set_property):
7449 Take a reference instead of a copy when setting "caps".
7450 Fix documentation to clarify this behaviour. Fixes #449414.
7452 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7454 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7455 * gst/gstplugin.c: (gst_plugin_init):
7456 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7457 * gst/gstquery.c: (gst_query_get_type):
7458 * gst/gstregistry.c: (gst_registry_init):
7459 * gst/gsturi.c: (gst_uri_handler_base_init):
7460 Remove empty instance_init() functions to save relocs and lessen the
7461 noise. Remove some of the function prototypes that are doubled by
7464 2007-06-27 Wim Taymans <wim@fluendo.com>
7466 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7468 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7469 Add peer and direction in the XML serialisation of ghostpads.
7472 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7475 Preserve useful information, thanks Tim.
7477 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7479 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7480 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7481 (gst_single_queue_push_one), (gst_multi_queue_loop),
7482 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7483 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7484 (compute_high_id), (gst_single_queue_new):
7485 * plugins/elements/gstmultiqueue.h:
7486 Take the multiqueue lock when updating the fill level so we don't get
7489 After applying a buffer or event on the src pad segment, make sure to
7490 call gst_data_queue_limits_changed() to get the data queue to unblock
7491 and check the filled state again.
7493 Rework the not-linked pad handling so the logic is that not-linked
7494 pads can push as fast as they like, but only so they never get
7495 ahead of any linked pads.
7497 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7498 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7499 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7501 Add a test to check that not-linked pads always stay behind
7506 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7508 * docs/random/release:
7509 Some updates to the release procedure.
7511 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7513 * gst/gstelementfactory.c: (__gst_element_details_clear):
7514 Microoptimization that saves stunning 80 bytes.
7516 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7518 * docs/plugins/gstreamer-plugins.args:
7519 * docs/plugins/inspect/plugin-coreelements.xml:
7520 * docs/plugins/inspect/plugin-coreindexers.xml:
7521 Update docs with caps info.
7523 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7526 Updated Italian translation.
7528 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7532 Update Vietnamese translations.
7534 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7536 * libs/gst/base/gstbasesink.c:
7537 Remove unused signal enum.
7539 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7541 * docs/gst/gstreamer-sections.txt:
7543 * gst/gstutils.c: (gst_type_register_static_full):
7544 Beef up and include the docs for gst_type_register_static_full and
7545 gst_element_class_set_details_simple and add the API keyword
7548 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7550 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7551 (update_time_level), (gst_single_queue_push_one),
7552 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7553 (single_queue_overrun_cb), (single_queue_underrun_cb),
7554 (single_queue_check_full):
7555 Fix setting max-* properties after adding queues.
7556 Use IS_FILLED for checking visible items.
7557 Signal overrun if multiple queues overrun.
7558 Add extra debug output.
7559 Patch by: Wim Taymans <wim@fluendo.com>
7561 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7563 * gst/gstelement.c: (gst_element_class_set_details_simple):
7565 * gst/gstutils.c: (gst_type_register_static_full):
7567 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7568 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7569 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7570 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7571 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7572 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7573 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7574 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7575 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7576 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7577 (apply_buffer), (gst_queue_chain):
7578 * plugins/elements/gsttee.c: (gst_tee_base_init):
7579 * plugins/elements/gsttypefindelement.c:
7580 (gst_type_find_element_base_init),
7581 (gst_type_find_element_class_init):
7582 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7583 API: add gst_type_register_static_full
7584 API: add gst_element_class_set_details_simple
7586 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7588 * docs/pwg/advanced-types.xml:
7589 Fix typo in iana.org URI.
7591 2007-06-19 Andy Wingo <wingo@pobox.com>
7593 * tests/check/pipelines/simple-launch-lines.c
7594 (test_state_change_returns): Enable pull-mode tests now that
7595 basesink has been fixed.
7597 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7598 Changed from gst_base_sink_is_prerolled, reversing the sense of
7599 the return value. Returns FALSE also if the sink is in pull mode,
7600 in which case it needs no preroll.
7601 (gst_base_sink_query, gst_base_sink_change_state): Update for
7602 needs_preroll change.
7603 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7604 chaining up, in which we return SUCCESS directly if we activated
7605 in pull mode instead of ASYNC. Involves countering an async_start
7606 message sent before chaining up; not sure if this is correct, in
7607 an ideal world we only send async-start when activating in push
7610 * tests/check/pipelines/simple-launch-lines.c
7611 (test_state_change_returns): New test, partially disabled until
7614 2007-06-19 Wim Taymans <wim@fluendo.com>
7616 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7617 (gst_multi_queue_sink_event):
7620 2007-06-19 Wim Taymans <wim@fluendo.com>
7622 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7623 (gst_bin_change_state_func), (bin_push_state_continue),
7624 (bin_handle_async_start), (bin_handle_async_done),
7625 (gst_bin_handle_message_func):
7626 Move the common code for posting state-change messages into
7628 Broadcast the state signal after we posted the messages.
7629 Mark the bin as busy when it's doing a state-change.
7630 Make sure async-start/done messages don't interfere with the bin's
7631 state when it's busy.
7632 After the state change, let the bin check which elements completed the
7633 state change while it was busy so that it can update its state.
7635 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7637 * docs/random/release:
7638 Add a note about updating the doap file to the release checklist
7640 2007-06-18 Wim Taymans <wim@fluendo.com>
7642 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7643 (gst_single_queue_push_one), (gst_multi_queue_chain),
7644 (gst_multi_queue_sink_event):
7645 Make sure we don't reference the buffer/event after we have given away
7646 ownership in the queue.
7648 2007-06-18 Wim Taymans <wim@fluendo.com>
7650 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7651 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7652 Update queue state _after_ adding the item in the queue because else we
7653 could end up being full without the element added yet.
7655 2007-06-18 Wim Taymans <wim@fluendo.com>
7657 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7658 (gst_bin_remove_func), (gst_bin_get_state_func),
7659 (gst_bin_element_set_state), (gst_bin_continue_func),
7660 (bin_push_state_continue), (bin_handle_async_start),
7661 (bin_handle_async_done), (gst_bin_handle_message_func):
7663 Immediatly commit the toplevel bin state when receiving an async-done
7664 message. This enables us to avoid spawning a thread to commit the state
7665 in some common cases and it also avoids some races.
7666 Avoid spawning a state thread when adding/removing async elements to a
7667 toplevel bin. Instead we immediatly update the bin state.
7668 Get rid of iterating all the children when getting the state in the bin
7669 because it is now always up-to-date.
7670 Fix bug where locked elements would always return _SUCCESS even it they
7671 returned NO_PREROLL before being locked.
7672 Fix the order of the state_change, async-start/done messages that was
7673 sometimes incorrect.
7674 Mark the state_dirty field as deprecated, we don't need it anymore as we
7675 are always up-to-date.
7677 * gst/gstelement.c: (gst_element_get_state_func),
7678 (gst_element_continue_state):
7679 Small debug inprovements.
7680 Return the previous element state return when nothing is pending instead
7681 of blindly returning SUCCESS.
7683 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7685 Add a whole bunch of new testcases.
7687 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7691 Update translations.
7693 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7696 Fix typo in the docs.
7698 2007-06-15 Wim Taymans <wim@fluendo.com>
7700 * docs/libs/gstreamer-libs-sections.txt:
7701 Add docs for new methods.
7703 2007-06-15 Wim Taymans <wim@fluendo.com>
7705 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7706 (gst_multi_queue_item_new):
7707 Don't use GSlice because we don't depend on >= 2.10 yet.
7709 2007-06-15 Wim Taymans <wim@fluendo.com>
7711 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7712 (update_time_level), (apply_segment), (apply_buffer),
7713 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7714 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7715 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7716 (single_queue_underrun_cb), (single_queue_check_full):
7717 Remove debug printf.
7719 2007-06-15 Wim Taymans <wim@fluendo.com>
7721 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7722 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7723 (gst_data_queue_set_flushing), (gst_data_queue_push),
7724 (gst_data_queue_pop), (gst_data_queue_drop_head),
7725 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7726 * libs/gst/base/gstdataqueue.h:
7728 Added methods to get the current levels and to inform the queue that the
7729 'full' limits changed.
7731 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7732 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7733 (gst_single_queue_flush), (update_time_level), (apply_segment),
7734 (apply_buffer), (gst_single_queue_push_one),
7735 (gst_multi_queue_item_steal_object),
7736 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7737 (gst_multi_queue_loop), (gst_multi_queue_chain),
7738 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7739 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7740 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7741 (single_queue_underrun_cb), (single_queue_check_full),
7742 (gst_single_queue_new):
7743 Keep track of time in the queue by measuring the difference between
7744 running_time on input and output. This gives more accurate results and
7745 can compensate for segments correctly.
7746 Make a queue by default only 5 buffers deep. We will now increase the
7747 buffer size depending on the filledness of the other queues.
7748 Factor out commong flush code.
7749 Make sure we don't add additional refcounts to buffers when we can avoid
7751 Propagate GstFlowReturn differently.
7752 Use GSlice for intermediate GstMultiQueueItems.
7754 Resize queues on over and underruns based on filled level of other
7756 When checking if the queue is filled, prefer to measure in time if we
7757 can and fall back to bytes when no time is known.
7759 * plugins/elements/gstqueue.c:
7762 2007-06-15 Wim Taymans <wim@fluendo.com>
7764 * libs/gst/base/gstbasetransform.c:
7765 (gst_base_transform_sink_event):
7766 Work around the brokenness of the event vmethod in basetransform. Prefer
7767 to return TRUE when the subclass returned FALSE (meaning don't forward
7770 * libs/gst/base/gstbasetransform.h:
7773 2007-06-15 Wim Taymans <wim@fluendo.com>
7775 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7776 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7777 (gst_base_src_default_query), (gst_base_src_get_range),
7778 (gst_base_src_start):
7779 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7782 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7784 * docs/pwg/advanced-types.xml:
7785 Added more formats to caps table.
7787 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7789 * tools/gst-launch.c: (main):
7790 Remove crufy code. GOption does not need this workaround.
7792 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7794 * libs/gst/controller/gstcontroller.c:
7795 (gst_controlled_property_set_interpolation_mode):
7796 Fix wrong getter for enums in controller.
7798 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7800 * libs/gst/check/gstcheck.c: (gst_check_init):
7801 Intercept criticals and warnings in the Gst-Phonon log domain, so
7802 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7805 2007-06-14 Edward Hervey <edward@fluendo.com>
7807 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7808 Since this file doesn't include "gst.h" it will not go through the
7809 macros that disable GST_LOG if debugging was disabled.
7811 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7813 * libs/gst/check/Makefile.am:
7814 * libs/gst/check/gstcheck.h:
7815 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7816 * pkgconfig/gstreamer-check.pc.in:
7817 Ugly 'fix' for the controller unit test on the p5 bot: in
7818 fail_unless_equals_float() check whether the values are 'almost
7819 equal' by allowing a small absolute error, which should be good
7820 enough for our use cases (normal numbers and values close to 0).
7821 Proper fixage left to floating point arithmetic aficionados.
7823 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7825 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7826 (gst_base_sink_render_object), (gst_base_sink_get_position):
7827 Add two breaks thats where missing.
7829 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7831 * docs/libs/gstreamer-libs-sections.txt:
7832 * libs/gst/check/gstcheck.h:
7833 API: add fail_unless_equals_float() and assert_equals_float().
7834 Add documentation for some of the macros.
7836 * tests/check/libs/controller.c: (GST_START_TEST):
7837 Use newly-added asserts.
7839 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7841 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7842 Show the caps change in the log to help spotting the case of not
7843 exactly matching caps.
7845 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7847 * docs/pwg/building-boiler.xml:
7848 Fix typos, spotted by Thijs Vermeir (#447190).
7850 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7852 * docs/plugins/tmpl/.cvsignore:
7853 Ignore file to keep the buildbots happy
7855 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7857 * docs/plugins/Makefile.am:
7858 * docs/plugins/gstreamer-plugins-docs.sgml:
7859 * docs/plugins/gstreamer-plugins-sections.txt:
7860 Pull fdsink into the docs too.
7862 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
7864 * libs/gst/controller/gstinterpolation.c:
7865 Actually use the new functions with min/max checks for the trigger and
7866 none interpolation modes for get() and get_value_array() instead of
7869 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
7871 * libs/gst/controller/gstcontroller.c:
7872 (gst_controlled_property_free):
7873 Unset the minimum and maximum GValues when freeing the corresponding
7874 GstControllerProperty struct.
7876 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
7878 * libs/gst/controller/gstcontroller.c:
7879 (gst_controlled_property_new):
7880 * libs/gst/controller/gstcontrollerprivate.h:
7881 * libs/gst/controller/gstinterpolation.c:
7882 (gst_controlled_property_find_control_point_node),
7883 (interpolate_none_get), (interpolate_none_get_enum_value_array),
7884 (interpolate_none_get_string_value_array),
7885 (interpolate_trigger_get),
7886 (interpolate_trigger_get_enum_value_array),
7887 (interpolate_trigger_get_string_value_array):
7888 Protect against values larger or smaller than the minimum or maximum
7889 allowed value for the property when using values that can be compared.
7891 Optimize trigger interpolator a bit by taking the last requested value
7892 into account instead of always looping through the complete list.
7894 Fix coding style a bit, everywhere else we use "return foo" instead
7897 * tests/check/libs/controller.c: (GST_START_TEST),
7898 (gst_controller_suite):
7899 Add unit test for the protection against too large or too small
7902 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
7904 * docs/random/slomo/controller.txt:
7905 Add some thoughts about the future of the controller.
7907 2007-06-08 Wim Taymans <wim@fluendo.com>
7909 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7910 Don't overflow in retimestamping code.
7912 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
7914 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
7915 Use gst_util_guint64_to_gdouble for conversions.
7916 * win32/common/libgstreamer.def:
7917 Add new exported functions.
7919 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
7922 Small docs addition.
7924 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7927 Remove that test line again.
7929 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7932 Test commit mail sending.
7934 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7937 Fix typo and test commit mail sending.
7939 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7941 * tests/examples/controller/audio-example.c:
7942 Improve comment and test commit mail sending.
7944 2007-06-07 Wim Taymans <wim@fluendo.com>
7946 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
7947 (gst_bin_remove_func), (gst_bin_element_set_state),
7948 (bin_handle_async_start), (bin_handle_async_done),
7949 (gst_bin_handle_message_func):
7950 Add helper function to find messages.
7951 Generate the async-done messages together with the state change
7953 Small cleanups in handling toplevel bins.
7955 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7957 * libs/gst/base/gstdataqueue.c:
7958 * libs/gst/base/gstdataqueue.h:
7959 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
7960 (gst_multi_queue_item_new), (gst_multi_queue_chain),
7961 (gst_multi_queue_sink_event):
7962 * tests/check/elements/multiqueue.c: (multiqueue_suite):
7963 Fix multiqueue leaking buffers and events when downstream or the
7964 queue are flushing. Make refcounting assumptions explicit and
7965 document them (shouldn't break existing code that uses it other than
7966 maybe leak miniobjects, but that already happens anyway). Add unit
7967 test for the most common flushing case. Fixes #423700.
7969 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
7971 * libs/gst/controller/gstcontroller.c:
7972 Clarify docs: The get_all, get_value_array(s) functions
7973 don't modify the GObject properties.
7975 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
7977 * libs/gst/controller/gstcontroller.c:
7978 (gst_controlled_property_set_interpolation_mode),
7979 (gst_controlled_property_prepend_default),
7980 (gst_controlled_property_new), (gst_controller_set_unlocked),
7981 (gst_controller_set), (gst_controller_set_from_list),
7982 (gst_controller_unset), (gst_controller_unset_all):
7983 * libs/gst/controller/gstcontrollerprivate.h:
7984 * libs/gst/controller/gstinterpolation.c:
7985 Factor out the 'set' logic into gst_controller_set_unlocked for the
7986 gst_controller_set and gst_controller_set_from_list functions.
7988 To make life of the interpolators easier always add a control point
7989 at timestamp zero with the default value.
7991 In the linear interpolator make things more obvious by better variable
7994 Implement cubic interpolation mode (by using a natural cubic spline)
7995 and map the quadratic interpolation mode to this too (as quadratic
7996 doesn't make much sense, see discussion on the list).
7998 * tests/check/libs/controller.c: (GST_START_TEST),
7999 (gst_controller_suite):
8000 Add unit test for the cubic interpolation mode and check everywhere
8001 if the interpolation mode could be set as expected.
8003 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8005 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8006 Don't use GLib-2.10 functions, we still depend on
8007 GLib-how-old-is-it-again-2.8.
8009 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8011 * docs/gst/gstreamer-sections.txt:
8015 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8016 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8017 (_gst_param_fraction_values_cmp),
8018 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8019 * gst/gstparamspecs.h:
8021 * tests/check/Makefile.am:
8022 * tests/check/gst/.cvsignore:
8023 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8024 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8025 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8026 (GST_START_TEST), (gst_param_spec_suite):
8027 API: add GstParamSpecFraction, so elements can have fraction
8028 properties without lots of painful string parsing (#444648).
8030 2007-06-05 Wim Taymans <wim@fluendo.com>
8032 * gst/gstobject.c: (gst_object_class_init):
8033 Fix signal signature.
8036 Add small clarification in the api docs.
8038 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8039 States are protected with object lock.
8041 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8044 I should probably be listed as an author by now.
8046 * docs/random/release:
8047 Update the release doc
8049 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8052 Make docs for gst_value_compare() mention return enums that
8055 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8060 === release 0.10.13 ===
8062 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8065 releasing 0.10.13, "With or without you"
8067 2007-05-25 Wim Taymans <wim@fluendo.com>
8069 * gst/gstbin.c: (bin_handle_async_done):
8070 Make sure that the child bin stops after completing the async state
8071 change so that the parent can continue the state change to PLAYING.
8074 2007-05-25 Wim Taymans <wim@fluendo.com>
8076 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8077 (unref_data), (gst_collect_pads_remove_pad),
8078 (gst_collect_pads_check_pads):
8079 Use additional refcounting to avoid crashes when dynamically adding and
8080 removing pads. Fixes #420206.
8082 2007-05-24 Wim Taymans <wim@fluendo.com>
8084 * tools/gst-launch.c: (event_loop):
8085 When buffering goes from a two digit to a single digit number, make sure
8086 to remove the old second digit by writing a blank over it.
8088 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8090 * libs/gst/base/gstdataqueue.c:
8091 Eliminate tabs and trailing comma in enum list; fix some typos.
8093 2007-05-24 Wim Taymans <wim@fluendo.com>
8095 * tests/check/gst/gstbin.c: (GST_START_TEST):
8096 Allow refcount of 3 and 4 because some state thread might still be busy
8099 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8101 * plugins/elements/Makefile.am:
8102 * plugins/elements/gstmultiqueue.h:
8103 * plugins/elements/gstqueue.h:
8104 These are not installed headers, no need for padding.
8106 2007-05-24 Wim Taymans <wim@fluendo.com>
8108 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8109 (gst_bin_continue_func):
8110 Enable latency for next release.
8111 Restore STATE_LOCK around recalc_state that was left out during the
8112 rewrite and could result in racy behaviour when _get_state and
8113 recalc_state are run concurrently. See #440463.
8115 2007-05-23 Wim Taymans <wim@fluendo.com>
8117 * tests/check/gst/gstsystemclock.c: (store_callback),
8119 Improve test_async_order to also work when both timers are already
8120 expired when we get scheduled to check it.
8122 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8124 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8125 (gst_bin_set_property), (gst_bin_get_property),
8126 (gst_bin_remove_func), (gst_bin_handle_message_func):
8128 'private' is a c++ keyword, let's not use that in header files,
8129 otherwise c++ compilers will throw a tantrum.
8131 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8133 * plugins/elements/gstelements.c:
8134 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8135 (gst_file_sink_get_current_offset):
8136 * plugins/indexers/gstindexers.c: (plugin_init):
8137 Use #ifdef for HAVE_XYZ for consistency.
8139 * tests/check/Makefile.am:
8140 * tests/check/elements/.cvsignore:
8141 * tests/check/elements/filesink.c: (setup_filesink),
8142 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8143 Add some unit tests for filesink.
8145 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8147 Patch by: Mark Nauwelaerts <manauw at skynet be>
8149 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8150 (gst_file_sink_query), (gst_file_sink_do_seek),
8151 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8152 * plugins/elements/gstfilesink.h:
8153 Fix position reporting; rename data_written member to current_pos to
8154 reflect its real meaning (fixes #412648).
8156 2007-05-22 Edward Hervey <edward@fluendo.com>
8158 * docs/gst/gstreamer-sections.txt:
8159 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8160 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8161 (gst_bin_remove_func), (gst_bin_handle_message_func):
8163 Add a property for bins that handle the state change of their childs.
8166 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8168 * libs/gst/controller/gstinterpolation.c:
8169 Use an array of the correct type when using _get_value_array with
8170 linear interpolation.
8172 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8174 * gst/gstelement.c (gst_element_requires_clock,
8175 gst_element_provides_clock, gst_element_request_pad,
8176 gst_element_class_set_details, gst_element_class_set_details_simple,
8177 gst_element_default_send_event, gst_element_abort_state,
8178 gst_element_continue_state, gst_element_set_state,
8179 gst_element_set_state_func, iterator_activate_fold_with_resync):
8180 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8181 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8182 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8183 gst_pad_get_range, gst_pad_pull_range):
8184 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8185 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8186 GstPadActivateModeFunction, GstPadChainFunction,
8187 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8188 GstPadFixateCapsFunction, GstPadTemplate):
8189 * gst/gstpipeline.c (gst_pipeline_change_state,
8190 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8191 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8192 gst_pipeline_get_delay):
8193 Whitespace and docs fixes.
8195 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8197 * libs/gst/controller/gstinterpolation.c:
8198 (interpolate_trigger_get_enum_value_array),
8199 (interpolate_trigger_get_string_value_array):
8200 Add support for retrieving value arrays when using the trigger
8203 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8205 * libs/gst/controller/gstcontroller.c:
8206 (gst_controller_get_value_array):
8207 * libs/gst/controller/gstcontroller.h:
8208 Clarify the docs of gst_controller_get_value_array(): The array where
8209 the values should be written to must be allocated as there seems to be
8210 no way to get the size of a random GType. This doesn't change any
8211 behaviour. Also fix some typos all over the place and remove an unused,
8212 commented function that is not necessary as g_object_set() could be
8214 * tests/check/libs/controller.c: (GST_START_TEST),
8215 (gst_controller_suite):
8216 Add unit test for gst_controller_get_value_array().
8218 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8220 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8222 Disable part of the gst_buffer_try_new_and_alloc test, because
8223 it can happily succeed on 64-bit systems where there's more address
8226 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8228 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8229 Add unit test for the improved caps checking from bug #421543.
8231 2007-05-21 Wim Taymans <wim@fluendo.com>
8233 * docs/design/part-synchronisation.txt:
8236 * gst/gstbin.c: (gst_bin_query):
8237 * plugins/elements/gstqueue.c: (apply_segment):
8243 2007-05-21 Wim Taymans <wim@fluendo.com>
8245 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8246 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8247 (gst_pad_configure_src):
8248 Added simple version of improved caps checking. It was previously
8249 assumed that a setcaps function would check the validity of the caps but
8250 people prefer us to check caps against the template automatically.
8253 2007-05-21 Wim Taymans <wim@fluendo.com>
8255 * libs/gst/base/gstbasetransform.h:
8256 Fix macro for locking/unlocking the transform lock.
8258 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8260 * docs/plugins/tmpl/.cvsignore:
8263 2007-05-18 Edward Hervey <edward@fluendo.com>
8265 * plugins/elements/gstqueue.c: (gst_queue_loop):
8266 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8267 for the subtle art of warning a potentially blocking thread that it
8268 should check the source pad return value, and relay the information
8271 2007-05-18 Edward Hervey <edward@fluendo.com>
8273 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8274 Release the queue lock !
8276 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8278 * docs/libs/gstreamer-libs-sections.txt:
8279 Add the two new controller functions to the appropiate places.
8281 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8283 reviewed by: Stefan Kost <ensonic@users.sf.net>
8285 * libs/gst/controller/gstcontroller.c:
8286 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8287 (_gst_controller_get_property), (_gst_controller_set_property),
8288 (_gst_controller_init), (_gst_controller_class_init):
8289 * libs/gst/controller/gstcontroller.h:
8290 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8291 (gst_object_get_control_rate), (gst_object_set_control_rate):
8292 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8293 Add API that provides sync suggestion timestamps for elements that
8294 call gst_object_sync_values() from which those elements can subdivide
8295 their processing loop to get the best results for the controlled
8296 properties. For now it just suggests last_sync + control_rate as
8297 new timestamp but this will be improved in the future.
8299 While doing that change the control-rate property to a GstClockTime
8300 from guint and change it's meaning from samples to nanoseconds as
8301 the GstController doesn't know anything about sampling rate. Strictly
8302 speaking this breaks ABI but as the control-rate property didn't do
8303 anything in the past and as such couldn't be used this should be no
8306 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8308 reviewed by: Stefan Kost <ensonic@users.sf.net>
8310 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8311 (gst_controller_unset_all):
8312 * libs/gst/controller/gstcontrollerprivate.h:
8313 * libs/gst/controller/gstinterpolation.c:
8314 (gst_controlled_property_find_control_point_node):
8315 Save last synced value from the list to continue searching from there
8316 in future syncs. This speeds everything up a bit.
8318 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8320 reviewed by: Stefan Kost <ensonic@users.sf.net>
8322 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8323 (gst_control_point_find), (gst_controlled_property_new),
8324 (gst_control_point_free), (gst_controlled_property_free),
8325 (gst_controller_set), (gst_controller_set_from_list),
8326 (gst_controller_unset), (gst_controller_unset_all),
8327 (gst_controller_sync_values):
8328 * libs/gst/controller/gstcontroller.h:
8329 * libs/gst/controller/gstcontrollerprivate.h:
8330 * libs/gst/controller/gstinterpolation.c:
8331 (gst_controlled_property_find_control_point_node),
8332 (interpolate_none_get), (interpolate_trigger_get):
8333 Add a new private GstControlPoint struct which "inherits" from
8334 GstTimedValue to allow different interpolators to store internal
8335 values next to each control point. From the outside everything is
8336 still a GstControlPoint so we don't loose binary compatibility.
8337 Also fixup all the GValue handling to not leak GValues or list nodes.
8338 * tests/check/libs/controller.c: (GST_START_TEST):
8339 Free the list nodes and GValues in the controller_misc test.
8341 2007-05-17 Edward Hervey <edward@fluendo.com>
8346 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8348 * gst/gstplugin.c: (gst_plugin_load_file):
8349 If we fail to load a plugin because of unresolved symbols or missing
8350 libraries and spew a warning to stderr, we may just as well mention
8351 which plugin it was that failed to load.
8353 2007-05-13 David Schleef <ds@schleef.org>
8355 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8356 handles the case when ENABLE_GTK_DOC is false, and installs
8357 the prebuilt documentation. So gtk-doc subdirs are
8358 unconditionally enabled. Fixes: #349099.
8360 2007-05-13 David Schleef <ds@schleef.org>
8362 * gst/gstutils.h: Reword some documentation.
8364 2007-05-12 David Schleef <ds@schleef.org>
8366 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8367 do anything with the passed "module" parameter, so remove it.
8368 Allows removal of additional vestigal code.
8370 2007-05-12 David Schleef <ds@schleef.org>
8373 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8374 Switch to using g_stat() because it's more portable.
8376 2007-05-12 David Schleef <ds@schleef.org>
8379 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8380 parsing for embedded systems.
8381 * gst/gstelementfactory.c:
8382 Allow gst_element_register() to be called with plugin==NULL.
8383 Did nobody notice that static elements were broken?
8385 2007-05-12 Wim Taymans <wim@fluendo.com>
8387 * tools/gst-launch.c: (event_loop):
8388 Give more interesting info when buffering starts and stops.
8389 Fix case where buffering starts but we fail to update the buffering flag
8390 because the target state is not PLAYING.
8392 2007-05-12 Wim Taymans <wim@fluendo.com>
8394 * plugins/elements/gstqueue.c: (gst_queue_init),
8395 (gst_queue_finalize), (update_time_level), (apply_segment),
8396 (apply_buffer), (gst_queue_locked_flush),
8397 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8398 (gst_queue_handle_sink_event), (gst_queue_chain),
8399 (gst_queue_push_one), (gst_queue_loop):
8400 * plugins/elements/gstqueue.h:
8401 Refactor an cleanup queue a bit.
8402 Do better time level calculations that also work when the srcpad is not
8404 Remove some unneeded debug lines.
8406 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8407 Added testcase for time level measurement.
8408 Try to make some stuff more racefree.
8410 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8412 * gst/gsturi.c: (gst_element_make_from_uri):
8413 Don't leak plugin feature.
8415 * tests/check/Makefile.am:
8416 * tests/check/gst/.cvsignore:
8417 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8418 Add brain-dead unit test.
8420 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8422 Patch by: Jeroen Wouters <woutersj at gmail com>
8424 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8425 Treat protocol strings in a case-insensitive way (#437563).
8427 2007-05-11 Michael Smith <msmith@fluendo.com>
8429 * gst/gstplugin.c: (gst_plugin_load_file):
8430 * gst/gstregistry.c: (gst_registry_scan_path_level):
8431 Don't print a g_warning for any failure to load a shared object.
8432 Instead, push this down into gstplugin.c, and warn _only_ if we
8433 failed to open the module (i.e. failure to link).
8434 Avoids warnings on normal, working, non-plugin .so files.
8436 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8438 * gst/gstplugin.c (gst_plugin_load_file):
8439 * gst/gstregistry.c (GST_CAT_DEFAULT,
8440 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8441 Print a g_warning if there was an error when loading a plugins during
8442 registry scan. The shuld help beginners starting with gst-plugin
8445 2007-05-10 Wim Taymans <wim@fluendo.com>
8447 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8448 (update_time_level), (gst_queue_locked_flush),
8449 (gst_queue_handle_sink_event), (gst_queue_chain),
8450 (gst_queue_push_one), (gst_queue_loop):
8451 * plugins/elements/gstqueue.h:
8452 Be smarter when calculating the current amount of data in the queue by
8453 measuring the difference between start and end timestamps (in running
8454 time) inside the queue. Fixes #432876.
8455 API: GstQueue::pushing to notify elements that we are pushing data again
8456 since the running signal is rather broken for this purpose.
8458 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8460 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8461 gst_queue_base_init, gst_queue_init):
8464 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8466 * win32/common/libgstreamer.def:
8467 Add new exported functions.
8468 * win32/vs6/grammar.dsp:
8469 Use grammar pre-generated files.
8471 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8473 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8476 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8478 * gst/gstutils.c: (gst_parse_bin_from_description):
8480 Maintain API and ABI when --disable-parse is used. Now that
8481 we have an appropriate error code, we can just return NULL and the
8482 appropriate error when gst_parse_launch() is used despite it having
8483 been disabled (#342564).
8485 * tests/check/Makefile.am:
8486 * tests/check/pipelines/.cvsignore:
8487 * tests/check/pipelines/parse-disabled.c:
8488 Make sure these functions exist and return NULL plus a GError when
8489 --disable-parse is used.
8491 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8493 * tests/benchmarks/complexity.c: (main):
8494 * tests/benchmarks/mass-elements.c: (main):
8495 Set a good example and don't leak messages.
8497 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8499 * docs/gst/Makefile.am:
8500 * docs/libs/Makefile.am:
8501 Correct fixxrefs options.
8503 * docs/plugins/Makefile.am:
8504 * docs/plugins/gstreamer-plugins-docs.sgml:
8505 * docs/plugins/gstreamer-plugins-sections.txt:
8506 * plugins/elements/Makefile.am:
8507 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8508 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8509 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8510 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8511 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8512 _GstCapsFilterClass, trans_class):
8513 * plugins/elements/gstelements.c (name, rank, type, _elements):
8514 * plugins/elements/gstidentity.c
8515 (gst_identity_check_imperfect_timestamp,
8516 gst_identity_check_imperfect_offset):
8517 Document capsfilter and add doc-blurb to identity.
8519 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8521 * libs/gst/controller/gstcontroller.c:
8522 (gst_controlled_property_set_interpolation_mode):
8523 * libs/gst/controller/gstinterpolation.c:
8524 Don't crash if someone tries to set an interpolation mode that
8525 is invalid or that isn't supported yet. Fixes #422295.
8527 * tests/check/libs/controller.c: (GST_START_TEST),
8528 (gst_controller_suite):
8529 Add a test case for the above.
8531 2007-05-03 Edward Hervey <edward@fluendo.com>
8533 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8534 Properly set the last_stop position on GstSegment. This will only happen
8535 if there is a buffer to push out.
8537 2007-05-03 Wim Taymans <wim@fluendo.com>
8539 * libs/gst/base/gstbasetransform.c:
8540 (gst_base_transform_buffer_alloc):
8541 always_in_place does not mean that the sink and source caps are the
8542 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8544 2007-05-03 Wim Taymans <wim@fluendo.com>
8546 * docs/libs/gstreamer-libs-sections.txt:
8547 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8548 (gst_base_src_default_query), (gst_base_src_get_range):
8549 * libs/gst/base/gstbasesrc.h:
8550 API: gst_base_src_query_latency(). Added method so that subclasses can
8551 easily get the latency values of the base source class.
8553 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8555 * tools/gst-inspect.c (print_implementation_info):
8558 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8560 * tools/Makefile.am:
8561 * tools/gst-launch.1.in:
8562 Don't create a customised man page based on the host architecture,
8563 describe the default registry path generically. That way the man
8564 page is the same for all architectures and packagers have one
8565 multilib issue less to deal with. Fixes #434926.
8567 2007-05-02 Wim Taymans <wim@fluendo.com>
8570 Fix documentation as spotted by rg on IRC.
8572 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8575 Improve docs for gst_element_{link,unlink}.
8577 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8579 * docs/design/part-events.txt:
8580 * docs/design/part-overview.txt:
8584 * libs/gst/base/gstbasesink.c:
8585 Typo fixes; minor docs addition.
8587 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8589 * docs/gst/gstreamer-sections.txt:
8590 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8591 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8593 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8594 or src that supports a given URI protocol exists.
8596 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8598 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8599 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8600 Set the location to NULL if "file://" is set as URI. Otherwise
8601 some random previous URI would still be set if "file://" is
8602 set on an already used filesink/filesrc.
8604 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8606 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8607 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8608 Special case the "file://" URI as as this is used by some
8609 applications to test with gst_element_make_from_uri if there's
8610 an element that supports the URI protocol.
8611 Also move the g_path_is_absolute() check for the location part
8612 of the URI to also check this for "file://localhost/bla" URIs.
8614 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8616 * docs/gst/gstreamer-sections.txt:
8617 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8619 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8621 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8623 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8625 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8626 (gst_registry_binary_load_pad_template),
8627 (gst_registry_binary_load_plugin),
8628 (gst_registry_binary_read_cache):
8629 * gst/gstregistrybinary.h:
8630 Implement no-mmap alternative for registry reading. Do code cleanups.
8631 Add more comments about avoiding strdups for all text data. Comments
8634 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8636 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8637 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8638 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8639 Comment structs and reformat to fix the build (that stuff should go
8640 into a priv. header).
8642 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8644 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8645 (gst_registry_binary_load_feature):
8646 * gst/gstregistrybinary.h:
8647 Refactor so that we can implement multiple features. Add support for
8648 TypeFindFactory features.
8650 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8652 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8655 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8657 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8659 * gst/gstbin.c: (gst_bin_element_set_state),
8660 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8661 (bin_handle_async_done), (gst_bin_handle_message_func):
8662 Fix build with --gst-disable-gst-debug
8664 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8666 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8667 Make sure streaming has finished before calling the ::stop() vfunc,
8668 since that vfunc might clear state which is being used in the
8669 streaming thread. This fixes a race that caused crashes in
8670 audioresample when shutting down a pipeline (#420106).
8672 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8674 * docs/gst/gstreamer-sections.txt:
8675 That was one byte missing.
8677 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8680 * docs/gst/gstreamer-sections.txt:
8682 * gst/gstconfig.h.in:
8683 * gst/gstobject.c: (gst_object_class_init),
8684 (gst_signal_object_class_init):
8686 2nd attempt to have a xml-less build as a joined effort of #413123
8689 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8691 * docs/design/draft-tagreading.txt:
8692 Added open issues/thoughts to draft.
8694 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8696 * gst/parse/grammar.tab.pre.c:
8697 * gst/parse/grammar.tab.pre.h:
8698 * gst/parse/lex._gst_parse_yy.pre.c:
8699 Update the prebuild parser sources.
8701 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8703 * gst/parse/Makefile.am:
8704 And now fix the building of the flex sources. Now everything should
8707 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8709 * gst/parse/Makefile.am:
8710 Now hopefully fix the build failures by setting proper rule
8711 dependencies and moving instead of copying.
8713 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8715 * tests/benchmarks/complexity.gnuplot:
8716 * tests/benchmarks/complexity.scm:
8717 * tests/benchmarks/mass-elements.gnuplot:
8718 * tests/benchmarks/mass-elements.scm:
8719 Total licensification.
8721 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8723 * gst/parse/Makefile.am:
8724 Fix the build by correcting the rule that gave wrong files to flex.
8726 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8728 * tests/benchmarks/complexity.c:
8729 * tests/benchmarks/mass-elements.c:
8730 Change licence to LGPL as granted by Benjamin and Andy.
8732 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8734 * gst/parse/Makefile.am:
8735 Add correct grammar.tab.h dependency if compiling without new enough
8736 flex. Fixes #431150.
8738 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8740 * gst/parse/Makefile.am:
8741 Fix typo and use outdated sources if the flex/bison sources are newer
8742 than the pregenerated ones but flex is too old. Print a warning in
8743 that case. This should fix the build on the build bot.
8745 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8747 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8748 * gst/parse/Makefile.am:
8749 * gst/parse/grammar.y:
8750 * gst/parse/parse.l:
8751 Make the parser reentrant and recursively callable. This requires flex
8752 >= 2.5.31, for older versions pregenerated sources are used as we
8753 can't bump the build dependency. Finally fixes #349180.
8755 * gst/gstparse.c: (gst_parse_launch):
8756 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8759 * docs/gst/Makefile.am:
8760 * docs/gst/Makefile.am:
8761 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8762 (__gst_parse_strfree), (__gst_parse_link_new),
8763 (__gst_parse_link_free), (__gst_parse_chain_new),
8764 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8765 (gst_parse_element_set), (gst_parse_free_link),
8766 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8767 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8768 (_gst_parse_launch):
8769 * gst/parse/grammar.tab.pre.h:
8770 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8771 (yy_get_previous_state), (yy_try_NUL_trans), (input),
8772 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8773 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8774 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8775 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8776 (_gst_parse_yypop_buffer_state),
8777 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8778 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8779 (yy_fatal_error), (_gst_parse_yyget_extra),
8780 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8781 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8782 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8783 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8784 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8785 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8786 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8787 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8788 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8789 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8790 (_gst_parse_yyfree):
8791 If the installed flex version is too old use pre-generated parser
8792 sources. These pre-generated parser sources are always updated when
8793 the actual flex/bison sources change but require everybody who wants
8794 to change something in the parser to have flex >= 2.5.31 installed.
8796 2007-04-18 Stefan Kost <ensonic@users.sf.net>
8798 * common/m4/gst-gettext.m4:
8799 * gst/gst-i18n-lib.h:
8800 Make --disable-nls to work
8802 2007-04-17 Wim Taymans <wim@fluendo.com>
8804 * gst/gstconfig.h.in:
8805 Revert previous change that broke the build.
8807 2007-04-17 Stefan Kost <ensonic@users.sf.net>
8811 * gst/gstconfig.h.in:
8812 Drop libxml2 dependency when building with
8813 --enable-binary-registry --disable-loadsave
8815 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
8817 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8818 (gst_registry_binary_read_cache):
8819 * gst/gstregistrybinary.h:
8820 Remove unnecessary <sys/mman.h> include which broke the win32 build
8821 with MingW; move includes from header file to .c file, even if the
8822 header file isn't installed; use g_strerror() where UTF-8 strings
8823 are expected, such as in GST_DEBUG messages.
8825 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8827 * docs/libs/gstreamer-libs-sections.txt:
8828 Remove bogus addition for API I didn't end up keeping.
8830 * libs/gst/base/gstbasesrc.h:
8831 Mention Since: 0.10.13 in the documentation.
8833 Add the API keyword to the previous ChangeLog entry.
8835 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8837 * docs/libs/gstreamer-libs-sections.txt:
8838 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8839 (gst_base_src_default_prepare_seek_segment),
8840 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8841 * libs/gst/base/gstbasesrc.h:
8842 Allow basesrc derived classes to execute seeks in other formats
8843 by providing a prepare_seek_segment vmethod. Sub-classes can choose
8844 to prepare the GstSegment in any format that their perform_seek method
8845 will be able to understand. The default implementation provides the
8846 old behaviour of attempting to convert the seek offsets to the
8847 configured native format.
8849 API: basesrc::prepare_seek_segment vmethod.
8851 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8853 * gst/gstelement.c: (gst_element_get_state_func):
8854 Don't output the same debug statement twice.
8856 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8857 (gst_adapter_peek), (gst_adapter_take_buffer):
8858 Optimise the case where we have buffers at the head of the queue that
8859 can be joined quickly (because they're contiguous sub-buffers) by
8860 merging them together rather than copying data out into new memory.
8862 * gst/parse/grammar.y:
8863 * tests/check/pipelines/parse-launch.c:
8864 Fix a leak in an error path for parse_launch, and add a check
8865 for it to the testsuite.
8867 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8869 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8870 Don't deadlock when releasing a pad - gst_pad_set_active may try
8871 and take the multiqueue lock too.
8873 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
8875 * gst/gsterror.c: (_gst_core_errors_init):
8877 API: add GST_CORE_ERROR_DISABLED (#392804).
8879 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8881 * docs/faq/gst-uninstalled:
8882 don't get empty paths on the PATH variables
8883 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
8884 Don't format for the uncommon terminal width of 84 characters.
8886 2007-04-06 Wim Taymans <wim@fluendo.com>
8888 * gst/gstpipeline.c: (reset_stream_time),
8889 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8890 Only try to select a different pipeline clock when we went back to
8891 PAUSED and not when we merely got flushed.
8893 2007-04-05 Michael Smith <msmith@fluendo.com>
8895 * tools/gst-launch.1.in:
8896 fractions are better supported in gstreamer than ractions, so
8897 suggest using those.
8899 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
8901 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8905 Added Danish translation.
8907 2007-04-05 Wim Taymans <wim@fluendo.com>
8909 * libs/gst/base/gstbasesink.c:
8910 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
8911 Fix leak caused when refusing newsegment after EOS.
8913 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8914 (gst_fake_sink_init), (gst_fake_sink_set_property),
8915 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
8916 (gst_fake_sink_render), (gst_fake_sink_change_state):
8917 * plugins/elements/gstfakesink.h:
8918 Add num-buffers property to make the element generate EOS after a
8919 configurable amount of buffers.
8920 API: fakesink::num-buffers property.
8922 * tests/check/elements/fakesink.c: (GST_START_TEST),
8924 Fix GstBus leak in test.
8925 Test for fakesink num-buffers.
8927 2007-04-05 Wim Taymans <wim@fluendo.com>
8929 * libs/gst/base/gstbasesink.c:
8930 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
8931 (gst_base_sink_change_state):
8932 Don't accept anything after an EOS, return UNEXPECTED instead.
8934 * tests/check/elements/fakesink.c: (GST_START_TEST),
8936 Unit test for new EOS behaviour.
8938 2007-04-05 Wim Taymans <wim@fluendo.com>
8940 * gst/gstelement.c: (gst_element_get_request_pad):
8941 Make padtemplates also work when they don't contain %s or %d.
8943 2007-04-05 Wim Taymans <wim@fluendo.com>
8945 * docs/gst/gstreamer-sections.txt:
8946 * gst/gstclock.c: (gst_clock_adjust_unlocked),
8947 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
8949 Improve _adjust_unlocked() so that it overflows less.
8950 Add gst_clock_unadjust_unlocked to convert from external time to
8951 internal time based on calibration.
8952 Add some more debug.
8953 API: GstClock::gst_clock_unadjust_unlocked()
8955 2007-04-03 Wim Taymans <wim@fluendo.com>
8957 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8959 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8960 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
8961 when releasing sink pad. Fixes #425400.
8963 2007-04-02 Stefan Kost <ensonic@users.sf.net>
8965 * docs/random/ensonic/dynlink.txt:
8966 More work on proposal for new core api.
8968 * docs/libs/gstreamer-libs-sections.txt:
8969 * libs/gst/base/gstbasetransform.h:
8970 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
8972 * libs/gst/controller/gstcontroller.c:
8973 (on_object_controlled_property_changed),
8974 (gst_controller_sync_values),
8975 (gst_controller_set_interpolation_mode):
8976 * libs/gst/controller/gstcontroller.h:
8977 Less verbose logging add docs for unimplemented parts and correctly
8978 return when using unavailable parts.
8980 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
8982 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
8983 Move all the debug to the CLOCK category, and associate it with
8986 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
8988 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
8989 Make take_buffer a bit quicker by removing redundant checks
8990 caused by calling gst_adapter_take.
8992 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
8994 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
8997 * tests/check/Makefile.am:
8998 * tests/check/elements/.cvsignore:
8999 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9000 (GST_START_TEST), (multiqueue_suite):
9001 Add some dead simple unit tests for the 'multiqueue' element
9002 (some bits don't work yet and are disabled for now).
9004 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9006 * gst/gstelement.c: (gst_element_get_request_pad),
9007 (gst_element_class_get_request_pad_template):
9008 Make gst_element_get_request_pad() create request pads only for
9009 request pad templates and not for, say, sometimes pad templates.
9011 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9013 * docs/design/draft-klass.txt:
9014 Add example that needs more thinking.
9016 * docs/design/draft-missing-plugins.txt:
9017 More thoughts about wrapper plugins.
9019 * docs/random/ensonic/embedded.txt:
9020 * docs/random/ensonic/profiling.txt:
9023 2007-03-25 Wim Taymans <wim@fluendo.com>
9025 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9026 (gst_base_src_loop):
9027 Only push the segment events in the PLAYING state for live sources.
9029 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9031 * gst/gstpipeline.c: (gst_pipeline_change_state):
9032 Modify the clock distribution path in PAUSED->PLAYING so that we
9033 never attempt to choose a new clock unless we're actually leaving
9034 the PAUSED state for the first time. This prevents choosing a
9035 different clock when the state_change gets called for a 2nd time due
9036 to some element doing an async state change.
9038 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9040 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9041 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9042 (gst_pad_chain_unchecked), (gst_pad_push):
9043 Revert last commit. This needs some more thoughts.
9045 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9047 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9048 (gst_pad_chain_unchecked), (gst_pad_push):
9049 Check in set_caps if the caps are compatible with the pad and remove
9050 two functions that are redundant now. Fixes #421543.
9052 2007-03-22 Wim Taymans <wim@fluendo.com>
9054 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9055 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9056 Unref some more to make valgrind happy.
9058 2007-03-22 Wim Taymans <wim@fluendo.com>
9060 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9061 (gst_system_clock_id_wait_jitter),
9062 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9063 Fix anoying regression that survived a few releases. When adding an
9064 async entry while blocking on a sync entry, the sync entry will unblock
9065 but still be busy, so it should continue to wait instead of returning
9067 Add some comments here and there.
9069 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9070 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9071 Add testcase for this.
9073 2007-03-22 Wim Taymans <wim@fluendo.com>
9075 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9076 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9077 WRONG_STATE and can silently pause the task. All other cases should
9080 2007-03-22 Wim Taymans <wim@fluendo.com>
9082 Patch by: Ville Syrjala <syrjala at sci dot fi>
9084 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9085 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9088 2007-03-21 Michael Smith <msmith@fluendo.com>
9090 * docs/pwg/advanced-types.xml:
9091 Fix some errors in the typefinding docs pointed out on irc.
9093 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9095 * libs/gst/base/gstbasesrc.c:
9096 Clarify FIXME comment in the face of having added unlock_stop()
9098 2007-03-21 Wim Taymans <wim@fluendo.com>
9100 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9101 Prepare for release where we warn against possible app breakage in the
9102 case of live pipelines along with an env var to enable/disable live
9103 preroll mode (GST_COMPAT=[no-]live-preroll).
9105 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9107 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9108 So we should use correct constants for checking for None offset.
9110 2007-03-20 Wim Taymans <wim@fluendo.com>
9112 * docs/design/part-block.txt:
9113 Mention the fact that the newly switched element should be set to at
9116 2007-03-20 Wim Taymans <wim@fluendo.com>
9119 Fix compilation with registry disabled as spotted by Saur.
9121 2007-03-20 Wim Taymans <wim@fluendo.com>
9123 Patch by: Olivier Crete <tester at tester dot ca>
9125 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9126 Look at the pending state too when syncing the element state to the
9127 parent. Fixes #420133.
9129 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9131 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9132 (gst_base_sink_change_state):
9133 * libs/gst/base/gstbasesink.h:
9134 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9135 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9136 (gst_base_src_deactivate):
9137 * libs/gst/base/gstbasesrc.h:
9138 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9139 for sub-classes to correctly clear any state they set trying to
9140 unlock, such as clearing out unlock commands from a command fd.
9141 API: basesrc::unlock_stop
9142 API: basesink::unlock_stop
9144 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9145 (gst_fd_sink_render), (gst_fd_sink_unlock),
9146 (gst_fd_sink_unlock_stop):
9147 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9148 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9149 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9151 Implement unlock_stop in fdsrc and fdsink.
9152 Implement seeking in fdsrc when a seekable fd is passed, as in
9153 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9155 2007-03-19 Wim Taymans <wim@fluendo.com>
9157 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9159 * gst/gstelement.c: (gst_element_class_init):
9160 Fix pad-added and pad-removed signal signatures so that the pad type is
9161 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9163 2007-03-19 Wim Taymans <wim@fluendo.com>
9165 * docs/gst/gstreamer-sections.txt:
9166 Add new element field and method.
9168 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9169 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9170 (gst_bin_recalc_state), (gst_bin_get_state_func),
9171 (gst_bin_element_set_state), (gst_bin_change_state_func),
9172 (gst_bin_continue_func), (bin_bus_handler),
9173 (bin_push_state_continue), (bin_handle_async_start),
9174 (bin_handle_async_done), (gst_bin_handle_message_func):
9175 Make async state changes a bit smarter by using new ASYNC_START and
9176 ASYNC_DONE messages. This reduces the number of times we run the state
9177 recalculation thread.
9178 Don't change state of element with a pending ASYNC_START message.
9179 Deprecate STATE_DIRTY messages.
9181 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9182 (gst_element_get_state_func), (gst_element_continue_state),
9183 (gst_element_lost_state), (gst_element_set_state_func),
9184 (gst_element_change_state):
9186 Keep the state that was last set by the app in a new element field.
9187 Don't allow state changes when handling an element event.
9188 Post ASYNC_START and ASYNC_DONE messages.
9189 Change lost_state so that we go to PAUSED and wait for the parent to set
9190 us to PLAYING again (so latency calculation can be performed)
9191 Export gst_element_change_state() method so that subclasses can use it.
9192 API: gst_element_change_state()
9193 API: GST_STATE_TARGET
9195 * gst/gstpipeline.c: (gst_pipeline_class_init),
9196 (reset_stream_time), (gst_pipeline_change_state),
9197 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9198 Using the new ASYNC_START message we can reset the base_time when
9199 needed. This can then be used to implement base_time redistribution in
9200 flushing seeks so that we can remove the explicit seek handling.
9201 Perform latency query and configuration when going to PLAYING.
9203 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9204 (gst_base_sink_query), (gst_base_sink_change_state):
9205 Post new ASYNC_START/ASYNC_DONE messages.
9207 * tests/check/generic/sinks.c: (GST_START_TEST):
9208 Fix test because the bin will not set the async element to PLAYING right
9211 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9212 Make the message check a little stronger.
9213 Handle ASYNC messages.
9215 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9216 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9217 Expect ASYNC_DONE messages.
9219 2007-03-19 Wim Taymans <wim@fluendo.com>
9221 * docs/gst/gstreamer-sections.txt:
9222 * gst/gstmessage.c: (gst_message_new_async_start),
9223 (gst_message_new_async_done), (gst_message_parse_info),
9224 (gst_message_parse_async_start):
9226 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9229 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9231 * tools/gst-inspect.c:
9232 (print_plugin_automatic_install_info_codecs):
9233 Now that we don't check for the 'Codec' keyword any longer in the
9234 klass, we shouldn't spew a warning if the klass isn't a decoder or
9235 encoder (since it might be a Source/Network, for example).
9237 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9239 * tools/gst-inspect.c:
9240 (print_plugin_automatic_install_info_codecs):
9241 Don't require decoder/demuxer/depayloader elements or
9242 encoder/muxer/paylader elements to have 'Codec' as part of their
9243 factory class string when introspecting a plugin's capabilities.
9244 draft-klass.txt mentions that it might be removed in future, and
9245 flump3dec doesn't have it as part of its class string, so chances
9246 are others might also not have it.
9248 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9270 Update translations from translation project
9272 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9274 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9275 (gst_child_proxy_set_property):
9276 Invert precondition check to be alike the ones in the mimiced gobject
9279 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9281 * docs/design/draft-tagreading.txt:
9282 * docs/random/ensonic/audiobaseclasses.txt:
9283 Do some Architect work.
9285 * gst/gstobject.c: (gst_object_set_name):
9289 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9291 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9293 * gst/gstsystemclock.c: (gst_system_clock_init),
9294 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9295 Defer starting the async system clock thread until the first async
9296 wait is scheduled. Fixes #414986.
9298 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9300 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9301 (gst_single_queue_free):
9302 Fix small leak (free GstSingleQueue structure too, not only contents).
9304 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9306 * gst/gstbin.c:(gst_bin_add):
9307 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9308 * win32/common/libgstbase.def:
9309 * win32/common/libgstreamer.def:
9310 Add new exported functions.
9312 2007-03-09 Wim Taymans <wim@fluendo.com>
9314 * docs/plugins/gstreamer-plugins-sections.txt:
9317 2007-03-09 Wim Taymans <wim@fluendo.com>
9319 * docs/gst/gstreamer-sections.txt:
9320 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9322 Add metadata copy functions. Fixes #393099.
9323 API: gst_buffer_copy_metadata()
9325 * gst/gstutils.c: (gst_buffer_stamp):
9326 * libs/gst/base/gstbasetransform.c:
9327 (gst_base_transform_prepare_output_buffer):
9328 Use new metadata copy functions.
9330 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9332 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9333 (gst_identity_init), (gst_identity_check_perfect),
9334 (gst_identity_check_imperfect_timestamp),
9335 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9336 (gst_identity_set_property), (gst_identity_get_property):
9337 * plugins/elements/gstidentity.h:
9338 Separate out check-imperfect-timestamp and check-imperfect-offset.
9339 Put back check-perfect as it was to keep compatibility.
9341 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9343 * gst/gstelement.c: (gst_element_dispose):
9344 There's no need to warn if VOID_PENDING is not NONE here, as
9345 long as the state is NULL it's ok, and that's checked immediately
9348 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9350 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9351 Fix check for perfect stream to ignore buffers with -1
9352 offsets/offset ends when checking data contiguity.
9354 2007-03-08 Wim Taymans <wim@fluendo.com>
9356 * tools/gst-launch.c: (event_loop):
9357 Print INFO messages.
9359 2007-03-08 Wim Taymans <wim@fluendo.com>
9361 * libs/gst/base/gstbasetransform.c:
9362 (gst_base_transform_sink_eventfunc),
9363 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9364 (gst_base_transform_activate):
9365 * libs/gst/base/gstbasetransform.h:
9366 Add support for dropping buffers with custom GstFlowReturn.
9367 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9368 buffers or dropped buffers.
9370 * docs/libs/gstreamer-libs-sections.txt:
9371 docs for new custom return code.
9373 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9374 Use drop support in base class to implement drop-probability.
9376 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9378 * gst/gst.c: (load_plugin_func):
9379 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9380 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9381 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9382 Remove newlines at end of debug log strings.
9384 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9386 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9387 Only post bus message at max, once per buffer received.
9389 2007-03-07 Wim Taymans <wim@fluendo.com>
9391 * docs/design/Makefile.am:
9392 * docs/design/part-synchronisation.txt:
9393 Add doc about synchronisation
9395 * docs/design/draft-latency.txt:
9396 * docs/design/part-TODO.txt:
9397 * docs/design/part-clocks.txt:
9398 * docs/design/part-events.txt:
9399 * docs/design/part-gstbus.txt:
9400 * docs/design/part-gstpipeline.txt:
9401 * docs/design/part-live-source.txt:
9402 * docs/design/part-messages.txt:
9403 * docs/design/part-overview.txt:
9404 * docs/design/part-streams.txt:
9405 * docs/design/part-trickmodes.txt:
9406 Documentation updates.
9408 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9411 Update the doap file.
9413 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9415 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9416 Rename non-perfect to imperfect for Mike and for the sanctity of the
9418 Also make sure bus message gets emitted for data-incontiguities.
9420 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9422 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9423 (gst_identity_start):
9424 * plugins/elements/gstidentity.h:
9425 Emit bus message if check-perfect is true and we encounter a
9426 non-perfect stream between 2 consecutive buffers.
9429 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9434 === release 0.10.12 ===
9436 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9439 releasing 0.10.12, "Inevitable Demise"
9441 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9444 Version 0.10.11.2 (0.10.12 pre-release)
9445 Bump libtool versioning.
9447 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9449 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9450 Log flow-names and not numbers.
9452 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9455 Convert to new AG_GST style.
9457 2007-02-28 Wim Taymans <wim@fluendo.com>
9459 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9460 Don't unref query twice.
9462 2007-02-28 Wim Taymans <wim@fluendo.com>
9464 * gst/gstvalue.c: (gst_value_transform_object_string),
9465 (_gst_value_initialize):
9466 Implement GstObject -> string transform so we print object names
9467 when serializing GValues containing GstObjects.
9469 2007-02-28 Wim Taymans <wim@fluendo.com>
9471 * docs/gst/gstreamer-sections.txt:
9472 Add new stuff to docs.
9474 2007-02-28 Wim Taymans <wim@fluendo.com>
9476 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9477 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9478 (gst_base_sink_change_state):
9479 Improve latency query code.
9480 Don't leak latency events.
9482 * tests/check/gst/gstbin.c: (GST_START_TEST):
9485 2007-02-28 Wim Taymans <wim@fluendo.com>
9487 * gst/gstelement.c: (gst_element_message_full),
9488 (gst_element_get_state_func):
9490 Improve docs a little. Added Since: for new macro.
9492 * gst/gstobject.c: (gst_object_sink):
9493 * gst/gstpipeline.c: (gst_pipeline_change_state),
9494 (gst_pipeline_set_new_stream_time):
9495 * gst/gstpipeline.h:
9496 Improve debugging and docs.
9498 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9501 2007-02-28 Wim Taymans <wim@fluendo.com>
9503 * gst/gstelement.c: (gst_element_message_full),
9504 (gst_element_set_locked_state), (gst_element_get_state_func),
9505 (gst_element_change_state):
9506 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9507 Documentation updates.
9508 Small code cleanups.
9510 * gst/gstmessage.c: (gst_message_new_info),
9511 (gst_message_parse_info):
9513 API: gst_message_new_info()
9514 API: gst_message_parse_info()
9515 Add INFO message create and parse code.
9517 2007-02-28 Wim Taymans <wim@fluendo.com>
9519 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9520 (bin_query_latency_done):
9521 Also report the live parameter of a latency query.
9523 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9525 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9526 Copy the current generic/states example from -base and adapt so
9527 we can use the exact same code everywhere.
9528 Check a STATES_IGNORE_ELEMENTS env var which can be used
9529 to ignore certain element factories for this test, which is
9530 what is being done in -base
9531 * tests/check/Makefile.am:
9532 Mention this environment variable.
9534 2007-02-27 Wim Taymans <wim@fluendo.com>
9536 * docs/gst/gstreamer-sections.txt:
9537 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9538 (gst_bus_timed_pop), (gst_bus_pop):
9540 API: gst_bus_timed_pop()
9541 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9542 message to arrive on the bus.
9544 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9546 Two unit tests for new _timed_pop() function.
9548 2007-02-23 Wim Taymans <wim@fluendo.com>
9550 * gst/gstpipeline.c: (gst_pipeline_change_state),
9551 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9552 Don't ref a NULL clock in _provide_clock_func().
9553 Don't allow an INVALID delay.
9554 Don't try to calculate base_time with an invalid start_time.
9555 Also distribute and notify a NULL clock when it was selected.
9557 * tools/gst-launch.c: (event_loop):
9558 Don't crash when a NULL clock was selected in the pipeline.
9560 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9562 * docs/design/Makefile.am:
9563 * docs/design/draft-missing-plugins.txt:
9564 * docs/random/draft-missing-plugins.txt:
9565 Some small updates: update plugin system identifier prefix
9566 ('gstreamer.net' to 'gstreamer'), mention our new install
9567 API in libgstbaseutils rather than libgimme-codec, add
9568 reference to the online docs.
9570 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9572 * win32/common/config.h:
9573 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9574 use moap cl ci to only check in what is mentioned in the ChangeLog.
9576 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9578 * docs/gst/gstreamer-sections.txt:
9580 Fix up documentation to link to the correct GstGError section.
9581 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9583 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9585 * tools/gst-launch.c: (event_loop):
9586 Make sure that we actually show the important message part of a
9588 No need to check if the gerror is not NULL to free; first of all
9589 g_free accepts NULL; and second the default error handler would
9590 segfault if gerror was NULL.
9592 2007-02-21 Wim Taymans <wim@fluendo.com>
9594 * docs/gst/gstreamer-sections.txt:
9595 Removed docs as well.
9597 2007-02-21 Wim Taymans <wim@fluendo.com>
9599 * gst/gstmessage.c: (gst_message_parse_duration):
9601 Remove new messages for release.
9603 2007-02-20 Wim Taymans <wim@fluendo.com>
9605 * docs/design/part-gstghostpad.txt:
9606 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9607 (gst_ghost_pad_new_full):
9608 Make the ghostpad a parent of the internal pad again for better backward
9609 compatibility. Don't write code that relies on this however.
9611 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9612 (gst_pad_link_check_hierarchy):
9613 Require that parents should be GstElements in the hierarchy check.
9615 2007-02-20 Wim Taymans <wim@fluendo.com>
9617 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9618 (gst_bin_change_state_func), (bin_query_min_max_init),
9619 (bin_query_latency_fold), (bin_query_latency_done),
9622 Implement latency query.
9624 2007-02-20 Wim Taymans <wim@fluendo.com>
9626 * docs/design/part-gstghostpad.txt:
9627 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9628 (gst_ghost_pad_internal_do_activate_push),
9629 (gst_ghost_pad_internal_do_activate_pull),
9630 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9631 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9632 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9633 Do not set the internal pad as a parent anymore so we can avoid
9634 hierarchy linking errors when the ghostpad has no parent yet. This also
9635 fixes failed activation because of unlinked internal pads, which in
9636 turn fixes the impossible case where you have to activate a pad before
9637 you can add it to a running element.
9640 * gst/gstpad.c: (pre_activate), (post_activate),
9641 (gst_pad_set_active), (gst_pad_activate_pull),
9642 (gst_pad_activate_push), (gst_pad_check_pull_range):
9643 Add some more debug info.
9644 Mark activation mode in pre_activate so that we don't try to activate in
9645 endless loops. Fixes #385084.
9647 2007-02-19 Wim Taymans <wim@fluendo.com>
9649 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9650 (gst_base_transform_check_get_range):
9651 Implement a checkgetrange function instead of relying on the default
9652 core behaviour that assumes we can operate in pull mode if we have a
9653 getrange function. First step at fixing #385084.
9655 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9657 * gst/gstchildproxy.h:
9658 * libs/gst/base/gstbasesink.h:
9659 * libs/gst/base/gstbasesrc.h:
9660 * libs/gst/base/gstbasetransform.h:
9661 More docs coverage and some ChangeLog surgery (add missing names)
9663 2007-02-15 Wim Taymans <wim@fluendo.com>
9665 * docs/design/part-TODO.txt:
9666 * docs/design/part-activation.txt:
9667 * docs/design/part-block.txt:
9668 * docs/design/part-buffering.txt:
9669 * docs/design/part-clocks.txt:
9670 * docs/design/part-element-source.txt:
9671 * docs/design/part-events.txt:
9672 * docs/design/part-gstbin.txt:
9673 * docs/design/part-gstbus.txt:
9674 * docs/design/part-gstpipeline.txt:
9675 * docs/design/part-live-source.txt:
9676 * docs/design/part-messages.txt:
9677 * docs/design/part-overview.txt:
9678 * docs/design/part-qos.txt:
9679 * docs/design/part-query.txt:
9680 * docs/design/part-states.txt:
9681 * docs/design/part-trickmodes.txt:
9682 Some doc updates. Start renaming from stream_time to running_time where
9683 it was used wrongly.
9685 2007-02-15 Wim Taymans <wim@fluendo.com>
9687 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9688 Answer LATENCY query.
9690 2007-02-15 Wim Taymans <wim@fluendo.com>
9692 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9696 2007-02-15 Wim Taymans <wim@fluendo.com>
9698 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9699 (gst_pad_dispatcher):
9700 Improve debugging of default pad dispatcher and query functions.
9702 2007-02-15 Wim Taymans <wim@fluendo.com>
9704 * docs/gst/gstreamer-sections.txt:
9705 Remove old unused method.
9707 2007-02-13 Wim Taymans <wim@fluendo.com>
9709 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9712 2007-02-13 Wim Taymans <wim@fluendo.com>
9714 * docs/design/part-seeking.txt:
9717 * gst/gstsegment.c: (gst_segment_set_seek):
9718 Revert old bogus change that should make seeking work again.
9720 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9722 * docs/random/ensonic/dynlink.txt:
9723 * docs/random/ensonic/interfaces.txt:
9724 * docs/random/ensonic/receipies.txt:
9725 Possible dynamic reconnection api, plus some type fixes the other two
9728 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9730 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9731 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9732 Also check for an absolute path following file:// in the filesrc
9733 element. Remove redundant check and call g_path_is_absolute() on the
9736 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9738 * docs/design/draft-klass.txt:
9739 Add existing category analysis.
9742 Fix doc example, framerate is a fraction.
9744 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9747 * docs/gst/Makefile.am:
9748 * docs/gst/gstreamer-sections.txt:
9749 * docs/libs/Makefile.am:
9750 Erm, forgot a bunch of --extra-dir.
9752 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9755 * docs/gst/Makefile.am:
9756 * docs/libs/Makefile.am:
9757 * docs/plugins/Makefile.am:
9758 Add crossreferences to glib/gobject docs.
9760 2007-02-12 Wim Taymans <wim@fluendo.com>
9762 * docs/design/draft-latency.txt:
9765 * docs/libs/gstreamer-libs-sections.txt:
9766 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9767 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9768 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9769 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9770 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9771 (gst_base_sink_get_position), (gst_base_sink_query),
9772 (gst_base_sink_change_state):
9773 * libs/gst/base/gstbasesink.h:
9774 API: gst_base_sink_query_latency() to let subclasses query the upstream
9776 API: gst_base_sink_get_latency() to let subclasses query the configured
9777 latency in the sink.
9778 Implement query and set latency.
9780 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9781 don't continue preroll when we are flushing. Fixes #405284.
9783 * tests/check/pipelines/stress.c: (change_state_timeout),
9784 (quit_timeout), (GST_START_TEST), (stress_suite):
9787 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
9789 Patch by: René Stadler <mail at renestadler de>
9791 * docs/gst/gstreamer-sections.txt:
9792 * gst/gsttaglist.c: (_gst_tag_initialize):
9794 API: add GST_TAG_REFERENCE_LEVEL (#403597).
9796 2007-02-11 Stefan Kost <ensonic@users.sf.net>
9798 * docs/libs/Makefile.am:
9799 Fix path to core docs.
9801 * gst/gstbin.c: (gst_bin_get_by_interface),
9802 (gst_bin_iterate_all_by_interface):
9803 Refix docs by also renaming 'interface' to 'iface' in implementation.
9805 * docs/gst/gstreamer-sections.txt:
9807 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9808 * gst/gstchildproxy.h:
9809 * gst/gstelementfactory.c:
9810 * gst/gstpadtemplate.h:
9811 * libs/gst/controller/gstcontroller.c:
9812 (gst_controlled_property_new):
9815 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
9817 * gst/gstbin.h:(gst_bin_get_by_interface),
9818 (gst_bin_iterate_all_by_interface):
9819 Replace interface parameter name by iface as interface is
9820 a reserved keyword in Visual Studio for C++ projects so it removes
9821 a build error for application developpers using VS.
9822 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9823 Fix a bug on Windows in uri format check. Now the prefix checked
9824 is file:// and next we check if the path after file:// is absolute.
9825 * win32/common/libgstbase.def:
9826 * win32/common/libgstdataprotocol.def:
9827 * win32/common/libgstgstreamer.def:
9828 Add new exported functions.
9830 2007-02-09 Andy Wingo <wingo@pobox.com>
9832 * tests/check/pipelines/simple-launch-lines.c
9833 (simple_launch_lines_suite, test_tee): Disable tee test until I
9834 have time to fix it :-(
9836 * tests/check/Makefile.am (noinst_HEADERS):
9837 * tests/check/libs/libsabi.c:
9838 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9839 * tests/check/gst/gstabi.c:
9840 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9842 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9843 tests for push and pull tee behavior.
9845 * plugins/elements/gsttee.h:
9846 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9847 mark as deprecated as well as unimplemented. It was a crack idea.
9848 Add support for tee operating in pull mode, off by default.
9850 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9851 normal-case logs down to LOG, raise errors to WARNING.
9852 (gst_registry_xml_read_cache): Don't log before calling a function
9855 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9856 exit (registry finalize).
9857 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9858 DEBUG log when we emit signals that people don't even have the
9859 chance to connect to.
9860 (gst_registry_scan_path_level): Less logging in the normal case.
9862 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9864 Patch by: Michal Benes <michal dot benes at itonis dot tv>
9866 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9867 Correctly generate EOS for non-seekable files. We don't have a total
9868 length for them and would get an unexpected end of file if we only
9869 special-cased for regular files. (Fixes: #404569)
9871 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9873 * tests/check/elements/filesrc.c: (GST_START_TEST),
9875 Add unit test for the GstURIHandler interface in filesrc. This also
9876 tests the newly added file://localhost/foo/bar support.
9878 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
9880 * gst/gstelementfactory.h:
9881 The klass string is not a hierarchy. Add reference to the design doc
9882 for more information and common types.
9884 2007-02-02 Wim Taymans <wim@fluendo.com>
9886 * gst/gstquery.c: (gst_query_new_latency):
9887 Remove old structure field.
9889 2007-02-02 Stefan Kost <ensonic@users.sf.net>
9891 * tools/gst-launch.1.in:
9892 Give example for network streaming (#351998)
9894 2007-02-02 Wim Taymans <wim@fluendo.com>
9896 * docs/gst/gstreamer-sections.txt:
9897 Add docs for new methods.
9899 * gst/gstevent.c: (gst_event_new_latency),
9900 (gst_event_parse_latency):
9902 Add new LATENCY event to configure latency in a pipeline.
9903 API: gst_event_new_latency
9904 API: gst_event_parse_latency
9906 * gst/gstmessage.c: (gst_message_new_buffering),
9907 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
9908 (gst_message_new_latency), (gst_message_parse_buffering),
9909 (gst_message_parse_lost_preroll):
9911 Added messages used in draft-latency.
9912 API: gst_message_new_lost_preroll
9913 API: gst_message_parse_lost_preroll
9914 API: gst_message_new_prerolled
9915 API: gst_message_new_latency
9917 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
9918 (gst_query_parse_latency):
9920 Implemented new latency query as in design doc.
9921 API: gst_query_new_latency
9922 API: gst_query_set_latency
9923 API: gst_query_parse_latency
9925 2007-02-02 Wim Taymans <wim@fluendo.com>
9927 * docs/design/draft-latency.txt:
9928 Slight redesign to allow for dynamic latency adjustments.
9930 * docs/design/part-negotiation.txt:
9933 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
9935 reviewed by: Wim Taymans <wim@fluendo.com>
9937 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9938 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9939 Allow file://localhost/foo/bar URLs and correctly fail for every other
9940 hostname that one sets. This was gnomevfssrc is linked for those if
9941 installed as it can handle it (#403172)
9943 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
9945 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9947 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9948 (unref_data), (gst_collect_pads_add_pad_full):
9949 * libs/gst/base/gstcollectpads.h:
9950 Don't put the previously added destroy notify in the GstCollectData
9951 struct as all it's padding is already used and we don't want to break
9952 ABI. Instead put in the pad's GObject data for now. This should be
9953 cleaned up for 0.11 (#402393).
9955 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
9957 reviewed by: Wim Taymans <wim@fluendo.com>
9959 * docs/libs/gstreamer-libs-sections.txt:
9960 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9961 (unref_data), (gst_collect_pads_add_pad),
9962 (gst_collect_pads_add_pad_full):
9963 * libs/gst/base/gstcollectpads.h:
9964 API: Add function to specify a destroy notification for custom
9965 GstCollectData when adding new pads in GstCollectPads (#402393).
9967 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
9970 Update Swedish translation (#378255).
9972 2007-01-31 Stefan Kost <ensonic@users.sf.net>
9974 * docs/design/draft-klass.txt:
9975 Fix the previous change, this is a list of categories and not a hierarchy.
9977 2007-01-31 Stefan Kost <ensonic@users.sf.net>
9979 * docs/design/draft-klass.txt:
9980 Add info about how to get a list of used classes.
9982 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
9984 * plugins/elements/gsttypefindelement.c:
9985 (gst_type_find_element_chain_do_typefinding),
9986 (gst_type_find_element_change_state):
9987 Don't leak found caps in chain function (no idea why that never
9988 showed up as a leak anywhere).
9990 2007-01-30 Stefan Kost <ensonic@users.sf.net>
9993 Fix and expand GstPluginDesc API docs.
9995 2007-01-29 Stefan Kost <ensonic@users.sf.net>
9998 * gst/gstelementfactory.c:
9999 * gst/gstpadtemplate.h:
10002 * libs/gst/controller/gstcontroller.c:
10003 (gst_controlled_property_new):
10004 * tests/examples/controller/audio-example.c:
10007 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10010 comment about refining the xml deps
10012 * docs/manuals.mak:
10013 comments about moving away from jade for docs
10016 recommit the ifdefs to use the binary registry
10018 * gst/gstbin.c: (gst_bin_change_state_func):
10019 this break is obsolete
10021 * gst/gstelementfactory.h:
10022 better GST_ELEMENT_DETAILS docs, add comment about translation
10027 * gst/gstobject.c: (gst_signal_object_get_type):
10028 add G_UNLIKELY as usual
10030 * gst/gstpad.c: (gst_pad_event_default):
10031 add fall trhu comment
10033 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10034 (gst_registry_binary_initialize_magic),
10035 (gst_registry_binary_save_string),
10036 (gst_registry_binary_save_pad_template),
10037 (gst_registry_binary_save_feature),
10038 (gst_registry_binary_save_plugin),
10039 (gst_registry_binary_write_cache),
10040 (gst_registry_binary_check_magic),
10041 (gst_registry_binary_load_pad_template),
10042 (gst_registry_binary_load_feature),
10043 (gst_registry_binary_load_plugin),
10044 (gst_registry_binary_read_cache):
10045 comment typo and formatting
10047 * gst/gstutils.c: (gst_element_state_get_name),
10048 (gst_element_state_change_return_get_name):
10049 remove obsolete breaks
10051 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10052 add FIXME 0.11 and remove cpp comment
10054 2007-01-29 Edward Hervey <edward@fluendo.com>
10056 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10057 Fix print statement in an even more portable way.
10059 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10061 * docs/gst/gstreamer-sections.txt:
10063 API: add GST_ROUND_DOWN_* macros (#401781).
10065 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10067 * docs/gst/gstreamer.types.in:
10068 * gst/gstregistry.c: (gst_registry_class_init):
10069 Document registry signals and make gtk-doc pick them up (#401381).
10071 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10073 * docs/pwg/building-testapp.xml:
10074 Add some audioconverts and audioresample to the pipeline, and some
10075 more comments and error handling.
10077 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10079 * docs/manual/manual.xml:
10080 * docs/pwg/pwg.xml:
10081 Fix typo (#400987).
10083 2007-01-26 Wim Taymans <wim@fluendo.com>
10085 * gst/gstcaps.c: (gst_static_caps_get):
10086 Init caps flags too.
10088 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10090 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10092 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10093 If not using mmap'ed files try to seek to the end instead of the
10094 start to determine whether we can seek at all. This fixes the case
10095 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10096 seeks for everything afterwards fail. Fixes #400656
10098 2007-01-25 Wim Taymans <wim@fluendo.com>
10100 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10101 Add some refcount debugging.
10102 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10103 in multiple streaming threads.
10105 2007-01-25 Wim Taymans <wim@fluendo.com>
10107 Patch by: David Schleef <ds at schleef dot org>
10109 * docs/libs/gstreamer-libs-sections.txt:
10110 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10111 * libs/gst/base/gstadapter.h:
10112 API: gst_adapter_copy() that can reduce the amount of memcpy when
10113 getting data from the adapter. Fixes #388201.
10115 2007-01-25 Edward Hervey <edward@fluendo.com>
10117 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10118 In print statements, "%x" is for guint. Fixes build on macosx.
10120 2007-01-24 Edward Hervey <edward@fluendo.com>
10122 * plugins/elements/gstmultiqueue.c:
10123 (gst_multi_queue_loop):
10125 (single_queue_overrun_cb), (single_queue_underrun_cb),
10126 (single_queue_check_full), (gst_single_queue_new):
10127 Implement single queue growth system.
10128 This uses the extra-size properties, and will grow single queues by
10129 that much if one goes full whereas there are others empty. This is
10130 called extra-mode in the code.
10131 When a single queue's levels go back below the initial max-size
10132 limits, it is no longer in extra-mode. This is to ensure we don't
10133 consume too much memory.
10136 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10138 * gst/gst.c: (gst_init_get_option_group):
10139 Make warning about late g_thread_init() calls a bit more explicit,
10140 so that it's more obvious to application developers what they need
10141 to do if a user files a bug against their application.
10143 2007-01-22 Edward Hervey <edward@fluendo.com>
10145 * plugins/elements/gstmultiqueue.c:
10146 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10147 Remove previous hack of unsetting the flushing flag for the source pad
10148 instead of activating it. Instead, fix the source pad activate function
10149 so that it no longer depends on having a parent set or not.
10151 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10153 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10155 * docs/manual/basics-bus.xml:
10156 Fix example code, gst_element_unref() doesn't exist any longer.
10158 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10160 Patch by: Mark Nauwelaerts <manauw at skynet be>
10163 Fix two docs typoes (#399094).
10165 2007-01-19 Edward Hervey <edward@fluendo.com>
10167 * docs/faq/gst-uninstalled:
10168 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10169 depending on libgstbaseutils can work in uninstalled environment.
10171 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10173 * gst/gsttaglist.h:
10174 * gst/gsttagsetter.c:
10175 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10176 statement for new tag.
10178 2007-01-17 Edward Hervey <edward@fluendo.com>
10180 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10181 When dynamically creating single queues, activate sinkpad before adding
10183 We should be doing the same thing for the source pad, but we can't
10184 since it would call a method which needs the parent to be set in order
10185 to work propertly. Instead of activating the source pad, we just unset
10186 the flushing flag, which is the minimal requirement for adding a pad
10187 to an element in a state greater than READY.
10189 2007-01-17 Edward Hervey <edward@fluendo.com>
10191 * docs/faq/gst-uninstalled:
10192 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10195 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10197 * tests/check/gst/gstabi.c:
10198 * tests/check/gst/struct_hppa.h:
10199 * tests/check/libs/libsabi.c:
10200 * tests/check/libs/struct_hppa.h:
10201 Add ABI structs for HPPA (see #393796).
10203 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10205 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10206 Actually write ABI structs to the file specified in the GST_ABI
10207 environment variable, as the message we print claims we would.
10209 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10211 * tests/check/gst/gsttask.c:
10212 Fix header comment.
10214 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10216 * gst/gsttaglist.c: (_gst_tag_initialize):
10217 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10218 previous two entries.
10220 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10222 * docs/gst/gstreamer-sections.txt:
10223 * gst/gsttaglist.c: (_gst_tag_initialize):
10224 * gst/gsttaglist.h:
10225 Add tag support for beat-per-minute.
10227 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10229 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10230 (gst_registry_binary_initialize_magic),
10231 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10232 (gst_registry_binary_save_pad_template),
10233 (gst_registry_binary_save_feature),
10234 (gst_registry_binary_save_plugin),
10235 (gst_registry_binary_write_cache),
10236 (gst_registry_binary_check_magic),
10237 (gst_registry_binary_load_pad_template),
10238 (gst_registry_binary_load_feature),
10239 (gst_registry_binary_load_plugin),
10240 (gst_registry_binary_read_cache):
10241 * gst/gstregistrybinary.h:
10242 Use glib types, cleanup comments, impement interfaces and uri-types.
10244 2007-01-13 Andy Wingo <wingo@pobox.com>
10246 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10247 getrange() to return buffers with other caps, while we fix
10248 demuxers and typefind, or otherwise change part-negotiation.txt.
10250 2007-01-12 Andy Wingo <wingo@pobox.com>
10252 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10253 Factor start/stop into this private function instead of partially
10254 in activate functions and partially in the change_state function.
10255 Fixes setup before the element has changed from READY->PAUSED, as
10256 is the case in pull-mode pipelines.
10257 (gst_base_transform_sink_activate_push)
10258 (gst_base_transform_src_activate_pull): Refactor to use
10259 gst_base_transform_activate().
10260 (gst_base_transform_change_state): Removed, not needed any more.
10262 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10263 Truncate before fixating.
10265 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10266 Don't set_caps() if the result of fixating is ANY, as it's not
10267 supported, and not necessary in the case of a link with no
10268 template caps on either side. Fixes tests/check/libs/basesrc in
10269 some pull-mode tests.
10271 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10272 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10273 (gst_base_transform_src_activate_pull):
10274 Track the activation mode.
10275 (gst_base_transform_setcaps): In pull mode, when activating the
10276 src pad, after activating the sink pad, activate the sink pad's
10277 peer, as discussed in part-negotiation.txt.
10279 * libs/gst/base/gstbasesrc.h:
10280 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10281 vmethod, as in basesink.
10283 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10285 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10286 mode, first proxy the setcaps to the peer pad.
10287 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10288 new fixate vmethod.
10289 (gst_base_sink_default_activate_pull): Rename from
10290 gst_base_sink_activate_pull.
10291 (gst_base_sink_negotiate_pull): New function, performs negotiation
10292 in pull mode before calling ::activate_pull().
10293 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10294 vmethod instead of the default implementation. I have no idea how
10295 this worked before. Negotiate before calling activate_pull.
10297 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10298 sink pads in pull mode. In addition to being correct, fixes
10299 filesrc ! decodebin ! identity ! fakesink.
10300 (gst_pad_get_range, gst_pad_pull_range): Don't call
10301 gst_pad_set_caps() if the caps changes; instead error out with
10302 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10304 2007-01-12 Andy Wingo <wingo@pobox.com>
10306 * docs/design/part-negotiation.txt: Update with more policy.
10308 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10310 * libs/gst/check/gstbufferstraw.h:
10311 * libs/gst/check/gstcheck.h:
10312 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10315 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10317 * tests/check/Makefile.am:
10318 * tests/check/gst/.cvsignore:
10319 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10320 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10321 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10322 (GST_START_TEST), (gst_tag_setter_suite):
10323 Add minimal unit test for beforementioned GstTagSetter bug.
10325 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10327 Patch by: René Stadler <mail at renestadler dot de>
10329 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10330 gst_tag_list_merge() returns a new list, so it's not the best idea
10331 to ingore its return value. Effectively meant that tags could only
10332 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10333 Also add function guard to require a non-NULL taglist as input (has
10334 always been so due to gst_tag_list_copy(), just making it explicit).
10336 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10338 * docs/random/draft-missing-plugins.txt:
10339 Some additions: mention new API that is supposed to be used at the
10340 various stages; short blob about new gst-inspect introspection
10341 option; mention potential future problem with plugins that have
10342 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10344 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10346 * tools/gst-inspect.c:
10347 (print_plugin_automatic_install_info_codecs),
10348 (print_plugin_automatic_install_info_protocols),
10349 (print_plugin_automatic_install_info), (main):
10350 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10351 introspect plugin files and get machine-parsable output that corresponds
10352 to the last bit of the missing-plugin installer string (small gotcha:
10353 doesn't take into account ranks).
10355 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10358 * docs/gst/gstreamer-sections.txt:
10360 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10361 (gst_registry_lookup_locked):
10362 * gst/gstregistry.h:
10363 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10364 (gst_registry_binary_initialize_magic),
10365 (gst_registry_binary_save_string),
10366 (gst_registry_binary_save_pad_template),
10367 (gst_registry_binary_save_feature),
10368 (gst_registry_binary_save_plugin),
10369 (gst_registry_binary_write_cache),
10370 (gst_registry_binary_check_magic),
10371 (gst_registry_binary_load_pad_template),
10372 (gst_registry_binary_load_feature),
10373 (gst_registry_binary_load_plugin),
10374 (gst_registry_binary_read_cache):
10375 * gst/gstregistrybinary.h:
10376 * gst/gstregistryxml.c: (load_feature),
10377 (gst_registry_xml_read_cache):
10378 commit binary registry (disabled by default, see #359653)
10380 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10382 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10383 Fix 'make check' too.
10385 2007-01-10 Andy Wingo <wingo@pobox.com>
10387 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10390 * docs/design/part-negotiation.txt: Update with, um, one way that
10391 pull-mode negotiation might work?
10394 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10395 that the pad must be a src pad; makes sense to call it the other
10396 way in pull mode, and the logic is symmetric anyway.
10398 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10400 * plugins/elements/gstfilesink.c:
10401 Include <stdio.h> for fseeko().
10403 2007-01-10 Wim Taymans <wim@fluendo.com>
10407 Reserve LATENCY event.
10409 2007-01-09 Wim Taymans <wim@fluendo.com>
10411 * docs/design/draft-latency.txt:
10414 2007-01-09 Wim Taymans <wim@fluendo.com>
10416 * docs/design/draft-latency.txt:
10419 * gst/gstelement.h:
10420 * gst/gststructure.c:
10424 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10426 * tests/check/.cvsignore:
10427 Ignore test-registry.xml as well.
10429 2007-01-09 Wim Taymans <wim@fluendo.com>
10431 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10432 unref data at the end when we are done with the pad.
10434 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10436 * docs/gst/gstreamer-sections.txt:
10437 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10438 (init_post), (gst_deinit), (gst_update_registry):
10440 API: add gst_update_registry() (#391296).
10442 * tests/check/Makefile.am:
10443 * tests/check/gst/gstregistry.c:
10444 * tests/check/gst/.cvsignore:
10445 Simple unit test for the above.
10447 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10449 * gst/gstregistry.c: (gst_registry_scan_path_level):
10450 Plugin extension on HP-UX is .sl, add that to the list of approved
10451 plugin extensions (see #393796).
10453 * tests/check/gst/gstpad.c: (GST_START_TEST):
10454 ulong => gulong. Fixes compilation with HP-UX compiler.
10456 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10457 Fix compilation if valgrind headers are not available.
10459 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10461 * win32/common/libgstreamer.def:
10462 Add new exported function.
10463 * win32/vs6/libgstbase.dsp:
10464 Add gstdataqueue.c to the build.
10465 * win32/vs6/libgstcoreelements.dsp:
10466 Add gstmultiqueue.c to the build.
10468 2007-01-06 Andy Wingo <wingo@pobox.com>
10470 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10471 activate_pull(), providing for a way to specialize the process of
10472 spawning a thread to pull on the sink pad. There is a default
10475 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10476 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10477 (gst_base_sink_init): Renamed pad activation functions (inserting
10478 "_pad" in their names). Refactor to use the new activate_pull
10479 vmethod, as appropriate.
10480 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10481 default activate_pull function to start a task pulling from the
10482 sink pad, as before.
10484 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10485 on the pads if necessary, as in push()/chain(). Update docs.
10486 Shouldn't affect existing pull() usage as it is currently only
10487 being used on buffers without caps.
10489 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10491 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10493 Call g_thread_init() first thing in gst_init() / gst_check_init().
10494 When initialisation is done via gst_init_get_option_group() and
10495 GOption parsing, issue a warning if the GLib thread system has not
10496 been initialised yet by the time gst_init_get_option_group() is
10497 called, as it's quite likely other GLib functions such as
10498 g_option_context_new() have been called already then, and
10499 g_thread_init() must be called before any other GLib function. The
10500 application in question must be fixed in that case, since memory
10501 corruption might happen otherwise.
10502 We issue the warning because even if the GLib folks decide to work
10503 around the problem on their end in future, this is still an issue
10504 with all GLib versions >= 2.10.0, so we should warn until we depend
10505 on a GLib version we know to be safe.
10506 Update documentation as well.
10507 Closes bug #391278.
10509 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10511 * tools/gst-inspect.c: (main):
10512 * tools/gst-launch.c: (main):
10513 * tools/gst-typefind.c: (main):
10514 * tools/gst-xmlinspect.c: (main):
10515 Call g_thread_init() really really early, before any other GLib
10516 function (see #342564 and recent discussion on gtk-devel-list).
10518 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10520 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10522 * gst/gst_private.h:
10523 * gst/gstconfig.h.in:
10525 On win32, all the __declspec stuff for symbol exporting is
10526 apparently only needed with MSVC, but doesn't work with MingW.
10527 Fixes compilation with MingW and #391909.
10529 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10531 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10532 Change some GST_ERROR_OBJECT that aren't really errors to
10533 GST_WARNING_OBJECT in order to reduce terminal spam.
10535 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10537 * tests/check/Makefile.am:
10538 disable test again, as there seem to be still race problems
10540 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10542 * tests/check/Makefile.am:
10543 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10544 (GST_START_TEST), (queue_suite):
10545 enable queue test again, add tests for the leaky behaviour
10547 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10550 * tests/examples/Makefile.am:
10551 Compile adapter test/example only if the required headers are
10552 available (fixes #391915).
10554 2007-01-01 David Schleef <ds@schleef.org>
10557 Restore the previous signal handler for SIGSEGV instead of
10558 setting to default, since we may have stolen it away from
10559 someone. (i.e., Mono)
10561 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10563 * docs/random/draft-missing-plugins.txt:
10564 Some small additions and clarifications.
10566 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10568 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10569 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10570 since that can lead to random memory corruptions and crashes
10571 (may or may not be related to #383244, #386711, and #386711).
10573 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10575 * tests/check/.cvsignore:
10576 * tests/check/Makefile.am:
10577 sync .cvsignome and CLEANFILES
10579 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10581 * tests/check/Makefile.am:
10584 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10586 * docs/design/part-states.txt:
10587 two tiny additional comments
10589 * gst/gststructure.c:
10592 * tests/check/Makefile.am:
10593 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10595 disable test for now, unless it gets fixed
10597 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10599 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10601 fix race in underrun test
10603 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10605 * tests/check/elements/.cvsignore:
10608 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10610 try to narrow test failure
10612 2006-12-21 David Schleef <ds@schleef.org>
10614 * plugins/elements/gstfakesrc.c:
10615 Use g_random_int_range(), since it produces better random
10616 numbers in a range than almost-correct floating point code.
10618 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10620 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10621 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10622 (gst_check_teardown_sink_pad):
10623 do not automatically (de)activate pads
10625 * tests/check/Makefile.am:
10626 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10627 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10628 add new, yet simple tests for queue
10630 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10631 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10632 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10634 * tests/check/elements/identity.c: (cleanup_identity):
10635 consistent pad (de)activation
10637 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10639 Patch by: Sebastian Dröge <slomo ubuntu com>
10641 * libs/gst/base/gstcollectpads.c:
10642 Fix two doc typos (#387866).
10644 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10646 * docs/manual/advanced-dparams.xml:
10647 Fix typo (g_object_control_properties() doesn't exist).
10649 2006-12-19 Edward Hervey <edward@fluendo.com>
10651 * gst/gstsegment.c: (gst_segment_set_seek):
10652 Fine tune the cases where the segment start/stop values are really
10654 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10655 Add tests for the return values of gst_segment_set_seek().
10657 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10662 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10664 Fix incorrect documentation and flesh it out a bit more.
10665 Set default values for the max properties on the GParamSpec as well,
10666 so it shows up correctly in gst-inspect.
10668 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10670 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10671 Correct docs of queue, add more detail and crosslink it more.
10673 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10675 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10676 Print additional debug info when the stream isn't perfectly
10677 timestamped; don't try to use invalid durations.
10679 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10681 * docs/design/Makefile.am:
10682 Dist new design docs.
10684 2006-12-16 Wim Taymans <wim@fluendo.com>
10686 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10688 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10689 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10690 (gst_collect_pads_stop), (gst_collect_pads_event),
10691 (gst_collect_pads_chain):
10692 * libs/gst/base/gstcollectpads.h:
10693 Add refcounting to the collectpads data so we can track when it's safe
10694 to free the data. Fixes #383382.
10696 2006-12-15 Wim Taymans <wim@fluendo.com>
10698 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10699 (gst_collect_pads_remove_pad):
10700 Automatically activate/deactivate pads when they are added to a
10701 started/stoped collectpads.
10703 2006-12-15 Wim Taymans <wim@fluendo.com>
10705 * gst/gstelement.c: (gst_element_add_pad):
10706 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10707 * gst/gstpad.c: (gst_pad_init):
10708 Set pads to FLUSHING when they are created. Check, warn and fix when a
10709 demuxer adds an inactive pad to itself when running. Fixes #339326.
10711 2006-12-15 Wim Taymans <wim@fluendo.com>
10713 * gst/gstelement.c: (gst_element_class_init),
10714 (gst_element_default_send_event), (gst_element_send_event),
10715 (gst_element_default_query), (gst_element_query):
10716 Expose default element send_event and query handling as vmethods that
10717 subclasses can chain up to.
10719 2006-12-15 Wim Taymans <wim@fluendo.com>
10721 * gst/gstelement.c: (gst_element_set_state_func):
10722 Small documentation fixes.
10724 2006-12-15 Wim Taymans <wim@fluendo.com>
10726 * docs/design/draft-latency.txt:
10727 Checked in draft for handling latency in pipelines.
10729 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10733 * gstreamer.spec.in:
10736 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10738 * gst/gst.c: (init_pre), (init_post):
10739 init_pre() and init_post() might be called via our GOptionGroup or
10740 from gst_init(), and we should skip both of them if we've already
10741 been initialised, otherwise we will init some things twice or add
10742 two default log functions.
10744 2006-12-13 Edward Hervey <edward@fluendo.com>
10746 * docs/manual/basics-bus.xml:
10747 No, gst_main_loop does not exist. Its g_main_loop.
10748 Discovered by somebody who abused the copy-paste technique of coding :)
10750 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
10752 * gst/gstghostpad.c:
10753 Log ghostpad debug stuff to the GST_PADS category as well rather
10754 than just to the default category.
10756 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
10759 * gst/gst.c: (init_pre):
10760 Add some basic system details such as OS and architecture
10761 to the debug output if possible, courtesy of uname().
10763 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10765 * docs/gst/running.xml:
10766 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10767 environment variables.
10769 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10771 * tests/check/gst/gstbin.c: (GST_START_TEST):
10772 It is acceptable to have a refcount of 2 or 3 at this point in the
10773 test, because the pipeline might be just posting its state_change
10774 message. The next line then waits for that message to appear using
10775 bus_poll, so that should be fine too.
10777 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10779 * gst/gst.c: (ensure_current_registry_forking):
10780 Ignore EINTR when reading from the child registry pipe.
10781 Explicitly ignore the return value from close, since it makes no
10784 * gst/gstminiobject.c: (gst_mini_object_ref),
10785 (gst_mini_object_unref):
10786 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10788 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10789 When removing cached plugins, remove their features too, so they're
10790 not visible after they've disappeared.
10792 * gst/gstutils.c: (prepare_link_maybe_ghosting):
10793 In the unlikely case that we are linking pads with no parents, don't
10794 crash trying to get the non-existent parent bin.
10796 * gst/parse/grammar.y:
10797 Output debug in the PIPELINE category
10799 2005-03-08 Wim Taymans <wim@fluendo.com>
10801 Patch by: René Stadler <mail at renestadler dot de>
10803 * gst/gstclock.c: (gst_clock_new_periodic_id):
10804 Reject invalid clock times for interval of periodic ids.
10807 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10809 * gst/gstelementfactory.c: (gst_element_factory_create):
10810 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10811 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10812 * tools/gst-inspect.c: (print_element_info):
10813 Fix refcounting of gst_plugin_feature_load to match the docs.
10816 2006-12-07 Wim Taymans <wim@fluendo.com>
10818 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10819 (gst_base_sink_get_position):
10820 Improve debugging of events.
10822 2006-12-07 Wim Taymans <wim@fluendo.com>
10824 Patch by: René Stadler <mail at renestadler dot de>
10826 * gst/gstclock.c: (gst_clock_id_wait):
10827 Make period ids add the interval to the origial requested time instead
10828 of the possibly updated time which can be wrong when there are multiple
10829 waiters for the same id. Fixes #382592.
10831 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10832 (gst_system_clock_id_wait_jitter_unlocked),
10833 (gst_system_clock_id_wait_jitter):
10834 Fix restart in the async notify thread when an async entry is added to
10835 the front of the list. Fixes #381492.
10837 * tests/check/gst/gstsystemclock.c: (store_callback),
10838 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10839 Added test for multiple async waits.
10840 Added test for async wait order.
10842 2006-12-07 Wim Taymans <wim@fluendo.com>
10844 * gst/gstbin.c: (gst_bin_query):
10845 Add some more docs about the POSITION query.
10847 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10850 Bump version nano - back to CVS.
10852 === release 0.10.11 ===
10854 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
10857 releasing 0.10.11, "Love never runs on time"
10859 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
10861 * win32/common/libgstbase.def:
10862 * win32/common/libgstreamer.def:
10863 * win32/vs8/libgstbase.vcproj:
10864 * win32/vs8/libgstcoreelements.vcproj:
10865 * win32/vs8/libgstreamer.vcproj:
10866 Fix compilation on win32 under VS8
10867 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10868 Partially fixes #381175
10870 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10872 * gst/gstvalue.c: (gst_value_compare_fraction):
10873 If someone is foolish enough to compare 2 fractions with denominator =
10874 0, return UNORDERED rather than aborting.
10876 2006-11-28 Edward Hervey <edward@fluendo.com>
10878 * libs/gst/base/Makefile.am:
10879 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
10880 (gst_data_queue_base_init), (gst_data_queue_class_init),
10881 (gst_data_queue_init), (gst_data_queue_new),
10882 (gst_data_queue_cleanup), (gst_data_queue_finalize),
10883 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
10884 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
10885 (gst_data_queue_is_empty), (gst_data_queue_is_full),
10886 (gst_data_queue_set_flushing), (gst_data_queue_push),
10887 (gst_data_queue_pop), (gst_data_queue_drop_head),
10888 (gst_data_queue_set_property), (gst_data_queue_get_property):
10889 * libs/gst/base/gstdataqueue.h:
10890 New GstDataQueue object for threadsafe queueing. Most useful for
10891 elements that need some queueing functionnality.
10892 * docs/libs/gstreamer-libs-docs.sgml:
10893 * docs/libs/gstreamer-libs-sections.txt:
10894 Insert documentation for GstDataQueue
10895 * plugins/elements/Makefile.am:
10896 * plugins/elements/gstelements.c:
10897 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10898 (gst_multi_queue_class_init), (gst_multi_queue_init),
10899 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10900 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10901 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10902 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10903 (gst_multi_queue_loop), (gst_multi_queue_chain),
10904 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
10905 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
10906 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
10907 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
10908 (wake_up_next_non_linked), (compute_next_non_linked),
10909 (single_queue_overrun_cb), (single_queue_underrun_cb),
10910 (single_queue_check_full), (gst_single_queue_new):
10911 * plugins/elements/gstmultiqueue.h:
10912 New multiqueue element, using GstDataQueue. Used for queuing multiple
10914 Closes #344639 and #347785
10916 2006-11-22 Stefan Kost <ensonic@users.sf.net>
10918 * docs/pwg/advanced-types.xml:
10919 add more missing type details
10921 * tools/gst-run.c: (main):
10922 remove unused variable
10924 2006-11-21 Stefan Kost <ensonic@users.sf.net>
10926 * docs/libs/Makefile.am:
10927 * docs/libs/gstreamer-libs.types:
10928 add types of base classes to enable gobject specific stuff in the docs
10930 * docs/random/ensonic/embedded.txt:
10931 more ideas about isolating platform specific things
10933 2006-11-20 Wim Taymans <wim@fluendo.com>
10935 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
10937 * libs/gst/check/gstcheck.h:
10938 Fix compilation and running against 0.9.4. Fixes #377332.
10940 2006-11-20 Wim Taymans <wim@fluendo.com>
10942 * gst/gstsegment.c: (gst_segment_set_seek),
10943 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10944 (gst_segment_to_running_time):
10945 Fix boundary checking in to_running_time() and to_stream_time().
10948 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10949 stream and running time can now be calculated for the complete
10952 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
10954 * gst/gstpad.c: (gst_pad_push_event):
10955 Can't access event structure after giving away ownership of
10958 2006-11-15 Stefan Kost <ensonic@users.sf.net>
10960 * docs/random/ensonic/embedded.txt:
10961 * docs/random/ensonic/profiling.txt:
10962 * docs/random/ensonic/receipies.txt:
10965 2006-11-13 Wim Taymans <wim@fluendo.com>
10967 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10970 Fix documentation for gst_pad_dispatcher. Fixes #374475.
10972 2006-11-13 Wim Taymans <wim@fluendo.com>
10974 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
10976 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10977 Store new length in segment duration so we don't keep on calling the
10978 potentially expensize get_size() call. Fixes #370865.
10980 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
10982 Patch by: Sergey Scobich <sergey.scobich at gmail com>
10984 * win32/common/libgstreamer.def:
10985 Add two missing symbols (#366492).
10987 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
10989 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
10990 (gst_adapter_take_buffer):
10991 Fix format string to use all its arguments.
10992 Remove useless >= check on a guint
10994 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
10996 * tests/examples/adapter/.cvsignore:
10997 Ignore build file as commanded by the build-bot
10999 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11001 * tests/examples/adapter/Makefile.am:
11002 * tests/examples/adapter/adapter_test.c: (run_test_take),
11003 (run_test_take_buffer), (run_tests), (main):
11005 Add new files from the previous commit
11007 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11011 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11012 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11013 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11014 * libs/gst/base/gstadapter.h:
11015 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11016 (GST_START_TEST), (gst_adapter_suite):
11017 * tests/examples/Makefile.am:
11018 Do some optimisation work in GstAdapter to avoid copies in more cases.
11019 It could still do slightly better by merging buffers when
11020 gst_buffer_is_span_fast is true, but is already faster.
11022 Also, avoid traversing a single-linked list to append each incoming
11023 buffer inside the adapter.
11025 Add simple test app that times the adapter behaviour in different
11026 situations, and extend the unit test to check that bytes enter and
11027 exit the adapter in their original order.
11029 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11031 * docs/random/draft-missing-plugins.txt:
11032 Update: use element message instead of adding a new message
11033 type to the core; don't provide GStreamer API to initiate the
11034 plugin download, just provide API to compose the strings needed
11035 and let an external libgimmestuff handle the rest.
11037 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11039 * tools/gst-inspect.c: (print_element_properties_info):
11040 Print a string instead of 'unknown type' for GValueArray properties
11042 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11044 * docs/random/draft-missing-plugins.txt:
11047 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11049 * tests/examples/typefind/typefind.c: (type_found), (main):
11050 Make typefind element example work again (#371894); add a
11053 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11055 * docs/random/draft-missing-plugins.txt:
11056 Commit initial draft about how to deal with missing plugins,
11057 needs work (API too).
11059 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11061 * docs/pwg/advanced-types.xml:
11062 documents the new caps elements (see #363118)
11064 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11066 * gst/gstplugin.c: (gst_plugin_load_file):
11067 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11068 (gst_file_src_map_region), (gst_file_src_start):
11069 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11070 (gst_file_index_commit):
11071 Use g_strerror() instead of strerror() - we want UTF-8.
11073 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11075 Patch by: Peter Kjellerstedt <pkj at axis com>
11077 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11078 Another printf fix (#371493).
11080 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11082 * tests/check/gst/gsttag.c:
11083 relicence (okay with author=company)
11085 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11087 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11088 (gst_pad_push_event):
11089 Enhance debug and improve docs
11094 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11096 * docs/random/ensonic/distributed.txt:
11097 * docs/random/ensonic/profiling.txt:
11100 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11102 * docs/gst/gstreamer-sections.txt:
11103 add new API and fix the build
11105 * gst/gstbin.c: (gst_bin_recalc_state):
11106 * gst/gstelement.c: (gst_element_message_full),
11107 (gst_element_get_state_func), (gst_element_set_state_func):
11108 use new API and improve logging
11110 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11112 API: add function to get StateChangereturn names to improve logs
11114 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11116 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11117 I'm considering shooting the next person to put strerror stuff
11118 in the translateable part of the message.
11120 2006-11-03 Wim Taymans <wim@fluendo.com>
11122 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11123 Get the type and printf conversion specifiers right.
11125 2006-11-03 Wim Taymans <wim@fluendo.com>
11127 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11129 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11130 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11131 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11132 Some small cleanups. Improve debugging.
11134 Signal all waiting threads with a broadcast instead of just one.
11137 2006-11-03 Wim Taymans <wim@fluendo.com>
11139 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11140 (gst_fd_src_create):
11141 Add some debugging.
11142 Only update fd when it's different from the old.
11144 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11146 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11147 Printf fixes for PPC/OSX, take two (#369366).
11149 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11151 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11153 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11154 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11155 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11156 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11157 don't cast to long long for portability reasons, but use
11158 GLib's types instead.
11160 2006-10-30 Michael Smith <msmith@fluendo.com>
11162 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11163 Get the arguments to lseek() the right way around.
11166 2006-10-30 Wim Taymans <wim@fluendo.com>
11168 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11171 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11173 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11175 Patch by: Kjartan Maraas <kmaraas at gnome org>
11177 * docs/design/part-MT-refcounting.txt:
11178 * docs/random/wtay/capsnego2-docs:
11181 Typo fixes (#366212).
11183 2006-10-28 Wim Taymans <wim@fluendo.com>
11185 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11188 * win32/common/libgstbase.def:
11189 * win32/common/libgstreamer.def:
11190 * win32/vs8/libgstbase.vcproj:
11191 * win32/vs8/libgstcontroller.vcproj:
11192 Add needed entries in .def files.
11194 Rearrange def files in vs8 solutions. Fixes #366286.
11196 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11198 * win32/common/gstconfig.h:
11199 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11200 hand-made win32 gstconfig.h. Fixes #366321.
11202 2006-10-27 Wim Taymans <wim@fluendo.com>
11204 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11205 (gst_ghost_pad_new_full):
11206 Make acceptcaps return TRUE when we don't have a target, just like
11209 2006-10-27 Wim Taymans <wim@fluendo.com>
11211 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11212 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11214 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11216 * gst/gststructure.c: (gst_structure_id_set_value):
11217 If someone tries to set a non-UTF8 string field on a structure,
11218 don't just print a warning, but also ignore the request and do
11219 not change/add that field to the structure.
11221 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11222 Test for the above.
11224 2006-10-25 David Schleef <ds@schleef.org>
11227 g_hash_table_insert() needs a cast to a non-const pointer duh.
11229 2006-10-25 David Schleef <ds@schleef.org>
11233 Change name parameter of _gst_debug_register_funcptr to const
11234 to reflect the constness of its use in the function as well
11235 as to quiet a gcc warning.
11237 2006-10-25 Edward Hervey <edward@fluendo.com>
11239 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11240 Don't push the buffer if it's empty.
11243 2006-10-24 Wim Taymans <wim@fluendo.com>
11248 * libs/gst/base/gstbasetransform.c:
11249 (gst_base_transform_sink_eventfunc):
11250 Debug segment values *after* updating them as this is more
11253 2006-10-23 Wim Taymans <wim@fluendo.com>
11255 * docs/design/part-events.txt:
11258 * docs/design/part-block.txt:
11259 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11260 (gst_pad_push_event):
11261 Revert BLOCKING patch, it tries to be smart without really having a
11262 clear idea what or how. So, now we discard all FLUSHING events again on
11263 a blocking pad. Should fix gnonlin again.
11265 2006-10-23 Wim Taymans <wim@fluendo.com>
11267 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11269 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11270 (gst_base_src_start), (gst_base_src_activate_push):
11271 Make sure size is always initialized. Fixes #364388.
11273 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11275 * docs/random/ensonic/distributed.txt:
11276 add some ideas about doing distributed processing
11278 * docs/random/ensonic/profiling.txt:
11279 get_rusage look promising
11281 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11283 * docs/manual/basics-helloworld.xml:
11284 Add a cast in example to fix compile warning
11286 2006-10-18 Wim Taymans <wim@fluendo.com>
11288 * gst/gstsegment.c: (gst_segment_set_last_stop),
11289 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11290 Relax arg checking again, -1 is allowed.
11292 2006-10-18 Wim Taymans <wim@fluendo.com>
11294 * gst/gstsegment.c: (gst_segment_set_last_stop),
11295 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11296 _set_last_stop() must be with a value != -1
11297 A _TYPE_SET to -1 means seek to 0.
11298 Calc last_stop correctly for negative rates.
11299 Make sure we work with positive durations when updating a segment.
11301 2006-10-18 Wim Taymans <wim@fluendo.com>
11303 * docs/design/part-live-source.txt:
11307 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11310 Add an explicit cast to GstBuffer** to keep old code that added an
11311 explicit cast to GstMiniObject** for gst_mini_object_replace()
11312 compiling without warning.
11314 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11316 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11317 check for validity of dates
11319 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11321 * docs/gst/gstreamer-sections.txt:
11322 Forgot this one, makes gtk-doc shut up.
11324 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11326 Patch by: Peter Kjellerstedt <pkj at axis com>
11329 Don't define xmlNodePtr to gpointer if the core was built with
11330 --disable-loadsave and --disable-registry, this will break
11331 applications that want to use libxml2 but are buildling against a
11332 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11333 instead so we don't have to mess with the libxml2 namespace
11336 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11339 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11340 type-punned pointer warnings.
11342 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11344 * gst/gstelement.h:
11345 Add casts to the correct return type to state <=> state transition
11348 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11350 * docs/design/part-live-source.txt:
11351 describe howto handle latency
11353 * docs/random/ensonic/profiling.txt:
11356 * tools/gst-plot-timeline.py:
11357 fix log parsing for solaris, remove unused function
11359 2006-10-16 Wim Taymans <wim@fluendo.com>
11361 * docs/design/part-trickmodes.txt:
11363 Update some docs regarding reverse playback.
11365 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11367 Patch by: Marcus Granado <mrc dot gran at gmail com>
11369 * win32/vs8/grammar.vcproj:
11370 Error out with a warning if glib-genmarshal.exe is not in path,
11371 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11373 2006-10-13 Wim Taymans <wim@fluendo.com>
11375 * gst/gstsegment.c: (gst_segment_set_seek):
11376 When seeking to stop -1, set last_stop (current position) to the
11377 duration of the segment.
11379 2006-10-13 Wim Taymans <wim@fluendo.com>
11381 * gst/gstelement.h:
11382 Clarify _NO_PREROLL a bit more.
11387 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11388 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11389 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11390 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11391 due to wrong locking order. Fixes #361769.
11392 Remove some redundant/misplaced checks in pad_block.
11394 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11395 For negative rates, count backwards from the duration.
11397 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11399 * gst/gsterror.c: (_gst_library_errors_init):
11400 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11401 up with something better).
11403 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11405 * win32/vs6/libgstreamer.dsp:
11406 * win32/vs7/libgstreamer.vcproj:
11407 * win32/vs8/libgstreamer.vcproj:
11408 Don't reference glib-compat.c which is currently not used and not
11409 disted; add gstquark.c which was recently added. Fixes #361730.
11411 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11413 * win32/common/libgstbase.def:
11414 * win32/common/libgstcontroller.def:
11415 * win32/common/libgstreamer.def:
11416 Add gst_caps_merge() and a bunch of other recently-added functions.
11419 2006-10-11 Wim Taymans <wim@fluendo.com>
11421 * docs/plugins/gstreamer-plugins.args:
11422 * docs/plugins/inspect/plugin-coreelements.xml:
11423 * docs/plugins/inspect/plugin-coreindexers.xml:
11424 Update element args.
11426 * gst/gstsystemclock.c:
11427 Small comment update.
11429 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11430 (gst_tee_request_new_pad), (gst_tee_release_pad),
11431 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11432 (gst_tee_sink_activate_pull):
11433 * plugins/elements/gsttee.h:
11435 Add default property defines.
11436 Implement release pad function.
11437 Give properties better blubs etc.
11438 Activate pads before adding them to a running tee.
11439 Do simple buffer_alloc on the first requested pad.
11440 Post error when activation fails.
11442 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11444 * gst/gst.c: (ensure_current_registry_forking):
11445 Check return value of write() to make compiler happy.
11447 2006-10-11 Wim Taymans <wim@fluendo.com>
11449 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11451 * plugins/elements/gstqueue.c: (gst_queue_chain):
11452 Recheck queue filledness after signalling the overrun when we're about
11453 to leak downstream because we released the lock when emitting the signal
11454 and the queue could be empty again. Fixes #352345.
11456 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11458 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11459 Fix refcounting here too, just like we did for _new_valist() a few
11460 days ago (#357180) (thanks to René Stadler). Also remove all those
11461 'Since: 0.9' from the gtk-doc blobs.
11463 * tests/check/libs/controller.c: (controller_refcount_new_list),
11464 (gst_controller_suite):
11465 Unit test for the above.
11467 2006-10-10 Wim Taymans <wim@fluendo.com>
11469 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11471 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11472 (gst_pad_save_thyself):
11474 Write pad direction in XML output. Fixes #345496.
11476 2006-10-10 Wim Taymans <wim@fluendo.com>
11478 Patch by: René Stadler <mail at renestadler dot de>
11480 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11481 (gst_controller_new_list), (_gst_controller_dispose),
11482 (_gst_controller_finalize), (_gst_controller_class_init):
11483 Take ref to controlled object so that it cannot disappear.
11486 2006-10-10 Wim Taymans <wim@fluendo.com>
11488 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11489 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11490 (gst_check_teardown_sink_pad):
11491 Activate/deactivate pads in setup/teardown respectively.
11493 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11495 Patch by: Josep Torra Valles <josep@fluendo.com>
11498 Cast values when making gstenumtypes.h. This pacifies Forte
11499 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11500 in the enumeration.
11502 2006-10-09 Wim Taymans <wim@fluendo.com>
11504 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11505 Rename some more @cur to @start to fix docs.
11507 * gst/gstsegment.c: (gst_segment_set_seek):
11509 time and start must always stay in sync as defined in design doc.
11511 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11512 Rename param to fix docs.
11514 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11515 Check that start and time are in sync.
11517 * tests/check/pipelines/parse-launch.c:
11518 (gst_parse_test_element_change_state):
11519 Activate pad before adding to the element.
11521 2006-10-09 Wim Taymans <wim@fluendo.com>
11523 * docs/design/part-qos.txt:
11528 Update seek event docs regarding negative rates.
11529 Rename @cur to @start.
11531 * gst/gstsegment.c: (gst_segment_set_seek):
11532 * gst/gstsegment.h:
11533 Update set_seek docs regarding negative rates.
11534 Correctly update last_stop to @stop when dealing with negative
11536 Rename @cur to @start.
11538 * tests/check/gst/gstpad.c: (GST_START_TEST):
11539 Activate pads before trying to use them.
11541 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11542 (gst_segment_suite):
11543 Add simple check for segments and negative rates.
11545 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11547 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11548 * gst/gsttaglist.h:
11549 * docs/gst/gstreamer-sections.txt:
11550 API: add gst_tag_list_is_empty() (#360467).
11552 * tests/check/gst/gsttag.c: (GST_START_TEST):
11555 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11557 * gst/gstmessage.h:
11558 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11559 a value that doesn't fit on enumeration.
11561 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11563 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11564 Remove local debugging system and use Gstreamer's instead.
11566 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11568 Patch by: Josep Torra Valles <josep@fluendo.com>
11570 * common/m4/gst-error.m4:
11571 Disable warning of statement not reached on Forte.
11572 * gst/gstmessage.h:
11573 Fix warning on Forte (value doesn't fit on enumeration).
11574 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11575 Fix warning on Forte (value doesn't fit on enumeration).
11576 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11577 DEBUG macro says it takes minimum of 2 args and so Forte
11578 complains about the use with just 1 arg.
11579 * plugins/elements/gstfdsink.c:
11580 * plugins/elements/gstfdsrc.c:
11581 * plugins/elements/gstfilesink.c:
11582 * plugins/elements/gstfilesrc.c:
11583 Use correct return type for the uri handler implementations.
11585 All these fix warnings in Forte. Fixes bug #360860.
11587 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11589 * gst/gstelement.h:
11590 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11591 format string, so don't use G_GNUC_PRINTF for those versions.
11593 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11595 * gst/gsttaglist.c: (gst_is_tag_list):
11596 * gst/gsttaglist.h:
11597 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11599 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11600 Small test for the above.
11602 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11604 * gst/gsttaglist.h:
11605 Less tabs, more spaces.
11607 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11610 Those two function declarations do actually belong there, revert
11611 commit from yesterday that turned them intro macros.
11613 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11615 Patch by: Josep Torra Valles <josep@fluendo.com>
11617 * gst/gst.c: (gst_init_get_option_group):
11618 Fix empty declaration and type mismatch.
11619 * gst/gstbin.c: (gst_bin_change_state_func):
11621 * gst/gstelement.c: (gst_element_continue_state),
11622 (gst_element_set_state_func), (gst_element_change_state),
11623 (gst_element_change_state_func):
11624 Fix type mismatches.
11625 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11626 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11627 Cast as appropriate.
11628 * gst/gstobject.c: (gst_class_signal_connect):
11629 Cast as appropriate. The function pointer parameter really
11630 has the wrong type but would break API if we change it.
11632 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11633 order of including string.h.
11634 * gst/gstutils.c: (gst_element_state_get_name):
11635 Remove unreachable line.
11636 * gst/gstxml.c: (gst_xml_parse_doc):
11638 All these caught by Forte.
11640 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11642 Patch by: Josep Torra Valles <josep@fluendo.com>
11644 * common/m4/gst-error.m4:
11646 We need to disable warnings on Forte for empty declarations
11647 due to gst-indent adding ;s to lines that just use macros
11648 where the macro actually doesn't need a ; at end to end
11651 2006-10-06 Wim Taymans <wim@fluendo.com>
11653 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11654 (gst_file_sink_close_file), (gst_file_sink_event),
11655 (gst_file_sink_render):
11656 Add some FIXME for the NEWSEGMENT handling.
11658 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11660 * gst/parse/grammar.y:
11661 Remove static function gst_parse_element_lock as all it does
11662 is return. Looks like cruft from 0.8.
11664 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11666 Patch by: Josep Torra Valles <josep@fluendo.com>
11668 * common/m4/gst-error.m4:
11670 * libs/gst/net/Makefile.am:
11671 Fix a compilation issue with Forte on Solaris. inet_aton is in
11674 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11676 * gst/gstpad.c: (pre_activate):
11677 * gst/gstregistry.c: (gst_registry_scan_path_level):
11678 * gst/gstregistryxml.c: (load_plugin):
11679 * libs/gst/controller/gstcontroller.c:
11680 (gst_controlled_property_set_interpolation_mode):
11681 * libs/gst/dataprotocol/dataprotocol.c:
11682 (gst_dp_packet_from_event_1_0):
11683 * libs/gst/net/gstnetclientclock.c:
11684 (gst_net_client_clock_observe_times):
11685 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11688 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11691 * docs/gst/gstreamer-sections.txt:
11692 * gst/gstconfig.h.in:
11693 * gst/gstelement.h:
11695 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11696 whether we can use G_GNUC_PRINTF in other header files and at
11697 least check the printf format/arguments of debug messages and
11698 GST_ELEMENT_ERROR messages when the printf extension is not
11700 Replace more tabs with spaces in gstinfo.h and remove two spurious
11701 function declarations in GST_DISABLE_DEBUG part with macros.
11703 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11705 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11706 More docs for the sync-message signal (mention that it is not
11707 emitted by default); log message structures of messages posted on
11710 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11712 * gst/gst.c: (ensure_current_registry_forking):
11713 Use a pipe pair to receive status results from the forked child, and
11714 ignore the result from waitpid. Fixes #355499
11716 2006-10-02 Wim Taymans <wim@fluendo.com>
11718 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11719 (gst_ghost_pad_suite):
11722 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11725 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11727 2006-10-02 Edward Hervey <edward@fluendo.com>
11729 * docs/design/part-block.txt:
11730 Further explain the use of flushing on blocked pads.
11731 * docs/gst/gstreamer-sections.txt:
11732 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11733 (gst_pad_push_event):
11735 Added new GstPadFlag : GST_PAD_BLOCKING.
11736 Adds the notion of pads really blocking, which enables to properly
11737 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11739 API: gst_pad_is_blocking()
11740 API: GST_PAD_IS_BLOCKING() macro
11741 API: GST_PAD_BLOCKING GstPadFlag
11743 2006-10-02 Wim Taymans <wim@fluendo.com>
11745 Patch by: mrcgran <mrc.gran at gmail dot com>
11747 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11748 Filter the proxied caps against the padtemplate if we have one.
11750 * gst/gstquery.c: (gst_query_new_segment):
11751 Add include for gstinfo.h so that compilation with
11752 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11754 2006-10-02 Wim Taymans <wim@fluendo.com>
11756 Patch by: Alessandro Decina <alessandro at nnva org>
11758 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11759 (gst_file_sink_set_location), (gst_file_sink_open_file),
11760 (gst_file_sink_close_file), (gst_file_sink_event),
11761 (gst_file_sink_render):
11762 Set file to NULL when closing filesink so that we can set a new filename
11763 in READY. Fixes #358613.
11765 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11767 Patch by: Alessandro Decina <alessandro at nnva org>
11769 * gst/gstevent.c: (_gst_event_copy):
11770 Fix gst_mini_object_make_writable() and gst_event_copy() for events
11771 with event structures by setting the parent refcount address of the
11772 copied structure to the address of the refcount member of the newly
11773 copied event rather than the address of the refcount member of the
11774 original event. Fixes #358737.
11776 * tests/check/gst/gstevent.c: (GST_START_TEST):
11777 Unit test for the above.
11779 2006-09-29 Stefan Kost <ensonic@users.sf.net>
11781 * docs/design/Makefile.am:
11782 Dist some more files.
11784 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11786 * tests/check/libs/controller.c: (GST_START_TEST),
11787 (gst_controller_suite):
11788 Add test for the previous fix; add some more tests
11789 for correct refcounting behaviour; fix a few leaks
11790 in test cases; call gst_controller_init() at start
11793 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11795 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11796 (gst_controller_set_from_list):
11797 Don't g_return_val_if_fail() on timed values with invalid timestamps
11798 inside a critical section without unlocking the mutex. Spotted by
11799 René Stadler. (#357617)
11800 Also, fix up refcounting properly: when returning an existing
11801 controller, we should increase the reference only once and not
11802 once per property and when trying to control a property again
11803 we should also increase the refcount.
11805 2006-09-29 Wim Taymans <wim@fluendo.com>
11807 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11808 * libs/gst/net/gstnettimeprovider.c:
11809 (gst_net_time_provider_thread):
11810 Stop reading commands when EOF as well.
11812 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11813 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11814 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11815 Unify description of the dump property.
11817 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11819 * tests/examples/manual/.cvsignore:
11820 OK, so it's actually cvsignore that needs changing. Stop laughing.
11822 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11824 * tests/examples/manual/Makefile.am:
11825 Gah, declare vars *before* using them
11827 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11829 * gst/gst.c: (init_pre), (scan_and_update_registry),
11830 (ensure_current_registry_nonforking),
11831 (ensure_current_registry_forking), (ensure_current_registry),
11832 (init_post), (gst_debug_help), (gst_deinit):
11833 * gst/gst_private.h:
11834 * gst/gstregistry.c: (gst_registry_finalize),
11835 (gst_registry_remove_features_for_plugin_unlocked),
11836 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11837 (gst_registry_scan_path),
11838 (_priv_gst_registry_remove_cache_plugins),
11839 (_priv_gst_registry_cleanup):
11840 * gst/gstregistry.h:
11841 Re-commit the registry changes, along with an extra fix:
11842 When a cached plugin is encountered at a different file path,
11843 update the stored path in the registry cache so that the parent
11844 process knows where it actually is now when it re-reads the registry
11845 cache. Fixes the thing that broke distcheck with the previous commit.
11847 * tests/check/Makefile.am:
11848 Clean up files named 'core' too when running make clean.
11850 * tests/examples/manual/Makefile.am:
11851 Set up a registry path for running these tests, and clean it properly
11854 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11857 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11858 want gmodule-no-export-2.0.pc instead so that we don't drag in
11859 --export-dynamic on every project that links to GStreamer.
11861 Also, make our export regex only match the start of symbols, rather
11862 than any symbol that contains '_gst' somewhere.
11864 * libs/gst/check/Makefile.am:
11865 The libgstcheck we build does however need export-dynamic, as it
11866 produces some symbols that don't match our _gst... style regex.
11869 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11871 * gst/gst.c: (init_pre), (scan_and_update_registry),
11872 (ensure_current_registry_nonforking),
11873 (ensure_current_registry_forking), (ensure_current_registry),
11874 (init_post), (gst_debug_help), (gst_deinit):
11875 * gst/gst_private.h:
11876 * gst/gstregistry.c: (gst_registry_finalize),
11877 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11878 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
11879 (_gst_registry_cleanup):
11880 * gst/gstregistry.h:
11881 Revert previous change until I figure out why it breaks distcheck.
11883 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11885 * gst/gst.c: (init_pre), (scan_and_update_registry),
11886 (ensure_current_registry_nonforking),
11887 (ensure_current_registry_forking), (ensure_current_registry),
11888 (init_post), (gst_debug_help), (gst_deinit):
11890 Make init_pre and init_post take the full complement of GOptionFunc
11891 args so they can return useful GErrors. Make the registry updating
11894 Call _priv_gst_registry_remove_cache_plugins after scanning files to
11895 ensure that the registry we're about to write out doesn't contain
11896 stale information about old-deleted plugin files.
11898 Make _priv_gst_registry_remove_cache_plugins return a boolean so
11899 that deletion of plugin files is considered a registry change.
11901 * gst/gst_private.h:
11902 * gst/gstregistry.c: (gst_registry_finalize),
11903 (gst_registry_remove_features_for_plugin_unlocked),
11904 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11905 (gst_registry_scan_path),
11906 (_priv_gst_registry_remove_cache_plugins),
11907 (_priv_gst_registry_cleanup):
11908 * gst/gstregistry.h:
11909 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
11910 by adding _priv prefix, so that they won't appear in the global
11911 symbol table. They still do atm though because of #318031. Move the
11912 prototypes to gst_private.h
11914 When removing a plugin, remove all features for that plugin too.
11917 2006-09-27 Wim Taymans <wim@fluendo.com>
11919 * docs/random/moving-plugins:
11920 Make it clear that the "compiled-in descriptions" really mean
11921 the element details.
11923 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11924 (gst_base_sink_wait_preroll):
11927 * docs/libs/gstreamer-libs-sections.txt:
11928 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11929 (gst_base_src_get_range), (gst_base_src_activate_push):
11930 * libs/gst/base/gstbasesrc.h:
11931 Added function to block while waiting for PLAYING, this function
11932 is used by live sources that block on the clock.
11933 API: gst_base_src_wait_playing()
11935 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11937 Patch by: Peter Kjellerstedt <pkj at axis com>
11940 gst-element-check.m4 is generated and should therefore be
11941 copied from the build dir rather than the source dir (#357593).
11942 'make distcheck' hasn't noticed this because we were disting
11943 the file as well, so stop doing that.
11945 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11947 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11948 Add some tests for gst_caps_intersect().
11950 * tools/gst-launch.c: (event_loop):
11951 Print all buffering percentages we get, even the 100% one.
11953 2006-09-26 Wim Taymans <wim@fluendo.com>
11955 * tools/gst-inspect.c: (print_element_properties_info),
11956 (print_signal_info):
11957 Fix printing of flags to match the look of enums.
11959 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11961 * gst/gstelementfactory.c:
11962 Fix typo in docs blurb.
11964 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11966 * gst/gsturi.c: (search_by_entry):
11967 Don't assert/crash here if a uri handler doesn't return any
11968 supported protocols. The list of protocols could be generated
11969 dynamically at runtime or at plugin registration, and an error
11970 in the underlying library shouldn't be fatal (#353301).
11972 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11975 Fix warning if HAVE_PRINTF_EXTENSION is undefined
11976 (spotted by Peter Kjellerstedt).
11978 2006-09-23 Wim Taymans <wim@fluendo.com>
11980 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
11982 * libs/gst/base/gstbasesrc.c:
11983 (gst_base_src_default_check_get_range), (gst_base_src_start),
11984 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11985 (gst_base_src_change_state):
11986 Match _start/_stop calls in the activate functions. Remove redundant
11987 _stop call from the state change function. Fixes #356910.
11988 Turn failure DEBUG into ERROR.
11990 2006-09-22 Wim Taymans <wim@fluendo.com>
11992 * docs/design/part-buffering.txt:
11993 * gst/gstmessage.c: (gst_message_new_buffering),
11994 (gst_message_parse_buffering):
11995 Update docs about buffering.
11997 * docs/design/part-trickmodes.txt:
12000 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12002 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12003 (gst_controller_new_list):
12004 Ref instances when returning them again (fixes #357180)
12006 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12008 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12009 Don't forget to release proxy lock when there's an error.
12011 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12014 Add extra initialisers for Caps things, to fix some plugin warnings
12017 2006-09-18 Wim Taymans <wim@fluendo.com>
12019 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12020 Also set template on the internal pad so that a getcaps from the
12021 target pad returns the template caps.
12023 2006-09-18 Wim Taymans <wim@fluendo.com>
12025 * gst/gstelement.c: (gst_element_post_message),
12026 (gst_element_dispose):
12027 Use _DEBUG_OBJECT some more.
12029 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12032 * tools/gst-launch.c: (main):
12033 If the toplevel element is not a GstPipeline, it must be put in a
12034 pipeline so that a bus and clock is selected.
12036 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12038 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12039 JITTER, RATE, and LATENCY query should be handled by the
12040 default case and not by the CONVERT query code.
12042 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12044 * gst/gstformat.c: (gst_format_register):
12045 Fix locking order (must take lock before using n_values).
12047 * gst/gstvalue.c: (gst_value_serialize_enum),
12048 (gst_value_deserialize_enum_iter_cmp),
12049 (gst_value_deserialize_enum):
12050 Fix serialisation/deserialisation of custom registered GstFormats.
12052 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12053 Unit test for custom format serialisation/deserialisation.
12055 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12057 * docs/pwg/building-boiler.xml:
12058 * plugins/elements/gstcapsfilter.c:
12059 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12062 2006-09-16 Edward Hervey <edward@fluendo.com>
12064 * libs/gst/base/gstbasetransform.c:
12065 (gst_base_transform_buffer_alloc):
12066 Check if requested caps are the same as the sinks caps IF
12067 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12069 This fixes the renegotiation issues stated in #352827.
12071 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12074 * docs/manual/advanced-autoplugging.xml:
12075 * tests/examples/Makefile.am:
12076 * tests/examples/manual/.cvsignore:
12077 * tests/examples/manual/Makefile.am:
12078 * tests/examples/manual/extract.pl:
12079 Extract the manual examples again like we used to do.
12082 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12084 * win32/common/config.h:
12087 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12090 Documents how to receive errors.
12092 2006-09-15 Wim Taymans <wim@fluendo.com>
12094 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12095 (event_loop), (main):
12096 Added some comments here and there.
12097 Post an application message when an interrupt is caught instead of doing
12098 an uncontrolled state change.
12099 Clean up the event loop.
12100 Handle buffering messages, pause/resume the pipeline.
12101 Make shutdown because of an interrupt more reliable.
12103 2006-09-15 Wim Taymans <wim@fluendo.com>
12105 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12106 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12107 (gst_base_sink_preroll_object):
12108 Make sure that our internal state is correct when we commit our state
12109 asynchronously. This solves a race where a state change to PLAYING
12110 could cause the sink to remain blocked in preroll in some situations.
12112 2006-09-15 Wim Taymans <wim@fluendo.com>
12114 * tools/gst-inspect.c: (print_element_properties_info),
12115 (print_signal_info):
12116 List flags as hex so it's easier to deal with.
12118 2006-09-15 Wim Taymans <wim@fluendo.com>
12120 * docs/libs/gstreamer-libs-sections.txt:
12121 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12122 (gst_base_sink_do_sync):
12123 * libs/gst/base/gstbasesink.h:
12124 Expose logic to wait for preroll so that subclasses such as audiosink
12125 can also use this method.
12126 API: gst_base_sink_wait_preroll()
12128 2006-09-15 Wim Taymans <wim@fluendo.com>
12130 * gst/gstobject.c: (gst_object_set_parent):
12131 * gst/gstpipeline.c: (do_pipeline_seek):
12132 Small cleanups in docs and code.
12134 * gst/gstsegment.c: (gst_segment_clip):
12135 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12136 if stop == start and start is in the segment, no clipping should be
12137 done. Also add a test for this.
12139 2006-09-15 Wim Taymans <wim@fluendo.com>
12141 * docs/design/part-buffering.txt:
12142 * docs/gst/gstreamer-sections.txt:
12143 * gst/gstmessage.c: (gst_message_new_buffering),
12144 (gst_message_parse_buffering):
12145 * gst/gstmessage.h:
12146 Added methods to create and parse BUFFERING messages.
12147 Added preliminary docs about buffering.
12148 API: gst_message_new_buffering
12149 API: gst_message_parse_buffering
12151 2006-09-06 Wim Taymans <wim@fluendo.com>
12154 Update documentation.
12156 * gst/gstelement.c: (gst_element_class_init),
12157 (gst_element_release_request_pad), (gst_element_set_clock),
12158 (gst_element_get_index), (gst_element_add_pad),
12159 (gst_element_remove_pad), (gst_element_get_random_pad),
12160 (gst_element_send_event), (gst_element_get_query_types),
12161 (gst_element_query), (gst_element_post_message),
12162 (gst_element_message_full), (gst_element_continue_state),
12163 (gst_element_lost_state), (gst_element_save_thyself),
12164 (gst_element_restore_thyself):
12165 Documentation updates.
12166 Rename last bit of the new-pad -> pad-added signal rename.
12167 Fix the case where an element query would only work if the source
12169 Avoid some useless type checking in message handling.
12174 Documentation updates.
12176 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12178 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12179 add an INFO line for when we actually update the fd
12181 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12186 === release 0.10.10 ===
12188 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12191 releasing 0.10.10, "Pais"
12193 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12195 * docs/manual/advanced-position.xml:
12196 Fix typo in sample code.
12198 2006-09-05 Wim Taymans <wim@fluendo.com>
12200 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12201 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12202 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12203 * libs/gst/net/gstnetclientclock.h:
12204 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12205 * libs/gst/net/gstnettimepacket.h:
12206 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12207 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12208 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12209 * libs/gst/net/gstnettimeprovider.h:
12210 Make stuff compile on windows. Fixes #345295.
12212 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12214 * gst/gst.c: (ensure_current_registry_forking):
12215 Print better details when child was terminated by signal.
12217 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12219 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12220 Print a warning rather than g_assert() if a plugin feature
12221 is a URI handler but returns no protocols (#353976).
12223 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12225 * docs/random/moving-plugins:
12228 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12230 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12231 Fix locking order, handle NULL function values properly.
12236 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12237 Initialise variable before using it and fix debug statement to
12238 print the address of the function rather than the address of the
12239 variable on the stack holding the address of the function.
12241 2006-09-01 Wim Taymans <wim@fluendo.com>
12243 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12244 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12245 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12246 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12247 (gst_ghost_pad_parent_unset),
12248 (gst_ghost_pad_internal_do_activate_push),
12249 (gst_ghost_pad_internal_do_activate_pull),
12250 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12251 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12252 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12253 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12254 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12255 (gst_ghost_pad_new_no_target_from_template),
12256 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12258 Avoid needless typechecking in macros.
12259 Since the internal pad is always present and never changes, there is
12260 no need to locking or ref when retrieving it.
12261 Improve debugging a bit.
12262 Handle link errors when setting the target. Fixes #341029.
12264 2006-09-01 Wim Taymans <wim@fluendo.com>
12266 * docs/libs/gstreamer-libs-sections.txt:
12267 * docs/plugins/gstreamer-plugins-sections.txt:
12268 Fix docs some more.
12270 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12271 (gst_collect_pads_event):
12272 * libs/gst/base/gstcollectpads.h:
12273 Documentation updates.
12274 Free queued buffer when removing a pad.
12276 2006-08-31 Michael Smith <msmith@fluendo.com>
12278 * gst/gstutils.c: (gst_element_link_pads),
12279 (gst_element_link_pads_filtered):
12280 Ensure that we set a capsfilter to NULL if we failed to link it
12281 when doing filtered linking, to avoid criticals.
12283 No need to check for unreffing srcpad, which is explicly NULLed
12284 above (a trivial code cleanup).
12286 2006-08-31 Wim Taymans <wim@fluendo.com>
12288 * docs/design/part-gstghostpad.txt:
12289 Update ascii art in documentation.
12291 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12292 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12293 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12294 (gst_ghost_pad_internal_do_activate_push),
12295 (gst_ghost_pad_internal_do_activate_pull),
12296 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12297 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12298 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12299 (gst_ghost_pad_set_target):
12300 Small cleanups and leak fixes.
12301 Remove some checks now that the internal pad is never NULL.
12302 Fix the case where linking pads without a target would create nasty
12303 criticals. Fixes #341029.
12304 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12305 value of _set_target().
12307 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12308 (gst_ghost_pad_suite):
12309 Some more tests for creating and linking untargeted ghostpads.
12311 2006-08-31 Edward Hervey <edward@fluendo.com>
12313 * docs/gst/gstreamer-sections.txt:
12314 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12315 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12316 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12317 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12318 (gst_ghost_pad_new_from_template),
12319 (gst_ghost_pad_new_no_target_from_template):
12320 * gst/gstghostpad.h:
12321 Refactored *_new() functions.
12322 Templates are now used as a g_object_new() parameter.
12323 Use template in _do_getcaps() if we don't have a target.
12324 Small documentation cleanups.
12325 Added two new constructors:
12326 gst_ghost_pad_new_from_template()
12327 gst_ghost_pad_new_no_target_from_template()
12328 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12329 (gst_ghost_pad_suite):
12330 Added tests for new ghostpad instanciation functions.
12332 API additions: gst_ghost_pad_new_from_template,
12333 gst_ghost_pad_new_no_target_from_template
12335 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12337 * docs/random/ensonic/profiling.txt:
12338 Ideas about qos profiling.
12340 2006-08-29 Wim Taymans <wim@fluendo.com>
12342 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12346 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12349 Improve and detypofy docs.
12351 * tests/check/Makefile.am:
12352 * tests/check/gst/.cvsignore:
12353 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12354 Add a basic test suite for GstXML.
12356 2006-08-29 Wim Taymans <wim@fluendo.com>
12358 * gst/gstelement.c: (activate_pads), (clear_caps),
12359 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12360 Clear the pad caps when the element shut down all of the pads and
12361 is not streaming data that could modify the caps.
12364 2006-08-28 Michael Smith <msmith@fluendo.com>
12366 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12367 Revert previous change; I misunderstood single-segment mode.
12369 2006-08-28 Michael Smith <msmith@fluendo.com>
12371 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12372 Unset DISCONT on buffers when using single-segment mode.
12374 2006-08-28 Wim Taymans <wim@fluendo.com>
12376 * gst/gstcaps.c: (gst_caps_merge_structure):
12378 Fix docs and indentation again.
12380 * tests/check/gst/gstquery.c: (GST_START_TEST):
12381 Fix leak in tests and add some more tests.
12383 2006-08-28 Edward Hervey <edward@fluendo.com>
12385 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12386 Inform GstSegment of the last stop position in order for the current
12387 segment to have a proper duration if it doesn't have a specific stop
12388 position from which a duration could be calculated.
12389 This bug was noticeable when a non-flushing, non-update new segment was
12390 followed by another segment (all buffers from the new segment were being
12393 2006-08-28 Wim Taymans <wim@fluendo.com>
12395 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12396 Small comment update.
12398 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12399 (gst_identity_transform_ip):
12400 Drop-probability is broken, mention this in the code with a
12401 FIXME and also in the property description.
12402 Make silent also be silent about the drop messages.
12404 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12406 * docs/manual/appendix-win32.xml:
12407 Remove mention of popt, we don't depend on that any
12408 longer (#353136). Add some comments pointing out that
12409 this section is slightly outdated.
12411 2006-08-28 Wim Taymans <wim@fluendo.com>
12413 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12415 * gst/gstquery.c: (gst_query_new_segment):
12416 * tests/check/gst/gstquery.c: (GST_START_TEST):
12417 Initialize variables when creating a new segment query.
12420 2006-08-28 Wim Taymans <wim@fluendo.com>
12422 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12424 * gst/gstelement.c: (gst_element_get_bus):
12425 * tests/check/gst/gstelement.c: (GST_START_TEST):
12426 Check for NULL before _reffing the bus. Fixes #353122.
12428 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12430 * docs/manual/basics-bus.xml:
12431 Docs update: fix wrong callback return value explanation; add
12432 some lines about the implicit relationship between main loop
12433 and main context; remove duplicate main loop variable declaration.
12435 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12437 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12438 Don't leak caps in unit test; add a few more simple
12441 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12443 * docs/gst/gstreamer-sections.txt:
12444 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12445 (gst_caps_structure_is_subset), (gst_caps_merge),
12446 (gst_caps_merge_structure):
12448 * libs/gst/base/gstbasetransform.c:
12449 (gst_base_transform_transform_caps):
12450 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12451 implement caps merging (fixes #352580)
12453 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12455 * tools/Makefile.am:
12456 * tools/gst-plot-timeline.py:
12457 add debug-log plotting developer tool (#340674)
12459 2006-08-23 Wim Taymans <wim@fluendo.com>
12461 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12462 (gst_pad_stop_task):
12463 Improve debugging for task functions.
12465 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12466 (gst_task_start), (gst_task_pause), (gst_task_join):
12467 Make sure that the task function started and finished after a
12469 Don't try to push the task function on the threadpool multiple
12471 Improve the g_warning message with some useful suggestions
12472 about how to fix the problem.
12474 2006-08-23 Wim Taymans <wim@fluendo.com>
12476 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12477 Handle RESYNC correctly in _proxy_getcaps.
12479 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12481 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12482 (gst_xml_parse_memory), (gst_xml_get_element):
12483 Chain up to parent class in dispose function and also
12484 unref the elements in the toplevel_elements GList.
12485 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12486 Always return a reference in gst_xml_get_element() rather
12487 than only sometimes.
12489 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12490 Don't leak GstXml object.
12492 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12494 * docs/gst/gstreamer-sections.txt:
12495 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12498 * libs/gst/base/gstbasetransform.c:
12499 (gst_base_transform_transform_caps):
12500 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12503 2006-08-21 Edward Hervey <edward@fluendo.com>
12505 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12506 Implement GObject::dispose virtual method in GstXML so we can free the
12507 top_elements GList.
12509 2006-08-21 Wim Taymans <wim@fluendo.com>
12511 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12512 (gst_buffer_create_sub):
12513 Copy duration/offset_end/caps when creating a subbuffer of the
12515 Make the subbuffer read-only when we make the metadata writable for
12516 now. Fixes #351768.
12518 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12519 Added check for metadata copy when creating subbuffers.
12521 2006-08-21 Edward Hervey <edward@fluendo.com>
12523 * libs/gst/base/gstbasetransform.c:
12524 (gst_base_transform_buffer_alloc):
12525 Only call downstream buffer_alloc if transform element is passthrough
12526 or always_in_place. Closes #350449.
12528 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12531 ChangeLog surgery to add comments to previous changes
12533 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12538 * gst/gstpad.c: (gst_pad_set_active):
12539 Be more verbose in the log
12541 * libs/gst/base/gstbasetransform.c:
12542 (gst_base_transform_transform_caps):
12543 Simplify caps to get rid of duplicates, fixes #345444
12545 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12549 Use these optimizations only internally.
12551 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12553 * gst/gstvalue.c: (gst_value_compare_list),
12554 (gst_value_compare_fraction_range),
12555 (gst_value_intersect_fraction_fraction_range),
12556 (gst_value_intersect_fraction_range_fraction_range),
12557 (gst_value_subtract_fraction_fraction_range),
12558 (gst_value_subtract_fraction_range_fraction_range),
12559 (gst_value_get_compare_func), (gst_value_compare),
12560 (gst_value_compare_with_func):
12562 Saves the expensive lookup of the compare function in many cases
12565 2006-08-18 Edward Hervey <edward@fluendo.com>
12567 * tests/check/gst/gstinfo.c: (gst_info_suite):
12568 Disable test that require gstdebug if it wasn't built in core.
12570 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12572 * docs/random/ensonic/logging.txt:
12575 * gst/gstinfo.c: (gst_debug_log_default):
12576 reorder fields, save some columns, add optional color codes for log
12579 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12581 * docs/random/ensonic/logging.txt:
12582 add ideas about making the logs a bit more useful
12584 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12586 * docs/pwg/advanced-events.xml:
12587 * docs/pwg/titlepage.xml:
12588 Update for 0.10 API (#340627). Add myself
12591 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12593 * docs/libs/gstreamer-libs-docs.sgml:
12594 * docs/libs/gstreamer-libs-sections.txt:
12595 * libs/gst/check/gstbufferstraw.c:
12596 Make gstcheck stuff show up in docs (still needs to
12597 be documented properly though).
12599 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12601 * docs/gst/gstreamer-sections.txt:
12603 * gst/gst.c: (init_post):
12604 * gst/gst_private.h:
12605 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12607 * gst/gstquery.c: (gst_query_new_position),
12608 (gst_query_set_position), (gst_query_parse_position),
12609 (gst_query_new_duration), (gst_query_set_duration),
12610 (gst_query_parse_duration), (gst_query_new_convert),
12611 (gst_query_set_convert), (gst_query_parse_convert),
12612 (gst_query_new_segment), (gst_query_set_segment),
12613 (gst_query_parse_segment), (gst_query_new_seeking),
12614 (gst_query_set_seeking), (gst_query_parse_seeking):
12615 Add internal helpers for pre-registering quarks from static strings
12616 and using the quark values directly instead of looking them up when
12617 creating and parsing queries. Can be used for event construction too.
12620 2006-08-16 Wim Taymans <wim@fluendo.com>
12625 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12627 * gst/gstutils.c: (gst_util_set_value_from_string):
12628 Fix memleak (#351502).
12630 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12631 Add unit test for most of gst_util_set_value_from_string()
12632 (not that one would want to encourage use of this function).
12634 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12636 * libs/gst/check/gstcheck.h:
12637 Use const gchar * variables in fail_unless_equals_string
12638 macro to avoid compiler warnings (and don't use tabs for
12641 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12643 * tools/gst-launch.c: (print_tag):
12644 More space on the left for the tag names, to cater
12645 for the 'extended comment' tag (not touching the
12646 string for the first line since it's translated).
12648 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12650 * libs/gst/check/gstcheck.h:
12651 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12652 print something when they fail.
12654 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12656 * docs/gst/gstreamer-sections.txt:
12657 * gst/gsttaglist.c: (_gst_tag_initialize):
12658 * gst/gsttaglist.h:
12659 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12660 Also change merge function for GST_TAG_COMMENT to
12663 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12665 * gst/gstinfo.c: (gst_debug_print_object):
12666 Make GST_PTR_FORMAT print messages as well.
12668 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12669 (GST_START_TEST), (gst_info_suite):
12672 2006-08-14 Edward Hervey <edward@fluendo.com>
12674 * gst/gstelementfactory.c: (gst_element_register):
12675 If the GstElementClass doesn't have a GstElementDetails with all fields
12676 filled up correctly (longname, description AND author), then error out
12677 nicely instead of crashing.
12679 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12681 * gst/gststructure.c:
12682 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12685 Expand on the difference between arrays and lists as we use them.
12687 2006-08-14 Wim Taymans <wim@fluendo.com>
12689 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12690 If the parent state change function failed, don't assume we can safely
12691 stop the source, this will be done when the pads are deactivated.
12693 2006-08-14 Wim Taymans <wim@fluendo.com>
12696 * gst/gsttask.c: (gst_task_join):
12699 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12700 (gst_pad_stop_task):
12701 When pad (de)activation failed for some reason, restore the old
12702 activation mode and set the pad to flushing instead of assuming the
12703 pad is deactivated.
12704 If the _task_join() failed, reinstall the task on the pad so that it can
12705 be stopped later and return an error.
12707 2006-08-11 Andy Wingo <wingo@pobox.com>
12710 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12711 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12712 is only for users of API that don't want to see deprecated
12713 functions in the headers; people that want to compile out
12714 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12715 CFLAGS. Fixes the build of multifdsink, or will soon..
12717 2006-08-11 Wim Taymans <wim@fluendo.com>
12719 * docs/gst/gstreamer-sections.txt:
12720 Add GstClockClass vmethod docs.
12723 Mark #endif with comment for associated #if
12725 * gst/gstclock.c: (gst_clock_id_wait):
12727 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12728 most clock implementations.
12730 Flesh out docs about resolution methods.
12731 API: GstClockClass::wait_jitter
12733 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12734 (gst_system_clock_async_thread),
12735 (gst_system_clock_id_wait_jitter_unlocked),
12736 (gst_system_clock_id_wait_jitter):
12737 Use base class wait_jitter variant for improved performance
12738 due to less clock polling.
12740 2006-08-11 Edward Hervey <edward@fluendo.com>
12742 * gst/gst.c: (gst_init_check), (init_post):
12743 Set gst as being initialized before scanning/updating the registry,
12744 since there might be my python plugin loader that calls gst_init() and
12745 we don't want to loop back in.
12748 2006-08-11 Wim Taymans <wim@fluendo.com>
12750 * docs/design/part-qos.txt:
12751 Bring docs in line with the code. Mostly the sign of the jitter was
12752 wrong in the docs. Fixes #349943.
12755 Fix the docs for the jitter.
12757 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12758 (gst_event_parse_tag), (gst_event_new_buffer_size),
12759 (gst_event_parse_buffer_size), (gst_event_parse_qos),
12760 (gst_event_new_seek), (gst_event_parse_seek),
12761 (gst_event_new_navigation):
12762 Make sure the GstStructure has no parent when creating custom
12764 Add some more argument checking so that we avoid 0.0 rates.
12765 Flesh out the docs for the QoS event some more.
12767 2006-08-11 Wim Taymans <wim@fluendo.com>
12769 * docs/gst/gstreamer-sections.txt:
12770 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12771 (ensure_current_registry_forking), (ensure_current_registry),
12772 (parse_one_option), (parse_goption_arg), (gst_deinit),
12773 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12776 Added API and command line option to disable registry forking in
12777 addition to the environment variable.
12778 Constify some static arrays.
12779 Added some more debug.
12780 Don't deinit twice.
12781 API: gst_registry_fork_is_enabled()
12782 API: gst_registry_fork_set_enabled()
12783 API: --gst-disable-registry-fork command line option
12786 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
12788 * gst/gst.c: (gst_init):
12789 Fix typo in error message.
12791 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12793 * libs/gst/controller/gstcontroller.h:
12794 fix ABI size-correction
12796 * tests/check/libs/gdp.c: (gst_dp_suite):
12797 make tests that use deprecated API conditional
12799 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12801 * docs/libs/gstreamer-libs-sections.txt:
12802 * libs/gst/controller/gstcontroller.c:
12803 (_gst_controller_get_property), (_gst_controller_set_property),
12804 (_gst_controller_init), (_gst_controller_class_init):
12805 * libs/gst/controller/gstcontroller.h:
12806 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12807 (gst_object_set_control_rate):
12808 API: add gst_object_{s,g}et_control_rate(), add private data section,
12811 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12812 * libs/gst/dataprotocol/dataprotocol.h:
12813 add deprecation guards to make gtk-doc happy and allow disabling cruft
12815 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
12817 * tests/check/Makefile.am:
12818 * tests/check/gst/.cvsignore:
12819 Let's enable the new unit test as well.
12821 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
12824 * docs/gst/gstreamer-sections.txt:
12825 * gst/gstconfig.h.in:
12826 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12827 (_gst_info_printf_extension_ptr),
12828 (_gst_info_printf_extension_segment):
12829 API: add GST_SEGMENT_FORMAT, which is a printf extension we
12830 register that lets us easily dump GstSegments into debug
12833 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12834 (info_segment_format_printf_extension), (gst_info_suite):
12835 Add simple unit test that logs a bunch of different segments (not
12836 valgrinded at the moment because of leaks in
12837 gst_debug_add_log_function).
12839 2006-08-09 Edward Hervey <edward@fluendo.com>
12841 * libs/gst/base/gstbasetransform.c:
12842 (gst_base_transform_buffer_alloc):
12843 Even if we can't figure out the proper format to request downstream,
12844 call buffer_alloc() downstream with the input parameters without setting
12845 the caps on the srcpad. This will force negotiation in the chain
12849 2006-08-08 Edward Hervey <edward@fluendo.com>
12851 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12852 Unlinking from a pad without a target is now a perfectly valid case
12853 which should NOT raise an assertion.
12854 This case would happen if a linked ghostpad its target set to NULL after
12855 it was previously linked.
12857 2006-08-08 Edward Hervey <edward@fluendo.com>
12859 * tests/check/libs/gdp.c:
12860 Also comment out the test (see below).
12862 2006-08-08 Edward Hervey <edward@fluendo.com>
12864 * tests/check/libs/gdp.c: (gst_dp_suite):
12865 Use the architecture information from config.h and not gcc macros
12866 in order to properly disable a test that fails on PPC64.
12868 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
12870 * gst/gstelement.c: (gst_element_remove_pad):
12871 Don't crash printing the warning if the pad has no parent.
12873 2006-08-02 Wim Taymans <wim@fluendo.com>
12875 * libs/gst/dataprotocol/dataprotocol.c:
12876 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12877 (gst_dp_crc), (gst_dp_header_payload_length),
12878 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
12879 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
12880 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
12881 (gst_dp_event_from_packet), (gst_dp_validate_header),
12882 (gst_dp_validate_payload):
12883 Make debug category static
12884 Constify the crc table.
12885 Do some more arg checking in public functions.
12886 Fix some docs and do some small cleanups.
12888 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12889 Add some more checks to see if GDP deals with bogus input.
12891 2006-07-31 Wim Taymans <wim@fluendo.com>
12893 * gst/gstvalue.c: (gst_value_compare_list):
12894 Fix GstValueList comparison code. Fixes #347293.
12896 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12897 Check to test GstValueList comparison.
12899 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12901 * gst/gstelementfactory.c: (gst_element_factory_create):
12902 Remove unnecessary ref/unref pair
12904 * gst/parse/grammar.y:
12905 Make sure to free the parse buffer on all code paths.
12906 Move a g_free up to the error handler where it's easier to see.
12908 * tests/check/gst/gstevent.c: (test_event):
12909 Extending timeout for downstream travelling events to 10 seconds to
12910 hopefully avoid intermittent failure on the buildbots.
12912 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
12913 Don't manually set the state of the src element - it will happen as a
12914 natural consequence of the pipeline changing state, and that way it
12915 will do it in the right order too.
12917 2006-07-31 Wim Taymans <wim@fluendo.com>
12919 * libs/gst/base/gstbasetransform.c:
12920 (gst_base_transform_buffer_alloc):
12921 Use OBJECT_LOCK and refcounting to get the pad caps in the
12922 buffer_alloc function because the caps could change while we are
12923 busy with them. Fixes #349105
12925 2006-07-31 Wim Taymans <wim@fluendo.com>
12927 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
12928 Protect _PAD_CAPS with OBJECT_LOCK.
12930 2006-07-31 Wim Taymans <wim@fluendo.com>
12932 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12933 (gst_pad_get_property), (gst_pad_activate_pull),
12934 (gst_pad_activate_push), (gst_pad_set_blocked_async),
12935 (gst_pad_set_activate_function),
12936 (gst_pad_set_activatepull_function),
12937 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
12938 (gst_pad_set_getrange_function),
12939 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
12940 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12941 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
12942 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
12943 (gst_pad_set_acceptcaps_function),
12944 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12945 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
12946 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
12947 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
12948 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
12949 (gst_pad_configure_sink), (gst_pad_configure_src),
12950 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
12951 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
12952 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
12953 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
12954 (gst_pad_send_event):
12955 Use _DEBUG_OBJECT when it makes sense.
12956 Protect GST_PAD_CAPS with the OBJECT_LOCK.
12957 Small cleanups and code reflows.
12958 Avoid caps refcounting in _accept_caps.
12959 Refactor alloc_buffer so that the code performed on the peer is in a
12960 separate function. Also if the pad does not implement a buffer alloc
12961 function, we should still check if the pad is flushing before falling
12962 back to the default allocator.
12964 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12966 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12967 Make all uses of identity and fakesink have silent=true to avoid
12968 serialising every passing data structure, which is breaking tests
12969 on FC4 for some unknown reason.
12971 2006-07-30 Stefan Kost <ensonic@users.sf.net>
12973 * gst/parse/Makefile.am:
12974 * gst/parse/grammar.y:
12975 * gst/parse/parse.l:
12976 Reverted previous patch as it required to bump the flex dependency to
12977 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
12979 2006-07-30 Stefan Kost <ensonic@users.sf.net>
12981 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
12983 * gst/parse/Makefile.am:
12984 * gst/parse/grammar.y:
12985 * gst/parse/parse.l:
12986 push & pop the state of the lexer for reentrant use case
12989 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
12991 * libs/gst/base/gstbasesrc.h:
12992 Note in the docs that the ::newsegment vfunc is not actually used by
12995 2006-07-28 Wim Taymans <wim@fluendo.com>
12997 * libs/gst/base/gstcollectpads.c:
12998 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
12999 (gst_collect_pads_clear), (gst_collect_pads_flush),
13000 (gst_collect_pads_event), (gst_collect_pads_chain):
13001 When flushing a pad, also clear the queued buffer so that we don't
13002 accidentally use it when we shouldn't.
13003 Fix leaks by inreffing incomming buffer.
13004 Flush out queued buffers in case of errors.
13007 2006-07-28 Wim Taymans <wim@fluendo.com>
13009 * docs/random/phonon-gst:
13010 Random notes about a Phonon backend.
13012 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13014 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13016 * tests/check/libs/gdp.c: (gst_dp_suite):
13017 Take a whack at fixing the ppc compile using a different define to
13018 disable the broken test.
13020 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13021 Remove excess g_print()
13023 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13025 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13026 Oops, meant to uncomment this line too to dampen the noise a bit.
13028 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13030 * gst/parse/grammar.y:
13031 * gst/parse/parse.l:
13032 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13033 (GST_START_TEST), (parse_suite):
13034 Fix some of the leaks exposed by extending the parse-launch testsuite,
13035 and move the 3 I can't figure out into a separate test that won't run
13036 the pipelines unless the appropriate line is uncommented.
13038 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13040 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13041 Requesting 0 bytes before the end of the file should result in
13042 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13045 2006-07-27 Wim Taymans <wim@fluendo.com>
13047 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13048 Fix useless assert, a uint is always positive.
13050 * gst/gststructure.c: (gst_structure_nth_field_name),
13051 (gst_structure_foreach), (gst_structure_map_in_place):
13052 Check input arguments for public functions to avoid obvious crashes.
13054 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13055 * plugins/elements/gstfakesink.h:
13056 Do less useless typechecking.
13058 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13060 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13061 Do not use mmap() by default since there are a number of error
13062 conditions that we would like to handle in a non-fatal way that
13063 will result in a SIGBUS if we use mmap(). Examples: external
13064 devices (USB harddrive, portable music player) being unplugged
13065 while in use; file on mounted CD/DVD that can't be read because
13066 the medium is partly damaged. Fixes #348455 and #348475.
13068 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13071 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13072 rates are a gdouble
13074 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13076 * gst/gstregistry.c:
13077 Move big documentation comment into class section header, so that it
13078 appears in the API docs.
13080 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13082 * docs/gst/gstreamer-sections.txt:
13083 Oops. Commit the docs additions too for new API.
13084 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13086 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13088 * gst/gststructure.c: (gst_structure_id_set),
13089 (gst_structure_id_set_valist):
13090 * gst/gststructure.h:
13091 Add API for setting values into structures without performing
13092 a quark lookup, if the appropriate quark is already known.
13094 API: gst_structure_id_set
13095 API: gst_structure_id_set_valist
13097 * gst/parse/grammar.y:
13098 * gst/parse/parse.l:
13099 Remove some dead code shown by the coverage information.
13100 Don't throw a critical g_warning when encountering a syntax error,
13101 just warn and let the normal error path handle it.
13103 * plugins/elements/gstelements.c:
13104 Bump the rank of filesink up to PRIMARY so that it is preferred over
13105 gnomevfssink for file:// sink uri's
13107 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13108 (GST_START_TEST), (run_delayed_test),
13109 (gst_parse_test_element_base_init),
13110 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13111 (gst_parse_test_element_change_state),
13112 (gst_register_parse_element), (parse_suite):
13113 Beef up the tests for parse syntax to check that more error cases
13114 fail as they are supposed to. Increases the test coverage a bit.
13116 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13118 * docs/manual/basics-elements.xml:
13119 Fix gst_element_link() example.
13122 Mention in API docs that one should usually gst_bin_add()
13123 elements to a bin or pipeline before doing the linking.
13125 2006-07-26 Wim Taymans <wim@fluendo.com>
13127 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13128 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13129 Avoid function call for known types by keeping the buffer and
13130 subbuffer GType global.
13132 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13133 Random silly optimisations in read() path.
13135 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13137 * tools/gst-launch.c: (main):
13138 If the top-level of the parse is a normal bin, it doesn't do the
13139 right logic to run as a top-level element, so place it inside a
13142 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13144 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13145 Remove superfluous g_object_notify() calls, GObject does
13146 that for us automatically.
13148 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13151 on Win32, use dllspec to export the debug category symbols
13153 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13155 * gst/gsttaglist.c: (_gst_tag_initialize):
13156 Allow more than one GST_TAG_IMAGE per taglist.
13158 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13160 * gst/gstminiobject.c:
13162 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13163 (gst_fd_src_create):
13164 log recurring events at LOG level
13165 add more debug for when the fd gets set
13167 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13169 * gst/gstparse.c: (gst_parse_launch):
13170 Also remove reentrance checks if flex is MT safe (#348179)
13171 Fix my empty ChangeLog entry below
13173 2006-07-21 Andy Wingo <wingo@pobox.com>
13175 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13177 * libs/gst/check/Makefile.am
13178 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13179 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13180 * libs/gst/check/gstbufferstraw.h:
13181 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13182 functions, thus proving I am still a GStreamer haxor. OK I wrote
13183 them a long time ago, but anyways.
13185 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13188 * gst/gstparse.c: (gst_parse_launch):
13189 Check for flex version and omit mutex if we have a MT save flex
13192 2006-07-21 Wim Taymans <wim@fluendo.com>
13194 * gst/gstparse.c: (gst_parse_launch):
13195 Protect recursive calls to _parse with a recursive mutex
13198 2006-07-21 Wim Taymans <wim@fluendo.com>
13200 * tests/check/gst/gstpad.c: (GST_START_TEST):
13203 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13205 * gst/gstparse.c: (gst_parse_launch):
13206 Do not hang on recursive usage of gst_parse_launch()
13208 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13210 * gst/gsttaglist.c:
13211 Add some more docs, comments and FIXME 0.11s here and there
13212 and also fix some typos.
13214 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13216 * gst/gstsegment.h:
13217 Convert tabs to spaces for better readability.
13219 2006-07-20 Edward Hervey <edward@fluendo.com>
13221 * tests/check/libs/gdp.c: (gst_dp_suite):
13222 the test_buffer test fails at line 140 on ppc64 at the following
13224 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13225 GST_BUFFER_FLAG_IN_CAPS),
13226 "GST_BUFFER_IN_CAPS flag should have been copied !");
13227 See bug #348114 for more details.
13229 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13231 * docs/pwg/advanced-scheduling.xml:
13233 Fix typos (#348000).
13235 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13237 * docs/pwg/intro-basics.xml:
13238 Fix wrong links (#347927).
13240 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13242 * gst/gstregistry.h:
13243 * gst/gstregistryxml.c: (load_feature),
13244 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13245 * win32/common/config.h:
13246 make --disable-index work (#342564)
13248 2006-07-18 Wim Taymans <wim@fluendo.com>
13250 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13254 The attached patch adds two missing defines to gsttrace.h when tracing
13255 is disabled. It also corrects one existing define.
13258 2006-07-17 Wim Taymans <wim@fluendo.com>
13260 * docs/gst/gstreamer-sections.txt:
13261 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13263 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13264 Add two functions to check and change the SIGSEGV behaviour
13265 when loading plugins.
13266 Don't mess with the SIGSEGV handler when we were told not to.
13268 API: gst_segtrap_is_enabled
13269 API: gst_segtrap_set_enabled
13271 2006-07-14 Wim Taymans <wim@fluendo.com>
13273 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13274 * tests/check/elements/filesrc.c: (GST_START_TEST):
13275 Revert fix for regression in #347408 after release.
13277 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13279 Patch by: Antoine Tremblay <hexa00 at gmail com>
13281 * gst/gstutils.c: (gst_element_unlink):
13282 Free iterator when done (#347311).
13284 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13285 And add a test case for this.
13287 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13290 Bump nano back to CVS
13292 === release 0.10.9 ===
13294 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13297 releasing 0.10.9, "On the road again"
13299 2006-07-13 Wim Taymans <wim@fluendo.com>
13301 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13302 * tests/check/elements/filesrc.c: (GST_START_TEST):
13303 Revert pull-0 fix for release. Disable check. Fixes #347408.
13305 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13307 * libs/gst/dataprotocol/dataprotocol.c:
13308 (gst_dp_event_from_packet_1_0):
13309 Fixes #347337: failure to deserialize event packets with
13310 empty payload (only event type)
13312 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13315 do not install a .c file in the header directory
13317 2006-07-13 Edward Hervey <edward@fluendo.com>
13319 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13320 GhostPad no longer implicitely use the padtemplates of the targets.
13323 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13325 * gst/gstvalue.c: (gst_value_compare_list),
13326 (gst_value_compare_array), (_gst_value_initialize):
13327 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13328 Make GstValueArray comparison be order dependent as designed.
13329 Add checks for value lists and value array comparisons.
13332 2006-07-11 Edward Hervey <edward@fluendo.com>
13334 * gst/gstbin.c: (activate_pads),
13335 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13336 (gst_bin_change_state_func):
13337 (de)activate src pads before calling state_change on the childs.
13338 This is to avoid the case where a src ghostpad is blocked (holding the
13339 stream lock), which would block the deactivation of the ghostpad's
13341 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13342 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13343 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13344 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13345 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13346 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13347 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13348 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13349 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13350 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13351 (gst_ghost_pad_class_init),
13352 (gst_ghost_pad_internal_do_activate_push),
13353 (gst_ghost_pad_internal_do_activate_pull),
13354 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13355 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13356 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13357 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13358 GhostPads now create their internal GstProxyPad at creation (and not
13359 when they're linked, as it was being done previously).
13360 The internal and target pads are linked straight away.
13361 The data will also travel through the other pad in order to make
13362 pad blocking and probes non-hackish (the probe/block now really happens
13363 on the GhostPad and not on the target).
13364 * gst/gstpad.c: (gst_pad_set_blocked_async),
13365 (gst_pad_link_prepare), (gst_pad_push_event):
13366 Remove previous ghostpad cruft.
13367 * gst/gstutils.c: (gst_pad_add_data_probe),
13368 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13369 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13370 (gst_pad_remove_buffer_probe):
13371 Remove previous ghost pad cruft.
13372 Added more detailed debug statements.
13373 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13374 Fix the testsuite for refcounting changes.
13375 The comments about who has references were correct, but the refcount
13376 being checked wasn't the same (!?!).
13380 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13382 * docs/gst/gstreamer-sections.txt:
13383 * gst/gstconfig.h.in:
13384 More docs for configuration options, add docs to gtk-doc.
13386 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13389 * gst/gstconfig.h.in:
13390 * win32/common/config.h:
13391 Fix build when disabling tracing (fixes #344016). Also start to document
13392 the defines that disable the sub-systems.
13394 2006-07-10 Edward Hervey <edward@fluendo.com>
13396 * gst/gst.c: (ensure_current_registry_forking):
13397 let's make valgrind happy...
13399 2006-07-09 Wim Taymans <wim@fluendo.com>
13401 * gst/gstelement.c: (activate_pads),
13402 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13403 Better pad activation code: Reset the collect value too on resync.
13406 2006-07-09 Wim Taymans <wim@fluendo.com>
13408 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13409 (gst_pad_activate_push):
13410 Use some more macros where it makes sense.
13411 Allow pad mode switching instead of asserting. When a pad
13412 is activated in one mode and we activate it in another,
13413 deactivate it first before activating it in a different mode.
13416 2006-07-08 Andy Wingo <wingo@pobox.com>
13418 * tools/gst-launch.c (main): Handle err == NULL.
13420 * gst/gst.c (init_post, ensure_current_registry)
13421 (ensure_current_registry_forking)
13422 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13423 factoring out the registry scanning into separate functions. Don't
13424 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13425 Better environment var name/interface suggestions accepted.
13427 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13429 * gst/gstobject.c: (gst_object_set_name_default),
13430 (gst_object_set_name):
13431 Random micro-optimisation: don't use a hash table
13432 with strings as keys and the usual strdup/strcmp
13433 involved, but rather just use the GQuark of the
13434 type name as key, since it needs to be looked up
13435 anyway to get the type name string.
13437 * tests/check/gst/gstobject.c: (GST_START_TEST):
13440 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13442 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13443 (gst_bin_iterate_all_by_interface):
13444 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13445 GTypes are gulongs and thus the top 4 bytes might be cut
13446 off on some platforms when doing GPOINTER_TO_INT, leading
13447 to invalid GTypes and bad things happening (see RH bug #179654).
13448 Also add a check to make sure the type passed in is really
13451 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13456 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13460 * gst-element-check.m4:
13461 * gst-element-check.m4.in:
13462 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13463 instead of the unversioned gst-inspect (#324176, #168659).
13465 2006-07-06 Wim Taymans <wim@fluendo.com>
13467 * gst/gstmessage.h:
13468 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13471 2006-07-06 Wim Taymans <wim@fluendo.com>
13473 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13474 (gst_base_src_wait), (gst_base_src_update_length),
13475 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13476 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13477 (gst_base_src_loop), (gst_base_src_start),
13478 (gst_base_src_activate_pull):
13480 blocksize == 0 now means the default blocksize when working in push
13482 Remove some pointless asserts in _wait function.
13483 Fix offset/length calculations and EOS handling. We can now pull 0
13484 bytes as well, which is allowed.
13485 use _check_get_range() to decide if we can operate in _pull based
13487 Fix refcounting leak when check_get_range function was not
13489 API GstBaseSrc::blocksize range can be 0 too now (default)
13491 * tests/check/elements/filesrc.c: (GST_START_TEST),
13493 Added check to test _get_range() behaviour.
13495 2006-07-06 Wim Taymans <wim@fluendo.com>
13497 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13498 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13499 (gst_pad_pull_range):
13501 Lots of comments and docs added to the pad functions.
13502 Flesh out the expected behaviour of the get_range() functions.
13504 2006-07-06 Wim Taymans <wim@fluendo.com>
13509 * gst/gstiterator.h:
13513 Remove comma at end of enumerator list.
13515 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13517 * win32/common/libgstbase.def:
13518 * win32/common/libgstdataprotocol.def:
13519 * win32/common/libsgtreamer.def:
13520 Add new exported functions.
13522 2006-07-05 Wim Taymans <wim@fluendo.com>
13524 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13525 Add some more docs here and there.
13527 2006-07-05 Wim Taymans <wim@fluendo.com>
13529 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13530 (gst_base_sink_loop), (gst_base_sink_get_position):
13531 When operating in pull mode update the offset so that we
13534 2006-07-05 Wim Taymans <wim@fluendo.com>
13536 * gst/gstregistryxml.c: (read_string):
13537 Avoid strdup. (will happen in libxml, but hey!)
13540 Add some more docs.
13542 2006-07-05 Wim Taymans <wim@fluendo.com>
13544 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13545 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13546 (gst_buffer_suite):
13547 No point in checking if the size of the subbuffer > 0, the
13548 code handles it correclty as demonstrated by unit test.
13549 Also add a unit test for the zero sized _new_and_alloc and
13550 _copy. Fixes #346663.
13552 2006-07-05 Wim Taymans <wim@fluendo.com>
13554 * libs/gst/base/gstbasetransform.c:
13555 (gst_base_transform_prepare_output_buffer),
13556 (gst_base_transform_buffer_alloc),
13557 (gst_base_transform_handle_buffer):
13558 Make sure the buffer we pass to transform_ip has a refcount of
13559 1 and thus is writable. Fixes #343196
13561 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13563 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13564 (gst_file_src_init), (gst_file_src_set_property),
13565 (gst_file_src_get_property), (gst_file_src_map_region):
13566 * plugins/elements/gstfilesrc.h:
13567 Add "sequential" property, off by default, to use madvise and hint
13568 to the kernel that sequential access is desired.
13569 Touch all retrieved pages by default to ensure they are pulled
13570 into memory. (Closes #345720)
13572 2006-07-03 Wim Taymans <wim@fluendo.com>
13574 * docs/design/part-block.txt:
13575 * docs/design/part-dynamic.txt:
13576 Small docs updates.
13578 2006-07-03 Wim Taymans <wim@fluendo.com>
13580 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13581 (gst_caps_unref), (gst_static_caps_get),
13582 (gst_caps_append_structure):
13583 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13584 Use GSlice when the glib we build against is >= 2.10
13586 2006-07-03 Wim Taymans <wim@fluendo.com>
13588 * gst/gstelement.c: (gst_element_pads_activate):
13589 Small cleanup in pad activation code.
13591 2006-07-03 Wim Taymans <wim@fluendo.com>
13593 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13595 * gst/gst-i18n-app.h:
13596 * gst/gst-i18n-lib.h:
13597 * tools/gst-inspect.c: (print_signal_info):
13598 The attached patch will make the inclusion of gettext.h unconditional in
13599 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13600 libintl.h in tools/gst-inspect.c.
13601 This allows use of --disable-nls again and fixes #344642.
13603 2006-07-03 Edward Hervey <edward@fluendo.com>
13605 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13606 Implement pad blocking on events according to part-block.txt.
13607 More comments on behaviour.
13608 * tests/check/gst/gstevent.c: (test_event):
13609 Send event to peer pad of blocked pad (else it will block).
13611 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13613 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13614 (gst_check_run_suite):
13615 if we get the wrong message, give us the types as string
13616 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13618 * tests/check/elements/filesrc.c: (GST_START_TEST):
13619 add a test for trying to open a non-existing file
13621 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13623 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13624 add a test for adding self
13626 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13628 * libs/gst/check/gstcheck.h:
13629 add some assert_ as alias for fail_unless_*
13630 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13631 increase test coverage
13633 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13636 include lcov.mak for lcov coverage generation
13637 * tools/Makefile.am:
13640 2006-07-02 Edward Hervey <edward@fluendo.com>
13642 * tests/check/elements/.cvsignore:
13645 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13648 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13649 * tests/check/Makefile.am:
13650 clean up gcov files
13652 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13654 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13655 remove gst_caps_simplify; it was not declared and not used
13656 and deprecated in 0.8
13658 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13660 * docs/faq/gst-uninstalled:
13661 don't put empty paths on PYTHONPATH
13662 * docs/gst/gstreamer-sections.txt:
13663 remove some symbols that are not there
13665 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13667 * gst/gstcaps.c: (gst_caps_compare_structures):
13669 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13670 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13673 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13675 * libs/gst/dataprotocol/Makefile.am:
13676 build dataprotocol test by linking to the lib, instead of
13677 compiling the source, so we get coverage
13678 * tests/check/Makefile.am:
13679 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13680 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13681 add a test for filesrc
13683 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13685 * tests/check/gst/gststructure.c: (GST_START_TEST),
13686 (gst_structure_suite):
13687 Push coverage from 59.04% to 70.00%
13689 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13691 * tests/check/Makefile.am:
13692 gst-inspect every element; this makes sure that we also get
13693 coverage on element's get/set functions
13695 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13698 set CFLAGS and friends to -O0 if gcov is being used
13701 * libs/gst/base/Makefile.am:
13702 * libs/gst/check/Makefile.am:
13703 * libs/gst/controller/Makefile.am:
13704 * libs/gst/dataprotocol/Makefile.am:
13705 * libs/gst/net/Makefile.am:
13706 * plugins/elements/Makefile.am:
13707 * plugins/indexers/Makefile.am:
13708 add makefile rules to generate gcov data and clean up
13709 * tests/check/Makefile.am:
13710 add a coverage target that generates an html overview
13713 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13715 * tests/check/elements/fakesink.c:
13716 * tests/check/elements/fakesrc.c:
13717 * tests/check/elements/fdsrc.c:
13718 * tests/check/elements/identity.c:
13719 * tests/check/generic/sinks.c: (gst_sinks_suite):
13720 * tests/check/generic/states.c:
13721 * tests/check/gst/gst.c:
13722 * tests/check/gst/gstabi.c:
13723 * tests/check/gst/gstbin.c:
13724 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13725 * tests/check/gst/gstbus.c: (gst_bus_suite):
13726 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13727 * tests/check/gst/gstelement.c:
13728 * tests/check/gst/gstevent.c: (gst_event_suite):
13729 * tests/check/gst/gstghostpad.c:
13730 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13731 * tests/check/gst/gstmessage.c: (gst_message_suite):
13732 * tests/check/gst/gstminiobject.c:
13733 * tests/check/gst/gstobject.c:
13734 * tests/check/gst/gstpad.c:
13735 * tests/check/gst/gstpipeline.c:
13736 * tests/check/gst/gstplugin.c:
13737 * tests/check/gst/gstquery.c: (gst_query_suite):
13738 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13739 * tests/check/gst/gststructure.c:
13740 * tests/check/gst/gstsystemclock.c:
13741 * tests/check/gst/gsttag.c:
13742 * tests/check/gst/gsttask.c: (gst_task_suite):
13743 * tests/check/gst/gstutils.c:
13744 * tests/check/gst/gstvalue.c:
13745 * tests/check/libs/adapter.c:
13746 * tests/check/libs/basesrc.c:
13747 * tests/check/libs/collectpads.c:
13748 * tests/check/libs/controller.c:
13749 * tests/check/libs/gdp.c: (gst_dp_suite):
13750 * tests/check/libs/gstnetclientclock.c:
13751 * tests/check/libs/gstnettimeprovider.c:
13752 * tests/check/libs/libsabi.c: (libsabi_suite):
13753 * tests/check/libs/typefindhelper.c:
13754 * tests/check/pipelines/cleanup.c:
13755 * tests/check/pipelines/parse-launch.c:
13756 * tests/check/pipelines/simple-launch-lines.c:
13757 * tests/check/pipelines/stress.c: (stress_suite):
13760 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13762 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13763 * libs/gst/check/gstcheck.h:
13764 create a macro and function so that the simple unit test
13765 case can be just one macro to create main()
13767 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13769 * gst/gstbin.c: (gst_bin_restore_thyself):
13770 * gst/gstxml.c: (gst_xml_make_element):
13771 Fix deserialisation from XML. Set parent manually
13772 instead of using gst_bin_add(), since gst_bin_add()
13773 will unlink all pads of the element being added.
13776 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
13778 Patch by: Peter Kjellerstedt <pkj at axis com>
13780 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13781 Fix missing g_strdup() and double free when using the
13782 --gst-plugin-load command line option (#346097).
13784 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13787 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13789 * libs/gst/net/gstnetclientclock.c:
13790 * libs/gst/net/gstnettimeprovider.c:
13791 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13793 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13795 * docs/manual/advanced-dataaccess.xml:
13796 Fix buffer probe example compilation in
13799 2006-06-22 Edward Hervey <edward@fluendo.com>
13801 * gst/gstelement.c: (gst_element_pads_activate):
13802 We need to deactivate src pads first and then sink pads.
13803 The reason is the src pads might be blocking while holding the streaming
13804 lock, so we need to deactivate them first so that deactivating the sink
13805 pads doesn't block (since it will require the streaming lock).
13807 2006-06-22 Wim Taymans <wim@fluendo.com>
13809 * libs/gst/base/gstbasetransform.c:
13810 (gst_base_transform_buffer_alloc):
13811 Forgot to remove two unneeded unrefs.
13812 Simplify a check _is_equal allready checks the obvious case.
13814 2006-06-22 Wim Taymans <wim@fluendo.com>
13816 * docs/design/part-block.txt:
13817 Some docs about what pad_block should do.
13819 2006-06-22 Wim Taymans <wim@fluendo.com>
13821 * gst/gstcaps.c: (gst_caps_replace):
13822 Fix crasher when passed NULL. Doc clarification.
13823 Optimize for the trivial case.
13825 * gst/gstpipeline.c: (gst_pipeline_change_state):
13828 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13829 Small documentation cleanup.
13831 * libs/gst/base/gstbasetransform.c:
13832 (gst_base_transform_buffer_alloc):
13833 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13834 is what we need and it avoids a whole lot of redundant
13835 refcount operations.
13837 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
13839 Patch by: Philip Jägenstedt <philip at lysator liu se>
13841 * docs/manual/advanced-dataaccess.xml:
13842 Fix 'Embedding static elements' section to use
13843 GST_PLUGIN_DEFINE_STATIC (#345607).
13845 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13847 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13848 Attempt to 'fix' spuriously failing test case: it seems like the
13849 timeout of half a second is simply too small when the system is under
13850 load otherwise, and the timeout doesn't really seem to serve any
13851 particular purpose here. Give the pipeline a few seconds to preroll
13852 first, and then give it another half a second to go from PAUSED to
13853 PLAYING and marshal the message into the main thread.
13855 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13857 * tools/gst-feedback-m.m:
13858 Don't only use unversioned tools, try versioned tools as well
13861 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13863 * gst/gstbus.c: (gst_bus_class_init):
13864 Fix some typos, make docs more explicit.
13866 2006-06-20 Wim Taymans <wim@fluendo.com>
13868 * tests/check/gst/gstghostpad.c: (block_callback),
13869 (GST_START_TEST), (gst_ghost_pad_suite):
13870 Added some more ghostpad tests, mainly blocking
13873 2006-06-16 Wim Taymans <wim@fluendo.com>
13875 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
13876 (gst_file_sink_close_file), (gst_file_sink_do_seek),
13877 (gst_file_sink_event), (gst_file_sink_render):
13878 * plugins/elements/gstfilesink.h:
13879 Check if we can seek in the file instead of assuming
13880 we always can. Post an error when we are asked to seek in a
13881 non-seekable file (like a fifo). Fixes #343312.
13884 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13886 * tools/gst-launch.1.in:
13887 Un-garble (fourcc) bit in filtered caps section.
13889 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13891 * docs/manual/advanced-autoplugging.xml:
13892 * docs/manual/basics-helloworld.xml:
13893 * docs/manual/highlevel-components.xml:
13894 Don't leak bus reference in sample code.
13896 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
13899 Add default for new --enable-plugin-docs switch.
13902 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13905 * docs/Makefile.am:
13906 Use new ENABLE_PLUGIN_DOCS conditional.
13908 2006-06-14 Wim Taymans <wim@fluendo.com>
13910 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
13911 Make it clear with a FIXME and a real define what the #if 0
13912 previously disabled.
13914 2006-06-14 Wim Taymans <wim@fluendo.com>
13916 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13917 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13918 * libs/gst/base/gstbasetransform.c:
13919 (gst_base_transform_sink_eventfunc):
13920 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13921 Don't randomly and silently reset a segment when the format
13922 changes as this is a bug somewhere upstream. Fixes #330379.
13924 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
13926 Patch by: Wouter Paesen <wouter at kangaroot net>
13928 * libs/gst/controller/gstcontroller.c:
13929 (gst_controlled_property_new):
13930 Fix controlling of float properties (#344849).
13932 * tests/check/libs/controller.c:
13933 (gst_test_mono_source_get_property),
13934 (gst_test_mono_source_set_property),
13935 (gst_test_mono_source_class_init), (GST_START_TEST):
13936 While we're at it, add some float stuff to unit test.
13938 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
13941 * docs/images/gdp-header.svg:
13943 * docs/libs/Makefile.am:
13944 * docs/libs/gdp-header.png:
13945 * libs/gst/dataprotocol/dataprotocol.c:
13946 add it to the API docs
13947 * docs/manual/intro-motivation.xml:
13950 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
13952 * gst/gst.c: (scan_and_update_registry), (init_post):
13953 If the fork()'ed child process can't write the updated registry cache
13954 file to disk for some reason, make it exit with a failure exit code,
13955 so that the parent can then re-scan the plugins itself and update the
13956 registry structures in memory and work with that (rather than failing
13957 when creating elements because seemingly no plugins are available).
13958 Refactor registry scanning code into separate function for this and
13959 also separate fork() and non-fork() code paths. Fixes #344748.
13961 2006-06-13 Wim Taymans <wim@fluendo.com>
13963 * docs/manual/advanced-dataaccess.xml:
13964 Fix wrong PluginDesc. Fixes #344755.
13966 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
13968 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13969 Fix silly bug that prevented us from creating
13970 ~/.gstreamer-0.10 and writing the registry in one
13971 go (the first call to g_mkstemp() would overwrite the
13972 placeholder in the template string, so the second call
13973 to g_mkstemp() after creating the missing directory
13974 would then error out with 'invalid argument').
13976 2006-06-13 Edward Hervey <edward@fluendo.com>
13978 * gst/gst.c: (init_post):
13981 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
13983 * gst/glib-compat-private.h:
13984 * gst/glib-compat.c:
13985 * gst/glib-compat.h:
13986 * gst/gstvalue.c: (gst_value_serialize_flags):
13987 remove GLib 2.6 compatibility code
13989 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
13991 * gst/parse/Makefile.am:
13992 Fix build with 'make -j N' even more (#340016).
13994 2006-06-12 Wim Taymans <wim@fluendo.com>
13996 * docs/gst/gstreamer-sections.txt:
13999 2006-06-12 Wim Taymans <wim@fluendo.com>
14001 * gst/gstsegment.c: (gst_segment_set_duration),
14002 (gst_segment_set_last_stop), (gst_segment_set_seek),
14003 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14004 (gst_segment_to_running_time), (gst_segment_clip):
14005 Use G_UNLIKELY to help the compiler a bit.
14007 2006-06-12 Wim Taymans <wim@fluendo.com>
14009 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14011 * gst/gstevent.c: (gst_event_get_type):
14012 * gst/gstmessage.c:
14013 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14015 constify quark registration strings. Fixes #344115
14016 Avoid unneeded type checking is _pad_push() by internally
14017 calling gst_pad_chain_unchecked().
14019 2006-06-12 Wim Taymans <wim@fluendo.com>
14021 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14022 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14023 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14024 (gst_buffer_is_span_fast), (gst_buffer_span):
14025 Init _type for consistency.
14026 Use _FLAGS macro to avoid type check.
14027 Avoid unneeded type checks in subbufer code.
14029 2006-06-12 Wim Taymans <wim@fluendo.com>
14031 * gst/gst.c: (gst_debug_help):
14032 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14033 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14034 (gst_plugin_feature_list_free):
14035 * gst/gstregistry.c: (gst_registry_add_plugin),
14036 (gst_registry_add_feature), (gst_registry_plugin_filter),
14037 (gst_registry_feature_filter), (gst_registry_find_plugin),
14038 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14039 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14040 * gst/gstregistryxml.c: (load_feature),
14041 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14042 * gst/gstminiobject.c: (gst_mini_object_unref),
14043 (gst_mini_object_replace), (gst_value_mini_object_free),
14044 (gst_value_mini_object_copy):
14045 Use _CAST macros to avoid unneeded type checking.
14046 Added some more G_UNLIKELY.
14048 2006-06-12 Wim Taymans <wim@fluendo.com>
14051 Avoid unneeded type checking.
14052 API: GST_BUFFER_IS_DISCONT
14054 * gst/gstminiobject.h:
14055 Avoid type check in flag accessor.
14057 * gst/gstelementfactory.h:
14059 * gst/gstpluginfeature.h:
14061 API: GST_ELEMENT_FACTORY_CAST
14062 API: GST_PLUGIN_CAST
14063 API: GST_PLUGIN_FEATURE_CAST
14065 2006-06-12 Wim Taymans <wim@fluendo.com>
14067 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14068 (gst_object_unref):
14069 Add G_UNLIKELY in type registration.
14070 Avoid type check in _ref/_unref since that is also
14073 2006-06-12 Wim Taymans <wim@fluendo.com>
14075 * gst/gsterror.c: (gst_g_error_get_type):
14076 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14077 (gst_static_pad_template_get_type):
14078 * gst/gsttaglist.c: (gst_tag_list_get_type):
14079 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14080 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14081 * gst/gsturi.c: (gst_uri_handler_get_type):
14082 * gst/gstvalue.c: (gst_date_get_type):
14083 * gst/gstxml.c: (gst_xml_get_type):
14084 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14085 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14086 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14087 Add G_UNLIKELY in type registration.
14089 2006-06-12 Wim Taymans <wim@fluendo.com>
14091 * tools/gst-inspect.c: (print_signal_info):
14092 Properly print enum values.
14094 2006-06-12 Wim Taymans <wim@fluendo.com>
14096 * gst/gstinfo.c: (gst_debug_set_active),
14097 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14099 Add some G_[UN]LIKELY.
14100 Maintain __gst_debug_min to avoid formatting the arguments of
14101 debug messages that will be dropped anyway to avoid a lot of
14102 overhead from the debugging system.
14104 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14107 * po/POTFILES.skip:
14108 add missing files containing translatable strings, tell intltool about
14111 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14113 * tests/check/libs/.cvsignore:
14114 add test-binary to ignore list
14116 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14118 * docs/libs/gstreamer-libs-docs.sgml:
14119 reorder (put dp into a chapter) and indent
14121 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14126 === release 0.10.8 ===
14128 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14131 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14133 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14135 * gst/gst.c: (init_post):
14136 move pid declaration to declaration block
14138 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14140 * gst/gst.c: (init_post):
14141 use _exit() instead of exit() in our forked child; this ensures
14142 that none of the registered exit handlers from whatever is using
14143 GStreamer get executed. This fixes gnome-mixer-applet failing
14144 to load, because ORBit would shut down.
14145 Spotted by: Edward Hervey <edward@fluendo.com>
14146 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14149 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14154 === release 0.10.7 ===
14156 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14159 releasing 0.10.7, "Soepeke, ik zie ou"
14161 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14184 * win32/common/config.h:
14185 0.10.6.2 prerelease
14187 2006-06-07 Wim Taymans <wim@fluendo.com>
14189 * gst/gstindex.c: (gst_index_gtype_resolver):
14190 * tools/gst-xmlinspect.c: (print_plugin_info):
14191 Fix leak spotted by coverity checker. Fixes #343827
14192 Fix another other leak found by paolo borelli.
14194 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14196 * libs/gst/dataprotocol/dataprotocol.c:
14197 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14198 (gst_dp_version_get_type), (gst_dp_init),
14199 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14200 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14201 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14202 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14203 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14204 (gst_dp_packetizer_free):
14205 * libs/gst/dataprotocol/dataprotocol.h:
14206 API: add a GstDPPacketizer object, and create/free functions
14207 API: add GstDPVersion enum
14208 Add 1.0 event function that uses the string serialization
14209 Serialize more useful buffer flags
14212 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14214 * tests/check/Makefile.am:
14215 * tests/check/gst/gstabi.c:
14216 * tests/check/gst/struct_ppc64.h:
14217 * tests/check/libs/libsabi.c:
14218 * tests/check/libs/struct_ppc64.h:
14219 add ppc64 structure sizes
14221 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14223 * tests/check/Makefile.am:
14224 * tests/check/gst/gstabi.c:
14225 * tests/check/gst/struct_x86_64.h:
14226 * tests/check/libs/libsabi.c:
14227 * tests/check/libs/struct_x86_64.h:
14228 generate and add structure size lists for x86_64
14230 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14232 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14233 * libs/gst/check/gstcheck.h:
14234 factor out the method from tests that checks size of structures,
14235 and add code to generate the header containing these sizes
14236 * tests/check/gst/gstabi.c: (GST_START_TEST):
14237 * tests/check/gst/struct_i386.h:
14238 * tests/check/libs/libsabi.c: (GST_START_TEST):
14239 * tests/check/libs/struct_i386.h:
14242 2006-06-06 Michael Smith <msmith@fluendo.com>
14244 * gst/gstsegment.h:
14245 Don't use c++-style comments, fixes #343929
14247 2006-06-05 Edward Hervey <edward@fluendo.com>
14250 plugin_paths is not used if we build without registry support.
14252 * gst/gstsegment.c: (gst_segment_copy):
14253 _copy() was always returning NULL...
14255 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14257 * libs/gst/dataprotocol/dataprotocol.c:
14258 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14259 (gst_dp_packet_from_event):
14260 factor out CRC code
14262 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14264 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14265 make sure we unset caps
14267 2006-06-02 Michael Smith <msmith@fluendo.com>
14269 * libs/gst/check/gstcheck.c: (gst_check_init),
14270 (gst_check_chain_func):
14271 * libs/gst/check/gstcheck.h:
14272 Add a cond/mutex to the check support lib, signal this whenever we
14273 add to the buffers list. This will allow tests to not busy-wait on
14276 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14278 * libs/gst/dataprotocol/dataprotocol.c:
14279 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14280 (gst_dp_packet_from_event):
14281 factor out some common header init code
14283 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14285 * docs/libs/gstreamer-libs-sections.txt:
14286 * docs/libs/tmpl/gstdataprotocol.sgml:
14287 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14288 * libs/gst/dataprotocol/dataprotocol.h:
14289 API: make gst_dp_crc() public
14291 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14293 * plugins/indexers/gstindexers.c: (plugin_init):
14294 conditionally register fileindexer (fixes #343598)
14296 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14298 * gst/gsttagsetter.h:
14299 Can't cast ifaces to a class
14301 * libs/gst/net/gstnetclientclock.h:
14302 * libs/gst/net/gstnettimeprovider.h:
14303 * plugins/elements/gstfakesink.h:
14304 * plugins/elements/gstfakesrc.h:
14305 * plugins/elements/gstfdsink.h:
14306 * plugins/elements/gstfdsrc.h:
14307 * plugins/elements/gstfilesink.h:
14308 * plugins/elements/gstfilesrc.h:
14309 * plugins/elements/gstidentity.h:
14310 * plugins/elements/gstqueue.h:
14311 * plugins/elements/gsttee.h:
14312 * plugins/indexers/gstfileindex.c:
14313 * plugins/indexers/gstmemindex.c:
14314 * tests/old/examples/plugins/example.h:
14315 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14317 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14319 * libs/gst/dataprotocol/dataprotocol.c:
14320 (gst_dp_header_from_buffer):
14321 make sure we zero the whole ABI-compatible area
14323 2006-06-01 Wim Taymans <wim@fluendo.com>
14325 Patch by: Alessandro Decina <alessandro at nnva dot org>
14327 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14328 Make sure the EOS flag is cleared from pads after a flush
14329 or stop. Fixes #343538.
14331 * tests/check/libs/collectpads.c: (GST_START_TEST),
14332 (gst_collect_pads_suite):
14333 Added test for collectpads reusage after EOS.
14335 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14338 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14339 * win32/common/libgstbase.def:
14340 export gst_collect_pads_set_flushing
14341 * win32/common/libgstreamer.def:
14342 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14343 gst_value_fraction_multiply
14344 * win32/vs6/gst_inspect.dsp:
14345 add a link to intl.lib
14347 2006-05-30 Wim Taymans <wim@fluendo.com>
14349 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14350 (gst_collect_pads_chain):
14351 Handle the case where a pad is removed from the collection
14352 that could cause the other pads to become collectable.
14354 2006-05-30 Wim Taymans <wim@fluendo.com>
14356 * gst/gstelement.c:
14357 Clarify the use of _release_request_pad() and
14358 _get_request_pad() a bit better.
14360 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14361 (gst_adapter_take_buffer):
14362 Fix some doc and comment typos.
14364 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14366 * docs/gst/gstreamer-sections.txt:
14367 * docs/libs/gstreamer-libs-sections.txt:
14368 add declared symbols
14370 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14372 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14373 Add debug that can be enabled using a #define at the top of the file,
14374 for dumping stats about how late/early we were when waking up from
14375 waiting on the clock.
14377 2006-05-30 Wim Taymans <wim@fluendo.com>
14379 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14380 When rebuilding the pad list, don't leak the previous list.
14382 2006-05-30 Wim Taymans <wim@fluendo.com>
14384 Patch by: Lutz Mueller <lutz at topfrose dot de>
14386 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14387 (gst_base_src_get_query_types), (gst_base_src_update_length):
14388 Publish supported query types.
14389 Update last_stop field in get_range mode so the position
14390 query works. Fixes #342321.
14392 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14394 * docs/gst/gstreamer-sections.txt:
14395 * gst/gsttaglist.c: (_gst_tag_initialize):
14396 * gst/gsttaglist.h:
14397 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14399 2006-05-30 Wim Taymans <wim@fluendo.com>
14401 Patch by: Alessandro Decina <alessandro at nnva dot org>
14403 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14404 Unlock mutex when removing an unknown pad.
14407 * tests/check/Makefile.am:
14408 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14409 (push_event), (setup), (teardown), (GST_START_TEST),
14410 (gst_collect_pads_suite), (main):
14411 Added collecpads check, disabled for now as check crashes for
14414 2006-05-29 Wim Taymans <wim@fluendo.com>
14416 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14417 Don't leak pads lists.
14419 2006-05-29 Wim Taymans <wim@fluendo.com>
14421 * docs/libs/gstreamer-libs-sections.txt:
14422 * libs/gst/base/gstcollectpads.c:
14423 (gst_collect_pads_set_flushing_unlocked),
14424 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14425 (gst_collect_pads_stop):
14426 * libs/gst/base/gstcollectpads.h:
14427 API: gst_collect_pads_set_flushing()
14428 Added api to set the pads to flushing, useful for seeking
14429 code in elements using collectpads.
14430 Clear segment when receiving a flush.
14432 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14434 * gst/gst.c: (add_path_func), (init_post):
14435 Don't scan registry paths passed via --gst-plugin-path immediately
14436 (will crash, because absolutely nothing is set up and no types are
14437 registered etc.); do this later in init_post(). Fixes #343057.
14439 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14441 * gst/gst.c: (init_post):
14442 if we have fork, fork while reading/rebuilding the registry
14443 so the parent doesn't take the hit of having all plugins loaded
14444 in memory. Fixes #342777.
14446 Check if we have fork()
14447 * win32/common/config.h.in:
14450 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14452 * plugins/elements/gstelements.c:
14453 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14454 (gst_file_src_init), (gst_file_src_set_property),
14455 (gst_file_src_get_property), (gst_file_src_start):
14456 * plugins/elements/gstfilesrc.h:
14457 API: GstFileSrc::use-mmap
14459 Add a use-mmap property to enable easier testing of all code paths.
14460 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14461 in the absence of gnomevfssrc. (Closes #340501)
14463 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14465 * tools/gst-inspect.c:
14466 Add missing include, removes warning of ngettext not being defined on
14469 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14471 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14472 Handle NULL input and output pointers silently as a failed conversion,
14473 rather than g_warnings.
14475 2006-05-25 Wim Taymans <wim@fluendo.com>
14477 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14478 Initialize variable before using. Fixes #342820.
14480 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14482 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14483 Fix off-by-one bug that would only allow peeks of N-1 bytes
14484 from the start even if the buffer to typefind on contains
14485 in fact N bytes of data (makes vorbis typefinding from a
14486 vorbis identification header buffer work).
14488 * tests/check/Makefile.am:
14489 * tests/check/libs/.cvsignore:
14490 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14491 (gst_typefindhelper_suite), (main), (foobar_typefind),
14493 Add very basic unit test for gst_type_find_helper_for_buffer()
14494 that checks for the problem fixed above.
14496 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14498 * tools/gst-inspect.c: (print_interfaces),
14499 (print_element_properties_info), (print_element_list), (main):
14500 add more translatable strings
14502 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14504 Patch by: Julien Moutte <julien at moutte net>
14506 * docs/gst/gstreamer-sections.txt:
14507 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14509 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14510 (gst_fake_sink_preroll):
14511 * plugins/elements/gstfakesink.h:
14512 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14514 2006-05-23 Wim Taymans <wim@fluendo.com>
14516 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14518 Added _CUSTOM error and success GstFlowReturn that can be
14519 used be elements internally.
14520 Added macro to check for SUCCESS flowreturns.
14521 API: GST_FLOW_CUSTOM_SUCCESS
14522 API: GST_FLOW_CUSTOM_ERROR
14523 API: GST_FLOW_IS_SUCCESS
14525 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14526 Added check for GstFlowReturn sanity.
14528 2006-05-23 Wim Taymans <wim@fluendo.com>
14530 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14532 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14533 (gst_collect_pads_event):
14534 clear/reset segment info in FLUSH_STOP.
14537 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14539 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14540 (gst_collect_pads_check_collected):
14541 Flush queued buffer on _stop(), fixes playing again (#342454)
14543 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14545 * tests/check/gst/gststructure.c: (GST_START_TEST),
14546 (gst_structure_suite):
14547 add a test for a complete structure
14549 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14551 * docs/faq/developing.xml:
14552 * docs/faq/faq.xml:
14553 * docs/faq/troubleshooting.xml:
14554 * docs/faq/using.xml:
14555 Some minor FAQ updates that won't change the fact that
14556 our FAQ is badly structured, full of information hardly
14557 anyone new to GStreamer needs to know and lacking lots
14558 of information people constantly ask for.
14560 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14562 * gst/gstpad.c: (gst_pad_set_caps):
14563 Short-circuit gst_pad_set_caps if setting the existing
14564 caps pointer again, and avoid printing debug and
14565 reffing/unreffing the caps.
14567 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14568 There's actually no need to set the caps before pushing -
14569 the acceptcaps method will handle it anyway.
14571 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14573 * docs/gst/gstreamer-sections.txt:
14574 * win32/common/libgstreamer.def:
14575 * gst/gstutils.c: (gst_element_seek_simple):
14577 API: add gst_element_seek_simple() (#342238).
14579 2006-05-18 Edward Hervey <edward@fluendo.com>
14581 * gst/gsttypefind.c: (gst_type_find_get_type):
14582 * gst/gsttypefind.h:
14583 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14584 registered for GstTypeFind pointers. This allows wrapping the structure
14585 in bindings (i.e. gst-python).
14587 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14589 * gst/gsttagsetter.c:
14590 Docs additions and fixes (see #339918).
14592 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14594 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14595 The caps intersection algorithm can produce multiple copies of the
14596 caps. Until that is fixed, we need to simplify the result to be
14597 sure whether the allowed caps are fixed or not.
14599 * plugins/elements/gstqueue.c: (gst_queue_init),
14600 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14601 (gst_queue_push_one):
14602 Proxied buffer alloc should not set the caps on the source pad.
14603 When pushing buffers, we always accept the caps change that triggers.
14604 This prevents negotiation errors caused by caps changing mid-stream
14605 and then being refused on our source pad (because upstream is now
14606 refusing those caps).
14608 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14610 * tests/examples/helloworld/helloworld.c: (main):
14611 Must plug audioconvert and audioresample between decoder
14614 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14616 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14617 (load_feature), (load_plugin):
14618 Allow empty strings for some of the plugin fields so we don't
14619 drop valid plugin entries that were written out correctly
14622 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14624 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14625 Use g_remove and g_rename instead of remove and rename that don't
14626 handle utf8 characters. rename was failing for users who had specific
14627 characters in their name then the registry was built at each
14629 * win32/vs6/gst_inspect.dsp:
14630 * win32/vs6/gst_launch.dsp:
14631 * win32/vs6/libgstbase.dsp:
14632 * win32/vs6/libgstcoreelements.dsp:
14633 * win32/vs6/libgstreamer.dsp:
14634 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14635 build of libgstreamer and clean unused libraries in projects link
14638 2006-05-17 Edward Hervey <edward@fluendo.com>
14640 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14641 The queue is not responsible for pushing an EOS when receiving a fatal
14642 flow error. It's up to the real element driving the pipeline to do that.
14644 2006-05-16 Edward Hervey <edward@fluendo.com>
14646 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14647 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14648 buffer returned a fatal error. It should just send an EOS and stop
14650 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14651 when pushing buffers on the queue and will be able to handle the event.
14653 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14655 * docs/manual/basics-bins.xml:
14656 * docs/manual/basics-init.xml:
14657 Fix typos and minor errors in sample code (#341856).
14659 2006-05-16 Wim Taymans <wim@fluendo.com>
14661 * docs/design/part-qos.txt:
14662 Fix indexes in formulas to make more sense.
14664 2006-05-15 Wim Taymans <wim@fluendo.com>
14666 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14667 Don't report POSITION based on clock time if sync is
14668 disabled in a sink.
14670 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14673 Add cast to make compiler happy - refcount variable was a gint
14674 in GstObject but is a guint in GObject and g_atomic_int_get()
14677 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14679 * gst/parse/Makefile.am:
14680 chain commands using &&, which also makes parallel make work
14682 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14684 * docs/gst/gstreamer-sections.txt:
14687 * gst/gstmessage.h:
14690 === release 0.10.6 ===
14692 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14695 releasing 0.10.6, "Take the cannoli"
14697 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14699 * tools/gst-launch.c: (print_tag):
14700 Fix use of uninitialized variable in the hypothetical
14701 case that some broken plugin creates a GST_TAG_IMAGE
14702 tag containing a NULL buffer (#341667).
14704 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14706 * tools/gst-launch.c: (print_tag):
14707 Print something more intelligible for image tags when
14708 using the -t switch (#341556).
14710 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14715 define GST_MAJORMINOR so we have it available in win32/common/config.h
14716 Possibly remove it from our Makefile.am files later
14717 * win32/common/config.h:
14718 * win32/common/config.h.in:
14719 added GST_MAJORMINOR
14720 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14721 * win32/common/gstversion.h:
14724 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14727 Update win32 files listing.
14728 * win32/common/gstversion.h:
14729 Add GST_MAJORMINOR definition.
14730 * win32/common/libgstreamer.def:
14731 Add new exported functions.
14733 2006-05-12 Michael Smith <msmith@fluendo.com>
14735 * gst/gstplugin.c: (gst_plugin_load_file):
14736 If an so file has no plugin entry point, unload the module.
14738 2006-05-11 Wim Taymans <wim@fluendo.com>
14740 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14741 (gst_queue_set_property):
14742 Don't forget to signal the _chain or _loop function
14743 when the queue size or thresholds change since that might
14744 cause them to make progres again.
14746 2006-05-11 Stefan Kost <ensonic@users.sf.net>
14748 * gst/gstclock.c: (gst_clock_class_init):
14749 * gst/gstindex.c: (gst_index_class_init):
14750 * gst/gstobject.c: (gst_object_class_init):
14751 * gst/gstpad.c: (gst_pad_class_init):
14752 * gst/gstpipeline.c: (gst_pipeline_class_init):
14753 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14754 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14755 * libs/gst/base/gstbasetransform.c:
14756 (gst_base_transform_class_init):
14757 * libs/gst/net/gstnetclientclock.c:
14758 (gst_net_client_clock_class_init):
14759 * libs/gst/net/gstnettimeprovider.c:
14760 (gst_net_time_provider_class_init):
14761 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14762 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14763 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14764 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14765 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14766 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14767 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14768 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14769 * plugins/elements/gsttee.c: (gst_tee_class_init):
14770 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14771 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14772 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14774 2006-05-11 Wim Taymans <wim@fluendo.com>
14776 * gst/gstbuffer.c: (_gst_buffer_initialize):
14777 Register subbufer along with the buffer type so that
14778 it does not accidentally gets registered from N
14779 different streaming threads in a non threadsafe way.
14781 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14785 * gst/gstmessage.h:
14786 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14787 gst_event_ref() and gst_message_ref() functions again
14788 (ugly hack, please do fix if there's a better way besides
14789 overrides.txt, which doesn't seem to work).
14791 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14793 * libs/gst/check/gstcheck.h:
14794 add an assert for setting state to avoid lots of repetitive code
14797 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14799 * gst/gstvalue.c: (gst_value_serialize_flags):
14800 fix a leak if no flags are set
14801 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14804 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14806 * docs/manual/basics-pads.xml:
14807 Expand a bit on caps and filtered links and update
14808 examples that were still using the no longer existing
14809 gst_pad_link_filtered() (#338206).
14811 2006-05-10 Wim Taymans <wim@fluendo.com>
14813 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14814 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14815 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14816 (gst_collect_pads_stop):
14817 * libs/gst/base/gstcollectpads.h:
14818 No need to call _stop in _finalize.
14819 Iterate the main pad list in _finalize.
14820 Added some more debug.
14821 Free lists and data in the right order.
14822 Also free data whem doing _remove_pad when stopped for
14823 backward compatibility protect ::started with PAD_LOCK as
14826 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14828 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14829 (gst_structure_parse_value):
14831 rename a method so that it actually says what it does better
14833 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14835 * gst/gstevent.c: (_gst_event_initialize):
14836 * gst/gstformat.c: (_gst_format_initialize):
14837 make sure some essential types used by events are registered
14838 as part of gst_init()
14839 * gst/gstvalue.c: (gst_value_serialize_flags):
14840 if no flags are set, serialize them to a value that represents NONE
14841 so that deserializing them works
14842 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14843 add tests for serialization and deserialization of flags
14845 2006-05-10 Wim Taymans <wim@fluendo.com>
14847 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14848 (gst_collect_pads_collect_range), (gst_collect_pads_available),
14849 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14850 (gst_collect_pads_event), (gst_collect_pads_chain):
14853 Catch and return errors from the collect function
14854 Refuse data on eos pads.
14856 2006-05-10 Edward Hervey <edward@fluendo.com>
14858 * gst/gstinterface.h:
14859 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14860 GInterface type checking.
14861 They were previously using non-defined macros.
14863 2006-05-09 Wim Taymans <wim@fluendo.com>
14865 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14866 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14867 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14868 (gst_collect_pads_start), (gst_collect_pads_stop),
14869 (gst_collect_pads_peek), (gst_collect_pads_pop),
14870 (gst_collect_pads_available), (gst_collect_pads_read),
14871 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
14872 (gst_collect_pads_is_collected), (gst_collect_pads_event),
14873 (gst_collect_pads_chain):
14874 * libs/gst/base/gstcollectpads.h:
14875 Clean up the mess that is collectpads, add comments and
14876 FIXMEs where needed.
14877 Maintain a separate pad list so we can add pads while
14878 collecting the other ones. For this we need a new separate
14880 Fix memory leak in finalize.
14881 Refactor some weird code to set/unset pad flushing flags, mark
14883 Don't crash in _available, _read, _flush when we're EOS.
14885 * tests/check/libs/.cvsignore:
14886 Ignore adapter check binary.
14888 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14890 * gst/gstindex.c: (gst_index_resolver_get_type):
14891 * plugins/elements/gstfakesink.c:
14892 (gst_fake_sink_state_error_get_type):
14893 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14894 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14895 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14896 Const-ify GEnumValue arrays.
14898 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14900 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14901 Add test case for flags + gst_buffer_make_metadata_writable().
14903 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14905 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
14906 gst_buffer_make_metadata_writable() should maintain the
14907 buffer flags (those that make sense at least) (see #340859).
14909 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14911 * tools/gst-inspect.c:
14912 * tools/gst-launch.c:
14913 * tools/gst-typefind.c:
14914 * tools/gst-xmlinspect.c:
14916 Fix up includes: need to include stdlib.h in tools.h for exit().
14918 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14920 * gst/gsttaglist.c: (_gst_tag_initialize):
14921 * gst/gsttaglist.h:
14922 API: add GST_TAG_IMAGE tag (#340721).
14924 2006-05-08 Wim Taymans <wim@fluendo.com>
14927 Added some docs for the segment query.
14929 2006-05-08 Wim Taymans <wim@fluendo.com>
14931 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14932 (gst_base_src_loop), (gst_base_src_change_state):
14933 Always push non-flushing serialized events in the streaming
14936 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
14938 * gst/gsterror.c: (_gst_stream_errors_init):
14939 Add a missing error string.
14941 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
14943 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
14944 Add applied_rate to the debug
14946 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
14947 Copy applied_rate into the outgoing NEWSEGMENT event
14949 2006-05-08 Wim Taymans <wim@fluendo.com>
14951 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
14953 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
14954 (gst_base_sink_change_state):
14955 call ::unlock before taking the PREROLL_LOCK so we can safely
14956 handle elements that lock in ::render.
14959 2006-05-08 Edward Hervey <edward@fluendo.com>
14961 * autogen.sh: (CONFIGURE_DEF_OPT):
14962 Darwin's libtoolize is in fact called glibtoolize.
14963 Adding glibtoolize to the list of accepted names for libtoolize.
14965 2006-05-08 Wim Taymans <wim@fluendo.com>
14967 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14968 Unify error handling, don't post an error message
14969 when a push() returns EOS but perform our normal EOS
14970 handling code. Fixes #340772.
14972 2006-05-08 Wim Taymans <wim@fluendo.com>
14974 * docs/design/part-overview.txt:
14975 Make upsteam/downstream concepts more clear.
14976 Give an example of serialized/non-serialized events.
14978 * docs/design/part-events.txt:
14979 * docs/design/part-streams.txt:
14980 Mention applied_rate.
14982 * docs/design/part-trickmodes.txt:
14983 Mention applied rate, flesh out some more use cases.
14985 * gst/gstevent.c: (gst_event_new_new_segment),
14986 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
14987 (gst_event_parse_new_segment_full), (gst_event_new_tag),
14988 (gst_event_parse_tag), (gst_event_new_buffer_size),
14989 (gst_event_parse_buffer_size), (gst_event_new_qos),
14990 (gst_event_parse_qos), (gst_event_parse_seek),
14991 (gst_event_new_navigation):
14993 Add applied_rate field to NEWSEGMENT event.
14994 API: gst_event_new_new_segment_full()
14995 API: gst_event_parse_new_segment_full()
14997 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
14998 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
14999 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15000 * gst/gstsegment.h:
15001 Add applied_rate to GstSegment structure.
15002 Make calculation of stream_time and running_time more correct
15003 wrt rate/applied_rate.
15004 Add some more docs.
15005 API: GstSegment::applied_rate field
15006 API: gst_segment_set_newsegment_full();
15008 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15009 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15010 * libs/gst/base/gstbasetransform.c:
15011 (gst_base_transform_sink_eventfunc),
15012 (gst_base_transform_handle_buffer):
15013 Parse and use applied_rate in the GstSegment field.
15015 * tests/check/gst/gstevent.c: (GST_START_TEST):
15016 Add check for applied_rate field.
15018 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15019 (gstsegments_suite):
15020 Add more checks for various GstSegment operations.
15022 2006-05-08 Wim Taymans <wim@fluendo.com>
15024 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15025 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15026 (gst_base_sink_get_position), (gst_base_sink_change_state):
15027 Store the sync time of the buffer end position separatly in a
15028 new variable eos_rtime so we can properly sync the EOS event.
15030 Fix the docs for gst_base_sink_set_qos_enabled().
15031 Don't set segment start to invalid value when we receive a
15032 non TIME newsegment.
15033 get closer to handling position reporting for negative rates
15036 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15039 Docs about how to print caps for debug purposes.
15041 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15042 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15044 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15046 * gst/gstelement.c:
15047 use full enum names and preprend a '%' in docs strings to make recent
15048 gtk-doc turn that into a link
15050 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15052 * docs/manual/basics-bins.xml:
15053 * docs/manual/basics-bus.xml:
15054 * docs/manual/basics-pads.xml:
15055 Some typo fixes, some additions, some clarifications.
15057 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15059 * tools/gst-inspect.c: (main):
15060 * tools/gst-launch.c: (main):
15061 * tools/gst-run.c: (main):
15062 * tools/gst-typefind.c: (main):
15063 * tools/gst-xmlinspect.c: (main):
15064 Use the string passed to g_option_context_new() for
15065 what it's intended for - the program name is already
15068 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15070 * tools/Makefile.am:
15071 * tools/gst-inspect.c: (main):
15072 * tools/gst-launch.c: (main):
15073 * tools/gst-xmlinspect.c: (main):
15075 Add back --version command line option (#340460).
15077 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15078 Add --version option and use GOption for argument parsing; refactor a
15079 bit; accept directories as arguments and recurse into them; lastly,
15080 print a decent error message when things go wrong.
15082 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15084 * docs/manual/basics-bins.xml:
15085 Don't mention GstThread (#340611)
15086 * docs/manual/basics-elements.xml:
15087 Update link to GObject tutorial (#340607)
15089 2006-05-05 Wim Taymans <wim@fluendo.com>
15092 * gst/gstminiobject.c:
15093 Add note about refcounting and miniobject/buffer writeability
15094 to docs. Fixes #340604
15096 * gst/gstelementfactory.h:
15097 Added some explanation about @klass.
15099 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15101 * docs/manual/intro-motivation.xml:
15102 * docs/manual/manual.xml:
15103 Avoid CORBA & Bonobo references (#340598)
15105 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15107 * docs/manual/basics-bus.xml:
15108 * docs/manual/basics-pads.xml:
15109 Fix up some inaccuracies and omissions (#340609)
15111 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15113 * gst/gstghostpad.c:
15114 Small typo in docs (#340625)
15116 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15118 * gst/parse/Makefile.am:
15119 Make 'make -j' proof (see #340698).
15121 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15124 Require GLib-2.8 here as well.
15126 2006-05-05 Wim Taymans <wim@fluendo.com>
15128 * gst/glib-compat.c:
15129 * gst/gst.c: (init_pre):
15130 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15131 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15132 (gst_object_dispatch_properties_changed):
15134 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15135 * gst/gststructure.c: (gst_structure_set_valist):
15136 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15137 Remove pre glib2.8 compatibility, fixes #340508
15139 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15141 * gst/gsttaglist.h:
15142 Mention type of tags in doc blurbs.
15144 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15146 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15147 (gst_pad_configure_src), (gst_pad_push):
15148 Restore acceptcaps checking behaviour now that good plugins have
15151 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15153 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15160 * gst/gstmessage.c:
15164 * gst/parse/Makefile.am:
15165 * libs/gst/base/gstadapter.c:
15166 * libs/gst/base/gstbasesrc.c:
15167 * libs/gst/base/gstpushsrc.c:
15168 * libs/gst/base/gsttypefindhelper.c:
15169 * plugins/elements/gstfakesrc.c:
15170 * plugins/elements/gstidentity.c:
15171 Make sure gstprivate.h and/or config.h are
15172 always included first, otherwise some of our
15173 defines (like _FILE_OFFSET_BITS) might be
15174 redefined in the system headers. Fixes build
15175 on opensolaris (#340016).
15177 2006-05-04 Wim Taymans <wim@fluendo.com>
15179 * docs/libs/gstreamer-libs-sections.txt:
15180 API: addition: gst_adapter_take_buffer()
15182 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15183 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15184 (gst_adapter_available_fast):
15185 * libs/gst/base/gstadapter.h:
15186 Prepare for optimizing the hell out of this hugely inefficient
15188 Added gst_adapter_take_buffer() so we can at least start thinking
15189 about subbuffering and merging.
15190 Added some comments.
15192 * tests/check/Makefile.am:
15193 * tests/check/libs/adapter.c: (GST_START_TEST),
15194 (gst_adapter_suite), (main):
15195 Added GstAdapter check.
15197 2006-05-04 Wim Taymans <wim@fluendo.com>
15199 * docs/design/part-overview.txt:
15200 Fix some typos, add blurb about buffer flags.
15202 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15204 * docs/libs/gstreamer-libs-sections.txt:
15205 make sure GstBaseTransformClass shows up in the docs
15206 * libs/gst/base/gstbasetransform.c:
15207 * libs/gst/base/gstbasetransform.h:
15208 move docs so gtk-doc picks it up now
15210 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15212 * docs/libs/gstreamer-libs-sections.txt:
15213 add missing symbols to docs
15215 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15217 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15218 back out the newsegment handling change, see #340060 for ongoing
15221 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15223 * tools/gst-run.c: (get_candidates), (main):
15224 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15225 work); fix typo in error message. Fixes #340079.
15227 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15229 * common/Makefile.am:
15230 * docs/Makefile.am:
15231 * docs/faq/Makefile.am:
15232 * docs/gst/Makefile.am:
15233 * docs/libs/Makefile.am:
15234 * docs/manual/Makefile.am:
15235 * docs/plugins/Makefile.am:
15236 * docs/pwg/Makefile.am:
15237 * docs/slides/Makefile.am:
15239 * common/upload.mak:
15240 move upload.mak to common
15242 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15244 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15245 add more asserts on refcounts
15246 do more cleanup at end of tests
15247 fix test leaks showing in FC5
15249 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15251 * plugins/elements/gsttypefindelement.c:
15252 (gst_type_find_element_handle_event):
15253 reverted wrong change and reflowed code to avoid others falling into
15256 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15258 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15259 fix changelog entry about last collectpads change,
15260 add notes about proper fix
15262 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15265 * gst/gstregistry.c: (gst_registry_scan_path_level),
15266 (gst_registry_scan_path):
15267 * gst/gstregistry.h:
15268 only write out registry if it has changed, fixes #338339
15270 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15273 * gst/gstpipeline.c:
15274 * plugins/elements/gstcapsfilter.c:
15275 * plugins/elements/gstfakesink.c:
15276 * plugins/elements/gstfakesrc.c:
15277 * plugins/elements/gstfdsink.c:
15278 * plugins/elements/gstfdsrc.c:
15279 * plugins/elements/gstfilesink.c:
15280 * plugins/elements/gstfilesrc.c:
15281 * plugins/elements/gstidentity.c:
15282 * plugins/elements/gstqueue.c:
15283 * plugins/elements/gsttee.c:
15284 * plugins/elements/gsttypefindelement.c:
15285 (gst_type_find_element_handle_event):
15286 make GstElementDetails const
15288 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15290 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15291 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15292 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15293 more detailed debug and formatting cleanup,
15294 forward newsegments to src-pad (so that e.g. adder not eats them)
15296 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15298 * gst/gstutils.c: (gst_element_link_pads):
15299 cleanup double code
15301 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15303 * libs/gst/controller/gstcontroller.c:
15304 (gst_controller_sync_values):
15306 * tests/check/libs/controller.c: (GST_START_TEST),
15307 (gst_controller_suite):
15308 a new test for live value handling
15310 2006-04-28 Wim Taymans <wim@fluendo.com>
15312 * gst/gstutils.c: (push_and_ref):
15313 Added some more docs.
15314 Fix refcount issue whith gst_element_found_tags() helper
15315 function. Fixes #338335
15317 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15318 Added testsuite for gst_element_found_tags().
15320 2006-04-28 Michael Smith <msmith@fluendo.com>
15322 * gst/gstvalue.c: (gst_value_serialize_flags):
15323 Avoid NULL dereference when trying to serialize flags containing
15326 2006-04-28 Michael Smith <msmith@fluendo.com>
15328 * plugins/elements/gsttypefindelement.c:
15329 (gst_type_find_element_handle_event):
15330 If we get EOS before any data is accumulated, don't use
15331 uninitialised local variables.
15333 2006-04-28 Michael Smith <msmith@fluendo.com>
15335 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15336 (gst_dp_event_from_packet):
15337 Fixes in reading/writing events over GDP (not currently used?) -
15338 dereferencing NULL events for unknown/invalid event types, memory
15339 leak, and change g_warning to GST_WARNING.
15341 2006-04-28 Wim Taymans <wim@fluendo.com>
15343 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15344 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15345 (gst_base_sink_get_position), (gst_base_sink_change_state):
15346 When frame dropping is enabled, we should not ignore frames
15347 without a duration.
15348 Update some documentation.
15350 2006-04-28 Wim Taymans <wim@fluendo.com>
15352 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15353 (gst_base_src_send_event), (gst_base_src_change_state):
15354 Documentation updates.
15356 2006-04-28 Wim Taymans <wim@fluendo.com>
15358 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15359 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15360 handle EAGAIN, EINTR and short writes correctly. Also clean
15361 up some error cases, avoid a deadlock on bad file descriptors and
15362 use GST_DEBUG_OBJECT.
15365 2006-04-28 Wim Taymans <wim@fluendo.com>
15367 * gst/gstvalue.c: (gst_value_serialize_buffer),
15368 (gst_value_deserialize_buffer):
15369 Don't try to serialize a GValue with a NULL buffer.
15372 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15373 Added check for serialisation of NULL buffers.
15375 2006-04-28 Wim Taymans <wim@fluendo.com>
15377 * gst/gstminiobject.c: (gst_value_take_mini_object):
15378 Taking a NULL miniobject is valid, fix the case where
15379 we try to unref the NULL miniobject.
15381 2006-04-28 Wim Taymans <wim@fluendo.com>
15383 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15385 * gst/gstbin.c: (gst_bin_handle_message_func):
15387 Don't leak bin refcount when a state recalc is
15388 in progress and we delay another one #339808.
15390 2006-04-28 Wim Taymans <wim@fluendo.com>
15392 * docs/design/part-TODO.txt:
15393 Mention QoS as an ongoing work item.
15395 * docs/design/part-buffering.txt:
15396 New doc about buffering that needs to be fleshed out
15399 * docs/design/part-qos.txt:
15400 More QoS policy for decoders/demuxers/transforms
15402 * docs/design/part-trickmodes.txt:
15405 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15410 === release 0.10.5 ===
15412 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15415 releasing 0.10.5, "Fogo"
15417 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15419 patch by: Wim Taymans
15421 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15422 (gst_pad_configure_src), (gst_pad_push):
15423 * gst/gstpipeline.c: (gst_pipeline_init):
15424 Fix internal data flow errors. Fixes #338711.
15426 2006-04-12 Wim Taymans <wim@fluendo.com>
15428 * tests/check/gst/gstelement.c: (GST_START_TEST):
15429 Don't leak the factory.
15431 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15434 * win32/common/config.h:
15437 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15439 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15440 (gst_controller_unset_all):
15441 Free allocated GstTimedValues when freeing list nodes.
15442 Should fix leaks 'make check-valgrind' complains about.
15444 * win32/common/libgstcontroller.def:
15445 Add gst_controller_unset_all.
15447 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15449 * docs/libs/gstreamer-libs-sections.txt:
15450 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15451 (gst_controller_unset_all):
15452 * libs/gst/controller/gstcontroller.h:
15453 API: Added new method gst_controller_unset_all()
15454 fixed gst_controller_unset()
15455 * tests/check/libs/controller.c: (GST_START_TEST),
15456 (gst_controller_suite):
15457 Added two testcases for new and fixed method
15459 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15461 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15462 MSG_DONTWAIT is not defined on Cygwin, so work
15463 around that (fixes #317048).
15465 2006-04-11 Wim Taymans <wim@fluendo.com>
15467 * gst/gstelementfactory.c: (gst_element_register),
15468 (gst_element_factory_create), (gst_element_factory_make):
15471 Updated docs (Fixes #131079)
15473 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15476 * tests/check/gst/gstelement.c: (GST_START_TEST),
15477 (gst_element_suite):
15478 Added testcase for elementfactory class field.
15480 2006-04-10 Wim Taymans <wim@fluendo.com>
15482 * gst/gstsegment.c:
15483 Added some more docs.
15485 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15486 (gst_base_sink_reset_qos):
15487 Calculate more accurate rate values.
15489 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15491 * gst/gst_private.h:
15492 add a new #ifdef to use __declspec(dllimport) only for
15493 other modules and not for gstreamer core
15494 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15495 use gst_guint64_to_gdouble for conversion
15496 * win32/common/libgstreamer.def:
15497 add new exported functions
15498 * win32/vs6/gst_inspect.dsp:
15499 * win32/vs6/gst_launch.dsp:
15500 * win32/vs6/libgstbase.dsp:
15501 * win32/vs6/libgstcontroller.dsp:
15502 * win32/vs6/libgstcoreelements.dsp:
15503 * win32/vs6/libgstdataprotocol.dsp:
15504 * win32/vs6/libgstnet.dsp:
15505 update project files
15507 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15509 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15510 * gst/gstclock.c: (gst_clock_class_init):
15511 * gst/gstelement.c: (gst_element_class_init):
15512 * gst/gstindex.c: (gst_index_class_init):
15513 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15514 * gst/gstobject.c: (gst_object_class_init),
15515 (gst_signal_object_class_init):
15516 * gst/gstpad.c: (gst_pad_class_init):
15517 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15518 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15519 * gst/gstregistry.c: (gst_registry_class_init):
15520 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15521 * gst/gsttask.c: (gst_task_class_init):
15522 * gst/gstxml.c: (gst_xml_class_init):
15523 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15524 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15525 (gst_base_src_loop):
15526 * libs/gst/controller/gstcontroller.c:/
15527 (_gst_controller_class_init):
15528 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15529 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15530 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15531 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15532 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15533 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15535 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15537 * gst/gstpad.c: (gst_pad_link):
15538 Must set peer pads before calling the link function, otherwise
15539 a task started from a link function might get a flow-not-linked
15540 result when trying to push because the other thread where the
15541 linking happens hasn't had a chance to set the peers yet. This
15542 might happen for example when a queue gets linked to a downstream
15543 element, as queue starts a streaming task when its source pad
15544 gets linked. Happens in real life when playing back flac/musepack
15545 files in playbin (#332390).
15547 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15551 * libs/gst/base/gstadapter.h:
15552 * libs/gst/base/gstbasesink.h:
15553 * libs/gst/base/gstbasesrc.h:
15554 * libs/gst/base/gstbasetransform.h:
15555 * libs/gst/base/gstcollectpads.h:
15556 * libs/gst/base/gstpushsrc.h:
15557 Fix broken GObject macros
15559 2006-04-07 Wim Taymans <wim@fluendo.com>
15561 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15562 Initialize start and stop times, thanks valgrind.
15564 2006-04-07 Wim Taymans <wim@fluendo.com>
15566 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15567 Be a bit nicer to badly behaving upstream elements that expect
15568 us to deal with non TIME segments and timestamps (such as fakesrc
15571 2006-04-07 Wim Taymans <wim@fluendo.com>
15574 Small documentation clarification about the signal watch.
15576 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15577 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15578 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15579 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15580 (gst_base_sink_get_position_last),
15581 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15582 Convert and store timestamps in stream time and running time, the
15583 raw timestamps are not useful, also document this better.
15584 Use different window sizes for good and bad QoS observations so
15585 we react to badness a little quicker.
15586 Keep track of the amount of rendered and dropped buffers.
15587 Send QoS timestamps in running time.
15589 * libs/gst/base/gstbasetransform.c:
15590 (gst_base_transform_sink_eventfunc),
15591 (gst_base_transform_handle_buffer):
15592 Compare QoS timestamps against running time.
15594 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15597 Typo fixes in docs.
15599 2006-04-06 Michael Smith <msmith@fluendo.com>
15601 * gst/gstpad.c: (gst_pad_set_property):
15602 Use g_value_get_object() instead of g_value_dup_gst_object(),
15603 to avoid double-reffing the pad template (which we then sink,
15604 so this worked previously if (and only if) the pad template
15607 * gst/gstpadtemplate.c: (gst_pad_template_init),
15608 (gst_pad_template_pad_created):
15609 Never return floating references to pad templates, create
15610 them as initially-sunken.
15612 Document an extra function (and make this stop sinking our
15613 pad template, since that is now guaranteed to do nothing,
15614 since we created it sunken).
15616 * gst/gstghostpad.c:
15619 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15621 * gst/gstinfo.c: (__gst_in_valgrind):
15624 * plugins/elements/gsttypefindelement.c:
15625 (gst_type_find_element_chain):
15626 Don't leak buffer caps.
15628 2006-04-06 Michael Smith <msmith@fluendo.com>
15630 * gst/parse/grammar.y:
15631 Fix a leak in parse-launch for any source-or-sink named element
15634 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15635 Unref the pipeline if it exists after we've failed parsing.
15637 2006-04-05 Michael Smith <msmith@fluendo.com>
15639 * gst/gstpipeline.c: (gst_pipeline_init):
15640 When we create a pipeline bus, initially create it in flushing mode.
15641 Fixes leaks in at least one test, and makes a new pipeline work the
15642 same as one that has gone to READY and then back to NULL.
15644 * gst/gstelement.c:
15647 2006-04-05 Michael Smith <msmith@fluendo.com>
15649 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15650 Unref a pad we reffed.
15651 * tests/check/gst/gstutils.c: (GST_START_TEST):
15654 2006-04-05 Michael Smith <msmith@fluendo.com>
15656 * gst/gstquery.c: (gst_query_set_formats),
15657 (gst_query_set_formatsv):
15658 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15660 2006-04-05 Michael Smith <msmith@fluendo.com>
15662 * tests/check/generic/sinks.c: (GST_START_TEST):
15663 Fix a variety of memleaks in sinks check, which are only sometimes
15664 shown by running the tests under valgrind (weird?).
15666 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15668 * docs/version.entities.in:
15669 Fix the substituted entity name after thomas' changes on the
15672 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15674 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15677 2006-04-05 Andy Wingo <wingo@pobox.com>
15679 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15681 * libs/gst/base/gstbasetransform.c
15682 (gst_base_transform_sink_eventfunc): When resetting our segment on
15683 FLUSH_STOP, also update the flag saying we haven't seen a
15686 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15688 Patch by: Paolo Borelli <pborelli at katamail dot com>
15690 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15691 (gst_plugin_check_license):
15692 minor clean-ups: G_DEFINE_TYPE already takes care of the
15693 parent_class stuff, no need to do it twice. Mark array of
15694 license strings as constant. (#337103)
15696 2006-04-04 Michael Smith <msmith@fluendo.com>
15698 * tools/gst-inspect.c: (print_element_list):
15699 Free the right plugin list; fixes a memory leak.
15701 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15703 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15705 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15706 Don't error out on empty buffers (#336945).
15708 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15710 * docs/libs/gstreamer-libs-sections.txt:
15711 * gst/gsttaglist.c:
15712 * libs/gst/base/gstbasesink.c:
15713 * libs/gst/base/gstbasesink.h:
15714 * libs/gst/base/gstbasesrc.c:
15715 * libs/gst/base/gstbasesrc.h:
15716 Documentation updates. Make BaseSink and BaseSrc docs contain the
15717 class structure so that people can actually see the prototypes for
15718 virtual functions they're supposed to be overriding.
15720 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15722 * plugins/elements/gsttypefindelement.c:
15723 (gst_type_find_element_chain):
15724 More debug info; when skipping typefinding, send cached
15725 events in all cases.
15727 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15730 use new AS_VERSION and AS_NANO macros
15731 * gst/gst-i18n-lib.h:
15734 * gst/gstversion.h.in:
15735 * win32/common/config.h:
15736 * win32/common/config.h.in:
15739 2006-03-31 Michael Smith <msmith@fluendo.com>
15741 * plugins/elements/gsttypefindelement.c:
15742 (gst_type_find_element_chain):
15743 Do not typefind content if the buffers already have caps.
15744 Neccesary for icydemux (#333657), and the right thing to do anyway.
15746 2006-03-30 Wim Taymans <wim@fluendo.com>
15748 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15749 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15750 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15751 (gst_base_sink_record_qos_observation),
15752 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15753 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15754 (gst_base_sink_change_state):
15755 More QoS measurements as described in the design doc.
15756 Get rid of ringbuffer with observations, running average is
15757 more simple and equally good.
15758 Calculates valid proportion now.
15759 Added beginning of flood measurement.
15761 2006-03-29 Wim Taymans <wim@fluendo.com>
15763 * docs/design/part-qos.txt:
15765 Small documentation updates and additions.
15767 2006-03-29 Wim Taymans <wim@fluendo.com>
15769 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15770 (gst_base_src_send_event), (gst_base_src_loop),
15771 (gst_base_src_change_state):
15772 Perform the EOS logic when we reach the segment stop position.
15773 Fix compilation on gcc4.1
15775 2006-03-29 Wim Taymans <wim@fluendo.com>
15777 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15779 * plugins/elements/gstqueue.c: (gst_queue_init),
15780 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15781 (gst_queue_set_property):
15782 * plugins/elements/gstqueue.h:
15783 In queue, when EOS is received, if minimum threshold > max_size -
15784 current_level, there is chance that queue blocks forever in conditional
15785 item del wait. This is because the queue is not emptied completely due
15786 to minimum threshold. Here is another approach. Instead of setting
15787 cur_levels to max in EOS, just zero all minimum threshold levels. This
15788 should make sure that queue gives out all data. When going to READY
15789 (stop) state, just reset the original minimum threshold levels.
15792 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
15794 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15795 (gst_type_find_element_handle_event),
15796 (gst_type_find_element_send_cached_events),
15797 (gst_type_find_element_change_state):
15798 * plugins/elements/gsttypefindelement.h:
15799 When typefinding is done in push mode, we should cache
15800 events we receive during typefinding instead of just
15801 dropping them (e.g. newsegment, custom events from
15802 dvdreadsrc etc.) and then send them out once we've
15803 determined the type of the stream (and decodebin
15804 has had a chance to plug in a decoder/demuxer).
15806 2006-03-27 Wim Taymans <wim@fluendo.com>
15808 * docs/design/part-qos.txt:
15811 2006-03-27 Wim Taymans <wim@fluendo.com>
15813 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15815 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15816 (gst_base_src_send_event), (gst_base_src_change_state):
15817 Handle element seek correctly when we are streaming.
15820 2006-03-24 Michael Smith <msmith@fluendo.com>
15822 * docs/faq/gst-uninstalled:
15823 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15824 allow you to correctly run intalled applications built against old
15825 core, using plugins that require updated core (e.g. running
15826 installed totem against a full uninstalled gstreamer stack)
15828 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15830 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15833 2006-03-24 Wim Taymans <wim@fluendo.com>
15835 * docs/gst/gstreamer-sections.txt:
15836 Rearrange the order of the methods so that related methods
15837 are grouped together in sections.
15839 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15841 * gst/gstelement.c:
15842 Little clarification in the docs
15844 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15848 * plugins/elements/gstidentity.c:
15849 * plugins/elements/gstqueue.c:
15850 * plugins/elements/gsttee.c:
15851 * plugins/elements/gsttypefindelement.c:
15852 GST_ELEMENT_DETAILS formatting
15854 2006-03-24 Wim Taymans <wim@fluendo.com>
15856 * libs/gst/base/gstbasesink.h:
15857 Only add fields, not insert or we break ABI.
15859 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15861 * win32/common/libgstbase.def:
15862 * win32/common/libgstreamer.def:
15863 Update, add recently added functions.
15865 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15867 * docs/gst/gstreamer-sections.txt:
15868 * gst/gstutils.c: (gst_pad_query_peer_position),
15869 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15871 API: add some new utility functions:
15872 - gst_pad_query_peer_position()
15873 - gst_pad_query_peer_duration()
15874 - gst_pad_query_peer_convert()
15876 2006-03-23 Wim Taymans <wim@fluendo.com>
15878 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15879 (gst_base_sink_init), (gst_base_sink_finalize),
15880 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
15881 (gst_base_sink_set_property), (gst_base_sink_get_property),
15882 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
15883 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15884 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
15885 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15886 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15887 (gst_base_sink_preroll_object), (gst_base_sink_event),
15888 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15889 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15890 (gst_base_sink_query), (gst_base_sink_change_state):
15891 Decouple max-lateness and the fact that QoS messages are generated
15892 with a new property (qos).
15893 added API: GstBaseSink::async_play()
15894 Add vmethod so subclasses can be notified of ASYNC playing
15896 Collect timestamp start and stop to report better current
15897 position in EOS/PLAYING/PAUSED/READY/NULL.
15898 Refactor QoS/frame dropping and other measurements.
15899 API: GstBaseSrc::qos
15902 * libs/gst/base/gstbasesink.h:
15903 Added Private struct.
15904 API: gst_base_sink_set_qos_enabled()
15905 API: gst_base_sink_is_qos_enabled()
15907 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15909 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15910 If compiling against GLib-2.8 or newer, try to read the
15911 registry file using GMappedFile first before falling back
15912 to fopen() + fread() (#332151).
15914 2006-03-22 Wim Taymans <wim@fluendo.com>
15916 * gst/gstinfo.c: (gst_debug_set_active),
15917 (gst_debug_category_set_threshold):
15918 Disable debugging unless explicitly activated.
15921 2006-03-22 Wim Taymans <wim@fluendo.com>
15923 * gst/gstelement.c: (gst_element_set_locked_state),
15924 (gst_element_dispose):
15925 Cleanup the error case.
15927 * gst/gstobject.c: (gst_object_dispose):
15928 print a critical when some object was disposed with
15929 a parent, also revive the object since it might
15932 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
15934 * tools/gst-launch.1.in:
15937 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
15940 * tests/check/Makefile.am:
15941 disable some tests when we don't have a registry
15942 * tests/check/gst/gstutils.c: (gst_utils_suite):
15943 don't build the part that needs parsing
15945 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
15948 * tests/examples/Makefile.am:
15949 fix --disable-parse build
15951 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15953 * tools/gst-feedback.1.in:
15954 Fix typo: s/feeback/feedback/ (#133494).
15956 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15958 * tools/Makefile.am:
15959 * tools/gst-launch.1.in:
15960 Add FILES section and correct entry about GST_REGISTRY_PATH
15961 environment variable (#133495; #133494).
15963 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15965 * tools/Makefile.am:
15966 * tools/gst-md5sum.1.in:
15967 * tools/gst-md5sum.c:
15968 Remove gst-md5sum and man page (the md5sink element
15969 required was removed ages ago)
15971 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15973 * gst/gststructure.c: (gst_structure_id_set_value):
15974 Make sure that string fields in structures/taglists
15975 contain valid UTF-8 - we don't want to pass rubbish to
15976 applications because of a buggy plugin (cp. #334167).
15978 2006-03-21 Edward Hervey <edward@fluendo.com>
15980 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15981 (gst_bin_handle_message_func):
15982 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
15983 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
15984 (gst_element_set_bus_func):
15985 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
15986 * gst/gstminiobject.c: (gst_value_set_mini_object),
15987 (gst_value_take_mini_object):
15988 * gst/gstpad.c: (gst_pad_set_pad_template):
15989 * gst/gstpipeline.c: (gst_pipeline_dispose),
15990 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15991 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
15992 (gst_collect_pads_chain):
15993 * libs/gst/net/gstnettimeprovider.c:
15994 (gst_net_time_provider_set_property):
15995 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
15996 It's in fact all issues with gst_*object_replace().
15998 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16000 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16002 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16003 * pkgconfig/gstreamer-check.pc.in:
16004 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16006 2006-03-21 Edward Hervey <edward@fluendo.com>
16010 * gst/gstmessage.h:
16011 gst_[buffer|event|message]_ref() macros are replaced by a static
16012 inline functions because gcc-4.1 will about if the return value
16014 * tests/check/gst/gstevent.c: (event_probe):
16015 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16017 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16020 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16021 the type' case. (Closes: #335195 for now). In the future, when we
16022 depend on GLib 2.10, we could also intern the type name using
16023 g_intern_static_string()
16025 2006-03-20 Wim Taymans <wim@fluendo.com>
16027 * gst/gstbin.c: (gst_bin_handle_message_func),
16028 (bin_query_max_init), (bin_query_position_fold),
16029 (bin_query_position_done), (gst_bin_query):
16030 Position query should also take max of all streams.
16032 2006-03-20 Wim Taymans <wim@fluendo.com>
16034 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16035 (gst_fake_src_finalize):
16036 Fix leaks in fakesrc.
16038 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16039 Fix leaks in the testcase.
16041 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16043 * gst/gst_private.h:
16044 add win32 specific import decoration(__declspec(dllimport))
16045 for all extern GstDebugCategory * variables
16046 * win32/common/libgstbase.def:
16047 * win32/common/libgstcontroller.def:
16048 * win32/common/libgstreamer.def:
16049 Add some exports, remove empty lines
16050 * win32/common/libgstdataprotocol.def:
16051 * win32/common/libgstdataprotocol.dsp:
16052 * win32/common/libgstnet.def:
16053 * win32/common/libgstnet.dsp:
16054 new project files and exportation files added
16056 2006-03-19 Wim Taymans <wim@fluendo.com>
16058 * tests/check/libs/basesrc.c: (eos_event_counter):
16059 Use proper return value for probe.
16061 2006-03-17 Wim Taymans <wim@fluendo.com>
16063 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16065 Don't leak buffers, caps and pads on negotiation errors.
16067 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16069 * docs/faq/cvs.xml:
16070 * docs/faq/dependencies.xml:
16071 * docs/faq/developing.xml:
16072 * docs/faq/faq.xml:
16073 * docs/faq/general.xml:
16074 * docs/faq/getting.xml:
16075 * docs/faq/legal.xml:
16076 * docs/faq/troubleshooting.xml:
16077 * docs/faq/using.xml:
16078 Faq review and update.
16080 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16082 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16084 Don't pound the cpu to pieces by checking get_caps when accept_caps
16085 is called with the same caps as the pad already has.
16086 Use GST_DEBUG_OBJECT when outputting caps change information.
16088 2006-03-15 Wim Taymans <wim@fluendo.com>
16090 * gst/gstclock.c: (gst_clock_class_init):
16093 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16098 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16099 (gst_pad_accept_caps), (gst_pad_configure_sink),
16100 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16101 Make the default acceptcaps behaviour be to check the requested
16102 caps against the gst_pad_get_caps output.
16104 Ensure that gst_pad_accept_caps is used to check caps when a pad
16105 doesn't have a setcaps function, so that pads automatically refuse
16106 caps that they don't allow in their pad template. (Fixes #332986)
16108 When a buffer with attached caps is pushed, ensure that the source
16109 pad receives those caps even if the element didn't call
16110 gst_pad_set_caps first.
16112 2006-03-15 Wim Taymans <wim@fluendo.com>
16114 * libs/gst/base/gstadapter.c:
16117 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16119 * win32/common/libgstbase.def:
16120 * win32/common/libgstcontroller.def:
16121 * win32/common/libgstreamer.def:
16122 Add a whole bunch of missing functions (#334434).
16124 2006-03-14 Wim Taymans <wim@fluendo.com>
16126 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16127 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16128 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16129 Better debug info when we receive a segment event.
16130 Reorganize a bit so we can pass the get_times() results around.
16131 Use the segment format when calculating the running time.
16132 Don't do QoS is sync is disabled or we have no clock or the
16133 element does not want us to sync to the clock.
16134 Don't drop buffers if QoS is disabled for now.
16136 2006-03-14 Wim Taymans <wim@fluendo.com>
16138 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16139 Marked the stats property as unimplemented so people don't get
16141 Add debug message when regression goes wrong.
16142 Added some more docs.
16144 2006-03-14 Wim Taymans <wim@fluendo.com>
16146 * gst/gstsegment.c: (gst_segment_to_stream_time):
16147 Return correct return type in case of errors.
16149 2006-03-14 Wim Taymans <wim@fluendo.com>
16151 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16152 Don't segfault on invalid formats.
16154 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16156 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16157 Can't use gst_segment_to_running_time() when the segment
16158 is not in GST_TIME_FORMAT (like with filesink, for example).
16159 Stops flac encoding pipelines from spewing critical warnings
16162 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16164 * gst/gstpipeline.c: (gst_pipeline_class_init):
16165 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16167 * plugins/elements/gsttypefindelement.c:
16168 (gst_type_find_element_handle_event):
16169 Don't try to typefind empty streams.
16171 2006-03-14 Wim Taymans <wim@fluendo.com>
16173 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16174 (gst_base_sink_do_qos):
16175 Separate QoS calculation.
16176 Only drop buffers when lateness is bigger than the
16177 duration of the buffer.
16179 2006-03-13 Wim Taymans <wim@fluendo.com>
16181 * gst/gstpipeline.c: (gst_pipeline_set_property),
16182 (gst_pipeline_get_property), (do_pipeline_seek),
16183 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16184 (gst_pipeline_get_delay):
16185 Don't deadlock when reading properties.
16187 2006-03-13 Wim Taymans <wim@fluendo.com>
16189 * libs/gst/base/gstbasetransform.c:
16190 (gst_base_transform_class_init), (gst_base_transform_init),
16191 (gst_base_transform_sink_event),
16192 (gst_base_transform_sink_eventfunc),
16193 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16194 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16195 (gst_base_transform_set_property),
16196 (gst_base_transform_get_property),
16197 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16198 (gst_base_transform_set_qos_enabled),
16199 (gst_base_transform_is_qos_enabled):
16200 * libs/gst/base/gstbasetransform.h:
16201 Make basetransform virtual method for src events too.
16202 Handle QOS in basetransform.
16203 API: gst_base_transform_update_qos()
16204 API: gst_base_transform_set_qos_enabled()
16205 API: gst_base_transform_is_qos_enabled()
16207 2006-03-13 Wim Taymans <wim@fluendo.com>
16209 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16210 (gst_base_sink_do_sync):
16212 Use QOS debug category.
16214 2006-03-13 Wim Taymans <wim@fluendo.com>
16216 * plugins/elements/gstqueue.c:
16217 Very small doc update.
16219 2006-03-13 Wim Taymans <wim@fluendo.com>
16221 * gst/gst_private.h:
16222 * gst/gstinfo.c: (_gst_debug_init):
16223 Added QOS debug category
16225 2006-03-13 Wim Taymans <wim@fluendo.com>
16227 * docs/gst/gstreamer-sections.txt:
16228 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16230 * gst/gstbus.c: (gst_bus_class_init):
16233 * gst/gstelement.c: (gst_element_set_locked_state):
16234 * gst/gstsegment.c:
16235 Documentation updates.
16237 * gst/gstpipeline.c: (gst_pipeline_get_type),
16238 (gst_pipeline_class_init), (gst_pipeline_init),
16239 (gst_pipeline_dispose), (gst_pipeline_set_property),
16240 (gst_pipeline_get_property), (do_pipeline_seek),
16241 (gst_pipeline_send_event), (gst_pipeline_change_state),
16242 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16243 (gst_pipeline_get_delay):
16244 * gst/gstpipeline.h:
16245 Added methods for setting the delay.
16246 API: gst_pipeline_set_delay()
16247 API: gst_pipeline_get_delay()
16248 Add pipeline debug category
16251 Don't reset stream time when seek failed.
16253 2006-03-13 Wim Taymans <wim@fluendo.com>
16255 * docs/design/draft-klass.txt:
16256 * docs/design/part-clocks.txt:
16257 * docs/design/part-events.txt:
16258 * docs/design/part-gstbin.txt:
16259 * docs/design/part-gstpipeline.txt:
16260 * docs/design/part-messages.txt:
16261 * docs/design/part-negotiation.txt:
16262 * docs/design/part-overview.txt:
16263 * docs/design/part-preroll.txt:
16264 * docs/design/part-seeking.txt:
16265 * docs/design/part-states.txt:
16266 * docs/design/part-streams.txt:
16267 Documentation updates.
16269 2006-03-12 Julien MOUTTE <julien@moutte.net>
16271 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16272 us to leak strings...
16274 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16276 * libs/gst/net/gstnettimeprovider.c:
16278 * win32/common/config.h:
16281 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16283 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16286 Don't check for libgnomeui (leftover from old examples
16287 that aren't built or disted any longer) (#334303).
16289 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16291 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16292 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16293 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16294 there's no space left on the device.
16296 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16299 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16300 to cast the input to GstClockTime before comparing with
16301 another GstClockTime value.
16303 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16308 === release 0.10.4 ===
16310 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16313 releasing 0.10.4, "Light"
16315 2006-03-10 Michael Smith <msmith@fluendo.com>
16317 * libs/gst/dataprotocol/dataprotocol.c:
16318 Fix docs for dataprocotol to not get the return types completely
16319 wrong for a few functions.
16321 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16323 * docs/gst/gstreamer-sections.txt:
16324 * gst/gstpipeline.c: (gst_pipeline_class_init),
16325 (gst_pipeline_init), (gst_pipeline_set_property),
16326 (gst_pipeline_get_property), (gst_pipeline_change_state),
16327 (gst_pipeline_set_auto_flush_bus),
16328 (gst_pipeline_get_auto_flush_bus):
16329 * gst/gstpipeline.h:
16330 Add new API: gst_pipeline_set_auto_flush_bus() and
16331 gst_pipeline_get_auto_flush_bus() to disable automatic
16332 flushing of the pipeline's GstBus when going from READY
16333 to NULL state (#332045).
16335 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16337 * docs/gst/gstreamer-sections.txt:
16338 * gst/gsturi.c: (gst_uri_has_protocol):
16340 Add new API: gst_uri_has_protocol() (#333779).
16342 2006-03-09 Wim Taymans <wim@fluendo.com>
16344 * gst/gstclock.c: (gst_clock_entry_new),
16345 (gst_clock_id_compare_func), (gst_clock_id_wait),
16346 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16347 (gst_clock_init), (gst_clock_get_internal_time),
16348 (gst_clock_set_master), (do_linear_regression),
16349 (gst_clock_add_observation), (gst_clock_set_property):
16353 Fix a possible segfault when the window-size is made smaller.
16354 Calculate jitter before performing the clock wait. Ideally
16355 the clock implementation should calculate jitter but we need
16356 API breakage for that.
16358 * gst/gstsystemclock.c: (gst_system_clock_init):
16361 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16362 Remove leftover else
16364 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16365 (gst_systemclock_suite):
16366 Added check to test GST_CLOCK_DIFF.
16368 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16370 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16371 (gst_type_find_helper_get_range):
16372 If we are provided with the size, we should implement
16373 GstTypeFind::get_length, so that typefind functions who
16374 want to can actually peek at the middle of a file.
16376 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16378 * docs/manual/advanced-dataaccess.xml:
16379 Add some very very basic error checking.
16381 * docs/pwg/appendix-checklist.xml:
16382 Some updates to the list of things to check when writing an element.
16384 2006-03-08 Wim Taymans <wim@fluendo.com>
16386 * docs/design/part-element-transform.txt:
16387 Added some docs about the design of tranform elements.
16389 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16390 (gst_base_src_loop), (gst_base_src_change_state):
16391 Mark buffers with the DISCONT flag.
16393 2006-03-08 Michael Smith <msmith@fluendo.com>
16395 * gst/gstregistry.h:
16396 * gst/gstregistryxml.c: (gst_registry_save),
16397 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16398 (gst_registry_xml_save_pad_template),
16399 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16400 (gst_registry_xml_write_cache):
16401 Rewrite registry-saving to avoid race conditions and check for
16404 2006-03-08 Wim Taymans <wim@fluendo.com>
16406 * libs/gst/base/gstbasetransform.c:
16407 (gst_base_transform_transform_caps),
16408 (gst_base_transform_transform_size),
16409 (gst_base_transform_prepare_output_buffer),
16410 (gst_base_transform_get_unit_size),
16411 (gst_base_transform_buffer_alloc),
16412 (gst_base_transform_handle_buffer),
16413 (gst_base_transform_change_state):
16414 Cleanups, separate normal flow from errors, add sensible
16416 Don't try to renegotiate when allocating an output buffer.
16417 Also copy DISCONT buffer flag when copying a buffer.
16418 Reset the transform after we finish streaming, not during.
16420 2006-03-08 Wim Taymans <wim@fluendo.com>
16422 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16423 Use last buffer timestamp in qos message.
16425 2006-03-07 Wim Taymans <wim@fluendo.com>
16427 Patch by: Christophe Fergeau
16429 * docs/pwg/advanced-tagging.xml:
16430 * docs/pwg/building-pads.xml:
16433 2006-03-07 Wim Taymans <wim@fluendo.com>
16435 * docs/libs/gstreamer-libs-sections.txt:
16436 Added basesink new methods.
16440 Docs updates. Flesh out the QoS docs.
16442 * libs/gst/base/gstadapter.c:
16443 Small doc clarification about ownership and flushing.
16445 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16446 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16447 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16448 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16449 * libs/gst/base/gstbasesink.h:
16451 Added new methods to allow subclass to control max-lateness
16453 Generate very basic QoS events based on last sync observation.
16454 Updated docs, fix typo, added some QoS blurb.
16456 * libs/gst/base/gstbasesrc.c:
16457 Remove obsolete _get_state() calls from docs.
16459 2006-03-07 Wim Taymans <wim@fluendo.com>
16461 * docs/libs/gstreamer-libs-sections.txt:
16462 * libs/gst/base/gstbasetransform.h:
16463 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16464 Fix docs for GstBaseSrc.
16466 2006-03-07 Wim Taymans <wim@fluendo.com>
16468 * docs/gst/gstreamer-sections.txt:
16471 * libs/gst/base/gstbasetransform.h:
16472 Small documentation fixes.
16474 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16477 Document thread-unsafety of gst_value_register_foo_func()
16478 when used at the same time as gst_value_foo() (#322628).
16480 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16482 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16483 (gst_push_src_check_get_range):
16484 Push sources don't support pull mode by default.
16486 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16488 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16489 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16490 (gst_base_src_default_check_get_range):
16491 * libs/gst/base/gstbasesrc.h:
16492 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16493 provide default implementation, and rename
16494 gst_base_src_check_get_range() to
16495 gst_base_src_pad_check_get_range() for clarity.
16497 2006-03-06 Wim Taymans <wim@fluendo.com>
16499 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16500 Make property overridable.
16502 2006-03-06 Wim Taymans <wim@fluendo.com>
16504 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16505 (gst_base_sink_init), (gst_base_sink_set_property),
16506 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16507 * libs/gst/base/gstbasesink.h:
16508 API addition: Make max-lateness a property.
16510 2006-03-06 Wim Taymans <wim@fluendo.com>
16512 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16513 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16514 Don't ever draw a frame that is >10ms late.
16516 2006-03-06 Michael Smith <msmith@fluendo.com>
16518 * gst/gstmessage.c: (_gst_message_copy):
16519 When copying a message, set the parent_refcount of the enclosed
16520 structure to point at the copy, not the original message.
16522 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16524 Patch by: Christophe Fergeau
16527 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16528 usable in c++ code (#333417)
16530 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16533 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16535 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16537 * libs/gst/base/gstbasetransform.c:
16538 (gst_base_transform_transform_caps):
16539 Make sure caps are writable before passing them to
16542 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16545 Fix some minor docs errors.
16547 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16549 Patch by: Ross Burton <ross at burtonini dot com>
16551 * gst/gsterror.c: (_gst_resource_errors_init):
16553 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16555 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16558 Add a check and output a g_warning when GStreamer is built
16559 against GLib 2.6 but running against 2.8 or higher, and vice
16560 versa. (Closes: #323542)
16562 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16564 * gst/parse/parse.l:
16565 Commit patch for parse_launch syntax from #331255. Removes
16566 support for quoted strings and mimetypes when writing filtered
16567 caps. See the bug report for more details - I'm pretty sure this
16568 obscure feature is not in use by _anyone_ anywhere.
16570 With this simple change, the size of the gstreamer.so here
16571 drops from 2193KB to 1565KB.
16573 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16575 * plugins/elements/gsttypefindelement.h:
16576 * plugins/elements/gsttypefindelement.c:
16577 (gst_type_find_element_src_event), (start_typefinding),
16578 (stop_typefinding), (gst_type_find_element_handle_event),
16579 (gst_type_find_element_chain),
16580 (gst_type_find_element_chain_do_typefinding):
16581 Use gst_type_find_helper_for_buffer() for chain-based
16584 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16586 * plugins/elements/gsttypefindelement.c:
16587 (gst_type_find_element_class_init),
16588 (gst_type_find_element_set_property),
16589 (gst_type_find_element_get_property):
16590 Deprecate "maximum" property (not only was it only taken into
16591 account for typefinding in push-mode anyway, it also was never
16592 actually possible to set it in the first place because the
16593 property was registered with the numeric property ID for the
16594 "minimum" property). Register "maximum" property correctly,
16595 for the sake of future copy'n'pasters. Remove some cruft
16596 from property get/set functions.
16598 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16600 * plugins/elements/gsttypefindelement.c:
16601 (gst_type_find_element_activate):
16602 Use gst_type_find_helper_get_range() here, so we
16603 can honour the "minimum" property and also emit
16604 the signal with the correct probability of the found caps.
16606 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16608 * docs/libs/gstreamer-libs-sections.txt:
16609 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16610 (helper_find_suggest), (gst_type_find_helper_get_range),
16611 (gst_type_find_helper):
16612 * libs/gst/base/gsttypefindhelper.h:
16613 New API: gst_type_find_helper_get_range() (#333042).
16615 2006-03-02 Michael Smith <msmith@fluendo.com>
16617 * gst/gstregistryxml.c: (load_feature):
16618 Asserting on a failure to read part of the registry is Not Cool.
16619 Just log a warning and return NULL (which is already handled)
16621 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16623 * win32/common/libgstbase.def:
16624 added export of gst_type_find_helper_for_buffer
16625 * win32/common/libgstbase.def:
16626 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16627 gst_ghost_pad_get_target
16629 2006-02-28 Wim Taymans <wim@fluendo.com>
16631 * docs/design/draft-klass.txt:
16633 Added Connector to mark elements that are only used to
16634 allow pipeline connections.
16635 Moved Debug to extra feature since most of them are
16636 functionally something else.
16638 2006-02-28 Wim Taymans <wim@fluendo.com>
16640 * docs/design/draft-klass.txt:
16641 Some updates and clarifications.
16643 2006-02-28 Wim Taymans <wim@fluendo.com>
16645 * docs/design/draft-klass.txt:
16646 Proposal for klass field values.
16648 * docs/design/part-streams.txt:
16649 Start of a doc describing stream anatomy.
16651 2006-02-28 Wim Taymans <wim@fluendo.com>
16653 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16654 Help the compiler a bit with type registration.
16655 Use existing forward cod path instead of duplicating it when
16656 handling a message.
16658 * gst/gstbus.c: (gst_bus_get_type):
16659 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16660 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16661 * gst/gstclock.c: (gst_clock_get_type):
16662 * gst/gstelement.c: (gst_element_get_type),
16663 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16664 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16665 * gst/gstminiobject.c: (gst_mini_object_get_type):
16666 * gst/gstpad.c: (gst_pad_get_type):
16667 * gst/gstsegment.c: (gst_segment_get_type):
16668 * gst/gststructure.c: (gst_structure_get_type):
16669 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16670 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16672 Help compiler with type registration.
16674 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16677 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16679 * plugins/elements/gsttypefindelement.c:
16680 (gst_type_find_element_handle_event):
16681 When we get an EOS event and have not found a type yet
16682 (most likely because we had not yet accumulated
16683 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16684 type given the data we have so far. Fixes typefinding
16685 for very short streams again, most notably quicktime
16686 redirections as used on Apple's trailer site (#331701).
16688 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16690 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16691 (gst_type_find_helper):
16692 Try typefinding factories with the highest rank first.
16694 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16696 * docs/libs/gstreamer-libs-docs.sgml:
16697 * docs/libs/gstreamer-libs-sections.txt:
16698 * libs/gst/base/gsttypefindhelper.c:
16699 Add section for typefind helper and add documentation
16700 for the old and the new function.
16702 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16704 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16705 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16706 (gst_type_find_helper_for_buffer):
16707 * libs/gst/base/gsttypefindhelper.h:
16708 New API: gst_type_find_helper_for_buffer() (#332723).
16710 2006-02-27 Michael Smith <msmith@fluendo.com>
16712 Patch by: Loïc Minier
16715 * docs/Makefile.am:
16716 * docs/slides/Makefile.am:
16717 prevent CVS directories getting disted.
16719 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16721 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16722 Use the REFCOUNTING category for caps refcounting.
16724 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16726 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16727 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16729 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16731 * plugins/elements/gsttypefindelement.c:
16732 (gst_type_find_element_activate):
16733 Use gst_pad_check_pull_range() before _activate_pull()
16734 to avoid unnecessary open/close (see #331690).
16736 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16739 Docs enhancement: make it crystal clear what the
16740 gst_pad_add_*_probe() callbacks should look like.
16742 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16744 * libs/gst/base/gstbasesrc.c:
16745 Document how applications can stop recording from
16746 live sources (see #330996).
16748 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16750 * tests/check/Makefile.am:
16751 * tests/check/libs/basesrc.c: (eos_event_counter),
16752 (basesrc_eos_events_pull), (basesrc_eos_events_push),
16753 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16754 (gst_basesrc_suite), (main):
16755 ... and add some tests for the base source EOS stuff.
16757 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16759 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16760 Test case originally showed the problem fixed below,
16761 but was then amended. Add checks back at the place
16762 where they used to be.
16764 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16766 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16767 (gst_base_src_init), (gst_base_src_loop),
16768 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16769 (gst_base_src_change_state):
16770 * libs/gst/base/gstbasesrc.h:
16771 Don't unconditionally send EOS when going from PAUSED to
16772 READY state, esp. make sure we don't send two EOS events
16773 in some cases (e.g. one when reaching EOS and one when
16774 going from PAUSED to READY). Also, we don't want to send
16775 EOS events when operating in pull mode. However, we do
16776 want to send an EOS event when shutting down a live
16777 source explicitly, for example (fixes #330996).
16779 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16781 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16782 Update src->read_position after a seek when not using mmap.
16783 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16785 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
16791 Make things work with --disable-parse as they do with
16792 --disable-load-save - the symbols involved disappear, but the
16793 header is still installed and GST_DISABLE_PARSE is included via
16796 2006-02-20 Julien MOUTTE <julien@moutte.net>
16798 * libs/gst/base/gstbasetransform.c:
16799 (gst_base_transform_change_state): Fix a stupid bug. I was
16800 sure I compiled that.
16802 2006-02-20 Julien MOUTTE <julien@moutte.net>
16804 * gst/gstpad.c: (gst_pad_set_blocked_async):
16805 * gst/gstutils.c: (gst_pad_add_data_probe),
16806 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16807 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16808 (gst_pad_remove_buffer_probe): Make those function act on the
16809 ghostpad target when it's a ghostpad. (Closes #331727)
16811 2006-02-20 Julien MOUTTE <julien@moutte.net>
16813 * libs/gst/base/gstbasetransform.c:
16814 (gst_base_transform_change_state): Make basetransform reusable.
16817 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
16819 * docs/random/release:
16820 Move the current documentation of how to do a release to the top
16823 * gst/gstbin.c: (gst_bin_class_init),
16824 (gst_bin_handle_message_func):
16825 Allow multiple state-recalculation threads. (Closes #328873)
16827 2006-02-19 Julien MOUTTE <julien@moutte.net>
16829 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16830 * gst/gstpad.c: (gst_pad_set_event_function),
16831 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16832 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16833 2 strings. You can't use the STR_NULL macro on that.
16835 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
16837 * gst/gstpad.c: (gst_pad_set_event_function),
16838 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16839 (gst_pad_set_getcaps_function)
16840 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16841 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16842 So now, we can use --gst-debug-level=5 on Windows
16843 * win32/common/libgstcontroller.def:
16844 Added export of gst_controller_init
16845 * win32/vs6/libgstcontroller.dsp:
16846 Fixed Release post build configuration
16848 2006-02-17 Wim Taymans <wim@fluendo.com>
16850 * tests/check/gst/gstquery.c: (GST_START_TEST):
16851 Added another check.
16853 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
16855 * plugins/elements/gsttypefindelement.c: (find_peek):
16856 We can do peeks at non-zero offsets, as long as they
16857 fall within the buffer we have.
16859 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
16861 * tests/check/Makefile.am:
16862 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16863 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16864 (parse_suite), (main):
16865 Add testsuite for parse launch syntax
16867 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
16869 * plugins/elements/gsttypefindelement.c:
16870 (gst_type_find_element_chain):
16871 When typefinding is unsuccessful in the chain function, don't
16872 error out immediately. Only error out with NO_CAPS_FOUND if
16873 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
16874 otherwise simply wait for more data so we can try typefinding
16875 again with more data later. Also, don't attempt to typefind
16876 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
16877 this should improve typefinding from network sources where the
16878 size of the first buffer can be somewhat random.
16880 2006-02-14 Wim Taymans <wim@fluendo.com>
16882 * docs/gst/gstreamer-sections.txt:
16883 * gst/gstpadtemplate.c:
16884 * gst/gstpadtemplate.h:
16885 Fix padtemplate docs, fixes #328805.
16887 2006-02-14 Wim Taymans <wim@fluendo.com>
16889 * tools/gst-launch.c: (main):
16890 NO_PREROLL is not an ERROR so don't send confusing messages
16893 2006-02-14 Wim Taymans <wim@fluendo.com>
16895 Patch by: Torsten Schoenfeld
16897 * gst/gstregistry.c: (gst_registry_get_default),
16898 (_gst_registry_cleanup):
16899 Protect default registry with lock and ref/sink it.
16902 2006-02-14 Wim Taymans <wim@fluendo.com>
16905 * gst/gstquery.c: (gst_query_list_add_format),
16906 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16907 (gst_query_parse_formats_nth):
16908 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16911 2006-02-14 Wim Taymans <wim@fluendo.com>
16913 * docs/gst/gstreamer-sections.txt:
16914 Reworked query docs.
16916 * gst/gstquery.c: (gst_query_new_formats),
16917 (gst_query_list_add_format), (gst_query_set_formats),
16918 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16919 (gst_query_parse_formats_nth):
16921 Flesh out formats query, added some new methods.
16922 Fix part of #324398.
16924 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
16925 Added query creation tests.
16927 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
16929 * gst/gstpad.c: (fixate_value):
16930 Add a default fixation for fraction lists.
16932 2006-02-13 Wim Taymans <wim@fluendo.com>
16934 * gst/gsttask.c: (gst_task_init), (gst_task_func),
16935 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
16938 Detect and warn for obvious deadlocks. fixes #320340
16939 Fix error case where lock was not released.
16941 * tests/check/Makefile.am:
16942 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
16943 (task_func), (gst_element_suite), (main):
16946 2006-02-13 Wim Taymans <wim@fluendo.com>
16948 * docs/gst/gstreamer-sections.txt:
16950 Add new functions to docs.
16952 2006-02-13 Wim Taymans <wim@fluendo.com>
16954 * docs/design/part-TODO.txt:
16955 Updated TODO list, basesrc supports seeking to non-bytes
16958 * docs/design/part-element-sink.txt:
16961 * gst/gstbin.c: (bin_replace_message),
16962 (gst_bin_handle_message_func):
16963 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
16964 * gst/gstevent.c: (gst_event_finalize):
16965 * gst/gstpad.c: (gst_pad_event_default_dispatch),
16966 (gst_pad_send_event):
16967 Use shiny new _TYPE_NAME macros.
16969 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16970 Move debug statement up.
16972 * gst/gstelement.c: (gst_element_set_locked_state):
16973 Add some debugging.
16975 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
16977 * docs/gst/gstreamer-sections.txt:
16978 * gst/gstmessage.h:
16980 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
16981 macros (#330906). Also, document the already existing
16982 GST_QUERY_TYPE macro.
16984 2006-02-13 Wim Taymans <wim@fluendo.com>
16986 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
16987 (event_probe), (GST_START_TEST):
16988 Only events up to the pipeline EOS are counted, there are
16989 some more when going to NULL currently which we don't care
16992 2006-02-13 Wim Taymans <wim@fluendo.com>
16994 * gst/gstpad.c: (gst_pad_send_event):
16995 Correctly check flushing and emit probes. fixes #330125
16997 2006-02-10 Andy Wingo <wingo@pobox.com>
16999 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17001 (gst_bus_init): Cache the location of the private data in the
17002 instance structure.
17003 (gst_bus_enable_sync_message_emission)
17004 (gst_bus_disable_sync_message_emission): Implement new public
17006 (gst_bus_post): Emit the sync-message signal if the user asked for
17009 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17010 location of the bus-private structure.
17011 (gst_bus_enable_sync_message_emission)
17012 (gst_bus_disable_sync_message_emission): API addition
17014 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17016 Patch by: Vincent Torri
17018 * docs/pwg/building-boiler.xml:
17019 PWG patch from #326800
17021 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17024 * docs/Makefile.am:
17025 * docs/design/Makefile.am:
17028 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17033 === release 0.10.3 ===
17035 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17038 releasing 0.10.3, "Like a virgin"
17040 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17043 2nd prerelease of 0.10.3
17044 Bump libtool versioning.
17046 2006-02-07 Andy Wingo <wingo@pobox.com>
17048 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17049 update last_stop if we're in TIME format and the timestamp is
17052 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17053 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17054 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17055 If we get a new newsegment with a different format, adapt
17058 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17059 of 0. Not a problem, really.
17061 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17064 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17069 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17072 project files updated to the default vs7 configuration
17073 * win32/common/libgstbase.def:
17074 * win32/common/libgstreamer.def:
17076 removed empty lines,
17077 sorted all exported symbols alphabetically
17078 * win32/common/dirent.c:
17079 * win32/common/dirent.h:
17080 * win32/common/gchar.h:
17081 use windows line end.
17083 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17085 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17086 Send EOS event when stopping.
17088 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17091 Tell folks what to do if the plugin-foobar.xml file
17092 hasn't been generated for a newly-added plugin.
17094 2006-02-05 Julien MOUTTE <julien@moutte.net>
17096 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17097 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17098 (gst_collect_pads_start), (gst_collect_pads_stop),
17099 (gst_collect_pads_event): Collectpads now holds a reference
17100 to the GstPad that was added. Indeed we don't want to look
17101 at pads that might just go away with no warning...
17103 2006-02-05 Julien MOUTTE <julien@moutte.net>
17105 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17106 (gst_collect_pads_start), (gst_collect_pads_stop),
17107 (gst_collect_pads_event), (gst_collect_pads_chain):
17108 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17109 Mark Nauwelaerts's patch on bug #328491.
17111 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17113 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17115 Add some simple tests for gst_parse_bin_from_description() and
17116 gst_bin_find_unconnected_pad() (#329069).
17118 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17120 * tools/gst-launch.c: (event_loop), (main):
17121 Catch errors during preroll (#320084).
17123 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17125 * plugins/elements/gsttypefindelement.c:
17126 (gst_type_find_element_activate):
17127 Post TYPE_NOT_FOUND error message when typefinding
17128 is unsuccessful in the activate function as well.
17130 2006-02-02 Wim Taymans <wim@fluendo.com>
17132 * docs/design/part-element-sink.txt:
17135 2006-02-02 Wim Taymans <wim@fluendo.com>
17137 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17138 (gst_base_sink_render_object),
17139 (gst_base_sink_queue_object_unlocked):
17140 Only keep track of prerollable items when we are
17142 Before rendering after preroll, always check if we
17144 Added some more debugging.
17146 2006-02-02 Wim Taymans <wim@fluendo.com>
17148 * gst/gstelement.c: (gst_element_continue_state),
17149 (gst_element_set_state_func), (gst_element_change_state):
17150 Fixed #326576, been running this for quite some time with
17151 no regressions at all.
17153 2006-02-02 Wim Taymans <wim@fluendo.com>
17156 Added more suppressions
17158 2006-02-02 Wim Taymans <wim@fluendo.com>
17160 * docs/design/part-element-sink.txt:
17163 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17164 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17165 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17166 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17167 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17168 (gst_base_sink_preroll_object),
17169 (gst_base_sink_queue_object_unlocked),
17170 (gst_base_sink_queue_object), (gst_base_sink_event),
17171 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17172 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17173 (gst_base_sink_get_position), (gst_base_sink_change_state):
17174 * libs/gst/base/gstbasesink.h:
17175 Totally refactored matching the design doc.
17176 Use two segments, one to clip incomming buffers and another to
17178 Handle queueing correctly, bypass the queue when playing.
17179 Make EOS cancelable.
17180 Handle errors correctly when operating in pull based mode.
17182 * tests/check/elements/fakesink.c: (GST_START_TEST),
17184 Added new check for sinks.
17186 2006-02-02 Wim Taymans <wim@fluendo.com>
17188 * gst/gstsegment.c: (gst_segment_clip):
17189 No reason to refuse to clip when start == -1
17191 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17194 * docs/manual/intro-basics.xml:
17195 * docs/manual/intro-preface.xml:
17196 * docs/manual/manual.xml:
17197 * docs/pwg/advanced-dparams.xml:
17198 * docs/pwg/intro-basics.xml:
17199 * docs/pwg/intro-preface.xml:
17200 * docs/pwg/pwg.xml:
17201 describe dparams (controller) for plugins
17202 unify docs a little more
17204 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17206 * docs/gst/gstreamer-sections.txt:
17207 * gst/gstutils.c: (element_find_unconnected_pad),
17208 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17210 Add new API: gst_parse_bin_from_description() and
17211 gst_bin_find_unconnected_pad() (#329069).
17213 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17215 * docs/manual/README:
17216 uncover a nasty detail of the docs build
17218 2006-01-31 Wim Taymans <wim@fluendo.com>
17220 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17221 Don't cache duration messages if we're not going to use or
17224 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17226 * docs/manual/advanced-dparams.xml:
17227 * docs/pwg/advanced-dparams.xml:
17231 * libs/gst/controller/lib.c: (gst_controller_init):
17234 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17236 * gst/gstelement.c: (gst_element_message_full):
17237 also show file/line/func if no additional debug was given
17239 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17241 * win32/vs7/grammar.vcproj:
17242 activate copy of autogenerated files for Release mode
17244 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17246 * win32/common/libgstreamer.def:
17247 export gst_value_compare
17249 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17251 * plugins/elements/Makefile.am:
17252 * plugins/elements/gstelements.c:
17253 * plugins/elements/gstfdsink.c: (_do_init),
17254 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17255 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17256 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17257 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17258 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17259 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17260 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17261 * plugins/elements/gstfdsink.h:
17262 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17264 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17266 * docs/manual/advanced-dparams.xml:
17267 describe controller
17268 * docs/manual/advanced-position.xml:
17269 * docs/manual/basics-init.xml:
17270 * docs/manual/manual.xml:
17271 * docs/manual/titlepage.xml:
17272 * docs/pwg/pwg.xml:
17273 * docs/pwg/titlepage.xml:
17274 cleanup xml (more to come)
17275 * libs/gst/controller/gstcontroller.c:
17278 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17280 * win32/vs6/grammar.dsp:
17281 add autogen of gstmarshal.c,h for Release mode
17283 2006-01-30 Wim Taymans <wim@fluendo.com>
17285 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17286 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17287 (gst_base_sink_handle_object), (gst_base_sink_event),
17288 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17289 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17290 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17291 (gst_base_sink_deactivate), (gst_base_sink_activate),
17292 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17293 (gst_base_sink_query), (gst_base_sink_change_state):
17294 Basesink cleanups, remove some old code.
17295 Handle the case where a subclass can preroll in the render
17296 method (mostly audiosinks).
17297 Handle more events.
17298 Remove some locks around variables that are now protected
17299 with the PREROLL_LOCK (clock_id, flushing, ..).
17300 Optimize position query some more, do correct locking.
17301 Remove old code to push queue in state change, this is not
17302 needed anymore since preroll blocks on all prerollable items
17304 Almost implemented as described in design doc.
17306 2006-01-30 Wim Taymans <wim@fluendo.com>
17308 * tests/check/gst/gstbin.c: (GST_START_TEST):
17309 Wait for refcount to settle down before checking.
17311 2006-01-30 Wim Taymans <wim@fluendo.com>
17313 * docs/design/part-element-sink.txt:
17314 Pseudo code overview of desired sink behaviour regarding
17317 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17318 * win32/vs6/grammar.dsp:
17319 fix some bugs in Release mode for autogenerated files
17321 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17322 * win32/common/libgstbase.def:
17323 * win32/common/libgstreamer.def:
17324 export some new symbols: gst_base_src_set_format,
17325 gst_iterator_next, gst_structure_set_valist
17327 2006-01-29 Julien MOUTTE <julien@moutte.net>
17329 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17330 Set pad functions unconditionally. Fixes #329105.
17332 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17334 add vs8 project files created by Sergey Scobich
17336 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17338 * gst/gstutils.c: (gst_element_unlink_pads):
17339 Don't leak pad references.
17341 * tests/check/elements/fakesink.c: (GST_START_TEST):
17342 * tests/check/generic/sinks.c: (GST_START_TEST):
17343 * tests/check/generic/states.c: (GST_START_TEST):
17344 * tests/check/gst/gstbin.c: (GST_START_TEST):
17345 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17346 * tests/check/gst/gstelement.c: (GST_START_TEST):
17347 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17348 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17349 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17350 Fix a bunch of leaks. Make generic/sinks.c
17351 use a bit less cpu by slowing the buffer rate
17352 between fakesrc and fakesink.
17354 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17356 * gst/gstelement.c: (gst_element_send_event):
17359 * gst/gstiterator.c:
17360 * gst/gstiterator.h:
17361 * gst/gstpad.c: (gst_pad_send_event):
17362 * gst/gststructure.c:
17366 * libs/gst/base/gstadapter.c:
17367 doc fixes, to link to function, just write gst_cool_function(), don't
17370 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17372 * plugins/elements/gsttee.c: (gst_tee_do_push),
17373 (gst_tee_handle_buffer):
17374 Always prefer an actual return value from a src
17375 pad in place of NOT_LINKED. This means we return
17376 WRONG_STATE when all src pads are WRONG_STATE
17377 instead of NOT_LINKED.
17379 Lock when replacing the last message to prevent
17380 racing with the get_property method.
17384 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17386 * tests/check/Makefile.am:
17387 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17389 Add a very simple check that should have caught the memleak I fixed
17390 last night (if not for the slice allocator hiding it)
17392 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17394 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17395 (gst_bin_remove_func), (gst_bin_handle_message_func),
17396 (bin_query_duration_fold), (bin_query_generic_fold):
17397 Clean up references to the clock provider when disposed or when
17398 handling a clock-lost message from it.
17400 Unref sinks when performing a query via gst_iterator_fold, as the
17401 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17403 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17404 (gst_clock_set_master):
17405 Drop our reference to the master clock, if any, when we are disposed.
17407 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17408 Chain up in dispose.
17410 2006-01-26 Wim Taymans <wim@fluendo.com>
17412 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17413 Add some debugging.
17415 2006-01-26 Julien MOUTTE <julien@moutte.net>
17417 * plugins/elements/gsttee.c: (gst_tee_do_push),
17418 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17419 handles pad being NOT_LINKED or in WRONG_STATE.
17421 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17426 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17429 remove obsolete entry
17431 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17433 * docs/gst/gstreamer-sections.txt:
17434 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17435 (gst_bin_iterate_sources), (gst_bin_send_event):
17437 * gst/gstelement.c: (gst_element_send_event):
17439 * gst/gstpad.c: (gst_pad_send_event):
17440 added code for downstream events, reviewed docs in gstevent.c
17442 2006-01-25 Julien MOUTTE <julien@moutte.net>
17444 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17445 We only query position using the clock in the playing state.
17446 Query peer in the other cases.
17447 * win32/common/config.h: Updates.
17449 2006-01-24 Wim Taymans <wim@fluendo.com>
17451 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17452 A clock entry that is scheduled for the exact time of the
17453 clock is still in time.
17455 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17456 (gst_base_sink_do_sync):
17457 Add some more debug info.
17459 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17462 Add new vs7 project files and solution.
17464 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17467 all files removed as they were out-dated.
17469 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17471 * docs/random/release:
17473 * gst/gstbin.c: (gst_bin_init):
17474 * gst/gstbus.c: (gst_bus_new):
17476 * gst/gstpipeline.c: (gst_pipeline_init):
17477 use gst_bus_new(), improve logging, fix docs
17478 * win32/common/config.h:
17479 update for cvs build
17481 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17484 up required version of automake to 1.7
17486 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17488 * win32/common/libgstreamer.def:
17489 export gst_buffer_is_metadata_writable
17491 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17493 * docs/gst/gstreamer-sections.txt:
17495 Add gst_event_replace() (#327001)
17497 2006-01-20 Wim Taymans <wim@fluendo.com>
17499 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17500 Make it actually compile too..
17502 2006-01-20 Wim Taymans <wim@fluendo.com>
17505 Clarify behaviour of _is_equal() when passing NULL parameters.
17507 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17508 (gst_pad_set_caps):
17509 Cleanups. Don't unref NULL caps.
17510 When setting the same caps, protect caps of the pad with
17512 Use full functionality of _is_equal() when comparing caps.
17514 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17516 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17517 Don't loop infinitely if there are no buffers to present. Partially
17518 fixes #327197, but collectpads is just broken for reusing elements
17519 to do multiple encodes atm.
17521 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17523 * tools/gst-inspect.c: (print_element_features):
17524 * tools/gst-xmlinspect.c: (main):
17525 URL_HANDLER is not a plugin feature we can search for in
17528 2006-01-19 Edward Hervey <edward@fluendo.com>
17530 * gst/gstelement.c: (gst_element_pads_activate):
17531 When activating, do src pads first, then sink pads.
17532 When de-activating, do sink pads first, then src pads.
17534 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17536 * docs/gst/gstreamer-sections.txt:
17537 Add gst_index_add_associationv to the docs
17539 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17544 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17545 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17546 Do some refactoring. Doesn't actually change functionality,
17547 but makes landing the DRAIN event easier later.
17549 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17551 * docs/pwg/advanced-scheduling.xml:
17552 Update from 0.9.x to 0.10 API and make example a bit
17555 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17557 * docs/gst/gstreamer-sections.txt:
17558 Add gst_buffer_(is|make)_metadata_writable methods.
17560 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17562 * docs/design/part-sparsestreams.txt:
17563 Update sparse streams doc, hopefully for greater clarity
17565 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17567 * docs/design/part-events.txt:
17568 Remove mention of FILLER events.
17571 * docs/design/part-sparsestreams.txt:
17572 Write some things about using NEWSEGMENT to keep sparse streams
17575 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17577 * gst/gstbin.c: (gst_bin_dispose):
17578 Guard gst_object_unref call against a NULL object (dispose
17579 can theoretically be called multiple times).
17581 2006-01-18 Wim Taymans <wim@fluendo.com>
17583 * gst/gstbin.c: (gst_bin_element_set_state):
17584 * gst/gstclock.c: (gst_clock_id_wait):
17585 Added some more debug info.
17587 * libs/gst/base/gstadapter.c:
17590 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17591 (gst_base_sink_do_sync), (gst_base_sink_chain):
17592 Added some comments.
17594 2006-01-18 Wim Taymans <wim@fluendo.com>
17596 * tests/check/Makefile.am:
17597 * tests/check/elements/fakesink.c: (chain_async_buffer),
17598 (chain_async), (chain_async_return), (GST_START_TEST),
17599 (fakesink_suite), (main):
17600 Added fakesink test that checks prerolling and clipping
17603 * tests/check/gst/gstutils.c: (GST_START_TEST):
17604 Make check run faster so that buildbots don't timeout.
17606 2006-01-18 Wim Taymans <wim@fluendo.com>
17608 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17609 (gst_base_sink_do_sync):
17611 When the sink finishes blocking on the preroll buffer, it can
17612 immediatly render it instead of rendering when the next buffer
17615 2006-01-18 Wim Taymans <wim@fluendo.com>
17617 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17618 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17619 (gst_base_sink_chain):
17621 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17622 Don't store _last_stop if the buffer is dropped.
17624 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17626 * plugins/elements/gsttypefindelement.c:
17627 (gst_type_find_element_class_init):
17628 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17629 object method handler that sets the caps on the pad and we want
17630 that to happen before we emit the signal (fixes e.g. feeding a
17631 plain text file to decodebin).
17633 2006-01-18 Christian Schaller <Christian@fluendo.com>
17635 * gst/gstplugin.c: Add MPL and Proprietary as license options
17637 2006-01-18 Andy Wingo <wingo@pobox.com>
17639 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17640 symbol was exported before, it appears this was just an oversight.
17642 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17644 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17645 prototype to gint. OK since this prototype was not in the header.
17647 2006-01-17 Andy Wingo <wingo@pobox.com>
17649 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17650 registry while we remove plugins.
17652 * tools/gst-inspect.c (print_element_info): Don't unref the
17653 factory arg, that should be the responsibility of whatever code
17654 received the ref. Fixes a double-free when called from
17655 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17656 (main): Unref the factory if we have one.
17657 (print_element_list): No change -- relies on the
17658 plugin_feature_list_free to free the list of features.
17660 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17662 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17663 (gst_buffer_make_metadata_writable):
17665 * libs/gst/base/gstbasetransform.c:
17666 (gst_base_transform_prepare_output_buf):
17667 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17668 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17669 Replace gst_buffer_(make|is)_metadata_writable patch now
17670 that the release is out.
17672 2006-01-17 Andy Wingo <wingo@pobox.com>
17674 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17675 in the present tense without reference to versions.
17677 * gst/gstregistry.c (gst_registry_add_plugin)
17678 (gst_registry_remove_plugin, gst_registry_remove_feature)
17679 (gst_registry_find_feature, gst_registry_get_feature_list)
17680 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17681 (gst_registry_lookup, gst_registry_scan_path)
17682 (_gst_registry_remove_cache_plugins)
17683 (gst_registry_get_feature_list_by_plugin): Add argument
17686 === release 0.10.2 ===
17688 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17691 releasing 0.10.2, "If man is five"
17693 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17697 * libs/gst/base/gstbasetransform.c:
17698 (gst_base_transform_prepare_output_buf):
17699 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17700 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17701 Back out patch until after the release.
17703 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17705 * gst/gstminiobject.c:
17706 Spelling fix in docs.
17707 * ChangeLog - remove conflict indicator
17709 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17711 Reviewed By: Andy Wingo
17713 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17714 (gst_buffer_make_metadata_writable):
17716 Add gst_buffer_(is|make)_metadata_writable as analogues of
17717 gst_buffer_(is|make)_writable.
17719 * libs/gst/base/gstbasetransform.c:
17720 (gst_base_transform_prepare_output_buf):
17721 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17722 Use name gst_buffer_(is|make)_metadata_writable functions.
17724 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17725 Test gst_buffer_(is|make)_metadata_writable
17729 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17731 * docs/manual/Makefile.am:
17732 don't do parallel make
17735 * win32/common/config.h.in:
17736 add generations for HOST_CPU and GST_MAJORMINOR
17737 * win32/common/config.h:
17738 commit generated result
17740 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17742 * docs/manual/appendix-integration.xml:
17743 Update GNOME integration section to use gst_init_get_option_group()
17744 instead of the old popt stuff (#322911). Also, GNOME applications
17745 should now use gconf*sink and gconf*src instead of the old gconf
17748 2006-01-13 Stefan Kost <ensonic@users.sf.net>
17751 * docs/gst/gstreamer-docs.sgml:
17752 * docs/gst/gstreamer-sections.txt:
17753 * docs/libs/gstreamer-libs-sections.txt:
17754 add new API entries to the docs
17755 * libs/gst/controller/Makefile.am:
17756 * libs/gst/controller/gstcontroller.c:
17757 * libs/gst/controller/gstcontroller.h:
17758 * libs/gst/controller/gstcontrollerprivate.h:
17759 * libs/gst/controller/gsthelper.c:
17760 * libs/gst/controller/gstinterpolation.c:
17761 move private structs to private header
17763 gstreamer-0.7 -> gstreamer-0.10
17764 * tests/check/libs/struct_i386.h:
17765 remove private structs
17767 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17769 * plugins/indexers/Makefile.am:
17770 Fixes as part of #317048
17772 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17774 * plugins/indexers/Makefile.am:
17775 fix #316086 - compilation when mmap is missing
17777 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
17779 * libs/gst/base/gstbasesink.c:
17780 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
17781 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17782 * win32/common/config.h:
17783 added some defines GST_MAJORMINOR and HOST_CPU
17784 * win32/common/libgstbase.def:
17785 * win32/common/libgstreamer.def:
17786 added some exported functions.
17788 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17790 * libs/gst/controller/gstcontroller.c:
17791 (gst_controlled_property_set_interpolation_mode),
17792 (gst_controlled_property_new):
17793 * libs/gst/controller/gstcontroller.h:
17794 * libs/gst/controller/gstinterpolation.c:
17795 (interpolate_none_get_string_value_array):
17796 make G_TYPE_STRING controlable
17798 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17801 * tools/gst-feedback.1.in:
17802 * tools/gst-inspect.1.in:
17803 * tools/gst-launch.1.in:
17804 * tools/gst-md5sum.1.in:
17805 * tools/gst-typefind.1.in:
17806 * tools/gst-xmlinspect.1.in:
17807 * tools/gst-xmllaunch.1.in:
17808 cleanup man-pages, remove reference to gst-register, document env-vars
17810 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
17812 * gst/gstbuffer.c: (gst_buffer_span):
17813 gst_buffer_span should copy the timestamp of the first buffer
17814 if they were both originally overlapping subbuffers of the
17815 same parent, using the same logic as the 'slow copy' case.
17817 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
17819 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17820 Need to awaken ALL the pads when we pop a buffer, otherwise
17821 collectpads only works when there is 2 input streams.
17823 2006-01-11 Stefan Kost <ensonic@users.sf.net>
17825 * docs/random/ensonic/media-device-daemon.txt:
17828 fix doc example, add clarification
17829 * tools/gst-launch.1.in:
17830 add initial info about GST_PLUGIN_PATH, needs more work
17832 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
17834 * docs/manual/basics-bins.xml:
17835 * docs/manual/basics-elements.xml:
17836 * docs/manual/intro-basics.xml:
17837 Some more minor docs additions and updates.
17839 2006-01-11 Wim Taymans <wim@fluendo.com>
17841 * docs/manual/basics-bins.xml:
17842 * docs/manual/basics-elements.xml:
17843 Some small fixes as pointed out by Ser-ver on IRC.
17845 2006-01-10 Edward Hervey <edward@fluendo.com>
17847 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17848 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17849 the single-segment mode.
17851 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
17853 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17855 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17856 (gst_base_src_perform_seek), (gst_base_src_send_event),
17857 (gst_base_src_set_property), (gst_base_src_get_property),
17858 (gst_base_src_loop), (gst_base_src_start),
17859 (gst_base_src_activate_push):
17860 * libs/gst/base/gstbasesrc.h:
17861 Name (private) union; makes Sun's Forte compiler happy (#324900).
17863 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
17866 gst-register is gone.
17868 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
17870 * gst/gstvalue.c: (_gst_value_initialize):
17871 make the G_TYPE_DATE instantiation work if debug is disabled
17873 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
17875 * gst/gstmessage.c: (gst_message_parse_tag),
17876 (gst_message_parse_error), (gst_message_parse_warning):
17877 Don't crash when return location for error/warning debug
17878 string is NULL; add fact that return locations can be
17879 NULL to docs where appropriate.
17881 2006-01-05 Wim Taymans <wim@fluendo.com>
17883 * gst/gstplugin.c: (gst_plugin_load_file):
17884 Replace strdup by g_strdup.
17886 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17888 * docs/pwg/advanced-types.xml:
17891 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17893 submitted by: Abel Cheung
17897 Added Chinese (traditional) translation
17899 2006-01-04 Wim Taymans <wim@fluendo.com>
17901 * docs/manual/basics-pads.xml:
17902 * docs/plugins/Makefile.am:
17903 * docs/plugins/gstreamer-plugins-docs.sgml:
17904 * docs/plugins/gstreamer-plugins-sections.txt:
17905 * docs/pwg/advanced-clock.xml:
17906 * docs/pwg/advanced-scheduling.xml:
17907 * docs/pwg/advanced-types.xml:
17908 * plugins/elements/gstfdsink.c:
17909 * plugins/elements/gstfdsrc.c:
17910 * plugins/elements/gstfdsrc.h:
17911 * plugins/elements/gstidentity.c: (gst_identity_class_init):
17912 * plugins/elements/gstidentity.h:
17913 * plugins/elements/gstqueue.h:
17914 * plugins/elements/gsttee.c:
17915 * plugins/elements/gsttee.h:
17916 * plugins/elements/gsttypefindelement.c:
17917 (gst_type_find_element_class_init):
17918 * plugins/elements/gsttypefindelement.h:
17919 Small updates to various docs.
17920 Added core plugins to docs.
17922 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17925 add a suppression for liboil's uninitialized variable
17927 2006-01-02 James Livingston <jrl at ids dot org dot au>
17929 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17932 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
17933 macro, so that gcc doesn't complain if the -Wmissing-prototypes
17934 compiler switch is being used (#325429).
17936 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
17938 * gst/gstbin.c: (gst_bin_query):
17939 Disable duration query caching in bins until it gets
17940 fixed (see #324807).
17942 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
17944 * tools/gst-inspect.c: (print_element_properties_info):
17945 Handle properties of POINTER and BOXED type.
17947 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
17949 * gst/gst.c: (init_post):
17950 Init tags stuff and some other things before loading
17951 any static plugins (there may be other static plugins
17952 than just the GStreamer ones, and they may want to
17953 register their own tags or formats or whatever, and
17954 preferably without segfaulting).
17956 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
17957 Print at least a warning in the debug logs if we drop a
17958 query just because we don't know how to adjust the value
17959 in the particular format.
17961 2005-12-24 David Schleef <ds@schleef.org>
17963 * tools/gstreamer-completion:
17964 Replacement for gst-complete written in sh and sed. Only
17965 completes names of features, but that's 90% of what I want
17966 it for. Properties are not available in registry.xml. (Maybe
17969 === release 0.10.1 ===
17971 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
17974 releasing 0.10.1, "Nollaig chridheil"
17976 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
17978 * docs/faq/cvs.xml:
17979 Add missing quote, should be make ERROR_CFLAGS="".
17981 2005-12-20 Wim Taymans <wim@fluendo.com>
17983 * docs/design/part-trickmodes.txt:
17984 More documentation on trickmodes.
17986 2005-12-20 Edward Hervey <edward@fluendo.com>
17988 * gst/gstcaps.c: (gst_static_caps_get_type):
17990 API addition: GST_TYPE_STATIC_CAPS
17991 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
17992 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
17993 * gst/gstpadtemplate.h:
17994 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
17995 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
17998 2005-12-18 Wim Taymans <wim@fluendo.com>
18000 * libs/gst/base/gstadapter.c:
18001 * libs/gst/base/gstadapter.h:
18002 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18003 (gst_base_sink_get_position):
18004 * libs/gst/base/gstbasesink.h:
18005 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18006 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18007 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18008 (gst_base_src_send_event), (gst_base_src_update_length),
18009 (gst_base_src_get_range), (gst_base_src_loop),
18010 (gst_base_src_start):
18011 * libs/gst/base/gstbasesrc.h:
18012 * libs/gst/base/gstbasetransform.h:
18013 * libs/gst/base/gstcollectpads.h:
18014 * libs/gst/base/gstpushsrc.c:
18015 * libs/gst/base/gstpushsrc.h:
18016 * libs/gst/dataprotocol/dataprotocol.c:
18017 * libs/gst/dataprotocol/dataprotocol.h:
18018 * libs/gst/net/gstnetclientclock.h:
18019 * libs/gst/net/gstnettimeprovider.h:
18020 Documentation updates.
18022 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18024 * docs/manual/basics-helloworld.xml:
18025 Remove superfluous closing bracket in helloworld example.
18027 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18029 * tools/gst-launch.1.in:
18030 Update gst-launch man page; add a section with useful
18031 environment variables. Fixes #323882.
18033 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18036 * gst/gst_private.h:
18037 change some char* into char[]
18039 2005-12-16 Wim Taymans <wim@fluendo.com>
18041 * gst/gstregistryxml.c: (load_feature):
18043 Don't use g_object_unref on GstObjects so that we avoid
18044 leaks on unsafe glibs.
18046 2005-12-16 Wim Taymans <wim@fluendo.com>
18048 * gst/gstbin.c: (gst_bin_recalc_state):
18051 2005-12-16 Wim Taymans <wim@fluendo.com>
18053 * common/check.mak:
18054 Added make forever target for check.
18056 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18058 * gst/gst.c: (init_post):
18059 make the registry cache file HOST_CPU-dependent
18061 2005-12-16 Andy Wingo <wingo@pobox.com>
18063 * plugins/elements/gstbufferstore.c
18064 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18067 * tests/check/gst/gstobject.c
18068 (test_fake_object_name_threaded_unique): Pay attention to
18069 g_list_sort return value.
18071 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18073 * tools/gst-feedback-m.m:
18074 Update for 0.9/0.10 (fixes #323870).
18076 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18078 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18079 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18081 * tests/check/gst/gstminiobject.c: (my_foo_init),
18082 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18083 (test_value_collection), (gst_mini_object_suite):
18084 Add test to ensure refcounts end up as expected when passing
18085 GstMiniObjects through g_object_get() and g_object_set().
18087 2005-12-14 Julien MOUTTE <julien@moutte.net>
18089 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18090 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18091 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18092 of collectpads. This version removes a lot of races without
18093 touching API/ABI. Yay !
18095 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18097 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18098 Don't allow activation of a srcpad in pull_range if it has no
18100 Change some debug statements to be a little clearer
18102 * plugins/elements/gsttypefindelement.c:
18103 (gst_type_find_handle_src_query):
18104 Check that we have a peer before executing queries thereupon.
18106 * tests/examples/metadata/read-metadata.c: (message_loop):
18107 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18108 immediately return us any available message with 0 timeout.
18110 2005-12-12 Michael Smith <msmith@fluendo.com>
18112 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18113 Don't unref factories after calling them.
18114 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18115 * plugins/elements/gsttypefindelement.c:
18116 (gst_type_find_element_chain):
18117 Free lists of factories after using them. Fixing typefinding memory
18120 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18122 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18123 (gst_plugin_feature_load):
18124 more meaningful debug output
18126 * tests/Makefile.am:
18127 * tests/old/examples/Makefile.am:
18128 make make distcheck happy again
18130 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18132 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18133 Catch the special case where we are operating chain-based,
18134 but the downstream peer pad has no chain function. Emit a
18135 custom error message in this case instead of letting the
18136 core generate one implying that this is some sort of core
18137 bug. It's not, it just means that whatever got plugged
18138 into the pipeline downstream when we announced the type
18139 can only operate pull-based, while our source can only
18140 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18141 Error string has not been marked for translation yet, as
18142 it probably needs some more work first.
18144 (gst_type_find_element_get_best_possibility):
18145 Add helper function to find the best of all available
18146 found possibilities that qualify given the min. threshold.
18148 (gst_type_find_element_handle_event):
18149 Fix the case where we get an EOS while still in TYPEFIND
18150 mode (we want to chose the best of all possible types,
18151 not just the first type that happens to be in our unsorted
18152 list of possible types).
18154 (gst_type_find_element_chain):
18155 Make sure we return GST_FLOW_ERROR when we errored out
18156 in stop_typefinding(); also, don't just find the best of
18157 all found type entries and then use the last examined
18158 type entry, but actually use the best entry.
18160 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18162 * tests/examples/typefind/typefind.c: (type_found):
18163 * tests/examples/xml/runxml.c: (xml_loaded):
18164 More gcc4 fixes and a mem leak fix.
18166 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18168 * tests/examples/xml/createxml.c: (object_saved):
18171 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18173 * tests/Makefile.am:
18174 enable the examples even more
18176 2005-12-12 Andy Wingo <wingo@pobox.com>
18178 * libs/gst/net/gstnettimeprovider.c
18179 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18180 (gst_net_time_provider_set_property)
18181 (gst_net_time_provider_get_property):
18182 API addition: Export "active" as a GObject property.
18183 (gst_net_time_provider_thread): Only respond to time queries if
18184 the time provider is active.
18186 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18187 NetTimeProvider, preserving binary compat.
18189 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18191 * tests/examples/controller/audio-example.c: (main):
18192 * tests/examples/launch/Makefile.am:
18193 convert comments again
18195 2005-12-12 Wim Taymans <wim@fluendo.com>
18197 * libs/gst/base/gstpushsrc.c:
18200 2005-12-12 Wim Taymans <wim@fluendo.com>
18202 * docs/libs/gstreamer-libs-sections.txt:
18203 Added new symbol to docs.
18205 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18206 (gst_base_src_init), (gst_base_src_set_format),
18207 (gst_base_src_default_query), (gst_base_src_query),
18208 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18209 (gst_base_src_perform_seek), (gst_base_src_send_event),
18210 (gst_base_src_default_event), (gst_base_src_event_handler),
18211 (gst_base_src_set_property), (gst_base_src_get_property),
18212 (gst_base_src_wait), (gst_base_src_do_sync),
18213 (gst_base_src_update_length), (gst_base_src_get_range),
18214 (gst_base_src_check_get_range), (gst_base_src_loop),
18215 (gst_base_src_default_negotiate), (gst_base_src_start),
18216 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18217 (gst_base_src_change_state):
18218 * libs/gst/base/gstbasesrc.h:
18219 Implement seeking to other formats than _BYTES.
18220 Implement more seeking methods correctly.
18222 Added query vmethod.
18223 Added do_seek vmethod to make life easier for subclasses
18225 API addition: gst_base_src_set_format()
18227 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18229 * tests/examples/Makefile.am:
18232 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18235 * docs/random/ensonic/media-device-daemon.txt:
18236 * tests/examples/controller/.cvsignore:
18237 * tests/examples/controller/Makefile.am:
18238 * tests/examples/controller/audio-example.c: (main):
18239 * tests/examples/helloworld/.cvsignore:
18240 * tests/examples/helloworld/Makefile.am:
18241 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18242 * tests/examples/launch/.cvsignore:
18243 * tests/examples/launch/Makefile.am:
18244 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18245 * tests/examples/metadata/.cvsignore:
18246 * tests/examples/metadata/Makefile.am:
18247 * tests/examples/metadata/read-metadata.c: (message_loop),
18248 (make_pipeline), (print_tag), (main):
18249 * tests/examples/queue/.cvsignore:
18250 * tests/examples/queue/Makefile.am:
18251 * tests/examples/queue/queue.c: (event_loop), (main):
18252 * tests/examples/typefind/.cvsignore:
18253 * tests/examples/typefind/Makefile.am:
18254 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18256 * tests/examples/xml/.cvsignore:
18257 * tests/examples/xml/Makefile.am:
18258 * tests/examples/xml/createxml.c: (object_saved), (main):
18259 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18260 * tests/old/examples/Makefile.am:
18261 * tests/old/examples/TODO:
18262 * tests/old/examples/controller/.cvsignore:
18263 * tests/old/examples/controller/Makefile.am:
18264 * tests/old/examples/controller/audio-example.c:
18265 * tests/old/examples/helloworld/.cvsignore:
18266 * tests/old/examples/helloworld/Makefile.am:
18267 * tests/old/examples/helloworld/helloworld.c:
18268 * tests/old/examples/launch/.cvsignore:
18269 * tests/old/examples/launch/Makefile.am:
18270 * tests/old/examples/launch/mp3parselaunch.c:
18271 * tests/old/examples/launch/mp3play:
18272 * tests/old/examples/manual/Makefile.am:
18273 * tests/old/examples/metadata/Makefile.am:
18274 * tests/old/examples/metadata/read-metadata.c:
18275 * tests/old/examples/queue/.cvsignore:
18276 * tests/old/examples/queue/Makefile.am:
18277 * tests/old/examples/queue/queue.c:
18278 * tests/old/examples/typefind/.cvsignore:
18279 * tests/old/examples/typefind/Makefile.am:
18280 * tests/old/examples/typefind/typefind.c:
18281 * tests/old/examples/xml/.cvsignore:
18282 * tests/old/examples/xml/Makefile.am:
18283 * tests/old/examples/xml/createxml.c:
18284 * tests/old/examples/xml/runxml.c:
18285 applied some simple fixing to some examples
18286 re-enabled the working examples
18288 2005-12-12 Wim Taymans <wim@fluendo.com>
18290 * gst/gstsegment.c: (gst_segment_init),
18291 (gst_segment_set_last_stop), (gst_segment_set_seek),
18292 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18293 (gst_segment_to_running_time):
18294 Added more documentation.
18295 Make sure the last_pos value is updated properly.
18296 Make sure to_stream_time and to_running_time don't
18297 operate on wrong values.
18299 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18302 2005-12-12 Michael Smith <msmith@fluendo.com>
18304 * plugins/elements/gsttypefindelement.c: (free_entry),
18305 (gst_type_find_element_chain):
18306 Now that we're not leaking factories, make sure we keep references
18307 to them while we need them.
18309 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18311 * tests/check/gst/struct_i386.h:
18312 ifdef out the XML structs
18314 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18316 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18317 floor is not needed, F is always positive; this obviates the
18318 need for adding -lm when building without libxml
18320 2005-12-12 Wim Taymans <wim@fluendo.com>
18322 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18323 Take current playback rate into account when reporting
18326 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18328 * docs/manual/mime-world.fig:
18329 Let's try this again, this time with a file that is
18330 actually in XFig format.
18332 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18334 * docs/manual/mime-world.fig:
18335 Add audioconvert element to diagram so that it
18336 matches the text and the code (fixes #319526).
18338 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18340 * docs/pwg/building-chainfn.xml:
18341 * docs/pwg/building-pads.xml:
18342 * docs/pwg/building-state.xml:
18343 * docs/pwg/other-source.xml:
18344 Update state change stuff for 0.10 (fixes #322969).
18346 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18348 * docs/manual/advanced-dataaccess.xml:
18349 * docs/manual/appendix-checklist.xml:
18350 * docs/manual/appendix-programs.xml:
18351 * docs/manual/basics-pads.xml:
18352 * docs/manual/highlevel-components.xml:
18353 * docs/manual/manual.xml:
18354 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18355 add converters in front of pipelines; remove curly
18356 brackets for threads stuff, they no longer exist; use
18357 GST_TYPE_FRACTION for framerates; update some pieces of
18358 code to 0.10, but there's plenty more to do.
18360 * docs/manual/appendix-porting.xml:
18361 Expand on asynchroneous state changes; s/0.9/0.10/;
18362 mention disappearance of gst_init_get_popt_table()
18365 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18367 * docs/faq/using.xml:
18368 Spider no longer exists, and neither does gst-launch-ext.
18369 Update examples to use decodebin and playbin and put
18370 converters in front of sinks (fixes #323726).
18372 2005-12-09 Michael Smith <msmith@fluendo.com>
18374 * plugins/elements/gsttypefindelement.c: (find_peek),
18375 (gst_type_find_element_chain):
18376 Fix leaking element factories in typefinding.
18377 Fix problem where we forgot about a probable type on non-seekable
18378 files, and thus later mis-typefound it.
18380 2005-12-09 Michael Smith <msmith@fluendo.com>
18382 * common/m4/gst-makecontext.m4:
18383 * common/m4/gst-mcsc.m4:
18385 * win32/common/config.h:
18386 * win32/common/config.h.in:
18387 Remove makecontext stuff; not used in 0.10 and causes problems on
18388 HPUX according to bug #322441
18390 2005-12-07 Wim Taymans <wim@fluendo.com>
18392 * tests/check/Makefile.am:
18393 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18395 * tests/check/libs/struct_i386.h:
18396 Added ABI check for libs
18398 2005-12-07 Wim Taymans <wim@fluendo.com>
18400 * tests/check/Makefile.am:
18401 And add the struct_i386.h to dist.
18403 2005-12-07 Wim Taymans <wim@fluendo.com>
18405 * tests/check/Makefile.am:
18406 * tests/check/gst/.cvsignore:
18407 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18409 * tests/check/gst/struct_i386.h:
18410 Added check for ABI compatibility.
18412 2005-12-07 Wim Taymans <wim@fluendo.com>
18414 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18415 (gst_fake_src_get_times), (gst_fake_src_create):
18416 Fix broken sync option, fixes #323259
18418 2005-12-07 Wim Taymans <wim@fluendo.com>
18423 * gst/gstcaps.c: (gst_caps_is_equal):
18424 Don't assert on NULL <--> X. Fixes #323260
18426 * gst/gstminiobject.c: (gst_mini_object_replace):
18427 If we're doing atomic operations, we might just as well use
18428 the proper way to get an atomic pointer.
18430 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18431 Clean up debugging.
18433 2005-12-07 Michael Smith <msmith@fluendo.com>
18435 * gst/parse/grammar.y:
18436 Remove handling of { } for threads.
18438 2005-12-06 David Schleef <ds@schleef.org>
18440 * libs/gst/base/gstbasetransform.c: speling fix.
18442 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18444 * docs/libs/tmpl/gstdataprotocol.sgml:
18445 * docs/random/omega/testing/gstobject.c:
18448 * gst/gstelement.c:
18449 * gst/gstelementfactory.c:
18452 * gst/gstghostpad.c:
18454 * gst/gstpadtemplate.c:
18455 * gst/gstregistryxml.c:
18456 * gst/gsttaglist.c:
18457 * gst/gsttagsetter.c:
18458 * gst/gsttypefind.c:
18460 * libs/gst/base/gstbasesrc.c:
18461 * libs/gst/net/gstnetclientclock.c:
18462 * libs/gst/net/gstnettimeprovider.c:
18463 * plugins/elements/gstfakesrc.c:
18464 * plugins/elements/gstfdsrc.c:
18465 * plugins/elements/gstfilesrc.c:
18466 * plugins/elements/gstidentity.c:
18467 * plugins/elements/gstqueue.c:
18468 * plugins/elements/gsttypefindelement.c:
18469 * plugins/indexers/gstfileindex.c:
18470 * plugins/indexers/gstmemindex.c:
18471 * tests/check/gst/gsttag.c:
18472 * tests/old/examples/cutter/cutter.c:
18473 * tests/old/examples/mixer/mixer.c:
18474 * tests/old/examples/xml/runxml.c: (main):
18475 * tests/old/testsuite/caps/normalisation.c:
18476 * tests/old/testsuite/debug/global.c:
18477 * tests/old/testsuite/parse/parse1.c:
18478 * tools/gst-xmlinspect.c:
18479 * win32/common/dirent.c:
18482 === release 0.10.0 ===
18484 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18487 releasing 0.10.0, "Maroilles"
18489 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18491 submitted by: Funda Wang <fundawang@linux.net.cn>
18495 added Chinese (Traditional) translation
18497 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18499 * docs/gst/gstreamer-sections.txt:
18500 * docs/libs/tmpl/gstdataprotocol.sgml:
18501 * docs/random/thomasvs/TODO:
18506 2005-12-05 Andy Wingo <wingo@pobox.com>
18508 patch by: Wim Taymans <wim@fluendo.com>
18510 * libs/gst/base/gstbasetransform.c
18511 (gst_base_transform_prepare_output_buf)
18512 (gst_base_transform_buffer_alloc):
18513 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18514 alloc_buffer_and_set_caps.
18516 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18517 set_caps on the source pad.
18518 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18519 alloc_buffer used to do. Fixes #322874.
18521 * docs/gst/gstreamer-sections.txt:
18522 * docs/design/part-negotiation.txt:
18523 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18526 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18528 patch by: Sebastien Moutte
18531 * win32/common/config.h.in:
18532 * win32/vs6/libgstcontroller.dsp:
18535 2005-12-05 Wim Taymans <wim@fluendo.com>
18537 * gst/gstcaps.c: (gst_caps_is_equal):
18538 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18539 (gst_fake_src_create):
18540 Back out previous code changes, leave doc updates, file bugs
18543 2005-12-05 Wim Taymans <wim@fluendo.com>
18545 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18546 (gst_fake_src_get_times), (gst_fake_src_create):
18547 * plugins/elements/gstfakesrc.h:
18548 Fix broken sync code.
18550 2005-12-05 Wim Taymans <wim@fluendo.com>
18552 * gst/gstcaps.c: (gst_caps_is_equal):
18553 Comparing NULL against !NULL yields different caps, not a
18556 2005-12-05 Wim Taymans <wim@fluendo.com>
18558 * gst/gstpipeline.c:
18559 Fix small typo in docs.
18561 2005-12-05 Andy Wingo <wingo@pobox.com>
18563 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18565 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18566 registries/plugins with a MAJORMINOR one.
18567 (plugin_desc): Rename library from gstcoreleements to
18568 staticelements. Fixes #323222.
18570 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18572 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18573 Change debug category to 'collectpads' from 'collect_pads'
18576 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18578 patch by: Sebastien Moutte
18580 * libs/gst/controller/gstinterpolation.c:
18581 use convert function for uint64/double
18582 * win32/vs6/libgstcontroller.dsp:
18585 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18587 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18588 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18590 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18591 add tests that seem to show that the guint64/gdouble conversions
18594 2005-12-02 Wim Taymans <wim@fluendo.com>
18596 * gst/gstregistry.c: (gst_registry_add_path):
18597 * gst/gstregistry.h:
18598 * gst/gstregistryxml.c:
18601 2005-12-02 Wim Taymans <wim@fluendo.com>
18603 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18604 (gst_util_uint64_scale_int):
18607 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18608 Add debug log line.
18610 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18613 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18616 * win32/common/config.h:
18617 * win32/vs6/gstreamer.dsw:
18618 * win32/vs6/libgstcoreelements.dsp:
18619 * win32/vs6/libgstelements.dsp:
18620 renamed core elements plugin
18622 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18624 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18626 do piece-wise major/minor comparison so 0.9 < 0.10
18627 also allow .exe extensions for tools
18629 2005-12-02 Michael Smith <msmith@fluendo.com>
18632 Escape a % to make gtkdoc happier; bug 322958.
18634 === release 0.9.7 ===
18636 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18639 releasing 0.9.7, "My Dog Has No Nose"
18641 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18643 * common/gst-xmlinspect.py:
18645 * docs/libs/tmpl/gstdataprotocol.sgml:
18646 * docs/random/release:
18665 * win32/common/config.h:
18666 * win32/common/config.h.in:
18667 * win32/vs6/gst_inspect.dsp:
18668 * win32/vs6/gst_launch.dsp:
18669 * win32/vs6/libgstbase.dsp:
18670 * win32/vs6/libgstelements.dsp:
18671 * win32/vs6/libgstreamer.dsp:
18672 * win32/vs7/GStreamer.vcproj:
18673 * win32/vs7/gst-inspect.vcproj:
18674 * win32/vs7/gst-launch.vcproj:
18675 * win32/vs7/libgstbase.vcproj:
18676 bump GST_MAJORMINOR to 0.10
18677 reset libtool version
18679 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18683 Added Bulgarian translation by (Alexander Shopov)
18685 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18687 * tests/check/gst/gstplugin.c:
18690 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18692 * common/gst-xmlinspect.py:
18693 * common/gtk-doc-plugins.mak:
18695 * docs/Makefile.am:
18696 * docs/gst/Makefile.am:
18697 * docs/gst/gstreamer-docs.sgml:
18698 * docs/gst/gstreamer-sections.txt:
18699 * docs/gst/gstreamer.types:
18700 * docs/gst/gstreamer.types.in:
18701 * docs/plugins/Makefile.am:
18702 * docs/plugins/gstreamer-plugins-docs.sgml:
18703 * docs/plugins/gstreamer-plugins-sections.txt:
18704 * docs/plugins/gstreamer-plugins.types:
18705 * docs/plugins/inspect.stamp:
18706 * docs/plugins/inspect/plugin-coreelements.xml:
18707 * docs/plugins/inspect/plugin-coreindexers.xml:
18708 * docs/plugins/scanobj-build.stamp:
18709 * gstreamer.spec.in:
18710 * plugins/elements/Makefile.am:
18711 * plugins/elements/gstelements.c:
18712 * plugins/elements/gstfakesink.c:
18713 * plugins/elements/gstfakesrc.c:
18714 * plugins/elements/gstfilesink.c:
18715 * plugins/elements/gstfilesrc.c:
18716 * plugins/elements/gstqueue.c:
18717 * plugins/indexers/Makefile.am:
18718 * plugins/indexers/gstindexers.c:
18719 document core plugins in a separate document just like all the
18721 rename these plugins to something starting with core
18723 2005-12-01 Andy Wingo <wingo@pobox.com>
18725 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18726 padding here before, but it missed the commit.
18728 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18730 * libs/gst/controller/gstinterpolation.c:
18731 whitespace prices have crashed, we should feel free to use some now
18732 use gst_guint64_to_gdouble
18734 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18736 * libs/gst/controller/gstcontroller.c:
18737 * libs/gst/controller/gsthelper.c:
18738 * libs/gst/controller/gstinterpolation.c:
18739 * libs/gst/controller/lib.c:
18740 wrap config.h include
18742 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18744 * docs/gst/gstreamer-sections.txt:
18747 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18749 * plugins/elements/gstelements.c:
18750 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18751 (gst_fd_sink__class_init), (gst_fd_sink__init),
18752 (gst_fd_sink__chain), (gst_fd_sink__set_property),
18753 (gst_fd_sink__get_property):
18754 * plugins/elements/gstfdsink.h:
18755 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18756 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18757 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18758 (gst_fd_src_unlock), (gst_fd_src_set_property),
18759 (gst_fd_src_get_property), (gst_fd_src_create),
18760 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18761 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18762 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18763 (gst_fd_src_uri_handler_init):
18764 * plugins/elements/gstfdsrc.h:
18765 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18768 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18770 * docs/gst/Makefile.am:
18771 * docs/gst/gstreamer.types.in:
18775 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18781 * gst/gstregistry.h:
18782 * tests/benchmarks/complexity.c:
18783 * tests/benchmarks/mass-elements.c:
18784 * tests/check/Makefile.am:
18785 * tools/Makefile.am:
18786 * tools/gst-inspect.c:
18787 * tools/gst-xmlinspect.c:
18788 various fixes to make
18789 --disable-nls --disable-registry --disable-loadsave
18790 --disable-parse --disable-gst-debug
18791 work and get the core .so down to 360444 bytes after stripping
18793 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18798 * docs/random/thomasvs/TODO:
18799 * tests/Makefile.am:
18803 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18805 * win32/GStreamer.vcproj:
18808 * win32/Makefile.inspect:
18809 * win32/Makefile.launch:
18810 * win32/Makefile.register:
18811 * win32/README.txt:
18812 * win32/gst-inspect.vcproj:
18813 * win32/gst-launch.vcproj:
18814 * win32/gst-register.vcproj:
18815 * win32/gstelements.vcproj:
18816 * win32/gstgetbits.def:
18817 * win32/gstgetbits.vcproj:
18818 * win32/gstreamer-dbg.def:
18819 * win32/gstreamer.def:
18820 * win32/libgstbase.def:
18821 * win32/libgstbase.vcproj:
18822 * win32/link_oldruntime.c:
18826 * win32/msvc71.sln:
18827 move even more stuff, win32/ is nice and clean now
18829 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18831 * libs/gst/control/.cvsignore:
18836 * win32/gstbytestream.def:
18837 * win32/gstbytestream.vcproj:
18838 * win32/gstconfig.h:
18839 * win32/gstenumtypes.c:
18840 * win32/gstenumtypes.h:
18841 * win32/gstoptimalscheduler.vcproj:
18842 * win32/gstversion.h:
18844 * win32/testsuite/bins.vcproj:
18845 * win32/testsuite/bytestream.vcproj:
18846 * win32/testsuite/caps.vcproj:
18847 * win32/testsuite/cleanup.vcproj:
18848 * win32/testsuite/clock.vcproj:
18849 * win32/testsuite/debug.vcproj:
18850 * win32/testsuite/dlopen.vcproj:
18851 * win32/testsuite/dynparams.vcproj:
18852 * win32/testsuite/elements.vcproj:
18853 * win32/testsuite/ghostpads.vcproj:
18854 * win32/testsuite/indexers.vcproj:
18855 * win32/testsuite/negotiation.vcproj:
18856 * win32/testsuite/parse.vcproj:
18857 * win32/testsuite/plugin.vcproj:
18858 * win32/testsuite/refcounting.vcproj:
18859 * win32/testsuite/schedulers.vcproj:
18860 * win32/testsuite/states.vcproj:
18861 * win32/testsuite/tags.vcproj:
18862 * win32/testsuite/threads.vcproj:
18863 remove old win32 stuff that isn't maintained and should be
18866 2005-11-30 Andy Wingo <wingo@pobox.com>
18868 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18869 loading the gst.interfaces python module bork.
18871 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
18872 available since GLib 2.2. Fixes #318031.
18874 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18877 * check/.cvsignore:
18878 * check/Makefile.am:
18879 * check/elements/.cvsignore:
18880 * check/elements/fakesrc.c:
18881 * check/elements/fdsrc.c:
18882 * check/elements/identity.c:
18883 * check/generic/.cvsignore:
18884 * check/generic/states.c:
18885 * check/gst-libs/.cvsignore:
18886 * check/gst-libs/controller.c:
18887 * check/gst-libs/gdp.c:
18888 * check/gst/.cvsignore:
18889 * check/gst/capslist.h:
18891 * check/gst/gstbin.c:
18892 * check/gst/gstbuffer.c:
18893 * check/gst/gstbus.c:
18894 * check/gst/gstcaps.c:
18895 * check/gst/gstelement.c:
18896 * check/gst/gstevent.c:
18897 * check/gst/gstghostpad.c:
18898 * check/gst/gstiterator.c:
18899 * check/gst/gstmessage.c:
18900 * check/gst/gstminiobject.c:
18901 * check/gst/gstobject.c:
18902 * check/gst/gstpad.c:
18903 * check/gst/gstpipeline.c:
18904 * check/gst/gstplugin.c:
18905 * check/gst/gstsegment.c:
18906 * check/gst/gststructure.c:
18907 * check/gst/gstsystemclock.c:
18908 * check/gst/gsttag.c:
18909 * check/gst/gstutils.c:
18910 * check/gst/gstvalue.c:
18911 * check/net/.cvsignore:
18912 * check/net/gstnetclientclock.c:
18913 * check/net/gstnettimeprovider.c:
18914 * check/pipelines/.cvsignore:
18915 * check/pipelines/cleanup.c:
18916 * check/pipelines/simple_launch_lines.c:
18917 * check/pipelines/stress.c:
18918 * check/states/.cvsignore:
18919 * check/states/sinks.c:
18921 * examples/Makefile.am:
18922 * examples/appreader/.cvsignore:
18923 * examples/appreader/Makefile.am:
18924 * examples/appreader/appreader.c:
18925 * examples/controller/.cvsignore:
18926 * examples/controller/Makefile.am:
18927 * examples/controller/audio-example.c:
18928 * examples/cutter/.cvsignore:
18929 * examples/cutter/Makefile.am:
18930 * examples/cutter/cutter.c:
18931 * examples/cutter/cutter.h:
18932 * examples/events/Makefile.am:
18933 * examples/events/seek.c:
18934 * examples/helloworld/.cvsignore:
18935 * examples/helloworld/Makefile.am:
18936 * examples/helloworld/helloworld.c:
18937 * examples/helloworld2/.cvsignore:
18938 * examples/helloworld2/Makefile.am:
18939 * examples/helloworld2/helloworld2.c:
18940 * examples/launch/.cvsignore:
18941 * examples/launch/Makefile.am:
18942 * examples/launch/mp3parselaunch.c:
18943 * examples/launch/mp3play:
18944 * examples/manual/.cvsignore:
18945 * examples/manual/Makefile.am:
18946 * examples/manual/extract.pl:
18947 * examples/metadata/Makefile.am:
18948 * examples/metadata/read-metadata.c:
18949 * examples/mixer/.cvsignore:
18950 * examples/mixer/Makefile.am:
18951 * examples/mixer/mixer.c:
18952 * examples/mixer/mixer.h:
18953 * examples/pingpong/.cvsignore:
18954 * examples/pingpong/Makefile.am:
18955 * examples/pingpong/pingpong.c:
18956 * examples/plugins/.cvsignore:
18957 * examples/plugins/Makefile.am:
18958 * examples/plugins/example.c:
18959 * examples/plugins/example.h:
18960 * examples/pwg/.cvsignore:
18961 * examples/pwg/Makefile.am:
18962 * examples/pwg/extract.pl:
18963 * examples/queue/.cvsignore:
18964 * examples/queue/Makefile.am:
18965 * examples/queue/queue.c:
18966 * examples/queue2/.cvsignore:
18967 * examples/queue2/Makefile.am:
18968 * examples/queue2/queue2.c:
18969 * examples/queue3/.cvsignore:
18970 * examples/queue3/Makefile.am:
18971 * examples/queue3/queue3.c:
18972 * examples/queue4/.cvsignore:
18973 * examples/queue4/Makefile.am:
18974 * examples/queue4/queue4.c:
18975 * examples/retag/.cvsignore:
18976 * examples/retag/Makefile.am:
18977 * examples/retag/retag.c:
18978 * examples/retag/transcode.c:
18979 * examples/thread/.cvsignore:
18980 * examples/thread/Makefile.am:
18981 * examples/thread/thread.c:
18982 * examples/typefind/.cvsignore:
18983 * examples/typefind/Makefile.am:
18984 * examples/typefind/typefind.c:
18985 * examples/xml/.cvsignore:
18986 * examples/xml/Makefile.am:
18987 * examples/xml/createxml.c:
18988 * examples/xml/runxml.c:
18989 * tests/Makefile.am:
18990 * tests/check/Makefile.am:
18991 * testsuite/.cvsignore:
18992 * testsuite/Makefile.am:
18994 * testsuite/caps/.cvsignore:
18995 * testsuite/caps/Makefile.am:
18996 * testsuite/caps/app_fixate.c:
18997 * testsuite/caps/audioscale.c:
18998 * testsuite/caps/caps.c:
18999 * testsuite/caps/caps.h:
19000 * testsuite/caps/caps_strings:
19001 * testsuite/caps/compatibility.c:
19002 * testsuite/caps/deserialize.c:
19003 * testsuite/caps/enumcaps.c:
19004 * testsuite/caps/eratosthenes.c:
19005 * testsuite/caps/filtercaps.c:
19006 * testsuite/caps/fixed.c:
19007 * testsuite/caps/fraction-convert.c:
19008 * testsuite/caps/fraction-multiply-and-zero.c:
19009 * testsuite/caps/intersect2.c:
19010 * testsuite/caps/intersection.c:
19011 * testsuite/caps/normalisation.c:
19012 * testsuite/caps/random.c:
19013 * testsuite/caps/renegotiate.c:
19014 * testsuite/caps/sets.c:
19015 * testsuite/caps/simplify.c:
19016 * testsuite/caps/string-conversions.c:
19017 * testsuite/caps/structure.c:
19018 * testsuite/caps/subtract.c:
19019 * testsuite/caps/union.c:
19020 * testsuite/debug/.cvsignore:
19021 * testsuite/debug/Makefile.am:
19022 * testsuite/debug/category.c:
19023 * testsuite/debug/commandline.c:
19024 * testsuite/debug/global.c:
19025 * testsuite/debug/output.c:
19026 * testsuite/debug/printf_extension.c:
19027 * testsuite/dlopen/.cvsignore:
19028 * testsuite/dlopen/Makefile.am:
19029 * testsuite/dlopen/dlopen_gst.c:
19030 * testsuite/dlopen/loadgst.c:
19031 * testsuite/elements/.cvsignore:
19032 * testsuite/elements/Makefile.am:
19033 * testsuite/elements/gst-inspect-check.in:
19034 * testsuite/elements/struct_i386.h:
19035 * testsuite/elements/struct_size.c:
19036 * testsuite/indexers/.cvsignore:
19037 * testsuite/indexers/Makefile.am:
19038 * testsuite/indexers/cache1.c:
19039 * testsuite/indexers/indexdump.c:
19040 * testsuite/parse/.cvsignore:
19041 * testsuite/parse/Makefile.am:
19042 * testsuite/parse/parse1.c:
19043 * testsuite/parse/parse2.c:
19044 * testsuite/plugin/.cvsignore:
19045 * testsuite/plugin/Makefile.am:
19046 * testsuite/plugin/README:
19047 * testsuite/plugin/dynamic.c:
19048 * testsuite/plugin/linked.c:
19049 * testsuite/plugin/loading.c:
19050 * testsuite/plugin/registry.c:
19051 * testsuite/plugin/static.c:
19052 * testsuite/plugin/static2.c:
19053 * testsuite/plugin/testplugin.c:
19054 * testsuite/plugin/testplugin2.c:
19055 * testsuite/plugin/testplugin2_s.c:
19056 * testsuite/plugin/testplugin_s.c:
19057 * testsuite/refcounting/.cvsignore:
19058 * testsuite/refcounting/Makefile.am:
19059 * testsuite/refcounting/bin.c:
19060 * testsuite/refcounting/element.c:
19061 * testsuite/refcounting/element_pad.c:
19062 * testsuite/refcounting/mainloop.c:
19063 * testsuite/refcounting/mem.c:
19064 * testsuite/refcounting/mem.h:
19065 * testsuite/refcounting/object.c:
19066 * testsuite/refcounting/pad.c:
19067 * testsuite/refcounting/sched.c:
19068 * testsuite/refcounting/thread.c:
19069 * testsuite/states/.cvsignore:
19070 * testsuite/states/Makefile.am:
19071 * testsuite/states/bin.c:
19072 * testsuite/states/locked.c:
19073 * testsuite/states/parent.c:
19074 * testsuite/threads/.cvsignore:
19075 * testsuite/threads/159566.c:
19076 * testsuite/threads/159852.c:
19077 * testsuite/threads/Makefile.am:
19078 * testsuite/threads/queue.c:
19079 * testsuite/threads/signals.c:
19080 * testsuite/threads/staticrec.c:
19081 * testsuite/threads/thread.c:
19082 * testsuite/threads/threadb.c:
19083 * testsuite/threads/threadc.c:
19084 * testsuite/threads/threadd.c:
19085 * testsuite/threads/threade.c:
19086 * testsuite/threads/threadf.c:
19087 * testsuite/threads/threadg.c:
19088 * testsuite/threads/threadh.c:
19089 * testsuite/threads/threadi.c:
19090 move all of these under tests
19092 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19095 * tests/Makefile.am:
19098 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19100 * docs/gst/gstreamer-sections.txt:
19101 * tests/sched/.cvsignore:
19102 * tests/sched/Makefile.am:
19103 * tests/sched/cases/(fs-fs).xml:
19104 * tests/sched/cases/(fs-i-fs).xml:
19105 * tests/sched/cases/(fs-i-i-fs).xml:
19106 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19107 * tests/sched/dynamic-pipeline.c:
19108 * tests/sched/interrupt1.c:
19109 * tests/sched/interrupt2.c:
19110 * tests/sched/interrupt3.c:
19111 * tests/sched/runtestcases:
19112 * tests/sched/runxml.c:
19113 * tests/sched/sched-stress.c:
19114 * tests/sched/sort.c:
19115 * tests/sched/testcases:
19116 * tests/sched/testcases1.tc:
19117 * tests/seeking/.cvsignore:
19118 * tests/seeking/Makefile.am:
19119 * tests/seeking/seeking1.c:
19120 * tests/threadstate/.cvsignore:
19121 * tests/threadstate/Makefile.am:
19122 * tests/threadstate/test1.c:
19123 * tests/threadstate/test2.c:
19124 * tests/threadstate/threadstate1.c:
19125 * tests/threadstate/threadstate2.c:
19126 * tests/threadstate/threadstate3.c:
19127 * tests/threadstate/threadstate4.c:
19128 * tests/threadstate/threadstate5.c:
19129 remove obsolete tests
19131 * tests/bench-complexity.scm:
19132 * tests/bench-mass_elements.scm:
19133 * tests/complexity.c:
19134 * tests/complexity.gnuplot:
19135 * tests/instantiate/.cvsignore:
19136 * tests/instantiate/Makefile.am:
19137 * tests/instantiate/caps.c:
19138 * tests/mass_elements.c:
19139 * tests/network-clock-utils.scm:
19140 * tests/network-clock.scm:
19142 First pass at cleaning up tests/ dir before moving the rest
19143 Combined with CVS surgery
19145 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19148 queue has moved, update
19150 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19152 * docs/gst/gstreamer-sections.txt:
19153 remove double entries from the docs
19154 * gst/gst_private.h:
19155 * gst/gstinfo.c: (_gst_debug_init):
19156 remove the THREAD debug category
19160 * docs/gst/gstreamer.types:
19161 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19162 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19163 completely move queue and fix up debugging categories
19165 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19167 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19168 make initialization portable, using LL is not
19170 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19172 * win32/common/gstconfig.h:
19175 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19177 * win32/common/libgstreamer.def:
19178 rename symbols; sort base section
19180 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19182 * gst/gstclock.c: (do_linear_regression):
19183 remove crack non-portable handrolled DEBUG macro
19185 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19187 * docs/random/release:
19189 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19190 (gst_object_flags_get_type), (register_gst_bin_flags),
19191 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19192 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19193 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19194 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19195 (gst_caps_flags_get_type), (register_gst_clock_return),
19196 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19197 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19198 (gst_clock_flags_get_type), (register_gst_state),
19199 (gst_state_get_type), (register_gst_state_change_return),
19200 (gst_state_change_return_get_type), (register_gst_state_change),
19201 (gst_state_change_get_type), (register_gst_element_flags),
19202 (gst_element_flags_get_type), (register_gst_core_error),
19203 (gst_core_error_get_type), (register_gst_library_error),
19204 (gst_library_error_get_type), (register_gst_resource_error),
19205 (gst_resource_error_get_type), (register_gst_stream_error),
19206 (gst_stream_error_get_type), (register_gst_event_type_flags),
19207 (gst_event_type_flags_get_type), (register_gst_event_type),
19208 (gst_event_type_get_type), (register_gst_seek_type),
19209 (gst_seek_type_get_type), (register_gst_seek_flags),
19210 (gst_seek_flags_get_type), (register_gst_format),
19211 (gst_format_get_type), (register_gst_index_certainty),
19212 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19213 (gst_index_entry_type_get_type),
19214 (register_gst_index_lookup_method),
19215 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19216 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19217 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19218 (gst_index_flags_get_type), (register_gst_debug_level),
19219 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19220 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19221 (gst_iterator_result_get_type), (register_gst_iterator_item),
19222 (gst_iterator_item_get_type), (register_gst_message_type),
19223 (gst_message_type_get_type), (register_gst_mini_object_flags),
19224 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19225 (gst_pad_link_return_get_type), (register_gst_flow_return),
19226 (gst_flow_return_get_type), (register_gst_activate_mode),
19227 (gst_activate_mode_get_type), (register_gst_pad_direction),
19228 (gst_pad_direction_get_type), (register_gst_pad_flags),
19229 (gst_pad_flags_get_type), (register_gst_pad_presence),
19230 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19231 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19232 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19233 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19234 (gst_plugin_flags_get_type), (register_gst_rank),
19235 (gst_rank_get_type), (register_gst_query_type),
19236 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19237 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19238 (gst_tag_flag_get_type), (register_gst_task_state),
19239 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19240 (gst_alloc_trace_flags_get_type),
19241 (register_gst_type_find_probability),
19242 (gst_type_find_probability_get_type), (register_gst_uri_type),
19243 (gst_uri_type_get_type), (register_gst_parse_error),
19244 (gst_parse_error_get_type):
19245 * win32/common/gstenumtypes.h:
19246 * win32/common/gstversion.h:
19247 update visual studio generated files
19249 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19251 * win32/vs6/libgstbase.dsp:
19252 * win32/vs6/libgstelements.dsp:
19253 update project files for new locations
19255 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19260 reinstate and update
19265 * docs/random/LICENSE:
19268 2005-11-30 Edward Hervey <edward@fluendo.com>
19270 * gst/gsttypefind.c: (gst_type_find_register):
19271 * gst/gsttypefind.h:
19272 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19273 (gst_type_find_factory_dispose):
19274 * gst/gsttypefindfactory.h:
19275 Fix memory leak in GstTypeFindFactory.
19277 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19280 * plugins/elements/Makefile.am:
19281 * plugins/elements/gstelements.c:
19282 * plugins/elements/gstqueue.c:
19283 move queue from core to the elements plugin
19285 2005-11-29 Andy Wingo <wingo@pobox.com>
19287 * libs/gst/base/gstbasetransform.h:
19288 * libs/gst/base/gstbasesrc.h:
19289 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19291 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19292 of pointers by which to pad very extensible base classes (like the
19293 ones in libs/gst/base).
19295 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19297 * docs/gst/gstreamer-docs.sgml:
19298 * docs/gst/gstreamer-sections.txt:
19299 * docs/libs/gstreamer-libs-docs.sgml:
19300 * docs/libs/gstreamer-libs-sections.txt:
19301 moving documentation from core to lib
19303 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19305 * check/Makefile.am:
19307 * docs/gst/Makefile.am:
19309 * gst/base/.cvsignore:
19310 * gst/base/Makefile.am:
19312 * gst/base/gstadapter.c:
19313 * gst/base/gstadapter.h:
19314 * gst/base/gstbasesink.c:
19315 * gst/base/gstbasesink.h:
19316 * gst/base/gstbasesrc.c:
19317 * gst/base/gstbasesrc.h:
19318 * gst/base/gstbasetransform.c:
19319 * gst/base/gstbasetransform.h:
19320 * gst/base/gstcollectpads.c:
19321 * gst/base/gstcollectpads.h:
19322 * gst/base/gstpushsrc.c:
19323 * gst/base/gstpushsrc.h:
19324 * gst/base/gsttypefindhelper.c:
19325 * gst/base/gsttypefindhelper.h:
19326 * gst/check/Makefile.am:
19327 * gst/check/gstcheck.c:
19328 * gst/check/gstcheck.h:
19329 * gst/net/Makefile.am:
19330 * gst/net/gstnet.h:
19331 * gst/net/gstnetclientclock.c:
19332 * gst/net/gstnetclientclock.h:
19333 * gst/net/gstnettimepacket.c:
19334 * gst/net/gstnettimepacket.h:
19335 * gst/net/gstnettimeprovider.c:
19336 * gst/net/gstnettimeprovider.h:
19337 * libs/gst/Makefile.am:
19338 * libs/gst/base/Makefile.am:
19339 * libs/gst/base/gstbasetransform.c:
19340 * libs/gst/check/Makefile.am:
19341 * plugins/elements/Makefile.am:
19343 CVS surgery + support to move base, check, and net out of gst
19346 2005-11-29 Andy Wingo <wingo@pobox.com>
19348 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19350 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19353 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19355 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19357 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19359 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19360 padding; reduces object size by about 30%. We don't expect
19361 anything else to go into gstobject.
19363 * gst/gstminiobject.h (struct _GstMiniObject)
19364 (struct _GstMiniObjectClass): Only one pointer of padding; the
19365 payload is only a pointer and two ints anyway. For the class there
19366 are only two methods as well.
19368 * gst/gstelement.h (struct _GstElementClass): Removed
19369 the state_changed signal callback, it is not used.
19371 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19373 * docs/gst/gstreamer.types:
19374 fix includes, though they are a little dinky
19376 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19378 * check/Makefile.am:
19379 look in the right place for elements, a lot more chance of
19382 remove indexers and elements subdirs
19383 * plugins/Makefile.am:
19384 make indexers conditional
19386 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19390 * plugins/elements/Makefile.am:
19391 * plugins/elements/gstcapsfilter.c:
19392 * plugins/elements/gstfilesink.c:
19393 * plugins/elements/gstfilesrc.c:
19394 * plugins/elements/gstidentity.c:
19395 * plugins/indexers/Makefile.am:
19396 do CVS surgery and related build fixery to move elements
19397 and indexers in a new gstreamer/plugins directory, out of the
19400 2005-11-29 Andy Wingo <wingo@pobox.com>
19402 * check/Makefile.am:
19403 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19404 * pkgconfig/gstreamer-net.pc.in:
19405 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19408 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19410 * tools/Makefile.am:
19411 * tools/gst-complete.1.in:
19412 * tools/gst-complete.c:
19413 * tools/gst-compprep.1.in:
19414 * tools/gst-compprep.c:
19415 removing -compprep and -complete
19417 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19419 * gst/gstevent.c: (gst_event_new_new_segment),
19420 (gst_event_parse_new_segment):
19422 fix #320529 - clean up new_segment API and structure.
19423 Let's hope everyone was using the methods, and not the structure.
19425 2005-11-29 Edward Hervey <edward@fluendo.com>
19427 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19428 (gst_base_sink_event), (gst_base_sink_do_sync),
19429 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19430 Properly handle non GST_FORMAT_TIME segment
19431 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19432 Properly handle non GST_FORMAT_TIME segment
19433 * gst/gstsegment.c:
19434 This function is valid if the accumulator is 0 and the format
19435 is different from the requested format.
19437 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19439 * docs/gst/gstreamer-sections.txt:
19440 Add gst_query_new_seeking and gst_query_parse_seeking to the
19443 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19445 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19446 Treat a pad alloc with new caps the same as if we were not
19447 negotiated, in order to allow a changing upstream output
19448 to produce a new format of data.
19450 2005-11-29 Edward Hervey <edward@fluendo.com>
19452 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19453 (gst_base_transform_event), (gst_base_transform_eventfunc):
19454 The event virtual method is now properly implemented, with a default
19456 Sub classes should call the parent_class event method. They should
19457 return FALSE if they had a problem handling the given event, or don't
19458 want GstBaseTransform to send that even downstream
19459 * gst/elements/gstidentity.c: (gst_identity_class_init),
19460 (gst_identity_init), (gst_identity_event),
19461 (gst_identity_transform_ip), (gst_identity_set_property),
19462 (gst_identity_get_property):
19463 * gst/elements/gstidentity.h:
19464 Added the single-segment boolean property.
19465 If set to TRUE, it will output a single segment of data, starting from
19466 0, will eat up all incoming newsegment, and modify the timestamp of the
19467 buffers accordingly
19469 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19471 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19472 Don't ref NULL target pad (#322751). Improve docs.
19474 2005-11-29 Michael Smith <msmith@fluendo.com>
19476 * gst/gstregistryxml.c: (load_plugin):
19477 Don't crash if we failed to load a feature from a plugin.
19479 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19481 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19483 use more check API and less GLib API
19485 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19488 don't run checks if we don't have check
19489 * common/check.mak:
19490 remove the registry when running make torture
19491 * docs/gst/gstreamer-sections.txt:
19492 remove second multiply
19493 * gst/gstqueue.c: (gst_queue_loop):
19494 fix a compile warning when disabling debug
19496 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19499 Hey! Let's print the pad name if the pointer != NULL instead
19500 of when it == NULL :-)
19502 2005-11-28 Wim Taymans <wim@fluendo.com>
19504 * check/gst/gstutils.c: (GST_START_TEST):
19505 Updated check, add some scaling accuracy checking code.
19507 * gst/gstutils.c: (gst_util_div128_64),
19508 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19509 (gst_util_uint64_scale_int):
19510 Fix 6 times faster division code. Optimize for common
19511 1/1 and less common X/1 cases.
19513 2005-11-28 Wim Taymans <wim@fluendo.com>
19515 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19518 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19519 (do_linear_regression), (gst_clock_add_observation):
19521 Release lock when the clock cannot be slaved.
19522 Catch the case where the regression returned an invalid denominator.
19524 * gst/gstutils.c: (gst_util_div128_64_iterate),
19525 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19526 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19527 Add protentially more performant non-iterative 128/64 divide function
19528 that unfortunatly does not work yet.
19529 Shortcut the trivial 0/X = 0 case.
19530 Remove the warnings on overflow.
19532 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19534 * gst/gstplugin.c: (gst_plugin_register_func):
19535 everything causing a plugin not to load should be at least a WARNING
19537 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19539 * docs/random/ensonic/dparams.txt:
19540 some TODOs for the next dev cycle
19541 * libs/gst/controller/gstcontroller.c:
19542 (gst_controlled_property_set_interpolation_mode),
19543 (gst_controlled_property_new):
19544 * libs/gst/controller/gstcontroller.h:
19545 use base type to assign acccessor functions
19547 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19549 * check/Makefile.am:
19550 Oops, that should have been top_srcdir
19552 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19554 * check/Makefile.am:
19555 * check/elements/fdsrc.c: (GST_START_TEST):
19556 Use a cmdline define to specify the location of a file to use for
19557 testing, to avoid breaking distcheck.
19559 2005-11-28 Andy Wingo <wingo@pobox.com>
19561 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19563 2005-11-28 Edward Hervey <edward@fluendo.com>
19565 * tools/gst-launch.c: (main):
19566 Clarify the output strings, makes it easier to translate.
19569 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19572 don't try and build net if we don't even have <sys/socket.h>
19574 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19576 * check/Makefile.am:
19577 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19578 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19579 Add tests for fdsrc seekability
19581 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19582 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19583 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19584 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19585 * gst/elements/gstfdsrc.h:
19586 fdsrc should not be a 'live' source.
19587 Implement seeking on seekable fd's.
19589 * gst/gstquery.c: (gst_query_new_seeking),
19590 (gst_query_parse_seeking):
19592 Implement SEEKING query functions:
19593 *_new_seeking and *_parse_seeking
19595 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19597 * gst/gstelement.c: (gst_element_dispose):
19600 * gst/gstiterator.c:
19601 * gst/gststructure.c:
19604 * libs/gst/controller/gstcontroller.c:
19605 (gst_controlled_property_set_interpolation_mode):
19606 * libs/gst/controller/gstcontroller.h:
19607 * libs/gst/controller/gstinterpolation.c:
19608 (interpolate_none_get_enum_value_array):
19609 support controlling enums
19611 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19614 Improve documentation for gst_value_union().
19617 Change return value for union, intersect and subtract functions
19618 from gint to gboolean.
19620 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19622 * gst/gstvalue.c: (gst_value_serialize_any_list),
19623 (gst_value_transform_any_list_string),
19624 (gst_value_deserialize_list), (gst_value_deserialize_array),
19625 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19626 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19627 (gst_value_set_fraction_range_full),
19628 (gst_value_deserialize_fraction_range),
19629 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19630 (gst_value_deserialize_boolean),
19631 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19632 (gst_value_serialize_float), (gst_value_deserialize_float),
19633 (gst_string_wrap), (gst_value_deserialize_string),
19634 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19635 (gst_value_union_int_range_int_range),
19636 (gst_value_intersect_int_range_int_range),
19637 (gst_value_intersect_double_range_double_range),
19638 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19639 (gst_value_subtract_int_range_int_range),
19640 (gst_value_subtract_double_double_range),
19641 (gst_value_subtract_double_range_double_range),
19642 (gst_value_deserialize_fraction):
19644 Use gint, gdouble and gchar in our API instead of int, double and
19645 char (and make usage in gstvalue.c more consistent).
19647 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19649 * check/Makefile.am:
19650 * libs/gst/controller/Makefile.am:
19651 * libs/gst/dataprotocol/Makefile.am:
19652 fix up Makefile.am and remove GST_ENABLE_NEW
19654 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19658 * gst/base/Makefile.am:
19659 * gst/check/Makefile.am:
19660 * gst/elements/Makefile.am:
19661 * gst/net/Makefile.am:
19662 update LDFLAGS use some more
19664 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19666 * common/m4/gst-doc.m4:
19669 2005-11-26 Edward Hervey <edward@fluendo.com>
19671 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19672 This shouldn't issue a g_warning since it returns NULL if it
19673 couldn't find the plugin, and all functions using this behave
19674 properly on a NULL return. Switching to a GST_WARNING.
19676 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19678 * gst/gstbin.c: (gst_bin_handle_message_func):
19679 Don't leak clock messages.
19681 2005-11-25 Wim Taymans <wim@fluendo.com>
19683 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19684 (gst_util_uint64_scale_int):
19685 Optimisations, remove unneeded vars.
19687 2005-11-25 Wim Taymans <wim@fluendo.com>
19689 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19690 Added more checks for the high precision uint64 cases.
19692 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19693 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19694 Implement high precision (guint64 * guint64) / guint64.
19696 2005-11-24 Wim Taymans <wim@fluendo.com>
19698 * gst/base/gstbasesrc.c: (gst_base_src_query):
19699 Fix wrong percentage query.
19701 * gst/gstutils.c: (gst_util_uint64_scale),
19702 (gst_util_uint64_scale_int):
19703 Add some more common cases that can be handled
19704 efficiently to _scale.
19706 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19708 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19709 (gst_mini_object_suite):
19710 don't use check calls from threads; check probably isn't
19711 threadsafe and using a lock to make it threadsafe would
19712 defeat the purpose of this check
19713 * gst/check/gstcheck.c:
19714 * gst/check/gstcheck.h:
19715 use GST_DEBUG some more
19717 2005-11-24 Wim Taymans <wim@fluendo.com>
19719 * gst/gstutils.c: (gst_util_uint64_scale),
19720 (gst_util_uint64_scale_int):
19721 Chain trivial case to _scale_int.
19723 2005-11-24 Wim Taymans <wim@fluendo.com>
19725 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19726 Added test for scaling.
19731 * gst/gstutils.c: (gst_util_uint64_scale_int):
19732 Implemented high precision scaling code.
19734 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19737 do not crash on pad==NULL
19739 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19741 Patch by: Stefan Kost
19743 * common/gtk-doc.mak:
19744 * docs/gst/Makefile.am:
19745 * docs/libs/Makefile.am:
19746 Fix distcheck issues for the libraries docs build
19749 2005-11-24 Michael Smith <msmith@fluendo.com>
19751 * docs/manual/basics-helloworld.xml:
19752 Fix bug #315027: memory leak in example code in docs.
19754 2005-11-24 Michael Smith <msmith@fluendo.com>
19756 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19757 Unlock the PREROLL_LOCK in a failure case.
19759 2005-11-24 Wim Taymans <wim@fluendo.com>
19761 * docs/gst/gstreamer-sections.txt:
19762 * gst/base/gstadapter.h:
19763 * gst/base/gstbasesink.h:
19764 * gst/base/gstbasesrc.h:
19765 * gst/base/gstbasetransform.h:
19766 * gst/base/gstpushsrc.h:
19767 * gst/elements/gstfakesink.h:
19768 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19769 * gst/elements/gstfakesrc.h:
19770 * gst/elements/gstfilesink.h:
19771 * gst/elements/gstfilesrc.h:
19774 * gst/gstbuffer.c: (_gst_buffer_copy):
19777 * gst/gstchildproxy.c:
19779 * gst/gstelement.c:
19780 * gst/gstelementfactory.c:
19781 * gst/gstelementfactory.h:
19783 * gst/gstghostpad.h:
19785 * gst/gstinterface.h:
19786 * gst/gstminiobject.c:
19787 * gst/gstminiobject.h:
19790 * gst/gstpadtemplate.h:
19791 * gst/gstpipeline.h:
19792 * gst/gstpluginfeature.h:
19795 * gst/gsttaglist.c:
19796 * gst/gsttaglist.h:
19797 * gst/gsttagsetter.c:
19798 * gst/gsttagsetter.h:
19801 * gst/gsttypefind.h:
19804 * gst/net/gstnetclientclock.c:
19805 * gst/net/gstnetclientclock.h:
19806 * gst/net/gstnettimepacket.c:
19807 * gst/net/gstnettimeprovider.c:
19808 * gst/net/gstnettimeprovider.h:
19811 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19813 * configure.ac: back to HEAD
19815 === release 0.9.6 ===
19817 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19820 releasing 0.9.6, "Always On Time"
19822 2005-11-23 Wim Taymans <wim@fluendo.com>
19824 * docs/gst/gstreamer-sections.txt:
19825 * gst/glib-compat.c:
19826 * gst/gsttagsetter.c:
19828 * gst/net/gstnetclientclock.c:
19829 * gst/net/gstnettimepacket.h:
19832 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19834 * docs/faq/using.xml:
19835 * docs/libs/tmpl/gstcontrol.sgml:
19836 * docs/manual/advanced-dparams.xml:
19837 * docs/manual/appendix-checklist.xml:
19838 * docs/manual/basics-elements.xml:
19839 * docs/pwg/other-source.xml:
19840 * docs/random/moving-plugins:
19842 * tools/gst-launch.1.in:
19843 remove mentions of sinesrc
19845 2005-11-23 Michael Smith <msmith@fluendo.com>
19847 * docs/gst/gstreamer-sections.txt:
19848 Update for new API and API changes.
19850 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19852 Documentation typo fix.
19853 * gst/net/gstnettimepacket.c:
19854 Documentation fixes for arguments.
19856 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
19858 * gst/gststructure.c: (gst_structure_get_fraction),
19859 (gst_structure_parse_value),
19860 (gst_structure_fixate_field_nearest_fraction):
19861 * gst/gststructure.h:
19862 * gst/gstutils.c: (gst_util_uint64_scale_int):
19864 * scripts/update-funcnames:
19866 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19867 Make gst_structure_fixate_field_nearest_fraction take a numerator
19868 and denominator argument instead of a GValue
19869 add gst_structure_get_fraction helper function.
19871 2005-11-23 Wim Taymans <wim@fluendo.com>
19873 * docs/design/part-TODO.txt:
19876 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
19877 * gst/net/gstnetclientclock.h:
19878 Use parent fields for timeout and window_size.
19880 2005-11-23 Andy Wingo <wingo@pobox.com>
19882 * check/net/gstnetclientclock.c (test_functioning): Adjust to
19883 rate_num/rate_denom change.
19885 * gst/net/gstnetclientclock.c
19886 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
19887 OBJECT_LOCK. Don't call add_observation with the lock.
19889 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19891 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19893 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19894 deal with rate as a fraction whose numerator and denominator are
19895 GstClockTime values.
19896 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19897 master; the other fields are protected by the SLAVE_LOCK.
19898 (do_linear_regression): Note that this must be called with the
19900 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19901 OBJECT_LOCK. Call set_calibration instead of touching the
19902 variables directly.
19903 (gst_clock_set_property, gst_clock_get_property): Protect
19904 master/slave parameters with the SLAVE_LOCK.
19906 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
19907 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
19908 note that all of the instance variables that add_observation and
19909 the set_master functions use are protected by that lock and not
19911 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
19913 * gst/gstclock.c (gst_clock_add_observation): No longer requires
19914 the caller to take the object lock.
19916 2005-11-23 Wim Taymans <wim@fluendo.com>
19918 * gst/gsterror.c: (_gst_core_errors_init):
19920 Add error for clock stuff.
19922 * gst/gstpipeline.c: (gst_pipeline_change_state),
19923 (gst_pipeline_set_clock):
19924 Post clock error when clock cannot be used in a pipeline.
19926 2005-11-23 Stefan Kost <ensonic@users.sf.net>
19928 * docs/gst/gstreamer-sections.txt:
19929 make two symbols from gstinfo private for the docs
19930 * gst/base/gstcollectpads.h:
19932 fix doc typos, update docs
19934 2005-11-22 Wim Taymans <wim@fluendo.com>
19936 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19937 (gst_base_sink_wait), (gst_base_sink_do_sync),
19938 (gst_base_sink_handle_event):
19939 * gst/base/gstbasesink.h:
19940 No need to store the clock, the parent element class already
19943 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
19944 Updates for clock_set returning a gboolean
19946 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
19947 (gst_clock_id_wait_async), (gst_clock_class_init),
19948 (gst_clock_init), (gst_clock_finalize),
19949 (gst_clock_get_internal_time), (gst_clock_get_time),
19950 (gst_clock_slave_callback), (gst_clock_set_master),
19951 (gst_clock_get_master), (do_linear_regression),
19952 (gst_clock_add_observation), (gst_clock_set_property),
19953 (gst_clock_get_property):
19955 Implement master/slave. When setting a clock as a slave, a
19956 periodic timeout is scheduled to sample master and slave times.
19957 Then the slave clock is recalibrated to match offset and rate
19958 of the master clock.
19959 Update logging a bit.
19960 Add flag so that a clock can state that is cannot be slaved to
19963 * gst/gstelement.c: (gst_element_set_clock):
19964 * gst/gstelement.h:
19965 The set clock returns a gboolean for when an element cannot
19966 deal with the selected clock in the pipeline.
19968 * gst/gstpipeline.c: (gst_pipeline_change_state),
19969 (gst_pipeline_set_clock):
19970 * gst/gstpipeline.h:
19971 Handle the case where the selected clock cannot be set on
19974 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
19975 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
19976 (gst_net_client_clock_set_property),
19977 (gst_net_client_clock_get_property),
19978 (gst_net_client_clock_observe_times):
19979 * gst/net/gstnetclientclock.h:
19980 Use regression code in GstClock parent, remove duplicated
19983 2005-11-22 Michael Smith <msmith@fluendo.com>
19985 * gst/gstutils.c: (gst_util_clock_time_scale):
19987 * docs/gst/gstreamer-sections.txt:
19988 Rename method to have extra underscore.
19990 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
19992 * gst/elements/Makefile.am:
19993 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
19994 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19995 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19996 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
19997 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
19998 * gst/elements/gstfakesrc.h:
19999 * gst/gstqueue.c: (queue_leaky_get_type):
20000 correctly fix GEnumValues so that nick is the short lowercase
20002 * tools/gst-inspect.c: (print_element_properties_info):
20003 also show the nick, since it's useful to use from parse_launch
20007 2005-11-22 Michael Smith <msmith@fluendo.com>
20009 * gst/gstutils.c: (gst_util_clocktime_scale):
20011 * docs/gst/gstreamer-sections.txt:
20012 Add util method for scaling a clocktime by a fraction. Useful
20013 implementation is left as an exercise for the reader.
20015 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20017 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20018 If needed, allocate storage in the destination value during
20021 2005-11-22 Edward Hervey <edward@fluendo.com>
20023 * docs/gst/gstreamer-sections.txt:
20026 * gst/gsturitype.c:
20027 * gst/gsturitype.h:
20028 * gst/gstutils.c: (gst_util_set_object_arg):
20029 * tools/gst-compprep.c: (main):
20030 * tools/gst-inspect.c: (print_element_properties_info):
20031 Removed GstURI, closes bug #321061
20033 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20035 * check/gst/gststructure.c: (GST_START_TEST):
20036 * gst/gststructure.c: (gst_structure_parse_value):
20037 Oops, broke automatic string type parsing.
20038 Add a test to catch it in future.
20040 2005-11-22 Andy Wingo <wingo@pobox.com>
20042 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20043 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20044 Actually rename the function implementations. Grr.
20046 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20048 * check/gst/capslist.h:
20050 * check/gst/gststructure.c: (GST_START_TEST),
20051 (gst_structure_suite):
20052 Test automatic value type detection in gst_structure_from_string.
20053 * gst/gststructure.c: (gst_structure_parse_value):
20054 Add fraction as a type we try and guess automatically in
20055 caps/structure strings.
20057 2005-11-22 Andy Wingo <wingo@pobox.com>
20059 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20061 * gst/gsttagsetter.h:
20062 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20063 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20064 (gst_tag_setter_add_tag_valist)
20065 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20066 _add_values, _add_valist, and _add_valist_values. Since this is an
20067 interface the function suffixes should be more explicit so
20068 language binding don't end up with element.add_valist ->
20069 gst_tag_setter_add_valist, for example. Fixes #322069.
20071 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20073 * check/gst/gstcaps.c: (GST_START_TEST):
20074 Extend caps string tests to check that a caps to string
20075 conversion is reversible and produces the same caps.
20077 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20078 Output "fraction" as the generic type fraction range, so caps
20079 serialisation and deserialisation works.
20080 * check/gst/capslist.h:
20081 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20082 Support 'MIN' and 'MAX' for deserialising fractions.
20084 2005-11-22 Andy Wingo <wingo@pobox.com>
20086 * gst/gstevent.h (gst_event_new_new_segment)
20087 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20088 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20089 Renamed from *_newsegment, *_buffersize, *_notarget.
20091 * scripts/update-funcnames: New script, performs the changes
20094 2005-11-22 Wim Taymans <wim@fluendo.com>
20096 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20097 Make sure the GstFlowReturn is returned.
20099 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20100 (gst_bus_add_signal_watch):
20102 add gst_bus_add_signal_watch_full.
20104 * gst/gstplugin.c: (gst_plugin_load_file):
20105 Small style cleanup.
20107 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20109 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20110 Block the fakesrc srcpad when we send an event, to avoid
20111 contention on the stream_lock causing random test failures.
20113 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20115 * check/gst/gstvalue.c: (GST_START_TEST):
20116 * gst/gstvalue.c: (gst_value_fraction_subtract):
20119 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20122 include "gstchildproxy.h"
20123 * gst/gstchildproxy.h:
20124 * libs/gst/controller/gstcontroller.h:
20125 use G_GNUC_NULL_TERMINATED
20127 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20129 * check/gst/capslist.h:
20130 * check/gst/gstcaps.c: (GST_START_TEST):
20131 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20132 * gst/gststructure.c: (gst_structure_parse_range),
20133 (gst_structure_fixate_field_nearest_fraction):
20134 * gst/gststructure.h:
20135 * gst/gstvalue.c: (gst_value_init_fraction_range),
20136 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20137 (gst_value_collect_fraction_range),
20138 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20139 (gst_value_set_fraction_range_full),
20140 (gst_value_get_fraction_range_min),
20141 (gst_value_get_fraction_range_max),
20142 (gst_value_serialize_fraction_range),
20143 (gst_value_transform_fraction_range_string),
20144 (gst_value_compare_fraction_range),
20145 (gst_value_deserialize_fraction_range),
20146 (gst_value_intersect_fraction_fraction_range),
20147 (gst_value_intersect_fraction_range_fraction_range),
20148 (gst_value_subtract_fraction_fraction_range),
20149 (gst_value_subtract_fraction_range_fraction),
20150 (gst_value_subtract_fraction_range_fraction_range),
20151 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20152 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20153 (gst_value_transform_string_fraction), (_gst_value_initialize):
20155 Implement fraction ranges and extend GstFraction to support
20156 arithmetic subtraction, as well as deserialization from integer
20157 strings such as "100"
20158 Add a testsuite as for int and double range set operations
20160 2005-11-21 Andy Wingo <wingo@pobox.com>
20162 * gst/gsttaglist.h:
20164 * gst/gststructure.h: Add glib-compat.h.
20166 2005-11-21 Wim Taymans <wim@fluendo.com>
20168 * gst/gstbin.c: (gst_bin_change_state_func):
20171 2005-11-21 Wim Taymans <wim@fluendo.com>
20173 * gst/gstsegment.h:
20174 And add a nice define too.
20176 2005-11-21 Wim Taymans <wim@fluendo.com>
20178 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20179 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20180 (gst_segment_set_duration), (gst_segment_set_last_stop),
20181 (gst_segment_set_seek), (gst_segment_set_newsegment),
20182 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20183 (gst_segment_clip):
20184 * gst/gstsegment.h:
20185 Make binding friendly.
20187 2005-11-21 Andy Wingo <wingo@pobox.com>
20189 * gst/gsttagsetter.h:
20190 * gst/gsttaglist.h:
20191 * gst/gststructure.h:
20193 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20196 * gst/gsterror.c (_gst_core_errors_init):
20197 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20200 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20201 (noinst_HEADERS): noinst the -private.
20203 2005-11-21 Michael Smith <msmith@fluendo.com>
20206 * gst/gstregistry.h:
20207 Remove unimplemented declarations for which we can see no sensible
20210 2005-11-21 Andy Wingo <wingo@pobox.com>
20212 * gst/gst.h: Include glib-compat.h.
20214 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20216 * gst/glib-compat.c: Include the public and the private header.
20218 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20222 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20224 * check/gst/gstevent.c (create_custom_events): Check that
20225 FLUSH_STOP is serialized.
20227 * check/elements/identity.c (event_func):
20228 * check/elements/fakesrc.c (event_func): No stream lock, the core
20231 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20232 stream lock taking, yay.
20234 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20235 ensure that core takes the stream lock.
20237 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20240 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20241 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20242 it already. For the flush start we do take it though so we get the
20243 right preroll state change messages.
20245 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20246 the stream lock here, the core does it for us.
20248 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20249 GST_STREAM_GET_LOCK.
20250 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20251 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20252 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20253 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20254 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20255 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20257 * gst/gstpad.c: Update for stream lock name change.
20259 * gst/base/gstbasesink.c: Update for preroll lock name change.
20261 2005-11-21 Wim Taymans <wim@fluendo.com>
20263 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20264 (gst_clock_get_master):
20266 * gst/gstsystemclock.c: (gst_system_clock_init):
20267 Convert Clock flags to object flags.
20268 Added methods to manage master/slave clocks.
20270 2005-11-21 Wim Taymans <wim@fluendo.com>
20272 * check/gst/gstsegment.c: (GST_START_TEST):
20273 * docs/design/part-TODO.txt:
20274 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20275 (gst_base_sink_event), (gst_base_sink_do_sync),
20276 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20277 (gst_base_sink_query), (gst_base_sink_change_state):
20278 * gst/base/gstbasesink.h:
20279 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20280 (gst_base_src_default_newsegment),
20281 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20282 (gst_base_src_get_range), (gst_base_src_loop),
20283 (gst_base_src_change_state):
20284 * gst/base/gstbasesrc.h:
20285 * gst/base/gstbasetransform.c:
20286 (gst_base_transform_prepare_output_buf),
20287 (gst_base_transform_event), (gst_base_transform_change_state):
20288 * gst/base/gstbasetransform.h:
20289 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20290 (gst_collect_pads_event):
20291 * gst/base/gstcollectpads.h:
20292 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20293 (gst_fake_src_create):
20294 * gst/elements/gstfakesrc.h:
20295 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20296 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20297 (gst_segment_set_last_stop), (gst_segment_set_seek),
20298 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20299 (gst_segment_to_running_time), (gst_segment_clip):
20300 * gst/gstsegment.h:
20301 More segment updates, replace code in plugins with segment
20304 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20306 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20307 Don't ignore sscanf results
20309 2005-11-21 Andy Wingo <wingo@pobox.com>
20311 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20314 * *.c: Ran scripts/update-macros. Oh yes.
20316 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20317 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20320 * scripts/update-macros: New script. Run it on your files to
20321 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20324 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20326 * docs/gst/Makefile.am:
20327 * docs/gst/gstreamer-docs.sgml:
20328 * docs/gst/gstreamer-sections.txt:
20329 * docs/gst/gstreamer.types:
20331 more docs fixes, add new api to the docs
20333 2005-11-21 Andy Wingo <wingo@pobox.com>
20335 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20336 state_broadcast call.
20338 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20340 2005-11-21 Julien MOUTTE <julien@moutte.net>
20342 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20343 function calls for arrays.
20345 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20347 * docs/random/ensonic/media-device-daemon.txt:
20348 wild idea, can this be done?
20349 * docs/gst/gstreamer-sections.txt:
20354 * gst/gstpluginfeature.c:
20358 doc fixes and additions
20360 2005-11-21 Andy Wingo <wingo@pobox.com>
20362 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20363 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20364 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20365 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20366 private to the basesrc implementation.
20368 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20369 behalf of event function if necessary. It should no longer be
20370 necessary to take the stream lock in pad's event functions. Fixes
20373 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20374 * docs/gst/gstreamer-sections.txt:
20375 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20376 (gst_structure_fixate_field_nearest_double),
20377 (gst_structure_fixate_field_boolean):
20378 * gst/gststructure.h:
20379 * win32/common/libgstreamer.def:
20380 * win32/gstreamer.def:
20382 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20385 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20387 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20388 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20389 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20390 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20391 (gst_fdsrc_uri_handler_init):
20392 * gst/elements/gstfdsrc.h:
20393 Port fd:// URI handler from 0.8 to fdsrc
20395 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20397 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20398 (gst_value_serialize_fourcc):
20400 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20401 consistent with our other format defines (#320324).
20403 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20405 * gst/gstvalue.c: (gst_value_is_fixed):
20406 Revert previous commit. Value lists are by definition
20407 not fixed, as they are a list of possible values.
20409 2005-11-21 Andy Wingo <wingo@pobox.com>
20411 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20412 during the stable series if we need it. Fixes #319178.
20414 * gst/gstevent.c (gst_event_new_filler): Removed.
20416 * check/gst/gstevent.c: Update comment about filler events.
20418 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20420 * gst/gstvalue.c: (gst_value_is_fixed):
20421 Should handle both value arrays and value lists.
20423 2005-11-21 Andy Wingo <wingo@pobox.com>
20425 patch by: Alessandro Dessina <alessandro nnva org>
20427 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20428 functions to access arrays. Fixes #321962.
20430 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20432 * docs/gst/gstreamer.types:
20433 gst_collectpads_get_type => gst_collect_pads_get_type.
20435 * gst/base/gstbasetransform.c:
20436 Remove unused SIGNAL_HANDOFF enum.
20438 2005-11-21 Andy Wingo <wingo@pobox.com>
20440 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20441 the event type (upstream, downstream, serialized). Renamed
20442 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20443 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20444 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20446 * gst/gstevent.c: Update for new CUSTOM event names.
20448 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20451 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20454 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20456 * docs/gst/gstreamer-sections.txt:
20457 * win32/common/libgstbase.def:
20458 * win32/libgstbase.def:
20459 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20460 (gst_collect_pads_class_init), (gst_collect_pads_init),
20461 (gst_collect_pads_finalize), (gst_collect_pads_new),
20462 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20463 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20464 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20465 (gst_collect_pads_start), (gst_collect_pads_stop),
20466 (gst_collect_pads_peek), (gst_collect_pads_pop),
20467 (gst_collect_pads_available), (gst_collect_pads_read),
20468 (gst_collect_pads_flush), (gst_collect_pads_event),
20469 (gst_collect_pads_chain):
20470 * gst/base/gstcollectpads.h:
20471 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20472 unimplemented functions as unimplemented. Add padding to
20473 GstCollectData. (#320766, #320423)
20475 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20477 * gst/gstmessage.c:
20478 Improve docs for DURATION message (usage of duration parameter)
20481 2005-11-20 Wim Taymans <wim@fluendo.com>
20483 * check/Makefile.am:
20484 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20488 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20489 (gst_segment_set_seek), (gst_segment_set_newsegment),
20490 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20491 (gst_segment_clip):
20492 * gst/gstsegment.h:
20493 Added segment helper structure and methods. Not fully implemented
20495 Added segment check.
20497 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20499 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20500 Add a deserialisation test for fractions
20501 * examples/metadata/read-metadata.c: (message_loop),
20502 (make_pipeline), (main):
20503 Fix up metadata reading sample.
20504 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20506 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20507 Don't try and fixate empty caps
20508 * gst/gst_private.h:
20509 Wrap in G_BEGIN_DECLS/G_END_DECLS
20510 * gst/gstvalue.c: (gst_value_collect_fraction),
20511 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20512 (gst_value_transform_string_fraction),
20513 (gst_value_compare_fraction):
20514 Add some extra guards to ensure that we don't end up
20515 with an invalid denominator of 0 in a gstfraction and
20516 that fractions always get reduced.
20518 2005-11-20 Wim Taymans <wim@fluendo.com>
20520 * docs/gst/gstreamer-sections.txt:
20522 * gst/gstelement.c:
20531 2005-11-20 Wim Taymans <wim@fluendo.com>
20533 * docs/design/part-TODO.txt:
20535 Make a proper enum of the flag.
20537 2005-11-19 Wim Taymans <wim@fluendo.com>
20539 * docs/design/part-TODO.txt:
20540 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20541 (gst_format_to_quark), (gst_format_register):
20543 * gst/gstquery.c: (_gst_query_initialize),
20544 (gst_query_type_get_name), (gst_query_type_to_quark),
20545 (gst_query_type_register):
20547 Add type to quark and type to string conversions.
20549 2005-11-19 Andy Wingo <wingo@pobox.com>
20551 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20554 2005-11-19 Wim Taymans <wim@fluendo.com>
20556 * docs/design/part-TODO.txt:
20557 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20558 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20559 (gst_bin_handle_message_func):
20561 Make message handling overridable.
20563 2005-11-19 Andy Wingo <wingo@pobox.com>
20565 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20568 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20570 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20571 is a GstClockTime. Fixes #321710.
20573 * gst/gstclock.h (GstClock): Remove offset property. Add
20574 internal_calibration and external_calibration. Fix padding. Pad
20575 also by GstClockTime so we don't run into problems.
20577 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20578 (gst_clock_get_rate_offset): Remove.
20579 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20582 * gst/gstutils.c (g_static_rec_cond_wait)
20583 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20585 * gst/gstbin.c: Remove terrible continue_state prototype.
20587 * gst/gstelement.h (gst_element_continue_state): Make public.
20589 * gst/gstelement.h:
20590 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20591 by continue_state. Fixes #319389.
20593 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20594 Really fixes #168438. However I don't see anywhere where the
20595 filter function is called... stupid GStreamer...
20597 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20598 don't have a dispose function, so it won't get called when the
20599 object is unreffed, but oh well!
20601 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20602 allows a destroy function to be set so user_data can be freed.
20604 (gst_index_set_filter): Call gst_index_set_filter_full.
20606 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20608 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20609 string should produce an error, given the lack of a way to
20610 represent NULL strings. Fixes #165650.
20613 * gst/gstvalue.c (gst_value_array_append_value)
20614 (gst_value_array_prepend_value, gst_value_array_get_size)
20615 (gst_value_array_get_value): New API, copied from
20616 gst_value_list_*, only operates on arrays.
20617 (gst_value_list_append_value, gst_value_list_prepend_value)
20618 (gst_value_list_concat, gst_value_list_get_size)
20619 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20621 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20622 init_list, because it works on both.
20623 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20624 (gst_value_copy_list_or_array): Renamed from copy_list.
20625 (gst_value_free_list_or_array): Renamed from free_list.
20626 (gst_value_collect_list_or_array): Renamed from collect_list.
20627 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20628 (gst_value_list_or_array_peek_pointer): Renamed from
20630 (_gst_value_array_value_table, _gst_value_list_value_table):
20631 Update value table functions.
20632 (gst_value_compare_list_or_array): Renamed from compare_list.
20634 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20637 * gst/gsttaglist.c:
20638 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20639 GstTagList*. Fixes #143472.
20641 * gst/gststructure.h: Clarify what the foreach/map functions can
20642 or can't do to their arguments.
20644 2005-11-18 Wim Taymans <wim@fluendo.com>
20646 * gst/gstclock.c: (gst_clock_set_calibration),
20647 (gst_clock_get_calibration):
20649 Calibration can be set with internal time equal to current
20652 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20658 2005-11-18 Andy Wingo <wingo@pobox.com>
20661 * pkgconfig/gstreamer-net.pc.in:
20662 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20663 * pkgconfig/Makefile.am: Add net pkgconfig files.
20665 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20668 * gst/gstghostpad.c:
20674 2005-11-18 Andy Wingo <wingo@pobox.com>
20676 * gst/net/gstnetclientclock.c: Turn off debugging.
20678 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20679 times connverge somewhat. Can't make a real test.
20681 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20682 integer arithmetic. Return the minimum of the domain, which can be
20683 set as "internal" for gst_clock_set_calibration.
20684 (gst_net_client_clock_observe_times): Call _set_calibration.
20685 (gst_net_client_clock_new): Call _set_calibration instead of
20688 * check/net/gstnetclientclock.c (test_functioning): Use the right
20692 * gst/gstclock.c (gst_clock_get_calibration)
20693 (gst_clock_set_calibration): New functions, obsolete the ones I
20694 added yesterday. Doh. Precision issues mean we have to extrapolate
20695 from a point in the more recent past than 1970.
20696 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20698 (gst_clock_adjust_unlocked): Use the right calibration data.
20700 2005-11-18 Edward Hervey <edward@fluendo.com>
20702 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20703 Also reset the ->current_* values in READY->PAUSED
20705 2005-11-18 Andy Wingo <wingo@pobox.com>
20707 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20708 Whoops, check the right fd. Also add some debugging.
20709 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20710 (do_linear_regression): Add a crapload of debugging. Subtract off
20711 the minimum values from the input series to discard unneeded bits.
20712 Use only int arithmetic. There is still double arithmetic when
20713 calculating the intercept that needs fixing. Return boolean to
20714 indicate success; FALSE would mean the domain or range is too
20715 great. Still needs fixes.
20717 2005-11-18 Wim Taymans <wim@fluendo.com>
20719 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20720 For the current position in stream time, we need to subtract
20723 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20724 Release lock before calling the callback function of async
20727 2005-11-18 Andy Wingo <wingo@pobox.com>
20729 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20730 Port goes all the way to MAXUINT16.
20732 * gst/net/gstnettimeprovider.c: Make the port range the same as
20733 for the kernel: 0 assigns, otherwise ports are less than
20736 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20739 * check/net/gstnetclientclock.c (test_functioning): Add the start
20742 2005-11-18 Wim Taymans <wim@fluendo.com>
20744 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20745 (gst_bin_remove_func), (bin_bus_handler):
20747 Removing a clock provider from a bin, triggers a clock lost message
20748 so that a new clock will be selected.
20749 Adding a clock to a bin triggers a clock provider message.
20750 Make sure we reselect a clock when we received a clock lost message.
20751 Keep a reference to the element that provided the clock.
20753 2005-11-18 Andy Wingo <wingo@pobox.com>
20755 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20756 the clock initially so it produces values around the base time.
20757 (gst_net_client_clock_class_init): Typo fix.
20758 (gst_net_client_clock_thread): Add note on when the socket gets
20761 2005-11-17 Wim Taymans <wim@fluendo.com>
20763 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20764 Free remote and local time arrays.
20766 2005-11-17 Wim Taymans <wim@fluendo.com>
20768 * gst/net/gstnetclientclock.c: (do_linear_regression),
20769 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20770 Fix compilation, uninitialized vars and a forgotten continue.
20772 2005-11-17 Andy Wingo <wingo@pobox.com>
20774 * check/Makefile.am (check_PROGRAMS):
20775 * check/net/gstnetclientclock.c: Add a most minimal test for the
20776 net client clock. More to come later.
20778 * gst/net/gstnet.h:
20779 * gst/net/Makefile.am: Add netclientclock.
20781 * gst/net/gstnetclientclock.h:
20782 * gst/net/gstnetclientclock.c: New files, implement an untested
20783 GstClock that takes its time from a network time provider.
20784 Implements the algorithm in network-clock.scm.
20786 * tests/network-clock.scm (*window-size*): Rename from
20788 * tests/network-clock.scm (network-time):
20789 * tests/network-clock-utils.scm (q-push): Update callers.
20791 2005-11-17 Wim Taymans <wim@fluendo.com>
20793 * gst/gstbin.c: (gst_bin_provide_clock_func),
20794 (gst_bin_sort_iterator_new):
20795 And unref the child too..
20797 2005-11-17 Wim Taymans <wim@fluendo.com>
20799 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20800 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20801 Refactor the sort iterator so it can be used while holding the
20803 Make clock selection select a clock closest to the source.
20805 2005-11-17 Michael Smith <msmith@fluendo.com>
20807 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20808 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20810 Anonymous structs are a gcc (and some other compilers) extension, so
20811 don't use them. Since this is only for ABI-compatibility, and our
20812 API/ABI freeze is over in a few days, this whole thing will only
20813 last a few days, so don't bother trying to think up a meaningful
20814 name for the struct.
20816 2005-11-17 Andy Wingo <wingo@pobox.com>
20818 * gst/gstclock.h (GstClock): Add rate and offset properties,
20819 preserving ABI stability. Add rate/offset accessors. Will file bug
20820 for the freeze break.
20822 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20823 and offset, trying to keep precision and avoiding
20824 underflow/overflow.
20825 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20826 functions. Make gst_clock_set_time_adjust obsolete.
20827 (gst_clock_set_time_adjust): Note that this function is obsolete.
20828 Will file bug soon.
20830 * gst/base/gstbasetransform.h: Make the ABI-stability hack
20831 greppable by using GST_PADDING-1+1.
20833 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
20835 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20837 * gst/gstmessage.c: (gst_message_parse_clock_lost):
20838 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20840 * gst/gstpadtemplate.h:
20841 * gst/gstpluginfeature.h:
20842 Don't use c++ style comments in headers (#321638).
20844 2005-11-16 Andy Wingo <wingo@pobox.com>
20846 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20849 * check/net/gstnettimeprovider.c: Check to see that the time
20850 provider actually provides times. Works, yo!
20852 2005-11-16 Wim Taymans <wim@fluendo.com>
20854 * check/Makefile.am:
20857 * check/elements/fakesrc.c: (GST_START_TEST):
20858 Set element to NULL before disposing it.
20860 2005-11-16 Andy Wingo <wingo@pobox.com>
20862 * gst/net/Makefile.am:
20863 * gst/net/gstnet.h:
20864 * gst/net/gstnettimeprovider.c:
20865 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20866 provider, include it from gstnet.h, and add it to the build.
20868 * gst/net/gstnettimepacket.h:
20869 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20870 sending and receiving.
20872 2005-11-16 Wim Taymans <wim@fluendo.com>
20874 * check/Makefile.am:
20875 Enable valgrind check.
20877 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
20878 (gst_fake_src_alloc_buffer):
20881 2005-11-16 Wim Taymans <wim@fluendo.com>
20883 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
20884 Call parent finalize too.
20886 2005-11-16 Wim Taymans <wim@fluendo.com>
20888 * check/Makefile.am:
20889 Enable valgrind check that should work fine now.
20891 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20892 * gst/gstqueue.c: (gst_queue_init):
20893 Fix memleaks in pad allocation.
20895 2005-11-16 Andy Wingo <wingo@pobox.com>
20897 * gst/net/Makefile.am:
20898 * gst/net/gstnet.h: New part of core to hold network elements and
20899 objects. Put in core because it exposes API that applications want
20900 to use. The library is named libgstnet-tempname right now because
20901 of the existing libgstnet in gst-plugins-base. Solution is
20902 probably to rename the one in plugins-base; will file a bug for
20905 * gst/net/gstnettimeprovider.c:
20906 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
20907 get_time call over the network.
20910 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
20912 * check/Makefile.am:
20913 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20914 get additions shortly.
20916 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20918 * gst/gstpad.c: (gst_pad_new_from_static_template):
20920 add gst_pad_new_from_static_template functions
20921 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
20922 (gst_check_setup_sink_pad):
20923 * gst/elements/gsttee.c: (gst_tee_init):
20926 2005-11-16 Wim Taymans <wim@fluendo.com>
20928 * gst/gstpad.c: (gst_pad_pause_task):
20929 Removed warning, it's not really an error either.
20931 2005-11-16 Wim Taymans <wim@fluendo.com>
20933 * gst/base/gstbasetransform.c:
20934 (gst_base_transform_prepare_output_buf),
20935 (gst_base_transform_event):
20936 Check if the caps are NULL, this can happen if the element
20937 is shutting down and the pad caps are set to NULL.
20939 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20941 * gst/elements/gsttee.c: (gst_tee_init):
20942 fix pad template leak in tee
20944 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20946 * gst/glib-compat.c: (g_value_dup_gst_object):
20947 * gst/glib-compat.h:
20948 * gst/gstpad.c: (gst_pad_set_property):
20949 use gst_object_ref when setting the pad template; this will
20950 trigger the pad template leaks on GLib 2.6 and the slaves
20952 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20954 * gst/glib-compat.c: (gst_flags_get_first_value):
20955 * gst/glib-compat.h:
20956 * gst/gstregistryxml.c:
20957 remove functions copied from GLib 2.6
20959 2005-11-16 Michael Smith <msmith@fluendo.com>
20962 Don't link against VALGRIND_LIBS. That was always the wrong thing to
20963 do, but only breaks with newer valgrind versions. We're not a
20964 valgrind tool, we have no link-time dependencies on libcoregrind.
20966 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20968 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20970 * gst/gstmessage.h:
20973 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20975 * gst/base/gstbasesrc.c: (gst_base_src_init):
20976 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20977 * gst/gstqueue.c: (gst_queue_init):
20978 * gst/gstregistryxml.c: (load_feature):
20979 Revert all these unrefs, they don't even pass make check !
20981 2005-11-15 Johan Dahlin <johan@gnome.org>
20983 * gst/base/gstbasesrc.c: (gst_base_src_init):
20984 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20985 * gst/gstqueue.c: (gst_queue_init):
20986 Free pad templates, fixes a couple of leaks.
20988 2005-11-15 Daniel Fischer <dan at f3c dot com>
20990 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20992 * gst/gstpad.c: (gst_pad_get_property):
20993 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
20994 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
20997 2005-11-15 Wim Taymans <wim@fluendo.com>
21002 2005-11-15 Andy Wingo <wingo@pobox.com>
21004 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21006 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21007 using GST_CLOCK_TIME_NONE to disable base time management.
21008 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21009 time if it was NONE before.
21010 (gst_pipeline_change_state): Only munge the base time if
21011 stream_time != GST_CLOCK_TIME_NONE.
21013 * check/gst/gstpipeline.c (test_base_time): Punt around the
21014 problem of the probe not being called, because that's not the
21015 issue I'm looking at. Add a check that setting stream_time to NONE
21016 disables base time management.
21018 2005-11-15 Wim Taymans <wim@fluendo.com>
21020 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21021 segment_stop == -1 at startup.
21023 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21024 (gst_base_transform_change_state):
21025 Init segment values at start.
21027 2005-11-15 Wim Taymans <wim@fluendo.com>
21029 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21030 0 segment values are 0 in any format.
21032 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21033 * gst/base/gstbasetransform.h:
21034 Parse newsegment correctly in basetransform
21036 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21037 Sync to clock using updated segment values.
21039 2005-11-15 Andy Wingo <wingo@pobox.com>
21041 * check/gst/gstpipeline.c (test_base_time): Add check that the
21042 base time and stream time are reset correctly.
21044 2005-11-15 Wim Taymans <wim@fluendo.com>
21046 * docs/design/part-TODO.txt:
21047 Some more TODO items.
21049 2005-11-15 Andy Wingo <wingo@pobox.com>
21051 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21052 error if the user selected "no clock" as the clocking method.
21054 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21055 timestamps with live capture.
21057 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21058 is 0 but we are a live source, timestamp the buffers using the
21061 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21063 * docs/gst/gstreamer-sections.txt:
21065 * gst/gstghostpad.c:
21070 2005-11-14 Wim Taymans <wim@fluendo.com>
21073 add suppressions from Wim's Debian machine
21075 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21078 add suppressions from Andy's AMD64 Ubuntu machine
21080 2005-11-14 Andy Wingo <wingo@pobox.com>
21082 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21083 STATE_LOCK not necessary. Fixes #311489.
21085 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21088 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21089 this function is not implemented.
21091 2005-11-14 Julien MOUTTE <julien@moutte.net>
21093 * gst/base/gstbasetransform.c:
21094 (gst_base_transform_prepare_output_buf):
21095 Ref the source pad caps while we need them.
21098 2005-11-11 Wim Taymans <wim@fluendo.com>
21100 * docs/gst/gstreamer-sections.txt:
21101 Added some docs for GstCollectData.
21103 * gst/base/gstadapter.c:
21104 Some small code example fix.
21106 * gst/base/gstcollectpads.c:
21107 * gst/base/gstcollectpads.h:
21108 Document some more.
21110 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21112 * configure.ac: back to HEAD
21114 === release 0.9.5 ===
21116 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21119 releasing 0.9.5, "Bike Lunch Day"
21121 2005-11-11 Wim Taymans <wim@fluendo.com>
21123 * gst/gstbuffer.c: (_gst_buffer_copy):
21126 * gst/gstcaps.c: (gst_caps_is_equal):
21128 Make _is_equal fast in the trivial cases.
21130 * gst/gstminiobject.c:
21131 * gst/gstminiobject.h:
21132 More docs. Spifify .h file.
21137 2005-11-11 Wim Taymans <wim@fluendo.com>
21139 * gst/base/gstbasetransform.c:
21140 (gst_base_transform_prepare_output_buf),
21141 (gst_base_transform_handle_buffer):
21143 If we're processing a buffer and need to allocate an output
21144 buffer, we cannot accept a format change. If we did get a
21145 format change, we have to alloc a buffer ourselves of the
21148 2005-11-11 Wim Taymans <wim@fluendo.com>
21150 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21151 While checking the flag for reentrancy in the gstcaps function
21152 is nice to detect recursive invocations, it also makes it
21153 impossible to call getcaps from multiple threads, which must be
21154 possible. So, checking for recursive calls has to go.
21156 2005-11-11 Michael Smith <msmith@fluendo.com>
21158 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21159 Don't sync on buffers that fall partially outside our current
21160 segment. Prevents an assertion failure/abort playing some files.
21162 2005-11-10 Andy Wingo <wingo@pobox.com>
21164 * check/gst/gstbin.c (test_message_state_changed_children): Style
21167 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21168 gst_bus_poll with the signal watch. Ensures that poll and a signal
21169 watch see the same messages.
21171 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21172 a poll and a watch at the same time get the same messages.
21174 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21176 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21177 * gst/gstcaps.c: (gst_caps_intersect):
21178 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21179 and it's not needed.
21181 2005-11-10 Wim Taymans <wim@fluendo.com>
21183 * docs/design/part-TODO.txt:
21186 2005-11-10 Wim Taymans <wim@fluendo.com>
21188 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21189 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21190 (gst_base_src_do_sync), (gst_base_src_get_range):
21191 Implement clock sync in base class.
21193 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21195 patch by: Tim-Philipp Müller <tim at centricular dot net>
21197 * gst/gststructure.c: (gst_structure_parse_field),
21198 (gst_structure_from_string):
21199 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21200 so that gst_parse_launch() can deal with spaces in filtered link
21201 caps (fixes #164479)
21202 * check/gst/capslist.h:
21203 * check/gst/gststructure.c: (GST_START_TEST):
21204 add unit tests for this change
21206 2005-11-10 Wim Taymans <wim@fluendo.com>
21208 * docs/gst/gstreamer-sections.txt:
21209 * gst/gstelement.c:
21210 * gst/gstelement.h:
21211 Fix docs, move some STATE macros to private.
21213 2005-11-10 Wim Taymans <wim@fluendo.com>
21215 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21216 Added check for bug #317341
21220 Some more spiffifying.
21222 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21223 Call peer linkfunction if we are a source pad. Totally fixes
21227 Update docs, source pads should call the peer linkfunction
21228 so they can atomically perform the pad link.
21230 2005-11-09 Wim Taymans <wim@fluendo.com>
21234 Uber-spiffy-spiffify some more.
21236 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21238 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21239 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21240 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21241 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21242 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21243 * gst/gstpad.c: (gst_pad_init):
21244 Use GST_DEBUG_FUNCPTR() more extensively.
21246 2005-11-09 Wim Taymans <wim@fluendo.com>
21248 * gst/gstobject.c: (gst_object_class_init):
21250 Documentation fixes.
21252 2005-11-09 Edward Hervey <edward@fluendo.com>
21254 * gst/gsttypefindfactory.c:
21257 2005-11-09 Edward Hervey <edward@fluendo.com>
21259 * gst/base/gsttypefindhelper.c:
21260 * gst/gsttypefind.c:
21261 * gst/gsttypefind.h:
21264 2005-11-09 Wim Taymans <wim@fluendo.com>
21266 * gst/gstiterator.c:
21273 2005-11-09 Wim Taymans <wim@fluendo.com>
21279 2005-11-09 Wim Taymans <wim@fluendo.com>
21281 * docs/gst/gstreamer-sections.txt:
21282 Moved the message async delivery private lock and cond
21283 to the private section.
21285 * gst/gstmessage.c:
21286 * gst/gstmessage.h:
21289 2005-11-09 Edward Hervey <edward@fluendo.com>
21291 * docs/gst/gstreamer-sections.txt:
21294 Document GstURIHandler
21296 2005-11-09 Wim Taymans <wim@fluendo.com>
21298 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21299 (gst_iterator_find_custom):
21300 * gst/gstiterator.h:
21303 2005-11-09 Wim Taymans <wim@fluendo.com>
21306 Document another field.
21308 * gst/gststructure.c:
21309 * gst/gststructure.h:
21312 2005-11-09 Wim Taymans <wim@fluendo.com>
21315 Documented structs.
21317 2005-11-09 Wim Taymans <wim@fluendo.com>
21319 * docs/gst/gstreamer-sections.txt:
21320 Added some new macros.
21327 2005-11-09 Wim Taymans <wim@fluendo.com>
21329 * docs/design/part-TODO.txt:
21330 Some more items for the TODO
21336 2005-11-09 Andy Wingo <wingo@pobox.com>
21338 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21339 to work on something else now tho...
21341 * gst/base/gstadapter.c: More adapter docs.
21343 * gst/elements/gstfilesink.c (gst_file_sink_start)
21344 (gst_file_sink_stop): New functions, replace the state change
21346 (gst_file_sink_class_init): Hook up the start and stop functions.
21347 (gst_file_sink_base_init): Don't set the state change handler any
21348 more. It was a bit ugly too, being set from here...
21349 (gst_file_sink_get_property, gst_file_sink_set_property):
21351 (gst_file_sink_set_location): More robust check that doesn't call
21352 GST_STATE. Ugggggg.
21354 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21356 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21357 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21359 2005-11-08 Wim Taymans <wim@fluendo.com>
21361 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21362 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21363 (gst_base_sink_chain), (gst_base_sink_change_state):
21364 * gst/base/gstbasesink.h:
21365 * gst/base/gstbasesrc.h:
21366 * gst/gstelement.h:
21368 Avoid excessive typechecking in macros.
21370 * gst/gstminiobject.c: (gst_mini_object_get_type),
21371 (gst_mini_object_init), (gst_mini_object_new),
21372 (gst_mini_object_free):
21373 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21374 (gst_object_finalize):
21375 Remove cruft code, optimize alloc_trace.
21377 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21379 * docs/faq/gst-uninstalled:
21380 fix up PS1 for systems that try to reset it
21382 2005-11-07 Wim Taymans <wim@fluendo.com>
21384 * gst/base/gstbasesrc.c: (gst_base_src_init),
21385 (gst_base_src_get_range):
21386 Set the segment_end to -1 initially. Fixed typefind.
21388 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21390 * gst/base/gstadapter.c:
21391 Debug category should be 'adapter', not 'GstAdapter'.
21393 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21394 (gst_collectpads_class_init), (gst_collectpads_init),
21395 (gst_collectpads_peek), (gst_collectpads_pop),
21396 (gst_collectpads_event), (gst_collectpads_chain):
21397 Add debug category and some debugging output. Use boilerplate
21398 macros. Remove some extraneous words from docs.
21400 2005-11-05 Andy Wingo <wingo@pobox.com>
21402 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21405 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21407 * docs/gst/gstreamer-sections.txt:
21410 * gst/gstminiobject.h:
21415 2005-11-04 Wim Taymans <wim@fluendo.com>
21417 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21418 Small update to stop at the configured segment_end
21421 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21423 * gst/gstregistry.c:
21424 * gst/gstregistry.h:
21427 2005-11-04 Edward Hervey <edward@fluendo.com>
21429 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21430 Check if we are doing a segment seek and have arrived at the
21431 end of that segment.
21433 2005-11-04 Wim Taymans <wim@fluendo.com>
21435 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21436 Don't leak a mutex unlock in case of an error.
21441 2005-11-04 Wim Taymans <wim@fluendo.com>
21443 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21445 Get the context to wake up only once.
21447 2005-11-03 Wim Taymans <wim@fluendo.com>
21449 * check/states/sinks.c: (GST_START_TEST):
21450 Uncomment fixed check.
21452 * docs/design/part-TODO.txt:
21455 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21456 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21457 (gst_base_sink_get_position):
21458 If we are going to PLAYING, post the right pending state
21459 when we post the intermediate paused message.
21461 * gst/gstelement.c: (gst_element_continue_state),
21462 (gst_element_set_state_func), (gst_element_change_state):
21463 Don't post state changes that were between the same state
21464 and were not ASYNC.
21466 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21468 * docs/gst/gstreamer-sections.txt:
21471 * gst/gstminiobject.h:
21474 more docs and doc style fixes
21476 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21478 * docs/gst/gstreamer-sections.txt:
21479 * gst/gstelement.c:
21480 * gst/gstminiobject.c:
21483 2005-11-03 Andy Wingo <wingo@pobox.com>
21485 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21486 state-changed messages actually have the right order and the right
21489 2005-11-03 Wim Taymans <wim@fluendo.com>
21491 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21492 Added some more checks. Specifically the case where NO_PREROLL
21493 elements are in the pipeline.
21495 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21496 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21497 (gst_base_sink_get_position):
21498 Post READY->PAUSED state change messages too.
21499 Fix bug where VOID was posted as pending state...
21501 * gst/gstbin.c: (gst_bin_recalc_state):
21502 use _element_continue_state() to continue the state change.
21504 * gst/gstelement.c: (gst_element_continue_state),
21505 (gst_element_commit_state), (gst_element_set_state_func),
21506 (gst_element_change_state), (gst_element_change_state_func):
21507 Lots of state change cleanups, assign the STATE_RETURN in
21508 a new continue_state() function that also propagates the
21509 last return value from a state change to the app.
21510 Update some debug statements with proper category.
21512 2005-11-03 Wim Taymans <wim@fluendo.com>
21514 * docs/design/part-events.txt:
21515 * docs/design/part-gstpipeline.txt:
21516 * docs/design/part-messages.txt:
21517 * docs/design/part-overview.txt:
21518 * docs/design/part-seeking.txt:
21519 * docs/design/part-states.txt:
21520 * docs/design/part-trickmodes.txt:
21521 * docs/manual/advanced-position.xml:
21522 Small docs updates.
21525 People think !! is ugly, this looks better.
21527 * gst/gstpad.c: (gst_pad_set_blocked_async):
21528 Remove !! since it's fixed elsewhere now.
21530 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21532 * gst/gstminiobject.h:
21534 Add !! to _FLAG_IS_SET macros to make the result boolean.
21536 2005-11-03 Edward Hervey <edward@fluendo.com>
21538 * gst/gstpad.c: (gst_pad_set_blocked_async):
21539 comparing a flag and a gboolean rarely returns coherent results...
21540 Added two characters (!!) to make that work correctly.
21542 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21544 * gst/gstbus.c: (gst_bus_class_init):
21547 * gst/gstqueue.c: (gst_queue_loop):
21548 Don't assume a miniobject that isn't a buffer is an
21549 event (it could be that there is a refcounting
21550 problem somewhere and the pointer is stale and
21551 refers to an already destroyed miniobject).
21553 2005-11-03 Julien MOUTTE <julien@moutte.net>
21555 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21557 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21559 * docs/manual/advanced-position.xml:
21560 Update seek example and explanations to current 0.9 API.
21562 * gst/elements/gsttypefindelement.c:
21563 (gst_type_find_element_activate):
21564 Remove FIXME comment now that the found caps
21567 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21569 * gst/gstregistryxml.c: (load_feature):
21570 Add another GST_STR_NULL instance
21572 2005-11-02 Edward Hervey <edward@fluendo.com>
21574 * gst/gstpad.c: (handle_pad_block):
21575 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21577 2005-11-02 Wim Taymans <wim@fluendo.com>
21582 * gst/gstelement.c: (gst_element_commit_state):
21583 Remove unused value.
21585 * gst/gstiterator.c:
21586 Mention that the returned element is reffed in the docs.
21588 2005-11-02 Wim Taymans <wim@fluendo.com>
21590 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21591 (gst_pad_push), (gst_pad_push_event):
21592 Unlock blocked pads when they are flushed.
21594 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21597 * docs/gst/gstreamer-sections.txt:
21600 * gst/gstregistry.c: (gst_registry_scan_path_level):
21601 fix for a nasty little missed situation where an installed plug-in
21602 which was in the cache did not get overridden by an uninstalled one
21603 which was earlier in the plugin path because the newly created plugin
21604 for the uninstalled one (not in the registry) didn't get its
21605 ->registered set to TRUE
21607 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21609 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21610 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21611 (gst_collectpads_is_active), (gst_collectpads_collect),
21612 (gst_collectpads_collect_range), (gst_collectpads_start),
21613 (gst_collectpads_stop), (gst_collectpads_peek),
21614 (gst_collectpads_pop), (gst_collectpads_available),
21615 (gst_collectpads_read), (gst_collectpads_flush):
21616 Guard public API with assertions.
21619 Fix docs for gst_pad_set_link_function().
21621 2005-11-02 Johan Dahlin <johan@gnome.org>
21623 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21624 Unref found_caps after we used it.
21626 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21628 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21629 Don't try to ref NULL.
21631 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21633 * win32/common/config.h.in:
21634 provide a GST_FUNCTION that just gives a string for now
21636 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21638 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21639 (gst_object_flags_get_type), (register_gst_bin_flags),
21640 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21641 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21642 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21643 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21644 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21645 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21646 (gst_clock_flags_get_type), (register_gst_state),
21647 (gst_state_get_type), (register_gst_state_change_return),
21648 (gst_state_change_return_get_type), (register_gst_state_change),
21649 (gst_state_change_get_type), (register_gst_element_flags),
21650 (gst_element_flags_get_type), (register_gst_core_error),
21651 (gst_core_error_get_type), (register_gst_library_error),
21652 (gst_library_error_get_type), (register_gst_resource_error),
21653 (gst_resource_error_get_type), (register_gst_stream_error),
21654 (gst_stream_error_get_type), (register_gst_event_type),
21655 (gst_event_type_get_type), (register_gst_seek_type),
21656 (gst_seek_type_get_type), (register_gst_seek_flags),
21657 (gst_seek_flags_get_type), (register_gst_format),
21658 (gst_format_get_type), (register_gst_index_certainty),
21659 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21660 (gst_index_entry_type_get_type),
21661 (register_gst_index_lookup_method),
21662 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21663 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21664 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21665 (gst_index_flags_get_type), (register_gst_debug_level),
21666 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21667 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21668 (gst_iterator_result_get_type), (register_gst_iterator_item),
21669 (gst_iterator_item_get_type), (register_gst_message_type),
21670 (gst_message_type_get_type), (register_gst_mini_object_flags),
21671 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21672 (gst_pad_link_return_get_type), (register_gst_flow_return),
21673 (gst_flow_return_get_type), (register_gst_activate_mode),
21674 (gst_activate_mode_get_type), (register_gst_pad_direction),
21675 (gst_pad_direction_get_type), (register_gst_pad_flags),
21676 (gst_pad_flags_get_type), (register_gst_pad_presence),
21677 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21678 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21679 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21680 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21681 (gst_plugin_flags_get_type), (register_gst_rank),
21682 (gst_rank_get_type), (register_gst_query_type),
21683 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21684 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21685 (gst_tag_flag_get_type), (register_gst_task_state),
21686 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21687 (gst_alloc_trace_flags_get_type),
21688 (register_gst_type_find_probability),
21689 (gst_type_find_probability_get_type), (register_gst_uri_type),
21690 (gst_uri_type_get_type), (register_gst_parse_error),
21691 (gst_parse_error_get_type):
21692 * win32/common/gstversion.h:
21693 update win32 copies
21695 2005-11-01 Luca Ognibene <luogni@tin.it>
21698 fix docs. popt is dead, long live GOption.
21700 2005-10-31 Wim Taymans <wim@fluendo.com>
21705 2005-10-31 Andy Wingo <wingo@pobox.com>
21709 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21711 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21712 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21713 the possibility of deadlocks here if code calling notify() or
21714 set() has a lock that can be taken in another notify handler (ABBA
21715 with class lock and e.g. python GIL state lock).
21717 2005-10-28 Julien MOUTTE <julien@moutte.net>
21719 * gst/gstbus.c: Doc updates.
21721 2005-10-28 Wim Taymans <wim@fluendo.com>
21723 * docs/design/part-TODO.txt:
21724 * gst/gstiterator.c:
21725 * gst/gstsystemclock.c:
21726 * gst/gstsystemclock.h:
21729 2005-10-28 Edward Hervey <edward@fluendo.com>
21731 * docs/gst/gstreamer-docs.sgml:
21732 * docs/gst/gstreamer-sections.txt:
21733 the GstURIType documentation page is private, it only defines GstURIType
21734 which should be defined in the GstURIHandler page
21736 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21738 * gst/gstbin.c: (gst_bin_class_init):
21741 Documentation updates.
21743 2005-10-28 Wim Taymans <wim@fluendo.com>
21745 * docs/gst/gstreamer-sections.txt:
21748 Documented the clocks.
21750 2005-10-28 Stefan Kost <ensonic@users.sf.net>
21752 * docs/gst/gstreamer-sections.txt:
21753 move some macros to private sections
21754 * gst/gstminiobject.c:
21755 * gst/gstminiobject.h:
21756 add descriptions provided by ds and some more
21758 mark macro as to be removed
21760 2005-10-28 Wim Taymans <wim@fluendo.com>
21762 * docs/design/part-TODO.txt:
21763 Add an item to TODO.
21765 * gst/gstiterator.c: (gst_iterator_fold),
21766 (gst_iterator_find_custom):
21767 * gst/gstiterator.h:
21770 2005-10-28 Wim Taymans <wim@fluendo.com>
21772 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21773 (gst_base_transform_init):
21776 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21777 An EOS event marks the queue as completely filled.
21779 2005-10-27 Wim Taymans <wim@fluendo.com>
21781 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21782 (gst_base_sink_do_sync), (gst_base_sink_get_position):
21783 Some more debugging.
21785 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21786 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21787 (gst_base_transform_event), (gst_base_transform_getrange),
21788 (gst_base_transform_chain):
21789 * gst/base/gstbasetransform.h:
21791 Protect transform and concurrent buffer alloc with a new lock.
21792 Try not to break ABI/API.
21794 2005-10-27 Wim Taymans <wim@fluendo.com>
21796 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21797 (gst_base_src_init), (gst_base_src_query),
21798 (gst_base_src_default_newsegment),
21799 (gst_base_src_configure_segment), (gst_base_src_do_seek),
21800 (gst_base_src_send_event), (gst_base_src_event_handler),
21801 (gst_base_src_pad_get_range), (gst_base_src_loop),
21802 (gst_base_src_unlock), (gst_base_src_default_negotiate),
21803 (gst_base_src_start), (gst_base_src_deactivate),
21804 (gst_base_src_activate_push), (gst_base_src_change_state):
21805 Move some stuff around and cleanup things.
21807 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
21809 * gst/base/gstbasesrc.c: (gst_base_src_query):
21810 Add missing break statements.
21812 2005-10-27 Wim Taymans <wim@fluendo.com>
21814 * check/gst/gstbin.c: (GST_START_TEST):
21815 An extra refcount is taken in basesrc.
21817 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21818 (gst_base_src_get_range), (gst_base_src_pad_get_range),
21819 (gst_base_src_loop):
21820 Small cleanups, check for flushing after being unlocked from the
21821 LIVE_LOCK. take refcounts correctly (not yet everywhere).
21822 Don't send out EOS when going to READY.
21824 2005-10-27 Wim Taymans <wim@fluendo.com>
21826 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21827 (gst_base_sink_get_position):
21830 * gst/gstbin.c: (message_check), (bin_replace_message),
21831 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21832 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21833 (bin_query_duration_init), (bin_query_duration_fold),
21834 (bin_query_duration_done), (bin_query_generic_fold),
21836 * tools/gst-launch.c: (main):
21839 2005-10-26 Stefan Kost <ensonic@users.sf.net>
21841 * examples/controller/audio-example.c: (main):
21842 * examples/queue/queue.c: (event_loop):
21843 * gst/base/gstbasetransform.h:
21844 * gst/gstelement.c: (gst_element_send_event):
21846 * gst/gstpad.c: (gst_pad_send_event):
21849 changing log priority in error situations
21851 2005-10-25 Wim Taymans <wim@fluendo.com>
21853 * gst/gstbin.c: (message_check), (bin_replace_message),
21854 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21855 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21856 (bin_query_duration_init), (bin_query_duration_fold),
21857 (bin_query_duration_done), (bin_query_generic_fold),
21859 Some doc and debug updates.
21860 Cache previously requested query DURATION for speed. invalidate
21861 cached duration if element posts a DURATION message.
21863 2005-10-25 Wim Taymans <wim@fluendo.com>
21865 * docs/design/part-TODO.txt:
21868 * gst/gstbin.c: (message_check), (bin_replace_message),
21869 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21870 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21871 (bin_query_duration_init), (bin_query_duration_fold),
21872 (bin_query_duration_done), (bin_query_generic_fold),
21874 Handle SEGMENT_START/DONE messages correctly.
21875 More evolved query algorithm that handles duration queries
21878 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
21879 (gst_element_get_state_func), (gst_element_abort_state),
21880 (gst_element_commit_state), (gst_element_lost_state):
21881 Some more debugging.
21883 * gst/gstmessage.h:
21886 2005-10-25 Wim Taymans <wim@fluendo.com>
21888 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21889 Don't use invalid stream_time.
21891 * gst/gstevent.c: (gst_event_new_newsegment):
21892 stream_time in newsegment cannot be undefined.
21894 2005-10-24 Wim Taymans <wim@fluendo.com>
21899 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21901 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21903 2005-10-24 Stefan Kost <ensonic@users.sf.net>
21905 * docs/libs/tmpl/gstdparam.sgml:
21906 * docs/libs/tmpl/gstdplinint.sgml:
21907 * docs/libs/tmpl/gstdpman.sgml:
21908 * docs/libs/tmpl/gstdpsmooth.sgml:
21909 * docs/libs/tmpl/gstunitconvert.sgml:
21912 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
21917 === release 0.9.4 ===
21919 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21922 releasing 0.9.4, "Tyrannosaurus Rex"
21924 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
21926 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21927 (gst_file_sink_get_current_offset):
21928 Use fseeko() and ftello() if available. When falling back on
21929 lseek() to get the current offset, fflush() first to make sure
21930 everything is up-to-date and we get the right offset.
21932 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21934 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21935 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21936 * gst/gsterror.c: (_gst_stream_errors_init):
21938 * gst/gstqueue.c: (gst_queue_loop):
21940 remove prematurely added error category and clean up the instances
21942 2005-10-21 Wim Taymans <wim@fluendo.com>
21944 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21945 (gst_base_sink_get_position), (gst_base_sink_query),
21946 (gst_base_sink_change_state):
21947 Simply set the right flag when going to playing, that's all
21948 we need to do instead of calling a function inside the object
21949 lock (that could take the lock as well and deadlock)
21951 2005-10-21 Wim Taymans <wim@fluendo.com>
21953 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
21954 (gst_base_src_loop):
21955 Don't warn, the peer element knows what to do best when
21956 the seek failed, it might try something else.
21958 2005-10-21 Wim Taymans <wim@fluendo.com>
21960 * gst/base/gstbasesrc.c: (gst_base_src_init),
21961 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21964 2005-10-21 Wim Taymans <wim@fluendo.com>
21966 * docs/design/part-segments.txt:
21969 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
21970 Correctly set caps, even on the subbufer.
21972 2005-10-21 Wim Taymans <wim@fluendo.com>
21974 * docs/gst/gstreamer-docs.sgml:
21975 * docs/gst/gstreamer-sections.txt:
21976 * gst/gstelement.h:
21979 * gst/gstmessage.h:
21982 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
21986 And 2% more doc coverage.
21988 2005-10-21 Andy Wingo <wingo@pobox.com>
21990 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
21991 position reporting.
21993 2005-10-20 Wim Taymans <wim@fluendo.com>
21995 * gst/gsterror.c: (gst_error_get_message):
21998 * gst/gststructure.c:
22003 2005-10-20 Wim Taymans <wim@fluendo.com>
22008 Another 1% more coverage.
22010 2005-10-20 Wim Taymans <wim@fluendo.com>
22012 * docs/gst/gstreamer-sections.txt:
22013 * gst/gstelement.c: (gst_element_get_state_func),
22014 (gst_element_abort_state), (gst_element_commit_state),
22015 (gst_element_lost_state):
22017 * gst/gstquery.c: (gst_query_set_position),
22018 (gst_query_parse_position), (gst_query_set_duration),
22019 (gst_query_parse_duration), (gst_query_new_convert):
22021 Yay! 1% more docs coverage.
22023 2005-10-20 Wim Taymans <wim@fluendo.com>
22026 * gst/gstquery.c: (gst_query_set_position),
22027 (gst_query_parse_position), (gst_query_set_duration),
22028 (gst_query_parse_duration), (gst_query_new_convert):
22030 * gst/gstutils.c: (gst_element_query_convert):
22032 Docs and consistency fixes.
22034 2005-10-20 Wim Taymans <wim@fluendo.com>
22040 2005-10-20 Wim Taymans <wim@fluendo.com>
22042 * gst/gstbin.c: (message_check), (bin_replace_message),
22043 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22044 (update_degree), (gst_bin_sort_iterator_next),
22045 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22046 Reworked the message handling a bit, cache the messages instead of
22047 only the senders. alows us to do more in the future.
22049 2005-10-20 Wim Taymans <wim@fluendo.com>
22051 * docs/design/part-TODO.txt:
22054 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22055 (gst_base_sink_query):
22056 Don't use clock time to report position when in EOS.
22058 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22060 * tools/gst-inspect.c: (print_interfaces),
22061 (print_element_properties_info), (print_element_info):
22062 Fix interface output with gst-inspect -a; don't print
22063 newlines after double/float properties.
22065 2005-10-20 Wim Taymans <wim@fluendo.com>
22067 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22068 (gst_base_sink_query):
22069 Speed up current position calculation.
22071 * gst/base/gstbasesrc.c: (gst_base_src_query),
22072 (gst_base_src_default_newsegment):
22073 Correctly set stream position in newsegment.
22075 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22076 (update_degree), (gst_bin_sort_iterator_next),
22077 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22078 * gst/gstmessage.c: (gst_message_new_custom):
22079 Clean up debugging info
22081 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22082 (gst_queue_loop), (gst_queue_handle_src_query):
22085 2005-10-19 Wim Taymans <wim@fluendo.com>
22087 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22088 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22089 Fix query handling again.
22091 2005-10-19 Wim Taymans <wim@fluendo.com>
22093 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22094 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22095 * gst/base/gstbasesrc.c: (gst_base_src_query):
22096 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22097 * gst/elements/gsttypefindelement.c:
22098 (gst_type_find_handle_src_query), (find_element_get_length),
22099 (gst_type_find_element_activate):
22102 * gst/gstquery.c: (gst_query_new_position),
22103 (gst_query_set_position), (gst_query_parse_position),
22104 (gst_query_new_duration), (gst_query_set_duration),
22105 (gst_query_parse_duration), (gst_query_set_segment),
22106 (gst_query_parse_segment):
22108 Bundling query position/duration is not a good idea since duration
22109 does not change much and we don't want to recalculate it for every
22110 position query, so they are separated again..
22111 Base value in segment query is not needed.
22113 * gst/gstqueue.c: (gst_queue_handle_src_query):
22114 * gst/gstutils.c: (gst_element_query_position),
22115 (gst_element_query_duration), (gst_pad_query_position),
22116 (gst_pad_query_duration):
22118 Updates for query API change.
22119 Added some docs here and there.
22121 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22123 * check/gst/gstbin.c: (GST_START_TEST):
22124 * check/gst/gstghostpad.c: (GST_START_TEST):
22125 * check/pipelines/cleanup.c: (GST_START_TEST):
22126 wait on thread to die so we can check refcount correctly
22128 2005-10-18 Wim Taymans <wim@fluendo.com>
22130 * check/pipelines/stress.c: (GST_START_TEST):
22131 Make check a little more time consuming.
22133 2005-10-18 Wim Taymans <wim@fluendo.com>
22135 * check/Makefile.am:
22136 * check/pipelines/stress.c: (GST_START_TEST),
22137 (simple_launch_lines_suite), (main):
22138 Small state change torture test.
22140 * docs/design/part-states.txt:
22141 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22142 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22143 (gst_base_sink_change_state):
22144 Never take state lock from streaming thread, clean up ugly
22145 hacks. Unfortunatly core does not yet support nice ways to
22146 async commit state.
22148 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22150 Start state recalc if a STATE_DIRTY message is posted, but only
22151 on the toplevel bin.
22153 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22154 (gst_element_get_state_func), (gst_element_abort_state),
22155 (gst_element_commit_state), (gst_element_lost_state),
22156 (gst_element_set_state_func), (gst_element_change_state):
22157 * gst/gstelement.h:
22158 State variables are now protected with the LOCK, the state
22159 lock is only used to serialize _set_state().
22161 2005-10-18 Wim Taymans <wim@fluendo.com>
22163 * check/gst/gstbin.c: (GST_START_TEST):
22164 * check/gst/gstmessage.c: (GST_START_TEST):
22165 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22166 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22168 * gst/gstelement.c: (gst_element_abort_state),
22169 (gst_element_commit_state), (gst_element_lost_state):
22170 * gst/gstmessage.c: (gst_message_new_state_changed),
22171 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22172 (gst_message_new_segment_done), (gst_message_new_duration),
22173 (gst_message_parse_state_changed),
22174 (gst_message_parse_segment_start),
22175 (gst_message_parse_segment_done), (gst_message_parse_duration):
22176 * gst/gstmessage.h:
22177 * tools/gst-launch.c: (event_loop):
22178 Seriously, this is better than a previous commit as we only need
22179 to notify the fact that an element changed state in a streaming
22180 thread, marking the state of the parents dirty, hence the
22181 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22184 2005-10-18 Wim Taymans <wim@fluendo.com>
22186 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22187 (gst_bin_recalc_func):
22188 * gst/gstelement.c: (gst_element_set_clock),
22189 (gst_element_abort_state), (gst_element_lost_state):
22190 Cleanups, prepare for state change fixes.
22192 2005-10-18 Wim Taymans <wim@fluendo.com>
22195 * gst/gstelement.c: (gst_element_class_init),
22196 (gst_element_set_state), (gst_element_set_state_func):
22197 * gst/gstelement.h:
22198 Pending ABI changes.
22199 GThreadPool in GstBinClass to monitor async state changes.
22200 state_cookie in GstElement to detect concurrent gst/set state.
22201 set_state is now virtual too in case a very complicated element
22202 has to be constructed.
22204 2005-10-18 Wim Taymans <wim@fluendo.com>
22206 * check/gst/gstbin.c: (GST_START_TEST):
22207 * check/gst/gstmessage.c: (GST_START_TEST):
22208 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22209 * gst/gstbin.c: (bin_bus_handler):
22210 * gst/gstelement.c: (gst_element_commit_state),
22211 (gst_element_lost_state):
22212 * gst/gstmessage.c: (gst_message_new_state_changed),
22213 (gst_message_new_segment_start), (gst_message_new_segment_done),
22214 (gst_message_new_duration), (gst_message_parse_state_changed),
22215 (gst_message_parse_segment_start),
22216 (gst_message_parse_segment_done), (gst_message_parse_duration):
22217 * gst/gstmessage.h:
22218 * tools/gst-launch.c: (event_loop):
22219 Make messages future proof.
22220 state-change gets a flag if it was a message comming from the
22222 segment-start/stop can also be specified in other formats.
22223 A message to notify an app that a pipeline changed playback
22225 Also fix a GstMessage leak in -launch
22227 2005-10-18 Andy Wingo <wingo@pobox.com>
22229 * gst/gstelement.c (gst_element_dispose): More helpful message.
22231 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22233 reviewed by: <delete if not using a buddy>
22235 * common/gtk-doc.mak:
22237 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22239 * gst/gstregistry.c: (gst_registry_scan_path_level):
22240 unref a plug-in we get that was already initialized
22242 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22244 * docs/gst/gstreamer-sections.txt:
22245 * docs/libs/gstreamer-libs-sections.txt:
22246 * gst/gstelement.h:
22247 add new api entries
22248 hide internal macro
22250 2005-10-17 Andy Wingo <wingo@pobox.com>
22252 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22255 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22257 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22259 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22260 (gst_element_get_state_func): Better debug message.
22261 (gst_element_commit_state): s/INFO/DEBUG/.
22262 (gst_element_lost_state, gst_element_change_state):
22264 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22265 (gst_message_new_custom): s/INFO/LOG/.
22267 2005-10-17 Michael Smith <msmith@fluendo.com>
22269 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22270 Check if end time is valid using end time, not start time.
22272 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22274 * check/gst-libs/controller.c: (GST_START_TEST),
22275 (gst_controller_suite):
22276 * libs/gst/controller/gstcontroller.c:
22277 (gst_controlled_property_set_interpolation_mode):
22278 * libs/gst/controller/gstcontroller.h:
22279 * libs/gst/controller/gstinterpolation.c:
22280 * testsuite/controller/.cvsignore:
22281 * testsuite/controller/Makefile.am:
22282 * testsuite/controller/interpolator.c:
22283 merge controller testsuites
22285 remove mem-chunk from docs
22287 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22289 * gst/gstmemchunk.c:
22290 * gst/gstmemchunk.h:
22291 * gst/gsttrashstack.c:
22292 * gst/gsttrashstack.h:
22293 out. get out. you're fired. to the Attic !
22295 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22297 * gst/gstcaps.c: (gst_caps_intersect):
22298 fix signedness issues in a (hopefully) correct way
22299 * gst/gstelement.c: (gst_element_pads_activate):
22301 * gst/gstobject.c: (gst_object_set_parent):
22304 2005-10-17 Julien MOUTTE <julien@moutte.net>
22306 * gst/gstvalue.h: Fix prototypes.
22308 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22310 * docs/gst/gstreamer-sections.txt:
22311 * gst/gst.c: (gst_version_string):
22313 * gst/gstversion.h.in:
22314 * win32/common/libgstreamer.def:
22315 add gst_version_string ()
22317 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22321 * gst/gst.c: (init_post):
22322 * win32/common/config.h.in:
22324 * gst/gstcaps.c: (gst_caps_intersect):
22325 use gint64, the range could be bigger than a guint
22327 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22330 document potential problem in 2038
22332 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22334 * gst/gstcaps.c: (gst_caps_intersect):
22335 Fix guint j diving under 0
22337 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22340 * win32/common/config.h:
22341 * win32/common/config.h.in:
22342 check for process.h, declares getpid() on Windows
22344 include process.h if we have it
22345 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22346 * gst/gstmemchunk.h:
22347 fix signedness issues
22348 * win32/common/libgstreamer.def:
22351 2005-10-16 Julien MOUTTE <julien@moutte.net>
22353 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22354 fix. Because of unsigned ints, caps intersection was going nuts and
22355 trying to access structures with G_MAXUINT index. That fixes
22356 videotestsrc ! ffmpegcolorspace ! fakesink
22357 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22360 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22363 use the gettext macro
22364 * gst/elements/gstelements.c:
22366 * gst/indexers/gstindexers.c:
22367 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22368 * win32/common/config.h:
22370 * win32/common/config.h.in:
22371 add the template to generate config.h
22372 * win32/common/gstenumtypes.c:
22373 * win32/common/gstversion.h:
22376 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22378 * gst/gst.c: (gst_version):
22379 * gst/gstversion.h.in:
22382 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22385 Oops, add missing closing bracket.
22387 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22390 use common m4's for argument checking
22392 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22394 * docs/gst/gstreamer-sections.txt:
22396 Add GST_EVENT_TYPE_NAME() macro.
22398 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22401 * gst/gstpluginfeature.c:
22403 privatize more symbols
22405 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22408 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22409 everything that uses GStreamer API should have the includes
22411 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22413 * docs/gst/gstreamer-sections.txt:
22414 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22416 give each value a _get_type, removes the DATA exports
22418 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22422 remove _gst_registry_auto_load, not used anymore
22423 * gst/gstbin.c: (gst_bin_get_type):
22425 * gst/gstelement.c: (gst_element_get_type):
22426 * gst/gstelement.h:
22427 * gst/gstobject.c: (gst_object_get_type):
22429 * gst/gstpad.c: (gst_pad_get_type):
22431 make _get_type functions similar, fixes data export from library
22433 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22436 correctly make conditionals
22437 * gst/elements/Makefile.am:
22438 * gst/elements/gstelements.c:
22439 fix typo causing fdsrc not to build
22441 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22443 * testsuite/Makefile.am:
22444 * testsuite/bytestream/.cvsignore:
22445 * testsuite/bytestream/Makefile.am:
22446 * testsuite/bytestream/filepadsink.c:
22447 * testsuite/bytestream/gstbstest.c:
22448 * testsuite/bytestream/test1.c:
22449 * testsuite/bytestream/testfile1:
22450 * testsuite/caps/normalisation.c:
22451 * testsuite/caps/random.c: (main):
22452 * testsuite/cleanup/.cvsignore:
22453 * testsuite/cleanup/Makefile.am:
22454 * testsuite/cleanup/cleanup1.c:
22455 * testsuite/cleanup/cleanup2.c:
22456 * testsuite/cleanup/cleanup3.c:
22457 * testsuite/cleanup/cleanup4.c:
22458 * testsuite/cleanup/cleanup5.c:
22459 * testsuite/controller/interpolator.c:
22460 * testsuite/debug/printf_extension.c: (main):
22461 * testsuite/elements/tee.c:
22462 * testsuite/negotiation/.cvsignore:
22463 * testsuite/negotiation/Makefile.am:
22464 * testsuite/negotiation/pad_link.c:
22465 * testsuite/pad/Makefile.am:
22466 * testsuite/pad/chainnopull.c:
22467 * testsuite/pad/getnopush.c:
22468 * testsuite/pad/link.c:
22469 * testsuite/refcounting/sched.c: (create_pipeline):
22470 * testsuite/registry/Makefile.am:
22471 * testsuite/registry/gst-print-formats.c:
22472 * testsuite/schedulers/.cvsignore:
22473 * testsuite/schedulers/142183-2.c:
22474 * testsuite/schedulers/142183.c:
22475 * testsuite/schedulers/143777-2.c:
22476 * testsuite/schedulers/143777.c:
22477 * testsuite/schedulers/147713.c:
22478 * testsuite/schedulers/147819.c:
22479 * testsuite/schedulers/147894-2.c:
22480 * testsuite/schedulers/147894.c:
22481 * testsuite/schedulers/Makefile.am:
22482 * testsuite/schedulers/group_link.c:
22483 * testsuite/schedulers/queue_link.c:
22484 * testsuite/schedulers/relink.c:
22485 * testsuite/schedulers/unlink.c:
22486 * testsuite/schedulers/unref.c:
22487 * testsuite/schedulers/useless_iteration.c:
22488 * testsuite/states/bin.c:
22489 clean out/remove some stuff from the testsuite directories
22491 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22494 check for some headers
22495 * gst/elements/Makefile.am:
22496 * gst/elements/gstelements.c:
22497 don't compile fdsrc without sys/socket.h
22498 * gst/indexers/Makefile.am:
22499 * gst/indexers/gstindexers.c: (plugin_init):
22500 don't compile fileindex without mmap
22502 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22509 * check/Makefile.am:
22510 * docs/gst/Makefile.am:
22511 * examples/helloworld/Makefile.am:
22513 * gst/base/Makefile.am:
22514 * gst/check/Makefile.am:
22515 * gst/elements/Makefile.am:
22516 * gst/indexers/Makefile.am:
22517 * gst/parse/Makefile.am:
22518 * libs/gst/controller/Makefile.am:
22519 * libs/gst/dataprotocol/Makefile.am:
22520 * examples/helloworld/helloworld.c: (event_loop):
22521 compile fixes, though it's not being compiled currently
22523 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22525 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22526 Add some simple tests for the new taglist date API.
22528 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22530 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22531 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22532 Beautify 'last-message' output: print 'none' for buffer timestamps
22533 and durations if none is set; improve alignment with next messages.
22535 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22537 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22538 * gst/gstpluginfeature.h:
22539 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22540 * gst/gstregistry.h:
22541 * docs/gst/gstreamer-sections.txt:
22542 Add new API to check plugin feature version requirements.
22544 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22545 Some basic tests for the above.
22547 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22549 * gst/gststructure.c: (gst_structure_to_string):
22550 guard against NULL printf - happens when for example
22551 a message structure with GstClock gets serialized
22553 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22555 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22556 Fix presumable copy'n'pasto.
22558 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22560 * gst/elements/gstfakesrc.h:
22561 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22562 * gst/elements/gsttypefindelement.c:
22563 fix some signedness
22564 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22565 I wonder if this could actually write +2GB files before
22567 2005-10-13 Andy Wingo <wingo@pobox.com>
22569 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22570 Fix Timmeke Waymans bug.
22571 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22572 string of the proper length to gst_caps_from_string. There's a
22573 potential for, before this fix, that this could cause someone
22574 connecting over the network to cause a segfault if the payload is
22575 not NUL-terminated.
22577 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22579 * docs/design/draft-push-pull.txt:
22580 * docs/design/part-overview.txt:
22581 * docs/random/TODO-pre-0.9:
22582 * docs/random/old/ChangeLog.gstreamer:
22583 * gst/base/gstpushsrc.c:
22587 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22589 * gst/glib-compat.c: (gst_flags_get_first_value):
22590 * gst/glib-compat.h:
22591 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22592 (gst_value_compare_double), (gst_value_serialize_flags):
22593 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22596 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22598 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22599 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22601 * tools/gst-launch.c: (event_loop):
22602 print out clock nicely
22604 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22606 * docs/gst/gstreamer-sections.txt:
22607 * gst/gsttaglist.h:
22608 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22609 (gst_tag_list_get_date_index):
22610 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22611 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22613 2005-10-13 Julien MOUTTE <julien@moutte.net>
22615 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22616 (gst_collectpads_chain):
22617 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22620 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22622 * docs/gst/gstreamer-sections.txt:
22625 * tools/gst-inspect.c: (main):
22626 * tools/gst-launch.c: (main):
22627 * tools/gst-run.c: (main):
22628 * tools/gst-xmlinspect.c: (main):
22629 fix GOption context leaks
22632 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22636 * win32/common/config.h:
22638 * win32/vs6/grammar.dsp:
22639 * win32/vs6/libgstelements.dsp:
22640 * win32/vs6/libgstreamer.dsp:
22643 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22645 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22646 * gst/base/gstbasesrc.c: (gst_base_src_query):
22647 fix more guint64<->gdouble conversions
22649 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22652 add win32-update target
22653 * win32/common/gstconfig.h:
22654 * win32/common/gstenumtypes.c:
22655 * win32/common/gstenumtypes.h:
22656 * win32/common/gstversion.h:
22657 add files that visual studio can't generate
22659 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22662 add a win32-update target
22665 2005-10-12 Wim Taymans <wim@fluendo.com>
22667 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22668 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22669 * gst/gstelement.c: (gst_element_commit_state),
22670 (gst_element_set_state):
22671 Protect flags with proper lock.
22672 unref provided cached clock in dispose.
22674 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22677 * gst/gstminiobject.h:
22679 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22680 removed unused flags from miniobject
22683 2005-10-12 Wim Taymans <wim@fluendo.com>
22685 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22686 (gst_file_sink_event), (gst_file_sink_render):
22687 Flush before seeking.
22689 2005-10-12 Andy Wingo <wingo@pobox.com>
22691 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22692 always been the case.
22694 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22696 * check/gst/gstbin.c: (GST_START_TEST):
22697 * docs/gst/gstreamer-sections.txt:
22698 * gst/base/gstbasesink.c: (gst_base_sink_init):
22699 * gst/base/gstbasesrc.c: (gst_base_src_init),
22700 (gst_base_src_get_range), (gst_base_src_check_get_range),
22701 (gst_base_src_start), (gst_base_src_stop):
22702 * gst/base/gstbasesrc.h:
22703 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22704 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22705 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22709 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22711 * gst/gstelement.c: (gst_element_is_locked_state),
22712 (gst_element_set_locked_state), (gst_element_commit_state),
22713 (gst_element_set_state):
22714 * gst/gstelement.h:
22715 * gst/gstindex.c: (gst_index_init):
22717 * gst/gstminiobject.h:
22718 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22719 (gst_object_set_parent):
22721 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22722 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22724 * gst/gstpadtemplate.h:
22725 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22726 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22727 * gst/gstpipeline.h:
22728 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22729 (gst_file_index_commit):
22730 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22731 * testsuite/pad/link.c: (gst_test_src_init),
22732 (gst_test_filter_init), (gst_test_sink_init):
22733 * testsuite/states/locked.c: (main):
22734 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22735 moved bitshift from macro to enum definition
22737 2005-10-12 Wim Taymans <wim@fluendo.com>
22739 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22740 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22741 (gst_file_sink_render):
22742 Some more debugging info.
22744 2005-10-12 Wim Taymans <wim@fluendo.com>
22746 * docs/design/part-states.txt:
22747 * tools/gst-launch.c: (main):
22749 Revert non-intentional change.
22751 2005-10-12 Wim Taymans <wim@fluendo.com>
22753 * check/gst/gstbin.c: (GST_START_TEST):
22754 * check/gst/gstelement.c: (GST_START_TEST):
22755 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22756 * check/gst/gstghostpad.c: (GST_START_TEST):
22757 * check/gst/gstpipeline.c: (GST_START_TEST):
22758 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22759 * check/states/sinks.c: (GST_START_TEST):
22760 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22761 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22762 (gst_bin_remove_func), (gst_bin_get_state_func),
22763 (gst_bin_recalc_state), (gst_bin_change_state_func),
22765 * gst/gstelement.c: (gst_element_get_state_func),
22766 (gst_element_get_state), (gst_element_abort_state),
22767 (gst_element_commit_state), (gst_element_set_state),
22768 (gst_element_change_state), (gst_element_change_state_func):
22769 * gst/gstelement.h:
22770 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22771 (gst_pipeline_provide_clock_func):
22772 * gst/gstutils.c: (gst_element_link_pads_filtered):
22773 * tools/gst-launch.c: (main):
22774 * tools/gst-typefind.c: (main):
22775 Use GstClockTime in _get_state() instead of GTimeVal.
22776 Remove old code in gstutils.c
22778 2005-10-12 Andy Wingo <wingo@pobox.com>
22780 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22783 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22784 there is no task. Shouldn't affect any code, as nothing in our
22785 plugins checks this return value.
22786 (gst_pad_stop_task): Also take the stream lock if the pad has no
22787 task. Docs updated.
22789 2005-10-12 Wim Taymans <wim@fluendo.com>
22791 * gst/gstpad.c: (pre_activate), (post_activate),
22792 (gst_pad_activate_pull), (gst_pad_activate_push):
22793 Cleanup activation code. Reset old state if
22796 2005-10-12 Wim Taymans <wim@fluendo.com>
22798 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22799 (gst_base_sink_change_state):
22800 No need to prerol after receiving EOS.
22802 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22803 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22804 * gst/elements/gstidentity.c: (gst_identity_event):
22805 Print events more verbosely.
22807 2005-10-12 Wim Taymans <wim@fluendo.com>
22809 * check/Makefile.am:
22810 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22811 * check/states/sinks2.c:
22812 Moved sinks2 testcode in sinks check.
22814 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22815 (gst_bin_remove_func), (gst_bin_recalc_state),
22816 (gst_bin_change_state_func), (bin_bus_handler):
22817 Fix potential race condition when _get_state() iterated over an
22818 ASYNC element right before it posted a state completion.
22821 Do proper cast here.
22823 * gst/gstevent.c: (gst_event_new_newsegment),
22824 (gst_event_parse_newsegment):
22825 A playback rate of 0.0 is not allowed.
22827 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22829 * win32/common/config.h:
22830 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22831 (_trewinddir), (_ttelldir), (_tseekdir):
22832 * win32/common/dirent.h:
22833 * win32/common/gtchar.h:
22834 * win32/common/libgstbase.def:
22835 * win32/common/libgstreamer.def:
22836 * win32/vs6/grammar.dsp:
22837 * win32/vs6/gst_inspect.dsp:
22838 * win32/vs6/gst_launch.dsp:
22839 * win32/vs6/gstreamer.dsw:
22840 * win32/vs6/libgstbase.dsp:
22841 * win32/vs6/libgstelements.dsp:
22842 * win32/vs6/libgstreamer.dsp:
22843 Visual Studio 6 project files, and a new common directory.
22846 2005-10-11 Wim Taymans <wim@fluendo.com>
22848 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22849 (gst_base_sink_do_sync), (gst_base_sink_query),
22850 (gst_base_sink_change_state):
22851 * gst/base/gstbasesink.h:
22852 Correctly parse newsegment info.
22854 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22856 * gst/gst.c: (init_post):
22857 split plugin paths correctly
22859 2005-10-11 Wim Taymans <wim@fluendo.com>
22861 * check/gst/gstevent.c: (GST_START_TEST):
22862 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22863 (gst_base_sink_change_state):
22864 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22865 * gst/base/gstbasetransform.c: (gst_base_transform_event):
22866 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22867 * gst/gstevent.c: (gst_event_new_newsegment),
22868 (gst_event_parse_newsegment):
22870 Added extra flag to newsegment for future API freeze.
22871 Updated check and base elements.
22873 2005-10-11 Julien MOUTTE <julien@moutte.net>
22875 * gst/base/gstcollectpads.c: (gst_collectpads_init),
22876 (gst_collectpads_add_pad), (gst_collectpads_pop),
22877 (gst_collectpads_event), (gst_collectpads_chain):
22878 * gst/base/gstcollectpads.h: Handle EOS correctly.
22880 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22882 * tools/gst-launch.c: (main):
22883 more null protecting
22885 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22887 * gst/gst-i18n-lib.h:
22888 check for ENABLE_NLS, not GETTEXT_PACKAGE
22889 * gst/gstregistry.c: (gst_registry_add_plugin),
22890 (gst_registry_scan_path_level),
22891 (_gst_registry_remove_cache_plugins):
22892 protect possibly NULL strings
22893 * gst/parse/types.h:
22894 config.h already included before
22895 * tools/gst-inspect.c: (main):
22896 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22897 check for ENABLE_NLS, not GETTEXT_PACKAGE
22898 * tools/gst-launch.c: (main):
22899 check for ENABLE_NLS, not GETTEXT_PACKAGE
22901 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22904 if we don't have glib, fail before testing 2.8
22905 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
22906 fix a leak, should fix plugins-base testsuite
22908 2005-10-11 Andy Wingo <wingo@pobox.com>
22910 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
22911 take the mode we're going to as an arg. Go head and set the mode
22912 and flushing flags now, so that if the activate function starts a
22913 thread all the flags will be in the right state.
22914 (post_activate): Renamed also. Just handle making sure streaming
22915 finishes for the deactivation case, and setting the deactivated
22917 (gst_pad_set_active): Complain loudly if deactivation fails.
22918 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
22919 (gst_pad_activate_push): Adapt to pre/post_activate changes,
22920 remove the terrible hack.
22922 2005-10-11 Wim Taymans <wim@fluendo.com>
22924 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22925 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
22926 (gst_bin_recalc_state), (gst_bin_change_state_func),
22927 (gst_bin_dispose), (bin_bus_handler):
22929 Prepare to make current EOS message queue more generic.
22932 * gst/gstevent.c: (gst_event_new_newsegment),
22933 (gst_event_parse_newsegment):
22935 Rename base to stream_time.
22937 * gst/gstmessage.h:
22940 2005-10-11 Wim Taymans <wim@fluendo.com>
22942 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22943 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
22944 (gst_bin_change_state_func), (bin_bus_handler):
22946 Work on proper clock selection.
22948 2005-10-11 Edward Hervey <edward@fluendo.com>
22950 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
22951 * libs/gst/controller/gstcontroller.h:
22952 Added GList* version of _remove_properties() in order to be able to wrap
22955 2005-10-11 Wim Taymans <wim@fluendo.com>
22957 * docs/design/part-states.txt:
22960 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
22961 (gst_bin_change_state_func), (bin_bus_handler):
22962 Doc updates. Don't distribute the same clock over and over again.
22968 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
22969 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
22970 (gst_pad_send_event):
22972 Make probe emission threadsafe again.
22973 Register quarks and move _get_name() from utils.
22976 * gst/gstpipeline.c: (gst_pipeline_class_init),
22977 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22978 Only redistribute the clock of it changed.
22980 * gst/gstsystemclock.h:
22985 Moved the _flow_get_name() to GstPad.
22987 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22989 * check/gst-libs/gdp.c: (GST_START_TEST):
22990 * check/gst/gstcaps.c: (GST_START_TEST):
22991 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
22992 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
22993 (gst_dp_packet_from_caps):
22994 fix more valgrind warnings before turning up the heat
22996 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22998 * gst/parse/grammar.y:
22999 some cleanup before the hacking
23001 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23003 * gst/base/gstbasesrc.c: (gst_base_src_query):
23005 * gst/gstutils.c: (gst_guint64_to_gdouble),
23006 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23008 externalize, basesrc uses it
23009 obviously the implementation needs testing
23011 2005-10-10 Wim Taymans <wim@fluendo.com>
23013 * tests/sched/Makefile.am:
23014 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23015 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23017 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23019 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23020 apparently converting from guint64 to double is not implemented
23023 2005-10-10 Wim Taymans <wim@fluendo.com>
23025 * check/Makefile.am:
23026 * check/generic/states.c: (GST_START_TEST):
23027 * check/gst/gstbin.c: (GST_START_TEST):
23028 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23029 * check/states/sinks.c: (GST_START_TEST):
23030 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23032 Check fixes, use API as stated in design docs, remove hacks.
23034 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23035 (gst_base_sink_change_state):
23036 Catch stopping our task while we're shutting down.
23038 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23039 (gst_bin_remove_func), (gst_bin_get_state_func),
23040 (gst_bin_recalc_state), (gst_bin_change_state_func),
23043 * gst/gstelement.c: (gst_element_init),
23044 (gst_element_get_state_func), (gst_element_abort_state),
23045 (gst_element_commit_state), (gst_element_lost_state),
23046 (gst_element_set_state), (gst_element_change_state),
23047 (gst_element_change_state_func):
23048 * gst/gstelement.h:
23049 New state change algorithm (see #318116)
23051 * gst/gstpipeline.c: (gst_pipeline_class_init),
23052 (gst_pipeline_init), (gst_pipeline_set_property),
23053 (gst_pipeline_get_property), (do_pipeline_seek),
23054 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23055 * gst/gstpipeline.h:
23056 Remove crude state change hacks.
23059 Remove crude hacks.
23061 * tools/gst-launch.c: (main):
23062 Fixes for state change. Needs some more work to fully use the
23065 2005-10-10 Andy Wingo <wingo@pobox.com>
23067 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23069 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23070 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23073 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23075 * gst/gstiterator.c: (gst_iterator_new):
23076 Fix my previous commit: GTypes passed to gst_iterator_new()
23077 can be fundamental types.
23079 2005-10-10 Wim Taymans <wim@fluendo.com>
23081 * gst/gstelement.c: (gst_element_iterate_pad_list),
23082 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23083 (gst_element_iterate_sink_pads):
23084 Use src/sink pads lists for the respective iterators instead
23087 2005-10-10 Andy Wingo <wingo@pobox.com>
23089 Merged in popt removal + GOption addition patch from Ronald, bug
23092 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23093 GstElement macros around, remove popt-related symbols, add goption
23096 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23098 * docs/gst/Makefile.am:
23099 * docs/libs/Makefile.am: No POPT_CFLAGS.
23101 * examples/manual/Makefile.am:
23102 * docs/manual/basics-init.xml: Doc updates with an example.
23104 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23105 (gst_init), (parse_one_option), (parse_goption_arg):
23106 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23107 bit of hand merging and debugging to get the GOption stuff working
23110 * tests/Makefile.am:
23111 * tools/Makefile.am:
23112 * tools/gst-inspect.c: (main):
23113 * tools/gst-launch.c: (main):
23114 * tools/gst-run.c: (main):
23115 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23117 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23119 * gst/gstiterator.c: (gst_iterator_new):
23120 Add assertions to make sure passed GType is likely to really
23121 be a GType (as the compiler won't catch it if the size and
23122 GType arguments get mixed up, see #318447).
23124 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23126 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23128 * gst/gstbin.c: (gst_bin_iterate_sorted):
23129 Pass GType and size arguments to gst_iterator_new() in the right
23130 order (maybe we should make _new() take the GType as first argument
23131 just like _new_list()?) (#318447).
23134 2005-10-10 Wim Taymans <wim@fluendo.com>
23136 * gst/gstelement.c: (gst_element_finalize):
23137 And free the GStaticRecMutex too
23139 2005-10-10 Andy Wingo <wingo@pobox.com>
23141 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23142 Allocate and free the mutex properly.
23144 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23146 (GstElement): The state_lock is now recursive. Rebuild your
23147 plugins, suckers. Old macros adapted.
23149 * docs/gst/gstreamer-sections.txt: Doc updates.
23152 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23153 (g_static_rec_cond_wait): Ported from state changes patch, while
23154 we wait on bug #317802 to be solved in a well-distributed GLib.
23156 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23157 gst_element_change_state, variable name changes.
23158 (gst_element_change_state): Split out of gst_element_set_state in
23159 preparation for the state change merge. Doesn't pay attention to
23160 the 'transition' argument.
23161 (gst_element_set_state): Updates, hopefully purely cosmetic.
23162 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23163 state change patch.
23164 (gst_element_get_state_func): Renamed from get_state, cosmetic
23167 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23169 * gst/elements/gstelements.c:
23170 * win32/GStreamer.vcproj:
23172 * win32/dirent.c: (_tseekdir):
23173 * win32/gst-inspect.vcproj:
23174 * win32/gst-launch.vcproj:
23175 * win32/gstconfig.h:
23176 * win32/gstelements.vcproj:
23177 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23178 * win32/gstreamer.def:
23179 * win32/msvc71.sln:
23180 updates for the win32 build (patch from Sebastien Moutte)
23182 2005-10-10 Andy Wingo <wingo@pobox.com>
23184 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23185 gst_bin_get_state, cleaned up (but no logic changes).
23186 (bin_element_is_sink): Comment updates.
23187 (sink_iterator_filter): Remove needless cast.
23188 (gst_bin_iterate_sinks): Doc update.
23189 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23190 cleaned up (but no logic changes).
23192 * check/states/sinks.c (test_src_sink): Cleanups from the state
23194 (test_livesrc_sink): Sync on the state.
23196 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23197 the state change patch.
23199 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23202 * check/gst/gstbin.c: Merge in some style fixes and additional
23203 checks from Wim's state change patch.
23205 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23207 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23208 (gst_type_find_helper):
23209 Check whether we have the requested data already in our list of
23210 cached buffers before pulling a new buffer; also make the buffer
23211 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23213 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23218 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23219 don't use long long, it's not portable. Replacing with
23220 gint64 seems to work; let's hope no skeletons fall out of the closet.
23222 2005-10-10 Andy Wingo <wingo@pobox.com>
23224 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23226 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23228 * docs/gst/gstreamer-sections.txt:
23233 * gst/gstmessage.c: (gst_message_parse_state_changed):
23236 more docs, fix compilation
23238 2005-10-09 Philippe Khalaf <burger@speedy.org>
23239 * gst/gstmessage.c:
23240 Fixed a few forgotten variables on previous commit
23242 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23244 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23245 Fix evil typefind crasher: getrange() might return a short
23246 buffer at the end of a file, but gst_type_find_peek() must
23247 either return the full data as requested or NULL, but
23248 never a short buffer.
23250 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23252 * gst/gstmessage.c: (gst_message_new_state_changed),
23253 (gst_message_parse_state_changed):
23254 * gst/gstmessage.h:
23255 don't use "new", it's a C++ keyword
23257 2005-10-08 Wim Taymans <wim@fluendo.com>
23259 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23260 * gst/gstelement.c: (gst_element_post_message):
23261 * gst/gstpipeline.c: (gst_pipeline_change_state):
23262 Small docs and debug updates.
23264 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23266 * docs/gst/gstreamer-sections.txt:
23267 * gst/gstelementfactory.c:
23269 * gst/gsttaglist.c:
23272 2005-10-08 Wim Taymans <wim@fluendo.com>
23274 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23275 (gst_bin_dispose), (bin_bus_handler):
23276 Fix typos, add comments.
23277 Clear EOS list when going to PAUSED from any direction and do it
23278 in a threadsafe way.
23279 Get base time in a threadsafe way too.
23280 Fix confusing debug in the change_state function.
23281 Various other small cleanups.
23283 * gst/gstelement.c: (gst_element_post_message):
23284 Fix very verbose bus posting code.
23286 * gst/gstpipeline.c: (gst_pipeline_class_init),
23287 (gst_pipeline_set_property), (gst_pipeline_get_property),
23288 (gst_pipeline_change_state):
23289 Small ARG_ -> PROP_ cleanup
23291 2005-10-08 Wim Taymans <wim@fluendo.com>
23293 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23294 Do a less CPU demanding EOS check because we can.
23296 2005-10-08 Wim Taymans <wim@fluendo.com>
23298 * libs/gst/dataprotocol/dataprotocol.c:
23299 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23300 (gst_dp_packet_from_event):
23301 * libs/gst/dataprotocol/dataprotocol.h:
23302 * libs/gst/dataprotocol/dp-private.h:
23303 It's about time we bump the version number.
23304 Since event types don't fit in the guint8 anymore describing
23305 the payload type, make payload type 16 bits wide.
23307 2005-10-08 Wim Taymans <wim@fluendo.com>
23309 * docs/design/part-TODO.txt:
23310 * docs/design/part-clocks.txt:
23311 * docs/design/part-events.txt:
23312 * docs/design/part-gstbin.txt:
23313 * docs/design/part-gstelement.txt:
23314 * docs/design/part-gstpipeline.txt:
23315 * docs/design/part-live-source.txt:
23316 * docs/design/part-messages.txt:
23317 * docs/design/part-overview.txt:
23318 * docs/design/part-states.txt:
23321 2005-10-08 Wim Taymans <wim@fluendo.com>
23325 Fix event quark registration.
23326 Add some space between events so we can insert them in the
23329 2005-10-08 Wim Taymans <wim@fluendo.com>
23331 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23332 (gst_base_sink_handle_buffer):
23333 Better log message.
23336 * gst/gstelement.h:
23339 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23340 (gst_queue_set_property), (gst_queue_get_property):
23342 Remove old unused properties.
23344 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23345 * docs/gst/gstreamer-sections.txt:
23346 * gst/gstmessage.c:
23347 * gst/gstmessage.h:
23348 * gst/gstminiobject.c:
23349 * gst/gstminiobject.h:
23353 lots of new docs and doc fixes
23355 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23357 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23359 * gst/gstregistry.c: (gst_registry_lookup_locked),
23360 (gst_registry_scan_path_level):
23361 * gst/gstregistryxml.c: (load_plugin):
23362 Only ever load one plugin for a given plugin basename.
23363 This ensures correct overriding of GST_PLUGIN_PATH over
23364 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23365 system installed plugins.
23367 2005-10-08 Wim Taymans <wim@fluendo.com>
23369 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23370 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23371 Prepare for doing QOS.
23373 2005-10-08 Wim Taymans <wim@fluendo.com>
23375 * check/gst/gstbin.c: (GST_START_TEST):
23376 * check/pipelines/cleanup.c: (GST_START_TEST):
23377 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23378 Allow new clock message too.
23380 2005-10-08 Wim Taymans <wim@fluendo.com>
23382 * gst/gstmessage.c: (gst_message_new_error),
23383 (gst_message_new_warning), (gst_message_new_tag),
23384 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23385 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23386 (gst_message_new_segment_start), (gst_message_new_segment_done),
23387 (gst_message_parse_state_changed),
23388 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23389 (gst_message_parse_new_clock):
23390 * gst/gstmessage.h:
23391 Also carry the clock in question.
23393 2005-10-08 Wim Taymans <wim@fluendo.com>
23395 * gst/gstmessage.c: (gst_message_new_custom),
23396 (gst_message_new_eos), (gst_message_new_error),
23397 (gst_message_new_warning), (gst_message_new_tag),
23398 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23399 (gst_message_new_new_clock), (gst_message_new_segment_start),
23400 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23401 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23402 * gst/gstmessage.h:
23404 Added clock related messages.
23406 * gst/gstpipeline.c: (gst_pipeline_change_state):
23407 Post message when the clock changed.
23409 * tools/gst-launch.c: (event_loop):
23412 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23414 * tools/gst-inspect.c: (print_element_properties_info):
23415 Can't pass NULL strings to g_print() on windows.
23417 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23419 * docs/Makefile.am:
23420 * docs/gst/Makefile.am:
23421 * docs/gst/gstreamer-docs.sgml:
23422 * docs/gst/running.xml:
23423 * docs/version.entities.in:
23424 add a chapter on running GStreamer.
23425 document GST_DEBUG and GST_PLUGIN* env vars
23427 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23432 remove PLUGINS_BUILDDIR stuff
23433 * gst/gst.c: (init_post):
23434 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23436 remove, it was condescending and not needed
23438 2005-10-08 Wim Taymans <wim@fluendo.com>
23440 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23441 (gst_base_sink_handle_object), (gst_base_sink_event),
23442 (gst_base_sink_wait), (gst_base_sink_handle_event),
23443 (gst_base_sink_change_state):
23444 * gst/base/gstbasesink.h:
23445 Repost EOS message while going to PLAYING if still EOS.
23446 Make sure that when receiving a FLUSH_START we don't attempt
23447 to sync on the clock anymore.
23449 2005-10-08 Wim Taymans <wim@fluendo.com>
23451 * tools/gst-launch.c: (event_loop):
23452 Better message printout.
23454 2005-10-08 Wim Taymans <wim@fluendo.com>
23456 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23457 (gst_bin_child_proxy_get_children_count):
23458 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23459 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23460 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23461 (gst_child_proxy_set_valist):
23462 * gst/parse/grammar.y:
23463 Make ChildProxy threadsafe and fix mem leaks.
23465 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23467 * gst/gst.c: (init_post):
23468 debug the GST_PLUGIN_ env vars
23470 2005-10-08 Wim Taymans <wim@fluendo.com>
23472 * check/gst/gstbin.c: (GST_START_TEST):
23473 * check/gst/gstmessage.c: (GST_START_TEST):
23474 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23475 * gst/gstelement.c: (gst_element_commit_state),
23476 (gst_element_lost_state):
23477 * gst/gstmessage.c: (gst_message_new_state_changed),
23478 (gst_message_parse_state_changed):
23479 * gst/gstmessage.h:
23480 * tools/gst-launch.c: (event_loop):
23481 Added extra field to STATE_CHANGE message with the pending
23482 state, which will be different from the new state soon.
23484 2005-10-08 Wim Taymans <wim@fluendo.com>
23486 * gst/gstbus.c: (gst_bus_pop):
23488 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23489 Small cleanups and doc updates.
23491 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23493 * gst/gst.c: (init_pre):
23494 * gst/gstbin.c: (gst_bin_add_func):
23495 log distributing clocks and base time
23496 * gst/gstregistry.c: (gst_registry_add_plugin),
23497 (gst_registry_scan_path_level), (gst_registry_scan_path):
23498 clean up the debugging output a little
23499 * gst/gstutils.c: (gst_element_state_get_name):
23500 warn about a memleak (I've actually seen this be used, though
23501 it was probably a bug)
23503 2005-10-07 Wim Taymans <wim@fluendo.com>
23505 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23506 (gst_base_src_init), (gst_base_src_default_newsegment),
23507 (gst_base_src_newsegment), (gst_base_src_do_seek),
23508 (gst_base_src_loop), (gst_base_src_start):
23509 * gst/base/gstbasesrc.h:
23510 Make the newsegment event customizable by subclasses.
23512 2005-10-07 Wim Taymans <wim@fluendo.com>
23514 * gst/gstevent.c: (gst_event_new_buffersize),
23515 (gst_event_parse_buffersize):
23517 New event for future idea.
23519 2005-10-07 Andy Wingo <wingo@pobox.com>
23521 * gst/gstelement.c (gst_element_post_message): Doc update.
23523 * docs/gst/gstreamer-sections.txt: Update.
23525 * gst/gstmessage.c (gst_message_new_application): Made into a
23526 function like honest API calls.
23527 (gst_message_new_element): New message type.
23529 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23531 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23532 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23535 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23536 NO_PREROLL from gst_element_change_state to fall through.
23538 2005-10-07 Wim Taymans <wim@fluendo.com>
23540 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23541 (gst_ghost_pad_do_activate_push):
23542 Activating a ghostpad with no internal pad in push mode
23545 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23548 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23549 Fixes compilation on Windows.
23551 2005-10-07 Michael Smith <msmith@fluendo.com>
23553 * tools/gst-inspect.c:
23554 Print out feature and plugin count at the end when printing out
23557 2005-10-04 Michael Smith <msmith@fluendo.com>
23559 * gst/gsterror.c: (_gst_stream_errors_init):
23560 Add another error string used in a few existing plugins.
23563 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23564 * tools/gst-inspect.c: (print_element_info):
23565 When a feature disappears from a plugin (and the feature exists in
23566 the cached registry file), things went horribly wrong. This isn't a
23567 complete fix, we should actually be removing the 'missing' features
23568 from the features list when we load the actual plugin. That's not
23571 2005-10-04 Johan Dahlin <johan@gnome.org>
23573 * check/gst/gstiterator.c: (GST_START_TEST):
23574 * gst/gstbin.c: (gst_bin_iterate_elements),
23575 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23576 * gst/gstelement.c: (gst_element_iterate_pads):
23577 * gst/gstformat.c: (gst_format_iterate_definitions):
23578 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23579 (gst_iterator_new_list), (gst_iterator_filter):
23580 * gst/gstiterator.h:
23581 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23582 Add a GType to GstIterator, update callsites and tests.
23584 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23586 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23587 give events a chance to be handled by event probes when the pad
23590 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23592 * gst/gstevent.c: (gst_event_type_get_name),
23593 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23595 add string representations for event types
23597 2005-10-06 Wim Taymans <wim@fluendo.com>
23599 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23600 Don't use NULL pointers.
23602 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23604 * gst/gst_private.h:
23606 * gst/gstelement.c:
23608 * gst/gstpluginfeature.c:
23609 widen the debug category in output to fit the biggest one we have
23610 add a bus category and use it
23611 play with the colors
23612 fix up some categories
23614 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23616 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23617 add push activation of sink ghost pads.
23618 Andye, please verify
23620 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23622 * gst/gstutils.c: (gst_element_link_pads):
23623 fix a bug in the case where neither element has a pad
23624 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23625 add a test for that case
23627 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23629 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23630 emit have-data before checking for peers. This allows
23631 for probe handlers to connect elements. This helps autopluggers.
23632 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23634 add six checks, linked/unlinked with no/true/false probe
23636 2005-10-04 Wim Taymans <wim@fluendo.com>
23638 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23639 (gst_fake_sink_event), (gst_fake_sink_preroll),
23640 (gst_fake_sink_render), (gst_fake_sink_change_state):
23641 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23642 (gst_fake_src_get_property), (gst_fake_src_create),
23643 (gst_fake_src_stop):
23644 * gst/elements/gstidentity.c: (gst_identity_stop):
23645 Protect last_message with lock.
23647 2005-10-04 Edward Hervey <edward@fluendo.com>
23650 Added precision in the comments for GST_FORMAT_DEFAULT
23652 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23654 * tools/gst-launch.c: (main):
23655 Don't try to run erroneous pipelines.
23657 2005-10-04 Julien MOUTTE <julien@moutte.net>
23659 * gst/gstbus.c: We don't need this header.
23661 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23664 back to development
23666 === release 0.9.3 ===
23668 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23672 Releasing 0.9.3, "Unregistered"
23674 2005-10-03 Andy Wingo <wingo@pobox.com>
23676 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23677 whereby calling a pad's activatepush() function can start a thread
23678 that starts to push or pull before the pad gets the FLUSHING flag
23679 unset. Hack around it by holding the stream lock until the flag is
23680 set. Need to replace this with a proper solution. Together with
23681 the ghost pad fixes, this fixes mp3 playing/tagreading.
23683 * docs/design/part-gstghostpad.txt: Add a note about activation of
23684 proxy pads outside of ghost pads.
23686 * gst/gstghostpad.c: Implement the ghost pad activation design.
23688 2005-10-02 Andy Wingo <wingo@pobox.com>
23690 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23691 It is volatile, after all.
23693 * docs/design/part-gstghostpad.txt: Flesh out activation with
23696 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23699 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23702 Fix (unused) AM_CONDITIONAL tests.
23704 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23706 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23708 * gst/gstutils.c: (gst_pad_query_convert):
23709 Add assertion that makes sure src_val is >=0, just like
23710 gst_query_new_convert() has. (#315895)
23712 2005-09-30 Edward Hervey <edward@fluendo.com>
23714 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23715 Let's not iterate pads we're not interested in, it avoids getting
23716 sky-high refcounts on sinkpad.
23718 2005-09-30 Wim Taymans <wim@fluendo.com>
23720 * gst/gstelement.c: (gst_element_set_state),
23721 (gst_element_change_state):
23722 Small tweak, element in ASYNC remains ASYNC.
23724 2005-09-30 Wim Taymans <wim@fluendo.com>
23726 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23727 Only error is an error.
23729 * gst/gstbin.c: (gst_bin_change_state):
23732 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23733 Also call pad_block in pad alloc.
23735 * gst/gstutils.c: (gst_flow_get_name):
23738 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23740 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23741 (gst_base_src_get_range):
23742 Fix documentation typos. Add some more debug info.
23744 2005-09-29 David Schleef <ds@schleef.org>
23746 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23747 more end-user friendly.
23748 * tools/gst-inspect.c: (main): Check if command-line argument is
23749 a file and attempt to load that file as a plugin.
23751 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23753 * check/gst/gstbin.c:
23754 * check/states/sinks.c:
23755 fix tests for the new warning
23756 * check/gst/gstpipeline.c:
23757 add a test for pipeline and bus interaction
23758 * gst/gstelement.c:
23759 elements should be NULL if they get disposed; add a warning if not
23761 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23764 for 2.6 refcounting, make debug log more correct by printing
23765 the actual refcounts at the time of swap (Wim)
23767 2005-09-29 Andy Wingo <wingo@pobox.com>
23769 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23770 removes signal watches previously added via
23771 gst_bus_add_signal_watch.
23772 (gst_bus_add_signal_watch): Don't return the source id, just store
23773 it on the bus if there wasn't an id already.
23775 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23776 add_signal_watch and remove_signal_watch.
23778 2005-09-29 Edward Hervey <edward@fluendo.com>
23780 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
23781 Better if we actually iterate the list :)
23783 2005-09-29 Wim Taymans <wim@fluendo.com>
23785 * check/gst/gstbin.c: (GST_START_TEST):
23786 Change for new bus API.
23788 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23789 (send_messages), (GST_START_TEST), (gstbus_suite):
23790 Change for new bus signal API.
23792 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23793 (gst_bus_source_prepare), (gst_bus_source_check),
23794 (gst_bus_create_watch), (gst_bus_add_watch_full),
23795 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23796 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23798 Remove support for multiple GSources operating on different
23799 message types as it is too complex and unneeded when using
23801 Added support for receiving signals from the bus.
23803 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23805 * docs/libs/tmpl/gstdataprotocol.sgml:
23806 * docs/manual/advanced-dataaccess.xml:
23807 * gst/elements/gstcapsfilter.c:
23809 rename filter-caps to caps property
23811 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23813 * gst/gstvalue.c: (gst_value_deserialize_fraction):
23814 More robust fraction string parsing.
23816 * docs/pwg/appendix-porting.xml:
23817 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23819 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23821 * gst/gstcaps.c: (gst_caps_do_simplify):
23822 Thou shalt not free a structure and then continue using it
23823 in the next loop iteration.
23825 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23827 Add test case for caps simplification.
23829 2005-09-29 Wim Taymans <wim@fluendo.com>
23831 * check/gst/gstbin.c: (GST_START_TEST):
23834 2005-09-29 Wim Taymans <wim@fluendo.com>
23836 * check/gst/gstbin.c: (GST_START_TEST):
23839 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23840 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23841 (find_element), (gst_bin_sort_iterator_next),
23842 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23843 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23844 (gst_bin_change_state), (gst_bin_dispose):
23845 A bin does not have a bus, it gets the bus from the parent.
23847 * gst/gstelement.c: (gst_element_requires_clock),
23848 (gst_element_provides_clock), (gst_element_is_indexable),
23849 (gst_element_is_locked_state), (gst_element_change_state),
23850 (gst_element_set_bus_func):
23853 * gst/gstpipeline.c: (gst_pipeline_class_init),
23854 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23855 The pipeline provides a bus.
23857 2005-09-28 Johan Dahlin <johan@gnome.org>
23859 * gst/gstmessage.c (gst_message_parse_state_changed): Use
23860 gst_structure_get_enum instead of gst_structure_get_int
23862 * gst/gststructure.c (gst_structure_get_enum): Impl.
23864 * gst/gststructure.h (gst_structure_get_enum): Add
23866 * docs/gst/gstreamer-sections.txt: Ditto
23868 * gst/gstmessage.c (gst_message_new_state_changed): Use
23869 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23870 which does introspection.
23871 Reviewed by Christian Schaller
23873 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23875 * gst/gstinfo.c: (gst_debug_log_default):
23876 don't do dummy g_strdup()s
23877 * libs/gst/controller/gstcontroller.c:
23878 (on_object_controlled_property_changed),
23879 (gst_controlled_property_new), (gst_controller_new_valist),
23880 (gst_controller_new_list),
23881 (gst_controller_remove_properties_valist), (gst_controller_set),
23882 (gst_controller_get), (gst_controller_sync_values),
23883 (gst_controller_get_value_array), (_gst_controller_class_init),
23884 (gst_controller_get_type):
23885 * libs/gst/controller/gstcontroller.h:
23886 * libs/gst/controller/gstinterpolation.c:
23887 (gst_controlled_property_find_timed_value_node):
23888 convert // to /**/ comments
23890 2005-09-28 Wim Taymans <wim@fluendo.com>
23892 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23893 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23894 (gst_bus_sync_signal_handler):
23896 Added async-message and sync-message signals to the bus.
23897 Added helper BusFunc to emit signals for all posted messages.
23899 * gst/gstmessage.c: (gst_message_type_get_name),
23900 (gst_message_type_to_quark), (gst_message_get_type):
23901 * gst/gstmessage.h:
23902 Register quarks for message names.
23904 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23906 * docs/libs/gstreamer-libs-sections.txt:
23907 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
23908 (gst_controller_new_list):
23909 * libs/gst/controller/gstcontroller.h:
23910 added another constructor for language bindings
23912 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
23914 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23918 * gst/gstinfo.c: (_gst_debug_init):
23919 slightly more readable color for refcount debugging
23921 2005-09-28 Wim Taymans <wim@fluendo.com>
23923 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
23924 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23925 (find_element), (gst_bin_sort_iterator_next),
23926 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23927 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23928 (gst_bin_change_state), (gst_bin_dispose):
23929 Small doc fixes. get_clock -> provide_clock.
23931 * gst/gstelement.c: (gst_element_class_init),
23932 (gst_element_provides_clock), (gst_element_provide_clock),
23933 (gst_element_get_clock), (gst_element_commit_state),
23934 (gst_element_lost_state):
23935 * gst/gstelement.h:
23936 Make get/set_clock() symetric. Add provide_clock vmethod since
23937 that is actually what this function does.
23939 * gst/gstpipeline.c: (gst_pipeline_class_init),
23940 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
23941 (gst_pipeline_get_clock):
23942 get_clock -> provide_clock.
23944 2005-09-28 Andy Wingo <wingo@pobox.com>
23946 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
23947 lieu of real docs...
23949 * gst/elements/gstfdsrc.c: Cleaned up a bit.
23951 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
23953 * gst/elements/gstcapsfilter.c:
23954 * gst/elements/gstfakesink.c:
23955 * gst/elements/gstfakesrc.c:
23956 * gst/elements/gstfdsink.c:
23957 * gst/elements/gstfdsrc.c:
23958 * gst/elements/gstfilesink.c:
23959 * gst/elements/gstfilesrc.c:
23960 * gst/elements/gstidentity.c:
23961 * gst/elements/gsttee.c:
23962 * gst/elements/gsttypefindelement.c:
23963 Make element details static.
23965 2005-09-28 Wim Taymans <wim@fluendo.com>
23967 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23968 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23969 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23970 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23971 (gst_bin_change_state), (gst_bin_dispose):
23972 Some documentation updates.
23973 Clean up dispose handlers.
23975 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
23976 * gst/gstpad.c: (gst_pad_dispose):
23977 Clean up dispose handler.
23979 * gst/gstpipeline.c: (gst_pipeline_change_state):
23980 Removed spurious UNLOCK.
23982 2005-09-27 Stefan Kost <ensonic@users.sf.net>
23984 * docs/gst/gstreamer-sections.txt:
23985 * gst/base/gstbasesrc.h:
23986 * gst/gstelement.h:
23990 * gst/gstpipeline.c:
23991 * gst/gstpipeline.h:
23994 added two new functions to the docs
23995 documents all undocumented GstXXXFlags
23996 completed some incomplete docs
23998 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24000 * gst/gstbin.c: (gst_bin_dispose):
24001 * gst/gstelement.c: (gst_element_dispose):
24002 remove now useless and leaky resurrection code in dispose
24003 * gst/base/gstbasesrc.c: (gst_base_src_init):
24004 * gst/gstelementfactory.c: (gst_element_factory_create):
24005 * gst/gstobject.c: (gst_object_set_parent):
24008 2005-09-27 Wim Taymans <wim@fluendo.com>
24010 * docs/design/part-TODO.txt:
24013 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24014 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24015 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24016 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24017 (gst_bin_change_state):
24018 * gst/gstelement.h:
24019 Remove element variable, we keep element info in the iterator now.
24021 2005-09-27 Andy Wingo <wingo@pobox.com>
24023 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24026 2005-09-27 Wim Taymans <wim@fluendo.com>
24028 * check/gst/gstbin.c: (GST_START_TEST):
24029 Enable check that works now.
24031 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24032 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24033 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24034 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24035 (gst_bin_change_state):
24037 Redid the state change algorithm using a topological sort algo.
24038 Handles all cases correctly.
24039 Exposed iterator for state change order.
24041 * gst/gstelement.h:
24042 Temp storage for state changes. Need to get rid of this soon.
24044 2005-09-27 Wim Taymans <wim@fluendo.com>
24046 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24047 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24048 (link_fold_func), (gst_pad_proxy_setcaps):
24049 Leak fixes, the fold functions need to unref the passed object and
24050 _get_parent_*() returns ref to parent.
24052 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24054 * check/gst/gstbuffer.c: (test_make_writable):
24055 Plug leak in test case and fix 'make check-valgrind'
24057 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24059 * gst/gstbuffer.c: (gst_subbuffer_init):
24060 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24061 works correctly in all circumstances (we could have just copied
24062 the parent buffer's readonly flag, but conceptually it seems
24063 cleaner to mark all subbuffers as read-only). (based on patch
24064 by Alessandro Decina, #314710).
24066 * check/gst/gstbuffer.c: (create_read_only_buffer),
24067 (test_make_writable), (test_subbuffer_make_writable),
24069 Add some tests for gst_buffer_make_writable().
24071 2005-09-27 Wim Taymans <wim@fluendo.com>
24073 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24074 use gst_object_has_ancestor().
24076 * gst/gstobject.c: (gst_object_has_ancestor):
24078 gst_object_has_ancestor() copied from gstbin.c as it is a
24081 * tests/instantiate/create.c: (create_all_elements):
24082 * tests/lat.c: (handoff_src), (handoff_sink):
24083 * tests/sched/runxml.c: (main):
24084 * tests/seeking/seeking1.c: (main):
24085 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24087 Fix compilation of some tests.
24089 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24092 Remove comment. GST_TYPE_G_ERROR is here to stay,
24093 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24094 (#316961, #300610).
24096 2005-09-26 Wim Taymans <wim@fluendo.com>
24098 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24099 Added check that shows error in state change order.
24101 2005-09-26 Wim Taymans <wim@fluendo.com>
24103 * gst/gstbin.c: (gst_bin_change_state):
24104 Make state change function use 3 queues again, we were
24105 adding elements in the wrong order.
24107 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24110 * gst/gstpad.c: (gst_pad_dispose):
24111 Added some debug info first.
24113 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24115 * docs/design/draft-push-pull.txt:
24116 * docs/design/part-events.txt:
24117 * docs/design/part-overview.txt:
24118 * docs/design/part-scheduling.txt:
24119 Replace all _pull_region() with _pull_range()
24121 2005-09-26 Andy Wingo <wingo@pobox.com>
24123 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24125 * check/gst-libs/controller.c: Update for controller api change.
24128 * tests/Makefile.am:
24129 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24130 over by GLib bug 118439.
24132 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24133 routines to a function.
24135 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24137 * libs/gst/controller/gsthelper.c:
24138 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24139 (gst_object_sync_values): Renamed from sink_values. Ugh.
24141 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24143 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24144 Renamed from controller_key, as it is exported.
24146 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24148 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24153 * gst/gstpadtemplate.h:
24156 * gst/gstqueryutils.c:
24157 * gst/gstqueryutils.h:
24158 remove queryutils headers after moving the two used functions
24159 to gstquery. also fixes build problem for gstsiddec
24161 2005-09-26 Michael Smith <msmith@fluendo.com>
24163 * tools/gst-launch.1.in:
24164 Correct documentation in manpage of debug syntax
24166 2005-09-26 Wim Taymans <wim@fluendo.com>
24168 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24169 (gst_base_src_is_seekable), (gst_base_src_change_state):
24170 Some more debugging info.
24172 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24174 * docs/gst/gstreamer-sections.txt:
24175 * gst/base/gstbasetransform.h:
24179 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24181 * docs/gst/.cvsignore:
24182 * docs/gst/tmpl/.cvsignore:
24183 * docs/gst/tmpl/gstpipeline.sgml:
24184 * docs/gst/tmpl/gstplugin.sgml:
24185 * gst/gstpipeline.c:
24188 inlined the last two docs files
24189 removed the tmpl directory from cvs (no more conflicts here!)
24191 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24193 * docs/gst/gstreamer-sections.txt:
24194 * docs/gst/tmpl/.cvsignore:
24195 * docs/gst/tmpl/gstpad.sgml:
24196 * docs/gst/tmpl/gstpadtemplate.sgml:
24198 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24199 (gst_pad_finalize), (gst_pad_set_pad_template):
24201 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24202 (gst_pad_template_class_init), (gst_pad_template_init),
24203 (gst_pad_template_dispose), (name_is_valid),
24204 (gst_static_pad_template_get), (gst_pad_template_new),
24205 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24206 (gst_pad_template_pad_created):
24207 * gst/gstpadtemplate.h:
24208 inlined two more docs
24209 factored gstpadtemplate out of gstpad
24211 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24213 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24214 (test_children_state_change_order_semi_sink):
24215 Fix test case: we can't rely on a fixed state change order when
24216 going from READY => PAUSED because the sink might commit its
24217 new state first when the first buffer created by the source
24218 reaches the sink before the source has finished its change state.
24219 (Test case still fails at times, see #316856, comment 5 onwards)
24221 2005-09-24 Wim Taymans <wim@fluendo.com>
24223 * docs/design/part-events.txt:
24224 * docs/design/part-gstbus.txt:
24225 * docs/design/part-gstpipeline.txt:
24226 * docs/design/part-messages.txt:
24227 * docs/design/part-overview.txt:
24228 * docs/design/part-segments.txt:
24232 * gst/gstelement.c:
24235 * gst/gstiterator.c:
24236 Various documentation updates.
24238 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24241 Well, that's embarassing. Luckily we weren't using
24242 GST_CLOCK_DIFF anywhere.
24244 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24246 * common/gtk-doc.mak:
24247 don't fail on building XML, FC4 slave shows a bunch of doc
24248 missing bits that I don't get
24250 * gst/gstpipeline.c:
24251 * gst/gststructure.c:
24254 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24256 * docs/design/part-gstbin.txt:
24257 * docs/design/part-gstbus.txt:
24259 Add blurb about how the bus goes into flushing mode and
24260 drops all messages when its bin goes from READY into NULL
24263 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24265 * docs/gst/gstreamer-sections.txt:
24266 * gst/gststructure.c: (gst_structure_get_clock_time):
24267 * gst/gststructure.h:
24268 add a method to get a GstClockTime out of a structure
24270 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24272 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24273 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24274 Added test to check state change order in bins (can still be made
24275 to fail here under heavy disk load; bails out with 'Push on pad
24276 fakesink:sink0, but it was not activated in push mode').
24278 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24279 Fix state change order when there is only a semi sink (#316856)
24281 * gst/gstbus.c: (gst_bus_class_init):
24282 Use _class_peek_parent(), not _class_ref(); fix docs to say
24283 'default main context' instead of 'mainloop' where that is
24286 * gst/gstelement.c: (gst_element_commit_state),
24287 (gst_element_set_state):
24288 Fix typos in debug messages
24290 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24293 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24294 * gst/gstpluginfeature.c:
24296 various doc updates
24297 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24298 change an assert into an error until it gets fixed properly
24300 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24302 * docs/gst/gstreamer-sections.txt:
24303 * docs/gst/tmpl/.cvsignore:
24304 * docs/gst/tmpl/gstelement.sgml:
24305 * docs/gst/tmpl/gstinfo.sgml:
24306 * docs/gst/tmpl/gstobject.sgml:
24307 * gst/gstelement.c:
24308 * gst/gstelement.h:
24311 * gst/gstobject.c: (gst_object_class_init):
24313 inlined 3 more biiiig doc files and added some missing docs on the fly
24315 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24317 * check/gst/.cvsignore:
24318 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24319 * gst/gstregistryxml.c: (load_plugin),
24320 (gst_registry_xml_save_plugin):
24321 put back source in registry. add checks for find_plugin.
24322 * testsuite/states/bin.c: (assert_state), (empty_bin),
24323 (test_adding_one_element), (main):
24324 * testsuite/states/locked.c: (main):
24325 some compile/run fixes
24327 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24329 * check/gst/gstvalue.c: (GST_START_TEST):
24330 fix leaks in the test itself
24332 2005-09-22 Wim Taymans <wim@fluendo.com>
24334 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24335 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24336 (gst_base_sink_query):
24337 Prepare for more accurate position reporting and query
24340 * gst/gstelement.c: (gst_element_send_event),
24341 (gst_element_set_state):
24344 2005-09-22 Wim Taymans <wim@fluendo.com>
24346 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24347 (gst_query_parse_segment):
24349 More documentation.
24350 Add segment query for future use.
24352 2005-09-22 Wim Taymans <wim@fluendo.com>
24354 * gst/gstbin.c: (gst_bin_add_func):
24355 Some more debug info.
24357 * gst/gstelement.c: (gst_element_send_event):
24358 Simplify send_event
24360 * gst/gstelement.h:
24361 Don't know how flags got broken.
24366 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24368 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24369 Add simplistic test suite for GST_TYPE_DATE serialisation and
24372 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24374 * docs/gst/gstreamer-sections.txt:
24375 * gst/gststructure.c: (gst_structure_set_valist),
24376 (gst_structure_get_date):
24377 * gst/gststructure.h:
24378 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24379 (gst_date_copy), (gst_value_compare_date),
24380 (gst_value_serialize_date), (gst_value_deserialize_date),
24381 (gst_value_transform_date_string),
24382 (gst_value_transform_string_date), (_gst_value_initialize):
24384 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24385 bunch of utility functions along with a hack that checks that
24386 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24387 is required. Part of the grand scheme in #170777.
24389 2005-09-22 Andy Wingo <wingo@pobox.com>
24391 * gst/gstconfig.h.in: Psych out gtk-doc.
24393 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24395 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24397 * tools/gst-inspect.c (print_element_list): Plug some
24398 inconsequential leaks.
24400 * gst/gstregistry.c (gst_registry_get_default): Doc.
24402 * check/gst/gstplugin.c:
24403 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24404 * gst/gstelementfactory.c (gst_element_factory_create):
24405 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24408 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24409 (gst_plugin_feature_load): Doc, don't eat refs.
24411 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24412 (gst_plugin_list_free): Doc.
24413 (gst_plugin_load_file): Doc updates.
24415 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24416 accessors returning refcounted objects, return a ref.
24418 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24419 accessor for caps. IDEMPOTENCE. Oh yes.
24421 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24423 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24425 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24426 (_gst_debug_register_funcptr):
24427 Add mutex to serialise access to the hash table with
24428 the function pointer => function name string mapping;
24429 make that hash table static scope (#316809).
24431 * gst/registries/.cvsignore:
24432 Remove left-over file.
24434 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24436 * docs/pwg/appendix-porting.xml:
24437 And something about newsegment events and caps-on-buffers to
24438 the porting guide (feel free to improve).
24440 2005-09-21 Andy Wingo <wingo@pobox.com>
24442 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24443 data and event probes on the same pad.
24444 (test_buffer_probe_once): Test that removing probes from within
24445 the probe functions works.
24447 2005-09-21 Andy Wingo <wingo@pobox.com>
24449 * check/gst/gstutils.c: New file.
24450 (test_buffer_probe_n_times): A simple buffer probe test. More to
24453 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24454 have-data::buffer, not have-data.
24455 (gst_pad_add_event_probe): Likewise for have-data::event.
24456 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24457 peer' isn't quite right yet though.
24458 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24459 (gst_pad_remove_data_probe): Change to take the guint handler_id
24460 as their arg, not the function+data, which is more glib-like.
24462 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24463 the signal emission to indicate if the data is a buffer or an
24465 (gst_pad_get_type): Initialize buffer and event quarks.
24466 (gst_pad_class_init): have-data is now a detailed signal, yes it
24469 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24471 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24472 * gst/gstutils.c: (gst_util_set_value_from_string),
24473 (gst_util_set_object_arg):
24474 Don't put functional code in g_return_if_fail() or
24475 g_return_val_if_fail() statements, otherwise things will
24476 break when G_DISABLE_CHECKS is defined during compilation.
24478 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24480 * docs/gst/tmpl/.cvsignore:
24481 * docs/gst/tmpl/gstvalue.sgml:
24484 inlied another one and added some obvious docs
24486 2005-09-21 Wim Taymans <wim@fluendo.com>
24488 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24489 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24490 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24491 (gst_fdsrc_get_property), (gst_fdsrc_create):
24492 * gst/elements/gstfdsrc.h:
24493 Properly implement fdsrc. Removed signal and timeout,
24494 better implemented somewhere else.
24496 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24498 * docs/gst/tmpl/.cvsignore:
24499 * docs/gst/tmpl/gstimplementsinterface.sgml:
24500 * gst/gstinterface.c:
24503 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24505 * docs/gst/gstreamer-sections.txt:
24506 * docs/gst/tmpl/.cvsignore:
24507 * docs/gst/tmpl/gstenumtypes.sgml:
24508 remove obsolete doc file
24510 2005-09-21 David Schleef <ds@schleef.org>
24512 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24513 little beer, fix a little leak.
24515 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24517 * docs/gst/gstreamer-docs.sgml:
24518 * docs/gst/gstreamer-sections.txt:
24519 * docs/gst/tmpl/.cvsignore:
24523 * gst/gstelement.h:
24524 * gst/gstindex.c: (gst_index_class_init):
24526 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24527 (gst_index_factory_class_init), (gst_index_factory_init),
24528 (gst_index_factory_finalize), (gst_index_factory_new),
24529 (gst_index_factory_destroy), (gst_index_factory_find),
24530 (gst_index_factory_create), (gst_index_factory_make):
24531 * gst/gstindexfactory.h:
24532 * gst/gstpluginfeature.c:
24533 * gst/gstpluginfeature.h:
24534 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24535 more docs inlined, splitted gstindex.{c,h}
24537 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24539 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24542 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24544 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24545 Set sync to FALSE by default.
24547 2005-09-20 Wim Taymans <wim@fluendo.com>
24549 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24550 (gst_base_sink_init):
24551 Make sync property settable from subclass.
24553 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24554 (gst_fake_sink_change_state):
24555 Set sync to FALSE by default.
24557 2005-09-20 Wim Taymans <wim@fluendo.com>
24559 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24560 * tools/gst-launch.c: (main):
24561 The timeout handler should have lower priority than the source
24562 so we don't timeout before popping a message with 0 timeout.
24563 Dump error messages after failed state change.
24565 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24567 * tools/gst-inspect.c: (print_element_properties_info):
24570 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24572 * check/gst/gstevent.c:
24573 * gst/elements/gstfakesink.c:
24574 * gst/elements/gstfakesink.h:
24575 remove the sync property from fakesink.
24576 has the side effect of setting sync TRUE
24577 for fakesink, which is a change. Anyone who knows how
24578 to fix this nicely in a GObject-y way, feel free.
24580 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24582 * docs/gst/gstreamer-docs.sgml:
24583 remove probe refsection
24585 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24587 * check/Makefile.am:
24588 disable valgrinding the controller test again
24589 * docs/gst/gstreamer-sections.txt:
24590 update for api-changes
24592 2005-09-20 Wim Taymans <wim@fluendo.com>
24594 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24595 (gst_base_sink_set_property), (gst_base_sink_get_property),
24596 (gst_base_sink_do_sync):
24597 * gst/base/gstbasesink.h:
24598 Added sync property to basesink to disable clock sync.
24600 2005-09-20 Andy Wingo <wingo@pobox.com>
24602 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24603 eating the caller's refcount.
24605 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24606 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24609 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24610 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24611 of GLib 2.8 public, so we can know which refcount to check in
24614 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24615 (gst_object_init): Only set the gst refcount if we're going ahead
24616 with the refcount hack.
24618 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24620 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24621 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24622 more leaks plumbed, added more debug-logging
24626 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24628 * gst/gstmessage.c:
24629 remove include of gstmemchunk.h
24631 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24633 * gst/gstclock.c: (_gst_clock_id_free):
24634 Commit from the Political Party For More Atomic CVS Commits,
24635 so that people don't waste too much of their day fishing
24636 out obvious leaks out of massive commits.
24637 Oh, and fix a pretty damn obvious leak in the memchunk
24640 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24642 * check/Makefile.am:
24643 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24644 plug mem-leak, re-add to valgrindable tests
24646 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24649 unbreak the build for those who have chronic arthritis
24650 and typing "make check" is just too taxing on the hands
24652 2005-09-20 Andy Wingo <wingo@pobox.com>
24654 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24655 really want it out, you should fix plugins at the same time.
24657 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24660 * docs/gst/gstreamer-sections.txt:
24662 added missing symbols to api docs
24663 disable ref-count hack if we have glib >= 2.8
24665 2005-09-19 David Schleef <ds@schleef.org>
24667 * docs/gst/Makefile.am: Ignore a few more internal headers
24668 * docs/gst/gstreamer-docs.sgml: Remove old sections
24669 * docs/gst/gstreamer-sections.txt: Remove old sections
24670 * docs/gst/tmpl/gstobject.sgml: update
24671 * docs/gst/tmpl/gstplugin.sgml: update
24672 * docs/gst/tmpl/gstpluginfeature.sgml: update
24673 * docs/random/ds/0.9-suggested-changes: update.
24674 * gst/Makefile.am: remove memchunk and trashstack, since they're
24676 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24677 * gst/gst.h: don't include some headers
24678 * gst/gstchildproxy.c: add gstmarshal.h
24679 * gst/gstclock.c: Don't use memchunks
24680 * gst/gstminiobject.c: Add some docs
24681 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24682 * gst/gstobject.h: same
24683 * gst/gstplugin.c: include gstmacros.h
24684 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24685 * gst/gstquery.c: don't use memchunks
24686 * gst/gstregistry.c: rename gst_registry_deinit()
24687 * gst/gstregistry.h: same
24689 2005-09-19 David Schleef <ds@schleef.org>
24691 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24692 * docs/libs/gstreamer-libs-sections.txt:
24693 * docs/libs/tmpl/gstgetbits.sgml:
24694 * docs/libs/tmpl/gstputbits.sgml:
24696 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24698 * win32/gstenumtypes.c:
24699 * win32/gstenumtypes.h:
24702 2005-09-19 Wim Taymans <wim@fluendo.com>
24704 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24705 Automatically PAUSE and RESUME a pipeline when a flushing seek
24708 2005-09-19 Andy Wingo <wingo@pobox.com>
24710 * gst/gstregistry.h: Spacing fixen.
24712 2005-09-19 Wim Taymans <wim@fluendo.com>
24714 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24715 Handle state change failure more correctly.
24717 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24719 * check/Makefile.am:
24720 * check/pipelines/cleanup.c: (run_pipeline):
24721 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24723 enable cleanup again after fixing the leak
24725 some more info on docs
24727 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24729 * check/Makefile.am:
24730 re-enable tests now that leaks are plugged
24732 * check/gst/gstbin.c:
24733 * check/gst/gstpipeline.c:
24734 add some more tests while fixing leaks
24735 * common/check.mak:
24736 make sure binaries are uptodate when valgrinding/gdbing
24738 * gst/gstelementfactory.c:
24739 remove a ref too many, and add a FIXME for when we get
24740 round to disposing of classes
24742 fix the refcounting when loading a plugin from a file and
24743 the code pretends that the pointer is the same even though
24744 of course it can change
24745 * gst/gstpluginfeature.c:
24746 unref plugins marked cached (a bit confusing as a name)
24747 as the docs state should be done
24748 various doc additions to explain refcounting
24749 * gst/gstregistry.c:
24750 * gst/gstregistryxml.c:
24753 2005-09-19 Wim Taymans <wim@fluendo.com>
24755 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24756 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24757 (send_messages), (GST_START_TEST), (gstbus_suite):
24758 * check/gst/gstpipeline.c: (GST_START_TEST):
24759 * check/pipelines/cleanup.c: (run_pipeline):
24760 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24762 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24763 (gst_bus_source_check), (gst_bus_source_dispatch),
24764 (gst_bus_create_watch), (gst_bus_add_watch_full),
24765 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24767 * tools/gst-launch.c: (event_loop):
24768 * tools/gst-md5sum.c: (event_loop):
24769 GstBusHandler -> GstBusFunc, return value has the same meaning as
24770 any other GSource (FALSE == remove source).
24771 _add_watch() and _add_watch_full() now take a MessageType mask to
24772 only handle specific types of messages.
24773 _poll() returns the GstMessage instead of the message type to avoid
24775 _have_pending() takes a MessageType mask now too.
24776 Added testsuite for multiple bus watches.
24777 Fix testsuites and applications for new bus API.
24779 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24781 * check/Makefile.am:
24782 mark a bunch of the tests as to fix until we fix them
24784 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24786 * common/check.mak:
24787 use GST_PLUGIN settings for valgrind tests as well, so we're
24788 valgrinding the correct thing
24789 * gst/gst.c: (init_post):
24792 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24794 * gst/gst.c: (init_post), (gst_deinit):
24795 * gst/gstelementfactory.c: (gst_element_factory_class_init),
24796 (gst_element_factory_finalize), (gst_element_factory_cleanup):
24797 * gst/gstindex.c: (gst_index_factory_class_init),
24798 (gst_index_factory_finalize):
24799 * gst/gstobject.c: (gst_object_dispose):
24800 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24801 (gst_plugin_load_file), (gst_plugin_desc_free):
24802 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24803 (gst_plugin_feature_finalize):
24804 * gst/gstregistry.c: (gst_registry_class_init),
24805 (gst_registry_init), (gst_registry_finalize),
24806 (gst_registry_get_default), (gst_registry_deinit):
24807 * gst/gstregistry.h:
24808 * gst/gstregistryxml.c: (load_feature), (load_plugin):
24809 various cleanups and memleak plugging. make valgrind is happy now.
24811 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24813 * common/check.mak:
24814 add a check-valgrind target
24816 2005-09-18 David Schleef <ds@schleef.org>
24818 * tools/gst-inspect.c: Revert the GOption code.
24820 2005-09-17 David Schleef <ds@schleef.org>
24822 * check/Makefile.am: Fix environment variables.
24823 * check/gst/gstplugin.c: Fix for API changes.
24824 * tools/gst-inspect.c: Fix for API changes.
24825 * tools/gst-xmlinspect.c: Fix for API changes.
24826 * gst/gstelementfactory.c:
24829 * gst/gstpluginfeature.c:
24830 * gst/gstpluginfeature.h:
24831 * gst/gstregistry.c:
24832 * gst/gstregistry.h:
24833 * gst/gstregistryxml.c:
24834 * gst/gsttypefind.c:
24835 * gst/gsttypefindfactory.c:
24836 * gst/indexers/gstfileindex.c:
24837 * gst/indexers/gstmemindex.c:
24838 * gst/schedulers/Makefile.am:
24839 Change registry to keep track of both plugins and features,
24840 removing the feature tracking from plugins themselves.
24842 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
24844 * check/Makefile.am:
24845 * tools/gst-register.1.in:
24846 remove gst-register
24848 2005-09-15 David Schleef <ds@schleef.org>
24850 * check/gst/gstplugin.c:
24851 * gst/gstelementfactory.c:
24853 * gst/gstpluginfeature.c:
24854 * gst/gstregistry.c:
24855 Getting tired of debugging. Disabled all the unreffing of
24856 plugins and features, which fixes the segfaults, but of
24857 course leaks like crazy. At least playbin works.
24859 2005-09-15 David Schleef <ds@schleef.org>
24861 * check/gst/gstplugin.c: (register_check_elements),
24862 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24864 * gst/elements/gsttypefindelement.c: Fix refcounting.
24865 * gst/gsttypefind.c:
24866 * gst/gsttypefindfactory.c:
24867 * gst/gsttypefindfactory.h:
24869 2005-09-15 David Schleef <ds@schleef.org>
24871 * gst/gstindex.c: get refcounting correct.
24872 * gst/gstregistry.c: Handle the case where a feature/plugin is
24875 2005-09-15 David Schleef <ds@schleef.org>
24877 * check/Makefile.am:
24878 * check/gst/gstplugin.c: Add test
24879 * gst/gstplugin.c: Fix problems noticed by testsuite
24881 * gst/gstregistry.c:
24882 * gst/gstregistry.h:
24884 2005-09-15 David Schleef <ds@schleef.org>
24886 * gst/gstplugin.c: Implement semi-decent recounting and locking
24887 in plugins and plugin features.
24889 * gst/gstpluginfeature.c:
24890 * gst/gstpluginfeature.h:
24891 * gst/gstregistry.c:
24893 2005-09-15 Michael Smith <msmith@fluendo.com>
24895 * gst/gstregistry.c: (gst_registry_get_feature_list):
24896 Implement this. Makes oggdemux work; decodebin still broken.
24898 2005-09-14 David Schleef <ds@schleef.org>
24900 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24902 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24903 * gst/check/Makefile.am:
24904 * libs/gst/controller/Makefile.am:
24905 * libs/gst/dataprotocol/Makefile.am:
24907 2005-09-14 David Schleef <ds@schleef.org>
24909 * configure.ac: Remove getbits library. Nothing uses it, and
24910 it should be in something like liboil if someone did want
24912 * libs/gst/Makefile.am:
24913 * libs/gst/getbits/Makefile.am:
24914 * libs/gst/getbits/gbtest.c:
24915 * libs/gst/getbits/getbits.c:
24916 * libs/gst/getbits/getbits.h:
24917 * libs/gst/getbits/gstgetbits_generic.c:
24918 * libs/gst/getbits/gstgetbits_i386.s:
24919 * libs/gst/getbits/gstgetbits_inl.h:
24921 2005-09-14 David Schleef <ds@schleef.org>
24923 * gst/Makefile.am: Dist glib-compat.h
24925 2005-09-14 David Schleef <ds@schleef.org>
24927 * configure.ac: Remove gst/registries, since it's no longer used.
24928 * gst/registries/Makefile.am:
24929 * gst/registries/gstlibxmlregistry.c:
24930 * gst/registries/gstlibxmlregistry.h:
24931 * gst/registries/gstxmlregistry.c:
24932 * gst/registries/gstxmlregistry.h:
24933 * gst/registries/registrytest.c:
24935 2005-09-14 David Schleef <ds@schleef.org>
24937 * gst/glib-compat.h:
24938 * gst/gstregistryxml.c:
24939 Convergence is near. Seriously.
24941 2005-09-14 David Schleef <ds@schleef.org>
24943 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24944 * gst/glib-compat.h:
24945 Attempt #4 to appease the buildbots.
24947 2005-09-14 David Schleef <ds@schleef.org>
24949 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24952 2005-09-14 David Schleef <ds@schleef.org>
24954 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24957 2005-09-14 David Schleef <ds@schleef.org>
24959 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
24962 2005-09-14 David Schleef <ds@schleef.org>
24964 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24965 * gst/glib-compat.h: Add some functions that are in newer versions
24966 of glib than we care to require.
24967 * gst/gstregistryxml.c: Use them.
24969 2005-09-14 David Schleef <ds@schleef.org>
24971 * po/POTFILES.in: remove gst-register.c
24973 2005-09-14 David Schleef <ds@schleef.org>
24975 * docs/gst/gstreamer-docs.sgml:
24976 * docs/gst/gstreamer-sections.txt:
24977 * docs/gst/gstreamer.types:
24978 * docs/gst/tmpl/gstelement.sgml:
24979 * docs/gst/tmpl/gstplugin.sgml:
24980 * docs/gst/tmpl/gstpluginfeature.sgml:
24981 Documentation updates for registry changes.
24983 2005-09-14 David Schleef <ds@schleef.org>
24985 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
24986 because we don't require glib-2.8.
24988 2005-09-14 David Schleef <ds@schleef.org>
24990 * gst/gstregistryxml.c: Added. Essentially moved out of the
24991 registries directory.
24993 2005-09-14 David Schleef <ds@schleef.org>
24995 * check/Makefile.am:
24996 * check/generic/states.c:
25000 * gst/gst_private.h:
25001 * gst/gstelementfactory.c:
25006 * gst/gstpluginfeature.c:
25007 * gst/gstpluginfeature.h:
25008 * gst/gstregistry.c:
25009 * gst/gstregistry.h:
25010 * gst/gstregistrypool.c: remove
25011 * gst/gstregistrypool.h: remove
25012 * gst/gsttypefind.c:
25013 * gst/gsttypefindfactory.c:
25015 * tools/Makefile.am:
25016 * tools/gst-compprep.c:
25017 * tools/gst-inspect.c:
25018 * tools/gst-register.c: remove
25019 * tools/gst-xmlinspect.c:
25020 Registry rewrite. Changes registry from being a file created
25021 by a tool into a simple cache file created automatically by
25022 libgstreamer. Removed gst-register (because it's no longer
25023 needed). Remove registry pools, because we only have one
25024 registry implementation (XML). Fix up other subsystems as
25027 2005-09-13 Michael Smith <msmith@fluendo.com>
25029 * gst/gstconfig.h.in:
25030 Don't Use windows linking attributes for MinGW. Fixes #316157
25032 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25034 * gst/gstutils.c: (set_state_async_thread_func),
25035 (gst_element_set_state_async):
25036 Apparently people think it's better if this function doesn't
25037 try to set the state to whatever state was asked for on the first
25038 call to this function for any object. Seriously.
25040 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25042 * check/gst/gstpipeline.c: (GST_START_TEST):
25043 * docs/gst/gstreamer-sections.txt:
25044 * gst/gstutils.c: (set_state_async_thread_func),
25045 (gst_element_set_state_async):
25047 add a "gst_element_set_state_async" method that
25048 sets the state and starts a thread to make sure the state
25049 change completes as best as it can
25051 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25053 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25054 codify design+behaviour in testsuite after discussion
25056 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25058 * docs/gst/tmpl/gstelement.sgml:
25059 * docs/manual/appendix-quotes.xml:
25061 * gst/gstelement.c: (gst_element_set_state):
25064 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25066 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25067 (gst_base_transform_prepare_output_buf),
25068 (gst_base_transform_handle_buffer):
25069 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25070 (gst_capsfilter_prepare_buf):
25071 Remove the requirement for sub-classes to call the parent
25072 implementation of prepare_output_buffer with a wrapper function.
25074 * gst/gsttaglist.h:
25075 * gst/gsttagsetter.h:
25076 Fix #define wrapper
25078 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25080 * docs/gst/gstreamer-sections.txt:
25083 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25085 * docs/gst/gstreamer-sections.txt:
25086 * docs/gst/tmpl/gstelement.sgml:
25087 * docs/gst/tmpl/gstplugin.sgml:
25088 * gst/gstminiobject.c:
25090 docs now stop throwing warnings
25092 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25094 * docs/gst/gstreamer-sections.txt:
25095 * docs/gst/gstreamer.types:
25096 * docs/gst/tmpl/gstpad.sgml:
25097 * docs/gst/tmpl/gsttypes.sgml:
25098 * gst/base/gstadapter.h:
25099 * gst/base/gstbasesink.h:
25100 * gst/base/gstbasesrc.h:
25106 * gst/gstelement.h:
25108 * gst/gstmessage.h:
25110 * gst/gststructure.c:
25111 * gst/registries/gstlibxmlregistry.h:
25112 various documentation fixes
25114 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25116 * docs/gst/gstreamer-sections.txt:
25117 * docs/gst/tmpl/gstvalue.sgml:
25118 rearrange gstvalue section
25119 * gst/gstutils.c: (gst_element_state_get_name):
25121 * gst/gstvalue.c: (_gst_value_initialize):
25125 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25127 * check/gst-libs/controller.c:
25128 Header include fix.
25129 * gst/base/gstbasetransform.c:
25130 (gst_base_transform_default_prepare_buf),
25131 (gst_base_transform_handle_buffer):
25132 * gst/base/gstbasetransform.h:
25133 Some more basetransform changes and fixes to enable sub-classes
25134 that modify buffer metadata only.
25135 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25136 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25137 (gst_capsfilter_prepare_buf):
25138 If the output pad has fixed allowed caps and input buffers
25139 don't have any, set the fixed caps on outgoing buffers.
25141 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25142 * check/elements/identity.c: (GST_START_TEST):
25143 Make the error a little clearer when the test fails because
25144 identity made a copy of the buffer.
25145 * docs/gst/gstreamer-sections.txt:
25146 New symbols in gstbasetransform.h
25147 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25148 (gst_base_transform_init), (gst_base_transform_transform_size),
25149 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25150 (gst_base_transform_default_prepare_buf),
25151 (gst_base_transform_get_unit_size),
25152 (gst_base_transform_buffer_alloc),
25153 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25154 (gst_base_transform_change_state),
25155 (gst_base_transform_set_passthrough),
25156 (gst_base_transform_set_in_place),
25157 (gst_base_transform_is_in_place):
25158 * gst/base/gstbasetransform.h:
25159 Change BaseTransform to separate in_place operate from same_caps
25160 output. in_place implies that the element can perform the transform
25161 on incoming buffers in-place, even if the caps on the output are
25163 Sub-class elements can now implement special buffer allocation
25164 methods for outgoing buffers if they wish to.
25165 Big documentation addition.
25166 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25167 * gst/elements/gstelements.c:
25168 Changes for basetransform modifications.
25169 * gst/elements/Makefile.am:
25170 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25171 Compile fix. Extra debug output.
25173 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25175 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25177 add tests for valid pad naming
25178 * gst/check/gstcheck.c: (gst_check_log_message_func),
25179 (gst_check_log_critical_func):
25181 remove printing of code, it is fragile when the code contains
25182 % and the line number is enough info
25183 * gst/check/gstcheck.h:
25184 * gst/gstpad.c: (gst_pad_template_new):
25187 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25190 say what CHECK flags we use
25191 * docs/libs/gstreamer-libs.types:
25192 * libs/gst/controller/Makefile.am:
25193 * libs/gst/controller/gst-controller.c:
25194 * libs/gst/controller/gst-controller.h:
25195 * libs/gst/controller/gst-helper.c:
25196 * libs/gst/controller/gst-interpolation.c:
25197 * libs/gst/controller/gstcontroller.c:
25198 * libs/gst/controller/gsthelper.c:
25199 * libs/gst/controller/gstinterpolation.c:
25200 * tools/gst-inspect.c: (print_plugin_info):
25201 we don't use dashes in header names
25203 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25205 * check/Makefile.am:
25206 * check/gst/.cvsignore:
25207 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25208 (gst_pipeline_suite), (main):
25209 adding a test for pipelines and state changes
25210 * gst/gstutils.c: (get_state_func):
25212 * gstreamer.spec.in:
25215 2005-09-08 Michael Smith <msmith@fluendo.com>
25217 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25218 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25219 (gst_file_src_is_seekable), (gst_file_src_get_size),
25220 (gst_file_src_start):
25221 * gst/elements/gstfilesrc.h:
25222 Various fixes for unseekable, unmmapable, and non-normal files, so
25223 that fallback to read() rather than mmap() works.
25224 * gst/gstevent.c: (gst_event_new_newsegment):
25225 Allow newsegment events with segment_start == segment_end, as will
25226 correctly happen if you use filesrc on a zero-size file, for
25229 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25231 * gst/gstplugin.c: (gst_plugin_load_file):
25232 Call g_module_close when we don't load the module
25234 * gst/registries/gstlibxmlregistry.c:
25235 (gst_xml_registry_get_property):
25236 Port leak fix from 0.8
25238 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25240 * docs/gst/gstreamer-docs.sgml:
25241 * docs/gst/tmpl/.cvsignore:
25242 * docs/gst/tmpl/gsttrace.sgml:
25243 * docs/gst/tmpl/gsttrashstack.sgml:
25246 * gst/gstelement.h:
25248 * gst/gstmessage.c:
25249 * gst/gstmessage.h:
25252 * gst/gsttaginterface.c:
25253 * gst/gsttaginterface.h:
25254 * gst/gsttaglist.c:
25255 * gst/gsttaglist.h:
25256 * gst/gsttagsetter.c:
25257 * gst/gsttagsetter.h:
25260 * gst/gsttrashstack.c:
25261 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25262 inlined docs for gsttrace, gsttrashstack
25264 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25267 * gst/elements/gstbufferstore.h:
25268 * gst/elements/gsttypefindelement.c:
25269 * gst/elements/gsttypefindelement.h:
25271 * gst/gsttypefind.c:
25272 * gst/gsttypefind.h:
25273 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25274 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25275 (gst_type_find_factory_dispose),
25276 (gst_type_find_factory_unload_thyself),
25277 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25278 (gst_type_find_factory_get_caps),
25279 (gst_type_find_factory_get_extensions),
25280 (gst_type_find_factory_call_function):
25281 * gst/gsttypefindfactory.h:
25282 * gst/registries/gstlibxmlregistry.c:
25283 * gst/registries/gstxmlregistry.c:
25284 splitted gsttypefind into gsttypefind, gsttypefindfactory
25286 2005-09-07 Andy Wingo <wingo@pobox.com>
25288 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25289 condition whereby the pad's task function is entered before the
25290 pad_mode variable was set.
25292 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25294 * gst/gstpad.c: (gst_pad_alloc_buffer):
25295 Catch misbehaving pad_alloc functions that don't
25296 set up caps and do it for them.
25298 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25300 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25301 test for pipe!=NULL
25302 * docs/gst/tmpl/.cvsignore:
25303 * docs/gst/tmpl/gstmemchunk.sgml:
25304 * docs/gst/tmpl/gstparse.sgml:
25305 * docs/gst/tmpl/gsttaglist.sgml:
25306 * docs/gst/tmpl/gsttagsetter.sgml:
25307 * docs/gst/tmpl/gsttypefind.sgml:
25308 * docs/gst/tmpl/gsttypefindfactory.sgml:
25309 * gst/gstmemchunk.c:
25312 * gst/gsttaginterface.c:
25313 * gst/gsttypefind.c:
25314 * gst/gsttypefind.h:
25317 === release 0.9.2 ===
25319 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25324 releasing 0.9.2, "South"
25326 2005-09-05 Andy Wingo <wingo@pobox.com>
25328 * gst/registries/gstxmlregistry.h:
25329 * gst/registries/gstxmlregistry.c: Um... resurrect...
25331 * gst/registries/gstxmlregistry.h:
25332 * gst/registries/gstxmlregistry.c: and update to newer API.
25333 Incidentally they should be a bit faster now that they don't have
25336 2005-09-05 Andy Wingo <wingo@pobox.com>
25338 * gst/registries/gstxmlregistry.h:
25339 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25340 replaced by the libxml registry a while back
25342 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25344 * docs/gst/tmpl/gstplugin.sgml:
25345 * gst/elements/gstelements.c:
25347 * gst/gstplugin.c: (gst_plugin_register_func),
25348 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25349 (gst_plugin_get_source):
25351 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25352 (gst_xml_registry_save_plugin):
25353 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25354 (gst_xml_registry_save_plugin):
25355 * tools/gst-inspect.c: (print_plugin_info):
25356 add a "source" plugin description field, to represent the source
25357 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25358 will set it to PACKAGE, which is automake's idea of the name of
25359 the source project.
25361 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25366 * docs/Makefile.am:
25367 * docs/faq/Makefile.am:
25368 * docs/gst/tmpl/gstelement.sgml:
25369 * docs/gst/tmpl/gsttypes.sgml:
25370 * docs/htmlinstall.mak:
25371 * docs/manual/Makefile.am:
25372 * docs/pwg/Makefile.am:
25373 reorganize doc build a little
25374 split out docbook and gtk-doc stuff
25375 have two separate --enable's and enable them through autogen
25376 but disable by default in configure (to be similar to other
25378 * gstreamer.spec.in:
25379 clean up docs install
25397 translation updates
25399 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25401 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25404 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25405 (gst_fake_sink_change_state):
25406 Make state change function thread-safe.
25408 * gst/gstpad.c: (gst_pad_alloc_buffer):
25409 Set offset on generic buffer allocated by fallback.
25411 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25413 * docs/gst/gstreamer-sections.txt:
25414 * docs/gst/tmpl/gstelement.sgml:
25416 * libs/gst/controller/gst-controller.c:
25417 (gst_controlled_property_set_interpolation_mode),
25418 (gst_controlled_property_new),
25419 (gst_controller_find_controlled_property):
25420 run the wingo-magic script against the docs
25422 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25424 * docs/gst/gstreamer-docs.sgml:
25425 * docs/gst/gstreamer-sections.txt:
25426 * docs/gst/tmpl/.cvsignore:
25427 * docs/gst/tmpl/gstelementdetails.sgml:
25428 * docs/gst/tmpl/gstelementfactory.sgml:
25431 * gst/gstelementfactory.c:
25432 * gst/gstelementfactory.h:
25433 merged elementdetails docs into elementfactory docs
25436 2005-09-02 Andy Wingo <wingo@pobox.com>
25438 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25439 consider this enum an enum and not a flags.
25441 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25443 * docs/gst/gstreamer-docs.sgml:
25444 * docs/gst/tmpl/.cvsignore:
25445 * docs/gst/tmpl/gstghostpad.sgml:
25446 * docs/gst/tmpl/gstiterator.sgml:
25447 * docs/gst/tmpl/gstmacros.sgml:
25448 * docs/gst/tmpl/gstrealpad.sgml:
25449 * docs/gst/tmpl/gstregistry.sgml:
25450 * docs/gst/tmpl/gstregistrypool.sgml:
25451 * docs/gst/tmpl/gststructure.sgml:
25452 * docs/gst/tmpl/gstsystemclock.sgml:
25453 * docs/gst/tmpl/gsttrace.sgml:
25454 * gst/gstghostpad.c:
25456 * gst/gstmemchunk.c:
25457 * gst/gstmemchunk.h:
25459 * gst/gstregistry.c:
25460 * gst/gstregistrypool.c:
25461 * gst/gststructure.c:
25462 * gst/gstsystemclock.c:
25465 2005-09-02 Andy Wingo <wingo@pobox.com>
25467 * gst/gstelement.h (GstState): Renamed from GstElementState,
25468 changed to be a normal enum instead of flags.
25469 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25470 munged to be GST_STATE_CHANGE_*.
25471 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25472 work with the new state representation.
25473 (GstStateChange): New enumeration of possible state transitions.
25474 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25475 (GstElementClass::change_state): Pass the GstStateChange along as
25476 an argument. Helps language bindings, so they don't have to use
25477 tricky lock-needing macros like GST_STATE_CHANGE ().
25479 * scripts/update-states (file): New script. Run it on a file to
25480 update it for state naming and API changes. Updates files in
25483 * All files updated for the new API.
25485 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25487 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25488 * gst/gstutils.c: (gst_util_set_value_from_string),
25489 (gst_util_set_object_arg):
25490 fix a bunch of unchecked return values
25491 * tools/gst-complete.c: (main):
25492 * gstreamer.spec.in:
25495 2005-09-01 Wim Taymans <wim@fluendo.com>
25497 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25498 (gst_base_sink_event), (gst_base_sink_do_sync),
25499 (gst_base_sink_handle_event):
25500 * gst/base/gstbasesink.h:
25501 Handle newsegments more correctly.
25506 * gst/gstevent.c: (gst_event_new_newsegment):
25507 A newsegment cannot have a start_time of -1
25509 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25511 * win32/gstenumtypes.c:
25512 * win32/gstenumtypes.h:
25515 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25517 * libs/gst/controller/gst-controller.c:
25518 (gst_controlled_property_set_interpolation_mode),
25519 (gst_controlled_property_new):
25520 fixed boolean again
25522 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25524 * docs/faq/gst-uninstalled:
25529 * gst/gstutils.c: (gst_element_link_filtered):
25531 add gst_element_link_filtered
25533 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25535 * docs/gst/gstreamer-docs.sgml:
25536 * docs/gst/gstreamer-sections.txt:
25537 * docs/gst/tmpl/.cvsignore:
25538 * docs/gst/tmpl/gsterror.sgml:
25539 * docs/gst/tmpl/gstfilter.sgml:
25540 * docs/gst/tmpl/gsturihandler.sgml:
25541 * docs/gst/tmpl/gsturitype.sgml:
25542 * docs/gst/tmpl/gstutils.sgml:
25543 * docs/gst/tmpl/gstxml.sgml:
25548 * gst/gsturitype.c:
25551 inlined more docs, fixed double id-ref
25553 2005-08-31 Wim Taymans <wim@fluendo.com>
25555 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25556 (gst_base_transform_handle_buffer):
25557 Passthrough elements don't need the caps as they don't care.
25559 2005-08-31 Wim Taymans <wim@fluendo.com>
25561 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25562 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25563 Don't leak refcounts on buffers.
25565 2005-08-31 Wim Taymans <wim@fluendo.com>
25567 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25568 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25569 (gst_base_transform_chain), (gst_base_transform_change_state):
25570 * gst/base/gstbasetransform.h:
25571 Handle the case where we are not negotiated more gracefully.
25573 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25575 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25576 (gst_file_src_map_region):
25577 Set READONLY flag on mmap'ed buffers, otherwise
25578 gst_buffer_make_writable() won't work properly (#314708).
25580 2005-08-31 Wim Taymans <wim@fluendo.com>
25582 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25583 passthrough elements can even do inplace on non writable
25584 buffers (as they don't touch them).
25586 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25588 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25589 (gst_test_mono_source_set_property),
25590 (gst_test_mono_source_class_init), (GST_START_TEST),
25591 (gst_controller_suite):
25592 more tests (hehe I have the most)
25594 describe popping messages whenusing mulltiple sources
25595 * libs/gst/controller/gst-controller.c:
25596 (gst_controlled_property_set_interpolation_mode),
25597 (gst_controlled_property_new):
25598 * libs/gst/controller/gst-controller.h:
25599 * libs/gst/controller/gst-interpolation.c:
25600 implement boolean properties
25602 2005-08-31 Wim Taymans <wim@fluendo.com>
25604 * gst/gstminiobject.c: (gst_mini_object_ref):
25605 Cannot assert that the refcount has to be positive
25606 since a disposed object can be resurrected.
25608 2005-08-31 Wim Taymans <wim@fluendo.com>
25610 * gst/gstpad.c: (gst_pad_init):
25611 Revert change, need to first fix badly behaving
25614 2005-08-30 Wim Taymans <wim@fluendo.com>
25616 * check/elements/fakesrc.c: (setup_fakesrc):
25617 * check/elements/identity.c: (setup_identity):
25618 Activate pads before using them.
25620 2005-08-30 Wim Taymans <wim@fluendo.com>
25622 * gst/base/gstadapter.c: (gst_adapter_flush):
25623 Flushing out 0 bytes is ok for this function.
25625 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25626 no newsegment gives a warning and sets the start/stop to
25629 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25630 (gst_base_transform_set_passthrough):
25633 * gst/gstminiobject.c: (gst_mini_object_ref):
25634 Check refcount here too.
25636 * gst/gstpad.c: (gst_pad_init):
25637 Pads are initially flushing and refusing data.
25639 * gst/gstutils.c: (gst_element_link_pads_filtered):
25640 When adding a capsfilter element make sure it has the
25641 same state as the parent bin.
25643 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25645 * docs/gst/tmpl/.cvsignore:
25646 * docs/gst/tmpl/gstformat.sgml:
25647 * docs/gst/tmpl/gstversion.sgml:
25651 * gst/gstversion.h.in:
25652 more docs and two more inlined
25654 2005-08-30 Wim Taymans <wim@fluendo.com>
25656 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25657 Don't sync to clock.
25659 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25661 * docs/gst/gstreamer-sections.txt:
25662 ultral33t func10ns deserve to appear in the docs actually
25663 * docs/gst/tmpl/.cvsignore:
25664 * docs/gst/tmpl/gstcompat.sgml:
25665 * docs/gst/tmpl/gstconfig.sgml:
25666 * gst/check/gstcheck.c:
25668 * gst/gstconfig.h.in:
25671 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25673 * docs/gst/tmpl/.cvsignore:
25674 * docs/gst/tmpl/gstquery.sgml:
25675 * docs/gst/tmpl/gstutils.sgml:
25678 inlined and extended docs
25680 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25682 * check/gst-libs/controller.c: (GST_START_TEST),
25683 (gst_controller_suite):
25685 * docs/gst/tmpl/gstutils.sgml:
25686 * docs/libs/gstreamer-libs-sections.txt:
25687 * docs/libs/tmpl/gstdataprotocol.sgml:
25689 * examples/controller/audio-example.c: (main):
25690 controller example works now
25693 * tools/gst-inspect.c: (print_element_properties_info):
25694 show param spec flags
25696 2005-08-29 Andy Wingo <wingo@pobox.com>
25698 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25700 2005-08-28 Andy Wingo <wingo@pobox.com>
25702 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25703 as having two arguments instead of just one. Allows superclasses
25704 to access information on subclasses -- see the terrible for() loop
25705 in gtype.c:g_type_create_instance for the reason why. All callers
25708 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25710 * docs/design/part-messages.txt:
25712 * docs/gst/tmpl/.cvsignore:
25713 * docs/gst/tmpl/gstcaps.sgml:
25714 * docs/gst/tmpl/gstclock.sgml:
25720 * gst/gstmessage.c:
25721 added descriptions for bus and message
25722 inline caps and clock docs
25724 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25726 * gst/gstmessage.c:
25727 * gst/gstmessage.h:
25730 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25732 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25735 2005-08-26 Andy Wingo <wingo@pobox.com>
25737 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25738 element_set_state's return val.
25739 (test_2_elements): Add test that's been disabled for months.
25741 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25742 can-activate-pull properties.
25744 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25745 can-activate-pull properties. Implement is_seekable so fakesrc can
25746 operate in pull mode.
25748 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25750 (gst_base_sink_activate, gst_base_sink_activate_pull)
25751 (gst_base_sink_activate_push): Make activation mode choosing work.
25753 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25754 is right. Make pull mode work. Post an eos before pausing in pull
25756 (gst_base_sink_change_state): Pay attention to the core's
25757 change_state() return val.
25759 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25760 has-getrange properties. Cleanups.
25762 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25763 has_getrange and replace with can_activate_pull and
25766 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25767 locking comments. Remove has_loop, has_chain and replace with
25768 can_activate_pull and can_activate_push.
25770 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
25773 * examples/Makefile.am:
25774 * examples/metadata/Makefile.am:
25775 * examples/metadata/read-metadata.c: (message_loop),
25776 (have_pad_handler), (make_pipeline), (print_tag), (main):
25777 Add metadata reading example that loops over a list of filenames,
25778 dumping any tags found.
25780 * gst/gstbus.c: (gst_bus_dispose):
25781 * gst/gstelement.c: (gst_element_dispose):
25782 Release a few potentially-held references in dispose.
25784 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25786 * docs/gst/tmpl/gstminiobject.sgml:
25787 do *not* add tmpl/*.sgml files to CVS!
25789 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25791 * libs/gst/bytestream/.cvsignore:
25792 * libs/gst/bytestream/Makefile.am:
25793 * libs/gst/bytestream/adapter.c:
25794 * libs/gst/bytestream/adapter.h:
25795 * libs/gst/bytestream/bytestream.c:
25796 * libs/gst/bytestream/bytestream.h:
25797 * libs/gst/bytestream/filepad.c:
25798 * libs/gst/bytestream/filepad.h:
25799 removing obsolete files
25801 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25803 * docs/gst/gstreamer-docs.sgml:
25804 * docs/libs/gstreamer-libs-docs.sgml:
25805 disabed additional index entries again, as this makes docs-gen just
25806 slow and they aren't useful yet
25807 * docs/libs/gstreamer-libs-sections.txt:
25808 little -section.txt cleanup for libs
25810 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
25812 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25813 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25814 fix up some debugging
25815 (gst_base_transform_get_unit_size),
25816 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25817 (gst_base_transform_handle_buffer):
25818 * gst/base/gstbasetransform.h:
25819 handle and store timed NEWSEGMENT events so that subclasses that
25820 calculate time by counting samples have a segment_start time they
25821 need to add to their timestamps - see audioresample
25823 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25826 removed ';' from the end of macro defs
25827 * docs/gst/gstreamer-docs.sgml:
25828 * docs/gst/gstreamer-sections.txt:
25829 * docs/gst/tmpl/.cvsignore:
25831 * gst/gstelement.c: (gst_element_class_init),
25832 (gst_element_set_state), (activate_pads),
25833 (gst_element_save_thyself):
25834 * gst/gstevent.c: (gst_event_new_newsegment):
25836 * gst/gstiterator.c:
25837 * gst/gstiterator.h:
25840 * gst/gstutils.c: (gst_pad_query_convert):
25842 fixed parameter name mismatches between source, header and docs
25843 added some more docs, resolved the last batch of unused elements in
25844 docs (now someone needs to doc them)
25846 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25848 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25849 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25850 don't walk through the plugins backwards. Where is all this
25851 reversed logic coming from ?
25853 2005-08-25 Wim Taymans <wim@fluendo.com>
25855 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25856 (gst_base_transform_transform_size),
25857 (gst_base_transform_configure_caps),
25858 (gst_base_transform_get_unit_size),
25859 (gst_base_transform_buffer_alloc),
25860 (gst_base_transform_change_state):
25861 * gst/base/gstbasetransform.h:
25862 Cache caps unit_size.
25863 Make sure we cannot negotiate up and downstream at the
25866 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25868 * gst/gst.c: (init_pre), (init_post):
25869 register the installed plugin path after the env var
25870 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
25871 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
25872 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
25873 directories, so the tests can prefer uninstalled over installed
25875 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25877 * gst/base/gstbasetransform.h:
25882 2005-08-25 Wim Taymans <wim@fluendo.com>
25884 * gst/gstbin.c: (bin_bus_handler):
25885 Be a bit more conservative about the posted message.
25887 * gst/gstbus.c: (gst_bus_post):
25888 Some cleanups, warn wrong return values.
25890 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
25892 * check/gst/gstbin.c: (GST_START_TEST):
25893 * gst/gstbin.c: (bin_bus_handler):
25894 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25895 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25896 (gst_message_new_warning), (gst_message_new_tag),
25897 (gst_message_new_state_changed), (gst_message_new_segment_start),
25898 (gst_message_new_segment_done), (gst_message_new_custom):
25899 * gst/gstmessage.h:
25900 * tools/gst-launch.c: (event_loop):
25901 * tools/gst-md5sum.c: (event_loop):
25902 Revert unpopular change for GST_MESSAGE_SRC to GObject.
25904 2005-08-25 Wim Taymans <wim@fluendo.com>
25906 * check/generic/states.c: (GST_START_TEST):
25907 Cleanup can be done at the end.
25909 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
25910 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25911 (gst_task_get_state), (gst_task_start), (gst_task_pause):
25912 Oh boy.. Thanks for finding this, Thomas.
25914 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25916 * docs/gst/gstreamer.types:
25917 added missing types
25919 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25921 * docs/gst/gstreamer-docs.sgml:
25922 * docs/gst/gstreamer-sections.txt:
25923 * docs/gst/tmpl/.cvsignore:
25925 * gst/gstiterator.c:
25927 * gst/registries/gstxmlregistry.h:
25928 added missing classes and symbols (123 more to go)
25929 removed removed symbols from section file
25930 fixed many doc-comments
25932 2005-08-24 Wim Taymans <wim@fluendo.com>
25934 * check/generic/states.c: (GST_START_TEST):
25935 Make sure all tasks are stopped.
25937 * check/gst/gstbin.c: (GST_START_TEST):
25938 Unref after usage for proper valgrinding.
25940 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
25941 Really wait for the task to stop before destroying the
25944 * gst/gstqueue.c: (gst_queue_sink_activate_push),
25945 (gst_queue_src_activate_push):
25946 Small cleanups. Don't stop the task when we did not start
25949 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
25950 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25951 (gst_task_get_state), (gst_task_start), (gst_task_pause),
25954 Protect the stream lock with the object lock.
25955 Disallow setting the stream lock when running.
25956 Add cleanup_all to wait for the threadpool to finish.
25957 Remove code to autoallocate a mutex if none was provided.
25958 Add _join() to wait for a task to stop.
25959 Protect the thread pool with a global lock.
25961 2005-08-24 Wim Taymans <wim@fluendo.com>
25963 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25964 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25965 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
25966 * gst/base/gstbasesink.h:
25967 Handle newsegment events correctly.
25968 Drop buffers out of the segment range.
25970 2005-08-22 Andy Wingo <wingo@pobox.com>
25972 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
25973 macro, implements an interface and gstimplementsinterface for a
25976 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
25978 * check/Makefile.am:
25979 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
25980 add a test that does a bunch of state changes on elements
25981 needs some fixing for valgrind
25982 * check/states/sinks.c: (gst_object_suite):
25985 add prototype for gst_caps_is_equal_fixed
25987 * gst/gstregistrypool.c:
25990 2005-08-24 Andy Wingo <wingo@pobox.com>
25992 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
25993 convert a negative value. Doesn't make much sense. Mostly this is
25994 here to force callers to ensure -1 maps to -1.
25996 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
25998 * docs/pwg/advanced-types.xml:
25999 Well done to Michael for catching my deliberate introduction
26000 of this spelling mistake.
26001 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26002 * gst/gstelement.h:
26003 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26004 unlink pads before removing the element from the bin.
26006 2005-08-24 Andy Wingo <wingo@pobox.com>
26008 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26009 the same thing as GST_DEBUG=*:4.
26010 (parse_debug_level, parse_debug_category): New helper parsers.
26012 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26014 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26015 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26016 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26017 (gst_base_transform_buffer_alloc),
26018 (gst_base_transform_handle_buffer):
26019 use gboolean return values and pointers to size so we can use the
26020 full GST_BUFFER_SIZE range (guint) for buffer sizes
26021 use GstPadDirection for transform_caps
26022 * gst/base/gstbasetransform.h:
26023 rename get_size to get_unit_size since that's what it is
26024 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26025 use GstPadDirection for transform_caps
26026 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26028 cleanup and debugging
26030 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26032 * gst/gstelement.c: (gst_element_class_init),
26033 (gst_element_set_state), (activate_pads),
26034 (gst_element_save_thyself):
26035 * tools/gst-compprep.c: (main):
26036 * tools/gst-inspect.c: (print_element_properties_info):
26037 * tools/gst-xmlinspect.c: (print_element_properties):
26038 Fixed long standing mem-leak
26040 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26042 * check/gst/gstbin.c: (GST_START_TEST):
26043 * gst/gstbin.c: (bin_bus_handler):
26044 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26045 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26046 (gst_message_new_warning), (gst_message_new_tag),
26047 (gst_message_new_state_changed), (gst_message_new_segment_start),
26048 (gst_message_new_segment_done), (gst_message_new_custom):
26049 * gst/gstmessage.h:
26050 * tools/gst-launch.c: (event_loop):
26051 * tools/gst-md5sum.c: (event_loop):
26052 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26053 that applications can sensibly post custom messages with references
26054 to their own objects.
26056 2005-08-24 Andy Wingo <wingo@pobox.com>
26058 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26061 2005-08-24 Wim Taymans <wim@fluendo.com>
26063 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26064 (gst_base_transform_transform_caps),
26065 (gst_base_transform_transform_size),
26066 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26067 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26068 (gst_base_transform_handle_buffer):
26069 * gst/base/gstbasetransform.h:
26070 Many fixes and new features added by Thomas. Can now also do
26071 transforms with variable sizes and a custom fixate_caps function.
26073 2005-08-24 Wim Taymans <wim@fluendo.com>
26075 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26079 Cast to ClockTime before formatting to time.
26084 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26086 * check/gst-libs/controller.c: (GST_START_TEST),
26087 (gst_controller_suite):
26088 * docs/gst/tmpl/gstcaps.sgml:
26089 * docs/gst/tmpl/gstghostpad.sgml:
26090 * docs/gst/tmpl/gstquery.sgml:
26091 * docs/gst/tmpl/gstutils.sgml:
26092 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26093 (gst_object_sink_values), (gst_object_get_value_arrays),
26094 (gst_object_get_value_array):
26095 gracefully handle helper method calls to objects that are not beeing
26096 controlled, added test case for that
26098 2005-08-23 Wim Taymans <wim@fluendo.com>
26100 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26101 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26102 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26103 (gst_event_parse_qos), (gst_event_new_seek),
26104 (gst_event_parse_seek):
26106 Some more debugging output and doc cleanups.
26108 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26109 Fix possible deadlock.
26111 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26113 * docs/gst/gstreamer-docs.sgml:
26114 * docs/gst/gstreamer-sections.txt:
26115 * docs/gst/gstreamer.types:
26116 * docs/gst/tmpl/.cvsignore:
26119 * gst/gstelement.c:
26121 added 100 symbols from gstreamer-unused.txt to the right sections
26122 fixed more broken comments
26123 added GstBus to docs
26125 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26127 * docs/gst/gstreamer-sections.txt:
26128 * docs/gst/tmpl/.cvsignore:
26129 * docs/gst/tmpl/gstbin.sgml:
26130 * docs/gst/tmpl/gstbuffer.sgml:
26131 * gst/base/gstbasesrc.c:
26132 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26135 * tools/gst-launch.1.in:
26136 inlined more doc comments, added missing comments and fixed comments
26139 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26141 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26145 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26147 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26148 * gst/gststructure.h:
26149 add a fixate function for booleans; add a FIXME that these func
26150 names should probably be gst_structure_fixate_*
26152 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26154 * docs/gst/gstreamer-docs.sgml:
26155 * docs/gst/gstreamer-sections.txt:
26157 * gst/gstbin.c: (gst_bin_get_type),
26158 (gst_bin_child_proxy_get_child_by_index),
26159 (gst_bin_child_proxy_get_children_count),
26160 (gst_bin_child_proxy_init):
26161 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26162 (gst_child_proxy_get_child_by_index),
26163 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26164 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26165 (gst_child_proxy_get), (gst_child_proxy_set_property),
26166 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26167 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26168 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26169 * gst/gstchildproxy.h:
26170 * gst/parse/grammar.y:
26171 * tools/gst-inspect.c: (print_interfaces),
26172 (print_element_properties_info), (print_element_info):
26173 ported gstchildproxy over from 0.8
26174 ported gst-inspect fixes and enhancements over from 0.8
26176 2005-08-22 Wim Taymans <wim@fluendo.com>
26178 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26179 (gst_base_transform_handle_buffer):
26180 Also call the transform function if we have ANY caps.
26182 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26185 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26187 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26188 Don't pretend to handle seek events if the source is not seekable
26190 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26192 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26193 Remove extra parameter to debug output
26195 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26196 (gst_base_src_do_seek), (gst_base_src_activate_push):
26197 Fix seek event handling.
26199 * gst/gstpipeline.c: (gst_pipeline_change_state):
26200 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26201 (gst_queue_src_activate_push):
26202 Don't start the src pad task on FLUSH_STOP if the pad
26206 2005-08-22 Wim Taymans <wim@fluendo.com>
26208 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26209 Added check for gst_static_caps_get() refcounting.
26211 2005-08-22 Wim Taymans <wim@fluendo.com>
26213 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26214 Make _static_caps_get() refcounting sane.
26216 * gst/gstelement.c: (gst_element_set_state):
26217 Add g_return_val_if_fail() to protect against segfaults.
26219 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26221 * docs/gst/tmpl/gstevent.sgml:
26224 inlined remaining docs, added missing doc comments
26226 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26228 * check/gst/gstbin.c: (GST_START_TEST):
26229 since we don't know when preroll is done, use refcount range
26231 * gst/check/gstcheck.h:
26232 add macro for checking refcount range
26234 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26236 * check/Makefile.am:
26237 clean up environment for when registry gets built versus
26238 when actual tests are run; valgrind seems to not report
26239 leaks if GST_PLUGIN_PATH is set to some specific values
26240 * check/gst/gstbin.c: (GST_START_TEST):
26241 add more refcounting checks; maybe this exposes a
26243 * common/check.mak:
26244 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26245 * gst/check/gstcheck.h:
26246 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26247 (gst_bin_change_state):
26248 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26249 add/fix debugging/whitespace
26251 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26253 * check/gst/gstevent.c: (event_probe), (test_event),
26255 Er, don't call gst_bin_watch_for_state_change you idiot.
26257 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26259 * check/Makefile.am:
26260 Use CHECK_CFLAGS and CHECK_LIBS
26261 * check/gst/gstevent.c: (event_probe), (test_event),
26264 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26265 (gst_base_src_start), (gst_base_src_stop),
26266 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26267 (gst_base_src_change_state):
26268 Sprinkle gst_base_src_stop liberally around error paths to fix
26269 problems reusing a source after failed state changes.
26270 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26271 (helper_find_suggest), (gst_type_find_helper):
26272 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26274 * docs/gst/tmpl/gstevent.sgml:
26275 Migrate part of the docs from the SGML file. Wait for ensonic to
26276 tell me how I did it wrong ;)
26277 * tools/gst-typefind.c: (main):
26278 Extra robustness to state changes between files.
26280 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26282 * check/Makefile.am:
26283 don't valgrind the controller test - it's leaking - Stefan, HELP
26284 * gst/check/gstcheck.c: (gst_check_message_error),
26285 (gst_check_chain_func), (gst_check_setup_element),
26286 (gst_check_teardown_element), (gst_check_setup_src_pad),
26287 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26288 (gst_check_teardown_sink_pad):
26289 * gst/check/gstcheck.h:
26290 add a bunch of methods to set up elements, and src and sink pads
26291 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26292 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26295 * gst/gstmessage.c:
26297 whitespace/doc fixes
26299 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26301 * gst/gstelement.h:
26302 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26303 be handled by the application and not always printed as well
26305 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26307 * check/Makefile.am:
26309 * gst/check/gstcheck.c: (gst_check_message_error):
26310 * gst/check/gstcheck.h:
26311 add a fail_unless_equals_int
26312 add fail_unless for error messages
26314 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26316 * check/Makefile.am:
26318 * common/Makefile.am:
26319 * common/check.mak:
26321 factor out some of the common stuff so we can use it
26323 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26325 * check/Makefile.am:
26326 * check/gst/gstiterator.c: (GST_START_TEST):
26327 * check/gst/gstsystemclock.c: (GST_START_TEST),
26328 (gst_systemclock_suite):
26329 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26331 valgrind more tests
26333 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26335 * check/elements/.cvsignore:
26336 * check/elements/gstfakesrc.c:
26337 rename to name of element
26338 * check/elements/identity.c: (chain_func), (event_func),
26339 (setup_identity), (cleanup_identity), (GST_START_TEST),
26340 (identity_suite), (main):
26341 add a test for identity
26342 * check/Makefile.am:
26343 * pkgconfig/Makefile.am:
26344 * pkgconfig/gstreamer-check.pc.in:
26345 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26349 move the check stuff to a library that gets installed
26350 * check/gst-libs/controller.c: (GST_START_TEST):
26351 * check/gst-libs/gdp.c:
26352 * check/gst/gst.c: (GST_START_TEST):
26353 * check/gst/gstbin.c:
26354 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26355 * check/gst/gstbus.c:
26356 * check/gst/gstcaps.c: (GST_START_TEST):
26357 * check/gst/gstelement.c:
26358 * check/gst/gstghostpad.c:
26359 * check/gst/gstiterator.c:
26360 * check/gst/gstmessage.c:
26361 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26362 * check/gst/gstobject.c:
26363 * check/gst/gstpad.c: (GST_START_TEST):
26364 * check/gst/gststructure.c: (GST_START_TEST):
26365 * check/gst/gstsystemclock.c: (GST_START_TEST),
26366 (gst_systemclock_suite):
26367 * check/gst/gsttag.c: (gst_tag_suite):
26368 * check/gst/gstvalue.c:
26369 * check/pipelines/cleanup.c:
26370 * check/pipelines/simple_launch_lines.c:
26371 * check/states/sinks.c:
26372 change include statement
26374 * docs/gst/gstreamer-sections.txt:
26375 * docs/gst/tmpl/gstpad.sgml:
26376 document more pad stuff
26377 * gst/gstminiobject.c: (gst_mini_object_ref),
26378 (gst_mini_object_unref):
26381 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26383 * docs/gst/tmpl/gst.sgml:
26385 eliminate another tmpl file, fix spelling in the long-description
26387 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26389 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26390 (test_event), (timediff), (gstevents_suite):
26391 Should fix build on 64-bit arch's
26393 2005-08-18 Andy Wingo <wingo@pobox.com>
26395 Make sure that when a pipeline goes to PLAYING, that data has
26396 actually hit the sink.
26398 * check/states/sinks.c (test_sink): A sink that doesn't get any
26399 data shouldn't return SUCCESS for going to either PLAYING or
26400 PAUSED. Test also the return values on the way back down.
26402 * gst/gstelement.c (gst_element_set_state): When changing the
26403 state of an element currently changing state asynchronously, go to
26404 lost-state after commiting the pending state. Makes future calls
26405 to get_state continue to return ASYNC.
26407 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26408 ASYNC when going to PLAYING if we still don't have preroll, as can
26409 happen with live sources.
26411 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26413 * docs/pwg/advanced-types.xml:
26414 Hack long paragraph into 2 chunks as a workaround for buggy
26415 jadetex version in sid and breezy that loops infinitely and
26418 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26420 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26421 (test_event), (timediff), (gstevents_suite):
26422 Provide more error margin in clock measurements to allow for
26423 g_get_current_time inaccuracies.
26425 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26427 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26428 (test_event), (timediff), (gstevents_suite):
26429 Fix error message output so I might be able to tell why the
26430 test works here but fails on the build farm.
26432 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26434 * check/Makefile.am:
26435 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26436 (test_event), (timediff), (gstevents_suite), (main):
26439 * docs/design/part-seeking.txt:
26440 Spelling correction
26442 * docs/gst/tmpl/gstevent.sgml:
26443 * docs/gst/tmpl/gstfakesrc.sgml:
26446 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26447 Treat a buffer-without-newsegment the same as a receiving
26448 a newsegment not in time format, and disable syncing to the clock
26451 * gst/gstbus.c: (gst_bus_set_sync_handler):
26452 Assert if anyone tries to replace the existing sync_handler for bus,
26453 as only the owner should be setting it.
26456 Have a fixed set of custom event enums with events identified by
26457 their structure name (as in 0.8), rather than a free-for-all
26458 allowing collisions between enum values from different plugins.
26460 * gst/gstpad.c: (gst_pad_class_init):
26463 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26464 Handle out-of-band downstream events from the sending thread.
26466 2005-08-17 Andy Wingo <wingo@pobox.com>
26468 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26469 play-timeout==0 to mean no timeout at all. In that case, don't
26470 bother with a get_state or a warning, just return directly, even
26473 * gst/base/gstbasetransform.c: Debug changes.
26476 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26477 ensure bins post state change messages. A bit of a hack but I can't
26478 think of a way to avoid it.
26480 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26482 2005-08-16 Andy Wingo <wingo@pobox.com>
26484 * gst/base/gstadapter.h:
26485 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26486 peek() but you own the data. Not terribly efficient atm.
26488 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26490 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26491 (gst_element_found_tags):
26493 Add two utility functions for tag handling.
26495 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26497 * docs/manual/advanced-dataaccess.xml:
26498 * docs/manual/basics-helloworld.xml:
26499 Fix docs to use _bin_add() before _link(), which fixes the examples
26500 with recent core versions (reported by Madhan Raj M
26501 <raj_madan@rediffmail.com>, #313199).
26503 2005-08-16 Wim Taymans <wim@fluendo.com>
26505 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26506 Added subtract checks.
26508 * docs/design/part-events.txt:
26509 Some more docs about newsegment
26511 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26514 * gst/gstcaps.c: (gst_caps_to_string):
26515 Add comments, cleanups.
26517 * gst/gstelement.c: (gst_element_save_thyself):
26520 * gst/gstvalue.c: (gst_value_collect_int_range),
26521 (gst_string_unwrap), (gst_value_union_int_int_range),
26522 (gst_value_union_int_range_int_range),
26523 (gst_value_intersect_int_int_range),
26524 (gst_value_intersect_int_range_int_range),
26525 (gst_value_intersect_double_double_range),
26526 (gst_value_intersect_double_range_double_range),
26527 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26528 (gst_value_subtract_int_range_int),
26529 (gst_value_subtract_double_range_double),
26530 (gst_value_subtract_double_range_double_range),
26531 (gst_value_subtract_from_list), (gst_value_subtract_list),
26532 (gst_value_can_compare), (gst_value_compare_fraction):
26533 Cleanups, add comments, remove unneeded asserts.
26535 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26537 * tools/gst-launch.c: (event_loop):
26538 don't convert NULL structures to strings
26540 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26542 * docs/gst/gstreamer-sections.txt:
26543 made some defines private
26544 * docs/gst/tmpl/gstconfig.sgml:
26545 * docs/gst/tmpl/gstqueue.sgml:
26546 * docs/gst/tmpl/gsttaglist.sgml:
26547 * docs/gst/tmpl/gsttypes.sgml:
26548 * docs/gst/tmpl/gstutils.sgml:
26549 * docs/pwg/appendix-porting.xml:
26550 * gst/base/gstbasesink.h:
26551 * gst/base/gstbasesrc.c:
26552 * gst/base/gstbasesrc.h:
26553 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26554 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26555 * gst/gstelement.c: (gst_element_class_init):
26556 * gst/gstpad.c: (gst_pad_class_init):
26557 * gst/gstqueue.c: (gst_queue_class_init):
26558 * gst/gstxml.c: (gst_xml_class_init):
26559 documented all undocumented signal inline
26560 * libs/gst/controller/gst-controller.h:
26563 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26565 * docs/pwg/appendix-porting.xml:
26566 Document _set_link_function -> _set_setcaps_function.
26568 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26570 * check/Makefile.am:
26571 add a .check target for running the check
26572 * check/gst-libs/controller.c: (GST_START_TEST):
26574 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26575 complete checks for gstbuffer; would be nice if I could get the
26576 gcov stuff to work so I can see if I actually completed gstbuffer.c
26577 * check/gstcheck.h:
26578 add ASSERT_BUFFER_REFCOUNT
26580 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26582 * docs/gst/gstreamer-sections.txt:
26583 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26585 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26586 spew out a warning if a tag that is already registered
26587 is re-registered, unless it is re-registered with a
26588 different type (#308438).
26590 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26592 * docs/pwg/appendix-porting.xml:
26593 * docs/pwg/building-state.xml:
26594 Add some paragraphs about state changes in 0.9 to the PWG
26595 and the porting guide, in particular about the new meaning
26596 of GST_STATE_PAUSED and how to write state change functions
26597 with concurrent access by multiple threads in mind.
26599 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26601 * docs/gst/gstreamer-docs.sgml:
26602 * docs/libs/gstreamer-libs-docs.sgml:
26603 added deprecation and since indexes
26604 * libs/gst/controller/gst-controller.c:
26605 * libs/gst/controller/gst-helper.c:
26609 2005-08-11 Wim Taymans <wim@fluendo.com>
26611 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26612 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26613 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26614 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26615 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26616 (gst_ghost_pad_set_target):
26617 Actually implement (re)setting the target on a ghostpad
26618 as described in the docs.
26620 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26622 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26623 Check whether GST_DEBUG_NO_COLOR environment variable is
26624 set and disable coloured debug output if that is the case.
26626 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26628 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26629 (gst_type_find_helper):
26630 The memory returned by gst_type_find_peek() needs to
26631 stay valid until the end of a typefind function, and
26632 typefind functions may keep results from different
26633 offsets around, so we can't just unref the buffer from
26634 the previous _peek(), but have to save all buffers
26635 returned by _peek() until typefinding is done and only
26638 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26640 * docs/gst/gstreamer-sections.txt:
26642 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26644 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26646 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26647 Fix a pretty good memleak.
26649 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26651 * gst/gstiterator.h:
26652 Fix wrong include and 'make distcheck'.
26654 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26656 * gst/gstbin.c: (bin_bus_handler):
26657 Use gst_element_post_message() instead.
26659 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26661 * gst/base/gstadapter.h:
26662 * gst/base/gstbasesink.h:
26663 * gst/base/gstbasesrc.h:
26664 * gst/base/gstbasetransform.h:
26665 * gst/base/gstcollectpads.h:
26666 * gst/base/gstpushsrc.h:
26667 * gst/gstiterator.h:
26668 Add padding to our base elements' class and instance structs and
26669 to GstIterator (you will need to rebuild all plugins and apps!)
26671 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26673 * gst/gstbin.c: (bin_bus_handler):
26674 Make default message forwarding from child->bus to bin->bus
26675 threadsafe and make it not emit warnings if the parent has no bus.
26677 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26679 * gst/gstelement.c: (activate_pads):
26680 On paused->ready, set pad->caps to NULL, as is the documented
26681 behaviour in this state change. Fixes playback of series of
26682 media files when visualization is enabled in Totem.
26684 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26686 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26687 Allow NULL as filter-caps (which means "any").
26689 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26691 * docs/libs/gstreamer-libs-sections.txt:
26692 * libs/gst/controller/gst-controller.c:
26693 * libs/gst/controller/gst-controller.h:
26694 * libs/gst/controller/gst-helper.c:
26695 adding more entries to the docs and fix small doc-bugs
26697 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26699 * docs/gst/gstreamer-docs.sgml:
26700 * docs/gst/gstreamer-sections.txt:
26701 * docs/gst/gstreamer.types:
26702 * docs/gst/tmpl/gstbasesink.sgml:
26703 * docs/gst/tmpl/gstbasesrc.sgml:
26704 * docs/gst/tmpl/gstbasetransform.sgml:
26705 * docs/gst/tmpl/gstfakesrc.sgml:
26706 * gst/base/gstcollectpads.c:
26707 * gst/base/gstcollectpads.h:
26708 * libs/gst/controller/gst-controller.c:
26709 * libs/gst/controller/gst-controller.h:
26710 * libs/gst/controller/gst-helper.c:
26711 * libs/gst/controller/gst-interpolation.c:
26712 * libs/gst/controller/lib.c:
26713 added long/short desc for controller docs
26714 added collectpads base class docs
26715 added correct includes to base-class docs
26717 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26719 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26720 (gst_test_mono_source_set_property),
26721 (gst_test_mono_source_class_init), (GST_START_TEST),
26722 (gst_controller_suite):
26723 * docs/gst/gstreamer-docs.sgml:
26724 * docs/gst/gstreamer-sections.txt:
26725 * docs/gst/gstreamer.types:
26726 * docs/libs/gstreamer-libs-docs.sgml:
26727 * docs/libs/gstreamer-libs-sections.txt:
26728 * gst/base/gstadapter.c:
26729 * libs/gst/controller/gst-controller.c:
26730 (gst_controlled_property_new), (gst_controlled_property_free),
26731 (gst_controller_new_valist),
26732 (gst_controller_remove_properties_valist),
26733 (gst_controller_sink_values), (_gst_controller_finalize):
26734 * libs/gst/controller/gst-controller.h:
26735 * libs/gst/controller/gst-helper.c:
26736 (gst_object_control_properties), (gst_object_uncontrol_properties),
26737 (gst_object_get_controller), (gst_object_set_controller),
26738 (gst_object_sink_values), (gst_object_get_value_arrays),
26739 (gst_object_get_value_array):
26740 more tests (and fixes) for the controller
26741 more docs for the controller
26742 integrated companies docs for the adapter
26744 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26746 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26747 (GST_START_TEST), (fakesrc_suite):
26748 add tests for sizetype
26750 2005-08-04 Andy Wingo <wingo@pobox.com>
26752 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26753 fixes buffer_alloc proxying among other things.
26755 * gst/base/gstbasetransform.c:
26756 * gst/base/gstbasetransform.h:
26757 Revert patch to gstbasetransform from 7-28 removing
26760 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26761 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26762 Semantics changed, should return not the size of the output buffer
26763 but the byte size of a buffer with a given caps.
26765 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26767 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26768 out) are not the pad caps until setcaps finishes.
26769 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26770 not-in-place case as well. Deal with changing from in-place to
26771 not-in-place within calling pad_alloc_buffer. Still a bit
26772 concerned about the overhead here...
26774 2005-08-03 Andy Wingo <wingo@pobox.com>
26776 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26777 fixating is an error.
26779 2005-08-04 Edward Hervey <edward@fluendo.com>
26781 * gst/base/gstadapter.h:
26782 Added gst_adapter_get_type() to the header
26784 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26786 * check/Makefile.am:
26787 * check/gst-libs/controller.c:
26788 * libs/gst/controller/gst-controller.c:
26789 (gst_controller_new_valist):
26790 added check test suite for the controller
26791 * gst/base/gstpushsrc.c:
26794 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26796 * docs/gst/Makefile.am:
26797 * docs/gst/gstreamer-docs.sgml:
26798 * docs/gst/gstreamer-sections.txt:
26799 * docs/gst/gstreamer.types:
26800 * docs/gst/tmpl/gstfakesrc.sgml:
26802 * gst/base/gstbasesink.c:
26803 * gst/base/gstbasesink.h:
26804 * gst/base/gstbasesrc.c:
26805 * gst/base/gstbasesrc.h:
26806 * gst/base/gstbasetransform.c:
26807 * gst/base/gstpushsrc.c:
26808 * gst/base/gstpushsrc.h:
26809 add short/long description docs to base classes
26810 add pushsrc to the docs
26811 remove consolidated doc fragments
26813 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26816 * docs/libs/Makefile.am:
26817 * docs/libs/gstreamer-libs-docs.sgml:
26818 * docs/libs/gstreamer-libs-sections.txt:
26819 * docs/libs/gstreamer-libs.types:
26820 * examples/Makefile.am:
26821 * examples/controller/.cvsignore:
26822 * examples/controller/Makefile.am:
26823 * examples/controller/audio-example.c: (main):
26824 * libs/gst/Makefile.am:
26825 * libs/gst/controller/.cvsignore:
26826 * libs/gst/controller/Makefile.am:
26827 * libs/gst/controller/gst-controller.c:
26828 (on_object_controlled_property_changed), (gst_timed_value_compare),
26829 (gst_timed_value_find),
26830 (gst_controlled_property_set_interpolation_mode),
26831 (gst_controlled_property_new), (gst_controlled_property_free),
26832 (gst_controller_find_controlled_property),
26833 (gst_controller_new_valist), (gst_controller_new),
26834 (gst_controller_remove_properties_valist),
26835 (gst_controller_remove_properties), (gst_controller_set),
26836 (gst_controller_set_from_list), (gst_controller_unset),
26837 (gst_controller_get), (gst_controller_get_all),
26838 (gst_controller_sink_values), (gst_controller_get_value_arrays),
26839 (gst_controller_get_value_array),
26840 (gst_controller_set_interpolation_mode),
26841 (_gst_controller_finalize), (_gst_controller_init),
26842 (_gst_controller_class_init), (gst_controller_get_type):
26843 * libs/gst/controller/gst-controller.h:
26844 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26845 (g_object_uncontrol_properties), (g_object_get_controller),
26846 (g_object_set_controller), (g_object_sink_values),
26847 (g_object_get_value_arrays), (g_object_get_value_array):
26848 * libs/gst/controller/gst-interpolation.c:
26849 (gst_controlled_property_find_timed_value_node),
26850 (interpolate_none_get), (interpolate_trigger_get),
26851 (interpolate_trigger_get_value_array):
26852 * libs/gst/controller/lib.c: (gst_controller_init):
26853 * pkgconfig/Makefile.am:
26854 * pkgconfig/gstreamer-control-uninstalled.pc.in:
26855 * pkgconfig/gstreamer-control.pc.in:
26856 * testsuite/Makefile.am:
26857 * testsuite/controller/.cvsignore:
26858 * testsuite/controller/Makefile.am:
26859 * testsuite/controller/interpolator.c: (main):
26860 added controller code
26861 removed dparam pc files
26863 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26864 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26865 (gst_collectpads_stop):
26866 Broadcast the condition when shutting down, to make sure we wake all
26867 threads up. Shut down pads on finalize, for safety.
26869 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26870 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26871 (gst_base_transform_handle_buffer),
26872 (gst_base_transform_change_state):
26873 Handle PAUSED->READY->PAUSED transition after negotiation
26875 * gst/gstmessage.c: (gst_message_init):
26876 Extra piece of debug for new messages.
26878 2005-08-01 Stefan Kost <ensonic@users.sf.net>
26881 * docs/gst/tmpl/gstbasesrc.sgml:
26882 * docs/gst/tmpl/gstelement.sgml:
26883 * docs/gst/tmpl/gstevent.sgml:
26884 * docs/gst/tmpl/gstfakesrc.sgml:
26885 * docs/gst/tmpl/gstformat.sgml:
26886 * docs/gst/tmpl/gstghostpad.sgml:
26887 * docs/gst/tmpl/gstpad.sgml:
26888 * docs/gst/tmpl/gstquery.sgml:
26889 * docs/gst/tmpl/gststructure.sgml:
26890 * docs/gst/tmpl/gsttaglist.sgml:
26891 * docs/gst/tmpl/gstvalue.sgml:
26892 * docs/libs/gstreamer-libs-docs.sgml:
26893 * docs/libs/gstreamer-libs-sections.txt:
26894 * docs/libs/gstreamer-libs.types:
26895 * libs/gst/Makefile.am:
26896 * libs/gst/control/.cvsignore:
26897 * libs/gst/control/Makefile.am:
26898 * libs/gst/control/control.c:
26899 * libs/gst/control/control.h:
26900 * libs/gst/control/dparam.c:
26901 * libs/gst/control/dparam.h:
26902 * libs/gst/control/dparam_smooth.c:
26903 * libs/gst/control/dparam_smooth.h:
26904 * libs/gst/control/dparamcommon.h:
26905 * libs/gst/control/dparammanager.c:
26906 * libs/gst/control/dparammanager.h:
26907 * libs/gst/control/dplinearinterp.c:
26908 * libs/gst/control/dplinearinterp.h:
26909 * libs/gst/control/unitconvert.c:
26910 * libs/gst/control/unitconvert.h:
26911 * testsuite/Makefile.am:
26912 * testsuite/dynparams/.cvsignore:
26913 * testsuite/dynparams/Makefile.am:
26914 * testsuite/dynparams/dparamstest.c:
26915 * tools/Makefile.am:
26916 * tools/gst-inspect.c: (print_element_info), (main):
26917 * tools/gst-xmlinspect.c: (print_element_info), (main):
26918 deactivate and remove dparams (libgstcontrol)
26920 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26922 * gst/elements/gsttypefindelement.c:
26923 (gst_type_find_element_have_type), (gst_type_find_element_init),
26924 (stop_typefinding), (gst_type_find_element_handle_event),
26925 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26926 * gst/elements/gsttypefindelement.h:
26927 Set caps on all outgoing buffers, not just the first one.
26929 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26931 * gst/elements/gsttypefindelement.c:
26932 (gst_type_find_element_have_type),
26933 (gst_type_find_element_check_set_buffer_caps),
26934 (gst_type_find_element_init), (stop_typefinding),
26935 (gst_type_find_element_handle_event),
26936 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26937 * gst/elements/gsttypefindelement.h:
26938 Set caps on first outgoing buffer when we've found the type.
26940 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26942 * docs/gst/gstreamer-docs.sgml:
26943 * docs/gst/gstreamer-sections.txt:
26944 * docs/gst/tmpl/gstscheduler.sgml:
26945 * docs/gst/tmpl/gstschedulerfactory.sgml:
26946 Remove some old cruft from docs.
26948 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
26951 Fix inline docs for GstPadLinkReturn.
26953 * gst/gststructure.c: (gst_structure_has_name):
26954 * gst/gststructure.h:
26955 * docs/gst/gstreamer-sections.txt:
26956 New API: gst_structure_has_name().
26958 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
26961 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
26962 and _LARGEFILE_SOURCE in config.h as required. Do not
26963 export those flags in our .pc files any longer (#142209).
26965 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
26967 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
26968 (gst_file_sink_do_seek), (gst_file_sink_event),
26969 (gst_file_sink_get_current_offset), (gst_file_sink_render):
26970 Redo seek/tell calls with large file support in mind; add some
26971 debugging messages; add log message that tells us when large
26972 file support is unavailable or not enabled for some reason.
26974 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
26975 Add log message that tells us when large file support
26976 is unavailable or not enabled for some reason.
26978 2005-07-29 Wim Taymans <wim@fluendo.com>
26980 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
26981 Added test for removing an element with ghostpad from a bin.
26982 Fixed test as current implementation does the right thing.
26984 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
26985 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
26986 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
26987 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
26988 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
26989 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
26990 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
26991 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26992 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
26993 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
26994 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
26995 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
26996 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
26997 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
26998 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
26999 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27000 * gst/gstghostpad.h:
27001 Clean up ghostpads, remove properties for internal stuff.
27004 Prepare for switching targets, not all use cases work yet.
27006 2005-07-29 Wim Taymans <wim@fluendo.com>
27008 * docs/design/part-gstghostpad.txt:
27011 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27012 (gst_bin_remove_func):
27013 Unlinking pads while holding the bin LOCK is not a good
27016 * gst/gstpad.c: (gst_pad_class_init),
27017 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27018 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27019 No prob setting template after creating the pad.
27021 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27023 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27024 (gst_bus_peek), (gst_bus_source_dispatch),
27025 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27026 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27027 gst_bus_poll may be called from other threads. Handle
27028 this nicely by not making poll_data disappear off the
27029 stack once gst_bus_poll returns.
27030 gst_bus_peek now increments the refcount on the returned
27033 2005-07-29 Wim Taymans <wim@fluendo.com>
27035 * docs/design/part-gstghostpad.txt:
27036 Overview of current GhostPad datastructures and use
27037 cases for changing the target.
27039 2005-07-28 Wim Taymans <wim@fluendo.com>
27041 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27042 Added checks for hierarchy consistency whan adding linked
27045 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27046 Added check to test element scheduling without bin/pipeline.
27048 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27049 First add elements to bin, then link.
27051 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27052 (gst_bin_remove_func):
27053 Unlink pads from elements added/removed from bin to maintain
27054 hierarchy consistency.
27056 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27058 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27059 (gst_base_transform_handle_buffer):
27060 * gst/base/gstbasetransform.h:
27061 Remove broken delay_configure (fixes renegotiation of software
27062 scaling pipelines); remove some leftover printf()s.
27064 2005-07-28 Wim Taymans <wim@fluendo.com>
27066 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27067 Added some more tests for wrong hierarchy
27069 * docs/design/part-overview.txt:
27072 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27075 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27076 (gst_element_dispose):
27077 Some more cleanups.
27079 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27080 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27081 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27082 (gst_pad_set_caps), (gst_pad_send_event):
27083 Check for correct hierarchy when linking pads. Moving to
27084 strict requirement for ghostpads when linking elements in
27088 Clean ups. Added WRONG_HIERARCHY return value.
27090 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27092 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27093 Better debug if no transform is possible.
27095 2005-07-27 Wim Taymans <wim@fluendo.com>
27097 * docs/random/wtay/network-transp:
27098 Some old doc I had.
27100 2005-07-27 Wim Taymans <wim@fluendo.com>
27102 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27103 (gst_dp_event_from_packet):
27104 Fix serialization of seek events.
27106 2005-07-27 Wim Taymans <wim@fluendo.com>
27108 * check/gst-libs/gdp.c: (GST_START_TEST):
27109 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27110 Fix compilation and fix event serialization.
27112 2005-07-27 Wim Taymans <wim@fluendo.com>
27115 * docs/design/part-TODO.txt:
27116 * docs/design/part-events.txt:
27119 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27120 (gst_base_sink_event), (gst_base_sink_do_sync),
27121 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27122 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27123 (gst_base_src_do_seek), (gst_base_src_event_handler),
27124 (gst_base_src_loop):
27125 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27126 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27127 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27128 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27129 (gst_base_transform_set_passthrough),
27130 (gst_base_transform_is_passthrough):
27131 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27132 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27138 * gst/gstelement.c: (gst_element_seek):
27139 * gst/gstelement.h:
27140 Update gst_element_seek.
27142 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27143 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27144 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27145 (gst_event_new_eos), (gst_event_new_newsegment),
27146 (gst_event_parse_newsegment), (gst_event_new_tag),
27147 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27148 (gst_event_parse_qos), (gst_event_new_seek),
27149 (gst_event_parse_seek), (gst_event_new_navigation):
27151 Make GstEvent use GstStructure. Add parsing code, make sure the
27152 API is sufficiently generic.
27153 Mark possible directions of events and serialization.
27155 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27156 (_gst_message_copy), (gst_message_new_segment_start),
27157 (gst_message_new_segment_done), (gst_message_new_custom),
27158 (gst_message_parse_segment_start),
27159 (gst_message_parse_segment_done):
27162 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27163 (gst_pad_set_caps), (gst_pad_send_event):
27164 Update for new events.
27165 Catch events sent in wrong directions.
27167 * gst/gstqueue.c: (gst_queue_link_src),
27168 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27169 (gst_queue_handle_src_query):
27174 Remove event code from this file.
27176 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27177 (gst_dp_event_from_packet):
27180 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27182 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27183 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27184 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27185 Make debugging actually useful.
27187 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27189 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27190 (gst_pad_fixate_caps):
27191 Implement default fixation once again, so that gst_pad_fixate()
27192 actually does anything at all. This probably needs to be some
27193 sort of a last resort, and use profile-based fixation first, but
27194 since that doesn't exist yet, this is the best we have. Fixes
27195 visualization in Totem.
27197 2005-07-22 Wim Taymans <wim@fluendo.com>
27199 * docs/design/part-events.txt:
27202 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27203 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27204 (gst_base_sink_activate_pull):
27205 Some more comments.
27207 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27208 (gst_fake_src_create):
27209 Fix handoff marshall.
27211 * gst/elements/gstidentity.c: (gst_identity_class_init),
27212 (gst_identity_transform_ip):
27213 We're a real inplace element.
27215 * gst/gstbus.c: (gst_bus_post):
27216 Added some comments.
27218 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27219 * tests/muxing/case1.c: (main):
27220 * tests/sched/dynamic-pipeline.c: (main):
27221 * tests/sched/interrupt1.c: (main):
27222 * tests/sched/interrupt2.c: (main):
27223 * tests/sched/interrupt3.c: (main):
27224 * tests/sched/runxml.c: (main):
27225 * tests/sched/sched-stress.c: (main):
27226 * tests/seeking/seeking1.c: (event_received), (main):
27227 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27229 * tests/threadstate/threadstate3.c: (main):
27230 * tests/threadstate/threadstate4.c: (main):
27231 * tests/threadstate/threadstate5.c: (main):
27234 2005-07-21 Wim Taymans <wim@fluendo.com>
27236 * docs/design/part-seeking.txt:
27237 Some small additions.
27239 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27240 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27241 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27242 * gst/base/gstbasesink.h:
27243 discont values are gint64, handle the math correctly.
27245 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27246 Make the basesrc report error if the source pad is not linked.
27248 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27249 (gst_queue_loop), (gst_queue_handle_src_query),
27250 (gst_queue_src_activate_push):
27251 Make queue collect data even if the srcpad is not linked.
27252 Start pushing out data as soon as it is linked.
27254 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27256 Added gst_flow_get_name() to ease error reporting.
27258 2005-07-20 Wim Taymans <wim@fluendo.com>
27260 * gst/gstmessage.c: (gst_message_new_segment_start),
27261 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27262 (gst_message_parse_segment_done):
27263 * gst/gstmessage.h:
27264 Added a bunch of messages for advanced seeking.
27266 * gst/parse/grammar.y:
27267 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27268 (gst_dpman_state_changed):
27269 Fix some new-pad -> pad-added signals
27271 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27273 * docs/manual/appendix-porting.xml:
27274 * docs/pwg/appendix-porting.xml:
27275 Document new-pad/state-change signal renames and the FixedList
27278 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27280 * docs/manual/advanced-autoplugging.xml:
27281 * docs/manual/basics-helloworld.xml:
27282 * docs/manual/basics-pads.xml:
27283 * docs/random/ds/0.9-suggested-changes:
27284 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27285 * gst/gstelement.h:
27289 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27290 (gst_structure_parse_array), (gst_structure_parse_value):
27291 * gst/gstvalue.c: (gst_type_is_fixed),
27292 (gst_value_list_prepend_value), (gst_value_list_append_value),
27293 (gst_value_list_get_size), (gst_value_list_get_value),
27294 (gst_value_transform_array_string), (gst_value_serialize_array),
27295 (gst_value_deserialize_array), (gst_value_intersect_array),
27296 (gst_value_is_fixed), (_gst_value_initialize):
27298 GstElement::new-pad -> pad-added, GstElement::state-change ->
27299 state-changed, GstValueFixedList -> GstValueArray, add format and
27300 flags as their own arguments in gst_element_seek() (should improve
27301 "bindeability"), remove function generators since they don't work
27302 under a whole bunch of compilers (they were deprecated already
27305 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27307 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27308 (_gst_debug_register_funcptr):
27310 Fix illegal cast on some platforms (#309253).
27312 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27314 * gst/gstmessage.c: (gst_message_new_custom):
27315 * gst/gstmessage.h:
27316 Add _new_custom, make _new_application a macro to _new_custom.
27318 2005-07-20 Wim Taymans <wim@fluendo.com>
27320 * gst/base/gstbasesrc.c: (gst_base_src_init),
27321 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27322 * gst/base/gstbasesrc.h:
27323 Add a gboolean to decide when to push out a discont.
27325 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27326 (gst_queue_loop), (gst_queue_handle_src_query),
27327 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27328 (gst_queue_set_property), (gst_queue_get_property):
27331 * tests/threadstate/threadstate1.c: (main):
27332 Make a thread test compile and run... very silly..
27335 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27337 * docs/manual/appendix-porting.xml:
27338 Mention removal of libgstgconf-0.9.la and existence of gconf
27341 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27343 * docs/pwg/advanced-clock.xml:
27344 * docs/pwg/appendix-porting.xml:
27345 * docs/pwg/intro-preface.xml:
27346 * docs/pwg/other-base.xml:
27347 * docs/pwg/other-manager.xml:
27348 * docs/pwg/other-nton.xml:
27349 * docs/pwg/other-ntoone.xml:
27350 * docs/pwg/other-oneton.xml:
27351 * docs/pwg/pwg.xml:
27352 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27353 demuxer), remove n-to-n (was never written), fix some code examples
27354 and links and update the porting section to include all this.
27356 2005-07-19 Wim Taymans <wim@fluendo.com>
27358 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27359 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27360 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27361 (gst_queue_src_activate_push), (gst_queue_change_state),
27362 (gst_queue_get_property):
27364 Propagate GstFlowReturn more intelligently upstream and output
27365 an ERROR/EOS when streaming stopped due to fatal error.
27367 2005-07-19 Wim Taymans <wim@fluendo.com>
27369 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27370 Don't block forever for the state change to complete, the
27371 pipeline already did with a sensible timeout.
27373 2005-07-19 Wim Taymans <wim@fluendo.com>
27375 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27376 Make sure we never call the create function is we
27379 2005-07-19 Andy Wingo <wingo@pobox.com>
27381 * gst/parse/parse.l: Attempt to solve bug #172815.
27383 2005-07-19 Wim Taymans <wim@fluendo.com>
27385 * docs/design/part-clocks.txt:
27386 * docs/design/part-events.txt:
27387 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27388 Small docs updates.
27389 Only update the seeking values when we are not
27392 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27394 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27395 Oops, ignore the result of gst_pad_push_event here.
27397 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27399 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27400 (gst_base_src_activate_push):
27401 Send discont event from the loop function, as pads
27402 aren't activated yet in the activate_push handler.
27404 * gst/gstbin.c: (bin_bus_handler):
27405 Don't leak element name.
27407 2005-07-18 Andy Wingo <wingo@pobox.com>
27409 * configure.ac: Use AS_LIBTOOL_TAGS.
27411 2005-07-18 Wim Taymans <wim@fluendo.com>
27413 * docs/gst/gstreamer.types:
27414 Remove deleted types.
27416 2005-07-18 Wim Taymans <wim@fluendo.com>
27418 * check/elements/gstfakesrc.c: (GST_START_TEST):
27421 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27422 (init_popt_callback):
27424 * gst/gst_private.h:
27425 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27426 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27429 * gst/gstconfig.h.in:
27430 * gst/gstelement.c: (gst_element_class_init),
27431 (gst_element_set_base_time), (gst_element_get_base_time),
27432 (iterator_fold_with_resync), (gst_element_change_state),
27433 (gst_element_dispose), (gst_element_get_bus):
27434 * gst/gstelement.h:
27435 * gst/gstelementfactory.h:
27436 * gst/gsterror.c: (_gst_core_errors_init):
27439 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27441 * gst/gstinfo.c: (_gst_debug_init):
27442 * gst/gstmessage.c: (_gst_message_copy):
27443 * gst/gstmessage.h:
27444 * gst/gstminiobject.h:
27447 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27448 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27451 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27452 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27453 (gst_pipeline_get_last_stream_time):
27454 * gst/gstpipeline.h:
27455 * gst/gstpluginfeature.h:
27457 * gst/gstscheduler.c:
27458 * gst/gstscheduler.h:
27459 * gst/gststructure.h:
27460 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27461 (gst_task_finalize), (gst_task_func), (gst_task_create),
27462 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27463 (gst_task_stop), (gst_task_pause):
27465 * gst/gsttypefind.h:
27467 * gst/registries/gstlibxmlregistry.c: (load_feature),
27468 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27469 * gst/registries/gstxmlregistry.c:
27470 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27471 * gst/schedulers/threadscheduler.c:
27472 * libs/gst/control/dparammanager.h:
27473 * tools/gst-inspect.c: (print_element_list),
27474 (print_plugin_features), (print_element_features):
27475 * tools/gst-xmlinspect.c: (print_element_list),
27476 (print_plugin_info), (main):
27477 Removed plugable schedulers.
27478 Removed Scheduler/Manager from elements.
27479 Removed gsttypes.h, rearranged includes.
27480 Removed dependency pad<->element, element<>pipeline, and
27481 various others, fix includes.
27482 implement gst_pad_get_parent() with gst_object_get_parent()
27483 Make GstTask sefcontained.
27484 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27486 Fix endless loop in iterator_fold_with_resync.
27489 2005-07-18 Wim Taymans <wim@fluendo.com>
27495 2005-07-18 Wim Taymans <wim@fluendo.com>
27498 No more cothreads.h
27500 2005-07-18 Wim Taymans <wim@fluendo.com>
27504 Let's remove these.
27506 2005-07-18 Wim Taymans <wim@fluendo.com>
27508 * docs/design/part-dynamic.txt:
27509 * docs/design/part-events.txt:
27510 * docs/design/part-seeking.txt:
27511 Some more docs in the works.
27513 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27514 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27515 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27516 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27517 (gst_base_transform_handle_buffer),
27518 (gst_base_transform_sink_activate_push),
27519 (gst_base_transform_src_activate_pull),
27520 (gst_base_transform_set_passthrough),
27521 (gst_base_transform_is_passthrough):
27524 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27527 * gst/gstevent.c: (gst_event_finalize):
27530 * gst/gstutils.c: (gst_element_unlink),
27531 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27532 (gst_pad_proxy_setcaps):
27534 Add _get_parent_element() to get a pads parent as an element.
27536 2005-07-18 Wim Taymans <wim@fluendo.com>
27538 * check/gst/gstbin.c: (GST_START_TEST):
27541 2005-07-18 Wim Taymans <wim@fluendo.com>
27543 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27544 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27545 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27546 (gst_base_sink_event), (gst_base_sink_do_sync),
27547 (gst_base_sink_chain), (gst_base_sink_loop),
27548 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27549 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27551 Fix logic for returning ASYNC when not prerolled.
27553 2005-07-18 Wim Taymans <wim@fluendo.com>
27555 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27556 Fix nasty refcount bug.
27558 2005-07-16 Philippe Khalaf <burger@speedy.org>
27560 * gst/elements/gstfdsrc.c:
27561 * gst/elements/gstfdsrc.h:
27562 * gst/elements/gstelements.c:
27563 * gst/elements/Makefile.am:
27564 Ported fdsrc to 0.9.
27566 2005-07-16 Wim Taymans <wim@fluendo.com>
27568 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27569 (gst_base_sink_do_sync):
27572 2005-07-16 Wim Taymans <wim@fluendo.com>
27574 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27575 (gst_base_sink_event), (gst_base_sink_get_times),
27576 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27577 * gst/base/gstbasesink.h:
27578 Store and use discont values when syncing buffers as described
27581 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27582 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27583 (gst_base_src_activate_push):
27584 Push discont event when starting.
27586 * gst/elements/gstidentity.c: (gst_identity_transform):
27589 * gst/gstbin.c: (gst_bin_change_state):
27590 Small cleanups in base_time distribution.
27592 * gst/gstelement.c: (gst_element_set_base_time),
27593 (gst_element_get_base_time), (gst_element_change_state):
27594 * gst/gstelement.h:
27595 Added methods for the base_time of the element.
27598 * gst/gstpipeline.c: (gst_pipeline_send_event),
27599 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27600 (gst_pipeline_get_last_stream_time):
27601 * gst/gstpipeline.h:
27603 Handle seeking as described in design doc, remove stream_time
27605 Cleanups clock and stream_time selection code. Added accessors
27606 for the stream_time.
27609 2005-07-16 Andy Wingo <wingo@pobox.com>
27611 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27614 2005-07-16 Wim Taymans <wim@fluendo.com>
27616 * check/gst/gstbin.c: (GST_START_TEST):
27617 Make elements silent as the deep_notify refs the
27618 parent, which might make the test fail.
27620 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27621 Don't hold the lock for too long.
27623 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27625 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27626 Don't unref the caps we passed to gst_caps_make_writable() after
27627 passing them. gst_caps_make_writable() will do that for us.
27629 2005-07-15 Andy Wingo <wingo@pobox.com>
27631 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27634 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27635 own marshalling function for the handoff signal. Properly type the
27636 buffer as a buffer. Fixes some warnings. Should do a more general
27638 (gst_identity_class_init): Plug into the right marshaller.
27640 2005-07-15 Wim Taymans <wim@fluendo.com>
27642 * docs/design/part-TODO.txt:
27643 * docs/design/part-clocks.txt:
27644 * docs/design/part-element-sink.txt:
27645 * docs/design/part-events.txt:
27646 * docs/design/part-gstpipeline.txt:
27647 Updated docs, mostly DISCONT related.
27649 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27651 * docs/pwg/building-pads.xml:
27652 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27654 2005-07-15 Andy Wingo <wingo@pobox.com>
27656 * tools/gst-typefind.c: Update, add copyright block.
27658 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27659 Normalize and truncate caps before fixation.
27662 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27663 discards all but the first structure from its argument.
27665 2005-07-15 Wim Taymans <wim@fluendo.com>
27667 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27668 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27669 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27670 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27671 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27672 (gst_base_transform_chain), (gst_base_transform_change_state),
27673 (gst_base_transform_set_passthrough),
27674 (gst_base_transform_is_passthrough):
27675 * gst/base/gstbasetransform.h:
27676 Make passthrough work using the bufferpools.
27677 Changed API a bit, subclasses have to write into a buffer
27678 provided by the base class.
27679 More debug info in nego functions.
27681 * gst/elements/gstidentity.c: (gst_identity_init),
27682 (gst_identity_transform):
27683 Port to new base class.
27685 2005-07-15 Wim Taymans <wim@fluendo.com>
27687 * gst/gstmessage.c: (gst_message_new_state_changed):
27688 * tools/gst-launch.c: (event_loop), (main):
27689 Totally dump messages in -launch with the -m option.
27690 Fix message name for State messages,
27692 2005-07-14 Wim Taymans <wim@fluendo.com>
27694 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27695 Post error messages on errors.
27697 2005-07-14 Wim Taymans <wim@fluendo.com>
27699 * gst/gstcaps.c: (gst_caps_do_simplify):
27703 Define error for stream stopped.
27705 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27706 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27707 Do proper return values.
27709 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27710 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27711 (gst_pad_get_range):
27712 Better return values.
27715 Reorganise return values, add macro to check for fatal errors.
27717 * gst/gstqueue.c: (gst_queue_chain):
27718 Return proper GstFlowReturn values,
27720 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27722 * docs/gst/gstreamer-sections.txt:
27723 * docs/gst/gstreamer.types:
27724 * docs/gst/tmpl/gst.sgml:
27725 * docs/gst/tmpl/gstbasesink.sgml:
27726 * docs/gst/tmpl/gstbasesrc.sgml:
27727 * docs/gst/tmpl/gstbasetransform.sgml:
27728 * docs/gst/tmpl/gstbin.sgml:
27729 * docs/gst/tmpl/gstbuffer.sgml:
27730 * docs/gst/tmpl/gstcaps.sgml:
27731 * docs/gst/tmpl/gstclock.sgml:
27732 * docs/gst/tmpl/gstcompat.sgml:
27733 * docs/gst/tmpl/gstconfig.sgml:
27734 * docs/gst/tmpl/gstelement.sgml:
27735 * docs/gst/tmpl/gstelementdetails.sgml:
27736 * docs/gst/tmpl/gstelementfactory.sgml:
27737 * docs/gst/tmpl/gstenumtypes.sgml:
27738 * docs/gst/tmpl/gsterror.sgml:
27739 * docs/gst/tmpl/gstevent.sgml:
27740 * docs/gst/tmpl/gstfakesink.sgml:
27741 * docs/gst/tmpl/gstfakesrc.sgml:
27742 * docs/gst/tmpl/gstfilesink.sgml:
27743 * docs/gst/tmpl/gstfilesrc.sgml:
27744 * docs/gst/tmpl/gstfilter.sgml:
27745 * docs/gst/tmpl/gstformat.sgml:
27746 * docs/gst/tmpl/gstghostpad.sgml:
27747 * docs/gst/tmpl/gstimplementsinterface.sgml:
27748 * docs/gst/tmpl/gstindex.sgml:
27749 * docs/gst/tmpl/gstindexfactory.sgml:
27750 * docs/gst/tmpl/gstinfo.sgml:
27751 * docs/gst/tmpl/gstiterator.sgml:
27752 * docs/gst/tmpl/gstmacros.sgml:
27753 * docs/gst/tmpl/gstmemchunk.sgml:
27754 * docs/gst/tmpl/gstminiobject.sgml:
27755 * docs/gst/tmpl/gstobject.sgml:
27756 * docs/gst/tmpl/gstpad.sgml:
27757 * docs/gst/tmpl/gstpadtemplate.sgml:
27758 * docs/gst/tmpl/gstparse.sgml:
27759 * docs/gst/tmpl/gstpipeline.sgml:
27760 * docs/gst/tmpl/gstplugin.sgml:
27761 * docs/gst/tmpl/gstpluginfeature.sgml:
27762 * docs/gst/tmpl/gstquery.sgml:
27763 * docs/gst/tmpl/gstqueue.sgml:
27764 * docs/gst/tmpl/gstregistry.sgml:
27765 * docs/gst/tmpl/gstregistrypool.sgml:
27766 * docs/gst/tmpl/gstscheduler.sgml:
27767 * docs/gst/tmpl/gstschedulerfactory.sgml:
27768 * docs/gst/tmpl/gststructure.sgml:
27769 * docs/gst/tmpl/gstsystemclock.sgml:
27770 * docs/gst/tmpl/gsttaglist.sgml:
27771 * docs/gst/tmpl/gsttagsetter.sgml:
27772 * docs/gst/tmpl/gsttrace.sgml:
27773 * docs/gst/tmpl/gsttrashstack.sgml:
27774 * docs/gst/tmpl/gsttypefind.sgml:
27775 * docs/gst/tmpl/gsttypefindfactory.sgml:
27776 * docs/gst/tmpl/gsttypes.sgml:
27777 * docs/gst/tmpl/gsturihandler.sgml:
27778 * docs/gst/tmpl/gsturitype.sgml:
27779 * docs/gst/tmpl/gstutils.sgml:
27780 * docs/gst/tmpl/gstvalue.sgml:
27781 * docs/gst/tmpl/gstversion.sgml:
27782 * docs/gst/tmpl/gstxml.sgml:
27783 * docs/libs/tmpl/gstcontrol.sgml:
27784 * docs/libs/tmpl/gstdataprotocol.sgml:
27785 * docs/libs/tmpl/gstdparam.sgml:
27786 * docs/libs/tmpl/gstdplinint.sgml:
27787 * docs/libs/tmpl/gstdpman.sgml:
27788 * docs/libs/tmpl/gstdpsmooth.sgml:
27789 * docs/libs/tmpl/gstgetbits.sgml:
27790 * docs/libs/tmpl/gstunitconvert.sgml:
27791 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27792 (gst_push_src_base_init), (gst_push_src_class_init),
27793 (gst_push_src_init), (gst_push_src_create):
27794 * gst/base/gstpushsrc.h:
27795 * gst/elements/gstelements.c:
27796 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27797 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27798 (gst_fake_sink_init), (gst_fake_sink_set_property),
27799 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27800 (gst_fake_sink_event), (gst_fake_sink_preroll),
27801 (gst_fake_sink_render), (gst_fake_sink_change_state):
27802 * gst/elements/gstfakesink.h:
27803 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27804 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27805 (gst_fake_src_base_init), (gst_fake_src_class_init),
27806 (gst_fake_src_init), (gst_fake_src_event_handler),
27807 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27808 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27809 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27810 (gst_fake_src_create_buffer), (gst_fake_src_create),
27811 (gst_fake_src_start), (gst_fake_src_stop):
27812 * gst/elements/gstfakesrc.h:
27813 * gst/elements/gstfilesink.c: (_do_init),
27814 (gst_file_sink_base_init), (gst_file_sink_class_init),
27815 (gst_file_sink_init), (gst_file_sink_dispose),
27816 (gst_file_sink_set_location), (gst_file_sink_set_property),
27817 (gst_file_sink_get_property), (gst_file_sink_open_file),
27818 (gst_file_sink_close_file), (gst_file_sink_query),
27819 (gst_file_sink_event), (gst_file_sink_render),
27820 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27821 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27822 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27823 * gst/elements/gstfilesink.h:
27824 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27825 (gst_file_src_class_init), (gst_file_src_init),
27826 (gst_file_src_finalize), (gst_file_src_set_location),
27827 (gst_file_src_set_property), (gst_file_src_get_property),
27828 (gst_file_src_map_region), (gst_file_src_map_small_region),
27829 (gst_file_src_create_mmap), (gst_file_src_create_read),
27830 (gst_file_src_create), (gst_file_src_is_seekable),
27831 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27832 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27833 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27834 (gst_file_src_uri_handler_init):
27835 * gst/elements/gstfilesrc.h:
27836 more autistic cleanliness in functions/names/defines
27838 2005-07-13 Andy Wingo <wingo@pobox.com>
27840 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27841 source couldn't negotiate.
27843 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27847 * gst/gstutils.c (gst_element_link_pads_filtered): New old
27848 function. I am channeling Hades. Put your boots on suckers!!!
27850 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
27852 * testsuite/caps/Makefile.am:
27853 * testsuite/caps/value_compare.c:
27854 * testsuite/caps/value_intersect.c:
27855 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27856 move two testsuite apps over to the check dir
27858 2005-07-12 Wim Taymans <wim@fluendo.com>
27860 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27861 Added more debug info in the negotiate process.
27863 * gst/gstmessage.h:
27864 Prepare for segment playback.
27866 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27872 * tools/gst-launch.c: (main):
27873 NULL pipeline on errors.
27875 2005-07-12 Andy Wingo <wingo@pobox.com>
27877 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
27878 not it comes from a malloc region. Make sure our copy gets freed.
27880 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27882 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27883 * check/gst/gstmessage.c: (GST_START_TEST):
27884 * check/gst/gststructure.c: (GST_START_TEST),
27885 (gst_structure_suite), (main):
27887 * gst/gstelement.c: (gst_element_message_full):
27888 clean up GError and debug string now that they get copied
27889 * gst/gstmessage.c: (gst_message_new_error),
27890 (gst_message_new_warning), (gst_message_parse_error),
27891 (gst_message_parse_warning):
27892 use GST_TYPE_G_ERROR for structure_new, and take copies of
27893 arguments, so that we don't mess up refcounting
27895 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27897 * check/Makefile.am:
27898 add per-test valgrind targets
27899 * check/gst-libs/gdp.c: (GST_START_TEST),
27900 (gst_data_protocol_suite), (main):
27903 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27905 * check/Makefile.am:
27906 instate more valgrindable tests
27907 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27908 (GST_START_TEST), (fakesrc_suite):
27909 * check/gst/gstpad.c: (GST_START_TEST):
27910 * check/gst/gststructure.c: (GST_START_TEST):
27912 * docs/gst/tmpl/gstminiobject.sgml:
27913 * gst/gstpad.c: (gst_pad_finalize):
27914 fix the static mutex leak
27916 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27918 * check/Makefile.am:
27919 add two more tests for valgrinding
27920 * check/gst/gstvalue.c: (GST_START_TEST):
27921 test refcount of deserialized buffer, found a leak
27922 * docs/gst/gstreamer-docs.sgml:
27923 * docs/gst/gstreamer-sections.txt:
27924 * docs/gst/gstreamer.types:
27925 * docs/gst/tmpl/gstminiobject.sgml:
27926 add miniobject to docs
27927 * gst/gstminiobject.c:
27929 * gst/gstvalue.c: (gst_value_deserialize_buffer),
27930 (gst_string_unwrap):
27931 fix a hard-to-find invalid write for one of the tests
27932 fix a leak for deserialized buffers
27934 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27936 * docs/pwg/advanced-events.xml:
27937 * docs/pwg/advanced-request.xml:
27938 * docs/pwg/advanced-scheduling.xml:
27939 * docs/pwg/appendix-porting.xml:
27940 * docs/pwg/building-boiler.xml:
27941 * docs/pwg/intro-preface.xml:
27942 * docs/pwg/other-ntoone.xml:
27943 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
27944 of example code and explanation for pad activation, loop() and
27945 getrange() functions and a bit more. Remove old comments pointing
27947 * examples/pwg/Makefile.am:
27948 Add loop/getrange examples.
27950 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27953 check for valgrind binary + some fixes
27955 valgrind suppressions for the tests
27956 * check/Makefile.am:
27957 add a valgrind: target that valgrinds the unit tests
27958 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
27959 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
27960 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27961 * check/gst/gstghostpad.c:
27963 * check/gst/gstdata.c:
27965 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
27966 (thread_unref), (gst_mini_object_suite), (main):
27968 * gst/gst.c: (gst_deinit):
27970 add a method to clean up.
27971 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27972 (gst_system_clock_obtain):
27973 allow for disposing the system clock.
27974 * tools/gst-launch.c: (main):
27977 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27979 * docs/gst/tmpl/gstbasesrc.sgml:
27980 * docs/gst/tmpl/gstfakesrc.sgml:
27981 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27982 (gst_base_src_init), (gst_base_src_set_property),
27983 (gst_base_src_get_property), (gst_base_src_get_range),
27984 (gst_base_src_start):
27985 * gst/base/gstbasesrc.h:
27986 add num-buffers property
27987 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27988 (gst_fakesrc_init), (gst_fakesrc_set_property),
27989 (gst_fakesrc_get_property), (gst_fakesrc_create),
27990 (gst_fakesrc_start):
27991 remove num-buffers property
27993 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27995 * docs/gst/gstreamer-sections.txt:
27996 * docs/gst/tmpl/gstbasesink.sgml:
27997 * docs/gst/tmpl/gstbasesrc.sgml:
27998 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27999 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28000 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28001 (gst_base_sink_set_property), (gst_base_sink_get_property),
28002 (gst_base_sink_handle_object), (gst_base_sink_event),
28003 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28004 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28005 (gst_base_sink_loop), (gst_base_sink_deactivate),
28006 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28007 (gst_base_sink_change_state):
28008 * gst/base/gstbasesink.h:
28009 * gst/base/gstbasesrc.h:
28010 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28011 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28012 (gst_filesink_init):
28013 more macro splitting
28015 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28017 * gst/gstelement.c: (gst_element_get_bus):
28019 * tools/gst-launch.c: (check_intr), (event_loop):
28022 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28024 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28027 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28029 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28030 (gst_base_src_finalize):
28031 add finalize method and clean up properly
28032 * gst/gstpipeline.c: (gst_pipeline_dispose):
28035 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28037 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28039 add more things to check
28040 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28041 * gst/gstelement.c:
28044 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28046 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28047 (GST_START_TEST), (fakesrc_suite):
28048 * check/gst-libs/gdp.c: (GST_START_TEST):
28049 * check/gst/gst.c: (GST_START_TEST):
28050 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28051 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28052 * check/gst/gstbus.c: (GST_START_TEST):
28053 * check/gst/gstcaps.c: (GST_START_TEST):
28054 * check/gst/gstdata.c: (GST_START_TEST):
28055 * check/gst/gstelement.c: (GST_START_TEST):
28056 * check/gst/gstghostpad.c: (GST_START_TEST):
28057 * check/gst/gstiterator.c: (GST_START_TEST):
28058 * check/gst/gstmessage.c: (GST_START_TEST):
28059 * check/gst/gstobject.c: (GST_START_TEST):
28060 * check/gst/gstpad.c: (GST_START_TEST):
28061 * check/gst/gststructure.c: (GST_START_TEST):
28062 * check/gst/gstsystemclock.c: (GST_START_TEST),
28063 (gst_systemclock_suite):
28064 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28065 * check/gst/gstvalue.c: (GST_START_TEST):
28066 * check/pipelines/cleanup.c: (GST_START_TEST):
28067 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28068 * check/states/sinks.c: (GST_START_TEST):
28069 * check/gstcheck.c: (gst_check_init):
28070 * check/gstcheck.h:
28071 add debugging category
28072 use GST_START_TEST now, so we add a debug line
28074 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28076 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28077 add test for state change message on a bin
28078 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28080 * gst/gstbin.c: (gst_bin_init):
28081 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28082 * gst/gstelement.c: (gst_element_post_message),
28083 (gst_element_set_state):
28084 * gst/gstelementfactory.c: (gst_element_factory_create):
28085 * gst/gstmessage.c: (gst_message_new):
28086 * gst/gstscheduler.c:
28087 various debugging additions and cleanups
28089 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28091 * check/Makefile.am:
28092 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28094 adding tests for elements
28095 * gst/gstelement.c: (gst_element_dispose):
28097 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28099 * gst/registries/gstlibxmlregistry.c: (load_feature):
28100 plug more leaks. A simple gst_init() now is leakfree, yay.
28102 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28104 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28105 (gst_xml_registry_load):
28106 plug another memleak
28108 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28111 use GST_SET_ERROR_CFLAGS
28112 * docs/faq/cvs.xml:
28113 change to ERROR_CFLAGS
28115 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28118 make GST_ERROR_CFLAGS overridable and re-enable Werror
28119 * docs/faq/cvs.xml:
28120 add a note about error CFLAGS
28121 * docs/gst/tmpl/gstfakesrc.sgml:
28122 * gst/elements/gstfakesrc.c:
28123 comment out some unused code
28124 * gst/gst.c: (split_and_iterate):
28125 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28129 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28131 * common/Makefile.am:
28132 * common/gtk-doc.mak:
28133 * docs/gst/Makefile.am:
28134 factor out gtk-doc.mak
28136 2005-07-07 Wim Taymans <wim@fluendo.com>
28138 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28139 (gst_thread_scheduler_dispose):
28140 Unlock the STREAM_LOCK completely.
28142 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28144 * check/Makefile.am:
28145 * check/elements/.cvsignore:
28146 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28147 (START_TEST), (fakesrc_suite), (main):
28148 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28149 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28150 (gst_fakesrc_create), (gst_fakesrc_start):
28151 * gst/elements/gstfakesrc.h:
28152 adding a first element test
28154 2005-07-07 Andy Wingo <wingo@pobox.com>
28156 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28159 2005-07-07 Wim Taymans <wim@fluendo.com>
28165 2005-07-07 Wim Taymans <wim@fluendo.com>
28167 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28168 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28169 Allow subclasses to implement their own negotiation.
28171 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28173 * docs/design/part-gstbin.txt:
28174 * docs/design/part-gstpipeline.txt:
28175 Update design notes to reflect the movement of
28176 responsibility for bus handling from GstPipeline to
28179 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28182 Remove unnecessary queue2/3/4 examples.
28184 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28186 * examples/Makefile.am:
28187 * examples/helloworld/helloworld.c: (event_loop), (main):
28188 * examples/queue/queue.c: (event_loop), (main):
28189 * examples/queue2/queue2.c: (main):
28190 Update a couple of the examples to work again.
28192 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28193 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28194 Spelling corrections and extra debug.
28196 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28197 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28198 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28200 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28201 (gst_pipeline_change_state):
28202 * gst/gstpipeline.h:
28203 Move the bus handler for children to the GstBin, and create a
28204 separate bus for receiving messages from children to the one the
28205 bus sends 'upwards' on.
28207 2005-07-06 Wim Taymans <wim@fluendo.com>
28210 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28211 (gst_base_sink_handle_object), (gst_base_sink_loop),
28212 (gst_base_sink_change_state):
28213 * gst/base/gstbasesink.h:
28214 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28215 (gst_base_src_init), (gst_base_src_setcaps),
28216 (gst_base_src_getcaps), (gst_base_src_loop),
28217 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28218 (gst_base_src_start), (gst_base_src_change_state):
28219 * gst/base/gstbasesrc.h:
28220 Make basesrc negotiate.
28221 Handle the case where preroll fails in basesink.
28224 2005-07-06 Wim Taymans <wim@fluendo.com>
28226 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28227 Implement the fixate function.
28228 Clean up acceptcaps.
28230 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28232 * docs/pwg/building-filterfactory.xml:
28233 * docs/pwg/pwg.xml:
28234 Remove never-written filter-factory chapter; I'll add the various
28235 base classes to part 4 ("other element types") later on.
28237 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28239 * docs/pwg/advanced-negotiation.xml:
28240 * docs/pwg/building-boiler.xml:
28241 * docs/pwg/building-pads.xml:
28242 * docs/pwg/pwg.xml:
28243 * examples/pwg/Makefile.am:
28244 Add a chapter on caps negotiation, simplify the original code
28245 samples a bit w.r.t. caps negotiation, add link to the advanced
28246 section. Add a bunch of examples showing different use cases of
28247 different types of caps negotiation. Upstream renegotiation isn't
28248 fully documented yet since nobody knows how that works.
28250 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28252 * check/gst/gstpad.c:
28253 * check/gstcheck.c:
28254 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28255 if pad has no parent, return NULL as list of internal links
28257 2005-07-05 Andy Wingo <wingo@pobox.com>
28259 * gst/elements/gstfilesrc.c:
28260 * gst/elements/gstfakesrc.c:
28261 * gst/base/gstpushsrc.c:
28262 * gst/base/gstbasesrc.h:
28263 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28265 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28268 better report generation target (lcov needs a patch)
28270 2005-07-05 Andy Wingo <wingo@pobox.com>
28272 * gst/elements, testsuite: Null if we got it...
28274 2005-07-05 Wim Taymans <wim@fluendo.com>
28277 * libs/gst/dataprotocol/Makefile.am:
28278 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28279 * libs/gst/dataprotocol/dataprotocol.h:
28280 * pkgconfig/Makefile.am:
28281 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28282 * pkgconfig/gstreamer-dataprotocol.pc.in:
28283 Ported dataprotol to 0.9.
28284 Added pkgconfig files.
28286 2005-07-05 Andy Wingo <wingo@pobox.com>
28288 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28289 Default to returning TRUE for the case when tranform_caps returns
28290 a fixed caps, like for identity or volume.
28292 * check/gst/gstbus.c (pound_bus_with_messages):
28293 * check/gst/gstmessage.c (START_TEST):
28294 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28295 message API change.
28297 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28298 logic weaks here: always run transform_caps, trying passthrough
28299 operation only if the original caps intersects with the transform.
28301 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28302 source and sink caps.
28304 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28305 Intersect the peer caps with the pad template before going into
28307 (gst_base_transform_transform_caps): More debugging.
28309 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28312 2005-07-04 Edward Hervey <edward@fluendo.com>
28316 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28319 2005-07-04 Andy Wingo <wingo@pobox.com>
28321 * check/gst/gstpad.c: Only set explicit caps on pads.
28323 2005-07-01 Andy Wingo <wingo@pobox.com>
28325 * tests/network-clock.scm: Commentary update.
28327 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28328 Didn't really make sense, not implementable with basetransform,
28330 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28331 attempt at implementing the sync property, needs an unlock method.
28333 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28334 New func, by default returns the same caps (the identity
28336 (gst_base_transform_getcaps): Uses transform_caps to return
28337 something sensible.
28338 (gst_base_transform_setcaps): Complicated logic to get caps on
28339 both pads, even if they are different, and to call set_caps once
28340 for every time both pads get their caps set.
28341 (gst_base_transform_handle_buffer): Give the ref to the transform
28342 function. Allows in-place modification of the buffer.
28344 * gst/base/gstbasetransform.h (transform_caps): New class method.
28345 Given caps on one side, what can I do on the other.
28346 (set_caps): Take two caps, one for each side of the element.
28349 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28350 caps in place. This is safe because we can check the mutability of
28351 the caps, and a good idea because fixate functions are just called
28352 as a matter of last resort. (Not actually implemented.)
28353 (gst_pad_set_caps): If the caps we're setting is actually the same
28354 as the existing pad caps, just update the pointer without calling
28355 setcaps. Assert that caps is either NULL or fixed, as per the
28358 * gst/gstghostpad.c: Update for fixate changes.
28360 2005-07-02 Andy Wingo <wingo@pobox.com>
28363 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28364 two refcounts makes it immutable, which is enough. Doc more.
28366 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28368 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28369 Put the mini_object into GValue as a mini_object,
28370 not a gpointer, since that's how we declared
28373 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28375 * examples/pwg/Makefile.am:
28376 Fix buildbot again.
28378 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28380 * docs/pwg/building-testapp.xml:
28382 * examples/pwg/Makefile.am:
28385 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28388 * examples/Makefile.am:
28389 * examples/pwg/Makefile.am:
28390 * examples/pwg/extract.pl:
28391 Enable building the PWG examples.
28392 * docs/pwg/advanced-interfaces.xml:
28393 Add URI interface stub.
28394 * docs/pwg/advanced-types.xml:
28395 * docs/pwg/other-autoplugger.xml:
28396 * docs/pwg/appendix-porting.xml:
28397 * docs/pwg/pwg.xml:
28398 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28399 * docs/pwg/building-boiler.xml:
28400 * docs/pwg/building-chainfn.xml:
28401 * docs/pwg/building-pads.xml:
28402 * docs/pwg/building-props.xml:
28403 * docs/pwg/building-state.xml:
28404 * docs/pwg/building-testapp.xml:
28405 Update the building-*.xml parts for 0.9 changes. All examples
28406 code blocks compile in examples/pwg/*.
28408 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28410 * docs/manual/advanced-autoplugging.xml:
28411 * docs/manual/appendix-checklist.xml:
28412 * docs/manual/appendix-integration.xml:
28413 * docs/manual/highlevel-components.xml:
28414 Fix playbin/decodebin examples, update docs a bit, mention bus
28415 instead of signals in various places, mention kmplayer and
28416 kaffeine since they have a working GStreamer backend in the KDE
28419 2005-06-30 Wim Taymans <wim@fluendo.com>
28422 * docs/design/draft-ghostpads.txt:
28423 * docs/design/draft-push-pull.txt:
28424 * docs/design/draft-query.txt:
28425 * docs/design/part-TODO.txt:
28426 * docs/design/part-query.txt:
28427 Added CHANGES-0.9 doc, updated status of other docs.
28432 2005-06-30 Wim Taymans <wim@fluendo.com>
28434 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28435 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28436 (gst_base_sink_change_state):
28437 * gst/base/gstbasesink.h:
28438 Some tweaks, only EOS and a buffer complete a preroll.
28440 2005-06-30 Andy Wingo <wingo@pobox.com>
28442 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28443 activate_push down to the internal pad as well.
28445 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28447 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28449 * gst/gsttaginterface.c:
28450 Some documentation fixes (#307394 and #307397).
28452 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28454 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28456 * gst/gstvalue.c: (gst_value_intersect_list):
28457 Fix memleak (#309125).
28459 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28461 * docs/manual/advanced-dataaccess.xml:
28462 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28463 * docs/manual/basics-pads.xml:
28464 Add reference for filtered caps to above chapter.
28466 2005-06-30 Wim Taymans <wim@fluendo.com>
28468 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28469 (gst_bin_change_state):
28471 Lame attempt at making the state change function a bit
28474 2005-06-30 Wim Taymans <wim@fluendo.com>
28476 * docs/design/part-clocks.txt:
28477 * docs/design/part-element-sink.txt:
28478 * docs/design/part-events.txt:
28479 * docs/design/part-preroll.txt:
28480 * docs/design/part-states.txt:
28481 Some more tweeks and additions to the docs.
28483 2005-06-30 Wim Taymans <wim@fluendo.com>
28485 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28486 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28487 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28488 (gst_pad_check_pull_range), (gst_pad_get_range),
28489 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28491 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28492 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28493 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28494 (gst_pad_remove_buffer_probe):
28495 Removed atomic operations, use existing LOCK.
28496 Move exception handling out of main code path.
28498 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28500 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28501 (silly_return_true_function), (gst_pad_class_init),
28502 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28503 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28504 (gst_pad_send_event):
28505 Fix accumulator, add default value by using _emitv() instead
28506 of _emit() for signal emission.
28508 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28510 * docs/manual/advanced-dataaccess.xml:
28511 * examples/manual/Makefile.am:
28513 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28516 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28518 * gst/elements/gstfilesink.c: (gst_filesink_render):
28519 Simplify code so that we don't have to handle short
28520 writes and return GST_FLOW_ERROR if an error occured.
28522 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28524 * docs/gst/gstreamer-docs.sgml:
28525 Remove probes more.
28527 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28529 * docs/gst/gstreamer-sections.txt:
28530 * docs/gst/tmpl/gstpad.sgml:
28531 * docs/gst/tmpl/gstprobe.sgml:
28533 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28534 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28535 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28536 (gst_pad_push_event), (gst_pad_send_event):
28538 * gst/gstutils.c: (gst_pad_add_data_probe),
28539 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28540 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28541 (gst_pad_remove_buffer_probe):
28543 Remove old probes, add new g-signal-based probes and some utility
28546 2005-06-29 Edward Hervey <edward@fluendo.com>
28548 * gst/gstelementfactory.c:
28551 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28552 the definition to the header file.
28554 2005-06-29 Andy Wingo <wingo@pobox.com>
28556 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28557 plugins from the source directory.
28559 2005-06-29 Wim Taymans <wim@fluendo.com>
28561 * docs/gst/tmpl/gstbuffer.sgml:
28562 * docs/gst/tmpl/gstclock.sgml:
28563 Some fixings for blantently wrong text.
28565 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28567 * check/Makefile.am:
28568 * gst/gst.c: (add_path_func), (init_pre):
28569 * gst/gstregistry.c: (gst_registry_add_path):
28570 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28571 only scan the GST_PLUGIN_PATH locations, and not add
28574 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28576 * docs/gst/gstreamer-sections.txt:
28577 * docs/gst/tmpl/gstbasesrc.sgml:
28578 * gst/gstelement.c:
28579 * gst/gstelement.h:
28584 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28586 * docs/manual/advanced-autoplugging.xml:
28587 Fix autoplugging example.
28589 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28591 * docs/manual/advanced-autoplugging.xml:
28592 * docs/manual/mime-world.fig:
28593 Try to get autoplugging working, fix type detection. Fix text
28594 in hello-world image.
28596 2005-06-29 Wim Taymans <wim@fluendo.com>
28598 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28599 (gst_base_sink_change_state):
28603 map SIGNAL and BROADCAST to the right function.
28606 Remove redundant braces.
28608 * gst/gstpad.c: (gst_pad_set_caps):
28609 Don't call setcaps function when reseting caps to NULL.
28611 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28612 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28613 (gst_system_clock_id_unschedule):
28614 Use BROADCAST as this is what we do.
28616 2005-06-29 Wim Taymans <wim@fluendo.com>
28618 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28619 We are actually prerolling before commiting the state
28622 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28624 * docs/manual/advanced-clocks.xml:
28625 * docs/manual/advanced-interfaces.xml:
28626 * docs/manual/advanced-metadata.xml:
28627 * docs/manual/advanced-position.xml:
28628 * docs/manual/advanced-schedulers.xml:
28629 * docs/manual/advanced-threads.xml:
28630 * docs/manual/appendix-porting.xml:
28631 * docs/manual/basics-bins.xml:
28632 * docs/manual/basics-bus.xml:
28633 * docs/manual/basics-elements.xml:
28634 * docs/manual/basics-helloworld.xml:
28635 * docs/manual/basics-pads.xml:
28636 * docs/manual/highlevel-components.xml:
28637 * docs/manual/manual.xml:
28638 * docs/manual/thread.fig:
28639 Update (until threads/scheduling) Application Development Manual;
28640 remove GstThread, add GstBus, add simple porting checklist, add
28641 documentation for tag writing, clocks, make all examples until this
28642 part compile and run.
28643 * examples/manual/Makefile.am:
28644 Update from changes to Application Development Manual; add bus
28645 example, remove thread example.
28647 2005-06-28 Wim Taymans <wim@fluendo.com>
28649 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28650 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28651 (gst_bus_source_dispatch):
28652 Add debugging messages.
28653 Make internal methods static.
28654 Handle the case where the bus is flushed in the handler.
28656 * gst/gstelement.c: (gst_element_get_bus):
28657 Fix refcount in _get_bus();
28659 * gst/gstpipeline.c: (gst_pipeline_change_state),
28660 (gst_pipeline_get_clock_func):
28661 Clock refcounting fixes.
28662 Handle the case where preroll timed out more gracefully.
28664 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28665 Clean up the internal thread in dispose. This is needed
28666 for subclasses that actually get disposed.
28668 * gst/schedulers/threadscheduler.c:
28669 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28670 (gst_thread_scheduler_dispose):
28671 Free thread pool in dispose.
28673 2005-06-28 Andy Wingo <wingo@pobox.com>
28675 * tests/network-clock-utils.scm (debug, print-event): New utils.
28677 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28678 (*packet-loss*): Unified loss probability.
28679 (network-time): Report out-of-band events.
28681 * tests/plot-data: Add support for out-of-band events. Hack it
28682 into this script instead of passing it down the pipe; should fix
28685 2005-06-28 Wim Taymans <wim@fluendo.com>
28687 * docs/gst/gstreamer.types:
28688 * docs/gst/tmpl/gstbasesrc.sgml:
28689 * docs/gst/tmpl/gstpad.sgml:
28692 2005-06-28 Wim Taymans <wim@fluendo.com>
28694 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28695 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28696 (gst_proxy_pad_do_fixatecaps):
28697 Correctly proxy the check_pull_range function.
28699 2005-06-28 Andy Wingo <wingo@pobox.com>
28701 * tests/network-clock.scm: Removed need for slib.
28703 2005-06-28 Wim Taymans <wim@fluendo.com>
28705 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28706 (gst_basesink_preroll_queue_flush):
28707 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28708 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28709 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28710 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28711 (gst_proxy_pad_set_property):
28714 * gst/gstqueue.c: (gst_queue_init):
28715 The deprecated pad loop function is removed now.
28717 2005-06-28 Andy Wingo <wingo@pobox.com>
28719 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28720 New parameters, simulate network packet loss.
28722 * tests/network-clock-utils.scm: Initialize the RNG.
28724 2005-06-28 Wim Taymans <wim@fluendo.com>
28726 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28727 (gst_basesink_event), (gst_basesink_deactivate):
28728 Flushing the preroll queue always needs to unlock the waiters.
28730 2005-06-28 Edward Hervey <edward@fluendo.com>
28732 * gst/gstpipeline.c: (gst_pipeline_send_event):
28733 Wheen a seek was successful on a pipeline, set the stream_time to the
28734 seek offset in order to have a synchronized stream_time.
28736 2005-06-28 Wim Taymans <wim@fluendo.com>
28738 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28739 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28740 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28741 (gst_proxy_pad_do_fixatecaps):
28742 Call wrapper function instead of just calling the function
28743 pointers. This takes care of any locking and whatmore.
28745 2005-06-28 Wim Taymans <wim@fluendo.com>
28747 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28748 (gst_pad_pull_range):
28750 CONNECTED -> LINKED.
28752 2005-06-28 Andy Wingo <wingo@pobox.com>
28754 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28755 source-munging commit!!!
28757 * gst/gstobject.c (gst_object_unref, gst_object_ref)
28758 (gst_object_sink): Take gpointer arguments, not GstObject --
28759 avoids casts. Like GLib.
28761 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28764 2005-06-27 Andy Wingo <wingo@pobox.com>
28766 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28769 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28770 returns a sorted copy of the trace list.
28771 (gst_alloc_trace_print_live): New API, only prints traces with
28772 live objects. Sort the list.
28773 (gst_alloc_trace_print_all): Sort the list.
28774 (gst_alloc_trace_print): Align columns.
28776 * gst/elements/gstttypefindelement.c:
28777 * gst/elements/gsttee.c:
28778 * gst/base/gstbasesrc.c:
28779 * gst/base/gstbasesink.c:
28780 * gst/base/gstbasetransform.c:
28781 * gst/gstqueue.c: Adapt for pad activation changes.
28783 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28785 (gst_pipeline_dispose): Drop ref on sched.
28787 * gst/gstpad.c (gst_pad_init): Set the default activate func.
28788 (gst_pad_activate_default): Push mode by default.
28789 (pre_activate_switch, post_activate_switch): New stubs, things to
28790 do before and after switching activation modes on pads.
28791 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28792 the pad's activate function to choose which mode to activate.
28793 Shortcut on deactivation and call the right function directly.
28794 (gst_pad_activate_pull): New API, (de)activates a pad in pull
28796 (gst_pad_activate_push): New API, same for push mode.
28797 (gst_pad_set_activate_function)
28798 (gst_pad_set_activatepull_function)
28799 (gst_pad_set_activatepush_function): Setters for new API.
28801 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28802 Trace all miniobjects.
28803 (gst_mini_object_make_writable): Unref the arg if we copy, like
28804 gst_caps_make_writable.
28806 * gst/gstmessage.c (_gst_message_initialize): No trace init.
28808 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
28809 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28810 Adapt for new pad API.
28812 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28814 * gst/gstelement.h:
28815 * gst/gstelement.c (gst_element_iterate_src_pads)
28816 (gst_element_iterate_sink_pads): New API functions.
28818 * gst/gstelement.c (iterator_fold_with_resync): New utility,
28819 should fold into gstiterator.c in some form.
28820 (gst_element_pads_activate): Simplified via use of fold and
28821 delegation of decisions to gstpad->activate.
28823 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28826 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28827 class once in init, like gstmessage. Didn't run into this issue
28828 but it seems correct. Don't initialize a trace, gstminiobject does
28831 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28832 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28834 (assert_live_count): New util function, uses alloc traces to check
28837 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28838 To be modified when unlink drops the internal pad.
28840 2005-06-27 Wim Taymans <wim@fluendo.com>
28842 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28843 (gst_bin_change_state):
28844 Cleanup the get_state() function a little, make sure it
28845 iterates the same set of elements.
28846 Added stub iterate_state_order().
28848 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
28850 * docs/gst/gstreamer-docs.sgml:
28851 * docs/gst/gstreamer-sections.txt:
28852 * docs/gst/gstreamer.types:
28853 * docs/gst/tmpl/gstbasesink.sgml:
28854 * docs/gst/tmpl/gstbasesrc.sgml:
28855 * docs/gst/tmpl/gstbasetransform.sgml:
28856 * docs/gst/tmpl/gstelement.sgml:
28857 * docs/gst/tmpl/gstiterator.sgml:
28858 * gst/base/gstbasesrc.c:
28859 * gst/base/gstbasesrc.h:
28860 * gst/base/gstbasetransform.h:
28861 * gst/gstelement.c:
28862 * gst/gstiterator.h:
28863 adding basetransform and iterator docs
28865 2005-06-27 Andy Wingo <wingo@pobox.com>
28867 * docs/design/part-activation.txt: Notes on how activation should
28868 work -- not quite implemented yet.
28870 2005-06-25 Wim Taymans <wim@fluendo.com>
28872 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
28873 At least get the chain function correct, needs more
28876 2005-06-25 Wim Taymans <wim@fluendo.com>
28878 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28879 (gst_basesink_handle_object), (gst_basesink_event),
28880 (gst_basesink_do_sync), (gst_basesink_handle_event),
28881 (gst_basesink_change_state):
28883 Right, two problems here: ghostpads don't take locks and
28884 glib _rec_mutex_lock_full() with depth==0 still locks.
28885 Catch illegal locking and g_warn them.
28887 2005-06-25 Wim Taymans <wim@fluendo.com>
28889 * check/states/sinks.c: (START_TEST), (gst_object_suite):
28890 Have to check for completion now...
28892 2005-06-25 Wim Taymans <wim@fluendo.com>
28894 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28895 (gst_basesink_handle_object), (gst_basesink_event),
28896 (gst_basesink_do_sync), (gst_basesink_handle_event),
28897 (gst_basesink_change_state):
28899 Unlock STREAM_LOCK whatever the recursion was.
28901 2005-06-25 Wim Taymans <wim@fluendo.com>
28903 * gst/base/gstbasesink.c: (gst_basesink_set_property),
28904 (gst_basesink_preroll_queue_empty),
28905 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
28906 (gst_basesink_event), (gst_basesink_do_sync),
28907 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
28908 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
28909 (gst_basesink_change_state):
28910 Reworked the base sink, handle event and buffer serialisation
28911 correctly and removed possible deadlock.
28912 Handle EOS correctly.
28914 2005-06-25 Wim Taymans <wim@fluendo.com>
28916 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
28917 (gst_pipeline_change_state):
28918 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28919 Allow elements to post EOS in the state change function.
28920 Fix up -launch, make it exit the poll loop when the
28921 pipeline actually changed state.
28922 Fix up warning parsing in -launch.
28924 2005-06-25 Wim Taymans <wim@fluendo.com>
28926 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
28927 (gst_tee_sink_activate):
28928 Core takes STREAM_LOCK for us now.
28930 2005-06-25 Wim Taymans <wim@fluendo.com>
28932 * gst/gstelement.c: (gst_element_get_state_func),
28933 (gst_element_set_state):
28934 * gst/gstelement.h:
28935 * gst/gstmessage.c: (gst_message_parse_error),
28936 (gst_message_parse_warning):
28937 Keep track of current target state while performing a state
28938 change so that subclasses can do something interesting.
28939 Fix parsing of warning/error messages when GError is NULL.
28941 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
28943 * docs/gst/Makefile.am:
28944 * docs/gst/gstreamer-docs.sgml:
28945 * docs/gst/gstreamer-sections.txt:
28946 * docs/gst/gstreamer.types:
28947 * docs/gst/tmpl/gstbasesink.sgml:
28948 * docs/gst/tmpl/gstbasesrc.sgml:
28949 * docs/gst/tmpl/gstbin.sgml:
28950 * docs/gst/tmpl/gstcompat.sgml:
28951 * docs/gst/tmpl/gstfakesink.sgml:
28952 * docs/gst/tmpl/gstfakesrc.sgml:
28953 * docs/gst/tmpl/gstfilesink.sgml:
28954 * docs/gst/tmpl/gstfilesrc.sgml:
28955 * docs/gst/tmpl/gstindex.sgml:
28956 * docs/manual/appendix-quotes.xml:
28957 * gst/base/gstbasesrc.h:
28958 * gst/elements/gstfakesrc.h:
28959 * gst/gstmessage.h:
28960 start pulling in base classes and elements in our docs
28962 2005-06-24 Stefan Kost <ensonic@users.sf.net>
28964 * docs/gst/Makefile.am:
28965 * docs/libs/Makefile.am:
28966 fixed make distcheck with gtk-doc 1.3
28968 2005-06-23 Wim Taymans <wim@fluendo.com>
28970 * gst/gstelement.c: (gst_element_get_state_func),
28971 (gst_element_set_state), (gst_element_change_state):
28972 When the state did not change, also report NO_PREROLL
28975 2005-06-23 Wim Taymans <wim@fluendo.com>
28977 * gst/gstpad.c: (gst_pad_event_default):
28978 * gst/gstqueue.c: (gst_queue_loop):
28979 No unsafe task pausing please.
28981 2005-06-23 Wim Taymans <wim@fluendo.com>
28983 * gst/schedulers/threadscheduler.c:
28984 (gst_thread_scheduler_task_start),
28985 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
28986 Ref the task before pushing it on the threadpool. This
28987 makes sure that we have a ref when the threadfunction is
28990 2005-06-23 Andy Wingo <wingo@pobox.com>
28992 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
28993 offset is greater than the file's size.
28995 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
28996 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
28997 * gst/gstobject.c (gst_object_class_init): Make the class lock
28998 recursive. Wim won't let me drop deep_notify. Decodebin works
28999 again, whoopdy doo.
29001 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29002 internal pad, and hacks accordingly. Doesn't do it on the target
29003 pad because we change its caps. Probably catches all cases of
29005 (gst_ghost_pad_set_property): Connect to notify::caps as
29008 * tests/network-clock.scm (plot-simulation): Pipe data to the
29009 elite python skript.
29011 * tests/network-clock-utils.scm (define-parameter): New macro,
29012 defines a parameter that can be set via the command line.
29013 (set-parameter!, parse-parameter-arguments): Command line args
29016 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29019 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29021 * gst/elements/gsttypefindelement.c:
29022 (gst_type_find_element_handle_event):
29023 Don't restart typefinding on a discont.
29024 * gst/gstelement.c: (gst_element_set_state):
29025 Debug spelling fix.
29026 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29027 Allow changing mode of an active pad.
29028 Debug output fixes.
29029 * gst/registries/gstlibxmlregistry.c: (load_feature):
29030 Don't cast a static pad template to a normal pad template.
29032 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29034 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29035 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29036 remove gst_strtoll completely, since it didn't actually do
29037 anything more than what g_ascii_strtoull already does.
29038 check for range errors when deserializing
29039 do a cast for the unsigned cases; but further fixing needs
29040 a decision on what the interpretation of "(int)" and
29041 deserialization should be for values that fall outside the
29042 type's boundaries (ie, refuse, or interpret as casting)
29044 2005-06-23 Wim Taymans <wim@fluendo.com>
29046 * check/Makefile.am:
29047 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29048 * docs/design/part-live-source.txt:
29049 * docs/design/part-states.txt:
29050 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29051 (gst_basesrc_set_live), (gst_basesrc_is_live),
29052 (gst_basesrc_get_range), (gst_basesrc_activate),
29053 (gst_basesrc_change_state):
29054 * gst/base/gstbasesrc.h:
29055 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29056 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29057 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29058 * gst/gstelement.c: (gst_element_get_state_func),
29059 (gst_element_set_state):
29060 * gst/gstelement.h:
29062 * tools/gst-launch.c: (event_loop), (main):
29063 Added support for live sources and other elements that
29065 Updated design docs, added live-source design doc.
29066 Implemented live source functionality in basesrc
29067 Fix error condition in _bin_get_state()
29068 Implement live source handling in -launch.
29069 Added check for live sources.
29070 Fixed case in GstBin where elements were changed state
29074 2005-06-23 Andy Wingo <wingo@pobox.com>
29076 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29077 borken refcounting.
29079 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29080 gst_caps_replace takes care of this for us.
29082 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29083 gst_pad_set_caps on the target, not just its setcaps() function.
29085 * tests/network-clock.scm:
29086 * tests/network-clock-utils.scm: A network clock simulator.
29087 Something of an algorithmic testbed before doing something in C.
29089 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29091 * check/Makefile.am:
29092 * check/gst/capslist.h:
29093 copy over from 0.8, and add two with bitmasks specified with
29095 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29096 add test to parse everything from capslist.h
29097 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29099 add test for structure deserialization
29100 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29101 add tests for deserialization of strings to int types
29102 * gst/gststructure.c: (gst_structure_nth_field_name):
29103 * gst/gststructure.h:
29104 add a way to get the name of a field referenced by index
29105 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29106 instead of checking if the resulting long long lies between
29107 min and max, we check if the long long would fit into
29108 a number of bytes for the final type.
29109 This fixes cases where a string represents 2^32 - 1, which
29110 when cast to int would be the (valid) -1, but is bigger than
29113 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29115 * gst/parse/grammar.y:
29116 add a log line for type deserialization
29118 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29120 * check/gst/gstvalue.c: (START_TEST):
29121 * gst/gstvalue.c: (gst_value_deserialize):
29122 return long long, not int, so gint64 deserialization actually
29123 works. Is there any flag that makes the compiler check this ?
29126 2005-06-22 Wim Taymans <wim@fluendo.com>
29129 Added convenience macros for setting buffers in GValue.
29131 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29133 * check/gst/.cvsignore:
29134 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29135 add a test deserializing int64, and comment part out because
29138 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29140 * check/Makefile.am:
29141 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29142 * testsuite/Makefile.am:
29143 * testsuite/caps/Makefile.am:
29144 * testsuite/caps/value_serialize.c:
29145 * testsuite/test_gst_init.c:
29146 move a value_serialize test over
29148 2005-06-20 Wim Taymans <wim@fluendo.com>
29153 * gst/gstvalue.c: (gst_value_compare_buffer),
29154 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29155 (gst_value_compare_flags), (gst_value_serialize_flags),
29156 (gst_value_deserialize_flags), (_gst_value_initialize):
29157 Fix serialisation of buffers, they are not boxed types anymore
29159 2005-06-20 Wim Taymans <wim@fluendo.com>
29161 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29162 Testcase to show error in buffer-on-caps serialisation.
29164 2005-06-20 Andy Wingo <wingo@pobox.com>
29166 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29167 will be adding to later.
29169 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29170 if its socks fill with rocks.
29171 (gst_system_clock_obtain): Set the name on object construction.
29172 Avoid double-checked locking.
29174 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29176 * gst/gsturi.c: (gst_element_make_from_uri):
29177 Fix potential endless loop.
29179 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29181 * check/Makefile.am:
29183 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29185 move over from testsuite dir and clean up
29188 * testsuite/Makefile.am:
29189 * testsuite/tags/.cvsignore:
29190 * testsuite/tags/Makefile.am:
29191 * testsuite/tags/merge.c:
29192 remove testsuite/tags
29194 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29196 * docs/gst/gstreamer-sections.txt:
29197 * docs/gst/tmpl/gstenumtypes.sgml:
29198 * win32/gstenumtypes.c:
29199 clean up documentation build a little
29201 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29203 * check/gstcheck.h:
29204 add macros for checking refcounts on objects and caps
29205 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29206 add some more unit tests
29207 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29208 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29209 fix leaked refcounts (I hope :)) so unittest works
29213 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29215 * configure.ac: back to HEAD
29217 === release 0.9.1 ===
29219 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29225 2005-06-17 Andy Wingo <wingo@pobox.com>
29227 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29228 assert; it's always possible that the pad gets deactivated in
29229 between the checks in gstpad.c and the implementation. Rely on
29230 finish_preroll() to return a FLUSHING or similar instead of on the
29233 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29234 clock and post an EOS message if we come out of finish_preroll in
29237 2005-06-16 David Schleef <ds@schleef.org>
29239 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29240 (gst_capsfilter_set_property): Allow NULL as possible value
29241 for filter_caps property, indicating GST_CAPS_ANY.
29243 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29245 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29247 * gst/schedulers/Makefile.am:
29249 * gstreamer.spec.in:
29252 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29254 * gstreamer.spec.in:
29257 2005-06-08 Andy Wingo <wingo@pobox.com>
29259 * gst/gstutils.c: RPAD fixes all around.
29260 (gst_element_link_pads): Refcounting fixes.
29262 * tools/gst-inspect.c:
29263 * tools/gst-xmlinspect.c:
29265 * gst/base/gsttypefindhelper.c:
29266 * gst/base/gstbasesink.c:
29267 * gst/gstqueue.c: RPAD fixes.
29269 * gst/gstghostpad.h:
29270 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29271 pads. The tricky thing is they provide both source and sink
29272 interfaces, since they proxy the internal pad for the external
29273 pad, and vice versa. Implement with lower-level ProxyPad objects,
29274 with the interior proxy pad as a child of the exterior ghost pad.
29275 Should write a doc on this.
29277 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29278 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29281 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29282 pads are real pads. No ghost pads in this file. Not documenting
29283 the myriad s/RPAD/PAD/ and REALIZE fixes.
29284 (gst_pad_class_init): Add properties for "direction" and
29285 "template". Both are construct-only, so they can't change during
29286 the life of the pad. Fixes properly deriving from GstPad.
29287 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29288 derived objects, just set properties when creating the objects via
29290 (gst_pad_get_parent): Implement as a function, return NULL if the
29291 parent is not an element.
29292 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29293 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29295 * gst/gstobject.c (gst_object_class_init): Make name a construct
29296 property. Don't set it in the object init.
29298 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29299 with UNKNOWN direction.
29300 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29301 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29302 (gst_element_remove_pad): Remove ghost-pad special cases.
29303 (gst_element_pads_activate): Remove rpad cruft.
29305 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29306 catch the pad's-parent-not-an-element case.
29308 * gst/gst.h: Include gstghostpad.h.
29310 * gst/gst.c (init_post): No more real, ghost pads.
29312 * gst/Makefile.am: Add gstghostpad.[ch].
29314 * check/Makefile.am:
29315 * check/gst/gstbin.c:
29316 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29317 into a bin creates ghost pads, and that the refcounts are right.
29318 Partly moved from gstbin.c.
29320 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29322 * check/gst-libs/.cvsignore:
29323 * check/gst/.cvsignore:
29324 * check/pipelines/.cvsignore:
29326 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29327 (START_TEST), (cleanup_suite), (main):
29328 add some tests related to cleanup after running pipelines
29330 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29332 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29333 add a testsuite for GstBuffer
29335 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29337 * gst/gstminiobject.h:
29338 add defines for accessing the refcount
29340 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29342 * Makefile.am: added support for html unit test coverage reports
29344 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29346 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29347 Free existing caps if the capsfilter changes. Add a FIXME about
29348 setting those caps on the pads.
29350 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29351 Before adding a ghost pad to a parent bin, check that there isn't
29352 already one for the element on the bin. Prevents infinite recursion
29353 when using decodebin in parse pipelines. Andy says he'll rewrite the
29354 way this works anyway, so ignore the hack.
29356 2005-06-02 Andy Wingo <wingo@pobox.com>
29358 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29359 file size, pass it on to the type find helper.
29361 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29362 segment_start and segment_end properly according to the seek
29363 method. Segment_end is still a bit flaky because offset can be
29364 negative for CUR and END cases, but it takes -1 as an "unset"
29367 2005-06-02 Wim Taymans <wim@fluendo.com>
29369 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29370 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29371 (gst_basesink_activate):
29372 * gst/base/gstbasesink.h:
29373 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29374 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29375 (gst_pad_query), (gst_pad_start_task):
29377 * gst/gstqueue.c: (gst_queue_bufferalloc),
29378 (gst_queue_handle_sink_event), (gst_queue_chain):
29379 Bufferalloc: return GstFlowReturn to more accuratly report
29380 why allocation failed.
29382 2005-06-02 Wim Taymans <wim@fluendo.com>
29384 * gst/gstpipeline.c: (gst_pipeline_send_event):
29385 Take snapshot of state without blocking.
29387 2005-06-02 Wim Taymans <wim@fluendo.com>
29389 * docs/design/part-TODO.txt:
29390 * docs/design/part-caps.txt:
29391 * docs/design/part-clocks.txt:
29392 * docs/design/part-negotiation.txt:
29393 * docs/design/part-preroll.txt:
29396 2005-05-30 Wim Taymans <wim@fluendo.com>
29398 * gst/elements/gstidentity.c: (gst_identity_event),
29399 (gst_identity_transform), (gst_identity_get_property):
29400 Protect last_message property as it is accessed from
29403 2005-05-30 Wim Taymans <wim@fluendo.com>
29405 * gst/gstelement.c: (gst_element_init),
29406 (gst_element_pads_activate), (gst_element_change_state):
29407 Slicker pad activation code.
29409 2005-05-30 Wim Taymans <wim@fluendo.com>
29412 * gst/gstelement.h:
29413 * gst/gstelementfactory.h:
29415 Move elementfactory methods to separate .h file.
29417 2005-05-30 Wim Taymans <wim@fluendo.com>
29419 * docs/design/part-overview.txt:
29420 * gst/gstsystemclock.h:
29421 Small typo fixes, doc updates.
29423 2005-05-30 Wim Taymans <wim@fluendo.com>
29425 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29426 (init_popt_callback):
29427 Remove cpu-opt flag.
29429 2005-05-30 Wim Taymans <wim@fluendo.com>
29431 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29432 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29434 Avoid typechecking in places where not needed.
29435 Added accessor for malloc_data.
29437 2005-05-30 Wim Taymans <wim@fluendo.com>
29439 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29440 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29441 (gst_pad_configure_sink), (gst_pad_configure_src),
29442 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29443 (gst_pad_start_task):
29444 Propagate errors from _set_caps() in configure_src/sink
29445 functions instead of returning TRUE.
29446 FLUSH events can travel up and downstream
29449 2005-05-30 Wim Taymans <wim@fluendo.com>
29451 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29452 (gst_basesink_activate):
29453 Handle EOS in preroll.
29455 2005-05-30 Wim Taymans <wim@fluendo.com>
29457 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29458 (gst_queue_loop), (gst_queue_handle_src_event):
29459 Remove old pieces of code
29460 Flushing the queue in an upstream event is a very bad idea.
29462 2005-05-26 Andy Wingo <wingo@pobox.com>
29464 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29465 gst_value_set_mini_object so as to add a ref on the object (which
29466 will be removed when the value is unset).
29468 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29469 arg type in ::handoff.
29471 * gst/gstelement.c (gst_element_change_state): Also deactivate
29472 pads in READY->NULL, just in case the element didn't make it to
29473 PAUSED. Wingo tested, Wim approved.
29475 2005-05-26 Wim Taymans <wim@fluendo.com>
29477 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29478 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29479 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29480 A flushing pad cannot be used to alloc_buffer from.
29482 2005-05-26 Wim Taymans <wim@fluendo.com>
29484 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29485 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29486 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29487 (gst_bus_create_watch), (gst_bus_add_watch_full):
29489 Implement a real GSource and use g_main_context_wakeup() to
29490 signal new messages instead of the socketpair.
29492 2005-05-25 Wim Taymans <wim@fluendo.com>
29494 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29495 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29496 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29497 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29498 (gst_pad_send_event), (gst_pad_start_task):
29499 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29500 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29501 (gst_queue_sink_activate), (gst_queue_src_activate),
29502 (gst_queue_change_state):
29504 Fix state changes for non sinks. We now change sinks, then elements
29505 with unconnected srcpads, then the rest.
29506 More efficient queue unlocking in flush and state changes.
29507 Set the pad activate mode even if it does not have an activate
29510 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29512 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29513 Don't go in pull mode for non-seekable sources.
29514 * gst/elements/gsttypefindelement.h:
29515 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29516 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29517 (free_entry), (stop_typefinding),
29518 (gst_type_find_element_handle_event), (find_peek),
29519 (gst_type_find_element_chain), (do_pull_typefind),
29520 (gst_type_find_element_change_state):
29521 Allow typefinding (w/o seeking) in push-mode, simplified version
29522 of what was in 0.8.
29523 * gst/gstutils.c: (gst_buffer_join):
29525 gst_buffer_join() from 0.8.
29527 2005-05-25 Wim Taymans <wim@fluendo.com>
29529 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29530 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29531 (gst_pad_send_event), (gst_pad_start_task):
29532 Disable attempt at mode switching until it is figured out.
29534 2005-05-25 Wim Taymans <wim@fluendo.com>
29536 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29537 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29538 (gst_basesink_finish_preroll), (gst_basesink_chain),
29539 (gst_basesink_loop), (gst_basesink_activate),
29540 (gst_basesink_change_state):
29541 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29542 (gst_basesrc_get_range), (gst_basesrc_loop),
29543 (gst_basesrc_activate):
29544 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29545 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29546 (gst_real_pad_init), (gst_real_pad_set_property),
29547 (gst_real_pad_get_property), (gst_pad_set_active),
29548 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29549 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29550 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29551 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29552 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29553 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29554 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29555 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29556 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29557 (gst_pad_stop_task):
29559 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29560 (gst_queue_loop), (gst_queue_src_activate):
29561 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29562 (gst_task_get_state):
29564 * gst/schedulers/threadscheduler.c:
29565 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29566 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29568 Remove ACTIVE pad flag, use FLUSHING everywhere
29569 Added _pad_chain(), _pad_get_range() to call chain/getrange
29571 Add locks around IS_FLUSHING when reading.
29572 Take STREAM lock in chain(), get_range() functions so plugins
29573 don't need to take it anymore.
29577 2005-05-25 Wim Taymans <wim@fluendo.com>
29579 * tools/gst-launch.c: (event_loop):
29580 Unref message after using its contents instead of
29583 2005-05-24 Wim Taymans <wim@fluendo.com>
29585 * docs/design/draft-ghostpads.txt:
29586 * docs/design/draft-push-pull.txt:
29587 * docs/design/draft-query.txt:
29588 * docs/design/part-overview.txt:
29589 Docs updates, added general overview doc.
29591 2005-05-21 David Schleef <ds@schleef.org>
29593 * docs/gst/tmpl/old/GstBin.sgml:
29594 * docs/gst/tmpl/old/GstBuffer.sgml:
29595 * docs/gst/tmpl/old/GstCaps.sgml:
29596 * docs/gst/tmpl/old/GstClock.sgml:
29597 * docs/gst/tmpl/old/GstCompat.sgml:
29598 * docs/gst/tmpl/old/GstData.sgml:
29599 * docs/gst/tmpl/old/GstElement.sgml:
29600 * docs/gst/tmpl/old/GstEvent.sgml:
29601 * docs/gst/tmpl/old/GstIndex.sgml:
29602 * docs/gst/tmpl/old/GstStructure.sgml:
29603 * docs/gst/tmpl/old/GstTag.sgml:
29604 * docs/gst/tmpl/old/cothreads.sgml:
29605 * docs/gst/tmpl/old/cothreads_compat.sgml:
29606 * docs/gst/tmpl/old/gettext.sgml:
29607 * docs/gst/tmpl/old/gobject2gtk.sgml:
29608 * docs/gst/tmpl/old/grammar.tab.sgml:
29609 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29610 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29611 * docs/gst/tmpl/old/gst_private.sgml:
29612 * docs/gst/tmpl/old/gstaggregator.sgml:
29613 * docs/gst/tmpl/old/gstarch.sgml:
29614 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29615 * docs/gst/tmpl/old/gstbufferstore.sgml:
29616 * docs/gst/tmpl/old/gstdata_private.sgml:
29617 * docs/gst/tmpl/old/gstdisksink.sgml:
29618 * docs/gst/tmpl/old/gstdisksrc.sgml:
29619 * docs/gst/tmpl/old/gstelementfactory.sgml:
29620 * docs/gst/tmpl/old/gstextratypes.sgml:
29621 * docs/gst/tmpl/old/gstfakesink.sgml:
29622 * docs/gst/tmpl/old/gstfakesrc.sgml:
29623 * docs/gst/tmpl/old/gstfdsink.sgml:
29624 * docs/gst/tmpl/old/gstfdsrc.sgml:
29625 * docs/gst/tmpl/old/gstfilesink.sgml:
29626 * docs/gst/tmpl/old/gstfilesrc.sgml:
29627 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29628 * docs/gst/tmpl/old/gstidentity.sgml:
29629 * docs/gst/tmpl/old/gstindexfactory.sgml:
29630 * docs/gst/tmpl/old/gstmarshal.sgml:
29631 * docs/gst/tmpl/old/gstmd5sink.sgml:
29632 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29633 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29634 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29635 * docs/gst/tmpl/old/gstpipefilter.sgml:
29636 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29637 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29638 * docs/gst/tmpl/old/gstshaper.sgml:
29639 * docs/gst/tmpl/old/gstspider.sgml:
29640 * docs/gst/tmpl/old/gstspideridentity.sgml:
29641 * docs/gst/tmpl/old/gststatistics.sgml:
29642 * docs/gst/tmpl/old/gsttee.sgml:
29643 * docs/gst/tmpl/old/gsttimecache.sgml:
29644 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29645 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29646 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29647 * docs/gst/tmpl/old/types.sgml:
29648 I didn't intend to add these or check them in.
29650 2005-05-19 David Schleef <ds@schleef.org>
29652 * configure.ac: Use -no-common everywhere. In a sane world, it
29653 would be the default in libtool, because without it, you can't
29654 build DLLs on Windows.
29655 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29656 * docs/gst/gstreamer-sections.txt:
29657 * docs/gst/tmpl/gstcpu.sgml:
29658 * docs/gst/tmpl/gstdata.sgml:
29659 * docs/gst/tmpl/gstthread.sgml:
29661 2005-05-19 David Schleef <ds@schleef.org>
29663 * gst/gstminiobject.c: (gst_value_set_mini_object),
29664 (gst_value_take_mini_object), (gst_value_get_mini_object):
29665 * gst/gstminiobject.h: Add GValue set/get functions.
29667 2005-05-19 Wim Taymans <wim@fluendo.com>
29669 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29670 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29671 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29673 * gst/gstbus.c: (gst_bus_post):
29674 * gst/gstelement.c: (gst_element_get_random_pad):
29675 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29676 Make subbufer unref the parent in finalize.
29677 some more debugging info.
29680 2005-05-19 Wim Taymans <wim@fluendo.com>
29682 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29683 (gst_basesink_init), (gst_basesink_finalize),
29684 (gst_basesink_activate), (gst_basesink_change_state):
29685 Don't free preroll queue too early.
29687 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29691 Hi, I'm outdated. Please shoot me.
29693 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29695 * gst/gstpipeline.c: (gst_pipeline_send_event):
29696 Do not access variables after they have been deleted.
29698 2005-05-19 Wim Taymans <wim@fluendo.com>
29700 * tools/gst-inspect.c: (print_plugin_features):
29701 A plugin feature does unfortunatly not use the
29704 2005-05-18 Wim Taymans <wim@fluendo.com>
29706 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29707 Port _span() functions to new subbuffers.
29709 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29711 * gst/gstbin.c: (gst_bin_add_func):
29712 Fix clock settery in bins when adding kids after the clock has
29715 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29717 * gst/elements/gstidentity.c: (gst_identity_class_init):
29718 Workaround until signals support GstMiniObject.
29720 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29723 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29725 2005-05-18 Wim Taymans <wim@fluendo.com>
29727 * gst/base/Makefile.am:
29728 * gst/base/gstadapter.c: (gst_adapter_base_init),
29729 (gst_adapter_class_init), (gst_adapter_init),
29730 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29731 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29732 (gst_adapter_flush), (gst_adapter_available),
29733 (gst_adapter_available_fast):
29734 * gst/base/gstadapter.h:
29735 Ported and added adapter to the base classes.
29737 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29740 * gst/gstmessage.c:
29741 Make sure the class is reffed/unreffed once before threads can be
29742 used. Fixes #304551.
29744 2005-05-17 Wim Taymans <wim@fluendo.com>
29746 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29747 (gst_basesink_chain_unlocked), (gst_basesink_activate):
29748 * gst/gstminiobject.c: (gst_mini_object_get_type),
29749 (gst_mini_object_free):
29750 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29751 (gst_pad_push), (gst_pad_push_event):
29752 * gst/gstqueue.c: (gst_queue_change_state):
29753 Don't queue buffers in basesink when we are flushing.
29754 Unref buffer when flushing in basesink.
29755 Flush queue when going to READY
29756 Unref buffer when _push() returns an error.
29757 Don't free MiniObject instance when refcount is incremented
29758 in _finalize() so that we can recover objects.
29760 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29762 * docs/manual/advanced-schedulers.xml:
29763 * docs/manual/appendix-checklist.xml:
29764 * docs/pwg/advanced-clock.xml:
29765 * docs/pwg/advanced-interfaces.xml:
29766 * docs/pwg/advanced-request.xml:
29767 * docs/pwg/advanced-types.xml:
29768 * docs/pwg/intro-preface.xml:
29769 * examples/plugins/example.c: (gst_example_get_type),
29770 (gst_example_class_init), (gst_example_chain),
29771 (gst_example_set_property), (gst_example_get_property),
29772 (gst_example_change_state), (plugin_init):
29773 * examples/plugins/example.h:
29776 2005-05-17 Wim Taymans <wim@fluendo.com>
29778 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29779 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29780 * gst/gstqueue.c: (gst_queue_change_state):
29781 Clear queue when going to READY.
29782 Remove IN_SETCAPS flag too.
29784 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
29786 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29787 Remove implicit cast from gboolean to GstElementStateReturn;
29788 make sure we still return failure in paused => ready case if
29789 the parent class fails to change state and our own stop
29792 2005-05-17 Wim Taymans <wim@fluendo.com>
29794 * tools/gst-launch.c: (event_loop):
29795 Message was unreffed too soon.
29797 2005-05-16 Andy Wingo <wingo@pobox.com>
29799 * gst/gstbin.c (sink_iterator_filter): Err... um...
29801 * check/gst/gstbin.c (test_ghost_pads): New test for the
29802 ghosting-if-elements-not-in-same-bin behavior.
29804 2005-05-16 David Schleef <ds@schleef.org>
29806 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29807 accessing refcount directly.
29809 2005-05-15 David Schleef <ds@schleef.org>
29811 * check/Makefile.am: remove GstData checks
29812 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29813 * gst/Makefile.am: add miniobject, remove data
29814 * gst/gst.h: add miniobject, remove data
29815 * gst/gstdata.c: remove
29816 * gst/gstdata.h: remove
29817 * gst/gstdata_private.h: remove
29818 * gst/gsttypes.h: remove GstEvent and GstMessage
29819 * gst/gstelement.c: (gst_element_post_message): fix for API changes
29820 * gst/gstmarshal.list: change BOXED -> OBJECT
29822 Implement GstMiniObject.
29823 * gst/gstminiobject.c:
29824 * gst/gstminiobject.h:
29826 Modify to be subclasses of GstMiniObject.
29827 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29828 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29829 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29830 (gst_subbuffer_get_type), (gst_subbuffer_init),
29831 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29834 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29835 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29836 (_gst_event_copy), (gst_event_new):
29838 * gst/gstmessage.c: (_gst_message_initialize),
29839 (gst_message_get_type), (gst_message_class_init),
29840 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29841 (gst_message_new), (gst_message_new_error),
29842 (gst_message_new_warning), (gst_message_new_tag),
29843 (gst_message_new_state_changed), (gst_message_new_application):
29844 * gst/gstmessage.h:
29845 * gst/gstprobe.c: (gst_probe_perform),
29846 (gst_probe_dispatcher_dispatch):
29848 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29849 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29850 (_gst_query_copy), (gst_query_new):
29852 Update elements for GstData -> GstMiniObject changes
29854 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29855 (gst_queue_chain), (gst_queue_loop):
29856 * gst/elements/gstbufferstore.c:
29857 (gst_buffer_store_add_buffer_func),
29858 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29859 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29860 (gst_fakesink_render):
29861 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29862 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29863 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29864 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29865 (gst_filesrc_create_read):
29866 * gst/elements/gstidentity.c: (gst_identity_class_init):
29867 * gst/elements/gsttypefindelement.c:
29868 (gst_type_find_element_src_event), (free_entry_buffers),
29869 (gst_type_find_element_handle_event):
29870 * libs/gst/dataprotocol/dataprotocol.c:
29871 (gst_dp_header_from_buffer):
29872 * libs/gst/dataprotocol/dataprotocol.h:
29873 * libs/gst/dataprotocol/dp-private.h:
29875 2005-05-15 David Schleef <ds@schleef.org>
29877 * gst/elements/gstelements.c: Don't include headers that were
29880 2005-05-15 David Schleef <ds@schleef.org>
29882 * gst/elements/Makefile.am: Remove some elements that don't
29883 need to be in the core (or even exist at all).
29884 * gst/elements/gstaggregator.c:
29885 * gst/elements/gstaggregator.h:
29886 * gst/elements/gstmd5sink.c:
29887 * gst/elements/gstmd5sink.h:
29888 * gst/elements/gstmultifilesrc.c:
29889 * gst/elements/gstmultifilesrc.h:
29890 * gst/elements/gstpipefilter.c:
29891 * gst/elements/gstpipefilter.h:
29892 * gst/elements/gstshaper.c:
29893 * gst/elements/gstshaper.h:
29894 * gst/elements/gststatistics.c:
29895 * gst/elements/gststatistics.h:
29896 * po/POTFILES.in: Remove above files.
29898 2005-05-14 Andy Wingo <wingo@pobox.com>
29900 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29901 so as to get the refs right.
29902 (sink_iterator_filter): New function, wraps bin_element_is_sink,
29903 unreffing objects that don't pass the filter.
29905 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
29906 gst_element_set_bus.
29907 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
29908 normal cases, this will destroy the bus.
29910 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
29913 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
29916 2005-05-13 Andy Wingo <wingo@pobox.com>
29918 * gst/gstutils.c (gst_element_link_pads): Instead of calling
29919 gst_pad_link, call pad_link_maybe_ghosting,
29920 (pad_link_maybe_ghosting): Links pads, making sure that the
29921 elements being linked are in the same bin.
29922 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
29923 Helpers for pad_link_maybe_ghosting.
29925 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29928 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
29930 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29932 * docs/design/part-element-source.txt:
29935 2005-05-12 Wim Taymans <wim@fluendo.com>
29937 * gst/base/gstbasesink.c: (gst_basesink_init),
29938 (gst_basesink_activate):
29939 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
29940 (gst_basesrc_is_seekable):
29941 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
29942 (bin_element_is_sink), (gst_bin_change_state):
29943 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29944 * gst/gstelement.h:
29945 Identify sinks by their flag to avoid overly complicated
29947 Do state changes even for elements not reachable from the
29949 BaseSink is a sink now :)
29950 Some more debugging info in the basesrc.
29953 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29955 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
29956 Implement _query on a bin, similar to _send_event.
29958 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
29960 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
29961 Discont event offset format should be GST_FORMAT_BYTES,
29962 not GST_FORMAT_TIME.
29964 2005-05-12 Wim Taymans <wim@fluendo.com>
29966 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
29967 Same fix as Ronald's but without the signal.
29969 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29971 * gst/gstutils.c: (gst_element_query_position):
29972 No, an element is not a pad.
29974 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29976 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
29977 (gst_bin_get_state):
29978 If a child is removed from a bin while we remove the child from
29979 the bin and while we're retrieving its state, signal this to the
29980 get_state function so we abort the wait (instead of waiting for
29981 a timeout) and can immediately re-iterate over all other elements.
29983 2005-05-12 Wim Taymans <wim@fluendo.com>
29985 * gst/base/Makefile.am:
29986 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
29987 (gst_basesrc_start):
29988 * gst/base/gstbasesrc.h:
29989 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
29990 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
29991 (gst_pushsrc_init), (gst_pushsrc_create):
29992 * gst/base/gstpushsrc.h:
29993 Added is_seekable to BaseSrc
29994 Added simple PushSrc.
29996 2005-05-11 Wim Taymans <wim@fluendo.com>
29998 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29999 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30000 (gst_element_link_pads), (gst_element_query_position),
30001 (gst_element_query_convert), (intersect_caps_func),
30002 (gst_pad_query_position), (gst_pad_query_convert):
30003 Fix refcounting in utils function.
30004 No point in trying to activate a pad when it's added, it could
30005 be added from the state change function and then we deadlock, the
30006 element has to decide what to do.
30008 2005-05-10 Andy Wingo <wingo@pobox.com>
30010 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30011 *all* the arguments.
30013 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30014 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30015 lock (according to the docs -- if this is wrong change the docs).
30017 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30018 flush messages in the NULL state.
30020 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30021 message immediately and return.
30022 (gst_bus_set_flushing): New function. If a bus is flushing, it
30023 flushes out any queued messages and immediately unrefs new
30024 messages. This is so when an element goes to NULL, all of the
30025 unhandled messages coming from it can be freed, and their
30026 references to the element dropped. In other words: message source
30027 ref considered harmful :P
30029 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30030 we're finished with it.
30032 * gst/gstmessage.c (gst_message_new_state_changed):
30034 2005-05-10 Wim Taymans <wim@fluendo.com>
30036 * gst/gstvalue.c: (gst_value_compare_flags),
30037 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30038 (_gst_value_initialize):
30039 Added flags serialize/deserialize/compare code.
30041 2005-05-09 Andy Wingo <wingo@pobox.com>
30043 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30044 Intersect the peer's caps with our caps.
30046 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30048 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30049 * gst/elements/gsttypefindelement.c: (find_peek):
30050 Handle negative offsets better. Fixes decodebin.
30052 2005-05-09 Wim Taymans <wim@fluendo.com>
30054 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30055 (gst_base_transform_event):
30056 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30057 Implement accept_caps.
30058 Fix silly lock/unlock mismatch in base class.
30060 2005-05-09 Wim Taymans <wim@fluendo.com>
30062 * docs/design/draft-push-pull.txt:
30063 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30064 * gst/elements/gstfilesink.c: (gst_filesink_init),
30065 (gst_filesink_query):
30066 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30067 (gst_type_find_handle_src_query), (find_element_get_length):
30068 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30069 * gst/gstelement.h:
30070 * gst/gstmessage.c:
30071 * gst/gstmessage.h:
30072 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30073 (gst_real_pad_get_caps_unlocked),
30074 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30075 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30076 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30077 (gst_real_pad_dispose), (gst_real_pad_finalize),
30078 (gst_pad_load_and_link), (gst_pad_save_thyself),
30079 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30080 (gst_pad_check_pull_range), (gst_pad_pull_range),
30081 (gst_pad_template_get_type), (gst_pad_template_class_init),
30082 (gst_pad_template_init), (gst_pad_template_dispose),
30083 (name_is_valid), (gst_static_pad_template_get),
30084 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30085 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30086 (gst_pad_get_element_private), (gst_pad_start_task),
30087 (gst_pad_pause_task), (gst_pad_stop_task),
30088 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30089 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30090 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30091 (gst_ghost_pad_new):
30093 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30094 (gst_query_new_position), (gst_query_set_position),
30095 (gst_query_parse_position), (gst_query_new_convert),
30096 (gst_query_set_convert), (gst_query_parse_convert):
30098 * gst/gstqueryutils.c:
30099 * gst/gstqueryutils.h:
30100 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30101 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30102 (gst_queue_handle_src_query):
30103 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30104 (gst_element_query_position), (gst_element_query_convert),
30105 (intersect_caps_func), (gst_pad_query_position),
30106 (gst_pad_query_convert):
30108 * tools/gst-inspect.c: (print_pad_info):
30109 * tools/gst-xmlinspect.c: (print_element_info):
30110 Remove old query functions. Ported old code.
30111 Added position/convert helper functions to gstutils.
30112 Reordered gstpad.c code, grouping relevant things.
30113 Remove gst_message_new(), always need to speficy a specific
30117 2005-05-09 Andy Wingo <wingo@pobox.com>
30119 * gst/gstiterator.h: Add some includes.
30121 * gst/gstqueryutils.h: Include more headers.
30124 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30125 some uses of gst_pad_query.
30127 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30128 NULL out parameters.
30129 (gst_query_new_position): New proc, allocates a new position
30132 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30133 gstqueryutils.c to the build.
30135 * gst/gststructure.c (gst_structure_set_valist): Implement with
30136 the generic G_VALUE_COLLECT.
30138 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30140 * gst/Makefile.am: (gst_headers):
30141 Added gstqueryutils.h to the list of headers to install, that was
30142 a 'nachty' move wingo :)
30144 2005-05-06 Andy Wingo <wingo@pobox.com>
30147 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30148 GstData, init a memchunk.
30149 (standard_definitions): Add a few query types, deprecate a few.
30150 (gst_query_get_type): New proc.
30151 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30153 (gst_query_new_application, gst_query_get_structure): New public
30156 * docs/design/draft-query.txt: Removed LINKS from the query types,
30157 because all the rest can be dispatched to other pads -- seemed
30158 ugly to have a query that couldn't be dispatched. internal_links
30159 is fine as a pad method.
30161 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30162 in gstpad.c, but maintain binary compatibility for the moment.
30163 Will fix before 0.9 is out.
30165 * gst/gstqueryutils.c:
30166 * gst/gstqueryutils.h: New files, implement 3 methods for each
30167 query type: parse_query, parse_response, and set. Probably need an
30170 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30172 * gst/elements/gstfilesink.c (gst_filesink_query2):
30173 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30174 query_types, and formats methods.
30176 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30177 (gst_pad_set_query2_function): New functions.
30178 (gst_real_pad_init): Set query2_default as the default query2
30179 function. Basically just dispatches to internally linked pads.
30183 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30184 without using the atomic operations. Only one thread can possibly
30185 be accessing the data at this point. Changed so as to avoid
30186 gst_atomic operations.
30188 2005-05-06 Wim Taymans <wim@fluendo.com>
30190 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30191 Also set caps if we use the fallback buffer alloc.
30193 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30195 * docs/gst/Makefile.am:
30196 * docs/gst/gstreamer-docs.sgml:
30197 * docs/gst/gstreamer-sections.txt:
30198 * docs/gst/tmpl/gstatomic.sgml:
30199 * docs/gst/tmpl/gstmemchunk.sgml:
30200 * testsuite/elements/struct_i386.h:
30201 * win32/GStreamer.vcproj:
30203 Purge GstAtomic stuff from docs and win32 makefiles as well
30205 2005-05-06 Wim Taymans <wim@fluendo.com>
30207 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30208 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30209 * gst/gstpad.c: (gst_pad_peer_get_caps):
30210 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30211 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30212 (gst_queue_src_activate), (gst_queue_change_state):
30214 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30215 (intersect_caps_func):
30216 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30217 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30218 Some fixes for the peer_get_caps() change.
30220 2005-05-06 Wim Taymans <wim@fluendo.com>
30222 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30223 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30224 (gst_basesink_activate):
30225 Actually do something with error codes returned from the push
30228 2005-05-06 Wim Taymans <wim@fluendo.com>
30230 * docs/design/part-element-sink.txt:
30231 * docs/design/part-element-source.txt:
30232 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30233 (gst_basesink_event), (gst_basesink_activate):
30234 * gst/base/gstbasesink.h:
30235 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30236 (gst_basesrc_activate):
30237 * gst/base/gstbasesrc.h:
30238 * gst/gstelement.c: (gst_element_pads_activate):
30239 Some more documentation.
30240 Fixed scheduling decision in _pads_activate().
30242 2005-05-05 Andy Wingo <wingo@pobox.com>
30244 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30247 2005-05-05 Wim Taymans <wim@fluendo.com>
30249 * gst/base/Makefile.am:
30250 * gst/base/gstbasesink.h:
30251 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30252 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30253 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30254 (gst_collectpads_class_init), (gst_collectpads_init),
30255 (gst_collectpads_finalize), (gst_collectpads_new),
30256 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30257 (find_pad), (gst_collectpads_remove_pad),
30258 (gst_collectpads_is_active), (gst_collectpads_collect),
30259 (gst_collectpads_collect_range), (gst_collectpads_start),
30260 (gst_collectpads_stop), (gst_collectpads_peek),
30261 (gst_collectpads_pop), (gst_collectpads_available),
30262 (gst_collectpads_read), (gst_collectpads_flush),
30263 (gst_collectpads_chain):
30264 * gst/base/gstcollectpads.h:
30265 * gst/elements/Makefile.am:
30266 * gst/elements/gstelements.c:
30267 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30268 (gst_fakesink_get_times), (gst_fakesink_event),
30269 (gst_fakesink_preroll), (gst_fakesink_render):
30270 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30271 (gst_filesink_init), (gst_filesink_set_location),
30272 (gst_filesink_open_file), (gst_filesink_close_file),
30273 (gst_filesink_pad_query), (gst_filesink_event),
30274 (gst_filesink_render), (gst_filesink_change_state):
30275 * gst/elements/gstfilesink.h:
30276 Added object to help in making collect pad based elements.
30278 Make event function in sink baseclass return gboolean.
30280 2005-05-05 Wim Taymans <wim@fluendo.com>
30282 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30283 (gst_bin_get_by_name):
30285 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30286 (gst_clock_finalize):
30287 * gst/gstdata.c: (gst_data_replace):
30289 * gst/gstelement.c: (gst_element_request_pad),
30290 (gst_element_pads_activate):
30291 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30292 (gst_object_unref):
30293 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30294 (gst_pad_set_checkgetrange_function),
30295 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30296 (gst_pad_check_pull_range), (gst_pad_pull_range),
30297 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30298 (gst_pad_pause_task), (gst_pad_stop_task):
30299 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30300 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30301 Fix name lookup in GstBin.
30302 Added _data_replace() function and _buffer_replace()
30303 Use finalize method to clean up clock.
30304 Fix refcounting on request pads.
30305 Fix pad schedule mode error.
30306 Some more object refcounting debug info,
30309 2005-05-04 Andy Wingo <wingo@pobox.com>
30311 * check/Makefile.am:
30312 * docs/gst/tmpl/gstatomic.sgml:
30313 * docs/gst/tmpl/gstplugin.sgml:
30314 * gst/base/gstbasesink.c: (gst_basesink_activate):
30315 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30316 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30317 (gst_basesrc_query), (gst_basesrc_set_property),
30318 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30319 (gst_basesrc_activate):
30320 * gst/base/gstbasesrc.h:
30321 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30322 (gst_base_transform_src_activate):
30323 * gst/elements/gstelements.c:
30324 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30325 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30326 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30327 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30328 (gst_type_find_element_checkgetrange),
30329 (gst_type_find_element_activate):
30330 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30331 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30332 (gst_caps_load_thyself):
30333 * gst/gstelement.c: (gst_element_pads_activate),
30334 (gst_element_save_thyself), (gst_element_restore_thyself):
30335 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30336 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30338 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30339 (gst_xml_parse_file), (gst_xml_parse_memory),
30340 (gst_xml_get_element), (gst_xml_make_element):
30341 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30342 (_file_index_id_save_xml), (gst_file_index_commit):
30343 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30344 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30346 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30347 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30348 * tools/gst-complete.c: (main):
30349 * tools/gst-compprep.c: (main):
30350 * tools/gst-inspect.c: (print_element_properties_info):
30351 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30352 * tools/gst-xmlinspect.c: (print_element_properties):
30355 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30357 * gst/gstplugin.c: (gst_plugin_check_module),
30358 (gst_plugin_check_file), (gst_plugin_load_file):
30359 apply patch from #172526 to make register work on MacOSX
30361 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30363 * docs/gst/tmpl/gstconfig.sgml:
30364 * gst/gstconfig.h.in:
30365 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30366 * testsuite/debug/printf_extension.c: (main):
30367 Do not use GST_PTR_FORMAT on pointers to types with
30368 sizeof < sizeof(gpointer). Fixes test on 64-bit
30369 * testsuite/elements/property.h:
30370 use correct printf format
30372 2005-05-02 Wim Taymans <wim@fluendo.com>
30374 * docs/design/draft-push-pull.txt:
30375 * docs/design/draft-query.txt:
30376 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30377 (gst_basesrc_start):
30378 Added draft for new query API.
30379 Added draft for better selecting scheduling methods.
30380 Make basesrc ignore length if the subclass does not support
30383 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30386 possible fixes for automake-1.5 - _LIBADD is reserved
30388 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30390 * docs/faq/Makefile.am:
30391 * docs/manual/Makefile.am:
30392 * docs/manuals.mak:
30393 * docs/pwg/Makefile.am:
30395 possible fixes for automake-1.5
30397 2005-04-28 Wim Taymans <wim@fluendo.com>
30399 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30400 (gst_basesink_pad_getcaps), (gst_basesink_init),
30401 (gst_basesink_do_sync):
30402 * gst/gstclock.c: (gst_clock_entry_new):
30403 * gst/gstevent.c: (gst_event_discont_get_value):
30404 * gst/gstpipeline.c: (pipeline_bus_handler),
30405 (gst_pipeline_change_state):
30406 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30407 Better debugging of clocking info.
30408 Allow NULL values when getting discont values.
30410 2005-04-27 Wim Taymans <wim@fluendo.com>
30412 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30413 * check/gst/gstpad.c: (gst_pad_suite):
30414 Increase timeout for checks.
30416 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30418 * check/Makefile.am:
30419 fix the broken rule for cleanup. Apparently this rule is
30420 only needed on FC2, so maybe this warrants further autotool
30423 2005-04-26 Wim Taymans <wim@fluendo.com>
30425 * gst/gsttrashstack.h:
30426 Ooohh. a nasty one! After having a failed pop() from the stack,
30427 it's possible that the stack is empty. In that case, don't
30428 follow the NULL pointer.
30430 2005-04-25 Wim Taymans <wim@fluendo.com>
30432 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30433 (gst_pad_set_checkgetrange_function),
30434 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30435 (gst_pad_check_pull_range), (gst_pad_pull_range),
30436 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30437 (gst_pad_pause_task), (gst_pad_stop_task):
30438 * gst/gstplugin.c: (gst_plugin_load):
30440 Remove gst_library_load as it does more harm than good with
30441 the new g_module flags.
30442 Revert bogus caps template check in pad linking, pad caps
30443 are important when linking not the template, which is more
30444 general than the current caps.
30446 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30448 * gst/autoplug/.cvsignore:
30449 * gst/autoplug/Makefile.am:
30450 * gst/autoplug/gstsearchfuncs.c:
30451 * gst/autoplug/gstsearchfuncs.h:
30452 * gst/autoplug/gstspider.c:
30453 * gst/autoplug/gstspider.h:
30454 * gst/autoplug/gstspideridentity.c:
30455 * gst/autoplug/gstspideridentity.h:
30456 * gst/autoplug/spidertest.c:
30459 2005-04-25 Wim Taymans <wim@fluendo.com>
30461 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30462 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30463 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30464 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30466 Added stubs for unimplemented functions.
30468 2005-04-24 David Schleef <ds@schleef.org>
30470 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30473 2005-04-24 David Schleef <ds@schleef.org>
30475 Convert everything from GstAtomicInt to g_atomic_int_*, and
30480 * gst/gstatomic_impl.h:
30488 * gst/gstdata_private.h:
30492 * gst/gstmessage.c:
30495 * gst/gststructure.c:
30496 * gst/gststructure.h:
30497 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30500 2005-04-24 David Schleef <ds@schleef.org>
30502 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30503 make the regressions tests work. Remove some code that is no
30505 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30506 Disable warning for pads without templates.
30508 2005-04-24 David Schleef <ds@schleef.org>
30510 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30511 functions that handle filtered links.
30512 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30514 * gst/gstutils.c: Fix/remove utility functions that handle
30517 * gst/gstvalue.c: Add serialization/deserialization of caps
30518 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30519 requires fixing so that the filter caps notation creates
30520 a capsfilter element and sets the filter_caps property. I
30521 think everyone probably wants to keep the shorthand notation.
30522 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30523 * docs/gst/tmpl/gstpad.sgml:
30525 * gst/elements/gstelements.c: Register capsfilter element.
30526 * gst/Makefile.am: fix spacing
30527 * docs/random/ds/0.9-suggested-changes: random
30529 2005-04-23 David Schleef <ds@schleef.org>
30531 * gst/elements/Makefile.am:
30532 * gst/elements/gstcapsfilter.c: New element that acts like an
30533 identity, but filters caps. Will eventually replace filtered
30534 caps in pad linking.
30535 * gst/gstutils.c: (gst_element_create_all_pads): New function
30536 to create all the ALWAYS pads that are registered with an
30537 element class. This functionality should eventually be
30538 merged in with GstElement initialization.
30540 * testsuite/trigger/README: part of trigger test code that should
30541 have been checked in a long time ago.
30543 2005-04-23 David Schleef <ds@schleef.org>
30545 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30546 needed with new versions of libtool (nobody will confirm this),
30547 and hard to carry around.
30548 * gst/autoplug/Makefile.am:
30549 * gst/base/Makefile.am:
30550 * gst/elements/Makefile.am:
30551 * gst/indexers/Makefile.am:
30552 * gst/schedulers/Makefile.am:
30553 * libs/gst/bytestream/Makefile.am:
30554 * libs/gst/control/Makefile.am:
30555 * libs/gst/dataprotocol/Makefile.am:
30556 * libs/gst/getbits/Makefile.am:
30558 2005-04-21 Wim Taymans <wim@fluendo.com>
30560 * docs/design/draft-push-pull.txt:
30561 * docs/design/part-MT-refcounting.txt:
30562 * docs/design/part-TODO.txt:
30563 * docs/design/part-caps.txt:
30564 * docs/design/part-events.txt:
30565 * docs/design/part-gstbus.txt:
30566 * docs/design/part-gstpipeline.txt:
30567 * docs/design/part-messages.txt:
30568 * docs/design/part-push-pull.txt:
30569 * docs/design/part-query.txt:
30572 2005-04-21 Wim Taymans <wim@fluendo.com>
30574 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30575 (gst_message_new), (gst_message_new_error),
30576 (gst_message_new_warning), (gst_message_new_tag),
30577 (gst_message_new_state_changed), (gst_message_new_application),
30578 (gst_message_get_structure):
30579 * gst/gstmessage.h:
30580 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30581 (gst_structure_copy_conditional):
30582 Use parent refcount in GstMessage to ensure GstStructure
30584 Cleaned up headers a bit.
30587 2005-04-20 Wim Taymans <wim@fluendo.com>
30589 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30590 (gst_basesink_pad_getcaps), (gst_basesink_init),
30591 (gst_basesink_chain_unlocked):
30592 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30593 (gst_type_find_helper):
30594 * gst/elements/gsttypefindelement.c:
30595 (gst_type_find_element_have_type), (gst_type_find_element_init),
30596 (stop_typefinding), (gst_type_find_element_handle_event),
30597 (find_suggest), (gst_type_find_element_chain),
30598 (gst_type_find_element_checkgetrange),
30599 (gst_type_find_element_getrange), (do_typefind),
30600 (gst_type_find_element_activate):
30601 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30602 (gst_buffer_default_free), (gst_buffer_default_copy),
30603 (gst_buffer_set_caps):
30604 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30605 (gst_caps_replace):
30606 * gst/gstmessage.c: (gst_message_new),
30607 (gst_message_new_state_changed):
30608 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30609 (gst_pad_set_checkgetrange_function),
30610 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30611 (gst_pad_set_caps), (gst_pad_check_pull_range),
30612 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30614 * gst/gsttypefind.c: (gst_type_find_register):
30615 Make gst_caps_replace() work like other _replace() functions.
30616 Use _caps_replace() where possible.
30617 Make sure _message_new() initialises its field.
30618 Add gst_static_pad_template_get_caps()
30621 2005-04-18 Andy Wingo <wingo@pobox.com>
30623 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30624 on the peer, not the pad. I think that was a typo. Pass an extra
30625 arg to see if random access is possible. Activate the pads as
30626 PULL_RANGE if possible.
30628 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30630 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30631 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30634 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30636 * docs/faq/using.xml:
30637 Add note on gstreamer-properties (#154996).
30639 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30641 * docs/random/bbb/optional-properties:
30642 Some analysis on optional properties.
30644 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30646 * docs/gst/tmpl/gstelementfactory.sgml:
30647 * gst/gstelement.h:
30648 * gst/gstelementfactory.c: (gst_element_factory_init),
30649 (gst_element_factory_cleanup), (gst_element_register),
30650 (__gst_element_factory_add_static_pad_template),
30651 (gst_element_factory_get_static_pad_templates),
30652 (gst_element_factory_can_src_caps),
30653 (gst_element_factory_can_sink_caps):
30654 * gst/registries/Makefile.am:
30655 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30656 (gst_xml_registry_class_init), (gst_xml_registry_init),
30657 (gst_xml_registry_new), (gst_xml_registry_set_property),
30658 (gst_xml_registry_get_property), (get_time), (make_dir),
30659 (gst_xml_registry_get_perms_func),
30660 (plugin_times_older_than_recurse), (plugin_times_older_than),
30661 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30662 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30663 (add_to_char_array), (read_string), (read_uint), (read_enum),
30664 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30665 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30666 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30667 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30668 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30669 (gst_xml_registry_rebuild):
30670 * gst/registries/gstlibxmlregistry.h:
30671 * tools/gst-compprep.c: (main):
30672 * tools/gst-inspect.c: (print_pad_templates_info):
30673 * tools/gst-xmlinspect.c: (print_element_info):
30674 Use libxml2 for registry parsing, use staticpadtemplates in
30675 elementfactories. Makes gst_init() +/- 10x faster.
30677 2005-04-12 Wim Taymans <wim@fluendo.com>
30679 * gst/base/Makefile.am:
30680 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30681 (gst_basesink_pad_getcaps), (gst_basesink_init),
30682 (gst_basesink_event), (gst_basesink_change_state):
30683 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30684 (gst_basesrc_init), (gst_basesrc_query),
30685 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30686 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30687 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30688 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30689 (gst_basesrc_stop), (gst_basesrc_activate),
30690 (gst_basesrc_change_state):
30691 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30692 (helper_find_suggest), (gst_type_find_helper):
30693 * gst/base/gsttypefindhelper.h:
30694 * gst/elements/Makefile.am:
30695 * gst/elements/gstelements.c:
30696 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30697 (gst_fakesink_get_times), (gst_fakesink_event),
30698 (gst_fakesink_preroll), (gst_fakesink_render):
30699 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30700 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30701 (gst_fakesrc_get_property), (gst_fakesrc_create),
30702 (gst_fakesrc_start), (gst_fakesrc_stop):
30703 * gst/elements/gstfakesrc.h:
30704 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30705 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30706 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30707 (gst_filesrc_create_read), (gst_filesrc_create),
30708 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30709 (gst_filesrc_start):
30710 * gst/elements/gsttypefindelement.c:
30711 (gst_type_find_element_have_type), (gst_type_find_element_init),
30712 (start_typefinding), (stop_typefinding), (push_buffer_store),
30713 (gst_type_find_element_handle_event),
30714 (gst_type_find_element_chain),
30715 (gst_type_find_element_checkgetrange),
30716 (gst_type_find_element_getrange), (do_typefind),
30717 (gst_type_find_element_activate),
30718 (gst_type_find_element_change_state):
30719 * gst/elements/gsttypefindelement.h:
30720 * gst/gstpipeline.c: (pipeline_bus_handler):
30721 Added typefind helper.
30722 Small preroll fix in the base sink.
30723 Disable typefind code in basesrc.
30724 Crude port of typefindelement.
30728 2005-04-11 Wim Taymans <wim@fluendo.com>
30730 * check/gst/gstbus.c: (gstbus_suite):
30731 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30732 * check/gstcheck.h:
30733 Fix up the timeout so that the test does not fail.
30735 2005-04-06 Wim Taymans <wim@fluendo.com>
30738 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30739 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30740 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30741 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30742 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30743 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30744 (gst_basesrc_stop), (gst_basesrc_activate),
30745 (gst_basesrc_change_state), (basesrc_find_peek),
30746 (basesrc_find_suggest), (gst_basesrc_type_find):
30747 * gst/base/gstbasesrc.h:
30748 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30749 (gst_filesrc_class_init), (gst_filesrc_init),
30750 (gst_filesrc_finalize), (gst_filesrc_set_location),
30751 (gst_filesrc_set_property), (gst_filesrc_get_property),
30752 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30753 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30754 (gst_filesrc_create_read), (gst_filesrc_create),
30755 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30756 * gst/elements/gstfilesrc.h:
30757 * gst/gstelement.c: (gst_element_get_state_func),
30758 (gst_element_lost_state), (gst_element_pads_activate):
30759 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30760 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30761 (gst_pad_pull_range):
30763 More work on the generic source base class, implement seeking,
30765 Make filesrc extend the base source class.
30766 Added gst_pad_set_checkgetrange_function to GstPad.
30768 2005-04-06 Andy Wingo <wingo@pobox.com>
30770 * pkgconfig/gstreamer-base.pc.in:
30771 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30773 * pkgconfig/Makefile.am:
30774 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30776 2005-04-04 Wim Taymans <wim@fluendo.com>
30778 * gst/base/Makefile.am:
30780 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30781 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30782 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30783 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30784 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30785 (gst_basesrc_base_init), (gst_basesrc_class_init),
30786 (gst_basesrc_init), (gst_basesrc_get_formats),
30787 (gst_basesrc_get_query_types), (gst_basesrc_query),
30788 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30789 (gst_basesrc_set_property), (gst_basesrc_get_property),
30790 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30791 (gst_basesrc_loop), (gst_basesrc_activate),
30792 (gst_basesrc_change_state):
30793 * gst/base/gstbasesrc.h:
30794 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30795 (gst_fakesrc_class_init), (gst_fakesrc_init),
30796 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30797 (gst_fakesrc_get_property), (gst_fakesrc_create):
30798 * gst/elements/gstfakesrc.h:
30799 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30800 (gst_filesrc_open_file), (gst_filesrc_loop),
30801 (gst_filesrc_activate), (filesrc_find_peek),
30802 (gst_filesrc_type_find):
30803 Made base source class, make fakesrc extend it.
30804 Add comments to basesink class.
30805 Some filesrc cleanup.
30807 2005-03-31 David Schleef <ds@schleef.org>
30809 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30810 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30811 expected to link against libgstreamer.
30812 * gst/base/Makefile.am: link against libgstreamer
30813 * gst/elements/Makefile.am: same
30815 2005-03-31 Andy Wingo <wingo@pobox.com>
30817 * tests/instantiate/Makefile.am:
30818 * tests/instantiate/caps.c: Add test to test speed of caps copy
30821 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30822 GMemChunk to be fair.
30824 * gst/gsttrashstack.h: Remove warning about using the fallback
30825 trash stack implementation, it's still faster than malloc.
30827 2005-03-30 Andy Wingo <wingo@pobox.com>
30829 * tests/complexity.c: Add a copyright.
30831 2005-03-31 Wim Taymans <wim@fluendo.com>
30833 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30834 (gst_base_transform_class_init), (gst_base_transform_init),
30835 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30836 (gst_base_transform_get_property),
30837 (gst_base_transform_sink_activate),
30838 (gst_base_transform_src_activate),
30839 (gst_base_transform_change_state):
30840 * gst/base/gstbasetransform.h:
30841 * gst/elements/gstidentity.c: (gst_identity_class_init),
30842 (gst_identity_event), (gst_identity_check_perfect),
30843 (gst_identity_transform), (gst_identity_start),
30844 (gst_identity_stop):
30845 Added start/stop methods to transform base class so subclasses
30846 don't need to deal with state changes even.
30848 2005-03-31 Wim Taymans <wim@fluendo.com>
30850 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30851 (gst_event_new_discontinuous), (gst_event_discont_get_value):
30853 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30854 (gst_pad_pull_range):
30855 Added rate to the discont event to prepare for variable speed
30856 and reverse playback.
30858 2005-03-29 David Schleef <ds@schleef.org>
30861 * testsuite/trigger/Makefile.am:
30862 * testsuite/trigger/trigger.c: A little example program to show
30863 how trigger-based elements can work.
30865 2005-03-29 Wim Taymans <wim@fluendo.com>
30867 * gst/base/Makefile.am:
30869 * gst/base/gstbasesink.c: (gst_basesink_get_type),
30870 (gst_basesink_base_init), (gst_basesink_class_init),
30871 (gst_basesink_pad_getcaps), (gst_basesink_init),
30872 (gst_basesink_activate), (gst_basesink_change_state):
30873 * gst/base/gstbasesink.h:
30874 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
30875 (gst_base_transform_base_init), (gst_base_transform_finalize),
30876 (gst_base_transform_class_init), (gst_base_transform_init),
30877 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
30878 (gst_base_transform_event), (gst_base_transform_getrange),
30879 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
30880 (gst_base_transform_set_property),
30881 (gst_base_transform_get_property),
30882 (gst_base_transform_sink_activate),
30883 (gst_base_transform_src_activate),
30884 (gst_base_transform_change_state):
30885 * gst/base/gstbasetransform.h:
30886 * gst/elements/gstidentity.c: (gst_identity_finalize),
30887 (gst_identity_class_init), (gst_identity_init),
30888 (gst_identity_event), (gst_identity_check_perfect),
30889 (gst_identity_transform), (gst_identity_set_property),
30890 (gst_identity_get_property), (gst_identity_change_state):
30891 * gst/elements/gstidentity.h:
30892 * gst/gstelement.c: (gst_element_get_state_func),
30893 (gst_element_lost_state), (gst_element_pads_activate):
30894 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30895 (gst_pad_check_pull_range), (gst_pad_pull_range):
30897 Simplify pad activation.
30898 Added function to check if pull_range can be performed.
30899 Error out when pulling inactive or flushing pads.
30900 Removed const from refcounted types as it does not make sense.
30901 Simplify pad templates in basesink
30902 Added base class for simple 1-to-1 transforms.
30903 Make identity subclass the base transform.
30905 2005-03-29 Andy Wingo <wingo@pobox.com>
30907 * docs/libs/gstreamer-libs-overrides.txt:
30908 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
30909 really don't understand what's going on, but like whatever. I want
30912 * docs/gst/Makefile.am:
30913 * docs/libs/Makefile.am: Dist the overrides files.
30915 * check/Makefile.am (clean-local): Remove .libs directories.
30917 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
30918 elements to EXTRA_DIST, so po/ files are happy.
30920 * po/POTFILES.in: Er, remove it here.
30922 * po/POTFILES: Remove gstspider.c.
30924 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
30926 * docs/libs/gstreamer-libs-docs.sgml:
30927 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
30930 * tests/complexity.c (main): Set the length of the preroll queue
30931 on the sinks to prevent a lockup.
30933 * libs/gst/dataprotocol/Makefile.am:
30934 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
30935 the same as the one in check/gst-libs/gdp.c.
30937 * po/, docs/gst/: Commit automatic changes to docs and po files.
30939 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
30940 the versioned libgstbase.
30942 * check/Makefile.am: Depend on an unversioned gst-register, seems
30943 to make autoconf happier.
30945 * gst/base/Makefile.am: Make libgstbase a versioned lib.
30947 2005-03-28 Wim Taymans <wim@fluendo.com>
30950 * docs/design/part-gstelement.txt:
30951 * docs/design/part-negotiation.txt:
30952 * docs/design/part-preroll.txt:
30953 * docs/design/part-scheduling.txt:
30954 * docs/design/part-states.txt:
30956 * gst/base/Makefile.am:
30958 * gst/base/gstbasesink.c: (gst_basesink_get_template),
30959 (gst_basesink_base_init), (gst_basesink_class_init),
30960 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30961 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30962 (gst_basesink_set_pad_functions),
30963 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
30964 (gst_basesink_set_property), (gst_basesink_get_property),
30965 (gst_base_sink_get_template), (gst_base_sink_get_caps),
30966 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
30967 (gst_basesink_preroll_queue_push),
30968 (gst_basesink_preroll_queue_empty),
30969 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
30970 (gst_basesink_event), (gst_basesink_get_times),
30971 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
30972 (gst_basesink_chain_unlocked), (gst_basesink_chain),
30973 (gst_basesink_loop), (gst_basesink_activate),
30974 (gst_basesink_change_state):
30975 * gst/base/gstbasesink.h:
30976 * gst/elements/Makefile.am:
30977 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
30978 (gst_fakesink_class_init), (gst_fakesink_init),
30979 (gst_fakesink_set_property), (gst_fakesink_get_property),
30980 (gst_fakesink_get_times), (gst_fakesink_event),
30981 (gst_fakesink_preroll), (gst_fakesink_render),
30982 (gst_fakesink_change_state):
30983 * gst/elements/gstfakesink.h:
30984 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30985 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
30986 * gst/gstelement.c: (gst_element_add_pad),
30987 (gst_element_get_state_func), (gst_element_abort_state),
30988 (gst_element_commit_state), (gst_element_lost_state),
30989 (gst_element_set_state), (gst_element_pads_activate):
30990 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
30991 * gst/gstpipeline.c: (gst_pipeline_send_event),
30992 (gst_pipeline_change_state):
30993 Added state change code.
30994 Added/updated docs.
30995 Added sink base class, make fakesink extend the base class.
30996 Small cleanups in GstPipeline.
30998 2005-03-26 David Schleef <ds@schleef.org>
31000 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31001 is broken and should be implemented in a different library.
31002 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31003 * gst/gst.h: remove gstcpu.h
31004 * gst/gstcpu.c: remove
31005 * gst/gstcpu.h: remove
31006 * gst/Makefile.am.future: Remove this file. It's ancient.
31008 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31010 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31011 (gst_bin_send_event):
31012 Add default event/set_manager handlers. The set_manager handler
31013 takes care that the manager is distributed over kids that were
31014 already in the bin before the manager was set. The event handler
31015 is a utility virtual function that sends the event over all sinks,
31016 so that gst_element_send_event (bin, event); has the expected
31018 * gst/gstpad.c: (gst_pad_event_default):
31019 Re-install default event handling for discontinuities, so that
31020 seeking works without requiring hacks in applications or extra
31022 * gst/gstpipeline.c: (gst_pipeline_class_init),
31023 (gst_pipeline_send_event):
31024 Half hack, half utility: set a pipeline to PAUSED for seek events,
31025 since that is the only way we can guarantee a/v sync. Means that
31026 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31027 and it "just works".
31029 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31031 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31032 Lock/unlock mismatch.
31034 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31036 * docs/faq/gst-uninstalled:
31037 add gst-plugins-base
31038 * docs/gst/Makefile.am:
31039 don't error out until docs are fixed
31040 * docs/gst/gstreamer.types:
31043 2005-03-22 Wim Taymans <wim@fluendo.com>
31045 * check/Makefile.am:
31046 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31047 * gst/gststructure.c: (gst_structure_set_valist),
31048 (gst_structure_copy_conditional):
31049 Activated more tests.
31050 Added message test.
31051 Added G_TYPE_POINTER to GstStructure.
31054 2005-03-22 Wim Taymans <wim@fluendo.com>
31056 * docs/design/part-TODO.txt:
31057 * docs/design/part-events.txt:
31058 * docs/design/part-gstbin.txt:
31059 * docs/design/part-gstbus.txt:
31060 * docs/design/part-gstpipeline.txt:
31061 * docs/design/part-messages.txt:
31063 * gst/gstmessage.c:
31066 2005-03-21 Wim Taymans <wim@fluendo.com>
31068 * gst/gstbus.c: (gst_bus_post):
31069 Fix copy-and-paste error.
31071 2005-03-21 Wim Taymans <wim@fluendo.com>
31073 * check/Makefile.am:
31075 * gst/elements/Makefile.am:
31076 * gst/elements/gstelements.c:
31077 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31078 (gst_fakesink_event), (gst_fakesink_chain):
31079 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31080 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31081 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31082 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31083 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31084 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31085 (gst_fakesrc_loop), (gst_fakesrc_activate),
31086 (gst_fakesrc_change_state):
31087 * gst/elements/gstfakesrc.h:
31088 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31089 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31090 (gst_filesrc_open_file), (gst_filesrc_loop),
31091 (gst_filesrc_activate), (gst_filesrc_change_state),
31092 (filesrc_find_peek), (filesrc_find_suggest),
31093 (gst_filesrc_type_find):
31094 * gst/elements/gstidentity.c: (gst_identity_finalize),
31095 (gst_identity_class_init), (gst_identity_init),
31096 (gst_identity_proxy_getcaps), (identity_queue_push),
31097 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31098 (gst_identity_getrange), (gst_identity_chain),
31099 (gst_identity_sink_loop), (gst_identity_src_loop),
31100 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31101 (gst_identity_set_property), (gst_identity_get_property),
31102 (gst_identity_change_state):
31103 * gst/elements/gstidentity.h:
31104 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31105 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31106 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31107 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31108 (gst_tee_sink_activate):
31109 * gst/elements/gsttee.h:
31110 * gst/gst.c: (gst_register_core_elements), (init_post):
31112 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31113 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31114 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31115 (gst_bin_change_state):
31117 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31118 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31119 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31120 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31121 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31122 (bus_watch_callback), (bus_watch_destroy),
31123 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31124 (poll_timeout), (gst_bus_poll):
31128 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31129 (gst_element_post_message), (gst_element_message_full),
31130 (gst_element_get_state_func), (gst_element_get_state),
31131 (gst_element_abort_state), (gst_element_commit_state),
31132 (gst_element_lost_state), (gst_element_set_state),
31133 (gst_element_pads_activate), (gst_element_change_state),
31134 (gst_element_dispose), (gst_element_set_manager_func),
31135 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31136 (gst_element_set_manager), (gst_element_get_manager),
31137 (gst_element_set_bus), (gst_element_get_bus),
31138 (gst_element_set_scheduler), (gst_element_get_scheduler):
31139 * gst/gstelement.h:
31140 * gst/gstevent.c: (gst_event_new_segment_seek),
31141 (gst_event_new_flush):
31143 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31144 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31145 (gst_message_new_eos), (gst_message_new_error),
31146 (gst_message_new_warning), (gst_message_new_tag),
31147 (gst_message_new_state_changed), (gst_message_new_application),
31148 (gst_message_get_structure), (gst_message_parse_tag),
31149 (gst_message_parse_state_changed), (gst_message_parse_error),
31150 (gst_message_parse_warning):
31151 * gst/gstmessage.h:
31152 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31153 (gst_real_pad_set_property), (gst_pad_set_active),
31154 (gst_pad_is_active), (gst_pad_set_blocked_async),
31155 (gst_pad_set_blocked), (gst_pad_is_blocked),
31156 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31157 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31158 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31159 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31160 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31161 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31162 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31163 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31164 (gst_pad_set_caps), (gst_pad_configure_sink),
31165 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31166 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31167 (gst_real_pad_dispose), (gst_real_pad_finalize),
31168 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31169 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31170 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31172 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31173 (pipeline_bus_handler), (gst_pipeline_change_state),
31174 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31175 * gst/gstpipeline.h:
31177 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31178 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31179 (gst_queue_link_src), (gst_queue_bufferalloc),
31180 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31181 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31182 (gst_queue_loop), (gst_queue_handle_src_event),
31183 (gst_queue_handle_src_query), (gst_queue_src_activate),
31184 (gst_queue_change_state):
31186 * gst/gstscheduler.c: (gst_scheduler_init),
31187 (gst_scheduler_dispose), (gst_scheduler_create_task),
31188 (gst_scheduler_factory_create):
31189 * gst/gstscheduler.h:
31190 * gst/gststructure.c: (gst_structure_get_type),
31191 (gst_structure_copy_conditional):
31192 * gst/gststructure.h:
31193 * gst/gsttaginterface.h:
31194 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31195 (gst_task_init), (gst_task_dispose), (gst_task_create),
31196 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31202 * gst/schedulers/Makefile.am:
31203 * gst/schedulers/cothreads_compat.h:
31204 * gst/schedulers/entryscheduler.c:
31205 * gst/schedulers/faircothreads.c:
31206 * gst/schedulers/faircothreads.h:
31207 * gst/schedulers/fairscheduler.c:
31208 * gst/schedulers/gstbasicscheduler.c:
31209 * gst/schedulers/gstoptimalscheduler.c:
31210 * gst/schedulers/gthread-cothreads.h:
31211 * gst/schedulers/threadscheduler.c:
31212 (gst_thread_scheduler_task_get_type),
31213 (gst_thread_scheduler_task_class_init),
31214 (gst_thread_scheduler_task_init),
31215 (gst_thread_scheduler_task_start),
31216 (gst_thread_scheduler_task_stop),
31217 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31218 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31219 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31220 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31222 * libs/gst/Makefile.am:
31223 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31224 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31225 (gst_file_pad_parent_set):
31226 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31227 (gst_dp_event_from_packet):
31228 * tests/complexity.c: (main):
31229 * tests/mass_elements.c: (main):
31230 * testsuite/states/locked.c: (message_received), (main):
31231 * testsuite/states/parent.c: (main):
31232 * tools/gst-inspect.c: (print_element_flag_info),
31233 (print_implementation_info), (print_pad_info):
31234 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31236 * tools/gst-md5sum.c: (event_loop), (main):
31237 * tools/gst-typefind.c: (main):
31238 * tools/gst-xmlinspect.c: (print_element_info):
31240 Added GstBus for mainloop integration.
31241 Added GstMessage for sending notifications on the bus.
31242 Added GstTask as an abstraction for pipeline entry points.
31244 Removed Schedulers.
31245 Simplified GstQueue for multithreaded core.
31246 Made _link threadsafe, removed old capsnego.
31247 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31248 Added pad blocking functions.
31249 Reworked scheduling functions in GstPad to prepare for
31250 scheduling updates soon.
31251 Moved events out of data stream.
31252 Simplified GstEvent types.
31253 Added return values to push/pull.
31254 Removed clocking from GstElement.
31255 Added prototypes for state change function for next merge.
31256 Removed iterate from bins and state change management.
31257 Fixed some elements, disabled others for now.
31258 Fixed -inspect and -launch.
31259 Added check for GstBus.
31261 2005-03-10 Wim Taymans <wim@fluendo.com>
31263 * docs/design/part-MT-refcounting.txt:
31264 * docs/design/part-clocks.txt:
31265 * docs/design/part-gstelement.txt:
31266 * docs/design/part-gstobject.txt:
31267 * docs/design/part-standards.txt:
31268 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31269 (gst_bin_remove_func), (gst_bin_remove):
31273 * testsuite/clock/clock1.c: (main):
31274 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31276 * testsuite/dlopen/loadgst.c: (do_test):
31277 * testsuite/refcounting/bin.c: (add_remove_test1),
31278 (add_remove_test2), (main):
31279 * testsuite/refcounting/element.c: (main):
31280 * testsuite/refcounting/element_pad.c: (main):
31281 * testsuite/refcounting/pad.c: (main):
31282 * tools/gst-launch.c: (sigint_handler_sighandler):
31283 * tools/gst-typefind.c: (main):
31285 Added doc about clock.
31286 removed gst_bin_iterate_recurse_up(), marked methods
31288 Fix more testsuites.
31290 2005-03-09 Wim Taymans <wim@fluendo.com>
31292 * gst/gstpad.c: (gst_pad_get_direction),
31293 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31294 (gst_pad_collect_valist):
31295 * testsuite/bins/interface.c: (main):
31296 * testsuite/caps/audioscale.c: (test_caps):
31297 * testsuite/caps/caps.c: (test1), (test2), (test3):
31298 * testsuite/caps/deserialize.c: (main):
31299 * testsuite/caps/enumcaps.c: (main):
31300 * testsuite/caps/filtercaps.c: (main):
31301 * testsuite/caps/intersect2.c: (main):
31302 * testsuite/caps/random.c: (main):
31303 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31304 * testsuite/caps/sets.c: (check_caps):
31305 * testsuite/caps/simplify.c: (check_caps), (main):
31306 * testsuite/caps/subtract.c: (check_caps):
31307 Fix _pad_get_direction wrt ghostpads.
31308 Fix caps testsuite.
31310 2005-03-09 Wim Taymans <wim@fluendo.com>
31312 * check/Makefile.am:
31313 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31314 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31315 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31316 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31317 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31318 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31319 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31320 (bin_element_is_sink), (gst_bin_iterate_sinks),
31321 (gst_bin_iterate_all_by_interface):
31323 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31324 (gst_element_change_state), (gst_element_dispose),
31325 (gst_element_finalize), (gst_element_set_loop_function):
31326 * gst/gstelement.h:
31327 * gst/gstiterator.c: (find_custom_fold_func):
31328 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31329 (gst_pad_collectv), (gst_pad_collect_valist),
31330 (gst_pad_template_new):
31331 * gst/gstpipeline.c: (gst_pipeline_class_init),
31332 (gst_pipeline_dispose), (gst_pipeline_set_property),
31333 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31334 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31335 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31337 * gst/schedulers/entryscheduler.c:
31338 * gst/schedulers/gstbasicscheduler.c:
31339 (gst_basic_scheduler_cothreaded_chain),
31340 (gst_basic_scheduler_chain_add_element):
31341 * testsuite/bins/interface.c: (main):
31343 Added GstSystemClock test.
31344 Implemented clock distribution code in GstBin.
31345 Implemented iterate sinks method for future use.
31346 Rearranged gstelement.h
31347 Fix GstIterator comparison bug.
31348 Moved some code to GstPipeline, mostly clocking related.
31350 2005-03-09 Wim Taymans <wim@fluendo.com>
31353 * gst/gst_private.h:
31354 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31355 (gst_bin_remove_func), (gst_bin_remove),
31356 (gst_bin_get_by_name_recurse_up):
31357 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31358 (gst_clock_id_compare_func), (gst_clock_id_wait),
31359 (gst_clock_id_wait_async), (gst_clock_init),
31360 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31361 * gst/gstelement.h:
31362 * gst/gstinfo.c: (_gst_debug_init):
31364 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31365 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31367 Bump version number, we're now 0.9.0
31368 Add future debugging category.
31369 Fix NULL _unref() in _get_by_name_recurse_up
31370 Rearrange gstpad.h.
31373 2005-03-08 Wim Taymans <wim@fluendo.com>
31375 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31376 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31377 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31378 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31379 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31380 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31381 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31382 * gst/elements/gstidentity.c: (gst_identity_class_init):
31383 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31384 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31385 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31386 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31387 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31389 * gst/gstelement.c: (gst_element_class_init),
31390 (gst_element_base_class_init), (gst_element_init),
31391 (gst_element_get_random_pad), (gst_element_wait_state_change),
31392 (gst_element_change_state), (gst_element_dispose),
31393 (gst_element_finalize), (gst_element_set_loop_function):
31394 * gst/gstelement.h:
31395 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31396 * gst/gstthread.c: (gst_thread_class_init),
31397 (gst_thread_release_children_locks), (gst_thread_change_state):
31398 * gst/schedulers/gstbasicscheduler.c:
31399 (gst_basic_scheduler_loopfunc_wrapper),
31400 (gst_basic_scheduler_chain_wrapper),
31401 (gst_basic_scheduler_src_wrapper),
31402 (gst_basic_scheduler_remove_element):
31403 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31404 Remove threadsafe properties. Fix elements because GObject
31405 complains when installing a property before declaring a
31406 set/get_property handler.
31407 Rearrange gstelement.h file, use STATE macros for state locks.
31408 Free mutexes in the finalize method instead of dispose.
31410 2005-03-08 Wim Taymans <wim@fluendo.com>
31412 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31413 * gst/gstthread.c: (gst_thread_release_children_locks):
31414 Added parentage check.
31415 Fix build og GstThread again.
31417 2005-03-08 Wim Taymans <wim@fluendo.com>
31419 * docs/design/part-MT-refcounting.txt:
31420 * docs/design/part-conventions.txt:
31421 * docs/design/part-gstobject.txt:
31422 * docs/design/part-relations.txt:
31423 * docs/design/part-standards.txt:
31424 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31425 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31426 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31427 (gst_bin_iterate_all_by_interface):
31430 * gst/gstelement.c: (gst_element_class_init),
31431 (gst_element_change_state), (gst_element_set_loop_function):
31432 * gst/gstelement.h:
31433 * gst/gstiterator.c:
31434 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31435 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31436 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31437 (gst_object_set_parent), (gst_object_unparent),
31438 (gst_object_check_uniqueness):
31440 Docs updates, clean up some headers.
31442 2005-03-07 Wim Taymans <wim@fluendo.com>
31444 * check/.cvsignore:
31445 * check/Makefile.am:
31446 * check/gst-libs/.cvsignore:
31447 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31448 * check/gst/.cvsignore:
31449 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31450 (START_TEST), (gstbus_suite), (main):
31451 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31452 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31453 (gst_data_suite), (main):
31454 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31455 (add_fold_func), (gstiterator_suite), (main):
31456 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31457 (thread_name_object), (thread_name_object_default),
31458 (gst_object_name_compare), (gst_object_suite), (main):
31459 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31460 (gst_pad_suite), (main):
31461 * check/gstcheck.c: (gst_check_log_message_func),
31462 (gst_check_log_critical_func), (gst_check_init):
31463 * check/gstcheck.h:
31464 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31465 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31468 2005-03-07 Wim Taymans <wim@fluendo.com>
31470 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31471 (gst_list_iterator_next), (gst_list_iterator_resync),
31472 (gst_list_iterator_free), (gst_iterator_new_list),
31473 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31474 (gst_iterator_free), (gst_iterator_push), (filter_next),
31475 (filter_resync), (filter_uninit), (filter_free),
31476 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31477 (gst_iterator_foreach), (find_custom_fold_func),
31478 (gst_iterator_find_custom):
31479 * gst/gstiterator.h:
31480 Added missing files.
31482 2005-03-07 Wim Taymans <wim@fluendo.com>
31486 * docs/design/part-MT-refcounting.txt:
31487 * docs/design/part-conventions.txt:
31488 * docs/design/part-gstobject.txt:
31489 * docs/design/part-relations.txt:
31490 * examples/mixer/mixer.c: (main):
31491 * examples/thread/thread.c: (eos), (main):
31493 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31494 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31495 (gst_spider_plug_from_srcpad):
31496 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31497 (gst_spider_identity_change_state),
31498 (gst_spider_identity_sink_loop_type_finding):
31499 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31500 * gst/elements/gstidentity.c: (gst_identity_init):
31501 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31502 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31503 * gst/elements/gsttypefindelement.c: (free_entry):
31506 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31507 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31508 (gst_bin_set_index), (gst_bin_set_element_sched),
31509 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31510 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31511 (gst_bin_iterate_elements), (iterate_child_recurse),
31512 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31513 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31514 (compare_interface), (gst_bin_get_by_interface),
31515 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31517 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31518 (gst_buffer_default_free), (gst_buffer_default_copy),
31519 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31520 (gst_buffer_create_sub):
31522 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31523 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31524 (gst_caps_unref), (gst_static_caps_get),
31525 (gst_caps_remove_and_get_structure), (gst_caps_append),
31526 (gst_caps_append_structure), (gst_caps_remove_structure),
31527 (gst_caps_copy_nth), (gst_caps_set_simple),
31528 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31529 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31530 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31531 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31532 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31533 (gst_caps_structure_figure_out_union),
31534 (gst_caps_switch_structures), (gst_caps_do_simplify),
31535 (gst_caps_replace), (gst_caps_from_string),
31536 (gst_caps_copy_conditional):
31538 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31539 (_gst_clock_id_free), (gst_clock_id_unref),
31540 (gst_clock_id_compare_func), (gst_clock_id_wait),
31541 (gst_clock_id_wait_async), (gst_clock_class_init),
31542 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31543 (gst_clock_get_time), (gst_clock_set_time_adjust),
31544 (gst_clock_set_property), (gst_clock_get_property):
31547 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31548 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31550 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31551 (gst_element_requires_clock), (gst_element_provides_clock),
31552 (gst_element_set_clock), (gst_element_clock_wait),
31553 (gst_element_wait), (gst_element_set_time_delay),
31554 (gst_element_is_indexable), (gst_element_add_pad),
31555 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31556 (pad_compare_name), (gst_element_get_static_pad),
31557 (gst_element_request_pad), (gst_element_get_request_pad),
31558 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31559 (gst_element_class_get_pad_template_list),
31560 (gst_element_class_get_pad_template), (gst_element_error_func),
31561 (gst_element_get_random_pad), (gst_element_get_event_masks),
31562 (gst_element_send_event), (gst_element_seek),
31563 (gst_element_get_query_types), (gst_element_query),
31564 (gst_element_get_formats), (gst_element_convert),
31565 (gst_element_is_locked_state), (gst_element_set_locked_state),
31566 (gst_element_sync_state_with_parent), (gst_element_change_state),
31567 (gst_element_finalize), (gst_element_yield),
31568 (gst_element_interrupt), (gst_element_set_scheduler),
31569 (gst_element_get_scheduler), (gst_element_set_loop_function):
31570 * gst/gstelement.h:
31572 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31573 (gst_format_get_by_nick), (gst_format_get_details),
31574 (gst_format_iterate_definitions):
31576 * gst/gstindex.c: (gst_index_gtype_resolver):
31579 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31580 (gst_mem_chunk_free):
31581 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31582 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31583 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31584 (gst_object_dispatch_properties_changed),
31585 (gst_object_set_name_default), (gst_object_set_name),
31586 (gst_object_get_name), (gst_object_set_name_prefix),
31587 (gst_object_get_name_prefix), (gst_object_set_parent),
31588 (gst_object_get_parent), (gst_object_unparent),
31589 (gst_object_check_uniqueness), (gst_object_save_thyself),
31590 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31591 (gst_object_set_property), (gst_object_get_property),
31592 (gst_object_get_path_string):
31594 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31595 (gst_real_pad_init), (gst_real_pad_get_property),
31596 (gst_pad_custom_new), (gst_pad_get_direction),
31597 (gst_pad_set_active), (gst_pad_is_active),
31598 (gst_pad_set_event_function), (gst_pad_is_linked),
31599 (gst_pad_link_free), (gst_pad_link_intersect),
31600 (gst_pad_link_fixate), (gst_pad_set_caps),
31601 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31602 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31603 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31604 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31605 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31606 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31607 (gst_pad_realize), (gst_pad_get_allowed_caps),
31608 (gst_real_pad_dispose), (gst_real_pad_finalize),
31609 (gst_pad_collectv), (gst_pad_collect_valist),
31610 (gst_pad_template_dispose), (gst_pad_template_new),
31611 (gst_pad_get_internal_links):
31613 * gst/gstpipeline.c: (gst_pipeline_dispose),
31614 (gst_pipeline_change_state):
31615 * gst/gstpipeline.h:
31617 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31618 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31619 * gst/gstpluginfeature.h:
31620 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31621 * gst/gstquery.c: (_gst_query_type_initialize),
31622 (gst_query_type_register), (gst_query_type_get_by_nick),
31623 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31625 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31626 * gst/gstscheduler.c: (gst_scheduler_add_element),
31627 (gst_scheduler_factory_create):
31628 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31629 (gst_structure_free), (gst_structure_set_name),
31630 (gst_structure_id_set_value), (gst_structure_set_value),
31631 (gst_structure_set_valist), (gst_structure_remove_field),
31632 (gst_structure_remove_fields),
31633 (gst_structure_remove_fields_valist),
31634 (gst_structure_remove_all_fields), (gst_structure_foreach),
31635 (gst_structure_map_in_place),
31636 (gst_caps_structure_fixate_field_nearest_int),
31637 (gst_caps_structure_fixate_field_nearest_double):
31638 * gst/gststructure.h:
31639 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31640 (gst_system_clock_init), (gst_system_clock_dispose),
31641 (gst_system_clock_async_thread),
31642 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31643 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31644 * gst/gstsystemclock.h:
31645 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31646 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31647 * gst/gsttaginterface.c:
31648 * gst/gstthread.c: (gst_thread_dispose),
31649 (gst_thread_release_children_locks), (gst_thread_change_state),
31650 (gst_thread_main_loop):
31651 * gst/gsttrashstack.h:
31652 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31654 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31655 (gst_element_request_pad), (gst_element_get_pad_from_template),
31656 (gst_element_request_compatible_pad),
31657 (gst_element_get_compatible_pad_filtered),
31658 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31659 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31660 (gst_element_link_many), (gst_element_link),
31661 (gst_element_link_pads), (gst_element_unlink_pads),
31662 (gst_element_unlink_many), (gst_element_unlink),
31663 (gst_pad_can_link_filtered), (gst_pad_can_link),
31664 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31665 (gst_object_default_error), (gst_bin_add_many),
31666 (gst_bin_remove_many), (gst_element_populate_std_props),
31667 (gst_element_class_install_std_props), (gst_buffer_merge),
31668 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31669 (link_fold_func), (gst_pad_proxy_setcaps):
31671 * gst/gstvalue.c: (gst_value_deserialize_string):
31672 * gst/parse/grammar.y:
31673 * gst/schedulers/gstbasicscheduler.c:
31674 (gst_basic_scheduler_cothreaded_chain),
31675 (gst_basic_scheduler_chain_recursive_add),
31676 (gst_basic_scheduler_pad_link):
31677 * gst/schedulers/gstoptimalscheduler.c:
31678 (get_group_schedule_function),
31679 (gst_opt_scheduler_state_transition),
31680 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31681 * libs/gst/bytestream/bytestream.c:
31682 * libs/gst/dataprotocol/dataprotocol.c:
31683 (gst_dp_header_from_buffer):
31686 * tests/threadstate/threadstate2.c: (eos):
31687 * tools/gst-compprep.c: (main):
31688 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31689 (print_pad_info), (print_children_info):
31690 * tools/gst-launch.c: (idle_func), (main):
31691 * tools/gst-md5sum.c: (idle_func), (main):
31692 * tools/gst-xmlinspect.c: (print_element_info):
31693 First THREADED backport attempt, focusing on adding locks and
31694 making sure the API is threadsafe. Needs more work. More docs
31697 2005-02-24 Andy Wingo <wingo@pobox.com>
31699 * tests/bench-complexity.scm:
31700 * tests/complexity.gnuplot: New files, good for running complexity
31703 * tests/Makefile.am:
31704 * tests/complexity.c: New test, sets up N elements, at each level
31705 teeing into M streams per element. Eeeenteresting.
31707 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31708 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31709 running bench-mass_elements.scm.
31711 * tests/bench-mass_elements.scm: New script, runs mass_elements
31712 for various numbers of identities, outputting the results to a
31713 file. Requires guile 1.6. Just for testing.
31715 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31717 * gst/schedulers/fairscheduler.c:
31718 compile with debug disabled
31720 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31723 hunting season on 0.9 is now OPEN