1 2008-10-31 Stefan Kost <ensonic@users.sf.net>
3 * gst/gstregistrybinary.c:
4 Oh my, studip, stupid me. Remove double stat() call.
6 2008-10-31 Stefan Kost <ensonic@users.sf.net>
9 Use g_unlink instead of unlink.
20 Formatting & whitespaces.
22 2008-10-31 Stefan Kost <ensonic@users.sf.net>
24 * plugins/elements/gstidentity.c:
25 Doc typo. Use return value of parent_class->event.
27 * plugins/elements/gsttypefindelement.c:
28 Chain up at the end for consistency.
30 2008-10-30 Stefan Kost <ensonic@users.sf.net>
33 * docs/gst/gstreamer-docs.sgml:
34 * docs/gst/gstreamer-sections.txt:
35 * docs/gst/running.xml:
36 * docs/libs/gstreamer-libs-docs.sgml:
37 Change to xinclude based build - its faster and easier to maintain.
39 2008-10-30 Stefan Kost <ensonic@users.sf.net>
41 * gst/gstregistrybinary.c:
42 * gst/gstregistryxml.c:
43 Use g_unlink() as none of these are directories.
45 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
47 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
50 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
52 * libs/gst/base/gstbasetransform.c:
53 (gst_base_transform_find_transform), (gst_base_transform_getrange):
54 If we have a fixate function, call it even if we already have fixed caps
55 because the subclass might add some caps. Makes audioconvert add a
56 default channel layout.
58 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
60 * libs/gst/base/gstbasetransform.c:
61 (gst_base_transform_prepare_output_buffer),
62 (gst_base_transform_getrange):
63 Clear the output buffer variable.
64 Cleanups to the error path in the getrange function.
67 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
69 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
70 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
71 Use gst_buffer_try_new_and_alloc() and handle errors instead of
72 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
75 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
77 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
78 Set the last_stop to a more meaningful position when configuring the
79 segment. ie. the start/stop of the segment or clipped against the
80 updated segment boundaries.
82 * tests/check/gst/gstsegment.c: (GST_START_TEST):
83 Add some unit tests for the last_stop.
85 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
87 * libs/gst/base/gstbytereader.c:
88 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
91 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
93 * docs/gst/gstreamer-sections.txt:
95 API: Move float endianness conversion macros from libgstfloatcast
96 to core as it's useful in general, even in core. Fixes bug #555196.
97 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
98 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
99 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
101 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
102 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
103 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
104 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
106 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
108 * docs/libs/gstreamer-libs-sections.txt:
109 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
110 (gst_byte_reader_peek_data):
111 * libs/gst/base/gstbytereader.h:
112 * win32/common/libgstbase.def:
113 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
114 to get a pointer to the data at the current position and have
117 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
120 Fix a bug in the output of the configure script summary
121 when --gst-disable-registry is supplied
123 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
125 * libs/gst/base/gstbitreader.c:
126 * libs/gst/base/gstbytereader.c:
127 Fix the names of 2 functions in the docs strings.
129 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
131 * libs/gst/base/gstbasetransform.c:
132 (gst_base_transform_prepare_output_buffer),
133 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
134 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
135 refcount problems as seen in banshee and maybe also in farsight2.
136 Remove atomic int now that we need to take the lock anyways.
138 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
140 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
141 (gst_base_sink_default_prepare_seek_segment),
142 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
143 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
144 (gst_base_sink_query):
145 Implement more seeking in pull mode.
146 Use pad convert functions to convert position to the requested format.
147 Fix position/duration reporting in pull mode.
148 Implement position and duration reporting in other formats than time.
150 * libs/gst/base/gstbasesink.h:
151 Add member to keep track of when the segment is playing.
153 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
155 * gst/gstpad.c: (gst_pad_configure_src):
156 When we use gst_pad_alloc_buffer() without wanting to set the caps we
157 also don't need to check if the caps are compatible because the caller
158 presumably is going to perform its own custom checks. Fixes some cases
159 where basetransform elements would error out when it was not needed.
161 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
163 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
166 * libs/gst/base/gstbasetransform.c:
167 (gst_base_transform_handle_buffer),
168 (gst_base_transform_reconfigure):
171 * win32/common/libgstbase.def:
174 2008-10-19 Stefan Kost <ensonic@users.sf.net>
176 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
177 Remove duplicated assignment and log a message in failure case.
179 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
181 Patch by: Dig Ge <dig.ge.cn at gmail com>
183 * tests/examples/helloworld/helloworld.c: (main):
184 Fix copy'n'paste bug in hello world example (#556900).
186 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
188 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
189 (gst_base_sink_query):
190 Query the total number of bytes when activating the pad in pull mode.
191 Implement duration query in pull mode by using the installed pad convert
192 function to convert from bytes to the requested format.
194 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
196 * docs/libs/gstreamer-libs-sections.txt:
197 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
198 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
199 (gst_base_sink_event), (gst_base_sink_perform_seek),
200 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
201 (gst_base_sink_send_event), (gst_base_sink_change_state):
202 * libs/gst/base/gstbasesink.h:
203 Add method to commit the state in subclasses.
204 Refactor the flush_start and flush_stop code because we need it for
205 flushing while seeking too.
206 Implement the beginnings of seeking in pull mode.
207 Use the segment last_stop field for the pulling offset.
208 Fix the pause method in pull mode.
209 Configure the segment to BYTES for pull mode.
210 API: GstBaseSink::gst_base_sink_do_preroll()
212 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
214 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
217 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
219 * gst/gstquark.c: (_priv_gst_quarks_initialize):
220 Fix printf format warning.
222 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
224 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
225 Fix flow aggregation of tee. Error out immediately for all flow returns
226 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
227 and return OK if at least one pad is linked.
229 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
230 and otherwise returned the flow return of the last pad, which is wrong.
232 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
233 (GST_START_TEST), (tee_suite):
234 Add unit tests for the flow aggregation.
236 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
238 * docs/design/part-TODO.txt:
239 Remove item from the todo list because it was fixed with the latency
240 state change rewrites.
242 * docs/design/part-seeking.txt:
243 * docs/design/part-segments.txt:
246 * gst/gstevent.c: (gst_event_new_new_segment_full),
247 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
248 (gst_event_parse_buffer_size), (gst_event_new_qos),
249 (gst_event_parse_qos), (gst_event_new_seek),
250 (gst_event_parse_seek), (gst_event_new_latency),
251 (gst_event_parse_latency):
252 Use quarks to construct and parse events.
254 * gst/gstquark.c: (_priv_gst_quarks_initialize):
256 Add some more quarks to the table.
257 Emit a warning when the quark tables are not in sync.
259 * tests/check/gst/gstbus.c: (GST_START_TEST):
262 2008-10-13 Stefan Kost <ensonic@users.sf.net>
264 * plugins/elements/Makefile.am:
265 * plugins/indexers/Makefile.am:
266 Don't install static libs for plugins. Fixes #550851 for core.
268 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
270 * gst/gstbus.c: (gst_bus_source_finalize),
271 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
272 (gst_bus_enable_sync_message_emission),
273 (gst_bus_disable_sync_message_emission),
274 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
275 Fix deadlock, g_source_get_id() cannot be called in finalize.
276 Keep track of the watch source by keeping a pointer to the source object
278 Use the bus lock to protect access to the pointer to the current
281 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
283 Base on Patch by: Olivier Crete <tester at tester dot ca>
285 * gst/gstbus.c: (gst_bus_source_finalize),
286 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
287 Only allow one bus watch to be set at a time. This is necessary
288 because the dispatcher pops the message from the bus and the second
289 watcher will then get NULL or the next message (and the first won't
290 get this next message then, etc). If more than one "watcher" is
291 required signal watches should be used. Fixes bug #526044.
293 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
295 * tools/gst-launch.c:
296 Change the printing of the 'buffering...' output to avoid putting
297 a \r in a translateable string (flagged by the TP).
299 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
302 Clarify that the save_thyself() and restore_thyself() virtual
303 functions of GstObject need to be overriden, not
304 gst_object_(save|restore)_thyself() which is impossible.
307 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
309 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
310 Revert a patch from 21 months ago that broke caps negotiation in pull
311 mode. Basically, having a buffer pass over a pad will trigger the
312 setcaps function when caps change, just like in push mode.
314 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
316 * docs/design/part-negotiation.txt:
317 Update the docs some more.
319 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
320 If we pull a buffer with non-trivial caps, suggest those caps with the
323 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
325 * docs/design/part-TODO.txt:
326 Add another limitation of pad-blocking with segment seeks not pushing
329 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
331 * win32/common/libgstbase.def:
332 * win32/common/libgstreamer.def:
333 Add new symbols to the win32 defs files
335 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
337 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
338 (gst_bin_handle_message_func):
339 The message src can be NULL, don't try to print the object names in that
342 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
343 Add some more debug info.
345 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
348 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
351 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
353 * docs/design/part-negotiation.txt:
356 * docs/libs/gstreamer-libs-sections.txt:
357 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
358 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
359 (gst_base_sink_init), (gst_base_sink_set_blocksize),
360 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
361 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
362 (gst_base_sink_loop), (gst_base_sink_pad_activate),
363 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
364 (gst_base_sink_change_state):
365 * libs/gst/base/gstbasesink.h:
366 Add blocksize property and methods to control the amount of data
368 Negotiate first before activating upstream in pull mode so that they can
369 negotiate themselves.
370 When we operate in pull mode, we only accept the caps that we
372 Make the sink go ASYNC to PAUSED, like all other sinks.
373 API: GstBaseSink::gst_base_sink_set_blocksize()
374 API: GstBaseSink::gst_base_sink_get_blocksize()
375 API: GstBaseSink::blocksize
377 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
378 (gst_base_src_set_live), (gst_base_src_is_live),
379 (gst_base_src_set_format), (gst_base_src_query_latency),
380 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
381 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
382 (gst_base_src_set_property), (gst_base_src_get_property):
383 * libs/gst/base/gstbasesrc.h:
384 Add typechecking in public API functions.
385 Add methods to control the blocksize in subclasses.
386 API: GstBaseSrc::gst_base_src_set_blocksize()
387 API: GstBaseSrc::gst_base_src_get_blocksize()
389 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
391 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
392 (buffer_probe), (event_probe), (GST_START_TEST):
393 We now see 3 events go through our pad, since basesink now sends
394 upstream latency events.
396 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
398 * gst/gstpipeline.c: (gst_pipeline_change_state):
399 Release the object lock before trying to flush the bus.
401 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
403 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
404 Forward LATENCY events upstreams so that elements know about the total
405 pipeline latency. Fixes #555307.
407 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
409 * plugins/elements/gstqueue.c:
410 Allow through queries when we don't know how
411 to adjust them (not TIME or BYTES), as otherwise it's
412 not possible to query the current position in order
413 to seek in other formats at all.
415 2008-10-08 Andy Wingo <wingo@pobox.com>
417 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
419 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
423 Unbreak -good build, private is a reserved c++ keyword.
425 2008-10-08 Andy Wingo <wingo@pobox.com>
427 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
428 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
429 removal: re-add GST_GHOST_PAD_CAST to the header.
431 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
432 (GstGhostPadClass): Publically expose these structures so as to
433 allow easy subclassing from C. Hide the member data behind a
434 private opaque data pointer.
436 * gst/gstghostpad.c: Adapt to store instance data in the type
437 instance's private data region, not in the public struct.
439 2008-10-08 Andy Wingo <wingo@pobox.com>
441 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
442 template via g_object_get(), be sure to unref it.
444 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
446 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
448 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
449 If we can't get a cache file don't try to save something to it.
450 Dereferencing NULL pointers usually isn't a good idea.
452 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
454 * tests/check/Makefile.am:
455 * tests/check/gst/gstabi.c:
456 * tests/check/gst/struct_sparc.h:
457 * tests/check/libs/libsabi.c:
458 * tests/check/libs/struct_sparc.h:
461 * tests/check/gst/gstvalue.c: (GST_START_TEST):
462 Cast signed integer to unsigned to avoid a compiler warning.
464 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
466 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
467 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
468 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
469 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
470 (gst_byte_reader_peek_int24_be):
471 Use new GST_READ_UINT24_(LE|BE) macros.
473 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
475 * docs/gst/gstreamer-sections.txt:
477 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
478 as it's too easy to break the ISO C strict aliasing rules with simple
479 casts to the corresponding type and this would introduce hard to debug
480 bugs. Fixes bug #545714.
482 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
484 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
486 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
487 * gst/gstghostpad.c: (gst_ghost_pad_construct):
488 Add 'Since' bits to gtk-doc chunks for new API.
490 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
492 * docs/gst/gstreamer-sections.txt:
495 2008-10-06 Andy Wingo <wingo@pobox.com>
497 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
498 that will be called on the malloc_data to free it. Basically a way
499 to avoid subclassing when all you need is a different free
500 function, i.e. free() instead of g_free().
502 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
503 calling the free function.
504 (gst_buffer_init): Initialize the free function to g_free.
506 2008-10-06 Andy Wingo <wingo@pobox.com>
509 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
510 finishes the initialization of ghost pad. Useful for language
511 bindings and subclassers of GstGhostPad. Fixes #539108.
512 (gst_ghost_pad_new_full): Use the new constructor.
514 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
516 Base on Patch by: Olivier Crete <tester at tester dot ca>
518 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
519 (gst_bin_remove_func), (update_degree),
520 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
521 Keep track of pads that are being linked/unlinked and resync the state
524 * gst/gstpad.c: (gst_pad_get_direction),
525 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
526 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
527 (gst_pad_link_prepare), (gst_pad_link),
528 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
529 (gst_pad_check_pull_range), (gst_pad_get_range),
530 (gst_pad_pull_range):
531 Some code cleanups, use macros to check pad direction.
532 Don't need to take the lock on the pad direction.
533 Post structure change when pads are linked/unlinked.
534 Change some checks into _return_if_fail().
536 * tests/check/gst/gstbin.c:
537 (test_link_structure_change_state_changed_sync_cb),
538 (GST_START_TEST), (gst_bin_suite):
539 Add testcase for pad link/unlinke resync during a state change.
542 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
544 * docs/gst/gstreamer-sections.txt:
545 * gst/gstmessage.c: (gst_message_new_structure_change),
546 (gst_message_parse_structure_change):
548 Implement STRUCTURE_CHANGED messages. These messages will be used to
549 signal the parent bin of link/unlink operations that could require a
550 resync when doing a state change. See ##510354.
551 API: gst_message_new_structure_change()
552 API: gst_message_parse_structure_change()
554 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
558 Add some more quarks for new message. See #510354.
560 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
562 * docs/libs/gstreamer-libs-docs.sgml:
563 * docs/libs/gstreamer-libs-sections.txt:
564 * libs/gst/base/Makefile.am:
565 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
566 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
567 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
568 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
569 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
570 (gst_bit_reader_skip_to_byte):
571 * libs/gst/base/gstbitreader.h:
572 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
573 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
574 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
575 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
576 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
577 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
578 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
579 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
580 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
581 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
582 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
583 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
584 * libs/gst/base/gstbytereader.h:
585 * tests/check/Makefile.am:
586 * tests/check/libs/bitreader.c: (GST_START_TEST),
587 (gst_bit_reader_suite):
588 * tests/check/libs/bytereader.c: (GST_START_TEST),
589 (gst_byte_reader_suite):
590 API: Add bit reader and byte reader classes, including documentation
591 and an extensive unit test suite. Fixes bug #553554.
593 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
595 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
596 (gst_base_sink_query):
597 Improve position reporting while flushing and other intermediate state
598 changes. Fixes #553874.
600 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
602 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
604 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
605 Original patch by : Simon Descaries
606 Fix small refount leak in caps compatibility check.
609 2008-10-06 Stefan Kost <ensonic@users.sf.net>
611 * docs/pwg/advanced-request.xml:
612 Fix 0.8 api usage in example. Fixes #554561
614 * docs/pwg/appendix-porting.xml:
615 Change 0.9 to 0.10 here.
617 2008-10-06 Stefan Kost <ensonic@users.sf.net>
619 * docs/manual/basics-data.xml:
620 Change "event-event interaction" to "element-element interaction".
621 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
624 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
627 Back to development -> 0.10.21.1
629 === release 0.10.21 ===
631 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
634 releasing 0.10.21, "Take These Things From Me"
636 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
639 0.10.20.4 pre-release
641 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
643 * libs/gst/base/gstbasetransform.c:
644 * plugins/elements/gstcapsfilter.c:
645 * tests/check/Makefile.am:
646 * tests/check/elements/.cvsignore:
647 * tests/check/elements/capsfilter.c:
648 Fix assertion in basetransform when the subclass chooses not to
649 allocate a buffer in prepare_buffer(), and make capsfilter error out
650 cleanly if requested to apply caps that don't completely specify the
651 buffer. Fixes #551509
653 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
655 * libs/gst/base/gstbasetransform.c:
656 (gst_base_transform_prepare_output_buffer):
657 Take new caps ref because our old one might have been gone when the
658 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
660 2008-09-15 Stefan Kost <ensonic@users.sf.net>
663 Do not probe availability of check unit test library when cross
664 compiling, as test would not work anyway. Also cleanup verbose output
665 of the check test. Fixes #551952.
667 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
669 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
671 * gst/gstelement.c: (gst_element_sync_state_with_parent):
672 Avoid leaking the parent ref when we fail changing the state of the
673 element using gst_element_sync_state_with_parent(). Fixes #551978.
675 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
677 * docs/manual/intro-motivation.xml::
678 Remove some bits that no longer apply, update others (#551642).
680 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
683 0.10.20.2 pre-release
691 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
693 * win32/common/config.h.in:
694 Add GST_DATADIR, hard-code cpu to x86.
696 * win32/common/libgstreamer.def:
699 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
702 Fix Since: markers for new geo tags.
704 2008-09-02 Stefan Kost <ensonic@users.sf.net>
707 Fix actual tag name define after renaming from altitude to elevation.
709 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
711 * gst/gstpad.c: (add_unref_pad_to_list),
712 (gst_pad_get_internal_links_default):
713 Add fallback when calling the deprecated function on an element that
714 implements the new internal_link handler.
716 2008-09-01 Stefan Kost <ensonic@users.sf.net>
718 * docs/gst/gstreamer-sections.txt:
721 Add new tags for geo location and clarify purpose of existing location
724 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
726 Patch by: Olivier Crete <tester at tester dot ca>
728 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
729 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
730 Use thread-safe internal links iterator. Fixes #549504.
732 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
734 Based on patch by: Olivier Crete <tester at tester dot ca>
736 * docs/gst/gstreamer-sections.txt:
737 * win32/common/libgstreamer.def:
738 * gst/gstpad.c: (gst_pad_init),
739 (gst_pad_set_iterate_internal_links_function),
740 (int_link_iter_data_free), (iterate_pad),
741 (gst_pad_iterate_internal_links_default),
742 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
744 Add threadsafe replacement functions for getting internal links of an
745 element. Deprecate the old internal links functions.
746 API:GstPad::gst_pad_set_iterate_internal_links_function()
747 API:GstPad::GstPadIterIntLinkFunction
748 API:GstPad::gst_pad_iterate_internal_links()
749 API:GstPad::gst_pad_iterate_internal_links_default()
751 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
752 (gst_proxy_pad_init):
753 Implement threadsafe internal links.
755 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
756 Unit test for internal links on tee. See #549504.
758 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
760 * tests/check/Makefile.am:
761 libs/transform1 test requires libs/test_transform.c
763 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
765 * gst/gstpad.c: (gst_pad_get_internal_links_default):
766 Die evil deadlock, die !
768 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
770 * gst/gstutils.c: (gst_element_get_compatible_pad):
771 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
772 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
773 Fix all leaks due to the bug in gst_pad_template_new() by which it does
774 not steal the refcount of the given caps as stated.
776 REVERT THIS COMMIT ONCE FIXED !
777 REVERT THIS COMMIT ONCE FIXED !
778 REVERT THIS COMMIT ONCE FIXED !
779 REVERT THIS COMMIT ONCE FIXED !
780 REVERT THIS COMMIT ONCE FIXED !
781 REVERT THIS COMMIT ONCE FIXED !
783 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
787 After 3 years it's about time to revise the documentation of the
790 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
792 * gst/gstpad.c: (gst_pad_get_internal_links_default):
793 Make the internal links function less thread-unsafe and add some
796 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
799 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
800 build with --disable-gst-debug.
802 2008-08-28 David Schleef <ds@schleef.org>
804 * gst/gstpadtemplate.c: Revert last change, since it breaks
805 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
806 but shouldn't be enabled until we've released fixed versions
807 of -good and -ffmpeg.
809 2008-08-28 Stefan Kost <ensonic@users.sf.net>
812 Put the gst_object_get_name() back in.
814 2008-08-28 Stefan Kost <ensonic@users.sf.net>
816 * gst/gstpadtemplate.c:
817 The old behaviour was that gst_pad_template_new() takes ownership of
818 the caps. As we now call g_object_new() which calls g_object_set() and
819 which copies the caps, we have to unref them to not leak them. Fixes
822 2008-08-28 Stefan Kost <ensonic@users.sf.net>
825 Don't segfault on input like "tel:+1-123-555-1234".
827 2008-08-27 Stefan Kost <ensonic@users.sf.net>
830 Due to popular request also include ObjectType in
831 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
833 2008-08-26 David Schleef <ds@schleef.org>
835 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
836 src_val must be positive, because that's not a requirement.
837 This causes problems with converting negative granulepos
839 * gst/gstquery.c: Same, gst_query_new_convert().
841 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
843 * gst/gstclock.c: (gst_clock_add_observation):
844 Add some more debugging to the clock slaving code.
846 * win32/common/libgstbase.def:
847 Add new basetransform method.
849 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
851 * gst/gstbin.c: (gst_bin_element_set_state):
852 Take the (recursive) state lock between getting the locked state of an
853 element and changing the element state. This allows the application to
854 lock an element's state and then change its state without races.
856 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
858 * gst/gstbin.c: (gst_bin_element_set_state):
859 When an element is in the locked state we still want to update the
860 base_time of the element.
862 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
864 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
865 Use the result from gst_pad_set_caps() instead of assuming the element
866 always accepted the caps computed by the default negotiate function.
868 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
870 * docs/libs/gstreamer-libs-sections.txt:
871 * libs/gst/base/gstbasetransform.c:
872 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
873 (gst_base_transform_chain), (gst_base_transform_suggest),
874 (gst_base_transform_reconfigure):
875 * libs/gst/base/gstbasetransform.h:
876 Implement method for reconfiguring basetransform.
877 API: GstBaseTransform::gst_base_transform_reconfigure()
879 2008-08-20 Stefan Kost <ensonic@users.sf.net>
881 patch by: Murray Cumming <murrayc@murrayc.com>
884 Mention that this is just like gst_buffer_merge() but with extra
885 unreffing for C coders. Advise language bindings not to wrap it.
888 Also fix file comment.
890 2008-08-20 Stefan Kost <ensonic@users.sf.net>
892 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
894 * plugins/elements/gstfakesink.c:
895 * plugins/elements/gstfakesrc.c:
896 Call super::event() when not handling it. Fixes #544855.
898 2008-08-19 Michael Smith <msmith@songbirdnest.com>
900 Patch by: Alessandro Decina <alessandro@nnva.org>
901 * plugins/elements/gstfilesrc.c:
902 Use 64 bit variants of stat functions on win32, to enable support
903 of large files there.
906 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
908 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
909 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
910 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
911 (gst_base_sink_get_position), (gst_base_sink_change_state):
912 Improve position reporting in the flushing state.
913 Also report the position when we are not yet prerolled but we
914 have a newsegment event. Fixes #543444.
915 Improve the pull-based negotiation code.
917 * tests/check/elements/fakesink.c: (GST_START_TEST),
919 Add testcase for position reporting while flushing in PAUSED and
922 * tests/check/generic/sinks.c: (GST_START_TEST):
923 Update unit-test, we can now query the position as soon as we receive a
926 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
928 Based on patch by: Jason Zhao <e3423c at motorola dot com>
930 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
931 When the subclass event handler releases the PREROLL_LOCK, we could be
932 in the flushing state and we have to ignore the event. Fixes #548394.
934 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
936 * tools/gst-launch.1.in:
937 Document GST_REGISTRY_UPDATE environment variable.
939 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
941 * libs/gst/base/gstbasetransform.c:
942 (gst_base_transform_prepare_output_buffer):
943 If the element is configured in passthrough mode but the
944 prepare_output_buffer gave us a new output buffer, discard that buffer
945 and reuse the input buffer.
947 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
949 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
951 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
952 (gst_tee_request_new_pad), (gst_tee_release_pad),
953 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
954 * plugins/elements/gsttee.h:
955 Protect pad_alloc with a new lock so that we can be sure that nothing is
956 performing a pad_alloc when removing the pad. Fixes #547835.
958 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
959 (buffer_alloc_harness_teardown), (app_thread_func),
960 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
961 Added testcase for shutdown race.
963 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
968 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
970 * libs/gst/base/gstbasetransform.c:
971 (gst_base_transform_prepare_output_buffer),
972 (gst_base_transform_buffer_alloc):
973 Go over the buffer_alloc function again and make sure we always end up
976 Avoid doing pad alloc when we have a pending suggestion because we
977 cannot yet deal with changing caps in that case. Fixes #547728
979 2008-08-14 Stefan Kost <ensonic@users.sf.net>
981 patch by: Luc Pionchon <luc.pionchon@nokia.com>
983 * docs/manual/advanced-clocks.xml:
984 * docs/manual/clocks.png:
985 * docs/manual/diagrams-clocks.svg:
986 Add one more image showing different times together with a describing
987 paragraph. Fixes #547729.
989 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
991 * win32/common/libgstbase.def:
994 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
996 * libs/gst/base/gstbasetransform.c:
997 (gst_base_transform_transform_caps),
998 (gst_base_transform_prepare_output_buffer),
999 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1000 Don't overwrite the outsize when calculating the expected size of a new
1001 buffer because we still need it in case we cannot process the new
1003 When converting the size of the new buffer to an upstream size, actually
1004 use the expected size of the buffer, not some other random value.
1005 Use an atomic int to signal that a new upstream caps suggestion is
1007 When we can convert the current buffer to a new format, check if the
1008 buffer size is of the expected size and allocate a new buffer of the
1009 expected size when this is not the case. Fixes #546883.
1011 * tests/check/libs/transform1.c: (GST_START_TEST):
1012 remove ifdeffed code from the unit test.
1014 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1016 * pkgconfig/gstreamer-uninstalled.pc.in:
1017 * pkgconfig/gstreamer.pc.in:
1018 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1019 called gstcontroller-0.10.
1021 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1023 * gst/gstchildproxy.h:
1025 Remove double interface from doc-string.
1027 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1029 * libs/gst/base/gstbasesrc.c:
1030 * libs/gst/base/gstbasetransform.c:
1031 Fix headings in docs and gtk-doc warnings.
1033 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1035 * gst/gstregistrybinary.c:
1036 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1040 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1042 * libs/gst/base/gstbasetransform.c:
1043 (gst_base_transform_buffer_alloc):
1044 Fix a "may be used unitialized" warning.
1046 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1048 * docs/gst/gstreamer-sections.txt:
1050 Document preset-iface vmethods.
1052 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1054 * docs/manual/advanced-interfaces.xml:
1055 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1056 only used to discover devices.
1058 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1060 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1062 * gst/gst.c: (init_pre):
1063 Make sure gettext returns translations in UTF-8 encoding rather
1064 than in the current locale encoding (#546822).
1066 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1068 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1071 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1072 Improve unit test subset tests and add a testcase for the subset failure
1075 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1076 Improve subtraction unit test.
1078 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1080 * plugins/elements/gsttee.c:
1081 Unlock, instead of locking again.
1083 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1086 Clarify the docs a bit more.
1088 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1090 * tests/examples/metadata/read-metadata.c:
1091 Don't leak old taglist.
1093 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1095 Patch by: Olivier Crete <tester at tester dot ca>
1097 * gst/gststructure.c:
1098 (gst_structure_fixate_field_nearest_fraction):
1099 Avoid overflows in fixation code when dealing with MAXINT values, which
1100 v4l2src seems to do.
1103 * tests/check/gst/gststructure.c: (GST_START_TEST):
1104 Make a unit test to check the fix.
1106 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1108 * plugins/elements/gstcapsfilter.c: (copy_func),
1109 (gst_capsfilter_set_property):
1110 Use new caps suggestion feature of basetransform to request a caps
1111 negotiation upstream.
1113 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1115 * docs/libs/gstreamer-libs-sections.txt:
1117 API: GstBaseTransform::gst_base_transform_suggest()
1119 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1120 (gst_base_transform_init), (gst_base_transform_transform_caps),
1121 (gst_base_transform_transform_size),
1122 (gst_base_transform_configure_caps),
1123 (gst_base_transform_can_transform),
1124 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1125 (gst_base_transform_prepare_output_buffer),
1126 (gst_base_transform_buffer_alloc),
1127 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1128 (gst_base_transform_chain), (gst_base_transform_activate),
1129 (gst_base_transform_set_passthrough),
1130 (gst_base_transform_is_passthrough),
1131 (gst_base_transform_set_in_place),
1132 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1133 (gst_base_transform_set_qos_enabled),
1134 (gst_base_transform_is_qos_enabled),
1135 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1136 (gst_base_transform_reconfigure):
1137 * libs/gst/base/gstbasetransform.h:
1138 Rewrite of basetransform to perform negotiation outside of the
1139 buffer_alloc functions. Fixes #545853.
1141 * tests/check/libs/transform1.c: (GST_START_TEST),
1145 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1147 * tests/check/gst/gstpreset.c:
1148 Only run preset tests when $HOME is writable. Preliminary fix for
1151 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1153 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1154 (gst_bin_change_state_func), (bin_handle_async_done),
1155 (gst_bin_handle_message_func):
1156 Fix race for bins that simulate ASYNC state changes by inserting
1157 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1158 pending ASYNC messages even when the bin does not have ASYNC children.
1159 We note detect this behaviour because we will receive an ASYNC message
1160 that is originating from the bin itself.
1161 Fixes races with decodebin2 state changes.
1163 * tests/check/gst/gstbin.c: (GST_START_TEST):
1164 Add some more debug.
1166 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1168 * gst/gsttaglist.c: (_gst_tag_initialize):
1171 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1174 Argh. actually save the text before committing. Now adds
1175 gst_tag_merge_strings_with_comma() to gst_tag_register().
1177 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1181 Do as tim pointed out and actually register the new tag. Also improve
1182 te docs and use gst_tag_merge_strings_with_comma() method to allow
1183 retriving all keywords merged in one list.
1185 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1188 * docs/gst/gstreamer.types:
1189 Revert 'accidential' change of the configure option removal. We still
1190 need to generate the types file in configure --disable-load-save.
1192 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1194 * docs/gst/gstreamer-sections.txt:
1196 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1198 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1200 * gst/gstpadtemplate.c:
1201 (gst_pad_template_class_init), (gst_static_pad_template_get),
1202 (gst_pad_template_new), (gst_pad_template_pad_created),
1203 (gst_pad_template_set_property), (gst_pad_template_get_property):
1204 Add "name-template", "direction", "presence" and "caps" properties,
1205 so that gst_pad_template_new() is just a thin wrapper around
1206 g_object_new(), which is better for bindings. (Fixes: #539772)
1208 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1211 Be more liberal in what URIs we accept.
1212 Do not unescape bits of the URI for no apparent reason before passing to
1213 the element. Fixes #545352.
1215 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1217 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1220 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1222 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1225 * docs/gst/gstreamer-sections.txt:
1226 * docs/gst/gstreamer.types:
1227 * docs/gst/gstreamer.types.in:
1230 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1231 * gst/gstconfig.h.in:
1232 * gst/gstelement.c: (gst_element_get_index):
1233 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1234 (gst_registry_binary_load_feature),
1235 (gst_registry_binary_read_cache):
1236 * gst/gstregistryxml.c: (load_feature),
1237 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1238 * plugins/Makefile.am:
1240 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1241 (print_plugin_features), (print_element_features):
1242 * tools/gst-xmlinspect.c: (print_event_masks),
1243 (print_element_info):
1244 * win32/common/gstconfig.h:
1245 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1247 Disabling the indexers and URI handler code will only reduce the
1248 required amount of memory by a very small amount but on the other hand
1249 requires much more maintaince work. Apart from that many places of
1250 code are broken when disabling them.
1252 Disabling the enum types doesn't reduce the required amount of memory
1253 by more than a few bytes and makes it hard to fix bugs like #539772,
1254 i.e. use the enums as GObject properties.
1256 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1258 * docs/design/part-TODO.txt:
1259 Add some thoughts and problems with upstream renegotiation.
1261 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1263 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1264 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1265 Remove silly redundant debug.
1266 Add some more debug info.
1267 Clarify the docs regarding new caps received from pad_alloc.
1269 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1271 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1272 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1273 Make setting the caps more threadsafe.
1275 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1277 * docs/design/part-element-transform.txt:
1280 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1282 * plugins/elements/gstqueue.c: (gst_queue_init),
1283 (gst_queue_acceptcaps):
1284 Add and use a custom acceptcaps function instead of falling back to the
1285 potentially less optimized default implementation.
1287 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1289 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1290 Only sanity-check the buffer size if requested_caps == buffer_caps
1291 (ie. don't take pad caps into account, they're not relevant here)
1293 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1295 * plugins/elements/gsttee.c:
1296 * plugins/elements/gsttee.h:
1297 Reverting as not everything is clear yet. Needs some general design
1300 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1303 ChangeLog surgery for tee commit.
1305 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1307 * docs/gst/gstreamer-sections.txt:
1308 Cleanup section-file.
1310 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1312 * plugins/elements/gsttee.c:
1313 * plugins/elements/gsttee.h:
1314 Relay tag events in tee. Fixes parts of #474016.
1315 Downgrades 3 reoccurring debugs to log.
1317 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1320 * libs/gst/Makefile.am:
1321 Build the net library if we have winsock2.
1323 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1325 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1327 * docs/manual/advanced-threads.xml:
1328 * docs/manual/diagrams-pipelines.svg:
1329 * docs/manual/hello-world.png:
1330 * docs/manual/linked-elements.png:
1331 * docs/manual/mime-world.png:
1332 * docs/manual/queue.png:
1333 * docs/manual/thread-buffering.png:
1334 * docs/manual/thread-synchronizing.png:
1335 Replace one diagram with two separate ones and updates others.
1338 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1341 Fix link in documentation.
1343 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1346 Fix confusing documentation.
1348 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1350 * libs/gst/base/gstbasesrc.h:
1351 revert the changes to the header file for the ABI.
1353 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1355 * libs/gst/base/gstbasesrc.c:
1356 * libs/gst/base/gstbasesrc.h:
1357 Don't cache the seekable status.
1360 2008-07-24 Rene Stadler <mail@renestadler.de>
1362 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1363 code to close the pipeline graph. This prevents the program from
1364 printing internal data flow errors.
1366 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1368 * docs/manual/basics-bus.xml:
1369 Correct typo. Fixes bug #544320.
1371 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1374 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1375 Add check (taken from -base) for winsock, adds WIN32_LIBS
1377 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1379 Define GST_EXPORTS when building libgstreamer (only used on win32)
1380 * gst/gst_private.h:
1382 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1383 for symbols that we need to export in both these files.
1385 Include gst_private.h higher up to avoid some compile problems on win32.
1387 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1392 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1395 Previous commit was wrong NULL caps does not exist
1396 and indicate an error, so also add a FIXME to
1397 gst_caps_is_equal where NULL caps are accepted.
1399 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1402 Allow passing of NULL to gst_caps_union
1404 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1406 * gst/gstghostpad.c:
1407 Add in doc that gst_ghost_pad_set_target can accept
1408 NULL to clear target
1410 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1413 * gst/gstregistry.c:
1414 GstRegistryPool doesn't exist; don't refer to it in docs.
1415 Don't refer to functions that don't exist in docs, it's
1418 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1421 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1423 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1425 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1427 * docs/pwg/building-testapp.xml:
1428 Don't use an undeclared variable in the example program.
1431 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1433 * gst/gstdebugutils.c:
1434 Squeeze ghost-pad links and remove <> from classname labels to save
1435 more horizontal space.
1437 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1439 * gst/gstdebugutils.c:
1440 Give request and sometimes pads a different shpe style. Condense the
1441 graphs a little more.
1443 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1446 Don't require flex and bison if the parser is disabled.
1448 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1450 * libs/gst/controller/gstinterpolationcontrolsource.c:
1451 (_list_find_sorted_custom):
1452 Don't use declarations after statements.
1454 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1456 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1457 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1458 of the the child-added / -removed signals as GstChildProxy
1459 only supports GstObjects.
1461 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1463 * gst/gstdebugutils.c:
1466 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1468 Patch by: Alessandro Decina <alessandro at nnva dot org>
1471 Fix "ignored return value" compiler warning with newer glibc.
1473 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1475 * gst/gstchildproxy.c:
1476 Fix copy&paste error in gst_child_proxy_removed() documentation.
1478 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1480 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1481 Print error debug message if plugin description fields that should
1484 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1485 Don't crash if the string to serialise is NULL (it really should
1486 not be, but apparently this used to work with the xml registry ...).
1488 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1490 * tools/gst-plot-timeline.py:
1491 Fix parsing of log messages
1493 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1495 * win32/common/libgstbase.def::
1496 Sort alphabetically so make check-exports doesn't barf.
1498 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1501 Use gst_format_get_name() to improve debug output.
1504 Remove #ifdef'ed code. Add TODO comment.
1507 Add debug output to ease spotting format != segment.format assertions.
1509 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1511 * tests/check/libs/gdp.c: (gst_dp_suite):
1512 Also enable the GDP unit test again on PPC now that the bug
1515 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1517 * libs/gst/dataprotocol/dataprotocol.c:
1518 Don't write to the same region of memory as a uint64 and uint16
1519 as this breaks strict aliasing rules and apparantly breaks on PPC
1520 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1522 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1524 * libs/gst/controller/gstinterpolationcontrolsource.c:
1525 Optimize list handling. Use own find function. Exploit that fact that
1526 the list is sorted. Also pass back the node before, so that we can
1527 insert quickly. Have a fast path for append.
1529 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1531 * docs/design/draft-framestep.txt:
1532 * docs/design/part-negotiation.txt:
1535 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1538 Show configuration sumary after configure run. Based on patch by
1539 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1541 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1543 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1545 * docs/manual/advanced-autoplugging.xml:
1546 * docs/manual/advanced-threads.xml:
1547 * docs/manual/basics-bins.xml:
1548 * docs/manual/basics-elements.xml:
1549 * docs/manual/basics-helloworld.xml:
1550 * docs/manual/basics-pads.xml:
1551 Add scale factor for pdf output.
1553 * docs/manual/intro-basics.xml:
1554 Switched sections "pads" and "bins" and added a pipeline diagram.
1556 * docs/manual/intro-gstreamer.xml:
1557 Added more info on gstreamer.
1559 * docs/manual/intro-motivation.xml:
1560 Commented out the whole section "current problem", which sounds
1561 historical and somehow osolete; it could be turned in a positive
1562 way and reused to improve the design principles.
1564 * docs/manual/intro-preface.xml:
1565 - Update URLs to library.gnome.org.
1566 - Do not mention GTK+ in preliminary reading (irrelevant).
1567 - Mention Plugin Writer's Manual and further reading only in the
1569 - Added a list of most relevant GObject/glib topics.
1571 * docs/manual/Makefile.am:
1572 * docs/manual/bin-element-ghost.fig:
1573 * docs/manual/bin-element-ghost.png:
1574 * docs/manual/bin-element-noghost.fig:
1575 * docs/manual/bin-element-noghost.png:
1576 * docs/manual/bin-element.fig:
1577 * docs/manual/bin-element.png:
1578 * docs/manual/filter-element-multi.fig:
1579 * docs/manual/filter-element-multi.png:
1580 * docs/manual/filter-element.fig:
1581 * docs/manual/filter-element.png:
1582 * docs/manual/gstreamer-overview.png:
1583 * docs/manual/hello-world.fig:
1584 * docs/manual/hello-world.png:
1585 * docs/manual/linked-elements.fig:
1586 * docs/manual/linked-elements.png:
1587 * docs/manual/mime-world.fig:
1588 * docs/manual/mime-world.png:
1589 * docs/manual/queue.fig:
1590 * docs/manual/queue.png:
1591 * docs/manual/simple-player.png:
1592 * docs/manual/sink-element.fig:
1593 * docs/manual/sink-element.png:
1594 * docs/manual/src-element.fig:
1595 * docs/manual/src-element.png:
1596 * docs/manual/diagrams-general.svg:
1597 * docs/manual/diagrams-pipelines.svg:
1598 Removed .fig, added .png counterpart.
1602 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1604 * plugins/elements/gstmultiqueue.c:
1605 * plugins/elements/gstmultiqueue.h:
1606 revert extra-size-buffers stuff, caused some race conditions
1607 and extra-size-buffers is not used anymore. Docs needs some updates
1609 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1611 * win32/common/config.h:
1612 * win32/common/gstenumtypes.c:
1613 * win32/common/gstenumtypes.h:
1614 * win32/common/gstversion.h:
1617 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1619 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1620 (GST_DEBUG_BIN_TO_DOT_FILE):
1621 Add missing Since' markers to gtk-doc blurbs.
1623 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1625 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1626 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1627 (set_caps_1), (set_caps_ct1), (transform_ct1),
1628 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1629 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1630 (transform_size_ct2), (buffer_alloc_ct2):
1631 Add some more tests with switching caps in buffer_alloc.
1633 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1635 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1636 (gst_test_trans_class_init), (result_sink_chain),
1637 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1638 (gst_test_trans_push), (gst_test_trans_pop):
1639 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1640 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1641 (set_caps_1), (set_caps_ct1), (transform_ct1),
1642 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1643 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1644 (transform_size_ct2), (buffer_alloc_ct2),
1645 (gst_basetransform_suite):
1646 More tests, prepare for tests with switching caps in buffer_alloc.
1648 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1650 * plugins/elements/gstmultiqueue.c:
1651 * plugins/elements/gstmultiqueue.h:
1652 Fix dead-lock in underrun_cb
1654 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1656 * docs/design/part-states.txt:
1657 Fix device open/close docs.
1659 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1662 Mention bugnumber for last commit.
1664 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1666 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1668 * docs/manual/manual.xml:
1669 - Reorganised the previous "introduction" bundle into Foreword,
1670 Introduction, and About GStreamer. The two first are <preface>
1671 docbook elements. The later is the first part of the book.
1672 - added intro-gstreamer.xml (content partially from
1674 - moved appendix-win32.xml into appendix-integration.xml
1676 * docs/manual/intro-preface.xml: gstreamer section moved...
1677 * docs/manual/intro-gstreamer.xml: ...here. new file.
1679 * docs/manual/appendix-win32.xml: removed file. Content moved...
1680 * docs/manual/appendix-integration.xml: ...here.
1682 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1683 * docs/manual/appendix-checklist.xml: ...here.
1687 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1689 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1691 * docs/manual/basics-helloworld.xml:
1692 * docs/manual/hello-world.fig:
1693 - Explicitely include glib.h.
1694 - Do not use global variables.
1695 - Use g_printerr() instead of g_print().
1696 - Minor formating/renaming to increase readibility.
1697 - Renamed new_pad() to on_pad_added()
1698 - Improved explenatory comments.
1699 - renamed ogg parser to ogg demuxer
1700 - Use "autoaudiosink" instead of "alsasink".
1703 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1706 Remove cvs conflict marker.
1708 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1711 Document that for plgin-docs we extraxt he short-desc from the element
1714 * docs/design/part-states.txt:
1715 Tell that devices should be closed in PAUSED -> READY.
1717 * docs/manual/README:
1718 Document how tests in the manual are handled.
1723 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1725 * gst/gstbin.c: (bin_query_latency_fold):
1726 Only care about latency min and max when the sink is actually a live
1729 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1731 * docs/design/part-block.txt:
1734 * docs/design/part-element-transform.txt:
1735 Add notes about why transform needs to know input/output sizes.
1736 Add some issues that need to be solved.
1737 Add some more use cases.
1739 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1740 (gst_test_trans_class_init), (result_sink_chain),
1741 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1742 (gst_test_trans_push), (gst_test_trans_pop):
1743 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1744 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1745 (set_caps_1), (set_caps_ct1), (transform_ct1),
1746 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1747 (gst_basetransform_suite):
1748 Add suport for different pad templates and buffer-alloc.
1749 Add more checks for caps and buffer-alloc.
1750 Add checks for proxy buffer alloc.
1751 Add unit test for copy transform.
1753 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1755 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
1757 * docs/manual/appendix-integration.xml:
1758 * docs/manual/appendix-licensing.xml:
1759 * docs/manual/basics-elements.xml:
1760 * docs/manual/basics-helloworld.xml:
1761 * docs/manual/basics-pads.xml:
1762 * docs/manual/highlevel-components.xml:
1763 * docs/manual/highlevel-xml.xml:
1764 * docs/manual/intro-basics.xml:
1765 * docs/manual/intro-preface.xml:
1766 Typo and formatting fixes (#538594).
1768 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1770 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1771 Fix some memory leaks and uses of object instances that we don't
1774 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1776 * plugins/elements/gstmultiqueue.c:
1777 Add functionality to extra-size-buffers property.
1779 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1781 * plugins/elements/gstmultiqueue.c:
1782 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1783 activate the pads if they are added in STATE_NULL.
1785 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1787 * docs/libs/gstreamer-libs-sections.txt:
1789 * libs/gst/check/gstcheck.c:
1790 * libs/gst/check/gstcheck.h:
1791 API: gst_check_teardown_pad_by_name
1793 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1795 * libs/gst/check/gstcheck.c:
1796 * libs/gst/check/gstcheck.h:
1797 Also setup request pads and allow setup pads by name (#537812)
1798 API: gst_check_setup_src_pad_by_name
1799 API: gst_check_setup_sink_pad_by_name
1801 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1803 * tests/check/gst/gstbuffer.c:
1804 * tests/check/pipelines/parse-launch.c:
1805 Use HAVE_VALGRIND_H some more.
1807 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1809 * scripts/cvs-update.sh:
1810 Pass arguments to make.
1811 Run autoregen.sh if Makefile is not there.
1813 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1817 Don't assume that <valgrind/valgrind.h> exists just because
1818 the binary is there.
1820 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1822 * tests/check/Makefile.am:
1823 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1824 (gst_test_trans_class_init), (gst_test_trans_init),
1825 (gst_test_trans_set_data), (result_sink_chain),
1826 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1827 (gst_test_trans_pop):
1828 * tests/check/libs/transform1.c: (GST_START_TEST),
1829 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1830 Add some test basetransform element and the beginnings of various
1833 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1835 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1836 Increase code readability.
1837 Don't try to compare buffer offsets when ther are invalid.
1839 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1841 * docs/design/Makefile.am:
1842 Dist some more design docs.
1844 * docs/random/moving-plugins:
1845 Small addition: good plugins mustn't have functional code
1846 within assertion macros.
1848 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1850 * docs/design/draft-framestep.txt:
1851 Some ideas about a framestep API
1853 * docs/design/part-element-transform.txt:
1854 Start design and use cases for basetransform in order to get it
1857 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1860 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
1861 be in UTF-8 encoding.
1863 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1866 Make it known that gst_bus_poll() is pure evil (fixes #538810).
1868 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1870 * plugins/elements/gstcapsfilter.c:
1871 * plugins/elements/gstfakesink.c:
1872 * plugins/elements/gstfakesrc.c:
1873 * plugins/elements/gstfdsink.c:
1874 * plugins/elements/gstfdsrc.c:
1875 * plugins/elements/gstfilesink.c:
1876 * plugins/elements/gstfilesrc.c:
1877 * plugins/elements/gstidentity.c:
1878 * plugins/elements/gstmultiqueue.c:
1879 * plugins/elements/gstqueue.c:
1880 * plugins/elements/gsttee.c:
1881 * plugins/elements/gsttypefindelement.c:
1882 Remove short_description. Add basic docs for gsttypefindelement.
1883 Simplify markup for fakesrc/fdsrc.
1885 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1887 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1890 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1892 Patch by: Joel Larsson <tilljoel at gmail dot com>
1894 * docs/plugins/gstreamer-plugins.args:
1895 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
1896 (gst_fd_src_init), (gst_fd_src_update_fd),
1897 (gst_fd_src_set_property), (gst_fd_src_get_property),
1898 (gst_fd_src_create):
1899 * plugins/elements/gstfdsrc.h:
1900 Add timeout property like udpsrc. Fixes #538628.
1901 Add some more docs and example pipelines.
1903 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1905 * docs/libs/gstreamer-libs-sections.txt:
1906 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1907 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
1908 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
1909 (gst_base_sink_do_sync):
1910 * libs/gst/base/gstbasesink.h:
1911 * win32/common/libgstbase.def:
1912 Add method to allow sinks to specify additional delay between the sync
1913 times and the actual rendering of the data.
1914 API: gst_base_sink_set_render_delay()
1915 API: gst_base_sink_get_render_delay()
1917 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
1920 Bump version number back to dev -> 0.10.20.1
1922 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
1924 * docs/gst/gstreamer-sections.txt:
1925 * gst/gsttaglist.c: (_gst_tag_initialize):
1927 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
1930 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1932 * libs/gst/controller/gstcontroller.c:
1933 Revert one change, that make ret value possible uninitialized.
1935 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1937 * libs/gst/controller/gstcontroller.c:
1938 Use freeze/thaw notify to sync notify emission a bit (its also more
1939 efficient). Move debug output to LOG (is called a lot in a loop).
1940 Always unset g_values if the have been initialized.
1942 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1944 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1945 (gst_base_sink_wait_eos), (gst_base_sink_event):
1946 If we have not seen a buffer before EOS, use the segment values to
1947 report the current position instead of invalid positions.
1949 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1951 * docs/plugins/tmpl/.cvsignore:
1952 * tests/check/gst/.cvsignore:
1955 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1957 * libs/gst/controller/gstinterpolation.c:
1958 * libs/gst/controller/gstinterpolationcontrolsource.c:
1959 * tests/check/libs/controller.c:
1960 Rewrite handling of default values. Fix overflow with unsigned types
1961 in linear interpolation. Remove now obsolete _first_value() function.
1962 Add more tests. Fixes #538201.
1964 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1966 * libs/gst/base/gstbasetransform.c:
1967 (gst_base_transform_class_init), (gst_base_transform_init),
1968 (gst_base_transform_transform_caps),
1969 (gst_base_transform_prepare_output_buffer):
1971 When a buffer is writable, its metadata is also writable so we don't
1972 need to subbuffer (which then makes the buffer not-writable anymore).
1974 === release 0.10.20 ===
1976 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
1979 releasing 0.10.20, "You Crazy Diamond"
1981 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
1984 0.10.19.3 pre-release
1986 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
1990 Rename DATADIR to GST_DATADIR to avoid build problems
1991 on win32. Patch By: David Schleef <ds@schleef.org>
1994 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
1997 Explicitely link with -ldl if dladdr() is found there. Before it was
1998 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
1999 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2001 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2003 * gst/gsterror.c: (_gst_stream_errors_init):
2004 Fix typo (spotted by Fabricio Godoy, #536723).
2006 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2009 0.10.19.2 pre-release
2011 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2013 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2014 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2016 Make sure we don't generate invalid QoS messages.
2018 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2020 * gst/gstevent.c: (gst_event_new_qos):
2021 Add some assert and docs for invalid input to the qos function.
2023 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2025 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2026 (gst_base_sink_get_position):
2027 The reported position must always be smaller than the last seen
2028 timestamps (or timestamp + duration for reverse).
2030 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2032 Patch by: Rob Bradford <rob at robster dot org dot uk>
2034 * gst/gstregistry.c: (gst_registry_scan_path_level):
2035 Don't recurse into .debug directories as some distros install
2036 the debugging symbols next to the plugins in .debug directories
2037 and dlopen() crashes on them sometimes. Fixes bug #508070.
2039 Add FIXME for 0.11 to not recurse into directories at all because
2040 it's very inconsistent to the behaviour of other PATH environment
2043 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2045 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2046 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2047 Fix position query range checks in reverse playback.
2049 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2053 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2054 clear of the reference to the resulting pad must be released later
2055 or not, resulting in possible leaks. Fixes bug #533865.
2057 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2059 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2061 * gst/gstelementfactory.c:
2062 Small doc fix. Fixes #535285.
2064 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2066 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2068 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2069 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2070 (gst_base_src_loop), (gst_base_src_set_flushing),
2071 (gst_base_src_change_state):
2072 Make sending an EOS event to the basesrc non-blocking even if the
2073 implementation does blocking waits in the create function. This is done
2074 by unlocking the create function when EOS is sent.
2077 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2079 * tools/gst-inspect.c: (print_element_properties_info):
2080 If possible print the element type of GValueArray properties.
2082 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2084 * gst/gstiterator.c:
2085 Remove an unused field from the private GstListIterator struct.
2087 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2089 * libs/gst/controller/gstcontroller.c:
2090 Add parameter guards.
2092 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2094 * tests/check/gst/gstpipeline.c:
2095 Revert test change and add comment why it should not work.
2097 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2099 * tests/check/gst/gstpipeline.c:
2100 Extending the test a little to verify that we also get the NULL state-
2103 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2105 * gst/gstpreset.c: (gst_preset_default_get_meta),
2106 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2107 (gst_preset_load_preset), (gst_preset_save_preset),
2108 (gst_preset_rename_preset), (gst_preset_delete_preset),
2109 (gst_preset_set_meta):
2110 Add Since: markers to docs blurbs.
2112 * win32/common/libgstreamer.def:
2113 Add recently-added API.
2115 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2117 Patch by: Stefan Kost <ensonic@users.sf.net>
2120 Add DATADIR for storing presets.
2122 * docs/gst/gstreamer-docs.sgml:
2123 * docs/gst/gstreamer-sections.txt:
2124 * docs/gst/gstreamer.types.in:
2125 Add GstPreset to docs.
2129 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2130 (preset_open_and_parse_header), (preset_parse_version),
2131 (preset_merge), (preset_get_keyfile),
2132 (gst_preset_default_get_preset_names),
2133 (gst_preset_default_get_property_names),
2134 (gst_preset_default_load_preset),
2135 (gst_preset_default_save_presets_file),
2136 (gst_preset_default_save_preset),
2137 (gst_preset_default_rename_preset),
2138 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2139 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2140 (gst_preset_default_reset), (gst_preset_get_preset_names),
2141 (gst_preset_get_property_names), (gst_preset_load_preset),
2142 (gst_preset_save_preset), (gst_preset_rename_preset),
2143 (gst_preset_delete_preset), (gst_preset_set_meta),
2144 (gst_preset_get_meta), (gst_preset_class_init),
2145 (gst_preset_base_init), (gst_preset_get_type):
2147 Add GstPreset to core. Fixes #396779
2149 * tests/check/Makefile.am:
2150 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2151 (gst_preset_test_set_property), (gst_preset_test_class_init),
2152 (gst_preset_test_base_init), (gst_preset_test_get_type),
2153 (gst_preset_test_plugin_init), (GST_START_TEST),
2154 (remove_preset_file), (test_setup), (test_teardown),
2156 Add GstPreset unit tests.
2158 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2160 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2161 The default event function on a sinkpad should return TRUE when
2162 there are no internal links but should collect the return values from
2163 the internal links otherwise.
2165 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2167 * plugins/elements/gsttypefindelement.c:
2168 (gst_type_find_element_src_event),
2169 (gst_type_find_element_handle_event):
2170 Use faster and safer _pad_push_event().
2172 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2174 * docs/gst/gstreamer-sections.txt:
2175 * gst/gstutils.c: (element_find_unlinked_pad),
2176 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2178 API: add gst_bin_find_unlinked_pad()
2179 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2181 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2187 Fixed a bunch of typos.
2189 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2192 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2193 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2194 (gst_parse_bin_from_description_full):
2196 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2198 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2200 * docs/pwg/advanced-tagging.xml:
2201 Small docs update, can't be bothered to rewrite the nonsensical
2204 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2207 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2209 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2211 * gst/parse/grammar.y:
2212 Remove unneeded casts.
2214 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2216 * gst/parse/grammar.y:
2217 * tests/check/pipelines/parse-launch.c:
2218 Get all missing elements from a parse launch string if possible
2219 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2221 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2223 * tests/check/Makefile.am:
2224 * tests/check/pipelines/parse-launch.c:
2225 Add some unit tests for the new gst_parse_launch*_full() API.
2226 (Exposes a previously-existing memory leak in the error code
2227 path, so adding to VALGRIND_TO_FIX for now).
2229 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2231 * docs/gst/gstreamer-sections.txt:
2232 * gst/gst.c: (init_post):
2233 * gst/gst_private.h: (_GstParseContext):
2234 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2235 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2236 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2237 (gst_parse_launch_full):
2238 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2239 (GstParseFlags), (GstParseContext):
2240 * gst/gstutils.c: (gst_parse_bin_from_description),
2241 (gst_parse_bin_from_description_full):
2243 * gst/parse/grammar.y:
2244 * gst/parse/types.h:
2245 * win32/common/libgstreamer.def:
2246 Add new gst_parse_*_full API (#528178):
2247 API: gst_parse_launch_full()
2248 API: gst_parse_launchv_full()
2249 API: gst_parse_bin_from_description_full()
2250 API: gst_parse_context_new()
2251 API: gst_parse_context_free()
2252 API: gst_parse_context_get_missing_elements()
2254 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2256 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2258 * docs/faq/gst-uninstalled:
2259 Also support ffmpeg in gst-uninstalled.
2261 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2264 After discussion on IRC use the binary registry as default
2265 but allow to disable it with --disable-binary-registry.
2267 * win32/common/libgstreamer.def:
2268 Add the two new symbols for the binary registry.
2270 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2272 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2273 * gst/gstutils.c: (gst_parse_bin_from_description):
2274 * gst/parse/grammar.y: (graph):
2275 More guards against bad input; typo fix; some minor clean-ups.
2277 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2279 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2281 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2282 If nothing else can be used, use the last buffer's start time as
2283 the segment's last stop. Fixes bug #534258.
2285 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2287 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2288 Move size sanity check to the right place: downstream may return
2289 a buffer with a smaller size if the buffer caps are different than
2290 the requested ones, as may happen when doing reverse negotiation.
2292 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2294 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2295 (gst_file_sink_render):
2296 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2297 (gst_file_src_start):
2298 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2301 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2303 * gst/gstpad.c: (gst_pad_load_and_link):
2304 * gst/gstutils.c: (gst_element_link_pads),
2305 (gst_element_unlink_pads):
2306 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2307 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2308 (gst_check_teardown_sink_pad),
2309 (gst_check_element_push_buffer_list):
2310 * tests/check/elements/fakesink.c: (GST_START_TEST):
2311 * tests/check/elements/filesink.c:
2312 * tests/check/elements/filesrc.c: (GST_START_TEST):
2313 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2314 (mq_sinkpad_to_srcpad):
2315 * tests/check/elements/tee.c: (GST_START_TEST):
2316 * tests/check/generic/sinks.c: (GST_START_TEST):
2317 * tests/check/gst/gstbin.c: (GST_START_TEST):
2318 * tests/check/gst/gstevent.c: (GST_START_TEST):
2319 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2320 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2321 * tests/check/gst/gstquery.c: (GST_START_TEST):
2322 * tests/check/gst/gstutils.c: (GST_START_TEST):
2323 * tests/check/libs/basesrc.c: (GST_START_TEST):
2324 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2325 (gst_parse_test_element_change_state):
2326 Don't use gst_element_get_pad().
2328 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2331 Fix installing plugin documentation when gtk-doc is disabled.
2333 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2335 * docs/manual/advanced-autoplugging.xml:
2336 * docs/manual/basics-helloworld.xml:
2337 * docs/manual/basics-pads.xml:
2338 * docs/manual/highlevel-components.xml:
2339 Avoid using a bad function in the example code.
2341 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2343 * gst/gstclock.c: (gst_clock_set_calibration):
2344 Fix debug of the new clock rate.
2346 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2348 * win32/common/libgstbase.def:
2349 Add gst_base_sink_wait_clock() to the exported symbols.
2351 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2353 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2355 * libs/gst/base/gstbasetransform.c:
2356 (gst_base_transform_sink_event):
2357 Unref events that the GstBaseTransform::event vfunc didn't want to
2358 have forwarded by the base class. Closes a leak in identity.
2361 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2363 * docs/libs/gstreamer-libs-sections.txt:
2364 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2365 * libs/gst/base/gstbasesink.h:
2366 Expose a method that was previously used internally to synchronize
2367 against the clock because it can be useful for subclasses too.
2368 API: GstBaseSink::gst_base_sink_wait_clock()
2370 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2372 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2373 Add sanity check to make sure we don't get smaller buffers
2374 than requested (and fallback to normal buffer alloc if we do).
2376 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2378 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2379 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2380 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2381 Refactor adjusting the running_time with latency and offset into a
2383 When doing clipping, we still want to use the subclass get_times method,
2384 just in case the DURATION or TIMESTAMP are not set.
2386 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2388 * docs/gst/gstreamer-sections.txt:
2389 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2390 * gst/gsttypefind.h:
2391 * win32/common/libgstreamer.def:
2392 API: add gst_type_find_suggest_simple(), #533740.
2394 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2396 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2397 Use right error code when typefinding fails, so we can use
2398 the default (translated) error messages.
2400 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2402 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2403 (gst_base_src_start):
2404 When the subclass did not set caps on outgoing buffers, configure the
2405 caps we negotiated on the source pad.
2406 When the typefind helper does not find caps, error out properly instead
2407 of doing things with NULL caps.
2409 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2411 * gst/gsttypefind.h:
2412 Tabs to spaces, oh yes!
2414 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2416 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2417 Add David's and Benjamin's tests for array intersection to the
2418 unit test suite (#147931).
2420 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2423 Document that gst_event_new_tag() and gst_event_new_navigation()
2424 take ownership of the taglist/structure passed to them. (#533635).
2426 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2429 Don't descend into the plugins dir if plugin docs building
2433 Add a note about the new type:GTypeName syntax for the plugin
2434 documentation .types file.
2436 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2438 * gst/gstmessage.c: (gst_message_new_error),
2439 (gst_message_new_warning), (gst_message_new_info):
2441 Mark the debug string parameters as const. Fixes bug #533490.
2443 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2445 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2446 Sort buffer cache list by end offsets. This makes sure that we don't
2447 stop to search for a cached buffer that contains the requested data
2449 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2450 more efficient. Fixes bug #459862.
2452 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2455 Explain why we copy the list.
2457 * gst/gstpipeline.c:
2461 Add one debug-log statement to help tracing probelms with linking pads.
2463 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2465 * tests/check/gst/gstinfo.c:
2466 Add a test for removing the default log handler. Seems to fail under
2469 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2471 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2472 Release pad lock before calling out to avoid a possible deadlock.
2474 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2476 * gst/parse/grammar.y:
2477 Remove unneeded value unset.
2479 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2480 Add unit test for de/serialization of caps.
2482 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2484 * plugins/elements/gstfakesink.c:
2485 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2486 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2487 (gst_fake_src_class_init):
2488 Use custom marshalers that take GstMiniObject as first parameter.
2489 Using OBJECT as parameter while a GstMiniObject is given will lead
2490 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2492 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2494 * plugins/elements/gsttypefindelement.c:
2495 (gst_type_find_element_handle_event),
2496 (gst_type_find_element_send_cached_events),
2497 (gst_type_find_element_change_state):
2498 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2501 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2503 * plugins/elements/gsttypefindelement.c:
2504 (gst_type_find_handle_src_query), (stop_typefinding),
2505 (gst_type_find_element_handle_event),
2506 (gst_type_find_element_send_cached_events),
2507 (gst_type_find_element_change_state):
2508 Forward FLUSH_START events immediately and clean up instead of
2511 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2513 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2515 * libs/gst/base/gstbasetransform.c:
2516 (gst_base_transform_buffer_alloc):
2517 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2518 fall back to default negotiation in the chain function if the caps
2519 are different from what was requested. Fixes bug #526768.
2521 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2524 * tests/check/gst/gstsegment.c:
2525 No, let's not use g_slice_{dup|copy} here, since they only exist
2526 since GLib 2.14 and we still depend only on >= 2.12. Also add
2527 unit test for gst_segment_copy().
2529 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2531 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2532 Try to fix 'dereferencing type-punned pointer will break strict
2533 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2534 changed the default GType typedef from gulong to gsize at some point,
2535 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2536 g_once_* functions all take a gsize * though, so work around the type
2537 mismatch for C++ by doing everything in gsize and casting to GType
2540 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2542 * plugins/elements/gstmultiqueue.c:
2543 Add documentation for the signals to push our core plugin docs
2544 coverage back up to 100%.
2546 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2548 * gst/gstinfo.h (GST_FUNCTION):
2549 Reverted GST_FUNCTION to the old version as we don't want the
2550 full signature in C++ code. Also added support for MSVC.
2552 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2555 Intern the type name string, similar to what G_DEFINE_TYPE does.
2557 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2560 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2562 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2564 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2566 * libs/gst/base/gstbasetransform.c:
2567 (gst_base_transform_buffer_alloc):
2568 Don't passthrough buffer allocation too easily if the caps change.
2569 This breaks when working in passthrough mode and upstream changes
2570 it's caps. Fixes bug #526768.
2572 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2574 * gst/gstinfo.c (gst_debug_log_valist):
2575 Improved the __FILE__ part of debug output for MSVC.
2577 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2579 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2580 Declaration after statement fix for compilers like MSVC.
2582 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2584 * win32/common/config.h.in:
2585 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2586 use the real thing than having "???" unconditionally.
2588 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2590 * gst/gstinfo.h (GST_FUNCTION):
2591 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2593 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2595 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2598 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2599 (gst_base_sink_set_flushing):
2600 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2603 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2605 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2606 (gst_fake_src_init), (gst_fake_src_set_property),
2607 (gst_fake_src_get_property), (gst_fake_src_start):
2608 * plugins/elements/gstfakesrc.h:
2609 Added format property to control the format of the newsegment events.
2610 API: GstFakeSrc:format
2612 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2614 * win32/common/libgstreamer.def:
2615 Add gst_pad_has_name() to the exported symbols.
2617 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2619 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2620 * libs/gst/base/gstbasetransform.c:
2621 (gst_base_transform_prepare_output_buffer):
2622 Don't allow negative sizes when allocating new buffers.
2625 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2627 Patch by: Sjoerd Simons <sjoerd at luon net>
2629 * gst/gstbus.c: (gst_bus_source_dispatch):
2630 Don't print a warning if the queue is empty when we try to pop
2631 here. That could happen if another thread or callback set the
2632 bus to flushing between the source's check/prepare and the
2633 dispatch being called (#531538).
2635 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2637 * plugins/elements/gstmultiqueue.c:
2640 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2642 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2643 Add unit test for deserializing uint64s and check some really large
2644 numbers in the int64 test.
2646 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2648 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2649 (print_interfaces), (print_element_properties_info),
2650 (print_signal_info):
2651 Use "%s" as format string instead of printing strings directly.
2653 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2655 * gst/gstclock.c: (gst_clock_set_calibration):
2656 Make some checks actually useful.
2658 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2659 Remove some unused code. Unsigned integers tend to be >= 0.
2661 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2663 * gst/gstminiobject.c: (gst_value_get_mini_object):
2664 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2665 function was not in the unscheduled 0.10.19 release.
2667 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2669 * gst/gstregistry.c: (gst_registry_scan_path_level):
2670 Only print one log message per non-plugin file.
2672 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2674 * gst/gstinfo.c: (gst_debug_log_default):
2675 Fix alignment of debug log columns on 64-bit.
2677 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2679 * docs/libs/Makefile.am:
2680 * docs/libs/gstreamer-libs-sections.txt:
2681 Ignore private controller headers for docs.
2683 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
2685 * libs/gst/controller/gstcontrollerprivate.h:
2686 * libs/gst/controller/gsthelper.c:
2687 * libs/gst/controller/gstinterpolation.c:
2688 * libs/gst/controller/gstinterpolationcontrolsource.c:
2689 (gst_interpolation_control_source_set_interpolation_mode):
2690 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2691 * libs/gst/controller/lib.c:
2692 Move some private declarations into private headers.
2694 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
2696 * gst/gstdebugutils.c: (debug_dump_element_pad):
2697 Remove some code that is unused after Stefan's refactoring and uses
2698 uninitialized variables now, resulting in a compiler warning.
2700 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2702 * gst/gstregistry.c: (gst_registry_scan_path_level):
2703 Run g_str_has_suffix() only on the file name, not the
2706 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
2708 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2709 Since we're not called only from the chain function any longer,
2710 we can't assume that there's always data in the queue, so move
2711 the is_full check to the beginning of the loop (otherwise we'd
2712 hit the assert when changing the limit properties while the
2713 queue is empty or not running yet).
2714 Also, only set a discont if items were actually removed from
2717 * tests/check/elements/queue.c: (test_leaky_downstream):
2718 Test case for the above.
2720 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
2722 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2724 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2725 (gst_queue_chain), (queue_capacity_change),
2726 (gst_queue_set_property):
2727 When changing thr max capacity of a leaky queue, immediatly drop buffers
2728 instead of waiting for a push on the sinkpad. Fixes #530637.
2730 2008-04-30 Stefan Kost <ensonic@users.sf.net>
2732 * gst/gstdebugutils.c:
2733 Refactor code and fix handling of ghostpads and their proxypads.
2735 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
2737 * docs/gst/gstreamer-sections.txt:
2738 * gst/gstevent.c: (gst_event_has_name):
2740 * tests/check/gst/gstevent.c: (GST_START_TEST):
2741 Add method to conveniently check the name of a custom event with
2742 gst_event_has_name().
2743 Reformat the event docs so that related methods are put together instead
2744 of the default alphabetical sort.
2745 Update unit test with new method.
2746 API: GstEvent::gst_event_has_name()
2748 2008-04-28 Michael Smith <msmith@songbirdnest.com>
2750 * libs/gst/check/Makefile.am:
2751 Don't add an explicit link to libgstreamer-0.10.la; it's already
2752 included in GST_OBJ_LIBS.
2754 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
2757 Register GstClock type from a type-safe context. Fixes bug #530317.
2759 2008-04-25 Michael Smith <msmith@songbirdnest.com>
2761 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2763 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2765 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2767 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2769 Use the GLib stuff to create a private structure.
2770 Add some locking around some dispose methods to make them a little
2771 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2773 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2775 * libs/gst/base/gstbasesink.h:
2776 * libs/gst/base/gstbasesrc.h:
2777 * libs/gst/base/gstbasetransform.h:
2778 * libs/gst/base/gstcollectpads.h:
2779 Fix doc typos and unify caps a bit.
2781 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2783 * tools/gst-launch.1.in:
2784 Forgot to also add the envvar docs here.
2786 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
2788 * gst/gst.c: (init_post), (gst_deinit):
2789 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2790 (test_concurrent_create), (gst_pipeline_suite):
2791 Ref some more classes in gst_init() to work around thread-safety
2792 issues in pre-2.16 GLibs, and add basic unit test.
2794 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2796 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2797 (gst_base_sink_send_event):
2798 Rearrange the latency query code. We always want to do the upstream
2799 query, even if we are not live so that the upstream elements can get the
2800 latency results too. If we fail doing the query and we are live, we
2801 return TRUE afterwards.
2803 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2805 patch by: Jason Zhao <e3423c@motorola.com>
2807 * docs/gst/running.xml:
2809 Enable/disable scan_and_update_registry() based on commandline switch
2810 or environment variable. Fixes #520468.
2813 Fix typo in my previous commit.
2815 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2817 * gst/gstregistrybinary.c:
2818 Add a warning if we hit unhandled factories when saving.
2819 More debug logging detail, but move to LOG category.
2821 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2823 * gst/gstregistry.c:
2824 Tell the *truth* when improving the documentation.
2826 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
2828 * gst/gstelementfactory.c: (gst_element_factory_make):
2829 Unref the factory after it was used the last time, not before.
2831 * gst/gstindexfactory.c: (gst_index_factory_make):
2832 Improve debugging a bit and don't leak a ref to the index factory with
2835 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2837 * gst/gstregistry.c:
2838 Improve the documentation.
2840 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2843 The glib macro seems to be borked. Use g_slice_copy directly and cast
2844 in the hope that this fixes the warning on 64bit.
2846 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2849 Document the new function. Use g_slice_dup() (no need for
2850 gst_segment_init()).
2852 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2854 * docs/gst/gstreamer-sections.txt:
2855 Move GParamSepc macros to standart section.
2858 Dn't document _get_type - its in private section in docs anyway and
2859 this doc-blob was incomplete.
2862 Fix wrong symbol names in docs.
2865 Add once doc sentence.
2867 * tests/check/gst/.cvsignore:
2870 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2872 * docs/gst/Makefile.am:
2873 And remove those libs here.
2875 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
2877 * docs/libs/Makefile.am:
2878 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
2880 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
2882 Patch by: Olivier Crete <tester at tester dot ca>
2884 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2885 Add the min-threshold to the min latency if possible. Fixes #529148.
2887 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2889 * docs/gst/gstreamer.types.in:
2890 Stupid editor, I removed that line as it should go in yet.
2892 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2894 * docs/gst/gstreamer.types.in:
2895 * docs/libs/gstreamer-libs.types:
2896 Remove library types fro core docs and have them in libs docs.
2897 Reformat and cleanup. Add comment for miniobject types.
2899 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
2901 * gst/gsturi.c: (gst_uri_get_protocol):
2902 Fix leak: g_strdown operates on the string in place, while
2903 g_ascii_strdown() returns a newly-allocated string.
2905 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
2907 * tools/gst-inspect.c: (print_uri_handler_info),
2908 (print_element_info):
2909 Print the URI protocols and the URI type supported by the element.
2911 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2913 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
2914 Use g_value_take_string() instead of the deprecated
2915 g_value_set_string_take_ownership().
2917 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2919 * gst/gstregistrybinary.c: (_gst_crc32):
2920 Return the old CRC instead of 0 if we give a NULL buffer
2921 or a buffer with a length of 0.
2923 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2925 * gst/gsturi.c: (gst_uri_protocol_check_internal),
2926 (gst_uri_get_protocol), (gst_uri_has_protocol),
2927 (gst_uri_construct), (gst_uri_handler_set_uri):
2928 A valid URI scheme can also include '+', '-' and '.' additional
2929 to alphanumeric characters as per RFC 3986 Section 3.1.
2931 Handle URI schemes case insensitive in all places and convert
2932 to lower-case when constructing an URI or setting an URI with
2933 the GstURIHandler interface. Fixes bug #528868.
2934 All elements can still assume (as before) that they will
2935 get passed URIs with a lower-case URI scheme by the GstURIHandler
2938 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
2940 * gst/gstcaps.c: (gst_static_caps_get):
2941 * gst/gstclock.c: (gst_clock_entry_new):
2942 Don't use g_atomic_set_int where it's not needed.
2944 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
2946 * gst/gstvalue.c: (gst_value_deserialize_caps):
2947 * gst/parse/grammar.y:
2950 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
2952 * gst/gstutils.c: (gst_atomic_int_set):
2953 Use g_atomic_int_set() here too instead of assignment +
2956 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
2960 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
2961 now that we depend on new enough GLib.
2963 * gst/gstcaps.c: (gst_static_caps_get):
2964 * gst/gstclock.c: (gst_clock_entry_new):
2965 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
2966 (gst_debug_set_default_threshold), (_gst_debug_category_new),
2967 (gst_debug_category_set_threshold):
2968 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2969 (gst_base_sink_set_qos_enabled):
2970 * libs/gst/net/gstnettimeprovider.c:
2971 (gst_net_time_provider_set_property):
2972 Use g_atomic_int_set() instead of gst_atomic_int_set().
2974 2008-04-16 Stefan Kost <ensonic@users.sf.net>
2977 Also use G_GINT64_CONSTANT for the queries.
2979 2008-04-16 Stefan Kost <ensonic@users.sf.net>
2982 Use G_GINT64_CONSTANT in varargs function.
2984 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
2986 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
2987 Initialize the registry magic with zeroes.
2989 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
2991 * gst/gstregistrybinary.c: (_gst_crc32),
2992 (gst_registry_binary_write),
2993 (gst_registry_binary_initialize_magic),
2994 (gst_registry_binary_write_cache),
2995 (gst_registry_binary_check_magic),
2996 (gst_registry_binary_read_cache):
2997 * gst/gstregistrybinary.h:
2998 Add crc32 checksum to the binary registry file and check this before
2999 accepting a registry file.
3001 Also free the data list when writing to the registry file fails.
3003 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3005 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3006 (gst_registry_binary_load_feature),
3007 (gst_registry_binary_load_plugin):
3008 If an element supports the Uri interface, returns a valid pointer
3009 to the supported URI protocols but this pointer contains nothing
3010 don't try to save that as it will corrupt the registry.
3012 Don't unref the plugin if we added it to the registry already but
3013 fail to load a feature as gst_registry_add_plugin() takes ownership
3016 Improve debugging a bit.
3018 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3021 Clarify some tag item docs after discussion on irc.
3023 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3025 * docs/gst/gstreamer-docs.sgml:
3026 Remove commented out plugins (they have their own docs). Update
3029 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3031 * docs/gst/gstreamer-docs.sgml:
3032 * docs/gst/gstreamer-sections.txt:
3033 * gst/gstparamspecs.c:
3034 * gst/gstparamspecs.h:
3035 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3036 docs to own section.
3039 This now only documents GValue.
3041 * docs/libs/gstreamer-libs-sections.txt:
3042 * libs/gst/controller/gstcontroller.h:
3043 Remove GST_PARAM_CONTROLLABLE.
3045 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3048 Correct file path. Tell about how to use -overrides.txt.
3049 * docs/design/draft-tagreading.txt:
3050 Small design update.
3052 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3054 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3055 (gst_registry_binary_load_plugin):
3056 Fix a typo in a debug message and revert change from yesterday as
3057 gst_registry_add_plugin() will only fail if something is really wrong
3058 already and we can't survive it anyway.
3060 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3062 * gst/gst.c: (init_post), (gst_deinit):
3063 Pre-register GstGError GType from a thread-safe context
3064 (fixes #527967); unref enum type classes in deinit.
3066 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3068 Patch by: Rene Stadler <mail at renestadler de>
3070 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3071 Merging an empty list with another list in KEEP_ALL mode should
3072 yield an empty list as result and not the second list (#512578).
3074 * tests/check/gst/gsttagsetter.c:
3075 Add unit test for tag merge modes and the aforementioned bug.
3077 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3079 Patch by: Rene Stadler <mail at renestadler de>
3082 Fix description to match the order in the table (#512577).
3084 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3086 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3088 * libs/gst/net/gstnettimepacket.h:
3089 * docs/libs/gstreamer-libs-sections.txt:
3090 Define socklen_t as int if it's not defined yet. Fixes compilation
3091 with MSVC6 and other versions where socklen_t is not defined in
3092 the windows headers (#518022).
3094 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3096 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3097 If gst_registry_add_plugin() fails our reference to the plugin is
3098 invalid so don't try to use it anymore and instead error out.
3100 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3102 * tools/gst-xmlinspect.c: (print_element_info), (main):
3103 De-cruft a bit. If no argument is specified, print all elements in
3104 XML syntax rather than a freestyle list of elements like gst-inspect.
3105 Also, don't print XML header chunk unless we actually have something
3106 to print (ie. don't print it before an error message); print error
3107 message to stderr not stdout. Remove support for printing plugin
3108 info (it would just output something freestyle along the lines of
3109 gst-inspect so far), which fixes #514507. Also add license header.
3111 2008-04-11 Julien Moutte <julien@fluendo.com>
3114 * configure.ac: Merge platform specific defines, introduce a new
3115 define on OS X to remember that forking when updating registry is
3117 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3119 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3121 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3122 condition that leads to absolutely no plugins being registered on
3125 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3127 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3129 * gst/gstutils.c: (gst_pad_add_data_probe),
3130 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3131 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3132 (gst_pad_add_buffer_probe_full):
3134 * docs/gst/gstreamer-sections.txt:
3135 * win32/common/libgstreamer.def:
3136 Add gst_pad_add_*_probe_full() functions with a notify callback that
3137 lets the caller free the data it passes to the probe functions. This
3138 is useful for bindings such as gst-python or gstreamermm (#526814).
3139 API: gst_pad_add_data_probe_full
3140 API: gst_pad_add_buffer_probe_full
3141 API: gst_pad_add_event_probe_full
3143 * tests/check/gst/gstutils.c:
3144 Add minimal unit test to make sure freeing the data actually works
3147 * tests/benchmarks/.cvsignore:
3148 Random cvsignore addendum.
3150 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3152 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3153 (GST_DEBUG_BIN_TO_DOT_FILE):
3154 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3155 to it in the docs (since these are macros the types of the arguments
3156 won't be shown in the docs otherwise).
3158 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3161 Do not abort on out of memory for pad_alloc_buffer.
3163 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3165 * libs/gst/check/gstcheck.c:
3166 Remove blank line between symbol name ad parameters to fix gtkdoc
3169 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3171 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3173 * docs/gst/gstreamer-sections.txt:
3176 * win32/common/libgstreamer.def:
3177 Expose gst_segment_copy() to make things easier for the c++ bindings.
3179 API: gst_segment_copy()
3181 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3183 * gst/gst.c: (gst_init_get_option_group), (init_post):
3184 Fix const position; ref GType classes for enum types to work
3185 around thread-safety issues in GLib versions < 2.16.
3187 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3189 * docs/design/part-buffering.txt:
3190 Fix some typos and set the estimated total for push mode to -1.
3192 * gst/gstquery.c: (gst_query_new_buffering):
3193 Set buffering-left to 0 as we're not buffering by default.
3195 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3196 Implement BUFFERING query.
3198 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3200 Based on patch by: Milosz Derezynski <internalerror gmail com>
3202 * gst/gsterror.c: (_gst_stream_errors_init):
3204 Add two new error codes for encrypted content. Fixes #524659.
3205 API: GST_STREAM_ERROR_DECRYPT
3206 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3208 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3213 * win32/common/libgstreamer.def:
3216 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3218 * plugins/elements/gstidentity.c: (gst_identity_event),
3219 (gst_identity_start):
3220 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3221 event after processing some data. Fixes bug #526042.
3223 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3225 * docs/gst/gstreamer-sections.txt:
3226 * gst/gstquery.c: (gst_query_parse_latency),
3227 (gst_query_set_buffering_percent),
3228 (gst_query_parse_buffering_percent),
3229 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3231 Rename _avail -> _range
3232 API: gst_query_set_buffering_range
3233 API: gst_query_parse_buffering_range
3235 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3237 * docs/design/part-buffering.txt:
3240 * gst/gstquery.c: (gst_query_parse_latency),
3241 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3242 (gst_query_parse_buffering_percent):
3244 Add busy field and quark for the buffering query so that the app can
3245 only use the query to see if buffering is in progress.
3247 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3249 * docs/gst/gstreamer-sections.txt:
3250 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3251 (gst_message_parse_buffering_stats):
3253 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3254 (gst_query_parse_latency), (gst_query_new_buffering),
3255 (gst_query_set_buffering_percent),
3256 (gst_query_parse_buffering_percent),
3257 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3258 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3260 Reorder the message docs and headers for clarity.
3261 Add aditional buffering stats API for messages.
3262 Add buffering query.
3263 Convert some leftover queries to use GstQuark.
3264 API: gst_message_set_buffering_stats
3265 API: gst_message_parse_buffering_stats
3266 API: GST_QUERY_BUFFERING
3267 API: GstBufferingMode
3268 API: gst_query_new_buffering
3269 API: gst_query_set_buffering_percent
3270 API: gst_query_parse_buffering_percent
3271 API: gst_query_set_buffering_stats
3272 API: gst_query_parse_buffering_stats
3274 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3276 * gst/gstmessage.c: (gst_message_new_error),
3277 (gst_message_new_warning), (gst_message_new_info),
3278 (gst_message_new_buffering), (gst_message_new_state_changed),
3279 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3280 (gst_message_new_new_clock), (gst_message_new_segment_start),
3281 (gst_message_new_segment_done), (gst_message_new_duration),
3282 (gst_message_new_async_start), (gst_message_parse_buffering),
3283 (gst_message_parse_state_changed),
3284 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3285 (gst_message_parse_new_clock), (gst_message_parse_error),
3286 (gst_message_parse_warning), (gst_message_parse_info),
3287 (gst_message_parse_segment_start),
3288 (gst_message_parse_segment_done), (gst_message_parse_duration),
3289 (gst_message_parse_async_start):
3290 Use GstQuark for messages.
3292 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3294 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3296 Add some more quarks needed for messages and queries.
3298 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3300 * docs/design/part-buffering.txt:
3301 Remove the "none" buffering mode, STREAM is a good default.
3302 Move estimated-time to the avail query, that's when it will be needed.
3303 Other small typo fixes and updates.
3305 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3307 * gst/gstindex.c: (gst_index_resolver_get_type):
3308 Don't put descriptions into the nick field of a GEnumValue: it's not
3309 meant for that and some language bindings rely on the nick field to
3310 construct constants and the like. Fixes #526705.
3312 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3317 Merge other changes from 0.10.19 release branch.
3319 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3321 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3324 Actually build dlls when cross-compiling with mingw32.
3327 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3329 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3332 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3334 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3336 * docs/design/draft-latency.txt:
3339 * docs/design/part-buffering.txt:
3340 Update design docs with more buffering ideas.
3342 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3345 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3347 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3350 Revert part that belongs to the preset patch.
3352 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3355 Add qoutes to the define. Fixes # 525961.
3357 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3359 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3360 (gst_file_index_load), (gst_file_index_add_id),
3361 (gst_file_index_get_assoc_entry):
3362 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3363 (gst_mem_index_free_id), (gst_mem_index_add_id),
3364 (gst_mem_index_index_format):
3365 Use GSlice when possible.
3367 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3369 * libs/gst/controller/gstinterpolationcontrolsource.c:
3370 (gst_control_point_free),
3371 (gst_interpolation_control_source_set_internal):
3372 Use GSlice for allocating the control points.
3374 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3376 * plugins/elements/gsttypefindelement.c:
3377 (gst_type_find_element_class_init),
3378 (gst_type_find_element_set_property),
3379 (gst_type_find_element_get_property),
3380 (gst_type_find_element_activate):
3381 * plugins/elements/gsttypefindelement.h:
3383 Fix pad leak when peer query fails.
3384 We can still typefind when the peer returns -1.
3385 Add property to force caps and bypass typefinding. This will be used in
3389 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3394 * gst/glib-compat-private.h:
3395 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3396 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3397 Unconditionally use GSlice for allocation.
3399 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3400 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3401 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3402 (gst_structure_free):
3403 Use GSlice for allocation.
3405 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3407 * gst/parse/Makefile.am:
3408 * gst/parse/grammar.tab.pre.c:
3409 * gst/parse/grammar.tab.pre.h:
3410 * gst/parse/lex._gst_parse_yy.pre.c:
3411 Require a new enough flex and bison and remove the parser hacks to use
3412 a pre-regenerated version.
3414 2008-04-01 Julien Moutte <julien@fluendo.com>
3416 patch by: Jason Zhao <E3423C@motorola.com>
3418 * configure.ac: Add a configure switch to disable option parsing
3422 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3425 * gst/gstregistry.c:
3426 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3427 and handle this case.
3430 Add a comment here describing, why we stat each plugin and not try to
3433 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3435 * libs/gst/base/gstbasetransform.c:
3436 (gst_base_transform_prepare_output_buffer):
3437 Also unset the GAP flag on buffers if we're working inplace but
3438 the element is not GAP-aware.
3440 Mark a comment as FIXME 0.11.
3442 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3445 Fix type in log message and add one to ease seeing how long registry
3446 cache verification takes.
3448 * gst/gstregistry.c:
3449 Only test plugin filenames against G_MODULE_SUFFIX.
3451 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3453 * gst/gstdebugutils.c:
3454 Improve handling ghost/proxy pads.
3456 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3458 * docs/gst/gstreamer-sections.txt:
3461 Expose macro to docs and fix link to it.
3463 2008-03-27 Michael Smith <msmith@fluendo.com>
3465 * libs/gst/dataprotocol/dataprotocol.c:
3466 (gst_dp_packet_from_event_1_0):
3467 When calculating GDP body CRC, use the correct pointer.
3468 Fixes part of #522401.
3470 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3472 Patch by: Mark Nauwelaerts <manauw at skynet be>
3474 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3475 (gst_identity_init), (gst_identity_prepare_output_buffer):
3476 Identity is not always a passthrough element, it can modify the buffer
3477 timestamps when it has a datarate and operates in single-segment mode.
3478 We therefore make it an in_place filter with a custom buffer prepare
3479 function that conditionally makes the input buffer metadata writable
3480 when needed. Fixes #523985.
3482 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3484 Patch by: Mark Nauwelaerts <manauw at skynet be>
3487 * libs/gst/base/gstbasesrc.h:
3488 * libs/gst/base/gstbasetransform.c:
3489 * libs/gst/check/gstcheck.c:
3490 Small documentation fixes. Fixes #523978.
3492 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3494 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3495 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3496 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3498 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3500 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3501 (single_queue_underrun_cb):
3502 When trying to make room in the queue, bump the max allowed buffers
3503 bigger than the current amount of buffers in the queue. this fixes some
3504 nasty deadlocks in multiqueue when dynamically changing the limits of
3507 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3509 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3511 * gst/gstcaps.c: (gst_caps_set_simple),
3512 (gst_caps_set_simple_valist), (gst_caps_intersect):
3514 Constify the field gchar * params in set_simple and friends.
3517 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3519 * gst/gstvalue.c: (gst_value_transform_object_string):
3520 Transform a GstObject to a more meaningfull string that includes the
3521 object type in addition to its name.
3523 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3526 ChangeLog surgery to add bugnumber to commit.
3528 2008-03-23 Rene Stadler <mail@renestadler.de>
3530 * libs/gst/base/gstbasetransform.c:
3531 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3533 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3535 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3536 Rename constant everywhere and don't forget one occurence.
3538 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3540 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3541 Align memory to the pointer size even if the architecture allows
3542 unaligned memory access. Unaligned memory access usually comes with
3543 performance penality.
3545 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3547 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3548 (gst_registry_binary_check_magic),
3549 (gst_registry_binary_load_pad_template),
3550 (gst_registry_binary_load_feature),
3551 (gst_registry_binary_load_plugin):
3552 Align memory to the pointer size instead of always 32 bit. Fixes
3553 unaligned memory accesses on ia64 and friends.
3555 * gst/gstregistrybinary.h:
3556 Bump binary registry format version for this as it changes the
3557 format on those architectures that don't have unaligned access
3558 and 64 bit pointers.
3560 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3562 * docs/pwg/advanced-dparams.xml:
3563 * docs/pwg/building-props.xml:
3564 * docs/pwg/other-source.xml:
3565 * gst/glib-compat.h:
3566 * gst/gstbin.c: (gst_bin_class_init):
3567 * gst/gstclock.c: (gst_clock_class_init):
3568 * gst/gstindex.c: (gst_index_class_init):
3569 * gst/gstobject.c: (gst_object_class_init):
3570 * gst/gstpad.c: (gst_pad_class_init):
3571 * gst/gstpipeline.c: (gst_pipeline_class_init):
3572 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3573 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3574 * libs/gst/base/gstbasetransform.c:
3575 (gst_base_transform_class_init):
3576 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3577 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3578 (_gst_check_fault_handler_sighandler),
3579 (_gst_check_fault_handler_setup), (gst_check_init):
3580 * libs/gst/controller/gstcontroller.c:
3581 (_gst_controller_class_init):
3582 * libs/gst/controller/gstlfocontrolsource.c:
3583 (gst_lfo_control_source_class_init):
3584 * libs/gst/net/gstnetclientclock.c:
3585 (gst_net_client_clock_class_init):
3586 * libs/gst/net/gstnettimeprovider.c:
3587 (gst_net_time_provider_class_init):
3588 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3589 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3590 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3591 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3592 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3593 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3594 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3595 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3596 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3597 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3598 * plugins/elements/gsttee.c: (gst_tee_class_init):
3599 * plugins/elements/gsttypefindelement.c:
3600 (gst_type_find_element_class_init):
3601 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3602 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3603 use it everywhere for GParamSpecs that use static strings (i.e. all).
3604 This gives us less memory usage, fewer allocations and thus less
3605 memory defragmentation. Fixes bug #523806.
3607 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3609 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3610 (gst_param_spec_mini_object):
3611 * gst/gstminiobject.h:
3612 * win32/common/libgstreamer.def:
3613 * docs/gst/gstreamer-sections.txt:
3614 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3615 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3616 GstParamSpecMiniObject into a public header for this.
3618 This make GstMiniObject a bit more consistent with GObject and makes
3619 it possible to extend the param specs.
3621 gst_value_dup_mini_object is mainly useful for set_property methods.
3625 * tools/gst-inspect.c: (print_element_properties_info):
3626 Print something useful for GstMiniObject properties and not just
3629 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3631 * docs/gst/gstreamer-sections.txt:
3632 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3633 (gst_registry_binary_check_magic):
3634 * gst/gstregistrybinary.h:
3635 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3636 and add it to the (private part) of the docs to fix the build.
3638 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3640 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3641 (gst_registry_binary_check_magic),
3642 (gst_registry_binary_read_cache):
3643 * gst/gstregistrybinary.h:
3644 Don't use GST_MAJORMINOR for the binary registry version. Instead
3645 hardcode a value that must be changed whenever the format changes
3646 in an incompatible way.
3647 Also don't GST_ERROR when there is a version mismatch, just
3648 regenerate the registry silently.
3650 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3653 Back to development - 0.10.18.1
3655 === release 0.10.18 ===
3657 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3660 releasing 0.10.18, "So far away"
3662 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3665 * win32/common/config.h:
3666 0.10.17.4 pre-release
3668 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3670 Patch by: Ole André Vadla Ravnås
3671 <ole dot andre dot ravnas at tandberg dot com>
3673 * docs/gst/gstreamer-sections.txt:
3674 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3675 (gst_poll_update_winsock_event_mask),
3676 (gst_poll_prepare_winsock_active_sets),
3677 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3678 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3679 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3680 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3681 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3683 * win32/common/libgstreamer.def:
3684 Add new function gst_poll_fd_ignored() for improved Windows
3686 Various minor fixes and cleanups. See #520808.
3688 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
3690 * gst/gstindex.c: (gst_index_entry_free):
3692 Don't free key strings which we don't own. Fixes crash in
3693 gst_index_entry_free() (#522741).
3695 * tests/check/Makefile.am:
3696 * tests/check/gst/.cvsignore:
3697 * tests/check/gst/gstindex.c: (test_index_entries),
3698 (gst_index_suite), (gst_index):
3699 Add unit test for the above.
3701 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3703 * win32/common/libgstreamer.def:
3704 Remove symbols that were removed recently. Fixes bug #521740.
3706 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
3709 * win32/common/config.h:
3710 0.10.17.3 pre-release
3712 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
3714 Patch by: Ole André Vadla Ravnås
3715 <ole dot andre dot ravnas at tandberg dot com>
3717 * docs/gst/gstreamer-sections.txt:
3718 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3719 (gst_poll_update_winsock_event_mask), (gst_poll_new),
3720 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3721 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3722 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3723 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3724 (gst_poll_fd_can_write), (gst_poll_wait),
3725 (gst_poll_set_controllable), (gst_poll_restart),
3726 (gst_poll_set_flushing):
3728 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3729 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3730 (gst_net_time_provider_new):
3731 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3732 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3733 * tests/benchmarks/gstpollstress.c: (main):
3734 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3735 Remove GstPollMode from the API, it does not make sense to let the
3736 application control this.
3737 Add support for Win32.
3738 Fix the testsuite. Fixes #520671.
3740 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
3742 Patch by: Ole André Vadla Ravnås
3743 <ole dot andre dot ravnas at tandberg dot com>
3745 * gst/gstregistrybinary.c:
3746 Include io.h for write() and close() when building with MSVC. Fixes
3749 2008-03-07 Stefan Kost <ensonic@users.sf.net>
3752 * gst/gst_private.h:
3753 * gst/gstconfig.h.in:
3754 * gst/gstregistry.h:
3755 * gst/gstregistrybinary.c:
3756 * win32/common/gstconfig.h:
3757 Move registry backend API to private headers where we can. Add
3758 fixme-0.11 comments for the others. Add stubs for the xml backend when
3759 using the binary to ensure they functions exists (they should not be
3760 used though). Fixes #520756.
3762 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
3765 * win32/common/config.h:
3768 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3770 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3771 (gst_registry_binary_read_cache):
3772 * gst/gstregistryxml.c: (gst_registry_save):
3773 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3774 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3775 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3776 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3777 Switch to using portabl gsize/gssize instead of size_t/ssize_t
3780 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3782 * gst/gstminiobject.c:
3783 Import gst_private.h before any other header that might include other
3784 glib headers. This fixes the build on windows using native compilers.
3786 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3788 * win32/common/gstconfig.h:
3789 Add here too, just for completeness.
3791 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3794 * gst/gstconfig.h.in:
3795 * gst/gstregistry.h:
3796 Fix broken use of config.h-defined preprocessor directive in a public
3797 header file. Add a corresponding define to gstconfig.h, since we can't
3798 really remove those function declarations from the header file now
3799 (or can we? and why are they there in the first place?).
3801 2008-03-03 Andy Wingo <wingo@pobox.com>
3803 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3806 * gst/gststructure.c (gst_structure_from_string): Warn if
3807 structure_from_string didn't consume the whole string, but the
3808 caller did not provide an end pointer.
3810 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
3812 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
3814 * gst/gstregistryxml.c: (read_string), (load_feature):
3815 Strings allocated by libxml2 should be freed with xmlFree(), not
3816 with g_free(). Fixes issues on windows in certain contexts (#519698).
3818 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
3820 * gst/gstinterface.c: (gst_element_implements_interface):
3821 Don't crash if the element supports the interface queried, but does
3822 not implement GstImplementsInterface. Fixes #519584.
3824 * tests/check/Makefile.am:
3825 * tests/check/gst/.cvsignore:
3826 * tests/check/gst/gstinterface.c:
3827 Add unit test for the above.
3829 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3831 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3834 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3836 * gst/gstsegment.c: (gst_segment_set_seek),
3837 (gst_segment_to_stream_time):
3838 Improve some comment.
3839 Update variables where it makes more sense.
3841 2008-02-29 Rene Stadler <mail@renestadler.de>
3843 * gst/gsturi.c: (gst_uri_handler_get_protocols):
3844 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
3845 URIHandlers implemented using language bindings.
3847 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3849 * gst/gstelementfactory.h:
3850 * tests/check/elements/fakesink.c:
3851 * tests/check/elements/fakesrc.c: (setup_fakesrc):
3852 * tests/check/elements/fdsrc.c: (setup_fdsrc):
3853 * tests/check/elements/filesink.c: (setup_filesink):
3854 * tests/check/elements/filesrc.c: (setup_filesrc):
3855 * tests/check/elements/identity.c: (setup_identity):
3856 * tests/check/elements/tee.c:
3857 * tests/check/generic/sinks.c:
3858 * tests/check/generic/states.c: (setup), (teardown):
3859 * tests/check/gst/gst.c:
3860 * tests/check/gst/gstabi.c:
3861 * tests/check/gst/gstbin.c:
3862 * tests/check/gst/gstbus.c: (pull_messages):
3863 * tests/check/gst/gstcaps.c:
3864 * tests/check/gst/gstelement.c:
3865 * tests/check/gst/gstevent.c:
3866 * tests/check/gst/gstghostpad.c:
3867 * tests/check/gst/gstiterator.c:
3868 * tests/check/gst/gstmessage.c:
3869 * tests/check/gst/gstminiobject.c: (my_foo_init):
3870 * tests/check/gst/gstobject.c: (thread_name_object),
3872 * tests/check/gst/gstpad.c:
3873 * tests/check/gst/gstplugin.c:
3874 * tests/check/gst/gstpoll.c:
3875 * tests/check/gst/gstquery.c:
3876 * tests/check/gst/gstsegment.c:
3877 * tests/check/gst/gststructure.c:
3878 * tests/check/gst/gstsystemclock.c:
3879 * tests/check/gst/gsttask.c:
3880 * tests/check/gst/gstutils.c:
3881 * tests/check/gst/gstvalue.c:
3882 * tests/check/gst/struct_hppa.h:
3883 * tests/check/gst/struct_i386.h:
3884 * tests/check/gst/struct_ppc32.h:
3885 * tests/check/gst/struct_ppc64.h:
3886 * tests/check/gst/struct_x86_64.h:
3887 * tests/check/libs/adapter.c: (create_and_fill_adapter):
3888 * tests/check/libs/basesrc.c:
3889 * tests/check/libs/controller.c: (GST_START_TEST):
3890 * tests/check/libs/gdp.c:
3891 * tests/check/libs/gstnetclientclock.c:
3892 * tests/check/libs/gstnettimeprovider.c:
3893 * tests/check/libs/libsabi.c:
3894 * tests/check/libs/struct_hppa.h:
3895 * tests/check/libs/struct_i386.h:
3896 * tests/check/libs/struct_ppc32.h:
3897 * tests/check/libs/struct_ppc64.h:
3898 * tests/check/libs/struct_x86_64.h:
3899 * tests/check/pipelines/cleanup.c:
3900 * tests/check/pipelines/simple-launch-lines.c:
3901 * tests/check/pipelines/stress.c:
3902 And correct even more valid sparse warnings.
3904 * win32/common/libgstreamer.def:
3905 Add gst_poll_fd_init to the list of symbols.
3907 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3909 * gst/gstconfig.h.in:
3910 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
3911 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
3912 (gst_check_log_critical_func), (gst_check_drop_buffers),
3913 (gst_check_element_push_buffer_list):
3914 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
3915 (gst_controller_get_type):
3916 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
3917 (gst_object_get_controller), (gst_object_get_control_source):
3918 * libs/gst/controller/gstinterpolationcontrolsource.c:
3919 (gst_interpolation_control_source_new):
3920 * libs/gst/controller/gstlfocontrolsource.c:
3921 (gst_lfo_control_source_new):
3922 * libs/gst/dataprotocol/dataprotocol.c:
3923 (gst_dp_event_from_packet_0_2):
3924 * plugins/elements/gstfdsrc.c:
3925 * plugins/elements/gstmultiqueue.c:
3926 * plugins/elements/gsttee.c:
3927 * plugins/elements/gsttypefindelement.c:
3928 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
3929 (gst_file_index_add_association):
3930 * plugins/indexers/gstmemindex.c:
3931 * tests/benchmarks/gstpollstress.c: (mess_some_more):
3932 * tests/check/elements/queue.c: (setup_queue):
3933 * tests/check/gst/gstpipeline.c:
3934 * tests/check/libs/collectpads.c: (setup), (teardown),
3935 (gst_collect_pads_suite):
3936 * tests/examples/adapter/adapter_test.c:
3937 * tests/examples/metadata/read-metadata.c: (make_pipeline):
3938 * tests/examples/xml/createxml.c:
3939 * tests/examples/xml/runxml.c:
3940 * tools/gst-inspect.c:
3942 Correct all relevant warnings found by the sparse semantic code
3943 analyzer. This include marking several symbols static, using
3944 NULL instead of 0 for pointers, not using variable sized arrays
3945 on the stack, moving variable declarations to the beginning of
3946 a block and using "foo (void)" instead of "foo ()" for declarations.
3948 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3950 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
3951 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3952 Don't reset GstPollFDs, this is not necessary at all.
3954 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3955 (delayed_restart), (delayed_control):
3956 Use GST_POLL_FD_INIT.
3958 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3960 * gst/gstpoll.c: (gst_poll_fd_init):
3964 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
3965 Use some more init macros.
3967 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3969 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3970 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3971 Use init macros and functions.
3973 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3975 * docs/gst/gstreamer-sections.txt:
3976 * gst/gstpoll.c: (gst_poll_fd_init):
3978 Add INIT macro and _init method for initializing the GstPollFD.
3980 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
3982 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
3983 (gst_fd_sink_update_fd):
3984 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3985 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3986 (delayed_restart), (delayed_control):
3987 Initialize some uninitialized variables as spotted by valgrind.
3989 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
3991 * tests/benchmarks/Makefile.am:
3992 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
3994 Add poll stress test.
3996 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
3998 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4000 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4001 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4002 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4003 * plugins/elements/gstfdsink.h:
4004 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4005 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4006 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4007 (gst_fd_src_uri_set_uri):
4008 * plugins/elements/gstfdsrc.h:
4009 Port to GstPoll. See #505417.
4011 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4013 * win32/common/libgstreamer.def:
4014 Add new gst_poll_ symbols to win32 defs.
4016 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4018 * docs/libs/gstreamer-libs-sections.txt:
4019 * libs/gst/net/gstnetclientclock.c:
4020 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4021 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4022 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4023 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4024 * libs/gst/net/gstnetclientclock.h:
4025 * libs/gst/net/gstnettimeprovider.c:
4026 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4027 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4028 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4029 (gst_net_time_provider_new):
4030 * libs/gst/net/gstnettimeprovider.h:
4031 Use a private stuct to not break ABI.
4033 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4035 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4037 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4038 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4039 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4040 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4041 * libs/gst/net/gstnetclientclock.h:
4042 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4043 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4044 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4045 (gst_net_time_provider_new):
4046 * libs/gst/net/gstnettimeprovider.h:
4047 Massive code removal and cleanups because of GstPoll.
4050 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4053 Add checks for poll, ppoll and pselect.
4055 * docs/gst/gstreamer-docs.sgml:
4056 * docs/gst/gstreamer-sections.txt:
4057 Add docs for GstPoll.
4061 * gst/gstpoll.c: (find_index), (selectable_fds),
4062 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4063 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4064 (gst_poll_set_mode), (gst_poll_get_mode),
4065 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4066 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4067 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4068 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4069 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4070 (gst_poll_fd_can_write), (gst_poll_wait),
4071 (gst_poll_set_controllable), (gst_poll_restart),
4072 (gst_poll_set_flushing):
4074 Add generic poll abstraction. We ideally don't want to have this in core
4075 here but in glib intead...
4076 This code will be used in various network elements and ultimately for
4077 the nanosecond precision monotonic clock (that's why it's here in core).
4078 It'll allow us to implement cancelable socket operations for windows too.
4080 * tests/check/Makefile.am:
4081 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4082 (delayed_stop), (delayed_restart), (delayed_flush),
4083 (delayed_control), (gst_poll_suite):
4084 Add GstPoll unit test.
4086 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4089 Improve documentation of gst_filter_run(). Fixes #518627.
4091 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4094 Add a few lines about the new 'check-inspected-versions' target.
4096 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4098 * tests/check/gst/gstevent.c:
4099 Add qos to the event test. Rename tcase/tsuite; is not only about
4102 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4104 * plugins/elements/gstqueue.c:
4105 Ensure that buffer metadata is writeable, before modifying. Spotted by
4108 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4110 * plugins/elements/gstqueue.c:
4111 * plugins/elements/gstqueue.h:
4112 When dropping buffers in leaky modes, mark next buffers we sent as
4115 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4117 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4118 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4120 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4122 * plugins/elements/Makefile.am:
4123 * plugins/elements/gstbufferstore.c:
4124 * plugins/elements/gstbufferstore.h:
4125 * plugins/elements/gsttypefindelement.h:
4126 Remove GstBufferStore, no idea why we were still building it.
4127 It's not used anywhere and superseded by GstAdapter.
4129 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4130 (gst_file_src_create_mmap):
4131 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4132 Printf format fixes for 64-bit integers.
4134 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4137 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4138 We're not in 0.8 times anymore.
4140 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4142 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4143 (gst_check_element_push_buffer_list):
4144 * libs/gst/check/gstcheck.h:
4145 Make the declaration in the header for
4146 gst_check_element_push_buffer_list match the implementation.
4148 Fix up spelling, grammar and wording of the documentation in a few
4149 places, and add the Since keyword to new API functions.
4150 Use g_list_delete_link instead of g_list_remove in
4151 gst_check_drop_buffers, since it's immeasurably more efficient.
4153 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4154 Use new gst_check_drop_buffers function where appropriate.
4156 * win32/common/libgstbase.def:
4157 * win32/common/libgstreamer.def:
4158 Add new symbols gst_collect_pads_take_buffer,
4159 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4162 Changelog surgery to add API keyword to new gst_check API.
4164 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4166 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4167 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4168 Update pre-generated flex files with flex 2.3.34.
4170 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4172 * gst/gstminiobject.c:
4173 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4174 friendly to subclasses and not require them to know all internals
4175 of their parent class.
4177 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4179 * docs/libs/gstreamer-libs-sections.txt:
4180 * libs/gst/base/gstcollectpads.c:
4181 * libs/gst/base/gstcollectpads.h:
4182 Add sub-buffer functions to collectpads. Fixes #516187.
4183 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4185 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4188 Copy selected buffer-flags when creating subbuffers.
4191 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4193 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4194 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4195 * gst/gstmessage.c: (gst_message_class_init),
4196 (gst_message_finalize):
4197 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4198 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4199 (gst_mmap_buffer_finalize):
4200 Properly chain up finalize functions to the parent class.
4202 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4204 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4206 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4207 (gst_index_set_resolver_full):
4209 Add new function with option to dispose of user_data in resolver.
4210 Actually call the dispose function when finalizing the object and not
4211 just when changing the resolver/filter.
4212 API: GstIndex::gst_index_set_resolver_full()
4214 * docs/gst/gstreamer-sections.txt:
4215 Add new function to docs. Fixes #515469.
4217 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4219 * gst/gstindex.c: (gst_index_finalize):
4220 Chain up finalize to the parent class. Fixes leaking the GstObject
4221 name and other things.
4223 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4226 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4227 pre-releases or releases.
4229 * docs/faq/gst-uninstalled:
4232 * docs/random/release:
4233 Change one of the steps - we only upload core & base to Gnome FTP
4235 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4237 * gst/gstconfig.h.in:
4238 Add 'id' for example.
4242 * plugins/elements/gstfdsink.c:
4243 Link to signals. Doc and comment fixes.
4245 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4247 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4248 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4249 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4250 unused and unimplemented; finally, it is plugin features, not
4251 plugins, that have ranks.
4253 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4255 * gst/gstpluginfeature.h:
4256 Clarify GstRank range docs.
4258 2008-02-05 David Schleef <ds@schleef.org>
4260 * gst/gst.c: Add a separate gst_deinitialized that prevents
4261 gst_init() from being called after gst_deinit(). Fixes #509559
4263 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4265 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4266 (gst_bin_class_init):
4267 * gst/gstelement.c: (gst_element_base_class_init),
4268 (gst_element_class_add_pad_template):
4269 * gst/gstpadtemplate.c: (gst_pad_template_init):
4270 * gst/gstpipeline.c: (gst_pipeline_get_type),
4271 (gst_pipeline_base_init), (gst_pipeline_class_init):
4272 * libs/gst/base/gstbasesink.c:
4273 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4274 (gst_base_src_base_init), (gst_base_src_class_init):
4275 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4276 (gst_capsfilter_class_init):
4277 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4278 (gst_fake_sink_class_init):
4279 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4280 (gst_fake_src_class_init):
4281 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4282 (gst_fd_sink_class_init):
4283 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4284 (gst_fd_src_class_init):
4285 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4286 (gst_file_sink_class_init):
4287 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4288 (gst_file_src_class_init):
4289 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4290 (gst_identity_class_init):
4291 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4292 (gst_multi_queue_class_init):
4293 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4294 (gst_queue_class_init):
4295 * plugins/elements/gsttee.c: (gst_tee_base_init),
4296 (gst_tee_class_init):
4297 * plugins/elements/gsttypefindelement.c:
4298 (gst_type_find_element_base_init),
4299 (gst_type_find_element_class_init):
4300 * tests/check/gst/gstelement.c: (gst_element_suite):
4301 Revert previous changes to the behaviour of GstPadTemplates, etc
4302 and the possiblity to call them in class_init as it breaks too
4303 many elements. Reopens bug #491501.
4305 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4308 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4310 * tools/gst-launch.c:
4311 Dump one graph per pipeline state-change and state change name
4312 (if GST_DEBUG_DUMP_DOT_DIR is set).
4314 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4317 * tests/check/gst/gstpad.c:
4318 Be sure that we have a new copy of the caps and not
4319 reffed caps from a template
4321 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4323 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4324 * gst/gstpipeline.c: (gst_pipeline_get_type),
4325 (gst_pipeline_class_init):
4326 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4327 (gst_base_sink_class_init):
4328 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4329 (gst_base_src_class_init):
4330 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4331 (gst_base_transform_class_init):
4332 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4333 (gst_collect_pads_class_init):
4334 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4335 * libs/gst/net/gstnettimeprovider.c:
4336 (gst_net_time_provider_base_init),
4337 (gst_net_time_provider_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 Don't use base_init where not absolutely necessary. For example it's
4364 not necessary anymore for adding pad templates or setting element
4367 Leave empty base_init functions in several places as GST_BOILERPLATE
4368 still defines and uses them.
4370 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4372 * gst/gstelement.c: (gst_element_base_class_init),
4373 (gst_element_class_add_pad_template):
4374 * gst/gstpadtemplate.c:
4375 Make it possible (and recommended) to set element details and add
4376 pad templates in the class_init functions by copying the details/pad
4377 templates in GstElement's base_init.
4379 Also make it possible to replace existing pad templates by adding
4380 a new one with the same name. This was done in a hackish fashion
4381 in same elements before already.
4383 Don't reference pad templates that are added a second time. A
4384 new pad template has a refcount of one and is not floating anymore
4385 and to be owned by the element's class. Make this more explicit by
4386 mentioning it in the docs of gst_element_class_add_pad_template().
4388 These changes are backwards compatible. Fixes bug #491501.
4390 * tests/check/gst/gstelement.c:
4391 Add unit test for setting element details, adding pad templates and
4392 replacing them in a subclass.
4394 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4396 * tools/gst-inspect.c: (print_interfaces),
4397 (print_element_properties_info), (print_pad_info),
4398 (print_signal_info), (print_element_info):
4399 Fix a few memory leaks.
4401 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4403 * docs/libs/gstreamer-libs-sections.txt:
4404 * libs/gst/check/gstcheck.c:
4405 * libs/gst/check/gstcheck.h:
4406 Add more functions for unit testing: gst_check_drop_buffers,
4407 gst_check_caps_equal, gst_check_element_push_buffer_list,
4408 gst_check_element_push_buffer
4409 API: gst_check_drop_buffers
4410 API: gst_check_caps_equal
4411 API: gst_check_element_push_buffer_list
4412 API: gst_check_element_push_buffer
4414 2008-02-01 Julien Moutte <julien@fluendo.com>
4416 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4417 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4418 (gst_index_finalize), (gst_index_entry_free),
4419 (gst_index_add_association): Fix memory leaks.
4420 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4421 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4422 (gst_mem_index_free_format), (gst_mem_index_free_id),
4423 (gst_mem_index_finalize): Fix memory leaks.
4424 * win32/common/config.h: Updated to CVS HEAD.
4426 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4429 Some more details about how the plugin docs works.
4431 * docs/plugins/gstreamer-plugins-sections.txt:
4434 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4436 * gst/parse/grammar.tab.pre.c:
4437 * gst/parse/grammar.tab.pre.h:
4438 * gst/parse/grammar.y:
4439 * gst/parse/lex._gst_parse_yy.pre.c:
4440 Add delayed set-property. This allows to set properties on dynamicaly
4441 created objects (pads in videomxer). Fixes #509391.
4443 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4446 Check if caps are not NULL (fix bug #510194)
4448 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4450 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4451 (gst_base_sink_get_position_paused):
4452 Add fixme regarding EOS in pull mode.
4453 Fix position reporting in PAUSED for negative rates.
4455 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4457 * gst/gstminiobject.c: (gst_mini_object_replace):
4458 When replacing a miniobject, do a quick equality check first so that we
4459 can avoid a ref/unref pair.
4461 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4463 * docs/design/part-synchronisation.txt:
4466 * docs/plugins/Makefile.am:
4467 * docs/plugins/gstreamer-plugins-docs.sgml:
4468 * docs/plugins/gstreamer-plugins-sections.txt:
4469 * plugins/elements/gstmultiqueue.c:
4470 Add multiqueue to the docs.
4472 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4477 === release 0.10.17 ===
4479 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4482 releasing 0.10.17, "Due Negligence"
4484 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4487 Revert caps != NULL check temporarily for 0.10.17 release.
4489 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4492 Check if caps are not NULL (fix bug #510194)
4494 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4497 Fix compilation on systems that have posix timers but no
4500 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4503 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4505 * tools/gst-inspect.c:
4506 Revert previous commit in preparation for an impromptu 0.10.17 release
4508 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4510 * tools/gst-inspect.c: (print_interfaces),
4511 (print_element_properties_info), (print_pad_info),
4512 (print_signal_info), (print_element_info):
4513 Fix a few memory leaks.
4515 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4520 === release 0.10.16 ===
4522 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4525 releasing 0.10.16, "Special Dispensation"
4527 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4530 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4531 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4532 not fail when trying to crosscompile on OpenEmbedded (#511750).
4534 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4537 Use $(MAKE) instead of make to fix the build if GNU make is
4538 called different. Fixes bug #510747.
4540 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4542 * gst/gstplugin.c: (_gst_plugin_initialize):
4543 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4544 again, which I broke two commits ago when changing the API
4545 of gst_plugin_register_static(): the g_list_foreach() in
4546 _gst_plugin_register_static still assumed the old function
4547 signature and would therefore fail (re-fixes #510187).
4549 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4550 (_gst_plugin_register_static), (gst_plugin_register_static):
4551 Revert the (technically correct) change to call g_thread_init() from
4552 the pre-main() constructor. This will break programs which call
4553 g_thread_init() without an if (!g_thread_supported()) guard in their
4554 main function. We could just blame it on GLib or the application, but
4555 it's probably best to just avoid this altogether and simply not use
4556 any GLib functions here and use plain old malloc() with a simple
4557 array to store the plugins to register later when gst_init() is
4558 finally called (re-fixes #510187).
4560 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4561 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4562 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4563 (GST_START_TEST), (gst_plugin_suite):
4564 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4567 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4569 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4570 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4571 This makes gtk-doc complain, but results in slightly better
4572 compiler errors. The old _gst_plugin_register_static() is
4573 still guarded, so there'll be a compiler warning about that
4574 instead. Fixes #510187 too.
4576 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4578 * gst/gst.c: (init_post):
4579 * gst/gstplugin.c: (_gst_plugin_register_static),
4580 (gst_plugin_register_static), (_gst_plugin_initialize):
4581 * gst/gstplugin.h: (GstPluginFilter):
4582 Change API of gst_plugin_register_static() to not take
4583 a GstPluginDesc, but rather just take all the arguments
4584 in a GstPluginDesc directly. This is more intuitive and
4585 avoids certain mistakes when porting code from
4586 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4589 * tests/check/gst/gstplugin.c:
4590 Fix up for changed API.
4592 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4594 * docs/faq/legal.xml:
4595 Update FAQ, Totem actually has an exception these days.
4597 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4599 * win32/common/libgstreamer.def:
4600 Add new API declarations
4602 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4604 * gst/gstminiobject.c:
4605 Spelling fixes for the API docs.
4607 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4609 * libs/gst/base/gstbasetransform.c:
4610 Fix long property description for QoS.
4612 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4615 _gst_trace_on is already provided by gsttrace.h, no need to declare
4618 * docs/libs/gstreamer-libs-sections.txt:
4619 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4620 and remove strange tcase_add_test which is outputting a warning.
4622 * libs/gst/check/gstcheck.c:
4623 * libs/gst/check/gstcheck.h:
4624 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4625 and define them in gstcheck.c instead of having every .c file whcih
4626 includes gstcheck.h be defining its own copy and relying on symbol
4627 interposing to marry them all, which doesn't work on Solaris.
4629 * tests/check/elements/identity.c: (GST_START_TEST):
4630 Don't define 'buffers' locally, it comes from libgstcheck.
4632 * tests/check/generic/sinks.c: (send_buffer):
4633 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4635 * tests/check/gst/gststructure.c: (GST_START_TEST):
4636 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4637 * tests/check/gst/gstutils.c: (GST_START_TEST):
4638 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4639 Add a bunch of casts to make various constants fit the types
4640 they're being assigned to.
4642 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4644 * gst/gstchildproxy.c:
4645 Improve docs and add some ideas for making this more general-purpose.
4647 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4649 * gst/gst_private.h: (GST_CAT_TYPES):
4650 Add GST_CAT_TYPES, for consistency, and so that the other
4651 debug categories don't make fun of it. Spotted by Saur on IRC.
4653 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4655 * gst/parse/Makefile.am:
4656 Move types.h from EXTRA_DIST to noinst_HEADERS.
4658 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4661 Add -Wno-portability to the automake parameters to stop warnings
4662 about GNU make extensions being used. We require GNU make in almost
4663 every Makefile anyway.
4666 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4667 at the same time is required for per target flags.
4669 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4672 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4673 __GNUC__ is defined before using it.
4675 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4677 * docs/gst/gstreamer-sections.txt:
4678 * gst/gst.c: (init_post):
4679 * gst/gstplugin.c: (_gst_plugin_register_static),
4680 (gst_plugin_register_static), (_gst_plugin_initialize),
4681 (gst_plugin_register_func):
4682 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4683 API: add gst_plugin_register_static() and deprecate
4684 GST_PLUGIN_DEFINE_STATIC, since it's not portable
4686 Also, in _gst_plugin_register_static(), make sure to call
4687 g_thread_init() before calling GLib functions such as
4688 g_list_append() if we're not initialised yet, since that
4689 may lead to random crashes with older GSlice/GLib versions.
4691 * tests/check/gst/gstplugin.c:
4692 Adapt unit test to above changes.
4694 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4696 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4697 * gst/gstcaps.c: (gst_caps_to_string):
4698 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4699 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4700 Yet another gratuitous GString micro-optimisation: add a (private)
4701 function that serialises a structure appending to an existing
4702 GString, so that when we serialise caps we don't need to alloc+free
4703 a throwaway GString for each structure (each of which also entailing
4704 multiple reallocs on the way); also use g_string_sized_new() in
4705 various places with an approximate string length to avoid reallocs
4706 within GString. See #500143.
4708 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4710 * gst/gststructure.c: (gst_structure_id_set_value):
4711 Always check UTF-8 conformance of structure strings and not only
4712 if the debugging system is enabled; reasoning: the behaviour of
4713 the actual code shouldn't really change depending on whether the
4714 debugging system is enabled or not (#508291).
4716 2008-01-09 Stefan Kost <ensonic@users.sf.net>
4719 Remove old coverage target in favour of "make lcov".
4721 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4723 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4724 (gst_base_src_loop):
4725 The start segment for reverse playback goes from start to last_stop.
4727 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4729 Patch by: Peter Kjellerstedt <pkj axis com>
4732 Cast the results from the timeval/spec_to_time macros to what the
4733 docs say it casts to, a GstClockTime. fixes #508175.
4735 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4738 Update some comments.
4740 * tools/gst-inspect.c: (print_element_properties_info):
4741 Improve printing of flags.
4743 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
4745 * libs/gst/base/gstbasetransform.c:
4746 (gst_base_transform_transform_size):
4747 Print element name with g_warning() if there's a problem
4750 2008-01-07 David Schleef <ds@schleef.org>
4752 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4754 * libs/gst/controller/gstcontroller.h:
4755 * libs/gst/controller/gstcontrolsource.h:
4756 * libs/gst/controller/gstinterpolationcontrolsource.h:
4757 * libs/gst/controller/gstlfocontrolsource.h:
4758 * libs/gst/dataprotocol/dataprotocol.h:
4759 Fix empty prototypes. Fixes bug #507957.
4761 2008-01-07 David Schleef <ds@schleef.org>
4763 * docs/faq/dependencies.xml: Fix typo.
4765 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
4767 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4768 (gst_base_src_loop):
4769 Don't update the last_stop position in do_seek, that's the position we
4771 Read backwards when we have a negative rate.
4773 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4774 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4776 Add check for reverse reading.
4778 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
4780 Patch by: Alexis Ballier <aballier at gentoo org>
4782 * tests/check/gst/gstabi.c:
4783 * tests/check/gst/struct_ppc64.h:
4784 * tests/check/libs/libsabi.c:
4785 * tests/check/libs/struct_ppc64.h:
4786 Decide which header to include based on the userland ABI target
4787 and not the kernel/cpu. Fix up structure sizes of ppc64 header
4788 for 64-bit userland (#503590). Might need something similar for
4791 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
4793 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4794 Log the reason why fopen fails in addition to the fact that it failed.
4796 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
4798 * gst/parse/parse.l:
4799 Use "%option never-interactive" to prevent useless calls to isatty()
4800 on every input when parsing. Also use "%option noinput" to not define
4801 the static input/yyinput functions which we don't use anyway. This
4802 removes a compiler warning with gcc 4.3 and saves some bytes in the
4805 * gst/parse/lex._gst_parse_yy.pre.c:
4806 Regenerated for the above change.
4808 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
4810 * gst/gstpad.c: (fixate_value):
4811 Don't crash when trying to fixate and empty list.
4814 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
4816 * docs/faq/gst-uninstalled:
4817 Clarify the comments to make the usage of this script and what it
4818 does easier to understand.
4820 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
4822 * tools/gst-plot-timeline.py:
4823 Add more options to gst-plot-timeline
4825 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
4827 * docs/design/part-synchronisation.txt:
4828 Some more info on how the stream_time in GstBaseSink is done.
4830 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
4832 * tests/check/generic/sinks.c: (gst_sinks_suite):
4833 Put back the tcase_set_timeout(), apparently it's needed after
4834 all; fix it up in a way that makes things work with valgrind too.
4836 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
4838 * gst/gstdebugutils.c:
4839 Add warning when failed to open file for writing.
4841 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4843 Based on patch by: Laurent Glayal <spglegle yahoo fr>
4845 * gst/gstvalue.c: (gst_value_is_fixed):
4846 Optimisation: bail out of the loop as early as possible (#500143).
4848 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4850 * gst/gstcaps.c: (gst_caps_to_string):
4851 * gst/gstinfo.c: (gst_debug_construct_term_color):
4852 * gst/gstparse.c: (gst_parse_launchv):
4853 * gst/gstutils.c: (gst_util_dump_mem):
4854 * gst/gstvalue.c: (gst_value_serialize_any_list),
4855 (gst_value_transform_any_list_string):
4856 Bunch of gratuitous nano-optimisations.
4858 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4860 * tests/check/generic/sinks.c: (async_done_func),
4861 (async_done_eos_func):
4862 Fix leak in unit test (bus sync handler must unref the message
4863 if it returns GST_BUS_DROP). Don't fiddle with the default test
4864 timeout, this is smaller than the current preconfigured value
4865 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
4866 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
4868 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4870 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4873 Check for stdio_ext.h for the filesink changes.
4875 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
4876 (gst_file_sink_class_init), (gst_file_sink_init),
4877 (gst_file_sink_dispose), (gst_file_sink_set_property),
4878 (gst_file_sink_get_property), (gst_file_sink_open_file),
4879 (gst_file_sink_close_file):
4880 * plugins/elements/gstfilesink.h:
4881 Add two properties to control the buffering mode and size.
4882 API: GstFileSink::buffer-mode
4883 API: GstFileSink::buffer-size
4886 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4888 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
4889 Add some more docs to explain why a FIXME was wrongly added.
4891 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
4894 Fix typo in the gst_object_{ref,unref} documentation.
4896 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
4898 * tests/check/libs/controller.c:
4899 * tests/check/libs/typefindhelper.c:
4900 * tests/check/pipelines/parse-launch.c:
4901 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
4902 going to be deprecated (see #498924).
4904 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
4906 * gst/gsttypefind.c: (gst_type_find_register):
4907 Make gst_type_find_register work for static typefind functions,
4908 ie. allow passing plugin == NULL (prerequisite for #498924).
4910 * gst/gstelementfactory.c: (gst_element_register):
4911 Small docs addition.
4913 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
4915 * gst/gstpad.c: (gst_pad_dispose):
4916 Really unlink the peer pad instead of setting the peer pointer to NULL
4917 when we dispose the pad.
4918 This correctly calls the unlink functions and makes sure that the peer
4919 does not have a handle to invalid memory. See #504671.
4921 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4922 Add testsuite for above case.
4924 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
4926 Patch by: Peter Kjellerstedt <pkj axis com>
4928 * libs/gst/check/gstcheck.h:
4929 Fix detection of the check version we're compiling against (would
4930 otherwise break if check goes v0.10.0); correctly report the
4931 name of the failed test again in case of failure, instead of
4932 just 'tf' (fixes #504499).
4934 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
4936 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
4937 (gst_base_src_get_range), (gst_base_src_pad_get_range),
4938 (gst_base_src_loop), (gst_base_src_set_flushing),
4939 (gst_base_src_change_state):
4940 Allow sending EOS to the source to make it send out an EOS event from
4941 the streaming thread.
4942 Update docs and deprecate the old NULL/READY shutdown method.
4944 * tests/check/libs/basesrc.c: (GST_START_TEST),
4945 (gst_basesrc_suite):
4946 Add unit test for controlled shutdown.
4948 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
4950 * docs/design/part-synchronisation.txt:
4953 * gst/gstsegment.c: (gst_segment_set_seek),
4954 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4955 (gst_segment_to_running_time):
4956 The seek format can be different from the segment format when the start
4957 and stop values are not to be updated, when we only do a rate change for
4960 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4961 (gst_segment_suite):
4962 Add a testcase for the rate-only seeks, checking that the format is
4963 correctly ignored when start and stop are not updated.
4965 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
4967 Patch by: Matthias Bolte <photon at mail dot upb dot de>
4969 * win32/vs8/grammar.vcproj:
4970 * win32/vs8/libgstcontroller.vcproj:
4971 * win32/vs8/libgstreamer.vcproj:
4972 Fix compilation with VS8 and include some missing files.
4974 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
4977 Small docs addition: mention that the strings returned by
4978 gst_tag_list_get_string*() are in UTF-8 encoding.
4980 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
4983 The check-exports stuff moved to common/win32.mak, so include that.
4985 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
4987 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4988 (gst_base_src_perform_seek), (gst_base_src_get_range),
4989 (gst_base_src_set_playing), (gst_base_src_change_state):
4990 Make _wait_playing() not check any variables so that we can call this
4991 function from subclasses. Move the checks elsewhere similar to
4992 _wait_preroll() in basesink.
4994 Only signal the LIVE cond when we are going back to PLAYING.
4996 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
4998 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
4999 Use g_remove() and g_rename(). Check result of g_rename(), and
5000 don't leak the open file descriptor if we error out when writing.
5002 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5003 Must check the return value of close() after writing out the new
5004 registry file. Sometimes write problems such as out-of-diskspace
5005 are only reported when the file is closed and not already during
5006 the write. This may have caused partial/broken registry files in
5007 some rare circumstances. Should fix #503675.
5009 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5011 * docs/gst/.cvsignore:
5012 * docs/libs/.cvsignore:
5013 * docs/plugins/.cvsignore:
5014 Ignore files generated by new common/* modifications
5016 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5018 * win32/common/libgstbase.def:
5019 Yes, you can also have a <TAB> if you want.
5021 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5023 * win32/common/libgstbase.def:
5024 Add new basetransform API to win export file.
5026 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5028 * tests/check/gst/gstbin.c:
5029 Adjust the test to the refcount change two days ago.
5031 2007-12-14 David Schleef <ds@schleef.org>
5033 * docs/faq/getting.xml: Fix typo.
5035 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5037 * docs/libs/gstreamer-libs-sections.txt:
5038 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5039 (gst_base_transform_prepare_output_buffer),
5040 (gst_base_transform_set_gap_aware):
5041 * libs/gst/base/gstbasetransform.h:
5042 API: Add gst_base_transform_set_gap_aware() to control whether
5043 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5044 get buffers with this flag at all. Fixes #503231.
5046 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5048 * libs/gst/base/gstbasesink.c:
5049 * libs/gst/base/gstbasesrc.c:
5050 * libs/gst/base/gstbasetransform.c:
5051 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5052 thread. Correct log message in gstbasesrc.c.
5054 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5056 * gst/gstutils.c: (element_find_unconnected_pad):
5057 Fix possible compiler warning (#503417).
5059 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5061 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5062 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5064 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5066 * tools/gst-inspect.c: (print_element_properties_info):
5067 Add support for GstFraction properties.
5069 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5072 Add check-exports target and run it as part of 'make check'
5073 (see #499140 and #493983).
5075 * gst/gst_private.h:
5076 * gst/gstelementfactory.h:
5077 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5078 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5079 (_priv_gst_in_valgrind):
5080 * gst/gstinfo.h: (GstLogFunction):
5081 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5082 (gst_type_find_register):
5083 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5084 (gst_type_find_factory_get_type):
5085 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5086 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5087 (gst_controller_new_valist), (gst_controller_new_list),
5088 (_gst_controller_dispose), (_gst_controller_class_init):
5089 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5090 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5091 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5092 (gst_object_get_controller), (gst_object_set_controller),
5093 (gst_object_suggest_next_sync), (gst_object_sync_values),
5094 (gst_object_set_control_source), (gst_object_get_control_source),
5095 (gst_object_get_value_arrays), (gst_object_get_value_array),
5096 (gst_object_get_control_rate), (gst_object_set_control_rate):
5097 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5098 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5099 Make some functions that should be static static; rename some
5100 private symbols so that they don't get exported; add some FIXME
5101 comments so we can move accidentally exported functions into
5102 our private section in 0.11.
5104 * win32/common/libgstreamer.def:
5105 Add gst_utils_get_timestamp().
5107 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5111 Add more missing "Since:" tags to docs.
5113 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5116 Add mising "Since:" to docs.
5118 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5121 Include "glib-compat-private.h" to fix the build on system with
5122 glib < 2.10. Fixes #503131.
5124 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5128 Actually its not PURE as it gets the time from elsewhere.
5130 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5132 * docs/gst/gstreamer-sections.txt:
5134 * gst/gstdebugutils.c:
5138 * libs/gst/base/gstbasesink.c:
5139 * tools/gst-launch.c:
5140 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5141 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5142 Thanks Tim for spotting.
5143 API: gst_util_get_timestamp
5145 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5148 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5150 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5152 * gst/gststructure.c: (gst_structure_validate_name),
5153 (gst_structure_new_valist), (gst_structure_parse_value),
5154 (gst_structure_from_string):
5155 Don't crash in _from_string() if the structure name is not valid
5156 (fixes #501560). Allow structure names to start with a number
5157 again (this apparently broke the ubuntu codec installer).
5159 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5161 Add unit test for the crash; update unit tests for new behaviour.
5163 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5166 Clarify gst_element_get_compatible_pad() documentation.
5169 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5171 * tests/check/Makefile.am:
5172 Don't forget to dist {gst,libs}/struct_hppa.h.
5174 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5176 * libs/gst/base/gstbasesink.c:
5177 Use new API to get elapsed time.
5179 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5181 * gst/gstdebugutils.c:
5183 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5185 * tools/gst-launch.c:
5186 Use new API to get elapsed time.
5188 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5190 * docs/gst/gstreamer-sections.txt:
5192 * gst/gstdebugutils.c:
5194 Rename new API + ChangeLog surgery to remove old name from last entry..
5196 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5198 * docs/gst/gstreamer-sections.txt:
5200 * gst/gstdebugutils.c:
5202 Now hide the different clock stuff behind a macro.
5204 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5207 * gst/gstdebugutils.c:
5209 Apply the posix-timer check from #361155. Conditionally use the posix
5210 timer for logging. This gives better timestamp precission, less
5211 overhead and no ntp jitter.
5213 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5215 * gst/gstminiobject.c: (gst_mini_object_get_type),
5216 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5217 (gst_mini_object_finalize), (gst_mini_object_copy),
5218 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5219 (gst_mini_object_replace), (param_mini_object_validate),
5220 (gst_param_spec_mini_object_get_type):
5221 Some cleanup and checking against invalid function parameters.
5223 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5225 * docs/gst/gstreamer-sections.txt:
5227 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5228 (gst_systemclock_suite):
5229 Start merging in the easy bits of #361155, the monotonic clock patch.
5230 This one adds a few handy macros with docs and a testsuite.
5232 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5234 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5235 Be a bit smarter when seeking, like, don't try to do a seek when it's
5236 not needed. This avoids errors when the file is not seekable.
5239 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5241 * docs/gst/gstreamer-docs.sgml:
5242 * docs/gst/gstreamer-sections.txt:
5243 * docs/gst/gstreamer.types.in:
5248 * plugins/elements/gstqueue.c:
5249 Due to popular request remove preset interface again. :-(.
5251 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5253 * tools/gst-inspect.c:
5254 Print 'default value' for enums and flags too.
5256 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5258 * docs/random/ensonic/profiling.txt:
5262 Fix typo and give better log output.
5264 * gst/gstdebugutils.c:
5265 * gst/gstdebugutils.h:
5266 More ideas, make graphs a bit smaller and fix param name in macro.
5268 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5271 Try harder to use the return value from fgets().
5273 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5276 For theses two fgets we handle the error below.
5278 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5280 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5281 Only send upstream events upstream. Fixes #498746.
5283 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5285 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5287 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5288 (gst_identity_init), (gst_identity_transform_ip),
5289 (gst_identity_set_property), (gst_identity_get_property):
5290 * plugins/elements/gstidentity.h:
5291 Add property to disable handoff signal emission. Fixes #498694.
5292 API: GstIdentity::signal-handoffs
5294 2007-11-21 Julien Moutte <julien@fluendo.com>
5296 * docs/faq/gst-uninstalled: Yet another missing library for the
5297 uninstalled script (fft)
5299 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5301 * docs/faq/developing.xml:
5302 Add a question about how to submit new translations.
5304 * docs/random/release:
5305 Update the contact email address for the Translation Project
5307 * plugins/elements/gstfdsrc.c:
5308 The parent_class for fdsrc is pushsrc, not GstElement.
5310 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5313 Plug a leak and fix saving.
5315 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5317 * docs/gst/gstreamer-sections.txt:
5318 Add new gst_preset__get_property_names() function to the docs
5321 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5325 Change _get_preset_names API to return a strv with copies. Add
5326 _get_property_names to allow implementations to filter and provide
5327 good default implementation.
5329 2007-11-20 Julien MOUTTE <julien@moutte.net>
5331 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5334 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5337 More cleanups, docs, and TODOs from comments that now slowly come in.
5339 2007-11-19 Julien MOUTTE <julien@moutte.net>
5341 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5344 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5347 Fix bogus warning and make the property type specific code more
5350 2007-11-19 Julien MOUTTE <julien@moutte.net>
5352 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5355 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5357 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5358 (gst_bin_add_func), (gst_bin_remove_func),
5359 (gst_bin_change_state_func), (gst_bin_continue_func):
5360 Change email, cleanups add some more debug and comments.
5361 Also set bus and clock on new elements when the pipeline was in error.
5363 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5366 * gst/gstdebugutils.c:
5367 Fix build with --disable-gst-debug. Fixes #497859.
5368 Spotted by Sameer Naik.
5370 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5373 Little documentation improvment.
5376 More TODO cleanups. Remove c++ comments.
5378 * libs/gst/controller/gstcontroller.c:
5379 Add TODO and use quark from static string.
5381 * tests/check/gst/gstmessage.c:
5382 * tests/check/gst/gststructure.c:
5383 Use quark from static string.
5385 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5388 Add some comments and TODOs.
5391 Add padding for future changes.
5393 * plugins/elements/gstqueue.c:
5394 Implement the iface.
5396 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5398 * docs/gst/gstreamer-docs.sgml:
5399 * docs/gst/gstreamer-sections.txt:
5400 * docs/gst/gstreamer.types.in:
5405 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5407 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5413 === release 0.10.15 ===
5415 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5418 releasing 0.10.15, "October"
5420 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5422 * win32/vs6/libgstreamer.dsp:
5423 Convert line endings back to DOS.
5425 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5427 * docs/design/draft-tagreading.txt:
5428 * docs/random/ensonic/profiling.txt:
5429 Update fast tagreading draft and performance profiling ideas.
5431 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5433 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5434 Don't hold the object lock when unreffing a buffer because it could
5435 cause a deadlock when the finalize function wants to grab the object
5436 lock too. Fixes #495133.
5438 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5440 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5441 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5442 Also accumulate time correctly when doing reverse playback. Fixes
5444 When converting to running and stream time, use default values for
5445 start/stop/time/accum when comparing different formats. Fixes #494245.
5447 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5448 Do running/stream time in TIME format.
5450 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5451 (gst_segment_suite):
5452 2 new unit tests for segment accumulation.
5454 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5456 * gst/gst.c: (init_pre):
5457 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5458 (_gst_debug_bin_to_dot_file):
5459 Move getenv() back into gst_init, so everyone can live happily
5460 ever after. Make sure the symbol isn't exported though.
5462 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5464 Patch by: Sebastien Moutte <sebastien moutte net>
5466 * win32/common/gstenumtypes.c:
5467 * win32/common/gstenumtypes.h:
5470 * win32/vs6/libgstreamer.dsp:
5471 Update vs6 project files (#494343).
5473 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5475 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5476 (gst_base_src_perform_seek), (gst_base_src_default_event),
5477 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5478 (gst_base_src_activate_pull):
5479 Unify flushing code, remove some old unlock code that is no longer used.
5480 Take the streaming lock when seeking to avoid races. Fixes #492729.
5481 Added some more comments.
5483 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5485 * gst/gst.c: (_gst_disable_segtrap):
5486 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5487 we can use gst_segtrap_is_enabled() there now that we have that API.
5488 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5489 to do the getenv here (and export the variable).
5491 * gst/gstdebugutils.c: (debug_dump_element),
5492 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5493 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5495 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5496 (gst_debug_log_default):
5497 Rename _gst_info_start_time to priv_gst_info_start_time so it
5498 doesn't get exported (was never in any header).
5500 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5501 (gst_plugin_loading_mutex):
5502 Make static mutex gst_plugin_loading_mutex really static (was never
5503 in any header), and use gst_segtrap_is_enabled() instead of
5504 _gst_disable_segtrap.
5506 * gst/gsttrace.c: (_gst_trace_default):
5507 Make local _gst_trace_default static (was never in any header).
5509 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5511 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5513 * win32/common/libgstbase.def:
5514 * win32/common/libgstcontroller.def:
5515 * win32/common/libgstdataprotocol.def:
5516 * win32/common/libgstnet.def:
5517 * win32/common/libgstreamer.def:
5518 Add more missing symbols, remove some duplicates, and sort
5519 as the 'sort' command sorts it (partially fixes #493983).
5521 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5523 * gst/gstelement.c: (gst_element_set_state_func):
5524 Only change the state cookie if a different state was set on the
5525 element. See #492729.
5527 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5530 Remove unused and uninitialised type variables that were still
5531 exported for some reason (they were never in any header files
5534 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5536 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5537 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5538 (gst_base_sink_event), (gst_base_sink_get_position_last),
5539 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5540 (gst_base_sink_change_state):
5541 Don't try to report a 0 position when we don't know, return -1 and FALSE
5542 instead. This mostly happens when we are prerolling.
5543 Make sure we can report the right position before we post the ASYNC_DONE
5544 message so that a message handler can query position without races.
5546 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5547 (async_done_handoff), (async_done_func), (send_buffer),
5548 (async_done_eos_func), (gst_sinks_suite):
5549 Add two tests for the above.
5551 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5554 Update with new email address.
5556 * docs/design/part-TODO.txt:
5557 Add some more info about future pad-block and negotiation changes.
5559 * docs/design/part-buffering.txt:
5560 Add some ideas about buffering reporting.
5562 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5564 * tests/check/gst/gstobject.c:
5565 Disable silly racy test that always fails on this combination of CPU
5568 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5570 Patch by: Murray Cumming <murrayc@murrayc.com>
5573 Corrected the registration of the parent-set and parent-unset
5574 signals: The parameter is a GstObject, not a GObject (#493134).
5576 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5578 * gst/gst_private.h:
5587 Move declaration of private _gst_foo_initialize() functions into
5588 our private header file where they should have been all along.
5590 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5592 * docs/plugins/gstreamer-plugins-sections.txt:
5593 * gst/gstdebugutils.h:
5595 * plugins/elements/gstqueue.c:
5596 gtk-doc fixes; trailing-comma-in-enum fix.
5598 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5600 * gst/gst.c: (gst_deinit):
5601 Clean up on deinit (not the external ones though, doesn't seem to be
5602 needed for some reason).
5604 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5606 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5607 Remove __declspec(dllimport) for MSVC that was copied over into core
5608 from a plugin, obviously without ever having been tested (note the
5609 single underscore in _declspec in the initial commit), and that doesn't
5610 really make sense. See #492077.
5612 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5614 * gst/gst.c: (init_post):
5615 * gst/gstevent.c: (_gst_event_initialize):
5616 * gst/gstquery.c: (_gst_query_initialize):
5617 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5618 g_type_class_ref() other types as well, see #349410 and #64764.
5620 * gst/gstbuffer.c: (_gst_buffer_initialize):
5621 * gst/gstmessage.c: (_gst_message_initialize):
5622 Simplify existing g_type_class_ref().
5624 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5626 * gst/gstformat.c: (_gst_format_initialize):
5627 g_type_class_ref() our GstFormat type to make sure we avoid the
5628 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5629 bug #64764. Should fix intermittent tee unit test failures (#474823).
5631 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5633 * tests/check/elements/tee.c: (test_num_buffers):
5634 Simplify, simplify, simplify - or not. Rewrite unit test
5635 not to use gst_parse_launch(); allow N sub-streams. Increasing
5636 the number of sub-streams seems to reproduce #474823 more easily.
5638 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5640 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5643 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5644 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5645 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5646 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5647 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5648 so use _pipe() directly (#492077).
5650 * win32/common/dirent.c: (_treaddir):
5651 Add a couple of casts to make it build without warnings with MSVC.
5653 * win32/common/libgstreamer.def:
5654 Add some more symbols that need to be exported.
5656 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5658 * tests/examples/metadata/read-metadata.c: (message_loop):
5659 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5660 arriving in a second or third tag message are added to
5661 the tag list as well.
5663 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5665 * libs/gst/base/gstbasesrc.c:
5666 Its "Since:" and not "@Since:". And remove an superflous cast.
5668 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5670 * docs/libs/gstreamer-libs-sections.txt:
5671 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5672 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5673 (gst_base_sink_get_property), (gst_base_sink_render_object),
5674 (gst_base_sink_preroll_object),
5675 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5676 (gst_base_sink_change_state):
5677 * libs/gst/base/gstbasesink.h:
5678 Add a new last-buffer property that contains the last buffer used in
5679 basesink for preroll or rendering. useful for making snapshots.
5680 API: gst_base_sink_get_last_buffer()
5681 API: GstBaseSink::last-buffer
5683 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5685 * docs/gst/running.xml:
5687 * gst/gstdebugutils.c:
5688 * gst/gstdebugutils.h:
5689 * tools/gst-launch.c:
5690 Improve bin graph dumping, by using the envvar to specify a path.
5691 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5693 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
5695 * plugins/elements/gsttypefindelement.c:
5696 (gst_type_find_element_handle_event),
5697 (gst_type_find_element_activate):
5698 Post special error message if we can't determine the type of a stream
5701 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5703 * docs/gst/running.xml:
5704 * gst/gstdebugutils.c:
5705 Document new env-var. Add one log-line after dumpng a graph.
5707 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
5710 Ugly hack to put the (recently removed and non-portable, apparently)
5711 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5712 GNU ld, because without that 'make check' fails miserably on my debian
5713 stable box. Someone with more knowledge of linker intricacies and
5714 portability issues than me fix this properly please.
5716 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
5718 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5719 Reset last seen position after flushing so that we don't report the old
5722 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5724 * gst/gstelementfactory.c: (gst_element_register):
5726 Patch from Alessandro Decina adding get_type_full and
5727 get_protocols_full private vfuncs to the URIHandler interface
5728 to allow bindings to support creating URI handlers.
5729 Partially fixes: #339279
5730 API: GstURIHandlerInterface::get_type_full
5731 API: GstURIHandlerInterface::get_protocols_full
5733 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5735 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5736 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5737 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5738 Make it so that pads are considered linked until a buffer is pushed
5739 and discovered otherwise. This avoids problems with decodebin2 hanging
5740 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5743 Make sure we lock the multiqueue when updating the max-size properties.
5745 Fix a crash on Solaris in a debug statement in get_request_pad that
5746 passes a NULL string to GST_DEBUG.
5748 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5749 (run_output_order_test):
5750 Fix the test to allow the first buffer on not-linked pads to come out
5751 of sequence while multiqueue discovers that they are not-linked.
5753 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5756 * libs/gst/check/Makefile.am:
5757 Use a custom export symbol regex for libgstcheck, as it needs
5758 to export symbols that don't match the standard GStreamer gst_*
5759 pattern, and --export-dynamic is not portable (only works on
5762 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5763 (gst_check_setup_sink_pad):
5764 Make sure to pass a message parameter to the fail_* macros.
5766 * tests/check/gst/gstinfo.c: (GST_START_TEST):
5767 Fix some compiler warnings.
5769 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
5771 * tests/check/gst/gststructure.c: (test_to_string):
5772 Disable test that checks that white spaces are not allowed
5773 in structure names or field names, since we need to
5774 support that for now for backwards compatibility reasons.
5776 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5778 * docs/gst/gstreamer-sections.txt:
5781 API: add GST_TAG_ARTIST_SORTNAME
5782 API: add GST_TAG_ALBUM_SORTNAME
5783 API: add GST_TAG_TITLE_SORTNAME
5784 Add tag variants for sorting (#414539).
5786 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5788 * gst/gststructure.c:
5789 Also allow white space for names so we don't break
5790 backwards compatibility.
5792 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
5794 * docs/design/part-TODO.txt:
5795 * docs/design/part-segments.txt:
5796 * docs/design/part-streams.txt:
5799 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5801 * docs/gst/gstreamer-sections.txt:
5802 Fixed documentation from my previous commit (added new API add
5803 gst_value_set_structure(), add gst_value_get_structure() and
5804 GST_VALUE_HOLDS_STRUCTURE).
5806 2007-10-22 Stefan Kost <ensonic@users.sf.net>
5808 * gst/gstdebugutils.c:
5809 Reflow code to fix uninitialized variable warning.
5811 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5813 * gst/gstcaps.c: (gst_caps_to_string),
5814 (gst_caps_from_string_inplace):
5815 * gst/gststructure.c: (gst_structure_get_abbrs),
5816 (gst_structure_to_string), (gst_structure_from_string):
5817 * gst/gstvalue.c: (gst_value_set_structure),
5818 (gst_value_get_structure), (gst_value_serialize_structure),
5819 (gst_value_deserialize_structure), (_gst_value_initialize):
5821 * tests/check/gst/gststructure.c: (GST_START_TEST),
5822 (gst_structure_suite):
5823 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5824 Added GstStructure to gst_value_table and its related functions.
5825 Changed gst_structure_to_string to print ';' in the end.
5826 Changed gst_caps_to_string to not print ';' beteween its
5827 fields (structures) anymore and remove the lastes ';' from latest
5828 structure. Now it is possible to have nested structures.
5829 In addition, backward compatibilty is assured by accepting '\0' as
5830 end delimiter. Fixes: #487969.
5831 API: add gst_value_set_structure()
5832 API: add gst_value_get_structure()
5833 API: add GST_VALUE_HOLDS_STRUCTURE
5835 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
5838 When no GSource callback has been set up, tell developer
5839 to use a function that actually exists.
5841 2007-10-17 Stefan Kost <ensonic@users.sf.net>
5843 * docs/gst/gstreamer-sections.txt:
5847 * gst/gstdebugutils.c:
5848 * gst/gstdebugutils.h:
5851 * tools/gst-launch.c:
5852 Allow dumping pipelines as dot graphs. Fixes #456573.
5854 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5856 * gst/gststructure.c:
5857 Allow '+' as well, it can be part of media or mime types
5858 such as image/svg+xml.
5860 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5862 * docs/gst/gstreamer-sections.txt:
5865 API: add gst_bus_pop_filtered
5866 API: add gst_bus_timed_pop_filtered
5867 Two new functions for waiting for specific message types on the
5868 bus for a specified amount of time without iterating any main
5869 loops or main contexts.
5871 * tests/check/gst/gstbus.c:
5872 Some tests for the new functions.
5874 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5876 * docs/libs/gstreamer-libs-sections.txt:
5877 Make gtk-doc ignore stuff it should ignore.
5879 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5881 * libs/gst/check/gstcheck.c:
5882 * libs/gst/check/gstcheck.h:
5883 Allow runtime selection of unit tests to run via the GST_CHECKS
5884 environment variable (test case function names, comma-separated).
5886 2007-10-16 Stefan Kost <ensonic@users.sf.net>
5888 * gst/gststructure.c:
5889 * tests/check/gst/gststructure.c:
5890 Revert serialisation change and constrain structure-names after
5891 consensus on irc. Update api documentation to reflect the change.
5893 2007-10-16 Stefan Kost <ensonic@users.sf.net>
5895 * gst/gststructure.c:
5896 Improve serialization and fix tests.
5898 * tests/check/gst/gststructure.c:
5899 Add another test that covers why I actually did the previous structure
5902 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
5904 * tools/gst-inspect.c: (print_element_info):
5905 Don't crash when inspecting an element.
5907 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
5909 * tests/check/gst/gststructure.c:
5910 Add unit test for escaping of structure name when serialising
5911 and deserialising to/from strings.
5913 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
5915 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5916 (gst_single_queue_new):
5917 * plugins/elements/gstqueue.c: (gst_queue_init),
5918 (gst_queue_push_one):
5919 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
5920 upstream is tricked into thinking it can suggest a format downstream
5921 while downstream does not support that format. The real problem is that
5922 core calls acceptcaps when pushing a buffer with new caps, for which we
5923 do a little workaround by setting the caps on the srcpad ourselves
5924 before pushing the buffer (until this is figured out). Fixes #486758.
5926 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5928 * gst/gststructure.c:
5930 Add some more comments and debug output. Quote structure name to fix
5931 deserialisation of some strings.
5933 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5936 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
5937 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
5939 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5941 * tools/gst-inspect.c:
5942 Save approx. 400 1 byte allocs when printing. Use API to acces element
5948 * tools/gst-xmlinspect.c:
5949 Use API to acces element details.
5951 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5954 Fix some spelling errors.
5956 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
5958 * gst/gstbin.c: (bin_handle_async_done):
5959 Correctly set the next state if all of our async children commited their
5960 state. This makes sure we can actually cancel the state change in
5961 progress. Fixes a regression in Rhythmbox when seeking.
5963 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
5966 Don't shadow local variable.
5969 Don't shadow global function name.
5971 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
5973 * gst/gstelementfactory.c:
5974 * gst/gstpluginfeature.c:
5975 * gst/gstpluginfeature.h:
5976 * gst/gstregistrybinary.c:
5977 * gst/gstregistryxml.c:
5978 * gst/gsttypefind.c:
5979 Use already-interned string for the private GstPluginFeature
5982 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
5984 * docs/libs/gstreamer-libs-sections.txt:
5985 Add new API to docs; fixes the build.
5987 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
5989 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
5991 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
5992 (gst_base_sink_event):
5993 * libs/gst/base/gstbasesink.h:
5994 Add function to wait for EOS, subclasses can use this to correctly wait
5995 for devices to drain before performing the EOS logic. Fixes #485343.
5996 API: gst_base_sink_wait_eos()
5998 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6001 Cast description string constants in GST_PLUGIN_DEFINE macros
6002 to a (gchar*) to make C++ code using these macros compile
6003 without warning with g++-4.2 (see #462737). Even if slightly
6004 ugly, this seems preferable to putting the description strings
6005 into the GLib quark table or making the structure member a
6006 const gchar * and doing casts in core code that allocs and
6007 frees these strings, or requiring a cast in the C++ code.
6009 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6012 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6013 to print the entire class/function signature into the log
6014 file for C++ code. This only affects C++ code, for C code
6015 everything remains the same.
6017 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6019 * gst/gstbin.c: (remove_from_queue):
6020 Work around a problem with pipelines containing (semi)loops until a
6021 proper, more complicated solution is ready. See #475455.
6023 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6027 * gst/gstregistrybinary.c:
6028 * gst/gstregistryxml.c:
6029 Put more strings into the GLib quark table. No need to keep
6030 a hundred-something copies of identical version strings,
6031 license strings, package name strings and package origin
6034 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6036 * docs/manual/advanced-dataaccess.xml:
6037 Don't imply that it's okay to unconditionally change
6038 buffer data or buffer metadata in a pad probe callback,
6039 and a bunch of other comments. Fixes #430031.
6041 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6043 * win32/common/gstenumtypes.c:
6044 * win32/common/gstenumtypes.h:
6045 * win32/common/gstversion.h:
6046 Update generated files.
6048 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6050 * docs/manual/advanced-autoplugging.xml:
6051 Prefix section with broken code with a warning (see #342432).
6053 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6055 * docs/manual/appendix-integration.xml:
6056 * docs/manual/basics-init.xml:
6057 Call g_thread_init() before g_option_context_new() to
6058 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6060 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6062 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6063 (gst_base_sink_queue_object_unlocked),
6064 (gst_base_sink_queue_object), (gst_base_sink_event),
6065 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6066 When we received EOS and are waiting for when to post the EOS message,
6067 our state is prerolled and we should not return ASYNC.
6068 Reorganize some code paths to implement this behavior.
6070 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6072 Add unit test to verify above EOS fix.
6074 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6076 * plugins/elements/gsttypefindelement.c:
6077 (gst_type_find_element_have_type), (gst_type_find_element_init),
6078 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6079 Move detecting the input caps of the sinkpad to the setcaps function.
6080 This allows us to update the output caps when we receive new input caps
6081 instead of always using the first detected caps.
6083 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6085 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6086 (gst_base_sink_get_position):
6087 Don't try to preroll non-async elements after a flush.
6088 Subtract latency form clock times when reporting position.
6090 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6092 * gst/gstpad.c: (gst_pad_pause_task):
6094 Small comment and documentation update.
6096 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6098 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6099 (gst_base_src_set_live), (gst_base_src_is_live),
6100 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6101 (gst_base_src_default_event), (gst_base_src_wait),
6102 (gst_base_src_do_sync), (gst_base_src_get_range),
6103 (gst_base_src_pad_get_range), (gst_base_src_loop),
6104 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6105 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6106 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6107 (gst_base_src_change_state):
6108 Rework the locking of basesrc in a similar fashion to basesink. We
6109 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6110 us to handle live sources and semi live ones much better.
6112 Fix unlocking when seeking, shutting down and pausing in live sources.
6114 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6116 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6117 Fix compilation again.
6119 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6122 Use meaningful categories for the logs to clean the default one.
6124 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6126 * tests/check/pipelines/cleanup.c:
6127 Print message name and not just number.
6129 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6131 * docs/design/draft-tagreading.txt:
6132 Add some more thoughts.
6134 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6136 * tests/check/pipelines/simple-launch-lines.c:
6137 Print message name and not just number.
6139 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6141 * libs/gst/base/gsttypefindhelper.c:
6142 Speedup typefinding. This is work in progress (see #459862).
6144 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6147 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6148 Spotted by Josep Torra Valles <josep@fluendo.com>.
6150 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6153 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6154 field has moved to GstObject.
6156 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6158 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6159 (gst_base_src_get_range), (gst_base_src_change_state):
6160 Call unlock for live sources so that they can't get stuck in _create and
6161 produce a buffer before they are set back to PLAYING.
6163 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6165 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6166 (gst_queue_locked_dequeue):
6167 Comment the segment-related code... in the PROPER function.
6168 See #482147 and my commit from yesterday.
6170 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6172 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6173 Also initialize the counter that calculates the first timestamp on a
6174 buffer correctly for non-live sources.
6176 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6178 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6179 Disable code that's breaking the current-time-level reporting.
6182 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6184 * docs/gst/gstreamer-sections.txt:
6185 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6186 as they shouldn't show up. Fixes the docs build.
6188 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6191 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6192 Define M_PI which is used in files which are including gstinfo.h.
6193 VS6 includes doesn't define it.
6194 * win32/common/libgstbase.def:
6195 * win32/common/libgstcontroller.def:
6196 * win32/common/libgstreamer.def:
6197 Add new exported functions and variables.
6198 * win32/vs6/libgstcontroller.dsp:
6199 * win32/vs6/libgstreamer.dsp:
6200 Update the list of files to build.
6202 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6204 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6206 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6207 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6208 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6209 Improve debugging. Fixes #480858.
6211 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6213 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6215 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6216 First patch of code cleanups, use the macros and right arguments in the
6217 macros to signal and lock the queue. See #480858.
6219 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6221 * gst/gstbus.c: (poll_func):
6222 Improve debugging when dealing with _poll().
6224 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6226 * gst/gstregistryxml.c:
6227 Fix memory leak I introduced a few days ago.
6229 2007-09-26 Michael Smith <msmith@fluendo.com>
6231 * gst/gstbuffer.c: (gst_buffer_finalize):
6232 Make it once again possible to free GstBuffers in the default
6234 The poisoning scribbles on parts of the miniobject we need in
6238 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6240 * docs/gst/gstreamer-sections.txt:
6243 API: add GST_TAG_COMPOSER, fixes #459809.
6245 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6249 Add the 3-clause BSD license and the MIT/X11 license to the license
6250 list. Fixes #479784.
6252 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6254 * docs/faq/getting.xml:
6255 Add Q+A about different GStreamer versions (#364056).
6257 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6259 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6260 (gst_base_sink_event), (gst_base_sink_change_state):
6261 Return correct gboolean from query function.
6263 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6265 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6266 (gst_base_sink_event), (gst_base_sink_query),
6267 (gst_base_sink_change_state):
6268 Simplify latency query.
6269 When not synchronizing, we can report latency without querying the peer
6272 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6276 Fix small typos in the docs.
6278 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6280 * docs/design/draft-latency.txt:
6281 * docs/design/draft-push-pull.txt:
6282 * docs/design/draft-tagreading.txt:
6283 * docs/design/part-MT-refcounting.txt:
6284 * docs/design/part-activation.txt:
6285 * docs/design/part-block.txt:
6286 * docs/design/part-element-source.txt:
6287 * docs/design/part-events.txt:
6288 * docs/design/part-gstbin.txt:
6289 * docs/design/part-gstelement.txt:
6290 * docs/design/part-gstobject.txt:
6291 * docs/design/part-gstpipeline.txt:
6292 * docs/design/part-messages.txt:
6293 * docs/design/part-preroll.txt:
6294 * docs/design/part-push-pull.txt:
6295 * docs/design/part-qos.txt:
6296 * docs/design/part-query.txt:
6297 * docs/design/part-scheduling.txt:
6298 * docs/design/part-seeking.txt:
6299 * docs/design/part-segments.txt:
6300 * docs/design/part-states.txt:
6301 Documentation updates and typo fixes.
6303 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6305 * plugins/elements/gstfakesink.c:
6306 Add some debug text to error message to indicate that
6307 we errored out on request.
6309 * tools/gst-launch.c:
6310 When the state change to PLAYING fails, check for an
6311 error message on the bus and print it.
6313 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6315 translated by: Jorge González González <aloriel@gmail.com>
6319 Added Spanish translation.
6321 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6323 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6324 Fix printf arguments.
6326 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6328 * tests/check/generic/states.c:
6329 Improved state change unit test.
6331 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6334 Move priv to the right place.
6336 * gst/gstsystemclock.c:
6337 Add FIXME: and improve log.
6339 * tests/check/Makefile.am:
6340 * tests/examples/manual/Makefile.am:
6341 Work with all types of registries.
6343 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6345 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6346 Don't unref the event after pushing it. Fixes #478401.
6348 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6351 * tests/examples/manual/.cvsignore:
6352 Ignore registries in any format.
6354 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6356 * gst/glib-compat-private.h:
6357 Add compatibility macro for g_intern_string() for
6358 GLib-2.8 (any reason we can't just bump the
6359 requirement to at least 2.10?)
6361 * gst/gstpadtemplate.h:
6362 * gst/gstelementfactory.c:
6363 * gst/gstregistryxml.c:
6364 * gst/gstregistrybinary.c:
6365 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6366 up the internal code accordingly. This shouldn't be a problem, since
6367 there is no reason external code could ever assume the string in such
6368 a structure is dynamically allocated unless it did that itself; the
6369 use of g_strdup() is private to element factories. The new code also
6370 saves some memory by putting pad template name strings into the GLib
6371 quark table instead of allocating them dynamically.
6372 Declaring this field constant fixes warnings with g++-4.2 when using
6373 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6375 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6377 * gst/gstelementfactory.c:
6378 Release static caps. Fixes #475723.
6380 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6384 Make some internal API take const gchar * instead of just
6385 gchar * to avoid compiler warnings with g++-4.2.2 when
6386 passing string constants (partially fixes #478092).
6388 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6390 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6391 A latency query fails when one of the sinks fail.
6393 * gst/gstelement.c: (gst_element_set_base_time):
6396 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6398 * gst/gstbin.c: (gst_bin_continue_func):
6399 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6400 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6401 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6403 Fix minor compilation warnings shown with Forte.
6405 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6407 * plugins/elements/gstqueue.c: (apply_buffer),
6408 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6409 Measure queue level based on the diff between head and tail timestamps
6410 even when pushing the first buffer.
6412 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6414 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6415 (gst_base_sink_event), (gst_base_sink_change_state):
6416 Sinks that don't preroll can always be queried for the latency.
6417 Don't post ASYNC start when we are not async.
6419 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6421 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6422 (gst_queue_handle_sink_event), (gst_queue_chain),
6423 (gst_queue_push_one), (gst_queue_handle_src_query),
6424 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6425 * plugins/elements/gstqueue.h:
6426 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6427 push more buffers but allow pushing of EOS and NEWSEGMENT.
6428 Add some more debug info here and there. Fixes #476514.
6430 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6432 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6433 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6434 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6435 (gst_base_sink_set_flushing), (gst_base_sink_query),
6436 (gst_base_sink_change_state):
6437 Latency query is allowed after we are prerolled. Introduce a new flag
6438 for this and stop abusing other variables.
6440 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6442 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6443 Push OOB events downstream when we get them in send_event. This allows
6444 the application to insert events in the pipeline.
6445 Add some more comments.
6447 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6449 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6450 (do_bin_latency), (gst_bin_change_state_func):
6451 * gst/gstpipeline.c: (gst_pipeline_change_state):
6452 Move latency query from GstPipeline to GstBin so that we can also
6453 use it when async-handling is enabled on bins.
6455 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6457 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6458 (gst_base_src_do_sync), (gst_base_src_change_state):
6460 Clean up the timestamping and syncing code for pseudo live sources.
6462 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6464 Patch by: Steve Fink <sphink gmail com>
6466 * docs/manual/appendix-checklist.xml:
6467 Mention less -R switch in the section about debug output (#474055).
6469 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6471 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6472 Queue can latency to the pipeline up to the configured max size in time.
6473 Report this fact in the latency query.
6475 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6477 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6479 * libs/gst/controller/gstinterpolation.c:
6480 * libs/gst/controller/gstlfocontrolsource.c:
6481 Use gst_guint64_to_gdouble() when converting from a uint64 or
6482 GstClockTime to double to fix the build on win32. Fixes #474371.
6484 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6486 * gst/gstbuffer.c: (gst_buffer_finalize):
6487 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6488 When finalizing a buffer the complete struct is filled with 0xff,
6489 thus making a use of the buffer after the final unref impossible.
6491 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6493 * tests/check/libs/controller.c: (GST_START_TEST):
6494 Use fail_unless_equals_int(a, b) instead of
6495 fail_unless_equals (a == b) to get better output on failures.
6497 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6499 * tests/check/gst/gsturi.c:
6500 Also check for the other file URI variant on win32.
6502 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6504 * gst/gsturi.c: (gst_uri_get_location):
6505 If there's no hostname, we want to return 'c:/foo/bar.txt'
6506 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6508 * tests/check/gst/gsturi.c:
6509 Unit test for the above and a few more things.
6511 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6513 * docs/design/part-live-source.txt:
6514 Add docs on how live sources should timestamp.
6516 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6517 Add some more debug info.
6518 For subclasses that are live and like to sync, add aditional startup
6519 latency to sync time and timestamps so that we timstamp according to the
6522 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6525 Also do a g_type_class_ref() for the subbuffer type in
6528 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6530 * docs/gst/gstreamer-sections.txt:
6531 * gst/gstpad.c: (gst_pad_peer_query):
6533 Add function to perform a query on the peer of a pad.
6534 API: gst_pad_peer_query()
6536 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6538 * tests/check/gst/gstsystemclock.c:
6539 Cleanup the test a little (use gst-logging and not g_message). Improve
6540 test to check if a wait reached the target.
6542 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6544 * docs/libs/gstreamer-libs-sections.txt:
6545 Add new API to docs and fix the build.
6547 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6549 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6550 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6551 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6552 (gst_base_src_get_property), (gst_base_src_do_sync):
6553 * libs/gst/base/gstbasesrc.h:
6554 Add property to make the basesrc timestamp buffers based on the current
6556 API: GstBaseSrc::do-timestamp
6557 API: gst_base_src_set_do_timestamp()
6558 API: gst_base_src_get_do_timestamp()
6560 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6562 * docs/random/release:
6563 Really make sure translations are up-to-date before
6564 a release (#465010).
6566 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6568 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6569 Always destroy the timer, also in error cases.
6571 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6573 * docs/manual/highlevel-xml.xml:
6574 Fix XML example code. Fixes #472714.
6576 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6578 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6579 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6580 (gst_base_sink_query):
6581 Protect eos and have_preroll with the OBJECT lock so we don't need to
6582 take the PREROLL lock when querying the latency. Fixes #473846.
6584 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6587 Give some log-messages a category.
6589 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6591 * gst/gststructure.c:
6592 (gst_structure_fixate_field_nearest_fraction):
6593 Fix fraction list fixation code. Take the fraction with the smallest
6594 difference with the target instead of the first one in the list.
6596 * tests/check/gst/gststructure.c: (GST_START_TEST),
6597 (gst_structure_suite):
6598 Added test to verify correct fraction list fixation behaviour.
6600 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6602 * win32/common/libgstreamer.def:
6603 Export gst_bus_add_signal_watch too.
6605 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6607 * docs/libs/gstreamer-libs-sections.txt:
6608 Add new methods to docs.
6610 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6611 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6612 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6613 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6614 * libs/gst/base/gstbasesink.h:
6615 Add ts-offset property to fine-tune the synchronisation.
6616 API: GstBaseSink::ts-offset property
6617 API: gst_base_sink_set_ts_offset()
6618 API: gst_base_sink_get_ts_offset()
6620 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6622 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6623 (gst_base_sink_init), (gst_base_sink_set_sync),
6624 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6625 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6626 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6627 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6628 (gst_base_sink_get_property), (gst_base_sink_change_state):
6629 * libs/gst/base/gstbasesink.h:
6630 Add async property to instruct the sink never to inform the parent about
6631 ASYNC state changes, update docs.
6632 Check argument with g_return_* for the public functions.
6633 API: GstBaseSink::async property
6634 API: gst_base_sink_set_async_enabled()
6635 API: gst_base_sink_is_async_enabled()
6637 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6639 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6642 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6643 (gst_base_src_default_query), (gst_base_src_wait),
6644 (gst_base_src_do_sync), (gst_base_src_change_state):
6645 Rearrange some code so that we can add support for measuring the
6648 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6650 * docs/random/ensonic/dynlink.txt:
6651 More thoughs on this.
6653 * plugins/elements/gstcapsfilter.c:
6654 Add bugzilla ticket number to FIXME comment.
6656 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6658 * docs/design/part-TODO.txt:
6659 * docs/design/part-block.txt:
6662 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6665 Revert patch which uses $(gst_headers) instead of $^ because it
6668 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6670 * tests/check/gst/gstbin.c: (GST_START_TEST):
6671 Fix leaks in the new unit test.
6673 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6676 Don't use GST_INFO before the debug system is actually initialised
6677 (shouldn't do any harm, but won't print anything either, so we can
6678 just as well remove it).
6681 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6682 compilers that don't support variadic macros (such as MSVC), should
6683 check for debug_level <= __gst_debug_min as well, since that's the
6684 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6685 inline helper functions. Should improve performance a bit, but also
6686 makes sure uses of GST_INFO et.al are ignored if the debugging
6687 system isn't initialised yet (instead of printing an assertion
6690 2007-08-23 Stefan Kost <ensonic@users.sf.net>
6692 patch by: David Nečas <yeti@physics.muni.cz>
6695 Replace some non portable makefile constructs.
6697 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6699 * common/gtk-doc-plugins.mak:
6700 Grrrrr. Don't remove the types file on make clean.
6702 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6704 * tools/gst-launch.1.in:
6705 Add colorspace to example pipeline. Fixes #458274.
6707 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
6709 * docs/random/release:
6710 The release manager should run 'make download-po' before making a
6711 release to make sure translations are up-to-date.
6717 Add some new translations.
6719 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
6721 * tools/gst-launch.c: (event_loop), (main):
6722 Don´t try to do any state management when a live pipeline posts
6724 Also make the buffering string translatable.
6726 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6728 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6729 (bin_handle_async_start), (gst_bin_handle_message_func):
6731 When adding elements, insert messages into the bus of the newly added
6732 element and make sure the element is the source of the message. This
6733 allows the parent bin to intercept the message and do the
6734 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6735 messages to the app (which is not allowed).
6738 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6739 Fix testsuite so that is does not work around messages that should not
6740 have been posted in the first place.
6742 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6744 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6745 (update_degree), (gst_bin_sort_iterator_next):
6746 Fix annoying bug in the sorted iterator where a sink that is not really
6747 a sink (when it has downstream links) screwed up the iterator.
6749 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6750 Unit test to verify the fix.
6752 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6755 Add some more docs for the messages.
6757 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6758 (gst_base_sink_query):
6759 Add some more debugging.
6761 * tools/gst-launch.c: (event_loop):
6762 When interrupting, don't try to set pipeline to PAUSED twice.
6764 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6767 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6768 (bin_handle_async_start), (gst_bin_handle_message_func):
6769 Move ASYNC_START message posting to where it belongs, similar to
6771 Don't post ASYNC_START when we are in error.
6772 Post ASYNC_START when we added an async element to a bin.
6774 2007-08-14 Julien MOUTTE <julien@moutte.net>
6776 * gst/gstindex.c: (gst_index_add_association): Fix index entry
6777 generation from vargs. Fixes #466595.
6779 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6781 * gst/gstbin.c: (gst_bin_element_set_state):
6782 Always change the state of a NO_PREROLL element even if it has ASYNC
6783 elements inside (in case of a bin).
6785 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6786 Unit test for this case.
6788 2007-08-13 Stefan Kost <ensonic@users.sf.net>
6790 * libs/gst/check/gstbufferstraw.c:
6791 * libs/gst/check/gstcheck.h:
6792 * libs/gst/controller/gstcontroller.c:
6793 * libs/gst/controller/gstcontrolsource.h:
6794 * libs/gst/controller/gstlfocontrolsource.h:
6795 * plugins/elements/gstcapsfilter.h:
6796 * plugins/elements/gstfdsink.h:
6797 * plugins/elements/gstfdsrc.h:
6798 Add more missing docs.
6800 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6802 * gst/gststructure.c:
6803 Add Since tag to docs.
6805 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6807 * docs/gst/gstreamer-sections.txt:
6808 * gst/gststructure.c: (gst_structure_get_uint):
6809 * gst/gststructure.h:
6810 Add function to get uint from a structure.
6811 API: gst_structure_get_uint()
6813 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6815 * gst/gstcaps.c: (gst_caps_set_simple_valist),
6816 (gst_caps_intersect):
6817 Fix proper check for simple caps.
6819 2007-08-10 Stefan Kost <ensonic@users.sf.net>
6821 * docs/gst/Makefile.am:
6822 * docs/libs/Makefile.am:
6823 Remove cruft and do some cleanups.
6825 * docs/gst/gstreamer-docs.sgml:
6826 * docs/libs/gstreamer-libs-docs.sgml:
6827 Prepare for comming gtkdoc features (rebase against online docs).
6829 2007-08-10 Michael Smith <msmith@fluendo.com>
6831 * docs/gst/gstreamer-sections.txt:
6832 Add gst_registry_add_path to docs.
6834 2007-08-10 Michael Smith <msmith@fluendo.com>
6836 * gst/gstregistry.h:
6837 Add gst_registry_add_path, which was missing from this header.
6839 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
6841 * libs/gst/controller/gstlfocontrolsource.c:
6844 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
6846 * libs/gst/base/gstbasesink.c:
6847 Don't send an async_start message during downwards state change if
6848 target state is less than READY
6850 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6852 translated by: Gabor Kelemen <kelemeng@gnome.hu>
6856 Added Hungarian translation.
6858 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6865 Updated translations.
6867 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6869 * libs/gst/controller/Makefile.am:
6870 Dist gstlfocontrolsourceprivate.h
6872 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6874 * docs/libs/gstreamer-libs.types:
6875 Don't register the enum type gst_lfo_waveform_get_type() in the
6876 .types file - only GObject derived types belong.
6878 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
6880 Patch by: <arenevier at fdn dot fr>
6883 Remove comma from last element in enum to avoid compile errors when
6884 using -pendantic. Fixes #464366.
6886 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
6888 * docs/design/part-TODO.txt:
6889 Add some more TODO items
6891 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
6894 * gst/gstcaps.c: (gst_caps_intersect):
6895 Optimize trivial intersection case between identical caps pointers.
6897 * gst/gstelement.c: (gst_element_continue_state),
6898 (gst_element_set_state_func):
6900 Fix spelling and grammar mistakes.
6902 2007-08-05 Stefan Kost <ensonic@users.sf.net>
6906 Update POTFILES. Fixes #461599.
6908 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
6911 Fix confusing typo in debug output.
6913 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
6915 reviewed by: Stefan Kost <ensonic@users.sf.net>
6917 * libs/gst/controller/Makefile.am:
6918 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
6919 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
6920 (gst_lfo_control_source_new),
6921 (gst_lfo_control_source_set_waveform),
6922 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
6923 (gst_lfo_control_source_finalize),
6924 (gst_lfo_control_source_dispose),
6925 (gst_lfo_control_source_set_property),
6926 (gst_lfo_control_source_get_property),
6927 (gst_lfo_control_source_class_init):
6928 * libs/gst/controller/gstlfocontrolsource.h:
6929 * libs/gst/controller/gstlfocontrolsourceprivate.h:
6930 API: Add GstLFOControlSource, a control source that gives values
6931 for specific timestamps based on several periodic waveforms.
6934 * tests/check/libs/controller.c: (GST_START_TEST),
6935 (gst_controller_suite):
6936 * docs/libs/gstreamer-libs-docs.sgml:
6937 * docs/libs/gstreamer-libs-sections.txt:
6938 * docs/libs/gstreamer-libs.types:
6939 Add documentation and unit tests for GstLFOControlSource.
6941 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
6946 === release 0.10.14 ===
6948 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
6951 releasing 0.10.14, "Breathing Vacuum"
6953 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
6955 * gst/gstelement.c: (gst_element_class_set_details_simple):
6957 Make strings passed to gst_element_class_set_details_simple()
6958 constant, as they should be (#462752).
6960 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
6962 * gst/gstbin.c: (gst_bin_change_state_func),
6963 (bin_handle_async_done), (gst_bin_handle_message_func):
6964 Don't forget about the fact that some element went ASYNC even after a
6965 resync. This makes us post the ASYNC_DONE message correctly.
6968 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6970 * gst/gstregistry.c: (gst_registry_add_feature):
6971 When replacing an existing feature in the registry, make sure to
6972 continue holding a reference until we've replaced the name string
6973 within our feature hash table. Make sure to use g_hash_table_replace
6974 instead of g_hash_table_insert to ensure the new name string is used
6975 as a key instead of the old one that we're about to free.
6978 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6980 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6981 (gst_plugin_feature_set_name):
6982 Revert patch from #459466 until after the release and we can work
6983 out exactly what the problem is (if any).
6985 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
6987 * docs/gst/gstreamer-sections.txt:
6990 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
6992 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6994 * docs/libs/Makefile.am:
6995 Include our build-prefix libs and includes before the generic ones to
6996 avoid linking against the installed libs when we want the build-tree
6999 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7001 Patch by: Steve Fink <sphink gmail com>
7003 * docs/pwg/building-testapp.xml:
7004 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7005 if people try to build or install the example from the plugin
7006 template against a GStreamer from package using the configure
7009 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7011 Patch by: Steve Fink <sphink gmail com>
7013 * tools/gst-inspect.1.in:
7014 Document --print-all and --print-plugin-auto-install-info command
7015 line options in man page.
7017 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7019 * docs/gst/gstreamer-sections.txt:
7020 Add docs for new api function.
7022 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7024 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7025 * gst/gstelementfactory.h:
7026 API: gst_element_factory_has_interface()
7027 Added method to check if an element factory implements a named
7030 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7033 * docs/gst/gstreamer.types.in:
7034 Another conditional doc check.
7037 * gst/gstparamspecs.h:
7038 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7043 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7045 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7046 (gst_registry_binary_load_feature),
7047 (gst_registry_binary_load_plugin),
7048 (gst_registry_binary_read_cache):
7049 Print error just once and with additional info.
7051 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7053 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7054 (helper_find_suggest), (helper_find_get_length),
7055 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7056 (gst_type_find_helper_for_buffer):
7057 Cleanup the typefindhelper code and add private doc comments.
7059 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7061 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7062 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7063 Fix capsfilter for cases where the caps set on capsfilter will provide
7064 additional information.
7067 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7069 * gst/gsttypefindfactory.c:
7070 Fix docs that recommened wrong function to use.
7072 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7074 * tools/gst-inspect.c: (print_plugin_features):
7075 Also give media-type for typefinders in element output.
7077 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7079 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7080 (gst_registry_remove_features_for_plugin_unlocked),
7081 (gst_registry_add_feature), (gst_registry_remove_feature),
7082 (gst_registry_lookup_feature_locked):
7083 * gst/gstregistry.h:
7084 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7087 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7089 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7090 (gst_plugin_feature_set_name):
7091 Avoid double memory usage for pluginfeature names. Fixes #459466.
7093 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7096 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7097 driving the pipeline may need to explicitly check for NOT_LINKED as
7098 well, since IS_FATAL doesn't cover that.
7100 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7102 * docs/pwg/advanced-types.xml:
7103 Fix typo and duplicate entry in video formats list.
7105 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7107 * libs/gst/controller/gstinterpolation.c:
7108 Also round to the nearest int when using cubic interpolation.
7110 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7112 * libs/gst/controller/gstinterpolation.c:
7113 When linearly interpolating integer types, round to the nearest int
7114 by adding 0.5. Don't do it for float/double types.
7115 Fixes the failing controller test on my machine, which is somehow
7116 rounding differently than on the buildbots.
7118 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7120 * tools/gst-plot-timeline.py:
7121 Better log parsing (categories can have -). Adjust text vs. lines, so
7122 that they span the same y-range.
7124 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7126 * docs/random/ensonic/audiobaseclasses.txt:
7127 * docs/random/ensonic/dynlink.txt:
7128 * docs/random/ensonic/profiling.txt:
7131 * docs/random/moving-plugins:
7132 Add note to use g_assert type macros.
7134 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7137 * libs/gst/check/Makefile.am:
7138 Add libm check as we use in for plugins.
7140 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7142 * gst/gstbin.c: (gst_bin_continue_func):
7143 Check that the state_cookie hasn't changed since the continue_func
7144 was scheduled. Avoids problems where the state changes back to
7145 something it shouldn't be because it was changed in the meantime.
7147 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7149 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7150 (gst_registry_binary_save_string),
7151 (gst_registry_binary_save_pad_template),
7152 (gst_registry_binary_save_feature),
7153 (gst_registry_binary_save_plugin),
7154 (gst_registry_binary_load_feature),
7155 (gst_registry_binary_load_plugin),
7156 (gst_registry_binary_read_cache):
7157 Fix memory leak. Be less verbose in the log.
7159 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7161 * tests/check/elements/.cvsignore:
7162 Add file to cvsignore as commanded.
7164 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7166 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7167 (mq_dummypad_event), (run_output_order_test):
7168 Use a GStaticMutex to protect all cases where libcheck
7169 fail_if/fail_unless macros might be called from multiple threads
7170 simultaneously to avoid errors like:
7171 "check_pack.c:107: :-1081725400:Bad message type arg"
7173 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7175 * tests/check/pipelines/stress.c: (GST_START_TEST):
7176 Make sure we set the pipeline back to the NULL state before
7177 dropping our final reference.
7179 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7181 * tests/check/elements/tee.c: (GST_START_TEST):
7182 Make the tee stress-test a little less stressful so it doesn't just
7183 time out on slow-machines, and remove a small race when it's starting
7184 up by adding a get_state() call.
7186 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7189 Avoid reading registry twice on startup. Fixes #457322.
7191 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7193 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7194 * pkgconfig/gstreamer-check.pc.in:
7195 Substitute the CFLAGS for libcheck into our .pc file too so that
7196 dependent modules will pick it up properly if libcheck is installed
7197 into some other prefix.
7199 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7202 Revert the pkg-config check for libcheck, since it pulls in the
7203 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7204 a proper solution, either from the check project, or something else.
7206 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7209 Use pkg-config to locate check.
7211 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7218 Add deprecation guards.
7220 * libs/gst/base/gstcollectpads.h:
7221 Don't document object (this is implicitly private).
7223 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7225 * gst/gststructure.c: (gst_structure_parse_value):
7226 When deserialising foo=bar without a type cast, check if it's a
7227 boolean before falling back to a string type, otherwise things like
7228 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7229 because the filtercaps end up having a signed=(string)true field,
7230 which causes problems later when intersection caps.
7232 * tests/check/gst/gststructure.c: (GST_START_TEST):
7233 Add a unit test for this.
7235 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7237 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7239 * libs/gst/controller/Makefile.am:
7240 * libs/gst/controller/gstcontroller.c:
7241 (gst_controlled_property_add_interpolation_control_source),
7242 (gst_controlled_property_new), (gst_controlled_property_free),
7243 (gst_controller_find_controlled_property),
7244 (gst_controller_new_valist), (gst_controller_new_list),
7245 (gst_controller_new), (gst_controller_remove_properties_valist),
7246 (gst_controller_remove_properties_list),
7247 (gst_controller_remove_properties),
7248 (gst_controller_set_property_disabled),
7249 (gst_controller_set_disabled), (gst_controller_set_control_source),
7250 (gst_controller_get_control_source), (gst_controller_get),
7251 (gst_controller_sync_values), (gst_controller_get_value_array),
7252 (_gst_controller_dispose), (gst_controller_get_type),
7253 (gst_controlled_property_set_interpolation_mode),
7254 (gst_controller_set), (gst_controller_set_from_list),
7255 (gst_controller_unset), (gst_controller_unset_all),
7256 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7257 * libs/gst/controller/gstcontroller.h:
7258 * libs/gst/controller/gstcontrollerprivate.h:
7259 * libs/gst/controller/gstcontrolsource.c:
7260 (gst_control_source_class_init), (gst_control_source_init),
7261 (gst_control_source_get_value),
7262 (gst_control_source_get_value_array), (gst_control_source_bind):
7263 * libs/gst/controller/gstcontrolsource.h:
7264 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7265 (gst_object_get_control_source):
7266 * libs/gst/controller/gstinterpolation.c:
7267 (gst_interpolation_control_source_find_control_point_node),
7268 (gst_interpolation_control_source_get_first_value),
7269 (_interpolate_none_get), (interpolate_none_get),
7270 (interpolate_none_get_boolean_value_array),
7271 (interpolate_none_get_enum_value_array),
7272 (interpolate_none_get_string_value_array),
7273 (_interpolate_trigger_get), (interpolate_trigger_get),
7274 (interpolate_trigger_get_boolean_value_array),
7275 (interpolate_trigger_get_enum_value_array),
7276 (interpolate_trigger_get_string_value_array):
7277 * libs/gst/controller/gstinterpolationcontrolsource.c:
7278 (gst_control_point_free), (gst_interpolation_control_source_reset),
7279 (gst_interpolation_control_source_new),
7280 (gst_interpolation_control_source_set_interpolation_mode),
7281 (gst_interpolation_control_source_bind),
7282 (gst_control_point_compare), (gst_control_point_find),
7283 (gst_interpolation_control_source_set_internal),
7284 (gst_interpolation_control_source_set),
7285 (gst_interpolation_control_source_set_from_list),
7286 (gst_interpolation_control_source_unset),
7287 (gst_interpolation_control_source_unset_all),
7288 (gst_interpolation_control_source_get_all),
7289 (gst_interpolation_control_source_get_count),
7290 (gst_interpolation_control_source_init),
7291 (gst_interpolation_control_source_finalize),
7292 (gst_interpolation_control_source_dispose),
7293 (gst_interpolation_control_source_class_init):
7294 * libs/gst/controller/gstinterpolationcontrolsource.h:
7295 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7296 API: Refactor GstController into the core controller which can take
7297 a GstControlSource for providing actual values for timestamps.
7298 Implement a interpolation control source and use this for backward
7299 compatibility, deprecate a bunch of functions that are now handled
7300 by GstControlSource or GstInterpolationControlSource.
7301 Make it possible to disable the controller completely or only for
7302 specific properties. Fixes #450711.
7303 * docs/libs/gstreamer-libs-docs.sgml:
7304 * docs/libs/gstreamer-libs-sections.txt:
7305 * docs/libs/gstreamer-libs.types:
7306 Add new functions and classes to the docs.
7307 * tests/check/libs/controller.c: (GST_START_TEST),
7308 (gst_controller_suite):
7309 * tests/examples/controller/audio-example.c: (main):
7310 Port unit test and example to the new API and add some new
7313 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7315 Patch by: Mark Nauwelaerts <manauw at skynet be>
7317 * plugins/elements/gstmultiqueue.c:
7318 (gst_multi_queue_get_internal_links), (apply_buffer),
7319 (single_queue_overrun_cb), (gst_single_queue_new):
7320 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7321 the pipeline layout can be tracked correctly. Fixes #453732.
7323 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7325 * docs/gst/Makefile.am:
7326 * docs/libs/Makefile.am:
7327 * docs/plugins/Makefile.am:
7328 Simplify --extra-dir as gtkdoc scans recursively.
7330 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7332 * tools/gst-launch.c: (main):
7333 When we got an error, there is no point in waiting for preroll when
7336 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7338 * plugins/elements/gsttee.c: (gst_tee_base_init),
7339 (gst_tee_request_new_pad), (gst_tee_release_pad),
7340 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7341 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7343 Be a lot smarter when deciding what srcpad to use for proxying
7344 the buffer_alloc. Also handle pad added/removed when doing so.
7346 Keep track of what pads we already pushed on in case we have pads
7347 added/removed while pushing. Fixes #374639
7349 * tests/check/Makefile.am:
7350 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7352 Added unit test for pad resync.
7354 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7358 Updated translations.
7360 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7362 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7366 Added new Finnish translation.
7368 2007-06-28 Wim Taymans <wim@fluendo.com>
7370 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7371 (single_queue_overrun_cb):
7372 When figuring out when a queue is filled, use our internal time estimate
7373 based on segments, just like check_full does.
7375 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7377 * gst/gstminiobject.c: (gst_mini_object_get_type):
7378 Remove 3 do-nothing methods.
7380 2007-06-27 Wim Taymans <wim@fluendo.com>
7382 Patch by: Tim Angus <tim at ngus dot net>
7384 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7385 (gst_capsfilter_set_property):
7386 Take a reference instead of a copy when setting "caps".
7387 Fix documentation to clarify this behaviour. Fixes #449414.
7389 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7391 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7392 * gst/gstplugin.c: (gst_plugin_init):
7393 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7394 * gst/gstquery.c: (gst_query_get_type):
7395 * gst/gstregistry.c: (gst_registry_init):
7396 * gst/gsturi.c: (gst_uri_handler_base_init):
7397 Remove empty instance_init() functions to save relocs and lessen the
7398 noise. Remove some of the function prototypes that are doubled by
7401 2007-06-27 Wim Taymans <wim@fluendo.com>
7403 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7405 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7406 Add peer and direction in the XML serialisation of ghostpads.
7409 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7412 Preserve useful information, thanks Tim.
7414 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7416 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7417 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7418 (gst_single_queue_push_one), (gst_multi_queue_loop),
7419 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7420 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7421 (compute_high_id), (gst_single_queue_new):
7422 * plugins/elements/gstmultiqueue.h:
7423 Take the multiqueue lock when updating the fill level so we don't get
7426 After applying a buffer or event on the src pad segment, make sure to
7427 call gst_data_queue_limits_changed() to get the data queue to unblock
7428 and check the filled state again.
7430 Rework the not-linked pad handling so the logic is that not-linked
7431 pads can push as fast as they like, but only so they never get
7432 ahead of any linked pads.
7434 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7435 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7436 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7438 Add a test to check that not-linked pads always stay behind
7443 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7445 * docs/random/release:
7446 Some updates to the release procedure.
7448 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7450 * gst/gstelementfactory.c: (__gst_element_details_clear):
7451 Microoptimization that saves stunning 80 bytes.
7453 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7455 * docs/plugins/gstreamer-plugins.args:
7456 * docs/plugins/inspect/plugin-coreelements.xml:
7457 * docs/plugins/inspect/plugin-coreindexers.xml:
7458 Update docs with caps info.
7460 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7463 Updated Italian translation.
7465 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7469 Update Vietnamese translations.
7471 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7473 * libs/gst/base/gstbasesink.c:
7474 Remove unused signal enum.
7476 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7478 * docs/gst/gstreamer-sections.txt:
7480 * gst/gstutils.c: (gst_type_register_static_full):
7481 Beef up and include the docs for gst_type_register_static_full and
7482 gst_element_class_set_details_simple and add the API keyword
7485 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7487 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7488 (update_time_level), (gst_single_queue_push_one),
7489 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7490 (single_queue_overrun_cb), (single_queue_underrun_cb),
7491 (single_queue_check_full):
7492 Fix setting max-* properties after adding queues.
7493 Use IS_FILLED for checking visible items.
7494 Signal overrun if multiple queues overrun.
7495 Add extra debug output.
7496 Patch by: Wim Taymans <wim@fluendo.com>
7498 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7500 * gst/gstelement.c: (gst_element_class_set_details_simple):
7502 * gst/gstutils.c: (gst_type_register_static_full):
7504 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7505 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7506 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7507 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7508 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7509 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7510 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7511 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7512 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7513 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7514 (apply_buffer), (gst_queue_chain):
7515 * plugins/elements/gsttee.c: (gst_tee_base_init):
7516 * plugins/elements/gsttypefindelement.c:
7517 (gst_type_find_element_base_init),
7518 (gst_type_find_element_class_init):
7519 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7520 API: add gst_type_register_static_full
7521 API: add gst_element_class_set_details_simple
7523 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7525 * docs/pwg/advanced-types.xml:
7526 Fix typo in iana.org URI.
7528 2007-06-19 Andy Wingo <wingo@pobox.com>
7530 * tests/check/pipelines/simple-launch-lines.c
7531 (test_state_change_returns): Enable pull-mode tests now that
7532 basesink has been fixed.
7534 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7535 Changed from gst_base_sink_is_prerolled, reversing the sense of
7536 the return value. Returns FALSE also if the sink is in pull mode,
7537 in which case it needs no preroll.
7538 (gst_base_sink_query, gst_base_sink_change_state): Update for
7539 needs_preroll change.
7540 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7541 chaining up, in which we return SUCCESS directly if we activated
7542 in pull mode instead of ASYNC. Involves countering an async_start
7543 message sent before chaining up; not sure if this is correct, in
7544 an ideal world we only send async-start when activating in push
7547 * tests/check/pipelines/simple-launch-lines.c
7548 (test_state_change_returns): New test, partially disabled until
7551 2007-06-19 Wim Taymans <wim@fluendo.com>
7553 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7554 (gst_multi_queue_sink_event):
7557 2007-06-19 Wim Taymans <wim@fluendo.com>
7559 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7560 (gst_bin_change_state_func), (bin_push_state_continue),
7561 (bin_handle_async_start), (bin_handle_async_done),
7562 (gst_bin_handle_message_func):
7563 Move the common code for posting state-change messages into
7565 Broadcast the state signal after we posted the messages.
7566 Mark the bin as busy when it's doing a state-change.
7567 Make sure async-start/done messages don't interfere with the bin's
7568 state when it's busy.
7569 After the state change, let the bin check which elements completed the
7570 state change while it was busy so that it can update its state.
7572 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7574 * docs/random/release:
7575 Add a note about updating the doap file to the release checklist
7577 2007-06-18 Wim Taymans <wim@fluendo.com>
7579 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7580 (gst_single_queue_push_one), (gst_multi_queue_chain),
7581 (gst_multi_queue_sink_event):
7582 Make sure we don't reference the buffer/event after we have given away
7583 ownership in the queue.
7585 2007-06-18 Wim Taymans <wim@fluendo.com>
7587 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7588 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7589 Update queue state _after_ adding the item in the queue because else we
7590 could end up being full without the element added yet.
7592 2007-06-18 Wim Taymans <wim@fluendo.com>
7594 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7595 (gst_bin_remove_func), (gst_bin_get_state_func),
7596 (gst_bin_element_set_state), (gst_bin_continue_func),
7597 (bin_push_state_continue), (bin_handle_async_start),
7598 (bin_handle_async_done), (gst_bin_handle_message_func):
7600 Immediatly commit the toplevel bin state when receiving an async-done
7601 message. This enables us to avoid spawning a thread to commit the state
7602 in some common cases and it also avoids some races.
7603 Avoid spawning a state thread when adding/removing async elements to a
7604 toplevel bin. Instead we immediatly update the bin state.
7605 Get rid of iterating all the children when getting the state in the bin
7606 because it is now always up-to-date.
7607 Fix bug where locked elements would always return _SUCCESS even it they
7608 returned NO_PREROLL before being locked.
7609 Fix the order of the state_change, async-start/done messages that was
7610 sometimes incorrect.
7611 Mark the state_dirty field as deprecated, we don't need it anymore as we
7612 are always up-to-date.
7614 * gst/gstelement.c: (gst_element_get_state_func),
7615 (gst_element_continue_state):
7616 Small debug inprovements.
7617 Return the previous element state return when nothing is pending instead
7618 of blindly returning SUCCESS.
7620 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7622 Add a whole bunch of new testcases.
7624 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7628 Update translations.
7630 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7633 Fix typo in the docs.
7635 2007-06-15 Wim Taymans <wim@fluendo.com>
7637 * docs/libs/gstreamer-libs-sections.txt:
7638 Add docs for new methods.
7640 2007-06-15 Wim Taymans <wim@fluendo.com>
7642 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7643 (gst_multi_queue_item_new):
7644 Don't use GSlice because we don't depend on >= 2.10 yet.
7646 2007-06-15 Wim Taymans <wim@fluendo.com>
7648 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7649 (update_time_level), (apply_segment), (apply_buffer),
7650 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7651 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7652 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7653 (single_queue_underrun_cb), (single_queue_check_full):
7654 Remove debug printf.
7656 2007-06-15 Wim Taymans <wim@fluendo.com>
7658 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7659 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7660 (gst_data_queue_set_flushing), (gst_data_queue_push),
7661 (gst_data_queue_pop), (gst_data_queue_drop_head),
7662 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7663 * libs/gst/base/gstdataqueue.h:
7665 Added methods to get the current levels and to inform the queue that the
7666 'full' limits changed.
7668 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7669 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7670 (gst_single_queue_flush), (update_time_level), (apply_segment),
7671 (apply_buffer), (gst_single_queue_push_one),
7672 (gst_multi_queue_item_steal_object),
7673 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7674 (gst_multi_queue_loop), (gst_multi_queue_chain),
7675 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7676 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7677 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7678 (single_queue_underrun_cb), (single_queue_check_full),
7679 (gst_single_queue_new):
7680 Keep track of time in the queue by measuring the difference between
7681 running_time on input and output. This gives more accurate results and
7682 can compensate for segments correctly.
7683 Make a queue by default only 5 buffers deep. We will now increase the
7684 buffer size depending on the filledness of the other queues.
7685 Factor out commong flush code.
7686 Make sure we don't add additional refcounts to buffers when we can avoid
7688 Propagate GstFlowReturn differently.
7689 Use GSlice for intermediate GstMultiQueueItems.
7691 Resize queues on over and underruns based on filled level of other
7693 When checking if the queue is filled, prefer to measure in time if we
7694 can and fall back to bytes when no time is known.
7696 * plugins/elements/gstqueue.c:
7699 2007-06-15 Wim Taymans <wim@fluendo.com>
7701 * libs/gst/base/gstbasetransform.c:
7702 (gst_base_transform_sink_event):
7703 Work around the brokenness of the event vmethod in basetransform. Prefer
7704 to return TRUE when the subclass returned FALSE (meaning don't forward
7707 * libs/gst/base/gstbasetransform.h:
7710 2007-06-15 Wim Taymans <wim@fluendo.com>
7712 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7713 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7714 (gst_base_src_default_query), (gst_base_src_get_range),
7715 (gst_base_src_start):
7716 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7719 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7721 * docs/pwg/advanced-types.xml:
7722 Added more formats to caps table.
7724 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7726 * tools/gst-launch.c: (main):
7727 Remove crufy code. GOption does not need this workaround.
7729 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7731 * libs/gst/controller/gstcontroller.c:
7732 (gst_controlled_property_set_interpolation_mode):
7733 Fix wrong getter for enums in controller.
7735 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7737 * libs/gst/check/gstcheck.c: (gst_check_init):
7738 Intercept criticals and warnings in the Gst-Phonon log domain, so
7739 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7742 2007-06-14 Edward Hervey <edward@fluendo.com>
7744 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7745 Since this file doesn't include "gst.h" it will not go through the
7746 macros that disable GST_LOG if debugging was disabled.
7748 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7750 * libs/gst/check/Makefile.am:
7751 * libs/gst/check/gstcheck.h:
7752 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7753 * pkgconfig/gstreamer-check.pc.in:
7754 Ugly 'fix' for the controller unit test on the p5 bot: in
7755 fail_unless_equals_float() check whether the values are 'almost
7756 equal' by allowing a small absolute error, which should be good
7757 enough for our use cases (normal numbers and values close to 0).
7758 Proper fixage left to floating point arithmetic aficionados.
7760 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7762 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7763 (gst_base_sink_render_object), (gst_base_sink_get_position):
7764 Add two breaks thats where missing.
7766 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7768 * docs/libs/gstreamer-libs-sections.txt:
7769 * libs/gst/check/gstcheck.h:
7770 API: add fail_unless_equals_float() and assert_equals_float().
7771 Add documentation for some of the macros.
7773 * tests/check/libs/controller.c: (GST_START_TEST):
7774 Use newly-added asserts.
7776 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7778 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7779 Show the caps change in the log to help spotting the case of not
7780 exactly matching caps.
7782 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7784 * docs/pwg/building-boiler.xml:
7785 Fix typos, spotted by Thijs Vermeir (#447190).
7787 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7789 * docs/plugins/tmpl/.cvsignore:
7790 Ignore file to keep the buildbots happy
7792 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7794 * docs/plugins/Makefile.am:
7795 * docs/plugins/gstreamer-plugins-docs.sgml:
7796 * docs/plugins/gstreamer-plugins-sections.txt:
7797 Pull fdsink into the docs too.
7799 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
7801 * libs/gst/controller/gstinterpolation.c:
7802 Actually use the new functions with min/max checks for the trigger and
7803 none interpolation modes for get() and get_value_array() instead of
7806 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
7808 * libs/gst/controller/gstcontroller.c:
7809 (gst_controlled_property_free):
7810 Unset the minimum and maximum GValues when freeing the corresponding
7811 GstControllerProperty struct.
7813 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
7815 * libs/gst/controller/gstcontroller.c:
7816 (gst_controlled_property_new):
7817 * libs/gst/controller/gstcontrollerprivate.h:
7818 * libs/gst/controller/gstinterpolation.c:
7819 (gst_controlled_property_find_control_point_node),
7820 (interpolate_none_get), (interpolate_none_get_enum_value_array),
7821 (interpolate_none_get_string_value_array),
7822 (interpolate_trigger_get),
7823 (interpolate_trigger_get_enum_value_array),
7824 (interpolate_trigger_get_string_value_array):
7825 Protect against values larger or smaller than the minimum or maximum
7826 allowed value for the property when using values that can be compared.
7828 Optimize trigger interpolator a bit by taking the last requested value
7829 into account instead of always looping through the complete list.
7831 Fix coding style a bit, everywhere else we use "return foo" instead
7834 * tests/check/libs/controller.c: (GST_START_TEST),
7835 (gst_controller_suite):
7836 Add unit test for the protection against too large or too small
7839 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
7841 * docs/random/slomo/controller.txt:
7842 Add some thoughts about the future of the controller.
7844 2007-06-08 Wim Taymans <wim@fluendo.com>
7846 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7847 Don't overflow in retimestamping code.
7849 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
7851 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
7852 Use gst_util_guint64_to_gdouble for conversions.
7853 * win32/common/libgstreamer.def:
7854 Add new exported functions.
7856 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
7859 Small docs addition.
7861 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7864 Remove that test line again.
7866 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7869 Test commit mail sending.
7871 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7874 Fix typo and test commit mail sending.
7876 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7878 * tests/examples/controller/audio-example.c:
7879 Improve comment and test commit mail sending.
7881 2007-06-07 Wim Taymans <wim@fluendo.com>
7883 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
7884 (gst_bin_remove_func), (gst_bin_element_set_state),
7885 (bin_handle_async_start), (bin_handle_async_done),
7886 (gst_bin_handle_message_func):
7887 Add helper function to find messages.
7888 Generate the async-done messages together with the state change
7890 Small cleanups in handling toplevel bins.
7892 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7894 * libs/gst/base/gstdataqueue.c:
7895 * libs/gst/base/gstdataqueue.h:
7896 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
7897 (gst_multi_queue_item_new), (gst_multi_queue_chain),
7898 (gst_multi_queue_sink_event):
7899 * tests/check/elements/multiqueue.c: (multiqueue_suite):
7900 Fix multiqueue leaking buffers and events when downstream or the
7901 queue are flushing. Make refcounting assumptions explicit and
7902 document them (shouldn't break existing code that uses it other than
7903 maybe leak miniobjects, but that already happens anyway). Add unit
7904 test for the most common flushing case. Fixes #423700.
7906 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
7908 * libs/gst/controller/gstcontroller.c:
7909 Clarify docs: The get_all, get_value_array(s) functions
7910 don't modify the GObject properties.
7912 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
7914 * libs/gst/controller/gstcontroller.c:
7915 (gst_controlled_property_set_interpolation_mode),
7916 (gst_controlled_property_prepend_default),
7917 (gst_controlled_property_new), (gst_controller_set_unlocked),
7918 (gst_controller_set), (gst_controller_set_from_list),
7919 (gst_controller_unset), (gst_controller_unset_all):
7920 * libs/gst/controller/gstcontrollerprivate.h:
7921 * libs/gst/controller/gstinterpolation.c:
7922 Factor out the 'set' logic into gst_controller_set_unlocked for the
7923 gst_controller_set and gst_controller_set_from_list functions.
7925 To make life of the interpolators easier always add a control point
7926 at timestamp zero with the default value.
7928 In the linear interpolator make things more obvious by better variable
7931 Implement cubic interpolation mode (by using a natural cubic spline)
7932 and map the quadratic interpolation mode to this too (as quadratic
7933 doesn't make much sense, see discussion on the list).
7935 * tests/check/libs/controller.c: (GST_START_TEST),
7936 (gst_controller_suite):
7937 Add unit test for the cubic interpolation mode and check everywhere
7938 if the interpolation mode could be set as expected.
7940 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7942 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
7943 Don't use GLib-2.10 functions, we still depend on
7944 GLib-how-old-is-it-again-2.8.
7946 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7948 * docs/gst/gstreamer-sections.txt:
7952 * gst/gstparamspecs.c: (_gst_param_fraction_init),
7953 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
7954 (_gst_param_fraction_values_cmp),
7955 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
7956 * gst/gstparamspecs.h:
7958 * tests/check/Makefile.am:
7959 * tests/check/gst/.cvsignore:
7960 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
7961 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
7962 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
7963 (GST_START_TEST), (gst_param_spec_suite):
7964 API: add GstParamSpecFraction, so elements can have fraction
7965 properties without lots of painful string parsing (#444648).
7967 2007-06-05 Wim Taymans <wim@fluendo.com>
7969 * gst/gstobject.c: (gst_object_class_init):
7970 Fix signal signature.
7973 Add small clarification in the api docs.
7975 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
7976 States are protected with object lock.
7978 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
7981 I should probably be listed as an author by now.
7983 * docs/random/release:
7984 Update the release doc
7986 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
7989 Make docs for gst_value_compare() mention return enums that
7992 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
7997 === release 0.10.13 ===
7999 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8002 releasing 0.10.13, "With or without you"
8004 2007-05-25 Wim Taymans <wim@fluendo.com>
8006 * gst/gstbin.c: (bin_handle_async_done):
8007 Make sure that the child bin stops after completing the async state
8008 change so that the parent can continue the state change to PLAYING.
8011 2007-05-25 Wim Taymans <wim@fluendo.com>
8013 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8014 (unref_data), (gst_collect_pads_remove_pad),
8015 (gst_collect_pads_check_pads):
8016 Use additional refcounting to avoid crashes when dynamically adding and
8017 removing pads. Fixes #420206.
8019 2007-05-24 Wim Taymans <wim@fluendo.com>
8021 * tools/gst-launch.c: (event_loop):
8022 When buffering goes from a two digit to a single digit number, make sure
8023 to remove the old second digit by writing a blank over it.
8025 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8027 * libs/gst/base/gstdataqueue.c:
8028 Eliminate tabs and trailing comma in enum list; fix some typos.
8030 2007-05-24 Wim Taymans <wim@fluendo.com>
8032 * tests/check/gst/gstbin.c: (GST_START_TEST):
8033 Allow refcount of 3 and 4 because some state thread might still be busy
8036 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8038 * plugins/elements/Makefile.am:
8039 * plugins/elements/gstmultiqueue.h:
8040 * plugins/elements/gstqueue.h:
8041 These are not installed headers, no need for padding.
8043 2007-05-24 Wim Taymans <wim@fluendo.com>
8045 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8046 (gst_bin_continue_func):
8047 Enable latency for next release.
8048 Restore STATE_LOCK around recalc_state that was left out during the
8049 rewrite and could result in racy behaviour when _get_state and
8050 recalc_state are run concurrently. See #440463.
8052 2007-05-23 Wim Taymans <wim@fluendo.com>
8054 * tests/check/gst/gstsystemclock.c: (store_callback),
8056 Improve test_async_order to also work when both timers are already
8057 expired when we get scheduled to check it.
8059 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8061 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8062 (gst_bin_set_property), (gst_bin_get_property),
8063 (gst_bin_remove_func), (gst_bin_handle_message_func):
8065 'private' is a c++ keyword, let's not use that in header files,
8066 otherwise c++ compilers will throw a tantrum.
8068 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8070 * plugins/elements/gstelements.c:
8071 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8072 (gst_file_sink_get_current_offset):
8073 * plugins/indexers/gstindexers.c: (plugin_init):
8074 Use #ifdef for HAVE_XYZ for consistency.
8076 * tests/check/Makefile.am:
8077 * tests/check/elements/.cvsignore:
8078 * tests/check/elements/filesink.c: (setup_filesink),
8079 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8080 Add some unit tests for filesink.
8082 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8084 Patch by: Mark Nauwelaerts <manauw at skynet be>
8086 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8087 (gst_file_sink_query), (gst_file_sink_do_seek),
8088 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8089 * plugins/elements/gstfilesink.h:
8090 Fix position reporting; rename data_written member to current_pos to
8091 reflect its real meaning (fixes #412648).
8093 2007-05-22 Edward Hervey <edward@fluendo.com>
8095 * docs/gst/gstreamer-sections.txt:
8096 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8097 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8098 (gst_bin_remove_func), (gst_bin_handle_message_func):
8100 Add a property for bins that handle the state change of their childs.
8103 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8105 * libs/gst/controller/gstinterpolation.c:
8106 Use an array of the correct type when using _get_value_array with
8107 linear interpolation.
8109 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8111 * gst/gstelement.c (gst_element_requires_clock,
8112 gst_element_provides_clock, gst_element_request_pad,
8113 gst_element_class_set_details, gst_element_class_set_details_simple,
8114 gst_element_default_send_event, gst_element_abort_state,
8115 gst_element_continue_state, gst_element_set_state,
8116 gst_element_set_state_func, iterator_activate_fold_with_resync):
8117 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8118 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8119 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8120 gst_pad_get_range, gst_pad_pull_range):
8121 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8122 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8123 GstPadActivateModeFunction, GstPadChainFunction,
8124 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8125 GstPadFixateCapsFunction, GstPadTemplate):
8126 * gst/gstpipeline.c (gst_pipeline_change_state,
8127 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8128 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8129 gst_pipeline_get_delay):
8130 Whitespace and docs fixes.
8132 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8134 * libs/gst/controller/gstinterpolation.c:
8135 (interpolate_trigger_get_enum_value_array),
8136 (interpolate_trigger_get_string_value_array):
8137 Add support for retrieving value arrays when using the trigger
8140 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8142 * libs/gst/controller/gstcontroller.c:
8143 (gst_controller_get_value_array):
8144 * libs/gst/controller/gstcontroller.h:
8145 Clarify the docs of gst_controller_get_value_array(): The array where
8146 the values should be written to must be allocated as there seems to be
8147 no way to get the size of a random GType. This doesn't change any
8148 behaviour. Also fix some typos all over the place and remove an unused,
8149 commented function that is not necessary as g_object_set() could be
8151 * tests/check/libs/controller.c: (GST_START_TEST),
8152 (gst_controller_suite):
8153 Add unit test for gst_controller_get_value_array().
8155 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8157 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8159 Disable part of the gst_buffer_try_new_and_alloc test, because
8160 it can happily succeed on 64-bit systems where there's more address
8163 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8165 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8166 Add unit test for the improved caps checking from bug #421543.
8168 2007-05-21 Wim Taymans <wim@fluendo.com>
8170 * docs/design/part-synchronisation.txt:
8173 * gst/gstbin.c: (gst_bin_query):
8174 * plugins/elements/gstqueue.c: (apply_segment):
8180 2007-05-21 Wim Taymans <wim@fluendo.com>
8182 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8183 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8184 (gst_pad_configure_src):
8185 Added simple version of improved caps checking. It was previously
8186 assumed that a setcaps function would check the validity of the caps but
8187 people prefer us to check caps against the template automatically.
8190 2007-05-21 Wim Taymans <wim@fluendo.com>
8192 * libs/gst/base/gstbasetransform.h:
8193 Fix macro for locking/unlocking the transform lock.
8195 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8197 * docs/plugins/tmpl/.cvsignore:
8200 2007-05-18 Edward Hervey <edward@fluendo.com>
8202 * plugins/elements/gstqueue.c: (gst_queue_loop):
8203 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8204 for the subtle art of warning a potentially blocking thread that it
8205 should check the source pad return value, and relay the information
8208 2007-05-18 Edward Hervey <edward@fluendo.com>
8210 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8211 Release the queue lock !
8213 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8215 * docs/libs/gstreamer-libs-sections.txt:
8216 Add the two new controller functions to the appropiate places.
8218 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8220 reviewed by: Stefan Kost <ensonic@users.sf.net>
8222 * libs/gst/controller/gstcontroller.c:
8223 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8224 (_gst_controller_get_property), (_gst_controller_set_property),
8225 (_gst_controller_init), (_gst_controller_class_init):
8226 * libs/gst/controller/gstcontroller.h:
8227 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8228 (gst_object_get_control_rate), (gst_object_set_control_rate):
8229 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8230 Add API that provides sync suggestion timestamps for elements that
8231 call gst_object_sync_values() from which those elements can subdivide
8232 their processing loop to get the best results for the controlled
8233 properties. For now it just suggests last_sync + control_rate as
8234 new timestamp but this will be improved in the future.
8236 While doing that change the control-rate property to a GstClockTime
8237 from guint and change it's meaning from samples to nanoseconds as
8238 the GstController doesn't know anything about sampling rate. Strictly
8239 speaking this breaks ABI but as the control-rate property didn't do
8240 anything in the past and as such couldn't be used this should be no
8243 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8245 reviewed by: Stefan Kost <ensonic@users.sf.net>
8247 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8248 (gst_controller_unset_all):
8249 * libs/gst/controller/gstcontrollerprivate.h:
8250 * libs/gst/controller/gstinterpolation.c:
8251 (gst_controlled_property_find_control_point_node):
8252 Save last synced value from the list to continue searching from there
8253 in future syncs. This speeds everything up a bit.
8255 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8257 reviewed by: Stefan Kost <ensonic@users.sf.net>
8259 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8260 (gst_control_point_find), (gst_controlled_property_new),
8261 (gst_control_point_free), (gst_controlled_property_free),
8262 (gst_controller_set), (gst_controller_set_from_list),
8263 (gst_controller_unset), (gst_controller_unset_all),
8264 (gst_controller_sync_values):
8265 * libs/gst/controller/gstcontroller.h:
8266 * libs/gst/controller/gstcontrollerprivate.h:
8267 * libs/gst/controller/gstinterpolation.c:
8268 (gst_controlled_property_find_control_point_node),
8269 (interpolate_none_get), (interpolate_trigger_get):
8270 Add a new private GstControlPoint struct which "inherits" from
8271 GstTimedValue to allow different interpolators to store internal
8272 values next to each control point. From the outside everything is
8273 still a GstControlPoint so we don't loose binary compatibility.
8274 Also fixup all the GValue handling to not leak GValues or list nodes.
8275 * tests/check/libs/controller.c: (GST_START_TEST):
8276 Free the list nodes and GValues in the controller_misc test.
8278 2007-05-17 Edward Hervey <edward@fluendo.com>
8283 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8285 * gst/gstplugin.c: (gst_plugin_load_file):
8286 If we fail to load a plugin because of unresolved symbols or missing
8287 libraries and spew a warning to stderr, we may just as well mention
8288 which plugin it was that failed to load.
8290 2007-05-13 David Schleef <ds@schleef.org>
8292 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8293 handles the case when ENABLE_GTK_DOC is false, and installs
8294 the prebuilt documentation. So gtk-doc subdirs are
8295 unconditionally enabled. Fixes: #349099.
8297 2007-05-13 David Schleef <ds@schleef.org>
8299 * gst/gstutils.h: Reword some documentation.
8301 2007-05-12 David Schleef <ds@schleef.org>
8303 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8304 do anything with the passed "module" parameter, so remove it.
8305 Allows removal of additional vestigal code.
8307 2007-05-12 David Schleef <ds@schleef.org>
8310 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8311 Switch to using g_stat() because it's more portable.
8313 2007-05-12 David Schleef <ds@schleef.org>
8316 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8317 parsing for embedded systems.
8318 * gst/gstelementfactory.c:
8319 Allow gst_element_register() to be called with plugin==NULL.
8320 Did nobody notice that static elements were broken?
8322 2007-05-12 Wim Taymans <wim@fluendo.com>
8324 * tools/gst-launch.c: (event_loop):
8325 Give more interesting info when buffering starts and stops.
8326 Fix case where buffering starts but we fail to update the buffering flag
8327 because the target state is not PLAYING.
8329 2007-05-12 Wim Taymans <wim@fluendo.com>
8331 * plugins/elements/gstqueue.c: (gst_queue_init),
8332 (gst_queue_finalize), (update_time_level), (apply_segment),
8333 (apply_buffer), (gst_queue_locked_flush),
8334 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8335 (gst_queue_handle_sink_event), (gst_queue_chain),
8336 (gst_queue_push_one), (gst_queue_loop):
8337 * plugins/elements/gstqueue.h:
8338 Refactor an cleanup queue a bit.
8339 Do better time level calculations that also work when the srcpad is not
8341 Remove some unneeded debug lines.
8343 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8344 Added testcase for time level measurement.
8345 Try to make some stuff more racefree.
8347 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8349 * gst/gsturi.c: (gst_element_make_from_uri):
8350 Don't leak plugin feature.
8352 * tests/check/Makefile.am:
8353 * tests/check/gst/.cvsignore:
8354 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8355 Add brain-dead unit test.
8357 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8359 Patch by: Jeroen Wouters <woutersj at gmail com>
8361 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8362 Treat protocol strings in a case-insensitive way (#437563).
8364 2007-05-11 Michael Smith <msmith@fluendo.com>
8366 * gst/gstplugin.c: (gst_plugin_load_file):
8367 * gst/gstregistry.c: (gst_registry_scan_path_level):
8368 Don't print a g_warning for any failure to load a shared object.
8369 Instead, push this down into gstplugin.c, and warn _only_ if we
8370 failed to open the module (i.e. failure to link).
8371 Avoids warnings on normal, working, non-plugin .so files.
8373 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8375 * gst/gstplugin.c (gst_plugin_load_file):
8376 * gst/gstregistry.c (GST_CAT_DEFAULT,
8377 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8378 Print a g_warning if there was an error when loading a plugins during
8379 registry scan. The shuld help beginners starting with gst-plugin
8382 2007-05-10 Wim Taymans <wim@fluendo.com>
8384 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8385 (update_time_level), (gst_queue_locked_flush),
8386 (gst_queue_handle_sink_event), (gst_queue_chain),
8387 (gst_queue_push_one), (gst_queue_loop):
8388 * plugins/elements/gstqueue.h:
8389 Be smarter when calculating the current amount of data in the queue by
8390 measuring the difference between start and end timestamps (in running
8391 time) inside the queue. Fixes #432876.
8392 API: GstQueue::pushing to notify elements that we are pushing data again
8393 since the running signal is rather broken for this purpose.
8395 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8397 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8398 gst_queue_base_init, gst_queue_init):
8401 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8403 * win32/common/libgstreamer.def:
8404 Add new exported functions.
8405 * win32/vs6/grammar.dsp:
8406 Use grammar pre-generated files.
8408 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8410 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8413 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8415 * gst/gstutils.c: (gst_parse_bin_from_description):
8417 Maintain API and ABI when --disable-parse is used. Now that
8418 we have an appropriate error code, we can just return NULL and the
8419 appropriate error when gst_parse_launch() is used despite it having
8420 been disabled (#342564).
8422 * tests/check/Makefile.am:
8423 * tests/check/pipelines/.cvsignore:
8424 * tests/check/pipelines/parse-disabled.c:
8425 Make sure these functions exist and return NULL plus a GError when
8426 --disable-parse is used.
8428 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8430 * tests/benchmarks/complexity.c: (main):
8431 * tests/benchmarks/mass-elements.c: (main):
8432 Set a good example and don't leak messages.
8434 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8436 * docs/gst/Makefile.am:
8437 * docs/libs/Makefile.am:
8438 Correct fixxrefs options.
8440 * docs/plugins/Makefile.am:
8441 * docs/plugins/gstreamer-plugins-docs.sgml:
8442 * docs/plugins/gstreamer-plugins-sections.txt:
8443 * plugins/elements/Makefile.am:
8444 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8445 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8446 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8447 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8448 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8449 _GstCapsFilterClass, trans_class):
8450 * plugins/elements/gstelements.c (name, rank, type, _elements):
8451 * plugins/elements/gstidentity.c
8452 (gst_identity_check_imperfect_timestamp,
8453 gst_identity_check_imperfect_offset):
8454 Document capsfilter and add doc-blurb to identity.
8456 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8458 * libs/gst/controller/gstcontroller.c:
8459 (gst_controlled_property_set_interpolation_mode):
8460 * libs/gst/controller/gstinterpolation.c:
8461 Don't crash if someone tries to set an interpolation mode that
8462 is invalid or that isn't supported yet. Fixes #422295.
8464 * tests/check/libs/controller.c: (GST_START_TEST),
8465 (gst_controller_suite):
8466 Add a test case for the above.
8468 2007-05-03 Edward Hervey <edward@fluendo.com>
8470 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8471 Properly set the last_stop position on GstSegment. This will only happen
8472 if there is a buffer to push out.
8474 2007-05-03 Wim Taymans <wim@fluendo.com>
8476 * libs/gst/base/gstbasetransform.c:
8477 (gst_base_transform_buffer_alloc):
8478 always_in_place does not mean that the sink and source caps are the
8479 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8481 2007-05-03 Wim Taymans <wim@fluendo.com>
8483 * docs/libs/gstreamer-libs-sections.txt:
8484 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8485 (gst_base_src_default_query), (gst_base_src_get_range):
8486 * libs/gst/base/gstbasesrc.h:
8487 API: gst_base_src_query_latency(). Added method so that subclasses can
8488 easily get the latency values of the base source class.
8490 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8492 * tools/gst-inspect.c (print_implementation_info):
8495 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8497 * tools/Makefile.am:
8498 * tools/gst-launch.1.in:
8499 Don't create a customised man page based on the host architecture,
8500 describe the default registry path generically. That way the man
8501 page is the same for all architectures and packagers have one
8502 multilib issue less to deal with. Fixes #434926.
8504 2007-05-02 Wim Taymans <wim@fluendo.com>
8507 Fix documentation as spotted by rg on IRC.
8509 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8512 Improve docs for gst_element_{link,unlink}.
8514 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8516 * docs/design/part-events.txt:
8517 * docs/design/part-overview.txt:
8521 * libs/gst/base/gstbasesink.c:
8522 Typo fixes; minor docs addition.
8524 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8526 * docs/gst/gstreamer-sections.txt:
8527 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8528 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8530 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8531 or src that supports a given URI protocol exists.
8533 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8535 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8536 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8537 Set the location to NULL if "file://" is set as URI. Otherwise
8538 some random previous URI would still be set if "file://" is
8539 set on an already used filesink/filesrc.
8541 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8543 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8544 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8545 Special case the "file://" URI as as this is used by some
8546 applications to test with gst_element_make_from_uri if there's
8547 an element that supports the URI protocol.
8548 Also move the g_path_is_absolute() check for the location part
8549 of the URI to also check this for "file://localhost/bla" URIs.
8551 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8553 * docs/gst/gstreamer-sections.txt:
8554 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8556 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8558 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8560 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8562 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8563 (gst_registry_binary_load_pad_template),
8564 (gst_registry_binary_load_plugin),
8565 (gst_registry_binary_read_cache):
8566 * gst/gstregistrybinary.h:
8567 Implement no-mmap alternative for registry reading. Do code cleanups.
8568 Add more comments about avoiding strdups for all text data. Comments
8571 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8573 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8574 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8575 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8576 Comment structs and reformat to fix the build (that stuff should go
8577 into a priv. header).
8579 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8581 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8582 (gst_registry_binary_load_feature):
8583 * gst/gstregistrybinary.h:
8584 Refactor so that we can implement multiple features. Add support for
8585 TypeFindFactory features.
8587 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8589 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8592 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8594 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8596 * gst/gstbin.c: (gst_bin_element_set_state),
8597 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8598 (bin_handle_async_done), (gst_bin_handle_message_func):
8599 Fix build with --gst-disable-gst-debug
8601 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8603 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8604 Make sure streaming has finished before calling the ::stop() vfunc,
8605 since that vfunc might clear state which is being used in the
8606 streaming thread. This fixes a race that caused crashes in
8607 audioresample when shutting down a pipeline (#420106).
8609 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8611 * docs/gst/gstreamer-sections.txt:
8612 That was one byte missing.
8614 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8617 * docs/gst/gstreamer-sections.txt:
8619 * gst/gstconfig.h.in:
8620 * gst/gstobject.c: (gst_object_class_init),
8621 (gst_signal_object_class_init):
8623 2nd attempt to have a xml-less build as a joined effort of #413123
8626 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8628 * docs/design/draft-tagreading.txt:
8629 Added open issues/thoughts to draft.
8631 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8633 * gst/parse/grammar.tab.pre.c:
8634 * gst/parse/grammar.tab.pre.h:
8635 * gst/parse/lex._gst_parse_yy.pre.c:
8636 Update the prebuild parser sources.
8638 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8640 * gst/parse/Makefile.am:
8641 And now fix the building of the flex sources. Now everything should
8644 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8646 * gst/parse/Makefile.am:
8647 Now hopefully fix the build failures by setting proper rule
8648 dependencies and moving instead of copying.
8650 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8652 * tests/benchmarks/complexity.gnuplot:
8653 * tests/benchmarks/complexity.scm:
8654 * tests/benchmarks/mass-elements.gnuplot:
8655 * tests/benchmarks/mass-elements.scm:
8656 Total licensification.
8658 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8660 * gst/parse/Makefile.am:
8661 Fix the build by correcting the rule that gave wrong files to flex.
8663 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8665 * tests/benchmarks/complexity.c:
8666 * tests/benchmarks/mass-elements.c:
8667 Change licence to LGPL as granted by Benjamin and Andy.
8669 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8671 * gst/parse/Makefile.am:
8672 Add correct grammar.tab.h dependency if compiling without new enough
8673 flex. Fixes #431150.
8675 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8677 * gst/parse/Makefile.am:
8678 Fix typo and use outdated sources if the flex/bison sources are newer
8679 than the pregenerated ones but flex is too old. Print a warning in
8680 that case. This should fix the build on the build bot.
8682 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8684 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8685 * gst/parse/Makefile.am:
8686 * gst/parse/grammar.y:
8687 * gst/parse/parse.l:
8688 Make the parser reentrant and recursively callable. This requires flex
8689 >= 2.5.31, for older versions pregenerated sources are used as we
8690 can't bump the build dependency. Finally fixes #349180.
8692 * gst/gstparse.c: (gst_parse_launch):
8693 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8696 * docs/gst/Makefile.am:
8697 * docs/gst/Makefile.am:
8698 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8699 (__gst_parse_strfree), (__gst_parse_link_new),
8700 (__gst_parse_link_free), (__gst_parse_chain_new),
8701 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8702 (gst_parse_element_set), (gst_parse_free_link),
8703 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8704 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8705 (_gst_parse_launch):
8706 * gst/parse/grammar.tab.pre.h:
8707 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8708 (yy_get_previous_state), (yy_try_NUL_trans), (input),
8709 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8710 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8711 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8712 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8713 (_gst_parse_yypop_buffer_state),
8714 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8715 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8716 (yy_fatal_error), (_gst_parse_yyget_extra),
8717 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8718 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8719 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8720 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8721 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8722 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8723 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8724 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8725 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8726 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8727 (_gst_parse_yyfree):
8728 If the installed flex version is too old use pre-generated parser
8729 sources. These pre-generated parser sources are always updated when
8730 the actual flex/bison sources change but require everybody who wants
8731 to change something in the parser to have flex >= 2.5.31 installed.
8733 2007-04-18 Stefan Kost <ensonic@users.sf.net>
8735 * common/m4/gst-gettext.m4:
8736 * gst/gst-i18n-lib.h:
8737 Make --disable-nls to work
8739 2007-04-17 Wim Taymans <wim@fluendo.com>
8741 * gst/gstconfig.h.in:
8742 Revert previous change that broke the build.
8744 2007-04-17 Stefan Kost <ensonic@users.sf.net>
8748 * gst/gstconfig.h.in:
8749 Drop libxml2 dependency when building with
8750 --enable-binary-registry --disable-loadsave
8752 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
8754 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8755 (gst_registry_binary_read_cache):
8756 * gst/gstregistrybinary.h:
8757 Remove unnecessary <sys/mman.h> include which broke the win32 build
8758 with MingW; move includes from header file to .c file, even if the
8759 header file isn't installed; use g_strerror() where UTF-8 strings
8760 are expected, such as in GST_DEBUG messages.
8762 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8764 * docs/libs/gstreamer-libs-sections.txt:
8765 Remove bogus addition for API I didn't end up keeping.
8767 * libs/gst/base/gstbasesrc.h:
8768 Mention Since: 0.10.13 in the documentation.
8770 Add the API keyword to the previous ChangeLog entry.
8772 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8774 * docs/libs/gstreamer-libs-sections.txt:
8775 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8776 (gst_base_src_default_prepare_seek_segment),
8777 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8778 * libs/gst/base/gstbasesrc.h:
8779 Allow basesrc derived classes to execute seeks in other formats
8780 by providing a prepare_seek_segment vmethod. Sub-classes can choose
8781 to prepare the GstSegment in any format that their perform_seek method
8782 will be able to understand. The default implementation provides the
8783 old behaviour of attempting to convert the seek offsets to the
8784 configured native format.
8786 API: basesrc::prepare_seek_segment vmethod.
8788 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8790 * gst/gstelement.c: (gst_element_get_state_func):
8791 Don't output the same debug statement twice.
8793 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8794 (gst_adapter_peek), (gst_adapter_take_buffer):
8795 Optimise the case where we have buffers at the head of the queue that
8796 can be joined quickly (because they're contiguous sub-buffers) by
8797 merging them together rather than copying data out into new memory.
8799 * gst/parse/grammar.y:
8800 * tests/check/pipelines/parse-launch.c:
8801 Fix a leak in an error path for parse_launch, and add a check
8802 for it to the testsuite.
8804 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8806 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8807 Don't deadlock when releasing a pad - gst_pad_set_active may try
8808 and take the multiqueue lock too.
8810 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
8812 * gst/gsterror.c: (_gst_core_errors_init):
8814 API: add GST_CORE_ERROR_DISABLED (#392804).
8816 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8818 * docs/faq/gst-uninstalled:
8819 don't get empty paths on the PATH variables
8820 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
8821 Don't format for the uncommon terminal width of 84 characters.
8823 2007-04-06 Wim Taymans <wim@fluendo.com>
8825 * gst/gstpipeline.c: (reset_stream_time),
8826 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8827 Only try to select a different pipeline clock when we went back to
8828 PAUSED and not when we merely got flushed.
8830 2007-04-05 Michael Smith <msmith@fluendo.com>
8832 * tools/gst-launch.1.in:
8833 fractions are better supported in gstreamer than ractions, so
8834 suggest using those.
8836 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
8838 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8842 Added Danish translation.
8844 2007-04-05 Wim Taymans <wim@fluendo.com>
8846 * libs/gst/base/gstbasesink.c:
8847 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
8848 Fix leak caused when refusing newsegment after EOS.
8850 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8851 (gst_fake_sink_init), (gst_fake_sink_set_property),
8852 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
8853 (gst_fake_sink_render), (gst_fake_sink_change_state):
8854 * plugins/elements/gstfakesink.h:
8855 Add num-buffers property to make the element generate EOS after a
8856 configurable amount of buffers.
8857 API: fakesink::num-buffers property.
8859 * tests/check/elements/fakesink.c: (GST_START_TEST),
8861 Fix GstBus leak in test.
8862 Test for fakesink num-buffers.
8864 2007-04-05 Wim Taymans <wim@fluendo.com>
8866 * libs/gst/base/gstbasesink.c:
8867 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
8868 (gst_base_sink_change_state):
8869 Don't accept anything after an EOS, return UNEXPECTED instead.
8871 * tests/check/elements/fakesink.c: (GST_START_TEST),
8873 Unit test for new EOS behaviour.
8875 2007-04-05 Wim Taymans <wim@fluendo.com>
8877 * gst/gstelement.c: (gst_element_get_request_pad):
8878 Make padtemplates also work when they don't contain %s or %d.
8880 2007-04-05 Wim Taymans <wim@fluendo.com>
8882 * docs/gst/gstreamer-sections.txt:
8883 * gst/gstclock.c: (gst_clock_adjust_unlocked),
8884 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
8886 Improve _adjust_unlocked() so that it overflows less.
8887 Add gst_clock_unadjust_unlocked to convert from external time to
8888 internal time based on calibration.
8889 Add some more debug.
8890 API: GstClock::gst_clock_unadjust_unlocked()
8892 2007-04-03 Wim Taymans <wim@fluendo.com>
8894 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8896 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8897 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
8898 when releasing sink pad. Fixes #425400.
8900 2007-04-02 Stefan Kost <ensonic@users.sf.net>
8902 * docs/random/ensonic/dynlink.txt:
8903 More work on proposal for new core api.
8905 * docs/libs/gstreamer-libs-sections.txt:
8906 * libs/gst/base/gstbasetransform.h:
8907 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
8909 * libs/gst/controller/gstcontroller.c:
8910 (on_object_controlled_property_changed),
8911 (gst_controller_sync_values),
8912 (gst_controller_set_interpolation_mode):
8913 * libs/gst/controller/gstcontroller.h:
8914 Less verbose logging add docs for unimplemented parts and correctly
8915 return when using unavailable parts.
8917 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
8919 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
8920 Move all the debug to the CLOCK category, and associate it with
8923 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
8925 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
8926 Make take_buffer a bit quicker by removing redundant checks
8927 caused by calling gst_adapter_take.
8929 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
8931 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
8934 * tests/check/Makefile.am:
8935 * tests/check/elements/.cvsignore:
8936 * tests/check/elements/multiqueue.c: (setup_multiqueue),
8937 (GST_START_TEST), (multiqueue_suite):
8938 Add some dead simple unit tests for the 'multiqueue' element
8939 (some bits don't work yet and are disabled for now).
8941 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
8943 * gst/gstelement.c: (gst_element_get_request_pad),
8944 (gst_element_class_get_request_pad_template):
8945 Make gst_element_get_request_pad() create request pads only for
8946 request pad templates and not for, say, sometimes pad templates.
8948 2007-03-28 Stefan Kost <ensonic@users.sf.net>
8950 * docs/design/draft-klass.txt:
8951 Add example that needs more thinking.
8953 * docs/design/draft-missing-plugins.txt:
8954 More thoughts about wrapper plugins.
8956 * docs/random/ensonic/embedded.txt:
8957 * docs/random/ensonic/profiling.txt:
8960 2007-03-25 Wim Taymans <wim@fluendo.com>
8962 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
8963 (gst_base_src_loop):
8964 Only push the segment events in the PLAYING state for live sources.
8966 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
8968 * gst/gstpipeline.c: (gst_pipeline_change_state):
8969 Modify the clock distribution path in PAUSED->PLAYING so that we
8970 never attempt to choose a new clock unless we're actually leaving
8971 the PAUSED state for the first time. This prevents choosing a
8972 different clock when the state_change gets called for a 2nd time due
8973 to some element doing an async state change.
8975 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
8977 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
8978 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
8979 (gst_pad_chain_unchecked), (gst_pad_push):
8980 Revert last commit. This needs some more thoughts.
8982 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
8984 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
8985 (gst_pad_chain_unchecked), (gst_pad_push):
8986 Check in set_caps if the caps are compatible with the pad and remove
8987 two functions that are redundant now. Fixes #421543.
8989 2007-03-22 Wim Taymans <wim@fluendo.com>
8991 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
8992 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
8993 Unref some more to make valgrind happy.
8995 2007-03-22 Wim Taymans <wim@fluendo.com>
8997 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
8998 (gst_system_clock_id_wait_jitter),
8999 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9000 Fix anoying regression that survived a few releases. When adding an
9001 async entry while blocking on a sync entry, the sync entry will unblock
9002 but still be busy, so it should continue to wait instead of returning
9004 Add some comments here and there.
9006 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9007 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9008 Add testcase for this.
9010 2007-03-22 Wim Taymans <wim@fluendo.com>
9012 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9013 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9014 WRONG_STATE and can silently pause the task. All other cases should
9017 2007-03-22 Wim Taymans <wim@fluendo.com>
9019 Patch by: Ville Syrjala <syrjala at sci dot fi>
9021 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9022 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9025 2007-03-21 Michael Smith <msmith@fluendo.com>
9027 * docs/pwg/advanced-types.xml:
9028 Fix some errors in the typefinding docs pointed out on irc.
9030 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9032 * libs/gst/base/gstbasesrc.c:
9033 Clarify FIXME comment in the face of having added unlock_stop()
9035 2007-03-21 Wim Taymans <wim@fluendo.com>
9037 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9038 Prepare for release where we warn against possible app breakage in the
9039 case of live pipelines along with an env var to enable/disable live
9040 preroll mode (GST_COMPAT=[no-]live-preroll).
9042 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9044 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9045 So we should use correct constants for checking for None offset.
9047 2007-03-20 Wim Taymans <wim@fluendo.com>
9049 * docs/design/part-block.txt:
9050 Mention the fact that the newly switched element should be set to at
9053 2007-03-20 Wim Taymans <wim@fluendo.com>
9056 Fix compilation with registry disabled as spotted by Saur.
9058 2007-03-20 Wim Taymans <wim@fluendo.com>
9060 Patch by: Olivier Crete <tester at tester dot ca>
9062 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9063 Look at the pending state too when syncing the element state to the
9064 parent. Fixes #420133.
9066 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9068 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9069 (gst_base_sink_change_state):
9070 * libs/gst/base/gstbasesink.h:
9071 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9072 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9073 (gst_base_src_deactivate):
9074 * libs/gst/base/gstbasesrc.h:
9075 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9076 for sub-classes to correctly clear any state they set trying to
9077 unlock, such as clearing out unlock commands from a command fd.
9078 API: basesrc::unlock_stop
9079 API: basesink::unlock_stop
9081 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9082 (gst_fd_sink_render), (gst_fd_sink_unlock),
9083 (gst_fd_sink_unlock_stop):
9084 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9085 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9086 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9088 Implement unlock_stop in fdsrc and fdsink.
9089 Implement seeking in fdsrc when a seekable fd is passed, as in
9090 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9092 2007-03-19 Wim Taymans <wim@fluendo.com>
9094 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9096 * gst/gstelement.c: (gst_element_class_init):
9097 Fix pad-added and pad-removed signal signatures so that the pad type is
9098 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9100 2007-03-19 Wim Taymans <wim@fluendo.com>
9102 * docs/gst/gstreamer-sections.txt:
9103 Add new element field and method.
9105 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9106 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9107 (gst_bin_recalc_state), (gst_bin_get_state_func),
9108 (gst_bin_element_set_state), (gst_bin_change_state_func),
9109 (gst_bin_continue_func), (bin_bus_handler),
9110 (bin_push_state_continue), (bin_handle_async_start),
9111 (bin_handle_async_done), (gst_bin_handle_message_func):
9112 Make async state changes a bit smarter by using new ASYNC_START and
9113 ASYNC_DONE messages. This reduces the number of times we run the state
9114 recalculation thread.
9115 Don't change state of element with a pending ASYNC_START message.
9116 Deprecate STATE_DIRTY messages.
9118 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9119 (gst_element_get_state_func), (gst_element_continue_state),
9120 (gst_element_lost_state), (gst_element_set_state_func),
9121 (gst_element_change_state):
9123 Keep the state that was last set by the app in a new element field.
9124 Don't allow state changes when handling an element event.
9125 Post ASYNC_START and ASYNC_DONE messages.
9126 Change lost_state so that we go to PAUSED and wait for the parent to set
9127 us to PLAYING again (so latency calculation can be performed)
9128 Export gst_element_change_state() method so that subclasses can use it.
9129 API: gst_element_change_state()
9130 API: GST_STATE_TARGET
9132 * gst/gstpipeline.c: (gst_pipeline_class_init),
9133 (reset_stream_time), (gst_pipeline_change_state),
9134 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9135 Using the new ASYNC_START message we can reset the base_time when
9136 needed. This can then be used to implement base_time redistribution in
9137 flushing seeks so that we can remove the explicit seek handling.
9138 Perform latency query and configuration when going to PLAYING.
9140 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9141 (gst_base_sink_query), (gst_base_sink_change_state):
9142 Post new ASYNC_START/ASYNC_DONE messages.
9144 * tests/check/generic/sinks.c: (GST_START_TEST):
9145 Fix test because the bin will not set the async element to PLAYING right
9148 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9149 Make the message check a little stronger.
9150 Handle ASYNC messages.
9152 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9153 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9154 Expect ASYNC_DONE messages.
9156 2007-03-19 Wim Taymans <wim@fluendo.com>
9158 * docs/gst/gstreamer-sections.txt:
9159 * gst/gstmessage.c: (gst_message_new_async_start),
9160 (gst_message_new_async_done), (gst_message_parse_info),
9161 (gst_message_parse_async_start):
9163 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9166 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9168 * tools/gst-inspect.c:
9169 (print_plugin_automatic_install_info_codecs):
9170 Now that we don't check for the 'Codec' keyword any longer in the
9171 klass, we shouldn't spew a warning if the klass isn't a decoder or
9172 encoder (since it might be a Source/Network, for example).
9174 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9176 * tools/gst-inspect.c:
9177 (print_plugin_automatic_install_info_codecs):
9178 Don't require decoder/demuxer/depayloader elements or
9179 encoder/muxer/paylader elements to have 'Codec' as part of their
9180 factory class string when introspecting a plugin's capabilities.
9181 draft-klass.txt mentions that it might be removed in future, and
9182 flump3dec doesn't have it as part of its class string, so chances
9183 are others might also not have it.
9185 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9207 Update translations from translation project
9209 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9211 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9212 (gst_child_proxy_set_property):
9213 Invert precondition check to be alike the ones in the mimiced gobject
9216 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9218 * docs/design/draft-tagreading.txt:
9219 * docs/random/ensonic/audiobaseclasses.txt:
9220 Do some Architect work.
9222 * gst/gstobject.c: (gst_object_set_name):
9226 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9228 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9230 * gst/gstsystemclock.c: (gst_system_clock_init),
9231 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9232 Defer starting the async system clock thread until the first async
9233 wait is scheduled. Fixes #414986.
9235 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9237 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9238 (gst_single_queue_free):
9239 Fix small leak (free GstSingleQueue structure too, not only contents).
9241 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9243 * gst/gstbin.c:(gst_bin_add):
9244 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9245 * win32/common/libgstbase.def:
9246 * win32/common/libgstreamer.def:
9247 Add new exported functions.
9249 2007-03-09 Wim Taymans <wim@fluendo.com>
9251 * docs/plugins/gstreamer-plugins-sections.txt:
9254 2007-03-09 Wim Taymans <wim@fluendo.com>
9256 * docs/gst/gstreamer-sections.txt:
9257 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9259 Add metadata copy functions. Fixes #393099.
9260 API: gst_buffer_copy_metadata()
9262 * gst/gstutils.c: (gst_buffer_stamp):
9263 * libs/gst/base/gstbasetransform.c:
9264 (gst_base_transform_prepare_output_buffer):
9265 Use new metadata copy functions.
9267 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9269 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9270 (gst_identity_init), (gst_identity_check_perfect),
9271 (gst_identity_check_imperfect_timestamp),
9272 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9273 (gst_identity_set_property), (gst_identity_get_property):
9274 * plugins/elements/gstidentity.h:
9275 Separate out check-imperfect-timestamp and check-imperfect-offset.
9276 Put back check-perfect as it was to keep compatibility.
9278 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9280 * gst/gstelement.c: (gst_element_dispose):
9281 There's no need to warn if VOID_PENDING is not NONE here, as
9282 long as the state is NULL it's ok, and that's checked immediately
9285 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9287 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9288 Fix check for perfect stream to ignore buffers with -1
9289 offsets/offset ends when checking data contiguity.
9291 2007-03-08 Wim Taymans <wim@fluendo.com>
9293 * tools/gst-launch.c: (event_loop):
9294 Print INFO messages.
9296 2007-03-08 Wim Taymans <wim@fluendo.com>
9298 * libs/gst/base/gstbasetransform.c:
9299 (gst_base_transform_sink_eventfunc),
9300 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9301 (gst_base_transform_activate):
9302 * libs/gst/base/gstbasetransform.h:
9303 Add support for dropping buffers with custom GstFlowReturn.
9304 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9305 buffers or dropped buffers.
9307 * docs/libs/gstreamer-libs-sections.txt:
9308 docs for new custom return code.
9310 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9311 Use drop support in base class to implement drop-probability.
9313 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9315 * gst/gst.c: (load_plugin_func):
9316 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9317 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9318 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9319 Remove newlines at end of debug log strings.
9321 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9323 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9324 Only post bus message at max, once per buffer received.
9326 2007-03-07 Wim Taymans <wim@fluendo.com>
9328 * docs/design/Makefile.am:
9329 * docs/design/part-synchronisation.txt:
9330 Add doc about synchronisation
9332 * docs/design/draft-latency.txt:
9333 * docs/design/part-TODO.txt:
9334 * docs/design/part-clocks.txt:
9335 * docs/design/part-events.txt:
9336 * docs/design/part-gstbus.txt:
9337 * docs/design/part-gstpipeline.txt:
9338 * docs/design/part-live-source.txt:
9339 * docs/design/part-messages.txt:
9340 * docs/design/part-overview.txt:
9341 * docs/design/part-streams.txt:
9342 * docs/design/part-trickmodes.txt:
9343 Documentation updates.
9345 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9348 Update the doap file.
9350 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9352 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9353 Rename non-perfect to imperfect for Mike and for the sanctity of the
9355 Also make sure bus message gets emitted for data-incontiguities.
9357 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9359 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9360 (gst_identity_start):
9361 * plugins/elements/gstidentity.h:
9362 Emit bus message if check-perfect is true and we encounter a
9363 non-perfect stream between 2 consecutive buffers.
9366 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9371 === release 0.10.12 ===
9373 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9376 releasing 0.10.12, "Inevitable Demise"
9378 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9381 Version 0.10.11.2 (0.10.12 pre-release)
9382 Bump libtool versioning.
9384 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9386 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9387 Log flow-names and not numbers.
9389 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9392 Convert to new AG_GST style.
9394 2007-02-28 Wim Taymans <wim@fluendo.com>
9396 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9397 Don't unref query twice.
9399 2007-02-28 Wim Taymans <wim@fluendo.com>
9401 * gst/gstvalue.c: (gst_value_transform_object_string),
9402 (_gst_value_initialize):
9403 Implement GstObject -> string transform so we print object names
9404 when serializing GValues containing GstObjects.
9406 2007-02-28 Wim Taymans <wim@fluendo.com>
9408 * docs/gst/gstreamer-sections.txt:
9409 Add new stuff to docs.
9411 2007-02-28 Wim Taymans <wim@fluendo.com>
9413 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9414 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9415 (gst_base_sink_change_state):
9416 Improve latency query code.
9417 Don't leak latency events.
9419 * tests/check/gst/gstbin.c: (GST_START_TEST):
9422 2007-02-28 Wim Taymans <wim@fluendo.com>
9424 * gst/gstelement.c: (gst_element_message_full),
9425 (gst_element_get_state_func):
9427 Improve docs a little. Added Since: for new macro.
9429 * gst/gstobject.c: (gst_object_sink):
9430 * gst/gstpipeline.c: (gst_pipeline_change_state),
9431 (gst_pipeline_set_new_stream_time):
9432 * gst/gstpipeline.h:
9433 Improve debugging and docs.
9435 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9438 2007-02-28 Wim Taymans <wim@fluendo.com>
9440 * gst/gstelement.c: (gst_element_message_full),
9441 (gst_element_set_locked_state), (gst_element_get_state_func),
9442 (gst_element_change_state):
9443 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9444 Documentation updates.
9445 Small code cleanups.
9447 * gst/gstmessage.c: (gst_message_new_info),
9448 (gst_message_parse_info):
9450 API: gst_message_new_info()
9451 API: gst_message_parse_info()
9452 Add INFO message create and parse code.
9454 2007-02-28 Wim Taymans <wim@fluendo.com>
9456 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9457 (bin_query_latency_done):
9458 Also report the live parameter of a latency query.
9460 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9462 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9463 Copy the current generic/states example from -base and adapt so
9464 we can use the exact same code everywhere.
9465 Check a STATES_IGNORE_ELEMENTS env var which can be used
9466 to ignore certain element factories for this test, which is
9467 what is being done in -base
9468 * tests/check/Makefile.am:
9469 Mention this environment variable.
9471 2007-02-27 Wim Taymans <wim@fluendo.com>
9473 * docs/gst/gstreamer-sections.txt:
9474 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9475 (gst_bus_timed_pop), (gst_bus_pop):
9477 API: gst_bus_timed_pop()
9478 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9479 message to arrive on the bus.
9481 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9483 Two unit tests for new _timed_pop() function.
9485 2007-02-23 Wim Taymans <wim@fluendo.com>
9487 * gst/gstpipeline.c: (gst_pipeline_change_state),
9488 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9489 Don't ref a NULL clock in _provide_clock_func().
9490 Don't allow an INVALID delay.
9491 Don't try to calculate base_time with an invalid start_time.
9492 Also distribute and notify a NULL clock when it was selected.
9494 * tools/gst-launch.c: (event_loop):
9495 Don't crash when a NULL clock was selected in the pipeline.
9497 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9499 * docs/design/Makefile.am:
9500 * docs/design/draft-missing-plugins.txt:
9501 * docs/random/draft-missing-plugins.txt:
9502 Some small updates: update plugin system identifier prefix
9503 ('gstreamer.net' to 'gstreamer'), mention our new install
9504 API in libgstbaseutils rather than libgimme-codec, add
9505 reference to the online docs.
9507 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9509 * win32/common/config.h:
9510 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9511 use moap cl ci to only check in what is mentioned in the ChangeLog.
9513 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9515 * docs/gst/gstreamer-sections.txt:
9517 Fix up documentation to link to the correct GstGError section.
9518 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9520 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9522 * tools/gst-launch.c: (event_loop):
9523 Make sure that we actually show the important message part of a
9525 No need to check if the gerror is not NULL to free; first of all
9526 g_free accepts NULL; and second the default error handler would
9527 segfault if gerror was NULL.
9529 2007-02-21 Wim Taymans <wim@fluendo.com>
9531 * docs/gst/gstreamer-sections.txt:
9532 Removed docs as well.
9534 2007-02-21 Wim Taymans <wim@fluendo.com>
9536 * gst/gstmessage.c: (gst_message_parse_duration):
9538 Remove new messages for release.
9540 2007-02-20 Wim Taymans <wim@fluendo.com>
9542 * docs/design/part-gstghostpad.txt:
9543 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9544 (gst_ghost_pad_new_full):
9545 Make the ghostpad a parent of the internal pad again for better backward
9546 compatibility. Don't write code that relies on this however.
9548 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9549 (gst_pad_link_check_hierarchy):
9550 Require that parents should be GstElements in the hierarchy check.
9552 2007-02-20 Wim Taymans <wim@fluendo.com>
9554 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9555 (gst_bin_change_state_func), (bin_query_min_max_init),
9556 (bin_query_latency_fold), (bin_query_latency_done),
9559 Implement latency query.
9561 2007-02-20 Wim Taymans <wim@fluendo.com>
9563 * docs/design/part-gstghostpad.txt:
9564 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9565 (gst_ghost_pad_internal_do_activate_push),
9566 (gst_ghost_pad_internal_do_activate_pull),
9567 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9568 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9569 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9570 Do not set the internal pad as a parent anymore so we can avoid
9571 hierarchy linking errors when the ghostpad has no parent yet. This also
9572 fixes failed activation because of unlinked internal pads, which in
9573 turn fixes the impossible case where you have to activate a pad before
9574 you can add it to a running element.
9577 * gst/gstpad.c: (pre_activate), (post_activate),
9578 (gst_pad_set_active), (gst_pad_activate_pull),
9579 (gst_pad_activate_push), (gst_pad_check_pull_range):
9580 Add some more debug info.
9581 Mark activation mode in pre_activate so that we don't try to activate in
9582 endless loops. Fixes #385084.
9584 2007-02-19 Wim Taymans <wim@fluendo.com>
9586 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9587 (gst_base_transform_check_get_range):
9588 Implement a checkgetrange function instead of relying on the default
9589 core behaviour that assumes we can operate in pull mode if we have a
9590 getrange function. First step at fixing #385084.
9592 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9594 * gst/gstchildproxy.h:
9595 * libs/gst/base/gstbasesink.h:
9596 * libs/gst/base/gstbasesrc.h:
9597 * libs/gst/base/gstbasetransform.h:
9598 More docs coverage and some ChangeLog surgery (add missing names)
9600 2007-02-15 Wim Taymans <wim@fluendo.com>
9602 * docs/design/part-TODO.txt:
9603 * docs/design/part-activation.txt:
9604 * docs/design/part-block.txt:
9605 * docs/design/part-buffering.txt:
9606 * docs/design/part-clocks.txt:
9607 * docs/design/part-element-source.txt:
9608 * docs/design/part-events.txt:
9609 * docs/design/part-gstbin.txt:
9610 * docs/design/part-gstbus.txt:
9611 * docs/design/part-gstpipeline.txt:
9612 * docs/design/part-live-source.txt:
9613 * docs/design/part-messages.txt:
9614 * docs/design/part-overview.txt:
9615 * docs/design/part-qos.txt:
9616 * docs/design/part-query.txt:
9617 * docs/design/part-states.txt:
9618 * docs/design/part-trickmodes.txt:
9619 Some doc updates. Start renaming from stream_time to running_time where
9620 it was used wrongly.
9622 2007-02-15 Wim Taymans <wim@fluendo.com>
9624 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9625 Answer LATENCY query.
9627 2007-02-15 Wim Taymans <wim@fluendo.com>
9629 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9633 2007-02-15 Wim Taymans <wim@fluendo.com>
9635 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9636 (gst_pad_dispatcher):
9637 Improve debugging of default pad dispatcher and query functions.
9639 2007-02-15 Wim Taymans <wim@fluendo.com>
9641 * docs/gst/gstreamer-sections.txt:
9642 Remove old unused method.
9644 2007-02-13 Wim Taymans <wim@fluendo.com>
9646 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9649 2007-02-13 Wim Taymans <wim@fluendo.com>
9651 * docs/design/part-seeking.txt:
9654 * gst/gstsegment.c: (gst_segment_set_seek):
9655 Revert old bogus change that should make seeking work again.
9657 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9659 * docs/random/ensonic/dynlink.txt:
9660 * docs/random/ensonic/interfaces.txt:
9661 * docs/random/ensonic/receipies.txt:
9662 Possible dynamic reconnection api, plus some type fixes the other two
9665 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9667 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9668 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9669 Also check for an absolute path following file:// in the filesrc
9670 element. Remove redundant check and call g_path_is_absolute() on the
9673 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9675 * docs/design/draft-klass.txt:
9676 Add existing category analysis.
9679 Fix doc example, framerate is a fraction.
9681 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9684 * docs/gst/Makefile.am:
9685 * docs/gst/gstreamer-sections.txt:
9686 * docs/libs/Makefile.am:
9687 Erm, forgot a bunch of --extra-dir.
9689 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9692 * docs/gst/Makefile.am:
9693 * docs/libs/Makefile.am:
9694 * docs/plugins/Makefile.am:
9695 Add crossreferences to glib/gobject docs.
9697 2007-02-12 Wim Taymans <wim@fluendo.com>
9699 * docs/design/draft-latency.txt:
9702 * docs/libs/gstreamer-libs-sections.txt:
9703 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9704 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9705 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9706 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9707 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9708 (gst_base_sink_get_position), (gst_base_sink_query),
9709 (gst_base_sink_change_state):
9710 * libs/gst/base/gstbasesink.h:
9711 API: gst_base_sink_query_latency() to let subclasses query the upstream
9713 API: gst_base_sink_get_latency() to let subclasses query the configured
9714 latency in the sink.
9715 Implement query and set latency.
9717 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9718 don't continue preroll when we are flushing. Fixes #405284.
9720 * tests/check/pipelines/stress.c: (change_state_timeout),
9721 (quit_timeout), (GST_START_TEST), (stress_suite):
9724 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
9726 Patch by: René Stadler <mail at renestadler de>
9728 * docs/gst/gstreamer-sections.txt:
9729 * gst/gsttaglist.c: (_gst_tag_initialize):
9731 API: add GST_TAG_REFERENCE_LEVEL (#403597).
9733 2007-02-11 Stefan Kost <ensonic@users.sf.net>
9735 * docs/libs/Makefile.am:
9736 Fix path to core docs.
9738 * gst/gstbin.c: (gst_bin_get_by_interface),
9739 (gst_bin_iterate_all_by_interface):
9740 Refix docs by also renaming 'interface' to 'iface' in implementation.
9742 * docs/gst/gstreamer-sections.txt:
9744 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9745 * gst/gstchildproxy.h:
9746 * gst/gstelementfactory.c:
9747 * gst/gstpadtemplate.h:
9748 * libs/gst/controller/gstcontroller.c:
9749 (gst_controlled_property_new):
9752 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
9754 * gst/gstbin.h:(gst_bin_get_by_interface),
9755 (gst_bin_iterate_all_by_interface):
9756 Replace interface parameter name by iface as interface is
9757 a reserved keyword in Visual Studio for C++ projects so it removes
9758 a build error for application developpers using VS.
9759 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9760 Fix a bug on Windows in uri format check. Now the prefix checked
9761 is file:// and next we check if the path after file:// is absolute.
9762 * win32/common/libgstbase.def:
9763 * win32/common/libgstdataprotocol.def:
9764 * win32/common/libgstgstreamer.def:
9765 Add new exported functions.
9767 2007-02-09 Andy Wingo <wingo@pobox.com>
9769 * tests/check/pipelines/simple-launch-lines.c
9770 (simple_launch_lines_suite, test_tee): Disable tee test until I
9771 have time to fix it :-(
9773 * tests/check/Makefile.am (noinst_HEADERS):
9774 * tests/check/libs/libsabi.c:
9775 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9776 * tests/check/gst/gstabi.c:
9777 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9779 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9780 tests for push and pull tee behavior.
9782 * plugins/elements/gsttee.h:
9783 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9784 mark as deprecated as well as unimplemented. It was a crack idea.
9785 Add support for tee operating in pull mode, off by default.
9787 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9788 normal-case logs down to LOG, raise errors to WARNING.
9789 (gst_registry_xml_read_cache): Don't log before calling a function
9792 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9793 exit (registry finalize).
9794 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9795 DEBUG log when we emit signals that people don't even have the
9796 chance to connect to.
9797 (gst_registry_scan_path_level): Less logging in the normal case.
9799 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9801 Patch by: Michal Benes <michal dot benes at itonis dot tv>
9803 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9804 Correctly generate EOS for non-seekable files. We don't have a total
9805 length for them and would get an unexpected end of file if we only
9806 special-cased for regular files. (Fixes: #404569)
9808 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9810 * tests/check/elements/filesrc.c: (GST_START_TEST),
9812 Add unit test for the GstURIHandler interface in filesrc. This also
9813 tests the newly added file://localhost/foo/bar support.
9815 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
9817 * gst/gstelementfactory.h:
9818 The klass string is not a hierarchy. Add reference to the design doc
9819 for more information and common types.
9821 2007-02-02 Wim Taymans <wim@fluendo.com>
9823 * gst/gstquery.c: (gst_query_new_latency):
9824 Remove old structure field.
9826 2007-02-02 Stefan Kost <ensonic@users.sf.net>
9828 * tools/gst-launch.1.in:
9829 Give example for network streaming (#351998)
9831 2007-02-02 Wim Taymans <wim@fluendo.com>
9833 * docs/gst/gstreamer-sections.txt:
9834 Add docs for new methods.
9836 * gst/gstevent.c: (gst_event_new_latency),
9837 (gst_event_parse_latency):
9839 Add new LATENCY event to configure latency in a pipeline.
9840 API: gst_event_new_latency
9841 API: gst_event_parse_latency
9843 * gst/gstmessage.c: (gst_message_new_buffering),
9844 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
9845 (gst_message_new_latency), (gst_message_parse_buffering),
9846 (gst_message_parse_lost_preroll):
9848 Added messages used in draft-latency.
9849 API: gst_message_new_lost_preroll
9850 API: gst_message_parse_lost_preroll
9851 API: gst_message_new_prerolled
9852 API: gst_message_new_latency
9854 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
9855 (gst_query_parse_latency):
9857 Implemented new latency query as in design doc.
9858 API: gst_query_new_latency
9859 API: gst_query_set_latency
9860 API: gst_query_parse_latency
9862 2007-02-02 Wim Taymans <wim@fluendo.com>
9864 * docs/design/draft-latency.txt:
9865 Slight redesign to allow for dynamic latency adjustments.
9867 * docs/design/part-negotiation.txt:
9870 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
9872 reviewed by: Wim Taymans <wim@fluendo.com>
9874 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9875 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9876 Allow file://localhost/foo/bar URLs and correctly fail for every other
9877 hostname that one sets. This was gnomevfssrc is linked for those if
9878 installed as it can handle it (#403172)
9880 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
9882 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9884 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9885 (unref_data), (gst_collect_pads_add_pad_full):
9886 * libs/gst/base/gstcollectpads.h:
9887 Don't put the previously added destroy notify in the GstCollectData
9888 struct as all it's padding is already used and we don't want to break
9889 ABI. Instead put in the pad's GObject data for now. This should be
9890 cleaned up for 0.11 (#402393).
9892 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
9894 reviewed by: Wim Taymans <wim@fluendo.com>
9896 * docs/libs/gstreamer-libs-sections.txt:
9897 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9898 (unref_data), (gst_collect_pads_add_pad),
9899 (gst_collect_pads_add_pad_full):
9900 * libs/gst/base/gstcollectpads.h:
9901 API: Add function to specify a destroy notification for custom
9902 GstCollectData when adding new pads in GstCollectPads (#402393).
9904 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
9907 Update Swedish translation (#378255).
9909 2007-01-31 Stefan Kost <ensonic@users.sf.net>
9911 * docs/design/draft-klass.txt:
9912 Fix the previous change, this is a list of categories and not a hierarchy.
9914 2007-01-31 Stefan Kost <ensonic@users.sf.net>
9916 * docs/design/draft-klass.txt:
9917 Add info about how to get a list of used classes.
9919 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
9921 * plugins/elements/gsttypefindelement.c:
9922 (gst_type_find_element_chain_do_typefinding),
9923 (gst_type_find_element_change_state):
9924 Don't leak found caps in chain function (no idea why that never
9925 showed up as a leak anywhere).
9927 2007-01-30 Stefan Kost <ensonic@users.sf.net>
9930 Fix and expand GstPluginDesc API docs.
9932 2007-01-29 Stefan Kost <ensonic@users.sf.net>
9935 * gst/gstelementfactory.c:
9936 * gst/gstpadtemplate.h:
9939 * libs/gst/controller/gstcontroller.c:
9940 (gst_controlled_property_new):
9941 * tests/examples/controller/audio-example.c:
9944 2007-01-29 Stefan Kost <ensonic@users.sf.net>
9947 comment about refining the xml deps
9950 comments about moving away from jade for docs
9953 recommit the ifdefs to use the binary registry
9955 * gst/gstbin.c: (gst_bin_change_state_func):
9956 this break is obsolete
9958 * gst/gstelementfactory.h:
9959 better GST_ELEMENT_DETAILS docs, add comment about translation
9964 * gst/gstobject.c: (gst_signal_object_get_type):
9965 add G_UNLIKELY as usual
9967 * gst/gstpad.c: (gst_pad_event_default):
9968 add fall trhu comment
9970 * gst/gstregistrybinary.c: (gst_registry_binary_write),
9971 (gst_registry_binary_initialize_magic),
9972 (gst_registry_binary_save_string),
9973 (gst_registry_binary_save_pad_template),
9974 (gst_registry_binary_save_feature),
9975 (gst_registry_binary_save_plugin),
9976 (gst_registry_binary_write_cache),
9977 (gst_registry_binary_check_magic),
9978 (gst_registry_binary_load_pad_template),
9979 (gst_registry_binary_load_feature),
9980 (gst_registry_binary_load_plugin),
9981 (gst_registry_binary_read_cache):
9982 comment typo and formatting
9984 * gst/gstutils.c: (gst_element_state_get_name),
9985 (gst_element_state_change_return_get_name):
9986 remove obsolete breaks
9988 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9989 add FIXME 0.11 and remove cpp comment
9991 2007-01-29 Edward Hervey <edward@fluendo.com>
9993 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9994 Fix print statement in an even more portable way.
9996 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
9998 * docs/gst/gstreamer-sections.txt:
10000 API: add GST_ROUND_DOWN_* macros (#401781).
10002 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10004 * docs/gst/gstreamer.types.in:
10005 * gst/gstregistry.c: (gst_registry_class_init):
10006 Document registry signals and make gtk-doc pick them up (#401381).
10008 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10010 * docs/pwg/building-testapp.xml:
10011 Add some audioconverts and audioresample to the pipeline, and some
10012 more comments and error handling.
10014 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10016 * docs/manual/manual.xml:
10017 * docs/pwg/pwg.xml:
10018 Fix typo (#400987).
10020 2007-01-26 Wim Taymans <wim@fluendo.com>
10022 * gst/gstcaps.c: (gst_static_caps_get):
10023 Init caps flags too.
10025 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10027 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10029 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10030 If not using mmap'ed files try to seek to the end instead of the
10031 start to determine whether we can seek at all. This fixes the case
10032 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10033 seeks for everything afterwards fail. Fixes #400656
10035 2007-01-25 Wim Taymans <wim@fluendo.com>
10037 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10038 Add some refcount debugging.
10039 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10040 in multiple streaming threads.
10042 2007-01-25 Wim Taymans <wim@fluendo.com>
10044 Patch by: David Schleef <ds at schleef dot org>
10046 * docs/libs/gstreamer-libs-sections.txt:
10047 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10048 * libs/gst/base/gstadapter.h:
10049 API: gst_adapter_copy() that can reduce the amount of memcpy when
10050 getting data from the adapter. Fixes #388201.
10052 2007-01-25 Edward Hervey <edward@fluendo.com>
10054 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10055 In print statements, "%x" is for guint. Fixes build on macosx.
10057 2007-01-24 Edward Hervey <edward@fluendo.com>
10059 * plugins/elements/gstmultiqueue.c:
10060 (gst_multi_queue_loop):
10062 (single_queue_overrun_cb), (single_queue_underrun_cb),
10063 (single_queue_check_full), (gst_single_queue_new):
10064 Implement single queue growth system.
10065 This uses the extra-size properties, and will grow single queues by
10066 that much if one goes full whereas there are others empty. This is
10067 called extra-mode in the code.
10068 When a single queue's levels go back below the initial max-size
10069 limits, it is no longer in extra-mode. This is to ensure we don't
10070 consume too much memory.
10073 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10075 * gst/gst.c: (gst_init_get_option_group):
10076 Make warning about late g_thread_init() calls a bit more explicit,
10077 so that it's more obvious to application developers what they need
10078 to do if a user files a bug against their application.
10080 2007-01-22 Edward Hervey <edward@fluendo.com>
10082 * plugins/elements/gstmultiqueue.c:
10083 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10084 Remove previous hack of unsetting the flushing flag for the source pad
10085 instead of activating it. Instead, fix the source pad activate function
10086 so that it no longer depends on having a parent set or not.
10088 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10090 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10092 * docs/manual/basics-bus.xml:
10093 Fix example code, gst_element_unref() doesn't exist any longer.
10095 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10097 Patch by: Mark Nauwelaerts <manauw at skynet be>
10100 Fix two docs typoes (#399094).
10102 2007-01-19 Edward Hervey <edward@fluendo.com>
10104 * docs/faq/gst-uninstalled:
10105 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10106 depending on libgstbaseutils can work in uninstalled environment.
10108 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10110 * gst/gsttaglist.h:
10111 * gst/gsttagsetter.c:
10112 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10113 statement for new tag.
10115 2007-01-17 Edward Hervey <edward@fluendo.com>
10117 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10118 When dynamically creating single queues, activate sinkpad before adding
10120 We should be doing the same thing for the source pad, but we can't
10121 since it would call a method which needs the parent to be set in order
10122 to work propertly. Instead of activating the source pad, we just unset
10123 the flushing flag, which is the minimal requirement for adding a pad
10124 to an element in a state greater than READY.
10126 2007-01-17 Edward Hervey <edward@fluendo.com>
10128 * docs/faq/gst-uninstalled:
10129 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10132 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10134 * tests/check/gst/gstabi.c:
10135 * tests/check/gst/struct_hppa.h:
10136 * tests/check/libs/libsabi.c:
10137 * tests/check/libs/struct_hppa.h:
10138 Add ABI structs for HPPA (see #393796).
10140 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10142 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10143 Actually write ABI structs to the file specified in the GST_ABI
10144 environment variable, as the message we print claims we would.
10146 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10148 * tests/check/gst/gsttask.c:
10149 Fix header comment.
10151 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10153 * gst/gsttaglist.c: (_gst_tag_initialize):
10154 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10155 previous two entries.
10157 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10159 * docs/gst/gstreamer-sections.txt:
10160 * gst/gsttaglist.c: (_gst_tag_initialize):
10161 * gst/gsttaglist.h:
10162 Add tag support for beat-per-minute.
10164 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10166 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10167 (gst_registry_binary_initialize_magic),
10168 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10169 (gst_registry_binary_save_pad_template),
10170 (gst_registry_binary_save_feature),
10171 (gst_registry_binary_save_plugin),
10172 (gst_registry_binary_write_cache),
10173 (gst_registry_binary_check_magic),
10174 (gst_registry_binary_load_pad_template),
10175 (gst_registry_binary_load_feature),
10176 (gst_registry_binary_load_plugin),
10177 (gst_registry_binary_read_cache):
10178 * gst/gstregistrybinary.h:
10179 Use glib types, cleanup comments, impement interfaces and uri-types.
10181 2007-01-13 Andy Wingo <wingo@pobox.com>
10183 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10184 getrange() to return buffers with other caps, while we fix
10185 demuxers and typefind, or otherwise change part-negotiation.txt.
10187 2007-01-12 Andy Wingo <wingo@pobox.com>
10189 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10190 Factor start/stop into this private function instead of partially
10191 in activate functions and partially in the change_state function.
10192 Fixes setup before the element has changed from READY->PAUSED, as
10193 is the case in pull-mode pipelines.
10194 (gst_base_transform_sink_activate_push)
10195 (gst_base_transform_src_activate_pull): Refactor to use
10196 gst_base_transform_activate().
10197 (gst_base_transform_change_state): Removed, not needed any more.
10199 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10200 Truncate before fixating.
10202 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10203 Don't set_caps() if the result of fixating is ANY, as it's not
10204 supported, and not necessary in the case of a link with no
10205 template caps on either side. Fixes tests/check/libs/basesrc in
10206 some pull-mode tests.
10208 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10209 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10210 (gst_base_transform_src_activate_pull):
10211 Track the activation mode.
10212 (gst_base_transform_setcaps): In pull mode, when activating the
10213 src pad, after activating the sink pad, activate the sink pad's
10214 peer, as discussed in part-negotiation.txt.
10216 * libs/gst/base/gstbasesrc.h:
10217 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10218 vmethod, as in basesink.
10220 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10222 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10223 mode, first proxy the setcaps to the peer pad.
10224 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10225 new fixate vmethod.
10226 (gst_base_sink_default_activate_pull): Rename from
10227 gst_base_sink_activate_pull.
10228 (gst_base_sink_negotiate_pull): New function, performs negotiation
10229 in pull mode before calling ::activate_pull().
10230 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10231 vmethod instead of the default implementation. I have no idea how
10232 this worked before. Negotiate before calling activate_pull.
10234 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10235 sink pads in pull mode. In addition to being correct, fixes
10236 filesrc ! decodebin ! identity ! fakesink.
10237 (gst_pad_get_range, gst_pad_pull_range): Don't call
10238 gst_pad_set_caps() if the caps changes; instead error out with
10239 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10241 2007-01-12 Andy Wingo <wingo@pobox.com>
10243 * docs/design/part-negotiation.txt: Update with more policy.
10245 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10247 * libs/gst/check/gstbufferstraw.h:
10248 * libs/gst/check/gstcheck.h:
10249 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10252 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10254 * tests/check/Makefile.am:
10255 * tests/check/gst/.cvsignore:
10256 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10257 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10258 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10259 (GST_START_TEST), (gst_tag_setter_suite):
10260 Add minimal unit test for beforementioned GstTagSetter bug.
10262 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10264 Patch by: René Stadler <mail at renestadler dot de>
10266 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10267 gst_tag_list_merge() returns a new list, so it's not the best idea
10268 to ingore its return value. Effectively meant that tags could only
10269 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10270 Also add function guard to require a non-NULL taglist as input (has
10271 always been so due to gst_tag_list_copy(), just making it explicit).
10273 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10275 * docs/random/draft-missing-plugins.txt:
10276 Some additions: mention new API that is supposed to be used at the
10277 various stages; short blob about new gst-inspect introspection
10278 option; mention potential future problem with plugins that have
10279 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10281 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10283 * tools/gst-inspect.c:
10284 (print_plugin_automatic_install_info_codecs),
10285 (print_plugin_automatic_install_info_protocols),
10286 (print_plugin_automatic_install_info), (main):
10287 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10288 introspect plugin files and get machine-parsable output that corresponds
10289 to the last bit of the missing-plugin installer string (small gotcha:
10290 doesn't take into account ranks).
10292 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10295 * docs/gst/gstreamer-sections.txt:
10297 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10298 (gst_registry_lookup_locked):
10299 * gst/gstregistry.h:
10300 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10301 (gst_registry_binary_initialize_magic),
10302 (gst_registry_binary_save_string),
10303 (gst_registry_binary_save_pad_template),
10304 (gst_registry_binary_save_feature),
10305 (gst_registry_binary_save_plugin),
10306 (gst_registry_binary_write_cache),
10307 (gst_registry_binary_check_magic),
10308 (gst_registry_binary_load_pad_template),
10309 (gst_registry_binary_load_feature),
10310 (gst_registry_binary_load_plugin),
10311 (gst_registry_binary_read_cache):
10312 * gst/gstregistrybinary.h:
10313 * gst/gstregistryxml.c: (load_feature),
10314 (gst_registry_xml_read_cache):
10315 commit binary registry (disabled by default, see #359653)
10317 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10319 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10320 Fix 'make check' too.
10322 2007-01-10 Andy Wingo <wingo@pobox.com>
10324 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10327 * docs/design/part-negotiation.txt: Update with, um, one way that
10328 pull-mode negotiation might work?
10331 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10332 that the pad must be a src pad; makes sense to call it the other
10333 way in pull mode, and the logic is symmetric anyway.
10335 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10337 * plugins/elements/gstfilesink.c:
10338 Include <stdio.h> for fseeko().
10340 2007-01-10 Wim Taymans <wim@fluendo.com>
10344 Reserve LATENCY event.
10346 2007-01-09 Wim Taymans <wim@fluendo.com>
10348 * docs/design/draft-latency.txt:
10351 2007-01-09 Wim Taymans <wim@fluendo.com>
10353 * docs/design/draft-latency.txt:
10356 * gst/gstelement.h:
10357 * gst/gststructure.c:
10361 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10363 * tests/check/.cvsignore:
10364 Ignore test-registry.xml as well.
10366 2007-01-09 Wim Taymans <wim@fluendo.com>
10368 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10369 unref data at the end when we are done with the pad.
10371 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10373 * docs/gst/gstreamer-sections.txt:
10374 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10375 (init_post), (gst_deinit), (gst_update_registry):
10377 API: add gst_update_registry() (#391296).
10379 * tests/check/Makefile.am:
10380 * tests/check/gst/gstregistry.c:
10381 * tests/check/gst/.cvsignore:
10382 Simple unit test for the above.
10384 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10386 * gst/gstregistry.c: (gst_registry_scan_path_level):
10387 Plugin extension on HP-UX is .sl, add that to the list of approved
10388 plugin extensions (see #393796).
10390 * tests/check/gst/gstpad.c: (GST_START_TEST):
10391 ulong => gulong. Fixes compilation with HP-UX compiler.
10393 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10394 Fix compilation if valgrind headers are not available.
10396 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10398 * win32/common/libgstreamer.def:
10399 Add new exported function.
10400 * win32/vs6/libgstbase.dsp:
10401 Add gstdataqueue.c to the build.
10402 * win32/vs6/libgstcoreelements.dsp:
10403 Add gstmultiqueue.c to the build.
10405 2007-01-06 Andy Wingo <wingo@pobox.com>
10407 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10408 activate_pull(), providing for a way to specialize the process of
10409 spawning a thread to pull on the sink pad. There is a default
10412 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10413 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10414 (gst_base_sink_init): Renamed pad activation functions (inserting
10415 "_pad" in their names). Refactor to use the new activate_pull
10416 vmethod, as appropriate.
10417 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10418 default activate_pull function to start a task pulling from the
10419 sink pad, as before.
10421 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10422 on the pads if necessary, as in push()/chain(). Update docs.
10423 Shouldn't affect existing pull() usage as it is currently only
10424 being used on buffers without caps.
10426 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10428 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10430 Call g_thread_init() first thing in gst_init() / gst_check_init().
10431 When initialisation is done via gst_init_get_option_group() and
10432 GOption parsing, issue a warning if the GLib thread system has not
10433 been initialised yet by the time gst_init_get_option_group() is
10434 called, as it's quite likely other GLib functions such as
10435 g_option_context_new() have been called already then, and
10436 g_thread_init() must be called before any other GLib function. The
10437 application in question must be fixed in that case, since memory
10438 corruption might happen otherwise.
10439 We issue the warning because even if the GLib folks decide to work
10440 around the problem on their end in future, this is still an issue
10441 with all GLib versions >= 2.10.0, so we should warn until we depend
10442 on a GLib version we know to be safe.
10443 Update documentation as well.
10444 Closes bug #391278.
10446 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10448 * tools/gst-inspect.c: (main):
10449 * tools/gst-launch.c: (main):
10450 * tools/gst-typefind.c: (main):
10451 * tools/gst-xmlinspect.c: (main):
10452 Call g_thread_init() really really early, before any other GLib
10453 function (see #342564 and recent discussion on gtk-devel-list).
10455 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10457 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10459 * gst/gst_private.h:
10460 * gst/gstconfig.h.in:
10462 On win32, all the __declspec stuff for symbol exporting is
10463 apparently only needed with MSVC, but doesn't work with MingW.
10464 Fixes compilation with MingW and #391909.
10466 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10468 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10469 Change some GST_ERROR_OBJECT that aren't really errors to
10470 GST_WARNING_OBJECT in order to reduce terminal spam.
10472 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10474 * tests/check/Makefile.am:
10475 disable test again, as there seem to be still race problems
10477 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10479 * tests/check/Makefile.am:
10480 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10481 (GST_START_TEST), (queue_suite):
10482 enable queue test again, add tests for the leaky behaviour
10484 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10487 * tests/examples/Makefile.am:
10488 Compile adapter test/example only if the required headers are
10489 available (fixes #391915).
10491 2007-01-01 David Schleef <ds@schleef.org>
10494 Restore the previous signal handler for SIGSEGV instead of
10495 setting to default, since we may have stolen it away from
10496 someone. (i.e., Mono)
10498 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10500 * docs/random/draft-missing-plugins.txt:
10501 Some small additions and clarifications.
10503 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10505 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10506 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10507 since that can lead to random memory corruptions and crashes
10508 (may or may not be related to #383244, #386711, and #386711).
10510 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10512 * tests/check/.cvsignore:
10513 * tests/check/Makefile.am:
10514 sync .cvsignome and CLEANFILES
10516 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10518 * tests/check/Makefile.am:
10521 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10523 * docs/design/part-states.txt:
10524 two tiny additional comments
10526 * gst/gststructure.c:
10529 * tests/check/Makefile.am:
10530 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10532 disable test for now, unless it gets fixed
10534 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10536 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10538 fix race in underrun test
10540 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10542 * tests/check/elements/.cvsignore:
10545 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10547 try to narrow test failure
10549 2006-12-21 David Schleef <ds@schleef.org>
10551 * plugins/elements/gstfakesrc.c:
10552 Use g_random_int_range(), since it produces better random
10553 numbers in a range than almost-correct floating point code.
10555 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10557 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10558 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10559 (gst_check_teardown_sink_pad):
10560 do not automatically (de)activate pads
10562 * tests/check/Makefile.am:
10563 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10564 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10565 add new, yet simple tests for queue
10567 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10568 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10569 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10571 * tests/check/elements/identity.c: (cleanup_identity):
10572 consistent pad (de)activation
10574 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10576 Patch by: Sebastian Dröge <slomo ubuntu com>
10578 * libs/gst/base/gstcollectpads.c:
10579 Fix two doc typos (#387866).
10581 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10583 * docs/manual/advanced-dparams.xml:
10584 Fix typo (g_object_control_properties() doesn't exist).
10586 2006-12-19 Edward Hervey <edward@fluendo.com>
10588 * gst/gstsegment.c: (gst_segment_set_seek):
10589 Fine tune the cases where the segment start/stop values are really
10591 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10592 Add tests for the return values of gst_segment_set_seek().
10594 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10599 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10601 Fix incorrect documentation and flesh it out a bit more.
10602 Set default values for the max properties on the GParamSpec as well,
10603 so it shows up correctly in gst-inspect.
10605 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10607 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10608 Correct docs of queue, add more detail and crosslink it more.
10610 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10612 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10613 Print additional debug info when the stream isn't perfectly
10614 timestamped; don't try to use invalid durations.
10616 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10618 * docs/design/Makefile.am:
10619 Dist new design docs.
10621 2006-12-16 Wim Taymans <wim@fluendo.com>
10623 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10625 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10626 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10627 (gst_collect_pads_stop), (gst_collect_pads_event),
10628 (gst_collect_pads_chain):
10629 * libs/gst/base/gstcollectpads.h:
10630 Add refcounting to the collectpads data so we can track when it's safe
10631 to free the data. Fixes #383382.
10633 2006-12-15 Wim Taymans <wim@fluendo.com>
10635 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10636 (gst_collect_pads_remove_pad):
10637 Automatically activate/deactivate pads when they are added to a
10638 started/stoped collectpads.
10640 2006-12-15 Wim Taymans <wim@fluendo.com>
10642 * gst/gstelement.c: (gst_element_add_pad):
10643 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10644 * gst/gstpad.c: (gst_pad_init):
10645 Set pads to FLUSHING when they are created. Check, warn and fix when a
10646 demuxer adds an inactive pad to itself when running. Fixes #339326.
10648 2006-12-15 Wim Taymans <wim@fluendo.com>
10650 * gst/gstelement.c: (gst_element_class_init),
10651 (gst_element_default_send_event), (gst_element_send_event),
10652 (gst_element_default_query), (gst_element_query):
10653 Expose default element send_event and query handling as vmethods that
10654 subclasses can chain up to.
10656 2006-12-15 Wim Taymans <wim@fluendo.com>
10658 * gst/gstelement.c: (gst_element_set_state_func):
10659 Small documentation fixes.
10661 2006-12-15 Wim Taymans <wim@fluendo.com>
10663 * docs/design/draft-latency.txt:
10664 Checked in draft for handling latency in pipelines.
10666 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10670 * gstreamer.spec.in:
10673 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10675 * gst/gst.c: (init_pre), (init_post):
10676 init_pre() and init_post() might be called via our GOptionGroup or
10677 from gst_init(), and we should skip both of them if we've already
10678 been initialised, otherwise we will init some things twice or add
10679 two default log functions.
10681 2006-12-13 Edward Hervey <edward@fluendo.com>
10683 * docs/manual/basics-bus.xml:
10684 No, gst_main_loop does not exist. Its g_main_loop.
10685 Discovered by somebody who abused the copy-paste technique of coding :)
10687 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
10689 * gst/gstghostpad.c:
10690 Log ghostpad debug stuff to the GST_PADS category as well rather
10691 than just to the default category.
10693 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
10696 * gst/gst.c: (init_pre):
10697 Add some basic system details such as OS and architecture
10698 to the debug output if possible, courtesy of uname().
10700 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10702 * docs/gst/running.xml:
10703 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10704 environment variables.
10706 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10708 * tests/check/gst/gstbin.c: (GST_START_TEST):
10709 It is acceptable to have a refcount of 2 or 3 at this point in the
10710 test, because the pipeline might be just posting its state_change
10711 message. The next line then waits for that message to appear using
10712 bus_poll, so that should be fine too.
10714 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10716 * gst/gst.c: (ensure_current_registry_forking):
10717 Ignore EINTR when reading from the child registry pipe.
10718 Explicitly ignore the return value from close, since it makes no
10721 * gst/gstminiobject.c: (gst_mini_object_ref),
10722 (gst_mini_object_unref):
10723 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10725 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10726 When removing cached plugins, remove their features too, so they're
10727 not visible after they've disappeared.
10729 * gst/gstutils.c: (prepare_link_maybe_ghosting):
10730 In the unlikely case that we are linking pads with no parents, don't
10731 crash trying to get the non-existent parent bin.
10733 * gst/parse/grammar.y:
10734 Output debug in the PIPELINE category
10736 2005-03-08 Wim Taymans <wim@fluendo.com>
10738 Patch by: René Stadler <mail at renestadler dot de>
10740 * gst/gstclock.c: (gst_clock_new_periodic_id):
10741 Reject invalid clock times for interval of periodic ids.
10744 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10746 * gst/gstelementfactory.c: (gst_element_factory_create):
10747 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10748 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10749 * tools/gst-inspect.c: (print_element_info):
10750 Fix refcounting of gst_plugin_feature_load to match the docs.
10753 2006-12-07 Wim Taymans <wim@fluendo.com>
10755 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10756 (gst_base_sink_get_position):
10757 Improve debugging of events.
10759 2006-12-07 Wim Taymans <wim@fluendo.com>
10761 Patch by: René Stadler <mail at renestadler dot de>
10763 * gst/gstclock.c: (gst_clock_id_wait):
10764 Make period ids add the interval to the origial requested time instead
10765 of the possibly updated time which can be wrong when there are multiple
10766 waiters for the same id. Fixes #382592.
10768 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10769 (gst_system_clock_id_wait_jitter_unlocked),
10770 (gst_system_clock_id_wait_jitter):
10771 Fix restart in the async notify thread when an async entry is added to
10772 the front of the list. Fixes #381492.
10774 * tests/check/gst/gstsystemclock.c: (store_callback),
10775 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10776 Added test for multiple async waits.
10777 Added test for async wait order.
10779 2006-12-07 Wim Taymans <wim@fluendo.com>
10781 * gst/gstbin.c: (gst_bin_query):
10782 Add some more docs about the POSITION query.
10784 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10787 Bump version nano - back to CVS.
10789 === release 0.10.11 ===
10791 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
10794 releasing 0.10.11, "Love never runs on time"
10796 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
10798 * win32/common/libgstbase.def:
10799 * win32/common/libgstreamer.def:
10800 * win32/vs8/libgstbase.vcproj:
10801 * win32/vs8/libgstcoreelements.vcproj:
10802 * win32/vs8/libgstreamer.vcproj:
10803 Fix compilation on win32 under VS8
10804 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10805 Partially fixes #381175
10807 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10809 * gst/gstvalue.c: (gst_value_compare_fraction):
10810 If someone is foolish enough to compare 2 fractions with denominator =
10811 0, return UNORDERED rather than aborting.
10813 2006-11-28 Edward Hervey <edward@fluendo.com>
10815 * libs/gst/base/Makefile.am:
10816 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
10817 (gst_data_queue_base_init), (gst_data_queue_class_init),
10818 (gst_data_queue_init), (gst_data_queue_new),
10819 (gst_data_queue_cleanup), (gst_data_queue_finalize),
10820 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
10821 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
10822 (gst_data_queue_is_empty), (gst_data_queue_is_full),
10823 (gst_data_queue_set_flushing), (gst_data_queue_push),
10824 (gst_data_queue_pop), (gst_data_queue_drop_head),
10825 (gst_data_queue_set_property), (gst_data_queue_get_property):
10826 * libs/gst/base/gstdataqueue.h:
10827 New GstDataQueue object for threadsafe queueing. Most useful for
10828 elements that need some queueing functionnality.
10829 * docs/libs/gstreamer-libs-docs.sgml:
10830 * docs/libs/gstreamer-libs-sections.txt:
10831 Insert documentation for GstDataQueue
10832 * plugins/elements/Makefile.am:
10833 * plugins/elements/gstelements.c:
10834 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10835 (gst_multi_queue_class_init), (gst_multi_queue_init),
10836 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10837 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10838 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10839 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10840 (gst_multi_queue_loop), (gst_multi_queue_chain),
10841 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
10842 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
10843 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
10844 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
10845 (wake_up_next_non_linked), (compute_next_non_linked),
10846 (single_queue_overrun_cb), (single_queue_underrun_cb),
10847 (single_queue_check_full), (gst_single_queue_new):
10848 * plugins/elements/gstmultiqueue.h:
10849 New multiqueue element, using GstDataQueue. Used for queuing multiple
10851 Closes #344639 and #347785
10853 2006-11-22 Stefan Kost <ensonic@users.sf.net>
10855 * docs/pwg/advanced-types.xml:
10856 add more missing type details
10858 * tools/gst-run.c: (main):
10859 remove unused variable
10861 2006-11-21 Stefan Kost <ensonic@users.sf.net>
10863 * docs/libs/Makefile.am:
10864 * docs/libs/gstreamer-libs.types:
10865 add types of base classes to enable gobject specific stuff in the docs
10867 * docs/random/ensonic/embedded.txt:
10868 more ideas about isolating platform specific things
10870 2006-11-20 Wim Taymans <wim@fluendo.com>
10872 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
10874 * libs/gst/check/gstcheck.h:
10875 Fix compilation and running against 0.9.4. Fixes #377332.
10877 2006-11-20 Wim Taymans <wim@fluendo.com>
10879 * gst/gstsegment.c: (gst_segment_set_seek),
10880 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10881 (gst_segment_to_running_time):
10882 Fix boundary checking in to_running_time() and to_stream_time().
10885 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10886 stream and running time can now be calculated for the complete
10889 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
10891 * gst/gstpad.c: (gst_pad_push_event):
10892 Can't access event structure after giving away ownership of
10895 2006-11-15 Stefan Kost <ensonic@users.sf.net>
10897 * docs/random/ensonic/embedded.txt:
10898 * docs/random/ensonic/profiling.txt:
10899 * docs/random/ensonic/receipies.txt:
10902 2006-11-13 Wim Taymans <wim@fluendo.com>
10904 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10907 Fix documentation for gst_pad_dispatcher. Fixes #374475.
10909 2006-11-13 Wim Taymans <wim@fluendo.com>
10911 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
10913 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10914 Store new length in segment duration so we don't keep on calling the
10915 potentially expensize get_size() call. Fixes #370865.
10917 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
10919 Patch by: Sergey Scobich <sergey.scobich at gmail com>
10921 * win32/common/libgstreamer.def:
10922 Add two missing symbols (#366492).
10924 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
10926 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
10927 (gst_adapter_take_buffer):
10928 Fix format string to use all its arguments.
10929 Remove useless >= check on a guint
10931 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
10933 * tests/examples/adapter/.cvsignore:
10934 Ignore build file as commanded by the build-bot
10936 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
10938 * tests/examples/adapter/Makefile.am:
10939 * tests/examples/adapter/adapter_test.c: (run_test_take),
10940 (run_test_take_buffer), (run_tests), (main):
10942 Add new files from the previous commit
10944 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
10948 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
10949 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
10950 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
10951 * libs/gst/base/gstadapter.h:
10952 * tests/check/libs/adapter.c: (create_and_fill_adapter),
10953 (GST_START_TEST), (gst_adapter_suite):
10954 * tests/examples/Makefile.am:
10955 Do some optimisation work in GstAdapter to avoid copies in more cases.
10956 It could still do slightly better by merging buffers when
10957 gst_buffer_is_span_fast is true, but is already faster.
10959 Also, avoid traversing a single-linked list to append each incoming
10960 buffer inside the adapter.
10962 Add simple test app that times the adapter behaviour in different
10963 situations, and extend the unit test to check that bytes enter and
10964 exit the adapter in their original order.
10966 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
10968 * docs/random/draft-missing-plugins.txt:
10969 Update: use element message instead of adding a new message
10970 type to the core; don't provide GStreamer API to initiate the
10971 plugin download, just provide API to compose the strings needed
10972 and let an external libgimmestuff handle the rest.
10974 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
10976 * tools/gst-inspect.c: (print_element_properties_info):
10977 Print a string instead of 'unknown type' for GValueArray properties
10979 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
10981 * docs/random/draft-missing-plugins.txt:
10984 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
10986 * tests/examples/typefind/typefind.c: (type_found), (main):
10987 Make typefind element example work again (#371894); add a
10990 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
10992 * docs/random/draft-missing-plugins.txt:
10993 Commit initial draft about how to deal with missing plugins,
10994 needs work (API too).
10996 2006-11-07 Stefan Kost <ensonic@users.sf.net>
10998 * docs/pwg/advanced-types.xml:
10999 documents the new caps elements (see #363118)
11001 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11003 * gst/gstplugin.c: (gst_plugin_load_file):
11004 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11005 (gst_file_src_map_region), (gst_file_src_start):
11006 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11007 (gst_file_index_commit):
11008 Use g_strerror() instead of strerror() - we want UTF-8.
11010 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11012 Patch by: Peter Kjellerstedt <pkj at axis com>
11014 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11015 Another printf fix (#371493).
11017 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11019 * tests/check/gst/gsttag.c:
11020 relicence (okay with author=company)
11022 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11024 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11025 (gst_pad_push_event):
11026 Enhance debug and improve docs
11031 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11033 * docs/random/ensonic/distributed.txt:
11034 * docs/random/ensonic/profiling.txt:
11037 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11039 * docs/gst/gstreamer-sections.txt:
11040 add new API and fix the build
11042 * gst/gstbin.c: (gst_bin_recalc_state):
11043 * gst/gstelement.c: (gst_element_message_full),
11044 (gst_element_get_state_func), (gst_element_set_state_func):
11045 use new API and improve logging
11047 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11049 API: add function to get StateChangereturn names to improve logs
11051 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11053 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11054 I'm considering shooting the next person to put strerror stuff
11055 in the translateable part of the message.
11057 2006-11-03 Wim Taymans <wim@fluendo.com>
11059 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11060 Get the type and printf conversion specifiers right.
11062 2006-11-03 Wim Taymans <wim@fluendo.com>
11064 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11066 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11067 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11068 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11069 Some small cleanups. Improve debugging.
11071 Signal all waiting threads with a broadcast instead of just one.
11074 2006-11-03 Wim Taymans <wim@fluendo.com>
11076 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11077 (gst_fd_src_create):
11078 Add some debugging.
11079 Only update fd when it's different from the old.
11081 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11083 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11084 Printf fixes for PPC/OSX, take two (#369366).
11086 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11088 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11090 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11091 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11092 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11093 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11094 don't cast to long long for portability reasons, but use
11095 GLib's types instead.
11097 2006-10-30 Michael Smith <msmith@fluendo.com>
11099 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11100 Get the arguments to lseek() the right way around.
11103 2006-10-30 Wim Taymans <wim@fluendo.com>
11105 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11108 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11110 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11112 Patch by: Kjartan Maraas <kmaraas at gnome org>
11114 * docs/design/part-MT-refcounting.txt:
11115 * docs/random/wtay/capsnego2-docs:
11118 Typo fixes (#366212).
11120 2006-10-28 Wim Taymans <wim@fluendo.com>
11122 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11125 * win32/common/libgstbase.def:
11126 * win32/common/libgstreamer.def:
11127 * win32/vs8/libgstbase.vcproj:
11128 * win32/vs8/libgstcontroller.vcproj:
11129 Add needed entries in .def files.
11131 Rearrange def files in vs8 solutions. Fixes #366286.
11133 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11135 * win32/common/gstconfig.h:
11136 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11137 hand-made win32 gstconfig.h. Fixes #366321.
11139 2006-10-27 Wim Taymans <wim@fluendo.com>
11141 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11142 (gst_ghost_pad_new_full):
11143 Make acceptcaps return TRUE when we don't have a target, just like
11146 2006-10-27 Wim Taymans <wim@fluendo.com>
11148 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11149 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11151 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11153 * gst/gststructure.c: (gst_structure_id_set_value):
11154 If someone tries to set a non-UTF8 string field on a structure,
11155 don't just print a warning, but also ignore the request and do
11156 not change/add that field to the structure.
11158 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11159 Test for the above.
11161 2006-10-25 David Schleef <ds@schleef.org>
11164 g_hash_table_insert() needs a cast to a non-const pointer duh.
11166 2006-10-25 David Schleef <ds@schleef.org>
11170 Change name parameter of _gst_debug_register_funcptr to const
11171 to reflect the constness of its use in the function as well
11172 as to quiet a gcc warning.
11174 2006-10-25 Edward Hervey <edward@fluendo.com>
11176 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11177 Don't push the buffer if it's empty.
11180 2006-10-24 Wim Taymans <wim@fluendo.com>
11185 * libs/gst/base/gstbasetransform.c:
11186 (gst_base_transform_sink_eventfunc):
11187 Debug segment values *after* updating them as this is more
11190 2006-10-23 Wim Taymans <wim@fluendo.com>
11192 * docs/design/part-events.txt:
11195 * docs/design/part-block.txt:
11196 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11197 (gst_pad_push_event):
11198 Revert BLOCKING patch, it tries to be smart without really having a
11199 clear idea what or how. So, now we discard all FLUSHING events again on
11200 a blocking pad. Should fix gnonlin again.
11202 2006-10-23 Wim Taymans <wim@fluendo.com>
11204 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11206 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11207 (gst_base_src_start), (gst_base_src_activate_push):
11208 Make sure size is always initialized. Fixes #364388.
11210 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11212 * docs/random/ensonic/distributed.txt:
11213 add some ideas about doing distributed processing
11215 * docs/random/ensonic/profiling.txt:
11216 get_rusage look promising
11218 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11220 * docs/manual/basics-helloworld.xml:
11221 Add a cast in example to fix compile warning
11223 2006-10-18 Wim Taymans <wim@fluendo.com>
11225 * gst/gstsegment.c: (gst_segment_set_last_stop),
11226 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11227 Relax arg checking again, -1 is allowed.
11229 2006-10-18 Wim Taymans <wim@fluendo.com>
11231 * gst/gstsegment.c: (gst_segment_set_last_stop),
11232 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11233 _set_last_stop() must be with a value != -1
11234 A _TYPE_SET to -1 means seek to 0.
11235 Calc last_stop correctly for negative rates.
11236 Make sure we work with positive durations when updating a segment.
11238 2006-10-18 Wim Taymans <wim@fluendo.com>
11240 * docs/design/part-live-source.txt:
11244 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11247 Add an explicit cast to GstBuffer** to keep old code that added an
11248 explicit cast to GstMiniObject** for gst_mini_object_replace()
11249 compiling without warning.
11251 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11253 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11254 check for validity of dates
11256 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11258 * docs/gst/gstreamer-sections.txt:
11259 Forgot this one, makes gtk-doc shut up.
11261 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11263 Patch by: Peter Kjellerstedt <pkj at axis com>
11266 Don't define xmlNodePtr to gpointer if the core was built with
11267 --disable-loadsave and --disable-registry, this will break
11268 applications that want to use libxml2 but are buildling against a
11269 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11270 instead so we don't have to mess with the libxml2 namespace
11273 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11276 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11277 type-punned pointer warnings.
11279 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11281 * gst/gstelement.h:
11282 Add casts to the correct return type to state <=> state transition
11285 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11287 * docs/design/part-live-source.txt:
11288 describe howto handle latency
11290 * docs/random/ensonic/profiling.txt:
11293 * tools/gst-plot-timeline.py:
11294 fix log parsing for solaris, remove unused function
11296 2006-10-16 Wim Taymans <wim@fluendo.com>
11298 * docs/design/part-trickmodes.txt:
11300 Update some docs regarding reverse playback.
11302 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11304 Patch by: Marcus Granado <mrc dot gran at gmail com>
11306 * win32/vs8/grammar.vcproj:
11307 Error out with a warning if glib-genmarshal.exe is not in path,
11308 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11310 2006-10-13 Wim Taymans <wim@fluendo.com>
11312 * gst/gstsegment.c: (gst_segment_set_seek):
11313 When seeking to stop -1, set last_stop (current position) to the
11314 duration of the segment.
11316 2006-10-13 Wim Taymans <wim@fluendo.com>
11318 * gst/gstelement.h:
11319 Clarify _NO_PREROLL a bit more.
11324 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11325 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11326 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11327 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11328 due to wrong locking order. Fixes #361769.
11329 Remove some redundant/misplaced checks in pad_block.
11331 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11332 For negative rates, count backwards from the duration.
11334 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11336 * gst/gsterror.c: (_gst_library_errors_init):
11337 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11338 up with something better).
11340 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11342 * win32/vs6/libgstreamer.dsp:
11343 * win32/vs7/libgstreamer.vcproj:
11344 * win32/vs8/libgstreamer.vcproj:
11345 Don't reference glib-compat.c which is currently not used and not
11346 disted; add gstquark.c which was recently added. Fixes #361730.
11348 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11350 * win32/common/libgstbase.def:
11351 * win32/common/libgstcontroller.def:
11352 * win32/common/libgstreamer.def:
11353 Add gst_caps_merge() and a bunch of other recently-added functions.
11356 2006-10-11 Wim Taymans <wim@fluendo.com>
11358 * docs/plugins/gstreamer-plugins.args:
11359 * docs/plugins/inspect/plugin-coreelements.xml:
11360 * docs/plugins/inspect/plugin-coreindexers.xml:
11361 Update element args.
11363 * gst/gstsystemclock.c:
11364 Small comment update.
11366 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11367 (gst_tee_request_new_pad), (gst_tee_release_pad),
11368 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11369 (gst_tee_sink_activate_pull):
11370 * plugins/elements/gsttee.h:
11372 Add default property defines.
11373 Implement release pad function.
11374 Give properties better blubs etc.
11375 Activate pads before adding them to a running tee.
11376 Do simple buffer_alloc on the first requested pad.
11377 Post error when activation fails.
11379 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11381 * gst/gst.c: (ensure_current_registry_forking):
11382 Check return value of write() to make compiler happy.
11384 2006-10-11 Wim Taymans <wim@fluendo.com>
11386 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11388 * plugins/elements/gstqueue.c: (gst_queue_chain):
11389 Recheck queue filledness after signalling the overrun when we're about
11390 to leak downstream because we released the lock when emitting the signal
11391 and the queue could be empty again. Fixes #352345.
11393 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11395 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11396 Fix refcounting here too, just like we did for _new_valist() a few
11397 days ago (#357180) (thanks to René Stadler). Also remove all those
11398 'Since: 0.9' from the gtk-doc blobs.
11400 * tests/check/libs/controller.c: (controller_refcount_new_list),
11401 (gst_controller_suite):
11402 Unit test for the above.
11404 2006-10-10 Wim Taymans <wim@fluendo.com>
11406 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11408 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11409 (gst_pad_save_thyself):
11411 Write pad direction in XML output. Fixes #345496.
11413 2006-10-10 Wim Taymans <wim@fluendo.com>
11415 Patch by: René Stadler <mail at renestadler dot de>
11417 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11418 (gst_controller_new_list), (_gst_controller_dispose),
11419 (_gst_controller_finalize), (_gst_controller_class_init):
11420 Take ref to controlled object so that it cannot disappear.
11423 2006-10-10 Wim Taymans <wim@fluendo.com>
11425 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11426 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11427 (gst_check_teardown_sink_pad):
11428 Activate/deactivate pads in setup/teardown respectively.
11430 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11432 Patch by: Josep Torra Valles <josep@fluendo.com>
11435 Cast values when making gstenumtypes.h. This pacifies Forte
11436 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11437 in the enumeration.
11439 2006-10-09 Wim Taymans <wim@fluendo.com>
11441 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11442 Rename some more @cur to @start to fix docs.
11444 * gst/gstsegment.c: (gst_segment_set_seek):
11446 time and start must always stay in sync as defined in design doc.
11448 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11449 Rename param to fix docs.
11451 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11452 Check that start and time are in sync.
11454 * tests/check/pipelines/parse-launch.c:
11455 (gst_parse_test_element_change_state):
11456 Activate pad before adding to the element.
11458 2006-10-09 Wim Taymans <wim@fluendo.com>
11460 * docs/design/part-qos.txt:
11465 Update seek event docs regarding negative rates.
11466 Rename @cur to @start.
11468 * gst/gstsegment.c: (gst_segment_set_seek):
11469 * gst/gstsegment.h:
11470 Update set_seek docs regarding negative rates.
11471 Correctly update last_stop to @stop when dealing with negative
11473 Rename @cur to @start.
11475 * tests/check/gst/gstpad.c: (GST_START_TEST):
11476 Activate pads before trying to use them.
11478 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11479 (gst_segment_suite):
11480 Add simple check for segments and negative rates.
11482 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11484 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11485 * gst/gsttaglist.h:
11486 * docs/gst/gstreamer-sections.txt:
11487 API: add gst_tag_list_is_empty() (#360467).
11489 * tests/check/gst/gsttag.c: (GST_START_TEST):
11492 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11494 * gst/gstmessage.h:
11495 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11496 a value that doesn't fit on enumeration.
11498 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11500 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11501 Remove local debugging system and use Gstreamer's instead.
11503 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11505 Patch by: Josep Torra Valles <josep@fluendo.com>
11507 * common/m4/gst-error.m4:
11508 Disable warning of statement not reached on Forte.
11509 * gst/gstmessage.h:
11510 Fix warning on Forte (value doesn't fit on enumeration).
11511 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11512 Fix warning on Forte (value doesn't fit on enumeration).
11513 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11514 DEBUG macro says it takes minimum of 2 args and so Forte
11515 complains about the use with just 1 arg.
11516 * plugins/elements/gstfdsink.c:
11517 * plugins/elements/gstfdsrc.c:
11518 * plugins/elements/gstfilesink.c:
11519 * plugins/elements/gstfilesrc.c:
11520 Use correct return type for the uri handler implementations.
11522 All these fix warnings in Forte. Fixes bug #360860.
11524 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11526 * gst/gstelement.h:
11527 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11528 format string, so don't use G_GNUC_PRINTF for those versions.
11530 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11532 * gst/gsttaglist.c: (gst_is_tag_list):
11533 * gst/gsttaglist.h:
11534 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11536 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11537 Small test for the above.
11539 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11541 * gst/gsttaglist.h:
11542 Less tabs, more spaces.
11544 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11547 Those two function declarations do actually belong there, revert
11548 commit from yesterday that turned them intro macros.
11550 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11552 Patch by: Josep Torra Valles <josep@fluendo.com>
11554 * gst/gst.c: (gst_init_get_option_group):
11555 Fix empty declaration and type mismatch.
11556 * gst/gstbin.c: (gst_bin_change_state_func):
11558 * gst/gstelement.c: (gst_element_continue_state),
11559 (gst_element_set_state_func), (gst_element_change_state),
11560 (gst_element_change_state_func):
11561 Fix type mismatches.
11562 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11563 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11564 Cast as appropriate.
11565 * gst/gstobject.c: (gst_class_signal_connect):
11566 Cast as appropriate. The function pointer parameter really
11567 has the wrong type but would break API if we change it.
11569 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11570 order of including string.h.
11571 * gst/gstutils.c: (gst_element_state_get_name):
11572 Remove unreachable line.
11573 * gst/gstxml.c: (gst_xml_parse_doc):
11575 All these caught by Forte.
11577 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11579 Patch by: Josep Torra Valles <josep@fluendo.com>
11581 * common/m4/gst-error.m4:
11583 We need to disable warnings on Forte for empty declarations
11584 due to gst-indent adding ;s to lines that just use macros
11585 where the macro actually doesn't need a ; at end to end
11588 2006-10-06 Wim Taymans <wim@fluendo.com>
11590 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11591 (gst_file_sink_close_file), (gst_file_sink_event),
11592 (gst_file_sink_render):
11593 Add some FIXME for the NEWSEGMENT handling.
11595 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11597 * gst/parse/grammar.y:
11598 Remove static function gst_parse_element_lock as all it does
11599 is return. Looks like cruft from 0.8.
11601 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11603 Patch by: Josep Torra Valles <josep@fluendo.com>
11605 * common/m4/gst-error.m4:
11607 * libs/gst/net/Makefile.am:
11608 Fix a compilation issue with Forte on Solaris. inet_aton is in
11611 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11613 * gst/gstpad.c: (pre_activate):
11614 * gst/gstregistry.c: (gst_registry_scan_path_level):
11615 * gst/gstregistryxml.c: (load_plugin):
11616 * libs/gst/controller/gstcontroller.c:
11617 (gst_controlled_property_set_interpolation_mode):
11618 * libs/gst/dataprotocol/dataprotocol.c:
11619 (gst_dp_packet_from_event_1_0):
11620 * libs/gst/net/gstnetclientclock.c:
11621 (gst_net_client_clock_observe_times):
11622 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11625 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11628 * docs/gst/gstreamer-sections.txt:
11629 * gst/gstconfig.h.in:
11630 * gst/gstelement.h:
11632 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11633 whether we can use G_GNUC_PRINTF in other header files and at
11634 least check the printf format/arguments of debug messages and
11635 GST_ELEMENT_ERROR messages when the printf extension is not
11637 Replace more tabs with spaces in gstinfo.h and remove two spurious
11638 function declarations in GST_DISABLE_DEBUG part with macros.
11640 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11642 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11643 More docs for the sync-message signal (mention that it is not
11644 emitted by default); log message structures of messages posted on
11647 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11649 * gst/gst.c: (ensure_current_registry_forking):
11650 Use a pipe pair to receive status results from the forked child, and
11651 ignore the result from waitpid. Fixes #355499
11653 2006-10-02 Wim Taymans <wim@fluendo.com>
11655 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11656 (gst_ghost_pad_suite):
11659 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11662 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11664 2006-10-02 Edward Hervey <edward@fluendo.com>
11666 * docs/design/part-block.txt:
11667 Further explain the use of flushing on blocked pads.
11668 * docs/gst/gstreamer-sections.txt:
11669 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11670 (gst_pad_push_event):
11672 Added new GstPadFlag : GST_PAD_BLOCKING.
11673 Adds the notion of pads really blocking, which enables to properly
11674 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11676 API: gst_pad_is_blocking()
11677 API: GST_PAD_IS_BLOCKING() macro
11678 API: GST_PAD_BLOCKING GstPadFlag
11680 2006-10-02 Wim Taymans <wim@fluendo.com>
11682 Patch by: mrcgran <mrc.gran at gmail dot com>
11684 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11685 Filter the proxied caps against the padtemplate if we have one.
11687 * gst/gstquery.c: (gst_query_new_segment):
11688 Add include for gstinfo.h so that compilation with
11689 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11691 2006-10-02 Wim Taymans <wim@fluendo.com>
11693 Patch by: Alessandro Decina <alessandro at nnva org>
11695 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11696 (gst_file_sink_set_location), (gst_file_sink_open_file),
11697 (gst_file_sink_close_file), (gst_file_sink_event),
11698 (gst_file_sink_render):
11699 Set file to NULL when closing filesink so that we can set a new filename
11700 in READY. Fixes #358613.
11702 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11704 Patch by: Alessandro Decina <alessandro at nnva org>
11706 * gst/gstevent.c: (_gst_event_copy):
11707 Fix gst_mini_object_make_writable() and gst_event_copy() for events
11708 with event structures by setting the parent refcount address of the
11709 copied structure to the address of the refcount member of the newly
11710 copied event rather than the address of the refcount member of the
11711 original event. Fixes #358737.
11713 * tests/check/gst/gstevent.c: (GST_START_TEST):
11714 Unit test for the above.
11716 2006-09-29 Stefan Kost <ensonic@users.sf.net>
11718 * docs/design/Makefile.am:
11719 Dist some more files.
11721 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11723 * tests/check/libs/controller.c: (GST_START_TEST),
11724 (gst_controller_suite):
11725 Add test for the previous fix; add some more tests
11726 for correct refcounting behaviour; fix a few leaks
11727 in test cases; call gst_controller_init() at start
11730 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11732 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11733 (gst_controller_set_from_list):
11734 Don't g_return_val_if_fail() on timed values with invalid timestamps
11735 inside a critical section without unlocking the mutex. Spotted by
11736 René Stadler. (#357617)
11737 Also, fix up refcounting properly: when returning an existing
11738 controller, we should increase the reference only once and not
11739 once per property and when trying to control a property again
11740 we should also increase the refcount.
11742 2006-09-29 Wim Taymans <wim@fluendo.com>
11744 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11745 * libs/gst/net/gstnettimeprovider.c:
11746 (gst_net_time_provider_thread):
11747 Stop reading commands when EOF as well.
11749 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11750 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11751 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11752 Unify description of the dump property.
11754 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11756 * tests/examples/manual/.cvsignore:
11757 OK, so it's actually cvsignore that needs changing. Stop laughing.
11759 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11761 * tests/examples/manual/Makefile.am:
11762 Gah, declare vars *before* using them
11764 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11766 * gst/gst.c: (init_pre), (scan_and_update_registry),
11767 (ensure_current_registry_nonforking),
11768 (ensure_current_registry_forking), (ensure_current_registry),
11769 (init_post), (gst_debug_help), (gst_deinit):
11770 * gst/gst_private.h:
11771 * gst/gstregistry.c: (gst_registry_finalize),
11772 (gst_registry_remove_features_for_plugin_unlocked),
11773 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11774 (gst_registry_scan_path),
11775 (_priv_gst_registry_remove_cache_plugins),
11776 (_priv_gst_registry_cleanup):
11777 * gst/gstregistry.h:
11778 Re-commit the registry changes, along with an extra fix:
11779 When a cached plugin is encountered at a different file path,
11780 update the stored path in the registry cache so that the parent
11781 process knows where it actually is now when it re-reads the registry
11782 cache. Fixes the thing that broke distcheck with the previous commit.
11784 * tests/check/Makefile.am:
11785 Clean up files named 'core' too when running make clean.
11787 * tests/examples/manual/Makefile.am:
11788 Set up a registry path for running these tests, and clean it properly
11791 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11794 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11795 want gmodule-no-export-2.0.pc instead so that we don't drag in
11796 --export-dynamic on every project that links to GStreamer.
11798 Also, make our export regex only match the start of symbols, rather
11799 than any symbol that contains '_gst' somewhere.
11801 * libs/gst/check/Makefile.am:
11802 The libgstcheck we build does however need export-dynamic, as it
11803 produces some symbols that don't match our _gst... style regex.
11806 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11808 * gst/gst.c: (init_pre), (scan_and_update_registry),
11809 (ensure_current_registry_nonforking),
11810 (ensure_current_registry_forking), (ensure_current_registry),
11811 (init_post), (gst_debug_help), (gst_deinit):
11812 * gst/gst_private.h:
11813 * gst/gstregistry.c: (gst_registry_finalize),
11814 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11815 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
11816 (_gst_registry_cleanup):
11817 * gst/gstregistry.h:
11818 Revert previous change until I figure out why it breaks distcheck.
11820 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11822 * gst/gst.c: (init_pre), (scan_and_update_registry),
11823 (ensure_current_registry_nonforking),
11824 (ensure_current_registry_forking), (ensure_current_registry),
11825 (init_post), (gst_debug_help), (gst_deinit):
11827 Make init_pre and init_post take the full complement of GOptionFunc
11828 args so they can return useful GErrors. Make the registry updating
11831 Call _priv_gst_registry_remove_cache_plugins after scanning files to
11832 ensure that the registry we're about to write out doesn't contain
11833 stale information about old-deleted plugin files.
11835 Make _priv_gst_registry_remove_cache_plugins return a boolean so
11836 that deletion of plugin files is considered a registry change.
11838 * gst/gst_private.h:
11839 * gst/gstregistry.c: (gst_registry_finalize),
11840 (gst_registry_remove_features_for_plugin_unlocked),
11841 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11842 (gst_registry_scan_path),
11843 (_priv_gst_registry_remove_cache_plugins),
11844 (_priv_gst_registry_cleanup):
11845 * gst/gstregistry.h:
11846 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
11847 by adding _priv prefix, so that they won't appear in the global
11848 symbol table. They still do atm though because of #318031. Move the
11849 prototypes to gst_private.h
11851 When removing a plugin, remove all features for that plugin too.
11854 2006-09-27 Wim Taymans <wim@fluendo.com>
11856 * docs/random/moving-plugins:
11857 Make it clear that the "compiled-in descriptions" really mean
11858 the element details.
11860 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11861 (gst_base_sink_wait_preroll):
11864 * docs/libs/gstreamer-libs-sections.txt:
11865 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11866 (gst_base_src_get_range), (gst_base_src_activate_push):
11867 * libs/gst/base/gstbasesrc.h:
11868 Added function to block while waiting for PLAYING, this function
11869 is used by live sources that block on the clock.
11870 API: gst_base_src_wait_playing()
11872 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11874 Patch by: Peter Kjellerstedt <pkj at axis com>
11877 gst-element-check.m4 is generated and should therefore be
11878 copied from the build dir rather than the source dir (#357593).
11879 'make distcheck' hasn't noticed this because we were disting
11880 the file as well, so stop doing that.
11882 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11884 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11885 Add some tests for gst_caps_intersect().
11887 * tools/gst-launch.c: (event_loop):
11888 Print all buffering percentages we get, even the 100% one.
11890 2006-09-26 Wim Taymans <wim@fluendo.com>
11892 * tools/gst-inspect.c: (print_element_properties_info),
11893 (print_signal_info):
11894 Fix printing of flags to match the look of enums.
11896 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11898 * gst/gstelementfactory.c:
11899 Fix typo in docs blurb.
11901 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11903 * gst/gsturi.c: (search_by_entry):
11904 Don't assert/crash here if a uri handler doesn't return any
11905 supported protocols. The list of protocols could be generated
11906 dynamically at runtime or at plugin registration, and an error
11907 in the underlying library shouldn't be fatal (#353301).
11909 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11912 Fix warning if HAVE_PRINTF_EXTENSION is undefined
11913 (spotted by Peter Kjellerstedt).
11915 2006-09-23 Wim Taymans <wim@fluendo.com>
11917 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
11919 * libs/gst/base/gstbasesrc.c:
11920 (gst_base_src_default_check_get_range), (gst_base_src_start),
11921 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11922 (gst_base_src_change_state):
11923 Match _start/_stop calls in the activate functions. Remove redundant
11924 _stop call from the state change function. Fixes #356910.
11925 Turn failure DEBUG into ERROR.
11927 2006-09-22 Wim Taymans <wim@fluendo.com>
11929 * docs/design/part-buffering.txt:
11930 * gst/gstmessage.c: (gst_message_new_buffering),
11931 (gst_message_parse_buffering):
11932 Update docs about buffering.
11934 * docs/design/part-trickmodes.txt:
11937 2006-09-22 Stefan Kost <ensonic@users.sf.net>
11939 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11940 (gst_controller_new_list):
11941 Ref instances when returning them again (fixes #357180)
11943 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
11945 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
11946 Don't forget to release proxy lock when there's an error.
11948 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
11951 Add extra initialisers for Caps things, to fix some plugin warnings
11954 2006-09-18 Wim Taymans <wim@fluendo.com>
11956 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11957 Also set template on the internal pad so that a getcaps from the
11958 target pad returns the template caps.
11960 2006-09-18 Wim Taymans <wim@fluendo.com>
11962 * gst/gstelement.c: (gst_element_post_message),
11963 (gst_element_dispose):
11964 Use _DEBUG_OBJECT some more.
11966 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11969 * tools/gst-launch.c: (main):
11970 If the toplevel element is not a GstPipeline, it must be put in a
11971 pipeline so that a bus and clock is selected.
11973 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
11975 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
11976 JITTER, RATE, and LATENCY query should be handled by the
11977 default case and not by the CONVERT query code.
11979 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
11981 * gst/gstformat.c: (gst_format_register):
11982 Fix locking order (must take lock before using n_values).
11984 * gst/gstvalue.c: (gst_value_serialize_enum),
11985 (gst_value_deserialize_enum_iter_cmp),
11986 (gst_value_deserialize_enum):
11987 Fix serialisation/deserialisation of custom registered GstFormats.
11989 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11990 Unit test for custom format serialisation/deserialisation.
11992 2006-09-17 Stefan Kost <ensonic@users.sf.net>
11994 * docs/pwg/building-boiler.xml:
11995 * plugins/elements/gstcapsfilter.c:
11996 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
11999 2006-09-16 Edward Hervey <edward@fluendo.com>
12001 * libs/gst/base/gstbasetransform.c:
12002 (gst_base_transform_buffer_alloc):
12003 Check if requested caps are the same as the sinks caps IF
12004 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12006 This fixes the renegotiation issues stated in #352827.
12008 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12011 * docs/manual/advanced-autoplugging.xml:
12012 * tests/examples/Makefile.am:
12013 * tests/examples/manual/.cvsignore:
12014 * tests/examples/manual/Makefile.am:
12015 * tests/examples/manual/extract.pl:
12016 Extract the manual examples again like we used to do.
12019 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12021 * win32/common/config.h:
12024 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12027 Documents how to receive errors.
12029 2006-09-15 Wim Taymans <wim@fluendo.com>
12031 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12032 (event_loop), (main):
12033 Added some comments here and there.
12034 Post an application message when an interrupt is caught instead of doing
12035 an uncontrolled state change.
12036 Clean up the event loop.
12037 Handle buffering messages, pause/resume the pipeline.
12038 Make shutdown because of an interrupt more reliable.
12040 2006-09-15 Wim Taymans <wim@fluendo.com>
12042 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12043 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12044 (gst_base_sink_preroll_object):
12045 Make sure that our internal state is correct when we commit our state
12046 asynchronously. This solves a race where a state change to PLAYING
12047 could cause the sink to remain blocked in preroll in some situations.
12049 2006-09-15 Wim Taymans <wim@fluendo.com>
12051 * tools/gst-inspect.c: (print_element_properties_info),
12052 (print_signal_info):
12053 List flags as hex so it's easier to deal with.
12055 2006-09-15 Wim Taymans <wim@fluendo.com>
12057 * docs/libs/gstreamer-libs-sections.txt:
12058 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12059 (gst_base_sink_do_sync):
12060 * libs/gst/base/gstbasesink.h:
12061 Expose logic to wait for preroll so that subclasses such as audiosink
12062 can also use this method.
12063 API: gst_base_sink_wait_preroll()
12065 2006-09-15 Wim Taymans <wim@fluendo.com>
12067 * gst/gstobject.c: (gst_object_set_parent):
12068 * gst/gstpipeline.c: (do_pipeline_seek):
12069 Small cleanups in docs and code.
12071 * gst/gstsegment.c: (gst_segment_clip):
12072 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12073 if stop == start and start is in the segment, no clipping should be
12074 done. Also add a test for this.
12076 2006-09-15 Wim Taymans <wim@fluendo.com>
12078 * docs/design/part-buffering.txt:
12079 * docs/gst/gstreamer-sections.txt:
12080 * gst/gstmessage.c: (gst_message_new_buffering),
12081 (gst_message_parse_buffering):
12082 * gst/gstmessage.h:
12083 Added methods to create and parse BUFFERING messages.
12084 Added preliminary docs about buffering.
12085 API: gst_message_new_buffering
12086 API: gst_message_parse_buffering
12088 2006-09-06 Wim Taymans <wim@fluendo.com>
12091 Update documentation.
12093 * gst/gstelement.c: (gst_element_class_init),
12094 (gst_element_release_request_pad), (gst_element_set_clock),
12095 (gst_element_get_index), (gst_element_add_pad),
12096 (gst_element_remove_pad), (gst_element_get_random_pad),
12097 (gst_element_send_event), (gst_element_get_query_types),
12098 (gst_element_query), (gst_element_post_message),
12099 (gst_element_message_full), (gst_element_continue_state),
12100 (gst_element_lost_state), (gst_element_save_thyself),
12101 (gst_element_restore_thyself):
12102 Documentation updates.
12103 Rename last bit of the new-pad -> pad-added signal rename.
12104 Fix the case where an element query would only work if the source
12106 Avoid some useless type checking in message handling.
12111 Documentation updates.
12113 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12115 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12116 add an INFO line for when we actually update the fd
12118 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12123 === release 0.10.10 ===
12125 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12128 releasing 0.10.10, "Pais"
12130 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12132 * docs/manual/advanced-position.xml:
12133 Fix typo in sample code.
12135 2006-09-05 Wim Taymans <wim@fluendo.com>
12137 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12138 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12139 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12140 * libs/gst/net/gstnetclientclock.h:
12141 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12142 * libs/gst/net/gstnettimepacket.h:
12143 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12144 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12145 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12146 * libs/gst/net/gstnettimeprovider.h:
12147 Make stuff compile on windows. Fixes #345295.
12149 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12151 * gst/gst.c: (ensure_current_registry_forking):
12152 Print better details when child was terminated by signal.
12154 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12156 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12157 Print a warning rather than g_assert() if a plugin feature
12158 is a URI handler but returns no protocols (#353976).
12160 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12162 * docs/random/moving-plugins:
12165 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12167 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12168 Fix locking order, handle NULL function values properly.
12173 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12174 Initialise variable before using it and fix debug statement to
12175 print the address of the function rather than the address of the
12176 variable on the stack holding the address of the function.
12178 2006-09-01 Wim Taymans <wim@fluendo.com>
12180 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12181 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12182 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12183 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12184 (gst_ghost_pad_parent_unset),
12185 (gst_ghost_pad_internal_do_activate_push),
12186 (gst_ghost_pad_internal_do_activate_pull),
12187 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12188 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12189 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12190 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12191 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12192 (gst_ghost_pad_new_no_target_from_template),
12193 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12195 Avoid needless typechecking in macros.
12196 Since the internal pad is always present and never changes, there is
12197 no need to locking or ref when retrieving it.
12198 Improve debugging a bit.
12199 Handle link errors when setting the target. Fixes #341029.
12201 2006-09-01 Wim Taymans <wim@fluendo.com>
12203 * docs/libs/gstreamer-libs-sections.txt:
12204 * docs/plugins/gstreamer-plugins-sections.txt:
12205 Fix docs some more.
12207 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12208 (gst_collect_pads_event):
12209 * libs/gst/base/gstcollectpads.h:
12210 Documentation updates.
12211 Free queued buffer when removing a pad.
12213 2006-08-31 Michael Smith <msmith@fluendo.com>
12215 * gst/gstutils.c: (gst_element_link_pads),
12216 (gst_element_link_pads_filtered):
12217 Ensure that we set a capsfilter to NULL if we failed to link it
12218 when doing filtered linking, to avoid criticals.
12220 No need to check for unreffing srcpad, which is explicly NULLed
12221 above (a trivial code cleanup).
12223 2006-08-31 Wim Taymans <wim@fluendo.com>
12225 * docs/design/part-gstghostpad.txt:
12226 Update ascii art in documentation.
12228 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12229 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12230 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12231 (gst_ghost_pad_internal_do_activate_push),
12232 (gst_ghost_pad_internal_do_activate_pull),
12233 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12234 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12235 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12236 (gst_ghost_pad_set_target):
12237 Small cleanups and leak fixes.
12238 Remove some checks now that the internal pad is never NULL.
12239 Fix the case where linking pads without a target would create nasty
12240 criticals. Fixes #341029.
12241 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12242 value of _set_target().
12244 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12245 (gst_ghost_pad_suite):
12246 Some more tests for creating and linking untargeted ghostpads.
12248 2006-08-31 Edward Hervey <edward@fluendo.com>
12250 * docs/gst/gstreamer-sections.txt:
12251 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12252 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12253 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12254 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12255 (gst_ghost_pad_new_from_template),
12256 (gst_ghost_pad_new_no_target_from_template):
12257 * gst/gstghostpad.h:
12258 Refactored *_new() functions.
12259 Templates are now used as a g_object_new() parameter.
12260 Use template in _do_getcaps() if we don't have a target.
12261 Small documentation cleanups.
12262 Added two new constructors:
12263 gst_ghost_pad_new_from_template()
12264 gst_ghost_pad_new_no_target_from_template()
12265 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12266 (gst_ghost_pad_suite):
12267 Added tests for new ghostpad instanciation functions.
12269 API additions: gst_ghost_pad_new_from_template,
12270 gst_ghost_pad_new_no_target_from_template
12272 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12274 * docs/random/ensonic/profiling.txt:
12275 Ideas about qos profiling.
12277 2006-08-29 Wim Taymans <wim@fluendo.com>
12279 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12283 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12286 Improve and detypofy docs.
12288 * tests/check/Makefile.am:
12289 * tests/check/gst/.cvsignore:
12290 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12291 Add a basic test suite for GstXML.
12293 2006-08-29 Wim Taymans <wim@fluendo.com>
12295 * gst/gstelement.c: (activate_pads), (clear_caps),
12296 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12297 Clear the pad caps when the element shut down all of the pads and
12298 is not streaming data that could modify the caps.
12301 2006-08-28 Michael Smith <msmith@fluendo.com>
12303 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12304 Revert previous change; I misunderstood single-segment mode.
12306 2006-08-28 Michael Smith <msmith@fluendo.com>
12308 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12309 Unset DISCONT on buffers when using single-segment mode.
12311 2006-08-28 Wim Taymans <wim@fluendo.com>
12313 * gst/gstcaps.c: (gst_caps_merge_structure):
12315 Fix docs and indentation again.
12317 * tests/check/gst/gstquery.c: (GST_START_TEST):
12318 Fix leak in tests and add some more tests.
12320 2006-08-28 Edward Hervey <edward@fluendo.com>
12322 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12323 Inform GstSegment of the last stop position in order for the current
12324 segment to have a proper duration if it doesn't have a specific stop
12325 position from which a duration could be calculated.
12326 This bug was noticeable when a non-flushing, non-update new segment was
12327 followed by another segment (all buffers from the new segment were being
12330 2006-08-28 Wim Taymans <wim@fluendo.com>
12332 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12333 Small comment update.
12335 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12336 (gst_identity_transform_ip):
12337 Drop-probability is broken, mention this in the code with a
12338 FIXME and also in the property description.
12339 Make silent also be silent about the drop messages.
12341 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12343 * docs/manual/appendix-win32.xml:
12344 Remove mention of popt, we don't depend on that any
12345 longer (#353136). Add some comments pointing out that
12346 this section is slightly outdated.
12348 2006-08-28 Wim Taymans <wim@fluendo.com>
12350 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12352 * gst/gstquery.c: (gst_query_new_segment):
12353 * tests/check/gst/gstquery.c: (GST_START_TEST):
12354 Initialize variables when creating a new segment query.
12357 2006-08-28 Wim Taymans <wim@fluendo.com>
12359 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12361 * gst/gstelement.c: (gst_element_get_bus):
12362 * tests/check/gst/gstelement.c: (GST_START_TEST):
12363 Check for NULL before _reffing the bus. Fixes #353122.
12365 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12367 * docs/manual/basics-bus.xml:
12368 Docs update: fix wrong callback return value explanation; add
12369 some lines about the implicit relationship between main loop
12370 and main context; remove duplicate main loop variable declaration.
12372 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12374 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12375 Don't leak caps in unit test; add a few more simple
12378 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12380 * docs/gst/gstreamer-sections.txt:
12381 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12382 (gst_caps_structure_is_subset), (gst_caps_merge),
12383 (gst_caps_merge_structure):
12385 * libs/gst/base/gstbasetransform.c:
12386 (gst_base_transform_transform_caps):
12387 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12388 implement caps merging (fixes #352580)
12390 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12392 * tools/Makefile.am:
12393 * tools/gst-plot-timeline.py:
12394 add debug-log plotting developer tool (#340674)
12396 2006-08-23 Wim Taymans <wim@fluendo.com>
12398 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12399 (gst_pad_stop_task):
12400 Improve debugging for task functions.
12402 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12403 (gst_task_start), (gst_task_pause), (gst_task_join):
12404 Make sure that the task function started and finished after a
12406 Don't try to push the task function on the threadpool multiple
12408 Improve the g_warning message with some useful suggestions
12409 about how to fix the problem.
12411 2006-08-23 Wim Taymans <wim@fluendo.com>
12413 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12414 Handle RESYNC correctly in _proxy_getcaps.
12416 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12418 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12419 (gst_xml_parse_memory), (gst_xml_get_element):
12420 Chain up to parent class in dispose function and also
12421 unref the elements in the toplevel_elements GList.
12422 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12423 Always return a reference in gst_xml_get_element() rather
12424 than only sometimes.
12426 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12427 Don't leak GstXml object.
12429 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12431 * docs/gst/gstreamer-sections.txt:
12432 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12435 * libs/gst/base/gstbasetransform.c:
12436 (gst_base_transform_transform_caps):
12437 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12440 2006-08-21 Edward Hervey <edward@fluendo.com>
12442 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12443 Implement GObject::dispose virtual method in GstXML so we can free the
12444 top_elements GList.
12446 2006-08-21 Wim Taymans <wim@fluendo.com>
12448 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12449 (gst_buffer_create_sub):
12450 Copy duration/offset_end/caps when creating a subbuffer of the
12452 Make the subbuffer read-only when we make the metadata writable for
12453 now. Fixes #351768.
12455 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12456 Added check for metadata copy when creating subbuffers.
12458 2006-08-21 Edward Hervey <edward@fluendo.com>
12460 * libs/gst/base/gstbasetransform.c:
12461 (gst_base_transform_buffer_alloc):
12462 Only call downstream buffer_alloc if transform element is passthrough
12463 or always_in_place. Closes #350449.
12465 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12468 ChangeLog surgery to add comments to previous changes
12470 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12475 * gst/gstpad.c: (gst_pad_set_active):
12476 Be more verbose in the log
12478 * libs/gst/base/gstbasetransform.c:
12479 (gst_base_transform_transform_caps):
12480 Simplify caps to get rid of duplicates, fixes #345444
12482 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12486 Use these optimizations only internally.
12488 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12490 * gst/gstvalue.c: (gst_value_compare_list),
12491 (gst_value_compare_fraction_range),
12492 (gst_value_intersect_fraction_fraction_range),
12493 (gst_value_intersect_fraction_range_fraction_range),
12494 (gst_value_subtract_fraction_fraction_range),
12495 (gst_value_subtract_fraction_range_fraction_range),
12496 (gst_value_get_compare_func), (gst_value_compare),
12497 (gst_value_compare_with_func):
12499 Saves the expensive lookup of the compare function in many cases
12502 2006-08-18 Edward Hervey <edward@fluendo.com>
12504 * tests/check/gst/gstinfo.c: (gst_info_suite):
12505 Disable test that require gstdebug if it wasn't built in core.
12507 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12509 * docs/random/ensonic/logging.txt:
12512 * gst/gstinfo.c: (gst_debug_log_default):
12513 reorder fields, save some columns, add optional color codes for log
12516 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12518 * docs/random/ensonic/logging.txt:
12519 add ideas about making the logs a bit more useful
12521 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12523 * docs/pwg/advanced-events.xml:
12524 * docs/pwg/titlepage.xml:
12525 Update for 0.10 API (#340627). Add myself
12528 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12530 * docs/libs/gstreamer-libs-docs.sgml:
12531 * docs/libs/gstreamer-libs-sections.txt:
12532 * libs/gst/check/gstbufferstraw.c:
12533 Make gstcheck stuff show up in docs (still needs to
12534 be documented properly though).
12536 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12538 * docs/gst/gstreamer-sections.txt:
12540 * gst/gst.c: (init_post):
12541 * gst/gst_private.h:
12542 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12544 * gst/gstquery.c: (gst_query_new_position),
12545 (gst_query_set_position), (gst_query_parse_position),
12546 (gst_query_new_duration), (gst_query_set_duration),
12547 (gst_query_parse_duration), (gst_query_new_convert),
12548 (gst_query_set_convert), (gst_query_parse_convert),
12549 (gst_query_new_segment), (gst_query_set_segment),
12550 (gst_query_parse_segment), (gst_query_new_seeking),
12551 (gst_query_set_seeking), (gst_query_parse_seeking):
12552 Add internal helpers for pre-registering quarks from static strings
12553 and using the quark values directly instead of looking them up when
12554 creating and parsing queries. Can be used for event construction too.
12557 2006-08-16 Wim Taymans <wim@fluendo.com>
12562 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12564 * gst/gstutils.c: (gst_util_set_value_from_string):
12565 Fix memleak (#351502).
12567 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12568 Add unit test for most of gst_util_set_value_from_string()
12569 (not that one would want to encourage use of this function).
12571 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12573 * libs/gst/check/gstcheck.h:
12574 Use const gchar * variables in fail_unless_equals_string
12575 macro to avoid compiler warnings (and don't use tabs for
12578 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12580 * tools/gst-launch.c: (print_tag):
12581 More space on the left for the tag names, to cater
12582 for the 'extended comment' tag (not touching the
12583 string for the first line since it's translated).
12585 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12587 * libs/gst/check/gstcheck.h:
12588 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12589 print something when they fail.
12591 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12593 * docs/gst/gstreamer-sections.txt:
12594 * gst/gsttaglist.c: (_gst_tag_initialize):
12595 * gst/gsttaglist.h:
12596 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12597 Also change merge function for GST_TAG_COMMENT to
12600 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12602 * gst/gstinfo.c: (gst_debug_print_object):
12603 Make GST_PTR_FORMAT print messages as well.
12605 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12606 (GST_START_TEST), (gst_info_suite):
12609 2006-08-14 Edward Hervey <edward@fluendo.com>
12611 * gst/gstelementfactory.c: (gst_element_register):
12612 If the GstElementClass doesn't have a GstElementDetails with all fields
12613 filled up correctly (longname, description AND author), then error out
12614 nicely instead of crashing.
12616 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12618 * gst/gststructure.c:
12619 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12622 Expand on the difference between arrays and lists as we use them.
12624 2006-08-14 Wim Taymans <wim@fluendo.com>
12626 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12627 If the parent state change function failed, don't assume we can safely
12628 stop the source, this will be done when the pads are deactivated.
12630 2006-08-14 Wim Taymans <wim@fluendo.com>
12633 * gst/gsttask.c: (gst_task_join):
12636 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12637 (gst_pad_stop_task):
12638 When pad (de)activation failed for some reason, restore the old
12639 activation mode and set the pad to flushing instead of assuming the
12640 pad is deactivated.
12641 If the _task_join() failed, reinstall the task on the pad so that it can
12642 be stopped later and return an error.
12644 2006-08-11 Andy Wingo <wingo@pobox.com>
12647 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12648 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12649 is only for users of API that don't want to see deprecated
12650 functions in the headers; people that want to compile out
12651 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12652 CFLAGS. Fixes the build of multifdsink, or will soon..
12654 2006-08-11 Wim Taymans <wim@fluendo.com>
12656 * docs/gst/gstreamer-sections.txt:
12657 Add GstClockClass vmethod docs.
12660 Mark #endif with comment for associated #if
12662 * gst/gstclock.c: (gst_clock_id_wait):
12664 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12665 most clock implementations.
12667 Flesh out docs about resolution methods.
12668 API: GstClockClass::wait_jitter
12670 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12671 (gst_system_clock_async_thread),
12672 (gst_system_clock_id_wait_jitter_unlocked),
12673 (gst_system_clock_id_wait_jitter):
12674 Use base class wait_jitter variant for improved performance
12675 due to less clock polling.
12677 2006-08-11 Edward Hervey <edward@fluendo.com>
12679 * gst/gst.c: (gst_init_check), (init_post):
12680 Set gst as being initialized before scanning/updating the registry,
12681 since there might be my python plugin loader that calls gst_init() and
12682 we don't want to loop back in.
12685 2006-08-11 Wim Taymans <wim@fluendo.com>
12687 * docs/design/part-qos.txt:
12688 Bring docs in line with the code. Mostly the sign of the jitter was
12689 wrong in the docs. Fixes #349943.
12692 Fix the docs for the jitter.
12694 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12695 (gst_event_parse_tag), (gst_event_new_buffer_size),
12696 (gst_event_parse_buffer_size), (gst_event_parse_qos),
12697 (gst_event_new_seek), (gst_event_parse_seek),
12698 (gst_event_new_navigation):
12699 Make sure the GstStructure has no parent when creating custom
12701 Add some more argument checking so that we avoid 0.0 rates.
12702 Flesh out the docs for the QoS event some more.
12704 2006-08-11 Wim Taymans <wim@fluendo.com>
12706 * docs/gst/gstreamer-sections.txt:
12707 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12708 (ensure_current_registry_forking), (ensure_current_registry),
12709 (parse_one_option), (parse_goption_arg), (gst_deinit),
12710 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12713 Added API and command line option to disable registry forking in
12714 addition to the environment variable.
12715 Constify some static arrays.
12716 Added some more debug.
12717 Don't deinit twice.
12718 API: gst_registry_fork_is_enabled()
12719 API: gst_registry_fork_set_enabled()
12720 API: --gst-disable-registry-fork command line option
12723 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
12725 * gst/gst.c: (gst_init):
12726 Fix typo in error message.
12728 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12730 * libs/gst/controller/gstcontroller.h:
12731 fix ABI size-correction
12733 * tests/check/libs/gdp.c: (gst_dp_suite):
12734 make tests that use deprecated API conditional
12736 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12738 * docs/libs/gstreamer-libs-sections.txt:
12739 * libs/gst/controller/gstcontroller.c:
12740 (_gst_controller_get_property), (_gst_controller_set_property),
12741 (_gst_controller_init), (_gst_controller_class_init):
12742 * libs/gst/controller/gstcontroller.h:
12743 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12744 (gst_object_set_control_rate):
12745 API: add gst_object_{s,g}et_control_rate(), add private data section,
12748 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12749 * libs/gst/dataprotocol/dataprotocol.h:
12750 add deprecation guards to make gtk-doc happy and allow disabling cruft
12752 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
12754 * tests/check/Makefile.am:
12755 * tests/check/gst/.cvsignore:
12756 Let's enable the new unit test as well.
12758 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
12761 * docs/gst/gstreamer-sections.txt:
12762 * gst/gstconfig.h.in:
12763 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12764 (_gst_info_printf_extension_ptr),
12765 (_gst_info_printf_extension_segment):
12766 API: add GST_SEGMENT_FORMAT, which is a printf extension we
12767 register that lets us easily dump GstSegments into debug
12770 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12771 (info_segment_format_printf_extension), (gst_info_suite):
12772 Add simple unit test that logs a bunch of different segments (not
12773 valgrinded at the moment because of leaks in
12774 gst_debug_add_log_function).
12776 2006-08-09 Edward Hervey <edward@fluendo.com>
12778 * libs/gst/base/gstbasetransform.c:
12779 (gst_base_transform_buffer_alloc):
12780 Even if we can't figure out the proper format to request downstream,
12781 call buffer_alloc() downstream with the input parameters without setting
12782 the caps on the srcpad. This will force negotiation in the chain
12786 2006-08-08 Edward Hervey <edward@fluendo.com>
12788 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12789 Unlinking from a pad without a target is now a perfectly valid case
12790 which should NOT raise an assertion.
12791 This case would happen if a linked ghostpad its target set to NULL after
12792 it was previously linked.
12794 2006-08-08 Edward Hervey <edward@fluendo.com>
12796 * tests/check/libs/gdp.c:
12797 Also comment out the test (see below).
12799 2006-08-08 Edward Hervey <edward@fluendo.com>
12801 * tests/check/libs/gdp.c: (gst_dp_suite):
12802 Use the architecture information from config.h and not gcc macros
12803 in order to properly disable a test that fails on PPC64.
12805 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
12807 * gst/gstelement.c: (gst_element_remove_pad):
12808 Don't crash printing the warning if the pad has no parent.
12810 2006-08-02 Wim Taymans <wim@fluendo.com>
12812 * libs/gst/dataprotocol/dataprotocol.c:
12813 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12814 (gst_dp_crc), (gst_dp_header_payload_length),
12815 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
12816 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
12817 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
12818 (gst_dp_event_from_packet), (gst_dp_validate_header),
12819 (gst_dp_validate_payload):
12820 Make debug category static
12821 Constify the crc table.
12822 Do some more arg checking in public functions.
12823 Fix some docs and do some small cleanups.
12825 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12826 Add some more checks to see if GDP deals with bogus input.
12828 2006-07-31 Wim Taymans <wim@fluendo.com>
12830 * gst/gstvalue.c: (gst_value_compare_list):
12831 Fix GstValueList comparison code. Fixes #347293.
12833 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12834 Check to test GstValueList comparison.
12836 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12838 * gst/gstelementfactory.c: (gst_element_factory_create):
12839 Remove unnecessary ref/unref pair
12841 * gst/parse/grammar.y:
12842 Make sure to free the parse buffer on all code paths.
12843 Move a g_free up to the error handler where it's easier to see.
12845 * tests/check/gst/gstevent.c: (test_event):
12846 Extending timeout for downstream travelling events to 10 seconds to
12847 hopefully avoid intermittent failure on the buildbots.
12849 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
12850 Don't manually set the state of the src element - it will happen as a
12851 natural consequence of the pipeline changing state, and that way it
12852 will do it in the right order too.
12854 2006-07-31 Wim Taymans <wim@fluendo.com>
12856 * libs/gst/base/gstbasetransform.c:
12857 (gst_base_transform_buffer_alloc):
12858 Use OBJECT_LOCK and refcounting to get the pad caps in the
12859 buffer_alloc function because the caps could change while we are
12860 busy with them. Fixes #349105
12862 2006-07-31 Wim Taymans <wim@fluendo.com>
12864 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
12865 Protect _PAD_CAPS with OBJECT_LOCK.
12867 2006-07-31 Wim Taymans <wim@fluendo.com>
12869 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12870 (gst_pad_get_property), (gst_pad_activate_pull),
12871 (gst_pad_activate_push), (gst_pad_set_blocked_async),
12872 (gst_pad_set_activate_function),
12873 (gst_pad_set_activatepull_function),
12874 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
12875 (gst_pad_set_getrange_function),
12876 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
12877 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12878 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
12879 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
12880 (gst_pad_set_acceptcaps_function),
12881 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12882 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
12883 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
12884 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
12885 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
12886 (gst_pad_configure_sink), (gst_pad_configure_src),
12887 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
12888 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
12889 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
12890 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
12891 (gst_pad_send_event):
12892 Use _DEBUG_OBJECT when it makes sense.
12893 Protect GST_PAD_CAPS with the OBJECT_LOCK.
12894 Small cleanups and code reflows.
12895 Avoid caps refcounting in _accept_caps.
12896 Refactor alloc_buffer so that the code performed on the peer is in a
12897 separate function. Also if the pad does not implement a buffer alloc
12898 function, we should still check if the pad is flushing before falling
12899 back to the default allocator.
12901 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12903 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12904 Make all uses of identity and fakesink have silent=true to avoid
12905 serialising every passing data structure, which is breaking tests
12906 on FC4 for some unknown reason.
12908 2006-07-30 Stefan Kost <ensonic@users.sf.net>
12910 * gst/parse/Makefile.am:
12911 * gst/parse/grammar.y:
12912 * gst/parse/parse.l:
12913 Reverted previous patch as it required to bump the flex dependency to
12914 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
12916 2006-07-30 Stefan Kost <ensonic@users.sf.net>
12918 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
12920 * gst/parse/Makefile.am:
12921 * gst/parse/grammar.y:
12922 * gst/parse/parse.l:
12923 push & pop the state of the lexer for reentrant use case
12926 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
12928 * libs/gst/base/gstbasesrc.h:
12929 Note in the docs that the ::newsegment vfunc is not actually used by
12932 2006-07-28 Wim Taymans <wim@fluendo.com>
12934 * libs/gst/base/gstcollectpads.c:
12935 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
12936 (gst_collect_pads_clear), (gst_collect_pads_flush),
12937 (gst_collect_pads_event), (gst_collect_pads_chain):
12938 When flushing a pad, also clear the queued buffer so that we don't
12939 accidentally use it when we shouldn't.
12940 Fix leaks by inreffing incomming buffer.
12941 Flush out queued buffers in case of errors.
12944 2006-07-28 Wim Taymans <wim@fluendo.com>
12946 * docs/random/phonon-gst:
12947 Random notes about a Phonon backend.
12949 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12951 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
12953 * tests/check/libs/gdp.c: (gst_dp_suite):
12954 Take a whack at fixing the ppc compile using a different define to
12955 disable the broken test.
12957 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12958 Remove excess g_print()
12960 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12962 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
12963 Oops, meant to uncomment this line too to dampen the noise a bit.
12965 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12967 * gst/parse/grammar.y:
12968 * gst/parse/parse.l:
12969 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
12970 (GST_START_TEST), (parse_suite):
12971 Fix some of the leaks exposed by extending the parse-launch testsuite,
12972 and move the 3 I can't figure out into a separate test that won't run
12973 the pipelines unless the appropriate line is uncommented.
12975 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
12977 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12978 Requesting 0 bytes before the end of the file should result in
12979 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
12982 2006-07-27 Wim Taymans <wim@fluendo.com>
12984 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
12985 Fix useless assert, a uint is always positive.
12987 * gst/gststructure.c: (gst_structure_nth_field_name),
12988 (gst_structure_foreach), (gst_structure_map_in_place):
12989 Check input arguments for public functions to avoid obvious crashes.
12991 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
12992 * plugins/elements/gstfakesink.h:
12993 Do less useless typechecking.
12995 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
12997 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12998 Do not use mmap() by default since there are a number of error
12999 conditions that we would like to handle in a non-fatal way that
13000 will result in a SIGBUS if we use mmap(). Examples: external
13001 devices (USB harddrive, portable music player) being unplugged
13002 while in use; file on mounted CD/DVD that can't be read because
13003 the medium is partly damaged. Fixes #348455 and #348475.
13005 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13008 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13009 rates are a gdouble
13011 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13013 * gst/gstregistry.c:
13014 Move big documentation comment into class section header, so that it
13015 appears in the API docs.
13017 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13019 * docs/gst/gstreamer-sections.txt:
13020 Oops. Commit the docs additions too for new API.
13021 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13023 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13025 * gst/gststructure.c: (gst_structure_id_set),
13026 (gst_structure_id_set_valist):
13027 * gst/gststructure.h:
13028 Add API for setting values into structures without performing
13029 a quark lookup, if the appropriate quark is already known.
13031 API: gst_structure_id_set
13032 API: gst_structure_id_set_valist
13034 * gst/parse/grammar.y:
13035 * gst/parse/parse.l:
13036 Remove some dead code shown by the coverage information.
13037 Don't throw a critical g_warning when encountering a syntax error,
13038 just warn and let the normal error path handle it.
13040 * plugins/elements/gstelements.c:
13041 Bump the rank of filesink up to PRIMARY so that it is preferred over
13042 gnomevfssink for file:// sink uri's
13044 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13045 (GST_START_TEST), (run_delayed_test),
13046 (gst_parse_test_element_base_init),
13047 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13048 (gst_parse_test_element_change_state),
13049 (gst_register_parse_element), (parse_suite):
13050 Beef up the tests for parse syntax to check that more error cases
13051 fail as they are supposed to. Increases the test coverage a bit.
13053 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13055 * docs/manual/basics-elements.xml:
13056 Fix gst_element_link() example.
13059 Mention in API docs that one should usually gst_bin_add()
13060 elements to a bin or pipeline before doing the linking.
13062 2006-07-26 Wim Taymans <wim@fluendo.com>
13064 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13065 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13066 Avoid function call for known types by keeping the buffer and
13067 subbuffer GType global.
13069 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13070 Random silly optimisations in read() path.
13072 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13074 * tools/gst-launch.c: (main):
13075 If the top-level of the parse is a normal bin, it doesn't do the
13076 right logic to run as a top-level element, so place it inside a
13079 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13081 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13082 Remove superfluous g_object_notify() calls, GObject does
13083 that for us automatically.
13085 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13088 on Win32, use dllspec to export the debug category symbols
13090 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13092 * gst/gsttaglist.c: (_gst_tag_initialize):
13093 Allow more than one GST_TAG_IMAGE per taglist.
13095 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13097 * gst/gstminiobject.c:
13099 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13100 (gst_fd_src_create):
13101 log recurring events at LOG level
13102 add more debug for when the fd gets set
13104 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13106 * gst/gstparse.c: (gst_parse_launch):
13107 Also remove reentrance checks if flex is MT safe (#348179)
13108 Fix my empty ChangeLog entry below
13110 2006-07-21 Andy Wingo <wingo@pobox.com>
13112 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13114 * libs/gst/check/Makefile.am
13115 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13116 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13117 * libs/gst/check/gstbufferstraw.h:
13118 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13119 functions, thus proving I am still a GStreamer haxor. OK I wrote
13120 them a long time ago, but anyways.
13122 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13125 * gst/gstparse.c: (gst_parse_launch):
13126 Check for flex version and omit mutex if we have a MT save flex
13129 2006-07-21 Wim Taymans <wim@fluendo.com>
13131 * gst/gstparse.c: (gst_parse_launch):
13132 Protect recursive calls to _parse with a recursive mutex
13135 2006-07-21 Wim Taymans <wim@fluendo.com>
13137 * tests/check/gst/gstpad.c: (GST_START_TEST):
13140 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13142 * gst/gstparse.c: (gst_parse_launch):
13143 Do not hang on recursive usage of gst_parse_launch()
13145 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13147 * gst/gsttaglist.c:
13148 Add some more docs, comments and FIXME 0.11s here and there
13149 and also fix some typos.
13151 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13153 * gst/gstsegment.h:
13154 Convert tabs to spaces for better readability.
13156 2006-07-20 Edward Hervey <edward@fluendo.com>
13158 * tests/check/libs/gdp.c: (gst_dp_suite):
13159 the test_buffer test fails at line 140 on ppc64 at the following
13161 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13162 GST_BUFFER_FLAG_IN_CAPS),
13163 "GST_BUFFER_IN_CAPS flag should have been copied !");
13164 See bug #348114 for more details.
13166 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13168 * docs/pwg/advanced-scheduling.xml:
13170 Fix typos (#348000).
13172 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13174 * docs/pwg/intro-basics.xml:
13175 Fix wrong links (#347927).
13177 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13179 * gst/gstregistry.h:
13180 * gst/gstregistryxml.c: (load_feature),
13181 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13182 * win32/common/config.h:
13183 make --disable-index work (#342564)
13185 2006-07-18 Wim Taymans <wim@fluendo.com>
13187 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13191 The attached patch adds two missing defines to gsttrace.h when tracing
13192 is disabled. It also corrects one existing define.
13195 2006-07-17 Wim Taymans <wim@fluendo.com>
13197 * docs/gst/gstreamer-sections.txt:
13198 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13200 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13201 Add two functions to check and change the SIGSEGV behaviour
13202 when loading plugins.
13203 Don't mess with the SIGSEGV handler when we were told not to.
13205 API: gst_segtrap_is_enabled
13206 API: gst_segtrap_set_enabled
13208 2006-07-14 Wim Taymans <wim@fluendo.com>
13210 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13211 * tests/check/elements/filesrc.c: (GST_START_TEST):
13212 Revert fix for regression in #347408 after release.
13214 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13216 Patch by: Antoine Tremblay <hexa00 at gmail com>
13218 * gst/gstutils.c: (gst_element_unlink):
13219 Free iterator when done (#347311).
13221 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13222 And add a test case for this.
13224 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13227 Bump nano back to CVS
13229 === release 0.10.9 ===
13231 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13234 releasing 0.10.9, "On the road again"
13236 2006-07-13 Wim Taymans <wim@fluendo.com>
13238 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13239 * tests/check/elements/filesrc.c: (GST_START_TEST):
13240 Revert pull-0 fix for release. Disable check. Fixes #347408.
13242 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13244 * libs/gst/dataprotocol/dataprotocol.c:
13245 (gst_dp_event_from_packet_1_0):
13246 Fixes #347337: failure to deserialize event packets with
13247 empty payload (only event type)
13249 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13252 do not install a .c file in the header directory
13254 2006-07-13 Edward Hervey <edward@fluendo.com>
13256 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13257 GhostPad no longer implicitely use the padtemplates of the targets.
13260 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13262 * gst/gstvalue.c: (gst_value_compare_list),
13263 (gst_value_compare_array), (_gst_value_initialize):
13264 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13265 Make GstValueArray comparison be order dependent as designed.
13266 Add checks for value lists and value array comparisons.
13269 2006-07-11 Edward Hervey <edward@fluendo.com>
13271 * gst/gstbin.c: (activate_pads),
13272 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13273 (gst_bin_change_state_func):
13274 (de)activate src pads before calling state_change on the childs.
13275 This is to avoid the case where a src ghostpad is blocked (holding the
13276 stream lock), which would block the deactivation of the ghostpad's
13278 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13279 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13280 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13281 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13282 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13283 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13284 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13285 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13286 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13287 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13288 (gst_ghost_pad_class_init),
13289 (gst_ghost_pad_internal_do_activate_push),
13290 (gst_ghost_pad_internal_do_activate_pull),
13291 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13292 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13293 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13294 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13295 GhostPads now create their internal GstProxyPad at creation (and not
13296 when they're linked, as it was being done previously).
13297 The internal and target pads are linked straight away.
13298 The data will also travel through the other pad in order to make
13299 pad blocking and probes non-hackish (the probe/block now really happens
13300 on the GhostPad and not on the target).
13301 * gst/gstpad.c: (gst_pad_set_blocked_async),
13302 (gst_pad_link_prepare), (gst_pad_push_event):
13303 Remove previous ghostpad cruft.
13304 * gst/gstutils.c: (gst_pad_add_data_probe),
13305 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13306 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13307 (gst_pad_remove_buffer_probe):
13308 Remove previous ghost pad cruft.
13309 Added more detailed debug statements.
13310 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13311 Fix the testsuite for refcounting changes.
13312 The comments about who has references were correct, but the refcount
13313 being checked wasn't the same (!?!).
13317 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13319 * docs/gst/gstreamer-sections.txt:
13320 * gst/gstconfig.h.in:
13321 More docs for configuration options, add docs to gtk-doc.
13323 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13326 * gst/gstconfig.h.in:
13327 * win32/common/config.h:
13328 Fix build when disabling tracing (fixes #344016). Also start to document
13329 the defines that disable the sub-systems.
13331 2006-07-10 Edward Hervey <edward@fluendo.com>
13333 * gst/gst.c: (ensure_current_registry_forking):
13334 let's make valgrind happy...
13336 2006-07-09 Wim Taymans <wim@fluendo.com>
13338 * gst/gstelement.c: (activate_pads),
13339 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13340 Better pad activation code: Reset the collect value too on resync.
13343 2006-07-09 Wim Taymans <wim@fluendo.com>
13345 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13346 (gst_pad_activate_push):
13347 Use some more macros where it makes sense.
13348 Allow pad mode switching instead of asserting. When a pad
13349 is activated in one mode and we activate it in another,
13350 deactivate it first before activating it in a different mode.
13353 2006-07-08 Andy Wingo <wingo@pobox.com>
13355 * tools/gst-launch.c (main): Handle err == NULL.
13357 * gst/gst.c (init_post, ensure_current_registry)
13358 (ensure_current_registry_forking)
13359 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13360 factoring out the registry scanning into separate functions. Don't
13361 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13362 Better environment var name/interface suggestions accepted.
13364 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13366 * gst/gstobject.c: (gst_object_set_name_default),
13367 (gst_object_set_name):
13368 Random micro-optimisation: don't use a hash table
13369 with strings as keys and the usual strdup/strcmp
13370 involved, but rather just use the GQuark of the
13371 type name as key, since it needs to be looked up
13372 anyway to get the type name string.
13374 * tests/check/gst/gstobject.c: (GST_START_TEST):
13377 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13379 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13380 (gst_bin_iterate_all_by_interface):
13381 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13382 GTypes are gulongs and thus the top 4 bytes might be cut
13383 off on some platforms when doing GPOINTER_TO_INT, leading
13384 to invalid GTypes and bad things happening (see RH bug #179654).
13385 Also add a check to make sure the type passed in is really
13388 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13393 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13397 * gst-element-check.m4:
13398 * gst-element-check.m4.in:
13399 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13400 instead of the unversioned gst-inspect (#324176, #168659).
13402 2006-07-06 Wim Taymans <wim@fluendo.com>
13404 * gst/gstmessage.h:
13405 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13408 2006-07-06 Wim Taymans <wim@fluendo.com>
13410 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13411 (gst_base_src_wait), (gst_base_src_update_length),
13412 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13413 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13414 (gst_base_src_loop), (gst_base_src_start),
13415 (gst_base_src_activate_pull):
13417 blocksize == 0 now means the default blocksize when working in push
13419 Remove some pointless asserts in _wait function.
13420 Fix offset/length calculations and EOS handling. We can now pull 0
13421 bytes as well, which is allowed.
13422 use _check_get_range() to decide if we can operate in _pull based
13424 Fix refcounting leak when check_get_range function was not
13426 API GstBaseSrc::blocksize range can be 0 too now (default)
13428 * tests/check/elements/filesrc.c: (GST_START_TEST),
13430 Added check to test _get_range() behaviour.
13432 2006-07-06 Wim Taymans <wim@fluendo.com>
13434 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13435 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13436 (gst_pad_pull_range):
13438 Lots of comments and docs added to the pad functions.
13439 Flesh out the expected behaviour of the get_range() functions.
13441 2006-07-06 Wim Taymans <wim@fluendo.com>
13446 * gst/gstiterator.h:
13450 Remove comma at end of enumerator list.
13452 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13454 * win32/common/libgstbase.def:
13455 * win32/common/libgstdataprotocol.def:
13456 * win32/common/libsgtreamer.def:
13457 Add new exported functions.
13459 2006-07-05 Wim Taymans <wim@fluendo.com>
13461 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13462 Add some more docs here and there.
13464 2006-07-05 Wim Taymans <wim@fluendo.com>
13466 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13467 (gst_base_sink_loop), (gst_base_sink_get_position):
13468 When operating in pull mode update the offset so that we
13471 2006-07-05 Wim Taymans <wim@fluendo.com>
13473 * gst/gstregistryxml.c: (read_string):
13474 Avoid strdup. (will happen in libxml, but hey!)
13477 Add some more docs.
13479 2006-07-05 Wim Taymans <wim@fluendo.com>
13481 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13482 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13483 (gst_buffer_suite):
13484 No point in checking if the size of the subbuffer > 0, the
13485 code handles it correclty as demonstrated by unit test.
13486 Also add a unit test for the zero sized _new_and_alloc and
13487 _copy. Fixes #346663.
13489 2006-07-05 Wim Taymans <wim@fluendo.com>
13491 * libs/gst/base/gstbasetransform.c:
13492 (gst_base_transform_prepare_output_buffer),
13493 (gst_base_transform_buffer_alloc),
13494 (gst_base_transform_handle_buffer):
13495 Make sure the buffer we pass to transform_ip has a refcount of
13496 1 and thus is writable. Fixes #343196
13498 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13500 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13501 (gst_file_src_init), (gst_file_src_set_property),
13502 (gst_file_src_get_property), (gst_file_src_map_region):
13503 * plugins/elements/gstfilesrc.h:
13504 Add "sequential" property, off by default, to use madvise and hint
13505 to the kernel that sequential access is desired.
13506 Touch all retrieved pages by default to ensure they are pulled
13507 into memory. (Closes #345720)
13509 2006-07-03 Wim Taymans <wim@fluendo.com>
13511 * docs/design/part-block.txt:
13512 * docs/design/part-dynamic.txt:
13513 Small docs updates.
13515 2006-07-03 Wim Taymans <wim@fluendo.com>
13517 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13518 (gst_caps_unref), (gst_static_caps_get),
13519 (gst_caps_append_structure):
13520 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13521 Use GSlice when the glib we build against is >= 2.10
13523 2006-07-03 Wim Taymans <wim@fluendo.com>
13525 * gst/gstelement.c: (gst_element_pads_activate):
13526 Small cleanup in pad activation code.
13528 2006-07-03 Wim Taymans <wim@fluendo.com>
13530 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13532 * gst/gst-i18n-app.h:
13533 * gst/gst-i18n-lib.h:
13534 * tools/gst-inspect.c: (print_signal_info):
13535 The attached patch will make the inclusion of gettext.h unconditional in
13536 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13537 libintl.h in tools/gst-inspect.c.
13538 This allows use of --disable-nls again and fixes #344642.
13540 2006-07-03 Edward Hervey <edward@fluendo.com>
13542 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13543 Implement pad blocking on events according to part-block.txt.
13544 More comments on behaviour.
13545 * tests/check/gst/gstevent.c: (test_event):
13546 Send event to peer pad of blocked pad (else it will block).
13548 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13550 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13551 (gst_check_run_suite):
13552 if we get the wrong message, give us the types as string
13553 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13555 * tests/check/elements/filesrc.c: (GST_START_TEST):
13556 add a test for trying to open a non-existing file
13558 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13560 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13561 add a test for adding self
13563 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13565 * libs/gst/check/gstcheck.h:
13566 add some assert_ as alias for fail_unless_*
13567 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13568 increase test coverage
13570 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13573 include lcov.mak for lcov coverage generation
13574 * tools/Makefile.am:
13577 2006-07-02 Edward Hervey <edward@fluendo.com>
13579 * tests/check/elements/.cvsignore:
13582 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13585 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13586 * tests/check/Makefile.am:
13587 clean up gcov files
13589 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13591 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13592 remove gst_caps_simplify; it was not declared and not used
13593 and deprecated in 0.8
13595 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13597 * docs/faq/gst-uninstalled:
13598 don't put empty paths on PYTHONPATH
13599 * docs/gst/gstreamer-sections.txt:
13600 remove some symbols that are not there
13602 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13604 * gst/gstcaps.c: (gst_caps_compare_structures):
13606 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13607 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13610 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13612 * libs/gst/dataprotocol/Makefile.am:
13613 build dataprotocol test by linking to the lib, instead of
13614 compiling the source, so we get coverage
13615 * tests/check/Makefile.am:
13616 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13617 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13618 add a test for filesrc
13620 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13622 * tests/check/gst/gststructure.c: (GST_START_TEST),
13623 (gst_structure_suite):
13624 Push coverage from 59.04% to 70.00%
13626 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13628 * tests/check/Makefile.am:
13629 gst-inspect every element; this makes sure that we also get
13630 coverage on element's get/set functions
13632 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13635 set CFLAGS and friends to -O0 if gcov is being used
13638 * libs/gst/base/Makefile.am:
13639 * libs/gst/check/Makefile.am:
13640 * libs/gst/controller/Makefile.am:
13641 * libs/gst/dataprotocol/Makefile.am:
13642 * libs/gst/net/Makefile.am:
13643 * plugins/elements/Makefile.am:
13644 * plugins/indexers/Makefile.am:
13645 add makefile rules to generate gcov data and clean up
13646 * tests/check/Makefile.am:
13647 add a coverage target that generates an html overview
13650 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13652 * tests/check/elements/fakesink.c:
13653 * tests/check/elements/fakesrc.c:
13654 * tests/check/elements/fdsrc.c:
13655 * tests/check/elements/identity.c:
13656 * tests/check/generic/sinks.c: (gst_sinks_suite):
13657 * tests/check/generic/states.c:
13658 * tests/check/gst/gst.c:
13659 * tests/check/gst/gstabi.c:
13660 * tests/check/gst/gstbin.c:
13661 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13662 * tests/check/gst/gstbus.c: (gst_bus_suite):
13663 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13664 * tests/check/gst/gstelement.c:
13665 * tests/check/gst/gstevent.c: (gst_event_suite):
13666 * tests/check/gst/gstghostpad.c:
13667 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13668 * tests/check/gst/gstmessage.c: (gst_message_suite):
13669 * tests/check/gst/gstminiobject.c:
13670 * tests/check/gst/gstobject.c:
13671 * tests/check/gst/gstpad.c:
13672 * tests/check/gst/gstpipeline.c:
13673 * tests/check/gst/gstplugin.c:
13674 * tests/check/gst/gstquery.c: (gst_query_suite):
13675 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13676 * tests/check/gst/gststructure.c:
13677 * tests/check/gst/gstsystemclock.c:
13678 * tests/check/gst/gsttag.c:
13679 * tests/check/gst/gsttask.c: (gst_task_suite):
13680 * tests/check/gst/gstutils.c:
13681 * tests/check/gst/gstvalue.c:
13682 * tests/check/libs/adapter.c:
13683 * tests/check/libs/basesrc.c:
13684 * tests/check/libs/collectpads.c:
13685 * tests/check/libs/controller.c:
13686 * tests/check/libs/gdp.c: (gst_dp_suite):
13687 * tests/check/libs/gstnetclientclock.c:
13688 * tests/check/libs/gstnettimeprovider.c:
13689 * tests/check/libs/libsabi.c: (libsabi_suite):
13690 * tests/check/libs/typefindhelper.c:
13691 * tests/check/pipelines/cleanup.c:
13692 * tests/check/pipelines/parse-launch.c:
13693 * tests/check/pipelines/simple-launch-lines.c:
13694 * tests/check/pipelines/stress.c: (stress_suite):
13697 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13699 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13700 * libs/gst/check/gstcheck.h:
13701 create a macro and function so that the simple unit test
13702 case can be just one macro to create main()
13704 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13706 * gst/gstbin.c: (gst_bin_restore_thyself):
13707 * gst/gstxml.c: (gst_xml_make_element):
13708 Fix deserialisation from XML. Set parent manually
13709 instead of using gst_bin_add(), since gst_bin_add()
13710 will unlink all pads of the element being added.
13713 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
13715 Patch by: Peter Kjellerstedt <pkj at axis com>
13717 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13718 Fix missing g_strdup() and double free when using the
13719 --gst-plugin-load command line option (#346097).
13721 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13724 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13726 * libs/gst/net/gstnetclientclock.c:
13727 * libs/gst/net/gstnettimeprovider.c:
13728 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13730 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13732 * docs/manual/advanced-dataaccess.xml:
13733 Fix buffer probe example compilation in
13736 2006-06-22 Edward Hervey <edward@fluendo.com>
13738 * gst/gstelement.c: (gst_element_pads_activate):
13739 We need to deactivate src pads first and then sink pads.
13740 The reason is the src pads might be blocking while holding the streaming
13741 lock, so we need to deactivate them first so that deactivating the sink
13742 pads doesn't block (since it will require the streaming lock).
13744 2006-06-22 Wim Taymans <wim@fluendo.com>
13746 * libs/gst/base/gstbasetransform.c:
13747 (gst_base_transform_buffer_alloc):
13748 Forgot to remove two unneeded unrefs.
13749 Simplify a check _is_equal allready checks the obvious case.
13751 2006-06-22 Wim Taymans <wim@fluendo.com>
13753 * docs/design/part-block.txt:
13754 Some docs about what pad_block should do.
13756 2006-06-22 Wim Taymans <wim@fluendo.com>
13758 * gst/gstcaps.c: (gst_caps_replace):
13759 Fix crasher when passed NULL. Doc clarification.
13760 Optimize for the trivial case.
13762 * gst/gstpipeline.c: (gst_pipeline_change_state):
13765 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13766 Small documentation cleanup.
13768 * libs/gst/base/gstbasetransform.c:
13769 (gst_base_transform_buffer_alloc):
13770 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13771 is what we need and it avoids a whole lot of redundant
13772 refcount operations.
13774 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
13776 Patch by: Philip Jägenstedt <philip at lysator liu se>
13778 * docs/manual/advanced-dataaccess.xml:
13779 Fix 'Embedding static elements' section to use
13780 GST_PLUGIN_DEFINE_STATIC (#345607).
13782 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13784 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13785 Attempt to 'fix' spuriously failing test case: it seems like the
13786 timeout of half a second is simply too small when the system is under
13787 load otherwise, and the timeout doesn't really seem to serve any
13788 particular purpose here. Give the pipeline a few seconds to preroll
13789 first, and then give it another half a second to go from PAUSED to
13790 PLAYING and marshal the message into the main thread.
13792 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13794 * tools/gst-feedback-m.m:
13795 Don't only use unversioned tools, try versioned tools as well
13798 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13800 * gst/gstbus.c: (gst_bus_class_init):
13801 Fix some typos, make docs more explicit.
13803 2006-06-20 Wim Taymans <wim@fluendo.com>
13805 * tests/check/gst/gstghostpad.c: (block_callback),
13806 (GST_START_TEST), (gst_ghost_pad_suite):
13807 Added some more ghostpad tests, mainly blocking
13810 2006-06-16 Wim Taymans <wim@fluendo.com>
13812 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
13813 (gst_file_sink_close_file), (gst_file_sink_do_seek),
13814 (gst_file_sink_event), (gst_file_sink_render):
13815 * plugins/elements/gstfilesink.h:
13816 Check if we can seek in the file instead of assuming
13817 we always can. Post an error when we are asked to seek in a
13818 non-seekable file (like a fifo). Fixes #343312.
13821 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13823 * tools/gst-launch.1.in:
13824 Un-garble (fourcc) bit in filtered caps section.
13826 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13828 * docs/manual/advanced-autoplugging.xml:
13829 * docs/manual/basics-helloworld.xml:
13830 * docs/manual/highlevel-components.xml:
13831 Don't leak bus reference in sample code.
13833 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
13836 Add default for new --enable-plugin-docs switch.
13839 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13842 * docs/Makefile.am:
13843 Use new ENABLE_PLUGIN_DOCS conditional.
13845 2006-06-14 Wim Taymans <wim@fluendo.com>
13847 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
13848 Make it clear with a FIXME and a real define what the #if 0
13849 previously disabled.
13851 2006-06-14 Wim Taymans <wim@fluendo.com>
13853 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13854 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13855 * libs/gst/base/gstbasetransform.c:
13856 (gst_base_transform_sink_eventfunc):
13857 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13858 Don't randomly and silently reset a segment when the format
13859 changes as this is a bug somewhere upstream. Fixes #330379.
13861 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
13863 Patch by: Wouter Paesen <wouter at kangaroot net>
13865 * libs/gst/controller/gstcontroller.c:
13866 (gst_controlled_property_new):
13867 Fix controlling of float properties (#344849).
13869 * tests/check/libs/controller.c:
13870 (gst_test_mono_source_get_property),
13871 (gst_test_mono_source_set_property),
13872 (gst_test_mono_source_class_init), (GST_START_TEST):
13873 While we're at it, add some float stuff to unit test.
13875 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
13878 * docs/images/gdp-header.svg:
13880 * docs/libs/Makefile.am:
13881 * docs/libs/gdp-header.png:
13882 * libs/gst/dataprotocol/dataprotocol.c:
13883 add it to the API docs
13884 * docs/manual/intro-motivation.xml:
13887 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
13889 * gst/gst.c: (scan_and_update_registry), (init_post):
13890 If the fork()'ed child process can't write the updated registry cache
13891 file to disk for some reason, make it exit with a failure exit code,
13892 so that the parent can then re-scan the plugins itself and update the
13893 registry structures in memory and work with that (rather than failing
13894 when creating elements because seemingly no plugins are available).
13895 Refactor registry scanning code into separate function for this and
13896 also separate fork() and non-fork() code paths. Fixes #344748.
13898 2006-06-13 Wim Taymans <wim@fluendo.com>
13900 * docs/manual/advanced-dataaccess.xml:
13901 Fix wrong PluginDesc. Fixes #344755.
13903 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
13905 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13906 Fix silly bug that prevented us from creating
13907 ~/.gstreamer-0.10 and writing the registry in one
13908 go (the first call to g_mkstemp() would overwrite the
13909 placeholder in the template string, so the second call
13910 to g_mkstemp() after creating the missing directory
13911 would then error out with 'invalid argument').
13913 2006-06-13 Edward Hervey <edward@fluendo.com>
13915 * gst/gst.c: (init_post):
13918 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
13920 * gst/glib-compat-private.h:
13921 * gst/glib-compat.c:
13922 * gst/glib-compat.h:
13923 * gst/gstvalue.c: (gst_value_serialize_flags):
13924 remove GLib 2.6 compatibility code
13926 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
13928 * gst/parse/Makefile.am:
13929 Fix build with 'make -j N' even more (#340016).
13931 2006-06-12 Wim Taymans <wim@fluendo.com>
13933 * docs/gst/gstreamer-sections.txt:
13936 2006-06-12 Wim Taymans <wim@fluendo.com>
13938 * gst/gstsegment.c: (gst_segment_set_duration),
13939 (gst_segment_set_last_stop), (gst_segment_set_seek),
13940 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
13941 (gst_segment_to_running_time), (gst_segment_clip):
13942 Use G_UNLIKELY to help the compiler a bit.
13944 2006-06-12 Wim Taymans <wim@fluendo.com>
13946 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13948 * gst/gstevent.c: (gst_event_get_type):
13949 * gst/gstmessage.c:
13950 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13952 constify quark registration strings. Fixes #344115
13953 Avoid unneeded type checking is _pad_push() by internally
13954 calling gst_pad_chain_unchecked().
13956 2006-06-12 Wim Taymans <wim@fluendo.com>
13958 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
13959 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
13960 (gst_subbuffer_finalize), (gst_buffer_create_sub),
13961 (gst_buffer_is_span_fast), (gst_buffer_span):
13962 Init _type for consistency.
13963 Use _FLAGS macro to avoid type check.
13964 Avoid unneeded type checks in subbufer code.
13966 2006-06-12 Wim Taymans <wim@fluendo.com>
13968 * gst/gst.c: (gst_debug_help):
13969 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
13970 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13971 (gst_plugin_feature_list_free):
13972 * gst/gstregistry.c: (gst_registry_add_plugin),
13973 (gst_registry_add_feature), (gst_registry_plugin_filter),
13974 (gst_registry_feature_filter), (gst_registry_find_plugin),
13975 (gst_registry_find_feature), (gst_registry_get_plugin_list),
13976 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
13977 * gst/gstregistryxml.c: (load_feature),
13978 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
13979 * gst/gstminiobject.c: (gst_mini_object_unref),
13980 (gst_mini_object_replace), (gst_value_mini_object_free),
13981 (gst_value_mini_object_copy):
13982 Use _CAST macros to avoid unneeded type checking.
13983 Added some more G_UNLIKELY.
13985 2006-06-12 Wim Taymans <wim@fluendo.com>
13988 Avoid unneeded type checking.
13989 API: GST_BUFFER_IS_DISCONT
13991 * gst/gstminiobject.h:
13992 Avoid type check in flag accessor.
13994 * gst/gstelementfactory.h:
13996 * gst/gstpluginfeature.h:
13998 API: GST_ELEMENT_FACTORY_CAST
13999 API: GST_PLUGIN_CAST
14000 API: GST_PLUGIN_FEATURE_CAST
14002 2006-06-12 Wim Taymans <wim@fluendo.com>
14004 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14005 (gst_object_unref):
14006 Add G_UNLIKELY in type registration.
14007 Avoid type check in _ref/_unref since that is also
14010 2006-06-12 Wim Taymans <wim@fluendo.com>
14012 * gst/gsterror.c: (gst_g_error_get_type):
14013 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14014 (gst_static_pad_template_get_type):
14015 * gst/gsttaglist.c: (gst_tag_list_get_type):
14016 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14017 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14018 * gst/gsturi.c: (gst_uri_handler_get_type):
14019 * gst/gstvalue.c: (gst_date_get_type):
14020 * gst/gstxml.c: (gst_xml_get_type):
14021 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14022 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14023 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14024 Add G_UNLIKELY in type registration.
14026 2006-06-12 Wim Taymans <wim@fluendo.com>
14028 * tools/gst-inspect.c: (print_signal_info):
14029 Properly print enum values.
14031 2006-06-12 Wim Taymans <wim@fluendo.com>
14033 * gst/gstinfo.c: (gst_debug_set_active),
14034 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14036 Add some G_[UN]LIKELY.
14037 Maintain __gst_debug_min to avoid formatting the arguments of
14038 debug messages that will be dropped anyway to avoid a lot of
14039 overhead from the debugging system.
14041 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14044 * po/POTFILES.skip:
14045 add missing files containing translatable strings, tell intltool about
14048 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14050 * tests/check/libs/.cvsignore:
14051 add test-binary to ignore list
14053 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14055 * docs/libs/gstreamer-libs-docs.sgml:
14056 reorder (put dp into a chapter) and indent
14058 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14063 === release 0.10.8 ===
14065 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14068 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14070 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14072 * gst/gst.c: (init_post):
14073 move pid declaration to declaration block
14075 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14077 * gst/gst.c: (init_post):
14078 use _exit() instead of exit() in our forked child; this ensures
14079 that none of the registered exit handlers from whatever is using
14080 GStreamer get executed. This fixes gnome-mixer-applet failing
14081 to load, because ORBit would shut down.
14082 Spotted by: Edward Hervey <edward@fluendo.com>
14083 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14086 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14091 === release 0.10.7 ===
14093 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14096 releasing 0.10.7, "Soepeke, ik zie ou"
14098 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14121 * win32/common/config.h:
14122 0.10.6.2 prerelease
14124 2006-06-07 Wim Taymans <wim@fluendo.com>
14126 * gst/gstindex.c: (gst_index_gtype_resolver):
14127 * tools/gst-xmlinspect.c: (print_plugin_info):
14128 Fix leak spotted by coverity checker. Fixes #343827
14129 Fix another other leak found by paolo borelli.
14131 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14133 * libs/gst/dataprotocol/dataprotocol.c:
14134 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14135 (gst_dp_version_get_type), (gst_dp_init),
14136 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14137 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14138 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14139 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14140 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14141 (gst_dp_packetizer_free):
14142 * libs/gst/dataprotocol/dataprotocol.h:
14143 API: add a GstDPPacketizer object, and create/free functions
14144 API: add GstDPVersion enum
14145 Add 1.0 event function that uses the string serialization
14146 Serialize more useful buffer flags
14149 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14151 * tests/check/Makefile.am:
14152 * tests/check/gst/gstabi.c:
14153 * tests/check/gst/struct_ppc64.h:
14154 * tests/check/libs/libsabi.c:
14155 * tests/check/libs/struct_ppc64.h:
14156 add ppc64 structure sizes
14158 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14160 * tests/check/Makefile.am:
14161 * tests/check/gst/gstabi.c:
14162 * tests/check/gst/struct_x86_64.h:
14163 * tests/check/libs/libsabi.c:
14164 * tests/check/libs/struct_x86_64.h:
14165 generate and add structure size lists for x86_64
14167 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14169 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14170 * libs/gst/check/gstcheck.h:
14171 factor out the method from tests that checks size of structures,
14172 and add code to generate the header containing these sizes
14173 * tests/check/gst/gstabi.c: (GST_START_TEST):
14174 * tests/check/gst/struct_i386.h:
14175 * tests/check/libs/libsabi.c: (GST_START_TEST):
14176 * tests/check/libs/struct_i386.h:
14179 2006-06-06 Michael Smith <msmith@fluendo.com>
14181 * gst/gstsegment.h:
14182 Don't use c++-style comments, fixes #343929
14184 2006-06-05 Edward Hervey <edward@fluendo.com>
14187 plugin_paths is not used if we build without registry support.
14189 * gst/gstsegment.c: (gst_segment_copy):
14190 _copy() was always returning NULL...
14192 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14194 * libs/gst/dataprotocol/dataprotocol.c:
14195 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14196 (gst_dp_packet_from_event):
14197 factor out CRC code
14199 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14201 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14202 make sure we unset caps
14204 2006-06-02 Michael Smith <msmith@fluendo.com>
14206 * libs/gst/check/gstcheck.c: (gst_check_init),
14207 (gst_check_chain_func):
14208 * libs/gst/check/gstcheck.h:
14209 Add a cond/mutex to the check support lib, signal this whenever we
14210 add to the buffers list. This will allow tests to not busy-wait on
14213 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14215 * libs/gst/dataprotocol/dataprotocol.c:
14216 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14217 (gst_dp_packet_from_event):
14218 factor out some common header init code
14220 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14222 * docs/libs/gstreamer-libs-sections.txt:
14223 * docs/libs/tmpl/gstdataprotocol.sgml:
14224 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14225 * libs/gst/dataprotocol/dataprotocol.h:
14226 API: make gst_dp_crc() public
14228 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14230 * plugins/indexers/gstindexers.c: (plugin_init):
14231 conditionally register fileindexer (fixes #343598)
14233 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14235 * gst/gsttagsetter.h:
14236 Can't cast ifaces to a class
14238 * libs/gst/net/gstnetclientclock.h:
14239 * libs/gst/net/gstnettimeprovider.h:
14240 * plugins/elements/gstfakesink.h:
14241 * plugins/elements/gstfakesrc.h:
14242 * plugins/elements/gstfdsink.h:
14243 * plugins/elements/gstfdsrc.h:
14244 * plugins/elements/gstfilesink.h:
14245 * plugins/elements/gstfilesrc.h:
14246 * plugins/elements/gstidentity.h:
14247 * plugins/elements/gstqueue.h:
14248 * plugins/elements/gsttee.h:
14249 * plugins/indexers/gstfileindex.c:
14250 * plugins/indexers/gstmemindex.c:
14251 * tests/old/examples/plugins/example.h:
14252 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14254 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14256 * libs/gst/dataprotocol/dataprotocol.c:
14257 (gst_dp_header_from_buffer):
14258 make sure we zero the whole ABI-compatible area
14260 2006-06-01 Wim Taymans <wim@fluendo.com>
14262 Patch by: Alessandro Decina <alessandro at nnva dot org>
14264 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14265 Make sure the EOS flag is cleared from pads after a flush
14266 or stop. Fixes #343538.
14268 * tests/check/libs/collectpads.c: (GST_START_TEST),
14269 (gst_collect_pads_suite):
14270 Added test for collectpads reusage after EOS.
14272 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14275 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14276 * win32/common/libgstbase.def:
14277 export gst_collect_pads_set_flushing
14278 * win32/common/libgstreamer.def:
14279 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14280 gst_value_fraction_multiply
14281 * win32/vs6/gst_inspect.dsp:
14282 add a link to intl.lib
14284 2006-05-30 Wim Taymans <wim@fluendo.com>
14286 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14287 (gst_collect_pads_chain):
14288 Handle the case where a pad is removed from the collection
14289 that could cause the other pads to become collectable.
14291 2006-05-30 Wim Taymans <wim@fluendo.com>
14293 * gst/gstelement.c:
14294 Clarify the use of _release_request_pad() and
14295 _get_request_pad() a bit better.
14297 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14298 (gst_adapter_take_buffer):
14299 Fix some doc and comment typos.
14301 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14303 * docs/gst/gstreamer-sections.txt:
14304 * docs/libs/gstreamer-libs-sections.txt:
14305 add declared symbols
14307 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14309 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14310 Add debug that can be enabled using a #define at the top of the file,
14311 for dumping stats about how late/early we were when waking up from
14312 waiting on the clock.
14314 2006-05-30 Wim Taymans <wim@fluendo.com>
14316 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14317 When rebuilding the pad list, don't leak the previous list.
14319 2006-05-30 Wim Taymans <wim@fluendo.com>
14321 Patch by: Lutz Mueller <lutz at topfrose dot de>
14323 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14324 (gst_base_src_get_query_types), (gst_base_src_update_length):
14325 Publish supported query types.
14326 Update last_stop field in get_range mode so the position
14327 query works. Fixes #342321.
14329 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14331 * docs/gst/gstreamer-sections.txt:
14332 * gst/gsttaglist.c: (_gst_tag_initialize):
14333 * gst/gsttaglist.h:
14334 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14336 2006-05-30 Wim Taymans <wim@fluendo.com>
14338 Patch by: Alessandro Decina <alessandro at nnva dot org>
14340 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14341 Unlock mutex when removing an unknown pad.
14344 * tests/check/Makefile.am:
14345 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14346 (push_event), (setup), (teardown), (GST_START_TEST),
14347 (gst_collect_pads_suite), (main):
14348 Added collecpads check, disabled for now as check crashes for
14351 2006-05-29 Wim Taymans <wim@fluendo.com>
14353 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14354 Don't leak pads lists.
14356 2006-05-29 Wim Taymans <wim@fluendo.com>
14358 * docs/libs/gstreamer-libs-sections.txt:
14359 * libs/gst/base/gstcollectpads.c:
14360 (gst_collect_pads_set_flushing_unlocked),
14361 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14362 (gst_collect_pads_stop):
14363 * libs/gst/base/gstcollectpads.h:
14364 API: gst_collect_pads_set_flushing()
14365 Added api to set the pads to flushing, useful for seeking
14366 code in elements using collectpads.
14367 Clear segment when receiving a flush.
14369 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14371 * gst/gst.c: (add_path_func), (init_post):
14372 Don't scan registry paths passed via --gst-plugin-path immediately
14373 (will crash, because absolutely nothing is set up and no types are
14374 registered etc.); do this later in init_post(). Fixes #343057.
14376 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14378 * gst/gst.c: (init_post):
14379 if we have fork, fork while reading/rebuilding the registry
14380 so the parent doesn't take the hit of having all plugins loaded
14381 in memory. Fixes #342777.
14383 Check if we have fork()
14384 * win32/common/config.h.in:
14387 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14389 * plugins/elements/gstelements.c:
14390 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14391 (gst_file_src_init), (gst_file_src_set_property),
14392 (gst_file_src_get_property), (gst_file_src_start):
14393 * plugins/elements/gstfilesrc.h:
14394 API: GstFileSrc::use-mmap
14396 Add a use-mmap property to enable easier testing of all code paths.
14397 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14398 in the absence of gnomevfssrc. (Closes #340501)
14400 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14402 * tools/gst-inspect.c:
14403 Add missing include, removes warning of ngettext not being defined on
14406 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14408 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14409 Handle NULL input and output pointers silently as a failed conversion,
14410 rather than g_warnings.
14412 2006-05-25 Wim Taymans <wim@fluendo.com>
14414 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14415 Initialize variable before using. Fixes #342820.
14417 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14419 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14420 Fix off-by-one bug that would only allow peeks of N-1 bytes
14421 from the start even if the buffer to typefind on contains
14422 in fact N bytes of data (makes vorbis typefinding from a
14423 vorbis identification header buffer work).
14425 * tests/check/Makefile.am:
14426 * tests/check/libs/.cvsignore:
14427 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14428 (gst_typefindhelper_suite), (main), (foobar_typefind),
14430 Add very basic unit test for gst_type_find_helper_for_buffer()
14431 that checks for the problem fixed above.
14433 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14435 * tools/gst-inspect.c: (print_interfaces),
14436 (print_element_properties_info), (print_element_list), (main):
14437 add more translatable strings
14439 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14441 Patch by: Julien Moutte <julien at moutte net>
14443 * docs/gst/gstreamer-sections.txt:
14444 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14446 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14447 (gst_fake_sink_preroll):
14448 * plugins/elements/gstfakesink.h:
14449 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14451 2006-05-23 Wim Taymans <wim@fluendo.com>
14453 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14455 Added _CUSTOM error and success GstFlowReturn that can be
14456 used be elements internally.
14457 Added macro to check for SUCCESS flowreturns.
14458 API: GST_FLOW_CUSTOM_SUCCESS
14459 API: GST_FLOW_CUSTOM_ERROR
14460 API: GST_FLOW_IS_SUCCESS
14462 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14463 Added check for GstFlowReturn sanity.
14465 2006-05-23 Wim Taymans <wim@fluendo.com>
14467 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14469 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14470 (gst_collect_pads_event):
14471 clear/reset segment info in FLUSH_STOP.
14474 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14476 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14477 (gst_collect_pads_check_collected):
14478 Flush queued buffer on _stop(), fixes playing again (#342454)
14480 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14482 * tests/check/gst/gststructure.c: (GST_START_TEST),
14483 (gst_structure_suite):
14484 add a test for a complete structure
14486 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14488 * docs/faq/developing.xml:
14489 * docs/faq/faq.xml:
14490 * docs/faq/troubleshooting.xml:
14491 * docs/faq/using.xml:
14492 Some minor FAQ updates that won't change the fact that
14493 our FAQ is badly structured, full of information hardly
14494 anyone new to GStreamer needs to know and lacking lots
14495 of information people constantly ask for.
14497 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14499 * gst/gstpad.c: (gst_pad_set_caps):
14500 Short-circuit gst_pad_set_caps if setting the existing
14501 caps pointer again, and avoid printing debug and
14502 reffing/unreffing the caps.
14504 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14505 There's actually no need to set the caps before pushing -
14506 the acceptcaps method will handle it anyway.
14508 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14510 * docs/gst/gstreamer-sections.txt:
14511 * win32/common/libgstreamer.def:
14512 * gst/gstutils.c: (gst_element_seek_simple):
14514 API: add gst_element_seek_simple() (#342238).
14516 2006-05-18 Edward Hervey <edward@fluendo.com>
14518 * gst/gsttypefind.c: (gst_type_find_get_type):
14519 * gst/gsttypefind.h:
14520 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14521 registered for GstTypeFind pointers. This allows wrapping the structure
14522 in bindings (i.e. gst-python).
14524 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14526 * gst/gsttagsetter.c:
14527 Docs additions and fixes (see #339918).
14529 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14531 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14532 The caps intersection algorithm can produce multiple copies of the
14533 caps. Until that is fixed, we need to simplify the result to be
14534 sure whether the allowed caps are fixed or not.
14536 * plugins/elements/gstqueue.c: (gst_queue_init),
14537 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14538 (gst_queue_push_one):
14539 Proxied buffer alloc should not set the caps on the source pad.
14540 When pushing buffers, we always accept the caps change that triggers.
14541 This prevents negotiation errors caused by caps changing mid-stream
14542 and then being refused on our source pad (because upstream is now
14543 refusing those caps).
14545 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14547 * tests/examples/helloworld/helloworld.c: (main):
14548 Must plug audioconvert and audioresample between decoder
14551 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14553 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14554 (load_feature), (load_plugin):
14555 Allow empty strings for some of the plugin fields so we don't
14556 drop valid plugin entries that were written out correctly
14559 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14561 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14562 Use g_remove and g_rename instead of remove and rename that don't
14563 handle utf8 characters. rename was failing for users who had specific
14564 characters in their name then the registry was built at each
14566 * win32/vs6/gst_inspect.dsp:
14567 * win32/vs6/gst_launch.dsp:
14568 * win32/vs6/libgstbase.dsp:
14569 * win32/vs6/libgstcoreelements.dsp:
14570 * win32/vs6/libgstreamer.dsp:
14571 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14572 build of libgstreamer and clean unused libraries in projects link
14575 2006-05-17 Edward Hervey <edward@fluendo.com>
14577 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14578 The queue is not responsible for pushing an EOS when receiving a fatal
14579 flow error. It's up to the real element driving the pipeline to do that.
14581 2006-05-16 Edward Hervey <edward@fluendo.com>
14583 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14584 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14585 buffer returned a fatal error. It should just send an EOS and stop
14587 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14588 when pushing buffers on the queue and will be able to handle the event.
14590 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14592 * docs/manual/basics-bins.xml:
14593 * docs/manual/basics-init.xml:
14594 Fix typos and minor errors in sample code (#341856).
14596 2006-05-16 Wim Taymans <wim@fluendo.com>
14598 * docs/design/part-qos.txt:
14599 Fix indexes in formulas to make more sense.
14601 2006-05-15 Wim Taymans <wim@fluendo.com>
14603 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14604 Don't report POSITION based on clock time if sync is
14605 disabled in a sink.
14607 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14610 Add cast to make compiler happy - refcount variable was a gint
14611 in GstObject but is a guint in GObject and g_atomic_int_get()
14614 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14616 * gst/parse/Makefile.am:
14617 chain commands using &&, which also makes parallel make work
14619 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14621 * docs/gst/gstreamer-sections.txt:
14624 * gst/gstmessage.h:
14627 === release 0.10.6 ===
14629 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14632 releasing 0.10.6, "Take the cannoli"
14634 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14636 * tools/gst-launch.c: (print_tag):
14637 Fix use of uninitialized variable in the hypothetical
14638 case that some broken plugin creates a GST_TAG_IMAGE
14639 tag containing a NULL buffer (#341667).
14641 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14643 * tools/gst-launch.c: (print_tag):
14644 Print something more intelligible for image tags when
14645 using the -t switch (#341556).
14647 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14652 define GST_MAJORMINOR so we have it available in win32/common/config.h
14653 Possibly remove it from our Makefile.am files later
14654 * win32/common/config.h:
14655 * win32/common/config.h.in:
14656 added GST_MAJORMINOR
14657 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14658 * win32/common/gstversion.h:
14661 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14664 Update win32 files listing.
14665 * win32/common/gstversion.h:
14666 Add GST_MAJORMINOR definition.
14667 * win32/common/libgstreamer.def:
14668 Add new exported functions.
14670 2006-05-12 Michael Smith <msmith@fluendo.com>
14672 * gst/gstplugin.c: (gst_plugin_load_file):
14673 If an so file has no plugin entry point, unload the module.
14675 2006-05-11 Wim Taymans <wim@fluendo.com>
14677 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14678 (gst_queue_set_property):
14679 Don't forget to signal the _chain or _loop function
14680 when the queue size or thresholds change since that might
14681 cause them to make progres again.
14683 2006-05-11 Stefan Kost <ensonic@users.sf.net>
14685 * gst/gstclock.c: (gst_clock_class_init):
14686 * gst/gstindex.c: (gst_index_class_init):
14687 * gst/gstobject.c: (gst_object_class_init):
14688 * gst/gstpad.c: (gst_pad_class_init):
14689 * gst/gstpipeline.c: (gst_pipeline_class_init):
14690 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14691 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14692 * libs/gst/base/gstbasetransform.c:
14693 (gst_base_transform_class_init):
14694 * libs/gst/net/gstnetclientclock.c:
14695 (gst_net_client_clock_class_init):
14696 * libs/gst/net/gstnettimeprovider.c:
14697 (gst_net_time_provider_class_init):
14698 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14699 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14700 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14701 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14702 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14703 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14704 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14705 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14706 * plugins/elements/gsttee.c: (gst_tee_class_init):
14707 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14708 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14709 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14711 2006-05-11 Wim Taymans <wim@fluendo.com>
14713 * gst/gstbuffer.c: (_gst_buffer_initialize):
14714 Register subbufer along with the buffer type so that
14715 it does not accidentally gets registered from N
14716 different streaming threads in a non threadsafe way.
14718 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14722 * gst/gstmessage.h:
14723 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14724 gst_event_ref() and gst_message_ref() functions again
14725 (ugly hack, please do fix if there's a better way besides
14726 overrides.txt, which doesn't seem to work).
14728 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14730 * libs/gst/check/gstcheck.h:
14731 add an assert for setting state to avoid lots of repetitive code
14734 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14736 * gst/gstvalue.c: (gst_value_serialize_flags):
14737 fix a leak if no flags are set
14738 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14741 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14743 * docs/manual/basics-pads.xml:
14744 Expand a bit on caps and filtered links and update
14745 examples that were still using the no longer existing
14746 gst_pad_link_filtered() (#338206).
14748 2006-05-10 Wim Taymans <wim@fluendo.com>
14750 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14751 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14752 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14753 (gst_collect_pads_stop):
14754 * libs/gst/base/gstcollectpads.h:
14755 No need to call _stop in _finalize.
14756 Iterate the main pad list in _finalize.
14757 Added some more debug.
14758 Free lists and data in the right order.
14759 Also free data whem doing _remove_pad when stopped for
14760 backward compatibility protect ::started with PAD_LOCK as
14763 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14765 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14766 (gst_structure_parse_value):
14768 rename a method so that it actually says what it does better
14770 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14772 * gst/gstevent.c: (_gst_event_initialize):
14773 * gst/gstformat.c: (_gst_format_initialize):
14774 make sure some essential types used by events are registered
14775 as part of gst_init()
14776 * gst/gstvalue.c: (gst_value_serialize_flags):
14777 if no flags are set, serialize them to a value that represents NONE
14778 so that deserializing them works
14779 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14780 add tests for serialization and deserialization of flags
14782 2006-05-10 Wim Taymans <wim@fluendo.com>
14784 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14785 (gst_collect_pads_collect_range), (gst_collect_pads_available),
14786 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14787 (gst_collect_pads_event), (gst_collect_pads_chain):
14790 Catch and return errors from the collect function
14791 Refuse data on eos pads.
14793 2006-05-10 Edward Hervey <edward@fluendo.com>
14795 * gst/gstinterface.h:
14796 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14797 GInterface type checking.
14798 They were previously using non-defined macros.
14800 2006-05-09 Wim Taymans <wim@fluendo.com>
14802 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14803 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14804 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14805 (gst_collect_pads_start), (gst_collect_pads_stop),
14806 (gst_collect_pads_peek), (gst_collect_pads_pop),
14807 (gst_collect_pads_available), (gst_collect_pads_read),
14808 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
14809 (gst_collect_pads_is_collected), (gst_collect_pads_event),
14810 (gst_collect_pads_chain):
14811 * libs/gst/base/gstcollectpads.h:
14812 Clean up the mess that is collectpads, add comments and
14813 FIXMEs where needed.
14814 Maintain a separate pad list so we can add pads while
14815 collecting the other ones. For this we need a new separate
14817 Fix memory leak in finalize.
14818 Refactor some weird code to set/unset pad flushing flags, mark
14820 Don't crash in _available, _read, _flush when we're EOS.
14822 * tests/check/libs/.cvsignore:
14823 Ignore adapter check binary.
14825 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14827 * gst/gstindex.c: (gst_index_resolver_get_type):
14828 * plugins/elements/gstfakesink.c:
14829 (gst_fake_sink_state_error_get_type):
14830 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14831 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14832 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14833 Const-ify GEnumValue arrays.
14835 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14837 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14838 Add test case for flags + gst_buffer_make_metadata_writable().
14840 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14842 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
14843 gst_buffer_make_metadata_writable() should maintain the
14844 buffer flags (those that make sense at least) (see #340859).
14846 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14848 * tools/gst-inspect.c:
14849 * tools/gst-launch.c:
14850 * tools/gst-typefind.c:
14851 * tools/gst-xmlinspect.c:
14853 Fix up includes: need to include stdlib.h in tools.h for exit().
14855 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14857 * gst/gsttaglist.c: (_gst_tag_initialize):
14858 * gst/gsttaglist.h:
14859 API: add GST_TAG_IMAGE tag (#340721).
14861 2006-05-08 Wim Taymans <wim@fluendo.com>
14864 Added some docs for the segment query.
14866 2006-05-08 Wim Taymans <wim@fluendo.com>
14868 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14869 (gst_base_src_loop), (gst_base_src_change_state):
14870 Always push non-flushing serialized events in the streaming
14873 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
14875 * gst/gsterror.c: (_gst_stream_errors_init):
14876 Add a missing error string.
14878 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
14880 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
14881 Add applied_rate to the debug
14883 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
14884 Copy applied_rate into the outgoing NEWSEGMENT event
14886 2006-05-08 Wim Taymans <wim@fluendo.com>
14888 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
14890 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
14891 (gst_base_sink_change_state):
14892 call ::unlock before taking the PREROLL_LOCK so we can safely
14893 handle elements that lock in ::render.
14896 2006-05-08 Edward Hervey <edward@fluendo.com>
14898 * autogen.sh: (CONFIGURE_DEF_OPT):
14899 Darwin's libtoolize is in fact called glibtoolize.
14900 Adding glibtoolize to the list of accepted names for libtoolize.
14902 2006-05-08 Wim Taymans <wim@fluendo.com>
14904 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14905 Unify error handling, don't post an error message
14906 when a push() returns EOS but perform our normal EOS
14907 handling code. Fixes #340772.
14909 2006-05-08 Wim Taymans <wim@fluendo.com>
14911 * docs/design/part-overview.txt:
14912 Make upsteam/downstream concepts more clear.
14913 Give an example of serialized/non-serialized events.
14915 * docs/design/part-events.txt:
14916 * docs/design/part-streams.txt:
14917 Mention applied_rate.
14919 * docs/design/part-trickmodes.txt:
14920 Mention applied rate, flesh out some more use cases.
14922 * gst/gstevent.c: (gst_event_new_new_segment),
14923 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
14924 (gst_event_parse_new_segment_full), (gst_event_new_tag),
14925 (gst_event_parse_tag), (gst_event_new_buffer_size),
14926 (gst_event_parse_buffer_size), (gst_event_new_qos),
14927 (gst_event_parse_qos), (gst_event_parse_seek),
14928 (gst_event_new_navigation):
14930 Add applied_rate field to NEWSEGMENT event.
14931 API: gst_event_new_new_segment_full()
14932 API: gst_event_parse_new_segment_full()
14934 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
14935 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
14936 (gst_segment_to_stream_time), (gst_segment_to_running_time):
14937 * gst/gstsegment.h:
14938 Add applied_rate to GstSegment structure.
14939 Make calculation of stream_time and running_time more correct
14940 wrt rate/applied_rate.
14941 Add some more docs.
14942 API: GstSegment::applied_rate field
14943 API: gst_segment_set_newsegment_full();
14945 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14946 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
14947 * libs/gst/base/gstbasetransform.c:
14948 (gst_base_transform_sink_eventfunc),
14949 (gst_base_transform_handle_buffer):
14950 Parse and use applied_rate in the GstSegment field.
14952 * tests/check/gst/gstevent.c: (GST_START_TEST):
14953 Add check for applied_rate field.
14955 * tests/check/gst/gstsegment.c: (GST_START_TEST),
14956 (gstsegments_suite):
14957 Add more checks for various GstSegment operations.
14959 2006-05-08 Wim Taymans <wim@fluendo.com>
14961 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14962 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
14963 (gst_base_sink_get_position), (gst_base_sink_change_state):
14964 Store the sync time of the buffer end position separatly in a
14965 new variable eos_rtime so we can properly sync the EOS event.
14967 Fix the docs for gst_base_sink_set_qos_enabled().
14968 Don't set segment start to invalid value when we receive a
14969 non TIME newsegment.
14970 get closer to handling position reporting for negative rates
14973 2006-05-07 Stefan Kost <ensonic@users.sf.net>
14976 Docs about how to print caps for debug purposes.
14978 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
14979 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
14981 2006-05-07 Stefan Kost <ensonic@users.sf.net>
14983 * gst/gstelement.c:
14984 use full enum names and preprend a '%' in docs strings to make recent
14985 gtk-doc turn that into a link
14987 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14989 * docs/manual/basics-bins.xml:
14990 * docs/manual/basics-bus.xml:
14991 * docs/manual/basics-pads.xml:
14992 Some typo fixes, some additions, some clarifications.
14994 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14996 * tools/gst-inspect.c: (main):
14997 * tools/gst-launch.c: (main):
14998 * tools/gst-run.c: (main):
14999 * tools/gst-typefind.c: (main):
15000 * tools/gst-xmlinspect.c: (main):
15001 Use the string passed to g_option_context_new() for
15002 what it's intended for - the program name is already
15005 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15007 * tools/Makefile.am:
15008 * tools/gst-inspect.c: (main):
15009 * tools/gst-launch.c: (main):
15010 * tools/gst-xmlinspect.c: (main):
15012 Add back --version command line option (#340460).
15014 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15015 Add --version option and use GOption for argument parsing; refactor a
15016 bit; accept directories as arguments and recurse into them; lastly,
15017 print a decent error message when things go wrong.
15019 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15021 * docs/manual/basics-bins.xml:
15022 Don't mention GstThread (#340611)
15023 * docs/manual/basics-elements.xml:
15024 Update link to GObject tutorial (#340607)
15026 2006-05-05 Wim Taymans <wim@fluendo.com>
15029 * gst/gstminiobject.c:
15030 Add note about refcounting and miniobject/buffer writeability
15031 to docs. Fixes #340604
15033 * gst/gstelementfactory.h:
15034 Added some explanation about @klass.
15036 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15038 * docs/manual/intro-motivation.xml:
15039 * docs/manual/manual.xml:
15040 Avoid CORBA & Bonobo references (#340598)
15042 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15044 * docs/manual/basics-bus.xml:
15045 * docs/manual/basics-pads.xml:
15046 Fix up some inaccuracies and omissions (#340609)
15048 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15050 * gst/gstghostpad.c:
15051 Small typo in docs (#340625)
15053 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15055 * gst/parse/Makefile.am:
15056 Make 'make -j' proof (see #340698).
15058 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15061 Require GLib-2.8 here as well.
15063 2006-05-05 Wim Taymans <wim@fluendo.com>
15065 * gst/glib-compat.c:
15066 * gst/gst.c: (init_pre):
15067 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15068 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15069 (gst_object_dispatch_properties_changed):
15071 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15072 * gst/gststructure.c: (gst_structure_set_valist):
15073 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15074 Remove pre glib2.8 compatibility, fixes #340508
15076 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15078 * gst/gsttaglist.h:
15079 Mention type of tags in doc blurbs.
15081 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15083 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15084 (gst_pad_configure_src), (gst_pad_push):
15085 Restore acceptcaps checking behaviour now that good plugins have
15088 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15090 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15097 * gst/gstmessage.c:
15101 * gst/parse/Makefile.am:
15102 * libs/gst/base/gstadapter.c:
15103 * libs/gst/base/gstbasesrc.c:
15104 * libs/gst/base/gstpushsrc.c:
15105 * libs/gst/base/gsttypefindhelper.c:
15106 * plugins/elements/gstfakesrc.c:
15107 * plugins/elements/gstidentity.c:
15108 Make sure gstprivate.h and/or config.h are
15109 always included first, otherwise some of our
15110 defines (like _FILE_OFFSET_BITS) might be
15111 redefined in the system headers. Fixes build
15112 on opensolaris (#340016).
15114 2006-05-04 Wim Taymans <wim@fluendo.com>
15116 * docs/libs/gstreamer-libs-sections.txt:
15117 API: addition: gst_adapter_take_buffer()
15119 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15120 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15121 (gst_adapter_available_fast):
15122 * libs/gst/base/gstadapter.h:
15123 Prepare for optimizing the hell out of this hugely inefficient
15125 Added gst_adapter_take_buffer() so we can at least start thinking
15126 about subbuffering and merging.
15127 Added some comments.
15129 * tests/check/Makefile.am:
15130 * tests/check/libs/adapter.c: (GST_START_TEST),
15131 (gst_adapter_suite), (main):
15132 Added GstAdapter check.
15134 2006-05-04 Wim Taymans <wim@fluendo.com>
15136 * docs/design/part-overview.txt:
15137 Fix some typos, add blurb about buffer flags.
15139 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15141 * docs/libs/gstreamer-libs-sections.txt:
15142 make sure GstBaseTransformClass shows up in the docs
15143 * libs/gst/base/gstbasetransform.c:
15144 * libs/gst/base/gstbasetransform.h:
15145 move docs so gtk-doc picks it up now
15147 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15149 * docs/libs/gstreamer-libs-sections.txt:
15150 add missing symbols to docs
15152 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15154 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15155 back out the newsegment handling change, see #340060 for ongoing
15158 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15160 * tools/gst-run.c: (get_candidates), (main):
15161 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15162 work); fix typo in error message. Fixes #340079.
15164 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15166 * common/Makefile.am:
15167 * docs/Makefile.am:
15168 * docs/faq/Makefile.am:
15169 * docs/gst/Makefile.am:
15170 * docs/libs/Makefile.am:
15171 * docs/manual/Makefile.am:
15172 * docs/plugins/Makefile.am:
15173 * docs/pwg/Makefile.am:
15174 * docs/slides/Makefile.am:
15176 * common/upload.mak:
15177 move upload.mak to common
15179 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15181 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15182 add more asserts on refcounts
15183 do more cleanup at end of tests
15184 fix test leaks showing in FC5
15186 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15188 * plugins/elements/gsttypefindelement.c:
15189 (gst_type_find_element_handle_event):
15190 reverted wrong change and reflowed code to avoid others falling into
15193 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15195 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15196 fix changelog entry about last collectpads change,
15197 add notes about proper fix
15199 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15202 * gst/gstregistry.c: (gst_registry_scan_path_level),
15203 (gst_registry_scan_path):
15204 * gst/gstregistry.h:
15205 only write out registry if it has changed, fixes #338339
15207 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15210 * gst/gstpipeline.c:
15211 * plugins/elements/gstcapsfilter.c:
15212 * plugins/elements/gstfakesink.c:
15213 * plugins/elements/gstfakesrc.c:
15214 * plugins/elements/gstfdsink.c:
15215 * plugins/elements/gstfdsrc.c:
15216 * plugins/elements/gstfilesink.c:
15217 * plugins/elements/gstfilesrc.c:
15218 * plugins/elements/gstidentity.c:
15219 * plugins/elements/gstqueue.c:
15220 * plugins/elements/gsttee.c:
15221 * plugins/elements/gsttypefindelement.c:
15222 (gst_type_find_element_handle_event):
15223 make GstElementDetails const
15225 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15227 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15228 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15229 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15230 more detailed debug and formatting cleanup,
15231 forward newsegments to src-pad (so that e.g. adder not eats them)
15233 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15235 * gst/gstutils.c: (gst_element_link_pads):
15236 cleanup double code
15238 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15240 * libs/gst/controller/gstcontroller.c:
15241 (gst_controller_sync_values):
15243 * tests/check/libs/controller.c: (GST_START_TEST),
15244 (gst_controller_suite):
15245 a new test for live value handling
15247 2006-04-28 Wim Taymans <wim@fluendo.com>
15249 * gst/gstutils.c: (push_and_ref):
15250 Added some more docs.
15251 Fix refcount issue whith gst_element_found_tags() helper
15252 function. Fixes #338335
15254 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15255 Added testsuite for gst_element_found_tags().
15257 2006-04-28 Michael Smith <msmith@fluendo.com>
15259 * gst/gstvalue.c: (gst_value_serialize_flags):
15260 Avoid NULL dereference when trying to serialize flags containing
15263 2006-04-28 Michael Smith <msmith@fluendo.com>
15265 * plugins/elements/gsttypefindelement.c:
15266 (gst_type_find_element_handle_event):
15267 If we get EOS before any data is accumulated, don't use
15268 uninitialised local variables.
15270 2006-04-28 Michael Smith <msmith@fluendo.com>
15272 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15273 (gst_dp_event_from_packet):
15274 Fixes in reading/writing events over GDP (not currently used?) -
15275 dereferencing NULL events for unknown/invalid event types, memory
15276 leak, and change g_warning to GST_WARNING.
15278 2006-04-28 Wim Taymans <wim@fluendo.com>
15280 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15281 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15282 (gst_base_sink_get_position), (gst_base_sink_change_state):
15283 When frame dropping is enabled, we should not ignore frames
15284 without a duration.
15285 Update some documentation.
15287 2006-04-28 Wim Taymans <wim@fluendo.com>
15289 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15290 (gst_base_src_send_event), (gst_base_src_change_state):
15291 Documentation updates.
15293 2006-04-28 Wim Taymans <wim@fluendo.com>
15295 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15296 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15297 handle EAGAIN, EINTR and short writes correctly. Also clean
15298 up some error cases, avoid a deadlock on bad file descriptors and
15299 use GST_DEBUG_OBJECT.
15302 2006-04-28 Wim Taymans <wim@fluendo.com>
15304 * gst/gstvalue.c: (gst_value_serialize_buffer),
15305 (gst_value_deserialize_buffer):
15306 Don't try to serialize a GValue with a NULL buffer.
15309 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15310 Added check for serialisation of NULL buffers.
15312 2006-04-28 Wim Taymans <wim@fluendo.com>
15314 * gst/gstminiobject.c: (gst_value_take_mini_object):
15315 Taking a NULL miniobject is valid, fix the case where
15316 we try to unref the NULL miniobject.
15318 2006-04-28 Wim Taymans <wim@fluendo.com>
15320 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15322 * gst/gstbin.c: (gst_bin_handle_message_func):
15324 Don't leak bin refcount when a state recalc is
15325 in progress and we delay another one #339808.
15327 2006-04-28 Wim Taymans <wim@fluendo.com>
15329 * docs/design/part-TODO.txt:
15330 Mention QoS as an ongoing work item.
15332 * docs/design/part-buffering.txt:
15333 New doc about buffering that needs to be fleshed out
15336 * docs/design/part-qos.txt:
15337 More QoS policy for decoders/demuxers/transforms
15339 * docs/design/part-trickmodes.txt:
15342 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15347 === release 0.10.5 ===
15349 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15352 releasing 0.10.5, "Fogo"
15354 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15356 patch by: Wim Taymans
15358 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15359 (gst_pad_configure_src), (gst_pad_push):
15360 * gst/gstpipeline.c: (gst_pipeline_init):
15361 Fix internal data flow errors. Fixes #338711.
15363 2006-04-12 Wim Taymans <wim@fluendo.com>
15365 * tests/check/gst/gstelement.c: (GST_START_TEST):
15366 Don't leak the factory.
15368 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15371 * win32/common/config.h:
15374 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15376 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15377 (gst_controller_unset_all):
15378 Free allocated GstTimedValues when freeing list nodes.
15379 Should fix leaks 'make check-valgrind' complains about.
15381 * win32/common/libgstcontroller.def:
15382 Add gst_controller_unset_all.
15384 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15386 * docs/libs/gstreamer-libs-sections.txt:
15387 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15388 (gst_controller_unset_all):
15389 * libs/gst/controller/gstcontroller.h:
15390 API: Added new method gst_controller_unset_all()
15391 fixed gst_controller_unset()
15392 * tests/check/libs/controller.c: (GST_START_TEST),
15393 (gst_controller_suite):
15394 Added two testcases for new and fixed method
15396 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15398 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15399 MSG_DONTWAIT is not defined on Cygwin, so work
15400 around that (fixes #317048).
15402 2006-04-11 Wim Taymans <wim@fluendo.com>
15404 * gst/gstelementfactory.c: (gst_element_register),
15405 (gst_element_factory_create), (gst_element_factory_make):
15408 Updated docs (Fixes #131079)
15410 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15413 * tests/check/gst/gstelement.c: (GST_START_TEST),
15414 (gst_element_suite):
15415 Added testcase for elementfactory class field.
15417 2006-04-10 Wim Taymans <wim@fluendo.com>
15419 * gst/gstsegment.c:
15420 Added some more docs.
15422 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15423 (gst_base_sink_reset_qos):
15424 Calculate more accurate rate values.
15426 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15428 * gst/gst_private.h:
15429 add a new #ifdef to use __declspec(dllimport) only for
15430 other modules and not for gstreamer core
15431 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15432 use gst_guint64_to_gdouble for conversion
15433 * win32/common/libgstreamer.def:
15434 add new exported functions
15435 * win32/vs6/gst_inspect.dsp:
15436 * win32/vs6/gst_launch.dsp:
15437 * win32/vs6/libgstbase.dsp:
15438 * win32/vs6/libgstcontroller.dsp:
15439 * win32/vs6/libgstcoreelements.dsp:
15440 * win32/vs6/libgstdataprotocol.dsp:
15441 * win32/vs6/libgstnet.dsp:
15442 update project files
15444 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15446 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15447 * gst/gstclock.c: (gst_clock_class_init):
15448 * gst/gstelement.c: (gst_element_class_init):
15449 * gst/gstindex.c: (gst_index_class_init):
15450 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15451 * gst/gstobject.c: (gst_object_class_init),
15452 (gst_signal_object_class_init):
15453 * gst/gstpad.c: (gst_pad_class_init):
15454 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15455 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15456 * gst/gstregistry.c: (gst_registry_class_init):
15457 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15458 * gst/gsttask.c: (gst_task_class_init):
15459 * gst/gstxml.c: (gst_xml_class_init):
15460 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15461 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15462 (gst_base_src_loop):
15463 * libs/gst/controller/gstcontroller.c:/
15464 (_gst_controller_class_init):
15465 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15466 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15467 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15468 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15469 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15470 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15472 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15474 * gst/gstpad.c: (gst_pad_link):
15475 Must set peer pads before calling the link function, otherwise
15476 a task started from a link function might get a flow-not-linked
15477 result when trying to push because the other thread where the
15478 linking happens hasn't had a chance to set the peers yet. This
15479 might happen for example when a queue gets linked to a downstream
15480 element, as queue starts a streaming task when its source pad
15481 gets linked. Happens in real life when playing back flac/musepack
15482 files in playbin (#332390).
15484 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15488 * libs/gst/base/gstadapter.h:
15489 * libs/gst/base/gstbasesink.h:
15490 * libs/gst/base/gstbasesrc.h:
15491 * libs/gst/base/gstbasetransform.h:
15492 * libs/gst/base/gstcollectpads.h:
15493 * libs/gst/base/gstpushsrc.h:
15494 Fix broken GObject macros
15496 2006-04-07 Wim Taymans <wim@fluendo.com>
15498 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15499 Initialize start and stop times, thanks valgrind.
15501 2006-04-07 Wim Taymans <wim@fluendo.com>
15503 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15504 Be a bit nicer to badly behaving upstream elements that expect
15505 us to deal with non TIME segments and timestamps (such as fakesrc
15508 2006-04-07 Wim Taymans <wim@fluendo.com>
15511 Small documentation clarification about the signal watch.
15513 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15514 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15515 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15516 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15517 (gst_base_sink_get_position_last),
15518 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15519 Convert and store timestamps in stream time and running time, the
15520 raw timestamps are not useful, also document this better.
15521 Use different window sizes for good and bad QoS observations so
15522 we react to badness a little quicker.
15523 Keep track of the amount of rendered and dropped buffers.
15524 Send QoS timestamps in running time.
15526 * libs/gst/base/gstbasetransform.c:
15527 (gst_base_transform_sink_eventfunc),
15528 (gst_base_transform_handle_buffer):
15529 Compare QoS timestamps against running time.
15531 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15534 Typo fixes in docs.
15536 2006-04-06 Michael Smith <msmith@fluendo.com>
15538 * gst/gstpad.c: (gst_pad_set_property):
15539 Use g_value_get_object() instead of g_value_dup_gst_object(),
15540 to avoid double-reffing the pad template (which we then sink,
15541 so this worked previously if (and only if) the pad template
15544 * gst/gstpadtemplate.c: (gst_pad_template_init),
15545 (gst_pad_template_pad_created):
15546 Never return floating references to pad templates, create
15547 them as initially-sunken.
15549 Document an extra function (and make this stop sinking our
15550 pad template, since that is now guaranteed to do nothing,
15551 since we created it sunken).
15553 * gst/gstghostpad.c:
15556 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15558 * gst/gstinfo.c: (__gst_in_valgrind):
15561 * plugins/elements/gsttypefindelement.c:
15562 (gst_type_find_element_chain):
15563 Don't leak buffer caps.
15565 2006-04-06 Michael Smith <msmith@fluendo.com>
15567 * gst/parse/grammar.y:
15568 Fix a leak in parse-launch for any source-or-sink named element
15571 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15572 Unref the pipeline if it exists after we've failed parsing.
15574 2006-04-05 Michael Smith <msmith@fluendo.com>
15576 * gst/gstpipeline.c: (gst_pipeline_init):
15577 When we create a pipeline bus, initially create it in flushing mode.
15578 Fixes leaks in at least one test, and makes a new pipeline work the
15579 same as one that has gone to READY and then back to NULL.
15581 * gst/gstelement.c:
15584 2006-04-05 Michael Smith <msmith@fluendo.com>
15586 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15587 Unref a pad we reffed.
15588 * tests/check/gst/gstutils.c: (GST_START_TEST):
15591 2006-04-05 Michael Smith <msmith@fluendo.com>
15593 * gst/gstquery.c: (gst_query_set_formats),
15594 (gst_query_set_formatsv):
15595 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15597 2006-04-05 Michael Smith <msmith@fluendo.com>
15599 * tests/check/generic/sinks.c: (GST_START_TEST):
15600 Fix a variety of memleaks in sinks check, which are only sometimes
15601 shown by running the tests under valgrind (weird?).
15603 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15605 * docs/version.entities.in:
15606 Fix the substituted entity name after thomas' changes on the
15609 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15611 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15614 2006-04-05 Andy Wingo <wingo@pobox.com>
15616 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15618 * libs/gst/base/gstbasetransform.c
15619 (gst_base_transform_sink_eventfunc): When resetting our segment on
15620 FLUSH_STOP, also update the flag saying we haven't seen a
15623 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15625 Patch by: Paolo Borelli <pborelli at katamail dot com>
15627 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15628 (gst_plugin_check_license):
15629 minor clean-ups: G_DEFINE_TYPE already takes care of the
15630 parent_class stuff, no need to do it twice. Mark array of
15631 license strings as constant. (#337103)
15633 2006-04-04 Michael Smith <msmith@fluendo.com>
15635 * tools/gst-inspect.c: (print_element_list):
15636 Free the right plugin list; fixes a memory leak.
15638 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15640 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15642 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15643 Don't error out on empty buffers (#336945).
15645 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15647 * docs/libs/gstreamer-libs-sections.txt:
15648 * gst/gsttaglist.c:
15649 * libs/gst/base/gstbasesink.c:
15650 * libs/gst/base/gstbasesink.h:
15651 * libs/gst/base/gstbasesrc.c:
15652 * libs/gst/base/gstbasesrc.h:
15653 Documentation updates. Make BaseSink and BaseSrc docs contain the
15654 class structure so that people can actually see the prototypes for
15655 virtual functions they're supposed to be overriding.
15657 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15659 * plugins/elements/gsttypefindelement.c:
15660 (gst_type_find_element_chain):
15661 More debug info; when skipping typefinding, send cached
15662 events in all cases.
15664 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15667 use new AS_VERSION and AS_NANO macros
15668 * gst/gst-i18n-lib.h:
15671 * gst/gstversion.h.in:
15672 * win32/common/config.h:
15673 * win32/common/config.h.in:
15676 2006-03-31 Michael Smith <msmith@fluendo.com>
15678 * plugins/elements/gsttypefindelement.c:
15679 (gst_type_find_element_chain):
15680 Do not typefind content if the buffers already have caps.
15681 Neccesary for icydemux (#333657), and the right thing to do anyway.
15683 2006-03-30 Wim Taymans <wim@fluendo.com>
15685 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15686 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15687 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15688 (gst_base_sink_record_qos_observation),
15689 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15690 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15691 (gst_base_sink_change_state):
15692 More QoS measurements as described in the design doc.
15693 Get rid of ringbuffer with observations, running average is
15694 more simple and equally good.
15695 Calculates valid proportion now.
15696 Added beginning of flood measurement.
15698 2006-03-29 Wim Taymans <wim@fluendo.com>
15700 * docs/design/part-qos.txt:
15702 Small documentation updates and additions.
15704 2006-03-29 Wim Taymans <wim@fluendo.com>
15706 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15707 (gst_base_src_send_event), (gst_base_src_loop),
15708 (gst_base_src_change_state):
15709 Perform the EOS logic when we reach the segment stop position.
15710 Fix compilation on gcc4.1
15712 2006-03-29 Wim Taymans <wim@fluendo.com>
15714 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15716 * plugins/elements/gstqueue.c: (gst_queue_init),
15717 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15718 (gst_queue_set_property):
15719 * plugins/elements/gstqueue.h:
15720 In queue, when EOS is received, if minimum threshold > max_size -
15721 current_level, there is chance that queue blocks forever in conditional
15722 item del wait. This is because the queue is not emptied completely due
15723 to minimum threshold. Here is another approach. Instead of setting
15724 cur_levels to max in EOS, just zero all minimum threshold levels. This
15725 should make sure that queue gives out all data. When going to READY
15726 (stop) state, just reset the original minimum threshold levels.
15729 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
15731 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15732 (gst_type_find_element_handle_event),
15733 (gst_type_find_element_send_cached_events),
15734 (gst_type_find_element_change_state):
15735 * plugins/elements/gsttypefindelement.h:
15736 When typefinding is done in push mode, we should cache
15737 events we receive during typefinding instead of just
15738 dropping them (e.g. newsegment, custom events from
15739 dvdreadsrc etc.) and then send them out once we've
15740 determined the type of the stream (and decodebin
15741 has had a chance to plug in a decoder/demuxer).
15743 2006-03-27 Wim Taymans <wim@fluendo.com>
15745 * docs/design/part-qos.txt:
15748 2006-03-27 Wim Taymans <wim@fluendo.com>
15750 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15752 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15753 (gst_base_src_send_event), (gst_base_src_change_state):
15754 Handle element seek correctly when we are streaming.
15757 2006-03-24 Michael Smith <msmith@fluendo.com>
15759 * docs/faq/gst-uninstalled:
15760 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15761 allow you to correctly run intalled applications built against old
15762 core, using plugins that require updated core (e.g. running
15763 installed totem against a full uninstalled gstreamer stack)
15765 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15767 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15770 2006-03-24 Wim Taymans <wim@fluendo.com>
15772 * docs/gst/gstreamer-sections.txt:
15773 Rearrange the order of the methods so that related methods
15774 are grouped together in sections.
15776 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15778 * gst/gstelement.c:
15779 Little clarification in the docs
15781 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15785 * plugins/elements/gstidentity.c:
15786 * plugins/elements/gstqueue.c:
15787 * plugins/elements/gsttee.c:
15788 * plugins/elements/gsttypefindelement.c:
15789 GST_ELEMENT_DETAILS formatting
15791 2006-03-24 Wim Taymans <wim@fluendo.com>
15793 * libs/gst/base/gstbasesink.h:
15794 Only add fields, not insert or we break ABI.
15796 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15798 * win32/common/libgstbase.def:
15799 * win32/common/libgstreamer.def:
15800 Update, add recently added functions.
15802 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15804 * docs/gst/gstreamer-sections.txt:
15805 * gst/gstutils.c: (gst_pad_query_peer_position),
15806 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15808 API: add some new utility functions:
15809 - gst_pad_query_peer_position()
15810 - gst_pad_query_peer_duration()
15811 - gst_pad_query_peer_convert()
15813 2006-03-23 Wim Taymans <wim@fluendo.com>
15815 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15816 (gst_base_sink_init), (gst_base_sink_finalize),
15817 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
15818 (gst_base_sink_set_property), (gst_base_sink_get_property),
15819 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
15820 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15821 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
15822 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15823 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15824 (gst_base_sink_preroll_object), (gst_base_sink_event),
15825 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15826 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15827 (gst_base_sink_query), (gst_base_sink_change_state):
15828 Decouple max-lateness and the fact that QoS messages are generated
15829 with a new property (qos).
15830 added API: GstBaseSink::async_play()
15831 Add vmethod so subclasses can be notified of ASYNC playing
15833 Collect timestamp start and stop to report better current
15834 position in EOS/PLAYING/PAUSED/READY/NULL.
15835 Refactor QoS/frame dropping and other measurements.
15836 API: GstBaseSrc::qos
15839 * libs/gst/base/gstbasesink.h:
15840 Added Private struct.
15841 API: gst_base_sink_set_qos_enabled()
15842 API: gst_base_sink_is_qos_enabled()
15844 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15846 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15847 If compiling against GLib-2.8 or newer, try to read the
15848 registry file using GMappedFile first before falling back
15849 to fopen() + fread() (#332151).
15851 2006-03-22 Wim Taymans <wim@fluendo.com>
15853 * gst/gstinfo.c: (gst_debug_set_active),
15854 (gst_debug_category_set_threshold):
15855 Disable debugging unless explicitly activated.
15858 2006-03-22 Wim Taymans <wim@fluendo.com>
15860 * gst/gstelement.c: (gst_element_set_locked_state),
15861 (gst_element_dispose):
15862 Cleanup the error case.
15864 * gst/gstobject.c: (gst_object_dispose):
15865 print a critical when some object was disposed with
15866 a parent, also revive the object since it might
15869 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
15871 * tools/gst-launch.1.in:
15874 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
15877 * tests/check/Makefile.am:
15878 disable some tests when we don't have a registry
15879 * tests/check/gst/gstutils.c: (gst_utils_suite):
15880 don't build the part that needs parsing
15882 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
15885 * tests/examples/Makefile.am:
15886 fix --disable-parse build
15888 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15890 * tools/gst-feedback.1.in:
15891 Fix typo: s/feeback/feedback/ (#133494).
15893 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15895 * tools/Makefile.am:
15896 * tools/gst-launch.1.in:
15897 Add FILES section and correct entry about GST_REGISTRY_PATH
15898 environment variable (#133495; #133494).
15900 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15902 * tools/Makefile.am:
15903 * tools/gst-md5sum.1.in:
15904 * tools/gst-md5sum.c:
15905 Remove gst-md5sum and man page (the md5sink element
15906 required was removed ages ago)
15908 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15910 * gst/gststructure.c: (gst_structure_id_set_value):
15911 Make sure that string fields in structures/taglists
15912 contain valid UTF-8 - we don't want to pass rubbish to
15913 applications because of a buggy plugin (cp. #334167).
15915 2006-03-21 Edward Hervey <edward@fluendo.com>
15917 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15918 (gst_bin_handle_message_func):
15919 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
15920 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
15921 (gst_element_set_bus_func):
15922 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
15923 * gst/gstminiobject.c: (gst_value_set_mini_object),
15924 (gst_value_take_mini_object):
15925 * gst/gstpad.c: (gst_pad_set_pad_template):
15926 * gst/gstpipeline.c: (gst_pipeline_dispose),
15927 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15928 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
15929 (gst_collect_pads_chain):
15930 * libs/gst/net/gstnettimeprovider.c:
15931 (gst_net_time_provider_set_property):
15932 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
15933 It's in fact all issues with gst_*object_replace().
15935 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15937 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
15939 * pkgconfig/gstreamer-check-uninstalled.pc.in:
15940 * pkgconfig/gstreamer-check.pc.in:
15941 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
15943 2006-03-21 Edward Hervey <edward@fluendo.com>
15947 * gst/gstmessage.h:
15948 gst_[buffer|event|message]_ref() macros are replaced by a static
15949 inline functions because gcc-4.1 will about if the return value
15951 * tests/check/gst/gstevent.c: (event_probe):
15952 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
15954 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
15957 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
15958 the type' case. (Closes: #335195 for now). In the future, when we
15959 depend on GLib 2.10, we could also intern the type name using
15960 g_intern_static_string()
15962 2006-03-20 Wim Taymans <wim@fluendo.com>
15964 * gst/gstbin.c: (gst_bin_handle_message_func),
15965 (bin_query_max_init), (bin_query_position_fold),
15966 (bin_query_position_done), (gst_bin_query):
15967 Position query should also take max of all streams.
15969 2006-03-20 Wim Taymans <wim@fluendo.com>
15971 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15972 (gst_fake_src_finalize):
15973 Fix leaks in fakesrc.
15975 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
15976 Fix leaks in the testcase.
15978 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
15980 * gst/gst_private.h:
15981 add win32 specific import decoration(__declspec(dllimport))
15982 for all extern GstDebugCategory * variables
15983 * win32/common/libgstbase.def:
15984 * win32/common/libgstcontroller.def:
15985 * win32/common/libgstreamer.def:
15986 Add some exports, remove empty lines
15987 * win32/common/libgstdataprotocol.def:
15988 * win32/common/libgstdataprotocol.dsp:
15989 * win32/common/libgstnet.def:
15990 * win32/common/libgstnet.dsp:
15991 new project files and exportation files added
15993 2006-03-19 Wim Taymans <wim@fluendo.com>
15995 * tests/check/libs/basesrc.c: (eos_event_counter):
15996 Use proper return value for probe.
15998 2006-03-17 Wim Taymans <wim@fluendo.com>
16000 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16002 Don't leak buffers, caps and pads on negotiation errors.
16004 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16006 * docs/faq/cvs.xml:
16007 * docs/faq/dependencies.xml:
16008 * docs/faq/developing.xml:
16009 * docs/faq/faq.xml:
16010 * docs/faq/general.xml:
16011 * docs/faq/getting.xml:
16012 * docs/faq/legal.xml:
16013 * docs/faq/troubleshooting.xml:
16014 * docs/faq/using.xml:
16015 Faq review and update.
16017 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16019 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16021 Don't pound the cpu to pieces by checking get_caps when accept_caps
16022 is called with the same caps as the pad already has.
16023 Use GST_DEBUG_OBJECT when outputting caps change information.
16025 2006-03-15 Wim Taymans <wim@fluendo.com>
16027 * gst/gstclock.c: (gst_clock_class_init):
16030 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16035 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16036 (gst_pad_accept_caps), (gst_pad_configure_sink),
16037 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16038 Make the default acceptcaps behaviour be to check the requested
16039 caps against the gst_pad_get_caps output.
16041 Ensure that gst_pad_accept_caps is used to check caps when a pad
16042 doesn't have a setcaps function, so that pads automatically refuse
16043 caps that they don't allow in their pad template. (Fixes #332986)
16045 When a buffer with attached caps is pushed, ensure that the source
16046 pad receives those caps even if the element didn't call
16047 gst_pad_set_caps first.
16049 2006-03-15 Wim Taymans <wim@fluendo.com>
16051 * libs/gst/base/gstadapter.c:
16054 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16056 * win32/common/libgstbase.def:
16057 * win32/common/libgstcontroller.def:
16058 * win32/common/libgstreamer.def:
16059 Add a whole bunch of missing functions (#334434).
16061 2006-03-14 Wim Taymans <wim@fluendo.com>
16063 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16064 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16065 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16066 Better debug info when we receive a segment event.
16067 Reorganize a bit so we can pass the get_times() results around.
16068 Use the segment format when calculating the running time.
16069 Don't do QoS is sync is disabled or we have no clock or the
16070 element does not want us to sync to the clock.
16071 Don't drop buffers if QoS is disabled for now.
16073 2006-03-14 Wim Taymans <wim@fluendo.com>
16075 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16076 Marked the stats property as unimplemented so people don't get
16078 Add debug message when regression goes wrong.
16079 Added some more docs.
16081 2006-03-14 Wim Taymans <wim@fluendo.com>
16083 * gst/gstsegment.c: (gst_segment_to_stream_time):
16084 Return correct return type in case of errors.
16086 2006-03-14 Wim Taymans <wim@fluendo.com>
16088 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16089 Don't segfault on invalid formats.
16091 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16093 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16094 Can't use gst_segment_to_running_time() when the segment
16095 is not in GST_TIME_FORMAT (like with filesink, for example).
16096 Stops flac encoding pipelines from spewing critical warnings
16099 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16101 * gst/gstpipeline.c: (gst_pipeline_class_init):
16102 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16104 * plugins/elements/gsttypefindelement.c:
16105 (gst_type_find_element_handle_event):
16106 Don't try to typefind empty streams.
16108 2006-03-14 Wim Taymans <wim@fluendo.com>
16110 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16111 (gst_base_sink_do_qos):
16112 Separate QoS calculation.
16113 Only drop buffers when lateness is bigger than the
16114 duration of the buffer.
16116 2006-03-13 Wim Taymans <wim@fluendo.com>
16118 * gst/gstpipeline.c: (gst_pipeline_set_property),
16119 (gst_pipeline_get_property), (do_pipeline_seek),
16120 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16121 (gst_pipeline_get_delay):
16122 Don't deadlock when reading properties.
16124 2006-03-13 Wim Taymans <wim@fluendo.com>
16126 * libs/gst/base/gstbasetransform.c:
16127 (gst_base_transform_class_init), (gst_base_transform_init),
16128 (gst_base_transform_sink_event),
16129 (gst_base_transform_sink_eventfunc),
16130 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16131 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16132 (gst_base_transform_set_property),
16133 (gst_base_transform_get_property),
16134 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16135 (gst_base_transform_set_qos_enabled),
16136 (gst_base_transform_is_qos_enabled):
16137 * libs/gst/base/gstbasetransform.h:
16138 Make basetransform virtual method for src events too.
16139 Handle QOS in basetransform.
16140 API: gst_base_transform_update_qos()
16141 API: gst_base_transform_set_qos_enabled()
16142 API: gst_base_transform_is_qos_enabled()
16144 2006-03-13 Wim Taymans <wim@fluendo.com>
16146 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16147 (gst_base_sink_do_sync):
16149 Use QOS debug category.
16151 2006-03-13 Wim Taymans <wim@fluendo.com>
16153 * plugins/elements/gstqueue.c:
16154 Very small doc update.
16156 2006-03-13 Wim Taymans <wim@fluendo.com>
16158 * gst/gst_private.h:
16159 * gst/gstinfo.c: (_gst_debug_init):
16160 Added QOS debug category
16162 2006-03-13 Wim Taymans <wim@fluendo.com>
16164 * docs/gst/gstreamer-sections.txt:
16165 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16167 * gst/gstbus.c: (gst_bus_class_init):
16170 * gst/gstelement.c: (gst_element_set_locked_state):
16171 * gst/gstsegment.c:
16172 Documentation updates.
16174 * gst/gstpipeline.c: (gst_pipeline_get_type),
16175 (gst_pipeline_class_init), (gst_pipeline_init),
16176 (gst_pipeline_dispose), (gst_pipeline_set_property),
16177 (gst_pipeline_get_property), (do_pipeline_seek),
16178 (gst_pipeline_send_event), (gst_pipeline_change_state),
16179 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16180 (gst_pipeline_get_delay):
16181 * gst/gstpipeline.h:
16182 Added methods for setting the delay.
16183 API: gst_pipeline_set_delay()
16184 API: gst_pipeline_get_delay()
16185 Add pipeline debug category
16188 Don't reset stream time when seek failed.
16190 2006-03-13 Wim Taymans <wim@fluendo.com>
16192 * docs/design/draft-klass.txt:
16193 * docs/design/part-clocks.txt:
16194 * docs/design/part-events.txt:
16195 * docs/design/part-gstbin.txt:
16196 * docs/design/part-gstpipeline.txt:
16197 * docs/design/part-messages.txt:
16198 * docs/design/part-negotiation.txt:
16199 * docs/design/part-overview.txt:
16200 * docs/design/part-preroll.txt:
16201 * docs/design/part-seeking.txt:
16202 * docs/design/part-states.txt:
16203 * docs/design/part-streams.txt:
16204 Documentation updates.
16206 2006-03-12 Julien MOUTTE <julien@moutte.net>
16208 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16209 us to leak strings...
16211 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16213 * libs/gst/net/gstnettimeprovider.c:
16215 * win32/common/config.h:
16218 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16220 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16223 Don't check for libgnomeui (leftover from old examples
16224 that aren't built or disted any longer) (#334303).
16226 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16228 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16229 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16230 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16231 there's no space left on the device.
16233 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16236 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16237 to cast the input to GstClockTime before comparing with
16238 another GstClockTime value.
16240 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16245 === release 0.10.4 ===
16247 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16250 releasing 0.10.4, "Light"
16252 2006-03-10 Michael Smith <msmith@fluendo.com>
16254 * libs/gst/dataprotocol/dataprotocol.c:
16255 Fix docs for dataprocotol to not get the return types completely
16256 wrong for a few functions.
16258 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16260 * docs/gst/gstreamer-sections.txt:
16261 * gst/gstpipeline.c: (gst_pipeline_class_init),
16262 (gst_pipeline_init), (gst_pipeline_set_property),
16263 (gst_pipeline_get_property), (gst_pipeline_change_state),
16264 (gst_pipeline_set_auto_flush_bus),
16265 (gst_pipeline_get_auto_flush_bus):
16266 * gst/gstpipeline.h:
16267 Add new API: gst_pipeline_set_auto_flush_bus() and
16268 gst_pipeline_get_auto_flush_bus() to disable automatic
16269 flushing of the pipeline's GstBus when going from READY
16270 to NULL state (#332045).
16272 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16274 * docs/gst/gstreamer-sections.txt:
16275 * gst/gsturi.c: (gst_uri_has_protocol):
16277 Add new API: gst_uri_has_protocol() (#333779).
16279 2006-03-09 Wim Taymans <wim@fluendo.com>
16281 * gst/gstclock.c: (gst_clock_entry_new),
16282 (gst_clock_id_compare_func), (gst_clock_id_wait),
16283 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16284 (gst_clock_init), (gst_clock_get_internal_time),
16285 (gst_clock_set_master), (do_linear_regression),
16286 (gst_clock_add_observation), (gst_clock_set_property):
16290 Fix a possible segfault when the window-size is made smaller.
16291 Calculate jitter before performing the clock wait. Ideally
16292 the clock implementation should calculate jitter but we need
16293 API breakage for that.
16295 * gst/gstsystemclock.c: (gst_system_clock_init):
16298 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16299 Remove leftover else
16301 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16302 (gst_systemclock_suite):
16303 Added check to test GST_CLOCK_DIFF.
16305 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16307 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16308 (gst_type_find_helper_get_range):
16309 If we are provided with the size, we should implement
16310 GstTypeFind::get_length, so that typefind functions who
16311 want to can actually peek at the middle of a file.
16313 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16315 * docs/manual/advanced-dataaccess.xml:
16316 Add some very very basic error checking.
16318 * docs/pwg/appendix-checklist.xml:
16319 Some updates to the list of things to check when writing an element.
16321 2006-03-08 Wim Taymans <wim@fluendo.com>
16323 * docs/design/part-element-transform.txt:
16324 Added some docs about the design of tranform elements.
16326 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16327 (gst_base_src_loop), (gst_base_src_change_state):
16328 Mark buffers with the DISCONT flag.
16330 2006-03-08 Michael Smith <msmith@fluendo.com>
16332 * gst/gstregistry.h:
16333 * gst/gstregistryxml.c: (gst_registry_save),
16334 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16335 (gst_registry_xml_save_pad_template),
16336 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16337 (gst_registry_xml_write_cache):
16338 Rewrite registry-saving to avoid race conditions and check for
16341 2006-03-08 Wim Taymans <wim@fluendo.com>
16343 * libs/gst/base/gstbasetransform.c:
16344 (gst_base_transform_transform_caps),
16345 (gst_base_transform_transform_size),
16346 (gst_base_transform_prepare_output_buffer),
16347 (gst_base_transform_get_unit_size),
16348 (gst_base_transform_buffer_alloc),
16349 (gst_base_transform_handle_buffer),
16350 (gst_base_transform_change_state):
16351 Cleanups, separate normal flow from errors, add sensible
16353 Don't try to renegotiate when allocating an output buffer.
16354 Also copy DISCONT buffer flag when copying a buffer.
16355 Reset the transform after we finish streaming, not during.
16357 2006-03-08 Wim Taymans <wim@fluendo.com>
16359 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16360 Use last buffer timestamp in qos message.
16362 2006-03-07 Wim Taymans <wim@fluendo.com>
16364 Patch by: Christophe Fergeau
16366 * docs/pwg/advanced-tagging.xml:
16367 * docs/pwg/building-pads.xml:
16370 2006-03-07 Wim Taymans <wim@fluendo.com>
16372 * docs/libs/gstreamer-libs-sections.txt:
16373 Added basesink new methods.
16377 Docs updates. Flesh out the QoS docs.
16379 * libs/gst/base/gstadapter.c:
16380 Small doc clarification about ownership and flushing.
16382 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16383 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16384 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16385 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16386 * libs/gst/base/gstbasesink.h:
16388 Added new methods to allow subclass to control max-lateness
16390 Generate very basic QoS events based on last sync observation.
16391 Updated docs, fix typo, added some QoS blurb.
16393 * libs/gst/base/gstbasesrc.c:
16394 Remove obsolete _get_state() calls from docs.
16396 2006-03-07 Wim Taymans <wim@fluendo.com>
16398 * docs/libs/gstreamer-libs-sections.txt:
16399 * libs/gst/base/gstbasetransform.h:
16400 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16401 Fix docs for GstBaseSrc.
16403 2006-03-07 Wim Taymans <wim@fluendo.com>
16405 * docs/gst/gstreamer-sections.txt:
16408 * libs/gst/base/gstbasetransform.h:
16409 Small documentation fixes.
16411 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16414 Document thread-unsafety of gst_value_register_foo_func()
16415 when used at the same time as gst_value_foo() (#322628).
16417 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16419 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16420 (gst_push_src_check_get_range):
16421 Push sources don't support pull mode by default.
16423 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16425 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16426 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16427 (gst_base_src_default_check_get_range):
16428 * libs/gst/base/gstbasesrc.h:
16429 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16430 provide default implementation, and rename
16431 gst_base_src_check_get_range() to
16432 gst_base_src_pad_check_get_range() for clarity.
16434 2006-03-06 Wim Taymans <wim@fluendo.com>
16436 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16437 Make property overridable.
16439 2006-03-06 Wim Taymans <wim@fluendo.com>
16441 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16442 (gst_base_sink_init), (gst_base_sink_set_property),
16443 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16444 * libs/gst/base/gstbasesink.h:
16445 API addition: Make max-lateness a property.
16447 2006-03-06 Wim Taymans <wim@fluendo.com>
16449 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16450 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16451 Don't ever draw a frame that is >10ms late.
16453 2006-03-06 Michael Smith <msmith@fluendo.com>
16455 * gst/gstmessage.c: (_gst_message_copy):
16456 When copying a message, set the parent_refcount of the enclosed
16457 structure to point at the copy, not the original message.
16459 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16461 Patch by: Christophe Fergeau
16464 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16465 usable in c++ code (#333417)
16467 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16470 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16472 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16474 * libs/gst/base/gstbasetransform.c:
16475 (gst_base_transform_transform_caps):
16476 Make sure caps are writable before passing them to
16479 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16482 Fix some minor docs errors.
16484 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16486 Patch by: Ross Burton <ross at burtonini dot com>
16488 * gst/gsterror.c: (_gst_resource_errors_init):
16490 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16492 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16495 Add a check and output a g_warning when GStreamer is built
16496 against GLib 2.6 but running against 2.8 or higher, and vice
16497 versa. (Closes: #323542)
16499 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16501 * gst/parse/parse.l:
16502 Commit patch for parse_launch syntax from #331255. Removes
16503 support for quoted strings and mimetypes when writing filtered
16504 caps. See the bug report for more details - I'm pretty sure this
16505 obscure feature is not in use by _anyone_ anywhere.
16507 With this simple change, the size of the gstreamer.so here
16508 drops from 2193KB to 1565KB.
16510 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16512 * plugins/elements/gsttypefindelement.h:
16513 * plugins/elements/gsttypefindelement.c:
16514 (gst_type_find_element_src_event), (start_typefinding),
16515 (stop_typefinding), (gst_type_find_element_handle_event),
16516 (gst_type_find_element_chain),
16517 (gst_type_find_element_chain_do_typefinding):
16518 Use gst_type_find_helper_for_buffer() for chain-based
16521 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16523 * plugins/elements/gsttypefindelement.c:
16524 (gst_type_find_element_class_init),
16525 (gst_type_find_element_set_property),
16526 (gst_type_find_element_get_property):
16527 Deprecate "maximum" property (not only was it only taken into
16528 account for typefinding in push-mode anyway, it also was never
16529 actually possible to set it in the first place because the
16530 property was registered with the numeric property ID for the
16531 "minimum" property). Register "maximum" property correctly,
16532 for the sake of future copy'n'pasters. Remove some cruft
16533 from property get/set functions.
16535 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16537 * plugins/elements/gsttypefindelement.c:
16538 (gst_type_find_element_activate):
16539 Use gst_type_find_helper_get_range() here, so we
16540 can honour the "minimum" property and also emit
16541 the signal with the correct probability of the found caps.
16543 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16545 * docs/libs/gstreamer-libs-sections.txt:
16546 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16547 (helper_find_suggest), (gst_type_find_helper_get_range),
16548 (gst_type_find_helper):
16549 * libs/gst/base/gsttypefindhelper.h:
16550 New API: gst_type_find_helper_get_range() (#333042).
16552 2006-03-02 Michael Smith <msmith@fluendo.com>
16554 * gst/gstregistryxml.c: (load_feature):
16555 Asserting on a failure to read part of the registry is Not Cool.
16556 Just log a warning and return NULL (which is already handled)
16558 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16560 * win32/common/libgstbase.def:
16561 added export of gst_type_find_helper_for_buffer
16562 * win32/common/libgstbase.def:
16563 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16564 gst_ghost_pad_get_target
16566 2006-02-28 Wim Taymans <wim@fluendo.com>
16568 * docs/design/draft-klass.txt:
16570 Added Connector to mark elements that are only used to
16571 allow pipeline connections.
16572 Moved Debug to extra feature since most of them are
16573 functionally something else.
16575 2006-02-28 Wim Taymans <wim@fluendo.com>
16577 * docs/design/draft-klass.txt:
16578 Some updates and clarifications.
16580 2006-02-28 Wim Taymans <wim@fluendo.com>
16582 * docs/design/draft-klass.txt:
16583 Proposal for klass field values.
16585 * docs/design/part-streams.txt:
16586 Start of a doc describing stream anatomy.
16588 2006-02-28 Wim Taymans <wim@fluendo.com>
16590 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16591 Help the compiler a bit with type registration.
16592 Use existing forward cod path instead of duplicating it when
16593 handling a message.
16595 * gst/gstbus.c: (gst_bus_get_type):
16596 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16597 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16598 * gst/gstclock.c: (gst_clock_get_type):
16599 * gst/gstelement.c: (gst_element_get_type),
16600 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16601 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16602 * gst/gstminiobject.c: (gst_mini_object_get_type):
16603 * gst/gstpad.c: (gst_pad_get_type):
16604 * gst/gstsegment.c: (gst_segment_get_type):
16605 * gst/gststructure.c: (gst_structure_get_type):
16606 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16607 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16609 Help compiler with type registration.
16611 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16614 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16616 * plugins/elements/gsttypefindelement.c:
16617 (gst_type_find_element_handle_event):
16618 When we get an EOS event and have not found a type yet
16619 (most likely because we had not yet accumulated
16620 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16621 type given the data we have so far. Fixes typefinding
16622 for very short streams again, most notably quicktime
16623 redirections as used on Apple's trailer site (#331701).
16625 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16627 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16628 (gst_type_find_helper):
16629 Try typefinding factories with the highest rank first.
16631 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16633 * docs/libs/gstreamer-libs-docs.sgml:
16634 * docs/libs/gstreamer-libs-sections.txt:
16635 * libs/gst/base/gsttypefindhelper.c:
16636 Add section for typefind helper and add documentation
16637 for the old and the new function.
16639 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16641 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16642 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16643 (gst_type_find_helper_for_buffer):
16644 * libs/gst/base/gsttypefindhelper.h:
16645 New API: gst_type_find_helper_for_buffer() (#332723).
16647 2006-02-27 Michael Smith <msmith@fluendo.com>
16649 Patch by: Loïc Minier
16652 * docs/Makefile.am:
16653 * docs/slides/Makefile.am:
16654 prevent CVS directories getting disted.
16656 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16658 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16659 Use the REFCOUNTING category for caps refcounting.
16661 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16663 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16664 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16666 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16668 * plugins/elements/gsttypefindelement.c:
16669 (gst_type_find_element_activate):
16670 Use gst_pad_check_pull_range() before _activate_pull()
16671 to avoid unnecessary open/close (see #331690).
16673 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16676 Docs enhancement: make it crystal clear what the
16677 gst_pad_add_*_probe() callbacks should look like.
16679 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16681 * libs/gst/base/gstbasesrc.c:
16682 Document how applications can stop recording from
16683 live sources (see #330996).
16685 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16687 * tests/check/Makefile.am:
16688 * tests/check/libs/basesrc.c: (eos_event_counter),
16689 (basesrc_eos_events_pull), (basesrc_eos_events_push),
16690 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16691 (gst_basesrc_suite), (main):
16692 ... and add some tests for the base source EOS stuff.
16694 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16696 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16697 Test case originally showed the problem fixed below,
16698 but was then amended. Add checks back at the place
16699 where they used to be.
16701 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16703 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16704 (gst_base_src_init), (gst_base_src_loop),
16705 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16706 (gst_base_src_change_state):
16707 * libs/gst/base/gstbasesrc.h:
16708 Don't unconditionally send EOS when going from PAUSED to
16709 READY state, esp. make sure we don't send two EOS events
16710 in some cases (e.g. one when reaching EOS and one when
16711 going from PAUSED to READY). Also, we don't want to send
16712 EOS events when operating in pull mode. However, we do
16713 want to send an EOS event when shutting down a live
16714 source explicitly, for example (fixes #330996).
16716 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16718 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16719 Update src->read_position after a seek when not using mmap.
16720 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16722 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
16728 Make things work with --disable-parse as they do with
16729 --disable-load-save - the symbols involved disappear, but the
16730 header is still installed and GST_DISABLE_PARSE is included via
16733 2006-02-20 Julien MOUTTE <julien@moutte.net>
16735 * libs/gst/base/gstbasetransform.c:
16736 (gst_base_transform_change_state): Fix a stupid bug. I was
16737 sure I compiled that.
16739 2006-02-20 Julien MOUTTE <julien@moutte.net>
16741 * gst/gstpad.c: (gst_pad_set_blocked_async):
16742 * gst/gstutils.c: (gst_pad_add_data_probe),
16743 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16744 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16745 (gst_pad_remove_buffer_probe): Make those function act on the
16746 ghostpad target when it's a ghostpad. (Closes #331727)
16748 2006-02-20 Julien MOUTTE <julien@moutte.net>
16750 * libs/gst/base/gstbasetransform.c:
16751 (gst_base_transform_change_state): Make basetransform reusable.
16754 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
16756 * docs/random/release:
16757 Move the current documentation of how to do a release to the top
16760 * gst/gstbin.c: (gst_bin_class_init),
16761 (gst_bin_handle_message_func):
16762 Allow multiple state-recalculation threads. (Closes #328873)
16764 2006-02-19 Julien MOUTTE <julien@moutte.net>
16766 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16767 * gst/gstpad.c: (gst_pad_set_event_function),
16768 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16769 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16770 2 strings. You can't use the STR_NULL macro on that.
16772 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
16774 * gst/gstpad.c: (gst_pad_set_event_function),
16775 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16776 (gst_pad_set_getcaps_function)
16777 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16778 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16779 So now, we can use --gst-debug-level=5 on Windows
16780 * win32/common/libgstcontroller.def:
16781 Added export of gst_controller_init
16782 * win32/vs6/libgstcontroller.dsp:
16783 Fixed Release post build configuration
16785 2006-02-17 Wim Taymans <wim@fluendo.com>
16787 * tests/check/gst/gstquery.c: (GST_START_TEST):
16788 Added another check.
16790 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
16792 * plugins/elements/gsttypefindelement.c: (find_peek):
16793 We can do peeks at non-zero offsets, as long as they
16794 fall within the buffer we have.
16796 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
16798 * tests/check/Makefile.am:
16799 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16800 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16801 (parse_suite), (main):
16802 Add testsuite for parse launch syntax
16804 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
16806 * plugins/elements/gsttypefindelement.c:
16807 (gst_type_find_element_chain):
16808 When typefinding is unsuccessful in the chain function, don't
16809 error out immediately. Only error out with NO_CAPS_FOUND if
16810 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
16811 otherwise simply wait for more data so we can try typefinding
16812 again with more data later. Also, don't attempt to typefind
16813 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
16814 this should improve typefinding from network sources where the
16815 size of the first buffer can be somewhat random.
16817 2006-02-14 Wim Taymans <wim@fluendo.com>
16819 * docs/gst/gstreamer-sections.txt:
16820 * gst/gstpadtemplate.c:
16821 * gst/gstpadtemplate.h:
16822 Fix padtemplate docs, fixes #328805.
16824 2006-02-14 Wim Taymans <wim@fluendo.com>
16826 * tools/gst-launch.c: (main):
16827 NO_PREROLL is not an ERROR so don't send confusing messages
16830 2006-02-14 Wim Taymans <wim@fluendo.com>
16832 Patch by: Torsten Schoenfeld
16834 * gst/gstregistry.c: (gst_registry_get_default),
16835 (_gst_registry_cleanup):
16836 Protect default registry with lock and ref/sink it.
16839 2006-02-14 Wim Taymans <wim@fluendo.com>
16842 * gst/gstquery.c: (gst_query_list_add_format),
16843 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16844 (gst_query_parse_formats_nth):
16845 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16848 2006-02-14 Wim Taymans <wim@fluendo.com>
16850 * docs/gst/gstreamer-sections.txt:
16851 Reworked query docs.
16853 * gst/gstquery.c: (gst_query_new_formats),
16854 (gst_query_list_add_format), (gst_query_set_formats),
16855 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16856 (gst_query_parse_formats_nth):
16858 Flesh out formats query, added some new methods.
16859 Fix part of #324398.
16861 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
16862 Added query creation tests.
16864 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
16866 * gst/gstpad.c: (fixate_value):
16867 Add a default fixation for fraction lists.
16869 2006-02-13 Wim Taymans <wim@fluendo.com>
16871 * gst/gsttask.c: (gst_task_init), (gst_task_func),
16872 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
16875 Detect and warn for obvious deadlocks. fixes #320340
16876 Fix error case where lock was not released.
16878 * tests/check/Makefile.am:
16879 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
16880 (task_func), (gst_element_suite), (main):
16883 2006-02-13 Wim Taymans <wim@fluendo.com>
16885 * docs/gst/gstreamer-sections.txt:
16887 Add new functions to docs.
16889 2006-02-13 Wim Taymans <wim@fluendo.com>
16891 * docs/design/part-TODO.txt:
16892 Updated TODO list, basesrc supports seeking to non-bytes
16895 * docs/design/part-element-sink.txt:
16898 * gst/gstbin.c: (bin_replace_message),
16899 (gst_bin_handle_message_func):
16900 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
16901 * gst/gstevent.c: (gst_event_finalize):
16902 * gst/gstpad.c: (gst_pad_event_default_dispatch),
16903 (gst_pad_send_event):
16904 Use shiny new _TYPE_NAME macros.
16906 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16907 Move debug statement up.
16909 * gst/gstelement.c: (gst_element_set_locked_state):
16910 Add some debugging.
16912 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
16914 * docs/gst/gstreamer-sections.txt:
16915 * gst/gstmessage.h:
16917 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
16918 macros (#330906). Also, document the already existing
16919 GST_QUERY_TYPE macro.
16921 2006-02-13 Wim Taymans <wim@fluendo.com>
16923 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
16924 (event_probe), (GST_START_TEST):
16925 Only events up to the pipeline EOS are counted, there are
16926 some more when going to NULL currently which we don't care
16929 2006-02-13 Wim Taymans <wim@fluendo.com>
16931 * gst/gstpad.c: (gst_pad_send_event):
16932 Correctly check flushing and emit probes. fixes #330125
16934 2006-02-10 Andy Wingo <wingo@pobox.com>
16936 * gst/gstbus.c (gst_bus_class_init): Declare our private data
16938 (gst_bus_init): Cache the location of the private data in the
16939 instance structure.
16940 (gst_bus_enable_sync_message_emission)
16941 (gst_bus_disable_sync_message_emission): Implement new public
16943 (gst_bus_post): Emit the sync-message signal if the user asked for
16946 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
16947 location of the bus-private structure.
16948 (gst_bus_enable_sync_message_emission)
16949 (gst_bus_disable_sync_message_emission): API addition
16951 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
16953 Patch by: Vincent Torri
16955 * docs/pwg/building-boiler.xml:
16956 PWG patch from #326800
16958 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
16961 * docs/Makefile.am:
16962 * docs/design/Makefile.am:
16965 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
16970 === release 0.10.3 ===
16972 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
16975 releasing 0.10.3, "Like a virgin"
16977 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
16980 2nd prerelease of 0.10.3
16981 Bump libtool versioning.
16983 2006-02-07 Andy Wingo <wingo@pobox.com>
16985 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
16986 update last_stop if we're in TIME format and the timestamp is
16989 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
16990 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
16991 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
16992 If we get a new newsegment with a different format, adapt
16995 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
16996 of 0. Not a problem, really.
16998 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17001 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17006 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17009 project files updated to the default vs7 configuration
17010 * win32/common/libgstbase.def:
17011 * win32/common/libgstreamer.def:
17013 removed empty lines,
17014 sorted all exported symbols alphabetically
17015 * win32/common/dirent.c:
17016 * win32/common/dirent.h:
17017 * win32/common/gchar.h:
17018 use windows line end.
17020 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17022 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17023 Send EOS event when stopping.
17025 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17028 Tell folks what to do if the plugin-foobar.xml file
17029 hasn't been generated for a newly-added plugin.
17031 2006-02-05 Julien MOUTTE <julien@moutte.net>
17033 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17034 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17035 (gst_collect_pads_start), (gst_collect_pads_stop),
17036 (gst_collect_pads_event): Collectpads now holds a reference
17037 to the GstPad that was added. Indeed we don't want to look
17038 at pads that might just go away with no warning...
17040 2006-02-05 Julien MOUTTE <julien@moutte.net>
17042 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17043 (gst_collect_pads_start), (gst_collect_pads_stop),
17044 (gst_collect_pads_event), (gst_collect_pads_chain):
17045 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17046 Mark Nauwelaerts's patch on bug #328491.
17048 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17050 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17052 Add some simple tests for gst_parse_bin_from_description() and
17053 gst_bin_find_unconnected_pad() (#329069).
17055 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17057 * tools/gst-launch.c: (event_loop), (main):
17058 Catch errors during preroll (#320084).
17060 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17062 * plugins/elements/gsttypefindelement.c:
17063 (gst_type_find_element_activate):
17064 Post TYPE_NOT_FOUND error message when typefinding
17065 is unsuccessful in the activate function as well.
17067 2006-02-02 Wim Taymans <wim@fluendo.com>
17069 * docs/design/part-element-sink.txt:
17072 2006-02-02 Wim Taymans <wim@fluendo.com>
17074 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17075 (gst_base_sink_render_object),
17076 (gst_base_sink_queue_object_unlocked):
17077 Only keep track of prerollable items when we are
17079 Before rendering after preroll, always check if we
17081 Added some more debugging.
17083 2006-02-02 Wim Taymans <wim@fluendo.com>
17085 * gst/gstelement.c: (gst_element_continue_state),
17086 (gst_element_set_state_func), (gst_element_change_state):
17087 Fixed #326576, been running this for quite some time with
17088 no regressions at all.
17090 2006-02-02 Wim Taymans <wim@fluendo.com>
17093 Added more suppressions
17095 2006-02-02 Wim Taymans <wim@fluendo.com>
17097 * docs/design/part-element-sink.txt:
17100 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17101 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17102 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17103 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17104 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17105 (gst_base_sink_preroll_object),
17106 (gst_base_sink_queue_object_unlocked),
17107 (gst_base_sink_queue_object), (gst_base_sink_event),
17108 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17109 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17110 (gst_base_sink_get_position), (gst_base_sink_change_state):
17111 * libs/gst/base/gstbasesink.h:
17112 Totally refactored matching the design doc.
17113 Use two segments, one to clip incomming buffers and another to
17115 Handle queueing correctly, bypass the queue when playing.
17116 Make EOS cancelable.
17117 Handle errors correctly when operating in pull based mode.
17119 * tests/check/elements/fakesink.c: (GST_START_TEST),
17121 Added new check for sinks.
17123 2006-02-02 Wim Taymans <wim@fluendo.com>
17125 * gst/gstsegment.c: (gst_segment_clip):
17126 No reason to refuse to clip when start == -1
17128 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17131 * docs/manual/intro-basics.xml:
17132 * docs/manual/intro-preface.xml:
17133 * docs/manual/manual.xml:
17134 * docs/pwg/advanced-dparams.xml:
17135 * docs/pwg/intro-basics.xml:
17136 * docs/pwg/intro-preface.xml:
17137 * docs/pwg/pwg.xml:
17138 describe dparams (controller) for plugins
17139 unify docs a little more
17141 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17143 * docs/gst/gstreamer-sections.txt:
17144 * gst/gstutils.c: (element_find_unconnected_pad),
17145 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17147 Add new API: gst_parse_bin_from_description() and
17148 gst_bin_find_unconnected_pad() (#329069).
17150 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17152 * docs/manual/README:
17153 uncover a nasty detail of the docs build
17155 2006-01-31 Wim Taymans <wim@fluendo.com>
17157 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17158 Don't cache duration messages if we're not going to use or
17161 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17163 * docs/manual/advanced-dparams.xml:
17164 * docs/pwg/advanced-dparams.xml:
17168 * libs/gst/controller/lib.c: (gst_controller_init):
17171 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17173 * gst/gstelement.c: (gst_element_message_full):
17174 also show file/line/func if no additional debug was given
17176 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17178 * win32/vs7/grammar.vcproj:
17179 activate copy of autogenerated files for Release mode
17181 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17183 * win32/common/libgstreamer.def:
17184 export gst_value_compare
17186 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17188 * plugins/elements/Makefile.am:
17189 * plugins/elements/gstelements.c:
17190 * plugins/elements/gstfdsink.c: (_do_init),
17191 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17192 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17193 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17194 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17195 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17196 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17197 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17198 * plugins/elements/gstfdsink.h:
17199 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17201 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17203 * docs/manual/advanced-dparams.xml:
17204 describe controller
17205 * docs/manual/advanced-position.xml:
17206 * docs/manual/basics-init.xml:
17207 * docs/manual/manual.xml:
17208 * docs/manual/titlepage.xml:
17209 * docs/pwg/pwg.xml:
17210 * docs/pwg/titlepage.xml:
17211 cleanup xml (more to come)
17212 * libs/gst/controller/gstcontroller.c:
17215 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17217 * win32/vs6/grammar.dsp:
17218 add autogen of gstmarshal.c,h for Release mode
17220 2006-01-30 Wim Taymans <wim@fluendo.com>
17222 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17223 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17224 (gst_base_sink_handle_object), (gst_base_sink_event),
17225 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17226 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17227 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17228 (gst_base_sink_deactivate), (gst_base_sink_activate),
17229 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17230 (gst_base_sink_query), (gst_base_sink_change_state):
17231 Basesink cleanups, remove some old code.
17232 Handle the case where a subclass can preroll in the render
17233 method (mostly audiosinks).
17234 Handle more events.
17235 Remove some locks around variables that are now protected
17236 with the PREROLL_LOCK (clock_id, flushing, ..).
17237 Optimize position query some more, do correct locking.
17238 Remove old code to push queue in state change, this is not
17239 needed anymore since preroll blocks on all prerollable items
17241 Almost implemented as described in design doc.
17243 2006-01-30 Wim Taymans <wim@fluendo.com>
17245 * tests/check/gst/gstbin.c: (GST_START_TEST):
17246 Wait for refcount to settle down before checking.
17248 2006-01-30 Wim Taymans <wim@fluendo.com>
17250 * docs/design/part-element-sink.txt:
17251 Pseudo code overview of desired sink behaviour regarding
17254 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17255 * win32/vs6/grammar.dsp:
17256 fix some bugs in Release mode for autogenerated files
17258 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17259 * win32/common/libgstbase.def:
17260 * win32/common/libgstreamer.def:
17261 export some new symbols: gst_base_src_set_format,
17262 gst_iterator_next, gst_structure_set_valist
17264 2006-01-29 Julien MOUTTE <julien@moutte.net>
17266 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17267 Set pad functions unconditionally. Fixes #329105.
17269 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17271 add vs8 project files created by Sergey Scobich
17273 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17275 * gst/gstutils.c: (gst_element_unlink_pads):
17276 Don't leak pad references.
17278 * tests/check/elements/fakesink.c: (GST_START_TEST):
17279 * tests/check/generic/sinks.c: (GST_START_TEST):
17280 * tests/check/generic/states.c: (GST_START_TEST):
17281 * tests/check/gst/gstbin.c: (GST_START_TEST):
17282 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17283 * tests/check/gst/gstelement.c: (GST_START_TEST):
17284 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17285 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17286 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17287 Fix a bunch of leaks. Make generic/sinks.c
17288 use a bit less cpu by slowing the buffer rate
17289 between fakesrc and fakesink.
17291 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17293 * gst/gstelement.c: (gst_element_send_event):
17296 * gst/gstiterator.c:
17297 * gst/gstiterator.h:
17298 * gst/gstpad.c: (gst_pad_send_event):
17299 * gst/gststructure.c:
17303 * libs/gst/base/gstadapter.c:
17304 doc fixes, to link to function, just write gst_cool_function(), don't
17307 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17309 * plugins/elements/gsttee.c: (gst_tee_do_push),
17310 (gst_tee_handle_buffer):
17311 Always prefer an actual return value from a src
17312 pad in place of NOT_LINKED. This means we return
17313 WRONG_STATE when all src pads are WRONG_STATE
17314 instead of NOT_LINKED.
17316 Lock when replacing the last message to prevent
17317 racing with the get_property method.
17321 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17323 * tests/check/Makefile.am:
17324 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17326 Add a very simple check that should have caught the memleak I fixed
17327 last night (if not for the slice allocator hiding it)
17329 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17331 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17332 (gst_bin_remove_func), (gst_bin_handle_message_func),
17333 (bin_query_duration_fold), (bin_query_generic_fold):
17334 Clean up references to the clock provider when disposed or when
17335 handling a clock-lost message from it.
17337 Unref sinks when performing a query via gst_iterator_fold, as the
17338 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17340 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17341 (gst_clock_set_master):
17342 Drop our reference to the master clock, if any, when we are disposed.
17344 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17345 Chain up in dispose.
17347 2006-01-26 Wim Taymans <wim@fluendo.com>
17349 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17350 Add some debugging.
17352 2006-01-26 Julien MOUTTE <julien@moutte.net>
17354 * plugins/elements/gsttee.c: (gst_tee_do_push),
17355 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17356 handles pad being NOT_LINKED or in WRONG_STATE.
17358 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17363 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17366 remove obsolete entry
17368 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17370 * docs/gst/gstreamer-sections.txt:
17371 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17372 (gst_bin_iterate_sources), (gst_bin_send_event):
17374 * gst/gstelement.c: (gst_element_send_event):
17376 * gst/gstpad.c: (gst_pad_send_event):
17377 added code for downstream events, reviewed docs in gstevent.c
17379 2006-01-25 Julien MOUTTE <julien@moutte.net>
17381 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17382 We only query position using the clock in the playing state.
17383 Query peer in the other cases.
17384 * win32/common/config.h: Updates.
17386 2006-01-24 Wim Taymans <wim@fluendo.com>
17388 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17389 A clock entry that is scheduled for the exact time of the
17390 clock is still in time.
17392 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17393 (gst_base_sink_do_sync):
17394 Add some more debug info.
17396 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17399 Add new vs7 project files and solution.
17401 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17404 all files removed as they were out-dated.
17406 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17408 * docs/random/release:
17410 * gst/gstbin.c: (gst_bin_init):
17411 * gst/gstbus.c: (gst_bus_new):
17413 * gst/gstpipeline.c: (gst_pipeline_init):
17414 use gst_bus_new(), improve logging, fix docs
17415 * win32/common/config.h:
17416 update for cvs build
17418 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17421 up required version of automake to 1.7
17423 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17425 * win32/common/libgstreamer.def:
17426 export gst_buffer_is_metadata_writable
17428 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17430 * docs/gst/gstreamer-sections.txt:
17432 Add gst_event_replace() (#327001)
17434 2006-01-20 Wim Taymans <wim@fluendo.com>
17436 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17437 Make it actually compile too..
17439 2006-01-20 Wim Taymans <wim@fluendo.com>
17442 Clarify behaviour of _is_equal() when passing NULL parameters.
17444 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17445 (gst_pad_set_caps):
17446 Cleanups. Don't unref NULL caps.
17447 When setting the same caps, protect caps of the pad with
17449 Use full functionality of _is_equal() when comparing caps.
17451 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17453 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17454 Don't loop infinitely if there are no buffers to present. Partially
17455 fixes #327197, but collectpads is just broken for reusing elements
17456 to do multiple encodes atm.
17458 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17460 * tools/gst-inspect.c: (print_element_features):
17461 * tools/gst-xmlinspect.c: (main):
17462 URL_HANDLER is not a plugin feature we can search for in
17465 2006-01-19 Edward Hervey <edward@fluendo.com>
17467 * gst/gstelement.c: (gst_element_pads_activate):
17468 When activating, do src pads first, then sink pads.
17469 When de-activating, do sink pads first, then src pads.
17471 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17473 * docs/gst/gstreamer-sections.txt:
17474 Add gst_index_add_associationv to the docs
17476 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17481 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17482 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17483 Do some refactoring. Doesn't actually change functionality,
17484 but makes landing the DRAIN event easier later.
17486 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17488 * docs/pwg/advanced-scheduling.xml:
17489 Update from 0.9.x to 0.10 API and make example a bit
17492 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17494 * docs/gst/gstreamer-sections.txt:
17495 Add gst_buffer_(is|make)_metadata_writable methods.
17497 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17499 * docs/design/part-sparsestreams.txt:
17500 Update sparse streams doc, hopefully for greater clarity
17502 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17504 * docs/design/part-events.txt:
17505 Remove mention of FILLER events.
17508 * docs/design/part-sparsestreams.txt:
17509 Write some things about using NEWSEGMENT to keep sparse streams
17512 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17514 * gst/gstbin.c: (gst_bin_dispose):
17515 Guard gst_object_unref call against a NULL object (dispose
17516 can theoretically be called multiple times).
17518 2006-01-18 Wim Taymans <wim@fluendo.com>
17520 * gst/gstbin.c: (gst_bin_element_set_state):
17521 * gst/gstclock.c: (gst_clock_id_wait):
17522 Added some more debug info.
17524 * libs/gst/base/gstadapter.c:
17527 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17528 (gst_base_sink_do_sync), (gst_base_sink_chain):
17529 Added some comments.
17531 2006-01-18 Wim Taymans <wim@fluendo.com>
17533 * tests/check/Makefile.am:
17534 * tests/check/elements/fakesink.c: (chain_async_buffer),
17535 (chain_async), (chain_async_return), (GST_START_TEST),
17536 (fakesink_suite), (main):
17537 Added fakesink test that checks prerolling and clipping
17540 * tests/check/gst/gstutils.c: (GST_START_TEST):
17541 Make check run faster so that buildbots don't timeout.
17543 2006-01-18 Wim Taymans <wim@fluendo.com>
17545 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17546 (gst_base_sink_do_sync):
17548 When the sink finishes blocking on the preroll buffer, it can
17549 immediatly render it instead of rendering when the next buffer
17552 2006-01-18 Wim Taymans <wim@fluendo.com>
17554 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17555 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17556 (gst_base_sink_chain):
17558 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17559 Don't store _last_stop if the buffer is dropped.
17561 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17563 * plugins/elements/gsttypefindelement.c:
17564 (gst_type_find_element_class_init):
17565 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17566 object method handler that sets the caps on the pad and we want
17567 that to happen before we emit the signal (fixes e.g. feeding a
17568 plain text file to decodebin).
17570 2006-01-18 Christian Schaller <Christian@fluendo.com>
17572 * gst/gstplugin.c: Add MPL and Proprietary as license options
17574 2006-01-18 Andy Wingo <wingo@pobox.com>
17576 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17577 symbol was exported before, it appears this was just an oversight.
17579 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17581 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17582 prototype to gint. OK since this prototype was not in the header.
17584 2006-01-17 Andy Wingo <wingo@pobox.com>
17586 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17587 registry while we remove plugins.
17589 * tools/gst-inspect.c (print_element_info): Don't unref the
17590 factory arg, that should be the responsibility of whatever code
17591 received the ref. Fixes a double-free when called from
17592 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17593 (main): Unref the factory if we have one.
17594 (print_element_list): No change -- relies on the
17595 plugin_feature_list_free to free the list of features.
17597 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17599 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17600 (gst_buffer_make_metadata_writable):
17602 * libs/gst/base/gstbasetransform.c:
17603 (gst_base_transform_prepare_output_buf):
17604 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17605 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17606 Replace gst_buffer_(make|is)_metadata_writable patch now
17607 that the release is out.
17609 2006-01-17 Andy Wingo <wingo@pobox.com>
17611 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17612 in the present tense without reference to versions.
17614 * gst/gstregistry.c (gst_registry_add_plugin)
17615 (gst_registry_remove_plugin, gst_registry_remove_feature)
17616 (gst_registry_find_feature, gst_registry_get_feature_list)
17617 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17618 (gst_registry_lookup, gst_registry_scan_path)
17619 (_gst_registry_remove_cache_plugins)
17620 (gst_registry_get_feature_list_by_plugin): Add argument
17623 === release 0.10.2 ===
17625 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17628 releasing 0.10.2, "If man is five"
17630 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17634 * libs/gst/base/gstbasetransform.c:
17635 (gst_base_transform_prepare_output_buf):
17636 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17637 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17638 Back out patch until after the release.
17640 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17642 * gst/gstminiobject.c:
17643 Spelling fix in docs.
17644 * ChangeLog - remove conflict indicator
17646 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17648 Reviewed By: Andy Wingo
17650 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17651 (gst_buffer_make_metadata_writable):
17653 Add gst_buffer_(is|make)_metadata_writable as analogues of
17654 gst_buffer_(is|make)_writable.
17656 * libs/gst/base/gstbasetransform.c:
17657 (gst_base_transform_prepare_output_buf):
17658 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17659 Use name gst_buffer_(is|make)_metadata_writable functions.
17661 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17662 Test gst_buffer_(is|make)_metadata_writable
17666 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17668 * docs/manual/Makefile.am:
17669 don't do parallel make
17672 * win32/common/config.h.in:
17673 add generations for HOST_CPU and GST_MAJORMINOR
17674 * win32/common/config.h:
17675 commit generated result
17677 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17679 * docs/manual/appendix-integration.xml:
17680 Update GNOME integration section to use gst_init_get_option_group()
17681 instead of the old popt stuff (#322911). Also, GNOME applications
17682 should now use gconf*sink and gconf*src instead of the old gconf
17685 2006-01-13 Stefan Kost <ensonic@users.sf.net>
17688 * docs/gst/gstreamer-docs.sgml:
17689 * docs/gst/gstreamer-sections.txt:
17690 * docs/libs/gstreamer-libs-sections.txt:
17691 add new API entries to the docs
17692 * libs/gst/controller/Makefile.am:
17693 * libs/gst/controller/gstcontroller.c:
17694 * libs/gst/controller/gstcontroller.h:
17695 * libs/gst/controller/gstcontrollerprivate.h:
17696 * libs/gst/controller/gsthelper.c:
17697 * libs/gst/controller/gstinterpolation.c:
17698 move private structs to private header
17700 gstreamer-0.7 -> gstreamer-0.10
17701 * tests/check/libs/struct_i386.h:
17702 remove private structs
17704 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17706 * plugins/indexers/Makefile.am:
17707 Fixes as part of #317048
17709 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17711 * plugins/indexers/Makefile.am:
17712 fix #316086 - compilation when mmap is missing
17714 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
17716 * libs/gst/base/gstbasesink.c:
17717 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
17718 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17719 * win32/common/config.h:
17720 added some defines GST_MAJORMINOR and HOST_CPU
17721 * win32/common/libgstbase.def:
17722 * win32/common/libgstreamer.def:
17723 added some exported functions.
17725 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17727 * libs/gst/controller/gstcontroller.c:
17728 (gst_controlled_property_set_interpolation_mode),
17729 (gst_controlled_property_new):
17730 * libs/gst/controller/gstcontroller.h:
17731 * libs/gst/controller/gstinterpolation.c:
17732 (interpolate_none_get_string_value_array):
17733 make G_TYPE_STRING controlable
17735 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17738 * tools/gst-feedback.1.in:
17739 * tools/gst-inspect.1.in:
17740 * tools/gst-launch.1.in:
17741 * tools/gst-md5sum.1.in:
17742 * tools/gst-typefind.1.in:
17743 * tools/gst-xmlinspect.1.in:
17744 * tools/gst-xmllaunch.1.in:
17745 cleanup man-pages, remove reference to gst-register, document env-vars
17747 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
17749 * gst/gstbuffer.c: (gst_buffer_span):
17750 gst_buffer_span should copy the timestamp of the first buffer
17751 if they were both originally overlapping subbuffers of the
17752 same parent, using the same logic as the 'slow copy' case.
17754 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
17756 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17757 Need to awaken ALL the pads when we pop a buffer, otherwise
17758 collectpads only works when there is 2 input streams.
17760 2006-01-11 Stefan Kost <ensonic@users.sf.net>
17762 * docs/random/ensonic/media-device-daemon.txt:
17765 fix doc example, add clarification
17766 * tools/gst-launch.1.in:
17767 add initial info about GST_PLUGIN_PATH, needs more work
17769 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
17771 * docs/manual/basics-bins.xml:
17772 * docs/manual/basics-elements.xml:
17773 * docs/manual/intro-basics.xml:
17774 Some more minor docs additions and updates.
17776 2006-01-11 Wim Taymans <wim@fluendo.com>
17778 * docs/manual/basics-bins.xml:
17779 * docs/manual/basics-elements.xml:
17780 Some small fixes as pointed out by Ser-ver on IRC.
17782 2006-01-10 Edward Hervey <edward@fluendo.com>
17784 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17785 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17786 the single-segment mode.
17788 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
17790 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17792 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17793 (gst_base_src_perform_seek), (gst_base_src_send_event),
17794 (gst_base_src_set_property), (gst_base_src_get_property),
17795 (gst_base_src_loop), (gst_base_src_start),
17796 (gst_base_src_activate_push):
17797 * libs/gst/base/gstbasesrc.h:
17798 Name (private) union; makes Sun's Forte compiler happy (#324900).
17800 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
17803 gst-register is gone.
17805 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
17807 * gst/gstvalue.c: (_gst_value_initialize):
17808 make the G_TYPE_DATE instantiation work if debug is disabled
17810 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
17812 * gst/gstmessage.c: (gst_message_parse_tag),
17813 (gst_message_parse_error), (gst_message_parse_warning):
17814 Don't crash when return location for error/warning debug
17815 string is NULL; add fact that return locations can be
17816 NULL to docs where appropriate.
17818 2006-01-05 Wim Taymans <wim@fluendo.com>
17820 * gst/gstplugin.c: (gst_plugin_load_file):
17821 Replace strdup by g_strdup.
17823 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17825 * docs/pwg/advanced-types.xml:
17828 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17830 submitted by: Abel Cheung
17834 Added Chinese (traditional) translation
17836 2006-01-04 Wim Taymans <wim@fluendo.com>
17838 * docs/manual/basics-pads.xml:
17839 * docs/plugins/Makefile.am:
17840 * docs/plugins/gstreamer-plugins-docs.sgml:
17841 * docs/plugins/gstreamer-plugins-sections.txt:
17842 * docs/pwg/advanced-clock.xml:
17843 * docs/pwg/advanced-scheduling.xml:
17844 * docs/pwg/advanced-types.xml:
17845 * plugins/elements/gstfdsink.c:
17846 * plugins/elements/gstfdsrc.c:
17847 * plugins/elements/gstfdsrc.h:
17848 * plugins/elements/gstidentity.c: (gst_identity_class_init):
17849 * plugins/elements/gstidentity.h:
17850 * plugins/elements/gstqueue.h:
17851 * plugins/elements/gsttee.c:
17852 * plugins/elements/gsttee.h:
17853 * plugins/elements/gsttypefindelement.c:
17854 (gst_type_find_element_class_init):
17855 * plugins/elements/gsttypefindelement.h:
17856 Small updates to various docs.
17857 Added core plugins to docs.
17859 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17862 add a suppression for liboil's uninitialized variable
17864 2006-01-02 James Livingston <jrl at ids dot org dot au>
17866 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17869 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
17870 macro, so that gcc doesn't complain if the -Wmissing-prototypes
17871 compiler switch is being used (#325429).
17873 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
17875 * gst/gstbin.c: (gst_bin_query):
17876 Disable duration query caching in bins until it gets
17877 fixed (see #324807).
17879 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
17881 * tools/gst-inspect.c: (print_element_properties_info):
17882 Handle properties of POINTER and BOXED type.
17884 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
17886 * gst/gst.c: (init_post):
17887 Init tags stuff and some other things before loading
17888 any static plugins (there may be other static plugins
17889 than just the GStreamer ones, and they may want to
17890 register their own tags or formats or whatever, and
17891 preferably without segfaulting).
17893 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
17894 Print at least a warning in the debug logs if we drop a
17895 query just because we don't know how to adjust the value
17896 in the particular format.
17898 2005-12-24 David Schleef <ds@schleef.org>
17900 * tools/gstreamer-completion:
17901 Replacement for gst-complete written in sh and sed. Only
17902 completes names of features, but that's 90% of what I want
17903 it for. Properties are not available in registry.xml. (Maybe
17906 === release 0.10.1 ===
17908 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
17911 releasing 0.10.1, "Nollaig chridheil"
17913 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
17915 * docs/faq/cvs.xml:
17916 Add missing quote, should be make ERROR_CFLAGS="".
17918 2005-12-20 Wim Taymans <wim@fluendo.com>
17920 * docs/design/part-trickmodes.txt:
17921 More documentation on trickmodes.
17923 2005-12-20 Edward Hervey <edward@fluendo.com>
17925 * gst/gstcaps.c: (gst_static_caps_get_type):
17927 API addition: GST_TYPE_STATIC_CAPS
17928 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
17929 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
17930 * gst/gstpadtemplate.h:
17931 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
17932 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
17935 2005-12-18 Wim Taymans <wim@fluendo.com>
17937 * libs/gst/base/gstadapter.c:
17938 * libs/gst/base/gstadapter.h:
17939 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17940 (gst_base_sink_get_position):
17941 * libs/gst/base/gstbasesink.h:
17942 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17943 (gst_base_src_default_query), (gst_base_src_default_do_seek),
17944 (gst_base_src_do_seek), (gst_base_src_perform_seek),
17945 (gst_base_src_send_event), (gst_base_src_update_length),
17946 (gst_base_src_get_range), (gst_base_src_loop),
17947 (gst_base_src_start):
17948 * libs/gst/base/gstbasesrc.h:
17949 * libs/gst/base/gstbasetransform.h:
17950 * libs/gst/base/gstcollectpads.h:
17951 * libs/gst/base/gstpushsrc.c:
17952 * libs/gst/base/gstpushsrc.h:
17953 * libs/gst/dataprotocol/dataprotocol.c:
17954 * libs/gst/dataprotocol/dataprotocol.h:
17955 * libs/gst/net/gstnetclientclock.h:
17956 * libs/gst/net/gstnettimeprovider.h:
17957 Documentation updates.
17959 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
17961 * docs/manual/basics-helloworld.xml:
17962 Remove superfluous closing bracket in helloworld example.
17964 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
17966 * tools/gst-launch.1.in:
17967 Update gst-launch man page; add a section with useful
17968 environment variables. Fixes #323882.
17970 2005-12-16 Stefan Kost <ensonic@users.sf.net>
17973 * gst/gst_private.h:
17974 change some char* into char[]
17976 2005-12-16 Wim Taymans <wim@fluendo.com>
17978 * gst/gstregistryxml.c: (load_feature):
17980 Don't use g_object_unref on GstObjects so that we avoid
17981 leaks on unsafe glibs.
17983 2005-12-16 Wim Taymans <wim@fluendo.com>
17985 * gst/gstbin.c: (gst_bin_recalc_state):
17988 2005-12-16 Wim Taymans <wim@fluendo.com>
17990 * common/check.mak:
17991 Added make forever target for check.
17993 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
17995 * gst/gst.c: (init_post):
17996 make the registry cache file HOST_CPU-dependent
17998 2005-12-16 Andy Wingo <wingo@pobox.com>
18000 * plugins/elements/gstbufferstore.c
18001 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18004 * tests/check/gst/gstobject.c
18005 (test_fake_object_name_threaded_unique): Pay attention to
18006 g_list_sort return value.
18008 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18010 * tools/gst-feedback-m.m:
18011 Update for 0.9/0.10 (fixes #323870).
18013 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18015 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18016 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18018 * tests/check/gst/gstminiobject.c: (my_foo_init),
18019 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18020 (test_value_collection), (gst_mini_object_suite):
18021 Add test to ensure refcounts end up as expected when passing
18022 GstMiniObjects through g_object_get() and g_object_set().
18024 2005-12-14 Julien MOUTTE <julien@moutte.net>
18026 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18027 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18028 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18029 of collectpads. This version removes a lot of races without
18030 touching API/ABI. Yay !
18032 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18034 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18035 Don't allow activation of a srcpad in pull_range if it has no
18037 Change some debug statements to be a little clearer
18039 * plugins/elements/gsttypefindelement.c:
18040 (gst_type_find_handle_src_query):
18041 Check that we have a peer before executing queries thereupon.
18043 * tests/examples/metadata/read-metadata.c: (message_loop):
18044 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18045 immediately return us any available message with 0 timeout.
18047 2005-12-12 Michael Smith <msmith@fluendo.com>
18049 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18050 Don't unref factories after calling them.
18051 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18052 * plugins/elements/gsttypefindelement.c:
18053 (gst_type_find_element_chain):
18054 Free lists of factories after using them. Fixing typefinding memory
18057 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18059 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18060 (gst_plugin_feature_load):
18061 more meaningful debug output
18063 * tests/Makefile.am:
18064 * tests/old/examples/Makefile.am:
18065 make make distcheck happy again
18067 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18069 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18070 Catch the special case where we are operating chain-based,
18071 but the downstream peer pad has no chain function. Emit a
18072 custom error message in this case instead of letting the
18073 core generate one implying that this is some sort of core
18074 bug. It's not, it just means that whatever got plugged
18075 into the pipeline downstream when we announced the type
18076 can only operate pull-based, while our source can only
18077 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18078 Error string has not been marked for translation yet, as
18079 it probably needs some more work first.
18081 (gst_type_find_element_get_best_possibility):
18082 Add helper function to find the best of all available
18083 found possibilities that qualify given the min. threshold.
18085 (gst_type_find_element_handle_event):
18086 Fix the case where we get an EOS while still in TYPEFIND
18087 mode (we want to chose the best of all possible types,
18088 not just the first type that happens to be in our unsorted
18089 list of possible types).
18091 (gst_type_find_element_chain):
18092 Make sure we return GST_FLOW_ERROR when we errored out
18093 in stop_typefinding(); also, don't just find the best of
18094 all found type entries and then use the last examined
18095 type entry, but actually use the best entry.
18097 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18099 * tests/examples/typefind/typefind.c: (type_found):
18100 * tests/examples/xml/runxml.c: (xml_loaded):
18101 More gcc4 fixes and a mem leak fix.
18103 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18105 * tests/examples/xml/createxml.c: (object_saved):
18108 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18110 * tests/Makefile.am:
18111 enable the examples even more
18113 2005-12-12 Andy Wingo <wingo@pobox.com>
18115 * libs/gst/net/gstnettimeprovider.c
18116 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18117 (gst_net_time_provider_set_property)
18118 (gst_net_time_provider_get_property):
18119 API addition: Export "active" as a GObject property.
18120 (gst_net_time_provider_thread): Only respond to time queries if
18121 the time provider is active.
18123 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18124 NetTimeProvider, preserving binary compat.
18126 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18128 * tests/examples/controller/audio-example.c: (main):
18129 * tests/examples/launch/Makefile.am:
18130 convert comments again
18132 2005-12-12 Wim Taymans <wim@fluendo.com>
18134 * libs/gst/base/gstpushsrc.c:
18137 2005-12-12 Wim Taymans <wim@fluendo.com>
18139 * docs/libs/gstreamer-libs-sections.txt:
18140 Added new symbol to docs.
18142 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18143 (gst_base_src_init), (gst_base_src_set_format),
18144 (gst_base_src_default_query), (gst_base_src_query),
18145 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18146 (gst_base_src_perform_seek), (gst_base_src_send_event),
18147 (gst_base_src_default_event), (gst_base_src_event_handler),
18148 (gst_base_src_set_property), (gst_base_src_get_property),
18149 (gst_base_src_wait), (gst_base_src_do_sync),
18150 (gst_base_src_update_length), (gst_base_src_get_range),
18151 (gst_base_src_check_get_range), (gst_base_src_loop),
18152 (gst_base_src_default_negotiate), (gst_base_src_start),
18153 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18154 (gst_base_src_change_state):
18155 * libs/gst/base/gstbasesrc.h:
18156 Implement seeking to other formats than _BYTES.
18157 Implement more seeking methods correctly.
18159 Added query vmethod.
18160 Added do_seek vmethod to make life easier for subclasses
18162 API addition: gst_base_src_set_format()
18164 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18166 * tests/examples/Makefile.am:
18169 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18172 * docs/random/ensonic/media-device-daemon.txt:
18173 * tests/examples/controller/.cvsignore:
18174 * tests/examples/controller/Makefile.am:
18175 * tests/examples/controller/audio-example.c: (main):
18176 * tests/examples/helloworld/.cvsignore:
18177 * tests/examples/helloworld/Makefile.am:
18178 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18179 * tests/examples/launch/.cvsignore:
18180 * tests/examples/launch/Makefile.am:
18181 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18182 * tests/examples/metadata/.cvsignore:
18183 * tests/examples/metadata/Makefile.am:
18184 * tests/examples/metadata/read-metadata.c: (message_loop),
18185 (make_pipeline), (print_tag), (main):
18186 * tests/examples/queue/.cvsignore:
18187 * tests/examples/queue/Makefile.am:
18188 * tests/examples/queue/queue.c: (event_loop), (main):
18189 * tests/examples/typefind/.cvsignore:
18190 * tests/examples/typefind/Makefile.am:
18191 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18193 * tests/examples/xml/.cvsignore:
18194 * tests/examples/xml/Makefile.am:
18195 * tests/examples/xml/createxml.c: (object_saved), (main):
18196 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18197 * tests/old/examples/Makefile.am:
18198 * tests/old/examples/TODO:
18199 * tests/old/examples/controller/.cvsignore:
18200 * tests/old/examples/controller/Makefile.am:
18201 * tests/old/examples/controller/audio-example.c:
18202 * tests/old/examples/helloworld/.cvsignore:
18203 * tests/old/examples/helloworld/Makefile.am:
18204 * tests/old/examples/helloworld/helloworld.c:
18205 * tests/old/examples/launch/.cvsignore:
18206 * tests/old/examples/launch/Makefile.am:
18207 * tests/old/examples/launch/mp3parselaunch.c:
18208 * tests/old/examples/launch/mp3play:
18209 * tests/old/examples/manual/Makefile.am:
18210 * tests/old/examples/metadata/Makefile.am:
18211 * tests/old/examples/metadata/read-metadata.c:
18212 * tests/old/examples/queue/.cvsignore:
18213 * tests/old/examples/queue/Makefile.am:
18214 * tests/old/examples/queue/queue.c:
18215 * tests/old/examples/typefind/.cvsignore:
18216 * tests/old/examples/typefind/Makefile.am:
18217 * tests/old/examples/typefind/typefind.c:
18218 * tests/old/examples/xml/.cvsignore:
18219 * tests/old/examples/xml/Makefile.am:
18220 * tests/old/examples/xml/createxml.c:
18221 * tests/old/examples/xml/runxml.c:
18222 applied some simple fixing to some examples
18223 re-enabled the working examples
18225 2005-12-12 Wim Taymans <wim@fluendo.com>
18227 * gst/gstsegment.c: (gst_segment_init),
18228 (gst_segment_set_last_stop), (gst_segment_set_seek),
18229 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18230 (gst_segment_to_running_time):
18231 Added more documentation.
18232 Make sure the last_pos value is updated properly.
18233 Make sure to_stream_time and to_running_time don't
18234 operate on wrong values.
18236 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18239 2005-12-12 Michael Smith <msmith@fluendo.com>
18241 * plugins/elements/gsttypefindelement.c: (free_entry),
18242 (gst_type_find_element_chain):
18243 Now that we're not leaking factories, make sure we keep references
18244 to them while we need them.
18246 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18248 * tests/check/gst/struct_i386.h:
18249 ifdef out the XML structs
18251 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18253 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18254 floor is not needed, F is always positive; this obviates the
18255 need for adding -lm when building without libxml
18257 2005-12-12 Wim Taymans <wim@fluendo.com>
18259 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18260 Take current playback rate into account when reporting
18263 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18265 * docs/manual/mime-world.fig:
18266 Let's try this again, this time with a file that is
18267 actually in XFig format.
18269 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18271 * docs/manual/mime-world.fig:
18272 Add audioconvert element to diagram so that it
18273 matches the text and the code (fixes #319526).
18275 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18277 * docs/pwg/building-chainfn.xml:
18278 * docs/pwg/building-pads.xml:
18279 * docs/pwg/building-state.xml:
18280 * docs/pwg/other-source.xml:
18281 Update state change stuff for 0.10 (fixes #322969).
18283 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18285 * docs/manual/advanced-dataaccess.xml:
18286 * docs/manual/appendix-checklist.xml:
18287 * docs/manual/appendix-programs.xml:
18288 * docs/manual/basics-pads.xml:
18289 * docs/manual/highlevel-components.xml:
18290 * docs/manual/manual.xml:
18291 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18292 add converters in front of pipelines; remove curly
18293 brackets for threads stuff, they no longer exist; use
18294 GST_TYPE_FRACTION for framerates; update some pieces of
18295 code to 0.10, but there's plenty more to do.
18297 * docs/manual/appendix-porting.xml:
18298 Expand on asynchroneous state changes; s/0.9/0.10/;
18299 mention disappearance of gst_init_get_popt_table()
18302 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18304 * docs/faq/using.xml:
18305 Spider no longer exists, and neither does gst-launch-ext.
18306 Update examples to use decodebin and playbin and put
18307 converters in front of sinks (fixes #323726).
18309 2005-12-09 Michael Smith <msmith@fluendo.com>
18311 * plugins/elements/gsttypefindelement.c: (find_peek),
18312 (gst_type_find_element_chain):
18313 Fix leaking element factories in typefinding.
18314 Fix problem where we forgot about a probable type on non-seekable
18315 files, and thus later mis-typefound it.
18317 2005-12-09 Michael Smith <msmith@fluendo.com>
18319 * common/m4/gst-makecontext.m4:
18320 * common/m4/gst-mcsc.m4:
18322 * win32/common/config.h:
18323 * win32/common/config.h.in:
18324 Remove makecontext stuff; not used in 0.10 and causes problems on
18325 HPUX according to bug #322441
18327 2005-12-07 Wim Taymans <wim@fluendo.com>
18329 * tests/check/Makefile.am:
18330 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18332 * tests/check/libs/struct_i386.h:
18333 Added ABI check for libs
18335 2005-12-07 Wim Taymans <wim@fluendo.com>
18337 * tests/check/Makefile.am:
18338 And add the struct_i386.h to dist.
18340 2005-12-07 Wim Taymans <wim@fluendo.com>
18342 * tests/check/Makefile.am:
18343 * tests/check/gst/.cvsignore:
18344 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18346 * tests/check/gst/struct_i386.h:
18347 Added check for ABI compatibility.
18349 2005-12-07 Wim Taymans <wim@fluendo.com>
18351 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18352 (gst_fake_src_get_times), (gst_fake_src_create):
18353 Fix broken sync option, fixes #323259
18355 2005-12-07 Wim Taymans <wim@fluendo.com>
18360 * gst/gstcaps.c: (gst_caps_is_equal):
18361 Don't assert on NULL <--> X. Fixes #323260
18363 * gst/gstminiobject.c: (gst_mini_object_replace):
18364 If we're doing atomic operations, we might just as well use
18365 the proper way to get an atomic pointer.
18367 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18368 Clean up debugging.
18370 2005-12-07 Michael Smith <msmith@fluendo.com>
18372 * gst/parse/grammar.y:
18373 Remove handling of { } for threads.
18375 2005-12-06 David Schleef <ds@schleef.org>
18377 * libs/gst/base/gstbasetransform.c: speling fix.
18379 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18381 * docs/libs/tmpl/gstdataprotocol.sgml:
18382 * docs/random/omega/testing/gstobject.c:
18385 * gst/gstelement.c:
18386 * gst/gstelementfactory.c:
18389 * gst/gstghostpad.c:
18391 * gst/gstpadtemplate.c:
18392 * gst/gstregistryxml.c:
18393 * gst/gsttaglist.c:
18394 * gst/gsttagsetter.c:
18395 * gst/gsttypefind.c:
18397 * libs/gst/base/gstbasesrc.c:
18398 * libs/gst/net/gstnetclientclock.c:
18399 * libs/gst/net/gstnettimeprovider.c:
18400 * plugins/elements/gstfakesrc.c:
18401 * plugins/elements/gstfdsrc.c:
18402 * plugins/elements/gstfilesrc.c:
18403 * plugins/elements/gstidentity.c:
18404 * plugins/elements/gstqueue.c:
18405 * plugins/elements/gsttypefindelement.c:
18406 * plugins/indexers/gstfileindex.c:
18407 * plugins/indexers/gstmemindex.c:
18408 * tests/check/gst/gsttag.c:
18409 * tests/old/examples/cutter/cutter.c:
18410 * tests/old/examples/mixer/mixer.c:
18411 * tests/old/examples/xml/runxml.c: (main):
18412 * tests/old/testsuite/caps/normalisation.c:
18413 * tests/old/testsuite/debug/global.c:
18414 * tests/old/testsuite/parse/parse1.c:
18415 * tools/gst-xmlinspect.c:
18416 * win32/common/dirent.c:
18419 === release 0.10.0 ===
18421 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18424 releasing 0.10.0, "Maroilles"
18426 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18428 submitted by: Funda Wang <fundawang@linux.net.cn>
18432 added Chinese (Traditional) translation
18434 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18436 * docs/gst/gstreamer-sections.txt:
18437 * docs/libs/tmpl/gstdataprotocol.sgml:
18438 * docs/random/thomasvs/TODO:
18443 2005-12-05 Andy Wingo <wingo@pobox.com>
18445 patch by: Wim Taymans <wim@fluendo.com>
18447 * libs/gst/base/gstbasetransform.c
18448 (gst_base_transform_prepare_output_buf)
18449 (gst_base_transform_buffer_alloc):
18450 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18451 alloc_buffer_and_set_caps.
18453 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18454 set_caps on the source pad.
18455 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18456 alloc_buffer used to do. Fixes #322874.
18458 * docs/gst/gstreamer-sections.txt:
18459 * docs/design/part-negotiation.txt:
18460 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18463 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18465 patch by: Sebastien Moutte
18468 * win32/common/config.h.in:
18469 * win32/vs6/libgstcontroller.dsp:
18472 2005-12-05 Wim Taymans <wim@fluendo.com>
18474 * gst/gstcaps.c: (gst_caps_is_equal):
18475 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18476 (gst_fake_src_create):
18477 Back out previous code changes, leave doc updates, file bugs
18480 2005-12-05 Wim Taymans <wim@fluendo.com>
18482 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18483 (gst_fake_src_get_times), (gst_fake_src_create):
18484 * plugins/elements/gstfakesrc.h:
18485 Fix broken sync code.
18487 2005-12-05 Wim Taymans <wim@fluendo.com>
18489 * gst/gstcaps.c: (gst_caps_is_equal):
18490 Comparing NULL against !NULL yields different caps, not a
18493 2005-12-05 Wim Taymans <wim@fluendo.com>
18495 * gst/gstpipeline.c:
18496 Fix small typo in docs.
18498 2005-12-05 Andy Wingo <wingo@pobox.com>
18500 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18502 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18503 registries/plugins with a MAJORMINOR one.
18504 (plugin_desc): Rename library from gstcoreleements to
18505 staticelements. Fixes #323222.
18507 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18509 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18510 Change debug category to 'collectpads' from 'collect_pads'
18513 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18515 patch by: Sebastien Moutte
18517 * libs/gst/controller/gstinterpolation.c:
18518 use convert function for uint64/double
18519 * win32/vs6/libgstcontroller.dsp:
18522 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18524 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18525 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18527 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18528 add tests that seem to show that the guint64/gdouble conversions
18531 2005-12-02 Wim Taymans <wim@fluendo.com>
18533 * gst/gstregistry.c: (gst_registry_add_path):
18534 * gst/gstregistry.h:
18535 * gst/gstregistryxml.c:
18538 2005-12-02 Wim Taymans <wim@fluendo.com>
18540 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18541 (gst_util_uint64_scale_int):
18544 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18545 Add debug log line.
18547 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18550 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18553 * win32/common/config.h:
18554 * win32/vs6/gstreamer.dsw:
18555 * win32/vs6/libgstcoreelements.dsp:
18556 * win32/vs6/libgstelements.dsp:
18557 renamed core elements plugin
18559 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18561 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18563 do piece-wise major/minor comparison so 0.9 < 0.10
18564 also allow .exe extensions for tools
18566 2005-12-02 Michael Smith <msmith@fluendo.com>
18569 Escape a % to make gtkdoc happier; bug 322958.
18571 === release 0.9.7 ===
18573 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18576 releasing 0.9.7, "My Dog Has No Nose"
18578 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18580 * common/gst-xmlinspect.py:
18582 * docs/libs/tmpl/gstdataprotocol.sgml:
18583 * docs/random/release:
18602 * win32/common/config.h:
18603 * win32/common/config.h.in:
18604 * win32/vs6/gst_inspect.dsp:
18605 * win32/vs6/gst_launch.dsp:
18606 * win32/vs6/libgstbase.dsp:
18607 * win32/vs6/libgstelements.dsp:
18608 * win32/vs6/libgstreamer.dsp:
18609 * win32/vs7/GStreamer.vcproj:
18610 * win32/vs7/gst-inspect.vcproj:
18611 * win32/vs7/gst-launch.vcproj:
18612 * win32/vs7/libgstbase.vcproj:
18613 bump GST_MAJORMINOR to 0.10
18614 reset libtool version
18616 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18620 Added Bulgarian translation by (Alexander Shopov)
18622 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18624 * tests/check/gst/gstplugin.c:
18627 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18629 * common/gst-xmlinspect.py:
18630 * common/gtk-doc-plugins.mak:
18632 * docs/Makefile.am:
18633 * docs/gst/Makefile.am:
18634 * docs/gst/gstreamer-docs.sgml:
18635 * docs/gst/gstreamer-sections.txt:
18636 * docs/gst/gstreamer.types:
18637 * docs/gst/gstreamer.types.in:
18638 * docs/plugins/Makefile.am:
18639 * docs/plugins/gstreamer-plugins-docs.sgml:
18640 * docs/plugins/gstreamer-plugins-sections.txt:
18641 * docs/plugins/gstreamer-plugins.types:
18642 * docs/plugins/inspect.stamp:
18643 * docs/plugins/inspect/plugin-coreelements.xml:
18644 * docs/plugins/inspect/plugin-coreindexers.xml:
18645 * docs/plugins/scanobj-build.stamp:
18646 * gstreamer.spec.in:
18647 * plugins/elements/Makefile.am:
18648 * plugins/elements/gstelements.c:
18649 * plugins/elements/gstfakesink.c:
18650 * plugins/elements/gstfakesrc.c:
18651 * plugins/elements/gstfilesink.c:
18652 * plugins/elements/gstfilesrc.c:
18653 * plugins/elements/gstqueue.c:
18654 * plugins/indexers/Makefile.am:
18655 * plugins/indexers/gstindexers.c:
18656 document core plugins in a separate document just like all the
18658 rename these plugins to something starting with core
18660 2005-12-01 Andy Wingo <wingo@pobox.com>
18662 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18663 padding here before, but it missed the commit.
18665 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18667 * libs/gst/controller/gstinterpolation.c:
18668 whitespace prices have crashed, we should feel free to use some now
18669 use gst_guint64_to_gdouble
18671 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18673 * libs/gst/controller/gstcontroller.c:
18674 * libs/gst/controller/gsthelper.c:
18675 * libs/gst/controller/gstinterpolation.c:
18676 * libs/gst/controller/lib.c:
18677 wrap config.h include
18679 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18681 * docs/gst/gstreamer-sections.txt:
18684 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18686 * plugins/elements/gstelements.c:
18687 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18688 (gst_fd_sink__class_init), (gst_fd_sink__init),
18689 (gst_fd_sink__chain), (gst_fd_sink__set_property),
18690 (gst_fd_sink__get_property):
18691 * plugins/elements/gstfdsink.h:
18692 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18693 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18694 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18695 (gst_fd_src_unlock), (gst_fd_src_set_property),
18696 (gst_fd_src_get_property), (gst_fd_src_create),
18697 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18698 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18699 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18700 (gst_fd_src_uri_handler_init):
18701 * plugins/elements/gstfdsrc.h:
18702 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18705 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18707 * docs/gst/Makefile.am:
18708 * docs/gst/gstreamer.types.in:
18712 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18718 * gst/gstregistry.h:
18719 * tests/benchmarks/complexity.c:
18720 * tests/benchmarks/mass-elements.c:
18721 * tests/check/Makefile.am:
18722 * tools/Makefile.am:
18723 * tools/gst-inspect.c:
18724 * tools/gst-xmlinspect.c:
18725 various fixes to make
18726 --disable-nls --disable-registry --disable-loadsave
18727 --disable-parse --disable-gst-debug
18728 work and get the core .so down to 360444 bytes after stripping
18730 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18735 * docs/random/thomasvs/TODO:
18736 * tests/Makefile.am:
18740 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18742 * win32/GStreamer.vcproj:
18745 * win32/Makefile.inspect:
18746 * win32/Makefile.launch:
18747 * win32/Makefile.register:
18748 * win32/README.txt:
18749 * win32/gst-inspect.vcproj:
18750 * win32/gst-launch.vcproj:
18751 * win32/gst-register.vcproj:
18752 * win32/gstelements.vcproj:
18753 * win32/gstgetbits.def:
18754 * win32/gstgetbits.vcproj:
18755 * win32/gstreamer-dbg.def:
18756 * win32/gstreamer.def:
18757 * win32/libgstbase.def:
18758 * win32/libgstbase.vcproj:
18759 * win32/link_oldruntime.c:
18763 * win32/msvc71.sln:
18764 move even more stuff, win32/ is nice and clean now
18766 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18768 * libs/gst/control/.cvsignore:
18773 * win32/gstbytestream.def:
18774 * win32/gstbytestream.vcproj:
18775 * win32/gstconfig.h:
18776 * win32/gstenumtypes.c:
18777 * win32/gstenumtypes.h:
18778 * win32/gstoptimalscheduler.vcproj:
18779 * win32/gstversion.h:
18781 * win32/testsuite/bins.vcproj:
18782 * win32/testsuite/bytestream.vcproj:
18783 * win32/testsuite/caps.vcproj:
18784 * win32/testsuite/cleanup.vcproj:
18785 * win32/testsuite/clock.vcproj:
18786 * win32/testsuite/debug.vcproj:
18787 * win32/testsuite/dlopen.vcproj:
18788 * win32/testsuite/dynparams.vcproj:
18789 * win32/testsuite/elements.vcproj:
18790 * win32/testsuite/ghostpads.vcproj:
18791 * win32/testsuite/indexers.vcproj:
18792 * win32/testsuite/negotiation.vcproj:
18793 * win32/testsuite/parse.vcproj:
18794 * win32/testsuite/plugin.vcproj:
18795 * win32/testsuite/refcounting.vcproj:
18796 * win32/testsuite/schedulers.vcproj:
18797 * win32/testsuite/states.vcproj:
18798 * win32/testsuite/tags.vcproj:
18799 * win32/testsuite/threads.vcproj:
18800 remove old win32 stuff that isn't maintained and should be
18803 2005-11-30 Andy Wingo <wingo@pobox.com>
18805 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18806 loading the gst.interfaces python module bork.
18808 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
18809 available since GLib 2.2. Fixes #318031.
18811 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18814 * check/.cvsignore:
18815 * check/Makefile.am:
18816 * check/elements/.cvsignore:
18817 * check/elements/fakesrc.c:
18818 * check/elements/fdsrc.c:
18819 * check/elements/identity.c:
18820 * check/generic/.cvsignore:
18821 * check/generic/states.c:
18822 * check/gst-libs/.cvsignore:
18823 * check/gst-libs/controller.c:
18824 * check/gst-libs/gdp.c:
18825 * check/gst/.cvsignore:
18826 * check/gst/capslist.h:
18828 * check/gst/gstbin.c:
18829 * check/gst/gstbuffer.c:
18830 * check/gst/gstbus.c:
18831 * check/gst/gstcaps.c:
18832 * check/gst/gstelement.c:
18833 * check/gst/gstevent.c:
18834 * check/gst/gstghostpad.c:
18835 * check/gst/gstiterator.c:
18836 * check/gst/gstmessage.c:
18837 * check/gst/gstminiobject.c:
18838 * check/gst/gstobject.c:
18839 * check/gst/gstpad.c:
18840 * check/gst/gstpipeline.c:
18841 * check/gst/gstplugin.c:
18842 * check/gst/gstsegment.c:
18843 * check/gst/gststructure.c:
18844 * check/gst/gstsystemclock.c:
18845 * check/gst/gsttag.c:
18846 * check/gst/gstutils.c:
18847 * check/gst/gstvalue.c:
18848 * check/net/.cvsignore:
18849 * check/net/gstnetclientclock.c:
18850 * check/net/gstnettimeprovider.c:
18851 * check/pipelines/.cvsignore:
18852 * check/pipelines/cleanup.c:
18853 * check/pipelines/simple_launch_lines.c:
18854 * check/pipelines/stress.c:
18855 * check/states/.cvsignore:
18856 * check/states/sinks.c:
18858 * examples/Makefile.am:
18859 * examples/appreader/.cvsignore:
18860 * examples/appreader/Makefile.am:
18861 * examples/appreader/appreader.c:
18862 * examples/controller/.cvsignore:
18863 * examples/controller/Makefile.am:
18864 * examples/controller/audio-example.c:
18865 * examples/cutter/.cvsignore:
18866 * examples/cutter/Makefile.am:
18867 * examples/cutter/cutter.c:
18868 * examples/cutter/cutter.h:
18869 * examples/events/Makefile.am:
18870 * examples/events/seek.c:
18871 * examples/helloworld/.cvsignore:
18872 * examples/helloworld/Makefile.am:
18873 * examples/helloworld/helloworld.c:
18874 * examples/helloworld2/.cvsignore:
18875 * examples/helloworld2/Makefile.am:
18876 * examples/helloworld2/helloworld2.c:
18877 * examples/launch/.cvsignore:
18878 * examples/launch/Makefile.am:
18879 * examples/launch/mp3parselaunch.c:
18880 * examples/launch/mp3play:
18881 * examples/manual/.cvsignore:
18882 * examples/manual/Makefile.am:
18883 * examples/manual/extract.pl:
18884 * examples/metadata/Makefile.am:
18885 * examples/metadata/read-metadata.c:
18886 * examples/mixer/.cvsignore:
18887 * examples/mixer/Makefile.am:
18888 * examples/mixer/mixer.c:
18889 * examples/mixer/mixer.h:
18890 * examples/pingpong/.cvsignore:
18891 * examples/pingpong/Makefile.am:
18892 * examples/pingpong/pingpong.c:
18893 * examples/plugins/.cvsignore:
18894 * examples/plugins/Makefile.am:
18895 * examples/plugins/example.c:
18896 * examples/plugins/example.h:
18897 * examples/pwg/.cvsignore:
18898 * examples/pwg/Makefile.am:
18899 * examples/pwg/extract.pl:
18900 * examples/queue/.cvsignore:
18901 * examples/queue/Makefile.am:
18902 * examples/queue/queue.c:
18903 * examples/queue2/.cvsignore:
18904 * examples/queue2/Makefile.am:
18905 * examples/queue2/queue2.c:
18906 * examples/queue3/.cvsignore:
18907 * examples/queue3/Makefile.am:
18908 * examples/queue3/queue3.c:
18909 * examples/queue4/.cvsignore:
18910 * examples/queue4/Makefile.am:
18911 * examples/queue4/queue4.c:
18912 * examples/retag/.cvsignore:
18913 * examples/retag/Makefile.am:
18914 * examples/retag/retag.c:
18915 * examples/retag/transcode.c:
18916 * examples/thread/.cvsignore:
18917 * examples/thread/Makefile.am:
18918 * examples/thread/thread.c:
18919 * examples/typefind/.cvsignore:
18920 * examples/typefind/Makefile.am:
18921 * examples/typefind/typefind.c:
18922 * examples/xml/.cvsignore:
18923 * examples/xml/Makefile.am:
18924 * examples/xml/createxml.c:
18925 * examples/xml/runxml.c:
18926 * tests/Makefile.am:
18927 * tests/check/Makefile.am:
18928 * testsuite/.cvsignore:
18929 * testsuite/Makefile.am:
18931 * testsuite/caps/.cvsignore:
18932 * testsuite/caps/Makefile.am:
18933 * testsuite/caps/app_fixate.c:
18934 * testsuite/caps/audioscale.c:
18935 * testsuite/caps/caps.c:
18936 * testsuite/caps/caps.h:
18937 * testsuite/caps/caps_strings:
18938 * testsuite/caps/compatibility.c:
18939 * testsuite/caps/deserialize.c:
18940 * testsuite/caps/enumcaps.c:
18941 * testsuite/caps/eratosthenes.c:
18942 * testsuite/caps/filtercaps.c:
18943 * testsuite/caps/fixed.c:
18944 * testsuite/caps/fraction-convert.c:
18945 * testsuite/caps/fraction-multiply-and-zero.c:
18946 * testsuite/caps/intersect2.c:
18947 * testsuite/caps/intersection.c:
18948 * testsuite/caps/normalisation.c:
18949 * testsuite/caps/random.c:
18950 * testsuite/caps/renegotiate.c:
18951 * testsuite/caps/sets.c:
18952 * testsuite/caps/simplify.c:
18953 * testsuite/caps/string-conversions.c:
18954 * testsuite/caps/structure.c:
18955 * testsuite/caps/subtract.c:
18956 * testsuite/caps/union.c:
18957 * testsuite/debug/.cvsignore:
18958 * testsuite/debug/Makefile.am:
18959 * testsuite/debug/category.c:
18960 * testsuite/debug/commandline.c:
18961 * testsuite/debug/global.c:
18962 * testsuite/debug/output.c:
18963 * testsuite/debug/printf_extension.c:
18964 * testsuite/dlopen/.cvsignore:
18965 * testsuite/dlopen/Makefile.am:
18966 * testsuite/dlopen/dlopen_gst.c:
18967 * testsuite/dlopen/loadgst.c:
18968 * testsuite/elements/.cvsignore:
18969 * testsuite/elements/Makefile.am:
18970 * testsuite/elements/gst-inspect-check.in:
18971 * testsuite/elements/struct_i386.h:
18972 * testsuite/elements/struct_size.c:
18973 * testsuite/indexers/.cvsignore:
18974 * testsuite/indexers/Makefile.am:
18975 * testsuite/indexers/cache1.c:
18976 * testsuite/indexers/indexdump.c:
18977 * testsuite/parse/.cvsignore:
18978 * testsuite/parse/Makefile.am:
18979 * testsuite/parse/parse1.c:
18980 * testsuite/parse/parse2.c:
18981 * testsuite/plugin/.cvsignore:
18982 * testsuite/plugin/Makefile.am:
18983 * testsuite/plugin/README:
18984 * testsuite/plugin/dynamic.c:
18985 * testsuite/plugin/linked.c:
18986 * testsuite/plugin/loading.c:
18987 * testsuite/plugin/registry.c:
18988 * testsuite/plugin/static.c:
18989 * testsuite/plugin/static2.c:
18990 * testsuite/plugin/testplugin.c:
18991 * testsuite/plugin/testplugin2.c:
18992 * testsuite/plugin/testplugin2_s.c:
18993 * testsuite/plugin/testplugin_s.c:
18994 * testsuite/refcounting/.cvsignore:
18995 * testsuite/refcounting/Makefile.am:
18996 * testsuite/refcounting/bin.c:
18997 * testsuite/refcounting/element.c:
18998 * testsuite/refcounting/element_pad.c:
18999 * testsuite/refcounting/mainloop.c:
19000 * testsuite/refcounting/mem.c:
19001 * testsuite/refcounting/mem.h:
19002 * testsuite/refcounting/object.c:
19003 * testsuite/refcounting/pad.c:
19004 * testsuite/refcounting/sched.c:
19005 * testsuite/refcounting/thread.c:
19006 * testsuite/states/.cvsignore:
19007 * testsuite/states/Makefile.am:
19008 * testsuite/states/bin.c:
19009 * testsuite/states/locked.c:
19010 * testsuite/states/parent.c:
19011 * testsuite/threads/.cvsignore:
19012 * testsuite/threads/159566.c:
19013 * testsuite/threads/159852.c:
19014 * testsuite/threads/Makefile.am:
19015 * testsuite/threads/queue.c:
19016 * testsuite/threads/signals.c:
19017 * testsuite/threads/staticrec.c:
19018 * testsuite/threads/thread.c:
19019 * testsuite/threads/threadb.c:
19020 * testsuite/threads/threadc.c:
19021 * testsuite/threads/threadd.c:
19022 * testsuite/threads/threade.c:
19023 * testsuite/threads/threadf.c:
19024 * testsuite/threads/threadg.c:
19025 * testsuite/threads/threadh.c:
19026 * testsuite/threads/threadi.c:
19027 move all of these under tests
19029 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19032 * tests/Makefile.am:
19035 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19037 * docs/gst/gstreamer-sections.txt:
19038 * tests/sched/.cvsignore:
19039 * tests/sched/Makefile.am:
19040 * tests/sched/cases/(fs-fs).xml:
19041 * tests/sched/cases/(fs-i-fs).xml:
19042 * tests/sched/cases/(fs-i-i-fs).xml:
19043 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19044 * tests/sched/dynamic-pipeline.c:
19045 * tests/sched/interrupt1.c:
19046 * tests/sched/interrupt2.c:
19047 * tests/sched/interrupt3.c:
19048 * tests/sched/runtestcases:
19049 * tests/sched/runxml.c:
19050 * tests/sched/sched-stress.c:
19051 * tests/sched/sort.c:
19052 * tests/sched/testcases:
19053 * tests/sched/testcases1.tc:
19054 * tests/seeking/.cvsignore:
19055 * tests/seeking/Makefile.am:
19056 * tests/seeking/seeking1.c:
19057 * tests/threadstate/.cvsignore:
19058 * tests/threadstate/Makefile.am:
19059 * tests/threadstate/test1.c:
19060 * tests/threadstate/test2.c:
19061 * tests/threadstate/threadstate1.c:
19062 * tests/threadstate/threadstate2.c:
19063 * tests/threadstate/threadstate3.c:
19064 * tests/threadstate/threadstate4.c:
19065 * tests/threadstate/threadstate5.c:
19066 remove obsolete tests
19068 * tests/bench-complexity.scm:
19069 * tests/bench-mass_elements.scm:
19070 * tests/complexity.c:
19071 * tests/complexity.gnuplot:
19072 * tests/instantiate/.cvsignore:
19073 * tests/instantiate/Makefile.am:
19074 * tests/instantiate/caps.c:
19075 * tests/mass_elements.c:
19076 * tests/network-clock-utils.scm:
19077 * tests/network-clock.scm:
19079 First pass at cleaning up tests/ dir before moving the rest
19080 Combined with CVS surgery
19082 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19085 queue has moved, update
19087 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19089 * docs/gst/gstreamer-sections.txt:
19090 remove double entries from the docs
19091 * gst/gst_private.h:
19092 * gst/gstinfo.c: (_gst_debug_init):
19093 remove the THREAD debug category
19097 * docs/gst/gstreamer.types:
19098 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19099 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19100 completely move queue and fix up debugging categories
19102 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19104 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19105 make initialization portable, using LL is not
19107 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19109 * win32/common/gstconfig.h:
19112 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19114 * win32/common/libgstreamer.def:
19115 rename symbols; sort base section
19117 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19119 * gst/gstclock.c: (do_linear_regression):
19120 remove crack non-portable handrolled DEBUG macro
19122 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19124 * docs/random/release:
19126 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19127 (gst_object_flags_get_type), (register_gst_bin_flags),
19128 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19129 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19130 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19131 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19132 (gst_caps_flags_get_type), (register_gst_clock_return),
19133 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19134 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19135 (gst_clock_flags_get_type), (register_gst_state),
19136 (gst_state_get_type), (register_gst_state_change_return),
19137 (gst_state_change_return_get_type), (register_gst_state_change),
19138 (gst_state_change_get_type), (register_gst_element_flags),
19139 (gst_element_flags_get_type), (register_gst_core_error),
19140 (gst_core_error_get_type), (register_gst_library_error),
19141 (gst_library_error_get_type), (register_gst_resource_error),
19142 (gst_resource_error_get_type), (register_gst_stream_error),
19143 (gst_stream_error_get_type), (register_gst_event_type_flags),
19144 (gst_event_type_flags_get_type), (register_gst_event_type),
19145 (gst_event_type_get_type), (register_gst_seek_type),
19146 (gst_seek_type_get_type), (register_gst_seek_flags),
19147 (gst_seek_flags_get_type), (register_gst_format),
19148 (gst_format_get_type), (register_gst_index_certainty),
19149 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19150 (gst_index_entry_type_get_type),
19151 (register_gst_index_lookup_method),
19152 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19153 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19154 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19155 (gst_index_flags_get_type), (register_gst_debug_level),
19156 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19157 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19158 (gst_iterator_result_get_type), (register_gst_iterator_item),
19159 (gst_iterator_item_get_type), (register_gst_message_type),
19160 (gst_message_type_get_type), (register_gst_mini_object_flags),
19161 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19162 (gst_pad_link_return_get_type), (register_gst_flow_return),
19163 (gst_flow_return_get_type), (register_gst_activate_mode),
19164 (gst_activate_mode_get_type), (register_gst_pad_direction),
19165 (gst_pad_direction_get_type), (register_gst_pad_flags),
19166 (gst_pad_flags_get_type), (register_gst_pad_presence),
19167 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19168 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19169 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19170 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19171 (gst_plugin_flags_get_type), (register_gst_rank),
19172 (gst_rank_get_type), (register_gst_query_type),
19173 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19174 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19175 (gst_tag_flag_get_type), (register_gst_task_state),
19176 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19177 (gst_alloc_trace_flags_get_type),
19178 (register_gst_type_find_probability),
19179 (gst_type_find_probability_get_type), (register_gst_uri_type),
19180 (gst_uri_type_get_type), (register_gst_parse_error),
19181 (gst_parse_error_get_type):
19182 * win32/common/gstenumtypes.h:
19183 * win32/common/gstversion.h:
19184 update visual studio generated files
19186 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19188 * win32/vs6/libgstbase.dsp:
19189 * win32/vs6/libgstelements.dsp:
19190 update project files for new locations
19192 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19197 reinstate and update
19202 * docs/random/LICENSE:
19205 2005-11-30 Edward Hervey <edward@fluendo.com>
19207 * gst/gsttypefind.c: (gst_type_find_register):
19208 * gst/gsttypefind.h:
19209 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19210 (gst_type_find_factory_dispose):
19211 * gst/gsttypefindfactory.h:
19212 Fix memory leak in GstTypeFindFactory.
19214 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19217 * plugins/elements/Makefile.am:
19218 * plugins/elements/gstelements.c:
19219 * plugins/elements/gstqueue.c:
19220 move queue from core to the elements plugin
19222 2005-11-29 Andy Wingo <wingo@pobox.com>
19224 * libs/gst/base/gstbasetransform.h:
19225 * libs/gst/base/gstbasesrc.h:
19226 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19228 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19229 of pointers by which to pad very extensible base classes (like the
19230 ones in libs/gst/base).
19232 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19234 * docs/gst/gstreamer-docs.sgml:
19235 * docs/gst/gstreamer-sections.txt:
19236 * docs/libs/gstreamer-libs-docs.sgml:
19237 * docs/libs/gstreamer-libs-sections.txt:
19238 moving documentation from core to lib
19240 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19242 * check/Makefile.am:
19244 * docs/gst/Makefile.am:
19246 * gst/base/.cvsignore:
19247 * gst/base/Makefile.am:
19249 * gst/base/gstadapter.c:
19250 * gst/base/gstadapter.h:
19251 * gst/base/gstbasesink.c:
19252 * gst/base/gstbasesink.h:
19253 * gst/base/gstbasesrc.c:
19254 * gst/base/gstbasesrc.h:
19255 * gst/base/gstbasetransform.c:
19256 * gst/base/gstbasetransform.h:
19257 * gst/base/gstcollectpads.c:
19258 * gst/base/gstcollectpads.h:
19259 * gst/base/gstpushsrc.c:
19260 * gst/base/gstpushsrc.h:
19261 * gst/base/gsttypefindhelper.c:
19262 * gst/base/gsttypefindhelper.h:
19263 * gst/check/Makefile.am:
19264 * gst/check/gstcheck.c:
19265 * gst/check/gstcheck.h:
19266 * gst/net/Makefile.am:
19267 * gst/net/gstnet.h:
19268 * gst/net/gstnetclientclock.c:
19269 * gst/net/gstnetclientclock.h:
19270 * gst/net/gstnettimepacket.c:
19271 * gst/net/gstnettimepacket.h:
19272 * gst/net/gstnettimeprovider.c:
19273 * gst/net/gstnettimeprovider.h:
19274 * libs/gst/Makefile.am:
19275 * libs/gst/base/Makefile.am:
19276 * libs/gst/base/gstbasetransform.c:
19277 * libs/gst/check/Makefile.am:
19278 * plugins/elements/Makefile.am:
19280 CVS surgery + support to move base, check, and net out of gst
19283 2005-11-29 Andy Wingo <wingo@pobox.com>
19285 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19287 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19290 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19292 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19294 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19296 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19297 padding; reduces object size by about 30%. We don't expect
19298 anything else to go into gstobject.
19300 * gst/gstminiobject.h (struct _GstMiniObject)
19301 (struct _GstMiniObjectClass): Only one pointer of padding; the
19302 payload is only a pointer and two ints anyway. For the class there
19303 are only two methods as well.
19305 * gst/gstelement.h (struct _GstElementClass): Removed
19306 the state_changed signal callback, it is not used.
19308 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19310 * docs/gst/gstreamer.types:
19311 fix includes, though they are a little dinky
19313 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19315 * check/Makefile.am:
19316 look in the right place for elements, a lot more chance of
19319 remove indexers and elements subdirs
19320 * plugins/Makefile.am:
19321 make indexers conditional
19323 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19327 * plugins/elements/Makefile.am:
19328 * plugins/elements/gstcapsfilter.c:
19329 * plugins/elements/gstfilesink.c:
19330 * plugins/elements/gstfilesrc.c:
19331 * plugins/elements/gstidentity.c:
19332 * plugins/indexers/Makefile.am:
19333 do CVS surgery and related build fixery to move elements
19334 and indexers in a new gstreamer/plugins directory, out of the
19337 2005-11-29 Andy Wingo <wingo@pobox.com>
19339 * check/Makefile.am:
19340 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19341 * pkgconfig/gstreamer-net.pc.in:
19342 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19345 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19347 * tools/Makefile.am:
19348 * tools/gst-complete.1.in:
19349 * tools/gst-complete.c:
19350 * tools/gst-compprep.1.in:
19351 * tools/gst-compprep.c:
19352 removing -compprep and -complete
19354 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19356 * gst/gstevent.c: (gst_event_new_new_segment),
19357 (gst_event_parse_new_segment):
19359 fix #320529 - clean up new_segment API and structure.
19360 Let's hope everyone was using the methods, and not the structure.
19362 2005-11-29 Edward Hervey <edward@fluendo.com>
19364 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19365 (gst_base_sink_event), (gst_base_sink_do_sync),
19366 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19367 Properly handle non GST_FORMAT_TIME segment
19368 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19369 Properly handle non GST_FORMAT_TIME segment
19370 * gst/gstsegment.c:
19371 This function is valid if the accumulator is 0 and the format
19372 is different from the requested format.
19374 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19376 * docs/gst/gstreamer-sections.txt:
19377 Add gst_query_new_seeking and gst_query_parse_seeking to the
19380 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19382 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19383 Treat a pad alloc with new caps the same as if we were not
19384 negotiated, in order to allow a changing upstream output
19385 to produce a new format of data.
19387 2005-11-29 Edward Hervey <edward@fluendo.com>
19389 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19390 (gst_base_transform_event), (gst_base_transform_eventfunc):
19391 The event virtual method is now properly implemented, with a default
19393 Sub classes should call the parent_class event method. They should
19394 return FALSE if they had a problem handling the given event, or don't
19395 want GstBaseTransform to send that even downstream
19396 * gst/elements/gstidentity.c: (gst_identity_class_init),
19397 (gst_identity_init), (gst_identity_event),
19398 (gst_identity_transform_ip), (gst_identity_set_property),
19399 (gst_identity_get_property):
19400 * gst/elements/gstidentity.h:
19401 Added the single-segment boolean property.
19402 If set to TRUE, it will output a single segment of data, starting from
19403 0, will eat up all incoming newsegment, and modify the timestamp of the
19404 buffers accordingly
19406 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19408 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19409 Don't ref NULL target pad (#322751). Improve docs.
19411 2005-11-29 Michael Smith <msmith@fluendo.com>
19413 * gst/gstregistryxml.c: (load_plugin):
19414 Don't crash if we failed to load a feature from a plugin.
19416 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19418 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19420 use more check API and less GLib API
19422 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19425 don't run checks if we don't have check
19426 * common/check.mak:
19427 remove the registry when running make torture
19428 * docs/gst/gstreamer-sections.txt:
19429 remove second multiply
19430 * gst/gstqueue.c: (gst_queue_loop):
19431 fix a compile warning when disabling debug
19433 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19436 Hey! Let's print the pad name if the pointer != NULL instead
19437 of when it == NULL :-)
19439 2005-11-28 Wim Taymans <wim@fluendo.com>
19441 * check/gst/gstutils.c: (GST_START_TEST):
19442 Updated check, add some scaling accuracy checking code.
19444 * gst/gstutils.c: (gst_util_div128_64),
19445 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19446 (gst_util_uint64_scale_int):
19447 Fix 6 times faster division code. Optimize for common
19448 1/1 and less common X/1 cases.
19450 2005-11-28 Wim Taymans <wim@fluendo.com>
19452 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19455 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19456 (do_linear_regression), (gst_clock_add_observation):
19458 Release lock when the clock cannot be slaved.
19459 Catch the case where the regression returned an invalid denominator.
19461 * gst/gstutils.c: (gst_util_div128_64_iterate),
19462 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19463 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19464 Add protentially more performant non-iterative 128/64 divide function
19465 that unfortunatly does not work yet.
19466 Shortcut the trivial 0/X = 0 case.
19467 Remove the warnings on overflow.
19469 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19471 * gst/gstplugin.c: (gst_plugin_register_func):
19472 everything causing a plugin not to load should be at least a WARNING
19474 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19476 * docs/random/ensonic/dparams.txt:
19477 some TODOs for the next dev cycle
19478 * libs/gst/controller/gstcontroller.c:
19479 (gst_controlled_property_set_interpolation_mode),
19480 (gst_controlled_property_new):
19481 * libs/gst/controller/gstcontroller.h:
19482 use base type to assign acccessor functions
19484 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19486 * check/Makefile.am:
19487 Oops, that should have been top_srcdir
19489 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19491 * check/Makefile.am:
19492 * check/elements/fdsrc.c: (GST_START_TEST):
19493 Use a cmdline define to specify the location of a file to use for
19494 testing, to avoid breaking distcheck.
19496 2005-11-28 Andy Wingo <wingo@pobox.com>
19498 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19500 2005-11-28 Edward Hervey <edward@fluendo.com>
19502 * tools/gst-launch.c: (main):
19503 Clarify the output strings, makes it easier to translate.
19506 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19509 don't try and build net if we don't even have <sys/socket.h>
19511 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19513 * check/Makefile.am:
19514 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19515 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19516 Add tests for fdsrc seekability
19518 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19519 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19520 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19521 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19522 * gst/elements/gstfdsrc.h:
19523 fdsrc should not be a 'live' source.
19524 Implement seeking on seekable fd's.
19526 * gst/gstquery.c: (gst_query_new_seeking),
19527 (gst_query_parse_seeking):
19529 Implement SEEKING query functions:
19530 *_new_seeking and *_parse_seeking
19532 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19534 * gst/gstelement.c: (gst_element_dispose):
19537 * gst/gstiterator.c:
19538 * gst/gststructure.c:
19541 * libs/gst/controller/gstcontroller.c:
19542 (gst_controlled_property_set_interpolation_mode):
19543 * libs/gst/controller/gstcontroller.h:
19544 * libs/gst/controller/gstinterpolation.c:
19545 (interpolate_none_get_enum_value_array):
19546 support controlling enums
19548 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19551 Improve documentation for gst_value_union().
19554 Change return value for union, intersect and subtract functions
19555 from gint to gboolean.
19557 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19559 * gst/gstvalue.c: (gst_value_serialize_any_list),
19560 (gst_value_transform_any_list_string),
19561 (gst_value_deserialize_list), (gst_value_deserialize_array),
19562 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19563 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19564 (gst_value_set_fraction_range_full),
19565 (gst_value_deserialize_fraction_range),
19566 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19567 (gst_value_deserialize_boolean),
19568 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19569 (gst_value_serialize_float), (gst_value_deserialize_float),
19570 (gst_string_wrap), (gst_value_deserialize_string),
19571 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19572 (gst_value_union_int_range_int_range),
19573 (gst_value_intersect_int_range_int_range),
19574 (gst_value_intersect_double_range_double_range),
19575 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19576 (gst_value_subtract_int_range_int_range),
19577 (gst_value_subtract_double_double_range),
19578 (gst_value_subtract_double_range_double_range),
19579 (gst_value_deserialize_fraction):
19581 Use gint, gdouble and gchar in our API instead of int, double and
19582 char (and make usage in gstvalue.c more consistent).
19584 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19586 * check/Makefile.am:
19587 * libs/gst/controller/Makefile.am:
19588 * libs/gst/dataprotocol/Makefile.am:
19589 fix up Makefile.am and remove GST_ENABLE_NEW
19591 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19595 * gst/base/Makefile.am:
19596 * gst/check/Makefile.am:
19597 * gst/elements/Makefile.am:
19598 * gst/net/Makefile.am:
19599 update LDFLAGS use some more
19601 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19603 * common/m4/gst-doc.m4:
19606 2005-11-26 Edward Hervey <edward@fluendo.com>
19608 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19609 This shouldn't issue a g_warning since it returns NULL if it
19610 couldn't find the plugin, and all functions using this behave
19611 properly on a NULL return. Switching to a GST_WARNING.
19613 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19615 * gst/gstbin.c: (gst_bin_handle_message_func):
19616 Don't leak clock messages.
19618 2005-11-25 Wim Taymans <wim@fluendo.com>
19620 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19621 (gst_util_uint64_scale_int):
19622 Optimisations, remove unneeded vars.
19624 2005-11-25 Wim Taymans <wim@fluendo.com>
19626 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19627 Added more checks for the high precision uint64 cases.
19629 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19630 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19631 Implement high precision (guint64 * guint64) / guint64.
19633 2005-11-24 Wim Taymans <wim@fluendo.com>
19635 * gst/base/gstbasesrc.c: (gst_base_src_query):
19636 Fix wrong percentage query.
19638 * gst/gstutils.c: (gst_util_uint64_scale),
19639 (gst_util_uint64_scale_int):
19640 Add some more common cases that can be handled
19641 efficiently to _scale.
19643 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19645 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19646 (gst_mini_object_suite):
19647 don't use check calls from threads; check probably isn't
19648 threadsafe and using a lock to make it threadsafe would
19649 defeat the purpose of this check
19650 * gst/check/gstcheck.c:
19651 * gst/check/gstcheck.h:
19652 use GST_DEBUG some more
19654 2005-11-24 Wim Taymans <wim@fluendo.com>
19656 * gst/gstutils.c: (gst_util_uint64_scale),
19657 (gst_util_uint64_scale_int):
19658 Chain trivial case to _scale_int.
19660 2005-11-24 Wim Taymans <wim@fluendo.com>
19662 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19663 Added test for scaling.
19668 * gst/gstutils.c: (gst_util_uint64_scale_int):
19669 Implemented high precision scaling code.
19671 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19674 do not crash on pad==NULL
19676 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19678 Patch by: Stefan Kost
19680 * common/gtk-doc.mak:
19681 * docs/gst/Makefile.am:
19682 * docs/libs/Makefile.am:
19683 Fix distcheck issues for the libraries docs build
19686 2005-11-24 Michael Smith <msmith@fluendo.com>
19688 * docs/manual/basics-helloworld.xml:
19689 Fix bug #315027: memory leak in example code in docs.
19691 2005-11-24 Michael Smith <msmith@fluendo.com>
19693 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19694 Unlock the PREROLL_LOCK in a failure case.
19696 2005-11-24 Wim Taymans <wim@fluendo.com>
19698 * docs/gst/gstreamer-sections.txt:
19699 * gst/base/gstadapter.h:
19700 * gst/base/gstbasesink.h:
19701 * gst/base/gstbasesrc.h:
19702 * gst/base/gstbasetransform.h:
19703 * gst/base/gstpushsrc.h:
19704 * gst/elements/gstfakesink.h:
19705 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19706 * gst/elements/gstfakesrc.h:
19707 * gst/elements/gstfilesink.h:
19708 * gst/elements/gstfilesrc.h:
19711 * gst/gstbuffer.c: (_gst_buffer_copy):
19714 * gst/gstchildproxy.c:
19716 * gst/gstelement.c:
19717 * gst/gstelementfactory.c:
19718 * gst/gstelementfactory.h:
19720 * gst/gstghostpad.h:
19722 * gst/gstinterface.h:
19723 * gst/gstminiobject.c:
19724 * gst/gstminiobject.h:
19727 * gst/gstpadtemplate.h:
19728 * gst/gstpipeline.h:
19729 * gst/gstpluginfeature.h:
19732 * gst/gsttaglist.c:
19733 * gst/gsttaglist.h:
19734 * gst/gsttagsetter.c:
19735 * gst/gsttagsetter.h:
19738 * gst/gsttypefind.h:
19741 * gst/net/gstnetclientclock.c:
19742 * gst/net/gstnetclientclock.h:
19743 * gst/net/gstnettimepacket.c:
19744 * gst/net/gstnettimeprovider.c:
19745 * gst/net/gstnettimeprovider.h:
19748 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19750 * configure.ac: back to HEAD
19752 === release 0.9.6 ===
19754 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19757 releasing 0.9.6, "Always On Time"
19759 2005-11-23 Wim Taymans <wim@fluendo.com>
19761 * docs/gst/gstreamer-sections.txt:
19762 * gst/glib-compat.c:
19763 * gst/gsttagsetter.c:
19765 * gst/net/gstnetclientclock.c:
19766 * gst/net/gstnettimepacket.h:
19769 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19771 * docs/faq/using.xml:
19772 * docs/libs/tmpl/gstcontrol.sgml:
19773 * docs/manual/advanced-dparams.xml:
19774 * docs/manual/appendix-checklist.xml:
19775 * docs/manual/basics-elements.xml:
19776 * docs/pwg/other-source.xml:
19777 * docs/random/moving-plugins:
19779 * tools/gst-launch.1.in:
19780 remove mentions of sinesrc
19782 2005-11-23 Michael Smith <msmith@fluendo.com>
19784 * docs/gst/gstreamer-sections.txt:
19785 Update for new API and API changes.
19787 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19789 Documentation typo fix.
19790 * gst/net/gstnettimepacket.c:
19791 Documentation fixes for arguments.
19793 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
19795 * gst/gststructure.c: (gst_structure_get_fraction),
19796 (gst_structure_parse_value),
19797 (gst_structure_fixate_field_nearest_fraction):
19798 * gst/gststructure.h:
19799 * gst/gstutils.c: (gst_util_uint64_scale_int):
19801 * scripts/update-funcnames:
19803 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19804 Make gst_structure_fixate_field_nearest_fraction take a numerator
19805 and denominator argument instead of a GValue
19806 add gst_structure_get_fraction helper function.
19808 2005-11-23 Wim Taymans <wim@fluendo.com>
19810 * docs/design/part-TODO.txt:
19813 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
19814 * gst/net/gstnetclientclock.h:
19815 Use parent fields for timeout and window_size.
19817 2005-11-23 Andy Wingo <wingo@pobox.com>
19819 * check/net/gstnetclientclock.c (test_functioning): Adjust to
19820 rate_num/rate_denom change.
19822 * gst/net/gstnetclientclock.c
19823 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
19824 OBJECT_LOCK. Don't call add_observation with the lock.
19826 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19828 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19830 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19831 deal with rate as a fraction whose numerator and denominator are
19832 GstClockTime values.
19833 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19834 master; the other fields are protected by the SLAVE_LOCK.
19835 (do_linear_regression): Note that this must be called with the
19837 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19838 OBJECT_LOCK. Call set_calibration instead of touching the
19839 variables directly.
19840 (gst_clock_set_property, gst_clock_get_property): Protect
19841 master/slave parameters with the SLAVE_LOCK.
19843 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
19844 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
19845 note that all of the instance variables that add_observation and
19846 the set_master functions use are protected by that lock and not
19848 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
19850 * gst/gstclock.c (gst_clock_add_observation): No longer requires
19851 the caller to take the object lock.
19853 2005-11-23 Wim Taymans <wim@fluendo.com>
19855 * gst/gsterror.c: (_gst_core_errors_init):
19857 Add error for clock stuff.
19859 * gst/gstpipeline.c: (gst_pipeline_change_state),
19860 (gst_pipeline_set_clock):
19861 Post clock error when clock cannot be used in a pipeline.
19863 2005-11-23 Stefan Kost <ensonic@users.sf.net>
19865 * docs/gst/gstreamer-sections.txt:
19866 make two symbols from gstinfo private for the docs
19867 * gst/base/gstcollectpads.h:
19869 fix doc typos, update docs
19871 2005-11-22 Wim Taymans <wim@fluendo.com>
19873 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19874 (gst_base_sink_wait), (gst_base_sink_do_sync),
19875 (gst_base_sink_handle_event):
19876 * gst/base/gstbasesink.h:
19877 No need to store the clock, the parent element class already
19880 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
19881 Updates for clock_set returning a gboolean
19883 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
19884 (gst_clock_id_wait_async), (gst_clock_class_init),
19885 (gst_clock_init), (gst_clock_finalize),
19886 (gst_clock_get_internal_time), (gst_clock_get_time),
19887 (gst_clock_slave_callback), (gst_clock_set_master),
19888 (gst_clock_get_master), (do_linear_regression),
19889 (gst_clock_add_observation), (gst_clock_set_property),
19890 (gst_clock_get_property):
19892 Implement master/slave. When setting a clock as a slave, a
19893 periodic timeout is scheduled to sample master and slave times.
19894 Then the slave clock is recalibrated to match offset and rate
19895 of the master clock.
19896 Update logging a bit.
19897 Add flag so that a clock can state that is cannot be slaved to
19900 * gst/gstelement.c: (gst_element_set_clock):
19901 * gst/gstelement.h:
19902 The set clock returns a gboolean for when an element cannot
19903 deal with the selected clock in the pipeline.
19905 * gst/gstpipeline.c: (gst_pipeline_change_state),
19906 (gst_pipeline_set_clock):
19907 * gst/gstpipeline.h:
19908 Handle the case where the selected clock cannot be set on
19911 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
19912 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
19913 (gst_net_client_clock_set_property),
19914 (gst_net_client_clock_get_property),
19915 (gst_net_client_clock_observe_times):
19916 * gst/net/gstnetclientclock.h:
19917 Use regression code in GstClock parent, remove duplicated
19920 2005-11-22 Michael Smith <msmith@fluendo.com>
19922 * gst/gstutils.c: (gst_util_clock_time_scale):
19924 * docs/gst/gstreamer-sections.txt:
19925 Rename method to have extra underscore.
19927 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
19929 * gst/elements/Makefile.am:
19930 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
19931 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19932 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19933 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
19934 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
19935 * gst/elements/gstfakesrc.h:
19936 * gst/gstqueue.c: (queue_leaky_get_type):
19937 correctly fix GEnumValues so that nick is the short lowercase
19939 * tools/gst-inspect.c: (print_element_properties_info):
19940 also show the nick, since it's useful to use from parse_launch
19944 2005-11-22 Michael Smith <msmith@fluendo.com>
19946 * gst/gstutils.c: (gst_util_clocktime_scale):
19948 * docs/gst/gstreamer-sections.txt:
19949 Add util method for scaling a clocktime by a fraction. Useful
19950 implementation is left as an exercise for the reader.
19952 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19954 * gst/gstvalue.c: (gst_value_collect_fraction_range):
19955 If needed, allocate storage in the destination value during
19958 2005-11-22 Edward Hervey <edward@fluendo.com>
19960 * docs/gst/gstreamer-sections.txt:
19963 * gst/gsturitype.c:
19964 * gst/gsturitype.h:
19965 * gst/gstutils.c: (gst_util_set_object_arg):
19966 * tools/gst-compprep.c: (main):
19967 * tools/gst-inspect.c: (print_element_properties_info):
19968 Removed GstURI, closes bug #321061
19970 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19972 * check/gst/gststructure.c: (GST_START_TEST):
19973 * gst/gststructure.c: (gst_structure_parse_value):
19974 Oops, broke automatic string type parsing.
19975 Add a test to catch it in future.
19977 2005-11-22 Andy Wingo <wingo@pobox.com>
19979 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
19980 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
19981 Actually rename the function implementations. Grr.
19983 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19985 * check/gst/capslist.h:
19987 * check/gst/gststructure.c: (GST_START_TEST),
19988 (gst_structure_suite):
19989 Test automatic value type detection in gst_structure_from_string.
19990 * gst/gststructure.c: (gst_structure_parse_value):
19991 Add fraction as a type we try and guess automatically in
19992 caps/structure strings.
19994 2005-11-22 Andy Wingo <wingo@pobox.com>
19996 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
19998 * gst/gsttagsetter.h:
19999 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20000 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20001 (gst_tag_setter_add_tag_valist)
20002 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20003 _add_values, _add_valist, and _add_valist_values. Since this is an
20004 interface the function suffixes should be more explicit so
20005 language binding don't end up with element.add_valist ->
20006 gst_tag_setter_add_valist, for example. Fixes #322069.
20008 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20010 * check/gst/gstcaps.c: (GST_START_TEST):
20011 Extend caps string tests to check that a caps to string
20012 conversion is reversible and produces the same caps.
20014 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20015 Output "fraction" as the generic type fraction range, so caps
20016 serialisation and deserialisation works.
20017 * check/gst/capslist.h:
20018 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20019 Support 'MIN' and 'MAX' for deserialising fractions.
20021 2005-11-22 Andy Wingo <wingo@pobox.com>
20023 * gst/gstevent.h (gst_event_new_new_segment)
20024 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20025 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20026 Renamed from *_newsegment, *_buffersize, *_notarget.
20028 * scripts/update-funcnames: New script, performs the changes
20031 2005-11-22 Wim Taymans <wim@fluendo.com>
20033 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20034 Make sure the GstFlowReturn is returned.
20036 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20037 (gst_bus_add_signal_watch):
20039 add gst_bus_add_signal_watch_full.
20041 * gst/gstplugin.c: (gst_plugin_load_file):
20042 Small style cleanup.
20044 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20046 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20047 Block the fakesrc srcpad when we send an event, to avoid
20048 contention on the stream_lock causing random test failures.
20050 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20052 * check/gst/gstvalue.c: (GST_START_TEST):
20053 * gst/gstvalue.c: (gst_value_fraction_subtract):
20056 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20059 include "gstchildproxy.h"
20060 * gst/gstchildproxy.h:
20061 * libs/gst/controller/gstcontroller.h:
20062 use G_GNUC_NULL_TERMINATED
20064 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20066 * check/gst/capslist.h:
20067 * check/gst/gstcaps.c: (GST_START_TEST):
20068 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20069 * gst/gststructure.c: (gst_structure_parse_range),
20070 (gst_structure_fixate_field_nearest_fraction):
20071 * gst/gststructure.h:
20072 * gst/gstvalue.c: (gst_value_init_fraction_range),
20073 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20074 (gst_value_collect_fraction_range),
20075 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20076 (gst_value_set_fraction_range_full),
20077 (gst_value_get_fraction_range_min),
20078 (gst_value_get_fraction_range_max),
20079 (gst_value_serialize_fraction_range),
20080 (gst_value_transform_fraction_range_string),
20081 (gst_value_compare_fraction_range),
20082 (gst_value_deserialize_fraction_range),
20083 (gst_value_intersect_fraction_fraction_range),
20084 (gst_value_intersect_fraction_range_fraction_range),
20085 (gst_value_subtract_fraction_fraction_range),
20086 (gst_value_subtract_fraction_range_fraction),
20087 (gst_value_subtract_fraction_range_fraction_range),
20088 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20089 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20090 (gst_value_transform_string_fraction), (_gst_value_initialize):
20092 Implement fraction ranges and extend GstFraction to support
20093 arithmetic subtraction, as well as deserialization from integer
20094 strings such as "100"
20095 Add a testsuite as for int and double range set operations
20097 2005-11-21 Andy Wingo <wingo@pobox.com>
20099 * gst/gsttaglist.h:
20101 * gst/gststructure.h: Add glib-compat.h.
20103 2005-11-21 Wim Taymans <wim@fluendo.com>
20105 * gst/gstbin.c: (gst_bin_change_state_func):
20108 2005-11-21 Wim Taymans <wim@fluendo.com>
20110 * gst/gstsegment.h:
20111 And add a nice define too.
20113 2005-11-21 Wim Taymans <wim@fluendo.com>
20115 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20116 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20117 (gst_segment_set_duration), (gst_segment_set_last_stop),
20118 (gst_segment_set_seek), (gst_segment_set_newsegment),
20119 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20120 (gst_segment_clip):
20121 * gst/gstsegment.h:
20122 Make binding friendly.
20124 2005-11-21 Andy Wingo <wingo@pobox.com>
20126 * gst/gsttagsetter.h:
20127 * gst/gsttaglist.h:
20128 * gst/gststructure.h:
20130 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20133 * gst/gsterror.c (_gst_core_errors_init):
20134 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20137 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20138 (noinst_HEADERS): noinst the -private.
20140 2005-11-21 Michael Smith <msmith@fluendo.com>
20143 * gst/gstregistry.h:
20144 Remove unimplemented declarations for which we can see no sensible
20147 2005-11-21 Andy Wingo <wingo@pobox.com>
20149 * gst/gst.h: Include glib-compat.h.
20151 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20153 * gst/glib-compat.c: Include the public and the private header.
20155 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20159 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20161 * check/gst/gstevent.c (create_custom_events): Check that
20162 FLUSH_STOP is serialized.
20164 * check/elements/identity.c (event_func):
20165 * check/elements/fakesrc.c (event_func): No stream lock, the core
20168 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20169 stream lock taking, yay.
20171 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20172 ensure that core takes the stream lock.
20174 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20177 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20178 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20179 it already. For the flush start we do take it though so we get the
20180 right preroll state change messages.
20182 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20183 the stream lock here, the core does it for us.
20185 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20186 GST_STREAM_GET_LOCK.
20187 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20188 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20189 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20190 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20191 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20192 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20194 * gst/gstpad.c: Update for stream lock name change.
20196 * gst/base/gstbasesink.c: Update for preroll lock name change.
20198 2005-11-21 Wim Taymans <wim@fluendo.com>
20200 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20201 (gst_clock_get_master):
20203 * gst/gstsystemclock.c: (gst_system_clock_init):
20204 Convert Clock flags to object flags.
20205 Added methods to manage master/slave clocks.
20207 2005-11-21 Wim Taymans <wim@fluendo.com>
20209 * check/gst/gstsegment.c: (GST_START_TEST):
20210 * docs/design/part-TODO.txt:
20211 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20212 (gst_base_sink_event), (gst_base_sink_do_sync),
20213 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20214 (gst_base_sink_query), (gst_base_sink_change_state):
20215 * gst/base/gstbasesink.h:
20216 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20217 (gst_base_src_default_newsegment),
20218 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20219 (gst_base_src_get_range), (gst_base_src_loop),
20220 (gst_base_src_change_state):
20221 * gst/base/gstbasesrc.h:
20222 * gst/base/gstbasetransform.c:
20223 (gst_base_transform_prepare_output_buf),
20224 (gst_base_transform_event), (gst_base_transform_change_state):
20225 * gst/base/gstbasetransform.h:
20226 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20227 (gst_collect_pads_event):
20228 * gst/base/gstcollectpads.h:
20229 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20230 (gst_fake_src_create):
20231 * gst/elements/gstfakesrc.h:
20232 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20233 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20234 (gst_segment_set_last_stop), (gst_segment_set_seek),
20235 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20236 (gst_segment_to_running_time), (gst_segment_clip):
20237 * gst/gstsegment.h:
20238 More segment updates, replace code in plugins with segment
20241 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20243 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20244 Don't ignore sscanf results
20246 2005-11-21 Andy Wingo <wingo@pobox.com>
20248 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20251 * *.c: Ran scripts/update-macros. Oh yes.
20253 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20254 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20257 * scripts/update-macros: New script. Run it on your files to
20258 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20261 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20263 * docs/gst/Makefile.am:
20264 * docs/gst/gstreamer-docs.sgml:
20265 * docs/gst/gstreamer-sections.txt:
20266 * docs/gst/gstreamer.types:
20268 more docs fixes, add new api to the docs
20270 2005-11-21 Andy Wingo <wingo@pobox.com>
20272 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20273 state_broadcast call.
20275 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20277 2005-11-21 Julien MOUTTE <julien@moutte.net>
20279 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20280 function calls for arrays.
20282 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20284 * docs/random/ensonic/media-device-daemon.txt:
20285 wild idea, can this be done?
20286 * docs/gst/gstreamer-sections.txt:
20291 * gst/gstpluginfeature.c:
20295 doc fixes and additions
20297 2005-11-21 Andy Wingo <wingo@pobox.com>
20299 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20300 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20301 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20302 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20303 private to the basesrc implementation.
20305 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20306 behalf of event function if necessary. It should no longer be
20307 necessary to take the stream lock in pad's event functions. Fixes
20310 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20311 * docs/gst/gstreamer-sections.txt:
20312 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20313 (gst_structure_fixate_field_nearest_double),
20314 (gst_structure_fixate_field_boolean):
20315 * gst/gststructure.h:
20316 * win32/common/libgstreamer.def:
20317 * win32/gstreamer.def:
20319 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20322 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20324 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20325 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20326 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20327 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20328 (gst_fdsrc_uri_handler_init):
20329 * gst/elements/gstfdsrc.h:
20330 Port fd:// URI handler from 0.8 to fdsrc
20332 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20334 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20335 (gst_value_serialize_fourcc):
20337 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20338 consistent with our other format defines (#320324).
20340 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20342 * gst/gstvalue.c: (gst_value_is_fixed):
20343 Revert previous commit. Value lists are by definition
20344 not fixed, as they are a list of possible values.
20346 2005-11-21 Andy Wingo <wingo@pobox.com>
20348 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20349 during the stable series if we need it. Fixes #319178.
20351 * gst/gstevent.c (gst_event_new_filler): Removed.
20353 * check/gst/gstevent.c: Update comment about filler events.
20355 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20357 * gst/gstvalue.c: (gst_value_is_fixed):
20358 Should handle both value arrays and value lists.
20360 2005-11-21 Andy Wingo <wingo@pobox.com>
20362 patch by: Alessandro Dessina <alessandro nnva org>
20364 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20365 functions to access arrays. Fixes #321962.
20367 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20369 * docs/gst/gstreamer.types:
20370 gst_collectpads_get_type => gst_collect_pads_get_type.
20372 * gst/base/gstbasetransform.c:
20373 Remove unused SIGNAL_HANDOFF enum.
20375 2005-11-21 Andy Wingo <wingo@pobox.com>
20377 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20378 the event type (upstream, downstream, serialized). Renamed
20379 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20380 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20381 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20383 * gst/gstevent.c: Update for new CUSTOM event names.
20385 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20388 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20391 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20393 * docs/gst/gstreamer-sections.txt:
20394 * win32/common/libgstbase.def:
20395 * win32/libgstbase.def:
20396 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20397 (gst_collect_pads_class_init), (gst_collect_pads_init),
20398 (gst_collect_pads_finalize), (gst_collect_pads_new),
20399 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20400 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20401 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20402 (gst_collect_pads_start), (gst_collect_pads_stop),
20403 (gst_collect_pads_peek), (gst_collect_pads_pop),
20404 (gst_collect_pads_available), (gst_collect_pads_read),
20405 (gst_collect_pads_flush), (gst_collect_pads_event),
20406 (gst_collect_pads_chain):
20407 * gst/base/gstcollectpads.h:
20408 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20409 unimplemented functions as unimplemented. Add padding to
20410 GstCollectData. (#320766, #320423)
20412 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20414 * gst/gstmessage.c:
20415 Improve docs for DURATION message (usage of duration parameter)
20418 2005-11-20 Wim Taymans <wim@fluendo.com>
20420 * check/Makefile.am:
20421 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20425 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20426 (gst_segment_set_seek), (gst_segment_set_newsegment),
20427 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20428 (gst_segment_clip):
20429 * gst/gstsegment.h:
20430 Added segment helper structure and methods. Not fully implemented
20432 Added segment check.
20434 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20436 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20437 Add a deserialisation test for fractions
20438 * examples/metadata/read-metadata.c: (message_loop),
20439 (make_pipeline), (main):
20440 Fix up metadata reading sample.
20441 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20443 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20444 Don't try and fixate empty caps
20445 * gst/gst_private.h:
20446 Wrap in G_BEGIN_DECLS/G_END_DECLS
20447 * gst/gstvalue.c: (gst_value_collect_fraction),
20448 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20449 (gst_value_transform_string_fraction),
20450 (gst_value_compare_fraction):
20451 Add some extra guards to ensure that we don't end up
20452 with an invalid denominator of 0 in a gstfraction and
20453 that fractions always get reduced.
20455 2005-11-20 Wim Taymans <wim@fluendo.com>
20457 * docs/gst/gstreamer-sections.txt:
20459 * gst/gstelement.c:
20468 2005-11-20 Wim Taymans <wim@fluendo.com>
20470 * docs/design/part-TODO.txt:
20472 Make a proper enum of the flag.
20474 2005-11-19 Wim Taymans <wim@fluendo.com>
20476 * docs/design/part-TODO.txt:
20477 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20478 (gst_format_to_quark), (gst_format_register):
20480 * gst/gstquery.c: (_gst_query_initialize),
20481 (gst_query_type_get_name), (gst_query_type_to_quark),
20482 (gst_query_type_register):
20484 Add type to quark and type to string conversions.
20486 2005-11-19 Andy Wingo <wingo@pobox.com>
20488 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20491 2005-11-19 Wim Taymans <wim@fluendo.com>
20493 * docs/design/part-TODO.txt:
20494 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20495 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20496 (gst_bin_handle_message_func):
20498 Make message handling overridable.
20500 2005-11-19 Andy Wingo <wingo@pobox.com>
20502 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20505 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20507 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20508 is a GstClockTime. Fixes #321710.
20510 * gst/gstclock.h (GstClock): Remove offset property. Add
20511 internal_calibration and external_calibration. Fix padding. Pad
20512 also by GstClockTime so we don't run into problems.
20514 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20515 (gst_clock_get_rate_offset): Remove.
20516 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20519 * gst/gstutils.c (g_static_rec_cond_wait)
20520 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20522 * gst/gstbin.c: Remove terrible continue_state prototype.
20524 * gst/gstelement.h (gst_element_continue_state): Make public.
20526 * gst/gstelement.h:
20527 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20528 by continue_state. Fixes #319389.
20530 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20531 Really fixes #168438. However I don't see anywhere where the
20532 filter function is called... stupid GStreamer...
20534 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20535 don't have a dispose function, so it won't get called when the
20536 object is unreffed, but oh well!
20538 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20539 allows a destroy function to be set so user_data can be freed.
20541 (gst_index_set_filter): Call gst_index_set_filter_full.
20543 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20545 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20546 string should produce an error, given the lack of a way to
20547 represent NULL strings. Fixes #165650.
20550 * gst/gstvalue.c (gst_value_array_append_value)
20551 (gst_value_array_prepend_value, gst_value_array_get_size)
20552 (gst_value_array_get_value): New API, copied from
20553 gst_value_list_*, only operates on arrays.
20554 (gst_value_list_append_value, gst_value_list_prepend_value)
20555 (gst_value_list_concat, gst_value_list_get_size)
20556 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20558 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20559 init_list, because it works on both.
20560 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20561 (gst_value_copy_list_or_array): Renamed from copy_list.
20562 (gst_value_free_list_or_array): Renamed from free_list.
20563 (gst_value_collect_list_or_array): Renamed from collect_list.
20564 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20565 (gst_value_list_or_array_peek_pointer): Renamed from
20567 (_gst_value_array_value_table, _gst_value_list_value_table):
20568 Update value table functions.
20569 (gst_value_compare_list_or_array): Renamed from compare_list.
20571 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20574 * gst/gsttaglist.c:
20575 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20576 GstTagList*. Fixes #143472.
20578 * gst/gststructure.h: Clarify what the foreach/map functions can
20579 or can't do to their arguments.
20581 2005-11-18 Wim Taymans <wim@fluendo.com>
20583 * gst/gstclock.c: (gst_clock_set_calibration),
20584 (gst_clock_get_calibration):
20586 Calibration can be set with internal time equal to current
20589 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20595 2005-11-18 Andy Wingo <wingo@pobox.com>
20598 * pkgconfig/gstreamer-net.pc.in:
20599 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20600 * pkgconfig/Makefile.am: Add net pkgconfig files.
20602 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20605 * gst/gstghostpad.c:
20611 2005-11-18 Andy Wingo <wingo@pobox.com>
20613 * gst/net/gstnetclientclock.c: Turn off debugging.
20615 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20616 times connverge somewhat. Can't make a real test.
20618 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20619 integer arithmetic. Return the minimum of the domain, which can be
20620 set as "internal" for gst_clock_set_calibration.
20621 (gst_net_client_clock_observe_times): Call _set_calibration.
20622 (gst_net_client_clock_new): Call _set_calibration instead of
20625 * check/net/gstnetclientclock.c (test_functioning): Use the right
20629 * gst/gstclock.c (gst_clock_get_calibration)
20630 (gst_clock_set_calibration): New functions, obsolete the ones I
20631 added yesterday. Doh. Precision issues mean we have to extrapolate
20632 from a point in the more recent past than 1970.
20633 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20635 (gst_clock_adjust_unlocked): Use the right calibration data.
20637 2005-11-18 Edward Hervey <edward@fluendo.com>
20639 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20640 Also reset the ->current_* values in READY->PAUSED
20642 2005-11-18 Andy Wingo <wingo@pobox.com>
20644 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20645 Whoops, check the right fd. Also add some debugging.
20646 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20647 (do_linear_regression): Add a crapload of debugging. Subtract off
20648 the minimum values from the input series to discard unneeded bits.
20649 Use only int arithmetic. There is still double arithmetic when
20650 calculating the intercept that needs fixing. Return boolean to
20651 indicate success; FALSE would mean the domain or range is too
20652 great. Still needs fixes.
20654 2005-11-18 Wim Taymans <wim@fluendo.com>
20656 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20657 For the current position in stream time, we need to subtract
20660 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20661 Release lock before calling the callback function of async
20664 2005-11-18 Andy Wingo <wingo@pobox.com>
20666 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20667 Port goes all the way to MAXUINT16.
20669 * gst/net/gstnettimeprovider.c: Make the port range the same as
20670 for the kernel: 0 assigns, otherwise ports are less than
20673 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20676 * check/net/gstnetclientclock.c (test_functioning): Add the start
20679 2005-11-18 Wim Taymans <wim@fluendo.com>
20681 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20682 (gst_bin_remove_func), (bin_bus_handler):
20684 Removing a clock provider from a bin, triggers a clock lost message
20685 so that a new clock will be selected.
20686 Adding a clock to a bin triggers a clock provider message.
20687 Make sure we reselect a clock when we received a clock lost message.
20688 Keep a reference to the element that provided the clock.
20690 2005-11-18 Andy Wingo <wingo@pobox.com>
20692 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20693 the clock initially so it produces values around the base time.
20694 (gst_net_client_clock_class_init): Typo fix.
20695 (gst_net_client_clock_thread): Add note on when the socket gets
20698 2005-11-17 Wim Taymans <wim@fluendo.com>
20700 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20701 Free remote and local time arrays.
20703 2005-11-17 Wim Taymans <wim@fluendo.com>
20705 * gst/net/gstnetclientclock.c: (do_linear_regression),
20706 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20707 Fix compilation, uninitialized vars and a forgotten continue.
20709 2005-11-17 Andy Wingo <wingo@pobox.com>
20711 * check/Makefile.am (check_PROGRAMS):
20712 * check/net/gstnetclientclock.c: Add a most minimal test for the
20713 net client clock. More to come later.
20715 * gst/net/gstnet.h:
20716 * gst/net/Makefile.am: Add netclientclock.
20718 * gst/net/gstnetclientclock.h:
20719 * gst/net/gstnetclientclock.c: New files, implement an untested
20720 GstClock that takes its time from a network time provider.
20721 Implements the algorithm in network-clock.scm.
20723 * tests/network-clock.scm (*window-size*): Rename from
20725 * tests/network-clock.scm (network-time):
20726 * tests/network-clock-utils.scm (q-push): Update callers.
20728 2005-11-17 Wim Taymans <wim@fluendo.com>
20730 * gst/gstbin.c: (gst_bin_provide_clock_func),
20731 (gst_bin_sort_iterator_new):
20732 And unref the child too..
20734 2005-11-17 Wim Taymans <wim@fluendo.com>
20736 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20737 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20738 Refactor the sort iterator so it can be used while holding the
20740 Make clock selection select a clock closest to the source.
20742 2005-11-17 Michael Smith <msmith@fluendo.com>
20744 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20745 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20747 Anonymous structs are a gcc (and some other compilers) extension, so
20748 don't use them. Since this is only for ABI-compatibility, and our
20749 API/ABI freeze is over in a few days, this whole thing will only
20750 last a few days, so don't bother trying to think up a meaningful
20751 name for the struct.
20753 2005-11-17 Andy Wingo <wingo@pobox.com>
20755 * gst/gstclock.h (GstClock): Add rate and offset properties,
20756 preserving ABI stability. Add rate/offset accessors. Will file bug
20757 for the freeze break.
20759 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20760 and offset, trying to keep precision and avoiding
20761 underflow/overflow.
20762 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20763 functions. Make gst_clock_set_time_adjust obsolete.
20764 (gst_clock_set_time_adjust): Note that this function is obsolete.
20765 Will file bug soon.
20767 * gst/base/gstbasetransform.h: Make the ABI-stability hack
20768 greppable by using GST_PADDING-1+1.
20770 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
20772 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20774 * gst/gstmessage.c: (gst_message_parse_clock_lost):
20775 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20777 * gst/gstpadtemplate.h:
20778 * gst/gstpluginfeature.h:
20779 Don't use c++ style comments in headers (#321638).
20781 2005-11-16 Andy Wingo <wingo@pobox.com>
20783 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20786 * check/net/gstnettimeprovider.c: Check to see that the time
20787 provider actually provides times. Works, yo!
20789 2005-11-16 Wim Taymans <wim@fluendo.com>
20791 * check/Makefile.am:
20794 * check/elements/fakesrc.c: (GST_START_TEST):
20795 Set element to NULL before disposing it.
20797 2005-11-16 Andy Wingo <wingo@pobox.com>
20799 * gst/net/Makefile.am:
20800 * gst/net/gstnet.h:
20801 * gst/net/gstnettimeprovider.c:
20802 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20803 provider, include it from gstnet.h, and add it to the build.
20805 * gst/net/gstnettimepacket.h:
20806 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20807 sending and receiving.
20809 2005-11-16 Wim Taymans <wim@fluendo.com>
20811 * check/Makefile.am:
20812 Enable valgrind check.
20814 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
20815 (gst_fake_src_alloc_buffer):
20818 2005-11-16 Wim Taymans <wim@fluendo.com>
20820 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
20821 Call parent finalize too.
20823 2005-11-16 Wim Taymans <wim@fluendo.com>
20825 * check/Makefile.am:
20826 Enable valgrind check that should work fine now.
20828 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20829 * gst/gstqueue.c: (gst_queue_init):
20830 Fix memleaks in pad allocation.
20832 2005-11-16 Andy Wingo <wingo@pobox.com>
20834 * gst/net/Makefile.am:
20835 * gst/net/gstnet.h: New part of core to hold network elements and
20836 objects. Put in core because it exposes API that applications want
20837 to use. The library is named libgstnet-tempname right now because
20838 of the existing libgstnet in gst-plugins-base. Solution is
20839 probably to rename the one in plugins-base; will file a bug for
20842 * gst/net/gstnettimeprovider.c:
20843 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
20844 get_time call over the network.
20847 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
20849 * check/Makefile.am:
20850 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20851 get additions shortly.
20853 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20855 * gst/gstpad.c: (gst_pad_new_from_static_template):
20857 add gst_pad_new_from_static_template functions
20858 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
20859 (gst_check_setup_sink_pad):
20860 * gst/elements/gsttee.c: (gst_tee_init):
20863 2005-11-16 Wim Taymans <wim@fluendo.com>
20865 * gst/gstpad.c: (gst_pad_pause_task):
20866 Removed warning, it's not really an error either.
20868 2005-11-16 Wim Taymans <wim@fluendo.com>
20870 * gst/base/gstbasetransform.c:
20871 (gst_base_transform_prepare_output_buf),
20872 (gst_base_transform_event):
20873 Check if the caps are NULL, this can happen if the element
20874 is shutting down and the pad caps are set to NULL.
20876 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20878 * gst/elements/gsttee.c: (gst_tee_init):
20879 fix pad template leak in tee
20881 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20883 * gst/glib-compat.c: (g_value_dup_gst_object):
20884 * gst/glib-compat.h:
20885 * gst/gstpad.c: (gst_pad_set_property):
20886 use gst_object_ref when setting the pad template; this will
20887 trigger the pad template leaks on GLib 2.6 and the slaves
20889 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20891 * gst/glib-compat.c: (gst_flags_get_first_value):
20892 * gst/glib-compat.h:
20893 * gst/gstregistryxml.c:
20894 remove functions copied from GLib 2.6
20896 2005-11-16 Michael Smith <msmith@fluendo.com>
20899 Don't link against VALGRIND_LIBS. That was always the wrong thing to
20900 do, but only breaks with newer valgrind versions. We're not a
20901 valgrind tool, we have no link-time dependencies on libcoregrind.
20903 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20905 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20907 * gst/gstmessage.h:
20910 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20912 * gst/base/gstbasesrc.c: (gst_base_src_init):
20913 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20914 * gst/gstqueue.c: (gst_queue_init):
20915 * gst/gstregistryxml.c: (load_feature):
20916 Revert all these unrefs, they don't even pass make check !
20918 2005-11-15 Johan Dahlin <johan@gnome.org>
20920 * gst/base/gstbasesrc.c: (gst_base_src_init):
20921 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20922 * gst/gstqueue.c: (gst_queue_init):
20923 Free pad templates, fixes a couple of leaks.
20925 2005-11-15 Daniel Fischer <dan at f3c dot com>
20927 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20929 * gst/gstpad.c: (gst_pad_get_property):
20930 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
20931 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
20934 2005-11-15 Wim Taymans <wim@fluendo.com>
20939 2005-11-15 Andy Wingo <wingo@pobox.com>
20941 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
20943 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
20944 using GST_CLOCK_TIME_NONE to disable base time management.
20945 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
20946 time if it was NONE before.
20947 (gst_pipeline_change_state): Only munge the base time if
20948 stream_time != GST_CLOCK_TIME_NONE.
20950 * check/gst/gstpipeline.c (test_base_time): Punt around the
20951 problem of the probe not being called, because that's not the
20952 issue I'm looking at. Add a check that setting stream_time to NONE
20953 disables base time management.
20955 2005-11-15 Wim Taymans <wim@fluendo.com>
20957 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20958 segment_stop == -1 at startup.
20960 * gst/base/gstbasetransform.c: (gst_base_transform_event),
20961 (gst_base_transform_change_state):
20962 Init segment values at start.
20964 2005-11-15 Wim Taymans <wim@fluendo.com>
20966 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20967 0 segment values are 0 in any format.
20969 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20970 * gst/base/gstbasetransform.h:
20971 Parse newsegment correctly in basetransform
20973 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20974 Sync to clock using updated segment values.
20976 2005-11-15 Andy Wingo <wingo@pobox.com>
20978 * check/gst/gstpipeline.c (test_base_time): Add check that the
20979 base time and stream time are reset correctly.
20981 2005-11-15 Wim Taymans <wim@fluendo.com>
20983 * docs/design/part-TODO.txt:
20984 Some more TODO items.
20986 2005-11-15 Andy Wingo <wingo@pobox.com>
20988 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
20989 error if the user selected "no clock" as the clocking method.
20991 * check/gst/gstpipeline.c (test_base_time): New test for buffer
20992 timestamps with live capture.
20994 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
20995 is 0 but we are a live source, timestamp the buffers using the
20998 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21000 * docs/gst/gstreamer-sections.txt:
21002 * gst/gstghostpad.c:
21007 2005-11-14 Wim Taymans <wim@fluendo.com>
21010 add suppressions from Wim's Debian machine
21012 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21015 add suppressions from Andy's AMD64 Ubuntu machine
21017 2005-11-14 Andy Wingo <wingo@pobox.com>
21019 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21020 STATE_LOCK not necessary. Fixes #311489.
21022 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21025 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21026 this function is not implemented.
21028 2005-11-14 Julien MOUTTE <julien@moutte.net>
21030 * gst/base/gstbasetransform.c:
21031 (gst_base_transform_prepare_output_buf):
21032 Ref the source pad caps while we need them.
21035 2005-11-11 Wim Taymans <wim@fluendo.com>
21037 * docs/gst/gstreamer-sections.txt:
21038 Added some docs for GstCollectData.
21040 * gst/base/gstadapter.c:
21041 Some small code example fix.
21043 * gst/base/gstcollectpads.c:
21044 * gst/base/gstcollectpads.h:
21045 Document some more.
21047 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21049 * configure.ac: back to HEAD
21051 === release 0.9.5 ===
21053 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21056 releasing 0.9.5, "Bike Lunch Day"
21058 2005-11-11 Wim Taymans <wim@fluendo.com>
21060 * gst/gstbuffer.c: (_gst_buffer_copy):
21063 * gst/gstcaps.c: (gst_caps_is_equal):
21065 Make _is_equal fast in the trivial cases.
21067 * gst/gstminiobject.c:
21068 * gst/gstminiobject.h:
21069 More docs. Spifify .h file.
21074 2005-11-11 Wim Taymans <wim@fluendo.com>
21076 * gst/base/gstbasetransform.c:
21077 (gst_base_transform_prepare_output_buf),
21078 (gst_base_transform_handle_buffer):
21080 If we're processing a buffer and need to allocate an output
21081 buffer, we cannot accept a format change. If we did get a
21082 format change, we have to alloc a buffer ourselves of the
21085 2005-11-11 Wim Taymans <wim@fluendo.com>
21087 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21088 While checking the flag for reentrancy in the gstcaps function
21089 is nice to detect recursive invocations, it also makes it
21090 impossible to call getcaps from multiple threads, which must be
21091 possible. So, checking for recursive calls has to go.
21093 2005-11-11 Michael Smith <msmith@fluendo.com>
21095 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21096 Don't sync on buffers that fall partially outside our current
21097 segment. Prevents an assertion failure/abort playing some files.
21099 2005-11-10 Andy Wingo <wingo@pobox.com>
21101 * check/gst/gstbin.c (test_message_state_changed_children): Style
21104 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21105 gst_bus_poll with the signal watch. Ensures that poll and a signal
21106 watch see the same messages.
21108 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21109 a poll and a watch at the same time get the same messages.
21111 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21113 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21114 * gst/gstcaps.c: (gst_caps_intersect):
21115 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21116 and it's not needed.
21118 2005-11-10 Wim Taymans <wim@fluendo.com>
21120 * docs/design/part-TODO.txt:
21123 2005-11-10 Wim Taymans <wim@fluendo.com>
21125 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21126 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21127 (gst_base_src_do_sync), (gst_base_src_get_range):
21128 Implement clock sync in base class.
21130 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21132 patch by: Tim-Philipp Müller <tim at centricular dot net>
21134 * gst/gststructure.c: (gst_structure_parse_field),
21135 (gst_structure_from_string):
21136 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21137 so that gst_parse_launch() can deal with spaces in filtered link
21138 caps (fixes #164479)
21139 * check/gst/capslist.h:
21140 * check/gst/gststructure.c: (GST_START_TEST):
21141 add unit tests for this change
21143 2005-11-10 Wim Taymans <wim@fluendo.com>
21145 * docs/gst/gstreamer-sections.txt:
21146 * gst/gstelement.c:
21147 * gst/gstelement.h:
21148 Fix docs, move some STATE macros to private.
21150 2005-11-10 Wim Taymans <wim@fluendo.com>
21152 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21153 Added check for bug #317341
21157 Some more spiffifying.
21159 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21160 Call peer linkfunction if we are a source pad. Totally fixes
21164 Update docs, source pads should call the peer linkfunction
21165 so they can atomically perform the pad link.
21167 2005-11-09 Wim Taymans <wim@fluendo.com>
21171 Uber-spiffy-spiffify some more.
21173 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21175 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21176 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21177 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21178 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21179 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21180 * gst/gstpad.c: (gst_pad_init):
21181 Use GST_DEBUG_FUNCPTR() more extensively.
21183 2005-11-09 Wim Taymans <wim@fluendo.com>
21185 * gst/gstobject.c: (gst_object_class_init):
21187 Documentation fixes.
21189 2005-11-09 Edward Hervey <edward@fluendo.com>
21191 * gst/gsttypefindfactory.c:
21194 2005-11-09 Edward Hervey <edward@fluendo.com>
21196 * gst/base/gsttypefindhelper.c:
21197 * gst/gsttypefind.c:
21198 * gst/gsttypefind.h:
21201 2005-11-09 Wim Taymans <wim@fluendo.com>
21203 * gst/gstiterator.c:
21210 2005-11-09 Wim Taymans <wim@fluendo.com>
21216 2005-11-09 Wim Taymans <wim@fluendo.com>
21218 * docs/gst/gstreamer-sections.txt:
21219 Moved the message async delivery private lock and cond
21220 to the private section.
21222 * gst/gstmessage.c:
21223 * gst/gstmessage.h:
21226 2005-11-09 Edward Hervey <edward@fluendo.com>
21228 * docs/gst/gstreamer-sections.txt:
21231 Document GstURIHandler
21233 2005-11-09 Wim Taymans <wim@fluendo.com>
21235 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21236 (gst_iterator_find_custom):
21237 * gst/gstiterator.h:
21240 2005-11-09 Wim Taymans <wim@fluendo.com>
21243 Document another field.
21245 * gst/gststructure.c:
21246 * gst/gststructure.h:
21249 2005-11-09 Wim Taymans <wim@fluendo.com>
21252 Documented structs.
21254 2005-11-09 Wim Taymans <wim@fluendo.com>
21256 * docs/gst/gstreamer-sections.txt:
21257 Added some new macros.
21264 2005-11-09 Wim Taymans <wim@fluendo.com>
21266 * docs/design/part-TODO.txt:
21267 Some more items for the TODO
21273 2005-11-09 Andy Wingo <wingo@pobox.com>
21275 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21276 to work on something else now tho...
21278 * gst/base/gstadapter.c: More adapter docs.
21280 * gst/elements/gstfilesink.c (gst_file_sink_start)
21281 (gst_file_sink_stop): New functions, replace the state change
21283 (gst_file_sink_class_init): Hook up the start and stop functions.
21284 (gst_file_sink_base_init): Don't set the state change handler any
21285 more. It was a bit ugly too, being set from here...
21286 (gst_file_sink_get_property, gst_file_sink_set_property):
21288 (gst_file_sink_set_location): More robust check that doesn't call
21289 GST_STATE. Ugggggg.
21291 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21293 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21294 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21296 2005-11-08 Wim Taymans <wim@fluendo.com>
21298 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21299 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21300 (gst_base_sink_chain), (gst_base_sink_change_state):
21301 * gst/base/gstbasesink.h:
21302 * gst/base/gstbasesrc.h:
21303 * gst/gstelement.h:
21305 Avoid excessive typechecking in macros.
21307 * gst/gstminiobject.c: (gst_mini_object_get_type),
21308 (gst_mini_object_init), (gst_mini_object_new),
21309 (gst_mini_object_free):
21310 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21311 (gst_object_finalize):
21312 Remove cruft code, optimize alloc_trace.
21314 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21316 * docs/faq/gst-uninstalled:
21317 fix up PS1 for systems that try to reset it
21319 2005-11-07 Wim Taymans <wim@fluendo.com>
21321 * gst/base/gstbasesrc.c: (gst_base_src_init),
21322 (gst_base_src_get_range):
21323 Set the segment_end to -1 initially. Fixed typefind.
21325 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21327 * gst/base/gstadapter.c:
21328 Debug category should be 'adapter', not 'GstAdapter'.
21330 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21331 (gst_collectpads_class_init), (gst_collectpads_init),
21332 (gst_collectpads_peek), (gst_collectpads_pop),
21333 (gst_collectpads_event), (gst_collectpads_chain):
21334 Add debug category and some debugging output. Use boilerplate
21335 macros. Remove some extraneous words from docs.
21337 2005-11-05 Andy Wingo <wingo@pobox.com>
21339 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21342 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21344 * docs/gst/gstreamer-sections.txt:
21347 * gst/gstminiobject.h:
21352 2005-11-04 Wim Taymans <wim@fluendo.com>
21354 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21355 Small update to stop at the configured segment_end
21358 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21360 * gst/gstregistry.c:
21361 * gst/gstregistry.h:
21364 2005-11-04 Edward Hervey <edward@fluendo.com>
21366 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21367 Check if we are doing a segment seek and have arrived at the
21368 end of that segment.
21370 2005-11-04 Wim Taymans <wim@fluendo.com>
21372 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21373 Don't leak a mutex unlock in case of an error.
21378 2005-11-04 Wim Taymans <wim@fluendo.com>
21380 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21382 Get the context to wake up only once.
21384 2005-11-03 Wim Taymans <wim@fluendo.com>
21386 * check/states/sinks.c: (GST_START_TEST):
21387 Uncomment fixed check.
21389 * docs/design/part-TODO.txt:
21392 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21393 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21394 (gst_base_sink_get_position):
21395 If we are going to PLAYING, post the right pending state
21396 when we post the intermediate paused message.
21398 * gst/gstelement.c: (gst_element_continue_state),
21399 (gst_element_set_state_func), (gst_element_change_state):
21400 Don't post state changes that were between the same state
21401 and were not ASYNC.
21403 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21405 * docs/gst/gstreamer-sections.txt:
21408 * gst/gstminiobject.h:
21411 more docs and doc style fixes
21413 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21415 * docs/gst/gstreamer-sections.txt:
21416 * gst/gstelement.c:
21417 * gst/gstminiobject.c:
21420 2005-11-03 Andy Wingo <wingo@pobox.com>
21422 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21423 state-changed messages actually have the right order and the right
21426 2005-11-03 Wim Taymans <wim@fluendo.com>
21428 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21429 Added some more checks. Specifically the case where NO_PREROLL
21430 elements are in the pipeline.
21432 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21433 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21434 (gst_base_sink_get_position):
21435 Post READY->PAUSED state change messages too.
21436 Fix bug where VOID was posted as pending state...
21438 * gst/gstbin.c: (gst_bin_recalc_state):
21439 use _element_continue_state() to continue the state change.
21441 * gst/gstelement.c: (gst_element_continue_state),
21442 (gst_element_commit_state), (gst_element_set_state_func),
21443 (gst_element_change_state), (gst_element_change_state_func):
21444 Lots of state change cleanups, assign the STATE_RETURN in
21445 a new continue_state() function that also propagates the
21446 last return value from a state change to the app.
21447 Update some debug statements with proper category.
21449 2005-11-03 Wim Taymans <wim@fluendo.com>
21451 * docs/design/part-events.txt:
21452 * docs/design/part-gstpipeline.txt:
21453 * docs/design/part-messages.txt:
21454 * docs/design/part-overview.txt:
21455 * docs/design/part-seeking.txt:
21456 * docs/design/part-states.txt:
21457 * docs/design/part-trickmodes.txt:
21458 * docs/manual/advanced-position.xml:
21459 Small docs updates.
21462 People think !! is ugly, this looks better.
21464 * gst/gstpad.c: (gst_pad_set_blocked_async):
21465 Remove !! since it's fixed elsewhere now.
21467 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21469 * gst/gstminiobject.h:
21471 Add !! to _FLAG_IS_SET macros to make the result boolean.
21473 2005-11-03 Edward Hervey <edward@fluendo.com>
21475 * gst/gstpad.c: (gst_pad_set_blocked_async):
21476 comparing a flag and a gboolean rarely returns coherent results...
21477 Added two characters (!!) to make that work correctly.
21479 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21481 * gst/gstbus.c: (gst_bus_class_init):
21484 * gst/gstqueue.c: (gst_queue_loop):
21485 Don't assume a miniobject that isn't a buffer is an
21486 event (it could be that there is a refcounting
21487 problem somewhere and the pointer is stale and
21488 refers to an already destroyed miniobject).
21490 2005-11-03 Julien MOUTTE <julien@moutte.net>
21492 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21494 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21496 * docs/manual/advanced-position.xml:
21497 Update seek example and explanations to current 0.9 API.
21499 * gst/elements/gsttypefindelement.c:
21500 (gst_type_find_element_activate):
21501 Remove FIXME comment now that the found caps
21504 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21506 * gst/gstregistryxml.c: (load_feature):
21507 Add another GST_STR_NULL instance
21509 2005-11-02 Edward Hervey <edward@fluendo.com>
21511 * gst/gstpad.c: (handle_pad_block):
21512 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21514 2005-11-02 Wim Taymans <wim@fluendo.com>
21519 * gst/gstelement.c: (gst_element_commit_state):
21520 Remove unused value.
21522 * gst/gstiterator.c:
21523 Mention that the returned element is reffed in the docs.
21525 2005-11-02 Wim Taymans <wim@fluendo.com>
21527 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21528 (gst_pad_push), (gst_pad_push_event):
21529 Unlock blocked pads when they are flushed.
21531 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21534 * docs/gst/gstreamer-sections.txt:
21537 * gst/gstregistry.c: (gst_registry_scan_path_level):
21538 fix for a nasty little missed situation where an installed plug-in
21539 which was in the cache did not get overridden by an uninstalled one
21540 which was earlier in the plugin path because the newly created plugin
21541 for the uninstalled one (not in the registry) didn't get its
21542 ->registered set to TRUE
21544 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21546 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21547 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21548 (gst_collectpads_is_active), (gst_collectpads_collect),
21549 (gst_collectpads_collect_range), (gst_collectpads_start),
21550 (gst_collectpads_stop), (gst_collectpads_peek),
21551 (gst_collectpads_pop), (gst_collectpads_available),
21552 (gst_collectpads_read), (gst_collectpads_flush):
21553 Guard public API with assertions.
21556 Fix docs for gst_pad_set_link_function().
21558 2005-11-02 Johan Dahlin <johan@gnome.org>
21560 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21561 Unref found_caps after we used it.
21563 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21565 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21566 Don't try to ref NULL.
21568 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21570 * win32/common/config.h.in:
21571 provide a GST_FUNCTION that just gives a string for now
21573 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21575 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21576 (gst_object_flags_get_type), (register_gst_bin_flags),
21577 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21578 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21579 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21580 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21581 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21582 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21583 (gst_clock_flags_get_type), (register_gst_state),
21584 (gst_state_get_type), (register_gst_state_change_return),
21585 (gst_state_change_return_get_type), (register_gst_state_change),
21586 (gst_state_change_get_type), (register_gst_element_flags),
21587 (gst_element_flags_get_type), (register_gst_core_error),
21588 (gst_core_error_get_type), (register_gst_library_error),
21589 (gst_library_error_get_type), (register_gst_resource_error),
21590 (gst_resource_error_get_type), (register_gst_stream_error),
21591 (gst_stream_error_get_type), (register_gst_event_type),
21592 (gst_event_type_get_type), (register_gst_seek_type),
21593 (gst_seek_type_get_type), (register_gst_seek_flags),
21594 (gst_seek_flags_get_type), (register_gst_format),
21595 (gst_format_get_type), (register_gst_index_certainty),
21596 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21597 (gst_index_entry_type_get_type),
21598 (register_gst_index_lookup_method),
21599 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21600 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21601 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21602 (gst_index_flags_get_type), (register_gst_debug_level),
21603 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21604 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21605 (gst_iterator_result_get_type), (register_gst_iterator_item),
21606 (gst_iterator_item_get_type), (register_gst_message_type),
21607 (gst_message_type_get_type), (register_gst_mini_object_flags),
21608 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21609 (gst_pad_link_return_get_type), (register_gst_flow_return),
21610 (gst_flow_return_get_type), (register_gst_activate_mode),
21611 (gst_activate_mode_get_type), (register_gst_pad_direction),
21612 (gst_pad_direction_get_type), (register_gst_pad_flags),
21613 (gst_pad_flags_get_type), (register_gst_pad_presence),
21614 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21615 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21616 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21617 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21618 (gst_plugin_flags_get_type), (register_gst_rank),
21619 (gst_rank_get_type), (register_gst_query_type),
21620 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21621 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21622 (gst_tag_flag_get_type), (register_gst_task_state),
21623 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21624 (gst_alloc_trace_flags_get_type),
21625 (register_gst_type_find_probability),
21626 (gst_type_find_probability_get_type), (register_gst_uri_type),
21627 (gst_uri_type_get_type), (register_gst_parse_error),
21628 (gst_parse_error_get_type):
21629 * win32/common/gstversion.h:
21630 update win32 copies
21632 2005-11-01 Luca Ognibene <luogni@tin.it>
21635 fix docs. popt is dead, long live GOption.
21637 2005-10-31 Wim Taymans <wim@fluendo.com>
21642 2005-10-31 Andy Wingo <wingo@pobox.com>
21646 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21648 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21649 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21650 the possibility of deadlocks here if code calling notify() or
21651 set() has a lock that can be taken in another notify handler (ABBA
21652 with class lock and e.g. python GIL state lock).
21654 2005-10-28 Julien MOUTTE <julien@moutte.net>
21656 * gst/gstbus.c: Doc updates.
21658 2005-10-28 Wim Taymans <wim@fluendo.com>
21660 * docs/design/part-TODO.txt:
21661 * gst/gstiterator.c:
21662 * gst/gstsystemclock.c:
21663 * gst/gstsystemclock.h:
21666 2005-10-28 Edward Hervey <edward@fluendo.com>
21668 * docs/gst/gstreamer-docs.sgml:
21669 * docs/gst/gstreamer-sections.txt:
21670 the GstURIType documentation page is private, it only defines GstURIType
21671 which should be defined in the GstURIHandler page
21673 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21675 * gst/gstbin.c: (gst_bin_class_init):
21678 Documentation updates.
21680 2005-10-28 Wim Taymans <wim@fluendo.com>
21682 * docs/gst/gstreamer-sections.txt:
21685 Documented the clocks.
21687 2005-10-28 Stefan Kost <ensonic@users.sf.net>
21689 * docs/gst/gstreamer-sections.txt:
21690 move some macros to private sections
21691 * gst/gstminiobject.c:
21692 * gst/gstminiobject.h:
21693 add descriptions provided by ds and some more
21695 mark macro as to be removed
21697 2005-10-28 Wim Taymans <wim@fluendo.com>
21699 * docs/design/part-TODO.txt:
21700 Add an item to TODO.
21702 * gst/gstiterator.c: (gst_iterator_fold),
21703 (gst_iterator_find_custom):
21704 * gst/gstiterator.h:
21707 2005-10-28 Wim Taymans <wim@fluendo.com>
21709 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21710 (gst_base_transform_init):
21713 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21714 An EOS event marks the queue as completely filled.
21716 2005-10-27 Wim Taymans <wim@fluendo.com>
21718 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21719 (gst_base_sink_do_sync), (gst_base_sink_get_position):
21720 Some more debugging.
21722 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21723 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21724 (gst_base_transform_event), (gst_base_transform_getrange),
21725 (gst_base_transform_chain):
21726 * gst/base/gstbasetransform.h:
21728 Protect transform and concurrent buffer alloc with a new lock.
21729 Try not to break ABI/API.
21731 2005-10-27 Wim Taymans <wim@fluendo.com>
21733 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21734 (gst_base_src_init), (gst_base_src_query),
21735 (gst_base_src_default_newsegment),
21736 (gst_base_src_configure_segment), (gst_base_src_do_seek),
21737 (gst_base_src_send_event), (gst_base_src_event_handler),
21738 (gst_base_src_pad_get_range), (gst_base_src_loop),
21739 (gst_base_src_unlock), (gst_base_src_default_negotiate),
21740 (gst_base_src_start), (gst_base_src_deactivate),
21741 (gst_base_src_activate_push), (gst_base_src_change_state):
21742 Move some stuff around and cleanup things.
21744 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
21746 * gst/base/gstbasesrc.c: (gst_base_src_query):
21747 Add missing break statements.
21749 2005-10-27 Wim Taymans <wim@fluendo.com>
21751 * check/gst/gstbin.c: (GST_START_TEST):
21752 An extra refcount is taken in basesrc.
21754 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21755 (gst_base_src_get_range), (gst_base_src_pad_get_range),
21756 (gst_base_src_loop):
21757 Small cleanups, check for flushing after being unlocked from the
21758 LIVE_LOCK. take refcounts correctly (not yet everywhere).
21759 Don't send out EOS when going to READY.
21761 2005-10-27 Wim Taymans <wim@fluendo.com>
21763 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21764 (gst_base_sink_get_position):
21767 * gst/gstbin.c: (message_check), (bin_replace_message),
21768 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21769 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21770 (bin_query_duration_init), (bin_query_duration_fold),
21771 (bin_query_duration_done), (bin_query_generic_fold),
21773 * tools/gst-launch.c: (main):
21776 2005-10-26 Stefan Kost <ensonic@users.sf.net>
21778 * examples/controller/audio-example.c: (main):
21779 * examples/queue/queue.c: (event_loop):
21780 * gst/base/gstbasetransform.h:
21781 * gst/gstelement.c: (gst_element_send_event):
21783 * gst/gstpad.c: (gst_pad_send_event):
21786 changing log priority in error situations
21788 2005-10-25 Wim Taymans <wim@fluendo.com>
21790 * gst/gstbin.c: (message_check), (bin_replace_message),
21791 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21792 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21793 (bin_query_duration_init), (bin_query_duration_fold),
21794 (bin_query_duration_done), (bin_query_generic_fold),
21796 Some doc and debug updates.
21797 Cache previously requested query DURATION for speed. invalidate
21798 cached duration if element posts a DURATION message.
21800 2005-10-25 Wim Taymans <wim@fluendo.com>
21802 * docs/design/part-TODO.txt:
21805 * gst/gstbin.c: (message_check), (bin_replace_message),
21806 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21807 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21808 (bin_query_duration_init), (bin_query_duration_fold),
21809 (bin_query_duration_done), (bin_query_generic_fold),
21811 Handle SEGMENT_START/DONE messages correctly.
21812 More evolved query algorithm that handles duration queries
21815 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
21816 (gst_element_get_state_func), (gst_element_abort_state),
21817 (gst_element_commit_state), (gst_element_lost_state):
21818 Some more debugging.
21820 * gst/gstmessage.h:
21823 2005-10-25 Wim Taymans <wim@fluendo.com>
21825 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21826 Don't use invalid stream_time.
21828 * gst/gstevent.c: (gst_event_new_newsegment):
21829 stream_time in newsegment cannot be undefined.
21831 2005-10-24 Wim Taymans <wim@fluendo.com>
21836 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21838 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21840 2005-10-24 Stefan Kost <ensonic@users.sf.net>
21842 * docs/libs/tmpl/gstdparam.sgml:
21843 * docs/libs/tmpl/gstdplinint.sgml:
21844 * docs/libs/tmpl/gstdpman.sgml:
21845 * docs/libs/tmpl/gstdpsmooth.sgml:
21846 * docs/libs/tmpl/gstunitconvert.sgml:
21849 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
21854 === release 0.9.4 ===
21856 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21859 releasing 0.9.4, "Tyrannosaurus Rex"
21861 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
21863 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21864 (gst_file_sink_get_current_offset):
21865 Use fseeko() and ftello() if available. When falling back on
21866 lseek() to get the current offset, fflush() first to make sure
21867 everything is up-to-date and we get the right offset.
21869 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21871 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21872 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21873 * gst/gsterror.c: (_gst_stream_errors_init):
21875 * gst/gstqueue.c: (gst_queue_loop):
21877 remove prematurely added error category and clean up the instances
21879 2005-10-21 Wim Taymans <wim@fluendo.com>
21881 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21882 (gst_base_sink_get_position), (gst_base_sink_query),
21883 (gst_base_sink_change_state):
21884 Simply set the right flag when going to playing, that's all
21885 we need to do instead of calling a function inside the object
21886 lock (that could take the lock as well and deadlock)
21888 2005-10-21 Wim Taymans <wim@fluendo.com>
21890 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
21891 (gst_base_src_loop):
21892 Don't warn, the peer element knows what to do best when
21893 the seek failed, it might try something else.
21895 2005-10-21 Wim Taymans <wim@fluendo.com>
21897 * gst/base/gstbasesrc.c: (gst_base_src_init),
21898 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21901 2005-10-21 Wim Taymans <wim@fluendo.com>
21903 * docs/design/part-segments.txt:
21906 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
21907 Correctly set caps, even on the subbufer.
21909 2005-10-21 Wim Taymans <wim@fluendo.com>
21911 * docs/gst/gstreamer-docs.sgml:
21912 * docs/gst/gstreamer-sections.txt:
21913 * gst/gstelement.h:
21916 * gst/gstmessage.h:
21919 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
21923 And 2% more doc coverage.
21925 2005-10-21 Andy Wingo <wingo@pobox.com>
21927 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
21928 position reporting.
21930 2005-10-20 Wim Taymans <wim@fluendo.com>
21932 * gst/gsterror.c: (gst_error_get_message):
21935 * gst/gststructure.c:
21940 2005-10-20 Wim Taymans <wim@fluendo.com>
21945 Another 1% more coverage.
21947 2005-10-20 Wim Taymans <wim@fluendo.com>
21949 * docs/gst/gstreamer-sections.txt:
21950 * gst/gstelement.c: (gst_element_get_state_func),
21951 (gst_element_abort_state), (gst_element_commit_state),
21952 (gst_element_lost_state):
21954 * gst/gstquery.c: (gst_query_set_position),
21955 (gst_query_parse_position), (gst_query_set_duration),
21956 (gst_query_parse_duration), (gst_query_new_convert):
21958 Yay! 1% more docs coverage.
21960 2005-10-20 Wim Taymans <wim@fluendo.com>
21963 * gst/gstquery.c: (gst_query_set_position),
21964 (gst_query_parse_position), (gst_query_set_duration),
21965 (gst_query_parse_duration), (gst_query_new_convert):
21967 * gst/gstutils.c: (gst_element_query_convert):
21969 Docs and consistency fixes.
21971 2005-10-20 Wim Taymans <wim@fluendo.com>
21977 2005-10-20 Wim Taymans <wim@fluendo.com>
21979 * gst/gstbin.c: (message_check), (bin_replace_message),
21980 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21981 (update_degree), (gst_bin_sort_iterator_next),
21982 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
21983 Reworked the message handling a bit, cache the messages instead of
21984 only the senders. alows us to do more in the future.
21986 2005-10-20 Wim Taymans <wim@fluendo.com>
21988 * docs/design/part-TODO.txt:
21991 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
21992 (gst_base_sink_query):
21993 Don't use clock time to report position when in EOS.
21995 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
21997 * tools/gst-inspect.c: (print_interfaces),
21998 (print_element_properties_info), (print_element_info):
21999 Fix interface output with gst-inspect -a; don't print
22000 newlines after double/float properties.
22002 2005-10-20 Wim Taymans <wim@fluendo.com>
22004 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22005 (gst_base_sink_query):
22006 Speed up current position calculation.
22008 * gst/base/gstbasesrc.c: (gst_base_src_query),
22009 (gst_base_src_default_newsegment):
22010 Correctly set stream position in newsegment.
22012 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22013 (update_degree), (gst_bin_sort_iterator_next),
22014 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22015 * gst/gstmessage.c: (gst_message_new_custom):
22016 Clean up debugging info
22018 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22019 (gst_queue_loop), (gst_queue_handle_src_query):
22022 2005-10-19 Wim Taymans <wim@fluendo.com>
22024 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22025 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22026 Fix query handling again.
22028 2005-10-19 Wim Taymans <wim@fluendo.com>
22030 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22031 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22032 * gst/base/gstbasesrc.c: (gst_base_src_query):
22033 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22034 * gst/elements/gsttypefindelement.c:
22035 (gst_type_find_handle_src_query), (find_element_get_length),
22036 (gst_type_find_element_activate):
22039 * gst/gstquery.c: (gst_query_new_position),
22040 (gst_query_set_position), (gst_query_parse_position),
22041 (gst_query_new_duration), (gst_query_set_duration),
22042 (gst_query_parse_duration), (gst_query_set_segment),
22043 (gst_query_parse_segment):
22045 Bundling query position/duration is not a good idea since duration
22046 does not change much and we don't want to recalculate it for every
22047 position query, so they are separated again..
22048 Base value in segment query is not needed.
22050 * gst/gstqueue.c: (gst_queue_handle_src_query):
22051 * gst/gstutils.c: (gst_element_query_position),
22052 (gst_element_query_duration), (gst_pad_query_position),
22053 (gst_pad_query_duration):
22055 Updates for query API change.
22056 Added some docs here and there.
22058 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22060 * check/gst/gstbin.c: (GST_START_TEST):
22061 * check/gst/gstghostpad.c: (GST_START_TEST):
22062 * check/pipelines/cleanup.c: (GST_START_TEST):
22063 wait on thread to die so we can check refcount correctly
22065 2005-10-18 Wim Taymans <wim@fluendo.com>
22067 * check/pipelines/stress.c: (GST_START_TEST):
22068 Make check a little more time consuming.
22070 2005-10-18 Wim Taymans <wim@fluendo.com>
22072 * check/Makefile.am:
22073 * check/pipelines/stress.c: (GST_START_TEST),
22074 (simple_launch_lines_suite), (main):
22075 Small state change torture test.
22077 * docs/design/part-states.txt:
22078 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22079 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22080 (gst_base_sink_change_state):
22081 Never take state lock from streaming thread, clean up ugly
22082 hacks. Unfortunatly core does not yet support nice ways to
22083 async commit state.
22085 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22087 Start state recalc if a STATE_DIRTY message is posted, but only
22088 on the toplevel bin.
22090 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22091 (gst_element_get_state_func), (gst_element_abort_state),
22092 (gst_element_commit_state), (gst_element_lost_state),
22093 (gst_element_set_state_func), (gst_element_change_state):
22094 * gst/gstelement.h:
22095 State variables are now protected with the LOCK, the state
22096 lock is only used to serialize _set_state().
22098 2005-10-18 Wim Taymans <wim@fluendo.com>
22100 * check/gst/gstbin.c: (GST_START_TEST):
22101 * check/gst/gstmessage.c: (GST_START_TEST):
22102 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22103 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22105 * gst/gstelement.c: (gst_element_abort_state),
22106 (gst_element_commit_state), (gst_element_lost_state):
22107 * gst/gstmessage.c: (gst_message_new_state_changed),
22108 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22109 (gst_message_new_segment_done), (gst_message_new_duration),
22110 (gst_message_parse_state_changed),
22111 (gst_message_parse_segment_start),
22112 (gst_message_parse_segment_done), (gst_message_parse_duration):
22113 * gst/gstmessage.h:
22114 * tools/gst-launch.c: (event_loop):
22115 Seriously, this is better than a previous commit as we only need
22116 to notify the fact that an element changed state in a streaming
22117 thread, marking the state of the parents dirty, hence the
22118 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22121 2005-10-18 Wim Taymans <wim@fluendo.com>
22123 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22124 (gst_bin_recalc_func):
22125 * gst/gstelement.c: (gst_element_set_clock),
22126 (gst_element_abort_state), (gst_element_lost_state):
22127 Cleanups, prepare for state change fixes.
22129 2005-10-18 Wim Taymans <wim@fluendo.com>
22132 * gst/gstelement.c: (gst_element_class_init),
22133 (gst_element_set_state), (gst_element_set_state_func):
22134 * gst/gstelement.h:
22135 Pending ABI changes.
22136 GThreadPool in GstBinClass to monitor async state changes.
22137 state_cookie in GstElement to detect concurrent gst/set state.
22138 set_state is now virtual too in case a very complicated element
22139 has to be constructed.
22141 2005-10-18 Wim Taymans <wim@fluendo.com>
22143 * check/gst/gstbin.c: (GST_START_TEST):
22144 * check/gst/gstmessage.c: (GST_START_TEST):
22145 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22146 * gst/gstbin.c: (bin_bus_handler):
22147 * gst/gstelement.c: (gst_element_commit_state),
22148 (gst_element_lost_state):
22149 * gst/gstmessage.c: (gst_message_new_state_changed),
22150 (gst_message_new_segment_start), (gst_message_new_segment_done),
22151 (gst_message_new_duration), (gst_message_parse_state_changed),
22152 (gst_message_parse_segment_start),
22153 (gst_message_parse_segment_done), (gst_message_parse_duration):
22154 * gst/gstmessage.h:
22155 * tools/gst-launch.c: (event_loop):
22156 Make messages future proof.
22157 state-change gets a flag if it was a message comming from the
22159 segment-start/stop can also be specified in other formats.
22160 A message to notify an app that a pipeline changed playback
22162 Also fix a GstMessage leak in -launch
22164 2005-10-18 Andy Wingo <wingo@pobox.com>
22166 * gst/gstelement.c (gst_element_dispose): More helpful message.
22168 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22170 reviewed by: <delete if not using a buddy>
22172 * common/gtk-doc.mak:
22174 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22176 * gst/gstregistry.c: (gst_registry_scan_path_level):
22177 unref a plug-in we get that was already initialized
22179 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22181 * docs/gst/gstreamer-sections.txt:
22182 * docs/libs/gstreamer-libs-sections.txt:
22183 * gst/gstelement.h:
22184 add new api entries
22185 hide internal macro
22187 2005-10-17 Andy Wingo <wingo@pobox.com>
22189 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22192 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22194 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22196 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22197 (gst_element_get_state_func): Better debug message.
22198 (gst_element_commit_state): s/INFO/DEBUG/.
22199 (gst_element_lost_state, gst_element_change_state):
22201 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22202 (gst_message_new_custom): s/INFO/LOG/.
22204 2005-10-17 Michael Smith <msmith@fluendo.com>
22206 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22207 Check if end time is valid using end time, not start time.
22209 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22211 * check/gst-libs/controller.c: (GST_START_TEST),
22212 (gst_controller_suite):
22213 * libs/gst/controller/gstcontroller.c:
22214 (gst_controlled_property_set_interpolation_mode):
22215 * libs/gst/controller/gstcontroller.h:
22216 * libs/gst/controller/gstinterpolation.c:
22217 * testsuite/controller/.cvsignore:
22218 * testsuite/controller/Makefile.am:
22219 * testsuite/controller/interpolator.c:
22220 merge controller testsuites
22222 remove mem-chunk from docs
22224 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22226 * gst/gstmemchunk.c:
22227 * gst/gstmemchunk.h:
22228 * gst/gsttrashstack.c:
22229 * gst/gsttrashstack.h:
22230 out. get out. you're fired. to the Attic !
22232 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22234 * gst/gstcaps.c: (gst_caps_intersect):
22235 fix signedness issues in a (hopefully) correct way
22236 * gst/gstelement.c: (gst_element_pads_activate):
22238 * gst/gstobject.c: (gst_object_set_parent):
22241 2005-10-17 Julien MOUTTE <julien@moutte.net>
22243 * gst/gstvalue.h: Fix prototypes.
22245 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22247 * docs/gst/gstreamer-sections.txt:
22248 * gst/gst.c: (gst_version_string):
22250 * gst/gstversion.h.in:
22251 * win32/common/libgstreamer.def:
22252 add gst_version_string ()
22254 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22258 * gst/gst.c: (init_post):
22259 * win32/common/config.h.in:
22261 * gst/gstcaps.c: (gst_caps_intersect):
22262 use gint64, the range could be bigger than a guint
22264 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22267 document potential problem in 2038
22269 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22271 * gst/gstcaps.c: (gst_caps_intersect):
22272 Fix guint j diving under 0
22274 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22277 * win32/common/config.h:
22278 * win32/common/config.h.in:
22279 check for process.h, declares getpid() on Windows
22281 include process.h if we have it
22282 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22283 * gst/gstmemchunk.h:
22284 fix signedness issues
22285 * win32/common/libgstreamer.def:
22288 2005-10-16 Julien MOUTTE <julien@moutte.net>
22290 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22291 fix. Because of unsigned ints, caps intersection was going nuts and
22292 trying to access structures with G_MAXUINT index. That fixes
22293 videotestsrc ! ffmpegcolorspace ! fakesink
22294 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22297 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22300 use the gettext macro
22301 * gst/elements/gstelements.c:
22303 * gst/indexers/gstindexers.c:
22304 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22305 * win32/common/config.h:
22307 * win32/common/config.h.in:
22308 add the template to generate config.h
22309 * win32/common/gstenumtypes.c:
22310 * win32/common/gstversion.h:
22313 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22315 * gst/gst.c: (gst_version):
22316 * gst/gstversion.h.in:
22319 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22322 Oops, add missing closing bracket.
22324 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22327 use common m4's for argument checking
22329 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22331 * docs/gst/gstreamer-sections.txt:
22333 Add GST_EVENT_TYPE_NAME() macro.
22335 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22338 * gst/gstpluginfeature.c:
22340 privatize more symbols
22342 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22345 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22346 everything that uses GStreamer API should have the includes
22348 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22350 * docs/gst/gstreamer-sections.txt:
22351 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22353 give each value a _get_type, removes the DATA exports
22355 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22359 remove _gst_registry_auto_load, not used anymore
22360 * gst/gstbin.c: (gst_bin_get_type):
22362 * gst/gstelement.c: (gst_element_get_type):
22363 * gst/gstelement.h:
22364 * gst/gstobject.c: (gst_object_get_type):
22366 * gst/gstpad.c: (gst_pad_get_type):
22368 make _get_type functions similar, fixes data export from library
22370 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22373 correctly make conditionals
22374 * gst/elements/Makefile.am:
22375 * gst/elements/gstelements.c:
22376 fix typo causing fdsrc not to build
22378 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22380 * testsuite/Makefile.am:
22381 * testsuite/bytestream/.cvsignore:
22382 * testsuite/bytestream/Makefile.am:
22383 * testsuite/bytestream/filepadsink.c:
22384 * testsuite/bytestream/gstbstest.c:
22385 * testsuite/bytestream/test1.c:
22386 * testsuite/bytestream/testfile1:
22387 * testsuite/caps/normalisation.c:
22388 * testsuite/caps/random.c: (main):
22389 * testsuite/cleanup/.cvsignore:
22390 * testsuite/cleanup/Makefile.am:
22391 * testsuite/cleanup/cleanup1.c:
22392 * testsuite/cleanup/cleanup2.c:
22393 * testsuite/cleanup/cleanup3.c:
22394 * testsuite/cleanup/cleanup4.c:
22395 * testsuite/cleanup/cleanup5.c:
22396 * testsuite/controller/interpolator.c:
22397 * testsuite/debug/printf_extension.c: (main):
22398 * testsuite/elements/tee.c:
22399 * testsuite/negotiation/.cvsignore:
22400 * testsuite/negotiation/Makefile.am:
22401 * testsuite/negotiation/pad_link.c:
22402 * testsuite/pad/Makefile.am:
22403 * testsuite/pad/chainnopull.c:
22404 * testsuite/pad/getnopush.c:
22405 * testsuite/pad/link.c:
22406 * testsuite/refcounting/sched.c: (create_pipeline):
22407 * testsuite/registry/Makefile.am:
22408 * testsuite/registry/gst-print-formats.c:
22409 * testsuite/schedulers/.cvsignore:
22410 * testsuite/schedulers/142183-2.c:
22411 * testsuite/schedulers/142183.c:
22412 * testsuite/schedulers/143777-2.c:
22413 * testsuite/schedulers/143777.c:
22414 * testsuite/schedulers/147713.c:
22415 * testsuite/schedulers/147819.c:
22416 * testsuite/schedulers/147894-2.c:
22417 * testsuite/schedulers/147894.c:
22418 * testsuite/schedulers/Makefile.am:
22419 * testsuite/schedulers/group_link.c:
22420 * testsuite/schedulers/queue_link.c:
22421 * testsuite/schedulers/relink.c:
22422 * testsuite/schedulers/unlink.c:
22423 * testsuite/schedulers/unref.c:
22424 * testsuite/schedulers/useless_iteration.c:
22425 * testsuite/states/bin.c:
22426 clean out/remove some stuff from the testsuite directories
22428 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22431 check for some headers
22432 * gst/elements/Makefile.am:
22433 * gst/elements/gstelements.c:
22434 don't compile fdsrc without sys/socket.h
22435 * gst/indexers/Makefile.am:
22436 * gst/indexers/gstindexers.c: (plugin_init):
22437 don't compile fileindex without mmap
22439 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22446 * check/Makefile.am:
22447 * docs/gst/Makefile.am:
22448 * examples/helloworld/Makefile.am:
22450 * gst/base/Makefile.am:
22451 * gst/check/Makefile.am:
22452 * gst/elements/Makefile.am:
22453 * gst/indexers/Makefile.am:
22454 * gst/parse/Makefile.am:
22455 * libs/gst/controller/Makefile.am:
22456 * libs/gst/dataprotocol/Makefile.am:
22457 * examples/helloworld/helloworld.c: (event_loop):
22458 compile fixes, though it's not being compiled currently
22460 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22462 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22463 Add some simple tests for the new taglist date API.
22465 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22467 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22468 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22469 Beautify 'last-message' output: print 'none' for buffer timestamps
22470 and durations if none is set; improve alignment with next messages.
22472 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22474 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22475 * gst/gstpluginfeature.h:
22476 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22477 * gst/gstregistry.h:
22478 * docs/gst/gstreamer-sections.txt:
22479 Add new API to check plugin feature version requirements.
22481 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22482 Some basic tests for the above.
22484 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22486 * gst/gststructure.c: (gst_structure_to_string):
22487 guard against NULL printf - happens when for example
22488 a message structure with GstClock gets serialized
22490 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22492 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22493 Fix presumable copy'n'pasto.
22495 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22497 * gst/elements/gstfakesrc.h:
22498 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22499 * gst/elements/gsttypefindelement.c:
22500 fix some signedness
22501 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22502 I wonder if this could actually write +2GB files before
22504 2005-10-13 Andy Wingo <wingo@pobox.com>
22506 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22507 Fix Timmeke Waymans bug.
22508 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22509 string of the proper length to gst_caps_from_string. There's a
22510 potential for, before this fix, that this could cause someone
22511 connecting over the network to cause a segfault if the payload is
22512 not NUL-terminated.
22514 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22516 * docs/design/draft-push-pull.txt:
22517 * docs/design/part-overview.txt:
22518 * docs/random/TODO-pre-0.9:
22519 * docs/random/old/ChangeLog.gstreamer:
22520 * gst/base/gstpushsrc.c:
22524 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22526 * gst/glib-compat.c: (gst_flags_get_first_value):
22527 * gst/glib-compat.h:
22528 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22529 (gst_value_compare_double), (gst_value_serialize_flags):
22530 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22533 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22535 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22536 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22538 * tools/gst-launch.c: (event_loop):
22539 print out clock nicely
22541 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22543 * docs/gst/gstreamer-sections.txt:
22544 * gst/gsttaglist.h:
22545 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22546 (gst_tag_list_get_date_index):
22547 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22548 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22550 2005-10-13 Julien MOUTTE <julien@moutte.net>
22552 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22553 (gst_collectpads_chain):
22554 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22557 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22559 * docs/gst/gstreamer-sections.txt:
22562 * tools/gst-inspect.c: (main):
22563 * tools/gst-launch.c: (main):
22564 * tools/gst-run.c: (main):
22565 * tools/gst-xmlinspect.c: (main):
22566 fix GOption context leaks
22569 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22573 * win32/common/config.h:
22575 * win32/vs6/grammar.dsp:
22576 * win32/vs6/libgstelements.dsp:
22577 * win32/vs6/libgstreamer.dsp:
22580 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22582 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22583 * gst/base/gstbasesrc.c: (gst_base_src_query):
22584 fix more guint64<->gdouble conversions
22586 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22589 add win32-update target
22590 * win32/common/gstconfig.h:
22591 * win32/common/gstenumtypes.c:
22592 * win32/common/gstenumtypes.h:
22593 * win32/common/gstversion.h:
22594 add files that visual studio can't generate
22596 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22599 add a win32-update target
22602 2005-10-12 Wim Taymans <wim@fluendo.com>
22604 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22605 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22606 * gst/gstelement.c: (gst_element_commit_state),
22607 (gst_element_set_state):
22608 Protect flags with proper lock.
22609 unref provided cached clock in dispose.
22611 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22614 * gst/gstminiobject.h:
22616 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22617 removed unused flags from miniobject
22620 2005-10-12 Wim Taymans <wim@fluendo.com>
22622 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22623 (gst_file_sink_event), (gst_file_sink_render):
22624 Flush before seeking.
22626 2005-10-12 Andy Wingo <wingo@pobox.com>
22628 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22629 always been the case.
22631 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22633 * check/gst/gstbin.c: (GST_START_TEST):
22634 * docs/gst/gstreamer-sections.txt:
22635 * gst/base/gstbasesink.c: (gst_base_sink_init):
22636 * gst/base/gstbasesrc.c: (gst_base_src_init),
22637 (gst_base_src_get_range), (gst_base_src_check_get_range),
22638 (gst_base_src_start), (gst_base_src_stop):
22639 * gst/base/gstbasesrc.h:
22640 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22641 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22642 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22646 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22648 * gst/gstelement.c: (gst_element_is_locked_state),
22649 (gst_element_set_locked_state), (gst_element_commit_state),
22650 (gst_element_set_state):
22651 * gst/gstelement.h:
22652 * gst/gstindex.c: (gst_index_init):
22654 * gst/gstminiobject.h:
22655 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22656 (gst_object_set_parent):
22658 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22659 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22661 * gst/gstpadtemplate.h:
22662 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22663 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22664 * gst/gstpipeline.h:
22665 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22666 (gst_file_index_commit):
22667 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22668 * testsuite/pad/link.c: (gst_test_src_init),
22669 (gst_test_filter_init), (gst_test_sink_init):
22670 * testsuite/states/locked.c: (main):
22671 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22672 moved bitshift from macro to enum definition
22674 2005-10-12 Wim Taymans <wim@fluendo.com>
22676 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22677 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22678 (gst_file_sink_render):
22679 Some more debugging info.
22681 2005-10-12 Wim Taymans <wim@fluendo.com>
22683 * docs/design/part-states.txt:
22684 * tools/gst-launch.c: (main):
22686 Revert non-intentional change.
22688 2005-10-12 Wim Taymans <wim@fluendo.com>
22690 * check/gst/gstbin.c: (GST_START_TEST):
22691 * check/gst/gstelement.c: (GST_START_TEST):
22692 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22693 * check/gst/gstghostpad.c: (GST_START_TEST):
22694 * check/gst/gstpipeline.c: (GST_START_TEST):
22695 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22696 * check/states/sinks.c: (GST_START_TEST):
22697 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22698 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22699 (gst_bin_remove_func), (gst_bin_get_state_func),
22700 (gst_bin_recalc_state), (gst_bin_change_state_func),
22702 * gst/gstelement.c: (gst_element_get_state_func),
22703 (gst_element_get_state), (gst_element_abort_state),
22704 (gst_element_commit_state), (gst_element_set_state),
22705 (gst_element_change_state), (gst_element_change_state_func):
22706 * gst/gstelement.h:
22707 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22708 (gst_pipeline_provide_clock_func):
22709 * gst/gstutils.c: (gst_element_link_pads_filtered):
22710 * tools/gst-launch.c: (main):
22711 * tools/gst-typefind.c: (main):
22712 Use GstClockTime in _get_state() instead of GTimeVal.
22713 Remove old code in gstutils.c
22715 2005-10-12 Andy Wingo <wingo@pobox.com>
22717 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22720 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22721 there is no task. Shouldn't affect any code, as nothing in our
22722 plugins checks this return value.
22723 (gst_pad_stop_task): Also take the stream lock if the pad has no
22724 task. Docs updated.
22726 2005-10-12 Wim Taymans <wim@fluendo.com>
22728 * gst/gstpad.c: (pre_activate), (post_activate),
22729 (gst_pad_activate_pull), (gst_pad_activate_push):
22730 Cleanup activation code. Reset old state if
22733 2005-10-12 Wim Taymans <wim@fluendo.com>
22735 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22736 (gst_base_sink_change_state):
22737 No need to prerol after receiving EOS.
22739 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22740 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22741 * gst/elements/gstidentity.c: (gst_identity_event):
22742 Print events more verbosely.
22744 2005-10-12 Wim Taymans <wim@fluendo.com>
22746 * check/Makefile.am:
22747 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22748 * check/states/sinks2.c:
22749 Moved sinks2 testcode in sinks check.
22751 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22752 (gst_bin_remove_func), (gst_bin_recalc_state),
22753 (gst_bin_change_state_func), (bin_bus_handler):
22754 Fix potential race condition when _get_state() iterated over an
22755 ASYNC element right before it posted a state completion.
22758 Do proper cast here.
22760 * gst/gstevent.c: (gst_event_new_newsegment),
22761 (gst_event_parse_newsegment):
22762 A playback rate of 0.0 is not allowed.
22764 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22766 * win32/common/config.h:
22767 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22768 (_trewinddir), (_ttelldir), (_tseekdir):
22769 * win32/common/dirent.h:
22770 * win32/common/gtchar.h:
22771 * win32/common/libgstbase.def:
22772 * win32/common/libgstreamer.def:
22773 * win32/vs6/grammar.dsp:
22774 * win32/vs6/gst_inspect.dsp:
22775 * win32/vs6/gst_launch.dsp:
22776 * win32/vs6/gstreamer.dsw:
22777 * win32/vs6/libgstbase.dsp:
22778 * win32/vs6/libgstelements.dsp:
22779 * win32/vs6/libgstreamer.dsp:
22780 Visual Studio 6 project files, and a new common directory.
22783 2005-10-11 Wim Taymans <wim@fluendo.com>
22785 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22786 (gst_base_sink_do_sync), (gst_base_sink_query),
22787 (gst_base_sink_change_state):
22788 * gst/base/gstbasesink.h:
22789 Correctly parse newsegment info.
22791 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22793 * gst/gst.c: (init_post):
22794 split plugin paths correctly
22796 2005-10-11 Wim Taymans <wim@fluendo.com>
22798 * check/gst/gstevent.c: (GST_START_TEST):
22799 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22800 (gst_base_sink_change_state):
22801 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22802 * gst/base/gstbasetransform.c: (gst_base_transform_event):
22803 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22804 * gst/gstevent.c: (gst_event_new_newsegment),
22805 (gst_event_parse_newsegment):
22807 Added extra flag to newsegment for future API freeze.
22808 Updated check and base elements.
22810 2005-10-11 Julien MOUTTE <julien@moutte.net>
22812 * gst/base/gstcollectpads.c: (gst_collectpads_init),
22813 (gst_collectpads_add_pad), (gst_collectpads_pop),
22814 (gst_collectpads_event), (gst_collectpads_chain):
22815 * gst/base/gstcollectpads.h: Handle EOS correctly.
22817 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22819 * tools/gst-launch.c: (main):
22820 more null protecting
22822 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22824 * gst/gst-i18n-lib.h:
22825 check for ENABLE_NLS, not GETTEXT_PACKAGE
22826 * gst/gstregistry.c: (gst_registry_add_plugin),
22827 (gst_registry_scan_path_level),
22828 (_gst_registry_remove_cache_plugins):
22829 protect possibly NULL strings
22830 * gst/parse/types.h:
22831 config.h already included before
22832 * tools/gst-inspect.c: (main):
22833 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22834 check for ENABLE_NLS, not GETTEXT_PACKAGE
22835 * tools/gst-launch.c: (main):
22836 check for ENABLE_NLS, not GETTEXT_PACKAGE
22838 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22841 if we don't have glib, fail before testing 2.8
22842 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
22843 fix a leak, should fix plugins-base testsuite
22845 2005-10-11 Andy Wingo <wingo@pobox.com>
22847 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
22848 take the mode we're going to as an arg. Go head and set the mode
22849 and flushing flags now, so that if the activate function starts a
22850 thread all the flags will be in the right state.
22851 (post_activate): Renamed also. Just handle making sure streaming
22852 finishes for the deactivation case, and setting the deactivated
22854 (gst_pad_set_active): Complain loudly if deactivation fails.
22855 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
22856 (gst_pad_activate_push): Adapt to pre/post_activate changes,
22857 remove the terrible hack.
22859 2005-10-11 Wim Taymans <wim@fluendo.com>
22861 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22862 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
22863 (gst_bin_recalc_state), (gst_bin_change_state_func),
22864 (gst_bin_dispose), (bin_bus_handler):
22866 Prepare to make current EOS message queue more generic.
22869 * gst/gstevent.c: (gst_event_new_newsegment),
22870 (gst_event_parse_newsegment):
22872 Rename base to stream_time.
22874 * gst/gstmessage.h:
22877 2005-10-11 Wim Taymans <wim@fluendo.com>
22879 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22880 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
22881 (gst_bin_change_state_func), (bin_bus_handler):
22883 Work on proper clock selection.
22885 2005-10-11 Edward Hervey <edward@fluendo.com>
22887 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
22888 * libs/gst/controller/gstcontroller.h:
22889 Added GList* version of _remove_properties() in order to be able to wrap
22892 2005-10-11 Wim Taymans <wim@fluendo.com>
22894 * docs/design/part-states.txt:
22897 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
22898 (gst_bin_change_state_func), (bin_bus_handler):
22899 Doc updates. Don't distribute the same clock over and over again.
22905 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
22906 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
22907 (gst_pad_send_event):
22909 Make probe emission threadsafe again.
22910 Register quarks and move _get_name() from utils.
22913 * gst/gstpipeline.c: (gst_pipeline_class_init),
22914 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22915 Only redistribute the clock of it changed.
22917 * gst/gstsystemclock.h:
22922 Moved the _flow_get_name() to GstPad.
22924 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22926 * check/gst-libs/gdp.c: (GST_START_TEST):
22927 * check/gst/gstcaps.c: (GST_START_TEST):
22928 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
22929 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
22930 (gst_dp_packet_from_caps):
22931 fix more valgrind warnings before turning up the heat
22933 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22935 * gst/parse/grammar.y:
22936 some cleanup before the hacking
22938 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22940 * gst/base/gstbasesrc.c: (gst_base_src_query):
22942 * gst/gstutils.c: (gst_guint64_to_gdouble),
22943 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
22945 externalize, basesrc uses it
22946 obviously the implementation needs testing
22948 2005-10-10 Wim Taymans <wim@fluendo.com>
22950 * tests/sched/Makefile.am:
22951 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
22952 (make_pipeline3), (make_pipeline4), (print_elem), (main):
22954 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22956 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
22957 apparently converting from guint64 to double is not implemented
22960 2005-10-10 Wim Taymans <wim@fluendo.com>
22962 * check/Makefile.am:
22963 * check/generic/states.c: (GST_START_TEST):
22964 * check/gst/gstbin.c: (GST_START_TEST):
22965 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22966 * check/states/sinks.c: (GST_START_TEST):
22967 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
22969 Check fixes, use API as stated in design docs, remove hacks.
22971 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22972 (gst_base_sink_change_state):
22973 Catch stopping our task while we're shutting down.
22975 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
22976 (gst_bin_remove_func), (gst_bin_get_state_func),
22977 (gst_bin_recalc_state), (gst_bin_change_state_func),
22980 * gst/gstelement.c: (gst_element_init),
22981 (gst_element_get_state_func), (gst_element_abort_state),
22982 (gst_element_commit_state), (gst_element_lost_state),
22983 (gst_element_set_state), (gst_element_change_state),
22984 (gst_element_change_state_func):
22985 * gst/gstelement.h:
22986 New state change algorithm (see #318116)
22988 * gst/gstpipeline.c: (gst_pipeline_class_init),
22989 (gst_pipeline_init), (gst_pipeline_set_property),
22990 (gst_pipeline_get_property), (do_pipeline_seek),
22991 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22992 * gst/gstpipeline.h:
22993 Remove crude state change hacks.
22996 Remove crude hacks.
22998 * tools/gst-launch.c: (main):
22999 Fixes for state change. Needs some more work to fully use the
23002 2005-10-10 Andy Wingo <wingo@pobox.com>
23004 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23006 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23007 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23010 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23012 * gst/gstiterator.c: (gst_iterator_new):
23013 Fix my previous commit: GTypes passed to gst_iterator_new()
23014 can be fundamental types.
23016 2005-10-10 Wim Taymans <wim@fluendo.com>
23018 * gst/gstelement.c: (gst_element_iterate_pad_list),
23019 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23020 (gst_element_iterate_sink_pads):
23021 Use src/sink pads lists for the respective iterators instead
23024 2005-10-10 Andy Wingo <wingo@pobox.com>
23026 Merged in popt removal + GOption addition patch from Ronald, bug
23029 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23030 GstElement macros around, remove popt-related symbols, add goption
23033 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23035 * docs/gst/Makefile.am:
23036 * docs/libs/Makefile.am: No POPT_CFLAGS.
23038 * examples/manual/Makefile.am:
23039 * docs/manual/basics-init.xml: Doc updates with an example.
23041 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23042 (gst_init), (parse_one_option), (parse_goption_arg):
23043 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23044 bit of hand merging and debugging to get the GOption stuff working
23047 * tests/Makefile.am:
23048 * tools/Makefile.am:
23049 * tools/gst-inspect.c: (main):
23050 * tools/gst-launch.c: (main):
23051 * tools/gst-run.c: (main):
23052 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23054 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23056 * gst/gstiterator.c: (gst_iterator_new):
23057 Add assertions to make sure passed GType is likely to really
23058 be a GType (as the compiler won't catch it if the size and
23059 GType arguments get mixed up, see #318447).
23061 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23063 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23065 * gst/gstbin.c: (gst_bin_iterate_sorted):
23066 Pass GType and size arguments to gst_iterator_new() in the right
23067 order (maybe we should make _new() take the GType as first argument
23068 just like _new_list()?) (#318447).
23071 2005-10-10 Wim Taymans <wim@fluendo.com>
23073 * gst/gstelement.c: (gst_element_finalize):
23074 And free the GStaticRecMutex too
23076 2005-10-10 Andy Wingo <wingo@pobox.com>
23078 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23079 Allocate and free the mutex properly.
23081 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23083 (GstElement): The state_lock is now recursive. Rebuild your
23084 plugins, suckers. Old macros adapted.
23086 * docs/gst/gstreamer-sections.txt: Doc updates.
23089 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23090 (g_static_rec_cond_wait): Ported from state changes patch, while
23091 we wait on bug #317802 to be solved in a well-distributed GLib.
23093 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23094 gst_element_change_state, variable name changes.
23095 (gst_element_change_state): Split out of gst_element_set_state in
23096 preparation for the state change merge. Doesn't pay attention to
23097 the 'transition' argument.
23098 (gst_element_set_state): Updates, hopefully purely cosmetic.
23099 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23100 state change patch.
23101 (gst_element_get_state_func): Renamed from get_state, cosmetic
23104 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23106 * gst/elements/gstelements.c:
23107 * win32/GStreamer.vcproj:
23109 * win32/dirent.c: (_tseekdir):
23110 * win32/gst-inspect.vcproj:
23111 * win32/gst-launch.vcproj:
23112 * win32/gstconfig.h:
23113 * win32/gstelements.vcproj:
23114 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23115 * win32/gstreamer.def:
23116 * win32/msvc71.sln:
23117 updates for the win32 build (patch from Sebastien Moutte)
23119 2005-10-10 Andy Wingo <wingo@pobox.com>
23121 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23122 gst_bin_get_state, cleaned up (but no logic changes).
23123 (bin_element_is_sink): Comment updates.
23124 (sink_iterator_filter): Remove needless cast.
23125 (gst_bin_iterate_sinks): Doc update.
23126 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23127 cleaned up (but no logic changes).
23129 * check/states/sinks.c (test_src_sink): Cleanups from the state
23131 (test_livesrc_sink): Sync on the state.
23133 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23134 the state change patch.
23136 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23139 * check/gst/gstbin.c: Merge in some style fixes and additional
23140 checks from Wim's state change patch.
23142 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23144 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23145 (gst_type_find_helper):
23146 Check whether we have the requested data already in our list of
23147 cached buffers before pulling a new buffer; also make the buffer
23148 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23150 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23155 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23156 don't use long long, it's not portable. Replacing with
23157 gint64 seems to work; let's hope no skeletons fall out of the closet.
23159 2005-10-10 Andy Wingo <wingo@pobox.com>
23161 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23163 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23165 * docs/gst/gstreamer-sections.txt:
23170 * gst/gstmessage.c: (gst_message_parse_state_changed):
23173 more docs, fix compilation
23175 2005-10-09 Philippe Khalaf <burger@speedy.org>
23176 * gst/gstmessage.c:
23177 Fixed a few forgotten variables on previous commit
23179 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23181 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23182 Fix evil typefind crasher: getrange() might return a short
23183 buffer at the end of a file, but gst_type_find_peek() must
23184 either return the full data as requested or NULL, but
23185 never a short buffer.
23187 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23189 * gst/gstmessage.c: (gst_message_new_state_changed),
23190 (gst_message_parse_state_changed):
23191 * gst/gstmessage.h:
23192 don't use "new", it's a C++ keyword
23194 2005-10-08 Wim Taymans <wim@fluendo.com>
23196 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23197 * gst/gstelement.c: (gst_element_post_message):
23198 * gst/gstpipeline.c: (gst_pipeline_change_state):
23199 Small docs and debug updates.
23201 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23203 * docs/gst/gstreamer-sections.txt:
23204 * gst/gstelementfactory.c:
23206 * gst/gsttaglist.c:
23209 2005-10-08 Wim Taymans <wim@fluendo.com>
23211 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23212 (gst_bin_dispose), (bin_bus_handler):
23213 Fix typos, add comments.
23214 Clear EOS list when going to PAUSED from any direction and do it
23215 in a threadsafe way.
23216 Get base time in a threadsafe way too.
23217 Fix confusing debug in the change_state function.
23218 Various other small cleanups.
23220 * gst/gstelement.c: (gst_element_post_message):
23221 Fix very verbose bus posting code.
23223 * gst/gstpipeline.c: (gst_pipeline_class_init),
23224 (gst_pipeline_set_property), (gst_pipeline_get_property),
23225 (gst_pipeline_change_state):
23226 Small ARG_ -> PROP_ cleanup
23228 2005-10-08 Wim Taymans <wim@fluendo.com>
23230 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23231 Do a less CPU demanding EOS check because we can.
23233 2005-10-08 Wim Taymans <wim@fluendo.com>
23235 * libs/gst/dataprotocol/dataprotocol.c:
23236 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23237 (gst_dp_packet_from_event):
23238 * libs/gst/dataprotocol/dataprotocol.h:
23239 * libs/gst/dataprotocol/dp-private.h:
23240 It's about time we bump the version number.
23241 Since event types don't fit in the guint8 anymore describing
23242 the payload type, make payload type 16 bits wide.
23244 2005-10-08 Wim Taymans <wim@fluendo.com>
23246 * docs/design/part-TODO.txt:
23247 * docs/design/part-clocks.txt:
23248 * docs/design/part-events.txt:
23249 * docs/design/part-gstbin.txt:
23250 * docs/design/part-gstelement.txt:
23251 * docs/design/part-gstpipeline.txt:
23252 * docs/design/part-live-source.txt:
23253 * docs/design/part-messages.txt:
23254 * docs/design/part-overview.txt:
23255 * docs/design/part-states.txt:
23258 2005-10-08 Wim Taymans <wim@fluendo.com>
23262 Fix event quark registration.
23263 Add some space between events so we can insert them in the
23266 2005-10-08 Wim Taymans <wim@fluendo.com>
23268 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23269 (gst_base_sink_handle_buffer):
23270 Better log message.
23273 * gst/gstelement.h:
23276 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23277 (gst_queue_set_property), (gst_queue_get_property):
23279 Remove old unused properties.
23281 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23282 * docs/gst/gstreamer-sections.txt:
23283 * gst/gstmessage.c:
23284 * gst/gstmessage.h:
23285 * gst/gstminiobject.c:
23286 * gst/gstminiobject.h:
23290 lots of new docs and doc fixes
23292 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23294 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23296 * gst/gstregistry.c: (gst_registry_lookup_locked),
23297 (gst_registry_scan_path_level):
23298 * gst/gstregistryxml.c: (load_plugin):
23299 Only ever load one plugin for a given plugin basename.
23300 This ensures correct overriding of GST_PLUGIN_PATH over
23301 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23302 system installed plugins.
23304 2005-10-08 Wim Taymans <wim@fluendo.com>
23306 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23307 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23308 Prepare for doing QOS.
23310 2005-10-08 Wim Taymans <wim@fluendo.com>
23312 * check/gst/gstbin.c: (GST_START_TEST):
23313 * check/pipelines/cleanup.c: (GST_START_TEST):
23314 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23315 Allow new clock message too.
23317 2005-10-08 Wim Taymans <wim@fluendo.com>
23319 * gst/gstmessage.c: (gst_message_new_error),
23320 (gst_message_new_warning), (gst_message_new_tag),
23321 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23322 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23323 (gst_message_new_segment_start), (gst_message_new_segment_done),
23324 (gst_message_parse_state_changed),
23325 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23326 (gst_message_parse_new_clock):
23327 * gst/gstmessage.h:
23328 Also carry the clock in question.
23330 2005-10-08 Wim Taymans <wim@fluendo.com>
23332 * gst/gstmessage.c: (gst_message_new_custom),
23333 (gst_message_new_eos), (gst_message_new_error),
23334 (gst_message_new_warning), (gst_message_new_tag),
23335 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23336 (gst_message_new_new_clock), (gst_message_new_segment_start),
23337 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23338 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23339 * gst/gstmessage.h:
23341 Added clock related messages.
23343 * gst/gstpipeline.c: (gst_pipeline_change_state):
23344 Post message when the clock changed.
23346 * tools/gst-launch.c: (event_loop):
23349 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23351 * tools/gst-inspect.c: (print_element_properties_info):
23352 Can't pass NULL strings to g_print() on windows.
23354 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23356 * docs/Makefile.am:
23357 * docs/gst/Makefile.am:
23358 * docs/gst/gstreamer-docs.sgml:
23359 * docs/gst/running.xml:
23360 * docs/version.entities.in:
23361 add a chapter on running GStreamer.
23362 document GST_DEBUG and GST_PLUGIN* env vars
23364 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23369 remove PLUGINS_BUILDDIR stuff
23370 * gst/gst.c: (init_post):
23371 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23373 remove, it was condescending and not needed
23375 2005-10-08 Wim Taymans <wim@fluendo.com>
23377 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23378 (gst_base_sink_handle_object), (gst_base_sink_event),
23379 (gst_base_sink_wait), (gst_base_sink_handle_event),
23380 (gst_base_sink_change_state):
23381 * gst/base/gstbasesink.h:
23382 Repost EOS message while going to PLAYING if still EOS.
23383 Make sure that when receiving a FLUSH_START we don't attempt
23384 to sync on the clock anymore.
23386 2005-10-08 Wim Taymans <wim@fluendo.com>
23388 * tools/gst-launch.c: (event_loop):
23389 Better message printout.
23391 2005-10-08 Wim Taymans <wim@fluendo.com>
23393 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23394 (gst_bin_child_proxy_get_children_count):
23395 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23396 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23397 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23398 (gst_child_proxy_set_valist):
23399 * gst/parse/grammar.y:
23400 Make ChildProxy threadsafe and fix mem leaks.
23402 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23404 * gst/gst.c: (init_post):
23405 debug the GST_PLUGIN_ env vars
23407 2005-10-08 Wim Taymans <wim@fluendo.com>
23409 * check/gst/gstbin.c: (GST_START_TEST):
23410 * check/gst/gstmessage.c: (GST_START_TEST):
23411 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23412 * gst/gstelement.c: (gst_element_commit_state),
23413 (gst_element_lost_state):
23414 * gst/gstmessage.c: (gst_message_new_state_changed),
23415 (gst_message_parse_state_changed):
23416 * gst/gstmessage.h:
23417 * tools/gst-launch.c: (event_loop):
23418 Added extra field to STATE_CHANGE message with the pending
23419 state, which will be different from the new state soon.
23421 2005-10-08 Wim Taymans <wim@fluendo.com>
23423 * gst/gstbus.c: (gst_bus_pop):
23425 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23426 Small cleanups and doc updates.
23428 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23430 * gst/gst.c: (init_pre):
23431 * gst/gstbin.c: (gst_bin_add_func):
23432 log distributing clocks and base time
23433 * gst/gstregistry.c: (gst_registry_add_plugin),
23434 (gst_registry_scan_path_level), (gst_registry_scan_path):
23435 clean up the debugging output a little
23436 * gst/gstutils.c: (gst_element_state_get_name):
23437 warn about a memleak (I've actually seen this be used, though
23438 it was probably a bug)
23440 2005-10-07 Wim Taymans <wim@fluendo.com>
23442 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23443 (gst_base_src_init), (gst_base_src_default_newsegment),
23444 (gst_base_src_newsegment), (gst_base_src_do_seek),
23445 (gst_base_src_loop), (gst_base_src_start):
23446 * gst/base/gstbasesrc.h:
23447 Make the newsegment event customizable by subclasses.
23449 2005-10-07 Wim Taymans <wim@fluendo.com>
23451 * gst/gstevent.c: (gst_event_new_buffersize),
23452 (gst_event_parse_buffersize):
23454 New event for future idea.
23456 2005-10-07 Andy Wingo <wingo@pobox.com>
23458 * gst/gstelement.c (gst_element_post_message): Doc update.
23460 * docs/gst/gstreamer-sections.txt: Update.
23462 * gst/gstmessage.c (gst_message_new_application): Made into a
23463 function like honest API calls.
23464 (gst_message_new_element): New message type.
23466 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23468 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23469 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23472 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23473 NO_PREROLL from gst_element_change_state to fall through.
23475 2005-10-07 Wim Taymans <wim@fluendo.com>
23477 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23478 (gst_ghost_pad_do_activate_push):
23479 Activating a ghostpad with no internal pad in push mode
23482 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23485 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23486 Fixes compilation on Windows.
23488 2005-10-07 Michael Smith <msmith@fluendo.com>
23490 * tools/gst-inspect.c:
23491 Print out feature and plugin count at the end when printing out
23494 2005-10-04 Michael Smith <msmith@fluendo.com>
23496 * gst/gsterror.c: (_gst_stream_errors_init):
23497 Add another error string used in a few existing plugins.
23500 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23501 * tools/gst-inspect.c: (print_element_info):
23502 When a feature disappears from a plugin (and the feature exists in
23503 the cached registry file), things went horribly wrong. This isn't a
23504 complete fix, we should actually be removing the 'missing' features
23505 from the features list when we load the actual plugin. That's not
23508 2005-10-04 Johan Dahlin <johan@gnome.org>
23510 * check/gst/gstiterator.c: (GST_START_TEST):
23511 * gst/gstbin.c: (gst_bin_iterate_elements),
23512 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23513 * gst/gstelement.c: (gst_element_iterate_pads):
23514 * gst/gstformat.c: (gst_format_iterate_definitions):
23515 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23516 (gst_iterator_new_list), (gst_iterator_filter):
23517 * gst/gstiterator.h:
23518 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23519 Add a GType to GstIterator, update callsites and tests.
23521 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23523 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23524 give events a chance to be handled by event probes when the pad
23527 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23529 * gst/gstevent.c: (gst_event_type_get_name),
23530 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23532 add string representations for event types
23534 2005-10-06 Wim Taymans <wim@fluendo.com>
23536 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23537 Don't use NULL pointers.
23539 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23541 * gst/gst_private.h:
23543 * gst/gstelement.c:
23545 * gst/gstpluginfeature.c:
23546 widen the debug category in output to fit the biggest one we have
23547 add a bus category and use it
23548 play with the colors
23549 fix up some categories
23551 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23553 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23554 add push activation of sink ghost pads.
23555 Andye, please verify
23557 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23559 * gst/gstutils.c: (gst_element_link_pads):
23560 fix a bug in the case where neither element has a pad
23561 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23562 add a test for that case
23564 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23566 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23567 emit have-data before checking for peers. This allows
23568 for probe handlers to connect elements. This helps autopluggers.
23569 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23571 add six checks, linked/unlinked with no/true/false probe
23573 2005-10-04 Wim Taymans <wim@fluendo.com>
23575 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23576 (gst_fake_sink_event), (gst_fake_sink_preroll),
23577 (gst_fake_sink_render), (gst_fake_sink_change_state):
23578 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23579 (gst_fake_src_get_property), (gst_fake_src_create),
23580 (gst_fake_src_stop):
23581 * gst/elements/gstidentity.c: (gst_identity_stop):
23582 Protect last_message with lock.
23584 2005-10-04 Edward Hervey <edward@fluendo.com>
23587 Added precision in the comments for GST_FORMAT_DEFAULT
23589 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23591 * tools/gst-launch.c: (main):
23592 Don't try to run erroneous pipelines.
23594 2005-10-04 Julien MOUTTE <julien@moutte.net>
23596 * gst/gstbus.c: We don't need this header.
23598 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23601 back to development
23603 === release 0.9.3 ===
23605 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23609 Releasing 0.9.3, "Unregistered"
23611 2005-10-03 Andy Wingo <wingo@pobox.com>
23613 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23614 whereby calling a pad's activatepush() function can start a thread
23615 that starts to push or pull before the pad gets the FLUSHING flag
23616 unset. Hack around it by holding the stream lock until the flag is
23617 set. Need to replace this with a proper solution. Together with
23618 the ghost pad fixes, this fixes mp3 playing/tagreading.
23620 * docs/design/part-gstghostpad.txt: Add a note about activation of
23621 proxy pads outside of ghost pads.
23623 * gst/gstghostpad.c: Implement the ghost pad activation design.
23625 2005-10-02 Andy Wingo <wingo@pobox.com>
23627 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23628 It is volatile, after all.
23630 * docs/design/part-gstghostpad.txt: Flesh out activation with
23633 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23636 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23639 Fix (unused) AM_CONDITIONAL tests.
23641 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23643 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23645 * gst/gstutils.c: (gst_pad_query_convert):
23646 Add assertion that makes sure src_val is >=0, just like
23647 gst_query_new_convert() has. (#315895)
23649 2005-09-30 Edward Hervey <edward@fluendo.com>
23651 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23652 Let's not iterate pads we're not interested in, it avoids getting
23653 sky-high refcounts on sinkpad.
23655 2005-09-30 Wim Taymans <wim@fluendo.com>
23657 * gst/gstelement.c: (gst_element_set_state),
23658 (gst_element_change_state):
23659 Small tweak, element in ASYNC remains ASYNC.
23661 2005-09-30 Wim Taymans <wim@fluendo.com>
23663 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23664 Only error is an error.
23666 * gst/gstbin.c: (gst_bin_change_state):
23669 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23670 Also call pad_block in pad alloc.
23672 * gst/gstutils.c: (gst_flow_get_name):
23675 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23677 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23678 (gst_base_src_get_range):
23679 Fix documentation typos. Add some more debug info.
23681 2005-09-29 David Schleef <ds@schleef.org>
23683 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23684 more end-user friendly.
23685 * tools/gst-inspect.c: (main): Check if command-line argument is
23686 a file and attempt to load that file as a plugin.
23688 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23690 * check/gst/gstbin.c:
23691 * check/states/sinks.c:
23692 fix tests for the new warning
23693 * check/gst/gstpipeline.c:
23694 add a test for pipeline and bus interaction
23695 * gst/gstelement.c:
23696 elements should be NULL if they get disposed; add a warning if not
23698 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23701 for 2.6 refcounting, make debug log more correct by printing
23702 the actual refcounts at the time of swap (Wim)
23704 2005-09-29 Andy Wingo <wingo@pobox.com>
23706 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23707 removes signal watches previously added via
23708 gst_bus_add_signal_watch.
23709 (gst_bus_add_signal_watch): Don't return the source id, just store
23710 it on the bus if there wasn't an id already.
23712 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23713 add_signal_watch and remove_signal_watch.
23715 2005-09-29 Edward Hervey <edward@fluendo.com>
23717 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
23718 Better if we actually iterate the list :)
23720 2005-09-29 Wim Taymans <wim@fluendo.com>
23722 * check/gst/gstbin.c: (GST_START_TEST):
23723 Change for new bus API.
23725 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23726 (send_messages), (GST_START_TEST), (gstbus_suite):
23727 Change for new bus signal API.
23729 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23730 (gst_bus_source_prepare), (gst_bus_source_check),
23731 (gst_bus_create_watch), (gst_bus_add_watch_full),
23732 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23733 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23735 Remove support for multiple GSources operating on different
23736 message types as it is too complex and unneeded when using
23738 Added support for receiving signals from the bus.
23740 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23742 * docs/libs/tmpl/gstdataprotocol.sgml:
23743 * docs/manual/advanced-dataaccess.xml:
23744 * gst/elements/gstcapsfilter.c:
23746 rename filter-caps to caps property
23748 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23750 * gst/gstvalue.c: (gst_value_deserialize_fraction):
23751 More robust fraction string parsing.
23753 * docs/pwg/appendix-porting.xml:
23754 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23756 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23758 * gst/gstcaps.c: (gst_caps_do_simplify):
23759 Thou shalt not free a structure and then continue using it
23760 in the next loop iteration.
23762 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23764 Add test case for caps simplification.
23766 2005-09-29 Wim Taymans <wim@fluendo.com>
23768 * check/gst/gstbin.c: (GST_START_TEST):
23771 2005-09-29 Wim Taymans <wim@fluendo.com>
23773 * check/gst/gstbin.c: (GST_START_TEST):
23776 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23777 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23778 (find_element), (gst_bin_sort_iterator_next),
23779 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23780 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23781 (gst_bin_change_state), (gst_bin_dispose):
23782 A bin does not have a bus, it gets the bus from the parent.
23784 * gst/gstelement.c: (gst_element_requires_clock),
23785 (gst_element_provides_clock), (gst_element_is_indexable),
23786 (gst_element_is_locked_state), (gst_element_change_state),
23787 (gst_element_set_bus_func):
23790 * gst/gstpipeline.c: (gst_pipeline_class_init),
23791 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23792 The pipeline provides a bus.
23794 2005-09-28 Johan Dahlin <johan@gnome.org>
23796 * gst/gstmessage.c (gst_message_parse_state_changed): Use
23797 gst_structure_get_enum instead of gst_structure_get_int
23799 * gst/gststructure.c (gst_structure_get_enum): Impl.
23801 * gst/gststructure.h (gst_structure_get_enum): Add
23803 * docs/gst/gstreamer-sections.txt: Ditto
23805 * gst/gstmessage.c (gst_message_new_state_changed): Use
23806 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23807 which does introspection.
23808 Reviewed by Christian Schaller
23810 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23812 * gst/gstinfo.c: (gst_debug_log_default):
23813 don't do dummy g_strdup()s
23814 * libs/gst/controller/gstcontroller.c:
23815 (on_object_controlled_property_changed),
23816 (gst_controlled_property_new), (gst_controller_new_valist),
23817 (gst_controller_new_list),
23818 (gst_controller_remove_properties_valist), (gst_controller_set),
23819 (gst_controller_get), (gst_controller_sync_values),
23820 (gst_controller_get_value_array), (_gst_controller_class_init),
23821 (gst_controller_get_type):
23822 * libs/gst/controller/gstcontroller.h:
23823 * libs/gst/controller/gstinterpolation.c:
23824 (gst_controlled_property_find_timed_value_node):
23825 convert // to /**/ comments
23827 2005-09-28 Wim Taymans <wim@fluendo.com>
23829 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23830 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23831 (gst_bus_sync_signal_handler):
23833 Added async-message and sync-message signals to the bus.
23834 Added helper BusFunc to emit signals for all posted messages.
23836 * gst/gstmessage.c: (gst_message_type_get_name),
23837 (gst_message_type_to_quark), (gst_message_get_type):
23838 * gst/gstmessage.h:
23839 Register quarks for message names.
23841 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23843 * docs/libs/gstreamer-libs-sections.txt:
23844 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
23845 (gst_controller_new_list):
23846 * libs/gst/controller/gstcontroller.h:
23847 added another constructor for language bindings
23849 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
23851 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23855 * gst/gstinfo.c: (_gst_debug_init):
23856 slightly more readable color for refcount debugging
23858 2005-09-28 Wim Taymans <wim@fluendo.com>
23860 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
23861 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23862 (find_element), (gst_bin_sort_iterator_next),
23863 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23864 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23865 (gst_bin_change_state), (gst_bin_dispose):
23866 Small doc fixes. get_clock -> provide_clock.
23868 * gst/gstelement.c: (gst_element_class_init),
23869 (gst_element_provides_clock), (gst_element_provide_clock),
23870 (gst_element_get_clock), (gst_element_commit_state),
23871 (gst_element_lost_state):
23872 * gst/gstelement.h:
23873 Make get/set_clock() symetric. Add provide_clock vmethod since
23874 that is actually what this function does.
23876 * gst/gstpipeline.c: (gst_pipeline_class_init),
23877 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
23878 (gst_pipeline_get_clock):
23879 get_clock -> provide_clock.
23881 2005-09-28 Andy Wingo <wingo@pobox.com>
23883 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
23884 lieu of real docs...
23886 * gst/elements/gstfdsrc.c: Cleaned up a bit.
23888 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
23890 * gst/elements/gstcapsfilter.c:
23891 * gst/elements/gstfakesink.c:
23892 * gst/elements/gstfakesrc.c:
23893 * gst/elements/gstfdsink.c:
23894 * gst/elements/gstfdsrc.c:
23895 * gst/elements/gstfilesink.c:
23896 * gst/elements/gstfilesrc.c:
23897 * gst/elements/gstidentity.c:
23898 * gst/elements/gsttee.c:
23899 * gst/elements/gsttypefindelement.c:
23900 Make element details static.
23902 2005-09-28 Wim Taymans <wim@fluendo.com>
23904 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23905 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23906 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23907 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23908 (gst_bin_change_state), (gst_bin_dispose):
23909 Some documentation updates.
23910 Clean up dispose handlers.
23912 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
23913 * gst/gstpad.c: (gst_pad_dispose):
23914 Clean up dispose handler.
23916 * gst/gstpipeline.c: (gst_pipeline_change_state):
23917 Removed spurious UNLOCK.
23919 2005-09-27 Stefan Kost <ensonic@users.sf.net>
23921 * docs/gst/gstreamer-sections.txt:
23922 * gst/base/gstbasesrc.h:
23923 * gst/gstelement.h:
23927 * gst/gstpipeline.c:
23928 * gst/gstpipeline.h:
23931 added two new functions to the docs
23932 documents all undocumented GstXXXFlags
23933 completed some incomplete docs
23935 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
23937 * gst/gstbin.c: (gst_bin_dispose):
23938 * gst/gstelement.c: (gst_element_dispose):
23939 remove now useless and leaky resurrection code in dispose
23940 * gst/base/gstbasesrc.c: (gst_base_src_init):
23941 * gst/gstelementfactory.c: (gst_element_factory_create):
23942 * gst/gstobject.c: (gst_object_set_parent):
23945 2005-09-27 Wim Taymans <wim@fluendo.com>
23947 * docs/design/part-TODO.txt:
23950 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23951 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23952 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23953 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23954 (gst_bin_change_state):
23955 * gst/gstelement.h:
23956 Remove element variable, we keep element info in the iterator now.
23958 2005-09-27 Andy Wingo <wingo@pobox.com>
23960 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
23963 2005-09-27 Wim Taymans <wim@fluendo.com>
23965 * check/gst/gstbin.c: (GST_START_TEST):
23966 Enable check that works now.
23968 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23969 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23970 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23971 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23972 (gst_bin_change_state):
23974 Redid the state change algorithm using a topological sort algo.
23975 Handles all cases correctly.
23976 Exposed iterator for state change order.
23978 * gst/gstelement.h:
23979 Temp storage for state changes. Need to get rid of this soon.
23981 2005-09-27 Wim Taymans <wim@fluendo.com>
23983 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
23984 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
23985 (link_fold_func), (gst_pad_proxy_setcaps):
23986 Leak fixes, the fold functions need to unref the passed object and
23987 _get_parent_*() returns ref to parent.
23989 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
23991 * check/gst/gstbuffer.c: (test_make_writable):
23992 Plug leak in test case and fix 'make check-valgrind'
23994 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
23996 * gst/gstbuffer.c: (gst_subbuffer_init):
23997 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
23998 works correctly in all circumstances (we could have just copied
23999 the parent buffer's readonly flag, but conceptually it seems
24000 cleaner to mark all subbuffers as read-only). (based on patch
24001 by Alessandro Decina, #314710).
24003 * check/gst/gstbuffer.c: (create_read_only_buffer),
24004 (test_make_writable), (test_subbuffer_make_writable),
24006 Add some tests for gst_buffer_make_writable().
24008 2005-09-27 Wim Taymans <wim@fluendo.com>
24010 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24011 use gst_object_has_ancestor().
24013 * gst/gstobject.c: (gst_object_has_ancestor):
24015 gst_object_has_ancestor() copied from gstbin.c as it is a
24018 * tests/instantiate/create.c: (create_all_elements):
24019 * tests/lat.c: (handoff_src), (handoff_sink):
24020 * tests/sched/runxml.c: (main):
24021 * tests/seeking/seeking1.c: (main):
24022 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24024 Fix compilation of some tests.
24026 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24029 Remove comment. GST_TYPE_G_ERROR is here to stay,
24030 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24031 (#316961, #300610).
24033 2005-09-26 Wim Taymans <wim@fluendo.com>
24035 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24036 Added check that shows error in state change order.
24038 2005-09-26 Wim Taymans <wim@fluendo.com>
24040 * gst/gstbin.c: (gst_bin_change_state):
24041 Make state change function use 3 queues again, we were
24042 adding elements in the wrong order.
24044 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24047 * gst/gstpad.c: (gst_pad_dispose):
24048 Added some debug info first.
24050 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24052 * docs/design/draft-push-pull.txt:
24053 * docs/design/part-events.txt:
24054 * docs/design/part-overview.txt:
24055 * docs/design/part-scheduling.txt:
24056 Replace all _pull_region() with _pull_range()
24058 2005-09-26 Andy Wingo <wingo@pobox.com>
24060 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24062 * check/gst-libs/controller.c: Update for controller api change.
24065 * tests/Makefile.am:
24066 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24067 over by GLib bug 118439.
24069 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24070 routines to a function.
24072 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24074 * libs/gst/controller/gsthelper.c:
24075 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24076 (gst_object_sync_values): Renamed from sink_values. Ugh.
24078 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24080 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24081 Renamed from controller_key, as it is exported.
24083 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24085 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24090 * gst/gstpadtemplate.h:
24093 * gst/gstqueryutils.c:
24094 * gst/gstqueryutils.h:
24095 remove queryutils headers after moving the two used functions
24096 to gstquery. also fixes build problem for gstsiddec
24098 2005-09-26 Michael Smith <msmith@fluendo.com>
24100 * tools/gst-launch.1.in:
24101 Correct documentation in manpage of debug syntax
24103 2005-09-26 Wim Taymans <wim@fluendo.com>
24105 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24106 (gst_base_src_is_seekable), (gst_base_src_change_state):
24107 Some more debugging info.
24109 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24111 * docs/gst/gstreamer-sections.txt:
24112 * gst/base/gstbasetransform.h:
24116 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24118 * docs/gst/.cvsignore:
24119 * docs/gst/tmpl/.cvsignore:
24120 * docs/gst/tmpl/gstpipeline.sgml:
24121 * docs/gst/tmpl/gstplugin.sgml:
24122 * gst/gstpipeline.c:
24125 inlined the last two docs files
24126 removed the tmpl directory from cvs (no more conflicts here!)
24128 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24130 * docs/gst/gstreamer-sections.txt:
24131 * docs/gst/tmpl/.cvsignore:
24132 * docs/gst/tmpl/gstpad.sgml:
24133 * docs/gst/tmpl/gstpadtemplate.sgml:
24135 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24136 (gst_pad_finalize), (gst_pad_set_pad_template):
24138 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24139 (gst_pad_template_class_init), (gst_pad_template_init),
24140 (gst_pad_template_dispose), (name_is_valid),
24141 (gst_static_pad_template_get), (gst_pad_template_new),
24142 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24143 (gst_pad_template_pad_created):
24144 * gst/gstpadtemplate.h:
24145 inlined two more docs
24146 factored gstpadtemplate out of gstpad
24148 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24150 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24151 (test_children_state_change_order_semi_sink):
24152 Fix test case: we can't rely on a fixed state change order when
24153 going from READY => PAUSED because the sink might commit its
24154 new state first when the first buffer created by the source
24155 reaches the sink before the source has finished its change state.
24156 (Test case still fails at times, see #316856, comment 5 onwards)
24158 2005-09-24 Wim Taymans <wim@fluendo.com>
24160 * docs/design/part-events.txt:
24161 * docs/design/part-gstbus.txt:
24162 * docs/design/part-gstpipeline.txt:
24163 * docs/design/part-messages.txt:
24164 * docs/design/part-overview.txt:
24165 * docs/design/part-segments.txt:
24169 * gst/gstelement.c:
24172 * gst/gstiterator.c:
24173 Various documentation updates.
24175 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24178 Well, that's embarassing. Luckily we weren't using
24179 GST_CLOCK_DIFF anywhere.
24181 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24183 * common/gtk-doc.mak:
24184 don't fail on building XML, FC4 slave shows a bunch of doc
24185 missing bits that I don't get
24187 * gst/gstpipeline.c:
24188 * gst/gststructure.c:
24191 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24193 * docs/design/part-gstbin.txt:
24194 * docs/design/part-gstbus.txt:
24196 Add blurb about how the bus goes into flushing mode and
24197 drops all messages when its bin goes from READY into NULL
24200 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24202 * docs/gst/gstreamer-sections.txt:
24203 * gst/gststructure.c: (gst_structure_get_clock_time):
24204 * gst/gststructure.h:
24205 add a method to get a GstClockTime out of a structure
24207 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24209 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24210 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24211 Added test to check state change order in bins (can still be made
24212 to fail here under heavy disk load; bails out with 'Push on pad
24213 fakesink:sink0, but it was not activated in push mode').
24215 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24216 Fix state change order when there is only a semi sink (#316856)
24218 * gst/gstbus.c: (gst_bus_class_init):
24219 Use _class_peek_parent(), not _class_ref(); fix docs to say
24220 'default main context' instead of 'mainloop' where that is
24223 * gst/gstelement.c: (gst_element_commit_state),
24224 (gst_element_set_state):
24225 Fix typos in debug messages
24227 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24230 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24231 * gst/gstpluginfeature.c:
24233 various doc updates
24234 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24235 change an assert into an error until it gets fixed properly
24237 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24239 * docs/gst/gstreamer-sections.txt:
24240 * docs/gst/tmpl/.cvsignore:
24241 * docs/gst/tmpl/gstelement.sgml:
24242 * docs/gst/tmpl/gstinfo.sgml:
24243 * docs/gst/tmpl/gstobject.sgml:
24244 * gst/gstelement.c:
24245 * gst/gstelement.h:
24248 * gst/gstobject.c: (gst_object_class_init):
24250 inlined 3 more biiiig doc files and added some missing docs on the fly
24252 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24254 * check/gst/.cvsignore:
24255 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24256 * gst/gstregistryxml.c: (load_plugin),
24257 (gst_registry_xml_save_plugin):
24258 put back source in registry. add checks for find_plugin.
24259 * testsuite/states/bin.c: (assert_state), (empty_bin),
24260 (test_adding_one_element), (main):
24261 * testsuite/states/locked.c: (main):
24262 some compile/run fixes
24264 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24266 * check/gst/gstvalue.c: (GST_START_TEST):
24267 fix leaks in the test itself
24269 2005-09-22 Wim Taymans <wim@fluendo.com>
24271 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24272 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24273 (gst_base_sink_query):
24274 Prepare for more accurate position reporting and query
24277 * gst/gstelement.c: (gst_element_send_event),
24278 (gst_element_set_state):
24281 2005-09-22 Wim Taymans <wim@fluendo.com>
24283 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24284 (gst_query_parse_segment):
24286 More documentation.
24287 Add segment query for future use.
24289 2005-09-22 Wim Taymans <wim@fluendo.com>
24291 * gst/gstbin.c: (gst_bin_add_func):
24292 Some more debug info.
24294 * gst/gstelement.c: (gst_element_send_event):
24295 Simplify send_event
24297 * gst/gstelement.h:
24298 Don't know how flags got broken.
24303 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24305 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24306 Add simplistic test suite for GST_TYPE_DATE serialisation and
24309 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24311 * docs/gst/gstreamer-sections.txt:
24312 * gst/gststructure.c: (gst_structure_set_valist),
24313 (gst_structure_get_date):
24314 * gst/gststructure.h:
24315 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24316 (gst_date_copy), (gst_value_compare_date),
24317 (gst_value_serialize_date), (gst_value_deserialize_date),
24318 (gst_value_transform_date_string),
24319 (gst_value_transform_string_date), (_gst_value_initialize):
24321 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24322 bunch of utility functions along with a hack that checks that
24323 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24324 is required. Part of the grand scheme in #170777.
24326 2005-09-22 Andy Wingo <wingo@pobox.com>
24328 * gst/gstconfig.h.in: Psych out gtk-doc.
24330 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24332 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24334 * tools/gst-inspect.c (print_element_list): Plug some
24335 inconsequential leaks.
24337 * gst/gstregistry.c (gst_registry_get_default): Doc.
24339 * check/gst/gstplugin.c:
24340 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24341 * gst/gstelementfactory.c (gst_element_factory_create):
24342 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24345 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24346 (gst_plugin_feature_load): Doc, don't eat refs.
24348 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24349 (gst_plugin_list_free): Doc.
24350 (gst_plugin_load_file): Doc updates.
24352 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24353 accessors returning refcounted objects, return a ref.
24355 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24356 accessor for caps. IDEMPOTENCE. Oh yes.
24358 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24360 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24362 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24363 (_gst_debug_register_funcptr):
24364 Add mutex to serialise access to the hash table with
24365 the function pointer => function name string mapping;
24366 make that hash table static scope (#316809).
24368 * gst/registries/.cvsignore:
24369 Remove left-over file.
24371 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24373 * docs/pwg/appendix-porting.xml:
24374 And something about newsegment events and caps-on-buffers to
24375 the porting guide (feel free to improve).
24377 2005-09-21 Andy Wingo <wingo@pobox.com>
24379 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24380 data and event probes on the same pad.
24381 (test_buffer_probe_once): Test that removing probes from within
24382 the probe functions works.
24384 2005-09-21 Andy Wingo <wingo@pobox.com>
24386 * check/gst/gstutils.c: New file.
24387 (test_buffer_probe_n_times): A simple buffer probe test. More to
24390 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24391 have-data::buffer, not have-data.
24392 (gst_pad_add_event_probe): Likewise for have-data::event.
24393 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24394 peer' isn't quite right yet though.
24395 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24396 (gst_pad_remove_data_probe): Change to take the guint handler_id
24397 as their arg, not the function+data, which is more glib-like.
24399 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24400 the signal emission to indicate if the data is a buffer or an
24402 (gst_pad_get_type): Initialize buffer and event quarks.
24403 (gst_pad_class_init): have-data is now a detailed signal, yes it
24406 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24408 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24409 * gst/gstutils.c: (gst_util_set_value_from_string),
24410 (gst_util_set_object_arg):
24411 Don't put functional code in g_return_if_fail() or
24412 g_return_val_if_fail() statements, otherwise things will
24413 break when G_DISABLE_CHECKS is defined during compilation.
24415 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24417 * docs/gst/tmpl/.cvsignore:
24418 * docs/gst/tmpl/gstvalue.sgml:
24421 inlied another one and added some obvious docs
24423 2005-09-21 Wim Taymans <wim@fluendo.com>
24425 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24426 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24427 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24428 (gst_fdsrc_get_property), (gst_fdsrc_create):
24429 * gst/elements/gstfdsrc.h:
24430 Properly implement fdsrc. Removed signal and timeout,
24431 better implemented somewhere else.
24433 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24435 * docs/gst/tmpl/.cvsignore:
24436 * docs/gst/tmpl/gstimplementsinterface.sgml:
24437 * gst/gstinterface.c:
24440 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24442 * docs/gst/gstreamer-sections.txt:
24443 * docs/gst/tmpl/.cvsignore:
24444 * docs/gst/tmpl/gstenumtypes.sgml:
24445 remove obsolete doc file
24447 2005-09-21 David Schleef <ds@schleef.org>
24449 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24450 little beer, fix a little leak.
24452 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24454 * docs/gst/gstreamer-docs.sgml:
24455 * docs/gst/gstreamer-sections.txt:
24456 * docs/gst/tmpl/.cvsignore:
24460 * gst/gstelement.h:
24461 * gst/gstindex.c: (gst_index_class_init):
24463 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24464 (gst_index_factory_class_init), (gst_index_factory_init),
24465 (gst_index_factory_finalize), (gst_index_factory_new),
24466 (gst_index_factory_destroy), (gst_index_factory_find),
24467 (gst_index_factory_create), (gst_index_factory_make):
24468 * gst/gstindexfactory.h:
24469 * gst/gstpluginfeature.c:
24470 * gst/gstpluginfeature.h:
24471 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24472 more docs inlined, splitted gstindex.{c,h}
24474 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24476 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24479 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24481 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24482 Set sync to FALSE by default.
24484 2005-09-20 Wim Taymans <wim@fluendo.com>
24486 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24487 (gst_base_sink_init):
24488 Make sync property settable from subclass.
24490 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24491 (gst_fake_sink_change_state):
24492 Set sync to FALSE by default.
24494 2005-09-20 Wim Taymans <wim@fluendo.com>
24496 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24497 * tools/gst-launch.c: (main):
24498 The timeout handler should have lower priority than the source
24499 so we don't timeout before popping a message with 0 timeout.
24500 Dump error messages after failed state change.
24502 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24504 * tools/gst-inspect.c: (print_element_properties_info):
24507 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24509 * check/gst/gstevent.c:
24510 * gst/elements/gstfakesink.c:
24511 * gst/elements/gstfakesink.h:
24512 remove the sync property from fakesink.
24513 has the side effect of setting sync TRUE
24514 for fakesink, which is a change. Anyone who knows how
24515 to fix this nicely in a GObject-y way, feel free.
24517 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24519 * docs/gst/gstreamer-docs.sgml:
24520 remove probe refsection
24522 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24524 * check/Makefile.am:
24525 disable valgrinding the controller test again
24526 * docs/gst/gstreamer-sections.txt:
24527 update for api-changes
24529 2005-09-20 Wim Taymans <wim@fluendo.com>
24531 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24532 (gst_base_sink_set_property), (gst_base_sink_get_property),
24533 (gst_base_sink_do_sync):
24534 * gst/base/gstbasesink.h:
24535 Added sync property to basesink to disable clock sync.
24537 2005-09-20 Andy Wingo <wingo@pobox.com>
24539 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24540 eating the caller's refcount.
24542 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24543 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24546 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24547 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24548 of GLib 2.8 public, so we can know which refcount to check in
24551 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24552 (gst_object_init): Only set the gst refcount if we're going ahead
24553 with the refcount hack.
24555 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24557 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24558 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24559 more leaks plumbed, added more debug-logging
24563 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24565 * gst/gstmessage.c:
24566 remove include of gstmemchunk.h
24568 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24570 * gst/gstclock.c: (_gst_clock_id_free):
24571 Commit from the Political Party For More Atomic CVS Commits,
24572 so that people don't waste too much of their day fishing
24573 out obvious leaks out of massive commits.
24574 Oh, and fix a pretty damn obvious leak in the memchunk
24577 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24579 * check/Makefile.am:
24580 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24581 plug mem-leak, re-add to valgrindable tests
24583 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24586 unbreak the build for those who have chronic arthritis
24587 and typing "make check" is just too taxing on the hands
24589 2005-09-20 Andy Wingo <wingo@pobox.com>
24591 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24592 really want it out, you should fix plugins at the same time.
24594 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24597 * docs/gst/gstreamer-sections.txt:
24599 added missing symbols to api docs
24600 disable ref-count hack if we have glib >= 2.8
24602 2005-09-19 David Schleef <ds@schleef.org>
24604 * docs/gst/Makefile.am: Ignore a few more internal headers
24605 * docs/gst/gstreamer-docs.sgml: Remove old sections
24606 * docs/gst/gstreamer-sections.txt: Remove old sections
24607 * docs/gst/tmpl/gstobject.sgml: update
24608 * docs/gst/tmpl/gstplugin.sgml: update
24609 * docs/gst/tmpl/gstpluginfeature.sgml: update
24610 * docs/random/ds/0.9-suggested-changes: update.
24611 * gst/Makefile.am: remove memchunk and trashstack, since they're
24613 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24614 * gst/gst.h: don't include some headers
24615 * gst/gstchildproxy.c: add gstmarshal.h
24616 * gst/gstclock.c: Don't use memchunks
24617 * gst/gstminiobject.c: Add some docs
24618 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24619 * gst/gstobject.h: same
24620 * gst/gstplugin.c: include gstmacros.h
24621 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24622 * gst/gstquery.c: don't use memchunks
24623 * gst/gstregistry.c: rename gst_registry_deinit()
24624 * gst/gstregistry.h: same
24626 2005-09-19 David Schleef <ds@schleef.org>
24628 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24629 * docs/libs/gstreamer-libs-sections.txt:
24630 * docs/libs/tmpl/gstgetbits.sgml:
24631 * docs/libs/tmpl/gstputbits.sgml:
24633 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24635 * win32/gstenumtypes.c:
24636 * win32/gstenumtypes.h:
24639 2005-09-19 Wim Taymans <wim@fluendo.com>
24641 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24642 Automatically PAUSE and RESUME a pipeline when a flushing seek
24645 2005-09-19 Andy Wingo <wingo@pobox.com>
24647 * gst/gstregistry.h: Spacing fixen.
24649 2005-09-19 Wim Taymans <wim@fluendo.com>
24651 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24652 Handle state change failure more correctly.
24654 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24656 * check/Makefile.am:
24657 * check/pipelines/cleanup.c: (run_pipeline):
24658 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24660 enable cleanup again after fixing the leak
24662 some more info on docs
24664 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24666 * check/Makefile.am:
24667 re-enable tests now that leaks are plugged
24669 * check/gst/gstbin.c:
24670 * check/gst/gstpipeline.c:
24671 add some more tests while fixing leaks
24672 * common/check.mak:
24673 make sure binaries are uptodate when valgrinding/gdbing
24675 * gst/gstelementfactory.c:
24676 remove a ref too many, and add a FIXME for when we get
24677 round to disposing of classes
24679 fix the refcounting when loading a plugin from a file and
24680 the code pretends that the pointer is the same even though
24681 of course it can change
24682 * gst/gstpluginfeature.c:
24683 unref plugins marked cached (a bit confusing as a name)
24684 as the docs state should be done
24685 various doc additions to explain refcounting
24686 * gst/gstregistry.c:
24687 * gst/gstregistryxml.c:
24690 2005-09-19 Wim Taymans <wim@fluendo.com>
24692 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24693 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24694 (send_messages), (GST_START_TEST), (gstbus_suite):
24695 * check/gst/gstpipeline.c: (GST_START_TEST):
24696 * check/pipelines/cleanup.c: (run_pipeline):
24697 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24699 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24700 (gst_bus_source_check), (gst_bus_source_dispatch),
24701 (gst_bus_create_watch), (gst_bus_add_watch_full),
24702 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24704 * tools/gst-launch.c: (event_loop):
24705 * tools/gst-md5sum.c: (event_loop):
24706 GstBusHandler -> GstBusFunc, return value has the same meaning as
24707 any other GSource (FALSE == remove source).
24708 _add_watch() and _add_watch_full() now take a MessageType mask to
24709 only handle specific types of messages.
24710 _poll() returns the GstMessage instead of the message type to avoid
24712 _have_pending() takes a MessageType mask now too.
24713 Added testsuite for multiple bus watches.
24714 Fix testsuites and applications for new bus API.
24716 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24718 * check/Makefile.am:
24719 mark a bunch of the tests as to fix until we fix them
24721 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24723 * common/check.mak:
24724 use GST_PLUGIN settings for valgrind tests as well, so we're
24725 valgrinding the correct thing
24726 * gst/gst.c: (init_post):
24729 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24731 * gst/gst.c: (init_post), (gst_deinit):
24732 * gst/gstelementfactory.c: (gst_element_factory_class_init),
24733 (gst_element_factory_finalize), (gst_element_factory_cleanup):
24734 * gst/gstindex.c: (gst_index_factory_class_init),
24735 (gst_index_factory_finalize):
24736 * gst/gstobject.c: (gst_object_dispose):
24737 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24738 (gst_plugin_load_file), (gst_plugin_desc_free):
24739 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24740 (gst_plugin_feature_finalize):
24741 * gst/gstregistry.c: (gst_registry_class_init),
24742 (gst_registry_init), (gst_registry_finalize),
24743 (gst_registry_get_default), (gst_registry_deinit):
24744 * gst/gstregistry.h:
24745 * gst/gstregistryxml.c: (load_feature), (load_plugin):
24746 various cleanups and memleak plugging. make valgrind is happy now.
24748 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24750 * common/check.mak:
24751 add a check-valgrind target
24753 2005-09-18 David Schleef <ds@schleef.org>
24755 * tools/gst-inspect.c: Revert the GOption code.
24757 2005-09-17 David Schleef <ds@schleef.org>
24759 * check/Makefile.am: Fix environment variables.
24760 * check/gst/gstplugin.c: Fix for API changes.
24761 * tools/gst-inspect.c: Fix for API changes.
24762 * tools/gst-xmlinspect.c: Fix for API changes.
24763 * gst/gstelementfactory.c:
24766 * gst/gstpluginfeature.c:
24767 * gst/gstpluginfeature.h:
24768 * gst/gstregistry.c:
24769 * gst/gstregistry.h:
24770 * gst/gstregistryxml.c:
24771 * gst/gsttypefind.c:
24772 * gst/gsttypefindfactory.c:
24773 * gst/indexers/gstfileindex.c:
24774 * gst/indexers/gstmemindex.c:
24775 * gst/schedulers/Makefile.am:
24776 Change registry to keep track of both plugins and features,
24777 removing the feature tracking from plugins themselves.
24779 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
24781 * check/Makefile.am:
24782 * tools/gst-register.1.in:
24783 remove gst-register
24785 2005-09-15 David Schleef <ds@schleef.org>
24787 * check/gst/gstplugin.c:
24788 * gst/gstelementfactory.c:
24790 * gst/gstpluginfeature.c:
24791 * gst/gstregistry.c:
24792 Getting tired of debugging. Disabled all the unreffing of
24793 plugins and features, which fixes the segfaults, but of
24794 course leaks like crazy. At least playbin works.
24796 2005-09-15 David Schleef <ds@schleef.org>
24798 * check/gst/gstplugin.c: (register_check_elements),
24799 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24801 * gst/elements/gsttypefindelement.c: Fix refcounting.
24802 * gst/gsttypefind.c:
24803 * gst/gsttypefindfactory.c:
24804 * gst/gsttypefindfactory.h:
24806 2005-09-15 David Schleef <ds@schleef.org>
24808 * gst/gstindex.c: get refcounting correct.
24809 * gst/gstregistry.c: Handle the case where a feature/plugin is
24812 2005-09-15 David Schleef <ds@schleef.org>
24814 * check/Makefile.am:
24815 * check/gst/gstplugin.c: Add test
24816 * gst/gstplugin.c: Fix problems noticed by testsuite
24818 * gst/gstregistry.c:
24819 * gst/gstregistry.h:
24821 2005-09-15 David Schleef <ds@schleef.org>
24823 * gst/gstplugin.c: Implement semi-decent recounting and locking
24824 in plugins and plugin features.
24826 * gst/gstpluginfeature.c:
24827 * gst/gstpluginfeature.h:
24828 * gst/gstregistry.c:
24830 2005-09-15 Michael Smith <msmith@fluendo.com>
24832 * gst/gstregistry.c: (gst_registry_get_feature_list):
24833 Implement this. Makes oggdemux work; decodebin still broken.
24835 2005-09-14 David Schleef <ds@schleef.org>
24837 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24839 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24840 * gst/check/Makefile.am:
24841 * libs/gst/controller/Makefile.am:
24842 * libs/gst/dataprotocol/Makefile.am:
24844 2005-09-14 David Schleef <ds@schleef.org>
24846 * configure.ac: Remove getbits library. Nothing uses it, and
24847 it should be in something like liboil if someone did want
24849 * libs/gst/Makefile.am:
24850 * libs/gst/getbits/Makefile.am:
24851 * libs/gst/getbits/gbtest.c:
24852 * libs/gst/getbits/getbits.c:
24853 * libs/gst/getbits/getbits.h:
24854 * libs/gst/getbits/gstgetbits_generic.c:
24855 * libs/gst/getbits/gstgetbits_i386.s:
24856 * libs/gst/getbits/gstgetbits_inl.h:
24858 2005-09-14 David Schleef <ds@schleef.org>
24860 * gst/Makefile.am: Dist glib-compat.h
24862 2005-09-14 David Schleef <ds@schleef.org>
24864 * configure.ac: Remove gst/registries, since it's no longer used.
24865 * gst/registries/Makefile.am:
24866 * gst/registries/gstlibxmlregistry.c:
24867 * gst/registries/gstlibxmlregistry.h:
24868 * gst/registries/gstxmlregistry.c:
24869 * gst/registries/gstxmlregistry.h:
24870 * gst/registries/registrytest.c:
24872 2005-09-14 David Schleef <ds@schleef.org>
24874 * gst/glib-compat.h:
24875 * gst/gstregistryxml.c:
24876 Convergence is near. Seriously.
24878 2005-09-14 David Schleef <ds@schleef.org>
24880 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24881 * gst/glib-compat.h:
24882 Attempt #4 to appease the buildbots.
24884 2005-09-14 David Schleef <ds@schleef.org>
24886 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24889 2005-09-14 David Schleef <ds@schleef.org>
24891 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24894 2005-09-14 David Schleef <ds@schleef.org>
24896 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
24899 2005-09-14 David Schleef <ds@schleef.org>
24901 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24902 * gst/glib-compat.h: Add some functions that are in newer versions
24903 of glib than we care to require.
24904 * gst/gstregistryxml.c: Use them.
24906 2005-09-14 David Schleef <ds@schleef.org>
24908 * po/POTFILES.in: remove gst-register.c
24910 2005-09-14 David Schleef <ds@schleef.org>
24912 * docs/gst/gstreamer-docs.sgml:
24913 * docs/gst/gstreamer-sections.txt:
24914 * docs/gst/gstreamer.types:
24915 * docs/gst/tmpl/gstelement.sgml:
24916 * docs/gst/tmpl/gstplugin.sgml:
24917 * docs/gst/tmpl/gstpluginfeature.sgml:
24918 Documentation updates for registry changes.
24920 2005-09-14 David Schleef <ds@schleef.org>
24922 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
24923 because we don't require glib-2.8.
24925 2005-09-14 David Schleef <ds@schleef.org>
24927 * gst/gstregistryxml.c: Added. Essentially moved out of the
24928 registries directory.
24930 2005-09-14 David Schleef <ds@schleef.org>
24932 * check/Makefile.am:
24933 * check/generic/states.c:
24937 * gst/gst_private.h:
24938 * gst/gstelementfactory.c:
24943 * gst/gstpluginfeature.c:
24944 * gst/gstpluginfeature.h:
24945 * gst/gstregistry.c:
24946 * gst/gstregistry.h:
24947 * gst/gstregistrypool.c: remove
24948 * gst/gstregistrypool.h: remove
24949 * gst/gsttypefind.c:
24950 * gst/gsttypefindfactory.c:
24952 * tools/Makefile.am:
24953 * tools/gst-compprep.c:
24954 * tools/gst-inspect.c:
24955 * tools/gst-register.c: remove
24956 * tools/gst-xmlinspect.c:
24957 Registry rewrite. Changes registry from being a file created
24958 by a tool into a simple cache file created automatically by
24959 libgstreamer. Removed gst-register (because it's no longer
24960 needed). Remove registry pools, because we only have one
24961 registry implementation (XML). Fix up other subsystems as
24964 2005-09-13 Michael Smith <msmith@fluendo.com>
24966 * gst/gstconfig.h.in:
24967 Don't Use windows linking attributes for MinGW. Fixes #316157
24969 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
24971 * gst/gstutils.c: (set_state_async_thread_func),
24972 (gst_element_set_state_async):
24973 Apparently people think it's better if this function doesn't
24974 try to set the state to whatever state was asked for on the first
24975 call to this function for any object. Seriously.
24977 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
24979 * check/gst/gstpipeline.c: (GST_START_TEST):
24980 * docs/gst/gstreamer-sections.txt:
24981 * gst/gstutils.c: (set_state_async_thread_func),
24982 (gst_element_set_state_async):
24984 add a "gst_element_set_state_async" method that
24985 sets the state and starts a thread to make sure the state
24986 change completes as best as it can
24988 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
24990 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24991 codify design+behaviour in testsuite after discussion
24993 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
24995 * docs/gst/tmpl/gstelement.sgml:
24996 * docs/manual/appendix-quotes.xml:
24998 * gst/gstelement.c: (gst_element_set_state):
25001 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25003 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25004 (gst_base_transform_prepare_output_buf),
25005 (gst_base_transform_handle_buffer):
25006 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25007 (gst_capsfilter_prepare_buf):
25008 Remove the requirement for sub-classes to call the parent
25009 implementation of prepare_output_buffer with a wrapper function.
25011 * gst/gsttaglist.h:
25012 * gst/gsttagsetter.h:
25013 Fix #define wrapper
25015 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25017 * docs/gst/gstreamer-sections.txt:
25020 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25022 * docs/gst/gstreamer-sections.txt:
25023 * docs/gst/tmpl/gstelement.sgml:
25024 * docs/gst/tmpl/gstplugin.sgml:
25025 * gst/gstminiobject.c:
25027 docs now stop throwing warnings
25029 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25031 * docs/gst/gstreamer-sections.txt:
25032 * docs/gst/gstreamer.types:
25033 * docs/gst/tmpl/gstpad.sgml:
25034 * docs/gst/tmpl/gsttypes.sgml:
25035 * gst/base/gstadapter.h:
25036 * gst/base/gstbasesink.h:
25037 * gst/base/gstbasesrc.h:
25043 * gst/gstelement.h:
25045 * gst/gstmessage.h:
25047 * gst/gststructure.c:
25048 * gst/registries/gstlibxmlregistry.h:
25049 various documentation fixes
25051 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25053 * docs/gst/gstreamer-sections.txt:
25054 * docs/gst/tmpl/gstvalue.sgml:
25055 rearrange gstvalue section
25056 * gst/gstutils.c: (gst_element_state_get_name):
25058 * gst/gstvalue.c: (_gst_value_initialize):
25062 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25064 * check/gst-libs/controller.c:
25065 Header include fix.
25066 * gst/base/gstbasetransform.c:
25067 (gst_base_transform_default_prepare_buf),
25068 (gst_base_transform_handle_buffer):
25069 * gst/base/gstbasetransform.h:
25070 Some more basetransform changes and fixes to enable sub-classes
25071 that modify buffer metadata only.
25072 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25073 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25074 (gst_capsfilter_prepare_buf):
25075 If the output pad has fixed allowed caps and input buffers
25076 don't have any, set the fixed caps on outgoing buffers.
25078 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25079 * check/elements/identity.c: (GST_START_TEST):
25080 Make the error a little clearer when the test fails because
25081 identity made a copy of the buffer.
25082 * docs/gst/gstreamer-sections.txt:
25083 New symbols in gstbasetransform.h
25084 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25085 (gst_base_transform_init), (gst_base_transform_transform_size),
25086 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25087 (gst_base_transform_default_prepare_buf),
25088 (gst_base_transform_get_unit_size),
25089 (gst_base_transform_buffer_alloc),
25090 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25091 (gst_base_transform_change_state),
25092 (gst_base_transform_set_passthrough),
25093 (gst_base_transform_set_in_place),
25094 (gst_base_transform_is_in_place):
25095 * gst/base/gstbasetransform.h:
25096 Change BaseTransform to separate in_place operate from same_caps
25097 output. in_place implies that the element can perform the transform
25098 on incoming buffers in-place, even if the caps on the output are
25100 Sub-class elements can now implement special buffer allocation
25101 methods for outgoing buffers if they wish to.
25102 Big documentation addition.
25103 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25104 * gst/elements/gstelements.c:
25105 Changes for basetransform modifications.
25106 * gst/elements/Makefile.am:
25107 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25108 Compile fix. Extra debug output.
25110 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25112 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25114 add tests for valid pad naming
25115 * gst/check/gstcheck.c: (gst_check_log_message_func),
25116 (gst_check_log_critical_func):
25118 remove printing of code, it is fragile when the code contains
25119 % and the line number is enough info
25120 * gst/check/gstcheck.h:
25121 * gst/gstpad.c: (gst_pad_template_new):
25124 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25127 say what CHECK flags we use
25128 * docs/libs/gstreamer-libs.types:
25129 * libs/gst/controller/Makefile.am:
25130 * libs/gst/controller/gst-controller.c:
25131 * libs/gst/controller/gst-controller.h:
25132 * libs/gst/controller/gst-helper.c:
25133 * libs/gst/controller/gst-interpolation.c:
25134 * libs/gst/controller/gstcontroller.c:
25135 * libs/gst/controller/gsthelper.c:
25136 * libs/gst/controller/gstinterpolation.c:
25137 * tools/gst-inspect.c: (print_plugin_info):
25138 we don't use dashes in header names
25140 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25142 * check/Makefile.am:
25143 * check/gst/.cvsignore:
25144 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25145 (gst_pipeline_suite), (main):
25146 adding a test for pipelines and state changes
25147 * gst/gstutils.c: (get_state_func):
25149 * gstreamer.spec.in:
25152 2005-09-08 Michael Smith <msmith@fluendo.com>
25154 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25155 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25156 (gst_file_src_is_seekable), (gst_file_src_get_size),
25157 (gst_file_src_start):
25158 * gst/elements/gstfilesrc.h:
25159 Various fixes for unseekable, unmmapable, and non-normal files, so
25160 that fallback to read() rather than mmap() works.
25161 * gst/gstevent.c: (gst_event_new_newsegment):
25162 Allow newsegment events with segment_start == segment_end, as will
25163 correctly happen if you use filesrc on a zero-size file, for
25166 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25168 * gst/gstplugin.c: (gst_plugin_load_file):
25169 Call g_module_close when we don't load the module
25171 * gst/registries/gstlibxmlregistry.c:
25172 (gst_xml_registry_get_property):
25173 Port leak fix from 0.8
25175 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25177 * docs/gst/gstreamer-docs.sgml:
25178 * docs/gst/tmpl/.cvsignore:
25179 * docs/gst/tmpl/gsttrace.sgml:
25180 * docs/gst/tmpl/gsttrashstack.sgml:
25183 * gst/gstelement.h:
25185 * gst/gstmessage.c:
25186 * gst/gstmessage.h:
25189 * gst/gsttaginterface.c:
25190 * gst/gsttaginterface.h:
25191 * gst/gsttaglist.c:
25192 * gst/gsttaglist.h:
25193 * gst/gsttagsetter.c:
25194 * gst/gsttagsetter.h:
25197 * gst/gsttrashstack.c:
25198 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25199 inlined docs for gsttrace, gsttrashstack
25201 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25204 * gst/elements/gstbufferstore.h:
25205 * gst/elements/gsttypefindelement.c:
25206 * gst/elements/gsttypefindelement.h:
25208 * gst/gsttypefind.c:
25209 * gst/gsttypefind.h:
25210 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25211 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25212 (gst_type_find_factory_dispose),
25213 (gst_type_find_factory_unload_thyself),
25214 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25215 (gst_type_find_factory_get_caps),
25216 (gst_type_find_factory_get_extensions),
25217 (gst_type_find_factory_call_function):
25218 * gst/gsttypefindfactory.h:
25219 * gst/registries/gstlibxmlregistry.c:
25220 * gst/registries/gstxmlregistry.c:
25221 splitted gsttypefind into gsttypefind, gsttypefindfactory
25223 2005-09-07 Andy Wingo <wingo@pobox.com>
25225 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25226 condition whereby the pad's task function is entered before the
25227 pad_mode variable was set.
25229 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25231 * gst/gstpad.c: (gst_pad_alloc_buffer):
25232 Catch misbehaving pad_alloc functions that don't
25233 set up caps and do it for them.
25235 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25237 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25238 test for pipe!=NULL
25239 * docs/gst/tmpl/.cvsignore:
25240 * docs/gst/tmpl/gstmemchunk.sgml:
25241 * docs/gst/tmpl/gstparse.sgml:
25242 * docs/gst/tmpl/gsttaglist.sgml:
25243 * docs/gst/tmpl/gsttagsetter.sgml:
25244 * docs/gst/tmpl/gsttypefind.sgml:
25245 * docs/gst/tmpl/gsttypefindfactory.sgml:
25246 * gst/gstmemchunk.c:
25249 * gst/gsttaginterface.c:
25250 * gst/gsttypefind.c:
25251 * gst/gsttypefind.h:
25254 === release 0.9.2 ===
25256 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25261 releasing 0.9.2, "South"
25263 2005-09-05 Andy Wingo <wingo@pobox.com>
25265 * gst/registries/gstxmlregistry.h:
25266 * gst/registries/gstxmlregistry.c: Um... resurrect...
25268 * gst/registries/gstxmlregistry.h:
25269 * gst/registries/gstxmlregistry.c: and update to newer API.
25270 Incidentally they should be a bit faster now that they don't have
25273 2005-09-05 Andy Wingo <wingo@pobox.com>
25275 * gst/registries/gstxmlregistry.h:
25276 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25277 replaced by the libxml registry a while back
25279 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25281 * docs/gst/tmpl/gstplugin.sgml:
25282 * gst/elements/gstelements.c:
25284 * gst/gstplugin.c: (gst_plugin_register_func),
25285 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25286 (gst_plugin_get_source):
25288 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25289 (gst_xml_registry_save_plugin):
25290 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25291 (gst_xml_registry_save_plugin):
25292 * tools/gst-inspect.c: (print_plugin_info):
25293 add a "source" plugin description field, to represent the source
25294 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25295 will set it to PACKAGE, which is automake's idea of the name of
25296 the source project.
25298 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25303 * docs/Makefile.am:
25304 * docs/faq/Makefile.am:
25305 * docs/gst/tmpl/gstelement.sgml:
25306 * docs/gst/tmpl/gsttypes.sgml:
25307 * docs/htmlinstall.mak:
25308 * docs/manual/Makefile.am:
25309 * docs/pwg/Makefile.am:
25310 reorganize doc build a little
25311 split out docbook and gtk-doc stuff
25312 have two separate --enable's and enable them through autogen
25313 but disable by default in configure (to be similar to other
25315 * gstreamer.spec.in:
25316 clean up docs install
25334 translation updates
25336 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25338 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25341 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25342 (gst_fake_sink_change_state):
25343 Make state change function thread-safe.
25345 * gst/gstpad.c: (gst_pad_alloc_buffer):
25346 Set offset on generic buffer allocated by fallback.
25348 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25350 * docs/gst/gstreamer-sections.txt:
25351 * docs/gst/tmpl/gstelement.sgml:
25353 * libs/gst/controller/gst-controller.c:
25354 (gst_controlled_property_set_interpolation_mode),
25355 (gst_controlled_property_new),
25356 (gst_controller_find_controlled_property):
25357 run the wingo-magic script against the docs
25359 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25361 * docs/gst/gstreamer-docs.sgml:
25362 * docs/gst/gstreamer-sections.txt:
25363 * docs/gst/tmpl/.cvsignore:
25364 * docs/gst/tmpl/gstelementdetails.sgml:
25365 * docs/gst/tmpl/gstelementfactory.sgml:
25368 * gst/gstelementfactory.c:
25369 * gst/gstelementfactory.h:
25370 merged elementdetails docs into elementfactory docs
25373 2005-09-02 Andy Wingo <wingo@pobox.com>
25375 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25376 consider this enum an enum and not a flags.
25378 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25380 * docs/gst/gstreamer-docs.sgml:
25381 * docs/gst/tmpl/.cvsignore:
25382 * docs/gst/tmpl/gstghostpad.sgml:
25383 * docs/gst/tmpl/gstiterator.sgml:
25384 * docs/gst/tmpl/gstmacros.sgml:
25385 * docs/gst/tmpl/gstrealpad.sgml:
25386 * docs/gst/tmpl/gstregistry.sgml:
25387 * docs/gst/tmpl/gstregistrypool.sgml:
25388 * docs/gst/tmpl/gststructure.sgml:
25389 * docs/gst/tmpl/gstsystemclock.sgml:
25390 * docs/gst/tmpl/gsttrace.sgml:
25391 * gst/gstghostpad.c:
25393 * gst/gstmemchunk.c:
25394 * gst/gstmemchunk.h:
25396 * gst/gstregistry.c:
25397 * gst/gstregistrypool.c:
25398 * gst/gststructure.c:
25399 * gst/gstsystemclock.c:
25402 2005-09-02 Andy Wingo <wingo@pobox.com>
25404 * gst/gstelement.h (GstState): Renamed from GstElementState,
25405 changed to be a normal enum instead of flags.
25406 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25407 munged to be GST_STATE_CHANGE_*.
25408 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25409 work with the new state representation.
25410 (GstStateChange): New enumeration of possible state transitions.
25411 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25412 (GstElementClass::change_state): Pass the GstStateChange along as
25413 an argument. Helps language bindings, so they don't have to use
25414 tricky lock-needing macros like GST_STATE_CHANGE ().
25416 * scripts/update-states (file): New script. Run it on a file to
25417 update it for state naming and API changes. Updates files in
25420 * All files updated for the new API.
25422 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25424 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25425 * gst/gstutils.c: (gst_util_set_value_from_string),
25426 (gst_util_set_object_arg):
25427 fix a bunch of unchecked return values
25428 * tools/gst-complete.c: (main):
25429 * gstreamer.spec.in:
25432 2005-09-01 Wim Taymans <wim@fluendo.com>
25434 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25435 (gst_base_sink_event), (gst_base_sink_do_sync),
25436 (gst_base_sink_handle_event):
25437 * gst/base/gstbasesink.h:
25438 Handle newsegments more correctly.
25443 * gst/gstevent.c: (gst_event_new_newsegment):
25444 A newsegment cannot have a start_time of -1
25446 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25448 * win32/gstenumtypes.c:
25449 * win32/gstenumtypes.h:
25452 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25454 * libs/gst/controller/gst-controller.c:
25455 (gst_controlled_property_set_interpolation_mode),
25456 (gst_controlled_property_new):
25457 fixed boolean again
25459 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25461 * docs/faq/gst-uninstalled:
25466 * gst/gstutils.c: (gst_element_link_filtered):
25468 add gst_element_link_filtered
25470 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25472 * docs/gst/gstreamer-docs.sgml:
25473 * docs/gst/gstreamer-sections.txt:
25474 * docs/gst/tmpl/.cvsignore:
25475 * docs/gst/tmpl/gsterror.sgml:
25476 * docs/gst/tmpl/gstfilter.sgml:
25477 * docs/gst/tmpl/gsturihandler.sgml:
25478 * docs/gst/tmpl/gsturitype.sgml:
25479 * docs/gst/tmpl/gstutils.sgml:
25480 * docs/gst/tmpl/gstxml.sgml:
25485 * gst/gsturitype.c:
25488 inlined more docs, fixed double id-ref
25490 2005-08-31 Wim Taymans <wim@fluendo.com>
25492 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25493 (gst_base_transform_handle_buffer):
25494 Passthrough elements don't need the caps as they don't care.
25496 2005-08-31 Wim Taymans <wim@fluendo.com>
25498 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25499 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25500 Don't leak refcounts on buffers.
25502 2005-08-31 Wim Taymans <wim@fluendo.com>
25504 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25505 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25506 (gst_base_transform_chain), (gst_base_transform_change_state):
25507 * gst/base/gstbasetransform.h:
25508 Handle the case where we are not negotiated more gracefully.
25510 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25512 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25513 (gst_file_src_map_region):
25514 Set READONLY flag on mmap'ed buffers, otherwise
25515 gst_buffer_make_writable() won't work properly (#314708).
25517 2005-08-31 Wim Taymans <wim@fluendo.com>
25519 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25520 passthrough elements can even do inplace on non writable
25521 buffers (as they don't touch them).
25523 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25525 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25526 (gst_test_mono_source_set_property),
25527 (gst_test_mono_source_class_init), (GST_START_TEST),
25528 (gst_controller_suite):
25529 more tests (hehe I have the most)
25531 describe popping messages whenusing mulltiple sources
25532 * libs/gst/controller/gst-controller.c:
25533 (gst_controlled_property_set_interpolation_mode),
25534 (gst_controlled_property_new):
25535 * libs/gst/controller/gst-controller.h:
25536 * libs/gst/controller/gst-interpolation.c:
25537 implement boolean properties
25539 2005-08-31 Wim Taymans <wim@fluendo.com>
25541 * gst/gstminiobject.c: (gst_mini_object_ref):
25542 Cannot assert that the refcount has to be positive
25543 since a disposed object can be resurrected.
25545 2005-08-31 Wim Taymans <wim@fluendo.com>
25547 * gst/gstpad.c: (gst_pad_init):
25548 Revert change, need to first fix badly behaving
25551 2005-08-30 Wim Taymans <wim@fluendo.com>
25553 * check/elements/fakesrc.c: (setup_fakesrc):
25554 * check/elements/identity.c: (setup_identity):
25555 Activate pads before using them.
25557 2005-08-30 Wim Taymans <wim@fluendo.com>
25559 * gst/base/gstadapter.c: (gst_adapter_flush):
25560 Flushing out 0 bytes is ok for this function.
25562 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25563 no newsegment gives a warning and sets the start/stop to
25566 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25567 (gst_base_transform_set_passthrough):
25570 * gst/gstminiobject.c: (gst_mini_object_ref):
25571 Check refcount here too.
25573 * gst/gstpad.c: (gst_pad_init):
25574 Pads are initially flushing and refusing data.
25576 * gst/gstutils.c: (gst_element_link_pads_filtered):
25577 When adding a capsfilter element make sure it has the
25578 same state as the parent bin.
25580 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25582 * docs/gst/tmpl/.cvsignore:
25583 * docs/gst/tmpl/gstformat.sgml:
25584 * docs/gst/tmpl/gstversion.sgml:
25588 * gst/gstversion.h.in:
25589 more docs and two more inlined
25591 2005-08-30 Wim Taymans <wim@fluendo.com>
25593 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25594 Don't sync to clock.
25596 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25598 * docs/gst/gstreamer-sections.txt:
25599 ultral33t func10ns deserve to appear in the docs actually
25600 * docs/gst/tmpl/.cvsignore:
25601 * docs/gst/tmpl/gstcompat.sgml:
25602 * docs/gst/tmpl/gstconfig.sgml:
25603 * gst/check/gstcheck.c:
25605 * gst/gstconfig.h.in:
25608 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25610 * docs/gst/tmpl/.cvsignore:
25611 * docs/gst/tmpl/gstquery.sgml:
25612 * docs/gst/tmpl/gstutils.sgml:
25615 inlined and extended docs
25617 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25619 * check/gst-libs/controller.c: (GST_START_TEST),
25620 (gst_controller_suite):
25622 * docs/gst/tmpl/gstutils.sgml:
25623 * docs/libs/gstreamer-libs-sections.txt:
25624 * docs/libs/tmpl/gstdataprotocol.sgml:
25626 * examples/controller/audio-example.c: (main):
25627 controller example works now
25630 * tools/gst-inspect.c: (print_element_properties_info):
25631 show param spec flags
25633 2005-08-29 Andy Wingo <wingo@pobox.com>
25635 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25637 2005-08-28 Andy Wingo <wingo@pobox.com>
25639 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25640 as having two arguments instead of just one. Allows superclasses
25641 to access information on subclasses -- see the terrible for() loop
25642 in gtype.c:g_type_create_instance for the reason why. All callers
25645 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25647 * docs/design/part-messages.txt:
25649 * docs/gst/tmpl/.cvsignore:
25650 * docs/gst/tmpl/gstcaps.sgml:
25651 * docs/gst/tmpl/gstclock.sgml:
25657 * gst/gstmessage.c:
25658 added descriptions for bus and message
25659 inline caps and clock docs
25661 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25663 * gst/gstmessage.c:
25664 * gst/gstmessage.h:
25667 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25669 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25672 2005-08-26 Andy Wingo <wingo@pobox.com>
25674 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25675 element_set_state's return val.
25676 (test_2_elements): Add test that's been disabled for months.
25678 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25679 can-activate-pull properties.
25681 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25682 can-activate-pull properties. Implement is_seekable so fakesrc can
25683 operate in pull mode.
25685 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25687 (gst_base_sink_activate, gst_base_sink_activate_pull)
25688 (gst_base_sink_activate_push): Make activation mode choosing work.
25690 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25691 is right. Make pull mode work. Post an eos before pausing in pull
25693 (gst_base_sink_change_state): Pay attention to the core's
25694 change_state() return val.
25696 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25697 has-getrange properties. Cleanups.
25699 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25700 has_getrange and replace with can_activate_pull and
25703 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25704 locking comments. Remove has_loop, has_chain and replace with
25705 can_activate_pull and can_activate_push.
25707 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
25710 * examples/Makefile.am:
25711 * examples/metadata/Makefile.am:
25712 * examples/metadata/read-metadata.c: (message_loop),
25713 (have_pad_handler), (make_pipeline), (print_tag), (main):
25714 Add metadata reading example that loops over a list of filenames,
25715 dumping any tags found.
25717 * gst/gstbus.c: (gst_bus_dispose):
25718 * gst/gstelement.c: (gst_element_dispose):
25719 Release a few potentially-held references in dispose.
25721 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25723 * docs/gst/tmpl/gstminiobject.sgml:
25724 do *not* add tmpl/*.sgml files to CVS!
25726 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25728 * libs/gst/bytestream/.cvsignore:
25729 * libs/gst/bytestream/Makefile.am:
25730 * libs/gst/bytestream/adapter.c:
25731 * libs/gst/bytestream/adapter.h:
25732 * libs/gst/bytestream/bytestream.c:
25733 * libs/gst/bytestream/bytestream.h:
25734 * libs/gst/bytestream/filepad.c:
25735 * libs/gst/bytestream/filepad.h:
25736 removing obsolete files
25738 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25740 * docs/gst/gstreamer-docs.sgml:
25741 * docs/libs/gstreamer-libs-docs.sgml:
25742 disabed additional index entries again, as this makes docs-gen just
25743 slow and they aren't useful yet
25744 * docs/libs/gstreamer-libs-sections.txt:
25745 little -section.txt cleanup for libs
25747 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
25749 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25750 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25751 fix up some debugging
25752 (gst_base_transform_get_unit_size),
25753 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25754 (gst_base_transform_handle_buffer):
25755 * gst/base/gstbasetransform.h:
25756 handle and store timed NEWSEGMENT events so that subclasses that
25757 calculate time by counting samples have a segment_start time they
25758 need to add to their timestamps - see audioresample
25760 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25763 removed ';' from the end of macro defs
25764 * docs/gst/gstreamer-docs.sgml:
25765 * docs/gst/gstreamer-sections.txt:
25766 * docs/gst/tmpl/.cvsignore:
25768 * gst/gstelement.c: (gst_element_class_init),
25769 (gst_element_set_state), (activate_pads),
25770 (gst_element_save_thyself):
25771 * gst/gstevent.c: (gst_event_new_newsegment):
25773 * gst/gstiterator.c:
25774 * gst/gstiterator.h:
25777 * gst/gstutils.c: (gst_pad_query_convert):
25779 fixed parameter name mismatches between source, header and docs
25780 added some more docs, resolved the last batch of unused elements in
25781 docs (now someone needs to doc them)
25783 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25785 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25786 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25787 don't walk through the plugins backwards. Where is all this
25788 reversed logic coming from ?
25790 2005-08-25 Wim Taymans <wim@fluendo.com>
25792 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25793 (gst_base_transform_transform_size),
25794 (gst_base_transform_configure_caps),
25795 (gst_base_transform_get_unit_size),
25796 (gst_base_transform_buffer_alloc),
25797 (gst_base_transform_change_state):
25798 * gst/base/gstbasetransform.h:
25799 Cache caps unit_size.
25800 Make sure we cannot negotiate up and downstream at the
25803 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25805 * gst/gst.c: (init_pre), (init_post):
25806 register the installed plugin path after the env var
25807 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
25808 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
25809 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
25810 directories, so the tests can prefer uninstalled over installed
25812 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25814 * gst/base/gstbasetransform.h:
25819 2005-08-25 Wim Taymans <wim@fluendo.com>
25821 * gst/gstbin.c: (bin_bus_handler):
25822 Be a bit more conservative about the posted message.
25824 * gst/gstbus.c: (gst_bus_post):
25825 Some cleanups, warn wrong return values.
25827 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
25829 * check/gst/gstbin.c: (GST_START_TEST):
25830 * gst/gstbin.c: (bin_bus_handler):
25831 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25832 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25833 (gst_message_new_warning), (gst_message_new_tag),
25834 (gst_message_new_state_changed), (gst_message_new_segment_start),
25835 (gst_message_new_segment_done), (gst_message_new_custom):
25836 * gst/gstmessage.h:
25837 * tools/gst-launch.c: (event_loop):
25838 * tools/gst-md5sum.c: (event_loop):
25839 Revert unpopular change for GST_MESSAGE_SRC to GObject.
25841 2005-08-25 Wim Taymans <wim@fluendo.com>
25843 * check/generic/states.c: (GST_START_TEST):
25844 Cleanup can be done at the end.
25846 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
25847 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25848 (gst_task_get_state), (gst_task_start), (gst_task_pause):
25849 Oh boy.. Thanks for finding this, Thomas.
25851 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25853 * docs/gst/gstreamer.types:
25854 added missing types
25856 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25858 * docs/gst/gstreamer-docs.sgml:
25859 * docs/gst/gstreamer-sections.txt:
25860 * docs/gst/tmpl/.cvsignore:
25862 * gst/gstiterator.c:
25864 * gst/registries/gstxmlregistry.h:
25865 added missing classes and symbols (123 more to go)
25866 removed removed symbols from section file
25867 fixed many doc-comments
25869 2005-08-24 Wim Taymans <wim@fluendo.com>
25871 * check/generic/states.c: (GST_START_TEST):
25872 Make sure all tasks are stopped.
25874 * check/gst/gstbin.c: (GST_START_TEST):
25875 Unref after usage for proper valgrinding.
25877 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
25878 Really wait for the task to stop before destroying the
25881 * gst/gstqueue.c: (gst_queue_sink_activate_push),
25882 (gst_queue_src_activate_push):
25883 Small cleanups. Don't stop the task when we did not start
25886 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
25887 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25888 (gst_task_get_state), (gst_task_start), (gst_task_pause),
25891 Protect the stream lock with the object lock.
25892 Disallow setting the stream lock when running.
25893 Add cleanup_all to wait for the threadpool to finish.
25894 Remove code to autoallocate a mutex if none was provided.
25895 Add _join() to wait for a task to stop.
25896 Protect the thread pool with a global lock.
25898 2005-08-24 Wim Taymans <wim@fluendo.com>
25900 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25901 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25902 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
25903 * gst/base/gstbasesink.h:
25904 Handle newsegment events correctly.
25905 Drop buffers out of the segment range.
25907 2005-08-22 Andy Wingo <wingo@pobox.com>
25909 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
25910 macro, implements an interface and gstimplementsinterface for a
25913 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
25915 * check/Makefile.am:
25916 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
25917 add a test that does a bunch of state changes on elements
25918 needs some fixing for valgrind
25919 * check/states/sinks.c: (gst_object_suite):
25922 add prototype for gst_caps_is_equal_fixed
25924 * gst/gstregistrypool.c:
25927 2005-08-24 Andy Wingo <wingo@pobox.com>
25929 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
25930 convert a negative value. Doesn't make much sense. Mostly this is
25931 here to force callers to ensure -1 maps to -1.
25933 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
25935 * docs/pwg/advanced-types.xml:
25936 Well done to Michael for catching my deliberate introduction
25937 of this spelling mistake.
25938 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
25939 * gst/gstelement.h:
25940 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
25941 unlink pads before removing the element from the bin.
25943 2005-08-24 Andy Wingo <wingo@pobox.com>
25945 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
25946 the same thing as GST_DEBUG=*:4.
25947 (parse_debug_level, parse_debug_category): New helper parsers.
25949 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
25951 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25952 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
25953 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
25954 (gst_base_transform_buffer_alloc),
25955 (gst_base_transform_handle_buffer):
25956 use gboolean return values and pointers to size so we can use the
25957 full GST_BUFFER_SIZE range (guint) for buffer sizes
25958 use GstPadDirection for transform_caps
25959 * gst/base/gstbasetransform.h:
25960 rename get_size to get_unit_size since that's what it is
25961 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
25962 use GstPadDirection for transform_caps
25963 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25965 cleanup and debugging
25967 2005-08-24 Stefan Kost <ensonic@users.sf.net>
25969 * gst/gstelement.c: (gst_element_class_init),
25970 (gst_element_set_state), (activate_pads),
25971 (gst_element_save_thyself):
25972 * tools/gst-compprep.c: (main):
25973 * tools/gst-inspect.c: (print_element_properties_info):
25974 * tools/gst-xmlinspect.c: (print_element_properties):
25975 Fixed long standing mem-leak
25977 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
25979 * check/gst/gstbin.c: (GST_START_TEST):
25980 * gst/gstbin.c: (bin_bus_handler):
25981 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25982 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25983 (gst_message_new_warning), (gst_message_new_tag),
25984 (gst_message_new_state_changed), (gst_message_new_segment_start),
25985 (gst_message_new_segment_done), (gst_message_new_custom):
25986 * gst/gstmessage.h:
25987 * tools/gst-launch.c: (event_loop):
25988 * tools/gst-md5sum.c: (event_loop):
25989 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
25990 that applications can sensibly post custom messages with references
25991 to their own objects.
25993 2005-08-24 Andy Wingo <wingo@pobox.com>
25995 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
25998 2005-08-24 Wim Taymans <wim@fluendo.com>
26000 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26001 (gst_base_transform_transform_caps),
26002 (gst_base_transform_transform_size),
26003 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26004 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26005 (gst_base_transform_handle_buffer):
26006 * gst/base/gstbasetransform.h:
26007 Many fixes and new features added by Thomas. Can now also do
26008 transforms with variable sizes and a custom fixate_caps function.
26010 2005-08-24 Wim Taymans <wim@fluendo.com>
26012 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26016 Cast to ClockTime before formatting to time.
26021 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26023 * check/gst-libs/controller.c: (GST_START_TEST),
26024 (gst_controller_suite):
26025 * docs/gst/tmpl/gstcaps.sgml:
26026 * docs/gst/tmpl/gstghostpad.sgml:
26027 * docs/gst/tmpl/gstquery.sgml:
26028 * docs/gst/tmpl/gstutils.sgml:
26029 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26030 (gst_object_sink_values), (gst_object_get_value_arrays),
26031 (gst_object_get_value_array):
26032 gracefully handle helper method calls to objects that are not beeing
26033 controlled, added test case for that
26035 2005-08-23 Wim Taymans <wim@fluendo.com>
26037 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26038 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26039 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26040 (gst_event_parse_qos), (gst_event_new_seek),
26041 (gst_event_parse_seek):
26043 Some more debugging output and doc cleanups.
26045 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26046 Fix possible deadlock.
26048 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26050 * docs/gst/gstreamer-docs.sgml:
26051 * docs/gst/gstreamer-sections.txt:
26052 * docs/gst/gstreamer.types:
26053 * docs/gst/tmpl/.cvsignore:
26056 * gst/gstelement.c:
26058 added 100 symbols from gstreamer-unused.txt to the right sections
26059 fixed more broken comments
26060 added GstBus to docs
26062 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26064 * docs/gst/gstreamer-sections.txt:
26065 * docs/gst/tmpl/.cvsignore:
26066 * docs/gst/tmpl/gstbin.sgml:
26067 * docs/gst/tmpl/gstbuffer.sgml:
26068 * gst/base/gstbasesrc.c:
26069 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26072 * tools/gst-launch.1.in:
26073 inlined more doc comments, added missing comments and fixed comments
26076 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26078 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26082 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26084 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26085 * gst/gststructure.h:
26086 add a fixate function for booleans; add a FIXME that these func
26087 names should probably be gst_structure_fixate_*
26089 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26091 * docs/gst/gstreamer-docs.sgml:
26092 * docs/gst/gstreamer-sections.txt:
26094 * gst/gstbin.c: (gst_bin_get_type),
26095 (gst_bin_child_proxy_get_child_by_index),
26096 (gst_bin_child_proxy_get_children_count),
26097 (gst_bin_child_proxy_init):
26098 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26099 (gst_child_proxy_get_child_by_index),
26100 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26101 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26102 (gst_child_proxy_get), (gst_child_proxy_set_property),
26103 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26104 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26105 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26106 * gst/gstchildproxy.h:
26107 * gst/parse/grammar.y:
26108 * tools/gst-inspect.c: (print_interfaces),
26109 (print_element_properties_info), (print_element_info):
26110 ported gstchildproxy over from 0.8
26111 ported gst-inspect fixes and enhancements over from 0.8
26113 2005-08-22 Wim Taymans <wim@fluendo.com>
26115 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26116 (gst_base_transform_handle_buffer):
26117 Also call the transform function if we have ANY caps.
26119 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26122 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26124 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26125 Don't pretend to handle seek events if the source is not seekable
26127 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26129 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26130 Remove extra parameter to debug output
26132 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26133 (gst_base_src_do_seek), (gst_base_src_activate_push):
26134 Fix seek event handling.
26136 * gst/gstpipeline.c: (gst_pipeline_change_state):
26137 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26138 (gst_queue_src_activate_push):
26139 Don't start the src pad task on FLUSH_STOP if the pad
26143 2005-08-22 Wim Taymans <wim@fluendo.com>
26145 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26146 Added check for gst_static_caps_get() refcounting.
26148 2005-08-22 Wim Taymans <wim@fluendo.com>
26150 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26151 Make _static_caps_get() refcounting sane.
26153 * gst/gstelement.c: (gst_element_set_state):
26154 Add g_return_val_if_fail() to protect against segfaults.
26156 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26158 * docs/gst/tmpl/gstevent.sgml:
26161 inlined remaining docs, added missing doc comments
26163 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26165 * check/gst/gstbin.c: (GST_START_TEST):
26166 since we don't know when preroll is done, use refcount range
26168 * gst/check/gstcheck.h:
26169 add macro for checking refcount range
26171 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26173 * check/Makefile.am:
26174 clean up environment for when registry gets built versus
26175 when actual tests are run; valgrind seems to not report
26176 leaks if GST_PLUGIN_PATH is set to some specific values
26177 * check/gst/gstbin.c: (GST_START_TEST):
26178 add more refcounting checks; maybe this exposes a
26180 * common/check.mak:
26181 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26182 * gst/check/gstcheck.h:
26183 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26184 (gst_bin_change_state):
26185 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26186 add/fix debugging/whitespace
26188 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26190 * check/gst/gstevent.c: (event_probe), (test_event),
26192 Er, don't call gst_bin_watch_for_state_change you idiot.
26194 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26196 * check/Makefile.am:
26197 Use CHECK_CFLAGS and CHECK_LIBS
26198 * check/gst/gstevent.c: (event_probe), (test_event),
26201 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26202 (gst_base_src_start), (gst_base_src_stop),
26203 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26204 (gst_base_src_change_state):
26205 Sprinkle gst_base_src_stop liberally around error paths to fix
26206 problems reusing a source after failed state changes.
26207 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26208 (helper_find_suggest), (gst_type_find_helper):
26209 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26211 * docs/gst/tmpl/gstevent.sgml:
26212 Migrate part of the docs from the SGML file. Wait for ensonic to
26213 tell me how I did it wrong ;)
26214 * tools/gst-typefind.c: (main):
26215 Extra robustness to state changes between files.
26217 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26219 * check/Makefile.am:
26220 don't valgrind the controller test - it's leaking - Stefan, HELP
26221 * gst/check/gstcheck.c: (gst_check_message_error),
26222 (gst_check_chain_func), (gst_check_setup_element),
26223 (gst_check_teardown_element), (gst_check_setup_src_pad),
26224 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26225 (gst_check_teardown_sink_pad):
26226 * gst/check/gstcheck.h:
26227 add a bunch of methods to set up elements, and src and sink pads
26228 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26229 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26232 * gst/gstmessage.c:
26234 whitespace/doc fixes
26236 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26238 * gst/gstelement.h:
26239 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26240 be handled by the application and not always printed as well
26242 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26244 * check/Makefile.am:
26246 * gst/check/gstcheck.c: (gst_check_message_error):
26247 * gst/check/gstcheck.h:
26248 add a fail_unless_equals_int
26249 add fail_unless for error messages
26251 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26253 * check/Makefile.am:
26255 * common/Makefile.am:
26256 * common/check.mak:
26258 factor out some of the common stuff so we can use it
26260 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26262 * check/Makefile.am:
26263 * check/gst/gstiterator.c: (GST_START_TEST):
26264 * check/gst/gstsystemclock.c: (GST_START_TEST),
26265 (gst_systemclock_suite):
26266 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26268 valgrind more tests
26270 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26272 * check/elements/.cvsignore:
26273 * check/elements/gstfakesrc.c:
26274 rename to name of element
26275 * check/elements/identity.c: (chain_func), (event_func),
26276 (setup_identity), (cleanup_identity), (GST_START_TEST),
26277 (identity_suite), (main):
26278 add a test for identity
26279 * check/Makefile.am:
26280 * pkgconfig/Makefile.am:
26281 * pkgconfig/gstreamer-check.pc.in:
26282 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26286 move the check stuff to a library that gets installed
26287 * check/gst-libs/controller.c: (GST_START_TEST):
26288 * check/gst-libs/gdp.c:
26289 * check/gst/gst.c: (GST_START_TEST):
26290 * check/gst/gstbin.c:
26291 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26292 * check/gst/gstbus.c:
26293 * check/gst/gstcaps.c: (GST_START_TEST):
26294 * check/gst/gstelement.c:
26295 * check/gst/gstghostpad.c:
26296 * check/gst/gstiterator.c:
26297 * check/gst/gstmessage.c:
26298 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26299 * check/gst/gstobject.c:
26300 * check/gst/gstpad.c: (GST_START_TEST):
26301 * check/gst/gststructure.c: (GST_START_TEST):
26302 * check/gst/gstsystemclock.c: (GST_START_TEST),
26303 (gst_systemclock_suite):
26304 * check/gst/gsttag.c: (gst_tag_suite):
26305 * check/gst/gstvalue.c:
26306 * check/pipelines/cleanup.c:
26307 * check/pipelines/simple_launch_lines.c:
26308 * check/states/sinks.c:
26309 change include statement
26311 * docs/gst/gstreamer-sections.txt:
26312 * docs/gst/tmpl/gstpad.sgml:
26313 document more pad stuff
26314 * gst/gstminiobject.c: (gst_mini_object_ref),
26315 (gst_mini_object_unref):
26318 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26320 * docs/gst/tmpl/gst.sgml:
26322 eliminate another tmpl file, fix spelling in the long-description
26324 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26326 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26327 (test_event), (timediff), (gstevents_suite):
26328 Should fix build on 64-bit arch's
26330 2005-08-18 Andy Wingo <wingo@pobox.com>
26332 Make sure that when a pipeline goes to PLAYING, that data has
26333 actually hit the sink.
26335 * check/states/sinks.c (test_sink): A sink that doesn't get any
26336 data shouldn't return SUCCESS for going to either PLAYING or
26337 PAUSED. Test also the return values on the way back down.
26339 * gst/gstelement.c (gst_element_set_state): When changing the
26340 state of an element currently changing state asynchronously, go to
26341 lost-state after commiting the pending state. Makes future calls
26342 to get_state continue to return ASYNC.
26344 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26345 ASYNC when going to PLAYING if we still don't have preroll, as can
26346 happen with live sources.
26348 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26350 * docs/pwg/advanced-types.xml:
26351 Hack long paragraph into 2 chunks as a workaround for buggy
26352 jadetex version in sid and breezy that loops infinitely and
26355 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26357 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26358 (test_event), (timediff), (gstevents_suite):
26359 Provide more error margin in clock measurements to allow for
26360 g_get_current_time inaccuracies.
26362 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26364 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26365 (test_event), (timediff), (gstevents_suite):
26366 Fix error message output so I might be able to tell why the
26367 test works here but fails on the build farm.
26369 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26371 * check/Makefile.am:
26372 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26373 (test_event), (timediff), (gstevents_suite), (main):
26376 * docs/design/part-seeking.txt:
26377 Spelling correction
26379 * docs/gst/tmpl/gstevent.sgml:
26380 * docs/gst/tmpl/gstfakesrc.sgml:
26383 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26384 Treat a buffer-without-newsegment the same as a receiving
26385 a newsegment not in time format, and disable syncing to the clock
26388 * gst/gstbus.c: (gst_bus_set_sync_handler):
26389 Assert if anyone tries to replace the existing sync_handler for bus,
26390 as only the owner should be setting it.
26393 Have a fixed set of custom event enums with events identified by
26394 their structure name (as in 0.8), rather than a free-for-all
26395 allowing collisions between enum values from different plugins.
26397 * gst/gstpad.c: (gst_pad_class_init):
26400 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26401 Handle out-of-band downstream events from the sending thread.
26403 2005-08-17 Andy Wingo <wingo@pobox.com>
26405 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26406 play-timeout==0 to mean no timeout at all. In that case, don't
26407 bother with a get_state or a warning, just return directly, even
26410 * gst/base/gstbasetransform.c: Debug changes.
26413 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26414 ensure bins post state change messages. A bit of a hack but I can't
26415 think of a way to avoid it.
26417 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26419 2005-08-16 Andy Wingo <wingo@pobox.com>
26421 * gst/base/gstadapter.h:
26422 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26423 peek() but you own the data. Not terribly efficient atm.
26425 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26427 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26428 (gst_element_found_tags):
26430 Add two utility functions for tag handling.
26432 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26434 * docs/manual/advanced-dataaccess.xml:
26435 * docs/manual/basics-helloworld.xml:
26436 Fix docs to use _bin_add() before _link(), which fixes the examples
26437 with recent core versions (reported by Madhan Raj M
26438 <raj_madan@rediffmail.com>, #313199).
26440 2005-08-16 Wim Taymans <wim@fluendo.com>
26442 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26443 Added subtract checks.
26445 * docs/design/part-events.txt:
26446 Some more docs about newsegment
26448 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26451 * gst/gstcaps.c: (gst_caps_to_string):
26452 Add comments, cleanups.
26454 * gst/gstelement.c: (gst_element_save_thyself):
26457 * gst/gstvalue.c: (gst_value_collect_int_range),
26458 (gst_string_unwrap), (gst_value_union_int_int_range),
26459 (gst_value_union_int_range_int_range),
26460 (gst_value_intersect_int_int_range),
26461 (gst_value_intersect_int_range_int_range),
26462 (gst_value_intersect_double_double_range),
26463 (gst_value_intersect_double_range_double_range),
26464 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26465 (gst_value_subtract_int_range_int),
26466 (gst_value_subtract_double_range_double),
26467 (gst_value_subtract_double_range_double_range),
26468 (gst_value_subtract_from_list), (gst_value_subtract_list),
26469 (gst_value_can_compare), (gst_value_compare_fraction):
26470 Cleanups, add comments, remove unneeded asserts.
26472 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26474 * tools/gst-launch.c: (event_loop):
26475 don't convert NULL structures to strings
26477 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26479 * docs/gst/gstreamer-sections.txt:
26480 made some defines private
26481 * docs/gst/tmpl/gstconfig.sgml:
26482 * docs/gst/tmpl/gstqueue.sgml:
26483 * docs/gst/tmpl/gsttaglist.sgml:
26484 * docs/gst/tmpl/gsttypes.sgml:
26485 * docs/gst/tmpl/gstutils.sgml:
26486 * docs/pwg/appendix-porting.xml:
26487 * gst/base/gstbasesink.h:
26488 * gst/base/gstbasesrc.c:
26489 * gst/base/gstbasesrc.h:
26490 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26491 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26492 * gst/gstelement.c: (gst_element_class_init):
26493 * gst/gstpad.c: (gst_pad_class_init):
26494 * gst/gstqueue.c: (gst_queue_class_init):
26495 * gst/gstxml.c: (gst_xml_class_init):
26496 documented all undocumented signal inline
26497 * libs/gst/controller/gst-controller.h:
26500 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26502 * docs/pwg/appendix-porting.xml:
26503 Document _set_link_function -> _set_setcaps_function.
26505 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26507 * check/Makefile.am:
26508 add a .check target for running the check
26509 * check/gst-libs/controller.c: (GST_START_TEST):
26511 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26512 complete checks for gstbuffer; would be nice if I could get the
26513 gcov stuff to work so I can see if I actually completed gstbuffer.c
26514 * check/gstcheck.h:
26515 add ASSERT_BUFFER_REFCOUNT
26517 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26519 * docs/gst/gstreamer-sections.txt:
26520 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26522 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26523 spew out a warning if a tag that is already registered
26524 is re-registered, unless it is re-registered with a
26525 different type (#308438).
26527 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26529 * docs/pwg/appendix-porting.xml:
26530 * docs/pwg/building-state.xml:
26531 Add some paragraphs about state changes in 0.9 to the PWG
26532 and the porting guide, in particular about the new meaning
26533 of GST_STATE_PAUSED and how to write state change functions
26534 with concurrent access by multiple threads in mind.
26536 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26538 * docs/gst/gstreamer-docs.sgml:
26539 * docs/libs/gstreamer-libs-docs.sgml:
26540 added deprecation and since indexes
26541 * libs/gst/controller/gst-controller.c:
26542 * libs/gst/controller/gst-helper.c:
26546 2005-08-11 Wim Taymans <wim@fluendo.com>
26548 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26549 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26550 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26551 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26552 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26553 (gst_ghost_pad_set_target):
26554 Actually implement (re)setting the target on a ghostpad
26555 as described in the docs.
26557 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26559 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26560 Check whether GST_DEBUG_NO_COLOR environment variable is
26561 set and disable coloured debug output if that is the case.
26563 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26565 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26566 (gst_type_find_helper):
26567 The memory returned by gst_type_find_peek() needs to
26568 stay valid until the end of a typefind function, and
26569 typefind functions may keep results from different
26570 offsets around, so we can't just unref the buffer from
26571 the previous _peek(), but have to save all buffers
26572 returned by _peek() until typefinding is done and only
26575 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26577 * docs/gst/gstreamer-sections.txt:
26579 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26581 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26583 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26584 Fix a pretty good memleak.
26586 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26588 * gst/gstiterator.h:
26589 Fix wrong include and 'make distcheck'.
26591 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26593 * gst/gstbin.c: (bin_bus_handler):
26594 Use gst_element_post_message() instead.
26596 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26598 * gst/base/gstadapter.h:
26599 * gst/base/gstbasesink.h:
26600 * gst/base/gstbasesrc.h:
26601 * gst/base/gstbasetransform.h:
26602 * gst/base/gstcollectpads.h:
26603 * gst/base/gstpushsrc.h:
26604 * gst/gstiterator.h:
26605 Add padding to our base elements' class and instance structs and
26606 to GstIterator (you will need to rebuild all plugins and apps!)
26608 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26610 * gst/gstbin.c: (bin_bus_handler):
26611 Make default message forwarding from child->bus to bin->bus
26612 threadsafe and make it not emit warnings if the parent has no bus.
26614 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26616 * gst/gstelement.c: (activate_pads):
26617 On paused->ready, set pad->caps to NULL, as is the documented
26618 behaviour in this state change. Fixes playback of series of
26619 media files when visualization is enabled in Totem.
26621 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26623 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26624 Allow NULL as filter-caps (which means "any").
26626 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26628 * docs/libs/gstreamer-libs-sections.txt:
26629 * libs/gst/controller/gst-controller.c:
26630 * libs/gst/controller/gst-controller.h:
26631 * libs/gst/controller/gst-helper.c:
26632 adding more entries to the docs and fix small doc-bugs
26634 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26636 * docs/gst/gstreamer-docs.sgml:
26637 * docs/gst/gstreamer-sections.txt:
26638 * docs/gst/gstreamer.types:
26639 * docs/gst/tmpl/gstbasesink.sgml:
26640 * docs/gst/tmpl/gstbasesrc.sgml:
26641 * docs/gst/tmpl/gstbasetransform.sgml:
26642 * docs/gst/tmpl/gstfakesrc.sgml:
26643 * gst/base/gstcollectpads.c:
26644 * gst/base/gstcollectpads.h:
26645 * libs/gst/controller/gst-controller.c:
26646 * libs/gst/controller/gst-controller.h:
26647 * libs/gst/controller/gst-helper.c:
26648 * libs/gst/controller/gst-interpolation.c:
26649 * libs/gst/controller/lib.c:
26650 added long/short desc for controller docs
26651 added collectpads base class docs
26652 added correct includes to base-class docs
26654 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26656 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26657 (gst_test_mono_source_set_property),
26658 (gst_test_mono_source_class_init), (GST_START_TEST),
26659 (gst_controller_suite):
26660 * docs/gst/gstreamer-docs.sgml:
26661 * docs/gst/gstreamer-sections.txt:
26662 * docs/gst/gstreamer.types:
26663 * docs/libs/gstreamer-libs-docs.sgml:
26664 * docs/libs/gstreamer-libs-sections.txt:
26665 * gst/base/gstadapter.c:
26666 * libs/gst/controller/gst-controller.c:
26667 (gst_controlled_property_new), (gst_controlled_property_free),
26668 (gst_controller_new_valist),
26669 (gst_controller_remove_properties_valist),
26670 (gst_controller_sink_values), (_gst_controller_finalize):
26671 * libs/gst/controller/gst-controller.h:
26672 * libs/gst/controller/gst-helper.c:
26673 (gst_object_control_properties), (gst_object_uncontrol_properties),
26674 (gst_object_get_controller), (gst_object_set_controller),
26675 (gst_object_sink_values), (gst_object_get_value_arrays),
26676 (gst_object_get_value_array):
26677 more tests (and fixes) for the controller
26678 more docs for the controller
26679 integrated companies docs for the adapter
26681 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26683 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26684 (GST_START_TEST), (fakesrc_suite):
26685 add tests for sizetype
26687 2005-08-04 Andy Wingo <wingo@pobox.com>
26689 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26690 fixes buffer_alloc proxying among other things.
26692 * gst/base/gstbasetransform.c:
26693 * gst/base/gstbasetransform.h:
26694 Revert patch to gstbasetransform from 7-28 removing
26697 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26698 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26699 Semantics changed, should return not the size of the output buffer
26700 but the byte size of a buffer with a given caps.
26702 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26704 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26705 out) are not the pad caps until setcaps finishes.
26706 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26707 not-in-place case as well. Deal with changing from in-place to
26708 not-in-place within calling pad_alloc_buffer. Still a bit
26709 concerned about the overhead here...
26711 2005-08-03 Andy Wingo <wingo@pobox.com>
26713 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26714 fixating is an error.
26716 2005-08-04 Edward Hervey <edward@fluendo.com>
26718 * gst/base/gstadapter.h:
26719 Added gst_adapter_get_type() to the header
26721 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26723 * check/Makefile.am:
26724 * check/gst-libs/controller.c:
26725 * libs/gst/controller/gst-controller.c:
26726 (gst_controller_new_valist):
26727 added check test suite for the controller
26728 * gst/base/gstpushsrc.c:
26731 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26733 * docs/gst/Makefile.am:
26734 * docs/gst/gstreamer-docs.sgml:
26735 * docs/gst/gstreamer-sections.txt:
26736 * docs/gst/gstreamer.types:
26737 * docs/gst/tmpl/gstfakesrc.sgml:
26739 * gst/base/gstbasesink.c:
26740 * gst/base/gstbasesink.h:
26741 * gst/base/gstbasesrc.c:
26742 * gst/base/gstbasesrc.h:
26743 * gst/base/gstbasetransform.c:
26744 * gst/base/gstpushsrc.c:
26745 * gst/base/gstpushsrc.h:
26746 add short/long description docs to base classes
26747 add pushsrc to the docs
26748 remove consolidated doc fragments
26750 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26753 * docs/libs/Makefile.am:
26754 * docs/libs/gstreamer-libs-docs.sgml:
26755 * docs/libs/gstreamer-libs-sections.txt:
26756 * docs/libs/gstreamer-libs.types:
26757 * examples/Makefile.am:
26758 * examples/controller/.cvsignore:
26759 * examples/controller/Makefile.am:
26760 * examples/controller/audio-example.c: (main):
26761 * libs/gst/Makefile.am:
26762 * libs/gst/controller/.cvsignore:
26763 * libs/gst/controller/Makefile.am:
26764 * libs/gst/controller/gst-controller.c:
26765 (on_object_controlled_property_changed), (gst_timed_value_compare),
26766 (gst_timed_value_find),
26767 (gst_controlled_property_set_interpolation_mode),
26768 (gst_controlled_property_new), (gst_controlled_property_free),
26769 (gst_controller_find_controlled_property),
26770 (gst_controller_new_valist), (gst_controller_new),
26771 (gst_controller_remove_properties_valist),
26772 (gst_controller_remove_properties), (gst_controller_set),
26773 (gst_controller_set_from_list), (gst_controller_unset),
26774 (gst_controller_get), (gst_controller_get_all),
26775 (gst_controller_sink_values), (gst_controller_get_value_arrays),
26776 (gst_controller_get_value_array),
26777 (gst_controller_set_interpolation_mode),
26778 (_gst_controller_finalize), (_gst_controller_init),
26779 (_gst_controller_class_init), (gst_controller_get_type):
26780 * libs/gst/controller/gst-controller.h:
26781 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26782 (g_object_uncontrol_properties), (g_object_get_controller),
26783 (g_object_set_controller), (g_object_sink_values),
26784 (g_object_get_value_arrays), (g_object_get_value_array):
26785 * libs/gst/controller/gst-interpolation.c:
26786 (gst_controlled_property_find_timed_value_node),
26787 (interpolate_none_get), (interpolate_trigger_get),
26788 (interpolate_trigger_get_value_array):
26789 * libs/gst/controller/lib.c: (gst_controller_init):
26790 * pkgconfig/Makefile.am:
26791 * pkgconfig/gstreamer-control-uninstalled.pc.in:
26792 * pkgconfig/gstreamer-control.pc.in:
26793 * testsuite/Makefile.am:
26794 * testsuite/controller/.cvsignore:
26795 * testsuite/controller/Makefile.am:
26796 * testsuite/controller/interpolator.c: (main):
26797 added controller code
26798 removed dparam pc files
26800 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26801 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26802 (gst_collectpads_stop):
26803 Broadcast the condition when shutting down, to make sure we wake all
26804 threads up. Shut down pads on finalize, for safety.
26806 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26807 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26808 (gst_base_transform_handle_buffer),
26809 (gst_base_transform_change_state):
26810 Handle PAUSED->READY->PAUSED transition after negotiation
26812 * gst/gstmessage.c: (gst_message_init):
26813 Extra piece of debug for new messages.
26815 2005-08-01 Stefan Kost <ensonic@users.sf.net>
26818 * docs/gst/tmpl/gstbasesrc.sgml:
26819 * docs/gst/tmpl/gstelement.sgml:
26820 * docs/gst/tmpl/gstevent.sgml:
26821 * docs/gst/tmpl/gstfakesrc.sgml:
26822 * docs/gst/tmpl/gstformat.sgml:
26823 * docs/gst/tmpl/gstghostpad.sgml:
26824 * docs/gst/tmpl/gstpad.sgml:
26825 * docs/gst/tmpl/gstquery.sgml:
26826 * docs/gst/tmpl/gststructure.sgml:
26827 * docs/gst/tmpl/gsttaglist.sgml:
26828 * docs/gst/tmpl/gstvalue.sgml:
26829 * docs/libs/gstreamer-libs-docs.sgml:
26830 * docs/libs/gstreamer-libs-sections.txt:
26831 * docs/libs/gstreamer-libs.types:
26832 * libs/gst/Makefile.am:
26833 * libs/gst/control/.cvsignore:
26834 * libs/gst/control/Makefile.am:
26835 * libs/gst/control/control.c:
26836 * libs/gst/control/control.h:
26837 * libs/gst/control/dparam.c:
26838 * libs/gst/control/dparam.h:
26839 * libs/gst/control/dparam_smooth.c:
26840 * libs/gst/control/dparam_smooth.h:
26841 * libs/gst/control/dparamcommon.h:
26842 * libs/gst/control/dparammanager.c:
26843 * libs/gst/control/dparammanager.h:
26844 * libs/gst/control/dplinearinterp.c:
26845 * libs/gst/control/dplinearinterp.h:
26846 * libs/gst/control/unitconvert.c:
26847 * libs/gst/control/unitconvert.h:
26848 * testsuite/Makefile.am:
26849 * testsuite/dynparams/.cvsignore:
26850 * testsuite/dynparams/Makefile.am:
26851 * testsuite/dynparams/dparamstest.c:
26852 * tools/Makefile.am:
26853 * tools/gst-inspect.c: (print_element_info), (main):
26854 * tools/gst-xmlinspect.c: (print_element_info), (main):
26855 deactivate and remove dparams (libgstcontrol)
26857 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26859 * gst/elements/gsttypefindelement.c:
26860 (gst_type_find_element_have_type), (gst_type_find_element_init),
26861 (stop_typefinding), (gst_type_find_element_handle_event),
26862 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26863 * gst/elements/gsttypefindelement.h:
26864 Set caps on all outgoing buffers, not just the first one.
26866 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26868 * gst/elements/gsttypefindelement.c:
26869 (gst_type_find_element_have_type),
26870 (gst_type_find_element_check_set_buffer_caps),
26871 (gst_type_find_element_init), (stop_typefinding),
26872 (gst_type_find_element_handle_event),
26873 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26874 * gst/elements/gsttypefindelement.h:
26875 Set caps on first outgoing buffer when we've found the type.
26877 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26879 * docs/gst/gstreamer-docs.sgml:
26880 * docs/gst/gstreamer-sections.txt:
26881 * docs/gst/tmpl/gstscheduler.sgml:
26882 * docs/gst/tmpl/gstschedulerfactory.sgml:
26883 Remove some old cruft from docs.
26885 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
26888 Fix inline docs for GstPadLinkReturn.
26890 * gst/gststructure.c: (gst_structure_has_name):
26891 * gst/gststructure.h:
26892 * docs/gst/gstreamer-sections.txt:
26893 New API: gst_structure_has_name().
26895 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
26898 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
26899 and _LARGEFILE_SOURCE in config.h as required. Do not
26900 export those flags in our .pc files any longer (#142209).
26902 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
26904 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
26905 (gst_file_sink_do_seek), (gst_file_sink_event),
26906 (gst_file_sink_get_current_offset), (gst_file_sink_render):
26907 Redo seek/tell calls with large file support in mind; add some
26908 debugging messages; add log message that tells us when large
26909 file support is unavailable or not enabled for some reason.
26911 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
26912 Add log message that tells us when large file support
26913 is unavailable or not enabled for some reason.
26915 2005-07-29 Wim Taymans <wim@fluendo.com>
26917 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
26918 Added test for removing an element with ghostpad from a bin.
26919 Fixed test as current implementation does the right thing.
26921 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
26922 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
26923 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
26924 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
26925 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
26926 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
26927 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
26928 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26929 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
26930 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
26931 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
26932 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
26933 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
26934 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
26935 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
26936 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
26937 * gst/gstghostpad.h:
26938 Clean up ghostpads, remove properties for internal stuff.
26941 Prepare for switching targets, not all use cases work yet.
26943 2005-07-29 Wim Taymans <wim@fluendo.com>
26945 * docs/design/part-gstghostpad.txt:
26948 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
26949 (gst_bin_remove_func):
26950 Unlinking pads while holding the bin LOCK is not a good
26953 * gst/gstpad.c: (gst_pad_class_init),
26954 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
26955 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
26956 No prob setting template after creating the pad.
26958 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
26960 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
26961 (gst_bus_peek), (gst_bus_source_dispatch),
26962 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
26963 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
26964 gst_bus_poll may be called from other threads. Handle
26965 this nicely by not making poll_data disappear off the
26966 stack once gst_bus_poll returns.
26967 gst_bus_peek now increments the refcount on the returned
26970 2005-07-29 Wim Taymans <wim@fluendo.com>
26972 * docs/design/part-gstghostpad.txt:
26973 Overview of current GhostPad datastructures and use
26974 cases for changing the target.
26976 2005-07-28 Wim Taymans <wim@fluendo.com>
26978 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26979 Added checks for hierarchy consistency whan adding linked
26982 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26983 Added check to test element scheduling without bin/pipeline.
26985 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26986 First add elements to bin, then link.
26988 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
26989 (gst_bin_remove_func):
26990 Unlink pads from elements added/removed from bin to maintain
26991 hierarchy consistency.
26993 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26995 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26996 (gst_base_transform_handle_buffer):
26997 * gst/base/gstbasetransform.h:
26998 Remove broken delay_configure (fixes renegotiation of software
26999 scaling pipelines); remove some leftover printf()s.
27001 2005-07-28 Wim Taymans <wim@fluendo.com>
27003 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27004 Added some more tests for wrong hierarchy
27006 * docs/design/part-overview.txt:
27009 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27012 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27013 (gst_element_dispose):
27014 Some more cleanups.
27016 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27017 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27018 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27019 (gst_pad_set_caps), (gst_pad_send_event):
27020 Check for correct hierarchy when linking pads. Moving to
27021 strict requirement for ghostpads when linking elements in
27025 Clean ups. Added WRONG_HIERARCHY return value.
27027 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27029 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27030 Better debug if no transform is possible.
27032 2005-07-27 Wim Taymans <wim@fluendo.com>
27034 * docs/random/wtay/network-transp:
27035 Some old doc I had.
27037 2005-07-27 Wim Taymans <wim@fluendo.com>
27039 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27040 (gst_dp_event_from_packet):
27041 Fix serialization of seek events.
27043 2005-07-27 Wim Taymans <wim@fluendo.com>
27045 * check/gst-libs/gdp.c: (GST_START_TEST):
27046 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27047 Fix compilation and fix event serialization.
27049 2005-07-27 Wim Taymans <wim@fluendo.com>
27052 * docs/design/part-TODO.txt:
27053 * docs/design/part-events.txt:
27056 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27057 (gst_base_sink_event), (gst_base_sink_do_sync),
27058 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27059 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27060 (gst_base_src_do_seek), (gst_base_src_event_handler),
27061 (gst_base_src_loop):
27062 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27063 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27064 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27065 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27066 (gst_base_transform_set_passthrough),
27067 (gst_base_transform_is_passthrough):
27068 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27069 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27075 * gst/gstelement.c: (gst_element_seek):
27076 * gst/gstelement.h:
27077 Update gst_element_seek.
27079 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27080 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27081 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27082 (gst_event_new_eos), (gst_event_new_newsegment),
27083 (gst_event_parse_newsegment), (gst_event_new_tag),
27084 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27085 (gst_event_parse_qos), (gst_event_new_seek),
27086 (gst_event_parse_seek), (gst_event_new_navigation):
27088 Make GstEvent use GstStructure. Add parsing code, make sure the
27089 API is sufficiently generic.
27090 Mark possible directions of events and serialization.
27092 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27093 (_gst_message_copy), (gst_message_new_segment_start),
27094 (gst_message_new_segment_done), (gst_message_new_custom),
27095 (gst_message_parse_segment_start),
27096 (gst_message_parse_segment_done):
27099 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27100 (gst_pad_set_caps), (gst_pad_send_event):
27101 Update for new events.
27102 Catch events sent in wrong directions.
27104 * gst/gstqueue.c: (gst_queue_link_src),
27105 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27106 (gst_queue_handle_src_query):
27111 Remove event code from this file.
27113 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27114 (gst_dp_event_from_packet):
27117 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27119 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27120 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27121 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27122 Make debugging actually useful.
27124 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27126 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27127 (gst_pad_fixate_caps):
27128 Implement default fixation once again, so that gst_pad_fixate()
27129 actually does anything at all. This probably needs to be some
27130 sort of a last resort, and use profile-based fixation first, but
27131 since that doesn't exist yet, this is the best we have. Fixes
27132 visualization in Totem.
27134 2005-07-22 Wim Taymans <wim@fluendo.com>
27136 * docs/design/part-events.txt:
27139 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27140 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27141 (gst_base_sink_activate_pull):
27142 Some more comments.
27144 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27145 (gst_fake_src_create):
27146 Fix handoff marshall.
27148 * gst/elements/gstidentity.c: (gst_identity_class_init),
27149 (gst_identity_transform_ip):
27150 We're a real inplace element.
27152 * gst/gstbus.c: (gst_bus_post):
27153 Added some comments.
27155 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27156 * tests/muxing/case1.c: (main):
27157 * tests/sched/dynamic-pipeline.c: (main):
27158 * tests/sched/interrupt1.c: (main):
27159 * tests/sched/interrupt2.c: (main):
27160 * tests/sched/interrupt3.c: (main):
27161 * tests/sched/runxml.c: (main):
27162 * tests/sched/sched-stress.c: (main):
27163 * tests/seeking/seeking1.c: (event_received), (main):
27164 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27166 * tests/threadstate/threadstate3.c: (main):
27167 * tests/threadstate/threadstate4.c: (main):
27168 * tests/threadstate/threadstate5.c: (main):
27171 2005-07-21 Wim Taymans <wim@fluendo.com>
27173 * docs/design/part-seeking.txt:
27174 Some small additions.
27176 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27177 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27178 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27179 * gst/base/gstbasesink.h:
27180 discont values are gint64, handle the math correctly.
27182 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27183 Make the basesrc report error if the source pad is not linked.
27185 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27186 (gst_queue_loop), (gst_queue_handle_src_query),
27187 (gst_queue_src_activate_push):
27188 Make queue collect data even if the srcpad is not linked.
27189 Start pushing out data as soon as it is linked.
27191 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27193 Added gst_flow_get_name() to ease error reporting.
27195 2005-07-20 Wim Taymans <wim@fluendo.com>
27197 * gst/gstmessage.c: (gst_message_new_segment_start),
27198 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27199 (gst_message_parse_segment_done):
27200 * gst/gstmessage.h:
27201 Added a bunch of messages for advanced seeking.
27203 * gst/parse/grammar.y:
27204 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27205 (gst_dpman_state_changed):
27206 Fix some new-pad -> pad-added signals
27208 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27210 * docs/manual/appendix-porting.xml:
27211 * docs/pwg/appendix-porting.xml:
27212 Document new-pad/state-change signal renames and the FixedList
27215 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27217 * docs/manual/advanced-autoplugging.xml:
27218 * docs/manual/basics-helloworld.xml:
27219 * docs/manual/basics-pads.xml:
27220 * docs/random/ds/0.9-suggested-changes:
27221 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27222 * gst/gstelement.h:
27226 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27227 (gst_structure_parse_array), (gst_structure_parse_value):
27228 * gst/gstvalue.c: (gst_type_is_fixed),
27229 (gst_value_list_prepend_value), (gst_value_list_append_value),
27230 (gst_value_list_get_size), (gst_value_list_get_value),
27231 (gst_value_transform_array_string), (gst_value_serialize_array),
27232 (gst_value_deserialize_array), (gst_value_intersect_array),
27233 (gst_value_is_fixed), (_gst_value_initialize):
27235 GstElement::new-pad -> pad-added, GstElement::state-change ->
27236 state-changed, GstValueFixedList -> GstValueArray, add format and
27237 flags as their own arguments in gst_element_seek() (should improve
27238 "bindeability"), remove function generators since they don't work
27239 under a whole bunch of compilers (they were deprecated already
27242 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27244 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27245 (_gst_debug_register_funcptr):
27247 Fix illegal cast on some platforms (#309253).
27249 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27251 * gst/gstmessage.c: (gst_message_new_custom):
27252 * gst/gstmessage.h:
27253 Add _new_custom, make _new_application a macro to _new_custom.
27255 2005-07-20 Wim Taymans <wim@fluendo.com>
27257 * gst/base/gstbasesrc.c: (gst_base_src_init),
27258 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27259 * gst/base/gstbasesrc.h:
27260 Add a gboolean to decide when to push out a discont.
27262 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27263 (gst_queue_loop), (gst_queue_handle_src_query),
27264 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27265 (gst_queue_set_property), (gst_queue_get_property):
27268 * tests/threadstate/threadstate1.c: (main):
27269 Make a thread test compile and run... very silly..
27272 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27274 * docs/manual/appendix-porting.xml:
27275 Mention removal of libgstgconf-0.9.la and existence of gconf
27278 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27280 * docs/pwg/advanced-clock.xml:
27281 * docs/pwg/appendix-porting.xml:
27282 * docs/pwg/intro-preface.xml:
27283 * docs/pwg/other-base.xml:
27284 * docs/pwg/other-manager.xml:
27285 * docs/pwg/other-nton.xml:
27286 * docs/pwg/other-ntoone.xml:
27287 * docs/pwg/other-oneton.xml:
27288 * docs/pwg/pwg.xml:
27289 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27290 demuxer), remove n-to-n (was never written), fix some code examples
27291 and links and update the porting section to include all this.
27293 2005-07-19 Wim Taymans <wim@fluendo.com>
27295 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27296 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27297 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27298 (gst_queue_src_activate_push), (gst_queue_change_state),
27299 (gst_queue_get_property):
27301 Propagate GstFlowReturn more intelligently upstream and output
27302 an ERROR/EOS when streaming stopped due to fatal error.
27304 2005-07-19 Wim Taymans <wim@fluendo.com>
27306 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27307 Don't block forever for the state change to complete, the
27308 pipeline already did with a sensible timeout.
27310 2005-07-19 Wim Taymans <wim@fluendo.com>
27312 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27313 Make sure we never call the create function is we
27316 2005-07-19 Andy Wingo <wingo@pobox.com>
27318 * gst/parse/parse.l: Attempt to solve bug #172815.
27320 2005-07-19 Wim Taymans <wim@fluendo.com>
27322 * docs/design/part-clocks.txt:
27323 * docs/design/part-events.txt:
27324 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27325 Small docs updates.
27326 Only update the seeking values when we are not
27329 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27331 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27332 Oops, ignore the result of gst_pad_push_event here.
27334 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27336 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27337 (gst_base_src_activate_push):
27338 Send discont event from the loop function, as pads
27339 aren't activated yet in the activate_push handler.
27341 * gst/gstbin.c: (bin_bus_handler):
27342 Don't leak element name.
27344 2005-07-18 Andy Wingo <wingo@pobox.com>
27346 * configure.ac: Use AS_LIBTOOL_TAGS.
27348 2005-07-18 Wim Taymans <wim@fluendo.com>
27350 * docs/gst/gstreamer.types:
27351 Remove deleted types.
27353 2005-07-18 Wim Taymans <wim@fluendo.com>
27355 * check/elements/gstfakesrc.c: (GST_START_TEST):
27358 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27359 (init_popt_callback):
27361 * gst/gst_private.h:
27362 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27363 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27366 * gst/gstconfig.h.in:
27367 * gst/gstelement.c: (gst_element_class_init),
27368 (gst_element_set_base_time), (gst_element_get_base_time),
27369 (iterator_fold_with_resync), (gst_element_change_state),
27370 (gst_element_dispose), (gst_element_get_bus):
27371 * gst/gstelement.h:
27372 * gst/gstelementfactory.h:
27373 * gst/gsterror.c: (_gst_core_errors_init):
27376 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27378 * gst/gstinfo.c: (_gst_debug_init):
27379 * gst/gstmessage.c: (_gst_message_copy):
27380 * gst/gstmessage.h:
27381 * gst/gstminiobject.h:
27384 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27385 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27388 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27389 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27390 (gst_pipeline_get_last_stream_time):
27391 * gst/gstpipeline.h:
27392 * gst/gstpluginfeature.h:
27394 * gst/gstscheduler.c:
27395 * gst/gstscheduler.h:
27396 * gst/gststructure.h:
27397 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27398 (gst_task_finalize), (gst_task_func), (gst_task_create),
27399 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27400 (gst_task_stop), (gst_task_pause):
27402 * gst/gsttypefind.h:
27404 * gst/registries/gstlibxmlregistry.c: (load_feature),
27405 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27406 * gst/registries/gstxmlregistry.c:
27407 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27408 * gst/schedulers/threadscheduler.c:
27409 * libs/gst/control/dparammanager.h:
27410 * tools/gst-inspect.c: (print_element_list),
27411 (print_plugin_features), (print_element_features):
27412 * tools/gst-xmlinspect.c: (print_element_list),
27413 (print_plugin_info), (main):
27414 Removed plugable schedulers.
27415 Removed Scheduler/Manager from elements.
27416 Removed gsttypes.h, rearranged includes.
27417 Removed dependency pad<->element, element<>pipeline, and
27418 various others, fix includes.
27419 implement gst_pad_get_parent() with gst_object_get_parent()
27420 Make GstTask sefcontained.
27421 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27423 Fix endless loop in iterator_fold_with_resync.
27426 2005-07-18 Wim Taymans <wim@fluendo.com>
27432 2005-07-18 Wim Taymans <wim@fluendo.com>
27435 No more cothreads.h
27437 2005-07-18 Wim Taymans <wim@fluendo.com>
27441 Let's remove these.
27443 2005-07-18 Wim Taymans <wim@fluendo.com>
27445 * docs/design/part-dynamic.txt:
27446 * docs/design/part-events.txt:
27447 * docs/design/part-seeking.txt:
27448 Some more docs in the works.
27450 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27451 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27452 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27453 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27454 (gst_base_transform_handle_buffer),
27455 (gst_base_transform_sink_activate_push),
27456 (gst_base_transform_src_activate_pull),
27457 (gst_base_transform_set_passthrough),
27458 (gst_base_transform_is_passthrough):
27461 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27464 * gst/gstevent.c: (gst_event_finalize):
27467 * gst/gstutils.c: (gst_element_unlink),
27468 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27469 (gst_pad_proxy_setcaps):
27471 Add _get_parent_element() to get a pads parent as an element.
27473 2005-07-18 Wim Taymans <wim@fluendo.com>
27475 * check/gst/gstbin.c: (GST_START_TEST):
27478 2005-07-18 Wim Taymans <wim@fluendo.com>
27480 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27481 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27482 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27483 (gst_base_sink_event), (gst_base_sink_do_sync),
27484 (gst_base_sink_chain), (gst_base_sink_loop),
27485 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27486 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27488 Fix logic for returning ASYNC when not prerolled.
27490 2005-07-18 Wim Taymans <wim@fluendo.com>
27492 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27493 Fix nasty refcount bug.
27495 2005-07-16 Philippe Khalaf <burger@speedy.org>
27497 * gst/elements/gstfdsrc.c:
27498 * gst/elements/gstfdsrc.h:
27499 * gst/elements/gstelements.c:
27500 * gst/elements/Makefile.am:
27501 Ported fdsrc to 0.9.
27503 2005-07-16 Wim Taymans <wim@fluendo.com>
27505 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27506 (gst_base_sink_do_sync):
27509 2005-07-16 Wim Taymans <wim@fluendo.com>
27511 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27512 (gst_base_sink_event), (gst_base_sink_get_times),
27513 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27514 * gst/base/gstbasesink.h:
27515 Store and use discont values when syncing buffers as described
27518 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27519 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27520 (gst_base_src_activate_push):
27521 Push discont event when starting.
27523 * gst/elements/gstidentity.c: (gst_identity_transform):
27526 * gst/gstbin.c: (gst_bin_change_state):
27527 Small cleanups in base_time distribution.
27529 * gst/gstelement.c: (gst_element_set_base_time),
27530 (gst_element_get_base_time), (gst_element_change_state):
27531 * gst/gstelement.h:
27532 Added methods for the base_time of the element.
27535 * gst/gstpipeline.c: (gst_pipeline_send_event),
27536 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27537 (gst_pipeline_get_last_stream_time):
27538 * gst/gstpipeline.h:
27540 Handle seeking as described in design doc, remove stream_time
27542 Cleanups clock and stream_time selection code. Added accessors
27543 for the stream_time.
27546 2005-07-16 Andy Wingo <wingo@pobox.com>
27548 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27551 2005-07-16 Wim Taymans <wim@fluendo.com>
27553 * check/gst/gstbin.c: (GST_START_TEST):
27554 Make elements silent as the deep_notify refs the
27555 parent, which might make the test fail.
27557 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27558 Don't hold the lock for too long.
27560 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27562 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27563 Don't unref the caps we passed to gst_caps_make_writable() after
27564 passing them. gst_caps_make_writable() will do that for us.
27566 2005-07-15 Andy Wingo <wingo@pobox.com>
27568 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27571 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27572 own marshalling function for the handoff signal. Properly type the
27573 buffer as a buffer. Fixes some warnings. Should do a more general
27575 (gst_identity_class_init): Plug into the right marshaller.
27577 2005-07-15 Wim Taymans <wim@fluendo.com>
27579 * docs/design/part-TODO.txt:
27580 * docs/design/part-clocks.txt:
27581 * docs/design/part-element-sink.txt:
27582 * docs/design/part-events.txt:
27583 * docs/design/part-gstpipeline.txt:
27584 Updated docs, mostly DISCONT related.
27586 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27588 * docs/pwg/building-pads.xml:
27589 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27591 2005-07-15 Andy Wingo <wingo@pobox.com>
27593 * tools/gst-typefind.c: Update, add copyright block.
27595 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27596 Normalize and truncate caps before fixation.
27599 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27600 discards all but the first structure from its argument.
27602 2005-07-15 Wim Taymans <wim@fluendo.com>
27604 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27605 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27606 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27607 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27608 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27609 (gst_base_transform_chain), (gst_base_transform_change_state),
27610 (gst_base_transform_set_passthrough),
27611 (gst_base_transform_is_passthrough):
27612 * gst/base/gstbasetransform.h:
27613 Make passthrough work using the bufferpools.
27614 Changed API a bit, subclasses have to write into a buffer
27615 provided by the base class.
27616 More debug info in nego functions.
27618 * gst/elements/gstidentity.c: (gst_identity_init),
27619 (gst_identity_transform):
27620 Port to new base class.
27622 2005-07-15 Wim Taymans <wim@fluendo.com>
27624 * gst/gstmessage.c: (gst_message_new_state_changed):
27625 * tools/gst-launch.c: (event_loop), (main):
27626 Totally dump messages in -launch with the -m option.
27627 Fix message name for State messages,
27629 2005-07-14 Wim Taymans <wim@fluendo.com>
27631 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27632 Post error messages on errors.
27634 2005-07-14 Wim Taymans <wim@fluendo.com>
27636 * gst/gstcaps.c: (gst_caps_do_simplify):
27640 Define error for stream stopped.
27642 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27643 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27644 Do proper return values.
27646 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27647 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27648 (gst_pad_get_range):
27649 Better return values.
27652 Reorganise return values, add macro to check for fatal errors.
27654 * gst/gstqueue.c: (gst_queue_chain):
27655 Return proper GstFlowReturn values,
27657 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27659 * docs/gst/gstreamer-sections.txt:
27660 * docs/gst/gstreamer.types:
27661 * docs/gst/tmpl/gst.sgml:
27662 * docs/gst/tmpl/gstbasesink.sgml:
27663 * docs/gst/tmpl/gstbasesrc.sgml:
27664 * docs/gst/tmpl/gstbasetransform.sgml:
27665 * docs/gst/tmpl/gstbin.sgml:
27666 * docs/gst/tmpl/gstbuffer.sgml:
27667 * docs/gst/tmpl/gstcaps.sgml:
27668 * docs/gst/tmpl/gstclock.sgml:
27669 * docs/gst/tmpl/gstcompat.sgml:
27670 * docs/gst/tmpl/gstconfig.sgml:
27671 * docs/gst/tmpl/gstelement.sgml:
27672 * docs/gst/tmpl/gstelementdetails.sgml:
27673 * docs/gst/tmpl/gstelementfactory.sgml:
27674 * docs/gst/tmpl/gstenumtypes.sgml:
27675 * docs/gst/tmpl/gsterror.sgml:
27676 * docs/gst/tmpl/gstevent.sgml:
27677 * docs/gst/tmpl/gstfakesink.sgml:
27678 * docs/gst/tmpl/gstfakesrc.sgml:
27679 * docs/gst/tmpl/gstfilesink.sgml:
27680 * docs/gst/tmpl/gstfilesrc.sgml:
27681 * docs/gst/tmpl/gstfilter.sgml:
27682 * docs/gst/tmpl/gstformat.sgml:
27683 * docs/gst/tmpl/gstghostpad.sgml:
27684 * docs/gst/tmpl/gstimplementsinterface.sgml:
27685 * docs/gst/tmpl/gstindex.sgml:
27686 * docs/gst/tmpl/gstindexfactory.sgml:
27687 * docs/gst/tmpl/gstinfo.sgml:
27688 * docs/gst/tmpl/gstiterator.sgml:
27689 * docs/gst/tmpl/gstmacros.sgml:
27690 * docs/gst/tmpl/gstmemchunk.sgml:
27691 * docs/gst/tmpl/gstminiobject.sgml:
27692 * docs/gst/tmpl/gstobject.sgml:
27693 * docs/gst/tmpl/gstpad.sgml:
27694 * docs/gst/tmpl/gstpadtemplate.sgml:
27695 * docs/gst/tmpl/gstparse.sgml:
27696 * docs/gst/tmpl/gstpipeline.sgml:
27697 * docs/gst/tmpl/gstplugin.sgml:
27698 * docs/gst/tmpl/gstpluginfeature.sgml:
27699 * docs/gst/tmpl/gstquery.sgml:
27700 * docs/gst/tmpl/gstqueue.sgml:
27701 * docs/gst/tmpl/gstregistry.sgml:
27702 * docs/gst/tmpl/gstregistrypool.sgml:
27703 * docs/gst/tmpl/gstscheduler.sgml:
27704 * docs/gst/tmpl/gstschedulerfactory.sgml:
27705 * docs/gst/tmpl/gststructure.sgml:
27706 * docs/gst/tmpl/gstsystemclock.sgml:
27707 * docs/gst/tmpl/gsttaglist.sgml:
27708 * docs/gst/tmpl/gsttagsetter.sgml:
27709 * docs/gst/tmpl/gsttrace.sgml:
27710 * docs/gst/tmpl/gsttrashstack.sgml:
27711 * docs/gst/tmpl/gsttypefind.sgml:
27712 * docs/gst/tmpl/gsttypefindfactory.sgml:
27713 * docs/gst/tmpl/gsttypes.sgml:
27714 * docs/gst/tmpl/gsturihandler.sgml:
27715 * docs/gst/tmpl/gsturitype.sgml:
27716 * docs/gst/tmpl/gstutils.sgml:
27717 * docs/gst/tmpl/gstvalue.sgml:
27718 * docs/gst/tmpl/gstversion.sgml:
27719 * docs/gst/tmpl/gstxml.sgml:
27720 * docs/libs/tmpl/gstcontrol.sgml:
27721 * docs/libs/tmpl/gstdataprotocol.sgml:
27722 * docs/libs/tmpl/gstdparam.sgml:
27723 * docs/libs/tmpl/gstdplinint.sgml:
27724 * docs/libs/tmpl/gstdpman.sgml:
27725 * docs/libs/tmpl/gstdpsmooth.sgml:
27726 * docs/libs/tmpl/gstgetbits.sgml:
27727 * docs/libs/tmpl/gstunitconvert.sgml:
27728 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27729 (gst_push_src_base_init), (gst_push_src_class_init),
27730 (gst_push_src_init), (gst_push_src_create):
27731 * gst/base/gstpushsrc.h:
27732 * gst/elements/gstelements.c:
27733 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27734 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27735 (gst_fake_sink_init), (gst_fake_sink_set_property),
27736 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27737 (gst_fake_sink_event), (gst_fake_sink_preroll),
27738 (gst_fake_sink_render), (gst_fake_sink_change_state):
27739 * gst/elements/gstfakesink.h:
27740 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27741 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27742 (gst_fake_src_base_init), (gst_fake_src_class_init),
27743 (gst_fake_src_init), (gst_fake_src_event_handler),
27744 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27745 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27746 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27747 (gst_fake_src_create_buffer), (gst_fake_src_create),
27748 (gst_fake_src_start), (gst_fake_src_stop):
27749 * gst/elements/gstfakesrc.h:
27750 * gst/elements/gstfilesink.c: (_do_init),
27751 (gst_file_sink_base_init), (gst_file_sink_class_init),
27752 (gst_file_sink_init), (gst_file_sink_dispose),
27753 (gst_file_sink_set_location), (gst_file_sink_set_property),
27754 (gst_file_sink_get_property), (gst_file_sink_open_file),
27755 (gst_file_sink_close_file), (gst_file_sink_query),
27756 (gst_file_sink_event), (gst_file_sink_render),
27757 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27758 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27759 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27760 * gst/elements/gstfilesink.h:
27761 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27762 (gst_file_src_class_init), (gst_file_src_init),
27763 (gst_file_src_finalize), (gst_file_src_set_location),
27764 (gst_file_src_set_property), (gst_file_src_get_property),
27765 (gst_file_src_map_region), (gst_file_src_map_small_region),
27766 (gst_file_src_create_mmap), (gst_file_src_create_read),
27767 (gst_file_src_create), (gst_file_src_is_seekable),
27768 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27769 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27770 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27771 (gst_file_src_uri_handler_init):
27772 * gst/elements/gstfilesrc.h:
27773 more autistic cleanliness in functions/names/defines
27775 2005-07-13 Andy Wingo <wingo@pobox.com>
27777 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27778 source couldn't negotiate.
27780 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27784 * gst/gstutils.c (gst_element_link_pads_filtered): New old
27785 function. I am channeling Hades. Put your boots on suckers!!!
27787 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
27789 * testsuite/caps/Makefile.am:
27790 * testsuite/caps/value_compare.c:
27791 * testsuite/caps/value_intersect.c:
27792 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27793 move two testsuite apps over to the check dir
27795 2005-07-12 Wim Taymans <wim@fluendo.com>
27797 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27798 Added more debug info in the negotiate process.
27800 * gst/gstmessage.h:
27801 Prepare for segment playback.
27803 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27809 * tools/gst-launch.c: (main):
27810 NULL pipeline on errors.
27812 2005-07-12 Andy Wingo <wingo@pobox.com>
27814 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
27815 not it comes from a malloc region. Make sure our copy gets freed.
27817 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27819 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27820 * check/gst/gstmessage.c: (GST_START_TEST):
27821 * check/gst/gststructure.c: (GST_START_TEST),
27822 (gst_structure_suite), (main):
27824 * gst/gstelement.c: (gst_element_message_full):
27825 clean up GError and debug string now that they get copied
27826 * gst/gstmessage.c: (gst_message_new_error),
27827 (gst_message_new_warning), (gst_message_parse_error),
27828 (gst_message_parse_warning):
27829 use GST_TYPE_G_ERROR for structure_new, and take copies of
27830 arguments, so that we don't mess up refcounting
27832 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27834 * check/Makefile.am:
27835 add per-test valgrind targets
27836 * check/gst-libs/gdp.c: (GST_START_TEST),
27837 (gst_data_protocol_suite), (main):
27840 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27842 * check/Makefile.am:
27843 instate more valgrindable tests
27844 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27845 (GST_START_TEST), (fakesrc_suite):
27846 * check/gst/gstpad.c: (GST_START_TEST):
27847 * check/gst/gststructure.c: (GST_START_TEST):
27849 * docs/gst/tmpl/gstminiobject.sgml:
27850 * gst/gstpad.c: (gst_pad_finalize):
27851 fix the static mutex leak
27853 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27855 * check/Makefile.am:
27856 add two more tests for valgrinding
27857 * check/gst/gstvalue.c: (GST_START_TEST):
27858 test refcount of deserialized buffer, found a leak
27859 * docs/gst/gstreamer-docs.sgml:
27860 * docs/gst/gstreamer-sections.txt:
27861 * docs/gst/gstreamer.types:
27862 * docs/gst/tmpl/gstminiobject.sgml:
27863 add miniobject to docs
27864 * gst/gstminiobject.c:
27866 * gst/gstvalue.c: (gst_value_deserialize_buffer),
27867 (gst_string_unwrap):
27868 fix a hard-to-find invalid write for one of the tests
27869 fix a leak for deserialized buffers
27871 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27873 * docs/pwg/advanced-events.xml:
27874 * docs/pwg/advanced-request.xml:
27875 * docs/pwg/advanced-scheduling.xml:
27876 * docs/pwg/appendix-porting.xml:
27877 * docs/pwg/building-boiler.xml:
27878 * docs/pwg/intro-preface.xml:
27879 * docs/pwg/other-ntoone.xml:
27880 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
27881 of example code and explanation for pad activation, loop() and
27882 getrange() functions and a bit more. Remove old comments pointing
27884 * examples/pwg/Makefile.am:
27885 Add loop/getrange examples.
27887 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27890 check for valgrind binary + some fixes
27892 valgrind suppressions for the tests
27893 * check/Makefile.am:
27894 add a valgrind: target that valgrinds the unit tests
27895 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
27896 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
27897 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27898 * check/gst/gstghostpad.c:
27900 * check/gst/gstdata.c:
27902 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
27903 (thread_unref), (gst_mini_object_suite), (main):
27905 * gst/gst.c: (gst_deinit):
27907 add a method to clean up.
27908 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27909 (gst_system_clock_obtain):
27910 allow for disposing the system clock.
27911 * tools/gst-launch.c: (main):
27914 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27916 * docs/gst/tmpl/gstbasesrc.sgml:
27917 * docs/gst/tmpl/gstfakesrc.sgml:
27918 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27919 (gst_base_src_init), (gst_base_src_set_property),
27920 (gst_base_src_get_property), (gst_base_src_get_range),
27921 (gst_base_src_start):
27922 * gst/base/gstbasesrc.h:
27923 add num-buffers property
27924 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27925 (gst_fakesrc_init), (gst_fakesrc_set_property),
27926 (gst_fakesrc_get_property), (gst_fakesrc_create),
27927 (gst_fakesrc_start):
27928 remove num-buffers property
27930 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27932 * docs/gst/gstreamer-sections.txt:
27933 * docs/gst/tmpl/gstbasesink.sgml:
27934 * docs/gst/tmpl/gstbasesrc.sgml:
27935 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27936 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27937 (gst_base_sink_finalize), (gst_base_sink_set_clock),
27938 (gst_base_sink_set_property), (gst_base_sink_get_property),
27939 (gst_base_sink_handle_object), (gst_base_sink_event),
27940 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
27941 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
27942 (gst_base_sink_loop), (gst_base_sink_deactivate),
27943 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
27944 (gst_base_sink_change_state):
27945 * gst/base/gstbasesink.h:
27946 * gst/base/gstbasesrc.h:
27947 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
27948 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
27949 (gst_filesink_init):
27950 more macro splitting
27952 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27954 * gst/gstelement.c: (gst_element_get_bus):
27956 * tools/gst-launch.c: (check_intr), (event_loop):
27959 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27961 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
27964 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27966 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27967 (gst_base_src_finalize):
27968 add finalize method and clean up properly
27969 * gst/gstpipeline.c: (gst_pipeline_dispose):
27972 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
27974 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
27976 add more things to check
27977 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27978 * gst/gstelement.c:
27981 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
27983 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27984 (GST_START_TEST), (fakesrc_suite):
27985 * check/gst-libs/gdp.c: (GST_START_TEST):
27986 * check/gst/gst.c: (GST_START_TEST):
27987 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27988 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27989 * check/gst/gstbus.c: (GST_START_TEST):
27990 * check/gst/gstcaps.c: (GST_START_TEST):
27991 * check/gst/gstdata.c: (GST_START_TEST):
27992 * check/gst/gstelement.c: (GST_START_TEST):
27993 * check/gst/gstghostpad.c: (GST_START_TEST):
27994 * check/gst/gstiterator.c: (GST_START_TEST):
27995 * check/gst/gstmessage.c: (GST_START_TEST):
27996 * check/gst/gstobject.c: (GST_START_TEST):
27997 * check/gst/gstpad.c: (GST_START_TEST):
27998 * check/gst/gststructure.c: (GST_START_TEST):
27999 * check/gst/gstsystemclock.c: (GST_START_TEST),
28000 (gst_systemclock_suite):
28001 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28002 * check/gst/gstvalue.c: (GST_START_TEST):
28003 * check/pipelines/cleanup.c: (GST_START_TEST):
28004 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28005 * check/states/sinks.c: (GST_START_TEST):
28006 * check/gstcheck.c: (gst_check_init):
28007 * check/gstcheck.h:
28008 add debugging category
28009 use GST_START_TEST now, so we add a debug line
28011 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28013 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28014 add test for state change message on a bin
28015 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28017 * gst/gstbin.c: (gst_bin_init):
28018 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28019 * gst/gstelement.c: (gst_element_post_message),
28020 (gst_element_set_state):
28021 * gst/gstelementfactory.c: (gst_element_factory_create):
28022 * gst/gstmessage.c: (gst_message_new):
28023 * gst/gstscheduler.c:
28024 various debugging additions and cleanups
28026 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28028 * check/Makefile.am:
28029 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28031 adding tests for elements
28032 * gst/gstelement.c: (gst_element_dispose):
28034 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28036 * gst/registries/gstlibxmlregistry.c: (load_feature):
28037 plug more leaks. A simple gst_init() now is leakfree, yay.
28039 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28041 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28042 (gst_xml_registry_load):
28043 plug another memleak
28045 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28048 use GST_SET_ERROR_CFLAGS
28049 * docs/faq/cvs.xml:
28050 change to ERROR_CFLAGS
28052 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28055 make GST_ERROR_CFLAGS overridable and re-enable Werror
28056 * docs/faq/cvs.xml:
28057 add a note about error CFLAGS
28058 * docs/gst/tmpl/gstfakesrc.sgml:
28059 * gst/elements/gstfakesrc.c:
28060 comment out some unused code
28061 * gst/gst.c: (split_and_iterate):
28062 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28066 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28068 * common/Makefile.am:
28069 * common/gtk-doc.mak:
28070 * docs/gst/Makefile.am:
28071 factor out gtk-doc.mak
28073 2005-07-07 Wim Taymans <wim@fluendo.com>
28075 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28076 (gst_thread_scheduler_dispose):
28077 Unlock the STREAM_LOCK completely.
28079 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28081 * check/Makefile.am:
28082 * check/elements/.cvsignore:
28083 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28084 (START_TEST), (fakesrc_suite), (main):
28085 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28086 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28087 (gst_fakesrc_create), (gst_fakesrc_start):
28088 * gst/elements/gstfakesrc.h:
28089 adding a first element test
28091 2005-07-07 Andy Wingo <wingo@pobox.com>
28093 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28096 2005-07-07 Wim Taymans <wim@fluendo.com>
28102 2005-07-07 Wim Taymans <wim@fluendo.com>
28104 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28105 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28106 Allow subclasses to implement their own negotiation.
28108 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28110 * docs/design/part-gstbin.txt:
28111 * docs/design/part-gstpipeline.txt:
28112 Update design notes to reflect the movement of
28113 responsibility for bus handling from GstPipeline to
28116 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28119 Remove unnecessary queue2/3/4 examples.
28121 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28123 * examples/Makefile.am:
28124 * examples/helloworld/helloworld.c: (event_loop), (main):
28125 * examples/queue/queue.c: (event_loop), (main):
28126 * examples/queue2/queue2.c: (main):
28127 Update a couple of the examples to work again.
28129 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28130 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28131 Spelling corrections and extra debug.
28133 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28134 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28135 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28137 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28138 (gst_pipeline_change_state):
28139 * gst/gstpipeline.h:
28140 Move the bus handler for children to the GstBin, and create a
28141 separate bus for receiving messages from children to the one the
28142 bus sends 'upwards' on.
28144 2005-07-06 Wim Taymans <wim@fluendo.com>
28147 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28148 (gst_base_sink_handle_object), (gst_base_sink_loop),
28149 (gst_base_sink_change_state):
28150 * gst/base/gstbasesink.h:
28151 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28152 (gst_base_src_init), (gst_base_src_setcaps),
28153 (gst_base_src_getcaps), (gst_base_src_loop),
28154 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28155 (gst_base_src_start), (gst_base_src_change_state):
28156 * gst/base/gstbasesrc.h:
28157 Make basesrc negotiate.
28158 Handle the case where preroll fails in basesink.
28161 2005-07-06 Wim Taymans <wim@fluendo.com>
28163 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28164 Implement the fixate function.
28165 Clean up acceptcaps.
28167 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28169 * docs/pwg/building-filterfactory.xml:
28170 * docs/pwg/pwg.xml:
28171 Remove never-written filter-factory chapter; I'll add the various
28172 base classes to part 4 ("other element types") later on.
28174 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28176 * docs/pwg/advanced-negotiation.xml:
28177 * docs/pwg/building-boiler.xml:
28178 * docs/pwg/building-pads.xml:
28179 * docs/pwg/pwg.xml:
28180 * examples/pwg/Makefile.am:
28181 Add a chapter on caps negotiation, simplify the original code
28182 samples a bit w.r.t. caps negotiation, add link to the advanced
28183 section. Add a bunch of examples showing different use cases of
28184 different types of caps negotiation. Upstream renegotiation isn't
28185 fully documented yet since nobody knows how that works.
28187 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28189 * check/gst/gstpad.c:
28190 * check/gstcheck.c:
28191 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28192 if pad has no parent, return NULL as list of internal links
28194 2005-07-05 Andy Wingo <wingo@pobox.com>
28196 * gst/elements/gstfilesrc.c:
28197 * gst/elements/gstfakesrc.c:
28198 * gst/base/gstpushsrc.c:
28199 * gst/base/gstbasesrc.h:
28200 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28202 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28205 better report generation target (lcov needs a patch)
28207 2005-07-05 Andy Wingo <wingo@pobox.com>
28209 * gst/elements, testsuite: Null if we got it...
28211 2005-07-05 Wim Taymans <wim@fluendo.com>
28214 * libs/gst/dataprotocol/Makefile.am:
28215 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28216 * libs/gst/dataprotocol/dataprotocol.h:
28217 * pkgconfig/Makefile.am:
28218 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28219 * pkgconfig/gstreamer-dataprotocol.pc.in:
28220 Ported dataprotol to 0.9.
28221 Added pkgconfig files.
28223 2005-07-05 Andy Wingo <wingo@pobox.com>
28225 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28226 Default to returning TRUE for the case when tranform_caps returns
28227 a fixed caps, like for identity or volume.
28229 * check/gst/gstbus.c (pound_bus_with_messages):
28230 * check/gst/gstmessage.c (START_TEST):
28231 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28232 message API change.
28234 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28235 logic weaks here: always run transform_caps, trying passthrough
28236 operation only if the original caps intersects with the transform.
28238 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28239 source and sink caps.
28241 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28242 Intersect the peer caps with the pad template before going into
28244 (gst_base_transform_transform_caps): More debugging.
28246 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28249 2005-07-04 Edward Hervey <edward@fluendo.com>
28253 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28256 2005-07-04 Andy Wingo <wingo@pobox.com>
28258 * check/gst/gstpad.c: Only set explicit caps on pads.
28260 2005-07-01 Andy Wingo <wingo@pobox.com>
28262 * tests/network-clock.scm: Commentary update.
28264 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28265 Didn't really make sense, not implementable with basetransform,
28267 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28268 attempt at implementing the sync property, needs an unlock method.
28270 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28271 New func, by default returns the same caps (the identity
28273 (gst_base_transform_getcaps): Uses transform_caps to return
28274 something sensible.
28275 (gst_base_transform_setcaps): Complicated logic to get caps on
28276 both pads, even if they are different, and to call set_caps once
28277 for every time both pads get their caps set.
28278 (gst_base_transform_handle_buffer): Give the ref to the transform
28279 function. Allows in-place modification of the buffer.
28281 * gst/base/gstbasetransform.h (transform_caps): New class method.
28282 Given caps on one side, what can I do on the other.
28283 (set_caps): Take two caps, one for each side of the element.
28286 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28287 caps in place. This is safe because we can check the mutability of
28288 the caps, and a good idea because fixate functions are just called
28289 as a matter of last resort. (Not actually implemented.)
28290 (gst_pad_set_caps): If the caps we're setting is actually the same
28291 as the existing pad caps, just update the pointer without calling
28292 setcaps. Assert that caps is either NULL or fixed, as per the
28295 * gst/gstghostpad.c: Update for fixate changes.
28297 2005-07-02 Andy Wingo <wingo@pobox.com>
28300 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28301 two refcounts makes it immutable, which is enough. Doc more.
28303 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28305 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28306 Put the mini_object into GValue as a mini_object,
28307 not a gpointer, since that's how we declared
28310 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28312 * examples/pwg/Makefile.am:
28313 Fix buildbot again.
28315 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28317 * docs/pwg/building-testapp.xml:
28319 * examples/pwg/Makefile.am:
28322 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28325 * examples/Makefile.am:
28326 * examples/pwg/Makefile.am:
28327 * examples/pwg/extract.pl:
28328 Enable building the PWG examples.
28329 * docs/pwg/advanced-interfaces.xml:
28330 Add URI interface stub.
28331 * docs/pwg/advanced-types.xml:
28332 * docs/pwg/other-autoplugger.xml:
28333 * docs/pwg/appendix-porting.xml:
28334 * docs/pwg/pwg.xml:
28335 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28336 * docs/pwg/building-boiler.xml:
28337 * docs/pwg/building-chainfn.xml:
28338 * docs/pwg/building-pads.xml:
28339 * docs/pwg/building-props.xml:
28340 * docs/pwg/building-state.xml:
28341 * docs/pwg/building-testapp.xml:
28342 Update the building-*.xml parts for 0.9 changes. All examples
28343 code blocks compile in examples/pwg/*.
28345 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28347 * docs/manual/advanced-autoplugging.xml:
28348 * docs/manual/appendix-checklist.xml:
28349 * docs/manual/appendix-integration.xml:
28350 * docs/manual/highlevel-components.xml:
28351 Fix playbin/decodebin examples, update docs a bit, mention bus
28352 instead of signals in various places, mention kmplayer and
28353 kaffeine since they have a working GStreamer backend in the KDE
28356 2005-06-30 Wim Taymans <wim@fluendo.com>
28359 * docs/design/draft-ghostpads.txt:
28360 * docs/design/draft-push-pull.txt:
28361 * docs/design/draft-query.txt:
28362 * docs/design/part-TODO.txt:
28363 * docs/design/part-query.txt:
28364 Added CHANGES-0.9 doc, updated status of other docs.
28369 2005-06-30 Wim Taymans <wim@fluendo.com>
28371 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28372 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28373 (gst_base_sink_change_state):
28374 * gst/base/gstbasesink.h:
28375 Some tweaks, only EOS and a buffer complete a preroll.
28377 2005-06-30 Andy Wingo <wingo@pobox.com>
28379 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28380 activate_push down to the internal pad as well.
28382 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28384 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28386 * gst/gsttaginterface.c:
28387 Some documentation fixes (#307394 and #307397).
28389 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28391 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28393 * gst/gstvalue.c: (gst_value_intersect_list):
28394 Fix memleak (#309125).
28396 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28398 * docs/manual/advanced-dataaccess.xml:
28399 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28400 * docs/manual/basics-pads.xml:
28401 Add reference for filtered caps to above chapter.
28403 2005-06-30 Wim Taymans <wim@fluendo.com>
28405 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28406 (gst_bin_change_state):
28408 Lame attempt at making the state change function a bit
28411 2005-06-30 Wim Taymans <wim@fluendo.com>
28413 * docs/design/part-clocks.txt:
28414 * docs/design/part-element-sink.txt:
28415 * docs/design/part-events.txt:
28416 * docs/design/part-preroll.txt:
28417 * docs/design/part-states.txt:
28418 Some more tweeks and additions to the docs.
28420 2005-06-30 Wim Taymans <wim@fluendo.com>
28422 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28423 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28424 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28425 (gst_pad_check_pull_range), (gst_pad_get_range),
28426 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28428 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28429 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28430 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28431 (gst_pad_remove_buffer_probe):
28432 Removed atomic operations, use existing LOCK.
28433 Move exception handling out of main code path.
28435 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28437 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28438 (silly_return_true_function), (gst_pad_class_init),
28439 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28440 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28441 (gst_pad_send_event):
28442 Fix accumulator, add default value by using _emitv() instead
28443 of _emit() for signal emission.
28445 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28447 * docs/manual/advanced-dataaccess.xml:
28448 * examples/manual/Makefile.am:
28450 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28453 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28455 * gst/elements/gstfilesink.c: (gst_filesink_render):
28456 Simplify code so that we don't have to handle short
28457 writes and return GST_FLOW_ERROR if an error occured.
28459 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28461 * docs/gst/gstreamer-docs.sgml:
28462 Remove probes more.
28464 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28466 * docs/gst/gstreamer-sections.txt:
28467 * docs/gst/tmpl/gstpad.sgml:
28468 * docs/gst/tmpl/gstprobe.sgml:
28470 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28471 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28472 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28473 (gst_pad_push_event), (gst_pad_send_event):
28475 * gst/gstutils.c: (gst_pad_add_data_probe),
28476 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28477 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28478 (gst_pad_remove_buffer_probe):
28480 Remove old probes, add new g-signal-based probes and some utility
28483 2005-06-29 Edward Hervey <edward@fluendo.com>
28485 * gst/gstelementfactory.c:
28488 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28489 the definition to the header file.
28491 2005-06-29 Andy Wingo <wingo@pobox.com>
28493 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28494 plugins from the source directory.
28496 2005-06-29 Wim Taymans <wim@fluendo.com>
28498 * docs/gst/tmpl/gstbuffer.sgml:
28499 * docs/gst/tmpl/gstclock.sgml:
28500 Some fixings for blantently wrong text.
28502 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28504 * check/Makefile.am:
28505 * gst/gst.c: (add_path_func), (init_pre):
28506 * gst/gstregistry.c: (gst_registry_add_path):
28507 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28508 only scan the GST_PLUGIN_PATH locations, and not add
28511 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28513 * docs/gst/gstreamer-sections.txt:
28514 * docs/gst/tmpl/gstbasesrc.sgml:
28515 * gst/gstelement.c:
28516 * gst/gstelement.h:
28521 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28523 * docs/manual/advanced-autoplugging.xml:
28524 Fix autoplugging example.
28526 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28528 * docs/manual/advanced-autoplugging.xml:
28529 * docs/manual/mime-world.fig:
28530 Try to get autoplugging working, fix type detection. Fix text
28531 in hello-world image.
28533 2005-06-29 Wim Taymans <wim@fluendo.com>
28535 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28536 (gst_base_sink_change_state):
28540 map SIGNAL and BROADCAST to the right function.
28543 Remove redundant braces.
28545 * gst/gstpad.c: (gst_pad_set_caps):
28546 Don't call setcaps function when reseting caps to NULL.
28548 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28549 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28550 (gst_system_clock_id_unschedule):
28551 Use BROADCAST as this is what we do.
28553 2005-06-29 Wim Taymans <wim@fluendo.com>
28555 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28556 We are actually prerolling before commiting the state
28559 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28561 * docs/manual/advanced-clocks.xml:
28562 * docs/manual/advanced-interfaces.xml:
28563 * docs/manual/advanced-metadata.xml:
28564 * docs/manual/advanced-position.xml:
28565 * docs/manual/advanced-schedulers.xml:
28566 * docs/manual/advanced-threads.xml:
28567 * docs/manual/appendix-porting.xml:
28568 * docs/manual/basics-bins.xml:
28569 * docs/manual/basics-bus.xml:
28570 * docs/manual/basics-elements.xml:
28571 * docs/manual/basics-helloworld.xml:
28572 * docs/manual/basics-pads.xml:
28573 * docs/manual/highlevel-components.xml:
28574 * docs/manual/manual.xml:
28575 * docs/manual/thread.fig:
28576 Update (until threads/scheduling) Application Development Manual;
28577 remove GstThread, add GstBus, add simple porting checklist, add
28578 documentation for tag writing, clocks, make all examples until this
28579 part compile and run.
28580 * examples/manual/Makefile.am:
28581 Update from changes to Application Development Manual; add bus
28582 example, remove thread example.
28584 2005-06-28 Wim Taymans <wim@fluendo.com>
28586 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28587 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28588 (gst_bus_source_dispatch):
28589 Add debugging messages.
28590 Make internal methods static.
28591 Handle the case where the bus is flushed in the handler.
28593 * gst/gstelement.c: (gst_element_get_bus):
28594 Fix refcount in _get_bus();
28596 * gst/gstpipeline.c: (gst_pipeline_change_state),
28597 (gst_pipeline_get_clock_func):
28598 Clock refcounting fixes.
28599 Handle the case where preroll timed out more gracefully.
28601 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28602 Clean up the internal thread in dispose. This is needed
28603 for subclasses that actually get disposed.
28605 * gst/schedulers/threadscheduler.c:
28606 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28607 (gst_thread_scheduler_dispose):
28608 Free thread pool in dispose.
28610 2005-06-28 Andy Wingo <wingo@pobox.com>
28612 * tests/network-clock-utils.scm (debug, print-event): New utils.
28614 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28615 (*packet-loss*): Unified loss probability.
28616 (network-time): Report out-of-band events.
28618 * tests/plot-data: Add support for out-of-band events. Hack it
28619 into this script instead of passing it down the pipe; should fix
28622 2005-06-28 Wim Taymans <wim@fluendo.com>
28624 * docs/gst/gstreamer.types:
28625 * docs/gst/tmpl/gstbasesrc.sgml:
28626 * docs/gst/tmpl/gstpad.sgml:
28629 2005-06-28 Wim Taymans <wim@fluendo.com>
28631 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28632 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28633 (gst_proxy_pad_do_fixatecaps):
28634 Correctly proxy the check_pull_range function.
28636 2005-06-28 Andy Wingo <wingo@pobox.com>
28638 * tests/network-clock.scm: Removed need for slib.
28640 2005-06-28 Wim Taymans <wim@fluendo.com>
28642 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28643 (gst_basesink_preroll_queue_flush):
28644 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28645 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28646 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28647 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28648 (gst_proxy_pad_set_property):
28651 * gst/gstqueue.c: (gst_queue_init):
28652 The deprecated pad loop function is removed now.
28654 2005-06-28 Andy Wingo <wingo@pobox.com>
28656 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28657 New parameters, simulate network packet loss.
28659 * tests/network-clock-utils.scm: Initialize the RNG.
28661 2005-06-28 Wim Taymans <wim@fluendo.com>
28663 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28664 (gst_basesink_event), (gst_basesink_deactivate):
28665 Flushing the preroll queue always needs to unlock the waiters.
28667 2005-06-28 Edward Hervey <edward@fluendo.com>
28669 * gst/gstpipeline.c: (gst_pipeline_send_event):
28670 Wheen a seek was successful on a pipeline, set the stream_time to the
28671 seek offset in order to have a synchronized stream_time.
28673 2005-06-28 Wim Taymans <wim@fluendo.com>
28675 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28676 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28677 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28678 (gst_proxy_pad_do_fixatecaps):
28679 Call wrapper function instead of just calling the function
28680 pointers. This takes care of any locking and whatmore.
28682 2005-06-28 Wim Taymans <wim@fluendo.com>
28684 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28685 (gst_pad_pull_range):
28687 CONNECTED -> LINKED.
28689 2005-06-28 Andy Wingo <wingo@pobox.com>
28691 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28692 source-munging commit!!!
28694 * gst/gstobject.c (gst_object_unref, gst_object_ref)
28695 (gst_object_sink): Take gpointer arguments, not GstObject --
28696 avoids casts. Like GLib.
28698 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28701 2005-06-27 Andy Wingo <wingo@pobox.com>
28703 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28706 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28707 returns a sorted copy of the trace list.
28708 (gst_alloc_trace_print_live): New API, only prints traces with
28709 live objects. Sort the list.
28710 (gst_alloc_trace_print_all): Sort the list.
28711 (gst_alloc_trace_print): Align columns.
28713 * gst/elements/gstttypefindelement.c:
28714 * gst/elements/gsttee.c:
28715 * gst/base/gstbasesrc.c:
28716 * gst/base/gstbasesink.c:
28717 * gst/base/gstbasetransform.c:
28718 * gst/gstqueue.c: Adapt for pad activation changes.
28720 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28722 (gst_pipeline_dispose): Drop ref on sched.
28724 * gst/gstpad.c (gst_pad_init): Set the default activate func.
28725 (gst_pad_activate_default): Push mode by default.
28726 (pre_activate_switch, post_activate_switch): New stubs, things to
28727 do before and after switching activation modes on pads.
28728 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28729 the pad's activate function to choose which mode to activate.
28730 Shortcut on deactivation and call the right function directly.
28731 (gst_pad_activate_pull): New API, (de)activates a pad in pull
28733 (gst_pad_activate_push): New API, same for push mode.
28734 (gst_pad_set_activate_function)
28735 (gst_pad_set_activatepull_function)
28736 (gst_pad_set_activatepush_function): Setters for new API.
28738 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28739 Trace all miniobjects.
28740 (gst_mini_object_make_writable): Unref the arg if we copy, like
28741 gst_caps_make_writable.
28743 * gst/gstmessage.c (_gst_message_initialize): No trace init.
28745 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
28746 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28747 Adapt for new pad API.
28749 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28751 * gst/gstelement.h:
28752 * gst/gstelement.c (gst_element_iterate_src_pads)
28753 (gst_element_iterate_sink_pads): New API functions.
28755 * gst/gstelement.c (iterator_fold_with_resync): New utility,
28756 should fold into gstiterator.c in some form.
28757 (gst_element_pads_activate): Simplified via use of fold and
28758 delegation of decisions to gstpad->activate.
28760 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28763 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28764 class once in init, like gstmessage. Didn't run into this issue
28765 but it seems correct. Don't initialize a trace, gstminiobject does
28768 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28769 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28771 (assert_live_count): New util function, uses alloc traces to check
28774 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28775 To be modified when unlink drops the internal pad.
28777 2005-06-27 Wim Taymans <wim@fluendo.com>
28779 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28780 (gst_bin_change_state):
28781 Cleanup the get_state() function a little, make sure it
28782 iterates the same set of elements.
28783 Added stub iterate_state_order().
28785 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
28787 * docs/gst/gstreamer-docs.sgml:
28788 * docs/gst/gstreamer-sections.txt:
28789 * docs/gst/gstreamer.types:
28790 * docs/gst/tmpl/gstbasesink.sgml:
28791 * docs/gst/tmpl/gstbasesrc.sgml:
28792 * docs/gst/tmpl/gstbasetransform.sgml:
28793 * docs/gst/tmpl/gstelement.sgml:
28794 * docs/gst/tmpl/gstiterator.sgml:
28795 * gst/base/gstbasesrc.c:
28796 * gst/base/gstbasesrc.h:
28797 * gst/base/gstbasetransform.h:
28798 * gst/gstelement.c:
28799 * gst/gstiterator.h:
28800 adding basetransform and iterator docs
28802 2005-06-27 Andy Wingo <wingo@pobox.com>
28804 * docs/design/part-activation.txt: Notes on how activation should
28805 work -- not quite implemented yet.
28807 2005-06-25 Wim Taymans <wim@fluendo.com>
28809 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
28810 At least get the chain function correct, needs more
28813 2005-06-25 Wim Taymans <wim@fluendo.com>
28815 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28816 (gst_basesink_handle_object), (gst_basesink_event),
28817 (gst_basesink_do_sync), (gst_basesink_handle_event),
28818 (gst_basesink_change_state):
28820 Right, two problems here: ghostpads don't take locks and
28821 glib _rec_mutex_lock_full() with depth==0 still locks.
28822 Catch illegal locking and g_warn them.
28824 2005-06-25 Wim Taymans <wim@fluendo.com>
28826 * check/states/sinks.c: (START_TEST), (gst_object_suite):
28827 Have to check for completion now...
28829 2005-06-25 Wim Taymans <wim@fluendo.com>
28831 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28832 (gst_basesink_handle_object), (gst_basesink_event),
28833 (gst_basesink_do_sync), (gst_basesink_handle_event),
28834 (gst_basesink_change_state):
28836 Unlock STREAM_LOCK whatever the recursion was.
28838 2005-06-25 Wim Taymans <wim@fluendo.com>
28840 * gst/base/gstbasesink.c: (gst_basesink_set_property),
28841 (gst_basesink_preroll_queue_empty),
28842 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
28843 (gst_basesink_event), (gst_basesink_do_sync),
28844 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
28845 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
28846 (gst_basesink_change_state):
28847 Reworked the base sink, handle event and buffer serialisation
28848 correctly and removed possible deadlock.
28849 Handle EOS correctly.
28851 2005-06-25 Wim Taymans <wim@fluendo.com>
28853 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
28854 (gst_pipeline_change_state):
28855 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28856 Allow elements to post EOS in the state change function.
28857 Fix up -launch, make it exit the poll loop when the
28858 pipeline actually changed state.
28859 Fix up warning parsing in -launch.
28861 2005-06-25 Wim Taymans <wim@fluendo.com>
28863 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
28864 (gst_tee_sink_activate):
28865 Core takes STREAM_LOCK for us now.
28867 2005-06-25 Wim Taymans <wim@fluendo.com>
28869 * gst/gstelement.c: (gst_element_get_state_func),
28870 (gst_element_set_state):
28871 * gst/gstelement.h:
28872 * gst/gstmessage.c: (gst_message_parse_error),
28873 (gst_message_parse_warning):
28874 Keep track of current target state while performing a state
28875 change so that subclasses can do something interesting.
28876 Fix parsing of warning/error messages when GError is NULL.
28878 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
28880 * docs/gst/Makefile.am:
28881 * docs/gst/gstreamer-docs.sgml:
28882 * docs/gst/gstreamer-sections.txt:
28883 * docs/gst/gstreamer.types:
28884 * docs/gst/tmpl/gstbasesink.sgml:
28885 * docs/gst/tmpl/gstbasesrc.sgml:
28886 * docs/gst/tmpl/gstbin.sgml:
28887 * docs/gst/tmpl/gstcompat.sgml:
28888 * docs/gst/tmpl/gstfakesink.sgml:
28889 * docs/gst/tmpl/gstfakesrc.sgml:
28890 * docs/gst/tmpl/gstfilesink.sgml:
28891 * docs/gst/tmpl/gstfilesrc.sgml:
28892 * docs/gst/tmpl/gstindex.sgml:
28893 * docs/manual/appendix-quotes.xml:
28894 * gst/base/gstbasesrc.h:
28895 * gst/elements/gstfakesrc.h:
28896 * gst/gstmessage.h:
28897 start pulling in base classes and elements in our docs
28899 2005-06-24 Stefan Kost <ensonic@users.sf.net>
28901 * docs/gst/Makefile.am:
28902 * docs/libs/Makefile.am:
28903 fixed make distcheck with gtk-doc 1.3
28905 2005-06-23 Wim Taymans <wim@fluendo.com>
28907 * gst/gstelement.c: (gst_element_get_state_func),
28908 (gst_element_set_state), (gst_element_change_state):
28909 When the state did not change, also report NO_PREROLL
28912 2005-06-23 Wim Taymans <wim@fluendo.com>
28914 * gst/gstpad.c: (gst_pad_event_default):
28915 * gst/gstqueue.c: (gst_queue_loop):
28916 No unsafe task pausing please.
28918 2005-06-23 Wim Taymans <wim@fluendo.com>
28920 * gst/schedulers/threadscheduler.c:
28921 (gst_thread_scheduler_task_start),
28922 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
28923 Ref the task before pushing it on the threadpool. This
28924 makes sure that we have a ref when the threadfunction is
28927 2005-06-23 Andy Wingo <wingo@pobox.com>
28929 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
28930 offset is greater than the file's size.
28932 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
28933 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
28934 * gst/gstobject.c (gst_object_class_init): Make the class lock
28935 recursive. Wim won't let me drop deep_notify. Decodebin works
28936 again, whoopdy doo.
28938 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
28939 internal pad, and hacks accordingly. Doesn't do it on the target
28940 pad because we change its caps. Probably catches all cases of
28942 (gst_ghost_pad_set_property): Connect to notify::caps as
28945 * tests/network-clock.scm (plot-simulation): Pipe data to the
28946 elite python skript.
28948 * tests/network-clock-utils.scm (define-parameter): New macro,
28949 defines a parameter that can be set via the command line.
28950 (set-parameter!, parse-parameter-arguments): Command line args
28953 * tests/plot-data: Simple matplotlib-based plotter, takes input on
28956 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
28958 * gst/elements/gsttypefindelement.c:
28959 (gst_type_find_element_handle_event):
28960 Don't restart typefinding on a discont.
28961 * gst/gstelement.c: (gst_element_set_state):
28962 Debug spelling fix.
28963 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
28964 Allow changing mode of an active pad.
28965 Debug output fixes.
28966 * gst/registries/gstlibxmlregistry.c: (load_feature):
28967 Don't cast a static pad template to a normal pad template.
28969 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
28971 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28972 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
28973 remove gst_strtoll completely, since it didn't actually do
28974 anything more than what g_ascii_strtoull already does.
28975 check for range errors when deserializing
28976 do a cast for the unsigned cases; but further fixing needs
28977 a decision on what the interpretation of "(int)" and
28978 deserialization should be for values that fall outside the
28979 type's boundaries (ie, refuse, or interpret as casting)
28981 2005-06-23 Wim Taymans <wim@fluendo.com>
28983 * check/Makefile.am:
28984 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
28985 * docs/design/part-live-source.txt:
28986 * docs/design/part-states.txt:
28987 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28988 (gst_basesrc_set_live), (gst_basesrc_is_live),
28989 (gst_basesrc_get_range), (gst_basesrc_activate),
28990 (gst_basesrc_change_state):
28991 * gst/base/gstbasesrc.h:
28992 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28993 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28994 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
28995 * gst/gstelement.c: (gst_element_get_state_func),
28996 (gst_element_set_state):
28997 * gst/gstelement.h:
28999 * tools/gst-launch.c: (event_loop), (main):
29000 Added support for live sources and other elements that
29002 Updated design docs, added live-source design doc.
29003 Implemented live source functionality in basesrc
29004 Fix error condition in _bin_get_state()
29005 Implement live source handling in -launch.
29006 Added check for live sources.
29007 Fixed case in GstBin where elements were changed state
29011 2005-06-23 Andy Wingo <wingo@pobox.com>
29013 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29014 borken refcounting.
29016 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29017 gst_caps_replace takes care of this for us.
29019 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29020 gst_pad_set_caps on the target, not just its setcaps() function.
29022 * tests/network-clock.scm:
29023 * tests/network-clock-utils.scm: A network clock simulator.
29024 Something of an algorithmic testbed before doing something in C.
29026 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29028 * check/Makefile.am:
29029 * check/gst/capslist.h:
29030 copy over from 0.8, and add two with bitmasks specified with
29032 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29033 add test to parse everything from capslist.h
29034 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29036 add test for structure deserialization
29037 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29038 add tests for deserialization of strings to int types
29039 * gst/gststructure.c: (gst_structure_nth_field_name):
29040 * gst/gststructure.h:
29041 add a way to get the name of a field referenced by index
29042 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29043 instead of checking if the resulting long long lies between
29044 min and max, we check if the long long would fit into
29045 a number of bytes for the final type.
29046 This fixes cases where a string represents 2^32 - 1, which
29047 when cast to int would be the (valid) -1, but is bigger than
29050 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29052 * gst/parse/grammar.y:
29053 add a log line for type deserialization
29055 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29057 * check/gst/gstvalue.c: (START_TEST):
29058 * gst/gstvalue.c: (gst_value_deserialize):
29059 return long long, not int, so gint64 deserialization actually
29060 works. Is there any flag that makes the compiler check this ?
29063 2005-06-22 Wim Taymans <wim@fluendo.com>
29066 Added convenience macros for setting buffers in GValue.
29068 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29070 * check/gst/.cvsignore:
29071 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29072 add a test deserializing int64, and comment part out because
29075 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29077 * check/Makefile.am:
29078 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29079 * testsuite/Makefile.am:
29080 * testsuite/caps/Makefile.am:
29081 * testsuite/caps/value_serialize.c:
29082 * testsuite/test_gst_init.c:
29083 move a value_serialize test over
29085 2005-06-20 Wim Taymans <wim@fluendo.com>
29090 * gst/gstvalue.c: (gst_value_compare_buffer),
29091 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29092 (gst_value_compare_flags), (gst_value_serialize_flags),
29093 (gst_value_deserialize_flags), (_gst_value_initialize):
29094 Fix serialisation of buffers, they are not boxed types anymore
29096 2005-06-20 Wim Taymans <wim@fluendo.com>
29098 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29099 Testcase to show error in buffer-on-caps serialisation.
29101 2005-06-20 Andy Wingo <wingo@pobox.com>
29103 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29104 will be adding to later.
29106 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29107 if its socks fill with rocks.
29108 (gst_system_clock_obtain): Set the name on object construction.
29109 Avoid double-checked locking.
29111 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29113 * gst/gsturi.c: (gst_element_make_from_uri):
29114 Fix potential endless loop.
29116 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29118 * check/Makefile.am:
29120 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29122 move over from testsuite dir and clean up
29125 * testsuite/Makefile.am:
29126 * testsuite/tags/.cvsignore:
29127 * testsuite/tags/Makefile.am:
29128 * testsuite/tags/merge.c:
29129 remove testsuite/tags
29131 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29133 * docs/gst/gstreamer-sections.txt:
29134 * docs/gst/tmpl/gstenumtypes.sgml:
29135 * win32/gstenumtypes.c:
29136 clean up documentation build a little
29138 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29140 * check/gstcheck.h:
29141 add macros for checking refcounts on objects and caps
29142 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29143 add some more unit tests
29144 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29145 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29146 fix leaked refcounts (I hope :)) so unittest works
29150 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29152 * configure.ac: back to HEAD
29154 === release 0.9.1 ===
29156 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29162 2005-06-17 Andy Wingo <wingo@pobox.com>
29164 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29165 assert; it's always possible that the pad gets deactivated in
29166 between the checks in gstpad.c and the implementation. Rely on
29167 finish_preroll() to return a FLUSHING or similar instead of on the
29170 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29171 clock and post an EOS message if we come out of finish_preroll in
29174 2005-06-16 David Schleef <ds@schleef.org>
29176 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29177 (gst_capsfilter_set_property): Allow NULL as possible value
29178 for filter_caps property, indicating GST_CAPS_ANY.
29180 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29182 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29184 * gst/schedulers/Makefile.am:
29186 * gstreamer.spec.in:
29189 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29191 * gstreamer.spec.in:
29194 2005-06-08 Andy Wingo <wingo@pobox.com>
29196 * gst/gstutils.c: RPAD fixes all around.
29197 (gst_element_link_pads): Refcounting fixes.
29199 * tools/gst-inspect.c:
29200 * tools/gst-xmlinspect.c:
29202 * gst/base/gsttypefindhelper.c:
29203 * gst/base/gstbasesink.c:
29204 * gst/gstqueue.c: RPAD fixes.
29206 * gst/gstghostpad.h:
29207 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29208 pads. The tricky thing is they provide both source and sink
29209 interfaces, since they proxy the internal pad for the external
29210 pad, and vice versa. Implement with lower-level ProxyPad objects,
29211 with the interior proxy pad as a child of the exterior ghost pad.
29212 Should write a doc on this.
29214 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29215 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29218 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29219 pads are real pads. No ghost pads in this file. Not documenting
29220 the myriad s/RPAD/PAD/ and REALIZE fixes.
29221 (gst_pad_class_init): Add properties for "direction" and
29222 "template". Both are construct-only, so they can't change during
29223 the life of the pad. Fixes properly deriving from GstPad.
29224 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29225 derived objects, just set properties when creating the objects via
29227 (gst_pad_get_parent): Implement as a function, return NULL if the
29228 parent is not an element.
29229 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29230 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29232 * gst/gstobject.c (gst_object_class_init): Make name a construct
29233 property. Don't set it in the object init.
29235 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29236 with UNKNOWN direction.
29237 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29238 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29239 (gst_element_remove_pad): Remove ghost-pad special cases.
29240 (gst_element_pads_activate): Remove rpad cruft.
29242 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29243 catch the pad's-parent-not-an-element case.
29245 * gst/gst.h: Include gstghostpad.h.
29247 * gst/gst.c (init_post): No more real, ghost pads.
29249 * gst/Makefile.am: Add gstghostpad.[ch].
29251 * check/Makefile.am:
29252 * check/gst/gstbin.c:
29253 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29254 into a bin creates ghost pads, and that the refcounts are right.
29255 Partly moved from gstbin.c.
29257 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29259 * check/gst-libs/.cvsignore:
29260 * check/gst/.cvsignore:
29261 * check/pipelines/.cvsignore:
29263 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29264 (START_TEST), (cleanup_suite), (main):
29265 add some tests related to cleanup after running pipelines
29267 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29269 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29270 add a testsuite for GstBuffer
29272 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29274 * gst/gstminiobject.h:
29275 add defines for accessing the refcount
29277 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29279 * Makefile.am: added support for html unit test coverage reports
29281 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29283 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29284 Free existing caps if the capsfilter changes. Add a FIXME about
29285 setting those caps on the pads.
29287 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29288 Before adding a ghost pad to a parent bin, check that there isn't
29289 already one for the element on the bin. Prevents infinite recursion
29290 when using decodebin in parse pipelines. Andy says he'll rewrite the
29291 way this works anyway, so ignore the hack.
29293 2005-06-02 Andy Wingo <wingo@pobox.com>
29295 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29296 file size, pass it on to the type find helper.
29298 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29299 segment_start and segment_end properly according to the seek
29300 method. Segment_end is still a bit flaky because offset can be
29301 negative for CUR and END cases, but it takes -1 as an "unset"
29304 2005-06-02 Wim Taymans <wim@fluendo.com>
29306 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29307 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29308 (gst_basesink_activate):
29309 * gst/base/gstbasesink.h:
29310 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29311 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29312 (gst_pad_query), (gst_pad_start_task):
29314 * gst/gstqueue.c: (gst_queue_bufferalloc),
29315 (gst_queue_handle_sink_event), (gst_queue_chain):
29316 Bufferalloc: return GstFlowReturn to more accuratly report
29317 why allocation failed.
29319 2005-06-02 Wim Taymans <wim@fluendo.com>
29321 * gst/gstpipeline.c: (gst_pipeline_send_event):
29322 Take snapshot of state without blocking.
29324 2005-06-02 Wim Taymans <wim@fluendo.com>
29326 * docs/design/part-TODO.txt:
29327 * docs/design/part-caps.txt:
29328 * docs/design/part-clocks.txt:
29329 * docs/design/part-negotiation.txt:
29330 * docs/design/part-preroll.txt:
29333 2005-05-30 Wim Taymans <wim@fluendo.com>
29335 * gst/elements/gstidentity.c: (gst_identity_event),
29336 (gst_identity_transform), (gst_identity_get_property):
29337 Protect last_message property as it is accessed from
29340 2005-05-30 Wim Taymans <wim@fluendo.com>
29342 * gst/gstelement.c: (gst_element_init),
29343 (gst_element_pads_activate), (gst_element_change_state):
29344 Slicker pad activation code.
29346 2005-05-30 Wim Taymans <wim@fluendo.com>
29349 * gst/gstelement.h:
29350 * gst/gstelementfactory.h:
29352 Move elementfactory methods to separate .h file.
29354 2005-05-30 Wim Taymans <wim@fluendo.com>
29356 * docs/design/part-overview.txt:
29357 * gst/gstsystemclock.h:
29358 Small typo fixes, doc updates.
29360 2005-05-30 Wim Taymans <wim@fluendo.com>
29362 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29363 (init_popt_callback):
29364 Remove cpu-opt flag.
29366 2005-05-30 Wim Taymans <wim@fluendo.com>
29368 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29369 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29371 Avoid typechecking in places where not needed.
29372 Added accessor for malloc_data.
29374 2005-05-30 Wim Taymans <wim@fluendo.com>
29376 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29377 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29378 (gst_pad_configure_sink), (gst_pad_configure_src),
29379 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29380 (gst_pad_start_task):
29381 Propagate errors from _set_caps() in configure_src/sink
29382 functions instead of returning TRUE.
29383 FLUSH events can travel up and downstream
29386 2005-05-30 Wim Taymans <wim@fluendo.com>
29388 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29389 (gst_basesink_activate):
29390 Handle EOS in preroll.
29392 2005-05-30 Wim Taymans <wim@fluendo.com>
29394 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29395 (gst_queue_loop), (gst_queue_handle_src_event):
29396 Remove old pieces of code
29397 Flushing the queue in an upstream event is a very bad idea.
29399 2005-05-26 Andy Wingo <wingo@pobox.com>
29401 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29402 gst_value_set_mini_object so as to add a ref on the object (which
29403 will be removed when the value is unset).
29405 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29406 arg type in ::handoff.
29408 * gst/gstelement.c (gst_element_change_state): Also deactivate
29409 pads in READY->NULL, just in case the element didn't make it to
29410 PAUSED. Wingo tested, Wim approved.
29412 2005-05-26 Wim Taymans <wim@fluendo.com>
29414 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29415 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29416 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29417 A flushing pad cannot be used to alloc_buffer from.
29419 2005-05-26 Wim Taymans <wim@fluendo.com>
29421 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29422 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29423 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29424 (gst_bus_create_watch), (gst_bus_add_watch_full):
29426 Implement a real GSource and use g_main_context_wakeup() to
29427 signal new messages instead of the socketpair.
29429 2005-05-25 Wim Taymans <wim@fluendo.com>
29431 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29432 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29433 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29434 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29435 (gst_pad_send_event), (gst_pad_start_task):
29436 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29437 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29438 (gst_queue_sink_activate), (gst_queue_src_activate),
29439 (gst_queue_change_state):
29441 Fix state changes for non sinks. We now change sinks, then elements
29442 with unconnected srcpads, then the rest.
29443 More efficient queue unlocking in flush and state changes.
29444 Set the pad activate mode even if it does not have an activate
29447 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29449 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29450 Don't go in pull mode for non-seekable sources.
29451 * gst/elements/gsttypefindelement.h:
29452 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29453 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29454 (free_entry), (stop_typefinding),
29455 (gst_type_find_element_handle_event), (find_peek),
29456 (gst_type_find_element_chain), (do_pull_typefind),
29457 (gst_type_find_element_change_state):
29458 Allow typefinding (w/o seeking) in push-mode, simplified version
29459 of what was in 0.8.
29460 * gst/gstutils.c: (gst_buffer_join):
29462 gst_buffer_join() from 0.8.
29464 2005-05-25 Wim Taymans <wim@fluendo.com>
29466 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29467 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29468 (gst_pad_send_event), (gst_pad_start_task):
29469 Disable attempt at mode switching until it is figured out.
29471 2005-05-25 Wim Taymans <wim@fluendo.com>
29473 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29474 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29475 (gst_basesink_finish_preroll), (gst_basesink_chain),
29476 (gst_basesink_loop), (gst_basesink_activate),
29477 (gst_basesink_change_state):
29478 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29479 (gst_basesrc_get_range), (gst_basesrc_loop),
29480 (gst_basesrc_activate):
29481 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29482 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29483 (gst_real_pad_init), (gst_real_pad_set_property),
29484 (gst_real_pad_get_property), (gst_pad_set_active),
29485 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29486 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29487 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29488 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29489 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29490 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29491 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29492 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29493 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29494 (gst_pad_stop_task):
29496 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29497 (gst_queue_loop), (gst_queue_src_activate):
29498 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29499 (gst_task_get_state):
29501 * gst/schedulers/threadscheduler.c:
29502 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29503 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29505 Remove ACTIVE pad flag, use FLUSHING everywhere
29506 Added _pad_chain(), _pad_get_range() to call chain/getrange
29508 Add locks around IS_FLUSHING when reading.
29509 Take STREAM lock in chain(), get_range() functions so plugins
29510 don't need to take it anymore.
29514 2005-05-25 Wim Taymans <wim@fluendo.com>
29516 * tools/gst-launch.c: (event_loop):
29517 Unref message after using its contents instead of
29520 2005-05-24 Wim Taymans <wim@fluendo.com>
29522 * docs/design/draft-ghostpads.txt:
29523 * docs/design/draft-push-pull.txt:
29524 * docs/design/draft-query.txt:
29525 * docs/design/part-overview.txt:
29526 Docs updates, added general overview doc.
29528 2005-05-21 David Schleef <ds@schleef.org>
29530 * docs/gst/tmpl/old/GstBin.sgml:
29531 * docs/gst/tmpl/old/GstBuffer.sgml:
29532 * docs/gst/tmpl/old/GstCaps.sgml:
29533 * docs/gst/tmpl/old/GstClock.sgml:
29534 * docs/gst/tmpl/old/GstCompat.sgml:
29535 * docs/gst/tmpl/old/GstData.sgml:
29536 * docs/gst/tmpl/old/GstElement.sgml:
29537 * docs/gst/tmpl/old/GstEvent.sgml:
29538 * docs/gst/tmpl/old/GstIndex.sgml:
29539 * docs/gst/tmpl/old/GstStructure.sgml:
29540 * docs/gst/tmpl/old/GstTag.sgml:
29541 * docs/gst/tmpl/old/cothreads.sgml:
29542 * docs/gst/tmpl/old/cothreads_compat.sgml:
29543 * docs/gst/tmpl/old/gettext.sgml:
29544 * docs/gst/tmpl/old/gobject2gtk.sgml:
29545 * docs/gst/tmpl/old/grammar.tab.sgml:
29546 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29547 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29548 * docs/gst/tmpl/old/gst_private.sgml:
29549 * docs/gst/tmpl/old/gstaggregator.sgml:
29550 * docs/gst/tmpl/old/gstarch.sgml:
29551 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29552 * docs/gst/tmpl/old/gstbufferstore.sgml:
29553 * docs/gst/tmpl/old/gstdata_private.sgml:
29554 * docs/gst/tmpl/old/gstdisksink.sgml:
29555 * docs/gst/tmpl/old/gstdisksrc.sgml:
29556 * docs/gst/tmpl/old/gstelementfactory.sgml:
29557 * docs/gst/tmpl/old/gstextratypes.sgml:
29558 * docs/gst/tmpl/old/gstfakesink.sgml:
29559 * docs/gst/tmpl/old/gstfakesrc.sgml:
29560 * docs/gst/tmpl/old/gstfdsink.sgml:
29561 * docs/gst/tmpl/old/gstfdsrc.sgml:
29562 * docs/gst/tmpl/old/gstfilesink.sgml:
29563 * docs/gst/tmpl/old/gstfilesrc.sgml:
29564 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29565 * docs/gst/tmpl/old/gstidentity.sgml:
29566 * docs/gst/tmpl/old/gstindexfactory.sgml:
29567 * docs/gst/tmpl/old/gstmarshal.sgml:
29568 * docs/gst/tmpl/old/gstmd5sink.sgml:
29569 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29570 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29571 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29572 * docs/gst/tmpl/old/gstpipefilter.sgml:
29573 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29574 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29575 * docs/gst/tmpl/old/gstshaper.sgml:
29576 * docs/gst/tmpl/old/gstspider.sgml:
29577 * docs/gst/tmpl/old/gstspideridentity.sgml:
29578 * docs/gst/tmpl/old/gststatistics.sgml:
29579 * docs/gst/tmpl/old/gsttee.sgml:
29580 * docs/gst/tmpl/old/gsttimecache.sgml:
29581 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29582 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29583 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29584 * docs/gst/tmpl/old/types.sgml:
29585 I didn't intend to add these or check them in.
29587 2005-05-19 David Schleef <ds@schleef.org>
29589 * configure.ac: Use -no-common everywhere. In a sane world, it
29590 would be the default in libtool, because without it, you can't
29591 build DLLs on Windows.
29592 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29593 * docs/gst/gstreamer-sections.txt:
29594 * docs/gst/tmpl/gstcpu.sgml:
29595 * docs/gst/tmpl/gstdata.sgml:
29596 * docs/gst/tmpl/gstthread.sgml:
29598 2005-05-19 David Schleef <ds@schleef.org>
29600 * gst/gstminiobject.c: (gst_value_set_mini_object),
29601 (gst_value_take_mini_object), (gst_value_get_mini_object):
29602 * gst/gstminiobject.h: Add GValue set/get functions.
29604 2005-05-19 Wim Taymans <wim@fluendo.com>
29606 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29607 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29608 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29610 * gst/gstbus.c: (gst_bus_post):
29611 * gst/gstelement.c: (gst_element_get_random_pad):
29612 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29613 Make subbufer unref the parent in finalize.
29614 some more debugging info.
29617 2005-05-19 Wim Taymans <wim@fluendo.com>
29619 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29620 (gst_basesink_init), (gst_basesink_finalize),
29621 (gst_basesink_activate), (gst_basesink_change_state):
29622 Don't free preroll queue too early.
29624 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29628 Hi, I'm outdated. Please shoot me.
29630 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29632 * gst/gstpipeline.c: (gst_pipeline_send_event):
29633 Do not access variables after they have been deleted.
29635 2005-05-19 Wim Taymans <wim@fluendo.com>
29637 * tools/gst-inspect.c: (print_plugin_features):
29638 A plugin feature does unfortunatly not use the
29641 2005-05-18 Wim Taymans <wim@fluendo.com>
29643 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29644 Port _span() functions to new subbuffers.
29646 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29648 * gst/gstbin.c: (gst_bin_add_func):
29649 Fix clock settery in bins when adding kids after the clock has
29652 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29654 * gst/elements/gstidentity.c: (gst_identity_class_init):
29655 Workaround until signals support GstMiniObject.
29657 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29660 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29662 2005-05-18 Wim Taymans <wim@fluendo.com>
29664 * gst/base/Makefile.am:
29665 * gst/base/gstadapter.c: (gst_adapter_base_init),
29666 (gst_adapter_class_init), (gst_adapter_init),
29667 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29668 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29669 (gst_adapter_flush), (gst_adapter_available),
29670 (gst_adapter_available_fast):
29671 * gst/base/gstadapter.h:
29672 Ported and added adapter to the base classes.
29674 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29677 * gst/gstmessage.c:
29678 Make sure the class is reffed/unreffed once before threads can be
29679 used. Fixes #304551.
29681 2005-05-17 Wim Taymans <wim@fluendo.com>
29683 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29684 (gst_basesink_chain_unlocked), (gst_basesink_activate):
29685 * gst/gstminiobject.c: (gst_mini_object_get_type),
29686 (gst_mini_object_free):
29687 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29688 (gst_pad_push), (gst_pad_push_event):
29689 * gst/gstqueue.c: (gst_queue_change_state):
29690 Don't queue buffers in basesink when we are flushing.
29691 Unref buffer when flushing in basesink.
29692 Flush queue when going to READY
29693 Unref buffer when _push() returns an error.
29694 Don't free MiniObject instance when refcount is incremented
29695 in _finalize() so that we can recover objects.
29697 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29699 * docs/manual/advanced-schedulers.xml:
29700 * docs/manual/appendix-checklist.xml:
29701 * docs/pwg/advanced-clock.xml:
29702 * docs/pwg/advanced-interfaces.xml:
29703 * docs/pwg/advanced-request.xml:
29704 * docs/pwg/advanced-types.xml:
29705 * docs/pwg/intro-preface.xml:
29706 * examples/plugins/example.c: (gst_example_get_type),
29707 (gst_example_class_init), (gst_example_chain),
29708 (gst_example_set_property), (gst_example_get_property),
29709 (gst_example_change_state), (plugin_init):
29710 * examples/plugins/example.h:
29713 2005-05-17 Wim Taymans <wim@fluendo.com>
29715 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29716 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29717 * gst/gstqueue.c: (gst_queue_change_state):
29718 Clear queue when going to READY.
29719 Remove IN_SETCAPS flag too.
29721 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
29723 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29724 Remove implicit cast from gboolean to GstElementStateReturn;
29725 make sure we still return failure in paused => ready case if
29726 the parent class fails to change state and our own stop
29729 2005-05-17 Wim Taymans <wim@fluendo.com>
29731 * tools/gst-launch.c: (event_loop):
29732 Message was unreffed too soon.
29734 2005-05-16 Andy Wingo <wingo@pobox.com>
29736 * gst/gstbin.c (sink_iterator_filter): Err... um...
29738 * check/gst/gstbin.c (test_ghost_pads): New test for the
29739 ghosting-if-elements-not-in-same-bin behavior.
29741 2005-05-16 David Schleef <ds@schleef.org>
29743 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29744 accessing refcount directly.
29746 2005-05-15 David Schleef <ds@schleef.org>
29748 * check/Makefile.am: remove GstData checks
29749 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29750 * gst/Makefile.am: add miniobject, remove data
29751 * gst/gst.h: add miniobject, remove data
29752 * gst/gstdata.c: remove
29753 * gst/gstdata.h: remove
29754 * gst/gstdata_private.h: remove
29755 * gst/gsttypes.h: remove GstEvent and GstMessage
29756 * gst/gstelement.c: (gst_element_post_message): fix for API changes
29757 * gst/gstmarshal.list: change BOXED -> OBJECT
29759 Implement GstMiniObject.
29760 * gst/gstminiobject.c:
29761 * gst/gstminiobject.h:
29763 Modify to be subclasses of GstMiniObject.
29764 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29765 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29766 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29767 (gst_subbuffer_get_type), (gst_subbuffer_init),
29768 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29771 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29772 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29773 (_gst_event_copy), (gst_event_new):
29775 * gst/gstmessage.c: (_gst_message_initialize),
29776 (gst_message_get_type), (gst_message_class_init),
29777 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29778 (gst_message_new), (gst_message_new_error),
29779 (gst_message_new_warning), (gst_message_new_tag),
29780 (gst_message_new_state_changed), (gst_message_new_application):
29781 * gst/gstmessage.h:
29782 * gst/gstprobe.c: (gst_probe_perform),
29783 (gst_probe_dispatcher_dispatch):
29785 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29786 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29787 (_gst_query_copy), (gst_query_new):
29789 Update elements for GstData -> GstMiniObject changes
29791 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29792 (gst_queue_chain), (gst_queue_loop):
29793 * gst/elements/gstbufferstore.c:
29794 (gst_buffer_store_add_buffer_func),
29795 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29796 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29797 (gst_fakesink_render):
29798 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29799 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29800 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29801 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29802 (gst_filesrc_create_read):
29803 * gst/elements/gstidentity.c: (gst_identity_class_init):
29804 * gst/elements/gsttypefindelement.c:
29805 (gst_type_find_element_src_event), (free_entry_buffers),
29806 (gst_type_find_element_handle_event):
29807 * libs/gst/dataprotocol/dataprotocol.c:
29808 (gst_dp_header_from_buffer):
29809 * libs/gst/dataprotocol/dataprotocol.h:
29810 * libs/gst/dataprotocol/dp-private.h:
29812 2005-05-15 David Schleef <ds@schleef.org>
29814 * gst/elements/gstelements.c: Don't include headers that were
29817 2005-05-15 David Schleef <ds@schleef.org>
29819 * gst/elements/Makefile.am: Remove some elements that don't
29820 need to be in the core (or even exist at all).
29821 * gst/elements/gstaggregator.c:
29822 * gst/elements/gstaggregator.h:
29823 * gst/elements/gstmd5sink.c:
29824 * gst/elements/gstmd5sink.h:
29825 * gst/elements/gstmultifilesrc.c:
29826 * gst/elements/gstmultifilesrc.h:
29827 * gst/elements/gstpipefilter.c:
29828 * gst/elements/gstpipefilter.h:
29829 * gst/elements/gstshaper.c:
29830 * gst/elements/gstshaper.h:
29831 * gst/elements/gststatistics.c:
29832 * gst/elements/gststatistics.h:
29833 * po/POTFILES.in: Remove above files.
29835 2005-05-14 Andy Wingo <wingo@pobox.com>
29837 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29838 so as to get the refs right.
29839 (sink_iterator_filter): New function, wraps bin_element_is_sink,
29840 unreffing objects that don't pass the filter.
29842 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
29843 gst_element_set_bus.
29844 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
29845 normal cases, this will destroy the bus.
29847 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
29850 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
29853 2005-05-13 Andy Wingo <wingo@pobox.com>
29855 * gst/gstutils.c (gst_element_link_pads): Instead of calling
29856 gst_pad_link, call pad_link_maybe_ghosting,
29857 (pad_link_maybe_ghosting): Links pads, making sure that the
29858 elements being linked are in the same bin.
29859 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
29860 Helpers for pad_link_maybe_ghosting.
29862 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29865 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
29867 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29869 * docs/design/part-element-source.txt:
29872 2005-05-12 Wim Taymans <wim@fluendo.com>
29874 * gst/base/gstbasesink.c: (gst_basesink_init),
29875 (gst_basesink_activate):
29876 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
29877 (gst_basesrc_is_seekable):
29878 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
29879 (bin_element_is_sink), (gst_bin_change_state):
29880 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29881 * gst/gstelement.h:
29882 Identify sinks by their flag to avoid overly complicated
29884 Do state changes even for elements not reachable from the
29886 BaseSink is a sink now :)
29887 Some more debugging info in the basesrc.
29890 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29892 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
29893 Implement _query on a bin, similar to _send_event.
29895 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
29897 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
29898 Discont event offset format should be GST_FORMAT_BYTES,
29899 not GST_FORMAT_TIME.
29901 2005-05-12 Wim Taymans <wim@fluendo.com>
29903 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
29904 Same fix as Ronald's but without the signal.
29906 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29908 * gst/gstutils.c: (gst_element_query_position):
29909 No, an element is not a pad.
29911 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29913 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
29914 (gst_bin_get_state):
29915 If a child is removed from a bin while we remove the child from
29916 the bin and while we're retrieving its state, signal this to the
29917 get_state function so we abort the wait (instead of waiting for
29918 a timeout) and can immediately re-iterate over all other elements.
29920 2005-05-12 Wim Taymans <wim@fluendo.com>
29922 * gst/base/Makefile.am:
29923 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
29924 (gst_basesrc_start):
29925 * gst/base/gstbasesrc.h:
29926 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
29927 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
29928 (gst_pushsrc_init), (gst_pushsrc_create):
29929 * gst/base/gstpushsrc.h:
29930 Added is_seekable to BaseSrc
29931 Added simple PushSrc.
29933 2005-05-11 Wim Taymans <wim@fluendo.com>
29935 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29936 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29937 (gst_element_link_pads), (gst_element_query_position),
29938 (gst_element_query_convert), (intersect_caps_func),
29939 (gst_pad_query_position), (gst_pad_query_convert):
29940 Fix refcounting in utils function.
29941 No point in trying to activate a pad when it's added, it could
29942 be added from the state change function and then we deadlock, the
29943 element has to decide what to do.
29945 2005-05-10 Andy Wingo <wingo@pobox.com>
29947 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
29948 *all* the arguments.
29950 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
29951 stream lock if it's a FLUSH_DONE; normal flushes don't get the
29952 lock (according to the docs -- if this is wrong change the docs).
29954 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
29955 flush messages in the NULL state.
29957 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
29958 message immediately and return.
29959 (gst_bus_set_flushing): New function. If a bus is flushing, it
29960 flushes out any queued messages and immediately unrefs new
29961 messages. This is so when an element goes to NULL, all of the
29962 unhandled messages coming from it can be freed, and their
29963 references to the element dropped. In other words: message source
29964 ref considered harmful :P
29966 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
29967 we're finished with it.
29969 * gst/gstmessage.c (gst_message_new_state_changed):
29971 2005-05-10 Wim Taymans <wim@fluendo.com>
29973 * gst/gstvalue.c: (gst_value_compare_flags),
29974 (gst_value_serialize_flags), (gst_value_deserialize_flags),
29975 (_gst_value_initialize):
29976 Added flags serialize/deserialize/compare code.
29978 2005-05-09 Andy Wingo <wingo@pobox.com>
29980 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
29981 Intersect the peer's caps with our caps.
29983 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29985 * gst/base/gsttypefindhelper.c: (helper_find_peek):
29986 * gst/elements/gsttypefindelement.c: (find_peek):
29987 Handle negative offsets better. Fixes decodebin.
29989 2005-05-09 Wim Taymans <wim@fluendo.com>
29991 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
29992 (gst_base_transform_event):
29993 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
29994 Implement accept_caps.
29995 Fix silly lock/unlock mismatch in base class.
29997 2005-05-09 Wim Taymans <wim@fluendo.com>
29999 * docs/design/draft-push-pull.txt:
30000 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30001 * gst/elements/gstfilesink.c: (gst_filesink_init),
30002 (gst_filesink_query):
30003 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30004 (gst_type_find_handle_src_query), (find_element_get_length):
30005 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30006 * gst/gstelement.h:
30007 * gst/gstmessage.c:
30008 * gst/gstmessage.h:
30009 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30010 (gst_real_pad_get_caps_unlocked),
30011 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30012 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30013 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30014 (gst_real_pad_dispose), (gst_real_pad_finalize),
30015 (gst_pad_load_and_link), (gst_pad_save_thyself),
30016 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30017 (gst_pad_check_pull_range), (gst_pad_pull_range),
30018 (gst_pad_template_get_type), (gst_pad_template_class_init),
30019 (gst_pad_template_init), (gst_pad_template_dispose),
30020 (name_is_valid), (gst_static_pad_template_get),
30021 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30022 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30023 (gst_pad_get_element_private), (gst_pad_start_task),
30024 (gst_pad_pause_task), (gst_pad_stop_task),
30025 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30026 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30027 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30028 (gst_ghost_pad_new):
30030 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30031 (gst_query_new_position), (gst_query_set_position),
30032 (gst_query_parse_position), (gst_query_new_convert),
30033 (gst_query_set_convert), (gst_query_parse_convert):
30035 * gst/gstqueryutils.c:
30036 * gst/gstqueryutils.h:
30037 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30038 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30039 (gst_queue_handle_src_query):
30040 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30041 (gst_element_query_position), (gst_element_query_convert),
30042 (intersect_caps_func), (gst_pad_query_position),
30043 (gst_pad_query_convert):
30045 * tools/gst-inspect.c: (print_pad_info):
30046 * tools/gst-xmlinspect.c: (print_element_info):
30047 Remove old query functions. Ported old code.
30048 Added position/convert helper functions to gstutils.
30049 Reordered gstpad.c code, grouping relevant things.
30050 Remove gst_message_new(), always need to speficy a specific
30054 2005-05-09 Andy Wingo <wingo@pobox.com>
30056 * gst/gstiterator.h: Add some includes.
30058 * gst/gstqueryutils.h: Include more headers.
30061 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30062 some uses of gst_pad_query.
30064 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30065 NULL out parameters.
30066 (gst_query_new_position): New proc, allocates a new position
30069 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30070 gstqueryutils.c to the build.
30072 * gst/gststructure.c (gst_structure_set_valist): Implement with
30073 the generic G_VALUE_COLLECT.
30075 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30077 * gst/Makefile.am: (gst_headers):
30078 Added gstqueryutils.h to the list of headers to install, that was
30079 a 'nachty' move wingo :)
30081 2005-05-06 Andy Wingo <wingo@pobox.com>
30084 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30085 GstData, init a memchunk.
30086 (standard_definitions): Add a few query types, deprecate a few.
30087 (gst_query_get_type): New proc.
30088 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30090 (gst_query_new_application, gst_query_get_structure): New public
30093 * docs/design/draft-query.txt: Removed LINKS from the query types,
30094 because all the rest can be dispatched to other pads -- seemed
30095 ugly to have a query that couldn't be dispatched. internal_links
30096 is fine as a pad method.
30098 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30099 in gstpad.c, but maintain binary compatibility for the moment.
30100 Will fix before 0.9 is out.
30102 * gst/gstqueryutils.c:
30103 * gst/gstqueryutils.h: New files, implement 3 methods for each
30104 query type: parse_query, parse_response, and set. Probably need an
30107 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30109 * gst/elements/gstfilesink.c (gst_filesink_query2):
30110 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30111 query_types, and formats methods.
30113 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30114 (gst_pad_set_query2_function): New functions.
30115 (gst_real_pad_init): Set query2_default as the default query2
30116 function. Basically just dispatches to internally linked pads.
30120 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30121 without using the atomic operations. Only one thread can possibly
30122 be accessing the data at this point. Changed so as to avoid
30123 gst_atomic operations.
30125 2005-05-06 Wim Taymans <wim@fluendo.com>
30127 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30128 Also set caps if we use the fallback buffer alloc.
30130 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30132 * docs/gst/Makefile.am:
30133 * docs/gst/gstreamer-docs.sgml:
30134 * docs/gst/gstreamer-sections.txt:
30135 * docs/gst/tmpl/gstatomic.sgml:
30136 * docs/gst/tmpl/gstmemchunk.sgml:
30137 * testsuite/elements/struct_i386.h:
30138 * win32/GStreamer.vcproj:
30140 Purge GstAtomic stuff from docs and win32 makefiles as well
30142 2005-05-06 Wim Taymans <wim@fluendo.com>
30144 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30145 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30146 * gst/gstpad.c: (gst_pad_peer_get_caps):
30147 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30148 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30149 (gst_queue_src_activate), (gst_queue_change_state):
30151 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30152 (intersect_caps_func):
30153 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30154 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30155 Some fixes for the peer_get_caps() change.
30157 2005-05-06 Wim Taymans <wim@fluendo.com>
30159 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30160 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30161 (gst_basesink_activate):
30162 Actually do something with error codes returned from the push
30165 2005-05-06 Wim Taymans <wim@fluendo.com>
30167 * docs/design/part-element-sink.txt:
30168 * docs/design/part-element-source.txt:
30169 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30170 (gst_basesink_event), (gst_basesink_activate):
30171 * gst/base/gstbasesink.h:
30172 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30173 (gst_basesrc_activate):
30174 * gst/base/gstbasesrc.h:
30175 * gst/gstelement.c: (gst_element_pads_activate):
30176 Some more documentation.
30177 Fixed scheduling decision in _pads_activate().
30179 2005-05-05 Andy Wingo <wingo@pobox.com>
30181 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30184 2005-05-05 Wim Taymans <wim@fluendo.com>
30186 * gst/base/Makefile.am:
30187 * gst/base/gstbasesink.h:
30188 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30189 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30190 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30191 (gst_collectpads_class_init), (gst_collectpads_init),
30192 (gst_collectpads_finalize), (gst_collectpads_new),
30193 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30194 (find_pad), (gst_collectpads_remove_pad),
30195 (gst_collectpads_is_active), (gst_collectpads_collect),
30196 (gst_collectpads_collect_range), (gst_collectpads_start),
30197 (gst_collectpads_stop), (gst_collectpads_peek),
30198 (gst_collectpads_pop), (gst_collectpads_available),
30199 (gst_collectpads_read), (gst_collectpads_flush),
30200 (gst_collectpads_chain):
30201 * gst/base/gstcollectpads.h:
30202 * gst/elements/Makefile.am:
30203 * gst/elements/gstelements.c:
30204 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30205 (gst_fakesink_get_times), (gst_fakesink_event),
30206 (gst_fakesink_preroll), (gst_fakesink_render):
30207 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30208 (gst_filesink_init), (gst_filesink_set_location),
30209 (gst_filesink_open_file), (gst_filesink_close_file),
30210 (gst_filesink_pad_query), (gst_filesink_event),
30211 (gst_filesink_render), (gst_filesink_change_state):
30212 * gst/elements/gstfilesink.h:
30213 Added object to help in making collect pad based elements.
30215 Make event function in sink baseclass return gboolean.
30217 2005-05-05 Wim Taymans <wim@fluendo.com>
30219 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30220 (gst_bin_get_by_name):
30222 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30223 (gst_clock_finalize):
30224 * gst/gstdata.c: (gst_data_replace):
30226 * gst/gstelement.c: (gst_element_request_pad),
30227 (gst_element_pads_activate):
30228 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30229 (gst_object_unref):
30230 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30231 (gst_pad_set_checkgetrange_function),
30232 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30233 (gst_pad_check_pull_range), (gst_pad_pull_range),
30234 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30235 (gst_pad_pause_task), (gst_pad_stop_task):
30236 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30237 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30238 Fix name lookup in GstBin.
30239 Added _data_replace() function and _buffer_replace()
30240 Use finalize method to clean up clock.
30241 Fix refcounting on request pads.
30242 Fix pad schedule mode error.
30243 Some more object refcounting debug info,
30246 2005-05-04 Andy Wingo <wingo@pobox.com>
30248 * check/Makefile.am:
30249 * docs/gst/tmpl/gstatomic.sgml:
30250 * docs/gst/tmpl/gstplugin.sgml:
30251 * gst/base/gstbasesink.c: (gst_basesink_activate):
30252 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30253 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30254 (gst_basesrc_query), (gst_basesrc_set_property),
30255 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30256 (gst_basesrc_activate):
30257 * gst/base/gstbasesrc.h:
30258 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30259 (gst_base_transform_src_activate):
30260 * gst/elements/gstelements.c:
30261 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30262 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30263 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30264 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30265 (gst_type_find_element_checkgetrange),
30266 (gst_type_find_element_activate):
30267 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30268 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30269 (gst_caps_load_thyself):
30270 * gst/gstelement.c: (gst_element_pads_activate),
30271 (gst_element_save_thyself), (gst_element_restore_thyself):
30272 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30273 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30275 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30276 (gst_xml_parse_file), (gst_xml_parse_memory),
30277 (gst_xml_get_element), (gst_xml_make_element):
30278 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30279 (_file_index_id_save_xml), (gst_file_index_commit):
30280 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30281 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30283 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30284 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30285 * tools/gst-complete.c: (main):
30286 * tools/gst-compprep.c: (main):
30287 * tools/gst-inspect.c: (print_element_properties_info):
30288 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30289 * tools/gst-xmlinspect.c: (print_element_properties):
30292 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30294 * gst/gstplugin.c: (gst_plugin_check_module),
30295 (gst_plugin_check_file), (gst_plugin_load_file):
30296 apply patch from #172526 to make register work on MacOSX
30298 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30300 * docs/gst/tmpl/gstconfig.sgml:
30301 * gst/gstconfig.h.in:
30302 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30303 * testsuite/debug/printf_extension.c: (main):
30304 Do not use GST_PTR_FORMAT on pointers to types with
30305 sizeof < sizeof(gpointer). Fixes test on 64-bit
30306 * testsuite/elements/property.h:
30307 use correct printf format
30309 2005-05-02 Wim Taymans <wim@fluendo.com>
30311 * docs/design/draft-push-pull.txt:
30312 * docs/design/draft-query.txt:
30313 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30314 (gst_basesrc_start):
30315 Added draft for new query API.
30316 Added draft for better selecting scheduling methods.
30317 Make basesrc ignore length if the subclass does not support
30320 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30323 possible fixes for automake-1.5 - _LIBADD is reserved
30325 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30327 * docs/faq/Makefile.am:
30328 * docs/manual/Makefile.am:
30329 * docs/manuals.mak:
30330 * docs/pwg/Makefile.am:
30332 possible fixes for automake-1.5
30334 2005-04-28 Wim Taymans <wim@fluendo.com>
30336 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30337 (gst_basesink_pad_getcaps), (gst_basesink_init),
30338 (gst_basesink_do_sync):
30339 * gst/gstclock.c: (gst_clock_entry_new):
30340 * gst/gstevent.c: (gst_event_discont_get_value):
30341 * gst/gstpipeline.c: (pipeline_bus_handler),
30342 (gst_pipeline_change_state):
30343 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30344 Better debugging of clocking info.
30345 Allow NULL values when getting discont values.
30347 2005-04-27 Wim Taymans <wim@fluendo.com>
30349 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30350 * check/gst/gstpad.c: (gst_pad_suite):
30351 Increase timeout for checks.
30353 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30355 * check/Makefile.am:
30356 fix the broken rule for cleanup. Apparently this rule is
30357 only needed on FC2, so maybe this warrants further autotool
30360 2005-04-26 Wim Taymans <wim@fluendo.com>
30362 * gst/gsttrashstack.h:
30363 Ooohh. a nasty one! After having a failed pop() from the stack,
30364 it's possible that the stack is empty. In that case, don't
30365 follow the NULL pointer.
30367 2005-04-25 Wim Taymans <wim@fluendo.com>
30369 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30370 (gst_pad_set_checkgetrange_function),
30371 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30372 (gst_pad_check_pull_range), (gst_pad_pull_range),
30373 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30374 (gst_pad_pause_task), (gst_pad_stop_task):
30375 * gst/gstplugin.c: (gst_plugin_load):
30377 Remove gst_library_load as it does more harm than good with
30378 the new g_module flags.
30379 Revert bogus caps template check in pad linking, pad caps
30380 are important when linking not the template, which is more
30381 general than the current caps.
30383 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30385 * gst/autoplug/.cvsignore:
30386 * gst/autoplug/Makefile.am:
30387 * gst/autoplug/gstsearchfuncs.c:
30388 * gst/autoplug/gstsearchfuncs.h:
30389 * gst/autoplug/gstspider.c:
30390 * gst/autoplug/gstspider.h:
30391 * gst/autoplug/gstspideridentity.c:
30392 * gst/autoplug/gstspideridentity.h:
30393 * gst/autoplug/spidertest.c:
30396 2005-04-25 Wim Taymans <wim@fluendo.com>
30398 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30399 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30400 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30401 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30403 Added stubs for unimplemented functions.
30405 2005-04-24 David Schleef <ds@schleef.org>
30407 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30410 2005-04-24 David Schleef <ds@schleef.org>
30412 Convert everything from GstAtomicInt to g_atomic_int_*, and
30417 * gst/gstatomic_impl.h:
30425 * gst/gstdata_private.h:
30429 * gst/gstmessage.c:
30432 * gst/gststructure.c:
30433 * gst/gststructure.h:
30434 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30437 2005-04-24 David Schleef <ds@schleef.org>
30439 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30440 make the regressions tests work. Remove some code that is no
30442 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30443 Disable warning for pads without templates.
30445 2005-04-24 David Schleef <ds@schleef.org>
30447 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30448 functions that handle filtered links.
30449 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30451 * gst/gstutils.c: Fix/remove utility functions that handle
30454 * gst/gstvalue.c: Add serialization/deserialization of caps
30455 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30456 requires fixing so that the filter caps notation creates
30457 a capsfilter element and sets the filter_caps property. I
30458 think everyone probably wants to keep the shorthand notation.
30459 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30460 * docs/gst/tmpl/gstpad.sgml:
30462 * gst/elements/gstelements.c: Register capsfilter element.
30463 * gst/Makefile.am: fix spacing
30464 * docs/random/ds/0.9-suggested-changes: random
30466 2005-04-23 David Schleef <ds@schleef.org>
30468 * gst/elements/Makefile.am:
30469 * gst/elements/gstcapsfilter.c: New element that acts like an
30470 identity, but filters caps. Will eventually replace filtered
30471 caps in pad linking.
30472 * gst/gstutils.c: (gst_element_create_all_pads): New function
30473 to create all the ALWAYS pads that are registered with an
30474 element class. This functionality should eventually be
30475 merged in with GstElement initialization.
30477 * testsuite/trigger/README: part of trigger test code that should
30478 have been checked in a long time ago.
30480 2005-04-23 David Schleef <ds@schleef.org>
30482 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30483 needed with new versions of libtool (nobody will confirm this),
30484 and hard to carry around.
30485 * gst/autoplug/Makefile.am:
30486 * gst/base/Makefile.am:
30487 * gst/elements/Makefile.am:
30488 * gst/indexers/Makefile.am:
30489 * gst/schedulers/Makefile.am:
30490 * libs/gst/bytestream/Makefile.am:
30491 * libs/gst/control/Makefile.am:
30492 * libs/gst/dataprotocol/Makefile.am:
30493 * libs/gst/getbits/Makefile.am:
30495 2005-04-21 Wim Taymans <wim@fluendo.com>
30497 * docs/design/draft-push-pull.txt:
30498 * docs/design/part-MT-refcounting.txt:
30499 * docs/design/part-TODO.txt:
30500 * docs/design/part-caps.txt:
30501 * docs/design/part-events.txt:
30502 * docs/design/part-gstbus.txt:
30503 * docs/design/part-gstpipeline.txt:
30504 * docs/design/part-messages.txt:
30505 * docs/design/part-push-pull.txt:
30506 * docs/design/part-query.txt:
30509 2005-04-21 Wim Taymans <wim@fluendo.com>
30511 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30512 (gst_message_new), (gst_message_new_error),
30513 (gst_message_new_warning), (gst_message_new_tag),
30514 (gst_message_new_state_changed), (gst_message_new_application),
30515 (gst_message_get_structure):
30516 * gst/gstmessage.h:
30517 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30518 (gst_structure_copy_conditional):
30519 Use parent refcount in GstMessage to ensure GstStructure
30521 Cleaned up headers a bit.
30524 2005-04-20 Wim Taymans <wim@fluendo.com>
30526 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30527 (gst_basesink_pad_getcaps), (gst_basesink_init),
30528 (gst_basesink_chain_unlocked):
30529 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30530 (gst_type_find_helper):
30531 * gst/elements/gsttypefindelement.c:
30532 (gst_type_find_element_have_type), (gst_type_find_element_init),
30533 (stop_typefinding), (gst_type_find_element_handle_event),
30534 (find_suggest), (gst_type_find_element_chain),
30535 (gst_type_find_element_checkgetrange),
30536 (gst_type_find_element_getrange), (do_typefind),
30537 (gst_type_find_element_activate):
30538 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30539 (gst_buffer_default_free), (gst_buffer_default_copy),
30540 (gst_buffer_set_caps):
30541 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30542 (gst_caps_replace):
30543 * gst/gstmessage.c: (gst_message_new),
30544 (gst_message_new_state_changed):
30545 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30546 (gst_pad_set_checkgetrange_function),
30547 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30548 (gst_pad_set_caps), (gst_pad_check_pull_range),
30549 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30551 * gst/gsttypefind.c: (gst_type_find_register):
30552 Make gst_caps_replace() work like other _replace() functions.
30553 Use _caps_replace() where possible.
30554 Make sure _message_new() initialises its field.
30555 Add gst_static_pad_template_get_caps()
30558 2005-04-18 Andy Wingo <wingo@pobox.com>
30560 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30561 on the peer, not the pad. I think that was a typo. Pass an extra
30562 arg to see if random access is possible. Activate the pads as
30563 PULL_RANGE if possible.
30565 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30567 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30568 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30571 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30573 * docs/faq/using.xml:
30574 Add note on gstreamer-properties (#154996).
30576 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30578 * docs/random/bbb/optional-properties:
30579 Some analysis on optional properties.
30581 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30583 * docs/gst/tmpl/gstelementfactory.sgml:
30584 * gst/gstelement.h:
30585 * gst/gstelementfactory.c: (gst_element_factory_init),
30586 (gst_element_factory_cleanup), (gst_element_register),
30587 (__gst_element_factory_add_static_pad_template),
30588 (gst_element_factory_get_static_pad_templates),
30589 (gst_element_factory_can_src_caps),
30590 (gst_element_factory_can_sink_caps):
30591 * gst/registries/Makefile.am:
30592 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30593 (gst_xml_registry_class_init), (gst_xml_registry_init),
30594 (gst_xml_registry_new), (gst_xml_registry_set_property),
30595 (gst_xml_registry_get_property), (get_time), (make_dir),
30596 (gst_xml_registry_get_perms_func),
30597 (plugin_times_older_than_recurse), (plugin_times_older_than),
30598 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30599 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30600 (add_to_char_array), (read_string), (read_uint), (read_enum),
30601 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30602 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30603 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30604 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30605 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30606 (gst_xml_registry_rebuild):
30607 * gst/registries/gstlibxmlregistry.h:
30608 * tools/gst-compprep.c: (main):
30609 * tools/gst-inspect.c: (print_pad_templates_info):
30610 * tools/gst-xmlinspect.c: (print_element_info):
30611 Use libxml2 for registry parsing, use staticpadtemplates in
30612 elementfactories. Makes gst_init() +/- 10x faster.
30614 2005-04-12 Wim Taymans <wim@fluendo.com>
30616 * gst/base/Makefile.am:
30617 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30618 (gst_basesink_pad_getcaps), (gst_basesink_init),
30619 (gst_basesink_event), (gst_basesink_change_state):
30620 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30621 (gst_basesrc_init), (gst_basesrc_query),
30622 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30623 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30624 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30625 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30626 (gst_basesrc_stop), (gst_basesrc_activate),
30627 (gst_basesrc_change_state):
30628 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30629 (helper_find_suggest), (gst_type_find_helper):
30630 * gst/base/gsttypefindhelper.h:
30631 * gst/elements/Makefile.am:
30632 * gst/elements/gstelements.c:
30633 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30634 (gst_fakesink_get_times), (gst_fakesink_event),
30635 (gst_fakesink_preroll), (gst_fakesink_render):
30636 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30637 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30638 (gst_fakesrc_get_property), (gst_fakesrc_create),
30639 (gst_fakesrc_start), (gst_fakesrc_stop):
30640 * gst/elements/gstfakesrc.h:
30641 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30642 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30643 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30644 (gst_filesrc_create_read), (gst_filesrc_create),
30645 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30646 (gst_filesrc_start):
30647 * gst/elements/gsttypefindelement.c:
30648 (gst_type_find_element_have_type), (gst_type_find_element_init),
30649 (start_typefinding), (stop_typefinding), (push_buffer_store),
30650 (gst_type_find_element_handle_event),
30651 (gst_type_find_element_chain),
30652 (gst_type_find_element_checkgetrange),
30653 (gst_type_find_element_getrange), (do_typefind),
30654 (gst_type_find_element_activate),
30655 (gst_type_find_element_change_state):
30656 * gst/elements/gsttypefindelement.h:
30657 * gst/gstpipeline.c: (pipeline_bus_handler):
30658 Added typefind helper.
30659 Small preroll fix in the base sink.
30660 Disable typefind code in basesrc.
30661 Crude port of typefindelement.
30665 2005-04-11 Wim Taymans <wim@fluendo.com>
30667 * check/gst/gstbus.c: (gstbus_suite):
30668 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30669 * check/gstcheck.h:
30670 Fix up the timeout so that the test does not fail.
30672 2005-04-06 Wim Taymans <wim@fluendo.com>
30675 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30676 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30677 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30678 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30679 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30680 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30681 (gst_basesrc_stop), (gst_basesrc_activate),
30682 (gst_basesrc_change_state), (basesrc_find_peek),
30683 (basesrc_find_suggest), (gst_basesrc_type_find):
30684 * gst/base/gstbasesrc.h:
30685 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30686 (gst_filesrc_class_init), (gst_filesrc_init),
30687 (gst_filesrc_finalize), (gst_filesrc_set_location),
30688 (gst_filesrc_set_property), (gst_filesrc_get_property),
30689 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30690 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30691 (gst_filesrc_create_read), (gst_filesrc_create),
30692 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30693 * gst/elements/gstfilesrc.h:
30694 * gst/gstelement.c: (gst_element_get_state_func),
30695 (gst_element_lost_state), (gst_element_pads_activate):
30696 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30697 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30698 (gst_pad_pull_range):
30700 More work on the generic source base class, implement seeking,
30702 Make filesrc extend the base source class.
30703 Added gst_pad_set_checkgetrange_function to GstPad.
30705 2005-04-06 Andy Wingo <wingo@pobox.com>
30707 * pkgconfig/gstreamer-base.pc.in:
30708 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30710 * pkgconfig/Makefile.am:
30711 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30713 2005-04-04 Wim Taymans <wim@fluendo.com>
30715 * gst/base/Makefile.am:
30717 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30718 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30719 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30720 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30721 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30722 (gst_basesrc_base_init), (gst_basesrc_class_init),
30723 (gst_basesrc_init), (gst_basesrc_get_formats),
30724 (gst_basesrc_get_query_types), (gst_basesrc_query),
30725 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30726 (gst_basesrc_set_property), (gst_basesrc_get_property),
30727 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30728 (gst_basesrc_loop), (gst_basesrc_activate),
30729 (gst_basesrc_change_state):
30730 * gst/base/gstbasesrc.h:
30731 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30732 (gst_fakesrc_class_init), (gst_fakesrc_init),
30733 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30734 (gst_fakesrc_get_property), (gst_fakesrc_create):
30735 * gst/elements/gstfakesrc.h:
30736 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30737 (gst_filesrc_open_file), (gst_filesrc_loop),
30738 (gst_filesrc_activate), (filesrc_find_peek),
30739 (gst_filesrc_type_find):
30740 Made base source class, make fakesrc extend it.
30741 Add comments to basesink class.
30742 Some filesrc cleanup.
30744 2005-03-31 David Schleef <ds@schleef.org>
30746 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30747 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30748 expected to link against libgstreamer.
30749 * gst/base/Makefile.am: link against libgstreamer
30750 * gst/elements/Makefile.am: same
30752 2005-03-31 Andy Wingo <wingo@pobox.com>
30754 * tests/instantiate/Makefile.am:
30755 * tests/instantiate/caps.c: Add test to test speed of caps copy
30758 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30759 GMemChunk to be fair.
30761 * gst/gsttrashstack.h: Remove warning about using the fallback
30762 trash stack implementation, it's still faster than malloc.
30764 2005-03-30 Andy Wingo <wingo@pobox.com>
30766 * tests/complexity.c: Add a copyright.
30768 2005-03-31 Wim Taymans <wim@fluendo.com>
30770 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30771 (gst_base_transform_class_init), (gst_base_transform_init),
30772 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30773 (gst_base_transform_get_property),
30774 (gst_base_transform_sink_activate),
30775 (gst_base_transform_src_activate),
30776 (gst_base_transform_change_state):
30777 * gst/base/gstbasetransform.h:
30778 * gst/elements/gstidentity.c: (gst_identity_class_init),
30779 (gst_identity_event), (gst_identity_check_perfect),
30780 (gst_identity_transform), (gst_identity_start),
30781 (gst_identity_stop):
30782 Added start/stop methods to transform base class so subclasses
30783 don't need to deal with state changes even.
30785 2005-03-31 Wim Taymans <wim@fluendo.com>
30787 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30788 (gst_event_new_discontinuous), (gst_event_discont_get_value):
30790 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30791 (gst_pad_pull_range):
30792 Added rate to the discont event to prepare for variable speed
30793 and reverse playback.
30795 2005-03-29 David Schleef <ds@schleef.org>
30798 * testsuite/trigger/Makefile.am:
30799 * testsuite/trigger/trigger.c: A little example program to show
30800 how trigger-based elements can work.
30802 2005-03-29 Wim Taymans <wim@fluendo.com>
30804 * gst/base/Makefile.am:
30806 * gst/base/gstbasesink.c: (gst_basesink_get_type),
30807 (gst_basesink_base_init), (gst_basesink_class_init),
30808 (gst_basesink_pad_getcaps), (gst_basesink_init),
30809 (gst_basesink_activate), (gst_basesink_change_state):
30810 * gst/base/gstbasesink.h:
30811 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
30812 (gst_base_transform_base_init), (gst_base_transform_finalize),
30813 (gst_base_transform_class_init), (gst_base_transform_init),
30814 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
30815 (gst_base_transform_event), (gst_base_transform_getrange),
30816 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
30817 (gst_base_transform_set_property),
30818 (gst_base_transform_get_property),
30819 (gst_base_transform_sink_activate),
30820 (gst_base_transform_src_activate),
30821 (gst_base_transform_change_state):
30822 * gst/base/gstbasetransform.h:
30823 * gst/elements/gstidentity.c: (gst_identity_finalize),
30824 (gst_identity_class_init), (gst_identity_init),
30825 (gst_identity_event), (gst_identity_check_perfect),
30826 (gst_identity_transform), (gst_identity_set_property),
30827 (gst_identity_get_property), (gst_identity_change_state):
30828 * gst/elements/gstidentity.h:
30829 * gst/gstelement.c: (gst_element_get_state_func),
30830 (gst_element_lost_state), (gst_element_pads_activate):
30831 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30832 (gst_pad_check_pull_range), (gst_pad_pull_range):
30834 Simplify pad activation.
30835 Added function to check if pull_range can be performed.
30836 Error out when pulling inactive or flushing pads.
30837 Removed const from refcounted types as it does not make sense.
30838 Simplify pad templates in basesink
30839 Added base class for simple 1-to-1 transforms.
30840 Make identity subclass the base transform.
30842 2005-03-29 Andy Wingo <wingo@pobox.com>
30844 * docs/libs/gstreamer-libs-overrides.txt:
30845 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
30846 really don't understand what's going on, but like whatever. I want
30849 * docs/gst/Makefile.am:
30850 * docs/libs/Makefile.am: Dist the overrides files.
30852 * check/Makefile.am (clean-local): Remove .libs directories.
30854 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
30855 elements to EXTRA_DIST, so po/ files are happy.
30857 * po/POTFILES.in: Er, remove it here.
30859 * po/POTFILES: Remove gstspider.c.
30861 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
30863 * docs/libs/gstreamer-libs-docs.sgml:
30864 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
30867 * tests/complexity.c (main): Set the length of the preroll queue
30868 on the sinks to prevent a lockup.
30870 * libs/gst/dataprotocol/Makefile.am:
30871 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
30872 the same as the one in check/gst-libs/gdp.c.
30874 * po/, docs/gst/: Commit automatic changes to docs and po files.
30876 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
30877 the versioned libgstbase.
30879 * check/Makefile.am: Depend on an unversioned gst-register, seems
30880 to make autoconf happier.
30882 * gst/base/Makefile.am: Make libgstbase a versioned lib.
30884 2005-03-28 Wim Taymans <wim@fluendo.com>
30887 * docs/design/part-gstelement.txt:
30888 * docs/design/part-negotiation.txt:
30889 * docs/design/part-preroll.txt:
30890 * docs/design/part-scheduling.txt:
30891 * docs/design/part-states.txt:
30893 * gst/base/Makefile.am:
30895 * gst/base/gstbasesink.c: (gst_basesink_get_template),
30896 (gst_basesink_base_init), (gst_basesink_class_init),
30897 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30898 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30899 (gst_basesink_set_pad_functions),
30900 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
30901 (gst_basesink_set_property), (gst_basesink_get_property),
30902 (gst_base_sink_get_template), (gst_base_sink_get_caps),
30903 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
30904 (gst_basesink_preroll_queue_push),
30905 (gst_basesink_preroll_queue_empty),
30906 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
30907 (gst_basesink_event), (gst_basesink_get_times),
30908 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
30909 (gst_basesink_chain_unlocked), (gst_basesink_chain),
30910 (gst_basesink_loop), (gst_basesink_activate),
30911 (gst_basesink_change_state):
30912 * gst/base/gstbasesink.h:
30913 * gst/elements/Makefile.am:
30914 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
30915 (gst_fakesink_class_init), (gst_fakesink_init),
30916 (gst_fakesink_set_property), (gst_fakesink_get_property),
30917 (gst_fakesink_get_times), (gst_fakesink_event),
30918 (gst_fakesink_preroll), (gst_fakesink_render),
30919 (gst_fakesink_change_state):
30920 * gst/elements/gstfakesink.h:
30921 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30922 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
30923 * gst/gstelement.c: (gst_element_add_pad),
30924 (gst_element_get_state_func), (gst_element_abort_state),
30925 (gst_element_commit_state), (gst_element_lost_state),
30926 (gst_element_set_state), (gst_element_pads_activate):
30927 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
30928 * gst/gstpipeline.c: (gst_pipeline_send_event),
30929 (gst_pipeline_change_state):
30930 Added state change code.
30931 Added/updated docs.
30932 Added sink base class, make fakesink extend the base class.
30933 Small cleanups in GstPipeline.
30935 2005-03-26 David Schleef <ds@schleef.org>
30937 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
30938 is broken and should be implemented in a different library.
30939 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
30940 * gst/gst.h: remove gstcpu.h
30941 * gst/gstcpu.c: remove
30942 * gst/gstcpu.h: remove
30943 * gst/Makefile.am.future: Remove this file. It's ancient.
30945 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30947 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30948 (gst_bin_send_event):
30949 Add default event/set_manager handlers. The set_manager handler
30950 takes care that the manager is distributed over kids that were
30951 already in the bin before the manager was set. The event handler
30952 is a utility virtual function that sends the event over all sinks,
30953 so that gst_element_send_event (bin, event); has the expected
30955 * gst/gstpad.c: (gst_pad_event_default):
30956 Re-install default event handling for discontinuities, so that
30957 seeking works without requiring hacks in applications or extra
30959 * gst/gstpipeline.c: (gst_pipeline_class_init),
30960 (gst_pipeline_send_event):
30961 Half hack, half utility: set a pipeline to PAUSED for seek events,
30962 since that is the only way we can guarantee a/v sync. Means that
30963 you can do gst_element_seek (pipeline, method, pos); on a pipeline
30964 and it "just works".
30966 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30968 * gst/gstpipeline.c: (gst_pipeline_use_clock):
30969 Lock/unlock mismatch.
30971 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
30973 * docs/faq/gst-uninstalled:
30974 add gst-plugins-base
30975 * docs/gst/Makefile.am:
30976 don't error out until docs are fixed
30977 * docs/gst/gstreamer.types:
30980 2005-03-22 Wim Taymans <wim@fluendo.com>
30982 * check/Makefile.am:
30983 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
30984 * gst/gststructure.c: (gst_structure_set_valist),
30985 (gst_structure_copy_conditional):
30986 Activated more tests.
30987 Added message test.
30988 Added G_TYPE_POINTER to GstStructure.
30991 2005-03-22 Wim Taymans <wim@fluendo.com>
30993 * docs/design/part-TODO.txt:
30994 * docs/design/part-events.txt:
30995 * docs/design/part-gstbin.txt:
30996 * docs/design/part-gstbus.txt:
30997 * docs/design/part-gstpipeline.txt:
30998 * docs/design/part-messages.txt:
31000 * gst/gstmessage.c:
31003 2005-03-21 Wim Taymans <wim@fluendo.com>
31005 * gst/gstbus.c: (gst_bus_post):
31006 Fix copy-and-paste error.
31008 2005-03-21 Wim Taymans <wim@fluendo.com>
31010 * check/Makefile.am:
31012 * gst/elements/Makefile.am:
31013 * gst/elements/gstelements.c:
31014 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31015 (gst_fakesink_event), (gst_fakesink_chain):
31016 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31017 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31018 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31019 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31020 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31021 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31022 (gst_fakesrc_loop), (gst_fakesrc_activate),
31023 (gst_fakesrc_change_state):
31024 * gst/elements/gstfakesrc.h:
31025 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31026 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31027 (gst_filesrc_open_file), (gst_filesrc_loop),
31028 (gst_filesrc_activate), (gst_filesrc_change_state),
31029 (filesrc_find_peek), (filesrc_find_suggest),
31030 (gst_filesrc_type_find):
31031 * gst/elements/gstidentity.c: (gst_identity_finalize),
31032 (gst_identity_class_init), (gst_identity_init),
31033 (gst_identity_proxy_getcaps), (identity_queue_push),
31034 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31035 (gst_identity_getrange), (gst_identity_chain),
31036 (gst_identity_sink_loop), (gst_identity_src_loop),
31037 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31038 (gst_identity_set_property), (gst_identity_get_property),
31039 (gst_identity_change_state):
31040 * gst/elements/gstidentity.h:
31041 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31042 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31043 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31044 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31045 (gst_tee_sink_activate):
31046 * gst/elements/gsttee.h:
31047 * gst/gst.c: (gst_register_core_elements), (init_post):
31049 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31050 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31051 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31052 (gst_bin_change_state):
31054 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31055 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31056 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31057 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31058 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31059 (bus_watch_callback), (bus_watch_destroy),
31060 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31061 (poll_timeout), (gst_bus_poll):
31065 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31066 (gst_element_post_message), (gst_element_message_full),
31067 (gst_element_get_state_func), (gst_element_get_state),
31068 (gst_element_abort_state), (gst_element_commit_state),
31069 (gst_element_lost_state), (gst_element_set_state),
31070 (gst_element_pads_activate), (gst_element_change_state),
31071 (gst_element_dispose), (gst_element_set_manager_func),
31072 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31073 (gst_element_set_manager), (gst_element_get_manager),
31074 (gst_element_set_bus), (gst_element_get_bus),
31075 (gst_element_set_scheduler), (gst_element_get_scheduler):
31076 * gst/gstelement.h:
31077 * gst/gstevent.c: (gst_event_new_segment_seek),
31078 (gst_event_new_flush):
31080 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31081 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31082 (gst_message_new_eos), (gst_message_new_error),
31083 (gst_message_new_warning), (gst_message_new_tag),
31084 (gst_message_new_state_changed), (gst_message_new_application),
31085 (gst_message_get_structure), (gst_message_parse_tag),
31086 (gst_message_parse_state_changed), (gst_message_parse_error),
31087 (gst_message_parse_warning):
31088 * gst/gstmessage.h:
31089 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31090 (gst_real_pad_set_property), (gst_pad_set_active),
31091 (gst_pad_is_active), (gst_pad_set_blocked_async),
31092 (gst_pad_set_blocked), (gst_pad_is_blocked),
31093 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31094 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31095 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31096 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31097 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31098 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31099 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31100 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31101 (gst_pad_set_caps), (gst_pad_configure_sink),
31102 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31103 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31104 (gst_real_pad_dispose), (gst_real_pad_finalize),
31105 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31106 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31107 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31109 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31110 (pipeline_bus_handler), (gst_pipeline_change_state),
31111 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31112 * gst/gstpipeline.h:
31114 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31115 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31116 (gst_queue_link_src), (gst_queue_bufferalloc),
31117 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31118 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31119 (gst_queue_loop), (gst_queue_handle_src_event),
31120 (gst_queue_handle_src_query), (gst_queue_src_activate),
31121 (gst_queue_change_state):
31123 * gst/gstscheduler.c: (gst_scheduler_init),
31124 (gst_scheduler_dispose), (gst_scheduler_create_task),
31125 (gst_scheduler_factory_create):
31126 * gst/gstscheduler.h:
31127 * gst/gststructure.c: (gst_structure_get_type),
31128 (gst_structure_copy_conditional):
31129 * gst/gststructure.h:
31130 * gst/gsttaginterface.h:
31131 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31132 (gst_task_init), (gst_task_dispose), (gst_task_create),
31133 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31139 * gst/schedulers/Makefile.am:
31140 * gst/schedulers/cothreads_compat.h:
31141 * gst/schedulers/entryscheduler.c:
31142 * gst/schedulers/faircothreads.c:
31143 * gst/schedulers/faircothreads.h:
31144 * gst/schedulers/fairscheduler.c:
31145 * gst/schedulers/gstbasicscheduler.c:
31146 * gst/schedulers/gstoptimalscheduler.c:
31147 * gst/schedulers/gthread-cothreads.h:
31148 * gst/schedulers/threadscheduler.c:
31149 (gst_thread_scheduler_task_get_type),
31150 (gst_thread_scheduler_task_class_init),
31151 (gst_thread_scheduler_task_init),
31152 (gst_thread_scheduler_task_start),
31153 (gst_thread_scheduler_task_stop),
31154 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31155 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31156 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31157 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31159 * libs/gst/Makefile.am:
31160 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31161 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31162 (gst_file_pad_parent_set):
31163 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31164 (gst_dp_event_from_packet):
31165 * tests/complexity.c: (main):
31166 * tests/mass_elements.c: (main):
31167 * testsuite/states/locked.c: (message_received), (main):
31168 * testsuite/states/parent.c: (main):
31169 * tools/gst-inspect.c: (print_element_flag_info),
31170 (print_implementation_info), (print_pad_info):
31171 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31173 * tools/gst-md5sum.c: (event_loop), (main):
31174 * tools/gst-typefind.c: (main):
31175 * tools/gst-xmlinspect.c: (print_element_info):
31177 Added GstBus for mainloop integration.
31178 Added GstMessage for sending notifications on the bus.
31179 Added GstTask as an abstraction for pipeline entry points.
31181 Removed Schedulers.
31182 Simplified GstQueue for multithreaded core.
31183 Made _link threadsafe, removed old capsnego.
31184 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31185 Added pad blocking functions.
31186 Reworked scheduling functions in GstPad to prepare for
31187 scheduling updates soon.
31188 Moved events out of data stream.
31189 Simplified GstEvent types.
31190 Added return values to push/pull.
31191 Removed clocking from GstElement.
31192 Added prototypes for state change function for next merge.
31193 Removed iterate from bins and state change management.
31194 Fixed some elements, disabled others for now.
31195 Fixed -inspect and -launch.
31196 Added check for GstBus.
31198 2005-03-10 Wim Taymans <wim@fluendo.com>
31200 * docs/design/part-MT-refcounting.txt:
31201 * docs/design/part-clocks.txt:
31202 * docs/design/part-gstelement.txt:
31203 * docs/design/part-gstobject.txt:
31204 * docs/design/part-standards.txt:
31205 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31206 (gst_bin_remove_func), (gst_bin_remove):
31210 * testsuite/clock/clock1.c: (main):
31211 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31213 * testsuite/dlopen/loadgst.c: (do_test):
31214 * testsuite/refcounting/bin.c: (add_remove_test1),
31215 (add_remove_test2), (main):
31216 * testsuite/refcounting/element.c: (main):
31217 * testsuite/refcounting/element_pad.c: (main):
31218 * testsuite/refcounting/pad.c: (main):
31219 * tools/gst-launch.c: (sigint_handler_sighandler):
31220 * tools/gst-typefind.c: (main):
31222 Added doc about clock.
31223 removed gst_bin_iterate_recurse_up(), marked methods
31225 Fix more testsuites.
31227 2005-03-09 Wim Taymans <wim@fluendo.com>
31229 * gst/gstpad.c: (gst_pad_get_direction),
31230 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31231 (gst_pad_collect_valist):
31232 * testsuite/bins/interface.c: (main):
31233 * testsuite/caps/audioscale.c: (test_caps):
31234 * testsuite/caps/caps.c: (test1), (test2), (test3):
31235 * testsuite/caps/deserialize.c: (main):
31236 * testsuite/caps/enumcaps.c: (main):
31237 * testsuite/caps/filtercaps.c: (main):
31238 * testsuite/caps/intersect2.c: (main):
31239 * testsuite/caps/random.c: (main):
31240 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31241 * testsuite/caps/sets.c: (check_caps):
31242 * testsuite/caps/simplify.c: (check_caps), (main):
31243 * testsuite/caps/subtract.c: (check_caps):
31244 Fix _pad_get_direction wrt ghostpads.
31245 Fix caps testsuite.
31247 2005-03-09 Wim Taymans <wim@fluendo.com>
31249 * check/Makefile.am:
31250 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31251 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31252 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31253 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31254 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31255 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31256 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31257 (bin_element_is_sink), (gst_bin_iterate_sinks),
31258 (gst_bin_iterate_all_by_interface):
31260 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31261 (gst_element_change_state), (gst_element_dispose),
31262 (gst_element_finalize), (gst_element_set_loop_function):
31263 * gst/gstelement.h:
31264 * gst/gstiterator.c: (find_custom_fold_func):
31265 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31266 (gst_pad_collectv), (gst_pad_collect_valist),
31267 (gst_pad_template_new):
31268 * gst/gstpipeline.c: (gst_pipeline_class_init),
31269 (gst_pipeline_dispose), (gst_pipeline_set_property),
31270 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31271 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31272 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31274 * gst/schedulers/entryscheduler.c:
31275 * gst/schedulers/gstbasicscheduler.c:
31276 (gst_basic_scheduler_cothreaded_chain),
31277 (gst_basic_scheduler_chain_add_element):
31278 * testsuite/bins/interface.c: (main):
31280 Added GstSystemClock test.
31281 Implemented clock distribution code in GstBin.
31282 Implemented iterate sinks method for future use.
31283 Rearranged gstelement.h
31284 Fix GstIterator comparison bug.
31285 Moved some code to GstPipeline, mostly clocking related.
31287 2005-03-09 Wim Taymans <wim@fluendo.com>
31290 * gst/gst_private.h:
31291 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31292 (gst_bin_remove_func), (gst_bin_remove),
31293 (gst_bin_get_by_name_recurse_up):
31294 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31295 (gst_clock_id_compare_func), (gst_clock_id_wait),
31296 (gst_clock_id_wait_async), (gst_clock_init),
31297 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31298 * gst/gstelement.h:
31299 * gst/gstinfo.c: (_gst_debug_init):
31301 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31302 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31304 Bump version number, we're now 0.9.0
31305 Add future debugging category.
31306 Fix NULL _unref() in _get_by_name_recurse_up
31307 Rearrange gstpad.h.
31310 2005-03-08 Wim Taymans <wim@fluendo.com>
31312 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31313 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31314 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31315 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31316 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31317 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31318 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31319 * gst/elements/gstidentity.c: (gst_identity_class_init):
31320 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31321 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31322 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31323 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31324 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31326 * gst/gstelement.c: (gst_element_class_init),
31327 (gst_element_base_class_init), (gst_element_init),
31328 (gst_element_get_random_pad), (gst_element_wait_state_change),
31329 (gst_element_change_state), (gst_element_dispose),
31330 (gst_element_finalize), (gst_element_set_loop_function):
31331 * gst/gstelement.h:
31332 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31333 * gst/gstthread.c: (gst_thread_class_init),
31334 (gst_thread_release_children_locks), (gst_thread_change_state):
31335 * gst/schedulers/gstbasicscheduler.c:
31336 (gst_basic_scheduler_loopfunc_wrapper),
31337 (gst_basic_scheduler_chain_wrapper),
31338 (gst_basic_scheduler_src_wrapper),
31339 (gst_basic_scheduler_remove_element):
31340 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31341 Remove threadsafe properties. Fix elements because GObject
31342 complains when installing a property before declaring a
31343 set/get_property handler.
31344 Rearrange gstelement.h file, use STATE macros for state locks.
31345 Free mutexes in the finalize method instead of dispose.
31347 2005-03-08 Wim Taymans <wim@fluendo.com>
31349 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31350 * gst/gstthread.c: (gst_thread_release_children_locks):
31351 Added parentage check.
31352 Fix build og GstThread again.
31354 2005-03-08 Wim Taymans <wim@fluendo.com>
31356 * docs/design/part-MT-refcounting.txt:
31357 * docs/design/part-conventions.txt:
31358 * docs/design/part-gstobject.txt:
31359 * docs/design/part-relations.txt:
31360 * docs/design/part-standards.txt:
31361 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31362 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31363 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31364 (gst_bin_iterate_all_by_interface):
31367 * gst/gstelement.c: (gst_element_class_init),
31368 (gst_element_change_state), (gst_element_set_loop_function):
31369 * gst/gstelement.h:
31370 * gst/gstiterator.c:
31371 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31372 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31373 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31374 (gst_object_set_parent), (gst_object_unparent),
31375 (gst_object_check_uniqueness):
31377 Docs updates, clean up some headers.
31379 2005-03-07 Wim Taymans <wim@fluendo.com>
31381 * check/.cvsignore:
31382 * check/Makefile.am:
31383 * check/gst-libs/.cvsignore:
31384 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31385 * check/gst/.cvsignore:
31386 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31387 (START_TEST), (gstbus_suite), (main):
31388 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31389 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31390 (gst_data_suite), (main):
31391 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31392 (add_fold_func), (gstiterator_suite), (main):
31393 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31394 (thread_name_object), (thread_name_object_default),
31395 (gst_object_name_compare), (gst_object_suite), (main):
31396 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31397 (gst_pad_suite), (main):
31398 * check/gstcheck.c: (gst_check_log_message_func),
31399 (gst_check_log_critical_func), (gst_check_init):
31400 * check/gstcheck.h:
31401 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31402 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31405 2005-03-07 Wim Taymans <wim@fluendo.com>
31407 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31408 (gst_list_iterator_next), (gst_list_iterator_resync),
31409 (gst_list_iterator_free), (gst_iterator_new_list),
31410 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31411 (gst_iterator_free), (gst_iterator_push), (filter_next),
31412 (filter_resync), (filter_uninit), (filter_free),
31413 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31414 (gst_iterator_foreach), (find_custom_fold_func),
31415 (gst_iterator_find_custom):
31416 * gst/gstiterator.h:
31417 Added missing files.
31419 2005-03-07 Wim Taymans <wim@fluendo.com>
31423 * docs/design/part-MT-refcounting.txt:
31424 * docs/design/part-conventions.txt:
31425 * docs/design/part-gstobject.txt:
31426 * docs/design/part-relations.txt:
31427 * examples/mixer/mixer.c: (main):
31428 * examples/thread/thread.c: (eos), (main):
31430 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31431 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31432 (gst_spider_plug_from_srcpad):
31433 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31434 (gst_spider_identity_change_state),
31435 (gst_spider_identity_sink_loop_type_finding):
31436 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31437 * gst/elements/gstidentity.c: (gst_identity_init):
31438 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31439 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31440 * gst/elements/gsttypefindelement.c: (free_entry):
31443 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31444 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31445 (gst_bin_set_index), (gst_bin_set_element_sched),
31446 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31447 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31448 (gst_bin_iterate_elements), (iterate_child_recurse),
31449 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31450 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31451 (compare_interface), (gst_bin_get_by_interface),
31452 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31454 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31455 (gst_buffer_default_free), (gst_buffer_default_copy),
31456 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31457 (gst_buffer_create_sub):
31459 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31460 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31461 (gst_caps_unref), (gst_static_caps_get),
31462 (gst_caps_remove_and_get_structure), (gst_caps_append),
31463 (gst_caps_append_structure), (gst_caps_remove_structure),
31464 (gst_caps_copy_nth), (gst_caps_set_simple),
31465 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31466 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31467 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31468 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31469 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31470 (gst_caps_structure_figure_out_union),
31471 (gst_caps_switch_structures), (gst_caps_do_simplify),
31472 (gst_caps_replace), (gst_caps_from_string),
31473 (gst_caps_copy_conditional):
31475 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31476 (_gst_clock_id_free), (gst_clock_id_unref),
31477 (gst_clock_id_compare_func), (gst_clock_id_wait),
31478 (gst_clock_id_wait_async), (gst_clock_class_init),
31479 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31480 (gst_clock_get_time), (gst_clock_set_time_adjust),
31481 (gst_clock_set_property), (gst_clock_get_property):
31484 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31485 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31487 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31488 (gst_element_requires_clock), (gst_element_provides_clock),
31489 (gst_element_set_clock), (gst_element_clock_wait),
31490 (gst_element_wait), (gst_element_set_time_delay),
31491 (gst_element_is_indexable), (gst_element_add_pad),
31492 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31493 (pad_compare_name), (gst_element_get_static_pad),
31494 (gst_element_request_pad), (gst_element_get_request_pad),
31495 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31496 (gst_element_class_get_pad_template_list),
31497 (gst_element_class_get_pad_template), (gst_element_error_func),
31498 (gst_element_get_random_pad), (gst_element_get_event_masks),
31499 (gst_element_send_event), (gst_element_seek),
31500 (gst_element_get_query_types), (gst_element_query),
31501 (gst_element_get_formats), (gst_element_convert),
31502 (gst_element_is_locked_state), (gst_element_set_locked_state),
31503 (gst_element_sync_state_with_parent), (gst_element_change_state),
31504 (gst_element_finalize), (gst_element_yield),
31505 (gst_element_interrupt), (gst_element_set_scheduler),
31506 (gst_element_get_scheduler), (gst_element_set_loop_function):
31507 * gst/gstelement.h:
31509 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31510 (gst_format_get_by_nick), (gst_format_get_details),
31511 (gst_format_iterate_definitions):
31513 * gst/gstindex.c: (gst_index_gtype_resolver):
31516 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31517 (gst_mem_chunk_free):
31518 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31519 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31520 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31521 (gst_object_dispatch_properties_changed),
31522 (gst_object_set_name_default), (gst_object_set_name),
31523 (gst_object_get_name), (gst_object_set_name_prefix),
31524 (gst_object_get_name_prefix), (gst_object_set_parent),
31525 (gst_object_get_parent), (gst_object_unparent),
31526 (gst_object_check_uniqueness), (gst_object_save_thyself),
31527 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31528 (gst_object_set_property), (gst_object_get_property),
31529 (gst_object_get_path_string):
31531 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31532 (gst_real_pad_init), (gst_real_pad_get_property),
31533 (gst_pad_custom_new), (gst_pad_get_direction),
31534 (gst_pad_set_active), (gst_pad_is_active),
31535 (gst_pad_set_event_function), (gst_pad_is_linked),
31536 (gst_pad_link_free), (gst_pad_link_intersect),
31537 (gst_pad_link_fixate), (gst_pad_set_caps),
31538 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31539 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31540 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31541 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31542 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31543 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31544 (gst_pad_realize), (gst_pad_get_allowed_caps),
31545 (gst_real_pad_dispose), (gst_real_pad_finalize),
31546 (gst_pad_collectv), (gst_pad_collect_valist),
31547 (gst_pad_template_dispose), (gst_pad_template_new),
31548 (gst_pad_get_internal_links):
31550 * gst/gstpipeline.c: (gst_pipeline_dispose),
31551 (gst_pipeline_change_state):
31552 * gst/gstpipeline.h:
31554 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31555 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31556 * gst/gstpluginfeature.h:
31557 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31558 * gst/gstquery.c: (_gst_query_type_initialize),
31559 (gst_query_type_register), (gst_query_type_get_by_nick),
31560 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31562 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31563 * gst/gstscheduler.c: (gst_scheduler_add_element),
31564 (gst_scheduler_factory_create):
31565 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31566 (gst_structure_free), (gst_structure_set_name),
31567 (gst_structure_id_set_value), (gst_structure_set_value),
31568 (gst_structure_set_valist), (gst_structure_remove_field),
31569 (gst_structure_remove_fields),
31570 (gst_structure_remove_fields_valist),
31571 (gst_structure_remove_all_fields), (gst_structure_foreach),
31572 (gst_structure_map_in_place),
31573 (gst_caps_structure_fixate_field_nearest_int),
31574 (gst_caps_structure_fixate_field_nearest_double):
31575 * gst/gststructure.h:
31576 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31577 (gst_system_clock_init), (gst_system_clock_dispose),
31578 (gst_system_clock_async_thread),
31579 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31580 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31581 * gst/gstsystemclock.h:
31582 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31583 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31584 * gst/gsttaginterface.c:
31585 * gst/gstthread.c: (gst_thread_dispose),
31586 (gst_thread_release_children_locks), (gst_thread_change_state),
31587 (gst_thread_main_loop):
31588 * gst/gsttrashstack.h:
31589 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31591 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31592 (gst_element_request_pad), (gst_element_get_pad_from_template),
31593 (gst_element_request_compatible_pad),
31594 (gst_element_get_compatible_pad_filtered),
31595 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31596 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31597 (gst_element_link_many), (gst_element_link),
31598 (gst_element_link_pads), (gst_element_unlink_pads),
31599 (gst_element_unlink_many), (gst_element_unlink),
31600 (gst_pad_can_link_filtered), (gst_pad_can_link),
31601 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31602 (gst_object_default_error), (gst_bin_add_many),
31603 (gst_bin_remove_many), (gst_element_populate_std_props),
31604 (gst_element_class_install_std_props), (gst_buffer_merge),
31605 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31606 (link_fold_func), (gst_pad_proxy_setcaps):
31608 * gst/gstvalue.c: (gst_value_deserialize_string):
31609 * gst/parse/grammar.y:
31610 * gst/schedulers/gstbasicscheduler.c:
31611 (gst_basic_scheduler_cothreaded_chain),
31612 (gst_basic_scheduler_chain_recursive_add),
31613 (gst_basic_scheduler_pad_link):
31614 * gst/schedulers/gstoptimalscheduler.c:
31615 (get_group_schedule_function),
31616 (gst_opt_scheduler_state_transition),
31617 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31618 * libs/gst/bytestream/bytestream.c:
31619 * libs/gst/dataprotocol/dataprotocol.c:
31620 (gst_dp_header_from_buffer):
31623 * tests/threadstate/threadstate2.c: (eos):
31624 * tools/gst-compprep.c: (main):
31625 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31626 (print_pad_info), (print_children_info):
31627 * tools/gst-launch.c: (idle_func), (main):
31628 * tools/gst-md5sum.c: (idle_func), (main):
31629 * tools/gst-xmlinspect.c: (print_element_info):
31630 First THREADED backport attempt, focusing on adding locks and
31631 making sure the API is threadsafe. Needs more work. More docs
31634 2005-02-24 Andy Wingo <wingo@pobox.com>
31636 * tests/bench-complexity.scm:
31637 * tests/complexity.gnuplot: New files, good for running complexity
31640 * tests/Makefile.am:
31641 * tests/complexity.c: New test, sets up N elements, at each level
31642 teeing into M streams per element. Eeeenteresting.
31644 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31645 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31646 running bench-mass_elements.scm.
31648 * tests/bench-mass_elements.scm: New script, runs mass_elements
31649 for various numbers of identities, outputting the results to a
31650 file. Requires guile 1.6. Just for testing.
31652 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31654 * gst/schedulers/fairscheduler.c:
31655 compile with debug disabled
31657 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31660 hunting season on 0.9 is now OPEN