1 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
3 * gst/gstbin.c: (gst_bin_handle_message_func):
4 Get the seqnum before we dispose the message.
6 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
8 * docs/design/part-TODO.txt:
9 Refer to the framestepping document.
11 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
13 * gst/gstbin.c: (bin_handle_async_start),
14 (gst_bin_handle_message_func), (gst_bin_query):
15 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
16 (gst_base_sink_event), (gst_base_sink_change_state):
17 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
18 (gst_base_src_loop), (gst_base_src_change_state):
19 Copy seqnums from events to messages so that they can all be related
22 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
24 * tools/gst-launch.c: (event_loop):
25 Print the message seqnums.
27 2008-11-04 Andy Wingo <wingo@pobox.com>
29 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
31 2008-11-04 Andy Wingo <wingo@pobox.com>
33 Add sequence numbers to events and messages. See #559250.
35 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
39 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
40 events with a new sequence number, and copy it when copying.
41 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
42 an event's sequence number.
45 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
46 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
49 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
51 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
53 * docs/manual/advanced-position.xml:
54 * docs/manual/basics-bins.xml:
55 * docs/manual/basics-bus.xml:
56 * docs/manual/basics-pads.xml:
57 * docs/manual/intro-gstreamer.xml:
58 * docs/manual/intro-preface.xml:
59 Some Application Development Manual fixes thanks to
60 Andrew Feren. Fixes #558459.
62 2008-11-03 Stefan Kost <ensonic@users.sf.net>
64 * gst/gstregistrybinary.c:
65 Don't bother with the GTimer if we don't output the results.
67 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
69 Patch by: David Schleef <ds@schleef.org>
71 * libs/gst/net/Makefile.am:
72 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
74 2008-10-31 Stefan Kost <ensonic@users.sf.net>
76 * gst/gstregistrybinary.c:
77 Oh my, studip, stupid me. Remove double stat() call.
79 2008-10-31 Stefan Kost <ensonic@users.sf.net>
82 Use g_unlink instead of unlink.
93 Formatting & whitespaces.
95 2008-10-31 Stefan Kost <ensonic@users.sf.net>
97 * plugins/elements/gstidentity.c:
98 Doc typo. Use return value of parent_class->event.
100 * plugins/elements/gsttypefindelement.c:
101 Chain up at the end for consistency.
103 2008-10-30 Stefan Kost <ensonic@users.sf.net>
106 * docs/gst/gstreamer-docs.sgml:
107 * docs/gst/gstreamer-sections.txt:
108 * docs/gst/running.xml:
109 * docs/libs/gstreamer-libs-docs.sgml:
110 Change to xinclude based build - its faster and easier to maintain.
112 2008-10-30 Stefan Kost <ensonic@users.sf.net>
114 * gst/gstregistrybinary.c:
115 * gst/gstregistryxml.c:
116 Use g_unlink() as none of these are directories.
118 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
120 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
123 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
125 * libs/gst/base/gstbasetransform.c:
126 (gst_base_transform_find_transform), (gst_base_transform_getrange):
127 If we have a fixate function, call it even if we already have fixed caps
128 because the subclass might add some caps. Makes audioconvert add a
129 default channel layout.
131 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
133 * libs/gst/base/gstbasetransform.c:
134 (gst_base_transform_prepare_output_buffer),
135 (gst_base_transform_getrange):
136 Clear the output buffer variable.
137 Cleanups to the error path in the getrange function.
140 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
142 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
143 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
144 Use gst_buffer_try_new_and_alloc() and handle errors instead of
145 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
148 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
150 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
151 Set the last_stop to a more meaningful position when configuring the
152 segment. ie. the start/stop of the segment or clipped against the
153 updated segment boundaries.
155 * tests/check/gst/gstsegment.c: (GST_START_TEST):
156 Add some unit tests for the last_stop.
158 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
160 * libs/gst/base/gstbytereader.c:
161 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
164 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
166 * docs/gst/gstreamer-sections.txt:
168 API: Move float endianness conversion macros from libgstfloatcast
169 to core as it's useful in general, even in core. Fixes bug #555196.
170 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
171 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
172 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
174 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
175 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
176 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
177 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
179 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
181 * docs/libs/gstreamer-libs-sections.txt:
182 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
183 (gst_byte_reader_peek_data):
184 * libs/gst/base/gstbytereader.h:
185 * win32/common/libgstbase.def:
186 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
187 to get a pointer to the data at the current position and have
190 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
193 Fix a bug in the output of the configure script summary
194 when --gst-disable-registry is supplied
196 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
198 * libs/gst/base/gstbitreader.c:
199 * libs/gst/base/gstbytereader.c:
200 Fix the names of 2 functions in the docs strings.
202 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
204 * libs/gst/base/gstbasetransform.c:
205 (gst_base_transform_prepare_output_buffer),
206 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
207 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
208 refcount problems as seen in banshee and maybe also in farsight2.
209 Remove atomic int now that we need to take the lock anyways.
211 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
213 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
214 (gst_base_sink_default_prepare_seek_segment),
215 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
216 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
217 (gst_base_sink_query):
218 Implement more seeking in pull mode.
219 Use pad convert functions to convert position to the requested format.
220 Fix position/duration reporting in pull mode.
221 Implement position and duration reporting in other formats than time.
223 * libs/gst/base/gstbasesink.h:
224 Add member to keep track of when the segment is playing.
226 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
228 * gst/gstpad.c: (gst_pad_configure_src):
229 When we use gst_pad_alloc_buffer() without wanting to set the caps we
230 also don't need to check if the caps are compatible because the caller
231 presumably is going to perform its own custom checks. Fixes some cases
232 where basetransform elements would error out when it was not needed.
234 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
236 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
239 * libs/gst/base/gstbasetransform.c:
240 (gst_base_transform_handle_buffer),
241 (gst_base_transform_reconfigure):
244 * win32/common/libgstbase.def:
247 2008-10-19 Stefan Kost <ensonic@users.sf.net>
249 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
250 Remove duplicated assignment and log a message in failure case.
252 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
254 Patch by: Dig Ge <dig.ge.cn at gmail com>
256 * tests/examples/helloworld/helloworld.c: (main):
257 Fix copy'n'paste bug in hello world example (#556900).
259 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
261 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
262 (gst_base_sink_query):
263 Query the total number of bytes when activating the pad in pull mode.
264 Implement duration query in pull mode by using the installed pad convert
265 function to convert from bytes to the requested format.
267 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
269 * docs/libs/gstreamer-libs-sections.txt:
270 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
271 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
272 (gst_base_sink_event), (gst_base_sink_perform_seek),
273 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
274 (gst_base_sink_send_event), (gst_base_sink_change_state):
275 * libs/gst/base/gstbasesink.h:
276 Add method to commit the state in subclasses.
277 Refactor the flush_start and flush_stop code because we need it for
278 flushing while seeking too.
279 Implement the beginnings of seeking in pull mode.
280 Use the segment last_stop field for the pulling offset.
281 Fix the pause method in pull mode.
282 Configure the segment to BYTES for pull mode.
283 API: GstBaseSink::gst_base_sink_do_preroll()
285 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
287 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
290 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
292 * gst/gstquark.c: (_priv_gst_quarks_initialize):
293 Fix printf format warning.
295 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
297 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
298 Fix flow aggregation of tee. Error out immediately for all flow returns
299 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
300 and return OK if at least one pad is linked.
302 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
303 and otherwise returned the flow return of the last pad, which is wrong.
305 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
306 (GST_START_TEST), (tee_suite):
307 Add unit tests for the flow aggregation.
309 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
311 * docs/design/part-TODO.txt:
312 Remove item from the todo list because it was fixed with the latency
313 state change rewrites.
315 * docs/design/part-seeking.txt:
316 * docs/design/part-segments.txt:
319 * gst/gstevent.c: (gst_event_new_new_segment_full),
320 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
321 (gst_event_parse_buffer_size), (gst_event_new_qos),
322 (gst_event_parse_qos), (gst_event_new_seek),
323 (gst_event_parse_seek), (gst_event_new_latency),
324 (gst_event_parse_latency):
325 Use quarks to construct and parse events.
327 * gst/gstquark.c: (_priv_gst_quarks_initialize):
329 Add some more quarks to the table.
330 Emit a warning when the quark tables are not in sync.
332 * tests/check/gst/gstbus.c: (GST_START_TEST):
335 2008-10-13 Stefan Kost <ensonic@users.sf.net>
337 * plugins/elements/Makefile.am:
338 * plugins/indexers/Makefile.am:
339 Don't install static libs for plugins. Fixes #550851 for core.
341 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
343 * gst/gstbus.c: (gst_bus_source_finalize),
344 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
345 (gst_bus_enable_sync_message_emission),
346 (gst_bus_disable_sync_message_emission),
347 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
348 Fix deadlock, g_source_get_id() cannot be called in finalize.
349 Keep track of the watch source by keeping a pointer to the source object
351 Use the bus lock to protect access to the pointer to the current
354 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
356 Base on Patch by: Olivier Crete <tester at tester dot ca>
358 * gst/gstbus.c: (gst_bus_source_finalize),
359 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
360 Only allow one bus watch to be set at a time. This is necessary
361 because the dispatcher pops the message from the bus and the second
362 watcher will then get NULL or the next message (and the first won't
363 get this next message then, etc). If more than one "watcher" is
364 required signal watches should be used. Fixes bug #526044.
366 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
368 * tools/gst-launch.c:
369 Change the printing of the 'buffering...' output to avoid putting
370 a \r in a translateable string (flagged by the TP).
372 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
375 Clarify that the save_thyself() and restore_thyself() virtual
376 functions of GstObject need to be overriden, not
377 gst_object_(save|restore)_thyself() which is impossible.
380 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
382 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
383 Revert a patch from 21 months ago that broke caps negotiation in pull
384 mode. Basically, having a buffer pass over a pad will trigger the
385 setcaps function when caps change, just like in push mode.
387 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
389 * docs/design/part-negotiation.txt:
390 Update the docs some more.
392 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
393 If we pull a buffer with non-trivial caps, suggest those caps with the
396 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
398 * docs/design/part-TODO.txt:
399 Add another limitation of pad-blocking with segment seeks not pushing
402 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
404 * win32/common/libgstbase.def:
405 * win32/common/libgstreamer.def:
406 Add new symbols to the win32 defs files
408 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
410 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
411 (gst_bin_handle_message_func):
412 The message src can be NULL, don't try to print the object names in that
415 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
416 Add some more debug info.
418 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
421 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
424 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
426 * docs/design/part-negotiation.txt:
429 * docs/libs/gstreamer-libs-sections.txt:
430 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
431 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
432 (gst_base_sink_init), (gst_base_sink_set_blocksize),
433 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
434 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
435 (gst_base_sink_loop), (gst_base_sink_pad_activate),
436 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
437 (gst_base_sink_change_state):
438 * libs/gst/base/gstbasesink.h:
439 Add blocksize property and methods to control the amount of data
441 Negotiate first before activating upstream in pull mode so that they can
442 negotiate themselves.
443 When we operate in pull mode, we only accept the caps that we
445 Make the sink go ASYNC to PAUSED, like all other sinks.
446 API: GstBaseSink::gst_base_sink_set_blocksize()
447 API: GstBaseSink::gst_base_sink_get_blocksize()
448 API: GstBaseSink::blocksize
450 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
451 (gst_base_src_set_live), (gst_base_src_is_live),
452 (gst_base_src_set_format), (gst_base_src_query_latency),
453 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
454 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
455 (gst_base_src_set_property), (gst_base_src_get_property):
456 * libs/gst/base/gstbasesrc.h:
457 Add typechecking in public API functions.
458 Add methods to control the blocksize in subclasses.
459 API: GstBaseSrc::gst_base_src_set_blocksize()
460 API: GstBaseSrc::gst_base_src_get_blocksize()
462 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
464 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
465 (buffer_probe), (event_probe), (GST_START_TEST):
466 We now see 3 events go through our pad, since basesink now sends
467 upstream latency events.
469 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
471 * gst/gstpipeline.c: (gst_pipeline_change_state):
472 Release the object lock before trying to flush the bus.
474 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
476 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
477 Forward LATENCY events upstreams so that elements know about the total
478 pipeline latency. Fixes #555307.
480 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
482 * plugins/elements/gstqueue.c:
483 Allow through queries when we don't know how
484 to adjust them (not TIME or BYTES), as otherwise it's
485 not possible to query the current position in order
486 to seek in other formats at all.
488 2008-10-08 Andy Wingo <wingo@pobox.com>
490 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
492 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
496 Unbreak -good build, private is a reserved c++ keyword.
498 2008-10-08 Andy Wingo <wingo@pobox.com>
500 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
501 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
502 removal: re-add GST_GHOST_PAD_CAST to the header.
504 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
505 (GstGhostPadClass): Publically expose these structures so as to
506 allow easy subclassing from C. Hide the member data behind a
507 private opaque data pointer.
509 * gst/gstghostpad.c: Adapt to store instance data in the type
510 instance's private data region, not in the public struct.
512 2008-10-08 Andy Wingo <wingo@pobox.com>
514 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
515 template via g_object_get(), be sure to unref it.
517 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
519 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
521 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
522 If we can't get a cache file don't try to save something to it.
523 Dereferencing NULL pointers usually isn't a good idea.
525 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
527 * tests/check/Makefile.am:
528 * tests/check/gst/gstabi.c:
529 * tests/check/gst/struct_sparc.h:
530 * tests/check/libs/libsabi.c:
531 * tests/check/libs/struct_sparc.h:
534 * tests/check/gst/gstvalue.c: (GST_START_TEST):
535 Cast signed integer to unsigned to avoid a compiler warning.
537 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
539 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
540 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
541 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
542 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
543 (gst_byte_reader_peek_int24_be):
544 Use new GST_READ_UINT24_(LE|BE) macros.
546 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
548 * docs/gst/gstreamer-sections.txt:
550 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
551 as it's too easy to break the ISO C strict aliasing rules with simple
552 casts to the corresponding type and this would introduce hard to debug
553 bugs. Fixes bug #545714.
555 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
557 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
559 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
560 * gst/gstghostpad.c: (gst_ghost_pad_construct):
561 Add 'Since' bits to gtk-doc chunks for new API.
563 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
565 * docs/gst/gstreamer-sections.txt:
568 2008-10-06 Andy Wingo <wingo@pobox.com>
570 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
571 that will be called on the malloc_data to free it. Basically a way
572 to avoid subclassing when all you need is a different free
573 function, i.e. free() instead of g_free().
575 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
576 calling the free function.
577 (gst_buffer_init): Initialize the free function to g_free.
579 2008-10-06 Andy Wingo <wingo@pobox.com>
582 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
583 finishes the initialization of ghost pad. Useful for language
584 bindings and subclassers of GstGhostPad. Fixes #539108.
585 (gst_ghost_pad_new_full): Use the new constructor.
587 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
589 Base on Patch by: Olivier Crete <tester at tester dot ca>
591 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
592 (gst_bin_remove_func), (update_degree),
593 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
594 Keep track of pads that are being linked/unlinked and resync the state
597 * gst/gstpad.c: (gst_pad_get_direction),
598 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
599 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
600 (gst_pad_link_prepare), (gst_pad_link),
601 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
602 (gst_pad_check_pull_range), (gst_pad_get_range),
603 (gst_pad_pull_range):
604 Some code cleanups, use macros to check pad direction.
605 Don't need to take the lock on the pad direction.
606 Post structure change when pads are linked/unlinked.
607 Change some checks into _return_if_fail().
609 * tests/check/gst/gstbin.c:
610 (test_link_structure_change_state_changed_sync_cb),
611 (GST_START_TEST), (gst_bin_suite):
612 Add testcase for pad link/unlinke resync during a state change.
615 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
617 * docs/gst/gstreamer-sections.txt:
618 * gst/gstmessage.c: (gst_message_new_structure_change),
619 (gst_message_parse_structure_change):
621 Implement STRUCTURE_CHANGED messages. These messages will be used to
622 signal the parent bin of link/unlink operations that could require a
623 resync when doing a state change. See ##510354.
624 API: gst_message_new_structure_change()
625 API: gst_message_parse_structure_change()
627 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
631 Add some more quarks for new message. See #510354.
633 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
635 * docs/libs/gstreamer-libs-docs.sgml:
636 * docs/libs/gstreamer-libs-sections.txt:
637 * libs/gst/base/Makefile.am:
638 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
639 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
640 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
641 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
642 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
643 (gst_bit_reader_skip_to_byte):
644 * libs/gst/base/gstbitreader.h:
645 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
646 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
647 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
648 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
649 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
650 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
651 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
652 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
653 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
654 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
655 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
656 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
657 * libs/gst/base/gstbytereader.h:
658 * tests/check/Makefile.am:
659 * tests/check/libs/bitreader.c: (GST_START_TEST),
660 (gst_bit_reader_suite):
661 * tests/check/libs/bytereader.c: (GST_START_TEST),
662 (gst_byte_reader_suite):
663 API: Add bit reader and byte reader classes, including documentation
664 and an extensive unit test suite. Fixes bug #553554.
666 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
668 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
669 (gst_base_sink_query):
670 Improve position reporting while flushing and other intermediate state
671 changes. Fixes #553874.
673 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
675 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
677 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
678 Original patch by : Simon Descaries
679 Fix small refount leak in caps compatibility check.
682 2008-10-06 Stefan Kost <ensonic@users.sf.net>
684 * docs/pwg/advanced-request.xml:
685 Fix 0.8 api usage in example. Fixes #554561
687 * docs/pwg/appendix-porting.xml:
688 Change 0.9 to 0.10 here.
690 2008-10-06 Stefan Kost <ensonic@users.sf.net>
692 * docs/manual/basics-data.xml:
693 Change "event-event interaction" to "element-element interaction".
694 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
697 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
700 Back to development -> 0.10.21.1
702 === release 0.10.21 ===
704 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
707 releasing 0.10.21, "Take These Things From Me"
709 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
712 0.10.20.4 pre-release
714 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
716 * libs/gst/base/gstbasetransform.c:
717 * plugins/elements/gstcapsfilter.c:
718 * tests/check/Makefile.am:
719 * tests/check/elements/.cvsignore:
720 * tests/check/elements/capsfilter.c:
721 Fix assertion in basetransform when the subclass chooses not to
722 allocate a buffer in prepare_buffer(), and make capsfilter error out
723 cleanly if requested to apply caps that don't completely specify the
724 buffer. Fixes #551509
726 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
728 * libs/gst/base/gstbasetransform.c:
729 (gst_base_transform_prepare_output_buffer):
730 Take new caps ref because our old one might have been gone when the
731 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
733 2008-09-15 Stefan Kost <ensonic@users.sf.net>
736 Do not probe availability of check unit test library when cross
737 compiling, as test would not work anyway. Also cleanup verbose output
738 of the check test. Fixes #551952.
740 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
742 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
744 * gst/gstelement.c: (gst_element_sync_state_with_parent):
745 Avoid leaking the parent ref when we fail changing the state of the
746 element using gst_element_sync_state_with_parent(). Fixes #551978.
748 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
750 * docs/manual/intro-motivation.xml::
751 Remove some bits that no longer apply, update others (#551642).
753 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
756 0.10.20.2 pre-release
764 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
766 * win32/common/config.h.in:
767 Add GST_DATADIR, hard-code cpu to x86.
769 * win32/common/libgstreamer.def:
772 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
775 Fix Since: markers for new geo tags.
777 2008-09-02 Stefan Kost <ensonic@users.sf.net>
780 Fix actual tag name define after renaming from altitude to elevation.
782 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
784 * gst/gstpad.c: (add_unref_pad_to_list),
785 (gst_pad_get_internal_links_default):
786 Add fallback when calling the deprecated function on an element that
787 implements the new internal_link handler.
789 2008-09-01 Stefan Kost <ensonic@users.sf.net>
791 * docs/gst/gstreamer-sections.txt:
794 Add new tags for geo location and clarify purpose of existing location
797 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
799 Patch by: Olivier Crete <tester at tester dot ca>
801 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
802 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
803 Use thread-safe internal links iterator. Fixes #549504.
805 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
807 Based on patch by: Olivier Crete <tester at tester dot ca>
809 * docs/gst/gstreamer-sections.txt:
810 * win32/common/libgstreamer.def:
811 * gst/gstpad.c: (gst_pad_init),
812 (gst_pad_set_iterate_internal_links_function),
813 (int_link_iter_data_free), (iterate_pad),
814 (gst_pad_iterate_internal_links_default),
815 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
817 Add threadsafe replacement functions for getting internal links of an
818 element. Deprecate the old internal links functions.
819 API:GstPad::gst_pad_set_iterate_internal_links_function()
820 API:GstPad::GstPadIterIntLinkFunction
821 API:GstPad::gst_pad_iterate_internal_links()
822 API:GstPad::gst_pad_iterate_internal_links_default()
824 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
825 (gst_proxy_pad_init):
826 Implement threadsafe internal links.
828 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
829 Unit test for internal links on tee. See #549504.
831 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
833 * tests/check/Makefile.am:
834 libs/transform1 test requires libs/test_transform.c
836 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
838 * gst/gstpad.c: (gst_pad_get_internal_links_default):
839 Die evil deadlock, die !
841 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
843 * gst/gstutils.c: (gst_element_get_compatible_pad):
844 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
845 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
846 Fix all leaks due to the bug in gst_pad_template_new() by which it does
847 not steal the refcount of the given caps as stated.
849 REVERT THIS COMMIT ONCE FIXED !
850 REVERT THIS COMMIT ONCE FIXED !
851 REVERT THIS COMMIT ONCE FIXED !
852 REVERT THIS COMMIT ONCE FIXED !
853 REVERT THIS COMMIT ONCE FIXED !
854 REVERT THIS COMMIT ONCE FIXED !
856 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
860 After 3 years it's about time to revise the documentation of the
863 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
865 * gst/gstpad.c: (gst_pad_get_internal_links_default):
866 Make the internal links function less thread-unsafe and add some
869 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
872 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
873 build with --disable-gst-debug.
875 2008-08-28 David Schleef <ds@schleef.org>
877 * gst/gstpadtemplate.c: Revert last change, since it breaks
878 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
879 but shouldn't be enabled until we've released fixed versions
880 of -good and -ffmpeg.
882 2008-08-28 Stefan Kost <ensonic@users.sf.net>
885 Put the gst_object_get_name() back in.
887 2008-08-28 Stefan Kost <ensonic@users.sf.net>
889 * gst/gstpadtemplate.c:
890 The old behaviour was that gst_pad_template_new() takes ownership of
891 the caps. As we now call g_object_new() which calls g_object_set() and
892 which copies the caps, we have to unref them to not leak them. Fixes
895 2008-08-28 Stefan Kost <ensonic@users.sf.net>
898 Don't segfault on input like "tel:+1-123-555-1234".
900 2008-08-27 Stefan Kost <ensonic@users.sf.net>
903 Due to popular request also include ObjectType in
904 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
906 2008-08-26 David Schleef <ds@schleef.org>
908 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
909 src_val must be positive, because that's not a requirement.
910 This causes problems with converting negative granulepos
912 * gst/gstquery.c: Same, gst_query_new_convert().
914 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
916 * gst/gstclock.c: (gst_clock_add_observation):
917 Add some more debugging to the clock slaving code.
919 * win32/common/libgstbase.def:
920 Add new basetransform method.
922 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
924 * gst/gstbin.c: (gst_bin_element_set_state):
925 Take the (recursive) state lock between getting the locked state of an
926 element and changing the element state. This allows the application to
927 lock an element's state and then change its state without races.
929 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
931 * gst/gstbin.c: (gst_bin_element_set_state):
932 When an element is in the locked state we still want to update the
933 base_time of the element.
935 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
937 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
938 Use the result from gst_pad_set_caps() instead of assuming the element
939 always accepted the caps computed by the default negotiate function.
941 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
943 * docs/libs/gstreamer-libs-sections.txt:
944 * libs/gst/base/gstbasetransform.c:
945 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
946 (gst_base_transform_chain), (gst_base_transform_suggest),
947 (gst_base_transform_reconfigure):
948 * libs/gst/base/gstbasetransform.h:
949 Implement method for reconfiguring basetransform.
950 API: GstBaseTransform::gst_base_transform_reconfigure()
952 2008-08-20 Stefan Kost <ensonic@users.sf.net>
954 patch by: Murray Cumming <murrayc@murrayc.com>
957 Mention that this is just like gst_buffer_merge() but with extra
958 unreffing for C coders. Advise language bindings not to wrap it.
961 Also fix file comment.
963 2008-08-20 Stefan Kost <ensonic@users.sf.net>
965 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
967 * plugins/elements/gstfakesink.c:
968 * plugins/elements/gstfakesrc.c:
969 Call super::event() when not handling it. Fixes #544855.
971 2008-08-19 Michael Smith <msmith@songbirdnest.com>
973 Patch by: Alessandro Decina <alessandro@nnva.org>
974 * plugins/elements/gstfilesrc.c:
975 Use 64 bit variants of stat functions on win32, to enable support
976 of large files there.
979 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
981 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
982 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
983 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
984 (gst_base_sink_get_position), (gst_base_sink_change_state):
985 Improve position reporting in the flushing state.
986 Also report the position when we are not yet prerolled but we
987 have a newsegment event. Fixes #543444.
988 Improve the pull-based negotiation code.
990 * tests/check/elements/fakesink.c: (GST_START_TEST),
992 Add testcase for position reporting while flushing in PAUSED and
995 * tests/check/generic/sinks.c: (GST_START_TEST):
996 Update unit-test, we can now query the position as soon as we receive a
999 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1001 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1003 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1004 When the subclass event handler releases the PREROLL_LOCK, we could be
1005 in the flushing state and we have to ignore the event. Fixes #548394.
1007 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1009 * tools/gst-launch.1.in:
1010 Document GST_REGISTRY_UPDATE environment variable.
1012 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1014 * libs/gst/base/gstbasetransform.c:
1015 (gst_base_transform_prepare_output_buffer):
1016 If the element is configured in passthrough mode but the
1017 prepare_output_buffer gave us a new output buffer, discard that buffer
1018 and reuse the input buffer.
1020 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1022 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1024 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1025 (gst_tee_request_new_pad), (gst_tee_release_pad),
1026 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1027 * plugins/elements/gsttee.h:
1028 Protect pad_alloc with a new lock so that we can be sure that nothing is
1029 performing a pad_alloc when removing the pad. Fixes #547835.
1031 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1032 (buffer_alloc_harness_teardown), (app_thread_func),
1033 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1034 Added testcase for shutdown race.
1036 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1041 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1043 * libs/gst/base/gstbasetransform.c:
1044 (gst_base_transform_prepare_output_buffer),
1045 (gst_base_transform_buffer_alloc):
1046 Go over the buffer_alloc function again and make sure we always end up
1047 allocating a buffer.
1049 Avoid doing pad alloc when we have a pending suggestion because we
1050 cannot yet deal with changing caps in that case. Fixes #547728
1052 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1054 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1056 * docs/manual/advanced-clocks.xml:
1057 * docs/manual/clocks.png:
1058 * docs/manual/diagrams-clocks.svg:
1059 Add one more image showing different times together with a describing
1060 paragraph. Fixes #547729.
1062 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1064 * win32/common/libgstbase.def:
1067 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1069 * libs/gst/base/gstbasetransform.c:
1070 (gst_base_transform_transform_caps),
1071 (gst_base_transform_prepare_output_buffer),
1072 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1073 Don't overwrite the outsize when calculating the expected size of a new
1074 buffer because we still need it in case we cannot process the new
1076 When converting the size of the new buffer to an upstream size, actually
1077 use the expected size of the buffer, not some other random value.
1078 Use an atomic int to signal that a new upstream caps suggestion is
1080 When we can convert the current buffer to a new format, check if the
1081 buffer size is of the expected size and allocate a new buffer of the
1082 expected size when this is not the case. Fixes #546883.
1084 * tests/check/libs/transform1.c: (GST_START_TEST):
1085 remove ifdeffed code from the unit test.
1087 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1089 * pkgconfig/gstreamer-uninstalled.pc.in:
1090 * pkgconfig/gstreamer.pc.in:
1091 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1092 called gstcontroller-0.10.
1094 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1096 * gst/gstchildproxy.h:
1098 Remove double interface from doc-string.
1100 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1102 * libs/gst/base/gstbasesrc.c:
1103 * libs/gst/base/gstbasetransform.c:
1104 Fix headings in docs and gtk-doc warnings.
1106 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1108 * gst/gstregistrybinary.c:
1109 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1113 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1115 * libs/gst/base/gstbasetransform.c:
1116 (gst_base_transform_buffer_alloc):
1117 Fix a "may be used unitialized" warning.
1119 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1121 * docs/gst/gstreamer-sections.txt:
1123 Document preset-iface vmethods.
1125 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1127 * docs/manual/advanced-interfaces.xml:
1128 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1129 only used to discover devices.
1131 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1133 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1135 * gst/gst.c: (init_pre):
1136 Make sure gettext returns translations in UTF-8 encoding rather
1137 than in the current locale encoding (#546822).
1139 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1141 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1144 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1145 Improve unit test subset tests and add a testcase for the subset failure
1148 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1149 Improve subtraction unit test.
1151 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1153 * plugins/elements/gsttee.c:
1154 Unlock, instead of locking again.
1156 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1159 Clarify the docs a bit more.
1161 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1163 * tests/examples/metadata/read-metadata.c:
1164 Don't leak old taglist.
1166 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1168 Patch by: Olivier Crete <tester at tester dot ca>
1170 * gst/gststructure.c:
1171 (gst_structure_fixate_field_nearest_fraction):
1172 Avoid overflows in fixation code when dealing with MAXINT values, which
1173 v4l2src seems to do.
1176 * tests/check/gst/gststructure.c: (GST_START_TEST):
1177 Make a unit test to check the fix.
1179 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1181 * plugins/elements/gstcapsfilter.c: (copy_func),
1182 (gst_capsfilter_set_property):
1183 Use new caps suggestion feature of basetransform to request a caps
1184 negotiation upstream.
1186 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1188 * docs/libs/gstreamer-libs-sections.txt:
1190 API: GstBaseTransform::gst_base_transform_suggest()
1192 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1193 (gst_base_transform_init), (gst_base_transform_transform_caps),
1194 (gst_base_transform_transform_size),
1195 (gst_base_transform_configure_caps),
1196 (gst_base_transform_can_transform),
1197 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1198 (gst_base_transform_prepare_output_buffer),
1199 (gst_base_transform_buffer_alloc),
1200 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1201 (gst_base_transform_chain), (gst_base_transform_activate),
1202 (gst_base_transform_set_passthrough),
1203 (gst_base_transform_is_passthrough),
1204 (gst_base_transform_set_in_place),
1205 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1206 (gst_base_transform_set_qos_enabled),
1207 (gst_base_transform_is_qos_enabled),
1208 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1209 (gst_base_transform_reconfigure):
1210 * libs/gst/base/gstbasetransform.h:
1211 Rewrite of basetransform to perform negotiation outside of the
1212 buffer_alloc functions. Fixes #545853.
1214 * tests/check/libs/transform1.c: (GST_START_TEST),
1218 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1220 * tests/check/gst/gstpreset.c:
1221 Only run preset tests when $HOME is writable. Preliminary fix for
1224 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1226 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1227 (gst_bin_change_state_func), (bin_handle_async_done),
1228 (gst_bin_handle_message_func):
1229 Fix race for bins that simulate ASYNC state changes by inserting
1230 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1231 pending ASYNC messages even when the bin does not have ASYNC children.
1232 We note detect this behaviour because we will receive an ASYNC message
1233 that is originating from the bin itself.
1234 Fixes races with decodebin2 state changes.
1236 * tests/check/gst/gstbin.c: (GST_START_TEST):
1237 Add some more debug.
1239 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1241 * gst/gsttaglist.c: (_gst_tag_initialize):
1244 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1247 Argh. actually save the text before committing. Now adds
1248 gst_tag_merge_strings_with_comma() to gst_tag_register().
1250 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1254 Do as tim pointed out and actually register the new tag. Also improve
1255 te docs and use gst_tag_merge_strings_with_comma() method to allow
1256 retriving all keywords merged in one list.
1258 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1261 * docs/gst/gstreamer.types:
1262 Revert 'accidential' change of the configure option removal. We still
1263 need to generate the types file in configure --disable-load-save.
1265 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1267 * docs/gst/gstreamer-sections.txt:
1269 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1271 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1273 * gst/gstpadtemplate.c:
1274 (gst_pad_template_class_init), (gst_static_pad_template_get),
1275 (gst_pad_template_new), (gst_pad_template_pad_created),
1276 (gst_pad_template_set_property), (gst_pad_template_get_property):
1277 Add "name-template", "direction", "presence" and "caps" properties,
1278 so that gst_pad_template_new() is just a thin wrapper around
1279 g_object_new(), which is better for bindings. (Fixes: #539772)
1281 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1284 Be more liberal in what URIs we accept.
1285 Do not unescape bits of the URI for no apparent reason before passing to
1286 the element. Fixes #545352.
1288 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1290 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1293 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1295 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1298 * docs/gst/gstreamer-sections.txt:
1299 * docs/gst/gstreamer.types:
1300 * docs/gst/gstreamer.types.in:
1303 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1304 * gst/gstconfig.h.in:
1305 * gst/gstelement.c: (gst_element_get_index):
1306 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1307 (gst_registry_binary_load_feature),
1308 (gst_registry_binary_read_cache):
1309 * gst/gstregistryxml.c: (load_feature),
1310 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1311 * plugins/Makefile.am:
1313 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1314 (print_plugin_features), (print_element_features):
1315 * tools/gst-xmlinspect.c: (print_event_masks),
1316 (print_element_info):
1317 * win32/common/gstconfig.h:
1318 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1320 Disabling the indexers and URI handler code will only reduce the
1321 required amount of memory by a very small amount but on the other hand
1322 requires much more maintaince work. Apart from that many places of
1323 code are broken when disabling them.
1325 Disabling the enum types doesn't reduce the required amount of memory
1326 by more than a few bytes and makes it hard to fix bugs like #539772,
1327 i.e. use the enums as GObject properties.
1329 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1331 * docs/design/part-TODO.txt:
1332 Add some thoughts and problems with upstream renegotiation.
1334 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1336 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1337 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1338 Remove silly redundant debug.
1339 Add some more debug info.
1340 Clarify the docs regarding new caps received from pad_alloc.
1342 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1344 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1345 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1346 Make setting the caps more threadsafe.
1348 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1350 * docs/design/part-element-transform.txt:
1353 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1355 * plugins/elements/gstqueue.c: (gst_queue_init),
1356 (gst_queue_acceptcaps):
1357 Add and use a custom acceptcaps function instead of falling back to the
1358 potentially less optimized default implementation.
1360 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1362 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1363 Only sanity-check the buffer size if requested_caps == buffer_caps
1364 (ie. don't take pad caps into account, they're not relevant here)
1366 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1368 * plugins/elements/gsttee.c:
1369 * plugins/elements/gsttee.h:
1370 Reverting as not everything is clear yet. Needs some general design
1373 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1376 ChangeLog surgery for tee commit.
1378 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1380 * docs/gst/gstreamer-sections.txt:
1381 Cleanup section-file.
1383 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1385 * plugins/elements/gsttee.c:
1386 * plugins/elements/gsttee.h:
1387 Relay tag events in tee. Fixes parts of #474016.
1388 Downgrades 3 reoccurring debugs to log.
1390 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1393 * libs/gst/Makefile.am:
1394 Build the net library if we have winsock2.
1396 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1398 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1400 * docs/manual/advanced-threads.xml:
1401 * docs/manual/diagrams-pipelines.svg:
1402 * docs/manual/hello-world.png:
1403 * docs/manual/linked-elements.png:
1404 * docs/manual/mime-world.png:
1405 * docs/manual/queue.png:
1406 * docs/manual/thread-buffering.png:
1407 * docs/manual/thread-synchronizing.png:
1408 Replace one diagram with two separate ones and updates others.
1411 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1414 Fix link in documentation.
1416 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1419 Fix confusing documentation.
1421 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1423 * libs/gst/base/gstbasesrc.h:
1424 revert the changes to the header file for the ABI.
1426 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1428 * libs/gst/base/gstbasesrc.c:
1429 * libs/gst/base/gstbasesrc.h:
1430 Don't cache the seekable status.
1433 2008-07-24 Rene Stadler <mail@renestadler.de>
1435 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1436 code to close the pipeline graph. This prevents the program from
1437 printing internal data flow errors.
1439 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1441 * docs/manual/basics-bus.xml:
1442 Correct typo. Fixes bug #544320.
1444 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1447 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1448 Add check (taken from -base) for winsock, adds WIN32_LIBS
1450 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1452 Define GST_EXPORTS when building libgstreamer (only used on win32)
1453 * gst/gst_private.h:
1455 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1456 for symbols that we need to export in both these files.
1458 Include gst_private.h higher up to avoid some compile problems on win32.
1460 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1465 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1468 Previous commit was wrong NULL caps does not exist
1469 and indicate an error, so also add a FIXME to
1470 gst_caps_is_equal where NULL caps are accepted.
1472 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1475 Allow passing of NULL to gst_caps_union
1477 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1479 * gst/gstghostpad.c:
1480 Add in doc that gst_ghost_pad_set_target can accept
1481 NULL to clear target
1483 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1486 * gst/gstregistry.c:
1487 GstRegistryPool doesn't exist; don't refer to it in docs.
1488 Don't refer to functions that don't exist in docs, it's
1491 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1494 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1496 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1498 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1500 * docs/pwg/building-testapp.xml:
1501 Don't use an undeclared variable in the example program.
1504 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1506 * gst/gstdebugutils.c:
1507 Squeeze ghost-pad links and remove <> from classname labels to save
1508 more horizontal space.
1510 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1512 * gst/gstdebugutils.c:
1513 Give request and sometimes pads a different shpe style. Condense the
1514 graphs a little more.
1516 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1519 Don't require flex and bison if the parser is disabled.
1521 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1523 * libs/gst/controller/gstinterpolationcontrolsource.c:
1524 (_list_find_sorted_custom):
1525 Don't use declarations after statements.
1527 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1529 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1530 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1531 of the the child-added / -removed signals as GstChildProxy
1532 only supports GstObjects.
1534 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1536 * gst/gstdebugutils.c:
1539 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1541 Patch by: Alessandro Decina <alessandro at nnva dot org>
1544 Fix "ignored return value" compiler warning with newer glibc.
1546 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1548 * gst/gstchildproxy.c:
1549 Fix copy&paste error in gst_child_proxy_removed() documentation.
1551 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1553 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1554 Print error debug message if plugin description fields that should
1557 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1558 Don't crash if the string to serialise is NULL (it really should
1559 not be, but apparently this used to work with the xml registry ...).
1561 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1563 * tools/gst-plot-timeline.py:
1564 Fix parsing of log messages
1566 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1568 * win32/common/libgstbase.def::
1569 Sort alphabetically so make check-exports doesn't barf.
1571 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1574 Use gst_format_get_name() to improve debug output.
1577 Remove #ifdef'ed code. Add TODO comment.
1580 Add debug output to ease spotting format != segment.format assertions.
1582 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1584 * tests/check/libs/gdp.c: (gst_dp_suite):
1585 Also enable the GDP unit test again on PPC now that the bug
1588 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1590 * libs/gst/dataprotocol/dataprotocol.c:
1591 Don't write to the same region of memory as a uint64 and uint16
1592 as this breaks strict aliasing rules and apparantly breaks on PPC
1593 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1595 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1597 * libs/gst/controller/gstinterpolationcontrolsource.c:
1598 Optimize list handling. Use own find function. Exploit that fact that
1599 the list is sorted. Also pass back the node before, so that we can
1600 insert quickly. Have a fast path for append.
1602 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1604 * docs/design/draft-framestep.txt:
1605 * docs/design/part-negotiation.txt:
1608 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1611 Show configuration sumary after configure run. Based on patch by
1612 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1614 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1616 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1618 * docs/manual/advanced-autoplugging.xml:
1619 * docs/manual/advanced-threads.xml:
1620 * docs/manual/basics-bins.xml:
1621 * docs/manual/basics-elements.xml:
1622 * docs/manual/basics-helloworld.xml:
1623 * docs/manual/basics-pads.xml:
1624 Add scale factor for pdf output.
1626 * docs/manual/intro-basics.xml:
1627 Switched sections "pads" and "bins" and added a pipeline diagram.
1629 * docs/manual/intro-gstreamer.xml:
1630 Added more info on gstreamer.
1632 * docs/manual/intro-motivation.xml:
1633 Commented out the whole section "current problem", which sounds
1634 historical and somehow osolete; it could be turned in a positive
1635 way and reused to improve the design principles.
1637 * docs/manual/intro-preface.xml:
1638 - Update URLs to library.gnome.org.
1639 - Do not mention GTK+ in preliminary reading (irrelevant).
1640 - Mention Plugin Writer's Manual and further reading only in the
1642 - Added a list of most relevant GObject/glib topics.
1644 * docs/manual/Makefile.am:
1645 * docs/manual/bin-element-ghost.fig:
1646 * docs/manual/bin-element-ghost.png:
1647 * docs/manual/bin-element-noghost.fig:
1648 * docs/manual/bin-element-noghost.png:
1649 * docs/manual/bin-element.fig:
1650 * docs/manual/bin-element.png:
1651 * docs/manual/filter-element-multi.fig:
1652 * docs/manual/filter-element-multi.png:
1653 * docs/manual/filter-element.fig:
1654 * docs/manual/filter-element.png:
1655 * docs/manual/gstreamer-overview.png:
1656 * docs/manual/hello-world.fig:
1657 * docs/manual/hello-world.png:
1658 * docs/manual/linked-elements.fig:
1659 * docs/manual/linked-elements.png:
1660 * docs/manual/mime-world.fig:
1661 * docs/manual/mime-world.png:
1662 * docs/manual/queue.fig:
1663 * docs/manual/queue.png:
1664 * docs/manual/simple-player.png:
1665 * docs/manual/sink-element.fig:
1666 * docs/manual/sink-element.png:
1667 * docs/manual/src-element.fig:
1668 * docs/manual/src-element.png:
1669 * docs/manual/diagrams-general.svg:
1670 * docs/manual/diagrams-pipelines.svg:
1671 Removed .fig, added .png counterpart.
1675 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1677 * plugins/elements/gstmultiqueue.c:
1678 * plugins/elements/gstmultiqueue.h:
1679 revert extra-size-buffers stuff, caused some race conditions
1680 and extra-size-buffers is not used anymore. Docs needs some updates
1682 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1684 * win32/common/config.h:
1685 * win32/common/gstenumtypes.c:
1686 * win32/common/gstenumtypes.h:
1687 * win32/common/gstversion.h:
1690 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1692 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1693 (GST_DEBUG_BIN_TO_DOT_FILE):
1694 Add missing Since' markers to gtk-doc blurbs.
1696 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1698 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1699 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1700 (set_caps_1), (set_caps_ct1), (transform_ct1),
1701 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1702 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1703 (transform_size_ct2), (buffer_alloc_ct2):
1704 Add some more tests with switching caps in buffer_alloc.
1706 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1708 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1709 (gst_test_trans_class_init), (result_sink_chain),
1710 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1711 (gst_test_trans_push), (gst_test_trans_pop):
1712 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1713 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1714 (set_caps_1), (set_caps_ct1), (transform_ct1),
1715 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1716 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1717 (transform_size_ct2), (buffer_alloc_ct2),
1718 (gst_basetransform_suite):
1719 More tests, prepare for tests with switching caps in buffer_alloc.
1721 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1723 * plugins/elements/gstmultiqueue.c:
1724 * plugins/elements/gstmultiqueue.h:
1725 Fix dead-lock in underrun_cb
1727 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1729 * docs/design/part-states.txt:
1730 Fix device open/close docs.
1732 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1735 Mention bugnumber for last commit.
1737 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1739 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1741 * docs/manual/manual.xml:
1742 - Reorganised the previous "introduction" bundle into Foreword,
1743 Introduction, and About GStreamer. The two first are <preface>
1744 docbook elements. The later is the first part of the book.
1745 - added intro-gstreamer.xml (content partially from
1747 - moved appendix-win32.xml into appendix-integration.xml
1749 * docs/manual/intro-preface.xml: gstreamer section moved...
1750 * docs/manual/intro-gstreamer.xml: ...here. new file.
1752 * docs/manual/appendix-win32.xml: removed file. Content moved...
1753 * docs/manual/appendix-integration.xml: ...here.
1755 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1756 * docs/manual/appendix-checklist.xml: ...here.
1760 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1762 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1764 * docs/manual/basics-helloworld.xml:
1765 * docs/manual/hello-world.fig:
1766 - Explicitely include glib.h.
1767 - Do not use global variables.
1768 - Use g_printerr() instead of g_print().
1769 - Minor formating/renaming to increase readibility.
1770 - Renamed new_pad() to on_pad_added()
1771 - Improved explenatory comments.
1772 - renamed ogg parser to ogg demuxer
1773 - Use "autoaudiosink" instead of "alsasink".
1776 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1779 Remove cvs conflict marker.
1781 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1784 Document that for plgin-docs we extraxt he short-desc from the element
1787 * docs/design/part-states.txt:
1788 Tell that devices should be closed in PAUSED -> READY.
1790 * docs/manual/README:
1791 Document how tests in the manual are handled.
1796 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1798 * gst/gstbin.c: (bin_query_latency_fold):
1799 Only care about latency min and max when the sink is actually a live
1802 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1804 * docs/design/part-block.txt:
1807 * docs/design/part-element-transform.txt:
1808 Add notes about why transform needs to know input/output sizes.
1809 Add some issues that need to be solved.
1810 Add some more use cases.
1812 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1813 (gst_test_trans_class_init), (result_sink_chain),
1814 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1815 (gst_test_trans_push), (gst_test_trans_pop):
1816 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1817 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1818 (set_caps_1), (set_caps_ct1), (transform_ct1),
1819 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1820 (gst_basetransform_suite):
1821 Add suport for different pad templates and buffer-alloc.
1822 Add more checks for caps and buffer-alloc.
1823 Add checks for proxy buffer alloc.
1824 Add unit test for copy transform.
1826 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1828 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
1830 * docs/manual/appendix-integration.xml:
1831 * docs/manual/appendix-licensing.xml:
1832 * docs/manual/basics-elements.xml:
1833 * docs/manual/basics-helloworld.xml:
1834 * docs/manual/basics-pads.xml:
1835 * docs/manual/highlevel-components.xml:
1836 * docs/manual/highlevel-xml.xml:
1837 * docs/manual/intro-basics.xml:
1838 * docs/manual/intro-preface.xml:
1839 Typo and formatting fixes (#538594).
1841 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1843 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1844 Fix some memory leaks and uses of object instances that we don't
1847 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1849 * plugins/elements/gstmultiqueue.c:
1850 Add functionality to extra-size-buffers property.
1852 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1854 * plugins/elements/gstmultiqueue.c:
1855 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1856 activate the pads if they are added in STATE_NULL.
1858 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1860 * docs/libs/gstreamer-libs-sections.txt:
1862 * libs/gst/check/gstcheck.c:
1863 * libs/gst/check/gstcheck.h:
1864 API: gst_check_teardown_pad_by_name
1866 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1868 * libs/gst/check/gstcheck.c:
1869 * libs/gst/check/gstcheck.h:
1870 Also setup request pads and allow setup pads by name (#537812)
1871 API: gst_check_setup_src_pad_by_name
1872 API: gst_check_setup_sink_pad_by_name
1874 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1876 * tests/check/gst/gstbuffer.c:
1877 * tests/check/pipelines/parse-launch.c:
1878 Use HAVE_VALGRIND_H some more.
1880 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1882 * scripts/cvs-update.sh:
1883 Pass arguments to make.
1884 Run autoregen.sh if Makefile is not there.
1886 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1890 Don't assume that <valgrind/valgrind.h> exists just because
1891 the binary is there.
1893 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1895 * tests/check/Makefile.am:
1896 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1897 (gst_test_trans_class_init), (gst_test_trans_init),
1898 (gst_test_trans_set_data), (result_sink_chain),
1899 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1900 (gst_test_trans_pop):
1901 * tests/check/libs/transform1.c: (GST_START_TEST),
1902 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1903 Add some test basetransform element and the beginnings of various
1906 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1908 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1909 Increase code readability.
1910 Don't try to compare buffer offsets when ther are invalid.
1912 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1914 * docs/design/Makefile.am:
1915 Dist some more design docs.
1917 * docs/random/moving-plugins:
1918 Small addition: good plugins mustn't have functional code
1919 within assertion macros.
1921 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1923 * docs/design/draft-framestep.txt:
1924 Some ideas about a framestep API
1926 * docs/design/part-element-transform.txt:
1927 Start design and use cases for basetransform in order to get it
1930 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1933 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
1934 be in UTF-8 encoding.
1936 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1939 Make it known that gst_bus_poll() is pure evil (fixes #538810).
1941 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1943 * plugins/elements/gstcapsfilter.c:
1944 * plugins/elements/gstfakesink.c:
1945 * plugins/elements/gstfakesrc.c:
1946 * plugins/elements/gstfdsink.c:
1947 * plugins/elements/gstfdsrc.c:
1948 * plugins/elements/gstfilesink.c:
1949 * plugins/elements/gstfilesrc.c:
1950 * plugins/elements/gstidentity.c:
1951 * plugins/elements/gstmultiqueue.c:
1952 * plugins/elements/gstqueue.c:
1953 * plugins/elements/gsttee.c:
1954 * plugins/elements/gsttypefindelement.c:
1955 Remove short_description. Add basic docs for gsttypefindelement.
1956 Simplify markup for fakesrc/fdsrc.
1958 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1960 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1963 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1965 Patch by: Joel Larsson <tilljoel at gmail dot com>
1967 * docs/plugins/gstreamer-plugins.args:
1968 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
1969 (gst_fd_src_init), (gst_fd_src_update_fd),
1970 (gst_fd_src_set_property), (gst_fd_src_get_property),
1971 (gst_fd_src_create):
1972 * plugins/elements/gstfdsrc.h:
1973 Add timeout property like udpsrc. Fixes #538628.
1974 Add some more docs and example pipelines.
1976 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1978 * docs/libs/gstreamer-libs-sections.txt:
1979 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1980 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
1981 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
1982 (gst_base_sink_do_sync):
1983 * libs/gst/base/gstbasesink.h:
1984 * win32/common/libgstbase.def:
1985 Add method to allow sinks to specify additional delay between the sync
1986 times and the actual rendering of the data.
1987 API: gst_base_sink_set_render_delay()
1988 API: gst_base_sink_get_render_delay()
1990 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
1993 Bump version number back to dev -> 0.10.20.1
1995 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
1997 * docs/gst/gstreamer-sections.txt:
1998 * gst/gsttaglist.c: (_gst_tag_initialize):
2000 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2003 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2005 * libs/gst/controller/gstcontroller.c:
2006 Revert one change, that make ret value possible uninitialized.
2008 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2010 * libs/gst/controller/gstcontroller.c:
2011 Use freeze/thaw notify to sync notify emission a bit (its also more
2012 efficient). Move debug output to LOG (is called a lot in a loop).
2013 Always unset g_values if the have been initialized.
2015 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2017 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2018 (gst_base_sink_wait_eos), (gst_base_sink_event):
2019 If we have not seen a buffer before EOS, use the segment values to
2020 report the current position instead of invalid positions.
2022 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2024 * docs/plugins/tmpl/.cvsignore:
2025 * tests/check/gst/.cvsignore:
2028 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2030 * libs/gst/controller/gstinterpolation.c:
2031 * libs/gst/controller/gstinterpolationcontrolsource.c:
2032 * tests/check/libs/controller.c:
2033 Rewrite handling of default values. Fix overflow with unsigned types
2034 in linear interpolation. Remove now obsolete _first_value() function.
2035 Add more tests. Fixes #538201.
2037 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2039 * libs/gst/base/gstbasetransform.c:
2040 (gst_base_transform_class_init), (gst_base_transform_init),
2041 (gst_base_transform_transform_caps),
2042 (gst_base_transform_prepare_output_buffer):
2044 When a buffer is writable, its metadata is also writable so we don't
2045 need to subbuffer (which then makes the buffer not-writable anymore).
2047 === release 0.10.20 ===
2049 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2052 releasing 0.10.20, "You Crazy Diamond"
2054 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2057 0.10.19.3 pre-release
2059 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2063 Rename DATADIR to GST_DATADIR to avoid build problems
2064 on win32. Patch By: David Schleef <ds@schleef.org>
2067 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2070 Explicitely link with -ldl if dladdr() is found there. Before it was
2071 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2072 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2074 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2076 * gst/gsterror.c: (_gst_stream_errors_init):
2077 Fix typo (spotted by Fabricio Godoy, #536723).
2079 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2082 0.10.19.2 pre-release
2084 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2086 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2087 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2089 Make sure we don't generate invalid QoS messages.
2091 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2093 * gst/gstevent.c: (gst_event_new_qos):
2094 Add some assert and docs for invalid input to the qos function.
2096 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2098 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2099 (gst_base_sink_get_position):
2100 The reported position must always be smaller than the last seen
2101 timestamps (or timestamp + duration for reverse).
2103 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2105 Patch by: Rob Bradford <rob at robster dot org dot uk>
2107 * gst/gstregistry.c: (gst_registry_scan_path_level):
2108 Don't recurse into .debug directories as some distros install
2109 the debugging symbols next to the plugins in .debug directories
2110 and dlopen() crashes on them sometimes. Fixes bug #508070.
2112 Add FIXME for 0.11 to not recurse into directories at all because
2113 it's very inconsistent to the behaviour of other PATH environment
2116 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2118 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2119 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2120 Fix position query range checks in reverse playback.
2122 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2126 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2127 clear of the reference to the resulting pad must be released later
2128 or not, resulting in possible leaks. Fixes bug #533865.
2130 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2132 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2134 * gst/gstelementfactory.c:
2135 Small doc fix. Fixes #535285.
2137 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2139 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2141 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2142 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2143 (gst_base_src_loop), (gst_base_src_set_flushing),
2144 (gst_base_src_change_state):
2145 Make sending an EOS event to the basesrc non-blocking even if the
2146 implementation does blocking waits in the create function. This is done
2147 by unlocking the create function when EOS is sent.
2150 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2152 * tools/gst-inspect.c: (print_element_properties_info):
2153 If possible print the element type of GValueArray properties.
2155 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2157 * gst/gstiterator.c:
2158 Remove an unused field from the private GstListIterator struct.
2160 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2162 * libs/gst/controller/gstcontroller.c:
2163 Add parameter guards.
2165 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2167 * tests/check/gst/gstpipeline.c:
2168 Revert test change and add comment why it should not work.
2170 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2172 * tests/check/gst/gstpipeline.c:
2173 Extending the test a little to verify that we also get the NULL state-
2176 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2178 * gst/gstpreset.c: (gst_preset_default_get_meta),
2179 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2180 (gst_preset_load_preset), (gst_preset_save_preset),
2181 (gst_preset_rename_preset), (gst_preset_delete_preset),
2182 (gst_preset_set_meta):
2183 Add Since: markers to docs blurbs.
2185 * win32/common/libgstreamer.def:
2186 Add recently-added API.
2188 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2190 Patch by: Stefan Kost <ensonic@users.sf.net>
2193 Add DATADIR for storing presets.
2195 * docs/gst/gstreamer-docs.sgml:
2196 * docs/gst/gstreamer-sections.txt:
2197 * docs/gst/gstreamer.types.in:
2198 Add GstPreset to docs.
2202 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2203 (preset_open_and_parse_header), (preset_parse_version),
2204 (preset_merge), (preset_get_keyfile),
2205 (gst_preset_default_get_preset_names),
2206 (gst_preset_default_get_property_names),
2207 (gst_preset_default_load_preset),
2208 (gst_preset_default_save_presets_file),
2209 (gst_preset_default_save_preset),
2210 (gst_preset_default_rename_preset),
2211 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2212 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2213 (gst_preset_default_reset), (gst_preset_get_preset_names),
2214 (gst_preset_get_property_names), (gst_preset_load_preset),
2215 (gst_preset_save_preset), (gst_preset_rename_preset),
2216 (gst_preset_delete_preset), (gst_preset_set_meta),
2217 (gst_preset_get_meta), (gst_preset_class_init),
2218 (gst_preset_base_init), (gst_preset_get_type):
2220 Add GstPreset to core. Fixes #396779
2222 * tests/check/Makefile.am:
2223 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2224 (gst_preset_test_set_property), (gst_preset_test_class_init),
2225 (gst_preset_test_base_init), (gst_preset_test_get_type),
2226 (gst_preset_test_plugin_init), (GST_START_TEST),
2227 (remove_preset_file), (test_setup), (test_teardown),
2229 Add GstPreset unit tests.
2231 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2233 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2234 The default event function on a sinkpad should return TRUE when
2235 there are no internal links but should collect the return values from
2236 the internal links otherwise.
2238 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2240 * plugins/elements/gsttypefindelement.c:
2241 (gst_type_find_element_src_event),
2242 (gst_type_find_element_handle_event):
2243 Use faster and safer _pad_push_event().
2245 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2247 * docs/gst/gstreamer-sections.txt:
2248 * gst/gstutils.c: (element_find_unlinked_pad),
2249 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2251 API: add gst_bin_find_unlinked_pad()
2252 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2254 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2260 Fixed a bunch of typos.
2262 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2265 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2266 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2267 (gst_parse_bin_from_description_full):
2269 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2271 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2273 * docs/pwg/advanced-tagging.xml:
2274 Small docs update, can't be bothered to rewrite the nonsensical
2277 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2280 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2282 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2284 * gst/parse/grammar.y:
2285 Remove unneeded casts.
2287 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2289 * gst/parse/grammar.y:
2290 * tests/check/pipelines/parse-launch.c:
2291 Get all missing elements from a parse launch string if possible
2292 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2294 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2296 * tests/check/Makefile.am:
2297 * tests/check/pipelines/parse-launch.c:
2298 Add some unit tests for the new gst_parse_launch*_full() API.
2299 (Exposes a previously-existing memory leak in the error code
2300 path, so adding to VALGRIND_TO_FIX for now).
2302 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2304 * docs/gst/gstreamer-sections.txt:
2305 * gst/gst.c: (init_post):
2306 * gst/gst_private.h: (_GstParseContext):
2307 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2308 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2309 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2310 (gst_parse_launch_full):
2311 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2312 (GstParseFlags), (GstParseContext):
2313 * gst/gstutils.c: (gst_parse_bin_from_description),
2314 (gst_parse_bin_from_description_full):
2316 * gst/parse/grammar.y:
2317 * gst/parse/types.h:
2318 * win32/common/libgstreamer.def:
2319 Add new gst_parse_*_full API (#528178):
2320 API: gst_parse_launch_full()
2321 API: gst_parse_launchv_full()
2322 API: gst_parse_bin_from_description_full()
2323 API: gst_parse_context_new()
2324 API: gst_parse_context_free()
2325 API: gst_parse_context_get_missing_elements()
2327 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2329 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2331 * docs/faq/gst-uninstalled:
2332 Also support ffmpeg in gst-uninstalled.
2334 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2337 After discussion on IRC use the binary registry as default
2338 but allow to disable it with --disable-binary-registry.
2340 * win32/common/libgstreamer.def:
2341 Add the two new symbols for the binary registry.
2343 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2345 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2346 * gst/gstutils.c: (gst_parse_bin_from_description):
2347 * gst/parse/grammar.y: (graph):
2348 More guards against bad input; typo fix; some minor clean-ups.
2350 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2352 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2354 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2355 If nothing else can be used, use the last buffer's start time as
2356 the segment's last stop. Fixes bug #534258.
2358 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2360 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2361 Move size sanity check to the right place: downstream may return
2362 a buffer with a smaller size if the buffer caps are different than
2363 the requested ones, as may happen when doing reverse negotiation.
2365 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2367 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2368 (gst_file_sink_render):
2369 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2370 (gst_file_src_start):
2371 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2374 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2376 * gst/gstpad.c: (gst_pad_load_and_link):
2377 * gst/gstutils.c: (gst_element_link_pads),
2378 (gst_element_unlink_pads):
2379 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2380 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2381 (gst_check_teardown_sink_pad),
2382 (gst_check_element_push_buffer_list):
2383 * tests/check/elements/fakesink.c: (GST_START_TEST):
2384 * tests/check/elements/filesink.c:
2385 * tests/check/elements/filesrc.c: (GST_START_TEST):
2386 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2387 (mq_sinkpad_to_srcpad):
2388 * tests/check/elements/tee.c: (GST_START_TEST):
2389 * tests/check/generic/sinks.c: (GST_START_TEST):
2390 * tests/check/gst/gstbin.c: (GST_START_TEST):
2391 * tests/check/gst/gstevent.c: (GST_START_TEST):
2392 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2393 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2394 * tests/check/gst/gstquery.c: (GST_START_TEST):
2395 * tests/check/gst/gstutils.c: (GST_START_TEST):
2396 * tests/check/libs/basesrc.c: (GST_START_TEST):
2397 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2398 (gst_parse_test_element_change_state):
2399 Don't use gst_element_get_pad().
2401 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2404 Fix installing plugin documentation when gtk-doc is disabled.
2406 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2408 * docs/manual/advanced-autoplugging.xml:
2409 * docs/manual/basics-helloworld.xml:
2410 * docs/manual/basics-pads.xml:
2411 * docs/manual/highlevel-components.xml:
2412 Avoid using a bad function in the example code.
2414 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2416 * gst/gstclock.c: (gst_clock_set_calibration):
2417 Fix debug of the new clock rate.
2419 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2421 * win32/common/libgstbase.def:
2422 Add gst_base_sink_wait_clock() to the exported symbols.
2424 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2426 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2428 * libs/gst/base/gstbasetransform.c:
2429 (gst_base_transform_sink_event):
2430 Unref events that the GstBaseTransform::event vfunc didn't want to
2431 have forwarded by the base class. Closes a leak in identity.
2434 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2436 * docs/libs/gstreamer-libs-sections.txt:
2437 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2438 * libs/gst/base/gstbasesink.h:
2439 Expose a method that was previously used internally to synchronize
2440 against the clock because it can be useful for subclasses too.
2441 API: GstBaseSink::gst_base_sink_wait_clock()
2443 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2445 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2446 Add sanity check to make sure we don't get smaller buffers
2447 than requested (and fallback to normal buffer alloc if we do).
2449 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2451 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2452 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2453 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2454 Refactor adjusting the running_time with latency and offset into a
2456 When doing clipping, we still want to use the subclass get_times method,
2457 just in case the DURATION or TIMESTAMP are not set.
2459 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2461 * docs/gst/gstreamer-sections.txt:
2462 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2463 * gst/gsttypefind.h:
2464 * win32/common/libgstreamer.def:
2465 API: add gst_type_find_suggest_simple(), #533740.
2467 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2469 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2470 Use right error code when typefinding fails, so we can use
2471 the default (translated) error messages.
2473 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2475 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2476 (gst_base_src_start):
2477 When the subclass did not set caps on outgoing buffers, configure the
2478 caps we negotiated on the source pad.
2479 When the typefind helper does not find caps, error out properly instead
2480 of doing things with NULL caps.
2482 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2484 * gst/gsttypefind.h:
2485 Tabs to spaces, oh yes!
2487 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2489 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2490 Add David's and Benjamin's tests for array intersection to the
2491 unit test suite (#147931).
2493 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2496 Document that gst_event_new_tag() and gst_event_new_navigation()
2497 take ownership of the taglist/structure passed to them. (#533635).
2499 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2502 Don't descend into the plugins dir if plugin docs building
2506 Add a note about the new type:GTypeName syntax for the plugin
2507 documentation .types file.
2509 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2511 * gst/gstmessage.c: (gst_message_new_error),
2512 (gst_message_new_warning), (gst_message_new_info):
2514 Mark the debug string parameters as const. Fixes bug #533490.
2516 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2518 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2519 Sort buffer cache list by end offsets. This makes sure that we don't
2520 stop to search for a cached buffer that contains the requested data
2522 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2523 more efficient. Fixes bug #459862.
2525 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2528 Explain why we copy the list.
2530 * gst/gstpipeline.c:
2534 Add one debug-log statement to help tracing probelms with linking pads.
2536 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2538 * tests/check/gst/gstinfo.c:
2539 Add a test for removing the default log handler. Seems to fail under
2542 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2544 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2545 Release pad lock before calling out to avoid a possible deadlock.
2547 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2549 * gst/parse/grammar.y:
2550 Remove unneeded value unset.
2552 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2553 Add unit test for de/serialization of caps.
2555 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2557 * plugins/elements/gstfakesink.c:
2558 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2559 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2560 (gst_fake_src_class_init):
2561 Use custom marshalers that take GstMiniObject as first parameter.
2562 Using OBJECT as parameter while a GstMiniObject is given will lead
2563 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2565 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2567 * plugins/elements/gsttypefindelement.c:
2568 (gst_type_find_element_handle_event),
2569 (gst_type_find_element_send_cached_events),
2570 (gst_type_find_element_change_state):
2571 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2574 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2576 * plugins/elements/gsttypefindelement.c:
2577 (gst_type_find_handle_src_query), (stop_typefinding),
2578 (gst_type_find_element_handle_event),
2579 (gst_type_find_element_send_cached_events),
2580 (gst_type_find_element_change_state):
2581 Forward FLUSH_START events immediately and clean up instead of
2584 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2586 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2588 * libs/gst/base/gstbasetransform.c:
2589 (gst_base_transform_buffer_alloc):
2590 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2591 fall back to default negotiation in the chain function if the caps
2592 are different from what was requested. Fixes bug #526768.
2594 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2597 * tests/check/gst/gstsegment.c:
2598 No, let's not use g_slice_{dup|copy} here, since they only exist
2599 since GLib 2.14 and we still depend only on >= 2.12. Also add
2600 unit test for gst_segment_copy().
2602 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2604 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2605 Try to fix 'dereferencing type-punned pointer will break strict
2606 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2607 changed the default GType typedef from gulong to gsize at some point,
2608 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2609 g_once_* functions all take a gsize * though, so work around the type
2610 mismatch for C++ by doing everything in gsize and casting to GType
2613 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2615 * plugins/elements/gstmultiqueue.c:
2616 Add documentation for the signals to push our core plugin docs
2617 coverage back up to 100%.
2619 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2621 * gst/gstinfo.h (GST_FUNCTION):
2622 Reverted GST_FUNCTION to the old version as we don't want the
2623 full signature in C++ code. Also added support for MSVC.
2625 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2628 Intern the type name string, similar to what G_DEFINE_TYPE does.
2630 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2633 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2635 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2637 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2639 * libs/gst/base/gstbasetransform.c:
2640 (gst_base_transform_buffer_alloc):
2641 Don't passthrough buffer allocation too easily if the caps change.
2642 This breaks when working in passthrough mode and upstream changes
2643 it's caps. Fixes bug #526768.
2645 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2647 * gst/gstinfo.c (gst_debug_log_valist):
2648 Improved the __FILE__ part of debug output for MSVC.
2650 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2652 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2653 Declaration after statement fix for compilers like MSVC.
2655 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2657 * win32/common/config.h.in:
2658 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2659 use the real thing than having "???" unconditionally.
2661 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2663 * gst/gstinfo.h (GST_FUNCTION):
2664 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2666 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2668 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2671 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2672 (gst_base_sink_set_flushing):
2673 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2676 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2678 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2679 (gst_fake_src_init), (gst_fake_src_set_property),
2680 (gst_fake_src_get_property), (gst_fake_src_start):
2681 * plugins/elements/gstfakesrc.h:
2682 Added format property to control the format of the newsegment events.
2683 API: GstFakeSrc:format
2685 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2687 * win32/common/libgstreamer.def:
2688 Add gst_pad_has_name() to the exported symbols.
2690 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2692 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2693 * libs/gst/base/gstbasetransform.c:
2694 (gst_base_transform_prepare_output_buffer):
2695 Don't allow negative sizes when allocating new buffers.
2698 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2700 Patch by: Sjoerd Simons <sjoerd at luon net>
2702 * gst/gstbus.c: (gst_bus_source_dispatch):
2703 Don't print a warning if the queue is empty when we try to pop
2704 here. That could happen if another thread or callback set the
2705 bus to flushing between the source's check/prepare and the
2706 dispatch being called (#531538).
2708 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2710 * plugins/elements/gstmultiqueue.c:
2713 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2715 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2716 Add unit test for deserializing uint64s and check some really large
2717 numbers in the int64 test.
2719 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2721 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2722 (print_interfaces), (print_element_properties_info),
2723 (print_signal_info):
2724 Use "%s" as format string instead of printing strings directly.
2726 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2728 * gst/gstclock.c: (gst_clock_set_calibration):
2729 Make some checks actually useful.
2731 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2732 Remove some unused code. Unsigned integers tend to be >= 0.
2734 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2736 * gst/gstminiobject.c: (gst_value_get_mini_object):
2737 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2738 function was not in the unscheduled 0.10.19 release.
2740 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2742 * gst/gstregistry.c: (gst_registry_scan_path_level):
2743 Only print one log message per non-plugin file.
2745 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2747 * gst/gstinfo.c: (gst_debug_log_default):
2748 Fix alignment of debug log columns on 64-bit.
2750 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2752 * docs/libs/Makefile.am:
2753 * docs/libs/gstreamer-libs-sections.txt:
2754 Ignore private controller headers for docs.
2756 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
2758 * libs/gst/controller/gstcontrollerprivate.h:
2759 * libs/gst/controller/gsthelper.c:
2760 * libs/gst/controller/gstinterpolation.c:
2761 * libs/gst/controller/gstinterpolationcontrolsource.c:
2762 (gst_interpolation_control_source_set_interpolation_mode):
2763 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2764 * libs/gst/controller/lib.c:
2765 Move some private declarations into private headers.
2767 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
2769 * gst/gstdebugutils.c: (debug_dump_element_pad):
2770 Remove some code that is unused after Stefan's refactoring and uses
2771 uninitialized variables now, resulting in a compiler warning.
2773 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2775 * gst/gstregistry.c: (gst_registry_scan_path_level):
2776 Run g_str_has_suffix() only on the file name, not the
2779 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
2781 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2782 Since we're not called only from the chain function any longer,
2783 we can't assume that there's always data in the queue, so move
2784 the is_full check to the beginning of the loop (otherwise we'd
2785 hit the assert when changing the limit properties while the
2786 queue is empty or not running yet).
2787 Also, only set a discont if items were actually removed from
2790 * tests/check/elements/queue.c: (test_leaky_downstream):
2791 Test case for the above.
2793 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
2795 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2797 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2798 (gst_queue_chain), (queue_capacity_change),
2799 (gst_queue_set_property):
2800 When changing thr max capacity of a leaky queue, immediatly drop buffers
2801 instead of waiting for a push on the sinkpad. Fixes #530637.
2803 2008-04-30 Stefan Kost <ensonic@users.sf.net>
2805 * gst/gstdebugutils.c:
2806 Refactor code and fix handling of ghostpads and their proxypads.
2808 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
2810 * docs/gst/gstreamer-sections.txt:
2811 * gst/gstevent.c: (gst_event_has_name):
2813 * tests/check/gst/gstevent.c: (GST_START_TEST):
2814 Add method to conveniently check the name of a custom event with
2815 gst_event_has_name().
2816 Reformat the event docs so that related methods are put together instead
2817 of the default alphabetical sort.
2818 Update unit test with new method.
2819 API: GstEvent::gst_event_has_name()
2821 2008-04-28 Michael Smith <msmith@songbirdnest.com>
2823 * libs/gst/check/Makefile.am:
2824 Don't add an explicit link to libgstreamer-0.10.la; it's already
2825 included in GST_OBJ_LIBS.
2827 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
2830 Register GstClock type from a type-safe context. Fixes bug #530317.
2832 2008-04-25 Michael Smith <msmith@songbirdnest.com>
2834 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2836 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2838 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2840 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2842 Use the GLib stuff to create a private structure.
2843 Add some locking around some dispose methods to make them a little
2844 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2846 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2848 * libs/gst/base/gstbasesink.h:
2849 * libs/gst/base/gstbasesrc.h:
2850 * libs/gst/base/gstbasetransform.h:
2851 * libs/gst/base/gstcollectpads.h:
2852 Fix doc typos and unify caps a bit.
2854 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2856 * tools/gst-launch.1.in:
2857 Forgot to also add the envvar docs here.
2859 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
2861 * gst/gst.c: (init_post), (gst_deinit):
2862 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2863 (test_concurrent_create), (gst_pipeline_suite):
2864 Ref some more classes in gst_init() to work around thread-safety
2865 issues in pre-2.16 GLibs, and add basic unit test.
2867 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2869 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2870 (gst_base_sink_send_event):
2871 Rearrange the latency query code. We always want to do the upstream
2872 query, even if we are not live so that the upstream elements can get the
2873 latency results too. If we fail doing the query and we are live, we
2874 return TRUE afterwards.
2876 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2878 patch by: Jason Zhao <e3423c@motorola.com>
2880 * docs/gst/running.xml:
2882 Enable/disable scan_and_update_registry() based on commandline switch
2883 or environment variable. Fixes #520468.
2886 Fix typo in my previous commit.
2888 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2890 * gst/gstregistrybinary.c:
2891 Add a warning if we hit unhandled factories when saving.
2892 More debug logging detail, but move to LOG category.
2894 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2896 * gst/gstregistry.c:
2897 Tell the *truth* when improving the documentation.
2899 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
2901 * gst/gstelementfactory.c: (gst_element_factory_make):
2902 Unref the factory after it was used the last time, not before.
2904 * gst/gstindexfactory.c: (gst_index_factory_make):
2905 Improve debugging a bit and don't leak a ref to the index factory with
2908 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2910 * gst/gstregistry.c:
2911 Improve the documentation.
2913 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2916 The glib macro seems to be borked. Use g_slice_copy directly and cast
2917 in the hope that this fixes the warning on 64bit.
2919 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2922 Document the new function. Use g_slice_dup() (no need for
2923 gst_segment_init()).
2925 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2927 * docs/gst/gstreamer-sections.txt:
2928 Move GParamSepc macros to standart section.
2931 Dn't document _get_type - its in private section in docs anyway and
2932 this doc-blob was incomplete.
2935 Fix wrong symbol names in docs.
2938 Add once doc sentence.
2940 * tests/check/gst/.cvsignore:
2943 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2945 * docs/gst/Makefile.am:
2946 And remove those libs here.
2948 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
2950 * docs/libs/Makefile.am:
2951 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
2953 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
2955 Patch by: Olivier Crete <tester at tester dot ca>
2957 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2958 Add the min-threshold to the min latency if possible. Fixes #529148.
2960 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2962 * docs/gst/gstreamer.types.in:
2963 Stupid editor, I removed that line as it should go in yet.
2965 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2967 * docs/gst/gstreamer.types.in:
2968 * docs/libs/gstreamer-libs.types:
2969 Remove library types fro core docs and have them in libs docs.
2970 Reformat and cleanup. Add comment for miniobject types.
2972 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
2974 * gst/gsturi.c: (gst_uri_get_protocol):
2975 Fix leak: g_strdown operates on the string in place, while
2976 g_ascii_strdown() returns a newly-allocated string.
2978 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
2980 * tools/gst-inspect.c: (print_uri_handler_info),
2981 (print_element_info):
2982 Print the URI protocols and the URI type supported by the element.
2984 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2986 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
2987 Use g_value_take_string() instead of the deprecated
2988 g_value_set_string_take_ownership().
2990 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2992 * gst/gstregistrybinary.c: (_gst_crc32):
2993 Return the old CRC instead of 0 if we give a NULL buffer
2994 or a buffer with a length of 0.
2996 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2998 * gst/gsturi.c: (gst_uri_protocol_check_internal),
2999 (gst_uri_get_protocol), (gst_uri_has_protocol),
3000 (gst_uri_construct), (gst_uri_handler_set_uri):
3001 A valid URI scheme can also include '+', '-' and '.' additional
3002 to alphanumeric characters as per RFC 3986 Section 3.1.
3004 Handle URI schemes case insensitive in all places and convert
3005 to lower-case when constructing an URI or setting an URI with
3006 the GstURIHandler interface. Fixes bug #528868.
3007 All elements can still assume (as before) that they will
3008 get passed URIs with a lower-case URI scheme by the GstURIHandler
3011 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3013 * gst/gstcaps.c: (gst_static_caps_get):
3014 * gst/gstclock.c: (gst_clock_entry_new):
3015 Don't use g_atomic_set_int where it's not needed.
3017 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3019 * gst/gstvalue.c: (gst_value_deserialize_caps):
3020 * gst/parse/grammar.y:
3023 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3025 * gst/gstutils.c: (gst_atomic_int_set):
3026 Use g_atomic_int_set() here too instead of assignment +
3029 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3033 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3034 now that we depend on new enough GLib.
3036 * gst/gstcaps.c: (gst_static_caps_get):
3037 * gst/gstclock.c: (gst_clock_entry_new):
3038 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3039 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3040 (gst_debug_category_set_threshold):
3041 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3042 (gst_base_sink_set_qos_enabled):
3043 * libs/gst/net/gstnettimeprovider.c:
3044 (gst_net_time_provider_set_property):
3045 Use g_atomic_int_set() instead of gst_atomic_int_set().
3047 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3050 Also use G_GINT64_CONSTANT for the queries.
3052 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3055 Use G_GINT64_CONSTANT in varargs function.
3057 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3059 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3060 Initialize the registry magic with zeroes.
3062 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3064 * gst/gstregistrybinary.c: (_gst_crc32),
3065 (gst_registry_binary_write),
3066 (gst_registry_binary_initialize_magic),
3067 (gst_registry_binary_write_cache),
3068 (gst_registry_binary_check_magic),
3069 (gst_registry_binary_read_cache):
3070 * gst/gstregistrybinary.h:
3071 Add crc32 checksum to the binary registry file and check this before
3072 accepting a registry file.
3074 Also free the data list when writing to the registry file fails.
3076 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3078 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3079 (gst_registry_binary_load_feature),
3080 (gst_registry_binary_load_plugin):
3081 If an element supports the Uri interface, returns a valid pointer
3082 to the supported URI protocols but this pointer contains nothing
3083 don't try to save that as it will corrupt the registry.
3085 Don't unref the plugin if we added it to the registry already but
3086 fail to load a feature as gst_registry_add_plugin() takes ownership
3089 Improve debugging a bit.
3091 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3094 Clarify some tag item docs after discussion on irc.
3096 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3098 * docs/gst/gstreamer-docs.sgml:
3099 Remove commented out plugins (they have their own docs). Update
3102 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3104 * docs/gst/gstreamer-docs.sgml:
3105 * docs/gst/gstreamer-sections.txt:
3106 * gst/gstparamspecs.c:
3107 * gst/gstparamspecs.h:
3108 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3109 docs to own section.
3112 This now only documents GValue.
3114 * docs/libs/gstreamer-libs-sections.txt:
3115 * libs/gst/controller/gstcontroller.h:
3116 Remove GST_PARAM_CONTROLLABLE.
3118 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3121 Correct file path. Tell about how to use -overrides.txt.
3122 * docs/design/draft-tagreading.txt:
3123 Small design update.
3125 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3127 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3128 (gst_registry_binary_load_plugin):
3129 Fix a typo in a debug message and revert change from yesterday as
3130 gst_registry_add_plugin() will only fail if something is really wrong
3131 already and we can't survive it anyway.
3133 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3135 * gst/gst.c: (init_post), (gst_deinit):
3136 Pre-register GstGError GType from a thread-safe context
3137 (fixes #527967); unref enum type classes in deinit.
3139 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3141 Patch by: Rene Stadler <mail at renestadler de>
3143 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3144 Merging an empty list with another list in KEEP_ALL mode should
3145 yield an empty list as result and not the second list (#512578).
3147 * tests/check/gst/gsttagsetter.c:
3148 Add unit test for tag merge modes and the aforementioned bug.
3150 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3152 Patch by: Rene Stadler <mail at renestadler de>
3155 Fix description to match the order in the table (#512577).
3157 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3159 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3161 * libs/gst/net/gstnettimepacket.h:
3162 * docs/libs/gstreamer-libs-sections.txt:
3163 Define socklen_t as int if it's not defined yet. Fixes compilation
3164 with MSVC6 and other versions where socklen_t is not defined in
3165 the windows headers (#518022).
3167 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3169 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3170 If gst_registry_add_plugin() fails our reference to the plugin is
3171 invalid so don't try to use it anymore and instead error out.
3173 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3175 * tools/gst-xmlinspect.c: (print_element_info), (main):
3176 De-cruft a bit. If no argument is specified, print all elements in
3177 XML syntax rather than a freestyle list of elements like gst-inspect.
3178 Also, don't print XML header chunk unless we actually have something
3179 to print (ie. don't print it before an error message); print error
3180 message to stderr not stdout. Remove support for printing plugin
3181 info (it would just output something freestyle along the lines of
3182 gst-inspect so far), which fixes #514507. Also add license header.
3184 2008-04-11 Julien Moutte <julien@fluendo.com>
3187 * configure.ac: Merge platform specific defines, introduce a new
3188 define on OS X to remember that forking when updating registry is
3190 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3192 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3194 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3195 condition that leads to absolutely no plugins being registered on
3198 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3200 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3202 * gst/gstutils.c: (gst_pad_add_data_probe),
3203 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3204 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3205 (gst_pad_add_buffer_probe_full):
3207 * docs/gst/gstreamer-sections.txt:
3208 * win32/common/libgstreamer.def:
3209 Add gst_pad_add_*_probe_full() functions with a notify callback that
3210 lets the caller free the data it passes to the probe functions. This
3211 is useful for bindings such as gst-python or gstreamermm (#526814).
3212 API: gst_pad_add_data_probe_full
3213 API: gst_pad_add_buffer_probe_full
3214 API: gst_pad_add_event_probe_full
3216 * tests/check/gst/gstutils.c:
3217 Add minimal unit test to make sure freeing the data actually works
3220 * tests/benchmarks/.cvsignore:
3221 Random cvsignore addendum.
3223 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3225 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3226 (GST_DEBUG_BIN_TO_DOT_FILE):
3227 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3228 to it in the docs (since these are macros the types of the arguments
3229 won't be shown in the docs otherwise).
3231 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3234 Do not abort on out of memory for pad_alloc_buffer.
3236 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3238 * libs/gst/check/gstcheck.c:
3239 Remove blank line between symbol name ad parameters to fix gtkdoc
3242 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3244 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3246 * docs/gst/gstreamer-sections.txt:
3249 * win32/common/libgstreamer.def:
3250 Expose gst_segment_copy() to make things easier for the c++ bindings.
3252 API: gst_segment_copy()
3254 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3256 * gst/gst.c: (gst_init_get_option_group), (init_post):
3257 Fix const position; ref GType classes for enum types to work
3258 around thread-safety issues in GLib versions < 2.16.
3260 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3262 * docs/design/part-buffering.txt:
3263 Fix some typos and set the estimated total for push mode to -1.
3265 * gst/gstquery.c: (gst_query_new_buffering):
3266 Set buffering-left to 0 as we're not buffering by default.
3268 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3269 Implement BUFFERING query.
3271 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3273 Based on patch by: Milosz Derezynski <internalerror gmail com>
3275 * gst/gsterror.c: (_gst_stream_errors_init):
3277 Add two new error codes for encrypted content. Fixes #524659.
3278 API: GST_STREAM_ERROR_DECRYPT
3279 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3281 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3286 * win32/common/libgstreamer.def:
3289 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3291 * plugins/elements/gstidentity.c: (gst_identity_event),
3292 (gst_identity_start):
3293 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3294 event after processing some data. Fixes bug #526042.
3296 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3298 * docs/gst/gstreamer-sections.txt:
3299 * gst/gstquery.c: (gst_query_parse_latency),
3300 (gst_query_set_buffering_percent),
3301 (gst_query_parse_buffering_percent),
3302 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3304 Rename _avail -> _range
3305 API: gst_query_set_buffering_range
3306 API: gst_query_parse_buffering_range
3308 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3310 * docs/design/part-buffering.txt:
3313 * gst/gstquery.c: (gst_query_parse_latency),
3314 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3315 (gst_query_parse_buffering_percent):
3317 Add busy field and quark for the buffering query so that the app can
3318 only use the query to see if buffering is in progress.
3320 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3322 * docs/gst/gstreamer-sections.txt:
3323 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3324 (gst_message_parse_buffering_stats):
3326 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3327 (gst_query_parse_latency), (gst_query_new_buffering),
3328 (gst_query_set_buffering_percent),
3329 (gst_query_parse_buffering_percent),
3330 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3331 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3333 Reorder the message docs and headers for clarity.
3334 Add aditional buffering stats API for messages.
3335 Add buffering query.
3336 Convert some leftover queries to use GstQuark.
3337 API: gst_message_set_buffering_stats
3338 API: gst_message_parse_buffering_stats
3339 API: GST_QUERY_BUFFERING
3340 API: GstBufferingMode
3341 API: gst_query_new_buffering
3342 API: gst_query_set_buffering_percent
3343 API: gst_query_parse_buffering_percent
3344 API: gst_query_set_buffering_stats
3345 API: gst_query_parse_buffering_stats
3347 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3349 * gst/gstmessage.c: (gst_message_new_error),
3350 (gst_message_new_warning), (gst_message_new_info),
3351 (gst_message_new_buffering), (gst_message_new_state_changed),
3352 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3353 (gst_message_new_new_clock), (gst_message_new_segment_start),
3354 (gst_message_new_segment_done), (gst_message_new_duration),
3355 (gst_message_new_async_start), (gst_message_parse_buffering),
3356 (gst_message_parse_state_changed),
3357 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3358 (gst_message_parse_new_clock), (gst_message_parse_error),
3359 (gst_message_parse_warning), (gst_message_parse_info),
3360 (gst_message_parse_segment_start),
3361 (gst_message_parse_segment_done), (gst_message_parse_duration),
3362 (gst_message_parse_async_start):
3363 Use GstQuark for messages.
3365 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3367 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3369 Add some more quarks needed for messages and queries.
3371 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3373 * docs/design/part-buffering.txt:
3374 Remove the "none" buffering mode, STREAM is a good default.
3375 Move estimated-time to the avail query, that's when it will be needed.
3376 Other small typo fixes and updates.
3378 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3380 * gst/gstindex.c: (gst_index_resolver_get_type):
3381 Don't put descriptions into the nick field of a GEnumValue: it's not
3382 meant for that and some language bindings rely on the nick field to
3383 construct constants and the like. Fixes #526705.
3385 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3390 Merge other changes from 0.10.19 release branch.
3392 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3394 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3397 Actually build dlls when cross-compiling with mingw32.
3400 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3402 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3405 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3407 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3409 * docs/design/draft-latency.txt:
3412 * docs/design/part-buffering.txt:
3413 Update design docs with more buffering ideas.
3415 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3418 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3420 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3423 Revert part that belongs to the preset patch.
3425 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3428 Add qoutes to the define. Fixes # 525961.
3430 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3432 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3433 (gst_file_index_load), (gst_file_index_add_id),
3434 (gst_file_index_get_assoc_entry):
3435 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3436 (gst_mem_index_free_id), (gst_mem_index_add_id),
3437 (gst_mem_index_index_format):
3438 Use GSlice when possible.
3440 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3442 * libs/gst/controller/gstinterpolationcontrolsource.c:
3443 (gst_control_point_free),
3444 (gst_interpolation_control_source_set_internal):
3445 Use GSlice for allocating the control points.
3447 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3449 * plugins/elements/gsttypefindelement.c:
3450 (gst_type_find_element_class_init),
3451 (gst_type_find_element_set_property),
3452 (gst_type_find_element_get_property),
3453 (gst_type_find_element_activate):
3454 * plugins/elements/gsttypefindelement.h:
3456 Fix pad leak when peer query fails.
3457 We can still typefind when the peer returns -1.
3458 Add property to force caps and bypass typefinding. This will be used in
3462 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3467 * gst/glib-compat-private.h:
3468 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3469 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3470 Unconditionally use GSlice for allocation.
3472 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3473 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3474 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3475 (gst_structure_free):
3476 Use GSlice for allocation.
3478 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3480 * gst/parse/Makefile.am:
3481 * gst/parse/grammar.tab.pre.c:
3482 * gst/parse/grammar.tab.pre.h:
3483 * gst/parse/lex._gst_parse_yy.pre.c:
3484 Require a new enough flex and bison and remove the parser hacks to use
3485 a pre-regenerated version.
3487 2008-04-01 Julien Moutte <julien@fluendo.com>
3489 patch by: Jason Zhao <E3423C@motorola.com>
3491 * configure.ac: Add a configure switch to disable option parsing
3495 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3498 * gst/gstregistry.c:
3499 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3500 and handle this case.
3503 Add a comment here describing, why we stat each plugin and not try to
3506 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3508 * libs/gst/base/gstbasetransform.c:
3509 (gst_base_transform_prepare_output_buffer):
3510 Also unset the GAP flag on buffers if we're working inplace but
3511 the element is not GAP-aware.
3513 Mark a comment as FIXME 0.11.
3515 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3518 Fix type in log message and add one to ease seeing how long registry
3519 cache verification takes.
3521 * gst/gstregistry.c:
3522 Only test plugin filenames against G_MODULE_SUFFIX.
3524 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3526 * gst/gstdebugutils.c:
3527 Improve handling ghost/proxy pads.
3529 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3531 * docs/gst/gstreamer-sections.txt:
3534 Expose macro to docs and fix link to it.
3536 2008-03-27 Michael Smith <msmith@fluendo.com>
3538 * libs/gst/dataprotocol/dataprotocol.c:
3539 (gst_dp_packet_from_event_1_0):
3540 When calculating GDP body CRC, use the correct pointer.
3541 Fixes part of #522401.
3543 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3545 Patch by: Mark Nauwelaerts <manauw at skynet be>
3547 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3548 (gst_identity_init), (gst_identity_prepare_output_buffer):
3549 Identity is not always a passthrough element, it can modify the buffer
3550 timestamps when it has a datarate and operates in single-segment mode.
3551 We therefore make it an in_place filter with a custom buffer prepare
3552 function that conditionally makes the input buffer metadata writable
3553 when needed. Fixes #523985.
3555 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3557 Patch by: Mark Nauwelaerts <manauw at skynet be>
3560 * libs/gst/base/gstbasesrc.h:
3561 * libs/gst/base/gstbasetransform.c:
3562 * libs/gst/check/gstcheck.c:
3563 Small documentation fixes. Fixes #523978.
3565 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3567 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3568 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3569 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3571 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3573 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3574 (single_queue_underrun_cb):
3575 When trying to make room in the queue, bump the max allowed buffers
3576 bigger than the current amount of buffers in the queue. this fixes some
3577 nasty deadlocks in multiqueue when dynamically changing the limits of
3580 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3582 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3584 * gst/gstcaps.c: (gst_caps_set_simple),
3585 (gst_caps_set_simple_valist), (gst_caps_intersect):
3587 Constify the field gchar * params in set_simple and friends.
3590 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3592 * gst/gstvalue.c: (gst_value_transform_object_string):
3593 Transform a GstObject to a more meaningfull string that includes the
3594 object type in addition to its name.
3596 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3599 ChangeLog surgery to add bugnumber to commit.
3601 2008-03-23 Rene Stadler <mail@renestadler.de>
3603 * libs/gst/base/gstbasetransform.c:
3604 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3606 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3608 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3609 Rename constant everywhere and don't forget one occurence.
3611 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3613 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3614 Align memory to the pointer size even if the architecture allows
3615 unaligned memory access. Unaligned memory access usually comes with
3616 performance penality.
3618 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3620 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3621 (gst_registry_binary_check_magic),
3622 (gst_registry_binary_load_pad_template),
3623 (gst_registry_binary_load_feature),
3624 (gst_registry_binary_load_plugin):
3625 Align memory to the pointer size instead of always 32 bit. Fixes
3626 unaligned memory accesses on ia64 and friends.
3628 * gst/gstregistrybinary.h:
3629 Bump binary registry format version for this as it changes the
3630 format on those architectures that don't have unaligned access
3631 and 64 bit pointers.
3633 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3635 * docs/pwg/advanced-dparams.xml:
3636 * docs/pwg/building-props.xml:
3637 * docs/pwg/other-source.xml:
3638 * gst/glib-compat.h:
3639 * gst/gstbin.c: (gst_bin_class_init):
3640 * gst/gstclock.c: (gst_clock_class_init):
3641 * gst/gstindex.c: (gst_index_class_init):
3642 * gst/gstobject.c: (gst_object_class_init):
3643 * gst/gstpad.c: (gst_pad_class_init):
3644 * gst/gstpipeline.c: (gst_pipeline_class_init):
3645 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3646 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3647 * libs/gst/base/gstbasetransform.c:
3648 (gst_base_transform_class_init):
3649 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3650 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3651 (_gst_check_fault_handler_sighandler),
3652 (_gst_check_fault_handler_setup), (gst_check_init):
3653 * libs/gst/controller/gstcontroller.c:
3654 (_gst_controller_class_init):
3655 * libs/gst/controller/gstlfocontrolsource.c:
3656 (gst_lfo_control_source_class_init):
3657 * libs/gst/net/gstnetclientclock.c:
3658 (gst_net_client_clock_class_init):
3659 * libs/gst/net/gstnettimeprovider.c:
3660 (gst_net_time_provider_class_init):
3661 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3662 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3663 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3664 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3665 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3666 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3667 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3668 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3669 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3670 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3671 * plugins/elements/gsttee.c: (gst_tee_class_init):
3672 * plugins/elements/gsttypefindelement.c:
3673 (gst_type_find_element_class_init):
3674 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3675 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3676 use it everywhere for GParamSpecs that use static strings (i.e. all).
3677 This gives us less memory usage, fewer allocations and thus less
3678 memory defragmentation. Fixes bug #523806.
3680 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3682 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3683 (gst_param_spec_mini_object):
3684 * gst/gstminiobject.h:
3685 * win32/common/libgstreamer.def:
3686 * docs/gst/gstreamer-sections.txt:
3687 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3688 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3689 GstParamSpecMiniObject into a public header for this.
3691 This make GstMiniObject a bit more consistent with GObject and makes
3692 it possible to extend the param specs.
3694 gst_value_dup_mini_object is mainly useful for set_property methods.
3698 * tools/gst-inspect.c: (print_element_properties_info):
3699 Print something useful for GstMiniObject properties and not just
3702 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3704 * docs/gst/gstreamer-sections.txt:
3705 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3706 (gst_registry_binary_check_magic):
3707 * gst/gstregistrybinary.h:
3708 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3709 and add it to the (private part) of the docs to fix the build.
3711 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3713 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3714 (gst_registry_binary_check_magic),
3715 (gst_registry_binary_read_cache):
3716 * gst/gstregistrybinary.h:
3717 Don't use GST_MAJORMINOR for the binary registry version. Instead
3718 hardcode a value that must be changed whenever the format changes
3719 in an incompatible way.
3720 Also don't GST_ERROR when there is a version mismatch, just
3721 regenerate the registry silently.
3723 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3726 Back to development - 0.10.18.1
3728 === release 0.10.18 ===
3730 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3733 releasing 0.10.18, "So far away"
3735 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3738 * win32/common/config.h:
3739 0.10.17.4 pre-release
3741 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3743 Patch by: Ole André Vadla Ravnås
3744 <ole dot andre dot ravnas at tandberg dot com>
3746 * docs/gst/gstreamer-sections.txt:
3747 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3748 (gst_poll_update_winsock_event_mask),
3749 (gst_poll_prepare_winsock_active_sets),
3750 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3751 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3752 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3753 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3754 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3756 * win32/common/libgstreamer.def:
3757 Add new function gst_poll_fd_ignored() for improved Windows
3759 Various minor fixes and cleanups. See #520808.
3761 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
3763 * gst/gstindex.c: (gst_index_entry_free):
3765 Don't free key strings which we don't own. Fixes crash in
3766 gst_index_entry_free() (#522741).
3768 * tests/check/Makefile.am:
3769 * tests/check/gst/.cvsignore:
3770 * tests/check/gst/gstindex.c: (test_index_entries),
3771 (gst_index_suite), (gst_index):
3772 Add unit test for the above.
3774 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3776 * win32/common/libgstreamer.def:
3777 Remove symbols that were removed recently. Fixes bug #521740.
3779 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
3782 * win32/common/config.h:
3783 0.10.17.3 pre-release
3785 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
3787 Patch by: Ole André Vadla Ravnås
3788 <ole dot andre dot ravnas at tandberg dot com>
3790 * docs/gst/gstreamer-sections.txt:
3791 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3792 (gst_poll_update_winsock_event_mask), (gst_poll_new),
3793 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3794 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3795 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3796 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3797 (gst_poll_fd_can_write), (gst_poll_wait),
3798 (gst_poll_set_controllable), (gst_poll_restart),
3799 (gst_poll_set_flushing):
3801 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3802 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3803 (gst_net_time_provider_new):
3804 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3805 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3806 * tests/benchmarks/gstpollstress.c: (main):
3807 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3808 Remove GstPollMode from the API, it does not make sense to let the
3809 application control this.
3810 Add support for Win32.
3811 Fix the testsuite. Fixes #520671.
3813 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
3815 Patch by: Ole André Vadla Ravnås
3816 <ole dot andre dot ravnas at tandberg dot com>
3818 * gst/gstregistrybinary.c:
3819 Include io.h for write() and close() when building with MSVC. Fixes
3822 2008-03-07 Stefan Kost <ensonic@users.sf.net>
3825 * gst/gst_private.h:
3826 * gst/gstconfig.h.in:
3827 * gst/gstregistry.h:
3828 * gst/gstregistrybinary.c:
3829 * win32/common/gstconfig.h:
3830 Move registry backend API to private headers where we can. Add
3831 fixme-0.11 comments for the others. Add stubs for the xml backend when
3832 using the binary to ensure they functions exists (they should not be
3833 used though). Fixes #520756.
3835 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
3838 * win32/common/config.h:
3841 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3843 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3844 (gst_registry_binary_read_cache):
3845 * gst/gstregistryxml.c: (gst_registry_save):
3846 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3847 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3848 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3849 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3850 Switch to using portabl gsize/gssize instead of size_t/ssize_t
3853 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3855 * gst/gstminiobject.c:
3856 Import gst_private.h before any other header that might include other
3857 glib headers. This fixes the build on windows using native compilers.
3859 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3861 * win32/common/gstconfig.h:
3862 Add here too, just for completeness.
3864 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3867 * gst/gstconfig.h.in:
3868 * gst/gstregistry.h:
3869 Fix broken use of config.h-defined preprocessor directive in a public
3870 header file. Add a corresponding define to gstconfig.h, since we can't
3871 really remove those function declarations from the header file now
3872 (or can we? and why are they there in the first place?).
3874 2008-03-03 Andy Wingo <wingo@pobox.com>
3876 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3879 * gst/gststructure.c (gst_structure_from_string): Warn if
3880 structure_from_string didn't consume the whole string, but the
3881 caller did not provide an end pointer.
3883 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
3885 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
3887 * gst/gstregistryxml.c: (read_string), (load_feature):
3888 Strings allocated by libxml2 should be freed with xmlFree(), not
3889 with g_free(). Fixes issues on windows in certain contexts (#519698).
3891 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
3893 * gst/gstinterface.c: (gst_element_implements_interface):
3894 Don't crash if the element supports the interface queried, but does
3895 not implement GstImplementsInterface. Fixes #519584.
3897 * tests/check/Makefile.am:
3898 * tests/check/gst/.cvsignore:
3899 * tests/check/gst/gstinterface.c:
3900 Add unit test for the above.
3902 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3904 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3907 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3909 * gst/gstsegment.c: (gst_segment_set_seek),
3910 (gst_segment_to_stream_time):
3911 Improve some comment.
3912 Update variables where it makes more sense.
3914 2008-02-29 Rene Stadler <mail@renestadler.de>
3916 * gst/gsturi.c: (gst_uri_handler_get_protocols):
3917 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
3918 URIHandlers implemented using language bindings.
3920 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3922 * gst/gstelementfactory.h:
3923 * tests/check/elements/fakesink.c:
3924 * tests/check/elements/fakesrc.c: (setup_fakesrc):
3925 * tests/check/elements/fdsrc.c: (setup_fdsrc):
3926 * tests/check/elements/filesink.c: (setup_filesink):
3927 * tests/check/elements/filesrc.c: (setup_filesrc):
3928 * tests/check/elements/identity.c: (setup_identity):
3929 * tests/check/elements/tee.c:
3930 * tests/check/generic/sinks.c:
3931 * tests/check/generic/states.c: (setup), (teardown):
3932 * tests/check/gst/gst.c:
3933 * tests/check/gst/gstabi.c:
3934 * tests/check/gst/gstbin.c:
3935 * tests/check/gst/gstbus.c: (pull_messages):
3936 * tests/check/gst/gstcaps.c:
3937 * tests/check/gst/gstelement.c:
3938 * tests/check/gst/gstevent.c:
3939 * tests/check/gst/gstghostpad.c:
3940 * tests/check/gst/gstiterator.c:
3941 * tests/check/gst/gstmessage.c:
3942 * tests/check/gst/gstminiobject.c: (my_foo_init):
3943 * tests/check/gst/gstobject.c: (thread_name_object),
3945 * tests/check/gst/gstpad.c:
3946 * tests/check/gst/gstplugin.c:
3947 * tests/check/gst/gstpoll.c:
3948 * tests/check/gst/gstquery.c:
3949 * tests/check/gst/gstsegment.c:
3950 * tests/check/gst/gststructure.c:
3951 * tests/check/gst/gstsystemclock.c:
3952 * tests/check/gst/gsttask.c:
3953 * tests/check/gst/gstutils.c:
3954 * tests/check/gst/gstvalue.c:
3955 * tests/check/gst/struct_hppa.h:
3956 * tests/check/gst/struct_i386.h:
3957 * tests/check/gst/struct_ppc32.h:
3958 * tests/check/gst/struct_ppc64.h:
3959 * tests/check/gst/struct_x86_64.h:
3960 * tests/check/libs/adapter.c: (create_and_fill_adapter):
3961 * tests/check/libs/basesrc.c:
3962 * tests/check/libs/controller.c: (GST_START_TEST):
3963 * tests/check/libs/gdp.c:
3964 * tests/check/libs/gstnetclientclock.c:
3965 * tests/check/libs/gstnettimeprovider.c:
3966 * tests/check/libs/libsabi.c:
3967 * tests/check/libs/struct_hppa.h:
3968 * tests/check/libs/struct_i386.h:
3969 * tests/check/libs/struct_ppc32.h:
3970 * tests/check/libs/struct_ppc64.h:
3971 * tests/check/libs/struct_x86_64.h:
3972 * tests/check/pipelines/cleanup.c:
3973 * tests/check/pipelines/simple-launch-lines.c:
3974 * tests/check/pipelines/stress.c:
3975 And correct even more valid sparse warnings.
3977 * win32/common/libgstreamer.def:
3978 Add gst_poll_fd_init to the list of symbols.
3980 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3982 * gst/gstconfig.h.in:
3983 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
3984 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
3985 (gst_check_log_critical_func), (gst_check_drop_buffers),
3986 (gst_check_element_push_buffer_list):
3987 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
3988 (gst_controller_get_type):
3989 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
3990 (gst_object_get_controller), (gst_object_get_control_source):
3991 * libs/gst/controller/gstinterpolationcontrolsource.c:
3992 (gst_interpolation_control_source_new):
3993 * libs/gst/controller/gstlfocontrolsource.c:
3994 (gst_lfo_control_source_new):
3995 * libs/gst/dataprotocol/dataprotocol.c:
3996 (gst_dp_event_from_packet_0_2):
3997 * plugins/elements/gstfdsrc.c:
3998 * plugins/elements/gstmultiqueue.c:
3999 * plugins/elements/gsttee.c:
4000 * plugins/elements/gsttypefindelement.c:
4001 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4002 (gst_file_index_add_association):
4003 * plugins/indexers/gstmemindex.c:
4004 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4005 * tests/check/elements/queue.c: (setup_queue):
4006 * tests/check/gst/gstpipeline.c:
4007 * tests/check/libs/collectpads.c: (setup), (teardown),
4008 (gst_collect_pads_suite):
4009 * tests/examples/adapter/adapter_test.c:
4010 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4011 * tests/examples/xml/createxml.c:
4012 * tests/examples/xml/runxml.c:
4013 * tools/gst-inspect.c:
4015 Correct all relevant warnings found by the sparse semantic code
4016 analyzer. This include marking several symbols static, using
4017 NULL instead of 0 for pointers, not using variable sized arrays
4018 on the stack, moving variable declarations to the beginning of
4019 a block and using "foo (void)" instead of "foo ()" for declarations.
4021 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4023 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4024 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4025 Don't reset GstPollFDs, this is not necessary at all.
4027 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4028 (delayed_restart), (delayed_control):
4029 Use GST_POLL_FD_INIT.
4031 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4033 * gst/gstpoll.c: (gst_poll_fd_init):
4037 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4038 Use some more init macros.
4040 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4042 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4043 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4044 Use init macros and functions.
4046 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4048 * docs/gst/gstreamer-sections.txt:
4049 * gst/gstpoll.c: (gst_poll_fd_init):
4051 Add INIT macro and _init method for initializing the GstPollFD.
4053 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4055 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4056 (gst_fd_sink_update_fd):
4057 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4058 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4059 (delayed_restart), (delayed_control):
4060 Initialize some uninitialized variables as spotted by valgrind.
4062 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4064 * tests/benchmarks/Makefile.am:
4065 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4067 Add poll stress test.
4069 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4071 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4073 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4074 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4075 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4076 * plugins/elements/gstfdsink.h:
4077 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4078 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4079 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4080 (gst_fd_src_uri_set_uri):
4081 * plugins/elements/gstfdsrc.h:
4082 Port to GstPoll. See #505417.
4084 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4086 * win32/common/libgstreamer.def:
4087 Add new gst_poll_ symbols to win32 defs.
4089 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4091 * docs/libs/gstreamer-libs-sections.txt:
4092 * libs/gst/net/gstnetclientclock.c:
4093 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4094 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4095 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4096 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4097 * libs/gst/net/gstnetclientclock.h:
4098 * libs/gst/net/gstnettimeprovider.c:
4099 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4100 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4101 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4102 (gst_net_time_provider_new):
4103 * libs/gst/net/gstnettimeprovider.h:
4104 Use a private stuct to not break ABI.
4106 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4108 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4110 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4111 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4112 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4113 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4114 * libs/gst/net/gstnetclientclock.h:
4115 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4116 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4117 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4118 (gst_net_time_provider_new):
4119 * libs/gst/net/gstnettimeprovider.h:
4120 Massive code removal and cleanups because of GstPoll.
4123 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4126 Add checks for poll, ppoll and pselect.
4128 * docs/gst/gstreamer-docs.sgml:
4129 * docs/gst/gstreamer-sections.txt:
4130 Add docs for GstPoll.
4134 * gst/gstpoll.c: (find_index), (selectable_fds),
4135 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4136 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4137 (gst_poll_set_mode), (gst_poll_get_mode),
4138 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4139 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4140 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4141 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4142 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4143 (gst_poll_fd_can_write), (gst_poll_wait),
4144 (gst_poll_set_controllable), (gst_poll_restart),
4145 (gst_poll_set_flushing):
4147 Add generic poll abstraction. We ideally don't want to have this in core
4148 here but in glib intead...
4149 This code will be used in various network elements and ultimately for
4150 the nanosecond precision monotonic clock (that's why it's here in core).
4151 It'll allow us to implement cancelable socket operations for windows too.
4153 * tests/check/Makefile.am:
4154 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4155 (delayed_stop), (delayed_restart), (delayed_flush),
4156 (delayed_control), (gst_poll_suite):
4157 Add GstPoll unit test.
4159 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4162 Improve documentation of gst_filter_run(). Fixes #518627.
4164 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4167 Add a few lines about the new 'check-inspected-versions' target.
4169 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4171 * tests/check/gst/gstevent.c:
4172 Add qos to the event test. Rename tcase/tsuite; is not only about
4175 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4177 * plugins/elements/gstqueue.c:
4178 Ensure that buffer metadata is writeable, before modifying. Spotted by
4181 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4183 * plugins/elements/gstqueue.c:
4184 * plugins/elements/gstqueue.h:
4185 When dropping buffers in leaky modes, mark next buffers we sent as
4188 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4190 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4191 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4193 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4195 * plugins/elements/Makefile.am:
4196 * plugins/elements/gstbufferstore.c:
4197 * plugins/elements/gstbufferstore.h:
4198 * plugins/elements/gsttypefindelement.h:
4199 Remove GstBufferStore, no idea why we were still building it.
4200 It's not used anywhere and superseded by GstAdapter.
4202 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4203 (gst_file_src_create_mmap):
4204 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4205 Printf format fixes for 64-bit integers.
4207 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4210 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4211 We're not in 0.8 times anymore.
4213 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4215 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4216 (gst_check_element_push_buffer_list):
4217 * libs/gst/check/gstcheck.h:
4218 Make the declaration in the header for
4219 gst_check_element_push_buffer_list match the implementation.
4221 Fix up spelling, grammar and wording of the documentation in a few
4222 places, and add the Since keyword to new API functions.
4223 Use g_list_delete_link instead of g_list_remove in
4224 gst_check_drop_buffers, since it's immeasurably more efficient.
4226 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4227 Use new gst_check_drop_buffers function where appropriate.
4229 * win32/common/libgstbase.def:
4230 * win32/common/libgstreamer.def:
4231 Add new symbols gst_collect_pads_take_buffer,
4232 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4235 Changelog surgery to add API keyword to new gst_check API.
4237 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4239 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4240 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4241 Update pre-generated flex files with flex 2.3.34.
4243 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4245 * gst/gstminiobject.c:
4246 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4247 friendly to subclasses and not require them to know all internals
4248 of their parent class.
4250 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4252 * docs/libs/gstreamer-libs-sections.txt:
4253 * libs/gst/base/gstcollectpads.c:
4254 * libs/gst/base/gstcollectpads.h:
4255 Add sub-buffer functions to collectpads. Fixes #516187.
4256 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4258 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4261 Copy selected buffer-flags when creating subbuffers.
4264 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4266 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4267 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4268 * gst/gstmessage.c: (gst_message_class_init),
4269 (gst_message_finalize):
4270 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4271 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4272 (gst_mmap_buffer_finalize):
4273 Properly chain up finalize functions to the parent class.
4275 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4277 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4279 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4280 (gst_index_set_resolver_full):
4282 Add new function with option to dispose of user_data in resolver.
4283 Actually call the dispose function when finalizing the object and not
4284 just when changing the resolver/filter.
4285 API: GstIndex::gst_index_set_resolver_full()
4287 * docs/gst/gstreamer-sections.txt:
4288 Add new function to docs. Fixes #515469.
4290 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4292 * gst/gstindex.c: (gst_index_finalize):
4293 Chain up finalize to the parent class. Fixes leaking the GstObject
4294 name and other things.
4296 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4299 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4300 pre-releases or releases.
4302 * docs/faq/gst-uninstalled:
4305 * docs/random/release:
4306 Change one of the steps - we only upload core & base to Gnome FTP
4308 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4310 * gst/gstconfig.h.in:
4311 Add 'id' for example.
4315 * plugins/elements/gstfdsink.c:
4316 Link to signals. Doc and comment fixes.
4318 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4320 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4321 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4322 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4323 unused and unimplemented; finally, it is plugin features, not
4324 plugins, that have ranks.
4326 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4328 * gst/gstpluginfeature.h:
4329 Clarify GstRank range docs.
4331 2008-02-05 David Schleef <ds@schleef.org>
4333 * gst/gst.c: Add a separate gst_deinitialized that prevents
4334 gst_init() from being called after gst_deinit(). Fixes #509559
4336 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4338 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4339 (gst_bin_class_init):
4340 * gst/gstelement.c: (gst_element_base_class_init),
4341 (gst_element_class_add_pad_template):
4342 * gst/gstpadtemplate.c: (gst_pad_template_init):
4343 * gst/gstpipeline.c: (gst_pipeline_get_type),
4344 (gst_pipeline_base_init), (gst_pipeline_class_init):
4345 * libs/gst/base/gstbasesink.c:
4346 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4347 (gst_base_src_base_init), (gst_base_src_class_init):
4348 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4349 (gst_capsfilter_class_init):
4350 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4351 (gst_fake_sink_class_init):
4352 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4353 (gst_fake_src_class_init):
4354 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4355 (gst_fd_sink_class_init):
4356 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4357 (gst_fd_src_class_init):
4358 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4359 (gst_file_sink_class_init):
4360 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4361 (gst_file_src_class_init):
4362 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4363 (gst_identity_class_init):
4364 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4365 (gst_multi_queue_class_init):
4366 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4367 (gst_queue_class_init):
4368 * plugins/elements/gsttee.c: (gst_tee_base_init),
4369 (gst_tee_class_init):
4370 * plugins/elements/gsttypefindelement.c:
4371 (gst_type_find_element_base_init),
4372 (gst_type_find_element_class_init):
4373 * tests/check/gst/gstelement.c: (gst_element_suite):
4374 Revert previous changes to the behaviour of GstPadTemplates, etc
4375 and the possiblity to call them in class_init as it breaks too
4376 many elements. Reopens bug #491501.
4378 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4381 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4383 * tools/gst-launch.c:
4384 Dump one graph per pipeline state-change and state change name
4385 (if GST_DEBUG_DUMP_DOT_DIR is set).
4387 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4390 * tests/check/gst/gstpad.c:
4391 Be sure that we have a new copy of the caps and not
4392 reffed caps from a template
4394 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4396 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4397 * gst/gstpipeline.c: (gst_pipeline_get_type),
4398 (gst_pipeline_class_init):
4399 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4400 (gst_base_sink_class_init):
4401 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4402 (gst_base_src_class_init):
4403 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4404 (gst_base_transform_class_init):
4405 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4406 (gst_collect_pads_class_init):
4407 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4408 * libs/gst/net/gstnettimeprovider.c:
4409 (gst_net_time_provider_base_init),
4410 (gst_net_time_provider_class_init):
4411 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4412 (gst_capsfilter_class_init):
4413 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4414 (gst_fake_sink_class_init):
4415 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4416 (gst_fake_src_class_init):
4417 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4418 (gst_fd_sink_class_init):
4419 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4420 (gst_fd_src_class_init):
4421 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4422 (gst_file_sink_class_init):
4423 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4424 (gst_file_src_class_init):
4425 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4426 (gst_identity_class_init):
4427 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4428 (gst_multi_queue_class_init):
4429 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4430 (gst_queue_class_init):
4431 * plugins/elements/gsttee.c: (gst_tee_base_init),
4432 (gst_tee_class_init):
4433 * plugins/elements/gsttypefindelement.c:
4434 (gst_type_find_element_base_init),
4435 (gst_type_find_element_class_init):
4436 Don't use base_init where not absolutely necessary. For example it's
4437 not necessary anymore for adding pad templates or setting element
4440 Leave empty base_init functions in several places as GST_BOILERPLATE
4441 still defines and uses them.
4443 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4445 * gst/gstelement.c: (gst_element_base_class_init),
4446 (gst_element_class_add_pad_template):
4447 * gst/gstpadtemplate.c:
4448 Make it possible (and recommended) to set element details and add
4449 pad templates in the class_init functions by copying the details/pad
4450 templates in GstElement's base_init.
4452 Also make it possible to replace existing pad templates by adding
4453 a new one with the same name. This was done in a hackish fashion
4454 in same elements before already.
4456 Don't reference pad templates that are added a second time. A
4457 new pad template has a refcount of one and is not floating anymore
4458 and to be owned by the element's class. Make this more explicit by
4459 mentioning it in the docs of gst_element_class_add_pad_template().
4461 These changes are backwards compatible. Fixes bug #491501.
4463 * tests/check/gst/gstelement.c:
4464 Add unit test for setting element details, adding pad templates and
4465 replacing them in a subclass.
4467 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4469 * tools/gst-inspect.c: (print_interfaces),
4470 (print_element_properties_info), (print_pad_info),
4471 (print_signal_info), (print_element_info):
4472 Fix a few memory leaks.
4474 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4476 * docs/libs/gstreamer-libs-sections.txt:
4477 * libs/gst/check/gstcheck.c:
4478 * libs/gst/check/gstcheck.h:
4479 Add more functions for unit testing: gst_check_drop_buffers,
4480 gst_check_caps_equal, gst_check_element_push_buffer_list,
4481 gst_check_element_push_buffer
4482 API: gst_check_drop_buffers
4483 API: gst_check_caps_equal
4484 API: gst_check_element_push_buffer_list
4485 API: gst_check_element_push_buffer
4487 2008-02-01 Julien Moutte <julien@fluendo.com>
4489 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4490 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4491 (gst_index_finalize), (gst_index_entry_free),
4492 (gst_index_add_association): Fix memory leaks.
4493 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4494 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4495 (gst_mem_index_free_format), (gst_mem_index_free_id),
4496 (gst_mem_index_finalize): Fix memory leaks.
4497 * win32/common/config.h: Updated to CVS HEAD.
4499 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4502 Some more details about how the plugin docs works.
4504 * docs/plugins/gstreamer-plugins-sections.txt:
4507 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4509 * gst/parse/grammar.tab.pre.c:
4510 * gst/parse/grammar.tab.pre.h:
4511 * gst/parse/grammar.y:
4512 * gst/parse/lex._gst_parse_yy.pre.c:
4513 Add delayed set-property. This allows to set properties on dynamicaly
4514 created objects (pads in videomxer). Fixes #509391.
4516 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4519 Check if caps are not NULL (fix bug #510194)
4521 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4523 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4524 (gst_base_sink_get_position_paused):
4525 Add fixme regarding EOS in pull mode.
4526 Fix position reporting in PAUSED for negative rates.
4528 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4530 * gst/gstminiobject.c: (gst_mini_object_replace):
4531 When replacing a miniobject, do a quick equality check first so that we
4532 can avoid a ref/unref pair.
4534 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4536 * docs/design/part-synchronisation.txt:
4539 * docs/plugins/Makefile.am:
4540 * docs/plugins/gstreamer-plugins-docs.sgml:
4541 * docs/plugins/gstreamer-plugins-sections.txt:
4542 * plugins/elements/gstmultiqueue.c:
4543 Add multiqueue to the docs.
4545 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4550 === release 0.10.17 ===
4552 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4555 releasing 0.10.17, "Due Negligence"
4557 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4560 Revert caps != NULL check temporarily for 0.10.17 release.
4562 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4565 Check if caps are not NULL (fix bug #510194)
4567 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4570 Fix compilation on systems that have posix timers but no
4573 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4576 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4578 * tools/gst-inspect.c:
4579 Revert previous commit in preparation for an impromptu 0.10.17 release
4581 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4583 * tools/gst-inspect.c: (print_interfaces),
4584 (print_element_properties_info), (print_pad_info),
4585 (print_signal_info), (print_element_info):
4586 Fix a few memory leaks.
4588 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4593 === release 0.10.16 ===
4595 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4598 releasing 0.10.16, "Special Dispensation"
4600 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4603 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4604 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4605 not fail when trying to crosscompile on OpenEmbedded (#511750).
4607 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4610 Use $(MAKE) instead of make to fix the build if GNU make is
4611 called different. Fixes bug #510747.
4613 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4615 * gst/gstplugin.c: (_gst_plugin_initialize):
4616 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4617 again, which I broke two commits ago when changing the API
4618 of gst_plugin_register_static(): the g_list_foreach() in
4619 _gst_plugin_register_static still assumed the old function
4620 signature and would therefore fail (re-fixes #510187).
4622 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4623 (_gst_plugin_register_static), (gst_plugin_register_static):
4624 Revert the (technically correct) change to call g_thread_init() from
4625 the pre-main() constructor. This will break programs which call
4626 g_thread_init() without an if (!g_thread_supported()) guard in their
4627 main function. We could just blame it on GLib or the application, but
4628 it's probably best to just avoid this altogether and simply not use
4629 any GLib functions here and use plain old malloc() with a simple
4630 array to store the plugins to register later when gst_init() is
4631 finally called (re-fixes #510187).
4633 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4634 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4635 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4636 (GST_START_TEST), (gst_plugin_suite):
4637 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4640 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4642 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4643 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4644 This makes gtk-doc complain, but results in slightly better
4645 compiler errors. The old _gst_plugin_register_static() is
4646 still guarded, so there'll be a compiler warning about that
4647 instead. Fixes #510187 too.
4649 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4651 * gst/gst.c: (init_post):
4652 * gst/gstplugin.c: (_gst_plugin_register_static),
4653 (gst_plugin_register_static), (_gst_plugin_initialize):
4654 * gst/gstplugin.h: (GstPluginFilter):
4655 Change API of gst_plugin_register_static() to not take
4656 a GstPluginDesc, but rather just take all the arguments
4657 in a GstPluginDesc directly. This is more intuitive and
4658 avoids certain mistakes when porting code from
4659 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4662 * tests/check/gst/gstplugin.c:
4663 Fix up for changed API.
4665 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4667 * docs/faq/legal.xml:
4668 Update FAQ, Totem actually has an exception these days.
4670 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4672 * win32/common/libgstreamer.def:
4673 Add new API declarations
4675 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4677 * gst/gstminiobject.c:
4678 Spelling fixes for the API docs.
4680 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4682 * libs/gst/base/gstbasetransform.c:
4683 Fix long property description for QoS.
4685 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4688 _gst_trace_on is already provided by gsttrace.h, no need to declare
4691 * docs/libs/gstreamer-libs-sections.txt:
4692 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4693 and remove strange tcase_add_test which is outputting a warning.
4695 * libs/gst/check/gstcheck.c:
4696 * libs/gst/check/gstcheck.h:
4697 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4698 and define them in gstcheck.c instead of having every .c file whcih
4699 includes gstcheck.h be defining its own copy and relying on symbol
4700 interposing to marry them all, which doesn't work on Solaris.
4702 * tests/check/elements/identity.c: (GST_START_TEST):
4703 Don't define 'buffers' locally, it comes from libgstcheck.
4705 * tests/check/generic/sinks.c: (send_buffer):
4706 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4708 * tests/check/gst/gststructure.c: (GST_START_TEST):
4709 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4710 * tests/check/gst/gstutils.c: (GST_START_TEST):
4711 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4712 Add a bunch of casts to make various constants fit the types
4713 they're being assigned to.
4715 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4717 * gst/gstchildproxy.c:
4718 Improve docs and add some ideas for making this more general-purpose.
4720 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4722 * gst/gst_private.h: (GST_CAT_TYPES):
4723 Add GST_CAT_TYPES, for consistency, and so that the other
4724 debug categories don't make fun of it. Spotted by Saur on IRC.
4726 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4728 * gst/parse/Makefile.am:
4729 Move types.h from EXTRA_DIST to noinst_HEADERS.
4731 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4734 Add -Wno-portability to the automake parameters to stop warnings
4735 about GNU make extensions being used. We require GNU make in almost
4736 every Makefile anyway.
4739 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4740 at the same time is required for per target flags.
4742 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4745 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4746 __GNUC__ is defined before using it.
4748 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4750 * docs/gst/gstreamer-sections.txt:
4751 * gst/gst.c: (init_post):
4752 * gst/gstplugin.c: (_gst_plugin_register_static),
4753 (gst_plugin_register_static), (_gst_plugin_initialize),
4754 (gst_plugin_register_func):
4755 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4756 API: add gst_plugin_register_static() and deprecate
4757 GST_PLUGIN_DEFINE_STATIC, since it's not portable
4759 Also, in _gst_plugin_register_static(), make sure to call
4760 g_thread_init() before calling GLib functions such as
4761 g_list_append() if we're not initialised yet, since that
4762 may lead to random crashes with older GSlice/GLib versions.
4764 * tests/check/gst/gstplugin.c:
4765 Adapt unit test to above changes.
4767 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4769 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4770 * gst/gstcaps.c: (gst_caps_to_string):
4771 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4772 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4773 Yet another gratuitous GString micro-optimisation: add a (private)
4774 function that serialises a structure appending to an existing
4775 GString, so that when we serialise caps we don't need to alloc+free
4776 a throwaway GString for each structure (each of which also entailing
4777 multiple reallocs on the way); also use g_string_sized_new() in
4778 various places with an approximate string length to avoid reallocs
4779 within GString. See #500143.
4781 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4783 * gst/gststructure.c: (gst_structure_id_set_value):
4784 Always check UTF-8 conformance of structure strings and not only
4785 if the debugging system is enabled; reasoning: the behaviour of
4786 the actual code shouldn't really change depending on whether the
4787 debugging system is enabled or not (#508291).
4789 2008-01-09 Stefan Kost <ensonic@users.sf.net>
4792 Remove old coverage target in favour of "make lcov".
4794 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4796 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4797 (gst_base_src_loop):
4798 The start segment for reverse playback goes from start to last_stop.
4800 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4802 Patch by: Peter Kjellerstedt <pkj axis com>
4805 Cast the results from the timeval/spec_to_time macros to what the
4806 docs say it casts to, a GstClockTime. fixes #508175.
4808 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4811 Update some comments.
4813 * tools/gst-inspect.c: (print_element_properties_info):
4814 Improve printing of flags.
4816 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
4818 * libs/gst/base/gstbasetransform.c:
4819 (gst_base_transform_transform_size):
4820 Print element name with g_warning() if there's a problem
4823 2008-01-07 David Schleef <ds@schleef.org>
4825 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4827 * libs/gst/controller/gstcontroller.h:
4828 * libs/gst/controller/gstcontrolsource.h:
4829 * libs/gst/controller/gstinterpolationcontrolsource.h:
4830 * libs/gst/controller/gstlfocontrolsource.h:
4831 * libs/gst/dataprotocol/dataprotocol.h:
4832 Fix empty prototypes. Fixes bug #507957.
4834 2008-01-07 David Schleef <ds@schleef.org>
4836 * docs/faq/dependencies.xml: Fix typo.
4838 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
4840 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4841 (gst_base_src_loop):
4842 Don't update the last_stop position in do_seek, that's the position we
4844 Read backwards when we have a negative rate.
4846 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4847 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4849 Add check for reverse reading.
4851 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
4853 Patch by: Alexis Ballier <aballier at gentoo org>
4855 * tests/check/gst/gstabi.c:
4856 * tests/check/gst/struct_ppc64.h:
4857 * tests/check/libs/libsabi.c:
4858 * tests/check/libs/struct_ppc64.h:
4859 Decide which header to include based on the userland ABI target
4860 and not the kernel/cpu. Fix up structure sizes of ppc64 header
4861 for 64-bit userland (#503590). Might need something similar for
4864 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
4866 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4867 Log the reason why fopen fails in addition to the fact that it failed.
4869 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
4871 * gst/parse/parse.l:
4872 Use "%option never-interactive" to prevent useless calls to isatty()
4873 on every input when parsing. Also use "%option noinput" to not define
4874 the static input/yyinput functions which we don't use anyway. This
4875 removes a compiler warning with gcc 4.3 and saves some bytes in the
4878 * gst/parse/lex._gst_parse_yy.pre.c:
4879 Regenerated for the above change.
4881 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
4883 * gst/gstpad.c: (fixate_value):
4884 Don't crash when trying to fixate and empty list.
4887 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
4889 * docs/faq/gst-uninstalled:
4890 Clarify the comments to make the usage of this script and what it
4891 does easier to understand.
4893 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
4895 * tools/gst-plot-timeline.py:
4896 Add more options to gst-plot-timeline
4898 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
4900 * docs/design/part-synchronisation.txt:
4901 Some more info on how the stream_time in GstBaseSink is done.
4903 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
4905 * tests/check/generic/sinks.c: (gst_sinks_suite):
4906 Put back the tcase_set_timeout(), apparently it's needed after
4907 all; fix it up in a way that makes things work with valgrind too.
4909 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
4911 * gst/gstdebugutils.c:
4912 Add warning when failed to open file for writing.
4914 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4916 Based on patch by: Laurent Glayal <spglegle yahoo fr>
4918 * gst/gstvalue.c: (gst_value_is_fixed):
4919 Optimisation: bail out of the loop as early as possible (#500143).
4921 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4923 * gst/gstcaps.c: (gst_caps_to_string):
4924 * gst/gstinfo.c: (gst_debug_construct_term_color):
4925 * gst/gstparse.c: (gst_parse_launchv):
4926 * gst/gstutils.c: (gst_util_dump_mem):
4927 * gst/gstvalue.c: (gst_value_serialize_any_list),
4928 (gst_value_transform_any_list_string):
4929 Bunch of gratuitous nano-optimisations.
4931 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4933 * tests/check/generic/sinks.c: (async_done_func),
4934 (async_done_eos_func):
4935 Fix leak in unit test (bus sync handler must unref the message
4936 if it returns GST_BUS_DROP). Don't fiddle with the default test
4937 timeout, this is smaller than the current preconfigured value
4938 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
4939 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
4941 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4943 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4946 Check for stdio_ext.h for the filesink changes.
4948 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
4949 (gst_file_sink_class_init), (gst_file_sink_init),
4950 (gst_file_sink_dispose), (gst_file_sink_set_property),
4951 (gst_file_sink_get_property), (gst_file_sink_open_file),
4952 (gst_file_sink_close_file):
4953 * plugins/elements/gstfilesink.h:
4954 Add two properties to control the buffering mode and size.
4955 API: GstFileSink::buffer-mode
4956 API: GstFileSink::buffer-size
4959 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4961 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
4962 Add some more docs to explain why a FIXME was wrongly added.
4964 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
4967 Fix typo in the gst_object_{ref,unref} documentation.
4969 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
4971 * tests/check/libs/controller.c:
4972 * tests/check/libs/typefindhelper.c:
4973 * tests/check/pipelines/parse-launch.c:
4974 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
4975 going to be deprecated (see #498924).
4977 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
4979 * gst/gsttypefind.c: (gst_type_find_register):
4980 Make gst_type_find_register work for static typefind functions,
4981 ie. allow passing plugin == NULL (prerequisite for #498924).
4983 * gst/gstelementfactory.c: (gst_element_register):
4984 Small docs addition.
4986 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
4988 * gst/gstpad.c: (gst_pad_dispose):
4989 Really unlink the peer pad instead of setting the peer pointer to NULL
4990 when we dispose the pad.
4991 This correctly calls the unlink functions and makes sure that the peer
4992 does not have a handle to invalid memory. See #504671.
4994 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4995 Add testsuite for above case.
4997 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
4999 Patch by: Peter Kjellerstedt <pkj axis com>
5001 * libs/gst/check/gstcheck.h:
5002 Fix detection of the check version we're compiling against (would
5003 otherwise break if check goes v0.10.0); correctly report the
5004 name of the failed test again in case of failure, instead of
5005 just 'tf' (fixes #504499).
5007 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5009 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5010 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5011 (gst_base_src_loop), (gst_base_src_set_flushing),
5012 (gst_base_src_change_state):
5013 Allow sending EOS to the source to make it send out an EOS event from
5014 the streaming thread.
5015 Update docs and deprecate the old NULL/READY shutdown method.
5017 * tests/check/libs/basesrc.c: (GST_START_TEST),
5018 (gst_basesrc_suite):
5019 Add unit test for controlled shutdown.
5021 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5023 * docs/design/part-synchronisation.txt:
5026 * gst/gstsegment.c: (gst_segment_set_seek),
5027 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5028 (gst_segment_to_running_time):
5029 The seek format can be different from the segment format when the start
5030 and stop values are not to be updated, when we only do a rate change for
5033 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5034 (gst_segment_suite):
5035 Add a testcase for the rate-only seeks, checking that the format is
5036 correctly ignored when start and stop are not updated.
5038 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5040 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5042 * win32/vs8/grammar.vcproj:
5043 * win32/vs8/libgstcontroller.vcproj:
5044 * win32/vs8/libgstreamer.vcproj:
5045 Fix compilation with VS8 and include some missing files.
5047 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5050 Small docs addition: mention that the strings returned by
5051 gst_tag_list_get_string*() are in UTF-8 encoding.
5053 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5056 The check-exports stuff moved to common/win32.mak, so include that.
5058 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5060 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5061 (gst_base_src_perform_seek), (gst_base_src_get_range),
5062 (gst_base_src_set_playing), (gst_base_src_change_state):
5063 Make _wait_playing() not check any variables so that we can call this
5064 function from subclasses. Move the checks elsewhere similar to
5065 _wait_preroll() in basesink.
5067 Only signal the LIVE cond when we are going back to PLAYING.
5069 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5071 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5072 Use g_remove() and g_rename(). Check result of g_rename(), and
5073 don't leak the open file descriptor if we error out when writing.
5075 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5076 Must check the return value of close() after writing out the new
5077 registry file. Sometimes write problems such as out-of-diskspace
5078 are only reported when the file is closed and not already during
5079 the write. This may have caused partial/broken registry files in
5080 some rare circumstances. Should fix #503675.
5082 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5084 * docs/gst/.cvsignore:
5085 * docs/libs/.cvsignore:
5086 * docs/plugins/.cvsignore:
5087 Ignore files generated by new common/* modifications
5089 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5091 * win32/common/libgstbase.def:
5092 Yes, you can also have a <TAB> if you want.
5094 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5096 * win32/common/libgstbase.def:
5097 Add new basetransform API to win export file.
5099 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5101 * tests/check/gst/gstbin.c:
5102 Adjust the test to the refcount change two days ago.
5104 2007-12-14 David Schleef <ds@schleef.org>
5106 * docs/faq/getting.xml: Fix typo.
5108 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5110 * docs/libs/gstreamer-libs-sections.txt:
5111 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5112 (gst_base_transform_prepare_output_buffer),
5113 (gst_base_transform_set_gap_aware):
5114 * libs/gst/base/gstbasetransform.h:
5115 API: Add gst_base_transform_set_gap_aware() to control whether
5116 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5117 get buffers with this flag at all. Fixes #503231.
5119 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5121 * libs/gst/base/gstbasesink.c:
5122 * libs/gst/base/gstbasesrc.c:
5123 * libs/gst/base/gstbasetransform.c:
5124 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5125 thread. Correct log message in gstbasesrc.c.
5127 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5129 * gst/gstutils.c: (element_find_unconnected_pad):
5130 Fix possible compiler warning (#503417).
5132 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5134 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5135 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5137 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5139 * tools/gst-inspect.c: (print_element_properties_info):
5140 Add support for GstFraction properties.
5142 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5145 Add check-exports target and run it as part of 'make check'
5146 (see #499140 and #493983).
5148 * gst/gst_private.h:
5149 * gst/gstelementfactory.h:
5150 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5151 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5152 (_priv_gst_in_valgrind):
5153 * gst/gstinfo.h: (GstLogFunction):
5154 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5155 (gst_type_find_register):
5156 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5157 (gst_type_find_factory_get_type):
5158 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5159 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5160 (gst_controller_new_valist), (gst_controller_new_list),
5161 (_gst_controller_dispose), (_gst_controller_class_init):
5162 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5163 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5164 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5165 (gst_object_get_controller), (gst_object_set_controller),
5166 (gst_object_suggest_next_sync), (gst_object_sync_values),
5167 (gst_object_set_control_source), (gst_object_get_control_source),
5168 (gst_object_get_value_arrays), (gst_object_get_value_array),
5169 (gst_object_get_control_rate), (gst_object_set_control_rate):
5170 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5171 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5172 Make some functions that should be static static; rename some
5173 private symbols so that they don't get exported; add some FIXME
5174 comments so we can move accidentally exported functions into
5175 our private section in 0.11.
5177 * win32/common/libgstreamer.def:
5178 Add gst_utils_get_timestamp().
5180 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5184 Add more missing "Since:" tags to docs.
5186 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5189 Add mising "Since:" to docs.
5191 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5194 Include "glib-compat-private.h" to fix the build on system with
5195 glib < 2.10. Fixes #503131.
5197 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5201 Actually its not PURE as it gets the time from elsewhere.
5203 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5205 * docs/gst/gstreamer-sections.txt:
5207 * gst/gstdebugutils.c:
5211 * libs/gst/base/gstbasesink.c:
5212 * tools/gst-launch.c:
5213 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5214 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5215 Thanks Tim for spotting.
5216 API: gst_util_get_timestamp
5218 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5221 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5223 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5225 * gst/gststructure.c: (gst_structure_validate_name),
5226 (gst_structure_new_valist), (gst_structure_parse_value),
5227 (gst_structure_from_string):
5228 Don't crash in _from_string() if the structure name is not valid
5229 (fixes #501560). Allow structure names to start with a number
5230 again (this apparently broke the ubuntu codec installer).
5232 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5234 Add unit test for the crash; update unit tests for new behaviour.
5236 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5239 Clarify gst_element_get_compatible_pad() documentation.
5242 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5244 * tests/check/Makefile.am:
5245 Don't forget to dist {gst,libs}/struct_hppa.h.
5247 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5249 * libs/gst/base/gstbasesink.c:
5250 Use new API to get elapsed time.
5252 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5254 * gst/gstdebugutils.c:
5256 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5258 * tools/gst-launch.c:
5259 Use new API to get elapsed time.
5261 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5263 * docs/gst/gstreamer-sections.txt:
5265 * gst/gstdebugutils.c:
5267 Rename new API + ChangeLog surgery to remove old name from last entry..
5269 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5271 * docs/gst/gstreamer-sections.txt:
5273 * gst/gstdebugutils.c:
5275 Now hide the different clock stuff behind a macro.
5277 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5280 * gst/gstdebugutils.c:
5282 Apply the posix-timer check from #361155. Conditionally use the posix
5283 timer for logging. This gives better timestamp precission, less
5284 overhead and no ntp jitter.
5286 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5288 * gst/gstminiobject.c: (gst_mini_object_get_type),
5289 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5290 (gst_mini_object_finalize), (gst_mini_object_copy),
5291 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5292 (gst_mini_object_replace), (param_mini_object_validate),
5293 (gst_param_spec_mini_object_get_type):
5294 Some cleanup and checking against invalid function parameters.
5296 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5298 * docs/gst/gstreamer-sections.txt:
5300 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5301 (gst_systemclock_suite):
5302 Start merging in the easy bits of #361155, the monotonic clock patch.
5303 This one adds a few handy macros with docs and a testsuite.
5305 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5307 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5308 Be a bit smarter when seeking, like, don't try to do a seek when it's
5309 not needed. This avoids errors when the file is not seekable.
5312 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5314 * docs/gst/gstreamer-docs.sgml:
5315 * docs/gst/gstreamer-sections.txt:
5316 * docs/gst/gstreamer.types.in:
5321 * plugins/elements/gstqueue.c:
5322 Due to popular request remove preset interface again. :-(.
5324 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5326 * tools/gst-inspect.c:
5327 Print 'default value' for enums and flags too.
5329 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5331 * docs/random/ensonic/profiling.txt:
5335 Fix typo and give better log output.
5337 * gst/gstdebugutils.c:
5338 * gst/gstdebugutils.h:
5339 More ideas, make graphs a bit smaller and fix param name in macro.
5341 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5344 Try harder to use the return value from fgets().
5346 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5349 For theses two fgets we handle the error below.
5351 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5353 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5354 Only send upstream events upstream. Fixes #498746.
5356 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5358 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5360 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5361 (gst_identity_init), (gst_identity_transform_ip),
5362 (gst_identity_set_property), (gst_identity_get_property):
5363 * plugins/elements/gstidentity.h:
5364 Add property to disable handoff signal emission. Fixes #498694.
5365 API: GstIdentity::signal-handoffs
5367 2007-11-21 Julien Moutte <julien@fluendo.com>
5369 * docs/faq/gst-uninstalled: Yet another missing library for the
5370 uninstalled script (fft)
5372 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5374 * docs/faq/developing.xml:
5375 Add a question about how to submit new translations.
5377 * docs/random/release:
5378 Update the contact email address for the Translation Project
5380 * plugins/elements/gstfdsrc.c:
5381 The parent_class for fdsrc is pushsrc, not GstElement.
5383 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5386 Plug a leak and fix saving.
5388 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5390 * docs/gst/gstreamer-sections.txt:
5391 Add new gst_preset__get_property_names() function to the docs
5394 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5398 Change _get_preset_names API to return a strv with copies. Add
5399 _get_property_names to allow implementations to filter and provide
5400 good default implementation.
5402 2007-11-20 Julien MOUTTE <julien@moutte.net>
5404 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5407 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5410 More cleanups, docs, and TODOs from comments that now slowly come in.
5412 2007-11-19 Julien MOUTTE <julien@moutte.net>
5414 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5417 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5420 Fix bogus warning and make the property type specific code more
5423 2007-11-19 Julien MOUTTE <julien@moutte.net>
5425 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5428 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5430 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5431 (gst_bin_add_func), (gst_bin_remove_func),
5432 (gst_bin_change_state_func), (gst_bin_continue_func):
5433 Change email, cleanups add some more debug and comments.
5434 Also set bus and clock on new elements when the pipeline was in error.
5436 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5439 * gst/gstdebugutils.c:
5440 Fix build with --disable-gst-debug. Fixes #497859.
5441 Spotted by Sameer Naik.
5443 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5446 Little documentation improvment.
5449 More TODO cleanups. Remove c++ comments.
5451 * libs/gst/controller/gstcontroller.c:
5452 Add TODO and use quark from static string.
5454 * tests/check/gst/gstmessage.c:
5455 * tests/check/gst/gststructure.c:
5456 Use quark from static string.
5458 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5461 Add some comments and TODOs.
5464 Add padding for future changes.
5466 * plugins/elements/gstqueue.c:
5467 Implement the iface.
5469 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5471 * docs/gst/gstreamer-docs.sgml:
5472 * docs/gst/gstreamer-sections.txt:
5473 * docs/gst/gstreamer.types.in:
5478 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5480 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5486 === release 0.10.15 ===
5488 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5491 releasing 0.10.15, "October"
5493 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5495 * win32/vs6/libgstreamer.dsp:
5496 Convert line endings back to DOS.
5498 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5500 * docs/design/draft-tagreading.txt:
5501 * docs/random/ensonic/profiling.txt:
5502 Update fast tagreading draft and performance profiling ideas.
5504 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5506 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5507 Don't hold the object lock when unreffing a buffer because it could
5508 cause a deadlock when the finalize function wants to grab the object
5509 lock too. Fixes #495133.
5511 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5513 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5514 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5515 Also accumulate time correctly when doing reverse playback. Fixes
5517 When converting to running and stream time, use default values for
5518 start/stop/time/accum when comparing different formats. Fixes #494245.
5520 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5521 Do running/stream time in TIME format.
5523 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5524 (gst_segment_suite):
5525 2 new unit tests for segment accumulation.
5527 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5529 * gst/gst.c: (init_pre):
5530 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5531 (_gst_debug_bin_to_dot_file):
5532 Move getenv() back into gst_init, so everyone can live happily
5533 ever after. Make sure the symbol isn't exported though.
5535 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5537 Patch by: Sebastien Moutte <sebastien moutte net>
5539 * win32/common/gstenumtypes.c:
5540 * win32/common/gstenumtypes.h:
5543 * win32/vs6/libgstreamer.dsp:
5544 Update vs6 project files (#494343).
5546 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5548 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5549 (gst_base_src_perform_seek), (gst_base_src_default_event),
5550 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5551 (gst_base_src_activate_pull):
5552 Unify flushing code, remove some old unlock code that is no longer used.
5553 Take the streaming lock when seeking to avoid races. Fixes #492729.
5554 Added some more comments.
5556 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5558 * gst/gst.c: (_gst_disable_segtrap):
5559 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5560 we can use gst_segtrap_is_enabled() there now that we have that API.
5561 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5562 to do the getenv here (and export the variable).
5564 * gst/gstdebugutils.c: (debug_dump_element),
5565 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5566 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5568 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5569 (gst_debug_log_default):
5570 Rename _gst_info_start_time to priv_gst_info_start_time so it
5571 doesn't get exported (was never in any header).
5573 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5574 (gst_plugin_loading_mutex):
5575 Make static mutex gst_plugin_loading_mutex really static (was never
5576 in any header), and use gst_segtrap_is_enabled() instead of
5577 _gst_disable_segtrap.
5579 * gst/gsttrace.c: (_gst_trace_default):
5580 Make local _gst_trace_default static (was never in any header).
5582 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5584 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5586 * win32/common/libgstbase.def:
5587 * win32/common/libgstcontroller.def:
5588 * win32/common/libgstdataprotocol.def:
5589 * win32/common/libgstnet.def:
5590 * win32/common/libgstreamer.def:
5591 Add more missing symbols, remove some duplicates, and sort
5592 as the 'sort' command sorts it (partially fixes #493983).
5594 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5596 * gst/gstelement.c: (gst_element_set_state_func):
5597 Only change the state cookie if a different state was set on the
5598 element. See #492729.
5600 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5603 Remove unused and uninitialised type variables that were still
5604 exported for some reason (they were never in any header files
5607 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5609 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5610 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5611 (gst_base_sink_event), (gst_base_sink_get_position_last),
5612 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5613 (gst_base_sink_change_state):
5614 Don't try to report a 0 position when we don't know, return -1 and FALSE
5615 instead. This mostly happens when we are prerolling.
5616 Make sure we can report the right position before we post the ASYNC_DONE
5617 message so that a message handler can query position without races.
5619 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5620 (async_done_handoff), (async_done_func), (send_buffer),
5621 (async_done_eos_func), (gst_sinks_suite):
5622 Add two tests for the above.
5624 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5627 Update with new email address.
5629 * docs/design/part-TODO.txt:
5630 Add some more info about future pad-block and negotiation changes.
5632 * docs/design/part-buffering.txt:
5633 Add some ideas about buffering reporting.
5635 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5637 * tests/check/gst/gstobject.c:
5638 Disable silly racy test that always fails on this combination of CPU
5641 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5643 Patch by: Murray Cumming <murrayc@murrayc.com>
5646 Corrected the registration of the parent-set and parent-unset
5647 signals: The parameter is a GstObject, not a GObject (#493134).
5649 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5651 * gst/gst_private.h:
5660 Move declaration of private _gst_foo_initialize() functions into
5661 our private header file where they should have been all along.
5663 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5665 * docs/plugins/gstreamer-plugins-sections.txt:
5666 * gst/gstdebugutils.h:
5668 * plugins/elements/gstqueue.c:
5669 gtk-doc fixes; trailing-comma-in-enum fix.
5671 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5673 * gst/gst.c: (gst_deinit):
5674 Clean up on deinit (not the external ones though, doesn't seem to be
5675 needed for some reason).
5677 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5679 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5680 Remove __declspec(dllimport) for MSVC that was copied over into core
5681 from a plugin, obviously without ever having been tested (note the
5682 single underscore in _declspec in the initial commit), and that doesn't
5683 really make sense. See #492077.
5685 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5687 * gst/gst.c: (init_post):
5688 * gst/gstevent.c: (_gst_event_initialize):
5689 * gst/gstquery.c: (_gst_query_initialize):
5690 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5691 g_type_class_ref() other types as well, see #349410 and #64764.
5693 * gst/gstbuffer.c: (_gst_buffer_initialize):
5694 * gst/gstmessage.c: (_gst_message_initialize):
5695 Simplify existing g_type_class_ref().
5697 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5699 * gst/gstformat.c: (_gst_format_initialize):
5700 g_type_class_ref() our GstFormat type to make sure we avoid the
5701 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5702 bug #64764. Should fix intermittent tee unit test failures (#474823).
5704 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5706 * tests/check/elements/tee.c: (test_num_buffers):
5707 Simplify, simplify, simplify - or not. Rewrite unit test
5708 not to use gst_parse_launch(); allow N sub-streams. Increasing
5709 the number of sub-streams seems to reproduce #474823 more easily.
5711 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5713 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5716 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5717 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5718 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5719 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5720 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5721 so use _pipe() directly (#492077).
5723 * win32/common/dirent.c: (_treaddir):
5724 Add a couple of casts to make it build without warnings with MSVC.
5726 * win32/common/libgstreamer.def:
5727 Add some more symbols that need to be exported.
5729 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5731 * tests/examples/metadata/read-metadata.c: (message_loop):
5732 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5733 arriving in a second or third tag message are added to
5734 the tag list as well.
5736 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5738 * libs/gst/base/gstbasesrc.c:
5739 Its "Since:" and not "@Since:". And remove an superflous cast.
5741 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5743 * docs/libs/gstreamer-libs-sections.txt:
5744 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5745 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5746 (gst_base_sink_get_property), (gst_base_sink_render_object),
5747 (gst_base_sink_preroll_object),
5748 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5749 (gst_base_sink_change_state):
5750 * libs/gst/base/gstbasesink.h:
5751 Add a new last-buffer property that contains the last buffer used in
5752 basesink for preroll or rendering. useful for making snapshots.
5753 API: gst_base_sink_get_last_buffer()
5754 API: GstBaseSink::last-buffer
5756 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5758 * docs/gst/running.xml:
5760 * gst/gstdebugutils.c:
5761 * gst/gstdebugutils.h:
5762 * tools/gst-launch.c:
5763 Improve bin graph dumping, by using the envvar to specify a path.
5764 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5766 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
5768 * plugins/elements/gsttypefindelement.c:
5769 (gst_type_find_element_handle_event),
5770 (gst_type_find_element_activate):
5771 Post special error message if we can't determine the type of a stream
5774 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5776 * docs/gst/running.xml:
5777 * gst/gstdebugutils.c:
5778 Document new env-var. Add one log-line after dumpng a graph.
5780 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
5783 Ugly hack to put the (recently removed and non-portable, apparently)
5784 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5785 GNU ld, because without that 'make check' fails miserably on my debian
5786 stable box. Someone with more knowledge of linker intricacies and
5787 portability issues than me fix this properly please.
5789 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
5791 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5792 Reset last seen position after flushing so that we don't report the old
5795 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5797 * gst/gstelementfactory.c: (gst_element_register):
5799 Patch from Alessandro Decina adding get_type_full and
5800 get_protocols_full private vfuncs to the URIHandler interface
5801 to allow bindings to support creating URI handlers.
5802 Partially fixes: #339279
5803 API: GstURIHandlerInterface::get_type_full
5804 API: GstURIHandlerInterface::get_protocols_full
5806 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5808 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5809 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5810 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5811 Make it so that pads are considered linked until a buffer is pushed
5812 and discovered otherwise. This avoids problems with decodebin2 hanging
5813 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5816 Make sure we lock the multiqueue when updating the max-size properties.
5818 Fix a crash on Solaris in a debug statement in get_request_pad that
5819 passes a NULL string to GST_DEBUG.
5821 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5822 (run_output_order_test):
5823 Fix the test to allow the first buffer on not-linked pads to come out
5824 of sequence while multiqueue discovers that they are not-linked.
5826 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5829 * libs/gst/check/Makefile.am:
5830 Use a custom export symbol regex for libgstcheck, as it needs
5831 to export symbols that don't match the standard GStreamer gst_*
5832 pattern, and --export-dynamic is not portable (only works on
5835 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5836 (gst_check_setup_sink_pad):
5837 Make sure to pass a message parameter to the fail_* macros.
5839 * tests/check/gst/gstinfo.c: (GST_START_TEST):
5840 Fix some compiler warnings.
5842 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
5844 * tests/check/gst/gststructure.c: (test_to_string):
5845 Disable test that checks that white spaces are not allowed
5846 in structure names or field names, since we need to
5847 support that for now for backwards compatibility reasons.
5849 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5851 * docs/gst/gstreamer-sections.txt:
5854 API: add GST_TAG_ARTIST_SORTNAME
5855 API: add GST_TAG_ALBUM_SORTNAME
5856 API: add GST_TAG_TITLE_SORTNAME
5857 Add tag variants for sorting (#414539).
5859 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5861 * gst/gststructure.c:
5862 Also allow white space for names so we don't break
5863 backwards compatibility.
5865 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
5867 * docs/design/part-TODO.txt:
5868 * docs/design/part-segments.txt:
5869 * docs/design/part-streams.txt:
5872 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5874 * docs/gst/gstreamer-sections.txt:
5875 Fixed documentation from my previous commit (added new API add
5876 gst_value_set_structure(), add gst_value_get_structure() and
5877 GST_VALUE_HOLDS_STRUCTURE).
5879 2007-10-22 Stefan Kost <ensonic@users.sf.net>
5881 * gst/gstdebugutils.c:
5882 Reflow code to fix uninitialized variable warning.
5884 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5886 * gst/gstcaps.c: (gst_caps_to_string),
5887 (gst_caps_from_string_inplace):
5888 * gst/gststructure.c: (gst_structure_get_abbrs),
5889 (gst_structure_to_string), (gst_structure_from_string):
5890 * gst/gstvalue.c: (gst_value_set_structure),
5891 (gst_value_get_structure), (gst_value_serialize_structure),
5892 (gst_value_deserialize_structure), (_gst_value_initialize):
5894 * tests/check/gst/gststructure.c: (GST_START_TEST),
5895 (gst_structure_suite):
5896 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5897 Added GstStructure to gst_value_table and its related functions.
5898 Changed gst_structure_to_string to print ';' in the end.
5899 Changed gst_caps_to_string to not print ';' beteween its
5900 fields (structures) anymore and remove the lastes ';' from latest
5901 structure. Now it is possible to have nested structures.
5902 In addition, backward compatibilty is assured by accepting '\0' as
5903 end delimiter. Fixes: #487969.
5904 API: add gst_value_set_structure()
5905 API: add gst_value_get_structure()
5906 API: add GST_VALUE_HOLDS_STRUCTURE
5908 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
5911 When no GSource callback has been set up, tell developer
5912 to use a function that actually exists.
5914 2007-10-17 Stefan Kost <ensonic@users.sf.net>
5916 * docs/gst/gstreamer-sections.txt:
5920 * gst/gstdebugutils.c:
5921 * gst/gstdebugutils.h:
5924 * tools/gst-launch.c:
5925 Allow dumping pipelines as dot graphs. Fixes #456573.
5927 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5929 * gst/gststructure.c:
5930 Allow '+' as well, it can be part of media or mime types
5931 such as image/svg+xml.
5933 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5935 * docs/gst/gstreamer-sections.txt:
5938 API: add gst_bus_pop_filtered
5939 API: add gst_bus_timed_pop_filtered
5940 Two new functions for waiting for specific message types on the
5941 bus for a specified amount of time without iterating any main
5942 loops or main contexts.
5944 * tests/check/gst/gstbus.c:
5945 Some tests for the new functions.
5947 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5949 * docs/libs/gstreamer-libs-sections.txt:
5950 Make gtk-doc ignore stuff it should ignore.
5952 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5954 * libs/gst/check/gstcheck.c:
5955 * libs/gst/check/gstcheck.h:
5956 Allow runtime selection of unit tests to run via the GST_CHECKS
5957 environment variable (test case function names, comma-separated).
5959 2007-10-16 Stefan Kost <ensonic@users.sf.net>
5961 * gst/gststructure.c:
5962 * tests/check/gst/gststructure.c:
5963 Revert serialisation change and constrain structure-names after
5964 consensus on irc. Update api documentation to reflect the change.
5966 2007-10-16 Stefan Kost <ensonic@users.sf.net>
5968 * gst/gststructure.c:
5969 Improve serialization and fix tests.
5971 * tests/check/gst/gststructure.c:
5972 Add another test that covers why I actually did the previous structure
5975 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
5977 * tools/gst-inspect.c: (print_element_info):
5978 Don't crash when inspecting an element.
5980 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
5982 * tests/check/gst/gststructure.c:
5983 Add unit test for escaping of structure name when serialising
5984 and deserialising to/from strings.
5986 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
5988 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5989 (gst_single_queue_new):
5990 * plugins/elements/gstqueue.c: (gst_queue_init),
5991 (gst_queue_push_one):
5992 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
5993 upstream is tricked into thinking it can suggest a format downstream
5994 while downstream does not support that format. The real problem is that
5995 core calls acceptcaps when pushing a buffer with new caps, for which we
5996 do a little workaround by setting the caps on the srcpad ourselves
5997 before pushing the buffer (until this is figured out). Fixes #486758.
5999 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6001 * gst/gststructure.c:
6003 Add some more comments and debug output. Quote structure name to fix
6004 deserialisation of some strings.
6006 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6009 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6010 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6012 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6014 * tools/gst-inspect.c:
6015 Save approx. 400 1 byte allocs when printing. Use API to acces element
6021 * tools/gst-xmlinspect.c:
6022 Use API to acces element details.
6024 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6027 Fix some spelling errors.
6029 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6031 * gst/gstbin.c: (bin_handle_async_done):
6032 Correctly set the next state if all of our async children commited their
6033 state. This makes sure we can actually cancel the state change in
6034 progress. Fixes a regression in Rhythmbox when seeking.
6036 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6039 Don't shadow local variable.
6042 Don't shadow global function name.
6044 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6046 * gst/gstelementfactory.c:
6047 * gst/gstpluginfeature.c:
6048 * gst/gstpluginfeature.h:
6049 * gst/gstregistrybinary.c:
6050 * gst/gstregistryxml.c:
6051 * gst/gsttypefind.c:
6052 Use already-interned string for the private GstPluginFeature
6055 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6057 * docs/libs/gstreamer-libs-sections.txt:
6058 Add new API to docs; fixes the build.
6060 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6062 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6064 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6065 (gst_base_sink_event):
6066 * libs/gst/base/gstbasesink.h:
6067 Add function to wait for EOS, subclasses can use this to correctly wait
6068 for devices to drain before performing the EOS logic. Fixes #485343.
6069 API: gst_base_sink_wait_eos()
6071 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6074 Cast description string constants in GST_PLUGIN_DEFINE macros
6075 to a (gchar*) to make C++ code using these macros compile
6076 without warning with g++-4.2 (see #462737). Even if slightly
6077 ugly, this seems preferable to putting the description strings
6078 into the GLib quark table or making the structure member a
6079 const gchar * and doing casts in core code that allocs and
6080 frees these strings, or requiring a cast in the C++ code.
6082 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6085 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6086 to print the entire class/function signature into the log
6087 file for C++ code. This only affects C++ code, for C code
6088 everything remains the same.
6090 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6092 * gst/gstbin.c: (remove_from_queue):
6093 Work around a problem with pipelines containing (semi)loops until a
6094 proper, more complicated solution is ready. See #475455.
6096 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6100 * gst/gstregistrybinary.c:
6101 * gst/gstregistryxml.c:
6102 Put more strings into the GLib quark table. No need to keep
6103 a hundred-something copies of identical version strings,
6104 license strings, package name strings and package origin
6107 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6109 * docs/manual/advanced-dataaccess.xml:
6110 Don't imply that it's okay to unconditionally change
6111 buffer data or buffer metadata in a pad probe callback,
6112 and a bunch of other comments. Fixes #430031.
6114 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6116 * win32/common/gstenumtypes.c:
6117 * win32/common/gstenumtypes.h:
6118 * win32/common/gstversion.h:
6119 Update generated files.
6121 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6123 * docs/manual/advanced-autoplugging.xml:
6124 Prefix section with broken code with a warning (see #342432).
6126 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6128 * docs/manual/appendix-integration.xml:
6129 * docs/manual/basics-init.xml:
6130 Call g_thread_init() before g_option_context_new() to
6131 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6133 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6135 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6136 (gst_base_sink_queue_object_unlocked),
6137 (gst_base_sink_queue_object), (gst_base_sink_event),
6138 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6139 When we received EOS and are waiting for when to post the EOS message,
6140 our state is prerolled and we should not return ASYNC.
6141 Reorganize some code paths to implement this behavior.
6143 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6145 Add unit test to verify above EOS fix.
6147 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6149 * plugins/elements/gsttypefindelement.c:
6150 (gst_type_find_element_have_type), (gst_type_find_element_init),
6151 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6152 Move detecting the input caps of the sinkpad to the setcaps function.
6153 This allows us to update the output caps when we receive new input caps
6154 instead of always using the first detected caps.
6156 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6158 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6159 (gst_base_sink_get_position):
6160 Don't try to preroll non-async elements after a flush.
6161 Subtract latency form clock times when reporting position.
6163 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6165 * gst/gstpad.c: (gst_pad_pause_task):
6167 Small comment and documentation update.
6169 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6171 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6172 (gst_base_src_set_live), (gst_base_src_is_live),
6173 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6174 (gst_base_src_default_event), (gst_base_src_wait),
6175 (gst_base_src_do_sync), (gst_base_src_get_range),
6176 (gst_base_src_pad_get_range), (gst_base_src_loop),
6177 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6178 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6179 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6180 (gst_base_src_change_state):
6181 Rework the locking of basesrc in a similar fashion to basesink. We
6182 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6183 us to handle live sources and semi live ones much better.
6185 Fix unlocking when seeking, shutting down and pausing in live sources.
6187 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6189 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6190 Fix compilation again.
6192 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6195 Use meaningful categories for the logs to clean the default one.
6197 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6199 * tests/check/pipelines/cleanup.c:
6200 Print message name and not just number.
6202 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6204 * docs/design/draft-tagreading.txt:
6205 Add some more thoughts.
6207 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6209 * tests/check/pipelines/simple-launch-lines.c:
6210 Print message name and not just number.
6212 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6214 * libs/gst/base/gsttypefindhelper.c:
6215 Speedup typefinding. This is work in progress (see #459862).
6217 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6220 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6221 Spotted by Josep Torra Valles <josep@fluendo.com>.
6223 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6226 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6227 field has moved to GstObject.
6229 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6231 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6232 (gst_base_src_get_range), (gst_base_src_change_state):
6233 Call unlock for live sources so that they can't get stuck in _create and
6234 produce a buffer before they are set back to PLAYING.
6236 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6238 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6239 (gst_queue_locked_dequeue):
6240 Comment the segment-related code... in the PROPER function.
6241 See #482147 and my commit from yesterday.
6243 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6245 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6246 Also initialize the counter that calculates the first timestamp on a
6247 buffer correctly for non-live sources.
6249 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6251 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6252 Disable code that's breaking the current-time-level reporting.
6255 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6257 * docs/gst/gstreamer-sections.txt:
6258 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6259 as they shouldn't show up. Fixes the docs build.
6261 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6264 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6265 Define M_PI which is used in files which are including gstinfo.h.
6266 VS6 includes doesn't define it.
6267 * win32/common/libgstbase.def:
6268 * win32/common/libgstcontroller.def:
6269 * win32/common/libgstreamer.def:
6270 Add new exported functions and variables.
6271 * win32/vs6/libgstcontroller.dsp:
6272 * win32/vs6/libgstreamer.dsp:
6273 Update the list of files to build.
6275 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6277 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6279 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6280 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6281 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6282 Improve debugging. Fixes #480858.
6284 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6286 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6288 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6289 First patch of code cleanups, use the macros and right arguments in the
6290 macros to signal and lock the queue. See #480858.
6292 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6294 * gst/gstbus.c: (poll_func):
6295 Improve debugging when dealing with _poll().
6297 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6299 * gst/gstregistryxml.c:
6300 Fix memory leak I introduced a few days ago.
6302 2007-09-26 Michael Smith <msmith@fluendo.com>
6304 * gst/gstbuffer.c: (gst_buffer_finalize):
6305 Make it once again possible to free GstBuffers in the default
6307 The poisoning scribbles on parts of the miniobject we need in
6311 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6313 * docs/gst/gstreamer-sections.txt:
6316 API: add GST_TAG_COMPOSER, fixes #459809.
6318 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6322 Add the 3-clause BSD license and the MIT/X11 license to the license
6323 list. Fixes #479784.
6325 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6327 * docs/faq/getting.xml:
6328 Add Q+A about different GStreamer versions (#364056).
6330 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6332 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6333 (gst_base_sink_event), (gst_base_sink_change_state):
6334 Return correct gboolean from query function.
6336 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6338 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6339 (gst_base_sink_event), (gst_base_sink_query),
6340 (gst_base_sink_change_state):
6341 Simplify latency query.
6342 When not synchronizing, we can report latency without querying the peer
6345 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6349 Fix small typos in the docs.
6351 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6353 * docs/design/draft-latency.txt:
6354 * docs/design/draft-push-pull.txt:
6355 * docs/design/draft-tagreading.txt:
6356 * docs/design/part-MT-refcounting.txt:
6357 * docs/design/part-activation.txt:
6358 * docs/design/part-block.txt:
6359 * docs/design/part-element-source.txt:
6360 * docs/design/part-events.txt:
6361 * docs/design/part-gstbin.txt:
6362 * docs/design/part-gstelement.txt:
6363 * docs/design/part-gstobject.txt:
6364 * docs/design/part-gstpipeline.txt:
6365 * docs/design/part-messages.txt:
6366 * docs/design/part-preroll.txt:
6367 * docs/design/part-push-pull.txt:
6368 * docs/design/part-qos.txt:
6369 * docs/design/part-query.txt:
6370 * docs/design/part-scheduling.txt:
6371 * docs/design/part-seeking.txt:
6372 * docs/design/part-segments.txt:
6373 * docs/design/part-states.txt:
6374 Documentation updates and typo fixes.
6376 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6378 * plugins/elements/gstfakesink.c:
6379 Add some debug text to error message to indicate that
6380 we errored out on request.
6382 * tools/gst-launch.c:
6383 When the state change to PLAYING fails, check for an
6384 error message on the bus and print it.
6386 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6388 translated by: Jorge González González <aloriel@gmail.com>
6392 Added Spanish translation.
6394 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6396 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6397 Fix printf arguments.
6399 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6401 * tests/check/generic/states.c:
6402 Improved state change unit test.
6404 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6407 Move priv to the right place.
6409 * gst/gstsystemclock.c:
6410 Add FIXME: and improve log.
6412 * tests/check/Makefile.am:
6413 * tests/examples/manual/Makefile.am:
6414 Work with all types of registries.
6416 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6418 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6419 Don't unref the event after pushing it. Fixes #478401.
6421 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6424 * tests/examples/manual/.cvsignore:
6425 Ignore registries in any format.
6427 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6429 * gst/glib-compat-private.h:
6430 Add compatibility macro for g_intern_string() for
6431 GLib-2.8 (any reason we can't just bump the
6432 requirement to at least 2.10?)
6434 * gst/gstpadtemplate.h:
6435 * gst/gstelementfactory.c:
6436 * gst/gstregistryxml.c:
6437 * gst/gstregistrybinary.c:
6438 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6439 up the internal code accordingly. This shouldn't be a problem, since
6440 there is no reason external code could ever assume the string in such
6441 a structure is dynamically allocated unless it did that itself; the
6442 use of g_strdup() is private to element factories. The new code also
6443 saves some memory by putting pad template name strings into the GLib
6444 quark table instead of allocating them dynamically.
6445 Declaring this field constant fixes warnings with g++-4.2 when using
6446 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6448 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6450 * gst/gstelementfactory.c:
6451 Release static caps. Fixes #475723.
6453 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6457 Make some internal API take const gchar * instead of just
6458 gchar * to avoid compiler warnings with g++-4.2.2 when
6459 passing string constants (partially fixes #478092).
6461 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6463 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6464 A latency query fails when one of the sinks fail.
6466 * gst/gstelement.c: (gst_element_set_base_time):
6469 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6471 * gst/gstbin.c: (gst_bin_continue_func):
6472 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6473 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6474 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6476 Fix minor compilation warnings shown with Forte.
6478 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6480 * plugins/elements/gstqueue.c: (apply_buffer),
6481 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6482 Measure queue level based on the diff between head and tail timestamps
6483 even when pushing the first buffer.
6485 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6487 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6488 (gst_base_sink_event), (gst_base_sink_change_state):
6489 Sinks that don't preroll can always be queried for the latency.
6490 Don't post ASYNC start when we are not async.
6492 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6494 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6495 (gst_queue_handle_sink_event), (gst_queue_chain),
6496 (gst_queue_push_one), (gst_queue_handle_src_query),
6497 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6498 * plugins/elements/gstqueue.h:
6499 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6500 push more buffers but allow pushing of EOS and NEWSEGMENT.
6501 Add some more debug info here and there. Fixes #476514.
6503 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6505 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6506 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6507 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6508 (gst_base_sink_set_flushing), (gst_base_sink_query),
6509 (gst_base_sink_change_state):
6510 Latency query is allowed after we are prerolled. Introduce a new flag
6511 for this and stop abusing other variables.
6513 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6515 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6516 Push OOB events downstream when we get them in send_event. This allows
6517 the application to insert events in the pipeline.
6518 Add some more comments.
6520 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6522 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6523 (do_bin_latency), (gst_bin_change_state_func):
6524 * gst/gstpipeline.c: (gst_pipeline_change_state):
6525 Move latency query from GstPipeline to GstBin so that we can also
6526 use it when async-handling is enabled on bins.
6528 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6530 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6531 (gst_base_src_do_sync), (gst_base_src_change_state):
6533 Clean up the timestamping and syncing code for pseudo live sources.
6535 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6537 Patch by: Steve Fink <sphink gmail com>
6539 * docs/manual/appendix-checklist.xml:
6540 Mention less -R switch in the section about debug output (#474055).
6542 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6544 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6545 Queue can latency to the pipeline up to the configured max size in time.
6546 Report this fact in the latency query.
6548 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6550 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6552 * libs/gst/controller/gstinterpolation.c:
6553 * libs/gst/controller/gstlfocontrolsource.c:
6554 Use gst_guint64_to_gdouble() when converting from a uint64 or
6555 GstClockTime to double to fix the build on win32. Fixes #474371.
6557 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6559 * gst/gstbuffer.c: (gst_buffer_finalize):
6560 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6561 When finalizing a buffer the complete struct is filled with 0xff,
6562 thus making a use of the buffer after the final unref impossible.
6564 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6566 * tests/check/libs/controller.c: (GST_START_TEST):
6567 Use fail_unless_equals_int(a, b) instead of
6568 fail_unless_equals (a == b) to get better output on failures.
6570 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6572 * tests/check/gst/gsturi.c:
6573 Also check for the other file URI variant on win32.
6575 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6577 * gst/gsturi.c: (gst_uri_get_location):
6578 If there's no hostname, we want to return 'c:/foo/bar.txt'
6579 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6581 * tests/check/gst/gsturi.c:
6582 Unit test for the above and a few more things.
6584 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6586 * docs/design/part-live-source.txt:
6587 Add docs on how live sources should timestamp.
6589 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6590 Add some more debug info.
6591 For subclasses that are live and like to sync, add aditional startup
6592 latency to sync time and timestamps so that we timstamp according to the
6595 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6598 Also do a g_type_class_ref() for the subbuffer type in
6601 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6603 * docs/gst/gstreamer-sections.txt:
6604 * gst/gstpad.c: (gst_pad_peer_query):
6606 Add function to perform a query on the peer of a pad.
6607 API: gst_pad_peer_query()
6609 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6611 * tests/check/gst/gstsystemclock.c:
6612 Cleanup the test a little (use gst-logging and not g_message). Improve
6613 test to check if a wait reached the target.
6615 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6617 * docs/libs/gstreamer-libs-sections.txt:
6618 Add new API to docs and fix the build.
6620 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6622 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6623 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6624 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6625 (gst_base_src_get_property), (gst_base_src_do_sync):
6626 * libs/gst/base/gstbasesrc.h:
6627 Add property to make the basesrc timestamp buffers based on the current
6629 API: GstBaseSrc::do-timestamp
6630 API: gst_base_src_set_do_timestamp()
6631 API: gst_base_src_get_do_timestamp()
6633 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6635 * docs/random/release:
6636 Really make sure translations are up-to-date before
6637 a release (#465010).
6639 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6641 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6642 Always destroy the timer, also in error cases.
6644 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6646 * docs/manual/highlevel-xml.xml:
6647 Fix XML example code. Fixes #472714.
6649 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6651 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6652 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6653 (gst_base_sink_query):
6654 Protect eos and have_preroll with the OBJECT lock so we don't need to
6655 take the PREROLL lock when querying the latency. Fixes #473846.
6657 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6660 Give some log-messages a category.
6662 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6664 * gst/gststructure.c:
6665 (gst_structure_fixate_field_nearest_fraction):
6666 Fix fraction list fixation code. Take the fraction with the smallest
6667 difference with the target instead of the first one in the list.
6669 * tests/check/gst/gststructure.c: (GST_START_TEST),
6670 (gst_structure_suite):
6671 Added test to verify correct fraction list fixation behaviour.
6673 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6675 * win32/common/libgstreamer.def:
6676 Export gst_bus_add_signal_watch too.
6678 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6680 * docs/libs/gstreamer-libs-sections.txt:
6681 Add new methods to docs.
6683 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6684 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6685 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6686 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6687 * libs/gst/base/gstbasesink.h:
6688 Add ts-offset property to fine-tune the synchronisation.
6689 API: GstBaseSink::ts-offset property
6690 API: gst_base_sink_set_ts_offset()
6691 API: gst_base_sink_get_ts_offset()
6693 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6695 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6696 (gst_base_sink_init), (gst_base_sink_set_sync),
6697 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6698 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6699 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6700 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6701 (gst_base_sink_get_property), (gst_base_sink_change_state):
6702 * libs/gst/base/gstbasesink.h:
6703 Add async property to instruct the sink never to inform the parent about
6704 ASYNC state changes, update docs.
6705 Check argument with g_return_* for the public functions.
6706 API: GstBaseSink::async property
6707 API: gst_base_sink_set_async_enabled()
6708 API: gst_base_sink_is_async_enabled()
6710 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6712 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6715 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6716 (gst_base_src_default_query), (gst_base_src_wait),
6717 (gst_base_src_do_sync), (gst_base_src_change_state):
6718 Rearrange some code so that we can add support for measuring the
6721 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6723 * docs/random/ensonic/dynlink.txt:
6724 More thoughs on this.
6726 * plugins/elements/gstcapsfilter.c:
6727 Add bugzilla ticket number to FIXME comment.
6729 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6731 * docs/design/part-TODO.txt:
6732 * docs/design/part-block.txt:
6735 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6738 Revert patch which uses $(gst_headers) instead of $^ because it
6741 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6743 * tests/check/gst/gstbin.c: (GST_START_TEST):
6744 Fix leaks in the new unit test.
6746 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6749 Don't use GST_INFO before the debug system is actually initialised
6750 (shouldn't do any harm, but won't print anything either, so we can
6751 just as well remove it).
6754 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6755 compilers that don't support variadic macros (such as MSVC), should
6756 check for debug_level <= __gst_debug_min as well, since that's the
6757 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6758 inline helper functions. Should improve performance a bit, but also
6759 makes sure uses of GST_INFO et.al are ignored if the debugging
6760 system isn't initialised yet (instead of printing an assertion
6763 2007-08-23 Stefan Kost <ensonic@users.sf.net>
6765 patch by: David Nečas <yeti@physics.muni.cz>
6768 Replace some non portable makefile constructs.
6770 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6772 * common/gtk-doc-plugins.mak:
6773 Grrrrr. Don't remove the types file on make clean.
6775 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6777 * tools/gst-launch.1.in:
6778 Add colorspace to example pipeline. Fixes #458274.
6780 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
6782 * docs/random/release:
6783 The release manager should run 'make download-po' before making a
6784 release to make sure translations are up-to-date.
6790 Add some new translations.
6792 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
6794 * tools/gst-launch.c: (event_loop), (main):
6795 Don´t try to do any state management when a live pipeline posts
6797 Also make the buffering string translatable.
6799 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6801 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6802 (bin_handle_async_start), (gst_bin_handle_message_func):
6804 When adding elements, insert messages into the bus of the newly added
6805 element and make sure the element is the source of the message. This
6806 allows the parent bin to intercept the message and do the
6807 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6808 messages to the app (which is not allowed).
6811 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6812 Fix testsuite so that is does not work around messages that should not
6813 have been posted in the first place.
6815 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6817 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6818 (update_degree), (gst_bin_sort_iterator_next):
6819 Fix annoying bug in the sorted iterator where a sink that is not really
6820 a sink (when it has downstream links) screwed up the iterator.
6822 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6823 Unit test to verify the fix.
6825 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6828 Add some more docs for the messages.
6830 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6831 (gst_base_sink_query):
6832 Add some more debugging.
6834 * tools/gst-launch.c: (event_loop):
6835 When interrupting, don't try to set pipeline to PAUSED twice.
6837 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6840 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6841 (bin_handle_async_start), (gst_bin_handle_message_func):
6842 Move ASYNC_START message posting to where it belongs, similar to
6844 Don't post ASYNC_START when we are in error.
6845 Post ASYNC_START when we added an async element to a bin.
6847 2007-08-14 Julien MOUTTE <julien@moutte.net>
6849 * gst/gstindex.c: (gst_index_add_association): Fix index entry
6850 generation from vargs. Fixes #466595.
6852 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6854 * gst/gstbin.c: (gst_bin_element_set_state):
6855 Always change the state of a NO_PREROLL element even if it has ASYNC
6856 elements inside (in case of a bin).
6858 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6859 Unit test for this case.
6861 2007-08-13 Stefan Kost <ensonic@users.sf.net>
6863 * libs/gst/check/gstbufferstraw.c:
6864 * libs/gst/check/gstcheck.h:
6865 * libs/gst/controller/gstcontroller.c:
6866 * libs/gst/controller/gstcontrolsource.h:
6867 * libs/gst/controller/gstlfocontrolsource.h:
6868 * plugins/elements/gstcapsfilter.h:
6869 * plugins/elements/gstfdsink.h:
6870 * plugins/elements/gstfdsrc.h:
6871 Add more missing docs.
6873 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6875 * gst/gststructure.c:
6876 Add Since tag to docs.
6878 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6880 * docs/gst/gstreamer-sections.txt:
6881 * gst/gststructure.c: (gst_structure_get_uint):
6882 * gst/gststructure.h:
6883 Add function to get uint from a structure.
6884 API: gst_structure_get_uint()
6886 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6888 * gst/gstcaps.c: (gst_caps_set_simple_valist),
6889 (gst_caps_intersect):
6890 Fix proper check for simple caps.
6892 2007-08-10 Stefan Kost <ensonic@users.sf.net>
6894 * docs/gst/Makefile.am:
6895 * docs/libs/Makefile.am:
6896 Remove cruft and do some cleanups.
6898 * docs/gst/gstreamer-docs.sgml:
6899 * docs/libs/gstreamer-libs-docs.sgml:
6900 Prepare for comming gtkdoc features (rebase against online docs).
6902 2007-08-10 Michael Smith <msmith@fluendo.com>
6904 * docs/gst/gstreamer-sections.txt:
6905 Add gst_registry_add_path to docs.
6907 2007-08-10 Michael Smith <msmith@fluendo.com>
6909 * gst/gstregistry.h:
6910 Add gst_registry_add_path, which was missing from this header.
6912 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
6914 * libs/gst/controller/gstlfocontrolsource.c:
6917 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
6919 * libs/gst/base/gstbasesink.c:
6920 Don't send an async_start message during downwards state change if
6921 target state is less than READY
6923 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6925 translated by: Gabor Kelemen <kelemeng@gnome.hu>
6929 Added Hungarian translation.
6931 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6938 Updated translations.
6940 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6942 * libs/gst/controller/Makefile.am:
6943 Dist gstlfocontrolsourceprivate.h
6945 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6947 * docs/libs/gstreamer-libs.types:
6948 Don't register the enum type gst_lfo_waveform_get_type() in the
6949 .types file - only GObject derived types belong.
6951 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
6953 Patch by: <arenevier at fdn dot fr>
6956 Remove comma from last element in enum to avoid compile errors when
6957 using -pendantic. Fixes #464366.
6959 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
6961 * docs/design/part-TODO.txt:
6962 Add some more TODO items
6964 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
6967 * gst/gstcaps.c: (gst_caps_intersect):
6968 Optimize trivial intersection case between identical caps pointers.
6970 * gst/gstelement.c: (gst_element_continue_state),
6971 (gst_element_set_state_func):
6973 Fix spelling and grammar mistakes.
6975 2007-08-05 Stefan Kost <ensonic@users.sf.net>
6979 Update POTFILES. Fixes #461599.
6981 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
6984 Fix confusing typo in debug output.
6986 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
6988 reviewed by: Stefan Kost <ensonic@users.sf.net>
6990 * libs/gst/controller/Makefile.am:
6991 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
6992 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
6993 (gst_lfo_control_source_new),
6994 (gst_lfo_control_source_set_waveform),
6995 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
6996 (gst_lfo_control_source_finalize),
6997 (gst_lfo_control_source_dispose),
6998 (gst_lfo_control_source_set_property),
6999 (gst_lfo_control_source_get_property),
7000 (gst_lfo_control_source_class_init):
7001 * libs/gst/controller/gstlfocontrolsource.h:
7002 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7003 API: Add GstLFOControlSource, a control source that gives values
7004 for specific timestamps based on several periodic waveforms.
7007 * tests/check/libs/controller.c: (GST_START_TEST),
7008 (gst_controller_suite):
7009 * docs/libs/gstreamer-libs-docs.sgml:
7010 * docs/libs/gstreamer-libs-sections.txt:
7011 * docs/libs/gstreamer-libs.types:
7012 Add documentation and unit tests for GstLFOControlSource.
7014 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7019 === release 0.10.14 ===
7021 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7024 releasing 0.10.14, "Breathing Vacuum"
7026 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7028 * gst/gstelement.c: (gst_element_class_set_details_simple):
7030 Make strings passed to gst_element_class_set_details_simple()
7031 constant, as they should be (#462752).
7033 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7035 * gst/gstbin.c: (gst_bin_change_state_func),
7036 (bin_handle_async_done), (gst_bin_handle_message_func):
7037 Don't forget about the fact that some element went ASYNC even after a
7038 resync. This makes us post the ASYNC_DONE message correctly.
7041 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7043 * gst/gstregistry.c: (gst_registry_add_feature):
7044 When replacing an existing feature in the registry, make sure to
7045 continue holding a reference until we've replaced the name string
7046 within our feature hash table. Make sure to use g_hash_table_replace
7047 instead of g_hash_table_insert to ensure the new name string is used
7048 as a key instead of the old one that we're about to free.
7051 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7053 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7054 (gst_plugin_feature_set_name):
7055 Revert patch from #459466 until after the release and we can work
7056 out exactly what the problem is (if any).
7058 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7060 * docs/gst/gstreamer-sections.txt:
7063 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7065 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7067 * docs/libs/Makefile.am:
7068 Include our build-prefix libs and includes before the generic ones to
7069 avoid linking against the installed libs when we want the build-tree
7072 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7074 Patch by: Steve Fink <sphink gmail com>
7076 * docs/pwg/building-testapp.xml:
7077 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7078 if people try to build or install the example from the plugin
7079 template against a GStreamer from package using the configure
7082 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7084 Patch by: Steve Fink <sphink gmail com>
7086 * tools/gst-inspect.1.in:
7087 Document --print-all and --print-plugin-auto-install-info command
7088 line options in man page.
7090 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7092 * docs/gst/gstreamer-sections.txt:
7093 Add docs for new api function.
7095 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7097 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7098 * gst/gstelementfactory.h:
7099 API: gst_element_factory_has_interface()
7100 Added method to check if an element factory implements a named
7103 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7106 * docs/gst/gstreamer.types.in:
7107 Another conditional doc check.
7110 * gst/gstparamspecs.h:
7111 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7116 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7118 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7119 (gst_registry_binary_load_feature),
7120 (gst_registry_binary_load_plugin),
7121 (gst_registry_binary_read_cache):
7122 Print error just once and with additional info.
7124 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7126 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7127 (helper_find_suggest), (helper_find_get_length),
7128 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7129 (gst_type_find_helper_for_buffer):
7130 Cleanup the typefindhelper code and add private doc comments.
7132 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7134 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7135 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7136 Fix capsfilter for cases where the caps set on capsfilter will provide
7137 additional information.
7140 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7142 * gst/gsttypefindfactory.c:
7143 Fix docs that recommened wrong function to use.
7145 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7147 * tools/gst-inspect.c: (print_plugin_features):
7148 Also give media-type for typefinders in element output.
7150 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7152 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7153 (gst_registry_remove_features_for_plugin_unlocked),
7154 (gst_registry_add_feature), (gst_registry_remove_feature),
7155 (gst_registry_lookup_feature_locked):
7156 * gst/gstregistry.h:
7157 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7160 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7162 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7163 (gst_plugin_feature_set_name):
7164 Avoid double memory usage for pluginfeature names. Fixes #459466.
7166 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7169 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7170 driving the pipeline may need to explicitly check for NOT_LINKED as
7171 well, since IS_FATAL doesn't cover that.
7173 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7175 * docs/pwg/advanced-types.xml:
7176 Fix typo and duplicate entry in video formats list.
7178 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7180 * libs/gst/controller/gstinterpolation.c:
7181 Also round to the nearest int when using cubic interpolation.
7183 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7185 * libs/gst/controller/gstinterpolation.c:
7186 When linearly interpolating integer types, round to the nearest int
7187 by adding 0.5. Don't do it for float/double types.
7188 Fixes the failing controller test on my machine, which is somehow
7189 rounding differently than on the buildbots.
7191 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7193 * tools/gst-plot-timeline.py:
7194 Better log parsing (categories can have -). Adjust text vs. lines, so
7195 that they span the same y-range.
7197 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7199 * docs/random/ensonic/audiobaseclasses.txt:
7200 * docs/random/ensonic/dynlink.txt:
7201 * docs/random/ensonic/profiling.txt:
7204 * docs/random/moving-plugins:
7205 Add note to use g_assert type macros.
7207 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7210 * libs/gst/check/Makefile.am:
7211 Add libm check as we use in for plugins.
7213 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7215 * gst/gstbin.c: (gst_bin_continue_func):
7216 Check that the state_cookie hasn't changed since the continue_func
7217 was scheduled. Avoids problems where the state changes back to
7218 something it shouldn't be because it was changed in the meantime.
7220 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7222 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7223 (gst_registry_binary_save_string),
7224 (gst_registry_binary_save_pad_template),
7225 (gst_registry_binary_save_feature),
7226 (gst_registry_binary_save_plugin),
7227 (gst_registry_binary_load_feature),
7228 (gst_registry_binary_load_plugin),
7229 (gst_registry_binary_read_cache):
7230 Fix memory leak. Be less verbose in the log.
7232 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7234 * tests/check/elements/.cvsignore:
7235 Add file to cvsignore as commanded.
7237 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7239 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7240 (mq_dummypad_event), (run_output_order_test):
7241 Use a GStaticMutex to protect all cases where libcheck
7242 fail_if/fail_unless macros might be called from multiple threads
7243 simultaneously to avoid errors like:
7244 "check_pack.c:107: :-1081725400:Bad message type arg"
7246 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7248 * tests/check/pipelines/stress.c: (GST_START_TEST):
7249 Make sure we set the pipeline back to the NULL state before
7250 dropping our final reference.
7252 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7254 * tests/check/elements/tee.c: (GST_START_TEST):
7255 Make the tee stress-test a little less stressful so it doesn't just
7256 time out on slow-machines, and remove a small race when it's starting
7257 up by adding a get_state() call.
7259 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7262 Avoid reading registry twice on startup. Fixes #457322.
7264 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7266 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7267 * pkgconfig/gstreamer-check.pc.in:
7268 Substitute the CFLAGS for libcheck into our .pc file too so that
7269 dependent modules will pick it up properly if libcheck is installed
7270 into some other prefix.
7272 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7275 Revert the pkg-config check for libcheck, since it pulls in the
7276 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7277 a proper solution, either from the check project, or something else.
7279 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7282 Use pkg-config to locate check.
7284 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7291 Add deprecation guards.
7293 * libs/gst/base/gstcollectpads.h:
7294 Don't document object (this is implicitly private).
7296 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7298 * gst/gststructure.c: (gst_structure_parse_value):
7299 When deserialising foo=bar without a type cast, check if it's a
7300 boolean before falling back to a string type, otherwise things like
7301 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7302 because the filtercaps end up having a signed=(string)true field,
7303 which causes problems later when intersection caps.
7305 * tests/check/gst/gststructure.c: (GST_START_TEST):
7306 Add a unit test for this.
7308 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7310 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7312 * libs/gst/controller/Makefile.am:
7313 * libs/gst/controller/gstcontroller.c:
7314 (gst_controlled_property_add_interpolation_control_source),
7315 (gst_controlled_property_new), (gst_controlled_property_free),
7316 (gst_controller_find_controlled_property),
7317 (gst_controller_new_valist), (gst_controller_new_list),
7318 (gst_controller_new), (gst_controller_remove_properties_valist),
7319 (gst_controller_remove_properties_list),
7320 (gst_controller_remove_properties),
7321 (gst_controller_set_property_disabled),
7322 (gst_controller_set_disabled), (gst_controller_set_control_source),
7323 (gst_controller_get_control_source), (gst_controller_get),
7324 (gst_controller_sync_values), (gst_controller_get_value_array),
7325 (_gst_controller_dispose), (gst_controller_get_type),
7326 (gst_controlled_property_set_interpolation_mode),
7327 (gst_controller_set), (gst_controller_set_from_list),
7328 (gst_controller_unset), (gst_controller_unset_all),
7329 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7330 * libs/gst/controller/gstcontroller.h:
7331 * libs/gst/controller/gstcontrollerprivate.h:
7332 * libs/gst/controller/gstcontrolsource.c:
7333 (gst_control_source_class_init), (gst_control_source_init),
7334 (gst_control_source_get_value),
7335 (gst_control_source_get_value_array), (gst_control_source_bind):
7336 * libs/gst/controller/gstcontrolsource.h:
7337 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7338 (gst_object_get_control_source):
7339 * libs/gst/controller/gstinterpolation.c:
7340 (gst_interpolation_control_source_find_control_point_node),
7341 (gst_interpolation_control_source_get_first_value),
7342 (_interpolate_none_get), (interpolate_none_get),
7343 (interpolate_none_get_boolean_value_array),
7344 (interpolate_none_get_enum_value_array),
7345 (interpolate_none_get_string_value_array),
7346 (_interpolate_trigger_get), (interpolate_trigger_get),
7347 (interpolate_trigger_get_boolean_value_array),
7348 (interpolate_trigger_get_enum_value_array),
7349 (interpolate_trigger_get_string_value_array):
7350 * libs/gst/controller/gstinterpolationcontrolsource.c:
7351 (gst_control_point_free), (gst_interpolation_control_source_reset),
7352 (gst_interpolation_control_source_new),
7353 (gst_interpolation_control_source_set_interpolation_mode),
7354 (gst_interpolation_control_source_bind),
7355 (gst_control_point_compare), (gst_control_point_find),
7356 (gst_interpolation_control_source_set_internal),
7357 (gst_interpolation_control_source_set),
7358 (gst_interpolation_control_source_set_from_list),
7359 (gst_interpolation_control_source_unset),
7360 (gst_interpolation_control_source_unset_all),
7361 (gst_interpolation_control_source_get_all),
7362 (gst_interpolation_control_source_get_count),
7363 (gst_interpolation_control_source_init),
7364 (gst_interpolation_control_source_finalize),
7365 (gst_interpolation_control_source_dispose),
7366 (gst_interpolation_control_source_class_init):
7367 * libs/gst/controller/gstinterpolationcontrolsource.h:
7368 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7369 API: Refactor GstController into the core controller which can take
7370 a GstControlSource for providing actual values for timestamps.
7371 Implement a interpolation control source and use this for backward
7372 compatibility, deprecate a bunch of functions that are now handled
7373 by GstControlSource or GstInterpolationControlSource.
7374 Make it possible to disable the controller completely or only for
7375 specific properties. Fixes #450711.
7376 * docs/libs/gstreamer-libs-docs.sgml:
7377 * docs/libs/gstreamer-libs-sections.txt:
7378 * docs/libs/gstreamer-libs.types:
7379 Add new functions and classes to the docs.
7380 * tests/check/libs/controller.c: (GST_START_TEST),
7381 (gst_controller_suite):
7382 * tests/examples/controller/audio-example.c: (main):
7383 Port unit test and example to the new API and add some new
7386 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7388 Patch by: Mark Nauwelaerts <manauw at skynet be>
7390 * plugins/elements/gstmultiqueue.c:
7391 (gst_multi_queue_get_internal_links), (apply_buffer),
7392 (single_queue_overrun_cb), (gst_single_queue_new):
7393 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7394 the pipeline layout can be tracked correctly. Fixes #453732.
7396 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7398 * docs/gst/Makefile.am:
7399 * docs/libs/Makefile.am:
7400 * docs/plugins/Makefile.am:
7401 Simplify --extra-dir as gtkdoc scans recursively.
7403 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7405 * tools/gst-launch.c: (main):
7406 When we got an error, there is no point in waiting for preroll when
7409 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7411 * plugins/elements/gsttee.c: (gst_tee_base_init),
7412 (gst_tee_request_new_pad), (gst_tee_release_pad),
7413 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7414 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7416 Be a lot smarter when deciding what srcpad to use for proxying
7417 the buffer_alloc. Also handle pad added/removed when doing so.
7419 Keep track of what pads we already pushed on in case we have pads
7420 added/removed while pushing. Fixes #374639
7422 * tests/check/Makefile.am:
7423 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7425 Added unit test for pad resync.
7427 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7431 Updated translations.
7433 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7435 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7439 Added new Finnish translation.
7441 2007-06-28 Wim Taymans <wim@fluendo.com>
7443 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7444 (single_queue_overrun_cb):
7445 When figuring out when a queue is filled, use our internal time estimate
7446 based on segments, just like check_full does.
7448 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7450 * gst/gstminiobject.c: (gst_mini_object_get_type):
7451 Remove 3 do-nothing methods.
7453 2007-06-27 Wim Taymans <wim@fluendo.com>
7455 Patch by: Tim Angus <tim at ngus dot net>
7457 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7458 (gst_capsfilter_set_property):
7459 Take a reference instead of a copy when setting "caps".
7460 Fix documentation to clarify this behaviour. Fixes #449414.
7462 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7464 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7465 * gst/gstplugin.c: (gst_plugin_init):
7466 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7467 * gst/gstquery.c: (gst_query_get_type):
7468 * gst/gstregistry.c: (gst_registry_init):
7469 * gst/gsturi.c: (gst_uri_handler_base_init):
7470 Remove empty instance_init() functions to save relocs and lessen the
7471 noise. Remove some of the function prototypes that are doubled by
7474 2007-06-27 Wim Taymans <wim@fluendo.com>
7476 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7478 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7479 Add peer and direction in the XML serialisation of ghostpads.
7482 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7485 Preserve useful information, thanks Tim.
7487 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7489 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7490 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7491 (gst_single_queue_push_one), (gst_multi_queue_loop),
7492 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7493 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7494 (compute_high_id), (gst_single_queue_new):
7495 * plugins/elements/gstmultiqueue.h:
7496 Take the multiqueue lock when updating the fill level so we don't get
7499 After applying a buffer or event on the src pad segment, make sure to
7500 call gst_data_queue_limits_changed() to get the data queue to unblock
7501 and check the filled state again.
7503 Rework the not-linked pad handling so the logic is that not-linked
7504 pads can push as fast as they like, but only so they never get
7505 ahead of any linked pads.
7507 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7508 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7509 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7511 Add a test to check that not-linked pads always stay behind
7516 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7518 * docs/random/release:
7519 Some updates to the release procedure.
7521 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7523 * gst/gstelementfactory.c: (__gst_element_details_clear):
7524 Microoptimization that saves stunning 80 bytes.
7526 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7528 * docs/plugins/gstreamer-plugins.args:
7529 * docs/plugins/inspect/plugin-coreelements.xml:
7530 * docs/plugins/inspect/plugin-coreindexers.xml:
7531 Update docs with caps info.
7533 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7536 Updated Italian translation.
7538 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7542 Update Vietnamese translations.
7544 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7546 * libs/gst/base/gstbasesink.c:
7547 Remove unused signal enum.
7549 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7551 * docs/gst/gstreamer-sections.txt:
7553 * gst/gstutils.c: (gst_type_register_static_full):
7554 Beef up and include the docs for gst_type_register_static_full and
7555 gst_element_class_set_details_simple and add the API keyword
7558 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7560 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7561 (update_time_level), (gst_single_queue_push_one),
7562 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7563 (single_queue_overrun_cb), (single_queue_underrun_cb),
7564 (single_queue_check_full):
7565 Fix setting max-* properties after adding queues.
7566 Use IS_FILLED for checking visible items.
7567 Signal overrun if multiple queues overrun.
7568 Add extra debug output.
7569 Patch by: Wim Taymans <wim@fluendo.com>
7571 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7573 * gst/gstelement.c: (gst_element_class_set_details_simple):
7575 * gst/gstutils.c: (gst_type_register_static_full):
7577 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7578 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7579 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7580 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7581 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7582 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7583 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7584 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7585 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7586 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7587 (apply_buffer), (gst_queue_chain):
7588 * plugins/elements/gsttee.c: (gst_tee_base_init):
7589 * plugins/elements/gsttypefindelement.c:
7590 (gst_type_find_element_base_init),
7591 (gst_type_find_element_class_init):
7592 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7593 API: add gst_type_register_static_full
7594 API: add gst_element_class_set_details_simple
7596 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7598 * docs/pwg/advanced-types.xml:
7599 Fix typo in iana.org URI.
7601 2007-06-19 Andy Wingo <wingo@pobox.com>
7603 * tests/check/pipelines/simple-launch-lines.c
7604 (test_state_change_returns): Enable pull-mode tests now that
7605 basesink has been fixed.
7607 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7608 Changed from gst_base_sink_is_prerolled, reversing the sense of
7609 the return value. Returns FALSE also if the sink is in pull mode,
7610 in which case it needs no preroll.
7611 (gst_base_sink_query, gst_base_sink_change_state): Update for
7612 needs_preroll change.
7613 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7614 chaining up, in which we return SUCCESS directly if we activated
7615 in pull mode instead of ASYNC. Involves countering an async_start
7616 message sent before chaining up; not sure if this is correct, in
7617 an ideal world we only send async-start when activating in push
7620 * tests/check/pipelines/simple-launch-lines.c
7621 (test_state_change_returns): New test, partially disabled until
7624 2007-06-19 Wim Taymans <wim@fluendo.com>
7626 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7627 (gst_multi_queue_sink_event):
7630 2007-06-19 Wim Taymans <wim@fluendo.com>
7632 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7633 (gst_bin_change_state_func), (bin_push_state_continue),
7634 (bin_handle_async_start), (bin_handle_async_done),
7635 (gst_bin_handle_message_func):
7636 Move the common code for posting state-change messages into
7638 Broadcast the state signal after we posted the messages.
7639 Mark the bin as busy when it's doing a state-change.
7640 Make sure async-start/done messages don't interfere with the bin's
7641 state when it's busy.
7642 After the state change, let the bin check which elements completed the
7643 state change while it was busy so that it can update its state.
7645 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7647 * docs/random/release:
7648 Add a note about updating the doap file to the release checklist
7650 2007-06-18 Wim Taymans <wim@fluendo.com>
7652 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7653 (gst_single_queue_push_one), (gst_multi_queue_chain),
7654 (gst_multi_queue_sink_event):
7655 Make sure we don't reference the buffer/event after we have given away
7656 ownership in the queue.
7658 2007-06-18 Wim Taymans <wim@fluendo.com>
7660 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7661 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7662 Update queue state _after_ adding the item in the queue because else we
7663 could end up being full without the element added yet.
7665 2007-06-18 Wim Taymans <wim@fluendo.com>
7667 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7668 (gst_bin_remove_func), (gst_bin_get_state_func),
7669 (gst_bin_element_set_state), (gst_bin_continue_func),
7670 (bin_push_state_continue), (bin_handle_async_start),
7671 (bin_handle_async_done), (gst_bin_handle_message_func):
7673 Immediatly commit the toplevel bin state when receiving an async-done
7674 message. This enables us to avoid spawning a thread to commit the state
7675 in some common cases and it also avoids some races.
7676 Avoid spawning a state thread when adding/removing async elements to a
7677 toplevel bin. Instead we immediatly update the bin state.
7678 Get rid of iterating all the children when getting the state in the bin
7679 because it is now always up-to-date.
7680 Fix bug where locked elements would always return _SUCCESS even it they
7681 returned NO_PREROLL before being locked.
7682 Fix the order of the state_change, async-start/done messages that was
7683 sometimes incorrect.
7684 Mark the state_dirty field as deprecated, we don't need it anymore as we
7685 are always up-to-date.
7687 * gst/gstelement.c: (gst_element_get_state_func),
7688 (gst_element_continue_state):
7689 Small debug inprovements.
7690 Return the previous element state return when nothing is pending instead
7691 of blindly returning SUCCESS.
7693 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7695 Add a whole bunch of new testcases.
7697 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7701 Update translations.
7703 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7706 Fix typo in the docs.
7708 2007-06-15 Wim Taymans <wim@fluendo.com>
7710 * docs/libs/gstreamer-libs-sections.txt:
7711 Add docs for new methods.
7713 2007-06-15 Wim Taymans <wim@fluendo.com>
7715 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7716 (gst_multi_queue_item_new):
7717 Don't use GSlice because we don't depend on >= 2.10 yet.
7719 2007-06-15 Wim Taymans <wim@fluendo.com>
7721 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7722 (update_time_level), (apply_segment), (apply_buffer),
7723 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7724 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7725 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7726 (single_queue_underrun_cb), (single_queue_check_full):
7727 Remove debug printf.
7729 2007-06-15 Wim Taymans <wim@fluendo.com>
7731 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7732 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7733 (gst_data_queue_set_flushing), (gst_data_queue_push),
7734 (gst_data_queue_pop), (gst_data_queue_drop_head),
7735 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7736 * libs/gst/base/gstdataqueue.h:
7738 Added methods to get the current levels and to inform the queue that the
7739 'full' limits changed.
7741 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7742 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7743 (gst_single_queue_flush), (update_time_level), (apply_segment),
7744 (apply_buffer), (gst_single_queue_push_one),
7745 (gst_multi_queue_item_steal_object),
7746 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7747 (gst_multi_queue_loop), (gst_multi_queue_chain),
7748 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7749 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7750 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7751 (single_queue_underrun_cb), (single_queue_check_full),
7752 (gst_single_queue_new):
7753 Keep track of time in the queue by measuring the difference between
7754 running_time on input and output. This gives more accurate results and
7755 can compensate for segments correctly.
7756 Make a queue by default only 5 buffers deep. We will now increase the
7757 buffer size depending on the filledness of the other queues.
7758 Factor out commong flush code.
7759 Make sure we don't add additional refcounts to buffers when we can avoid
7761 Propagate GstFlowReturn differently.
7762 Use GSlice for intermediate GstMultiQueueItems.
7764 Resize queues on over and underruns based on filled level of other
7766 When checking if the queue is filled, prefer to measure in time if we
7767 can and fall back to bytes when no time is known.
7769 * plugins/elements/gstqueue.c:
7772 2007-06-15 Wim Taymans <wim@fluendo.com>
7774 * libs/gst/base/gstbasetransform.c:
7775 (gst_base_transform_sink_event):
7776 Work around the brokenness of the event vmethod in basetransform. Prefer
7777 to return TRUE when the subclass returned FALSE (meaning don't forward
7780 * libs/gst/base/gstbasetransform.h:
7783 2007-06-15 Wim Taymans <wim@fluendo.com>
7785 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7786 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7787 (gst_base_src_default_query), (gst_base_src_get_range),
7788 (gst_base_src_start):
7789 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7792 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7794 * docs/pwg/advanced-types.xml:
7795 Added more formats to caps table.
7797 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7799 * tools/gst-launch.c: (main):
7800 Remove crufy code. GOption does not need this workaround.
7802 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7804 * libs/gst/controller/gstcontroller.c:
7805 (gst_controlled_property_set_interpolation_mode):
7806 Fix wrong getter for enums in controller.
7808 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7810 * libs/gst/check/gstcheck.c: (gst_check_init):
7811 Intercept criticals and warnings in the Gst-Phonon log domain, so
7812 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7815 2007-06-14 Edward Hervey <edward@fluendo.com>
7817 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7818 Since this file doesn't include "gst.h" it will not go through the
7819 macros that disable GST_LOG if debugging was disabled.
7821 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7823 * libs/gst/check/Makefile.am:
7824 * libs/gst/check/gstcheck.h:
7825 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7826 * pkgconfig/gstreamer-check.pc.in:
7827 Ugly 'fix' for the controller unit test on the p5 bot: in
7828 fail_unless_equals_float() check whether the values are 'almost
7829 equal' by allowing a small absolute error, which should be good
7830 enough for our use cases (normal numbers and values close to 0).
7831 Proper fixage left to floating point arithmetic aficionados.
7833 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7835 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7836 (gst_base_sink_render_object), (gst_base_sink_get_position):
7837 Add two breaks thats where missing.
7839 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7841 * docs/libs/gstreamer-libs-sections.txt:
7842 * libs/gst/check/gstcheck.h:
7843 API: add fail_unless_equals_float() and assert_equals_float().
7844 Add documentation for some of the macros.
7846 * tests/check/libs/controller.c: (GST_START_TEST):
7847 Use newly-added asserts.
7849 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7851 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7852 Show the caps change in the log to help spotting the case of not
7853 exactly matching caps.
7855 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7857 * docs/pwg/building-boiler.xml:
7858 Fix typos, spotted by Thijs Vermeir (#447190).
7860 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7862 * docs/plugins/tmpl/.cvsignore:
7863 Ignore file to keep the buildbots happy
7865 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7867 * docs/plugins/Makefile.am:
7868 * docs/plugins/gstreamer-plugins-docs.sgml:
7869 * docs/plugins/gstreamer-plugins-sections.txt:
7870 Pull fdsink into the docs too.
7872 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
7874 * libs/gst/controller/gstinterpolation.c:
7875 Actually use the new functions with min/max checks for the trigger and
7876 none interpolation modes for get() and get_value_array() instead of
7879 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
7881 * libs/gst/controller/gstcontroller.c:
7882 (gst_controlled_property_free):
7883 Unset the minimum and maximum GValues when freeing the corresponding
7884 GstControllerProperty struct.
7886 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
7888 * libs/gst/controller/gstcontroller.c:
7889 (gst_controlled_property_new):
7890 * libs/gst/controller/gstcontrollerprivate.h:
7891 * libs/gst/controller/gstinterpolation.c:
7892 (gst_controlled_property_find_control_point_node),
7893 (interpolate_none_get), (interpolate_none_get_enum_value_array),
7894 (interpolate_none_get_string_value_array),
7895 (interpolate_trigger_get),
7896 (interpolate_trigger_get_enum_value_array),
7897 (interpolate_trigger_get_string_value_array):
7898 Protect against values larger or smaller than the minimum or maximum
7899 allowed value for the property when using values that can be compared.
7901 Optimize trigger interpolator a bit by taking the last requested value
7902 into account instead of always looping through the complete list.
7904 Fix coding style a bit, everywhere else we use "return foo" instead
7907 * tests/check/libs/controller.c: (GST_START_TEST),
7908 (gst_controller_suite):
7909 Add unit test for the protection against too large or too small
7912 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
7914 * docs/random/slomo/controller.txt:
7915 Add some thoughts about the future of the controller.
7917 2007-06-08 Wim Taymans <wim@fluendo.com>
7919 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7920 Don't overflow in retimestamping code.
7922 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
7924 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
7925 Use gst_util_guint64_to_gdouble for conversions.
7926 * win32/common/libgstreamer.def:
7927 Add new exported functions.
7929 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
7932 Small docs addition.
7934 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7937 Remove that test line again.
7939 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7942 Test commit mail sending.
7944 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7947 Fix typo and test commit mail sending.
7949 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7951 * tests/examples/controller/audio-example.c:
7952 Improve comment and test commit mail sending.
7954 2007-06-07 Wim Taymans <wim@fluendo.com>
7956 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
7957 (gst_bin_remove_func), (gst_bin_element_set_state),
7958 (bin_handle_async_start), (bin_handle_async_done),
7959 (gst_bin_handle_message_func):
7960 Add helper function to find messages.
7961 Generate the async-done messages together with the state change
7963 Small cleanups in handling toplevel bins.
7965 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7967 * libs/gst/base/gstdataqueue.c:
7968 * libs/gst/base/gstdataqueue.h:
7969 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
7970 (gst_multi_queue_item_new), (gst_multi_queue_chain),
7971 (gst_multi_queue_sink_event):
7972 * tests/check/elements/multiqueue.c: (multiqueue_suite):
7973 Fix multiqueue leaking buffers and events when downstream or the
7974 queue are flushing. Make refcounting assumptions explicit and
7975 document them (shouldn't break existing code that uses it other than
7976 maybe leak miniobjects, but that already happens anyway). Add unit
7977 test for the most common flushing case. Fixes #423700.
7979 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
7981 * libs/gst/controller/gstcontroller.c:
7982 Clarify docs: The get_all, get_value_array(s) functions
7983 don't modify the GObject properties.
7985 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
7987 * libs/gst/controller/gstcontroller.c:
7988 (gst_controlled_property_set_interpolation_mode),
7989 (gst_controlled_property_prepend_default),
7990 (gst_controlled_property_new), (gst_controller_set_unlocked),
7991 (gst_controller_set), (gst_controller_set_from_list),
7992 (gst_controller_unset), (gst_controller_unset_all):
7993 * libs/gst/controller/gstcontrollerprivate.h:
7994 * libs/gst/controller/gstinterpolation.c:
7995 Factor out the 'set' logic into gst_controller_set_unlocked for the
7996 gst_controller_set and gst_controller_set_from_list functions.
7998 To make life of the interpolators easier always add a control point
7999 at timestamp zero with the default value.
8001 In the linear interpolator make things more obvious by better variable
8004 Implement cubic interpolation mode (by using a natural cubic spline)
8005 and map the quadratic interpolation mode to this too (as quadratic
8006 doesn't make much sense, see discussion on the list).
8008 * tests/check/libs/controller.c: (GST_START_TEST),
8009 (gst_controller_suite):
8010 Add unit test for the cubic interpolation mode and check everywhere
8011 if the interpolation mode could be set as expected.
8013 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8015 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8016 Don't use GLib-2.10 functions, we still depend on
8017 GLib-how-old-is-it-again-2.8.
8019 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8021 * docs/gst/gstreamer-sections.txt:
8025 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8026 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8027 (_gst_param_fraction_values_cmp),
8028 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8029 * gst/gstparamspecs.h:
8031 * tests/check/Makefile.am:
8032 * tests/check/gst/.cvsignore:
8033 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8034 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8035 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8036 (GST_START_TEST), (gst_param_spec_suite):
8037 API: add GstParamSpecFraction, so elements can have fraction
8038 properties without lots of painful string parsing (#444648).
8040 2007-06-05 Wim Taymans <wim@fluendo.com>
8042 * gst/gstobject.c: (gst_object_class_init):
8043 Fix signal signature.
8046 Add small clarification in the api docs.
8048 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8049 States are protected with object lock.
8051 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8054 I should probably be listed as an author by now.
8056 * docs/random/release:
8057 Update the release doc
8059 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8062 Make docs for gst_value_compare() mention return enums that
8065 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8070 === release 0.10.13 ===
8072 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8075 releasing 0.10.13, "With or without you"
8077 2007-05-25 Wim Taymans <wim@fluendo.com>
8079 * gst/gstbin.c: (bin_handle_async_done):
8080 Make sure that the child bin stops after completing the async state
8081 change so that the parent can continue the state change to PLAYING.
8084 2007-05-25 Wim Taymans <wim@fluendo.com>
8086 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8087 (unref_data), (gst_collect_pads_remove_pad),
8088 (gst_collect_pads_check_pads):
8089 Use additional refcounting to avoid crashes when dynamically adding and
8090 removing pads. Fixes #420206.
8092 2007-05-24 Wim Taymans <wim@fluendo.com>
8094 * tools/gst-launch.c: (event_loop):
8095 When buffering goes from a two digit to a single digit number, make sure
8096 to remove the old second digit by writing a blank over it.
8098 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8100 * libs/gst/base/gstdataqueue.c:
8101 Eliminate tabs and trailing comma in enum list; fix some typos.
8103 2007-05-24 Wim Taymans <wim@fluendo.com>
8105 * tests/check/gst/gstbin.c: (GST_START_TEST):
8106 Allow refcount of 3 and 4 because some state thread might still be busy
8109 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8111 * plugins/elements/Makefile.am:
8112 * plugins/elements/gstmultiqueue.h:
8113 * plugins/elements/gstqueue.h:
8114 These are not installed headers, no need for padding.
8116 2007-05-24 Wim Taymans <wim@fluendo.com>
8118 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8119 (gst_bin_continue_func):
8120 Enable latency for next release.
8121 Restore STATE_LOCK around recalc_state that was left out during the
8122 rewrite and could result in racy behaviour when _get_state and
8123 recalc_state are run concurrently. See #440463.
8125 2007-05-23 Wim Taymans <wim@fluendo.com>
8127 * tests/check/gst/gstsystemclock.c: (store_callback),
8129 Improve test_async_order to also work when both timers are already
8130 expired when we get scheduled to check it.
8132 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8134 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8135 (gst_bin_set_property), (gst_bin_get_property),
8136 (gst_bin_remove_func), (gst_bin_handle_message_func):
8138 'private' is a c++ keyword, let's not use that in header files,
8139 otherwise c++ compilers will throw a tantrum.
8141 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8143 * plugins/elements/gstelements.c:
8144 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8145 (gst_file_sink_get_current_offset):
8146 * plugins/indexers/gstindexers.c: (plugin_init):
8147 Use #ifdef for HAVE_XYZ for consistency.
8149 * tests/check/Makefile.am:
8150 * tests/check/elements/.cvsignore:
8151 * tests/check/elements/filesink.c: (setup_filesink),
8152 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8153 Add some unit tests for filesink.
8155 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8157 Patch by: Mark Nauwelaerts <manauw at skynet be>
8159 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8160 (gst_file_sink_query), (gst_file_sink_do_seek),
8161 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8162 * plugins/elements/gstfilesink.h:
8163 Fix position reporting; rename data_written member to current_pos to
8164 reflect its real meaning (fixes #412648).
8166 2007-05-22 Edward Hervey <edward@fluendo.com>
8168 * docs/gst/gstreamer-sections.txt:
8169 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8170 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8171 (gst_bin_remove_func), (gst_bin_handle_message_func):
8173 Add a property for bins that handle the state change of their childs.
8176 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8178 * libs/gst/controller/gstinterpolation.c:
8179 Use an array of the correct type when using _get_value_array with
8180 linear interpolation.
8182 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8184 * gst/gstelement.c (gst_element_requires_clock,
8185 gst_element_provides_clock, gst_element_request_pad,
8186 gst_element_class_set_details, gst_element_class_set_details_simple,
8187 gst_element_default_send_event, gst_element_abort_state,
8188 gst_element_continue_state, gst_element_set_state,
8189 gst_element_set_state_func, iterator_activate_fold_with_resync):
8190 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8191 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8192 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8193 gst_pad_get_range, gst_pad_pull_range):
8194 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8195 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8196 GstPadActivateModeFunction, GstPadChainFunction,
8197 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8198 GstPadFixateCapsFunction, GstPadTemplate):
8199 * gst/gstpipeline.c (gst_pipeline_change_state,
8200 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8201 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8202 gst_pipeline_get_delay):
8203 Whitespace and docs fixes.
8205 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8207 * libs/gst/controller/gstinterpolation.c:
8208 (interpolate_trigger_get_enum_value_array),
8209 (interpolate_trigger_get_string_value_array):
8210 Add support for retrieving value arrays when using the trigger
8213 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8215 * libs/gst/controller/gstcontroller.c:
8216 (gst_controller_get_value_array):
8217 * libs/gst/controller/gstcontroller.h:
8218 Clarify the docs of gst_controller_get_value_array(): The array where
8219 the values should be written to must be allocated as there seems to be
8220 no way to get the size of a random GType. This doesn't change any
8221 behaviour. Also fix some typos all over the place and remove an unused,
8222 commented function that is not necessary as g_object_set() could be
8224 * tests/check/libs/controller.c: (GST_START_TEST),
8225 (gst_controller_suite):
8226 Add unit test for gst_controller_get_value_array().
8228 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8230 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8232 Disable part of the gst_buffer_try_new_and_alloc test, because
8233 it can happily succeed on 64-bit systems where there's more address
8236 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8238 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8239 Add unit test for the improved caps checking from bug #421543.
8241 2007-05-21 Wim Taymans <wim@fluendo.com>
8243 * docs/design/part-synchronisation.txt:
8246 * gst/gstbin.c: (gst_bin_query):
8247 * plugins/elements/gstqueue.c: (apply_segment):
8253 2007-05-21 Wim Taymans <wim@fluendo.com>
8255 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8256 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8257 (gst_pad_configure_src):
8258 Added simple version of improved caps checking. It was previously
8259 assumed that a setcaps function would check the validity of the caps but
8260 people prefer us to check caps against the template automatically.
8263 2007-05-21 Wim Taymans <wim@fluendo.com>
8265 * libs/gst/base/gstbasetransform.h:
8266 Fix macro for locking/unlocking the transform lock.
8268 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8270 * docs/plugins/tmpl/.cvsignore:
8273 2007-05-18 Edward Hervey <edward@fluendo.com>
8275 * plugins/elements/gstqueue.c: (gst_queue_loop):
8276 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8277 for the subtle art of warning a potentially blocking thread that it
8278 should check the source pad return value, and relay the information
8281 2007-05-18 Edward Hervey <edward@fluendo.com>
8283 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8284 Release the queue lock !
8286 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8288 * docs/libs/gstreamer-libs-sections.txt:
8289 Add the two new controller functions to the appropiate places.
8291 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8293 reviewed by: Stefan Kost <ensonic@users.sf.net>
8295 * libs/gst/controller/gstcontroller.c:
8296 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8297 (_gst_controller_get_property), (_gst_controller_set_property),
8298 (_gst_controller_init), (_gst_controller_class_init):
8299 * libs/gst/controller/gstcontroller.h:
8300 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8301 (gst_object_get_control_rate), (gst_object_set_control_rate):
8302 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8303 Add API that provides sync suggestion timestamps for elements that
8304 call gst_object_sync_values() from which those elements can subdivide
8305 their processing loop to get the best results for the controlled
8306 properties. For now it just suggests last_sync + control_rate as
8307 new timestamp but this will be improved in the future.
8309 While doing that change the control-rate property to a GstClockTime
8310 from guint and change it's meaning from samples to nanoseconds as
8311 the GstController doesn't know anything about sampling rate. Strictly
8312 speaking this breaks ABI but as the control-rate property didn't do
8313 anything in the past and as such couldn't be used this should be no
8316 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8318 reviewed by: Stefan Kost <ensonic@users.sf.net>
8320 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8321 (gst_controller_unset_all):
8322 * libs/gst/controller/gstcontrollerprivate.h:
8323 * libs/gst/controller/gstinterpolation.c:
8324 (gst_controlled_property_find_control_point_node):
8325 Save last synced value from the list to continue searching from there
8326 in future syncs. This speeds everything up a bit.
8328 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8330 reviewed by: Stefan Kost <ensonic@users.sf.net>
8332 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8333 (gst_control_point_find), (gst_controlled_property_new),
8334 (gst_control_point_free), (gst_controlled_property_free),
8335 (gst_controller_set), (gst_controller_set_from_list),
8336 (gst_controller_unset), (gst_controller_unset_all),
8337 (gst_controller_sync_values):
8338 * libs/gst/controller/gstcontroller.h:
8339 * libs/gst/controller/gstcontrollerprivate.h:
8340 * libs/gst/controller/gstinterpolation.c:
8341 (gst_controlled_property_find_control_point_node),
8342 (interpolate_none_get), (interpolate_trigger_get):
8343 Add a new private GstControlPoint struct which "inherits" from
8344 GstTimedValue to allow different interpolators to store internal
8345 values next to each control point. From the outside everything is
8346 still a GstControlPoint so we don't loose binary compatibility.
8347 Also fixup all the GValue handling to not leak GValues or list nodes.
8348 * tests/check/libs/controller.c: (GST_START_TEST):
8349 Free the list nodes and GValues in the controller_misc test.
8351 2007-05-17 Edward Hervey <edward@fluendo.com>
8356 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8358 * gst/gstplugin.c: (gst_plugin_load_file):
8359 If we fail to load a plugin because of unresolved symbols or missing
8360 libraries and spew a warning to stderr, we may just as well mention
8361 which plugin it was that failed to load.
8363 2007-05-13 David Schleef <ds@schleef.org>
8365 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8366 handles the case when ENABLE_GTK_DOC is false, and installs
8367 the prebuilt documentation. So gtk-doc subdirs are
8368 unconditionally enabled. Fixes: #349099.
8370 2007-05-13 David Schleef <ds@schleef.org>
8372 * gst/gstutils.h: Reword some documentation.
8374 2007-05-12 David Schleef <ds@schleef.org>
8376 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8377 do anything with the passed "module" parameter, so remove it.
8378 Allows removal of additional vestigal code.
8380 2007-05-12 David Schleef <ds@schleef.org>
8383 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8384 Switch to using g_stat() because it's more portable.
8386 2007-05-12 David Schleef <ds@schleef.org>
8389 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8390 parsing for embedded systems.
8391 * gst/gstelementfactory.c:
8392 Allow gst_element_register() to be called with plugin==NULL.
8393 Did nobody notice that static elements were broken?
8395 2007-05-12 Wim Taymans <wim@fluendo.com>
8397 * tools/gst-launch.c: (event_loop):
8398 Give more interesting info when buffering starts and stops.
8399 Fix case where buffering starts but we fail to update the buffering flag
8400 because the target state is not PLAYING.
8402 2007-05-12 Wim Taymans <wim@fluendo.com>
8404 * plugins/elements/gstqueue.c: (gst_queue_init),
8405 (gst_queue_finalize), (update_time_level), (apply_segment),
8406 (apply_buffer), (gst_queue_locked_flush),
8407 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8408 (gst_queue_handle_sink_event), (gst_queue_chain),
8409 (gst_queue_push_one), (gst_queue_loop):
8410 * plugins/elements/gstqueue.h:
8411 Refactor an cleanup queue a bit.
8412 Do better time level calculations that also work when the srcpad is not
8414 Remove some unneeded debug lines.
8416 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8417 Added testcase for time level measurement.
8418 Try to make some stuff more racefree.
8420 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8422 * gst/gsturi.c: (gst_element_make_from_uri):
8423 Don't leak plugin feature.
8425 * tests/check/Makefile.am:
8426 * tests/check/gst/.cvsignore:
8427 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8428 Add brain-dead unit test.
8430 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8432 Patch by: Jeroen Wouters <woutersj at gmail com>
8434 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8435 Treat protocol strings in a case-insensitive way (#437563).
8437 2007-05-11 Michael Smith <msmith@fluendo.com>
8439 * gst/gstplugin.c: (gst_plugin_load_file):
8440 * gst/gstregistry.c: (gst_registry_scan_path_level):
8441 Don't print a g_warning for any failure to load a shared object.
8442 Instead, push this down into gstplugin.c, and warn _only_ if we
8443 failed to open the module (i.e. failure to link).
8444 Avoids warnings on normal, working, non-plugin .so files.
8446 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8448 * gst/gstplugin.c (gst_plugin_load_file):
8449 * gst/gstregistry.c (GST_CAT_DEFAULT,
8450 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8451 Print a g_warning if there was an error when loading a plugins during
8452 registry scan. The shuld help beginners starting with gst-plugin
8455 2007-05-10 Wim Taymans <wim@fluendo.com>
8457 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8458 (update_time_level), (gst_queue_locked_flush),
8459 (gst_queue_handle_sink_event), (gst_queue_chain),
8460 (gst_queue_push_one), (gst_queue_loop):
8461 * plugins/elements/gstqueue.h:
8462 Be smarter when calculating the current amount of data in the queue by
8463 measuring the difference between start and end timestamps (in running
8464 time) inside the queue. Fixes #432876.
8465 API: GstQueue::pushing to notify elements that we are pushing data again
8466 since the running signal is rather broken for this purpose.
8468 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8470 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8471 gst_queue_base_init, gst_queue_init):
8474 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8476 * win32/common/libgstreamer.def:
8477 Add new exported functions.
8478 * win32/vs6/grammar.dsp:
8479 Use grammar pre-generated files.
8481 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8483 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8486 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8488 * gst/gstutils.c: (gst_parse_bin_from_description):
8490 Maintain API and ABI when --disable-parse is used. Now that
8491 we have an appropriate error code, we can just return NULL and the
8492 appropriate error when gst_parse_launch() is used despite it having
8493 been disabled (#342564).
8495 * tests/check/Makefile.am:
8496 * tests/check/pipelines/.cvsignore:
8497 * tests/check/pipelines/parse-disabled.c:
8498 Make sure these functions exist and return NULL plus a GError when
8499 --disable-parse is used.
8501 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8503 * tests/benchmarks/complexity.c: (main):
8504 * tests/benchmarks/mass-elements.c: (main):
8505 Set a good example and don't leak messages.
8507 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8509 * docs/gst/Makefile.am:
8510 * docs/libs/Makefile.am:
8511 Correct fixxrefs options.
8513 * docs/plugins/Makefile.am:
8514 * docs/plugins/gstreamer-plugins-docs.sgml:
8515 * docs/plugins/gstreamer-plugins-sections.txt:
8516 * plugins/elements/Makefile.am:
8517 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8518 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8519 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8520 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8521 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8522 _GstCapsFilterClass, trans_class):
8523 * plugins/elements/gstelements.c (name, rank, type, _elements):
8524 * plugins/elements/gstidentity.c
8525 (gst_identity_check_imperfect_timestamp,
8526 gst_identity_check_imperfect_offset):
8527 Document capsfilter and add doc-blurb to identity.
8529 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8531 * libs/gst/controller/gstcontroller.c:
8532 (gst_controlled_property_set_interpolation_mode):
8533 * libs/gst/controller/gstinterpolation.c:
8534 Don't crash if someone tries to set an interpolation mode that
8535 is invalid or that isn't supported yet. Fixes #422295.
8537 * tests/check/libs/controller.c: (GST_START_TEST),
8538 (gst_controller_suite):
8539 Add a test case for the above.
8541 2007-05-03 Edward Hervey <edward@fluendo.com>
8543 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8544 Properly set the last_stop position on GstSegment. This will only happen
8545 if there is a buffer to push out.
8547 2007-05-03 Wim Taymans <wim@fluendo.com>
8549 * libs/gst/base/gstbasetransform.c:
8550 (gst_base_transform_buffer_alloc):
8551 always_in_place does not mean that the sink and source caps are the
8552 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8554 2007-05-03 Wim Taymans <wim@fluendo.com>
8556 * docs/libs/gstreamer-libs-sections.txt:
8557 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8558 (gst_base_src_default_query), (gst_base_src_get_range):
8559 * libs/gst/base/gstbasesrc.h:
8560 API: gst_base_src_query_latency(). Added method so that subclasses can
8561 easily get the latency values of the base source class.
8563 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8565 * tools/gst-inspect.c (print_implementation_info):
8568 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8570 * tools/Makefile.am:
8571 * tools/gst-launch.1.in:
8572 Don't create a customised man page based on the host architecture,
8573 describe the default registry path generically. That way the man
8574 page is the same for all architectures and packagers have one
8575 multilib issue less to deal with. Fixes #434926.
8577 2007-05-02 Wim Taymans <wim@fluendo.com>
8580 Fix documentation as spotted by rg on IRC.
8582 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8585 Improve docs for gst_element_{link,unlink}.
8587 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8589 * docs/design/part-events.txt:
8590 * docs/design/part-overview.txt:
8594 * libs/gst/base/gstbasesink.c:
8595 Typo fixes; minor docs addition.
8597 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8599 * docs/gst/gstreamer-sections.txt:
8600 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8601 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8603 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8604 or src that supports a given URI protocol exists.
8606 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8608 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8609 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8610 Set the location to NULL if "file://" is set as URI. Otherwise
8611 some random previous URI would still be set if "file://" is
8612 set on an already used filesink/filesrc.
8614 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8616 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8617 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8618 Special case the "file://" URI as as this is used by some
8619 applications to test with gst_element_make_from_uri if there's
8620 an element that supports the URI protocol.
8621 Also move the g_path_is_absolute() check for the location part
8622 of the URI to also check this for "file://localhost/bla" URIs.
8624 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8626 * docs/gst/gstreamer-sections.txt:
8627 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8629 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8631 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8633 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8635 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8636 (gst_registry_binary_load_pad_template),
8637 (gst_registry_binary_load_plugin),
8638 (gst_registry_binary_read_cache):
8639 * gst/gstregistrybinary.h:
8640 Implement no-mmap alternative for registry reading. Do code cleanups.
8641 Add more comments about avoiding strdups for all text data. Comments
8644 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8646 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8647 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8648 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8649 Comment structs and reformat to fix the build (that stuff should go
8650 into a priv. header).
8652 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8654 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8655 (gst_registry_binary_load_feature):
8656 * gst/gstregistrybinary.h:
8657 Refactor so that we can implement multiple features. Add support for
8658 TypeFindFactory features.
8660 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8662 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8665 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8667 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8669 * gst/gstbin.c: (gst_bin_element_set_state),
8670 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8671 (bin_handle_async_done), (gst_bin_handle_message_func):
8672 Fix build with --gst-disable-gst-debug
8674 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8676 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8677 Make sure streaming has finished before calling the ::stop() vfunc,
8678 since that vfunc might clear state which is being used in the
8679 streaming thread. This fixes a race that caused crashes in
8680 audioresample when shutting down a pipeline (#420106).
8682 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8684 * docs/gst/gstreamer-sections.txt:
8685 That was one byte missing.
8687 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8690 * docs/gst/gstreamer-sections.txt:
8692 * gst/gstconfig.h.in:
8693 * gst/gstobject.c: (gst_object_class_init),
8694 (gst_signal_object_class_init):
8696 2nd attempt to have a xml-less build as a joined effort of #413123
8699 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8701 * docs/design/draft-tagreading.txt:
8702 Added open issues/thoughts to draft.
8704 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8706 * gst/parse/grammar.tab.pre.c:
8707 * gst/parse/grammar.tab.pre.h:
8708 * gst/parse/lex._gst_parse_yy.pre.c:
8709 Update the prebuild parser sources.
8711 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8713 * gst/parse/Makefile.am:
8714 And now fix the building of the flex sources. Now everything should
8717 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8719 * gst/parse/Makefile.am:
8720 Now hopefully fix the build failures by setting proper rule
8721 dependencies and moving instead of copying.
8723 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8725 * tests/benchmarks/complexity.gnuplot:
8726 * tests/benchmarks/complexity.scm:
8727 * tests/benchmarks/mass-elements.gnuplot:
8728 * tests/benchmarks/mass-elements.scm:
8729 Total licensification.
8731 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8733 * gst/parse/Makefile.am:
8734 Fix the build by correcting the rule that gave wrong files to flex.
8736 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8738 * tests/benchmarks/complexity.c:
8739 * tests/benchmarks/mass-elements.c:
8740 Change licence to LGPL as granted by Benjamin and Andy.
8742 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8744 * gst/parse/Makefile.am:
8745 Add correct grammar.tab.h dependency if compiling without new enough
8746 flex. Fixes #431150.
8748 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8750 * gst/parse/Makefile.am:
8751 Fix typo and use outdated sources if the flex/bison sources are newer
8752 than the pregenerated ones but flex is too old. Print a warning in
8753 that case. This should fix the build on the build bot.
8755 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8757 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8758 * gst/parse/Makefile.am:
8759 * gst/parse/grammar.y:
8760 * gst/parse/parse.l:
8761 Make the parser reentrant and recursively callable. This requires flex
8762 >= 2.5.31, for older versions pregenerated sources are used as we
8763 can't bump the build dependency. Finally fixes #349180.
8765 * gst/gstparse.c: (gst_parse_launch):
8766 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8769 * docs/gst/Makefile.am:
8770 * docs/gst/Makefile.am:
8771 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8772 (__gst_parse_strfree), (__gst_parse_link_new),
8773 (__gst_parse_link_free), (__gst_parse_chain_new),
8774 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8775 (gst_parse_element_set), (gst_parse_free_link),
8776 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8777 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8778 (_gst_parse_launch):
8779 * gst/parse/grammar.tab.pre.h:
8780 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8781 (yy_get_previous_state), (yy_try_NUL_trans), (input),
8782 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8783 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8784 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8785 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8786 (_gst_parse_yypop_buffer_state),
8787 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8788 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8789 (yy_fatal_error), (_gst_parse_yyget_extra),
8790 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8791 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8792 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8793 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8794 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8795 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8796 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8797 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8798 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8799 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8800 (_gst_parse_yyfree):
8801 If the installed flex version is too old use pre-generated parser
8802 sources. These pre-generated parser sources are always updated when
8803 the actual flex/bison sources change but require everybody who wants
8804 to change something in the parser to have flex >= 2.5.31 installed.
8806 2007-04-18 Stefan Kost <ensonic@users.sf.net>
8808 * common/m4/gst-gettext.m4:
8809 * gst/gst-i18n-lib.h:
8810 Make --disable-nls to work
8812 2007-04-17 Wim Taymans <wim@fluendo.com>
8814 * gst/gstconfig.h.in:
8815 Revert previous change that broke the build.
8817 2007-04-17 Stefan Kost <ensonic@users.sf.net>
8821 * gst/gstconfig.h.in:
8822 Drop libxml2 dependency when building with
8823 --enable-binary-registry --disable-loadsave
8825 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
8827 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8828 (gst_registry_binary_read_cache):
8829 * gst/gstregistrybinary.h:
8830 Remove unnecessary <sys/mman.h> include which broke the win32 build
8831 with MingW; move includes from header file to .c file, even if the
8832 header file isn't installed; use g_strerror() where UTF-8 strings
8833 are expected, such as in GST_DEBUG messages.
8835 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8837 * docs/libs/gstreamer-libs-sections.txt:
8838 Remove bogus addition for API I didn't end up keeping.
8840 * libs/gst/base/gstbasesrc.h:
8841 Mention Since: 0.10.13 in the documentation.
8843 Add the API keyword to the previous ChangeLog entry.
8845 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8847 * docs/libs/gstreamer-libs-sections.txt:
8848 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8849 (gst_base_src_default_prepare_seek_segment),
8850 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8851 * libs/gst/base/gstbasesrc.h:
8852 Allow basesrc derived classes to execute seeks in other formats
8853 by providing a prepare_seek_segment vmethod. Sub-classes can choose
8854 to prepare the GstSegment in any format that their perform_seek method
8855 will be able to understand. The default implementation provides the
8856 old behaviour of attempting to convert the seek offsets to the
8857 configured native format.
8859 API: basesrc::prepare_seek_segment vmethod.
8861 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8863 * gst/gstelement.c: (gst_element_get_state_func):
8864 Don't output the same debug statement twice.
8866 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8867 (gst_adapter_peek), (gst_adapter_take_buffer):
8868 Optimise the case where we have buffers at the head of the queue that
8869 can be joined quickly (because they're contiguous sub-buffers) by
8870 merging them together rather than copying data out into new memory.
8872 * gst/parse/grammar.y:
8873 * tests/check/pipelines/parse-launch.c:
8874 Fix a leak in an error path for parse_launch, and add a check
8875 for it to the testsuite.
8877 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8879 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8880 Don't deadlock when releasing a pad - gst_pad_set_active may try
8881 and take the multiqueue lock too.
8883 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
8885 * gst/gsterror.c: (_gst_core_errors_init):
8887 API: add GST_CORE_ERROR_DISABLED (#392804).
8889 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8891 * docs/faq/gst-uninstalled:
8892 don't get empty paths on the PATH variables
8893 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
8894 Don't format for the uncommon terminal width of 84 characters.
8896 2007-04-06 Wim Taymans <wim@fluendo.com>
8898 * gst/gstpipeline.c: (reset_stream_time),
8899 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8900 Only try to select a different pipeline clock when we went back to
8901 PAUSED and not when we merely got flushed.
8903 2007-04-05 Michael Smith <msmith@fluendo.com>
8905 * tools/gst-launch.1.in:
8906 fractions are better supported in gstreamer than ractions, so
8907 suggest using those.
8909 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
8911 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8915 Added Danish translation.
8917 2007-04-05 Wim Taymans <wim@fluendo.com>
8919 * libs/gst/base/gstbasesink.c:
8920 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
8921 Fix leak caused when refusing newsegment after EOS.
8923 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8924 (gst_fake_sink_init), (gst_fake_sink_set_property),
8925 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
8926 (gst_fake_sink_render), (gst_fake_sink_change_state):
8927 * plugins/elements/gstfakesink.h:
8928 Add num-buffers property to make the element generate EOS after a
8929 configurable amount of buffers.
8930 API: fakesink::num-buffers property.
8932 * tests/check/elements/fakesink.c: (GST_START_TEST),
8934 Fix GstBus leak in test.
8935 Test for fakesink num-buffers.
8937 2007-04-05 Wim Taymans <wim@fluendo.com>
8939 * libs/gst/base/gstbasesink.c:
8940 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
8941 (gst_base_sink_change_state):
8942 Don't accept anything after an EOS, return UNEXPECTED instead.
8944 * tests/check/elements/fakesink.c: (GST_START_TEST),
8946 Unit test for new EOS behaviour.
8948 2007-04-05 Wim Taymans <wim@fluendo.com>
8950 * gst/gstelement.c: (gst_element_get_request_pad):
8951 Make padtemplates also work when they don't contain %s or %d.
8953 2007-04-05 Wim Taymans <wim@fluendo.com>
8955 * docs/gst/gstreamer-sections.txt:
8956 * gst/gstclock.c: (gst_clock_adjust_unlocked),
8957 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
8959 Improve _adjust_unlocked() so that it overflows less.
8960 Add gst_clock_unadjust_unlocked to convert from external time to
8961 internal time based on calibration.
8962 Add some more debug.
8963 API: GstClock::gst_clock_unadjust_unlocked()
8965 2007-04-03 Wim Taymans <wim@fluendo.com>
8967 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8969 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8970 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
8971 when releasing sink pad. Fixes #425400.
8973 2007-04-02 Stefan Kost <ensonic@users.sf.net>
8975 * docs/random/ensonic/dynlink.txt:
8976 More work on proposal for new core api.
8978 * docs/libs/gstreamer-libs-sections.txt:
8979 * libs/gst/base/gstbasetransform.h:
8980 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
8982 * libs/gst/controller/gstcontroller.c:
8983 (on_object_controlled_property_changed),
8984 (gst_controller_sync_values),
8985 (gst_controller_set_interpolation_mode):
8986 * libs/gst/controller/gstcontroller.h:
8987 Less verbose logging add docs for unimplemented parts and correctly
8988 return when using unavailable parts.
8990 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
8992 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
8993 Move all the debug to the CLOCK category, and associate it with
8996 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
8998 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
8999 Make take_buffer a bit quicker by removing redundant checks
9000 caused by calling gst_adapter_take.
9002 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9004 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9007 * tests/check/Makefile.am:
9008 * tests/check/elements/.cvsignore:
9009 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9010 (GST_START_TEST), (multiqueue_suite):
9011 Add some dead simple unit tests for the 'multiqueue' element
9012 (some bits don't work yet and are disabled for now).
9014 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9016 * gst/gstelement.c: (gst_element_get_request_pad),
9017 (gst_element_class_get_request_pad_template):
9018 Make gst_element_get_request_pad() create request pads only for
9019 request pad templates and not for, say, sometimes pad templates.
9021 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9023 * docs/design/draft-klass.txt:
9024 Add example that needs more thinking.
9026 * docs/design/draft-missing-plugins.txt:
9027 More thoughts about wrapper plugins.
9029 * docs/random/ensonic/embedded.txt:
9030 * docs/random/ensonic/profiling.txt:
9033 2007-03-25 Wim Taymans <wim@fluendo.com>
9035 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9036 (gst_base_src_loop):
9037 Only push the segment events in the PLAYING state for live sources.
9039 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9041 * gst/gstpipeline.c: (gst_pipeline_change_state):
9042 Modify the clock distribution path in PAUSED->PLAYING so that we
9043 never attempt to choose a new clock unless we're actually leaving
9044 the PAUSED state for the first time. This prevents choosing a
9045 different clock when the state_change gets called for a 2nd time due
9046 to some element doing an async state change.
9048 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9050 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9051 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9052 (gst_pad_chain_unchecked), (gst_pad_push):
9053 Revert last commit. This needs some more thoughts.
9055 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9057 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9058 (gst_pad_chain_unchecked), (gst_pad_push):
9059 Check in set_caps if the caps are compatible with the pad and remove
9060 two functions that are redundant now. Fixes #421543.
9062 2007-03-22 Wim Taymans <wim@fluendo.com>
9064 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9065 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9066 Unref some more to make valgrind happy.
9068 2007-03-22 Wim Taymans <wim@fluendo.com>
9070 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9071 (gst_system_clock_id_wait_jitter),
9072 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9073 Fix anoying regression that survived a few releases. When adding an
9074 async entry while blocking on a sync entry, the sync entry will unblock
9075 but still be busy, so it should continue to wait instead of returning
9077 Add some comments here and there.
9079 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9080 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9081 Add testcase for this.
9083 2007-03-22 Wim Taymans <wim@fluendo.com>
9085 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9086 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9087 WRONG_STATE and can silently pause the task. All other cases should
9090 2007-03-22 Wim Taymans <wim@fluendo.com>
9092 Patch by: Ville Syrjala <syrjala at sci dot fi>
9094 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9095 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9098 2007-03-21 Michael Smith <msmith@fluendo.com>
9100 * docs/pwg/advanced-types.xml:
9101 Fix some errors in the typefinding docs pointed out on irc.
9103 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9105 * libs/gst/base/gstbasesrc.c:
9106 Clarify FIXME comment in the face of having added unlock_stop()
9108 2007-03-21 Wim Taymans <wim@fluendo.com>
9110 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9111 Prepare for release where we warn against possible app breakage in the
9112 case of live pipelines along with an env var to enable/disable live
9113 preroll mode (GST_COMPAT=[no-]live-preroll).
9115 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9117 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9118 So we should use correct constants for checking for None offset.
9120 2007-03-20 Wim Taymans <wim@fluendo.com>
9122 * docs/design/part-block.txt:
9123 Mention the fact that the newly switched element should be set to at
9126 2007-03-20 Wim Taymans <wim@fluendo.com>
9129 Fix compilation with registry disabled as spotted by Saur.
9131 2007-03-20 Wim Taymans <wim@fluendo.com>
9133 Patch by: Olivier Crete <tester at tester dot ca>
9135 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9136 Look at the pending state too when syncing the element state to the
9137 parent. Fixes #420133.
9139 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9141 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9142 (gst_base_sink_change_state):
9143 * libs/gst/base/gstbasesink.h:
9144 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9145 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9146 (gst_base_src_deactivate):
9147 * libs/gst/base/gstbasesrc.h:
9148 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9149 for sub-classes to correctly clear any state they set trying to
9150 unlock, such as clearing out unlock commands from a command fd.
9151 API: basesrc::unlock_stop
9152 API: basesink::unlock_stop
9154 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9155 (gst_fd_sink_render), (gst_fd_sink_unlock),
9156 (gst_fd_sink_unlock_stop):
9157 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9158 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9159 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9161 Implement unlock_stop in fdsrc and fdsink.
9162 Implement seeking in fdsrc when a seekable fd is passed, as in
9163 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9165 2007-03-19 Wim Taymans <wim@fluendo.com>
9167 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9169 * gst/gstelement.c: (gst_element_class_init):
9170 Fix pad-added and pad-removed signal signatures so that the pad type is
9171 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9173 2007-03-19 Wim Taymans <wim@fluendo.com>
9175 * docs/gst/gstreamer-sections.txt:
9176 Add new element field and method.
9178 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9179 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9180 (gst_bin_recalc_state), (gst_bin_get_state_func),
9181 (gst_bin_element_set_state), (gst_bin_change_state_func),
9182 (gst_bin_continue_func), (bin_bus_handler),
9183 (bin_push_state_continue), (bin_handle_async_start),
9184 (bin_handle_async_done), (gst_bin_handle_message_func):
9185 Make async state changes a bit smarter by using new ASYNC_START and
9186 ASYNC_DONE messages. This reduces the number of times we run the state
9187 recalculation thread.
9188 Don't change state of element with a pending ASYNC_START message.
9189 Deprecate STATE_DIRTY messages.
9191 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9192 (gst_element_get_state_func), (gst_element_continue_state),
9193 (gst_element_lost_state), (gst_element_set_state_func),
9194 (gst_element_change_state):
9196 Keep the state that was last set by the app in a new element field.
9197 Don't allow state changes when handling an element event.
9198 Post ASYNC_START and ASYNC_DONE messages.
9199 Change lost_state so that we go to PAUSED and wait for the parent to set
9200 us to PLAYING again (so latency calculation can be performed)
9201 Export gst_element_change_state() method so that subclasses can use it.
9202 API: gst_element_change_state()
9203 API: GST_STATE_TARGET
9205 * gst/gstpipeline.c: (gst_pipeline_class_init),
9206 (reset_stream_time), (gst_pipeline_change_state),
9207 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9208 Using the new ASYNC_START message we can reset the base_time when
9209 needed. This can then be used to implement base_time redistribution in
9210 flushing seeks so that we can remove the explicit seek handling.
9211 Perform latency query and configuration when going to PLAYING.
9213 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9214 (gst_base_sink_query), (gst_base_sink_change_state):
9215 Post new ASYNC_START/ASYNC_DONE messages.
9217 * tests/check/generic/sinks.c: (GST_START_TEST):
9218 Fix test because the bin will not set the async element to PLAYING right
9221 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9222 Make the message check a little stronger.
9223 Handle ASYNC messages.
9225 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9226 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9227 Expect ASYNC_DONE messages.
9229 2007-03-19 Wim Taymans <wim@fluendo.com>
9231 * docs/gst/gstreamer-sections.txt:
9232 * gst/gstmessage.c: (gst_message_new_async_start),
9233 (gst_message_new_async_done), (gst_message_parse_info),
9234 (gst_message_parse_async_start):
9236 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9239 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9241 * tools/gst-inspect.c:
9242 (print_plugin_automatic_install_info_codecs):
9243 Now that we don't check for the 'Codec' keyword any longer in the
9244 klass, we shouldn't spew a warning if the klass isn't a decoder or
9245 encoder (since it might be a Source/Network, for example).
9247 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9249 * tools/gst-inspect.c:
9250 (print_plugin_automatic_install_info_codecs):
9251 Don't require decoder/demuxer/depayloader elements or
9252 encoder/muxer/paylader elements to have 'Codec' as part of their
9253 factory class string when introspecting a plugin's capabilities.
9254 draft-klass.txt mentions that it might be removed in future, and
9255 flump3dec doesn't have it as part of its class string, so chances
9256 are others might also not have it.
9258 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9280 Update translations from translation project
9282 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9284 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9285 (gst_child_proxy_set_property):
9286 Invert precondition check to be alike the ones in the mimiced gobject
9289 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9291 * docs/design/draft-tagreading.txt:
9292 * docs/random/ensonic/audiobaseclasses.txt:
9293 Do some Architect work.
9295 * gst/gstobject.c: (gst_object_set_name):
9299 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9301 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9303 * gst/gstsystemclock.c: (gst_system_clock_init),
9304 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9305 Defer starting the async system clock thread until the first async
9306 wait is scheduled. Fixes #414986.
9308 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9310 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9311 (gst_single_queue_free):
9312 Fix small leak (free GstSingleQueue structure too, not only contents).
9314 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9316 * gst/gstbin.c:(gst_bin_add):
9317 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9318 * win32/common/libgstbase.def:
9319 * win32/common/libgstreamer.def:
9320 Add new exported functions.
9322 2007-03-09 Wim Taymans <wim@fluendo.com>
9324 * docs/plugins/gstreamer-plugins-sections.txt:
9327 2007-03-09 Wim Taymans <wim@fluendo.com>
9329 * docs/gst/gstreamer-sections.txt:
9330 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9332 Add metadata copy functions. Fixes #393099.
9333 API: gst_buffer_copy_metadata()
9335 * gst/gstutils.c: (gst_buffer_stamp):
9336 * libs/gst/base/gstbasetransform.c:
9337 (gst_base_transform_prepare_output_buffer):
9338 Use new metadata copy functions.
9340 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9342 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9343 (gst_identity_init), (gst_identity_check_perfect),
9344 (gst_identity_check_imperfect_timestamp),
9345 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9346 (gst_identity_set_property), (gst_identity_get_property):
9347 * plugins/elements/gstidentity.h:
9348 Separate out check-imperfect-timestamp and check-imperfect-offset.
9349 Put back check-perfect as it was to keep compatibility.
9351 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9353 * gst/gstelement.c: (gst_element_dispose):
9354 There's no need to warn if VOID_PENDING is not NONE here, as
9355 long as the state is NULL it's ok, and that's checked immediately
9358 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9360 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9361 Fix check for perfect stream to ignore buffers with -1
9362 offsets/offset ends when checking data contiguity.
9364 2007-03-08 Wim Taymans <wim@fluendo.com>
9366 * tools/gst-launch.c: (event_loop):
9367 Print INFO messages.
9369 2007-03-08 Wim Taymans <wim@fluendo.com>
9371 * libs/gst/base/gstbasetransform.c:
9372 (gst_base_transform_sink_eventfunc),
9373 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9374 (gst_base_transform_activate):
9375 * libs/gst/base/gstbasetransform.h:
9376 Add support for dropping buffers with custom GstFlowReturn.
9377 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9378 buffers or dropped buffers.
9380 * docs/libs/gstreamer-libs-sections.txt:
9381 docs for new custom return code.
9383 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9384 Use drop support in base class to implement drop-probability.
9386 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9388 * gst/gst.c: (load_plugin_func):
9389 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9390 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9391 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9392 Remove newlines at end of debug log strings.
9394 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9396 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9397 Only post bus message at max, once per buffer received.
9399 2007-03-07 Wim Taymans <wim@fluendo.com>
9401 * docs/design/Makefile.am:
9402 * docs/design/part-synchronisation.txt:
9403 Add doc about synchronisation
9405 * docs/design/draft-latency.txt:
9406 * docs/design/part-TODO.txt:
9407 * docs/design/part-clocks.txt:
9408 * docs/design/part-events.txt:
9409 * docs/design/part-gstbus.txt:
9410 * docs/design/part-gstpipeline.txt:
9411 * docs/design/part-live-source.txt:
9412 * docs/design/part-messages.txt:
9413 * docs/design/part-overview.txt:
9414 * docs/design/part-streams.txt:
9415 * docs/design/part-trickmodes.txt:
9416 Documentation updates.
9418 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9421 Update the doap file.
9423 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9425 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9426 Rename non-perfect to imperfect for Mike and for the sanctity of the
9428 Also make sure bus message gets emitted for data-incontiguities.
9430 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9432 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9433 (gst_identity_start):
9434 * plugins/elements/gstidentity.h:
9435 Emit bus message if check-perfect is true and we encounter a
9436 non-perfect stream between 2 consecutive buffers.
9439 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9444 === release 0.10.12 ===
9446 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9449 releasing 0.10.12, "Inevitable Demise"
9451 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9454 Version 0.10.11.2 (0.10.12 pre-release)
9455 Bump libtool versioning.
9457 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9459 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9460 Log flow-names and not numbers.
9462 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9465 Convert to new AG_GST style.
9467 2007-02-28 Wim Taymans <wim@fluendo.com>
9469 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9470 Don't unref query twice.
9472 2007-02-28 Wim Taymans <wim@fluendo.com>
9474 * gst/gstvalue.c: (gst_value_transform_object_string),
9475 (_gst_value_initialize):
9476 Implement GstObject -> string transform so we print object names
9477 when serializing GValues containing GstObjects.
9479 2007-02-28 Wim Taymans <wim@fluendo.com>
9481 * docs/gst/gstreamer-sections.txt:
9482 Add new stuff to docs.
9484 2007-02-28 Wim Taymans <wim@fluendo.com>
9486 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9487 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9488 (gst_base_sink_change_state):
9489 Improve latency query code.
9490 Don't leak latency events.
9492 * tests/check/gst/gstbin.c: (GST_START_TEST):
9495 2007-02-28 Wim Taymans <wim@fluendo.com>
9497 * gst/gstelement.c: (gst_element_message_full),
9498 (gst_element_get_state_func):
9500 Improve docs a little. Added Since: for new macro.
9502 * gst/gstobject.c: (gst_object_sink):
9503 * gst/gstpipeline.c: (gst_pipeline_change_state),
9504 (gst_pipeline_set_new_stream_time):
9505 * gst/gstpipeline.h:
9506 Improve debugging and docs.
9508 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9511 2007-02-28 Wim Taymans <wim@fluendo.com>
9513 * gst/gstelement.c: (gst_element_message_full),
9514 (gst_element_set_locked_state), (gst_element_get_state_func),
9515 (gst_element_change_state):
9516 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9517 Documentation updates.
9518 Small code cleanups.
9520 * gst/gstmessage.c: (gst_message_new_info),
9521 (gst_message_parse_info):
9523 API: gst_message_new_info()
9524 API: gst_message_parse_info()
9525 Add INFO message create and parse code.
9527 2007-02-28 Wim Taymans <wim@fluendo.com>
9529 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9530 (bin_query_latency_done):
9531 Also report the live parameter of a latency query.
9533 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9535 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9536 Copy the current generic/states example from -base and adapt so
9537 we can use the exact same code everywhere.
9538 Check a STATES_IGNORE_ELEMENTS env var which can be used
9539 to ignore certain element factories for this test, which is
9540 what is being done in -base
9541 * tests/check/Makefile.am:
9542 Mention this environment variable.
9544 2007-02-27 Wim Taymans <wim@fluendo.com>
9546 * docs/gst/gstreamer-sections.txt:
9547 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9548 (gst_bus_timed_pop), (gst_bus_pop):
9550 API: gst_bus_timed_pop()
9551 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9552 message to arrive on the bus.
9554 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9556 Two unit tests for new _timed_pop() function.
9558 2007-02-23 Wim Taymans <wim@fluendo.com>
9560 * gst/gstpipeline.c: (gst_pipeline_change_state),
9561 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9562 Don't ref a NULL clock in _provide_clock_func().
9563 Don't allow an INVALID delay.
9564 Don't try to calculate base_time with an invalid start_time.
9565 Also distribute and notify a NULL clock when it was selected.
9567 * tools/gst-launch.c: (event_loop):
9568 Don't crash when a NULL clock was selected in the pipeline.
9570 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9572 * docs/design/Makefile.am:
9573 * docs/design/draft-missing-plugins.txt:
9574 * docs/random/draft-missing-plugins.txt:
9575 Some small updates: update plugin system identifier prefix
9576 ('gstreamer.net' to 'gstreamer'), mention our new install
9577 API in libgstbaseutils rather than libgimme-codec, add
9578 reference to the online docs.
9580 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9582 * win32/common/config.h:
9583 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9584 use moap cl ci to only check in what is mentioned in the ChangeLog.
9586 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9588 * docs/gst/gstreamer-sections.txt:
9590 Fix up documentation to link to the correct GstGError section.
9591 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9593 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9595 * tools/gst-launch.c: (event_loop):
9596 Make sure that we actually show the important message part of a
9598 No need to check if the gerror is not NULL to free; first of all
9599 g_free accepts NULL; and second the default error handler would
9600 segfault if gerror was NULL.
9602 2007-02-21 Wim Taymans <wim@fluendo.com>
9604 * docs/gst/gstreamer-sections.txt:
9605 Removed docs as well.
9607 2007-02-21 Wim Taymans <wim@fluendo.com>
9609 * gst/gstmessage.c: (gst_message_parse_duration):
9611 Remove new messages for release.
9613 2007-02-20 Wim Taymans <wim@fluendo.com>
9615 * docs/design/part-gstghostpad.txt:
9616 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9617 (gst_ghost_pad_new_full):
9618 Make the ghostpad a parent of the internal pad again for better backward
9619 compatibility. Don't write code that relies on this however.
9621 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9622 (gst_pad_link_check_hierarchy):
9623 Require that parents should be GstElements in the hierarchy check.
9625 2007-02-20 Wim Taymans <wim@fluendo.com>
9627 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9628 (gst_bin_change_state_func), (bin_query_min_max_init),
9629 (bin_query_latency_fold), (bin_query_latency_done),
9632 Implement latency query.
9634 2007-02-20 Wim Taymans <wim@fluendo.com>
9636 * docs/design/part-gstghostpad.txt:
9637 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9638 (gst_ghost_pad_internal_do_activate_push),
9639 (gst_ghost_pad_internal_do_activate_pull),
9640 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9641 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9642 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9643 Do not set the internal pad as a parent anymore so we can avoid
9644 hierarchy linking errors when the ghostpad has no parent yet. This also
9645 fixes failed activation because of unlinked internal pads, which in
9646 turn fixes the impossible case where you have to activate a pad before
9647 you can add it to a running element.
9650 * gst/gstpad.c: (pre_activate), (post_activate),
9651 (gst_pad_set_active), (gst_pad_activate_pull),
9652 (gst_pad_activate_push), (gst_pad_check_pull_range):
9653 Add some more debug info.
9654 Mark activation mode in pre_activate so that we don't try to activate in
9655 endless loops. Fixes #385084.
9657 2007-02-19 Wim Taymans <wim@fluendo.com>
9659 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9660 (gst_base_transform_check_get_range):
9661 Implement a checkgetrange function instead of relying on the default
9662 core behaviour that assumes we can operate in pull mode if we have a
9663 getrange function. First step at fixing #385084.
9665 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9667 * gst/gstchildproxy.h:
9668 * libs/gst/base/gstbasesink.h:
9669 * libs/gst/base/gstbasesrc.h:
9670 * libs/gst/base/gstbasetransform.h:
9671 More docs coverage and some ChangeLog surgery (add missing names)
9673 2007-02-15 Wim Taymans <wim@fluendo.com>
9675 * docs/design/part-TODO.txt:
9676 * docs/design/part-activation.txt:
9677 * docs/design/part-block.txt:
9678 * docs/design/part-buffering.txt:
9679 * docs/design/part-clocks.txt:
9680 * docs/design/part-element-source.txt:
9681 * docs/design/part-events.txt:
9682 * docs/design/part-gstbin.txt:
9683 * docs/design/part-gstbus.txt:
9684 * docs/design/part-gstpipeline.txt:
9685 * docs/design/part-live-source.txt:
9686 * docs/design/part-messages.txt:
9687 * docs/design/part-overview.txt:
9688 * docs/design/part-qos.txt:
9689 * docs/design/part-query.txt:
9690 * docs/design/part-states.txt:
9691 * docs/design/part-trickmodes.txt:
9692 Some doc updates. Start renaming from stream_time to running_time where
9693 it was used wrongly.
9695 2007-02-15 Wim Taymans <wim@fluendo.com>
9697 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9698 Answer LATENCY query.
9700 2007-02-15 Wim Taymans <wim@fluendo.com>
9702 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9706 2007-02-15 Wim Taymans <wim@fluendo.com>
9708 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9709 (gst_pad_dispatcher):
9710 Improve debugging of default pad dispatcher and query functions.
9712 2007-02-15 Wim Taymans <wim@fluendo.com>
9714 * docs/gst/gstreamer-sections.txt:
9715 Remove old unused method.
9717 2007-02-13 Wim Taymans <wim@fluendo.com>
9719 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9722 2007-02-13 Wim Taymans <wim@fluendo.com>
9724 * docs/design/part-seeking.txt:
9727 * gst/gstsegment.c: (gst_segment_set_seek):
9728 Revert old bogus change that should make seeking work again.
9730 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9732 * docs/random/ensonic/dynlink.txt:
9733 * docs/random/ensonic/interfaces.txt:
9734 * docs/random/ensonic/receipies.txt:
9735 Possible dynamic reconnection api, plus some type fixes the other two
9738 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9740 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9741 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9742 Also check for an absolute path following file:// in the filesrc
9743 element. Remove redundant check and call g_path_is_absolute() on the
9746 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9748 * docs/design/draft-klass.txt:
9749 Add existing category analysis.
9752 Fix doc example, framerate is a fraction.
9754 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9757 * docs/gst/Makefile.am:
9758 * docs/gst/gstreamer-sections.txt:
9759 * docs/libs/Makefile.am:
9760 Erm, forgot a bunch of --extra-dir.
9762 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9765 * docs/gst/Makefile.am:
9766 * docs/libs/Makefile.am:
9767 * docs/plugins/Makefile.am:
9768 Add crossreferences to glib/gobject docs.
9770 2007-02-12 Wim Taymans <wim@fluendo.com>
9772 * docs/design/draft-latency.txt:
9775 * docs/libs/gstreamer-libs-sections.txt:
9776 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9777 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9778 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9779 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9780 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9781 (gst_base_sink_get_position), (gst_base_sink_query),
9782 (gst_base_sink_change_state):
9783 * libs/gst/base/gstbasesink.h:
9784 API: gst_base_sink_query_latency() to let subclasses query the upstream
9786 API: gst_base_sink_get_latency() to let subclasses query the configured
9787 latency in the sink.
9788 Implement query and set latency.
9790 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9791 don't continue preroll when we are flushing. Fixes #405284.
9793 * tests/check/pipelines/stress.c: (change_state_timeout),
9794 (quit_timeout), (GST_START_TEST), (stress_suite):
9797 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
9799 Patch by: René Stadler <mail at renestadler de>
9801 * docs/gst/gstreamer-sections.txt:
9802 * gst/gsttaglist.c: (_gst_tag_initialize):
9804 API: add GST_TAG_REFERENCE_LEVEL (#403597).
9806 2007-02-11 Stefan Kost <ensonic@users.sf.net>
9808 * docs/libs/Makefile.am:
9809 Fix path to core docs.
9811 * gst/gstbin.c: (gst_bin_get_by_interface),
9812 (gst_bin_iterate_all_by_interface):
9813 Refix docs by also renaming 'interface' to 'iface' in implementation.
9815 * docs/gst/gstreamer-sections.txt:
9817 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9818 * gst/gstchildproxy.h:
9819 * gst/gstelementfactory.c:
9820 * gst/gstpadtemplate.h:
9821 * libs/gst/controller/gstcontroller.c:
9822 (gst_controlled_property_new):
9825 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
9827 * gst/gstbin.h:(gst_bin_get_by_interface),
9828 (gst_bin_iterate_all_by_interface):
9829 Replace interface parameter name by iface as interface is
9830 a reserved keyword in Visual Studio for C++ projects so it removes
9831 a build error for application developpers using VS.
9832 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9833 Fix a bug on Windows in uri format check. Now the prefix checked
9834 is file:// and next we check if the path after file:// is absolute.
9835 * win32/common/libgstbase.def:
9836 * win32/common/libgstdataprotocol.def:
9837 * win32/common/libgstgstreamer.def:
9838 Add new exported functions.
9840 2007-02-09 Andy Wingo <wingo@pobox.com>
9842 * tests/check/pipelines/simple-launch-lines.c
9843 (simple_launch_lines_suite, test_tee): Disable tee test until I
9844 have time to fix it :-(
9846 * tests/check/Makefile.am (noinst_HEADERS):
9847 * tests/check/libs/libsabi.c:
9848 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9849 * tests/check/gst/gstabi.c:
9850 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9852 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9853 tests for push and pull tee behavior.
9855 * plugins/elements/gsttee.h:
9856 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9857 mark as deprecated as well as unimplemented. It was a crack idea.
9858 Add support for tee operating in pull mode, off by default.
9860 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9861 normal-case logs down to LOG, raise errors to WARNING.
9862 (gst_registry_xml_read_cache): Don't log before calling a function
9865 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9866 exit (registry finalize).
9867 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9868 DEBUG log when we emit signals that people don't even have the
9869 chance to connect to.
9870 (gst_registry_scan_path_level): Less logging in the normal case.
9872 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9874 Patch by: Michal Benes <michal dot benes at itonis dot tv>
9876 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9877 Correctly generate EOS for non-seekable files. We don't have a total
9878 length for them and would get an unexpected end of file if we only
9879 special-cased for regular files. (Fixes: #404569)
9881 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9883 * tests/check/elements/filesrc.c: (GST_START_TEST),
9885 Add unit test for the GstURIHandler interface in filesrc. This also
9886 tests the newly added file://localhost/foo/bar support.
9888 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
9890 * gst/gstelementfactory.h:
9891 The klass string is not a hierarchy. Add reference to the design doc
9892 for more information and common types.
9894 2007-02-02 Wim Taymans <wim@fluendo.com>
9896 * gst/gstquery.c: (gst_query_new_latency):
9897 Remove old structure field.
9899 2007-02-02 Stefan Kost <ensonic@users.sf.net>
9901 * tools/gst-launch.1.in:
9902 Give example for network streaming (#351998)
9904 2007-02-02 Wim Taymans <wim@fluendo.com>
9906 * docs/gst/gstreamer-sections.txt:
9907 Add docs for new methods.
9909 * gst/gstevent.c: (gst_event_new_latency),
9910 (gst_event_parse_latency):
9912 Add new LATENCY event to configure latency in a pipeline.
9913 API: gst_event_new_latency
9914 API: gst_event_parse_latency
9916 * gst/gstmessage.c: (gst_message_new_buffering),
9917 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
9918 (gst_message_new_latency), (gst_message_parse_buffering),
9919 (gst_message_parse_lost_preroll):
9921 Added messages used in draft-latency.
9922 API: gst_message_new_lost_preroll
9923 API: gst_message_parse_lost_preroll
9924 API: gst_message_new_prerolled
9925 API: gst_message_new_latency
9927 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
9928 (gst_query_parse_latency):
9930 Implemented new latency query as in design doc.
9931 API: gst_query_new_latency
9932 API: gst_query_set_latency
9933 API: gst_query_parse_latency
9935 2007-02-02 Wim Taymans <wim@fluendo.com>
9937 * docs/design/draft-latency.txt:
9938 Slight redesign to allow for dynamic latency adjustments.
9940 * docs/design/part-negotiation.txt:
9943 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
9945 reviewed by: Wim Taymans <wim@fluendo.com>
9947 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9948 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9949 Allow file://localhost/foo/bar URLs and correctly fail for every other
9950 hostname that one sets. This was gnomevfssrc is linked for those if
9951 installed as it can handle it (#403172)
9953 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
9955 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9957 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9958 (unref_data), (gst_collect_pads_add_pad_full):
9959 * libs/gst/base/gstcollectpads.h:
9960 Don't put the previously added destroy notify in the GstCollectData
9961 struct as all it's padding is already used and we don't want to break
9962 ABI. Instead put in the pad's GObject data for now. This should be
9963 cleaned up for 0.11 (#402393).
9965 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
9967 reviewed by: Wim Taymans <wim@fluendo.com>
9969 * docs/libs/gstreamer-libs-sections.txt:
9970 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9971 (unref_data), (gst_collect_pads_add_pad),
9972 (gst_collect_pads_add_pad_full):
9973 * libs/gst/base/gstcollectpads.h:
9974 API: Add function to specify a destroy notification for custom
9975 GstCollectData when adding new pads in GstCollectPads (#402393).
9977 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
9980 Update Swedish translation (#378255).
9982 2007-01-31 Stefan Kost <ensonic@users.sf.net>
9984 * docs/design/draft-klass.txt:
9985 Fix the previous change, this is a list of categories and not a hierarchy.
9987 2007-01-31 Stefan Kost <ensonic@users.sf.net>
9989 * docs/design/draft-klass.txt:
9990 Add info about how to get a list of used classes.
9992 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
9994 * plugins/elements/gsttypefindelement.c:
9995 (gst_type_find_element_chain_do_typefinding),
9996 (gst_type_find_element_change_state):
9997 Don't leak found caps in chain function (no idea why that never
9998 showed up as a leak anywhere).
10000 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10003 Fix and expand GstPluginDesc API docs.
10005 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10008 * gst/gstelementfactory.c:
10009 * gst/gstpadtemplate.h:
10012 * libs/gst/controller/gstcontroller.c:
10013 (gst_controlled_property_new):
10014 * tests/examples/controller/audio-example.c:
10017 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10020 comment about refining the xml deps
10022 * docs/manuals.mak:
10023 comments about moving away from jade for docs
10026 recommit the ifdefs to use the binary registry
10028 * gst/gstbin.c: (gst_bin_change_state_func):
10029 this break is obsolete
10031 * gst/gstelementfactory.h:
10032 better GST_ELEMENT_DETAILS docs, add comment about translation
10037 * gst/gstobject.c: (gst_signal_object_get_type):
10038 add G_UNLIKELY as usual
10040 * gst/gstpad.c: (gst_pad_event_default):
10041 add fall trhu comment
10043 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10044 (gst_registry_binary_initialize_magic),
10045 (gst_registry_binary_save_string),
10046 (gst_registry_binary_save_pad_template),
10047 (gst_registry_binary_save_feature),
10048 (gst_registry_binary_save_plugin),
10049 (gst_registry_binary_write_cache),
10050 (gst_registry_binary_check_magic),
10051 (gst_registry_binary_load_pad_template),
10052 (gst_registry_binary_load_feature),
10053 (gst_registry_binary_load_plugin),
10054 (gst_registry_binary_read_cache):
10055 comment typo and formatting
10057 * gst/gstutils.c: (gst_element_state_get_name),
10058 (gst_element_state_change_return_get_name):
10059 remove obsolete breaks
10061 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10062 add FIXME 0.11 and remove cpp comment
10064 2007-01-29 Edward Hervey <edward@fluendo.com>
10066 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10067 Fix print statement in an even more portable way.
10069 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10071 * docs/gst/gstreamer-sections.txt:
10073 API: add GST_ROUND_DOWN_* macros (#401781).
10075 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10077 * docs/gst/gstreamer.types.in:
10078 * gst/gstregistry.c: (gst_registry_class_init):
10079 Document registry signals and make gtk-doc pick them up (#401381).
10081 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10083 * docs/pwg/building-testapp.xml:
10084 Add some audioconverts and audioresample to the pipeline, and some
10085 more comments and error handling.
10087 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10089 * docs/manual/manual.xml:
10090 * docs/pwg/pwg.xml:
10091 Fix typo (#400987).
10093 2007-01-26 Wim Taymans <wim@fluendo.com>
10095 * gst/gstcaps.c: (gst_static_caps_get):
10096 Init caps flags too.
10098 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10100 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10102 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10103 If not using mmap'ed files try to seek to the end instead of the
10104 start to determine whether we can seek at all. This fixes the case
10105 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10106 seeks for everything afterwards fail. Fixes #400656
10108 2007-01-25 Wim Taymans <wim@fluendo.com>
10110 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10111 Add some refcount debugging.
10112 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10113 in multiple streaming threads.
10115 2007-01-25 Wim Taymans <wim@fluendo.com>
10117 Patch by: David Schleef <ds at schleef dot org>
10119 * docs/libs/gstreamer-libs-sections.txt:
10120 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10121 * libs/gst/base/gstadapter.h:
10122 API: gst_adapter_copy() that can reduce the amount of memcpy when
10123 getting data from the adapter. Fixes #388201.
10125 2007-01-25 Edward Hervey <edward@fluendo.com>
10127 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10128 In print statements, "%x" is for guint. Fixes build on macosx.
10130 2007-01-24 Edward Hervey <edward@fluendo.com>
10132 * plugins/elements/gstmultiqueue.c:
10133 (gst_multi_queue_loop):
10135 (single_queue_overrun_cb), (single_queue_underrun_cb),
10136 (single_queue_check_full), (gst_single_queue_new):
10137 Implement single queue growth system.
10138 This uses the extra-size properties, and will grow single queues by
10139 that much if one goes full whereas there are others empty. This is
10140 called extra-mode in the code.
10141 When a single queue's levels go back below the initial max-size
10142 limits, it is no longer in extra-mode. This is to ensure we don't
10143 consume too much memory.
10146 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10148 * gst/gst.c: (gst_init_get_option_group):
10149 Make warning about late g_thread_init() calls a bit more explicit,
10150 so that it's more obvious to application developers what they need
10151 to do if a user files a bug against their application.
10153 2007-01-22 Edward Hervey <edward@fluendo.com>
10155 * plugins/elements/gstmultiqueue.c:
10156 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10157 Remove previous hack of unsetting the flushing flag for the source pad
10158 instead of activating it. Instead, fix the source pad activate function
10159 so that it no longer depends on having a parent set or not.
10161 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10163 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10165 * docs/manual/basics-bus.xml:
10166 Fix example code, gst_element_unref() doesn't exist any longer.
10168 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10170 Patch by: Mark Nauwelaerts <manauw at skynet be>
10173 Fix two docs typoes (#399094).
10175 2007-01-19 Edward Hervey <edward@fluendo.com>
10177 * docs/faq/gst-uninstalled:
10178 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10179 depending on libgstbaseutils can work in uninstalled environment.
10181 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10183 * gst/gsttaglist.h:
10184 * gst/gsttagsetter.c:
10185 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10186 statement for new tag.
10188 2007-01-17 Edward Hervey <edward@fluendo.com>
10190 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10191 When dynamically creating single queues, activate sinkpad before adding
10193 We should be doing the same thing for the source pad, but we can't
10194 since it would call a method which needs the parent to be set in order
10195 to work propertly. Instead of activating the source pad, we just unset
10196 the flushing flag, which is the minimal requirement for adding a pad
10197 to an element in a state greater than READY.
10199 2007-01-17 Edward Hervey <edward@fluendo.com>
10201 * docs/faq/gst-uninstalled:
10202 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10205 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10207 * tests/check/gst/gstabi.c:
10208 * tests/check/gst/struct_hppa.h:
10209 * tests/check/libs/libsabi.c:
10210 * tests/check/libs/struct_hppa.h:
10211 Add ABI structs for HPPA (see #393796).
10213 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10215 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10216 Actually write ABI structs to the file specified in the GST_ABI
10217 environment variable, as the message we print claims we would.
10219 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10221 * tests/check/gst/gsttask.c:
10222 Fix header comment.
10224 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10226 * gst/gsttaglist.c: (_gst_tag_initialize):
10227 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10228 previous two entries.
10230 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10232 * docs/gst/gstreamer-sections.txt:
10233 * gst/gsttaglist.c: (_gst_tag_initialize):
10234 * gst/gsttaglist.h:
10235 Add tag support for beat-per-minute.
10237 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10239 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10240 (gst_registry_binary_initialize_magic),
10241 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10242 (gst_registry_binary_save_pad_template),
10243 (gst_registry_binary_save_feature),
10244 (gst_registry_binary_save_plugin),
10245 (gst_registry_binary_write_cache),
10246 (gst_registry_binary_check_magic),
10247 (gst_registry_binary_load_pad_template),
10248 (gst_registry_binary_load_feature),
10249 (gst_registry_binary_load_plugin),
10250 (gst_registry_binary_read_cache):
10251 * gst/gstregistrybinary.h:
10252 Use glib types, cleanup comments, impement interfaces and uri-types.
10254 2007-01-13 Andy Wingo <wingo@pobox.com>
10256 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10257 getrange() to return buffers with other caps, while we fix
10258 demuxers and typefind, or otherwise change part-negotiation.txt.
10260 2007-01-12 Andy Wingo <wingo@pobox.com>
10262 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10263 Factor start/stop into this private function instead of partially
10264 in activate functions and partially in the change_state function.
10265 Fixes setup before the element has changed from READY->PAUSED, as
10266 is the case in pull-mode pipelines.
10267 (gst_base_transform_sink_activate_push)
10268 (gst_base_transform_src_activate_pull): Refactor to use
10269 gst_base_transform_activate().
10270 (gst_base_transform_change_state): Removed, not needed any more.
10272 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10273 Truncate before fixating.
10275 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10276 Don't set_caps() if the result of fixating is ANY, as it's not
10277 supported, and not necessary in the case of a link with no
10278 template caps on either side. Fixes tests/check/libs/basesrc in
10279 some pull-mode tests.
10281 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10282 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10283 (gst_base_transform_src_activate_pull):
10284 Track the activation mode.
10285 (gst_base_transform_setcaps): In pull mode, when activating the
10286 src pad, after activating the sink pad, activate the sink pad's
10287 peer, as discussed in part-negotiation.txt.
10289 * libs/gst/base/gstbasesrc.h:
10290 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10291 vmethod, as in basesink.
10293 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10295 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10296 mode, first proxy the setcaps to the peer pad.
10297 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10298 new fixate vmethod.
10299 (gst_base_sink_default_activate_pull): Rename from
10300 gst_base_sink_activate_pull.
10301 (gst_base_sink_negotiate_pull): New function, performs negotiation
10302 in pull mode before calling ::activate_pull().
10303 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10304 vmethod instead of the default implementation. I have no idea how
10305 this worked before. Negotiate before calling activate_pull.
10307 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10308 sink pads in pull mode. In addition to being correct, fixes
10309 filesrc ! decodebin ! identity ! fakesink.
10310 (gst_pad_get_range, gst_pad_pull_range): Don't call
10311 gst_pad_set_caps() if the caps changes; instead error out with
10312 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10314 2007-01-12 Andy Wingo <wingo@pobox.com>
10316 * docs/design/part-negotiation.txt: Update with more policy.
10318 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10320 * libs/gst/check/gstbufferstraw.h:
10321 * libs/gst/check/gstcheck.h:
10322 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10325 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10327 * tests/check/Makefile.am:
10328 * tests/check/gst/.cvsignore:
10329 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10330 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10331 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10332 (GST_START_TEST), (gst_tag_setter_suite):
10333 Add minimal unit test for beforementioned GstTagSetter bug.
10335 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10337 Patch by: René Stadler <mail at renestadler dot de>
10339 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10340 gst_tag_list_merge() returns a new list, so it's not the best idea
10341 to ingore its return value. Effectively meant that tags could only
10342 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10343 Also add function guard to require a non-NULL taglist as input (has
10344 always been so due to gst_tag_list_copy(), just making it explicit).
10346 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10348 * docs/random/draft-missing-plugins.txt:
10349 Some additions: mention new API that is supposed to be used at the
10350 various stages; short blob about new gst-inspect introspection
10351 option; mention potential future problem with plugins that have
10352 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10354 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10356 * tools/gst-inspect.c:
10357 (print_plugin_automatic_install_info_codecs),
10358 (print_plugin_automatic_install_info_protocols),
10359 (print_plugin_automatic_install_info), (main):
10360 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10361 introspect plugin files and get machine-parsable output that corresponds
10362 to the last bit of the missing-plugin installer string (small gotcha:
10363 doesn't take into account ranks).
10365 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10368 * docs/gst/gstreamer-sections.txt:
10370 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10371 (gst_registry_lookup_locked):
10372 * gst/gstregistry.h:
10373 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10374 (gst_registry_binary_initialize_magic),
10375 (gst_registry_binary_save_string),
10376 (gst_registry_binary_save_pad_template),
10377 (gst_registry_binary_save_feature),
10378 (gst_registry_binary_save_plugin),
10379 (gst_registry_binary_write_cache),
10380 (gst_registry_binary_check_magic),
10381 (gst_registry_binary_load_pad_template),
10382 (gst_registry_binary_load_feature),
10383 (gst_registry_binary_load_plugin),
10384 (gst_registry_binary_read_cache):
10385 * gst/gstregistrybinary.h:
10386 * gst/gstregistryxml.c: (load_feature),
10387 (gst_registry_xml_read_cache):
10388 commit binary registry (disabled by default, see #359653)
10390 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10392 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10393 Fix 'make check' too.
10395 2007-01-10 Andy Wingo <wingo@pobox.com>
10397 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10400 * docs/design/part-negotiation.txt: Update with, um, one way that
10401 pull-mode negotiation might work?
10404 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10405 that the pad must be a src pad; makes sense to call it the other
10406 way in pull mode, and the logic is symmetric anyway.
10408 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10410 * plugins/elements/gstfilesink.c:
10411 Include <stdio.h> for fseeko().
10413 2007-01-10 Wim Taymans <wim@fluendo.com>
10417 Reserve LATENCY event.
10419 2007-01-09 Wim Taymans <wim@fluendo.com>
10421 * docs/design/draft-latency.txt:
10424 2007-01-09 Wim Taymans <wim@fluendo.com>
10426 * docs/design/draft-latency.txt:
10429 * gst/gstelement.h:
10430 * gst/gststructure.c:
10434 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10436 * tests/check/.cvsignore:
10437 Ignore test-registry.xml as well.
10439 2007-01-09 Wim Taymans <wim@fluendo.com>
10441 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10442 unref data at the end when we are done with the pad.
10444 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10446 * docs/gst/gstreamer-sections.txt:
10447 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10448 (init_post), (gst_deinit), (gst_update_registry):
10450 API: add gst_update_registry() (#391296).
10452 * tests/check/Makefile.am:
10453 * tests/check/gst/gstregistry.c:
10454 * tests/check/gst/.cvsignore:
10455 Simple unit test for the above.
10457 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10459 * gst/gstregistry.c: (gst_registry_scan_path_level):
10460 Plugin extension on HP-UX is .sl, add that to the list of approved
10461 plugin extensions (see #393796).
10463 * tests/check/gst/gstpad.c: (GST_START_TEST):
10464 ulong => gulong. Fixes compilation with HP-UX compiler.
10466 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10467 Fix compilation if valgrind headers are not available.
10469 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10471 * win32/common/libgstreamer.def:
10472 Add new exported function.
10473 * win32/vs6/libgstbase.dsp:
10474 Add gstdataqueue.c to the build.
10475 * win32/vs6/libgstcoreelements.dsp:
10476 Add gstmultiqueue.c to the build.
10478 2007-01-06 Andy Wingo <wingo@pobox.com>
10480 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10481 activate_pull(), providing for a way to specialize the process of
10482 spawning a thread to pull on the sink pad. There is a default
10485 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10486 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10487 (gst_base_sink_init): Renamed pad activation functions (inserting
10488 "_pad" in their names). Refactor to use the new activate_pull
10489 vmethod, as appropriate.
10490 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10491 default activate_pull function to start a task pulling from the
10492 sink pad, as before.
10494 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10495 on the pads if necessary, as in push()/chain(). Update docs.
10496 Shouldn't affect existing pull() usage as it is currently only
10497 being used on buffers without caps.
10499 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10501 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10503 Call g_thread_init() first thing in gst_init() / gst_check_init().
10504 When initialisation is done via gst_init_get_option_group() and
10505 GOption parsing, issue a warning if the GLib thread system has not
10506 been initialised yet by the time gst_init_get_option_group() is
10507 called, as it's quite likely other GLib functions such as
10508 g_option_context_new() have been called already then, and
10509 g_thread_init() must be called before any other GLib function. The
10510 application in question must be fixed in that case, since memory
10511 corruption might happen otherwise.
10512 We issue the warning because even if the GLib folks decide to work
10513 around the problem on their end in future, this is still an issue
10514 with all GLib versions >= 2.10.0, so we should warn until we depend
10515 on a GLib version we know to be safe.
10516 Update documentation as well.
10517 Closes bug #391278.
10519 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10521 * tools/gst-inspect.c: (main):
10522 * tools/gst-launch.c: (main):
10523 * tools/gst-typefind.c: (main):
10524 * tools/gst-xmlinspect.c: (main):
10525 Call g_thread_init() really really early, before any other GLib
10526 function (see #342564 and recent discussion on gtk-devel-list).
10528 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10530 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10532 * gst/gst_private.h:
10533 * gst/gstconfig.h.in:
10535 On win32, all the __declspec stuff for symbol exporting is
10536 apparently only needed with MSVC, but doesn't work with MingW.
10537 Fixes compilation with MingW and #391909.
10539 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10541 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10542 Change some GST_ERROR_OBJECT that aren't really errors to
10543 GST_WARNING_OBJECT in order to reduce terminal spam.
10545 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10547 * tests/check/Makefile.am:
10548 disable test again, as there seem to be still race problems
10550 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10552 * tests/check/Makefile.am:
10553 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10554 (GST_START_TEST), (queue_suite):
10555 enable queue test again, add tests for the leaky behaviour
10557 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10560 * tests/examples/Makefile.am:
10561 Compile adapter test/example only if the required headers are
10562 available (fixes #391915).
10564 2007-01-01 David Schleef <ds@schleef.org>
10567 Restore the previous signal handler for SIGSEGV instead of
10568 setting to default, since we may have stolen it away from
10569 someone. (i.e., Mono)
10571 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10573 * docs/random/draft-missing-plugins.txt:
10574 Some small additions and clarifications.
10576 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10578 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10579 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10580 since that can lead to random memory corruptions and crashes
10581 (may or may not be related to #383244, #386711, and #386711).
10583 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10585 * tests/check/.cvsignore:
10586 * tests/check/Makefile.am:
10587 sync .cvsignome and CLEANFILES
10589 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10591 * tests/check/Makefile.am:
10594 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10596 * docs/design/part-states.txt:
10597 two tiny additional comments
10599 * gst/gststructure.c:
10602 * tests/check/Makefile.am:
10603 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10605 disable test for now, unless it gets fixed
10607 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10609 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10611 fix race in underrun test
10613 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10615 * tests/check/elements/.cvsignore:
10618 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10620 try to narrow test failure
10622 2006-12-21 David Schleef <ds@schleef.org>
10624 * plugins/elements/gstfakesrc.c:
10625 Use g_random_int_range(), since it produces better random
10626 numbers in a range than almost-correct floating point code.
10628 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10630 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10631 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10632 (gst_check_teardown_sink_pad):
10633 do not automatically (de)activate pads
10635 * tests/check/Makefile.am:
10636 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10637 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10638 add new, yet simple tests for queue
10640 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10641 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10642 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10644 * tests/check/elements/identity.c: (cleanup_identity):
10645 consistent pad (de)activation
10647 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10649 Patch by: Sebastian Dröge <slomo ubuntu com>
10651 * libs/gst/base/gstcollectpads.c:
10652 Fix two doc typos (#387866).
10654 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10656 * docs/manual/advanced-dparams.xml:
10657 Fix typo (g_object_control_properties() doesn't exist).
10659 2006-12-19 Edward Hervey <edward@fluendo.com>
10661 * gst/gstsegment.c: (gst_segment_set_seek):
10662 Fine tune the cases where the segment start/stop values are really
10664 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10665 Add tests for the return values of gst_segment_set_seek().
10667 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10672 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10674 Fix incorrect documentation and flesh it out a bit more.
10675 Set default values for the max properties on the GParamSpec as well,
10676 so it shows up correctly in gst-inspect.
10678 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10680 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10681 Correct docs of queue, add more detail and crosslink it more.
10683 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10685 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10686 Print additional debug info when the stream isn't perfectly
10687 timestamped; don't try to use invalid durations.
10689 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10691 * docs/design/Makefile.am:
10692 Dist new design docs.
10694 2006-12-16 Wim Taymans <wim@fluendo.com>
10696 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10698 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10699 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10700 (gst_collect_pads_stop), (gst_collect_pads_event),
10701 (gst_collect_pads_chain):
10702 * libs/gst/base/gstcollectpads.h:
10703 Add refcounting to the collectpads data so we can track when it's safe
10704 to free the data. Fixes #383382.
10706 2006-12-15 Wim Taymans <wim@fluendo.com>
10708 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10709 (gst_collect_pads_remove_pad):
10710 Automatically activate/deactivate pads when they are added to a
10711 started/stoped collectpads.
10713 2006-12-15 Wim Taymans <wim@fluendo.com>
10715 * gst/gstelement.c: (gst_element_add_pad):
10716 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10717 * gst/gstpad.c: (gst_pad_init):
10718 Set pads to FLUSHING when they are created. Check, warn and fix when a
10719 demuxer adds an inactive pad to itself when running. Fixes #339326.
10721 2006-12-15 Wim Taymans <wim@fluendo.com>
10723 * gst/gstelement.c: (gst_element_class_init),
10724 (gst_element_default_send_event), (gst_element_send_event),
10725 (gst_element_default_query), (gst_element_query):
10726 Expose default element send_event and query handling as vmethods that
10727 subclasses can chain up to.
10729 2006-12-15 Wim Taymans <wim@fluendo.com>
10731 * gst/gstelement.c: (gst_element_set_state_func):
10732 Small documentation fixes.
10734 2006-12-15 Wim Taymans <wim@fluendo.com>
10736 * docs/design/draft-latency.txt:
10737 Checked in draft for handling latency in pipelines.
10739 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10743 * gstreamer.spec.in:
10746 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10748 * gst/gst.c: (init_pre), (init_post):
10749 init_pre() and init_post() might be called via our GOptionGroup or
10750 from gst_init(), and we should skip both of them if we've already
10751 been initialised, otherwise we will init some things twice or add
10752 two default log functions.
10754 2006-12-13 Edward Hervey <edward@fluendo.com>
10756 * docs/manual/basics-bus.xml:
10757 No, gst_main_loop does not exist. Its g_main_loop.
10758 Discovered by somebody who abused the copy-paste technique of coding :)
10760 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
10762 * gst/gstghostpad.c:
10763 Log ghostpad debug stuff to the GST_PADS category as well rather
10764 than just to the default category.
10766 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
10769 * gst/gst.c: (init_pre):
10770 Add some basic system details such as OS and architecture
10771 to the debug output if possible, courtesy of uname().
10773 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10775 * docs/gst/running.xml:
10776 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10777 environment variables.
10779 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10781 * tests/check/gst/gstbin.c: (GST_START_TEST):
10782 It is acceptable to have a refcount of 2 or 3 at this point in the
10783 test, because the pipeline might be just posting its state_change
10784 message. The next line then waits for that message to appear using
10785 bus_poll, so that should be fine too.
10787 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10789 * gst/gst.c: (ensure_current_registry_forking):
10790 Ignore EINTR when reading from the child registry pipe.
10791 Explicitly ignore the return value from close, since it makes no
10794 * gst/gstminiobject.c: (gst_mini_object_ref),
10795 (gst_mini_object_unref):
10796 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10798 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10799 When removing cached plugins, remove their features too, so they're
10800 not visible after they've disappeared.
10802 * gst/gstutils.c: (prepare_link_maybe_ghosting):
10803 In the unlikely case that we are linking pads with no parents, don't
10804 crash trying to get the non-existent parent bin.
10806 * gst/parse/grammar.y:
10807 Output debug in the PIPELINE category
10809 2005-03-08 Wim Taymans <wim@fluendo.com>
10811 Patch by: René Stadler <mail at renestadler dot de>
10813 * gst/gstclock.c: (gst_clock_new_periodic_id):
10814 Reject invalid clock times for interval of periodic ids.
10817 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10819 * gst/gstelementfactory.c: (gst_element_factory_create):
10820 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10821 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10822 * tools/gst-inspect.c: (print_element_info):
10823 Fix refcounting of gst_plugin_feature_load to match the docs.
10826 2006-12-07 Wim Taymans <wim@fluendo.com>
10828 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10829 (gst_base_sink_get_position):
10830 Improve debugging of events.
10832 2006-12-07 Wim Taymans <wim@fluendo.com>
10834 Patch by: René Stadler <mail at renestadler dot de>
10836 * gst/gstclock.c: (gst_clock_id_wait):
10837 Make period ids add the interval to the origial requested time instead
10838 of the possibly updated time which can be wrong when there are multiple
10839 waiters for the same id. Fixes #382592.
10841 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10842 (gst_system_clock_id_wait_jitter_unlocked),
10843 (gst_system_clock_id_wait_jitter):
10844 Fix restart in the async notify thread when an async entry is added to
10845 the front of the list. Fixes #381492.
10847 * tests/check/gst/gstsystemclock.c: (store_callback),
10848 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10849 Added test for multiple async waits.
10850 Added test for async wait order.
10852 2006-12-07 Wim Taymans <wim@fluendo.com>
10854 * gst/gstbin.c: (gst_bin_query):
10855 Add some more docs about the POSITION query.
10857 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10860 Bump version nano - back to CVS.
10862 === release 0.10.11 ===
10864 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
10867 releasing 0.10.11, "Love never runs on time"
10869 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
10871 * win32/common/libgstbase.def:
10872 * win32/common/libgstreamer.def:
10873 * win32/vs8/libgstbase.vcproj:
10874 * win32/vs8/libgstcoreelements.vcproj:
10875 * win32/vs8/libgstreamer.vcproj:
10876 Fix compilation on win32 under VS8
10877 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10878 Partially fixes #381175
10880 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10882 * gst/gstvalue.c: (gst_value_compare_fraction):
10883 If someone is foolish enough to compare 2 fractions with denominator =
10884 0, return UNORDERED rather than aborting.
10886 2006-11-28 Edward Hervey <edward@fluendo.com>
10888 * libs/gst/base/Makefile.am:
10889 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
10890 (gst_data_queue_base_init), (gst_data_queue_class_init),
10891 (gst_data_queue_init), (gst_data_queue_new),
10892 (gst_data_queue_cleanup), (gst_data_queue_finalize),
10893 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
10894 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
10895 (gst_data_queue_is_empty), (gst_data_queue_is_full),
10896 (gst_data_queue_set_flushing), (gst_data_queue_push),
10897 (gst_data_queue_pop), (gst_data_queue_drop_head),
10898 (gst_data_queue_set_property), (gst_data_queue_get_property):
10899 * libs/gst/base/gstdataqueue.h:
10900 New GstDataQueue object for threadsafe queueing. Most useful for
10901 elements that need some queueing functionnality.
10902 * docs/libs/gstreamer-libs-docs.sgml:
10903 * docs/libs/gstreamer-libs-sections.txt:
10904 Insert documentation for GstDataQueue
10905 * plugins/elements/Makefile.am:
10906 * plugins/elements/gstelements.c:
10907 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10908 (gst_multi_queue_class_init), (gst_multi_queue_init),
10909 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10910 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10911 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10912 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10913 (gst_multi_queue_loop), (gst_multi_queue_chain),
10914 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
10915 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
10916 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
10917 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
10918 (wake_up_next_non_linked), (compute_next_non_linked),
10919 (single_queue_overrun_cb), (single_queue_underrun_cb),
10920 (single_queue_check_full), (gst_single_queue_new):
10921 * plugins/elements/gstmultiqueue.h:
10922 New multiqueue element, using GstDataQueue. Used for queuing multiple
10924 Closes #344639 and #347785
10926 2006-11-22 Stefan Kost <ensonic@users.sf.net>
10928 * docs/pwg/advanced-types.xml:
10929 add more missing type details
10931 * tools/gst-run.c: (main):
10932 remove unused variable
10934 2006-11-21 Stefan Kost <ensonic@users.sf.net>
10936 * docs/libs/Makefile.am:
10937 * docs/libs/gstreamer-libs.types:
10938 add types of base classes to enable gobject specific stuff in the docs
10940 * docs/random/ensonic/embedded.txt:
10941 more ideas about isolating platform specific things
10943 2006-11-20 Wim Taymans <wim@fluendo.com>
10945 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
10947 * libs/gst/check/gstcheck.h:
10948 Fix compilation and running against 0.9.4. Fixes #377332.
10950 2006-11-20 Wim Taymans <wim@fluendo.com>
10952 * gst/gstsegment.c: (gst_segment_set_seek),
10953 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10954 (gst_segment_to_running_time):
10955 Fix boundary checking in to_running_time() and to_stream_time().
10958 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10959 stream and running time can now be calculated for the complete
10962 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
10964 * gst/gstpad.c: (gst_pad_push_event):
10965 Can't access event structure after giving away ownership of
10968 2006-11-15 Stefan Kost <ensonic@users.sf.net>
10970 * docs/random/ensonic/embedded.txt:
10971 * docs/random/ensonic/profiling.txt:
10972 * docs/random/ensonic/receipies.txt:
10975 2006-11-13 Wim Taymans <wim@fluendo.com>
10977 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10980 Fix documentation for gst_pad_dispatcher. Fixes #374475.
10982 2006-11-13 Wim Taymans <wim@fluendo.com>
10984 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
10986 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10987 Store new length in segment duration so we don't keep on calling the
10988 potentially expensize get_size() call. Fixes #370865.
10990 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
10992 Patch by: Sergey Scobich <sergey.scobich at gmail com>
10994 * win32/common/libgstreamer.def:
10995 Add two missing symbols (#366492).
10997 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
10999 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11000 (gst_adapter_take_buffer):
11001 Fix format string to use all its arguments.
11002 Remove useless >= check on a guint
11004 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11006 * tests/examples/adapter/.cvsignore:
11007 Ignore build file as commanded by the build-bot
11009 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11011 * tests/examples/adapter/Makefile.am:
11012 * tests/examples/adapter/adapter_test.c: (run_test_take),
11013 (run_test_take_buffer), (run_tests), (main):
11015 Add new files from the previous commit
11017 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11021 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11022 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11023 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11024 * libs/gst/base/gstadapter.h:
11025 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11026 (GST_START_TEST), (gst_adapter_suite):
11027 * tests/examples/Makefile.am:
11028 Do some optimisation work in GstAdapter to avoid copies in more cases.
11029 It could still do slightly better by merging buffers when
11030 gst_buffer_is_span_fast is true, but is already faster.
11032 Also, avoid traversing a single-linked list to append each incoming
11033 buffer inside the adapter.
11035 Add simple test app that times the adapter behaviour in different
11036 situations, and extend the unit test to check that bytes enter and
11037 exit the adapter in their original order.
11039 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11041 * docs/random/draft-missing-plugins.txt:
11042 Update: use element message instead of adding a new message
11043 type to the core; don't provide GStreamer API to initiate the
11044 plugin download, just provide API to compose the strings needed
11045 and let an external libgimmestuff handle the rest.
11047 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11049 * tools/gst-inspect.c: (print_element_properties_info):
11050 Print a string instead of 'unknown type' for GValueArray properties
11052 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11054 * docs/random/draft-missing-plugins.txt:
11057 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11059 * tests/examples/typefind/typefind.c: (type_found), (main):
11060 Make typefind element example work again (#371894); add a
11063 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11065 * docs/random/draft-missing-plugins.txt:
11066 Commit initial draft about how to deal with missing plugins,
11067 needs work (API too).
11069 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11071 * docs/pwg/advanced-types.xml:
11072 documents the new caps elements (see #363118)
11074 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11076 * gst/gstplugin.c: (gst_plugin_load_file):
11077 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11078 (gst_file_src_map_region), (gst_file_src_start):
11079 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11080 (gst_file_index_commit):
11081 Use g_strerror() instead of strerror() - we want UTF-8.
11083 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11085 Patch by: Peter Kjellerstedt <pkj at axis com>
11087 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11088 Another printf fix (#371493).
11090 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11092 * tests/check/gst/gsttag.c:
11093 relicence (okay with author=company)
11095 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11097 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11098 (gst_pad_push_event):
11099 Enhance debug and improve docs
11104 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11106 * docs/random/ensonic/distributed.txt:
11107 * docs/random/ensonic/profiling.txt:
11110 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11112 * docs/gst/gstreamer-sections.txt:
11113 add new API and fix the build
11115 * gst/gstbin.c: (gst_bin_recalc_state):
11116 * gst/gstelement.c: (gst_element_message_full),
11117 (gst_element_get_state_func), (gst_element_set_state_func):
11118 use new API and improve logging
11120 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11122 API: add function to get StateChangereturn names to improve logs
11124 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11126 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11127 I'm considering shooting the next person to put strerror stuff
11128 in the translateable part of the message.
11130 2006-11-03 Wim Taymans <wim@fluendo.com>
11132 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11133 Get the type and printf conversion specifiers right.
11135 2006-11-03 Wim Taymans <wim@fluendo.com>
11137 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11139 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11140 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11141 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11142 Some small cleanups. Improve debugging.
11144 Signal all waiting threads with a broadcast instead of just one.
11147 2006-11-03 Wim Taymans <wim@fluendo.com>
11149 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11150 (gst_fd_src_create):
11151 Add some debugging.
11152 Only update fd when it's different from the old.
11154 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11156 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11157 Printf fixes for PPC/OSX, take two (#369366).
11159 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11161 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11163 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11164 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11165 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11166 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11167 don't cast to long long for portability reasons, but use
11168 GLib's types instead.
11170 2006-10-30 Michael Smith <msmith@fluendo.com>
11172 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11173 Get the arguments to lseek() the right way around.
11176 2006-10-30 Wim Taymans <wim@fluendo.com>
11178 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11181 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11183 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11185 Patch by: Kjartan Maraas <kmaraas at gnome org>
11187 * docs/design/part-MT-refcounting.txt:
11188 * docs/random/wtay/capsnego2-docs:
11191 Typo fixes (#366212).
11193 2006-10-28 Wim Taymans <wim@fluendo.com>
11195 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11198 * win32/common/libgstbase.def:
11199 * win32/common/libgstreamer.def:
11200 * win32/vs8/libgstbase.vcproj:
11201 * win32/vs8/libgstcontroller.vcproj:
11202 Add needed entries in .def files.
11204 Rearrange def files in vs8 solutions. Fixes #366286.
11206 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11208 * win32/common/gstconfig.h:
11209 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11210 hand-made win32 gstconfig.h. Fixes #366321.
11212 2006-10-27 Wim Taymans <wim@fluendo.com>
11214 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11215 (gst_ghost_pad_new_full):
11216 Make acceptcaps return TRUE when we don't have a target, just like
11219 2006-10-27 Wim Taymans <wim@fluendo.com>
11221 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11222 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11224 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11226 * gst/gststructure.c: (gst_structure_id_set_value):
11227 If someone tries to set a non-UTF8 string field on a structure,
11228 don't just print a warning, but also ignore the request and do
11229 not change/add that field to the structure.
11231 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11232 Test for the above.
11234 2006-10-25 David Schleef <ds@schleef.org>
11237 g_hash_table_insert() needs a cast to a non-const pointer duh.
11239 2006-10-25 David Schleef <ds@schleef.org>
11243 Change name parameter of _gst_debug_register_funcptr to const
11244 to reflect the constness of its use in the function as well
11245 as to quiet a gcc warning.
11247 2006-10-25 Edward Hervey <edward@fluendo.com>
11249 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11250 Don't push the buffer if it's empty.
11253 2006-10-24 Wim Taymans <wim@fluendo.com>
11258 * libs/gst/base/gstbasetransform.c:
11259 (gst_base_transform_sink_eventfunc):
11260 Debug segment values *after* updating them as this is more
11263 2006-10-23 Wim Taymans <wim@fluendo.com>
11265 * docs/design/part-events.txt:
11268 * docs/design/part-block.txt:
11269 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11270 (gst_pad_push_event):
11271 Revert BLOCKING patch, it tries to be smart without really having a
11272 clear idea what or how. So, now we discard all FLUSHING events again on
11273 a blocking pad. Should fix gnonlin again.
11275 2006-10-23 Wim Taymans <wim@fluendo.com>
11277 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11279 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11280 (gst_base_src_start), (gst_base_src_activate_push):
11281 Make sure size is always initialized. Fixes #364388.
11283 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11285 * docs/random/ensonic/distributed.txt:
11286 add some ideas about doing distributed processing
11288 * docs/random/ensonic/profiling.txt:
11289 get_rusage look promising
11291 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11293 * docs/manual/basics-helloworld.xml:
11294 Add a cast in example to fix compile warning
11296 2006-10-18 Wim Taymans <wim@fluendo.com>
11298 * gst/gstsegment.c: (gst_segment_set_last_stop),
11299 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11300 Relax arg checking again, -1 is allowed.
11302 2006-10-18 Wim Taymans <wim@fluendo.com>
11304 * gst/gstsegment.c: (gst_segment_set_last_stop),
11305 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11306 _set_last_stop() must be with a value != -1
11307 A _TYPE_SET to -1 means seek to 0.
11308 Calc last_stop correctly for negative rates.
11309 Make sure we work with positive durations when updating a segment.
11311 2006-10-18 Wim Taymans <wim@fluendo.com>
11313 * docs/design/part-live-source.txt:
11317 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11320 Add an explicit cast to GstBuffer** to keep old code that added an
11321 explicit cast to GstMiniObject** for gst_mini_object_replace()
11322 compiling without warning.
11324 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11326 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11327 check for validity of dates
11329 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11331 * docs/gst/gstreamer-sections.txt:
11332 Forgot this one, makes gtk-doc shut up.
11334 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11336 Patch by: Peter Kjellerstedt <pkj at axis com>
11339 Don't define xmlNodePtr to gpointer if the core was built with
11340 --disable-loadsave and --disable-registry, this will break
11341 applications that want to use libxml2 but are buildling against a
11342 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11343 instead so we don't have to mess with the libxml2 namespace
11346 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11349 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11350 type-punned pointer warnings.
11352 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11354 * gst/gstelement.h:
11355 Add casts to the correct return type to state <=> state transition
11358 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11360 * docs/design/part-live-source.txt:
11361 describe howto handle latency
11363 * docs/random/ensonic/profiling.txt:
11366 * tools/gst-plot-timeline.py:
11367 fix log parsing for solaris, remove unused function
11369 2006-10-16 Wim Taymans <wim@fluendo.com>
11371 * docs/design/part-trickmodes.txt:
11373 Update some docs regarding reverse playback.
11375 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11377 Patch by: Marcus Granado <mrc dot gran at gmail com>
11379 * win32/vs8/grammar.vcproj:
11380 Error out with a warning if glib-genmarshal.exe is not in path,
11381 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11383 2006-10-13 Wim Taymans <wim@fluendo.com>
11385 * gst/gstsegment.c: (gst_segment_set_seek):
11386 When seeking to stop -1, set last_stop (current position) to the
11387 duration of the segment.
11389 2006-10-13 Wim Taymans <wim@fluendo.com>
11391 * gst/gstelement.h:
11392 Clarify _NO_PREROLL a bit more.
11397 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11398 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11399 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11400 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11401 due to wrong locking order. Fixes #361769.
11402 Remove some redundant/misplaced checks in pad_block.
11404 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11405 For negative rates, count backwards from the duration.
11407 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11409 * gst/gsterror.c: (_gst_library_errors_init):
11410 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11411 up with something better).
11413 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11415 * win32/vs6/libgstreamer.dsp:
11416 * win32/vs7/libgstreamer.vcproj:
11417 * win32/vs8/libgstreamer.vcproj:
11418 Don't reference glib-compat.c which is currently not used and not
11419 disted; add gstquark.c which was recently added. Fixes #361730.
11421 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11423 * win32/common/libgstbase.def:
11424 * win32/common/libgstcontroller.def:
11425 * win32/common/libgstreamer.def:
11426 Add gst_caps_merge() and a bunch of other recently-added functions.
11429 2006-10-11 Wim Taymans <wim@fluendo.com>
11431 * docs/plugins/gstreamer-plugins.args:
11432 * docs/plugins/inspect/plugin-coreelements.xml:
11433 * docs/plugins/inspect/plugin-coreindexers.xml:
11434 Update element args.
11436 * gst/gstsystemclock.c:
11437 Small comment update.
11439 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11440 (gst_tee_request_new_pad), (gst_tee_release_pad),
11441 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11442 (gst_tee_sink_activate_pull):
11443 * plugins/elements/gsttee.h:
11445 Add default property defines.
11446 Implement release pad function.
11447 Give properties better blubs etc.
11448 Activate pads before adding them to a running tee.
11449 Do simple buffer_alloc on the first requested pad.
11450 Post error when activation fails.
11452 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11454 * gst/gst.c: (ensure_current_registry_forking):
11455 Check return value of write() to make compiler happy.
11457 2006-10-11 Wim Taymans <wim@fluendo.com>
11459 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11461 * plugins/elements/gstqueue.c: (gst_queue_chain):
11462 Recheck queue filledness after signalling the overrun when we're about
11463 to leak downstream because we released the lock when emitting the signal
11464 and the queue could be empty again. Fixes #352345.
11466 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11468 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11469 Fix refcounting here too, just like we did for _new_valist() a few
11470 days ago (#357180) (thanks to René Stadler). Also remove all those
11471 'Since: 0.9' from the gtk-doc blobs.
11473 * tests/check/libs/controller.c: (controller_refcount_new_list),
11474 (gst_controller_suite):
11475 Unit test for the above.
11477 2006-10-10 Wim Taymans <wim@fluendo.com>
11479 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11481 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11482 (gst_pad_save_thyself):
11484 Write pad direction in XML output. Fixes #345496.
11486 2006-10-10 Wim Taymans <wim@fluendo.com>
11488 Patch by: René Stadler <mail at renestadler dot de>
11490 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11491 (gst_controller_new_list), (_gst_controller_dispose),
11492 (_gst_controller_finalize), (_gst_controller_class_init):
11493 Take ref to controlled object so that it cannot disappear.
11496 2006-10-10 Wim Taymans <wim@fluendo.com>
11498 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11499 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11500 (gst_check_teardown_sink_pad):
11501 Activate/deactivate pads in setup/teardown respectively.
11503 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11505 Patch by: Josep Torra Valles <josep@fluendo.com>
11508 Cast values when making gstenumtypes.h. This pacifies Forte
11509 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11510 in the enumeration.
11512 2006-10-09 Wim Taymans <wim@fluendo.com>
11514 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11515 Rename some more @cur to @start to fix docs.
11517 * gst/gstsegment.c: (gst_segment_set_seek):
11519 time and start must always stay in sync as defined in design doc.
11521 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11522 Rename param to fix docs.
11524 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11525 Check that start and time are in sync.
11527 * tests/check/pipelines/parse-launch.c:
11528 (gst_parse_test_element_change_state):
11529 Activate pad before adding to the element.
11531 2006-10-09 Wim Taymans <wim@fluendo.com>
11533 * docs/design/part-qos.txt:
11538 Update seek event docs regarding negative rates.
11539 Rename @cur to @start.
11541 * gst/gstsegment.c: (gst_segment_set_seek):
11542 * gst/gstsegment.h:
11543 Update set_seek docs regarding negative rates.
11544 Correctly update last_stop to @stop when dealing with negative
11546 Rename @cur to @start.
11548 * tests/check/gst/gstpad.c: (GST_START_TEST):
11549 Activate pads before trying to use them.
11551 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11552 (gst_segment_suite):
11553 Add simple check for segments and negative rates.
11555 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11557 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11558 * gst/gsttaglist.h:
11559 * docs/gst/gstreamer-sections.txt:
11560 API: add gst_tag_list_is_empty() (#360467).
11562 * tests/check/gst/gsttag.c: (GST_START_TEST):
11565 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11567 * gst/gstmessage.h:
11568 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11569 a value that doesn't fit on enumeration.
11571 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11573 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11574 Remove local debugging system and use Gstreamer's instead.
11576 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11578 Patch by: Josep Torra Valles <josep@fluendo.com>
11580 * common/m4/gst-error.m4:
11581 Disable warning of statement not reached on Forte.
11582 * gst/gstmessage.h:
11583 Fix warning on Forte (value doesn't fit on enumeration).
11584 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11585 Fix warning on Forte (value doesn't fit on enumeration).
11586 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11587 DEBUG macro says it takes minimum of 2 args and so Forte
11588 complains about the use with just 1 arg.
11589 * plugins/elements/gstfdsink.c:
11590 * plugins/elements/gstfdsrc.c:
11591 * plugins/elements/gstfilesink.c:
11592 * plugins/elements/gstfilesrc.c:
11593 Use correct return type for the uri handler implementations.
11595 All these fix warnings in Forte. Fixes bug #360860.
11597 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11599 * gst/gstelement.h:
11600 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11601 format string, so don't use G_GNUC_PRINTF for those versions.
11603 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11605 * gst/gsttaglist.c: (gst_is_tag_list):
11606 * gst/gsttaglist.h:
11607 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11609 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11610 Small test for the above.
11612 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11614 * gst/gsttaglist.h:
11615 Less tabs, more spaces.
11617 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11620 Those two function declarations do actually belong there, revert
11621 commit from yesterday that turned them intro macros.
11623 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11625 Patch by: Josep Torra Valles <josep@fluendo.com>
11627 * gst/gst.c: (gst_init_get_option_group):
11628 Fix empty declaration and type mismatch.
11629 * gst/gstbin.c: (gst_bin_change_state_func):
11631 * gst/gstelement.c: (gst_element_continue_state),
11632 (gst_element_set_state_func), (gst_element_change_state),
11633 (gst_element_change_state_func):
11634 Fix type mismatches.
11635 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11636 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11637 Cast as appropriate.
11638 * gst/gstobject.c: (gst_class_signal_connect):
11639 Cast as appropriate. The function pointer parameter really
11640 has the wrong type but would break API if we change it.
11642 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11643 order of including string.h.
11644 * gst/gstutils.c: (gst_element_state_get_name):
11645 Remove unreachable line.
11646 * gst/gstxml.c: (gst_xml_parse_doc):
11648 All these caught by Forte.
11650 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11652 Patch by: Josep Torra Valles <josep@fluendo.com>
11654 * common/m4/gst-error.m4:
11656 We need to disable warnings on Forte for empty declarations
11657 due to gst-indent adding ;s to lines that just use macros
11658 where the macro actually doesn't need a ; at end to end
11661 2006-10-06 Wim Taymans <wim@fluendo.com>
11663 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11664 (gst_file_sink_close_file), (gst_file_sink_event),
11665 (gst_file_sink_render):
11666 Add some FIXME for the NEWSEGMENT handling.
11668 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11670 * gst/parse/grammar.y:
11671 Remove static function gst_parse_element_lock as all it does
11672 is return. Looks like cruft from 0.8.
11674 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11676 Patch by: Josep Torra Valles <josep@fluendo.com>
11678 * common/m4/gst-error.m4:
11680 * libs/gst/net/Makefile.am:
11681 Fix a compilation issue with Forte on Solaris. inet_aton is in
11684 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11686 * gst/gstpad.c: (pre_activate):
11687 * gst/gstregistry.c: (gst_registry_scan_path_level):
11688 * gst/gstregistryxml.c: (load_plugin):
11689 * libs/gst/controller/gstcontroller.c:
11690 (gst_controlled_property_set_interpolation_mode):
11691 * libs/gst/dataprotocol/dataprotocol.c:
11692 (gst_dp_packet_from_event_1_0):
11693 * libs/gst/net/gstnetclientclock.c:
11694 (gst_net_client_clock_observe_times):
11695 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11698 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11701 * docs/gst/gstreamer-sections.txt:
11702 * gst/gstconfig.h.in:
11703 * gst/gstelement.h:
11705 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11706 whether we can use G_GNUC_PRINTF in other header files and at
11707 least check the printf format/arguments of debug messages and
11708 GST_ELEMENT_ERROR messages when the printf extension is not
11710 Replace more tabs with spaces in gstinfo.h and remove two spurious
11711 function declarations in GST_DISABLE_DEBUG part with macros.
11713 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11715 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11716 More docs for the sync-message signal (mention that it is not
11717 emitted by default); log message structures of messages posted on
11720 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11722 * gst/gst.c: (ensure_current_registry_forking):
11723 Use a pipe pair to receive status results from the forked child, and
11724 ignore the result from waitpid. Fixes #355499
11726 2006-10-02 Wim Taymans <wim@fluendo.com>
11728 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11729 (gst_ghost_pad_suite):
11732 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11735 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11737 2006-10-02 Edward Hervey <edward@fluendo.com>
11739 * docs/design/part-block.txt:
11740 Further explain the use of flushing on blocked pads.
11741 * docs/gst/gstreamer-sections.txt:
11742 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11743 (gst_pad_push_event):
11745 Added new GstPadFlag : GST_PAD_BLOCKING.
11746 Adds the notion of pads really blocking, which enables to properly
11747 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11749 API: gst_pad_is_blocking()
11750 API: GST_PAD_IS_BLOCKING() macro
11751 API: GST_PAD_BLOCKING GstPadFlag
11753 2006-10-02 Wim Taymans <wim@fluendo.com>
11755 Patch by: mrcgran <mrc.gran at gmail dot com>
11757 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11758 Filter the proxied caps against the padtemplate if we have one.
11760 * gst/gstquery.c: (gst_query_new_segment):
11761 Add include for gstinfo.h so that compilation with
11762 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11764 2006-10-02 Wim Taymans <wim@fluendo.com>
11766 Patch by: Alessandro Decina <alessandro at nnva org>
11768 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11769 (gst_file_sink_set_location), (gst_file_sink_open_file),
11770 (gst_file_sink_close_file), (gst_file_sink_event),
11771 (gst_file_sink_render):
11772 Set file to NULL when closing filesink so that we can set a new filename
11773 in READY. Fixes #358613.
11775 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11777 Patch by: Alessandro Decina <alessandro at nnva org>
11779 * gst/gstevent.c: (_gst_event_copy):
11780 Fix gst_mini_object_make_writable() and gst_event_copy() for events
11781 with event structures by setting the parent refcount address of the
11782 copied structure to the address of the refcount member of the newly
11783 copied event rather than the address of the refcount member of the
11784 original event. Fixes #358737.
11786 * tests/check/gst/gstevent.c: (GST_START_TEST):
11787 Unit test for the above.
11789 2006-09-29 Stefan Kost <ensonic@users.sf.net>
11791 * docs/design/Makefile.am:
11792 Dist some more files.
11794 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11796 * tests/check/libs/controller.c: (GST_START_TEST),
11797 (gst_controller_suite):
11798 Add test for the previous fix; add some more tests
11799 for correct refcounting behaviour; fix a few leaks
11800 in test cases; call gst_controller_init() at start
11803 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11805 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11806 (gst_controller_set_from_list):
11807 Don't g_return_val_if_fail() on timed values with invalid timestamps
11808 inside a critical section without unlocking the mutex. Spotted by
11809 René Stadler. (#357617)
11810 Also, fix up refcounting properly: when returning an existing
11811 controller, we should increase the reference only once and not
11812 once per property and when trying to control a property again
11813 we should also increase the refcount.
11815 2006-09-29 Wim Taymans <wim@fluendo.com>
11817 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11818 * libs/gst/net/gstnettimeprovider.c:
11819 (gst_net_time_provider_thread):
11820 Stop reading commands when EOF as well.
11822 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11823 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11824 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11825 Unify description of the dump property.
11827 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11829 * tests/examples/manual/.cvsignore:
11830 OK, so it's actually cvsignore that needs changing. Stop laughing.
11832 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11834 * tests/examples/manual/Makefile.am:
11835 Gah, declare vars *before* using them
11837 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11839 * gst/gst.c: (init_pre), (scan_and_update_registry),
11840 (ensure_current_registry_nonforking),
11841 (ensure_current_registry_forking), (ensure_current_registry),
11842 (init_post), (gst_debug_help), (gst_deinit):
11843 * gst/gst_private.h:
11844 * gst/gstregistry.c: (gst_registry_finalize),
11845 (gst_registry_remove_features_for_plugin_unlocked),
11846 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11847 (gst_registry_scan_path),
11848 (_priv_gst_registry_remove_cache_plugins),
11849 (_priv_gst_registry_cleanup):
11850 * gst/gstregistry.h:
11851 Re-commit the registry changes, along with an extra fix:
11852 When a cached plugin is encountered at a different file path,
11853 update the stored path in the registry cache so that the parent
11854 process knows where it actually is now when it re-reads the registry
11855 cache. Fixes the thing that broke distcheck with the previous commit.
11857 * tests/check/Makefile.am:
11858 Clean up files named 'core' too when running make clean.
11860 * tests/examples/manual/Makefile.am:
11861 Set up a registry path for running these tests, and clean it properly
11864 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11867 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11868 want gmodule-no-export-2.0.pc instead so that we don't drag in
11869 --export-dynamic on every project that links to GStreamer.
11871 Also, make our export regex only match the start of symbols, rather
11872 than any symbol that contains '_gst' somewhere.
11874 * libs/gst/check/Makefile.am:
11875 The libgstcheck we build does however need export-dynamic, as it
11876 produces some symbols that don't match our _gst... style regex.
11879 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11881 * gst/gst.c: (init_pre), (scan_and_update_registry),
11882 (ensure_current_registry_nonforking),
11883 (ensure_current_registry_forking), (ensure_current_registry),
11884 (init_post), (gst_debug_help), (gst_deinit):
11885 * gst/gst_private.h:
11886 * gst/gstregistry.c: (gst_registry_finalize),
11887 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11888 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
11889 (_gst_registry_cleanup):
11890 * gst/gstregistry.h:
11891 Revert previous change until I figure out why it breaks distcheck.
11893 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11895 * gst/gst.c: (init_pre), (scan_and_update_registry),
11896 (ensure_current_registry_nonforking),
11897 (ensure_current_registry_forking), (ensure_current_registry),
11898 (init_post), (gst_debug_help), (gst_deinit):
11900 Make init_pre and init_post take the full complement of GOptionFunc
11901 args so they can return useful GErrors. Make the registry updating
11904 Call _priv_gst_registry_remove_cache_plugins after scanning files to
11905 ensure that the registry we're about to write out doesn't contain
11906 stale information about old-deleted plugin files.
11908 Make _priv_gst_registry_remove_cache_plugins return a boolean so
11909 that deletion of plugin files is considered a registry change.
11911 * gst/gst_private.h:
11912 * gst/gstregistry.c: (gst_registry_finalize),
11913 (gst_registry_remove_features_for_plugin_unlocked),
11914 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11915 (gst_registry_scan_path),
11916 (_priv_gst_registry_remove_cache_plugins),
11917 (_priv_gst_registry_cleanup):
11918 * gst/gstregistry.h:
11919 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
11920 by adding _priv prefix, so that they won't appear in the global
11921 symbol table. They still do atm though because of #318031. Move the
11922 prototypes to gst_private.h
11924 When removing a plugin, remove all features for that plugin too.
11927 2006-09-27 Wim Taymans <wim@fluendo.com>
11929 * docs/random/moving-plugins:
11930 Make it clear that the "compiled-in descriptions" really mean
11931 the element details.
11933 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11934 (gst_base_sink_wait_preroll):
11937 * docs/libs/gstreamer-libs-sections.txt:
11938 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11939 (gst_base_src_get_range), (gst_base_src_activate_push):
11940 * libs/gst/base/gstbasesrc.h:
11941 Added function to block while waiting for PLAYING, this function
11942 is used by live sources that block on the clock.
11943 API: gst_base_src_wait_playing()
11945 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11947 Patch by: Peter Kjellerstedt <pkj at axis com>
11950 gst-element-check.m4 is generated and should therefore be
11951 copied from the build dir rather than the source dir (#357593).
11952 'make distcheck' hasn't noticed this because we were disting
11953 the file as well, so stop doing that.
11955 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11957 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11958 Add some tests for gst_caps_intersect().
11960 * tools/gst-launch.c: (event_loop):
11961 Print all buffering percentages we get, even the 100% one.
11963 2006-09-26 Wim Taymans <wim@fluendo.com>
11965 * tools/gst-inspect.c: (print_element_properties_info),
11966 (print_signal_info):
11967 Fix printing of flags to match the look of enums.
11969 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11971 * gst/gstelementfactory.c:
11972 Fix typo in docs blurb.
11974 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11976 * gst/gsturi.c: (search_by_entry):
11977 Don't assert/crash here if a uri handler doesn't return any
11978 supported protocols. The list of protocols could be generated
11979 dynamically at runtime or at plugin registration, and an error
11980 in the underlying library shouldn't be fatal (#353301).
11982 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11985 Fix warning if HAVE_PRINTF_EXTENSION is undefined
11986 (spotted by Peter Kjellerstedt).
11988 2006-09-23 Wim Taymans <wim@fluendo.com>
11990 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
11992 * libs/gst/base/gstbasesrc.c:
11993 (gst_base_src_default_check_get_range), (gst_base_src_start),
11994 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11995 (gst_base_src_change_state):
11996 Match _start/_stop calls in the activate functions. Remove redundant
11997 _stop call from the state change function. Fixes #356910.
11998 Turn failure DEBUG into ERROR.
12000 2006-09-22 Wim Taymans <wim@fluendo.com>
12002 * docs/design/part-buffering.txt:
12003 * gst/gstmessage.c: (gst_message_new_buffering),
12004 (gst_message_parse_buffering):
12005 Update docs about buffering.
12007 * docs/design/part-trickmodes.txt:
12010 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12012 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12013 (gst_controller_new_list):
12014 Ref instances when returning them again (fixes #357180)
12016 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12018 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12019 Don't forget to release proxy lock when there's an error.
12021 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12024 Add extra initialisers for Caps things, to fix some plugin warnings
12027 2006-09-18 Wim Taymans <wim@fluendo.com>
12029 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12030 Also set template on the internal pad so that a getcaps from the
12031 target pad returns the template caps.
12033 2006-09-18 Wim Taymans <wim@fluendo.com>
12035 * gst/gstelement.c: (gst_element_post_message),
12036 (gst_element_dispose):
12037 Use _DEBUG_OBJECT some more.
12039 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12042 * tools/gst-launch.c: (main):
12043 If the toplevel element is not a GstPipeline, it must be put in a
12044 pipeline so that a bus and clock is selected.
12046 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12048 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12049 JITTER, RATE, and LATENCY query should be handled by the
12050 default case and not by the CONVERT query code.
12052 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12054 * gst/gstformat.c: (gst_format_register):
12055 Fix locking order (must take lock before using n_values).
12057 * gst/gstvalue.c: (gst_value_serialize_enum),
12058 (gst_value_deserialize_enum_iter_cmp),
12059 (gst_value_deserialize_enum):
12060 Fix serialisation/deserialisation of custom registered GstFormats.
12062 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12063 Unit test for custom format serialisation/deserialisation.
12065 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12067 * docs/pwg/building-boiler.xml:
12068 * plugins/elements/gstcapsfilter.c:
12069 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12072 2006-09-16 Edward Hervey <edward@fluendo.com>
12074 * libs/gst/base/gstbasetransform.c:
12075 (gst_base_transform_buffer_alloc):
12076 Check if requested caps are the same as the sinks caps IF
12077 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12079 This fixes the renegotiation issues stated in #352827.
12081 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12084 * docs/manual/advanced-autoplugging.xml:
12085 * tests/examples/Makefile.am:
12086 * tests/examples/manual/.cvsignore:
12087 * tests/examples/manual/Makefile.am:
12088 * tests/examples/manual/extract.pl:
12089 Extract the manual examples again like we used to do.
12092 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12094 * win32/common/config.h:
12097 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12100 Documents how to receive errors.
12102 2006-09-15 Wim Taymans <wim@fluendo.com>
12104 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12105 (event_loop), (main):
12106 Added some comments here and there.
12107 Post an application message when an interrupt is caught instead of doing
12108 an uncontrolled state change.
12109 Clean up the event loop.
12110 Handle buffering messages, pause/resume the pipeline.
12111 Make shutdown because of an interrupt more reliable.
12113 2006-09-15 Wim Taymans <wim@fluendo.com>
12115 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12116 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12117 (gst_base_sink_preroll_object):
12118 Make sure that our internal state is correct when we commit our state
12119 asynchronously. This solves a race where a state change to PLAYING
12120 could cause the sink to remain blocked in preroll in some situations.
12122 2006-09-15 Wim Taymans <wim@fluendo.com>
12124 * tools/gst-inspect.c: (print_element_properties_info),
12125 (print_signal_info):
12126 List flags as hex so it's easier to deal with.
12128 2006-09-15 Wim Taymans <wim@fluendo.com>
12130 * docs/libs/gstreamer-libs-sections.txt:
12131 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12132 (gst_base_sink_do_sync):
12133 * libs/gst/base/gstbasesink.h:
12134 Expose logic to wait for preroll so that subclasses such as audiosink
12135 can also use this method.
12136 API: gst_base_sink_wait_preroll()
12138 2006-09-15 Wim Taymans <wim@fluendo.com>
12140 * gst/gstobject.c: (gst_object_set_parent):
12141 * gst/gstpipeline.c: (do_pipeline_seek):
12142 Small cleanups in docs and code.
12144 * gst/gstsegment.c: (gst_segment_clip):
12145 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12146 if stop == start and start is in the segment, no clipping should be
12147 done. Also add a test for this.
12149 2006-09-15 Wim Taymans <wim@fluendo.com>
12151 * docs/design/part-buffering.txt:
12152 * docs/gst/gstreamer-sections.txt:
12153 * gst/gstmessage.c: (gst_message_new_buffering),
12154 (gst_message_parse_buffering):
12155 * gst/gstmessage.h:
12156 Added methods to create and parse BUFFERING messages.
12157 Added preliminary docs about buffering.
12158 API: gst_message_new_buffering
12159 API: gst_message_parse_buffering
12161 2006-09-06 Wim Taymans <wim@fluendo.com>
12164 Update documentation.
12166 * gst/gstelement.c: (gst_element_class_init),
12167 (gst_element_release_request_pad), (gst_element_set_clock),
12168 (gst_element_get_index), (gst_element_add_pad),
12169 (gst_element_remove_pad), (gst_element_get_random_pad),
12170 (gst_element_send_event), (gst_element_get_query_types),
12171 (gst_element_query), (gst_element_post_message),
12172 (gst_element_message_full), (gst_element_continue_state),
12173 (gst_element_lost_state), (gst_element_save_thyself),
12174 (gst_element_restore_thyself):
12175 Documentation updates.
12176 Rename last bit of the new-pad -> pad-added signal rename.
12177 Fix the case where an element query would only work if the source
12179 Avoid some useless type checking in message handling.
12184 Documentation updates.
12186 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12188 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12189 add an INFO line for when we actually update the fd
12191 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12196 === release 0.10.10 ===
12198 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12201 releasing 0.10.10, "Pais"
12203 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12205 * docs/manual/advanced-position.xml:
12206 Fix typo in sample code.
12208 2006-09-05 Wim Taymans <wim@fluendo.com>
12210 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12211 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12212 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12213 * libs/gst/net/gstnetclientclock.h:
12214 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12215 * libs/gst/net/gstnettimepacket.h:
12216 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12217 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12218 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12219 * libs/gst/net/gstnettimeprovider.h:
12220 Make stuff compile on windows. Fixes #345295.
12222 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12224 * gst/gst.c: (ensure_current_registry_forking):
12225 Print better details when child was terminated by signal.
12227 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12229 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12230 Print a warning rather than g_assert() if a plugin feature
12231 is a URI handler but returns no protocols (#353976).
12233 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12235 * docs/random/moving-plugins:
12238 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12240 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12241 Fix locking order, handle NULL function values properly.
12246 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12247 Initialise variable before using it and fix debug statement to
12248 print the address of the function rather than the address of the
12249 variable on the stack holding the address of the function.
12251 2006-09-01 Wim Taymans <wim@fluendo.com>
12253 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12254 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12255 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12256 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12257 (gst_ghost_pad_parent_unset),
12258 (gst_ghost_pad_internal_do_activate_push),
12259 (gst_ghost_pad_internal_do_activate_pull),
12260 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12261 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12262 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12263 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12264 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12265 (gst_ghost_pad_new_no_target_from_template),
12266 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12268 Avoid needless typechecking in macros.
12269 Since the internal pad is always present and never changes, there is
12270 no need to locking or ref when retrieving it.
12271 Improve debugging a bit.
12272 Handle link errors when setting the target. Fixes #341029.
12274 2006-09-01 Wim Taymans <wim@fluendo.com>
12276 * docs/libs/gstreamer-libs-sections.txt:
12277 * docs/plugins/gstreamer-plugins-sections.txt:
12278 Fix docs some more.
12280 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12281 (gst_collect_pads_event):
12282 * libs/gst/base/gstcollectpads.h:
12283 Documentation updates.
12284 Free queued buffer when removing a pad.
12286 2006-08-31 Michael Smith <msmith@fluendo.com>
12288 * gst/gstutils.c: (gst_element_link_pads),
12289 (gst_element_link_pads_filtered):
12290 Ensure that we set a capsfilter to NULL if we failed to link it
12291 when doing filtered linking, to avoid criticals.
12293 No need to check for unreffing srcpad, which is explicly NULLed
12294 above (a trivial code cleanup).
12296 2006-08-31 Wim Taymans <wim@fluendo.com>
12298 * docs/design/part-gstghostpad.txt:
12299 Update ascii art in documentation.
12301 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12302 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12303 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12304 (gst_ghost_pad_internal_do_activate_push),
12305 (gst_ghost_pad_internal_do_activate_pull),
12306 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12307 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12308 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12309 (gst_ghost_pad_set_target):
12310 Small cleanups and leak fixes.
12311 Remove some checks now that the internal pad is never NULL.
12312 Fix the case where linking pads without a target would create nasty
12313 criticals. Fixes #341029.
12314 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12315 value of _set_target().
12317 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12318 (gst_ghost_pad_suite):
12319 Some more tests for creating and linking untargeted ghostpads.
12321 2006-08-31 Edward Hervey <edward@fluendo.com>
12323 * docs/gst/gstreamer-sections.txt:
12324 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12325 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12326 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12327 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12328 (gst_ghost_pad_new_from_template),
12329 (gst_ghost_pad_new_no_target_from_template):
12330 * gst/gstghostpad.h:
12331 Refactored *_new() functions.
12332 Templates are now used as a g_object_new() parameter.
12333 Use template in _do_getcaps() if we don't have a target.
12334 Small documentation cleanups.
12335 Added two new constructors:
12336 gst_ghost_pad_new_from_template()
12337 gst_ghost_pad_new_no_target_from_template()
12338 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12339 (gst_ghost_pad_suite):
12340 Added tests for new ghostpad instanciation functions.
12342 API additions: gst_ghost_pad_new_from_template,
12343 gst_ghost_pad_new_no_target_from_template
12345 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12347 * docs/random/ensonic/profiling.txt:
12348 Ideas about qos profiling.
12350 2006-08-29 Wim Taymans <wim@fluendo.com>
12352 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12356 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12359 Improve and detypofy docs.
12361 * tests/check/Makefile.am:
12362 * tests/check/gst/.cvsignore:
12363 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12364 Add a basic test suite for GstXML.
12366 2006-08-29 Wim Taymans <wim@fluendo.com>
12368 * gst/gstelement.c: (activate_pads), (clear_caps),
12369 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12370 Clear the pad caps when the element shut down all of the pads and
12371 is not streaming data that could modify the caps.
12374 2006-08-28 Michael Smith <msmith@fluendo.com>
12376 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12377 Revert previous change; I misunderstood single-segment mode.
12379 2006-08-28 Michael Smith <msmith@fluendo.com>
12381 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12382 Unset DISCONT on buffers when using single-segment mode.
12384 2006-08-28 Wim Taymans <wim@fluendo.com>
12386 * gst/gstcaps.c: (gst_caps_merge_structure):
12388 Fix docs and indentation again.
12390 * tests/check/gst/gstquery.c: (GST_START_TEST):
12391 Fix leak in tests and add some more tests.
12393 2006-08-28 Edward Hervey <edward@fluendo.com>
12395 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12396 Inform GstSegment of the last stop position in order for the current
12397 segment to have a proper duration if it doesn't have a specific stop
12398 position from which a duration could be calculated.
12399 This bug was noticeable when a non-flushing, non-update new segment was
12400 followed by another segment (all buffers from the new segment were being
12403 2006-08-28 Wim Taymans <wim@fluendo.com>
12405 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12406 Small comment update.
12408 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12409 (gst_identity_transform_ip):
12410 Drop-probability is broken, mention this in the code with a
12411 FIXME and also in the property description.
12412 Make silent also be silent about the drop messages.
12414 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12416 * docs/manual/appendix-win32.xml:
12417 Remove mention of popt, we don't depend on that any
12418 longer (#353136). Add some comments pointing out that
12419 this section is slightly outdated.
12421 2006-08-28 Wim Taymans <wim@fluendo.com>
12423 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12425 * gst/gstquery.c: (gst_query_new_segment):
12426 * tests/check/gst/gstquery.c: (GST_START_TEST):
12427 Initialize variables when creating a new segment query.
12430 2006-08-28 Wim Taymans <wim@fluendo.com>
12432 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12434 * gst/gstelement.c: (gst_element_get_bus):
12435 * tests/check/gst/gstelement.c: (GST_START_TEST):
12436 Check for NULL before _reffing the bus. Fixes #353122.
12438 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12440 * docs/manual/basics-bus.xml:
12441 Docs update: fix wrong callback return value explanation; add
12442 some lines about the implicit relationship between main loop
12443 and main context; remove duplicate main loop variable declaration.
12445 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12447 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12448 Don't leak caps in unit test; add a few more simple
12451 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12453 * docs/gst/gstreamer-sections.txt:
12454 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12455 (gst_caps_structure_is_subset), (gst_caps_merge),
12456 (gst_caps_merge_structure):
12458 * libs/gst/base/gstbasetransform.c:
12459 (gst_base_transform_transform_caps):
12460 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12461 implement caps merging (fixes #352580)
12463 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12465 * tools/Makefile.am:
12466 * tools/gst-plot-timeline.py:
12467 add debug-log plotting developer tool (#340674)
12469 2006-08-23 Wim Taymans <wim@fluendo.com>
12471 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12472 (gst_pad_stop_task):
12473 Improve debugging for task functions.
12475 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12476 (gst_task_start), (gst_task_pause), (gst_task_join):
12477 Make sure that the task function started and finished after a
12479 Don't try to push the task function on the threadpool multiple
12481 Improve the g_warning message with some useful suggestions
12482 about how to fix the problem.
12484 2006-08-23 Wim Taymans <wim@fluendo.com>
12486 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12487 Handle RESYNC correctly in _proxy_getcaps.
12489 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12491 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12492 (gst_xml_parse_memory), (gst_xml_get_element):
12493 Chain up to parent class in dispose function and also
12494 unref the elements in the toplevel_elements GList.
12495 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12496 Always return a reference in gst_xml_get_element() rather
12497 than only sometimes.
12499 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12500 Don't leak GstXml object.
12502 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12504 * docs/gst/gstreamer-sections.txt:
12505 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12508 * libs/gst/base/gstbasetransform.c:
12509 (gst_base_transform_transform_caps):
12510 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12513 2006-08-21 Edward Hervey <edward@fluendo.com>
12515 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12516 Implement GObject::dispose virtual method in GstXML so we can free the
12517 top_elements GList.
12519 2006-08-21 Wim Taymans <wim@fluendo.com>
12521 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12522 (gst_buffer_create_sub):
12523 Copy duration/offset_end/caps when creating a subbuffer of the
12525 Make the subbuffer read-only when we make the metadata writable for
12526 now. Fixes #351768.
12528 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12529 Added check for metadata copy when creating subbuffers.
12531 2006-08-21 Edward Hervey <edward@fluendo.com>
12533 * libs/gst/base/gstbasetransform.c:
12534 (gst_base_transform_buffer_alloc):
12535 Only call downstream buffer_alloc if transform element is passthrough
12536 or always_in_place. Closes #350449.
12538 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12541 ChangeLog surgery to add comments to previous changes
12543 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12548 * gst/gstpad.c: (gst_pad_set_active):
12549 Be more verbose in the log
12551 * libs/gst/base/gstbasetransform.c:
12552 (gst_base_transform_transform_caps):
12553 Simplify caps to get rid of duplicates, fixes #345444
12555 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12559 Use these optimizations only internally.
12561 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12563 * gst/gstvalue.c: (gst_value_compare_list),
12564 (gst_value_compare_fraction_range),
12565 (gst_value_intersect_fraction_fraction_range),
12566 (gst_value_intersect_fraction_range_fraction_range),
12567 (gst_value_subtract_fraction_fraction_range),
12568 (gst_value_subtract_fraction_range_fraction_range),
12569 (gst_value_get_compare_func), (gst_value_compare),
12570 (gst_value_compare_with_func):
12572 Saves the expensive lookup of the compare function in many cases
12575 2006-08-18 Edward Hervey <edward@fluendo.com>
12577 * tests/check/gst/gstinfo.c: (gst_info_suite):
12578 Disable test that require gstdebug if it wasn't built in core.
12580 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12582 * docs/random/ensonic/logging.txt:
12585 * gst/gstinfo.c: (gst_debug_log_default):
12586 reorder fields, save some columns, add optional color codes for log
12589 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12591 * docs/random/ensonic/logging.txt:
12592 add ideas about making the logs a bit more useful
12594 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12596 * docs/pwg/advanced-events.xml:
12597 * docs/pwg/titlepage.xml:
12598 Update for 0.10 API (#340627). Add myself
12601 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12603 * docs/libs/gstreamer-libs-docs.sgml:
12604 * docs/libs/gstreamer-libs-sections.txt:
12605 * libs/gst/check/gstbufferstraw.c:
12606 Make gstcheck stuff show up in docs (still needs to
12607 be documented properly though).
12609 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12611 * docs/gst/gstreamer-sections.txt:
12613 * gst/gst.c: (init_post):
12614 * gst/gst_private.h:
12615 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12617 * gst/gstquery.c: (gst_query_new_position),
12618 (gst_query_set_position), (gst_query_parse_position),
12619 (gst_query_new_duration), (gst_query_set_duration),
12620 (gst_query_parse_duration), (gst_query_new_convert),
12621 (gst_query_set_convert), (gst_query_parse_convert),
12622 (gst_query_new_segment), (gst_query_set_segment),
12623 (gst_query_parse_segment), (gst_query_new_seeking),
12624 (gst_query_set_seeking), (gst_query_parse_seeking):
12625 Add internal helpers for pre-registering quarks from static strings
12626 and using the quark values directly instead of looking them up when
12627 creating and parsing queries. Can be used for event construction too.
12630 2006-08-16 Wim Taymans <wim@fluendo.com>
12635 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12637 * gst/gstutils.c: (gst_util_set_value_from_string):
12638 Fix memleak (#351502).
12640 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12641 Add unit test for most of gst_util_set_value_from_string()
12642 (not that one would want to encourage use of this function).
12644 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12646 * libs/gst/check/gstcheck.h:
12647 Use const gchar * variables in fail_unless_equals_string
12648 macro to avoid compiler warnings (and don't use tabs for
12651 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12653 * tools/gst-launch.c: (print_tag):
12654 More space on the left for the tag names, to cater
12655 for the 'extended comment' tag (not touching the
12656 string for the first line since it's translated).
12658 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12660 * libs/gst/check/gstcheck.h:
12661 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12662 print something when they fail.
12664 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12666 * docs/gst/gstreamer-sections.txt:
12667 * gst/gsttaglist.c: (_gst_tag_initialize):
12668 * gst/gsttaglist.h:
12669 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12670 Also change merge function for GST_TAG_COMMENT to
12673 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12675 * gst/gstinfo.c: (gst_debug_print_object):
12676 Make GST_PTR_FORMAT print messages as well.
12678 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12679 (GST_START_TEST), (gst_info_suite):
12682 2006-08-14 Edward Hervey <edward@fluendo.com>
12684 * gst/gstelementfactory.c: (gst_element_register):
12685 If the GstElementClass doesn't have a GstElementDetails with all fields
12686 filled up correctly (longname, description AND author), then error out
12687 nicely instead of crashing.
12689 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12691 * gst/gststructure.c:
12692 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12695 Expand on the difference between arrays and lists as we use them.
12697 2006-08-14 Wim Taymans <wim@fluendo.com>
12699 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12700 If the parent state change function failed, don't assume we can safely
12701 stop the source, this will be done when the pads are deactivated.
12703 2006-08-14 Wim Taymans <wim@fluendo.com>
12706 * gst/gsttask.c: (gst_task_join):
12709 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12710 (gst_pad_stop_task):
12711 When pad (de)activation failed for some reason, restore the old
12712 activation mode and set the pad to flushing instead of assuming the
12713 pad is deactivated.
12714 If the _task_join() failed, reinstall the task on the pad so that it can
12715 be stopped later and return an error.
12717 2006-08-11 Andy Wingo <wingo@pobox.com>
12720 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12721 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12722 is only for users of API that don't want to see deprecated
12723 functions in the headers; people that want to compile out
12724 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12725 CFLAGS. Fixes the build of multifdsink, or will soon..
12727 2006-08-11 Wim Taymans <wim@fluendo.com>
12729 * docs/gst/gstreamer-sections.txt:
12730 Add GstClockClass vmethod docs.
12733 Mark #endif with comment for associated #if
12735 * gst/gstclock.c: (gst_clock_id_wait):
12737 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12738 most clock implementations.
12740 Flesh out docs about resolution methods.
12741 API: GstClockClass::wait_jitter
12743 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12744 (gst_system_clock_async_thread),
12745 (gst_system_clock_id_wait_jitter_unlocked),
12746 (gst_system_clock_id_wait_jitter):
12747 Use base class wait_jitter variant for improved performance
12748 due to less clock polling.
12750 2006-08-11 Edward Hervey <edward@fluendo.com>
12752 * gst/gst.c: (gst_init_check), (init_post):
12753 Set gst as being initialized before scanning/updating the registry,
12754 since there might be my python plugin loader that calls gst_init() and
12755 we don't want to loop back in.
12758 2006-08-11 Wim Taymans <wim@fluendo.com>
12760 * docs/design/part-qos.txt:
12761 Bring docs in line with the code. Mostly the sign of the jitter was
12762 wrong in the docs. Fixes #349943.
12765 Fix the docs for the jitter.
12767 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12768 (gst_event_parse_tag), (gst_event_new_buffer_size),
12769 (gst_event_parse_buffer_size), (gst_event_parse_qos),
12770 (gst_event_new_seek), (gst_event_parse_seek),
12771 (gst_event_new_navigation):
12772 Make sure the GstStructure has no parent when creating custom
12774 Add some more argument checking so that we avoid 0.0 rates.
12775 Flesh out the docs for the QoS event some more.
12777 2006-08-11 Wim Taymans <wim@fluendo.com>
12779 * docs/gst/gstreamer-sections.txt:
12780 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12781 (ensure_current_registry_forking), (ensure_current_registry),
12782 (parse_one_option), (parse_goption_arg), (gst_deinit),
12783 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12786 Added API and command line option to disable registry forking in
12787 addition to the environment variable.
12788 Constify some static arrays.
12789 Added some more debug.
12790 Don't deinit twice.
12791 API: gst_registry_fork_is_enabled()
12792 API: gst_registry_fork_set_enabled()
12793 API: --gst-disable-registry-fork command line option
12796 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
12798 * gst/gst.c: (gst_init):
12799 Fix typo in error message.
12801 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12803 * libs/gst/controller/gstcontroller.h:
12804 fix ABI size-correction
12806 * tests/check/libs/gdp.c: (gst_dp_suite):
12807 make tests that use deprecated API conditional
12809 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12811 * docs/libs/gstreamer-libs-sections.txt:
12812 * libs/gst/controller/gstcontroller.c:
12813 (_gst_controller_get_property), (_gst_controller_set_property),
12814 (_gst_controller_init), (_gst_controller_class_init):
12815 * libs/gst/controller/gstcontroller.h:
12816 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12817 (gst_object_set_control_rate):
12818 API: add gst_object_{s,g}et_control_rate(), add private data section,
12821 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12822 * libs/gst/dataprotocol/dataprotocol.h:
12823 add deprecation guards to make gtk-doc happy and allow disabling cruft
12825 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
12827 * tests/check/Makefile.am:
12828 * tests/check/gst/.cvsignore:
12829 Let's enable the new unit test as well.
12831 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
12834 * docs/gst/gstreamer-sections.txt:
12835 * gst/gstconfig.h.in:
12836 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12837 (_gst_info_printf_extension_ptr),
12838 (_gst_info_printf_extension_segment):
12839 API: add GST_SEGMENT_FORMAT, which is a printf extension we
12840 register that lets us easily dump GstSegments into debug
12843 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12844 (info_segment_format_printf_extension), (gst_info_suite):
12845 Add simple unit test that logs a bunch of different segments (not
12846 valgrinded at the moment because of leaks in
12847 gst_debug_add_log_function).
12849 2006-08-09 Edward Hervey <edward@fluendo.com>
12851 * libs/gst/base/gstbasetransform.c:
12852 (gst_base_transform_buffer_alloc):
12853 Even if we can't figure out the proper format to request downstream,
12854 call buffer_alloc() downstream with the input parameters without setting
12855 the caps on the srcpad. This will force negotiation in the chain
12859 2006-08-08 Edward Hervey <edward@fluendo.com>
12861 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12862 Unlinking from a pad without a target is now a perfectly valid case
12863 which should NOT raise an assertion.
12864 This case would happen if a linked ghostpad its target set to NULL after
12865 it was previously linked.
12867 2006-08-08 Edward Hervey <edward@fluendo.com>
12869 * tests/check/libs/gdp.c:
12870 Also comment out the test (see below).
12872 2006-08-08 Edward Hervey <edward@fluendo.com>
12874 * tests/check/libs/gdp.c: (gst_dp_suite):
12875 Use the architecture information from config.h and not gcc macros
12876 in order to properly disable a test that fails on PPC64.
12878 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
12880 * gst/gstelement.c: (gst_element_remove_pad):
12881 Don't crash printing the warning if the pad has no parent.
12883 2006-08-02 Wim Taymans <wim@fluendo.com>
12885 * libs/gst/dataprotocol/dataprotocol.c:
12886 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12887 (gst_dp_crc), (gst_dp_header_payload_length),
12888 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
12889 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
12890 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
12891 (gst_dp_event_from_packet), (gst_dp_validate_header),
12892 (gst_dp_validate_payload):
12893 Make debug category static
12894 Constify the crc table.
12895 Do some more arg checking in public functions.
12896 Fix some docs and do some small cleanups.
12898 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12899 Add some more checks to see if GDP deals with bogus input.
12901 2006-07-31 Wim Taymans <wim@fluendo.com>
12903 * gst/gstvalue.c: (gst_value_compare_list):
12904 Fix GstValueList comparison code. Fixes #347293.
12906 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12907 Check to test GstValueList comparison.
12909 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12911 * gst/gstelementfactory.c: (gst_element_factory_create):
12912 Remove unnecessary ref/unref pair
12914 * gst/parse/grammar.y:
12915 Make sure to free the parse buffer on all code paths.
12916 Move a g_free up to the error handler where it's easier to see.
12918 * tests/check/gst/gstevent.c: (test_event):
12919 Extending timeout for downstream travelling events to 10 seconds to
12920 hopefully avoid intermittent failure on the buildbots.
12922 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
12923 Don't manually set the state of the src element - it will happen as a
12924 natural consequence of the pipeline changing state, and that way it
12925 will do it in the right order too.
12927 2006-07-31 Wim Taymans <wim@fluendo.com>
12929 * libs/gst/base/gstbasetransform.c:
12930 (gst_base_transform_buffer_alloc):
12931 Use OBJECT_LOCK and refcounting to get the pad caps in the
12932 buffer_alloc function because the caps could change while we are
12933 busy with them. Fixes #349105
12935 2006-07-31 Wim Taymans <wim@fluendo.com>
12937 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
12938 Protect _PAD_CAPS with OBJECT_LOCK.
12940 2006-07-31 Wim Taymans <wim@fluendo.com>
12942 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12943 (gst_pad_get_property), (gst_pad_activate_pull),
12944 (gst_pad_activate_push), (gst_pad_set_blocked_async),
12945 (gst_pad_set_activate_function),
12946 (gst_pad_set_activatepull_function),
12947 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
12948 (gst_pad_set_getrange_function),
12949 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
12950 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12951 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
12952 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
12953 (gst_pad_set_acceptcaps_function),
12954 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12955 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
12956 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
12957 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
12958 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
12959 (gst_pad_configure_sink), (gst_pad_configure_src),
12960 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
12961 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
12962 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
12963 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
12964 (gst_pad_send_event):
12965 Use _DEBUG_OBJECT when it makes sense.
12966 Protect GST_PAD_CAPS with the OBJECT_LOCK.
12967 Small cleanups and code reflows.
12968 Avoid caps refcounting in _accept_caps.
12969 Refactor alloc_buffer so that the code performed on the peer is in a
12970 separate function. Also if the pad does not implement a buffer alloc
12971 function, we should still check if the pad is flushing before falling
12972 back to the default allocator.
12974 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12976 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12977 Make all uses of identity and fakesink have silent=true to avoid
12978 serialising every passing data structure, which is breaking tests
12979 on FC4 for some unknown reason.
12981 2006-07-30 Stefan Kost <ensonic@users.sf.net>
12983 * gst/parse/Makefile.am:
12984 * gst/parse/grammar.y:
12985 * gst/parse/parse.l:
12986 Reverted previous patch as it required to bump the flex dependency to
12987 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
12989 2006-07-30 Stefan Kost <ensonic@users.sf.net>
12991 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
12993 * gst/parse/Makefile.am:
12994 * gst/parse/grammar.y:
12995 * gst/parse/parse.l:
12996 push & pop the state of the lexer for reentrant use case
12999 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13001 * libs/gst/base/gstbasesrc.h:
13002 Note in the docs that the ::newsegment vfunc is not actually used by
13005 2006-07-28 Wim Taymans <wim@fluendo.com>
13007 * libs/gst/base/gstcollectpads.c:
13008 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13009 (gst_collect_pads_clear), (gst_collect_pads_flush),
13010 (gst_collect_pads_event), (gst_collect_pads_chain):
13011 When flushing a pad, also clear the queued buffer so that we don't
13012 accidentally use it when we shouldn't.
13013 Fix leaks by inreffing incomming buffer.
13014 Flush out queued buffers in case of errors.
13017 2006-07-28 Wim Taymans <wim@fluendo.com>
13019 * docs/random/phonon-gst:
13020 Random notes about a Phonon backend.
13022 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13024 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13026 * tests/check/libs/gdp.c: (gst_dp_suite):
13027 Take a whack at fixing the ppc compile using a different define to
13028 disable the broken test.
13030 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13031 Remove excess g_print()
13033 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13035 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13036 Oops, meant to uncomment this line too to dampen the noise a bit.
13038 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13040 * gst/parse/grammar.y:
13041 * gst/parse/parse.l:
13042 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13043 (GST_START_TEST), (parse_suite):
13044 Fix some of the leaks exposed by extending the parse-launch testsuite,
13045 and move the 3 I can't figure out into a separate test that won't run
13046 the pipelines unless the appropriate line is uncommented.
13048 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13050 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13051 Requesting 0 bytes before the end of the file should result in
13052 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13055 2006-07-27 Wim Taymans <wim@fluendo.com>
13057 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13058 Fix useless assert, a uint is always positive.
13060 * gst/gststructure.c: (gst_structure_nth_field_name),
13061 (gst_structure_foreach), (gst_structure_map_in_place):
13062 Check input arguments for public functions to avoid obvious crashes.
13064 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13065 * plugins/elements/gstfakesink.h:
13066 Do less useless typechecking.
13068 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13070 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13071 Do not use mmap() by default since there are a number of error
13072 conditions that we would like to handle in a non-fatal way that
13073 will result in a SIGBUS if we use mmap(). Examples: external
13074 devices (USB harddrive, portable music player) being unplugged
13075 while in use; file on mounted CD/DVD that can't be read because
13076 the medium is partly damaged. Fixes #348455 and #348475.
13078 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13081 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13082 rates are a gdouble
13084 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13086 * gst/gstregistry.c:
13087 Move big documentation comment into class section header, so that it
13088 appears in the API docs.
13090 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13092 * docs/gst/gstreamer-sections.txt:
13093 Oops. Commit the docs additions too for new API.
13094 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13096 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13098 * gst/gststructure.c: (gst_structure_id_set),
13099 (gst_structure_id_set_valist):
13100 * gst/gststructure.h:
13101 Add API for setting values into structures without performing
13102 a quark lookup, if the appropriate quark is already known.
13104 API: gst_structure_id_set
13105 API: gst_structure_id_set_valist
13107 * gst/parse/grammar.y:
13108 * gst/parse/parse.l:
13109 Remove some dead code shown by the coverage information.
13110 Don't throw a critical g_warning when encountering a syntax error,
13111 just warn and let the normal error path handle it.
13113 * plugins/elements/gstelements.c:
13114 Bump the rank of filesink up to PRIMARY so that it is preferred over
13115 gnomevfssink for file:// sink uri's
13117 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13118 (GST_START_TEST), (run_delayed_test),
13119 (gst_parse_test_element_base_init),
13120 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13121 (gst_parse_test_element_change_state),
13122 (gst_register_parse_element), (parse_suite):
13123 Beef up the tests for parse syntax to check that more error cases
13124 fail as they are supposed to. Increases the test coverage a bit.
13126 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13128 * docs/manual/basics-elements.xml:
13129 Fix gst_element_link() example.
13132 Mention in API docs that one should usually gst_bin_add()
13133 elements to a bin or pipeline before doing the linking.
13135 2006-07-26 Wim Taymans <wim@fluendo.com>
13137 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13138 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13139 Avoid function call for known types by keeping the buffer and
13140 subbuffer GType global.
13142 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13143 Random silly optimisations in read() path.
13145 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13147 * tools/gst-launch.c: (main):
13148 If the top-level of the parse is a normal bin, it doesn't do the
13149 right logic to run as a top-level element, so place it inside a
13152 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13154 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13155 Remove superfluous g_object_notify() calls, GObject does
13156 that for us automatically.
13158 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13161 on Win32, use dllspec to export the debug category symbols
13163 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13165 * gst/gsttaglist.c: (_gst_tag_initialize):
13166 Allow more than one GST_TAG_IMAGE per taglist.
13168 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13170 * gst/gstminiobject.c:
13172 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13173 (gst_fd_src_create):
13174 log recurring events at LOG level
13175 add more debug for when the fd gets set
13177 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13179 * gst/gstparse.c: (gst_parse_launch):
13180 Also remove reentrance checks if flex is MT safe (#348179)
13181 Fix my empty ChangeLog entry below
13183 2006-07-21 Andy Wingo <wingo@pobox.com>
13185 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13187 * libs/gst/check/Makefile.am
13188 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13189 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13190 * libs/gst/check/gstbufferstraw.h:
13191 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13192 functions, thus proving I am still a GStreamer haxor. OK I wrote
13193 them a long time ago, but anyways.
13195 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13198 * gst/gstparse.c: (gst_parse_launch):
13199 Check for flex version and omit mutex if we have a MT save flex
13202 2006-07-21 Wim Taymans <wim@fluendo.com>
13204 * gst/gstparse.c: (gst_parse_launch):
13205 Protect recursive calls to _parse with a recursive mutex
13208 2006-07-21 Wim Taymans <wim@fluendo.com>
13210 * tests/check/gst/gstpad.c: (GST_START_TEST):
13213 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13215 * gst/gstparse.c: (gst_parse_launch):
13216 Do not hang on recursive usage of gst_parse_launch()
13218 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13220 * gst/gsttaglist.c:
13221 Add some more docs, comments and FIXME 0.11s here and there
13222 and also fix some typos.
13224 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13226 * gst/gstsegment.h:
13227 Convert tabs to spaces for better readability.
13229 2006-07-20 Edward Hervey <edward@fluendo.com>
13231 * tests/check/libs/gdp.c: (gst_dp_suite):
13232 the test_buffer test fails at line 140 on ppc64 at the following
13234 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13235 GST_BUFFER_FLAG_IN_CAPS),
13236 "GST_BUFFER_IN_CAPS flag should have been copied !");
13237 See bug #348114 for more details.
13239 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13241 * docs/pwg/advanced-scheduling.xml:
13243 Fix typos (#348000).
13245 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13247 * docs/pwg/intro-basics.xml:
13248 Fix wrong links (#347927).
13250 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13252 * gst/gstregistry.h:
13253 * gst/gstregistryxml.c: (load_feature),
13254 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13255 * win32/common/config.h:
13256 make --disable-index work (#342564)
13258 2006-07-18 Wim Taymans <wim@fluendo.com>
13260 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13264 The attached patch adds two missing defines to gsttrace.h when tracing
13265 is disabled. It also corrects one existing define.
13268 2006-07-17 Wim Taymans <wim@fluendo.com>
13270 * docs/gst/gstreamer-sections.txt:
13271 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13273 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13274 Add two functions to check and change the SIGSEGV behaviour
13275 when loading plugins.
13276 Don't mess with the SIGSEGV handler when we were told not to.
13278 API: gst_segtrap_is_enabled
13279 API: gst_segtrap_set_enabled
13281 2006-07-14 Wim Taymans <wim@fluendo.com>
13283 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13284 * tests/check/elements/filesrc.c: (GST_START_TEST):
13285 Revert fix for regression in #347408 after release.
13287 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13289 Patch by: Antoine Tremblay <hexa00 at gmail com>
13291 * gst/gstutils.c: (gst_element_unlink):
13292 Free iterator when done (#347311).
13294 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13295 And add a test case for this.
13297 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13300 Bump nano back to CVS
13302 === release 0.10.9 ===
13304 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13307 releasing 0.10.9, "On the road again"
13309 2006-07-13 Wim Taymans <wim@fluendo.com>
13311 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13312 * tests/check/elements/filesrc.c: (GST_START_TEST):
13313 Revert pull-0 fix for release. Disable check. Fixes #347408.
13315 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13317 * libs/gst/dataprotocol/dataprotocol.c:
13318 (gst_dp_event_from_packet_1_0):
13319 Fixes #347337: failure to deserialize event packets with
13320 empty payload (only event type)
13322 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13325 do not install a .c file in the header directory
13327 2006-07-13 Edward Hervey <edward@fluendo.com>
13329 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13330 GhostPad no longer implicitely use the padtemplates of the targets.
13333 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13335 * gst/gstvalue.c: (gst_value_compare_list),
13336 (gst_value_compare_array), (_gst_value_initialize):
13337 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13338 Make GstValueArray comparison be order dependent as designed.
13339 Add checks for value lists and value array comparisons.
13342 2006-07-11 Edward Hervey <edward@fluendo.com>
13344 * gst/gstbin.c: (activate_pads),
13345 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13346 (gst_bin_change_state_func):
13347 (de)activate src pads before calling state_change on the childs.
13348 This is to avoid the case where a src ghostpad is blocked (holding the
13349 stream lock), which would block the deactivation of the ghostpad's
13351 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13352 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13353 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13354 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13355 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13356 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13357 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13358 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13359 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13360 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13361 (gst_ghost_pad_class_init),
13362 (gst_ghost_pad_internal_do_activate_push),
13363 (gst_ghost_pad_internal_do_activate_pull),
13364 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13365 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13366 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13367 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13368 GhostPads now create their internal GstProxyPad at creation (and not
13369 when they're linked, as it was being done previously).
13370 The internal and target pads are linked straight away.
13371 The data will also travel through the other pad in order to make
13372 pad blocking and probes non-hackish (the probe/block now really happens
13373 on the GhostPad and not on the target).
13374 * gst/gstpad.c: (gst_pad_set_blocked_async),
13375 (gst_pad_link_prepare), (gst_pad_push_event):
13376 Remove previous ghostpad cruft.
13377 * gst/gstutils.c: (gst_pad_add_data_probe),
13378 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13379 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13380 (gst_pad_remove_buffer_probe):
13381 Remove previous ghost pad cruft.
13382 Added more detailed debug statements.
13383 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13384 Fix the testsuite for refcounting changes.
13385 The comments about who has references were correct, but the refcount
13386 being checked wasn't the same (!?!).
13390 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13392 * docs/gst/gstreamer-sections.txt:
13393 * gst/gstconfig.h.in:
13394 More docs for configuration options, add docs to gtk-doc.
13396 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13399 * gst/gstconfig.h.in:
13400 * win32/common/config.h:
13401 Fix build when disabling tracing (fixes #344016). Also start to document
13402 the defines that disable the sub-systems.
13404 2006-07-10 Edward Hervey <edward@fluendo.com>
13406 * gst/gst.c: (ensure_current_registry_forking):
13407 let's make valgrind happy...
13409 2006-07-09 Wim Taymans <wim@fluendo.com>
13411 * gst/gstelement.c: (activate_pads),
13412 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13413 Better pad activation code: Reset the collect value too on resync.
13416 2006-07-09 Wim Taymans <wim@fluendo.com>
13418 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13419 (gst_pad_activate_push):
13420 Use some more macros where it makes sense.
13421 Allow pad mode switching instead of asserting. When a pad
13422 is activated in one mode and we activate it in another,
13423 deactivate it first before activating it in a different mode.
13426 2006-07-08 Andy Wingo <wingo@pobox.com>
13428 * tools/gst-launch.c (main): Handle err == NULL.
13430 * gst/gst.c (init_post, ensure_current_registry)
13431 (ensure_current_registry_forking)
13432 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13433 factoring out the registry scanning into separate functions. Don't
13434 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13435 Better environment var name/interface suggestions accepted.
13437 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13439 * gst/gstobject.c: (gst_object_set_name_default),
13440 (gst_object_set_name):
13441 Random micro-optimisation: don't use a hash table
13442 with strings as keys and the usual strdup/strcmp
13443 involved, but rather just use the GQuark of the
13444 type name as key, since it needs to be looked up
13445 anyway to get the type name string.
13447 * tests/check/gst/gstobject.c: (GST_START_TEST):
13450 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13452 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13453 (gst_bin_iterate_all_by_interface):
13454 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13455 GTypes are gulongs and thus the top 4 bytes might be cut
13456 off on some platforms when doing GPOINTER_TO_INT, leading
13457 to invalid GTypes and bad things happening (see RH bug #179654).
13458 Also add a check to make sure the type passed in is really
13461 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13466 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13470 * gst-element-check.m4:
13471 * gst-element-check.m4.in:
13472 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13473 instead of the unversioned gst-inspect (#324176, #168659).
13475 2006-07-06 Wim Taymans <wim@fluendo.com>
13477 * gst/gstmessage.h:
13478 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13481 2006-07-06 Wim Taymans <wim@fluendo.com>
13483 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13484 (gst_base_src_wait), (gst_base_src_update_length),
13485 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13486 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13487 (gst_base_src_loop), (gst_base_src_start),
13488 (gst_base_src_activate_pull):
13490 blocksize == 0 now means the default blocksize when working in push
13492 Remove some pointless asserts in _wait function.
13493 Fix offset/length calculations and EOS handling. We can now pull 0
13494 bytes as well, which is allowed.
13495 use _check_get_range() to decide if we can operate in _pull based
13497 Fix refcounting leak when check_get_range function was not
13499 API GstBaseSrc::blocksize range can be 0 too now (default)
13501 * tests/check/elements/filesrc.c: (GST_START_TEST),
13503 Added check to test _get_range() behaviour.
13505 2006-07-06 Wim Taymans <wim@fluendo.com>
13507 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13508 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13509 (gst_pad_pull_range):
13511 Lots of comments and docs added to the pad functions.
13512 Flesh out the expected behaviour of the get_range() functions.
13514 2006-07-06 Wim Taymans <wim@fluendo.com>
13519 * gst/gstiterator.h:
13523 Remove comma at end of enumerator list.
13525 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13527 * win32/common/libgstbase.def:
13528 * win32/common/libgstdataprotocol.def:
13529 * win32/common/libsgtreamer.def:
13530 Add new exported functions.
13532 2006-07-05 Wim Taymans <wim@fluendo.com>
13534 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13535 Add some more docs here and there.
13537 2006-07-05 Wim Taymans <wim@fluendo.com>
13539 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13540 (gst_base_sink_loop), (gst_base_sink_get_position):
13541 When operating in pull mode update the offset so that we
13544 2006-07-05 Wim Taymans <wim@fluendo.com>
13546 * gst/gstregistryxml.c: (read_string):
13547 Avoid strdup. (will happen in libxml, but hey!)
13550 Add some more docs.
13552 2006-07-05 Wim Taymans <wim@fluendo.com>
13554 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13555 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13556 (gst_buffer_suite):
13557 No point in checking if the size of the subbuffer > 0, the
13558 code handles it correclty as demonstrated by unit test.
13559 Also add a unit test for the zero sized _new_and_alloc and
13560 _copy. Fixes #346663.
13562 2006-07-05 Wim Taymans <wim@fluendo.com>
13564 * libs/gst/base/gstbasetransform.c:
13565 (gst_base_transform_prepare_output_buffer),
13566 (gst_base_transform_buffer_alloc),
13567 (gst_base_transform_handle_buffer):
13568 Make sure the buffer we pass to transform_ip has a refcount of
13569 1 and thus is writable. Fixes #343196
13571 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13573 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13574 (gst_file_src_init), (gst_file_src_set_property),
13575 (gst_file_src_get_property), (gst_file_src_map_region):
13576 * plugins/elements/gstfilesrc.h:
13577 Add "sequential" property, off by default, to use madvise and hint
13578 to the kernel that sequential access is desired.
13579 Touch all retrieved pages by default to ensure they are pulled
13580 into memory. (Closes #345720)
13582 2006-07-03 Wim Taymans <wim@fluendo.com>
13584 * docs/design/part-block.txt:
13585 * docs/design/part-dynamic.txt:
13586 Small docs updates.
13588 2006-07-03 Wim Taymans <wim@fluendo.com>
13590 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13591 (gst_caps_unref), (gst_static_caps_get),
13592 (gst_caps_append_structure):
13593 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13594 Use GSlice when the glib we build against is >= 2.10
13596 2006-07-03 Wim Taymans <wim@fluendo.com>
13598 * gst/gstelement.c: (gst_element_pads_activate):
13599 Small cleanup in pad activation code.
13601 2006-07-03 Wim Taymans <wim@fluendo.com>
13603 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13605 * gst/gst-i18n-app.h:
13606 * gst/gst-i18n-lib.h:
13607 * tools/gst-inspect.c: (print_signal_info):
13608 The attached patch will make the inclusion of gettext.h unconditional in
13609 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13610 libintl.h in tools/gst-inspect.c.
13611 This allows use of --disable-nls again and fixes #344642.
13613 2006-07-03 Edward Hervey <edward@fluendo.com>
13615 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13616 Implement pad blocking on events according to part-block.txt.
13617 More comments on behaviour.
13618 * tests/check/gst/gstevent.c: (test_event):
13619 Send event to peer pad of blocked pad (else it will block).
13621 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13623 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13624 (gst_check_run_suite):
13625 if we get the wrong message, give us the types as string
13626 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13628 * tests/check/elements/filesrc.c: (GST_START_TEST):
13629 add a test for trying to open a non-existing file
13631 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13633 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13634 add a test for adding self
13636 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13638 * libs/gst/check/gstcheck.h:
13639 add some assert_ as alias for fail_unless_*
13640 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13641 increase test coverage
13643 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13646 include lcov.mak for lcov coverage generation
13647 * tools/Makefile.am:
13650 2006-07-02 Edward Hervey <edward@fluendo.com>
13652 * tests/check/elements/.cvsignore:
13655 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13658 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13659 * tests/check/Makefile.am:
13660 clean up gcov files
13662 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13664 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13665 remove gst_caps_simplify; it was not declared and not used
13666 and deprecated in 0.8
13668 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13670 * docs/faq/gst-uninstalled:
13671 don't put empty paths on PYTHONPATH
13672 * docs/gst/gstreamer-sections.txt:
13673 remove some symbols that are not there
13675 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13677 * gst/gstcaps.c: (gst_caps_compare_structures):
13679 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13680 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13683 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13685 * libs/gst/dataprotocol/Makefile.am:
13686 build dataprotocol test by linking to the lib, instead of
13687 compiling the source, so we get coverage
13688 * tests/check/Makefile.am:
13689 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13690 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13691 add a test for filesrc
13693 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13695 * tests/check/gst/gststructure.c: (GST_START_TEST),
13696 (gst_structure_suite):
13697 Push coverage from 59.04% to 70.00%
13699 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13701 * tests/check/Makefile.am:
13702 gst-inspect every element; this makes sure that we also get
13703 coverage on element's get/set functions
13705 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13708 set CFLAGS and friends to -O0 if gcov is being used
13711 * libs/gst/base/Makefile.am:
13712 * libs/gst/check/Makefile.am:
13713 * libs/gst/controller/Makefile.am:
13714 * libs/gst/dataprotocol/Makefile.am:
13715 * libs/gst/net/Makefile.am:
13716 * plugins/elements/Makefile.am:
13717 * plugins/indexers/Makefile.am:
13718 add makefile rules to generate gcov data and clean up
13719 * tests/check/Makefile.am:
13720 add a coverage target that generates an html overview
13723 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13725 * tests/check/elements/fakesink.c:
13726 * tests/check/elements/fakesrc.c:
13727 * tests/check/elements/fdsrc.c:
13728 * tests/check/elements/identity.c:
13729 * tests/check/generic/sinks.c: (gst_sinks_suite):
13730 * tests/check/generic/states.c:
13731 * tests/check/gst/gst.c:
13732 * tests/check/gst/gstabi.c:
13733 * tests/check/gst/gstbin.c:
13734 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13735 * tests/check/gst/gstbus.c: (gst_bus_suite):
13736 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13737 * tests/check/gst/gstelement.c:
13738 * tests/check/gst/gstevent.c: (gst_event_suite):
13739 * tests/check/gst/gstghostpad.c:
13740 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13741 * tests/check/gst/gstmessage.c: (gst_message_suite):
13742 * tests/check/gst/gstminiobject.c:
13743 * tests/check/gst/gstobject.c:
13744 * tests/check/gst/gstpad.c:
13745 * tests/check/gst/gstpipeline.c:
13746 * tests/check/gst/gstplugin.c:
13747 * tests/check/gst/gstquery.c: (gst_query_suite):
13748 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13749 * tests/check/gst/gststructure.c:
13750 * tests/check/gst/gstsystemclock.c:
13751 * tests/check/gst/gsttag.c:
13752 * tests/check/gst/gsttask.c: (gst_task_suite):
13753 * tests/check/gst/gstutils.c:
13754 * tests/check/gst/gstvalue.c:
13755 * tests/check/libs/adapter.c:
13756 * tests/check/libs/basesrc.c:
13757 * tests/check/libs/collectpads.c:
13758 * tests/check/libs/controller.c:
13759 * tests/check/libs/gdp.c: (gst_dp_suite):
13760 * tests/check/libs/gstnetclientclock.c:
13761 * tests/check/libs/gstnettimeprovider.c:
13762 * tests/check/libs/libsabi.c: (libsabi_suite):
13763 * tests/check/libs/typefindhelper.c:
13764 * tests/check/pipelines/cleanup.c:
13765 * tests/check/pipelines/parse-launch.c:
13766 * tests/check/pipelines/simple-launch-lines.c:
13767 * tests/check/pipelines/stress.c: (stress_suite):
13770 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13772 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13773 * libs/gst/check/gstcheck.h:
13774 create a macro and function so that the simple unit test
13775 case can be just one macro to create main()
13777 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13779 * gst/gstbin.c: (gst_bin_restore_thyself):
13780 * gst/gstxml.c: (gst_xml_make_element):
13781 Fix deserialisation from XML. Set parent manually
13782 instead of using gst_bin_add(), since gst_bin_add()
13783 will unlink all pads of the element being added.
13786 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
13788 Patch by: Peter Kjellerstedt <pkj at axis com>
13790 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13791 Fix missing g_strdup() and double free when using the
13792 --gst-plugin-load command line option (#346097).
13794 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13797 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13799 * libs/gst/net/gstnetclientclock.c:
13800 * libs/gst/net/gstnettimeprovider.c:
13801 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13803 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13805 * docs/manual/advanced-dataaccess.xml:
13806 Fix buffer probe example compilation in
13809 2006-06-22 Edward Hervey <edward@fluendo.com>
13811 * gst/gstelement.c: (gst_element_pads_activate):
13812 We need to deactivate src pads first and then sink pads.
13813 The reason is the src pads might be blocking while holding the streaming
13814 lock, so we need to deactivate them first so that deactivating the sink
13815 pads doesn't block (since it will require the streaming lock).
13817 2006-06-22 Wim Taymans <wim@fluendo.com>
13819 * libs/gst/base/gstbasetransform.c:
13820 (gst_base_transform_buffer_alloc):
13821 Forgot to remove two unneeded unrefs.
13822 Simplify a check _is_equal allready checks the obvious case.
13824 2006-06-22 Wim Taymans <wim@fluendo.com>
13826 * docs/design/part-block.txt:
13827 Some docs about what pad_block should do.
13829 2006-06-22 Wim Taymans <wim@fluendo.com>
13831 * gst/gstcaps.c: (gst_caps_replace):
13832 Fix crasher when passed NULL. Doc clarification.
13833 Optimize for the trivial case.
13835 * gst/gstpipeline.c: (gst_pipeline_change_state):
13838 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13839 Small documentation cleanup.
13841 * libs/gst/base/gstbasetransform.c:
13842 (gst_base_transform_buffer_alloc):
13843 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13844 is what we need and it avoids a whole lot of redundant
13845 refcount operations.
13847 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
13849 Patch by: Philip Jägenstedt <philip at lysator liu se>
13851 * docs/manual/advanced-dataaccess.xml:
13852 Fix 'Embedding static elements' section to use
13853 GST_PLUGIN_DEFINE_STATIC (#345607).
13855 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13857 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13858 Attempt to 'fix' spuriously failing test case: it seems like the
13859 timeout of half a second is simply too small when the system is under
13860 load otherwise, and the timeout doesn't really seem to serve any
13861 particular purpose here. Give the pipeline a few seconds to preroll
13862 first, and then give it another half a second to go from PAUSED to
13863 PLAYING and marshal the message into the main thread.
13865 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13867 * tools/gst-feedback-m.m:
13868 Don't only use unversioned tools, try versioned tools as well
13871 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13873 * gst/gstbus.c: (gst_bus_class_init):
13874 Fix some typos, make docs more explicit.
13876 2006-06-20 Wim Taymans <wim@fluendo.com>
13878 * tests/check/gst/gstghostpad.c: (block_callback),
13879 (GST_START_TEST), (gst_ghost_pad_suite):
13880 Added some more ghostpad tests, mainly blocking
13883 2006-06-16 Wim Taymans <wim@fluendo.com>
13885 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
13886 (gst_file_sink_close_file), (gst_file_sink_do_seek),
13887 (gst_file_sink_event), (gst_file_sink_render):
13888 * plugins/elements/gstfilesink.h:
13889 Check if we can seek in the file instead of assuming
13890 we always can. Post an error when we are asked to seek in a
13891 non-seekable file (like a fifo). Fixes #343312.
13894 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13896 * tools/gst-launch.1.in:
13897 Un-garble (fourcc) bit in filtered caps section.
13899 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13901 * docs/manual/advanced-autoplugging.xml:
13902 * docs/manual/basics-helloworld.xml:
13903 * docs/manual/highlevel-components.xml:
13904 Don't leak bus reference in sample code.
13906 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
13909 Add default for new --enable-plugin-docs switch.
13912 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13915 * docs/Makefile.am:
13916 Use new ENABLE_PLUGIN_DOCS conditional.
13918 2006-06-14 Wim Taymans <wim@fluendo.com>
13920 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
13921 Make it clear with a FIXME and a real define what the #if 0
13922 previously disabled.
13924 2006-06-14 Wim Taymans <wim@fluendo.com>
13926 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13927 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13928 * libs/gst/base/gstbasetransform.c:
13929 (gst_base_transform_sink_eventfunc):
13930 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13931 Don't randomly and silently reset a segment when the format
13932 changes as this is a bug somewhere upstream. Fixes #330379.
13934 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
13936 Patch by: Wouter Paesen <wouter at kangaroot net>
13938 * libs/gst/controller/gstcontroller.c:
13939 (gst_controlled_property_new):
13940 Fix controlling of float properties (#344849).
13942 * tests/check/libs/controller.c:
13943 (gst_test_mono_source_get_property),
13944 (gst_test_mono_source_set_property),
13945 (gst_test_mono_source_class_init), (GST_START_TEST):
13946 While we're at it, add some float stuff to unit test.
13948 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
13951 * docs/images/gdp-header.svg:
13953 * docs/libs/Makefile.am:
13954 * docs/libs/gdp-header.png:
13955 * libs/gst/dataprotocol/dataprotocol.c:
13956 add it to the API docs
13957 * docs/manual/intro-motivation.xml:
13960 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
13962 * gst/gst.c: (scan_and_update_registry), (init_post):
13963 If the fork()'ed child process can't write the updated registry cache
13964 file to disk for some reason, make it exit with a failure exit code,
13965 so that the parent can then re-scan the plugins itself and update the
13966 registry structures in memory and work with that (rather than failing
13967 when creating elements because seemingly no plugins are available).
13968 Refactor registry scanning code into separate function for this and
13969 also separate fork() and non-fork() code paths. Fixes #344748.
13971 2006-06-13 Wim Taymans <wim@fluendo.com>
13973 * docs/manual/advanced-dataaccess.xml:
13974 Fix wrong PluginDesc. Fixes #344755.
13976 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
13978 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13979 Fix silly bug that prevented us from creating
13980 ~/.gstreamer-0.10 and writing the registry in one
13981 go (the first call to g_mkstemp() would overwrite the
13982 placeholder in the template string, so the second call
13983 to g_mkstemp() after creating the missing directory
13984 would then error out with 'invalid argument').
13986 2006-06-13 Edward Hervey <edward@fluendo.com>
13988 * gst/gst.c: (init_post):
13991 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
13993 * gst/glib-compat-private.h:
13994 * gst/glib-compat.c:
13995 * gst/glib-compat.h:
13996 * gst/gstvalue.c: (gst_value_serialize_flags):
13997 remove GLib 2.6 compatibility code
13999 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14001 * gst/parse/Makefile.am:
14002 Fix build with 'make -j N' even more (#340016).
14004 2006-06-12 Wim Taymans <wim@fluendo.com>
14006 * docs/gst/gstreamer-sections.txt:
14009 2006-06-12 Wim Taymans <wim@fluendo.com>
14011 * gst/gstsegment.c: (gst_segment_set_duration),
14012 (gst_segment_set_last_stop), (gst_segment_set_seek),
14013 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14014 (gst_segment_to_running_time), (gst_segment_clip):
14015 Use G_UNLIKELY to help the compiler a bit.
14017 2006-06-12 Wim Taymans <wim@fluendo.com>
14019 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14021 * gst/gstevent.c: (gst_event_get_type):
14022 * gst/gstmessage.c:
14023 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14025 constify quark registration strings. Fixes #344115
14026 Avoid unneeded type checking is _pad_push() by internally
14027 calling gst_pad_chain_unchecked().
14029 2006-06-12 Wim Taymans <wim@fluendo.com>
14031 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14032 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14033 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14034 (gst_buffer_is_span_fast), (gst_buffer_span):
14035 Init _type for consistency.
14036 Use _FLAGS macro to avoid type check.
14037 Avoid unneeded type checks in subbufer code.
14039 2006-06-12 Wim Taymans <wim@fluendo.com>
14041 * gst/gst.c: (gst_debug_help):
14042 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14043 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14044 (gst_plugin_feature_list_free):
14045 * gst/gstregistry.c: (gst_registry_add_plugin),
14046 (gst_registry_add_feature), (gst_registry_plugin_filter),
14047 (gst_registry_feature_filter), (gst_registry_find_plugin),
14048 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14049 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14050 * gst/gstregistryxml.c: (load_feature),
14051 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14052 * gst/gstminiobject.c: (gst_mini_object_unref),
14053 (gst_mini_object_replace), (gst_value_mini_object_free),
14054 (gst_value_mini_object_copy):
14055 Use _CAST macros to avoid unneeded type checking.
14056 Added some more G_UNLIKELY.
14058 2006-06-12 Wim Taymans <wim@fluendo.com>
14061 Avoid unneeded type checking.
14062 API: GST_BUFFER_IS_DISCONT
14064 * gst/gstminiobject.h:
14065 Avoid type check in flag accessor.
14067 * gst/gstelementfactory.h:
14069 * gst/gstpluginfeature.h:
14071 API: GST_ELEMENT_FACTORY_CAST
14072 API: GST_PLUGIN_CAST
14073 API: GST_PLUGIN_FEATURE_CAST
14075 2006-06-12 Wim Taymans <wim@fluendo.com>
14077 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14078 (gst_object_unref):
14079 Add G_UNLIKELY in type registration.
14080 Avoid type check in _ref/_unref since that is also
14083 2006-06-12 Wim Taymans <wim@fluendo.com>
14085 * gst/gsterror.c: (gst_g_error_get_type):
14086 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14087 (gst_static_pad_template_get_type):
14088 * gst/gsttaglist.c: (gst_tag_list_get_type):
14089 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14090 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14091 * gst/gsturi.c: (gst_uri_handler_get_type):
14092 * gst/gstvalue.c: (gst_date_get_type):
14093 * gst/gstxml.c: (gst_xml_get_type):
14094 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14095 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14096 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14097 Add G_UNLIKELY in type registration.
14099 2006-06-12 Wim Taymans <wim@fluendo.com>
14101 * tools/gst-inspect.c: (print_signal_info):
14102 Properly print enum values.
14104 2006-06-12 Wim Taymans <wim@fluendo.com>
14106 * gst/gstinfo.c: (gst_debug_set_active),
14107 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14109 Add some G_[UN]LIKELY.
14110 Maintain __gst_debug_min to avoid formatting the arguments of
14111 debug messages that will be dropped anyway to avoid a lot of
14112 overhead from the debugging system.
14114 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14117 * po/POTFILES.skip:
14118 add missing files containing translatable strings, tell intltool about
14121 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14123 * tests/check/libs/.cvsignore:
14124 add test-binary to ignore list
14126 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14128 * docs/libs/gstreamer-libs-docs.sgml:
14129 reorder (put dp into a chapter) and indent
14131 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14136 === release 0.10.8 ===
14138 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14141 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14143 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14145 * gst/gst.c: (init_post):
14146 move pid declaration to declaration block
14148 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14150 * gst/gst.c: (init_post):
14151 use _exit() instead of exit() in our forked child; this ensures
14152 that none of the registered exit handlers from whatever is using
14153 GStreamer get executed. This fixes gnome-mixer-applet failing
14154 to load, because ORBit would shut down.
14155 Spotted by: Edward Hervey <edward@fluendo.com>
14156 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14159 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14164 === release 0.10.7 ===
14166 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14169 releasing 0.10.7, "Soepeke, ik zie ou"
14171 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14194 * win32/common/config.h:
14195 0.10.6.2 prerelease
14197 2006-06-07 Wim Taymans <wim@fluendo.com>
14199 * gst/gstindex.c: (gst_index_gtype_resolver):
14200 * tools/gst-xmlinspect.c: (print_plugin_info):
14201 Fix leak spotted by coverity checker. Fixes #343827
14202 Fix another other leak found by paolo borelli.
14204 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14206 * libs/gst/dataprotocol/dataprotocol.c:
14207 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14208 (gst_dp_version_get_type), (gst_dp_init),
14209 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14210 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14211 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14212 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14213 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14214 (gst_dp_packetizer_free):
14215 * libs/gst/dataprotocol/dataprotocol.h:
14216 API: add a GstDPPacketizer object, and create/free functions
14217 API: add GstDPVersion enum
14218 Add 1.0 event function that uses the string serialization
14219 Serialize more useful buffer flags
14222 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14224 * tests/check/Makefile.am:
14225 * tests/check/gst/gstabi.c:
14226 * tests/check/gst/struct_ppc64.h:
14227 * tests/check/libs/libsabi.c:
14228 * tests/check/libs/struct_ppc64.h:
14229 add ppc64 structure sizes
14231 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14233 * tests/check/Makefile.am:
14234 * tests/check/gst/gstabi.c:
14235 * tests/check/gst/struct_x86_64.h:
14236 * tests/check/libs/libsabi.c:
14237 * tests/check/libs/struct_x86_64.h:
14238 generate and add structure size lists for x86_64
14240 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14242 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14243 * libs/gst/check/gstcheck.h:
14244 factor out the method from tests that checks size of structures,
14245 and add code to generate the header containing these sizes
14246 * tests/check/gst/gstabi.c: (GST_START_TEST):
14247 * tests/check/gst/struct_i386.h:
14248 * tests/check/libs/libsabi.c: (GST_START_TEST):
14249 * tests/check/libs/struct_i386.h:
14252 2006-06-06 Michael Smith <msmith@fluendo.com>
14254 * gst/gstsegment.h:
14255 Don't use c++-style comments, fixes #343929
14257 2006-06-05 Edward Hervey <edward@fluendo.com>
14260 plugin_paths is not used if we build without registry support.
14262 * gst/gstsegment.c: (gst_segment_copy):
14263 _copy() was always returning NULL...
14265 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14267 * libs/gst/dataprotocol/dataprotocol.c:
14268 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14269 (gst_dp_packet_from_event):
14270 factor out CRC code
14272 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14274 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14275 make sure we unset caps
14277 2006-06-02 Michael Smith <msmith@fluendo.com>
14279 * libs/gst/check/gstcheck.c: (gst_check_init),
14280 (gst_check_chain_func):
14281 * libs/gst/check/gstcheck.h:
14282 Add a cond/mutex to the check support lib, signal this whenever we
14283 add to the buffers list. This will allow tests to not busy-wait on
14286 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14288 * libs/gst/dataprotocol/dataprotocol.c:
14289 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14290 (gst_dp_packet_from_event):
14291 factor out some common header init code
14293 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14295 * docs/libs/gstreamer-libs-sections.txt:
14296 * docs/libs/tmpl/gstdataprotocol.sgml:
14297 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14298 * libs/gst/dataprotocol/dataprotocol.h:
14299 API: make gst_dp_crc() public
14301 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14303 * plugins/indexers/gstindexers.c: (plugin_init):
14304 conditionally register fileindexer (fixes #343598)
14306 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14308 * gst/gsttagsetter.h:
14309 Can't cast ifaces to a class
14311 * libs/gst/net/gstnetclientclock.h:
14312 * libs/gst/net/gstnettimeprovider.h:
14313 * plugins/elements/gstfakesink.h:
14314 * plugins/elements/gstfakesrc.h:
14315 * plugins/elements/gstfdsink.h:
14316 * plugins/elements/gstfdsrc.h:
14317 * plugins/elements/gstfilesink.h:
14318 * plugins/elements/gstfilesrc.h:
14319 * plugins/elements/gstidentity.h:
14320 * plugins/elements/gstqueue.h:
14321 * plugins/elements/gsttee.h:
14322 * plugins/indexers/gstfileindex.c:
14323 * plugins/indexers/gstmemindex.c:
14324 * tests/old/examples/plugins/example.h:
14325 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14327 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14329 * libs/gst/dataprotocol/dataprotocol.c:
14330 (gst_dp_header_from_buffer):
14331 make sure we zero the whole ABI-compatible area
14333 2006-06-01 Wim Taymans <wim@fluendo.com>
14335 Patch by: Alessandro Decina <alessandro at nnva dot org>
14337 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14338 Make sure the EOS flag is cleared from pads after a flush
14339 or stop. Fixes #343538.
14341 * tests/check/libs/collectpads.c: (GST_START_TEST),
14342 (gst_collect_pads_suite):
14343 Added test for collectpads reusage after EOS.
14345 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14348 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14349 * win32/common/libgstbase.def:
14350 export gst_collect_pads_set_flushing
14351 * win32/common/libgstreamer.def:
14352 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14353 gst_value_fraction_multiply
14354 * win32/vs6/gst_inspect.dsp:
14355 add a link to intl.lib
14357 2006-05-30 Wim Taymans <wim@fluendo.com>
14359 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14360 (gst_collect_pads_chain):
14361 Handle the case where a pad is removed from the collection
14362 that could cause the other pads to become collectable.
14364 2006-05-30 Wim Taymans <wim@fluendo.com>
14366 * gst/gstelement.c:
14367 Clarify the use of _release_request_pad() and
14368 _get_request_pad() a bit better.
14370 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14371 (gst_adapter_take_buffer):
14372 Fix some doc and comment typos.
14374 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14376 * docs/gst/gstreamer-sections.txt:
14377 * docs/libs/gstreamer-libs-sections.txt:
14378 add declared symbols
14380 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14382 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14383 Add debug that can be enabled using a #define at the top of the file,
14384 for dumping stats about how late/early we were when waking up from
14385 waiting on the clock.
14387 2006-05-30 Wim Taymans <wim@fluendo.com>
14389 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14390 When rebuilding the pad list, don't leak the previous list.
14392 2006-05-30 Wim Taymans <wim@fluendo.com>
14394 Patch by: Lutz Mueller <lutz at topfrose dot de>
14396 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14397 (gst_base_src_get_query_types), (gst_base_src_update_length):
14398 Publish supported query types.
14399 Update last_stop field in get_range mode so the position
14400 query works. Fixes #342321.
14402 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14404 * docs/gst/gstreamer-sections.txt:
14405 * gst/gsttaglist.c: (_gst_tag_initialize):
14406 * gst/gsttaglist.h:
14407 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14409 2006-05-30 Wim Taymans <wim@fluendo.com>
14411 Patch by: Alessandro Decina <alessandro at nnva dot org>
14413 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14414 Unlock mutex when removing an unknown pad.
14417 * tests/check/Makefile.am:
14418 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14419 (push_event), (setup), (teardown), (GST_START_TEST),
14420 (gst_collect_pads_suite), (main):
14421 Added collecpads check, disabled for now as check crashes for
14424 2006-05-29 Wim Taymans <wim@fluendo.com>
14426 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14427 Don't leak pads lists.
14429 2006-05-29 Wim Taymans <wim@fluendo.com>
14431 * docs/libs/gstreamer-libs-sections.txt:
14432 * libs/gst/base/gstcollectpads.c:
14433 (gst_collect_pads_set_flushing_unlocked),
14434 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14435 (gst_collect_pads_stop):
14436 * libs/gst/base/gstcollectpads.h:
14437 API: gst_collect_pads_set_flushing()
14438 Added api to set the pads to flushing, useful for seeking
14439 code in elements using collectpads.
14440 Clear segment when receiving a flush.
14442 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14444 * gst/gst.c: (add_path_func), (init_post):
14445 Don't scan registry paths passed via --gst-plugin-path immediately
14446 (will crash, because absolutely nothing is set up and no types are
14447 registered etc.); do this later in init_post(). Fixes #343057.
14449 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14451 * gst/gst.c: (init_post):
14452 if we have fork, fork while reading/rebuilding the registry
14453 so the parent doesn't take the hit of having all plugins loaded
14454 in memory. Fixes #342777.
14456 Check if we have fork()
14457 * win32/common/config.h.in:
14460 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14462 * plugins/elements/gstelements.c:
14463 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14464 (gst_file_src_init), (gst_file_src_set_property),
14465 (gst_file_src_get_property), (gst_file_src_start):
14466 * plugins/elements/gstfilesrc.h:
14467 API: GstFileSrc::use-mmap
14469 Add a use-mmap property to enable easier testing of all code paths.
14470 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14471 in the absence of gnomevfssrc. (Closes #340501)
14473 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14475 * tools/gst-inspect.c:
14476 Add missing include, removes warning of ngettext not being defined on
14479 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14481 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14482 Handle NULL input and output pointers silently as a failed conversion,
14483 rather than g_warnings.
14485 2006-05-25 Wim Taymans <wim@fluendo.com>
14487 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14488 Initialize variable before using. Fixes #342820.
14490 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14492 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14493 Fix off-by-one bug that would only allow peeks of N-1 bytes
14494 from the start even if the buffer to typefind on contains
14495 in fact N bytes of data (makes vorbis typefinding from a
14496 vorbis identification header buffer work).
14498 * tests/check/Makefile.am:
14499 * tests/check/libs/.cvsignore:
14500 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14501 (gst_typefindhelper_suite), (main), (foobar_typefind),
14503 Add very basic unit test for gst_type_find_helper_for_buffer()
14504 that checks for the problem fixed above.
14506 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14508 * tools/gst-inspect.c: (print_interfaces),
14509 (print_element_properties_info), (print_element_list), (main):
14510 add more translatable strings
14512 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14514 Patch by: Julien Moutte <julien at moutte net>
14516 * docs/gst/gstreamer-sections.txt:
14517 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14519 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14520 (gst_fake_sink_preroll):
14521 * plugins/elements/gstfakesink.h:
14522 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14524 2006-05-23 Wim Taymans <wim@fluendo.com>
14526 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14528 Added _CUSTOM error and success GstFlowReturn that can be
14529 used be elements internally.
14530 Added macro to check for SUCCESS flowreturns.
14531 API: GST_FLOW_CUSTOM_SUCCESS
14532 API: GST_FLOW_CUSTOM_ERROR
14533 API: GST_FLOW_IS_SUCCESS
14535 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14536 Added check for GstFlowReturn sanity.
14538 2006-05-23 Wim Taymans <wim@fluendo.com>
14540 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14542 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14543 (gst_collect_pads_event):
14544 clear/reset segment info in FLUSH_STOP.
14547 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14549 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14550 (gst_collect_pads_check_collected):
14551 Flush queued buffer on _stop(), fixes playing again (#342454)
14553 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14555 * tests/check/gst/gststructure.c: (GST_START_TEST),
14556 (gst_structure_suite):
14557 add a test for a complete structure
14559 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14561 * docs/faq/developing.xml:
14562 * docs/faq/faq.xml:
14563 * docs/faq/troubleshooting.xml:
14564 * docs/faq/using.xml:
14565 Some minor FAQ updates that won't change the fact that
14566 our FAQ is badly structured, full of information hardly
14567 anyone new to GStreamer needs to know and lacking lots
14568 of information people constantly ask for.
14570 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14572 * gst/gstpad.c: (gst_pad_set_caps):
14573 Short-circuit gst_pad_set_caps if setting the existing
14574 caps pointer again, and avoid printing debug and
14575 reffing/unreffing the caps.
14577 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14578 There's actually no need to set the caps before pushing -
14579 the acceptcaps method will handle it anyway.
14581 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14583 * docs/gst/gstreamer-sections.txt:
14584 * win32/common/libgstreamer.def:
14585 * gst/gstutils.c: (gst_element_seek_simple):
14587 API: add gst_element_seek_simple() (#342238).
14589 2006-05-18 Edward Hervey <edward@fluendo.com>
14591 * gst/gsttypefind.c: (gst_type_find_get_type):
14592 * gst/gsttypefind.h:
14593 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14594 registered for GstTypeFind pointers. This allows wrapping the structure
14595 in bindings (i.e. gst-python).
14597 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14599 * gst/gsttagsetter.c:
14600 Docs additions and fixes (see #339918).
14602 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14604 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14605 The caps intersection algorithm can produce multiple copies of the
14606 caps. Until that is fixed, we need to simplify the result to be
14607 sure whether the allowed caps are fixed or not.
14609 * plugins/elements/gstqueue.c: (gst_queue_init),
14610 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14611 (gst_queue_push_one):
14612 Proxied buffer alloc should not set the caps on the source pad.
14613 When pushing buffers, we always accept the caps change that triggers.
14614 This prevents negotiation errors caused by caps changing mid-stream
14615 and then being refused on our source pad (because upstream is now
14616 refusing those caps).
14618 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14620 * tests/examples/helloworld/helloworld.c: (main):
14621 Must plug audioconvert and audioresample between decoder
14624 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14626 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14627 (load_feature), (load_plugin):
14628 Allow empty strings for some of the plugin fields so we don't
14629 drop valid plugin entries that were written out correctly
14632 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14634 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14635 Use g_remove and g_rename instead of remove and rename that don't
14636 handle utf8 characters. rename was failing for users who had specific
14637 characters in their name then the registry was built at each
14639 * win32/vs6/gst_inspect.dsp:
14640 * win32/vs6/gst_launch.dsp:
14641 * win32/vs6/libgstbase.dsp:
14642 * win32/vs6/libgstcoreelements.dsp:
14643 * win32/vs6/libgstreamer.dsp:
14644 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14645 build of libgstreamer and clean unused libraries in projects link
14648 2006-05-17 Edward Hervey <edward@fluendo.com>
14650 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14651 The queue is not responsible for pushing an EOS when receiving a fatal
14652 flow error. It's up to the real element driving the pipeline to do that.
14654 2006-05-16 Edward Hervey <edward@fluendo.com>
14656 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14657 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14658 buffer returned a fatal error. It should just send an EOS and stop
14660 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14661 when pushing buffers on the queue and will be able to handle the event.
14663 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14665 * docs/manual/basics-bins.xml:
14666 * docs/manual/basics-init.xml:
14667 Fix typos and minor errors in sample code (#341856).
14669 2006-05-16 Wim Taymans <wim@fluendo.com>
14671 * docs/design/part-qos.txt:
14672 Fix indexes in formulas to make more sense.
14674 2006-05-15 Wim Taymans <wim@fluendo.com>
14676 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14677 Don't report POSITION based on clock time if sync is
14678 disabled in a sink.
14680 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14683 Add cast to make compiler happy - refcount variable was a gint
14684 in GstObject but is a guint in GObject and g_atomic_int_get()
14687 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14689 * gst/parse/Makefile.am:
14690 chain commands using &&, which also makes parallel make work
14692 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14694 * docs/gst/gstreamer-sections.txt:
14697 * gst/gstmessage.h:
14700 === release 0.10.6 ===
14702 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14705 releasing 0.10.6, "Take the cannoli"
14707 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14709 * tools/gst-launch.c: (print_tag):
14710 Fix use of uninitialized variable in the hypothetical
14711 case that some broken plugin creates a GST_TAG_IMAGE
14712 tag containing a NULL buffer (#341667).
14714 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14716 * tools/gst-launch.c: (print_tag):
14717 Print something more intelligible for image tags when
14718 using the -t switch (#341556).
14720 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14725 define GST_MAJORMINOR so we have it available in win32/common/config.h
14726 Possibly remove it from our Makefile.am files later
14727 * win32/common/config.h:
14728 * win32/common/config.h.in:
14729 added GST_MAJORMINOR
14730 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14731 * win32/common/gstversion.h:
14734 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14737 Update win32 files listing.
14738 * win32/common/gstversion.h:
14739 Add GST_MAJORMINOR definition.
14740 * win32/common/libgstreamer.def:
14741 Add new exported functions.
14743 2006-05-12 Michael Smith <msmith@fluendo.com>
14745 * gst/gstplugin.c: (gst_plugin_load_file):
14746 If an so file has no plugin entry point, unload the module.
14748 2006-05-11 Wim Taymans <wim@fluendo.com>
14750 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14751 (gst_queue_set_property):
14752 Don't forget to signal the _chain or _loop function
14753 when the queue size or thresholds change since that might
14754 cause them to make progres again.
14756 2006-05-11 Stefan Kost <ensonic@users.sf.net>
14758 * gst/gstclock.c: (gst_clock_class_init):
14759 * gst/gstindex.c: (gst_index_class_init):
14760 * gst/gstobject.c: (gst_object_class_init):
14761 * gst/gstpad.c: (gst_pad_class_init):
14762 * gst/gstpipeline.c: (gst_pipeline_class_init):
14763 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14764 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14765 * libs/gst/base/gstbasetransform.c:
14766 (gst_base_transform_class_init):
14767 * libs/gst/net/gstnetclientclock.c:
14768 (gst_net_client_clock_class_init):
14769 * libs/gst/net/gstnettimeprovider.c:
14770 (gst_net_time_provider_class_init):
14771 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14772 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14773 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14774 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14775 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14776 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14777 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14778 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14779 * plugins/elements/gsttee.c: (gst_tee_class_init):
14780 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14781 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14782 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14784 2006-05-11 Wim Taymans <wim@fluendo.com>
14786 * gst/gstbuffer.c: (_gst_buffer_initialize):
14787 Register subbufer along with the buffer type so that
14788 it does not accidentally gets registered from N
14789 different streaming threads in a non threadsafe way.
14791 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14795 * gst/gstmessage.h:
14796 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14797 gst_event_ref() and gst_message_ref() functions again
14798 (ugly hack, please do fix if there's a better way besides
14799 overrides.txt, which doesn't seem to work).
14801 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14803 * libs/gst/check/gstcheck.h:
14804 add an assert for setting state to avoid lots of repetitive code
14807 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14809 * gst/gstvalue.c: (gst_value_serialize_flags):
14810 fix a leak if no flags are set
14811 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14814 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14816 * docs/manual/basics-pads.xml:
14817 Expand a bit on caps and filtered links and update
14818 examples that were still using the no longer existing
14819 gst_pad_link_filtered() (#338206).
14821 2006-05-10 Wim Taymans <wim@fluendo.com>
14823 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14824 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14825 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14826 (gst_collect_pads_stop):
14827 * libs/gst/base/gstcollectpads.h:
14828 No need to call _stop in _finalize.
14829 Iterate the main pad list in _finalize.
14830 Added some more debug.
14831 Free lists and data in the right order.
14832 Also free data whem doing _remove_pad when stopped for
14833 backward compatibility protect ::started with PAD_LOCK as
14836 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14838 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14839 (gst_structure_parse_value):
14841 rename a method so that it actually says what it does better
14843 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14845 * gst/gstevent.c: (_gst_event_initialize):
14846 * gst/gstformat.c: (_gst_format_initialize):
14847 make sure some essential types used by events are registered
14848 as part of gst_init()
14849 * gst/gstvalue.c: (gst_value_serialize_flags):
14850 if no flags are set, serialize them to a value that represents NONE
14851 so that deserializing them works
14852 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14853 add tests for serialization and deserialization of flags
14855 2006-05-10 Wim Taymans <wim@fluendo.com>
14857 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14858 (gst_collect_pads_collect_range), (gst_collect_pads_available),
14859 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14860 (gst_collect_pads_event), (gst_collect_pads_chain):
14863 Catch and return errors from the collect function
14864 Refuse data on eos pads.
14866 2006-05-10 Edward Hervey <edward@fluendo.com>
14868 * gst/gstinterface.h:
14869 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14870 GInterface type checking.
14871 They were previously using non-defined macros.
14873 2006-05-09 Wim Taymans <wim@fluendo.com>
14875 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14876 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14877 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14878 (gst_collect_pads_start), (gst_collect_pads_stop),
14879 (gst_collect_pads_peek), (gst_collect_pads_pop),
14880 (gst_collect_pads_available), (gst_collect_pads_read),
14881 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
14882 (gst_collect_pads_is_collected), (gst_collect_pads_event),
14883 (gst_collect_pads_chain):
14884 * libs/gst/base/gstcollectpads.h:
14885 Clean up the mess that is collectpads, add comments and
14886 FIXMEs where needed.
14887 Maintain a separate pad list so we can add pads while
14888 collecting the other ones. For this we need a new separate
14890 Fix memory leak in finalize.
14891 Refactor some weird code to set/unset pad flushing flags, mark
14893 Don't crash in _available, _read, _flush when we're EOS.
14895 * tests/check/libs/.cvsignore:
14896 Ignore adapter check binary.
14898 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14900 * gst/gstindex.c: (gst_index_resolver_get_type):
14901 * plugins/elements/gstfakesink.c:
14902 (gst_fake_sink_state_error_get_type):
14903 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14904 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14905 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14906 Const-ify GEnumValue arrays.
14908 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14910 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14911 Add test case for flags + gst_buffer_make_metadata_writable().
14913 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14915 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
14916 gst_buffer_make_metadata_writable() should maintain the
14917 buffer flags (those that make sense at least) (see #340859).
14919 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14921 * tools/gst-inspect.c:
14922 * tools/gst-launch.c:
14923 * tools/gst-typefind.c:
14924 * tools/gst-xmlinspect.c:
14926 Fix up includes: need to include stdlib.h in tools.h for exit().
14928 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14930 * gst/gsttaglist.c: (_gst_tag_initialize):
14931 * gst/gsttaglist.h:
14932 API: add GST_TAG_IMAGE tag (#340721).
14934 2006-05-08 Wim Taymans <wim@fluendo.com>
14937 Added some docs for the segment query.
14939 2006-05-08 Wim Taymans <wim@fluendo.com>
14941 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14942 (gst_base_src_loop), (gst_base_src_change_state):
14943 Always push non-flushing serialized events in the streaming
14946 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
14948 * gst/gsterror.c: (_gst_stream_errors_init):
14949 Add a missing error string.
14951 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
14953 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
14954 Add applied_rate to the debug
14956 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
14957 Copy applied_rate into the outgoing NEWSEGMENT event
14959 2006-05-08 Wim Taymans <wim@fluendo.com>
14961 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
14963 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
14964 (gst_base_sink_change_state):
14965 call ::unlock before taking the PREROLL_LOCK so we can safely
14966 handle elements that lock in ::render.
14969 2006-05-08 Edward Hervey <edward@fluendo.com>
14971 * autogen.sh: (CONFIGURE_DEF_OPT):
14972 Darwin's libtoolize is in fact called glibtoolize.
14973 Adding glibtoolize to the list of accepted names for libtoolize.
14975 2006-05-08 Wim Taymans <wim@fluendo.com>
14977 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14978 Unify error handling, don't post an error message
14979 when a push() returns EOS but perform our normal EOS
14980 handling code. Fixes #340772.
14982 2006-05-08 Wim Taymans <wim@fluendo.com>
14984 * docs/design/part-overview.txt:
14985 Make upsteam/downstream concepts more clear.
14986 Give an example of serialized/non-serialized events.
14988 * docs/design/part-events.txt:
14989 * docs/design/part-streams.txt:
14990 Mention applied_rate.
14992 * docs/design/part-trickmodes.txt:
14993 Mention applied rate, flesh out some more use cases.
14995 * gst/gstevent.c: (gst_event_new_new_segment),
14996 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
14997 (gst_event_parse_new_segment_full), (gst_event_new_tag),
14998 (gst_event_parse_tag), (gst_event_new_buffer_size),
14999 (gst_event_parse_buffer_size), (gst_event_new_qos),
15000 (gst_event_parse_qos), (gst_event_parse_seek),
15001 (gst_event_new_navigation):
15003 Add applied_rate field to NEWSEGMENT event.
15004 API: gst_event_new_new_segment_full()
15005 API: gst_event_parse_new_segment_full()
15007 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15008 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15009 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15010 * gst/gstsegment.h:
15011 Add applied_rate to GstSegment structure.
15012 Make calculation of stream_time and running_time more correct
15013 wrt rate/applied_rate.
15014 Add some more docs.
15015 API: GstSegment::applied_rate field
15016 API: gst_segment_set_newsegment_full();
15018 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15019 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15020 * libs/gst/base/gstbasetransform.c:
15021 (gst_base_transform_sink_eventfunc),
15022 (gst_base_transform_handle_buffer):
15023 Parse and use applied_rate in the GstSegment field.
15025 * tests/check/gst/gstevent.c: (GST_START_TEST):
15026 Add check for applied_rate field.
15028 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15029 (gstsegments_suite):
15030 Add more checks for various GstSegment operations.
15032 2006-05-08 Wim Taymans <wim@fluendo.com>
15034 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15035 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15036 (gst_base_sink_get_position), (gst_base_sink_change_state):
15037 Store the sync time of the buffer end position separatly in a
15038 new variable eos_rtime so we can properly sync the EOS event.
15040 Fix the docs for gst_base_sink_set_qos_enabled().
15041 Don't set segment start to invalid value when we receive a
15042 non TIME newsegment.
15043 get closer to handling position reporting for negative rates
15046 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15049 Docs about how to print caps for debug purposes.
15051 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15052 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15054 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15056 * gst/gstelement.c:
15057 use full enum names and preprend a '%' in docs strings to make recent
15058 gtk-doc turn that into a link
15060 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15062 * docs/manual/basics-bins.xml:
15063 * docs/manual/basics-bus.xml:
15064 * docs/manual/basics-pads.xml:
15065 Some typo fixes, some additions, some clarifications.
15067 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15069 * tools/gst-inspect.c: (main):
15070 * tools/gst-launch.c: (main):
15071 * tools/gst-run.c: (main):
15072 * tools/gst-typefind.c: (main):
15073 * tools/gst-xmlinspect.c: (main):
15074 Use the string passed to g_option_context_new() for
15075 what it's intended for - the program name is already
15078 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15080 * tools/Makefile.am:
15081 * tools/gst-inspect.c: (main):
15082 * tools/gst-launch.c: (main):
15083 * tools/gst-xmlinspect.c: (main):
15085 Add back --version command line option (#340460).
15087 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15088 Add --version option and use GOption for argument parsing; refactor a
15089 bit; accept directories as arguments and recurse into them; lastly,
15090 print a decent error message when things go wrong.
15092 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15094 * docs/manual/basics-bins.xml:
15095 Don't mention GstThread (#340611)
15096 * docs/manual/basics-elements.xml:
15097 Update link to GObject tutorial (#340607)
15099 2006-05-05 Wim Taymans <wim@fluendo.com>
15102 * gst/gstminiobject.c:
15103 Add note about refcounting and miniobject/buffer writeability
15104 to docs. Fixes #340604
15106 * gst/gstelementfactory.h:
15107 Added some explanation about @klass.
15109 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15111 * docs/manual/intro-motivation.xml:
15112 * docs/manual/manual.xml:
15113 Avoid CORBA & Bonobo references (#340598)
15115 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15117 * docs/manual/basics-bus.xml:
15118 * docs/manual/basics-pads.xml:
15119 Fix up some inaccuracies and omissions (#340609)
15121 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15123 * gst/gstghostpad.c:
15124 Small typo in docs (#340625)
15126 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15128 * gst/parse/Makefile.am:
15129 Make 'make -j' proof (see #340698).
15131 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15134 Require GLib-2.8 here as well.
15136 2006-05-05 Wim Taymans <wim@fluendo.com>
15138 * gst/glib-compat.c:
15139 * gst/gst.c: (init_pre):
15140 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15141 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15142 (gst_object_dispatch_properties_changed):
15144 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15145 * gst/gststructure.c: (gst_structure_set_valist):
15146 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15147 Remove pre glib2.8 compatibility, fixes #340508
15149 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15151 * gst/gsttaglist.h:
15152 Mention type of tags in doc blurbs.
15154 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15156 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15157 (gst_pad_configure_src), (gst_pad_push):
15158 Restore acceptcaps checking behaviour now that good plugins have
15161 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15163 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15170 * gst/gstmessage.c:
15174 * gst/parse/Makefile.am:
15175 * libs/gst/base/gstadapter.c:
15176 * libs/gst/base/gstbasesrc.c:
15177 * libs/gst/base/gstpushsrc.c:
15178 * libs/gst/base/gsttypefindhelper.c:
15179 * plugins/elements/gstfakesrc.c:
15180 * plugins/elements/gstidentity.c:
15181 Make sure gstprivate.h and/or config.h are
15182 always included first, otherwise some of our
15183 defines (like _FILE_OFFSET_BITS) might be
15184 redefined in the system headers. Fixes build
15185 on opensolaris (#340016).
15187 2006-05-04 Wim Taymans <wim@fluendo.com>
15189 * docs/libs/gstreamer-libs-sections.txt:
15190 API: addition: gst_adapter_take_buffer()
15192 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15193 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15194 (gst_adapter_available_fast):
15195 * libs/gst/base/gstadapter.h:
15196 Prepare for optimizing the hell out of this hugely inefficient
15198 Added gst_adapter_take_buffer() so we can at least start thinking
15199 about subbuffering and merging.
15200 Added some comments.
15202 * tests/check/Makefile.am:
15203 * tests/check/libs/adapter.c: (GST_START_TEST),
15204 (gst_adapter_suite), (main):
15205 Added GstAdapter check.
15207 2006-05-04 Wim Taymans <wim@fluendo.com>
15209 * docs/design/part-overview.txt:
15210 Fix some typos, add blurb about buffer flags.
15212 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15214 * docs/libs/gstreamer-libs-sections.txt:
15215 make sure GstBaseTransformClass shows up in the docs
15216 * libs/gst/base/gstbasetransform.c:
15217 * libs/gst/base/gstbasetransform.h:
15218 move docs so gtk-doc picks it up now
15220 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15222 * docs/libs/gstreamer-libs-sections.txt:
15223 add missing symbols to docs
15225 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15227 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15228 back out the newsegment handling change, see #340060 for ongoing
15231 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15233 * tools/gst-run.c: (get_candidates), (main):
15234 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15235 work); fix typo in error message. Fixes #340079.
15237 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15239 * common/Makefile.am:
15240 * docs/Makefile.am:
15241 * docs/faq/Makefile.am:
15242 * docs/gst/Makefile.am:
15243 * docs/libs/Makefile.am:
15244 * docs/manual/Makefile.am:
15245 * docs/plugins/Makefile.am:
15246 * docs/pwg/Makefile.am:
15247 * docs/slides/Makefile.am:
15249 * common/upload.mak:
15250 move upload.mak to common
15252 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15254 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15255 add more asserts on refcounts
15256 do more cleanup at end of tests
15257 fix test leaks showing in FC5
15259 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15261 * plugins/elements/gsttypefindelement.c:
15262 (gst_type_find_element_handle_event):
15263 reverted wrong change and reflowed code to avoid others falling into
15266 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15268 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15269 fix changelog entry about last collectpads change,
15270 add notes about proper fix
15272 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15275 * gst/gstregistry.c: (gst_registry_scan_path_level),
15276 (gst_registry_scan_path):
15277 * gst/gstregistry.h:
15278 only write out registry if it has changed, fixes #338339
15280 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15283 * gst/gstpipeline.c:
15284 * plugins/elements/gstcapsfilter.c:
15285 * plugins/elements/gstfakesink.c:
15286 * plugins/elements/gstfakesrc.c:
15287 * plugins/elements/gstfdsink.c:
15288 * plugins/elements/gstfdsrc.c:
15289 * plugins/elements/gstfilesink.c:
15290 * plugins/elements/gstfilesrc.c:
15291 * plugins/elements/gstidentity.c:
15292 * plugins/elements/gstqueue.c:
15293 * plugins/elements/gsttee.c:
15294 * plugins/elements/gsttypefindelement.c:
15295 (gst_type_find_element_handle_event):
15296 make GstElementDetails const
15298 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15300 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15301 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15302 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15303 more detailed debug and formatting cleanup,
15304 forward newsegments to src-pad (so that e.g. adder not eats them)
15306 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15308 * gst/gstutils.c: (gst_element_link_pads):
15309 cleanup double code
15311 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15313 * libs/gst/controller/gstcontroller.c:
15314 (gst_controller_sync_values):
15316 * tests/check/libs/controller.c: (GST_START_TEST),
15317 (gst_controller_suite):
15318 a new test for live value handling
15320 2006-04-28 Wim Taymans <wim@fluendo.com>
15322 * gst/gstutils.c: (push_and_ref):
15323 Added some more docs.
15324 Fix refcount issue whith gst_element_found_tags() helper
15325 function. Fixes #338335
15327 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15328 Added testsuite for gst_element_found_tags().
15330 2006-04-28 Michael Smith <msmith@fluendo.com>
15332 * gst/gstvalue.c: (gst_value_serialize_flags):
15333 Avoid NULL dereference when trying to serialize flags containing
15336 2006-04-28 Michael Smith <msmith@fluendo.com>
15338 * plugins/elements/gsttypefindelement.c:
15339 (gst_type_find_element_handle_event):
15340 If we get EOS before any data is accumulated, don't use
15341 uninitialised local variables.
15343 2006-04-28 Michael Smith <msmith@fluendo.com>
15345 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15346 (gst_dp_event_from_packet):
15347 Fixes in reading/writing events over GDP (not currently used?) -
15348 dereferencing NULL events for unknown/invalid event types, memory
15349 leak, and change g_warning to GST_WARNING.
15351 2006-04-28 Wim Taymans <wim@fluendo.com>
15353 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15354 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15355 (gst_base_sink_get_position), (gst_base_sink_change_state):
15356 When frame dropping is enabled, we should not ignore frames
15357 without a duration.
15358 Update some documentation.
15360 2006-04-28 Wim Taymans <wim@fluendo.com>
15362 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15363 (gst_base_src_send_event), (gst_base_src_change_state):
15364 Documentation updates.
15366 2006-04-28 Wim Taymans <wim@fluendo.com>
15368 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15369 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15370 handle EAGAIN, EINTR and short writes correctly. Also clean
15371 up some error cases, avoid a deadlock on bad file descriptors and
15372 use GST_DEBUG_OBJECT.
15375 2006-04-28 Wim Taymans <wim@fluendo.com>
15377 * gst/gstvalue.c: (gst_value_serialize_buffer),
15378 (gst_value_deserialize_buffer):
15379 Don't try to serialize a GValue with a NULL buffer.
15382 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15383 Added check for serialisation of NULL buffers.
15385 2006-04-28 Wim Taymans <wim@fluendo.com>
15387 * gst/gstminiobject.c: (gst_value_take_mini_object):
15388 Taking a NULL miniobject is valid, fix the case where
15389 we try to unref the NULL miniobject.
15391 2006-04-28 Wim Taymans <wim@fluendo.com>
15393 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15395 * gst/gstbin.c: (gst_bin_handle_message_func):
15397 Don't leak bin refcount when a state recalc is
15398 in progress and we delay another one #339808.
15400 2006-04-28 Wim Taymans <wim@fluendo.com>
15402 * docs/design/part-TODO.txt:
15403 Mention QoS as an ongoing work item.
15405 * docs/design/part-buffering.txt:
15406 New doc about buffering that needs to be fleshed out
15409 * docs/design/part-qos.txt:
15410 More QoS policy for decoders/demuxers/transforms
15412 * docs/design/part-trickmodes.txt:
15415 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15420 === release 0.10.5 ===
15422 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15425 releasing 0.10.5, "Fogo"
15427 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15429 patch by: Wim Taymans
15431 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15432 (gst_pad_configure_src), (gst_pad_push):
15433 * gst/gstpipeline.c: (gst_pipeline_init):
15434 Fix internal data flow errors. Fixes #338711.
15436 2006-04-12 Wim Taymans <wim@fluendo.com>
15438 * tests/check/gst/gstelement.c: (GST_START_TEST):
15439 Don't leak the factory.
15441 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15444 * win32/common/config.h:
15447 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15449 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15450 (gst_controller_unset_all):
15451 Free allocated GstTimedValues when freeing list nodes.
15452 Should fix leaks 'make check-valgrind' complains about.
15454 * win32/common/libgstcontroller.def:
15455 Add gst_controller_unset_all.
15457 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15459 * docs/libs/gstreamer-libs-sections.txt:
15460 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15461 (gst_controller_unset_all):
15462 * libs/gst/controller/gstcontroller.h:
15463 API: Added new method gst_controller_unset_all()
15464 fixed gst_controller_unset()
15465 * tests/check/libs/controller.c: (GST_START_TEST),
15466 (gst_controller_suite):
15467 Added two testcases for new and fixed method
15469 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15471 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15472 MSG_DONTWAIT is not defined on Cygwin, so work
15473 around that (fixes #317048).
15475 2006-04-11 Wim Taymans <wim@fluendo.com>
15477 * gst/gstelementfactory.c: (gst_element_register),
15478 (gst_element_factory_create), (gst_element_factory_make):
15481 Updated docs (Fixes #131079)
15483 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15486 * tests/check/gst/gstelement.c: (GST_START_TEST),
15487 (gst_element_suite):
15488 Added testcase for elementfactory class field.
15490 2006-04-10 Wim Taymans <wim@fluendo.com>
15492 * gst/gstsegment.c:
15493 Added some more docs.
15495 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15496 (gst_base_sink_reset_qos):
15497 Calculate more accurate rate values.
15499 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15501 * gst/gst_private.h:
15502 add a new #ifdef to use __declspec(dllimport) only for
15503 other modules and not for gstreamer core
15504 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15505 use gst_guint64_to_gdouble for conversion
15506 * win32/common/libgstreamer.def:
15507 add new exported functions
15508 * win32/vs6/gst_inspect.dsp:
15509 * win32/vs6/gst_launch.dsp:
15510 * win32/vs6/libgstbase.dsp:
15511 * win32/vs6/libgstcontroller.dsp:
15512 * win32/vs6/libgstcoreelements.dsp:
15513 * win32/vs6/libgstdataprotocol.dsp:
15514 * win32/vs6/libgstnet.dsp:
15515 update project files
15517 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15519 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15520 * gst/gstclock.c: (gst_clock_class_init):
15521 * gst/gstelement.c: (gst_element_class_init):
15522 * gst/gstindex.c: (gst_index_class_init):
15523 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15524 * gst/gstobject.c: (gst_object_class_init),
15525 (gst_signal_object_class_init):
15526 * gst/gstpad.c: (gst_pad_class_init):
15527 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15528 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15529 * gst/gstregistry.c: (gst_registry_class_init):
15530 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15531 * gst/gsttask.c: (gst_task_class_init):
15532 * gst/gstxml.c: (gst_xml_class_init):
15533 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15534 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15535 (gst_base_src_loop):
15536 * libs/gst/controller/gstcontroller.c:/
15537 (_gst_controller_class_init):
15538 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15539 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15540 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15541 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15542 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15543 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15545 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15547 * gst/gstpad.c: (gst_pad_link):
15548 Must set peer pads before calling the link function, otherwise
15549 a task started from a link function might get a flow-not-linked
15550 result when trying to push because the other thread where the
15551 linking happens hasn't had a chance to set the peers yet. This
15552 might happen for example when a queue gets linked to a downstream
15553 element, as queue starts a streaming task when its source pad
15554 gets linked. Happens in real life when playing back flac/musepack
15555 files in playbin (#332390).
15557 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15561 * libs/gst/base/gstadapter.h:
15562 * libs/gst/base/gstbasesink.h:
15563 * libs/gst/base/gstbasesrc.h:
15564 * libs/gst/base/gstbasetransform.h:
15565 * libs/gst/base/gstcollectpads.h:
15566 * libs/gst/base/gstpushsrc.h:
15567 Fix broken GObject macros
15569 2006-04-07 Wim Taymans <wim@fluendo.com>
15571 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15572 Initialize start and stop times, thanks valgrind.
15574 2006-04-07 Wim Taymans <wim@fluendo.com>
15576 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15577 Be a bit nicer to badly behaving upstream elements that expect
15578 us to deal with non TIME segments and timestamps (such as fakesrc
15581 2006-04-07 Wim Taymans <wim@fluendo.com>
15584 Small documentation clarification about the signal watch.
15586 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15587 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15588 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15589 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15590 (gst_base_sink_get_position_last),
15591 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15592 Convert and store timestamps in stream time and running time, the
15593 raw timestamps are not useful, also document this better.
15594 Use different window sizes for good and bad QoS observations so
15595 we react to badness a little quicker.
15596 Keep track of the amount of rendered and dropped buffers.
15597 Send QoS timestamps in running time.
15599 * libs/gst/base/gstbasetransform.c:
15600 (gst_base_transform_sink_eventfunc),
15601 (gst_base_transform_handle_buffer):
15602 Compare QoS timestamps against running time.
15604 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15607 Typo fixes in docs.
15609 2006-04-06 Michael Smith <msmith@fluendo.com>
15611 * gst/gstpad.c: (gst_pad_set_property):
15612 Use g_value_get_object() instead of g_value_dup_gst_object(),
15613 to avoid double-reffing the pad template (which we then sink,
15614 so this worked previously if (and only if) the pad template
15617 * gst/gstpadtemplate.c: (gst_pad_template_init),
15618 (gst_pad_template_pad_created):
15619 Never return floating references to pad templates, create
15620 them as initially-sunken.
15622 Document an extra function (and make this stop sinking our
15623 pad template, since that is now guaranteed to do nothing,
15624 since we created it sunken).
15626 * gst/gstghostpad.c:
15629 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15631 * gst/gstinfo.c: (__gst_in_valgrind):
15634 * plugins/elements/gsttypefindelement.c:
15635 (gst_type_find_element_chain):
15636 Don't leak buffer caps.
15638 2006-04-06 Michael Smith <msmith@fluendo.com>
15640 * gst/parse/grammar.y:
15641 Fix a leak in parse-launch for any source-or-sink named element
15644 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15645 Unref the pipeline if it exists after we've failed parsing.
15647 2006-04-05 Michael Smith <msmith@fluendo.com>
15649 * gst/gstpipeline.c: (gst_pipeline_init):
15650 When we create a pipeline bus, initially create it in flushing mode.
15651 Fixes leaks in at least one test, and makes a new pipeline work the
15652 same as one that has gone to READY and then back to NULL.
15654 * gst/gstelement.c:
15657 2006-04-05 Michael Smith <msmith@fluendo.com>
15659 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15660 Unref a pad we reffed.
15661 * tests/check/gst/gstutils.c: (GST_START_TEST):
15664 2006-04-05 Michael Smith <msmith@fluendo.com>
15666 * gst/gstquery.c: (gst_query_set_formats),
15667 (gst_query_set_formatsv):
15668 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15670 2006-04-05 Michael Smith <msmith@fluendo.com>
15672 * tests/check/generic/sinks.c: (GST_START_TEST):
15673 Fix a variety of memleaks in sinks check, which are only sometimes
15674 shown by running the tests under valgrind (weird?).
15676 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15678 * docs/version.entities.in:
15679 Fix the substituted entity name after thomas' changes on the
15682 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15684 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15687 2006-04-05 Andy Wingo <wingo@pobox.com>
15689 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15691 * libs/gst/base/gstbasetransform.c
15692 (gst_base_transform_sink_eventfunc): When resetting our segment on
15693 FLUSH_STOP, also update the flag saying we haven't seen a
15696 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15698 Patch by: Paolo Borelli <pborelli at katamail dot com>
15700 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15701 (gst_plugin_check_license):
15702 minor clean-ups: G_DEFINE_TYPE already takes care of the
15703 parent_class stuff, no need to do it twice. Mark array of
15704 license strings as constant. (#337103)
15706 2006-04-04 Michael Smith <msmith@fluendo.com>
15708 * tools/gst-inspect.c: (print_element_list):
15709 Free the right plugin list; fixes a memory leak.
15711 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15713 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15715 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15716 Don't error out on empty buffers (#336945).
15718 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15720 * docs/libs/gstreamer-libs-sections.txt:
15721 * gst/gsttaglist.c:
15722 * libs/gst/base/gstbasesink.c:
15723 * libs/gst/base/gstbasesink.h:
15724 * libs/gst/base/gstbasesrc.c:
15725 * libs/gst/base/gstbasesrc.h:
15726 Documentation updates. Make BaseSink and BaseSrc docs contain the
15727 class structure so that people can actually see the prototypes for
15728 virtual functions they're supposed to be overriding.
15730 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15732 * plugins/elements/gsttypefindelement.c:
15733 (gst_type_find_element_chain):
15734 More debug info; when skipping typefinding, send cached
15735 events in all cases.
15737 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15740 use new AS_VERSION and AS_NANO macros
15741 * gst/gst-i18n-lib.h:
15744 * gst/gstversion.h.in:
15745 * win32/common/config.h:
15746 * win32/common/config.h.in:
15749 2006-03-31 Michael Smith <msmith@fluendo.com>
15751 * plugins/elements/gsttypefindelement.c:
15752 (gst_type_find_element_chain):
15753 Do not typefind content if the buffers already have caps.
15754 Neccesary for icydemux (#333657), and the right thing to do anyway.
15756 2006-03-30 Wim Taymans <wim@fluendo.com>
15758 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15759 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15760 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15761 (gst_base_sink_record_qos_observation),
15762 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15763 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15764 (gst_base_sink_change_state):
15765 More QoS measurements as described in the design doc.
15766 Get rid of ringbuffer with observations, running average is
15767 more simple and equally good.
15768 Calculates valid proportion now.
15769 Added beginning of flood measurement.
15771 2006-03-29 Wim Taymans <wim@fluendo.com>
15773 * docs/design/part-qos.txt:
15775 Small documentation updates and additions.
15777 2006-03-29 Wim Taymans <wim@fluendo.com>
15779 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15780 (gst_base_src_send_event), (gst_base_src_loop),
15781 (gst_base_src_change_state):
15782 Perform the EOS logic when we reach the segment stop position.
15783 Fix compilation on gcc4.1
15785 2006-03-29 Wim Taymans <wim@fluendo.com>
15787 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15789 * plugins/elements/gstqueue.c: (gst_queue_init),
15790 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15791 (gst_queue_set_property):
15792 * plugins/elements/gstqueue.h:
15793 In queue, when EOS is received, if minimum threshold > max_size -
15794 current_level, there is chance that queue blocks forever in conditional
15795 item del wait. This is because the queue is not emptied completely due
15796 to minimum threshold. Here is another approach. Instead of setting
15797 cur_levels to max in EOS, just zero all minimum threshold levels. This
15798 should make sure that queue gives out all data. When going to READY
15799 (stop) state, just reset the original minimum threshold levels.
15802 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
15804 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15805 (gst_type_find_element_handle_event),
15806 (gst_type_find_element_send_cached_events),
15807 (gst_type_find_element_change_state):
15808 * plugins/elements/gsttypefindelement.h:
15809 When typefinding is done in push mode, we should cache
15810 events we receive during typefinding instead of just
15811 dropping them (e.g. newsegment, custom events from
15812 dvdreadsrc etc.) and then send them out once we've
15813 determined the type of the stream (and decodebin
15814 has had a chance to plug in a decoder/demuxer).
15816 2006-03-27 Wim Taymans <wim@fluendo.com>
15818 * docs/design/part-qos.txt:
15821 2006-03-27 Wim Taymans <wim@fluendo.com>
15823 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15825 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15826 (gst_base_src_send_event), (gst_base_src_change_state):
15827 Handle element seek correctly when we are streaming.
15830 2006-03-24 Michael Smith <msmith@fluendo.com>
15832 * docs/faq/gst-uninstalled:
15833 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15834 allow you to correctly run intalled applications built against old
15835 core, using plugins that require updated core (e.g. running
15836 installed totem against a full uninstalled gstreamer stack)
15838 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15840 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15843 2006-03-24 Wim Taymans <wim@fluendo.com>
15845 * docs/gst/gstreamer-sections.txt:
15846 Rearrange the order of the methods so that related methods
15847 are grouped together in sections.
15849 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15851 * gst/gstelement.c:
15852 Little clarification in the docs
15854 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15858 * plugins/elements/gstidentity.c:
15859 * plugins/elements/gstqueue.c:
15860 * plugins/elements/gsttee.c:
15861 * plugins/elements/gsttypefindelement.c:
15862 GST_ELEMENT_DETAILS formatting
15864 2006-03-24 Wim Taymans <wim@fluendo.com>
15866 * libs/gst/base/gstbasesink.h:
15867 Only add fields, not insert or we break ABI.
15869 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15871 * win32/common/libgstbase.def:
15872 * win32/common/libgstreamer.def:
15873 Update, add recently added functions.
15875 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15877 * docs/gst/gstreamer-sections.txt:
15878 * gst/gstutils.c: (gst_pad_query_peer_position),
15879 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15881 API: add some new utility functions:
15882 - gst_pad_query_peer_position()
15883 - gst_pad_query_peer_duration()
15884 - gst_pad_query_peer_convert()
15886 2006-03-23 Wim Taymans <wim@fluendo.com>
15888 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15889 (gst_base_sink_init), (gst_base_sink_finalize),
15890 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
15891 (gst_base_sink_set_property), (gst_base_sink_get_property),
15892 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
15893 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15894 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
15895 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15896 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15897 (gst_base_sink_preroll_object), (gst_base_sink_event),
15898 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15899 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15900 (gst_base_sink_query), (gst_base_sink_change_state):
15901 Decouple max-lateness and the fact that QoS messages are generated
15902 with a new property (qos).
15903 added API: GstBaseSink::async_play()
15904 Add vmethod so subclasses can be notified of ASYNC playing
15906 Collect timestamp start and stop to report better current
15907 position in EOS/PLAYING/PAUSED/READY/NULL.
15908 Refactor QoS/frame dropping and other measurements.
15909 API: GstBaseSrc::qos
15912 * libs/gst/base/gstbasesink.h:
15913 Added Private struct.
15914 API: gst_base_sink_set_qos_enabled()
15915 API: gst_base_sink_is_qos_enabled()
15917 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15919 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15920 If compiling against GLib-2.8 or newer, try to read the
15921 registry file using GMappedFile first before falling back
15922 to fopen() + fread() (#332151).
15924 2006-03-22 Wim Taymans <wim@fluendo.com>
15926 * gst/gstinfo.c: (gst_debug_set_active),
15927 (gst_debug_category_set_threshold):
15928 Disable debugging unless explicitly activated.
15931 2006-03-22 Wim Taymans <wim@fluendo.com>
15933 * gst/gstelement.c: (gst_element_set_locked_state),
15934 (gst_element_dispose):
15935 Cleanup the error case.
15937 * gst/gstobject.c: (gst_object_dispose):
15938 print a critical when some object was disposed with
15939 a parent, also revive the object since it might
15942 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
15944 * tools/gst-launch.1.in:
15947 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
15950 * tests/check/Makefile.am:
15951 disable some tests when we don't have a registry
15952 * tests/check/gst/gstutils.c: (gst_utils_suite):
15953 don't build the part that needs parsing
15955 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
15958 * tests/examples/Makefile.am:
15959 fix --disable-parse build
15961 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15963 * tools/gst-feedback.1.in:
15964 Fix typo: s/feeback/feedback/ (#133494).
15966 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15968 * tools/Makefile.am:
15969 * tools/gst-launch.1.in:
15970 Add FILES section and correct entry about GST_REGISTRY_PATH
15971 environment variable (#133495; #133494).
15973 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15975 * tools/Makefile.am:
15976 * tools/gst-md5sum.1.in:
15977 * tools/gst-md5sum.c:
15978 Remove gst-md5sum and man page (the md5sink element
15979 required was removed ages ago)
15981 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15983 * gst/gststructure.c: (gst_structure_id_set_value):
15984 Make sure that string fields in structures/taglists
15985 contain valid UTF-8 - we don't want to pass rubbish to
15986 applications because of a buggy plugin (cp. #334167).
15988 2006-03-21 Edward Hervey <edward@fluendo.com>
15990 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15991 (gst_bin_handle_message_func):
15992 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
15993 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
15994 (gst_element_set_bus_func):
15995 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
15996 * gst/gstminiobject.c: (gst_value_set_mini_object),
15997 (gst_value_take_mini_object):
15998 * gst/gstpad.c: (gst_pad_set_pad_template):
15999 * gst/gstpipeline.c: (gst_pipeline_dispose),
16000 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16001 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16002 (gst_collect_pads_chain):
16003 * libs/gst/net/gstnettimeprovider.c:
16004 (gst_net_time_provider_set_property):
16005 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16006 It's in fact all issues with gst_*object_replace().
16008 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16010 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16012 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16013 * pkgconfig/gstreamer-check.pc.in:
16014 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16016 2006-03-21 Edward Hervey <edward@fluendo.com>
16020 * gst/gstmessage.h:
16021 gst_[buffer|event|message]_ref() macros are replaced by a static
16022 inline functions because gcc-4.1 will about if the return value
16024 * tests/check/gst/gstevent.c: (event_probe):
16025 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16027 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16030 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16031 the type' case. (Closes: #335195 for now). In the future, when we
16032 depend on GLib 2.10, we could also intern the type name using
16033 g_intern_static_string()
16035 2006-03-20 Wim Taymans <wim@fluendo.com>
16037 * gst/gstbin.c: (gst_bin_handle_message_func),
16038 (bin_query_max_init), (bin_query_position_fold),
16039 (bin_query_position_done), (gst_bin_query):
16040 Position query should also take max of all streams.
16042 2006-03-20 Wim Taymans <wim@fluendo.com>
16044 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16045 (gst_fake_src_finalize):
16046 Fix leaks in fakesrc.
16048 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16049 Fix leaks in the testcase.
16051 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16053 * gst/gst_private.h:
16054 add win32 specific import decoration(__declspec(dllimport))
16055 for all extern GstDebugCategory * variables
16056 * win32/common/libgstbase.def:
16057 * win32/common/libgstcontroller.def:
16058 * win32/common/libgstreamer.def:
16059 Add some exports, remove empty lines
16060 * win32/common/libgstdataprotocol.def:
16061 * win32/common/libgstdataprotocol.dsp:
16062 * win32/common/libgstnet.def:
16063 * win32/common/libgstnet.dsp:
16064 new project files and exportation files added
16066 2006-03-19 Wim Taymans <wim@fluendo.com>
16068 * tests/check/libs/basesrc.c: (eos_event_counter):
16069 Use proper return value for probe.
16071 2006-03-17 Wim Taymans <wim@fluendo.com>
16073 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16075 Don't leak buffers, caps and pads on negotiation errors.
16077 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16079 * docs/faq/cvs.xml:
16080 * docs/faq/dependencies.xml:
16081 * docs/faq/developing.xml:
16082 * docs/faq/faq.xml:
16083 * docs/faq/general.xml:
16084 * docs/faq/getting.xml:
16085 * docs/faq/legal.xml:
16086 * docs/faq/troubleshooting.xml:
16087 * docs/faq/using.xml:
16088 Faq review and update.
16090 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16092 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16094 Don't pound the cpu to pieces by checking get_caps when accept_caps
16095 is called with the same caps as the pad already has.
16096 Use GST_DEBUG_OBJECT when outputting caps change information.
16098 2006-03-15 Wim Taymans <wim@fluendo.com>
16100 * gst/gstclock.c: (gst_clock_class_init):
16103 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16108 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16109 (gst_pad_accept_caps), (gst_pad_configure_sink),
16110 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16111 Make the default acceptcaps behaviour be to check the requested
16112 caps against the gst_pad_get_caps output.
16114 Ensure that gst_pad_accept_caps is used to check caps when a pad
16115 doesn't have a setcaps function, so that pads automatically refuse
16116 caps that they don't allow in their pad template. (Fixes #332986)
16118 When a buffer with attached caps is pushed, ensure that the source
16119 pad receives those caps even if the element didn't call
16120 gst_pad_set_caps first.
16122 2006-03-15 Wim Taymans <wim@fluendo.com>
16124 * libs/gst/base/gstadapter.c:
16127 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16129 * win32/common/libgstbase.def:
16130 * win32/common/libgstcontroller.def:
16131 * win32/common/libgstreamer.def:
16132 Add a whole bunch of missing functions (#334434).
16134 2006-03-14 Wim Taymans <wim@fluendo.com>
16136 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16137 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16138 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16139 Better debug info when we receive a segment event.
16140 Reorganize a bit so we can pass the get_times() results around.
16141 Use the segment format when calculating the running time.
16142 Don't do QoS is sync is disabled or we have no clock or the
16143 element does not want us to sync to the clock.
16144 Don't drop buffers if QoS is disabled for now.
16146 2006-03-14 Wim Taymans <wim@fluendo.com>
16148 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16149 Marked the stats property as unimplemented so people don't get
16151 Add debug message when regression goes wrong.
16152 Added some more docs.
16154 2006-03-14 Wim Taymans <wim@fluendo.com>
16156 * gst/gstsegment.c: (gst_segment_to_stream_time):
16157 Return correct return type in case of errors.
16159 2006-03-14 Wim Taymans <wim@fluendo.com>
16161 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16162 Don't segfault on invalid formats.
16164 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16166 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16167 Can't use gst_segment_to_running_time() when the segment
16168 is not in GST_TIME_FORMAT (like with filesink, for example).
16169 Stops flac encoding pipelines from spewing critical warnings
16172 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16174 * gst/gstpipeline.c: (gst_pipeline_class_init):
16175 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16177 * plugins/elements/gsttypefindelement.c:
16178 (gst_type_find_element_handle_event):
16179 Don't try to typefind empty streams.
16181 2006-03-14 Wim Taymans <wim@fluendo.com>
16183 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16184 (gst_base_sink_do_qos):
16185 Separate QoS calculation.
16186 Only drop buffers when lateness is bigger than the
16187 duration of the buffer.
16189 2006-03-13 Wim Taymans <wim@fluendo.com>
16191 * gst/gstpipeline.c: (gst_pipeline_set_property),
16192 (gst_pipeline_get_property), (do_pipeline_seek),
16193 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16194 (gst_pipeline_get_delay):
16195 Don't deadlock when reading properties.
16197 2006-03-13 Wim Taymans <wim@fluendo.com>
16199 * libs/gst/base/gstbasetransform.c:
16200 (gst_base_transform_class_init), (gst_base_transform_init),
16201 (gst_base_transform_sink_event),
16202 (gst_base_transform_sink_eventfunc),
16203 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16204 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16205 (gst_base_transform_set_property),
16206 (gst_base_transform_get_property),
16207 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16208 (gst_base_transform_set_qos_enabled),
16209 (gst_base_transform_is_qos_enabled):
16210 * libs/gst/base/gstbasetransform.h:
16211 Make basetransform virtual method for src events too.
16212 Handle QOS in basetransform.
16213 API: gst_base_transform_update_qos()
16214 API: gst_base_transform_set_qos_enabled()
16215 API: gst_base_transform_is_qos_enabled()
16217 2006-03-13 Wim Taymans <wim@fluendo.com>
16219 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16220 (gst_base_sink_do_sync):
16222 Use QOS debug category.
16224 2006-03-13 Wim Taymans <wim@fluendo.com>
16226 * plugins/elements/gstqueue.c:
16227 Very small doc update.
16229 2006-03-13 Wim Taymans <wim@fluendo.com>
16231 * gst/gst_private.h:
16232 * gst/gstinfo.c: (_gst_debug_init):
16233 Added QOS debug category
16235 2006-03-13 Wim Taymans <wim@fluendo.com>
16237 * docs/gst/gstreamer-sections.txt:
16238 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16240 * gst/gstbus.c: (gst_bus_class_init):
16243 * gst/gstelement.c: (gst_element_set_locked_state):
16244 * gst/gstsegment.c:
16245 Documentation updates.
16247 * gst/gstpipeline.c: (gst_pipeline_get_type),
16248 (gst_pipeline_class_init), (gst_pipeline_init),
16249 (gst_pipeline_dispose), (gst_pipeline_set_property),
16250 (gst_pipeline_get_property), (do_pipeline_seek),
16251 (gst_pipeline_send_event), (gst_pipeline_change_state),
16252 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16253 (gst_pipeline_get_delay):
16254 * gst/gstpipeline.h:
16255 Added methods for setting the delay.
16256 API: gst_pipeline_set_delay()
16257 API: gst_pipeline_get_delay()
16258 Add pipeline debug category
16261 Don't reset stream time when seek failed.
16263 2006-03-13 Wim Taymans <wim@fluendo.com>
16265 * docs/design/draft-klass.txt:
16266 * docs/design/part-clocks.txt:
16267 * docs/design/part-events.txt:
16268 * docs/design/part-gstbin.txt:
16269 * docs/design/part-gstpipeline.txt:
16270 * docs/design/part-messages.txt:
16271 * docs/design/part-negotiation.txt:
16272 * docs/design/part-overview.txt:
16273 * docs/design/part-preroll.txt:
16274 * docs/design/part-seeking.txt:
16275 * docs/design/part-states.txt:
16276 * docs/design/part-streams.txt:
16277 Documentation updates.
16279 2006-03-12 Julien MOUTTE <julien@moutte.net>
16281 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16282 us to leak strings...
16284 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16286 * libs/gst/net/gstnettimeprovider.c:
16288 * win32/common/config.h:
16291 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16293 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16296 Don't check for libgnomeui (leftover from old examples
16297 that aren't built or disted any longer) (#334303).
16299 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16301 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16302 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16303 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16304 there's no space left on the device.
16306 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16309 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16310 to cast the input to GstClockTime before comparing with
16311 another GstClockTime value.
16313 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16318 === release 0.10.4 ===
16320 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16323 releasing 0.10.4, "Light"
16325 2006-03-10 Michael Smith <msmith@fluendo.com>
16327 * libs/gst/dataprotocol/dataprotocol.c:
16328 Fix docs for dataprocotol to not get the return types completely
16329 wrong for a few functions.
16331 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16333 * docs/gst/gstreamer-sections.txt:
16334 * gst/gstpipeline.c: (gst_pipeline_class_init),
16335 (gst_pipeline_init), (gst_pipeline_set_property),
16336 (gst_pipeline_get_property), (gst_pipeline_change_state),
16337 (gst_pipeline_set_auto_flush_bus),
16338 (gst_pipeline_get_auto_flush_bus):
16339 * gst/gstpipeline.h:
16340 Add new API: gst_pipeline_set_auto_flush_bus() and
16341 gst_pipeline_get_auto_flush_bus() to disable automatic
16342 flushing of the pipeline's GstBus when going from READY
16343 to NULL state (#332045).
16345 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16347 * docs/gst/gstreamer-sections.txt:
16348 * gst/gsturi.c: (gst_uri_has_protocol):
16350 Add new API: gst_uri_has_protocol() (#333779).
16352 2006-03-09 Wim Taymans <wim@fluendo.com>
16354 * gst/gstclock.c: (gst_clock_entry_new),
16355 (gst_clock_id_compare_func), (gst_clock_id_wait),
16356 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16357 (gst_clock_init), (gst_clock_get_internal_time),
16358 (gst_clock_set_master), (do_linear_regression),
16359 (gst_clock_add_observation), (gst_clock_set_property):
16363 Fix a possible segfault when the window-size is made smaller.
16364 Calculate jitter before performing the clock wait. Ideally
16365 the clock implementation should calculate jitter but we need
16366 API breakage for that.
16368 * gst/gstsystemclock.c: (gst_system_clock_init):
16371 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16372 Remove leftover else
16374 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16375 (gst_systemclock_suite):
16376 Added check to test GST_CLOCK_DIFF.
16378 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16380 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16381 (gst_type_find_helper_get_range):
16382 If we are provided with the size, we should implement
16383 GstTypeFind::get_length, so that typefind functions who
16384 want to can actually peek at the middle of a file.
16386 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16388 * docs/manual/advanced-dataaccess.xml:
16389 Add some very very basic error checking.
16391 * docs/pwg/appendix-checklist.xml:
16392 Some updates to the list of things to check when writing an element.
16394 2006-03-08 Wim Taymans <wim@fluendo.com>
16396 * docs/design/part-element-transform.txt:
16397 Added some docs about the design of tranform elements.
16399 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16400 (gst_base_src_loop), (gst_base_src_change_state):
16401 Mark buffers with the DISCONT flag.
16403 2006-03-08 Michael Smith <msmith@fluendo.com>
16405 * gst/gstregistry.h:
16406 * gst/gstregistryxml.c: (gst_registry_save),
16407 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16408 (gst_registry_xml_save_pad_template),
16409 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16410 (gst_registry_xml_write_cache):
16411 Rewrite registry-saving to avoid race conditions and check for
16414 2006-03-08 Wim Taymans <wim@fluendo.com>
16416 * libs/gst/base/gstbasetransform.c:
16417 (gst_base_transform_transform_caps),
16418 (gst_base_transform_transform_size),
16419 (gst_base_transform_prepare_output_buffer),
16420 (gst_base_transform_get_unit_size),
16421 (gst_base_transform_buffer_alloc),
16422 (gst_base_transform_handle_buffer),
16423 (gst_base_transform_change_state):
16424 Cleanups, separate normal flow from errors, add sensible
16426 Don't try to renegotiate when allocating an output buffer.
16427 Also copy DISCONT buffer flag when copying a buffer.
16428 Reset the transform after we finish streaming, not during.
16430 2006-03-08 Wim Taymans <wim@fluendo.com>
16432 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16433 Use last buffer timestamp in qos message.
16435 2006-03-07 Wim Taymans <wim@fluendo.com>
16437 Patch by: Christophe Fergeau
16439 * docs/pwg/advanced-tagging.xml:
16440 * docs/pwg/building-pads.xml:
16443 2006-03-07 Wim Taymans <wim@fluendo.com>
16445 * docs/libs/gstreamer-libs-sections.txt:
16446 Added basesink new methods.
16450 Docs updates. Flesh out the QoS docs.
16452 * libs/gst/base/gstadapter.c:
16453 Small doc clarification about ownership and flushing.
16455 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16456 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16457 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16458 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16459 * libs/gst/base/gstbasesink.h:
16461 Added new methods to allow subclass to control max-lateness
16463 Generate very basic QoS events based on last sync observation.
16464 Updated docs, fix typo, added some QoS blurb.
16466 * libs/gst/base/gstbasesrc.c:
16467 Remove obsolete _get_state() calls from docs.
16469 2006-03-07 Wim Taymans <wim@fluendo.com>
16471 * docs/libs/gstreamer-libs-sections.txt:
16472 * libs/gst/base/gstbasetransform.h:
16473 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16474 Fix docs for GstBaseSrc.
16476 2006-03-07 Wim Taymans <wim@fluendo.com>
16478 * docs/gst/gstreamer-sections.txt:
16481 * libs/gst/base/gstbasetransform.h:
16482 Small documentation fixes.
16484 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16487 Document thread-unsafety of gst_value_register_foo_func()
16488 when used at the same time as gst_value_foo() (#322628).
16490 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16492 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16493 (gst_push_src_check_get_range):
16494 Push sources don't support pull mode by default.
16496 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16498 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16499 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16500 (gst_base_src_default_check_get_range):
16501 * libs/gst/base/gstbasesrc.h:
16502 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16503 provide default implementation, and rename
16504 gst_base_src_check_get_range() to
16505 gst_base_src_pad_check_get_range() for clarity.
16507 2006-03-06 Wim Taymans <wim@fluendo.com>
16509 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16510 Make property overridable.
16512 2006-03-06 Wim Taymans <wim@fluendo.com>
16514 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16515 (gst_base_sink_init), (gst_base_sink_set_property),
16516 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16517 * libs/gst/base/gstbasesink.h:
16518 API addition: Make max-lateness a property.
16520 2006-03-06 Wim Taymans <wim@fluendo.com>
16522 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16523 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16524 Don't ever draw a frame that is >10ms late.
16526 2006-03-06 Michael Smith <msmith@fluendo.com>
16528 * gst/gstmessage.c: (_gst_message_copy):
16529 When copying a message, set the parent_refcount of the enclosed
16530 structure to point at the copy, not the original message.
16532 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16534 Patch by: Christophe Fergeau
16537 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16538 usable in c++ code (#333417)
16540 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16543 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16545 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16547 * libs/gst/base/gstbasetransform.c:
16548 (gst_base_transform_transform_caps):
16549 Make sure caps are writable before passing them to
16552 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16555 Fix some minor docs errors.
16557 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16559 Patch by: Ross Burton <ross at burtonini dot com>
16561 * gst/gsterror.c: (_gst_resource_errors_init):
16563 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16565 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16568 Add a check and output a g_warning when GStreamer is built
16569 against GLib 2.6 but running against 2.8 or higher, and vice
16570 versa. (Closes: #323542)
16572 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16574 * gst/parse/parse.l:
16575 Commit patch for parse_launch syntax from #331255. Removes
16576 support for quoted strings and mimetypes when writing filtered
16577 caps. See the bug report for more details - I'm pretty sure this
16578 obscure feature is not in use by _anyone_ anywhere.
16580 With this simple change, the size of the gstreamer.so here
16581 drops from 2193KB to 1565KB.
16583 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16585 * plugins/elements/gsttypefindelement.h:
16586 * plugins/elements/gsttypefindelement.c:
16587 (gst_type_find_element_src_event), (start_typefinding),
16588 (stop_typefinding), (gst_type_find_element_handle_event),
16589 (gst_type_find_element_chain),
16590 (gst_type_find_element_chain_do_typefinding):
16591 Use gst_type_find_helper_for_buffer() for chain-based
16594 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16596 * plugins/elements/gsttypefindelement.c:
16597 (gst_type_find_element_class_init),
16598 (gst_type_find_element_set_property),
16599 (gst_type_find_element_get_property):
16600 Deprecate "maximum" property (not only was it only taken into
16601 account for typefinding in push-mode anyway, it also was never
16602 actually possible to set it in the first place because the
16603 property was registered with the numeric property ID for the
16604 "minimum" property). Register "maximum" property correctly,
16605 for the sake of future copy'n'pasters. Remove some cruft
16606 from property get/set functions.
16608 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16610 * plugins/elements/gsttypefindelement.c:
16611 (gst_type_find_element_activate):
16612 Use gst_type_find_helper_get_range() here, so we
16613 can honour the "minimum" property and also emit
16614 the signal with the correct probability of the found caps.
16616 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16618 * docs/libs/gstreamer-libs-sections.txt:
16619 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16620 (helper_find_suggest), (gst_type_find_helper_get_range),
16621 (gst_type_find_helper):
16622 * libs/gst/base/gsttypefindhelper.h:
16623 New API: gst_type_find_helper_get_range() (#333042).
16625 2006-03-02 Michael Smith <msmith@fluendo.com>
16627 * gst/gstregistryxml.c: (load_feature):
16628 Asserting on a failure to read part of the registry is Not Cool.
16629 Just log a warning and return NULL (which is already handled)
16631 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16633 * win32/common/libgstbase.def:
16634 added export of gst_type_find_helper_for_buffer
16635 * win32/common/libgstbase.def:
16636 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16637 gst_ghost_pad_get_target
16639 2006-02-28 Wim Taymans <wim@fluendo.com>
16641 * docs/design/draft-klass.txt:
16643 Added Connector to mark elements that are only used to
16644 allow pipeline connections.
16645 Moved Debug to extra feature since most of them are
16646 functionally something else.
16648 2006-02-28 Wim Taymans <wim@fluendo.com>
16650 * docs/design/draft-klass.txt:
16651 Some updates and clarifications.
16653 2006-02-28 Wim Taymans <wim@fluendo.com>
16655 * docs/design/draft-klass.txt:
16656 Proposal for klass field values.
16658 * docs/design/part-streams.txt:
16659 Start of a doc describing stream anatomy.
16661 2006-02-28 Wim Taymans <wim@fluendo.com>
16663 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16664 Help the compiler a bit with type registration.
16665 Use existing forward cod path instead of duplicating it when
16666 handling a message.
16668 * gst/gstbus.c: (gst_bus_get_type):
16669 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16670 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16671 * gst/gstclock.c: (gst_clock_get_type):
16672 * gst/gstelement.c: (gst_element_get_type),
16673 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16674 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16675 * gst/gstminiobject.c: (gst_mini_object_get_type):
16676 * gst/gstpad.c: (gst_pad_get_type):
16677 * gst/gstsegment.c: (gst_segment_get_type):
16678 * gst/gststructure.c: (gst_structure_get_type):
16679 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16680 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16682 Help compiler with type registration.
16684 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16687 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16689 * plugins/elements/gsttypefindelement.c:
16690 (gst_type_find_element_handle_event):
16691 When we get an EOS event and have not found a type yet
16692 (most likely because we had not yet accumulated
16693 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16694 type given the data we have so far. Fixes typefinding
16695 for very short streams again, most notably quicktime
16696 redirections as used on Apple's trailer site (#331701).
16698 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16700 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16701 (gst_type_find_helper):
16702 Try typefinding factories with the highest rank first.
16704 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16706 * docs/libs/gstreamer-libs-docs.sgml:
16707 * docs/libs/gstreamer-libs-sections.txt:
16708 * libs/gst/base/gsttypefindhelper.c:
16709 Add section for typefind helper and add documentation
16710 for the old and the new function.
16712 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16714 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16715 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16716 (gst_type_find_helper_for_buffer):
16717 * libs/gst/base/gsttypefindhelper.h:
16718 New API: gst_type_find_helper_for_buffer() (#332723).
16720 2006-02-27 Michael Smith <msmith@fluendo.com>
16722 Patch by: Loïc Minier
16725 * docs/Makefile.am:
16726 * docs/slides/Makefile.am:
16727 prevent CVS directories getting disted.
16729 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16731 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16732 Use the REFCOUNTING category for caps refcounting.
16734 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16736 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16737 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16739 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16741 * plugins/elements/gsttypefindelement.c:
16742 (gst_type_find_element_activate):
16743 Use gst_pad_check_pull_range() before _activate_pull()
16744 to avoid unnecessary open/close (see #331690).
16746 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16749 Docs enhancement: make it crystal clear what the
16750 gst_pad_add_*_probe() callbacks should look like.
16752 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16754 * libs/gst/base/gstbasesrc.c:
16755 Document how applications can stop recording from
16756 live sources (see #330996).
16758 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16760 * tests/check/Makefile.am:
16761 * tests/check/libs/basesrc.c: (eos_event_counter),
16762 (basesrc_eos_events_pull), (basesrc_eos_events_push),
16763 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16764 (gst_basesrc_suite), (main):
16765 ... and add some tests for the base source EOS stuff.
16767 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16769 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16770 Test case originally showed the problem fixed below,
16771 but was then amended. Add checks back at the place
16772 where they used to be.
16774 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16776 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16777 (gst_base_src_init), (gst_base_src_loop),
16778 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16779 (gst_base_src_change_state):
16780 * libs/gst/base/gstbasesrc.h:
16781 Don't unconditionally send EOS when going from PAUSED to
16782 READY state, esp. make sure we don't send two EOS events
16783 in some cases (e.g. one when reaching EOS and one when
16784 going from PAUSED to READY). Also, we don't want to send
16785 EOS events when operating in pull mode. However, we do
16786 want to send an EOS event when shutting down a live
16787 source explicitly, for example (fixes #330996).
16789 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16791 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16792 Update src->read_position after a seek when not using mmap.
16793 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16795 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
16801 Make things work with --disable-parse as they do with
16802 --disable-load-save - the symbols involved disappear, but the
16803 header is still installed and GST_DISABLE_PARSE is included via
16806 2006-02-20 Julien MOUTTE <julien@moutte.net>
16808 * libs/gst/base/gstbasetransform.c:
16809 (gst_base_transform_change_state): Fix a stupid bug. I was
16810 sure I compiled that.
16812 2006-02-20 Julien MOUTTE <julien@moutte.net>
16814 * gst/gstpad.c: (gst_pad_set_blocked_async):
16815 * gst/gstutils.c: (gst_pad_add_data_probe),
16816 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16817 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16818 (gst_pad_remove_buffer_probe): Make those function act on the
16819 ghostpad target when it's a ghostpad. (Closes #331727)
16821 2006-02-20 Julien MOUTTE <julien@moutte.net>
16823 * libs/gst/base/gstbasetransform.c:
16824 (gst_base_transform_change_state): Make basetransform reusable.
16827 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
16829 * docs/random/release:
16830 Move the current documentation of how to do a release to the top
16833 * gst/gstbin.c: (gst_bin_class_init),
16834 (gst_bin_handle_message_func):
16835 Allow multiple state-recalculation threads. (Closes #328873)
16837 2006-02-19 Julien MOUTTE <julien@moutte.net>
16839 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16840 * gst/gstpad.c: (gst_pad_set_event_function),
16841 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16842 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16843 2 strings. You can't use the STR_NULL macro on that.
16845 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
16847 * gst/gstpad.c: (gst_pad_set_event_function),
16848 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16849 (gst_pad_set_getcaps_function)
16850 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16851 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16852 So now, we can use --gst-debug-level=5 on Windows
16853 * win32/common/libgstcontroller.def:
16854 Added export of gst_controller_init
16855 * win32/vs6/libgstcontroller.dsp:
16856 Fixed Release post build configuration
16858 2006-02-17 Wim Taymans <wim@fluendo.com>
16860 * tests/check/gst/gstquery.c: (GST_START_TEST):
16861 Added another check.
16863 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
16865 * plugins/elements/gsttypefindelement.c: (find_peek):
16866 We can do peeks at non-zero offsets, as long as they
16867 fall within the buffer we have.
16869 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
16871 * tests/check/Makefile.am:
16872 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16873 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16874 (parse_suite), (main):
16875 Add testsuite for parse launch syntax
16877 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
16879 * plugins/elements/gsttypefindelement.c:
16880 (gst_type_find_element_chain):
16881 When typefinding is unsuccessful in the chain function, don't
16882 error out immediately. Only error out with NO_CAPS_FOUND if
16883 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
16884 otherwise simply wait for more data so we can try typefinding
16885 again with more data later. Also, don't attempt to typefind
16886 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
16887 this should improve typefinding from network sources where the
16888 size of the first buffer can be somewhat random.
16890 2006-02-14 Wim Taymans <wim@fluendo.com>
16892 * docs/gst/gstreamer-sections.txt:
16893 * gst/gstpadtemplate.c:
16894 * gst/gstpadtemplate.h:
16895 Fix padtemplate docs, fixes #328805.
16897 2006-02-14 Wim Taymans <wim@fluendo.com>
16899 * tools/gst-launch.c: (main):
16900 NO_PREROLL is not an ERROR so don't send confusing messages
16903 2006-02-14 Wim Taymans <wim@fluendo.com>
16905 Patch by: Torsten Schoenfeld
16907 * gst/gstregistry.c: (gst_registry_get_default),
16908 (_gst_registry_cleanup):
16909 Protect default registry with lock and ref/sink it.
16912 2006-02-14 Wim Taymans <wim@fluendo.com>
16915 * gst/gstquery.c: (gst_query_list_add_format),
16916 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16917 (gst_query_parse_formats_nth):
16918 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16921 2006-02-14 Wim Taymans <wim@fluendo.com>
16923 * docs/gst/gstreamer-sections.txt:
16924 Reworked query docs.
16926 * gst/gstquery.c: (gst_query_new_formats),
16927 (gst_query_list_add_format), (gst_query_set_formats),
16928 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16929 (gst_query_parse_formats_nth):
16931 Flesh out formats query, added some new methods.
16932 Fix part of #324398.
16934 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
16935 Added query creation tests.
16937 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
16939 * gst/gstpad.c: (fixate_value):
16940 Add a default fixation for fraction lists.
16942 2006-02-13 Wim Taymans <wim@fluendo.com>
16944 * gst/gsttask.c: (gst_task_init), (gst_task_func),
16945 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
16948 Detect and warn for obvious deadlocks. fixes #320340
16949 Fix error case where lock was not released.
16951 * tests/check/Makefile.am:
16952 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
16953 (task_func), (gst_element_suite), (main):
16956 2006-02-13 Wim Taymans <wim@fluendo.com>
16958 * docs/gst/gstreamer-sections.txt:
16960 Add new functions to docs.
16962 2006-02-13 Wim Taymans <wim@fluendo.com>
16964 * docs/design/part-TODO.txt:
16965 Updated TODO list, basesrc supports seeking to non-bytes
16968 * docs/design/part-element-sink.txt:
16971 * gst/gstbin.c: (bin_replace_message),
16972 (gst_bin_handle_message_func):
16973 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
16974 * gst/gstevent.c: (gst_event_finalize):
16975 * gst/gstpad.c: (gst_pad_event_default_dispatch),
16976 (gst_pad_send_event):
16977 Use shiny new _TYPE_NAME macros.
16979 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16980 Move debug statement up.
16982 * gst/gstelement.c: (gst_element_set_locked_state):
16983 Add some debugging.
16985 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
16987 * docs/gst/gstreamer-sections.txt:
16988 * gst/gstmessage.h:
16990 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
16991 macros (#330906). Also, document the already existing
16992 GST_QUERY_TYPE macro.
16994 2006-02-13 Wim Taymans <wim@fluendo.com>
16996 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
16997 (event_probe), (GST_START_TEST):
16998 Only events up to the pipeline EOS are counted, there are
16999 some more when going to NULL currently which we don't care
17002 2006-02-13 Wim Taymans <wim@fluendo.com>
17004 * gst/gstpad.c: (gst_pad_send_event):
17005 Correctly check flushing and emit probes. fixes #330125
17007 2006-02-10 Andy Wingo <wingo@pobox.com>
17009 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17011 (gst_bus_init): Cache the location of the private data in the
17012 instance structure.
17013 (gst_bus_enable_sync_message_emission)
17014 (gst_bus_disable_sync_message_emission): Implement new public
17016 (gst_bus_post): Emit the sync-message signal if the user asked for
17019 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17020 location of the bus-private structure.
17021 (gst_bus_enable_sync_message_emission)
17022 (gst_bus_disable_sync_message_emission): API addition
17024 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17026 Patch by: Vincent Torri
17028 * docs/pwg/building-boiler.xml:
17029 PWG patch from #326800
17031 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17034 * docs/Makefile.am:
17035 * docs/design/Makefile.am:
17038 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17043 === release 0.10.3 ===
17045 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17048 releasing 0.10.3, "Like a virgin"
17050 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17053 2nd prerelease of 0.10.3
17054 Bump libtool versioning.
17056 2006-02-07 Andy Wingo <wingo@pobox.com>
17058 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17059 update last_stop if we're in TIME format and the timestamp is
17062 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17063 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17064 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17065 If we get a new newsegment with a different format, adapt
17068 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17069 of 0. Not a problem, really.
17071 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17074 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17079 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17082 project files updated to the default vs7 configuration
17083 * win32/common/libgstbase.def:
17084 * win32/common/libgstreamer.def:
17086 removed empty lines,
17087 sorted all exported symbols alphabetically
17088 * win32/common/dirent.c:
17089 * win32/common/dirent.h:
17090 * win32/common/gchar.h:
17091 use windows line end.
17093 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17095 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17096 Send EOS event when stopping.
17098 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17101 Tell folks what to do if the plugin-foobar.xml file
17102 hasn't been generated for a newly-added plugin.
17104 2006-02-05 Julien MOUTTE <julien@moutte.net>
17106 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17107 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17108 (gst_collect_pads_start), (gst_collect_pads_stop),
17109 (gst_collect_pads_event): Collectpads now holds a reference
17110 to the GstPad that was added. Indeed we don't want to look
17111 at pads that might just go away with no warning...
17113 2006-02-05 Julien MOUTTE <julien@moutte.net>
17115 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17116 (gst_collect_pads_start), (gst_collect_pads_stop),
17117 (gst_collect_pads_event), (gst_collect_pads_chain):
17118 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17119 Mark Nauwelaerts's patch on bug #328491.
17121 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17123 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17125 Add some simple tests for gst_parse_bin_from_description() and
17126 gst_bin_find_unconnected_pad() (#329069).
17128 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17130 * tools/gst-launch.c: (event_loop), (main):
17131 Catch errors during preroll (#320084).
17133 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17135 * plugins/elements/gsttypefindelement.c:
17136 (gst_type_find_element_activate):
17137 Post TYPE_NOT_FOUND error message when typefinding
17138 is unsuccessful in the activate function as well.
17140 2006-02-02 Wim Taymans <wim@fluendo.com>
17142 * docs/design/part-element-sink.txt:
17145 2006-02-02 Wim Taymans <wim@fluendo.com>
17147 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17148 (gst_base_sink_render_object),
17149 (gst_base_sink_queue_object_unlocked):
17150 Only keep track of prerollable items when we are
17152 Before rendering after preroll, always check if we
17154 Added some more debugging.
17156 2006-02-02 Wim Taymans <wim@fluendo.com>
17158 * gst/gstelement.c: (gst_element_continue_state),
17159 (gst_element_set_state_func), (gst_element_change_state):
17160 Fixed #326576, been running this for quite some time with
17161 no regressions at all.
17163 2006-02-02 Wim Taymans <wim@fluendo.com>
17166 Added more suppressions
17168 2006-02-02 Wim Taymans <wim@fluendo.com>
17170 * docs/design/part-element-sink.txt:
17173 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17174 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17175 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17176 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17177 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17178 (gst_base_sink_preroll_object),
17179 (gst_base_sink_queue_object_unlocked),
17180 (gst_base_sink_queue_object), (gst_base_sink_event),
17181 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17182 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17183 (gst_base_sink_get_position), (gst_base_sink_change_state):
17184 * libs/gst/base/gstbasesink.h:
17185 Totally refactored matching the design doc.
17186 Use two segments, one to clip incomming buffers and another to
17188 Handle queueing correctly, bypass the queue when playing.
17189 Make EOS cancelable.
17190 Handle errors correctly when operating in pull based mode.
17192 * tests/check/elements/fakesink.c: (GST_START_TEST),
17194 Added new check for sinks.
17196 2006-02-02 Wim Taymans <wim@fluendo.com>
17198 * gst/gstsegment.c: (gst_segment_clip):
17199 No reason to refuse to clip when start == -1
17201 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17204 * docs/manual/intro-basics.xml:
17205 * docs/manual/intro-preface.xml:
17206 * docs/manual/manual.xml:
17207 * docs/pwg/advanced-dparams.xml:
17208 * docs/pwg/intro-basics.xml:
17209 * docs/pwg/intro-preface.xml:
17210 * docs/pwg/pwg.xml:
17211 describe dparams (controller) for plugins
17212 unify docs a little more
17214 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17216 * docs/gst/gstreamer-sections.txt:
17217 * gst/gstutils.c: (element_find_unconnected_pad),
17218 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17220 Add new API: gst_parse_bin_from_description() and
17221 gst_bin_find_unconnected_pad() (#329069).
17223 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17225 * docs/manual/README:
17226 uncover a nasty detail of the docs build
17228 2006-01-31 Wim Taymans <wim@fluendo.com>
17230 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17231 Don't cache duration messages if we're not going to use or
17234 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17236 * docs/manual/advanced-dparams.xml:
17237 * docs/pwg/advanced-dparams.xml:
17241 * libs/gst/controller/lib.c: (gst_controller_init):
17244 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17246 * gst/gstelement.c: (gst_element_message_full):
17247 also show file/line/func if no additional debug was given
17249 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17251 * win32/vs7/grammar.vcproj:
17252 activate copy of autogenerated files for Release mode
17254 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17256 * win32/common/libgstreamer.def:
17257 export gst_value_compare
17259 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17261 * plugins/elements/Makefile.am:
17262 * plugins/elements/gstelements.c:
17263 * plugins/elements/gstfdsink.c: (_do_init),
17264 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17265 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17266 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17267 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17268 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17269 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17270 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17271 * plugins/elements/gstfdsink.h:
17272 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17274 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17276 * docs/manual/advanced-dparams.xml:
17277 describe controller
17278 * docs/manual/advanced-position.xml:
17279 * docs/manual/basics-init.xml:
17280 * docs/manual/manual.xml:
17281 * docs/manual/titlepage.xml:
17282 * docs/pwg/pwg.xml:
17283 * docs/pwg/titlepage.xml:
17284 cleanup xml (more to come)
17285 * libs/gst/controller/gstcontroller.c:
17288 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17290 * win32/vs6/grammar.dsp:
17291 add autogen of gstmarshal.c,h for Release mode
17293 2006-01-30 Wim Taymans <wim@fluendo.com>
17295 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17296 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17297 (gst_base_sink_handle_object), (gst_base_sink_event),
17298 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17299 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17300 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17301 (gst_base_sink_deactivate), (gst_base_sink_activate),
17302 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17303 (gst_base_sink_query), (gst_base_sink_change_state):
17304 Basesink cleanups, remove some old code.
17305 Handle the case where a subclass can preroll in the render
17306 method (mostly audiosinks).
17307 Handle more events.
17308 Remove some locks around variables that are now protected
17309 with the PREROLL_LOCK (clock_id, flushing, ..).
17310 Optimize position query some more, do correct locking.
17311 Remove old code to push queue in state change, this is not
17312 needed anymore since preroll blocks on all prerollable items
17314 Almost implemented as described in design doc.
17316 2006-01-30 Wim Taymans <wim@fluendo.com>
17318 * tests/check/gst/gstbin.c: (GST_START_TEST):
17319 Wait for refcount to settle down before checking.
17321 2006-01-30 Wim Taymans <wim@fluendo.com>
17323 * docs/design/part-element-sink.txt:
17324 Pseudo code overview of desired sink behaviour regarding
17327 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17328 * win32/vs6/grammar.dsp:
17329 fix some bugs in Release mode for autogenerated files
17331 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17332 * win32/common/libgstbase.def:
17333 * win32/common/libgstreamer.def:
17334 export some new symbols: gst_base_src_set_format,
17335 gst_iterator_next, gst_structure_set_valist
17337 2006-01-29 Julien MOUTTE <julien@moutte.net>
17339 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17340 Set pad functions unconditionally. Fixes #329105.
17342 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17344 add vs8 project files created by Sergey Scobich
17346 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17348 * gst/gstutils.c: (gst_element_unlink_pads):
17349 Don't leak pad references.
17351 * tests/check/elements/fakesink.c: (GST_START_TEST):
17352 * tests/check/generic/sinks.c: (GST_START_TEST):
17353 * tests/check/generic/states.c: (GST_START_TEST):
17354 * tests/check/gst/gstbin.c: (GST_START_TEST):
17355 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17356 * tests/check/gst/gstelement.c: (GST_START_TEST):
17357 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17358 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17359 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17360 Fix a bunch of leaks. Make generic/sinks.c
17361 use a bit less cpu by slowing the buffer rate
17362 between fakesrc and fakesink.
17364 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17366 * gst/gstelement.c: (gst_element_send_event):
17369 * gst/gstiterator.c:
17370 * gst/gstiterator.h:
17371 * gst/gstpad.c: (gst_pad_send_event):
17372 * gst/gststructure.c:
17376 * libs/gst/base/gstadapter.c:
17377 doc fixes, to link to function, just write gst_cool_function(), don't
17380 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17382 * plugins/elements/gsttee.c: (gst_tee_do_push),
17383 (gst_tee_handle_buffer):
17384 Always prefer an actual return value from a src
17385 pad in place of NOT_LINKED. This means we return
17386 WRONG_STATE when all src pads are WRONG_STATE
17387 instead of NOT_LINKED.
17389 Lock when replacing the last message to prevent
17390 racing with the get_property method.
17394 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17396 * tests/check/Makefile.am:
17397 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17399 Add a very simple check that should have caught the memleak I fixed
17400 last night (if not for the slice allocator hiding it)
17402 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17404 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17405 (gst_bin_remove_func), (gst_bin_handle_message_func),
17406 (bin_query_duration_fold), (bin_query_generic_fold):
17407 Clean up references to the clock provider when disposed or when
17408 handling a clock-lost message from it.
17410 Unref sinks when performing a query via gst_iterator_fold, as the
17411 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17413 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17414 (gst_clock_set_master):
17415 Drop our reference to the master clock, if any, when we are disposed.
17417 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17418 Chain up in dispose.
17420 2006-01-26 Wim Taymans <wim@fluendo.com>
17422 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17423 Add some debugging.
17425 2006-01-26 Julien MOUTTE <julien@moutte.net>
17427 * plugins/elements/gsttee.c: (gst_tee_do_push),
17428 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17429 handles pad being NOT_LINKED or in WRONG_STATE.
17431 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17436 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17439 remove obsolete entry
17441 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17443 * docs/gst/gstreamer-sections.txt:
17444 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17445 (gst_bin_iterate_sources), (gst_bin_send_event):
17447 * gst/gstelement.c: (gst_element_send_event):
17449 * gst/gstpad.c: (gst_pad_send_event):
17450 added code for downstream events, reviewed docs in gstevent.c
17452 2006-01-25 Julien MOUTTE <julien@moutte.net>
17454 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17455 We only query position using the clock in the playing state.
17456 Query peer in the other cases.
17457 * win32/common/config.h: Updates.
17459 2006-01-24 Wim Taymans <wim@fluendo.com>
17461 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17462 A clock entry that is scheduled for the exact time of the
17463 clock is still in time.
17465 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17466 (gst_base_sink_do_sync):
17467 Add some more debug info.
17469 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17472 Add new vs7 project files and solution.
17474 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17477 all files removed as they were out-dated.
17479 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17481 * docs/random/release:
17483 * gst/gstbin.c: (gst_bin_init):
17484 * gst/gstbus.c: (gst_bus_new):
17486 * gst/gstpipeline.c: (gst_pipeline_init):
17487 use gst_bus_new(), improve logging, fix docs
17488 * win32/common/config.h:
17489 update for cvs build
17491 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17494 up required version of automake to 1.7
17496 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17498 * win32/common/libgstreamer.def:
17499 export gst_buffer_is_metadata_writable
17501 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17503 * docs/gst/gstreamer-sections.txt:
17505 Add gst_event_replace() (#327001)
17507 2006-01-20 Wim Taymans <wim@fluendo.com>
17509 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17510 Make it actually compile too..
17512 2006-01-20 Wim Taymans <wim@fluendo.com>
17515 Clarify behaviour of _is_equal() when passing NULL parameters.
17517 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17518 (gst_pad_set_caps):
17519 Cleanups. Don't unref NULL caps.
17520 When setting the same caps, protect caps of the pad with
17522 Use full functionality of _is_equal() when comparing caps.
17524 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17526 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17527 Don't loop infinitely if there are no buffers to present. Partially
17528 fixes #327197, but collectpads is just broken for reusing elements
17529 to do multiple encodes atm.
17531 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17533 * tools/gst-inspect.c: (print_element_features):
17534 * tools/gst-xmlinspect.c: (main):
17535 URL_HANDLER is not a plugin feature we can search for in
17538 2006-01-19 Edward Hervey <edward@fluendo.com>
17540 * gst/gstelement.c: (gst_element_pads_activate):
17541 When activating, do src pads first, then sink pads.
17542 When de-activating, do sink pads first, then src pads.
17544 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17546 * docs/gst/gstreamer-sections.txt:
17547 Add gst_index_add_associationv to the docs
17549 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17554 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17555 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17556 Do some refactoring. Doesn't actually change functionality,
17557 but makes landing the DRAIN event easier later.
17559 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17561 * docs/pwg/advanced-scheduling.xml:
17562 Update from 0.9.x to 0.10 API and make example a bit
17565 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17567 * docs/gst/gstreamer-sections.txt:
17568 Add gst_buffer_(is|make)_metadata_writable methods.
17570 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17572 * docs/design/part-sparsestreams.txt:
17573 Update sparse streams doc, hopefully for greater clarity
17575 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17577 * docs/design/part-events.txt:
17578 Remove mention of FILLER events.
17581 * docs/design/part-sparsestreams.txt:
17582 Write some things about using NEWSEGMENT to keep sparse streams
17585 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17587 * gst/gstbin.c: (gst_bin_dispose):
17588 Guard gst_object_unref call against a NULL object (dispose
17589 can theoretically be called multiple times).
17591 2006-01-18 Wim Taymans <wim@fluendo.com>
17593 * gst/gstbin.c: (gst_bin_element_set_state):
17594 * gst/gstclock.c: (gst_clock_id_wait):
17595 Added some more debug info.
17597 * libs/gst/base/gstadapter.c:
17600 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17601 (gst_base_sink_do_sync), (gst_base_sink_chain):
17602 Added some comments.
17604 2006-01-18 Wim Taymans <wim@fluendo.com>
17606 * tests/check/Makefile.am:
17607 * tests/check/elements/fakesink.c: (chain_async_buffer),
17608 (chain_async), (chain_async_return), (GST_START_TEST),
17609 (fakesink_suite), (main):
17610 Added fakesink test that checks prerolling and clipping
17613 * tests/check/gst/gstutils.c: (GST_START_TEST):
17614 Make check run faster so that buildbots don't timeout.
17616 2006-01-18 Wim Taymans <wim@fluendo.com>
17618 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17619 (gst_base_sink_do_sync):
17621 When the sink finishes blocking on the preroll buffer, it can
17622 immediatly render it instead of rendering when the next buffer
17625 2006-01-18 Wim Taymans <wim@fluendo.com>
17627 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17628 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17629 (gst_base_sink_chain):
17631 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17632 Don't store _last_stop if the buffer is dropped.
17634 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17636 * plugins/elements/gsttypefindelement.c:
17637 (gst_type_find_element_class_init):
17638 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17639 object method handler that sets the caps on the pad and we want
17640 that to happen before we emit the signal (fixes e.g. feeding a
17641 plain text file to decodebin).
17643 2006-01-18 Christian Schaller <Christian@fluendo.com>
17645 * gst/gstplugin.c: Add MPL and Proprietary as license options
17647 2006-01-18 Andy Wingo <wingo@pobox.com>
17649 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17650 symbol was exported before, it appears this was just an oversight.
17652 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17654 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17655 prototype to gint. OK since this prototype was not in the header.
17657 2006-01-17 Andy Wingo <wingo@pobox.com>
17659 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17660 registry while we remove plugins.
17662 * tools/gst-inspect.c (print_element_info): Don't unref the
17663 factory arg, that should be the responsibility of whatever code
17664 received the ref. Fixes a double-free when called from
17665 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17666 (main): Unref the factory if we have one.
17667 (print_element_list): No change -- relies on the
17668 plugin_feature_list_free to free the list of features.
17670 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17672 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17673 (gst_buffer_make_metadata_writable):
17675 * libs/gst/base/gstbasetransform.c:
17676 (gst_base_transform_prepare_output_buf):
17677 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17678 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17679 Replace gst_buffer_(make|is)_metadata_writable patch now
17680 that the release is out.
17682 2006-01-17 Andy Wingo <wingo@pobox.com>
17684 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17685 in the present tense without reference to versions.
17687 * gst/gstregistry.c (gst_registry_add_plugin)
17688 (gst_registry_remove_plugin, gst_registry_remove_feature)
17689 (gst_registry_find_feature, gst_registry_get_feature_list)
17690 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17691 (gst_registry_lookup, gst_registry_scan_path)
17692 (_gst_registry_remove_cache_plugins)
17693 (gst_registry_get_feature_list_by_plugin): Add argument
17696 === release 0.10.2 ===
17698 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17701 releasing 0.10.2, "If man is five"
17703 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17707 * libs/gst/base/gstbasetransform.c:
17708 (gst_base_transform_prepare_output_buf):
17709 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17710 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17711 Back out patch until after the release.
17713 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17715 * gst/gstminiobject.c:
17716 Spelling fix in docs.
17717 * ChangeLog - remove conflict indicator
17719 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17721 Reviewed By: Andy Wingo
17723 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17724 (gst_buffer_make_metadata_writable):
17726 Add gst_buffer_(is|make)_metadata_writable as analogues of
17727 gst_buffer_(is|make)_writable.
17729 * libs/gst/base/gstbasetransform.c:
17730 (gst_base_transform_prepare_output_buf):
17731 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17732 Use name gst_buffer_(is|make)_metadata_writable functions.
17734 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17735 Test gst_buffer_(is|make)_metadata_writable
17739 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17741 * docs/manual/Makefile.am:
17742 don't do parallel make
17745 * win32/common/config.h.in:
17746 add generations for HOST_CPU and GST_MAJORMINOR
17747 * win32/common/config.h:
17748 commit generated result
17750 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17752 * docs/manual/appendix-integration.xml:
17753 Update GNOME integration section to use gst_init_get_option_group()
17754 instead of the old popt stuff (#322911). Also, GNOME applications
17755 should now use gconf*sink and gconf*src instead of the old gconf
17758 2006-01-13 Stefan Kost <ensonic@users.sf.net>
17761 * docs/gst/gstreamer-docs.sgml:
17762 * docs/gst/gstreamer-sections.txt:
17763 * docs/libs/gstreamer-libs-sections.txt:
17764 add new API entries to the docs
17765 * libs/gst/controller/Makefile.am:
17766 * libs/gst/controller/gstcontroller.c:
17767 * libs/gst/controller/gstcontroller.h:
17768 * libs/gst/controller/gstcontrollerprivate.h:
17769 * libs/gst/controller/gsthelper.c:
17770 * libs/gst/controller/gstinterpolation.c:
17771 move private structs to private header
17773 gstreamer-0.7 -> gstreamer-0.10
17774 * tests/check/libs/struct_i386.h:
17775 remove private structs
17777 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17779 * plugins/indexers/Makefile.am:
17780 Fixes as part of #317048
17782 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17784 * plugins/indexers/Makefile.am:
17785 fix #316086 - compilation when mmap is missing
17787 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
17789 * libs/gst/base/gstbasesink.c:
17790 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
17791 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17792 * win32/common/config.h:
17793 added some defines GST_MAJORMINOR and HOST_CPU
17794 * win32/common/libgstbase.def:
17795 * win32/common/libgstreamer.def:
17796 added some exported functions.
17798 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17800 * libs/gst/controller/gstcontroller.c:
17801 (gst_controlled_property_set_interpolation_mode),
17802 (gst_controlled_property_new):
17803 * libs/gst/controller/gstcontroller.h:
17804 * libs/gst/controller/gstinterpolation.c:
17805 (interpolate_none_get_string_value_array):
17806 make G_TYPE_STRING controlable
17808 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17811 * tools/gst-feedback.1.in:
17812 * tools/gst-inspect.1.in:
17813 * tools/gst-launch.1.in:
17814 * tools/gst-md5sum.1.in:
17815 * tools/gst-typefind.1.in:
17816 * tools/gst-xmlinspect.1.in:
17817 * tools/gst-xmllaunch.1.in:
17818 cleanup man-pages, remove reference to gst-register, document env-vars
17820 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
17822 * gst/gstbuffer.c: (gst_buffer_span):
17823 gst_buffer_span should copy the timestamp of the first buffer
17824 if they were both originally overlapping subbuffers of the
17825 same parent, using the same logic as the 'slow copy' case.
17827 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
17829 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17830 Need to awaken ALL the pads when we pop a buffer, otherwise
17831 collectpads only works when there is 2 input streams.
17833 2006-01-11 Stefan Kost <ensonic@users.sf.net>
17835 * docs/random/ensonic/media-device-daemon.txt:
17838 fix doc example, add clarification
17839 * tools/gst-launch.1.in:
17840 add initial info about GST_PLUGIN_PATH, needs more work
17842 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
17844 * docs/manual/basics-bins.xml:
17845 * docs/manual/basics-elements.xml:
17846 * docs/manual/intro-basics.xml:
17847 Some more minor docs additions and updates.
17849 2006-01-11 Wim Taymans <wim@fluendo.com>
17851 * docs/manual/basics-bins.xml:
17852 * docs/manual/basics-elements.xml:
17853 Some small fixes as pointed out by Ser-ver on IRC.
17855 2006-01-10 Edward Hervey <edward@fluendo.com>
17857 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17858 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17859 the single-segment mode.
17861 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
17863 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17865 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17866 (gst_base_src_perform_seek), (gst_base_src_send_event),
17867 (gst_base_src_set_property), (gst_base_src_get_property),
17868 (gst_base_src_loop), (gst_base_src_start),
17869 (gst_base_src_activate_push):
17870 * libs/gst/base/gstbasesrc.h:
17871 Name (private) union; makes Sun's Forte compiler happy (#324900).
17873 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
17876 gst-register is gone.
17878 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
17880 * gst/gstvalue.c: (_gst_value_initialize):
17881 make the G_TYPE_DATE instantiation work if debug is disabled
17883 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
17885 * gst/gstmessage.c: (gst_message_parse_tag),
17886 (gst_message_parse_error), (gst_message_parse_warning):
17887 Don't crash when return location for error/warning debug
17888 string is NULL; add fact that return locations can be
17889 NULL to docs where appropriate.
17891 2006-01-05 Wim Taymans <wim@fluendo.com>
17893 * gst/gstplugin.c: (gst_plugin_load_file):
17894 Replace strdup by g_strdup.
17896 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17898 * docs/pwg/advanced-types.xml:
17901 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17903 submitted by: Abel Cheung
17907 Added Chinese (traditional) translation
17909 2006-01-04 Wim Taymans <wim@fluendo.com>
17911 * docs/manual/basics-pads.xml:
17912 * docs/plugins/Makefile.am:
17913 * docs/plugins/gstreamer-plugins-docs.sgml:
17914 * docs/plugins/gstreamer-plugins-sections.txt:
17915 * docs/pwg/advanced-clock.xml:
17916 * docs/pwg/advanced-scheduling.xml:
17917 * docs/pwg/advanced-types.xml:
17918 * plugins/elements/gstfdsink.c:
17919 * plugins/elements/gstfdsrc.c:
17920 * plugins/elements/gstfdsrc.h:
17921 * plugins/elements/gstidentity.c: (gst_identity_class_init):
17922 * plugins/elements/gstidentity.h:
17923 * plugins/elements/gstqueue.h:
17924 * plugins/elements/gsttee.c:
17925 * plugins/elements/gsttee.h:
17926 * plugins/elements/gsttypefindelement.c:
17927 (gst_type_find_element_class_init):
17928 * plugins/elements/gsttypefindelement.h:
17929 Small updates to various docs.
17930 Added core plugins to docs.
17932 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17935 add a suppression for liboil's uninitialized variable
17937 2006-01-02 James Livingston <jrl at ids dot org dot au>
17939 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17942 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
17943 macro, so that gcc doesn't complain if the -Wmissing-prototypes
17944 compiler switch is being used (#325429).
17946 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
17948 * gst/gstbin.c: (gst_bin_query):
17949 Disable duration query caching in bins until it gets
17950 fixed (see #324807).
17952 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
17954 * tools/gst-inspect.c: (print_element_properties_info):
17955 Handle properties of POINTER and BOXED type.
17957 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
17959 * gst/gst.c: (init_post):
17960 Init tags stuff and some other things before loading
17961 any static plugins (there may be other static plugins
17962 than just the GStreamer ones, and they may want to
17963 register their own tags or formats or whatever, and
17964 preferably without segfaulting).
17966 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
17967 Print at least a warning in the debug logs if we drop a
17968 query just because we don't know how to adjust the value
17969 in the particular format.
17971 2005-12-24 David Schleef <ds@schleef.org>
17973 * tools/gstreamer-completion:
17974 Replacement for gst-complete written in sh and sed. Only
17975 completes names of features, but that's 90% of what I want
17976 it for. Properties are not available in registry.xml. (Maybe
17979 === release 0.10.1 ===
17981 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
17984 releasing 0.10.1, "Nollaig chridheil"
17986 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
17988 * docs/faq/cvs.xml:
17989 Add missing quote, should be make ERROR_CFLAGS="".
17991 2005-12-20 Wim Taymans <wim@fluendo.com>
17993 * docs/design/part-trickmodes.txt:
17994 More documentation on trickmodes.
17996 2005-12-20 Edward Hervey <edward@fluendo.com>
17998 * gst/gstcaps.c: (gst_static_caps_get_type):
18000 API addition: GST_TYPE_STATIC_CAPS
18001 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18002 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18003 * gst/gstpadtemplate.h:
18004 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18005 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18008 2005-12-18 Wim Taymans <wim@fluendo.com>
18010 * libs/gst/base/gstadapter.c:
18011 * libs/gst/base/gstadapter.h:
18012 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18013 (gst_base_sink_get_position):
18014 * libs/gst/base/gstbasesink.h:
18015 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18016 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18017 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18018 (gst_base_src_send_event), (gst_base_src_update_length),
18019 (gst_base_src_get_range), (gst_base_src_loop),
18020 (gst_base_src_start):
18021 * libs/gst/base/gstbasesrc.h:
18022 * libs/gst/base/gstbasetransform.h:
18023 * libs/gst/base/gstcollectpads.h:
18024 * libs/gst/base/gstpushsrc.c:
18025 * libs/gst/base/gstpushsrc.h:
18026 * libs/gst/dataprotocol/dataprotocol.c:
18027 * libs/gst/dataprotocol/dataprotocol.h:
18028 * libs/gst/net/gstnetclientclock.h:
18029 * libs/gst/net/gstnettimeprovider.h:
18030 Documentation updates.
18032 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18034 * docs/manual/basics-helloworld.xml:
18035 Remove superfluous closing bracket in helloworld example.
18037 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18039 * tools/gst-launch.1.in:
18040 Update gst-launch man page; add a section with useful
18041 environment variables. Fixes #323882.
18043 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18046 * gst/gst_private.h:
18047 change some char* into char[]
18049 2005-12-16 Wim Taymans <wim@fluendo.com>
18051 * gst/gstregistryxml.c: (load_feature):
18053 Don't use g_object_unref on GstObjects so that we avoid
18054 leaks on unsafe glibs.
18056 2005-12-16 Wim Taymans <wim@fluendo.com>
18058 * gst/gstbin.c: (gst_bin_recalc_state):
18061 2005-12-16 Wim Taymans <wim@fluendo.com>
18063 * common/check.mak:
18064 Added make forever target for check.
18066 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18068 * gst/gst.c: (init_post):
18069 make the registry cache file HOST_CPU-dependent
18071 2005-12-16 Andy Wingo <wingo@pobox.com>
18073 * plugins/elements/gstbufferstore.c
18074 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18077 * tests/check/gst/gstobject.c
18078 (test_fake_object_name_threaded_unique): Pay attention to
18079 g_list_sort return value.
18081 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18083 * tools/gst-feedback-m.m:
18084 Update for 0.9/0.10 (fixes #323870).
18086 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18088 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18089 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18091 * tests/check/gst/gstminiobject.c: (my_foo_init),
18092 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18093 (test_value_collection), (gst_mini_object_suite):
18094 Add test to ensure refcounts end up as expected when passing
18095 GstMiniObjects through g_object_get() and g_object_set().
18097 2005-12-14 Julien MOUTTE <julien@moutte.net>
18099 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18100 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18101 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18102 of collectpads. This version removes a lot of races without
18103 touching API/ABI. Yay !
18105 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18107 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18108 Don't allow activation of a srcpad in pull_range if it has no
18110 Change some debug statements to be a little clearer
18112 * plugins/elements/gsttypefindelement.c:
18113 (gst_type_find_handle_src_query):
18114 Check that we have a peer before executing queries thereupon.
18116 * tests/examples/metadata/read-metadata.c: (message_loop):
18117 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18118 immediately return us any available message with 0 timeout.
18120 2005-12-12 Michael Smith <msmith@fluendo.com>
18122 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18123 Don't unref factories after calling them.
18124 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18125 * plugins/elements/gsttypefindelement.c:
18126 (gst_type_find_element_chain):
18127 Free lists of factories after using them. Fixing typefinding memory
18130 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18132 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18133 (gst_plugin_feature_load):
18134 more meaningful debug output
18136 * tests/Makefile.am:
18137 * tests/old/examples/Makefile.am:
18138 make make distcheck happy again
18140 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18142 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18143 Catch the special case where we are operating chain-based,
18144 but the downstream peer pad has no chain function. Emit a
18145 custom error message in this case instead of letting the
18146 core generate one implying that this is some sort of core
18147 bug. It's not, it just means that whatever got plugged
18148 into the pipeline downstream when we announced the type
18149 can only operate pull-based, while our source can only
18150 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18151 Error string has not been marked for translation yet, as
18152 it probably needs some more work first.
18154 (gst_type_find_element_get_best_possibility):
18155 Add helper function to find the best of all available
18156 found possibilities that qualify given the min. threshold.
18158 (gst_type_find_element_handle_event):
18159 Fix the case where we get an EOS while still in TYPEFIND
18160 mode (we want to chose the best of all possible types,
18161 not just the first type that happens to be in our unsorted
18162 list of possible types).
18164 (gst_type_find_element_chain):
18165 Make sure we return GST_FLOW_ERROR when we errored out
18166 in stop_typefinding(); also, don't just find the best of
18167 all found type entries and then use the last examined
18168 type entry, but actually use the best entry.
18170 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18172 * tests/examples/typefind/typefind.c: (type_found):
18173 * tests/examples/xml/runxml.c: (xml_loaded):
18174 More gcc4 fixes and a mem leak fix.
18176 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18178 * tests/examples/xml/createxml.c: (object_saved):
18181 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18183 * tests/Makefile.am:
18184 enable the examples even more
18186 2005-12-12 Andy Wingo <wingo@pobox.com>
18188 * libs/gst/net/gstnettimeprovider.c
18189 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18190 (gst_net_time_provider_set_property)
18191 (gst_net_time_provider_get_property):
18192 API addition: Export "active" as a GObject property.
18193 (gst_net_time_provider_thread): Only respond to time queries if
18194 the time provider is active.
18196 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18197 NetTimeProvider, preserving binary compat.
18199 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18201 * tests/examples/controller/audio-example.c: (main):
18202 * tests/examples/launch/Makefile.am:
18203 convert comments again
18205 2005-12-12 Wim Taymans <wim@fluendo.com>
18207 * libs/gst/base/gstpushsrc.c:
18210 2005-12-12 Wim Taymans <wim@fluendo.com>
18212 * docs/libs/gstreamer-libs-sections.txt:
18213 Added new symbol to docs.
18215 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18216 (gst_base_src_init), (gst_base_src_set_format),
18217 (gst_base_src_default_query), (gst_base_src_query),
18218 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18219 (gst_base_src_perform_seek), (gst_base_src_send_event),
18220 (gst_base_src_default_event), (gst_base_src_event_handler),
18221 (gst_base_src_set_property), (gst_base_src_get_property),
18222 (gst_base_src_wait), (gst_base_src_do_sync),
18223 (gst_base_src_update_length), (gst_base_src_get_range),
18224 (gst_base_src_check_get_range), (gst_base_src_loop),
18225 (gst_base_src_default_negotiate), (gst_base_src_start),
18226 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18227 (gst_base_src_change_state):
18228 * libs/gst/base/gstbasesrc.h:
18229 Implement seeking to other formats than _BYTES.
18230 Implement more seeking methods correctly.
18232 Added query vmethod.
18233 Added do_seek vmethod to make life easier for subclasses
18235 API addition: gst_base_src_set_format()
18237 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18239 * tests/examples/Makefile.am:
18242 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18245 * docs/random/ensonic/media-device-daemon.txt:
18246 * tests/examples/controller/.cvsignore:
18247 * tests/examples/controller/Makefile.am:
18248 * tests/examples/controller/audio-example.c: (main):
18249 * tests/examples/helloworld/.cvsignore:
18250 * tests/examples/helloworld/Makefile.am:
18251 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18252 * tests/examples/launch/.cvsignore:
18253 * tests/examples/launch/Makefile.am:
18254 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18255 * tests/examples/metadata/.cvsignore:
18256 * tests/examples/metadata/Makefile.am:
18257 * tests/examples/metadata/read-metadata.c: (message_loop),
18258 (make_pipeline), (print_tag), (main):
18259 * tests/examples/queue/.cvsignore:
18260 * tests/examples/queue/Makefile.am:
18261 * tests/examples/queue/queue.c: (event_loop), (main):
18262 * tests/examples/typefind/.cvsignore:
18263 * tests/examples/typefind/Makefile.am:
18264 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18266 * tests/examples/xml/.cvsignore:
18267 * tests/examples/xml/Makefile.am:
18268 * tests/examples/xml/createxml.c: (object_saved), (main):
18269 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18270 * tests/old/examples/Makefile.am:
18271 * tests/old/examples/TODO:
18272 * tests/old/examples/controller/.cvsignore:
18273 * tests/old/examples/controller/Makefile.am:
18274 * tests/old/examples/controller/audio-example.c:
18275 * tests/old/examples/helloworld/.cvsignore:
18276 * tests/old/examples/helloworld/Makefile.am:
18277 * tests/old/examples/helloworld/helloworld.c:
18278 * tests/old/examples/launch/.cvsignore:
18279 * tests/old/examples/launch/Makefile.am:
18280 * tests/old/examples/launch/mp3parselaunch.c:
18281 * tests/old/examples/launch/mp3play:
18282 * tests/old/examples/manual/Makefile.am:
18283 * tests/old/examples/metadata/Makefile.am:
18284 * tests/old/examples/metadata/read-metadata.c:
18285 * tests/old/examples/queue/.cvsignore:
18286 * tests/old/examples/queue/Makefile.am:
18287 * tests/old/examples/queue/queue.c:
18288 * tests/old/examples/typefind/.cvsignore:
18289 * tests/old/examples/typefind/Makefile.am:
18290 * tests/old/examples/typefind/typefind.c:
18291 * tests/old/examples/xml/.cvsignore:
18292 * tests/old/examples/xml/Makefile.am:
18293 * tests/old/examples/xml/createxml.c:
18294 * tests/old/examples/xml/runxml.c:
18295 applied some simple fixing to some examples
18296 re-enabled the working examples
18298 2005-12-12 Wim Taymans <wim@fluendo.com>
18300 * gst/gstsegment.c: (gst_segment_init),
18301 (gst_segment_set_last_stop), (gst_segment_set_seek),
18302 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18303 (gst_segment_to_running_time):
18304 Added more documentation.
18305 Make sure the last_pos value is updated properly.
18306 Make sure to_stream_time and to_running_time don't
18307 operate on wrong values.
18309 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18312 2005-12-12 Michael Smith <msmith@fluendo.com>
18314 * plugins/elements/gsttypefindelement.c: (free_entry),
18315 (gst_type_find_element_chain):
18316 Now that we're not leaking factories, make sure we keep references
18317 to them while we need them.
18319 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18321 * tests/check/gst/struct_i386.h:
18322 ifdef out the XML structs
18324 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18326 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18327 floor is not needed, F is always positive; this obviates the
18328 need for adding -lm when building without libxml
18330 2005-12-12 Wim Taymans <wim@fluendo.com>
18332 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18333 Take current playback rate into account when reporting
18336 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18338 * docs/manual/mime-world.fig:
18339 Let's try this again, this time with a file that is
18340 actually in XFig format.
18342 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18344 * docs/manual/mime-world.fig:
18345 Add audioconvert element to diagram so that it
18346 matches the text and the code (fixes #319526).
18348 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18350 * docs/pwg/building-chainfn.xml:
18351 * docs/pwg/building-pads.xml:
18352 * docs/pwg/building-state.xml:
18353 * docs/pwg/other-source.xml:
18354 Update state change stuff for 0.10 (fixes #322969).
18356 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18358 * docs/manual/advanced-dataaccess.xml:
18359 * docs/manual/appendix-checklist.xml:
18360 * docs/manual/appendix-programs.xml:
18361 * docs/manual/basics-pads.xml:
18362 * docs/manual/highlevel-components.xml:
18363 * docs/manual/manual.xml:
18364 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18365 add converters in front of pipelines; remove curly
18366 brackets for threads stuff, they no longer exist; use
18367 GST_TYPE_FRACTION for framerates; update some pieces of
18368 code to 0.10, but there's plenty more to do.
18370 * docs/manual/appendix-porting.xml:
18371 Expand on asynchroneous state changes; s/0.9/0.10/;
18372 mention disappearance of gst_init_get_popt_table()
18375 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18377 * docs/faq/using.xml:
18378 Spider no longer exists, and neither does gst-launch-ext.
18379 Update examples to use decodebin and playbin and put
18380 converters in front of sinks (fixes #323726).
18382 2005-12-09 Michael Smith <msmith@fluendo.com>
18384 * plugins/elements/gsttypefindelement.c: (find_peek),
18385 (gst_type_find_element_chain):
18386 Fix leaking element factories in typefinding.
18387 Fix problem where we forgot about a probable type on non-seekable
18388 files, and thus later mis-typefound it.
18390 2005-12-09 Michael Smith <msmith@fluendo.com>
18392 * common/m4/gst-makecontext.m4:
18393 * common/m4/gst-mcsc.m4:
18395 * win32/common/config.h:
18396 * win32/common/config.h.in:
18397 Remove makecontext stuff; not used in 0.10 and causes problems on
18398 HPUX according to bug #322441
18400 2005-12-07 Wim Taymans <wim@fluendo.com>
18402 * tests/check/Makefile.am:
18403 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18405 * tests/check/libs/struct_i386.h:
18406 Added ABI check for libs
18408 2005-12-07 Wim Taymans <wim@fluendo.com>
18410 * tests/check/Makefile.am:
18411 And add the struct_i386.h to dist.
18413 2005-12-07 Wim Taymans <wim@fluendo.com>
18415 * tests/check/Makefile.am:
18416 * tests/check/gst/.cvsignore:
18417 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18419 * tests/check/gst/struct_i386.h:
18420 Added check for ABI compatibility.
18422 2005-12-07 Wim Taymans <wim@fluendo.com>
18424 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18425 (gst_fake_src_get_times), (gst_fake_src_create):
18426 Fix broken sync option, fixes #323259
18428 2005-12-07 Wim Taymans <wim@fluendo.com>
18433 * gst/gstcaps.c: (gst_caps_is_equal):
18434 Don't assert on NULL <--> X. Fixes #323260
18436 * gst/gstminiobject.c: (gst_mini_object_replace):
18437 If we're doing atomic operations, we might just as well use
18438 the proper way to get an atomic pointer.
18440 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18441 Clean up debugging.
18443 2005-12-07 Michael Smith <msmith@fluendo.com>
18445 * gst/parse/grammar.y:
18446 Remove handling of { } for threads.
18448 2005-12-06 David Schleef <ds@schleef.org>
18450 * libs/gst/base/gstbasetransform.c: speling fix.
18452 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18454 * docs/libs/tmpl/gstdataprotocol.sgml:
18455 * docs/random/omega/testing/gstobject.c:
18458 * gst/gstelement.c:
18459 * gst/gstelementfactory.c:
18462 * gst/gstghostpad.c:
18464 * gst/gstpadtemplate.c:
18465 * gst/gstregistryxml.c:
18466 * gst/gsttaglist.c:
18467 * gst/gsttagsetter.c:
18468 * gst/gsttypefind.c:
18470 * libs/gst/base/gstbasesrc.c:
18471 * libs/gst/net/gstnetclientclock.c:
18472 * libs/gst/net/gstnettimeprovider.c:
18473 * plugins/elements/gstfakesrc.c:
18474 * plugins/elements/gstfdsrc.c:
18475 * plugins/elements/gstfilesrc.c:
18476 * plugins/elements/gstidentity.c:
18477 * plugins/elements/gstqueue.c:
18478 * plugins/elements/gsttypefindelement.c:
18479 * plugins/indexers/gstfileindex.c:
18480 * plugins/indexers/gstmemindex.c:
18481 * tests/check/gst/gsttag.c:
18482 * tests/old/examples/cutter/cutter.c:
18483 * tests/old/examples/mixer/mixer.c:
18484 * tests/old/examples/xml/runxml.c: (main):
18485 * tests/old/testsuite/caps/normalisation.c:
18486 * tests/old/testsuite/debug/global.c:
18487 * tests/old/testsuite/parse/parse1.c:
18488 * tools/gst-xmlinspect.c:
18489 * win32/common/dirent.c:
18492 === release 0.10.0 ===
18494 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18497 releasing 0.10.0, "Maroilles"
18499 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18501 submitted by: Funda Wang <fundawang@linux.net.cn>
18505 added Chinese (Traditional) translation
18507 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18509 * docs/gst/gstreamer-sections.txt:
18510 * docs/libs/tmpl/gstdataprotocol.sgml:
18511 * docs/random/thomasvs/TODO:
18516 2005-12-05 Andy Wingo <wingo@pobox.com>
18518 patch by: Wim Taymans <wim@fluendo.com>
18520 * libs/gst/base/gstbasetransform.c
18521 (gst_base_transform_prepare_output_buf)
18522 (gst_base_transform_buffer_alloc):
18523 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18524 alloc_buffer_and_set_caps.
18526 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18527 set_caps on the source pad.
18528 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18529 alloc_buffer used to do. Fixes #322874.
18531 * docs/gst/gstreamer-sections.txt:
18532 * docs/design/part-negotiation.txt:
18533 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18536 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18538 patch by: Sebastien Moutte
18541 * win32/common/config.h.in:
18542 * win32/vs6/libgstcontroller.dsp:
18545 2005-12-05 Wim Taymans <wim@fluendo.com>
18547 * gst/gstcaps.c: (gst_caps_is_equal):
18548 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18549 (gst_fake_src_create):
18550 Back out previous code changes, leave doc updates, file bugs
18553 2005-12-05 Wim Taymans <wim@fluendo.com>
18555 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18556 (gst_fake_src_get_times), (gst_fake_src_create):
18557 * plugins/elements/gstfakesrc.h:
18558 Fix broken sync code.
18560 2005-12-05 Wim Taymans <wim@fluendo.com>
18562 * gst/gstcaps.c: (gst_caps_is_equal):
18563 Comparing NULL against !NULL yields different caps, not a
18566 2005-12-05 Wim Taymans <wim@fluendo.com>
18568 * gst/gstpipeline.c:
18569 Fix small typo in docs.
18571 2005-12-05 Andy Wingo <wingo@pobox.com>
18573 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18575 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18576 registries/plugins with a MAJORMINOR one.
18577 (plugin_desc): Rename library from gstcoreleements to
18578 staticelements. Fixes #323222.
18580 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18582 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18583 Change debug category to 'collectpads' from 'collect_pads'
18586 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18588 patch by: Sebastien Moutte
18590 * libs/gst/controller/gstinterpolation.c:
18591 use convert function for uint64/double
18592 * win32/vs6/libgstcontroller.dsp:
18595 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18597 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18598 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18600 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18601 add tests that seem to show that the guint64/gdouble conversions
18604 2005-12-02 Wim Taymans <wim@fluendo.com>
18606 * gst/gstregistry.c: (gst_registry_add_path):
18607 * gst/gstregistry.h:
18608 * gst/gstregistryxml.c:
18611 2005-12-02 Wim Taymans <wim@fluendo.com>
18613 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18614 (gst_util_uint64_scale_int):
18617 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18618 Add debug log line.
18620 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18623 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18626 * win32/common/config.h:
18627 * win32/vs6/gstreamer.dsw:
18628 * win32/vs6/libgstcoreelements.dsp:
18629 * win32/vs6/libgstelements.dsp:
18630 renamed core elements plugin
18632 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18634 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18636 do piece-wise major/minor comparison so 0.9 < 0.10
18637 also allow .exe extensions for tools
18639 2005-12-02 Michael Smith <msmith@fluendo.com>
18642 Escape a % to make gtkdoc happier; bug 322958.
18644 === release 0.9.7 ===
18646 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18649 releasing 0.9.7, "My Dog Has No Nose"
18651 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18653 * common/gst-xmlinspect.py:
18655 * docs/libs/tmpl/gstdataprotocol.sgml:
18656 * docs/random/release:
18675 * win32/common/config.h:
18676 * win32/common/config.h.in:
18677 * win32/vs6/gst_inspect.dsp:
18678 * win32/vs6/gst_launch.dsp:
18679 * win32/vs6/libgstbase.dsp:
18680 * win32/vs6/libgstelements.dsp:
18681 * win32/vs6/libgstreamer.dsp:
18682 * win32/vs7/GStreamer.vcproj:
18683 * win32/vs7/gst-inspect.vcproj:
18684 * win32/vs7/gst-launch.vcproj:
18685 * win32/vs7/libgstbase.vcproj:
18686 bump GST_MAJORMINOR to 0.10
18687 reset libtool version
18689 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18693 Added Bulgarian translation by (Alexander Shopov)
18695 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18697 * tests/check/gst/gstplugin.c:
18700 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18702 * common/gst-xmlinspect.py:
18703 * common/gtk-doc-plugins.mak:
18705 * docs/Makefile.am:
18706 * docs/gst/Makefile.am:
18707 * docs/gst/gstreamer-docs.sgml:
18708 * docs/gst/gstreamer-sections.txt:
18709 * docs/gst/gstreamer.types:
18710 * docs/gst/gstreamer.types.in:
18711 * docs/plugins/Makefile.am:
18712 * docs/plugins/gstreamer-plugins-docs.sgml:
18713 * docs/plugins/gstreamer-plugins-sections.txt:
18714 * docs/plugins/gstreamer-plugins.types:
18715 * docs/plugins/inspect.stamp:
18716 * docs/plugins/inspect/plugin-coreelements.xml:
18717 * docs/plugins/inspect/plugin-coreindexers.xml:
18718 * docs/plugins/scanobj-build.stamp:
18719 * gstreamer.spec.in:
18720 * plugins/elements/Makefile.am:
18721 * plugins/elements/gstelements.c:
18722 * plugins/elements/gstfakesink.c:
18723 * plugins/elements/gstfakesrc.c:
18724 * plugins/elements/gstfilesink.c:
18725 * plugins/elements/gstfilesrc.c:
18726 * plugins/elements/gstqueue.c:
18727 * plugins/indexers/Makefile.am:
18728 * plugins/indexers/gstindexers.c:
18729 document core plugins in a separate document just like all the
18731 rename these plugins to something starting with core
18733 2005-12-01 Andy Wingo <wingo@pobox.com>
18735 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18736 padding here before, but it missed the commit.
18738 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18740 * libs/gst/controller/gstinterpolation.c:
18741 whitespace prices have crashed, we should feel free to use some now
18742 use gst_guint64_to_gdouble
18744 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18746 * libs/gst/controller/gstcontroller.c:
18747 * libs/gst/controller/gsthelper.c:
18748 * libs/gst/controller/gstinterpolation.c:
18749 * libs/gst/controller/lib.c:
18750 wrap config.h include
18752 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18754 * docs/gst/gstreamer-sections.txt:
18757 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18759 * plugins/elements/gstelements.c:
18760 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18761 (gst_fd_sink__class_init), (gst_fd_sink__init),
18762 (gst_fd_sink__chain), (gst_fd_sink__set_property),
18763 (gst_fd_sink__get_property):
18764 * plugins/elements/gstfdsink.h:
18765 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18766 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18767 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18768 (gst_fd_src_unlock), (gst_fd_src_set_property),
18769 (gst_fd_src_get_property), (gst_fd_src_create),
18770 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18771 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18772 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18773 (gst_fd_src_uri_handler_init):
18774 * plugins/elements/gstfdsrc.h:
18775 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18778 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18780 * docs/gst/Makefile.am:
18781 * docs/gst/gstreamer.types.in:
18785 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18791 * gst/gstregistry.h:
18792 * tests/benchmarks/complexity.c:
18793 * tests/benchmarks/mass-elements.c:
18794 * tests/check/Makefile.am:
18795 * tools/Makefile.am:
18796 * tools/gst-inspect.c:
18797 * tools/gst-xmlinspect.c:
18798 various fixes to make
18799 --disable-nls --disable-registry --disable-loadsave
18800 --disable-parse --disable-gst-debug
18801 work and get the core .so down to 360444 bytes after stripping
18803 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18808 * docs/random/thomasvs/TODO:
18809 * tests/Makefile.am:
18813 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18815 * win32/GStreamer.vcproj:
18818 * win32/Makefile.inspect:
18819 * win32/Makefile.launch:
18820 * win32/Makefile.register:
18821 * win32/README.txt:
18822 * win32/gst-inspect.vcproj:
18823 * win32/gst-launch.vcproj:
18824 * win32/gst-register.vcproj:
18825 * win32/gstelements.vcproj:
18826 * win32/gstgetbits.def:
18827 * win32/gstgetbits.vcproj:
18828 * win32/gstreamer-dbg.def:
18829 * win32/gstreamer.def:
18830 * win32/libgstbase.def:
18831 * win32/libgstbase.vcproj:
18832 * win32/link_oldruntime.c:
18836 * win32/msvc71.sln:
18837 move even more stuff, win32/ is nice and clean now
18839 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18841 * libs/gst/control/.cvsignore:
18846 * win32/gstbytestream.def:
18847 * win32/gstbytestream.vcproj:
18848 * win32/gstconfig.h:
18849 * win32/gstenumtypes.c:
18850 * win32/gstenumtypes.h:
18851 * win32/gstoptimalscheduler.vcproj:
18852 * win32/gstversion.h:
18854 * win32/testsuite/bins.vcproj:
18855 * win32/testsuite/bytestream.vcproj:
18856 * win32/testsuite/caps.vcproj:
18857 * win32/testsuite/cleanup.vcproj:
18858 * win32/testsuite/clock.vcproj:
18859 * win32/testsuite/debug.vcproj:
18860 * win32/testsuite/dlopen.vcproj:
18861 * win32/testsuite/dynparams.vcproj:
18862 * win32/testsuite/elements.vcproj:
18863 * win32/testsuite/ghostpads.vcproj:
18864 * win32/testsuite/indexers.vcproj:
18865 * win32/testsuite/negotiation.vcproj:
18866 * win32/testsuite/parse.vcproj:
18867 * win32/testsuite/plugin.vcproj:
18868 * win32/testsuite/refcounting.vcproj:
18869 * win32/testsuite/schedulers.vcproj:
18870 * win32/testsuite/states.vcproj:
18871 * win32/testsuite/tags.vcproj:
18872 * win32/testsuite/threads.vcproj:
18873 remove old win32 stuff that isn't maintained and should be
18876 2005-11-30 Andy Wingo <wingo@pobox.com>
18878 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18879 loading the gst.interfaces python module bork.
18881 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
18882 available since GLib 2.2. Fixes #318031.
18884 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18887 * check/.cvsignore:
18888 * check/Makefile.am:
18889 * check/elements/.cvsignore:
18890 * check/elements/fakesrc.c:
18891 * check/elements/fdsrc.c:
18892 * check/elements/identity.c:
18893 * check/generic/.cvsignore:
18894 * check/generic/states.c:
18895 * check/gst-libs/.cvsignore:
18896 * check/gst-libs/controller.c:
18897 * check/gst-libs/gdp.c:
18898 * check/gst/.cvsignore:
18899 * check/gst/capslist.h:
18901 * check/gst/gstbin.c:
18902 * check/gst/gstbuffer.c:
18903 * check/gst/gstbus.c:
18904 * check/gst/gstcaps.c:
18905 * check/gst/gstelement.c:
18906 * check/gst/gstevent.c:
18907 * check/gst/gstghostpad.c:
18908 * check/gst/gstiterator.c:
18909 * check/gst/gstmessage.c:
18910 * check/gst/gstminiobject.c:
18911 * check/gst/gstobject.c:
18912 * check/gst/gstpad.c:
18913 * check/gst/gstpipeline.c:
18914 * check/gst/gstplugin.c:
18915 * check/gst/gstsegment.c:
18916 * check/gst/gststructure.c:
18917 * check/gst/gstsystemclock.c:
18918 * check/gst/gsttag.c:
18919 * check/gst/gstutils.c:
18920 * check/gst/gstvalue.c:
18921 * check/net/.cvsignore:
18922 * check/net/gstnetclientclock.c:
18923 * check/net/gstnettimeprovider.c:
18924 * check/pipelines/.cvsignore:
18925 * check/pipelines/cleanup.c:
18926 * check/pipelines/simple_launch_lines.c:
18927 * check/pipelines/stress.c:
18928 * check/states/.cvsignore:
18929 * check/states/sinks.c:
18931 * examples/Makefile.am:
18932 * examples/appreader/.cvsignore:
18933 * examples/appreader/Makefile.am:
18934 * examples/appreader/appreader.c:
18935 * examples/controller/.cvsignore:
18936 * examples/controller/Makefile.am:
18937 * examples/controller/audio-example.c:
18938 * examples/cutter/.cvsignore:
18939 * examples/cutter/Makefile.am:
18940 * examples/cutter/cutter.c:
18941 * examples/cutter/cutter.h:
18942 * examples/events/Makefile.am:
18943 * examples/events/seek.c:
18944 * examples/helloworld/.cvsignore:
18945 * examples/helloworld/Makefile.am:
18946 * examples/helloworld/helloworld.c:
18947 * examples/helloworld2/.cvsignore:
18948 * examples/helloworld2/Makefile.am:
18949 * examples/helloworld2/helloworld2.c:
18950 * examples/launch/.cvsignore:
18951 * examples/launch/Makefile.am:
18952 * examples/launch/mp3parselaunch.c:
18953 * examples/launch/mp3play:
18954 * examples/manual/.cvsignore:
18955 * examples/manual/Makefile.am:
18956 * examples/manual/extract.pl:
18957 * examples/metadata/Makefile.am:
18958 * examples/metadata/read-metadata.c:
18959 * examples/mixer/.cvsignore:
18960 * examples/mixer/Makefile.am:
18961 * examples/mixer/mixer.c:
18962 * examples/mixer/mixer.h:
18963 * examples/pingpong/.cvsignore:
18964 * examples/pingpong/Makefile.am:
18965 * examples/pingpong/pingpong.c:
18966 * examples/plugins/.cvsignore:
18967 * examples/plugins/Makefile.am:
18968 * examples/plugins/example.c:
18969 * examples/plugins/example.h:
18970 * examples/pwg/.cvsignore:
18971 * examples/pwg/Makefile.am:
18972 * examples/pwg/extract.pl:
18973 * examples/queue/.cvsignore:
18974 * examples/queue/Makefile.am:
18975 * examples/queue/queue.c:
18976 * examples/queue2/.cvsignore:
18977 * examples/queue2/Makefile.am:
18978 * examples/queue2/queue2.c:
18979 * examples/queue3/.cvsignore:
18980 * examples/queue3/Makefile.am:
18981 * examples/queue3/queue3.c:
18982 * examples/queue4/.cvsignore:
18983 * examples/queue4/Makefile.am:
18984 * examples/queue4/queue4.c:
18985 * examples/retag/.cvsignore:
18986 * examples/retag/Makefile.am:
18987 * examples/retag/retag.c:
18988 * examples/retag/transcode.c:
18989 * examples/thread/.cvsignore:
18990 * examples/thread/Makefile.am:
18991 * examples/thread/thread.c:
18992 * examples/typefind/.cvsignore:
18993 * examples/typefind/Makefile.am:
18994 * examples/typefind/typefind.c:
18995 * examples/xml/.cvsignore:
18996 * examples/xml/Makefile.am:
18997 * examples/xml/createxml.c:
18998 * examples/xml/runxml.c:
18999 * tests/Makefile.am:
19000 * tests/check/Makefile.am:
19001 * testsuite/.cvsignore:
19002 * testsuite/Makefile.am:
19004 * testsuite/caps/.cvsignore:
19005 * testsuite/caps/Makefile.am:
19006 * testsuite/caps/app_fixate.c:
19007 * testsuite/caps/audioscale.c:
19008 * testsuite/caps/caps.c:
19009 * testsuite/caps/caps.h:
19010 * testsuite/caps/caps_strings:
19011 * testsuite/caps/compatibility.c:
19012 * testsuite/caps/deserialize.c:
19013 * testsuite/caps/enumcaps.c:
19014 * testsuite/caps/eratosthenes.c:
19015 * testsuite/caps/filtercaps.c:
19016 * testsuite/caps/fixed.c:
19017 * testsuite/caps/fraction-convert.c:
19018 * testsuite/caps/fraction-multiply-and-zero.c:
19019 * testsuite/caps/intersect2.c:
19020 * testsuite/caps/intersection.c:
19021 * testsuite/caps/normalisation.c:
19022 * testsuite/caps/random.c:
19023 * testsuite/caps/renegotiate.c:
19024 * testsuite/caps/sets.c:
19025 * testsuite/caps/simplify.c:
19026 * testsuite/caps/string-conversions.c:
19027 * testsuite/caps/structure.c:
19028 * testsuite/caps/subtract.c:
19029 * testsuite/caps/union.c:
19030 * testsuite/debug/.cvsignore:
19031 * testsuite/debug/Makefile.am:
19032 * testsuite/debug/category.c:
19033 * testsuite/debug/commandline.c:
19034 * testsuite/debug/global.c:
19035 * testsuite/debug/output.c:
19036 * testsuite/debug/printf_extension.c:
19037 * testsuite/dlopen/.cvsignore:
19038 * testsuite/dlopen/Makefile.am:
19039 * testsuite/dlopen/dlopen_gst.c:
19040 * testsuite/dlopen/loadgst.c:
19041 * testsuite/elements/.cvsignore:
19042 * testsuite/elements/Makefile.am:
19043 * testsuite/elements/gst-inspect-check.in:
19044 * testsuite/elements/struct_i386.h:
19045 * testsuite/elements/struct_size.c:
19046 * testsuite/indexers/.cvsignore:
19047 * testsuite/indexers/Makefile.am:
19048 * testsuite/indexers/cache1.c:
19049 * testsuite/indexers/indexdump.c:
19050 * testsuite/parse/.cvsignore:
19051 * testsuite/parse/Makefile.am:
19052 * testsuite/parse/parse1.c:
19053 * testsuite/parse/parse2.c:
19054 * testsuite/plugin/.cvsignore:
19055 * testsuite/plugin/Makefile.am:
19056 * testsuite/plugin/README:
19057 * testsuite/plugin/dynamic.c:
19058 * testsuite/plugin/linked.c:
19059 * testsuite/plugin/loading.c:
19060 * testsuite/plugin/registry.c:
19061 * testsuite/plugin/static.c:
19062 * testsuite/plugin/static2.c:
19063 * testsuite/plugin/testplugin.c:
19064 * testsuite/plugin/testplugin2.c:
19065 * testsuite/plugin/testplugin2_s.c:
19066 * testsuite/plugin/testplugin_s.c:
19067 * testsuite/refcounting/.cvsignore:
19068 * testsuite/refcounting/Makefile.am:
19069 * testsuite/refcounting/bin.c:
19070 * testsuite/refcounting/element.c:
19071 * testsuite/refcounting/element_pad.c:
19072 * testsuite/refcounting/mainloop.c:
19073 * testsuite/refcounting/mem.c:
19074 * testsuite/refcounting/mem.h:
19075 * testsuite/refcounting/object.c:
19076 * testsuite/refcounting/pad.c:
19077 * testsuite/refcounting/sched.c:
19078 * testsuite/refcounting/thread.c:
19079 * testsuite/states/.cvsignore:
19080 * testsuite/states/Makefile.am:
19081 * testsuite/states/bin.c:
19082 * testsuite/states/locked.c:
19083 * testsuite/states/parent.c:
19084 * testsuite/threads/.cvsignore:
19085 * testsuite/threads/159566.c:
19086 * testsuite/threads/159852.c:
19087 * testsuite/threads/Makefile.am:
19088 * testsuite/threads/queue.c:
19089 * testsuite/threads/signals.c:
19090 * testsuite/threads/staticrec.c:
19091 * testsuite/threads/thread.c:
19092 * testsuite/threads/threadb.c:
19093 * testsuite/threads/threadc.c:
19094 * testsuite/threads/threadd.c:
19095 * testsuite/threads/threade.c:
19096 * testsuite/threads/threadf.c:
19097 * testsuite/threads/threadg.c:
19098 * testsuite/threads/threadh.c:
19099 * testsuite/threads/threadi.c:
19100 move all of these under tests
19102 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19105 * tests/Makefile.am:
19108 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19110 * docs/gst/gstreamer-sections.txt:
19111 * tests/sched/.cvsignore:
19112 * tests/sched/Makefile.am:
19113 * tests/sched/cases/(fs-fs).xml:
19114 * tests/sched/cases/(fs-i-fs).xml:
19115 * tests/sched/cases/(fs-i-i-fs).xml:
19116 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19117 * tests/sched/dynamic-pipeline.c:
19118 * tests/sched/interrupt1.c:
19119 * tests/sched/interrupt2.c:
19120 * tests/sched/interrupt3.c:
19121 * tests/sched/runtestcases:
19122 * tests/sched/runxml.c:
19123 * tests/sched/sched-stress.c:
19124 * tests/sched/sort.c:
19125 * tests/sched/testcases:
19126 * tests/sched/testcases1.tc:
19127 * tests/seeking/.cvsignore:
19128 * tests/seeking/Makefile.am:
19129 * tests/seeking/seeking1.c:
19130 * tests/threadstate/.cvsignore:
19131 * tests/threadstate/Makefile.am:
19132 * tests/threadstate/test1.c:
19133 * tests/threadstate/test2.c:
19134 * tests/threadstate/threadstate1.c:
19135 * tests/threadstate/threadstate2.c:
19136 * tests/threadstate/threadstate3.c:
19137 * tests/threadstate/threadstate4.c:
19138 * tests/threadstate/threadstate5.c:
19139 remove obsolete tests
19141 * tests/bench-complexity.scm:
19142 * tests/bench-mass_elements.scm:
19143 * tests/complexity.c:
19144 * tests/complexity.gnuplot:
19145 * tests/instantiate/.cvsignore:
19146 * tests/instantiate/Makefile.am:
19147 * tests/instantiate/caps.c:
19148 * tests/mass_elements.c:
19149 * tests/network-clock-utils.scm:
19150 * tests/network-clock.scm:
19152 First pass at cleaning up tests/ dir before moving the rest
19153 Combined with CVS surgery
19155 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19158 queue has moved, update
19160 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19162 * docs/gst/gstreamer-sections.txt:
19163 remove double entries from the docs
19164 * gst/gst_private.h:
19165 * gst/gstinfo.c: (_gst_debug_init):
19166 remove the THREAD debug category
19170 * docs/gst/gstreamer.types:
19171 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19172 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19173 completely move queue and fix up debugging categories
19175 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19177 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19178 make initialization portable, using LL is not
19180 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19182 * win32/common/gstconfig.h:
19185 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19187 * win32/common/libgstreamer.def:
19188 rename symbols; sort base section
19190 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19192 * gst/gstclock.c: (do_linear_regression):
19193 remove crack non-portable handrolled DEBUG macro
19195 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19197 * docs/random/release:
19199 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19200 (gst_object_flags_get_type), (register_gst_bin_flags),
19201 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19202 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19203 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19204 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19205 (gst_caps_flags_get_type), (register_gst_clock_return),
19206 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19207 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19208 (gst_clock_flags_get_type), (register_gst_state),
19209 (gst_state_get_type), (register_gst_state_change_return),
19210 (gst_state_change_return_get_type), (register_gst_state_change),
19211 (gst_state_change_get_type), (register_gst_element_flags),
19212 (gst_element_flags_get_type), (register_gst_core_error),
19213 (gst_core_error_get_type), (register_gst_library_error),
19214 (gst_library_error_get_type), (register_gst_resource_error),
19215 (gst_resource_error_get_type), (register_gst_stream_error),
19216 (gst_stream_error_get_type), (register_gst_event_type_flags),
19217 (gst_event_type_flags_get_type), (register_gst_event_type),
19218 (gst_event_type_get_type), (register_gst_seek_type),
19219 (gst_seek_type_get_type), (register_gst_seek_flags),
19220 (gst_seek_flags_get_type), (register_gst_format),
19221 (gst_format_get_type), (register_gst_index_certainty),
19222 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19223 (gst_index_entry_type_get_type),
19224 (register_gst_index_lookup_method),
19225 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19226 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19227 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19228 (gst_index_flags_get_type), (register_gst_debug_level),
19229 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19230 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19231 (gst_iterator_result_get_type), (register_gst_iterator_item),
19232 (gst_iterator_item_get_type), (register_gst_message_type),
19233 (gst_message_type_get_type), (register_gst_mini_object_flags),
19234 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19235 (gst_pad_link_return_get_type), (register_gst_flow_return),
19236 (gst_flow_return_get_type), (register_gst_activate_mode),
19237 (gst_activate_mode_get_type), (register_gst_pad_direction),
19238 (gst_pad_direction_get_type), (register_gst_pad_flags),
19239 (gst_pad_flags_get_type), (register_gst_pad_presence),
19240 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19241 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19242 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19243 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19244 (gst_plugin_flags_get_type), (register_gst_rank),
19245 (gst_rank_get_type), (register_gst_query_type),
19246 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19247 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19248 (gst_tag_flag_get_type), (register_gst_task_state),
19249 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19250 (gst_alloc_trace_flags_get_type),
19251 (register_gst_type_find_probability),
19252 (gst_type_find_probability_get_type), (register_gst_uri_type),
19253 (gst_uri_type_get_type), (register_gst_parse_error),
19254 (gst_parse_error_get_type):
19255 * win32/common/gstenumtypes.h:
19256 * win32/common/gstversion.h:
19257 update visual studio generated files
19259 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19261 * win32/vs6/libgstbase.dsp:
19262 * win32/vs6/libgstelements.dsp:
19263 update project files for new locations
19265 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19270 reinstate and update
19275 * docs/random/LICENSE:
19278 2005-11-30 Edward Hervey <edward@fluendo.com>
19280 * gst/gsttypefind.c: (gst_type_find_register):
19281 * gst/gsttypefind.h:
19282 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19283 (gst_type_find_factory_dispose):
19284 * gst/gsttypefindfactory.h:
19285 Fix memory leak in GstTypeFindFactory.
19287 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19290 * plugins/elements/Makefile.am:
19291 * plugins/elements/gstelements.c:
19292 * plugins/elements/gstqueue.c:
19293 move queue from core to the elements plugin
19295 2005-11-29 Andy Wingo <wingo@pobox.com>
19297 * libs/gst/base/gstbasetransform.h:
19298 * libs/gst/base/gstbasesrc.h:
19299 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19301 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19302 of pointers by which to pad very extensible base classes (like the
19303 ones in libs/gst/base).
19305 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19307 * docs/gst/gstreamer-docs.sgml:
19308 * docs/gst/gstreamer-sections.txt:
19309 * docs/libs/gstreamer-libs-docs.sgml:
19310 * docs/libs/gstreamer-libs-sections.txt:
19311 moving documentation from core to lib
19313 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19315 * check/Makefile.am:
19317 * docs/gst/Makefile.am:
19319 * gst/base/.cvsignore:
19320 * gst/base/Makefile.am:
19322 * gst/base/gstadapter.c:
19323 * gst/base/gstadapter.h:
19324 * gst/base/gstbasesink.c:
19325 * gst/base/gstbasesink.h:
19326 * gst/base/gstbasesrc.c:
19327 * gst/base/gstbasesrc.h:
19328 * gst/base/gstbasetransform.c:
19329 * gst/base/gstbasetransform.h:
19330 * gst/base/gstcollectpads.c:
19331 * gst/base/gstcollectpads.h:
19332 * gst/base/gstpushsrc.c:
19333 * gst/base/gstpushsrc.h:
19334 * gst/base/gsttypefindhelper.c:
19335 * gst/base/gsttypefindhelper.h:
19336 * gst/check/Makefile.am:
19337 * gst/check/gstcheck.c:
19338 * gst/check/gstcheck.h:
19339 * gst/net/Makefile.am:
19340 * gst/net/gstnet.h:
19341 * gst/net/gstnetclientclock.c:
19342 * gst/net/gstnetclientclock.h:
19343 * gst/net/gstnettimepacket.c:
19344 * gst/net/gstnettimepacket.h:
19345 * gst/net/gstnettimeprovider.c:
19346 * gst/net/gstnettimeprovider.h:
19347 * libs/gst/Makefile.am:
19348 * libs/gst/base/Makefile.am:
19349 * libs/gst/base/gstbasetransform.c:
19350 * libs/gst/check/Makefile.am:
19351 * plugins/elements/Makefile.am:
19353 CVS surgery + support to move base, check, and net out of gst
19356 2005-11-29 Andy Wingo <wingo@pobox.com>
19358 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19360 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19363 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19365 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19367 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19369 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19370 padding; reduces object size by about 30%. We don't expect
19371 anything else to go into gstobject.
19373 * gst/gstminiobject.h (struct _GstMiniObject)
19374 (struct _GstMiniObjectClass): Only one pointer of padding; the
19375 payload is only a pointer and two ints anyway. For the class there
19376 are only two methods as well.
19378 * gst/gstelement.h (struct _GstElementClass): Removed
19379 the state_changed signal callback, it is not used.
19381 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19383 * docs/gst/gstreamer.types:
19384 fix includes, though they are a little dinky
19386 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19388 * check/Makefile.am:
19389 look in the right place for elements, a lot more chance of
19392 remove indexers and elements subdirs
19393 * plugins/Makefile.am:
19394 make indexers conditional
19396 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19400 * plugins/elements/Makefile.am:
19401 * plugins/elements/gstcapsfilter.c:
19402 * plugins/elements/gstfilesink.c:
19403 * plugins/elements/gstfilesrc.c:
19404 * plugins/elements/gstidentity.c:
19405 * plugins/indexers/Makefile.am:
19406 do CVS surgery and related build fixery to move elements
19407 and indexers in a new gstreamer/plugins directory, out of the
19410 2005-11-29 Andy Wingo <wingo@pobox.com>
19412 * check/Makefile.am:
19413 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19414 * pkgconfig/gstreamer-net.pc.in:
19415 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19418 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19420 * tools/Makefile.am:
19421 * tools/gst-complete.1.in:
19422 * tools/gst-complete.c:
19423 * tools/gst-compprep.1.in:
19424 * tools/gst-compprep.c:
19425 removing -compprep and -complete
19427 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19429 * gst/gstevent.c: (gst_event_new_new_segment),
19430 (gst_event_parse_new_segment):
19432 fix #320529 - clean up new_segment API and structure.
19433 Let's hope everyone was using the methods, and not the structure.
19435 2005-11-29 Edward Hervey <edward@fluendo.com>
19437 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19438 (gst_base_sink_event), (gst_base_sink_do_sync),
19439 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19440 Properly handle non GST_FORMAT_TIME segment
19441 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19442 Properly handle non GST_FORMAT_TIME segment
19443 * gst/gstsegment.c:
19444 This function is valid if the accumulator is 0 and the format
19445 is different from the requested format.
19447 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19449 * docs/gst/gstreamer-sections.txt:
19450 Add gst_query_new_seeking and gst_query_parse_seeking to the
19453 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19455 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19456 Treat a pad alloc with new caps the same as if we were not
19457 negotiated, in order to allow a changing upstream output
19458 to produce a new format of data.
19460 2005-11-29 Edward Hervey <edward@fluendo.com>
19462 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19463 (gst_base_transform_event), (gst_base_transform_eventfunc):
19464 The event virtual method is now properly implemented, with a default
19466 Sub classes should call the parent_class event method. They should
19467 return FALSE if they had a problem handling the given event, or don't
19468 want GstBaseTransform to send that even downstream
19469 * gst/elements/gstidentity.c: (gst_identity_class_init),
19470 (gst_identity_init), (gst_identity_event),
19471 (gst_identity_transform_ip), (gst_identity_set_property),
19472 (gst_identity_get_property):
19473 * gst/elements/gstidentity.h:
19474 Added the single-segment boolean property.
19475 If set to TRUE, it will output a single segment of data, starting from
19476 0, will eat up all incoming newsegment, and modify the timestamp of the
19477 buffers accordingly
19479 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19481 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19482 Don't ref NULL target pad (#322751). Improve docs.
19484 2005-11-29 Michael Smith <msmith@fluendo.com>
19486 * gst/gstregistryxml.c: (load_plugin):
19487 Don't crash if we failed to load a feature from a plugin.
19489 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19491 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19493 use more check API and less GLib API
19495 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19498 don't run checks if we don't have check
19499 * common/check.mak:
19500 remove the registry when running make torture
19501 * docs/gst/gstreamer-sections.txt:
19502 remove second multiply
19503 * gst/gstqueue.c: (gst_queue_loop):
19504 fix a compile warning when disabling debug
19506 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19509 Hey! Let's print the pad name if the pointer != NULL instead
19510 of when it == NULL :-)
19512 2005-11-28 Wim Taymans <wim@fluendo.com>
19514 * check/gst/gstutils.c: (GST_START_TEST):
19515 Updated check, add some scaling accuracy checking code.
19517 * gst/gstutils.c: (gst_util_div128_64),
19518 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19519 (gst_util_uint64_scale_int):
19520 Fix 6 times faster division code. Optimize for common
19521 1/1 and less common X/1 cases.
19523 2005-11-28 Wim Taymans <wim@fluendo.com>
19525 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19528 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19529 (do_linear_regression), (gst_clock_add_observation):
19531 Release lock when the clock cannot be slaved.
19532 Catch the case where the regression returned an invalid denominator.
19534 * gst/gstutils.c: (gst_util_div128_64_iterate),
19535 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19536 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19537 Add protentially more performant non-iterative 128/64 divide function
19538 that unfortunatly does not work yet.
19539 Shortcut the trivial 0/X = 0 case.
19540 Remove the warnings on overflow.
19542 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19544 * gst/gstplugin.c: (gst_plugin_register_func):
19545 everything causing a plugin not to load should be at least a WARNING
19547 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19549 * docs/random/ensonic/dparams.txt:
19550 some TODOs for the next dev cycle
19551 * libs/gst/controller/gstcontroller.c:
19552 (gst_controlled_property_set_interpolation_mode),
19553 (gst_controlled_property_new):
19554 * libs/gst/controller/gstcontroller.h:
19555 use base type to assign acccessor functions
19557 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19559 * check/Makefile.am:
19560 Oops, that should have been top_srcdir
19562 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19564 * check/Makefile.am:
19565 * check/elements/fdsrc.c: (GST_START_TEST):
19566 Use a cmdline define to specify the location of a file to use for
19567 testing, to avoid breaking distcheck.
19569 2005-11-28 Andy Wingo <wingo@pobox.com>
19571 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19573 2005-11-28 Edward Hervey <edward@fluendo.com>
19575 * tools/gst-launch.c: (main):
19576 Clarify the output strings, makes it easier to translate.
19579 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19582 don't try and build net if we don't even have <sys/socket.h>
19584 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19586 * check/Makefile.am:
19587 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19588 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19589 Add tests for fdsrc seekability
19591 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19592 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19593 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19594 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19595 * gst/elements/gstfdsrc.h:
19596 fdsrc should not be a 'live' source.
19597 Implement seeking on seekable fd's.
19599 * gst/gstquery.c: (gst_query_new_seeking),
19600 (gst_query_parse_seeking):
19602 Implement SEEKING query functions:
19603 *_new_seeking and *_parse_seeking
19605 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19607 * gst/gstelement.c: (gst_element_dispose):
19610 * gst/gstiterator.c:
19611 * gst/gststructure.c:
19614 * libs/gst/controller/gstcontroller.c:
19615 (gst_controlled_property_set_interpolation_mode):
19616 * libs/gst/controller/gstcontroller.h:
19617 * libs/gst/controller/gstinterpolation.c:
19618 (interpolate_none_get_enum_value_array):
19619 support controlling enums
19621 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19624 Improve documentation for gst_value_union().
19627 Change return value for union, intersect and subtract functions
19628 from gint to gboolean.
19630 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19632 * gst/gstvalue.c: (gst_value_serialize_any_list),
19633 (gst_value_transform_any_list_string),
19634 (gst_value_deserialize_list), (gst_value_deserialize_array),
19635 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19636 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19637 (gst_value_set_fraction_range_full),
19638 (gst_value_deserialize_fraction_range),
19639 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19640 (gst_value_deserialize_boolean),
19641 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19642 (gst_value_serialize_float), (gst_value_deserialize_float),
19643 (gst_string_wrap), (gst_value_deserialize_string),
19644 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19645 (gst_value_union_int_range_int_range),
19646 (gst_value_intersect_int_range_int_range),
19647 (gst_value_intersect_double_range_double_range),
19648 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19649 (gst_value_subtract_int_range_int_range),
19650 (gst_value_subtract_double_double_range),
19651 (gst_value_subtract_double_range_double_range),
19652 (gst_value_deserialize_fraction):
19654 Use gint, gdouble and gchar in our API instead of int, double and
19655 char (and make usage in gstvalue.c more consistent).
19657 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19659 * check/Makefile.am:
19660 * libs/gst/controller/Makefile.am:
19661 * libs/gst/dataprotocol/Makefile.am:
19662 fix up Makefile.am and remove GST_ENABLE_NEW
19664 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19668 * gst/base/Makefile.am:
19669 * gst/check/Makefile.am:
19670 * gst/elements/Makefile.am:
19671 * gst/net/Makefile.am:
19672 update LDFLAGS use some more
19674 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19676 * common/m4/gst-doc.m4:
19679 2005-11-26 Edward Hervey <edward@fluendo.com>
19681 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19682 This shouldn't issue a g_warning since it returns NULL if it
19683 couldn't find the plugin, and all functions using this behave
19684 properly on a NULL return. Switching to a GST_WARNING.
19686 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19688 * gst/gstbin.c: (gst_bin_handle_message_func):
19689 Don't leak clock messages.
19691 2005-11-25 Wim Taymans <wim@fluendo.com>
19693 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19694 (gst_util_uint64_scale_int):
19695 Optimisations, remove unneeded vars.
19697 2005-11-25 Wim Taymans <wim@fluendo.com>
19699 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19700 Added more checks for the high precision uint64 cases.
19702 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19703 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19704 Implement high precision (guint64 * guint64) / guint64.
19706 2005-11-24 Wim Taymans <wim@fluendo.com>
19708 * gst/base/gstbasesrc.c: (gst_base_src_query):
19709 Fix wrong percentage query.
19711 * gst/gstutils.c: (gst_util_uint64_scale),
19712 (gst_util_uint64_scale_int):
19713 Add some more common cases that can be handled
19714 efficiently to _scale.
19716 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19718 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19719 (gst_mini_object_suite):
19720 don't use check calls from threads; check probably isn't
19721 threadsafe and using a lock to make it threadsafe would
19722 defeat the purpose of this check
19723 * gst/check/gstcheck.c:
19724 * gst/check/gstcheck.h:
19725 use GST_DEBUG some more
19727 2005-11-24 Wim Taymans <wim@fluendo.com>
19729 * gst/gstutils.c: (gst_util_uint64_scale),
19730 (gst_util_uint64_scale_int):
19731 Chain trivial case to _scale_int.
19733 2005-11-24 Wim Taymans <wim@fluendo.com>
19735 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19736 Added test for scaling.
19741 * gst/gstutils.c: (gst_util_uint64_scale_int):
19742 Implemented high precision scaling code.
19744 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19747 do not crash on pad==NULL
19749 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19751 Patch by: Stefan Kost
19753 * common/gtk-doc.mak:
19754 * docs/gst/Makefile.am:
19755 * docs/libs/Makefile.am:
19756 Fix distcheck issues for the libraries docs build
19759 2005-11-24 Michael Smith <msmith@fluendo.com>
19761 * docs/manual/basics-helloworld.xml:
19762 Fix bug #315027: memory leak in example code in docs.
19764 2005-11-24 Michael Smith <msmith@fluendo.com>
19766 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19767 Unlock the PREROLL_LOCK in a failure case.
19769 2005-11-24 Wim Taymans <wim@fluendo.com>
19771 * docs/gst/gstreamer-sections.txt:
19772 * gst/base/gstadapter.h:
19773 * gst/base/gstbasesink.h:
19774 * gst/base/gstbasesrc.h:
19775 * gst/base/gstbasetransform.h:
19776 * gst/base/gstpushsrc.h:
19777 * gst/elements/gstfakesink.h:
19778 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19779 * gst/elements/gstfakesrc.h:
19780 * gst/elements/gstfilesink.h:
19781 * gst/elements/gstfilesrc.h:
19784 * gst/gstbuffer.c: (_gst_buffer_copy):
19787 * gst/gstchildproxy.c:
19789 * gst/gstelement.c:
19790 * gst/gstelementfactory.c:
19791 * gst/gstelementfactory.h:
19793 * gst/gstghostpad.h:
19795 * gst/gstinterface.h:
19796 * gst/gstminiobject.c:
19797 * gst/gstminiobject.h:
19800 * gst/gstpadtemplate.h:
19801 * gst/gstpipeline.h:
19802 * gst/gstpluginfeature.h:
19805 * gst/gsttaglist.c:
19806 * gst/gsttaglist.h:
19807 * gst/gsttagsetter.c:
19808 * gst/gsttagsetter.h:
19811 * gst/gsttypefind.h:
19814 * gst/net/gstnetclientclock.c:
19815 * gst/net/gstnetclientclock.h:
19816 * gst/net/gstnettimepacket.c:
19817 * gst/net/gstnettimeprovider.c:
19818 * gst/net/gstnettimeprovider.h:
19821 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19823 * configure.ac: back to HEAD
19825 === release 0.9.6 ===
19827 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19830 releasing 0.9.6, "Always On Time"
19832 2005-11-23 Wim Taymans <wim@fluendo.com>
19834 * docs/gst/gstreamer-sections.txt:
19835 * gst/glib-compat.c:
19836 * gst/gsttagsetter.c:
19838 * gst/net/gstnetclientclock.c:
19839 * gst/net/gstnettimepacket.h:
19842 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19844 * docs/faq/using.xml:
19845 * docs/libs/tmpl/gstcontrol.sgml:
19846 * docs/manual/advanced-dparams.xml:
19847 * docs/manual/appendix-checklist.xml:
19848 * docs/manual/basics-elements.xml:
19849 * docs/pwg/other-source.xml:
19850 * docs/random/moving-plugins:
19852 * tools/gst-launch.1.in:
19853 remove mentions of sinesrc
19855 2005-11-23 Michael Smith <msmith@fluendo.com>
19857 * docs/gst/gstreamer-sections.txt:
19858 Update for new API and API changes.
19860 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19862 Documentation typo fix.
19863 * gst/net/gstnettimepacket.c:
19864 Documentation fixes for arguments.
19866 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
19868 * gst/gststructure.c: (gst_structure_get_fraction),
19869 (gst_structure_parse_value),
19870 (gst_structure_fixate_field_nearest_fraction):
19871 * gst/gststructure.h:
19872 * gst/gstutils.c: (gst_util_uint64_scale_int):
19874 * scripts/update-funcnames:
19876 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19877 Make gst_structure_fixate_field_nearest_fraction take a numerator
19878 and denominator argument instead of a GValue
19879 add gst_structure_get_fraction helper function.
19881 2005-11-23 Wim Taymans <wim@fluendo.com>
19883 * docs/design/part-TODO.txt:
19886 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
19887 * gst/net/gstnetclientclock.h:
19888 Use parent fields for timeout and window_size.
19890 2005-11-23 Andy Wingo <wingo@pobox.com>
19892 * check/net/gstnetclientclock.c (test_functioning): Adjust to
19893 rate_num/rate_denom change.
19895 * gst/net/gstnetclientclock.c
19896 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
19897 OBJECT_LOCK. Don't call add_observation with the lock.
19899 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19901 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19903 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19904 deal with rate as a fraction whose numerator and denominator are
19905 GstClockTime values.
19906 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19907 master; the other fields are protected by the SLAVE_LOCK.
19908 (do_linear_regression): Note that this must be called with the
19910 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19911 OBJECT_LOCK. Call set_calibration instead of touching the
19912 variables directly.
19913 (gst_clock_set_property, gst_clock_get_property): Protect
19914 master/slave parameters with the SLAVE_LOCK.
19916 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
19917 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
19918 note that all of the instance variables that add_observation and
19919 the set_master functions use are protected by that lock and not
19921 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
19923 * gst/gstclock.c (gst_clock_add_observation): No longer requires
19924 the caller to take the object lock.
19926 2005-11-23 Wim Taymans <wim@fluendo.com>
19928 * gst/gsterror.c: (_gst_core_errors_init):
19930 Add error for clock stuff.
19932 * gst/gstpipeline.c: (gst_pipeline_change_state),
19933 (gst_pipeline_set_clock):
19934 Post clock error when clock cannot be used in a pipeline.
19936 2005-11-23 Stefan Kost <ensonic@users.sf.net>
19938 * docs/gst/gstreamer-sections.txt:
19939 make two symbols from gstinfo private for the docs
19940 * gst/base/gstcollectpads.h:
19942 fix doc typos, update docs
19944 2005-11-22 Wim Taymans <wim@fluendo.com>
19946 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19947 (gst_base_sink_wait), (gst_base_sink_do_sync),
19948 (gst_base_sink_handle_event):
19949 * gst/base/gstbasesink.h:
19950 No need to store the clock, the parent element class already
19953 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
19954 Updates for clock_set returning a gboolean
19956 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
19957 (gst_clock_id_wait_async), (gst_clock_class_init),
19958 (gst_clock_init), (gst_clock_finalize),
19959 (gst_clock_get_internal_time), (gst_clock_get_time),
19960 (gst_clock_slave_callback), (gst_clock_set_master),
19961 (gst_clock_get_master), (do_linear_regression),
19962 (gst_clock_add_observation), (gst_clock_set_property),
19963 (gst_clock_get_property):
19965 Implement master/slave. When setting a clock as a slave, a
19966 periodic timeout is scheduled to sample master and slave times.
19967 Then the slave clock is recalibrated to match offset and rate
19968 of the master clock.
19969 Update logging a bit.
19970 Add flag so that a clock can state that is cannot be slaved to
19973 * gst/gstelement.c: (gst_element_set_clock):
19974 * gst/gstelement.h:
19975 The set clock returns a gboolean for when an element cannot
19976 deal with the selected clock in the pipeline.
19978 * gst/gstpipeline.c: (gst_pipeline_change_state),
19979 (gst_pipeline_set_clock):
19980 * gst/gstpipeline.h:
19981 Handle the case where the selected clock cannot be set on
19984 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
19985 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
19986 (gst_net_client_clock_set_property),
19987 (gst_net_client_clock_get_property),
19988 (gst_net_client_clock_observe_times):
19989 * gst/net/gstnetclientclock.h:
19990 Use regression code in GstClock parent, remove duplicated
19993 2005-11-22 Michael Smith <msmith@fluendo.com>
19995 * gst/gstutils.c: (gst_util_clock_time_scale):
19997 * docs/gst/gstreamer-sections.txt:
19998 Rename method to have extra underscore.
20000 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20002 * gst/elements/Makefile.am:
20003 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20004 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20005 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20006 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20007 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20008 * gst/elements/gstfakesrc.h:
20009 * gst/gstqueue.c: (queue_leaky_get_type):
20010 correctly fix GEnumValues so that nick is the short lowercase
20012 * tools/gst-inspect.c: (print_element_properties_info):
20013 also show the nick, since it's useful to use from parse_launch
20017 2005-11-22 Michael Smith <msmith@fluendo.com>
20019 * gst/gstutils.c: (gst_util_clocktime_scale):
20021 * docs/gst/gstreamer-sections.txt:
20022 Add util method for scaling a clocktime by a fraction. Useful
20023 implementation is left as an exercise for the reader.
20025 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20027 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20028 If needed, allocate storage in the destination value during
20031 2005-11-22 Edward Hervey <edward@fluendo.com>
20033 * docs/gst/gstreamer-sections.txt:
20036 * gst/gsturitype.c:
20037 * gst/gsturitype.h:
20038 * gst/gstutils.c: (gst_util_set_object_arg):
20039 * tools/gst-compprep.c: (main):
20040 * tools/gst-inspect.c: (print_element_properties_info):
20041 Removed GstURI, closes bug #321061
20043 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20045 * check/gst/gststructure.c: (GST_START_TEST):
20046 * gst/gststructure.c: (gst_structure_parse_value):
20047 Oops, broke automatic string type parsing.
20048 Add a test to catch it in future.
20050 2005-11-22 Andy Wingo <wingo@pobox.com>
20052 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20053 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20054 Actually rename the function implementations. Grr.
20056 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20058 * check/gst/capslist.h:
20060 * check/gst/gststructure.c: (GST_START_TEST),
20061 (gst_structure_suite):
20062 Test automatic value type detection in gst_structure_from_string.
20063 * gst/gststructure.c: (gst_structure_parse_value):
20064 Add fraction as a type we try and guess automatically in
20065 caps/structure strings.
20067 2005-11-22 Andy Wingo <wingo@pobox.com>
20069 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20071 * gst/gsttagsetter.h:
20072 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20073 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20074 (gst_tag_setter_add_tag_valist)
20075 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20076 _add_values, _add_valist, and _add_valist_values. Since this is an
20077 interface the function suffixes should be more explicit so
20078 language binding don't end up with element.add_valist ->
20079 gst_tag_setter_add_valist, for example. Fixes #322069.
20081 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20083 * check/gst/gstcaps.c: (GST_START_TEST):
20084 Extend caps string tests to check that a caps to string
20085 conversion is reversible and produces the same caps.
20087 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20088 Output "fraction" as the generic type fraction range, so caps
20089 serialisation and deserialisation works.
20090 * check/gst/capslist.h:
20091 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20092 Support 'MIN' and 'MAX' for deserialising fractions.
20094 2005-11-22 Andy Wingo <wingo@pobox.com>
20096 * gst/gstevent.h (gst_event_new_new_segment)
20097 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20098 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20099 Renamed from *_newsegment, *_buffersize, *_notarget.
20101 * scripts/update-funcnames: New script, performs the changes
20104 2005-11-22 Wim Taymans <wim@fluendo.com>
20106 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20107 Make sure the GstFlowReturn is returned.
20109 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20110 (gst_bus_add_signal_watch):
20112 add gst_bus_add_signal_watch_full.
20114 * gst/gstplugin.c: (gst_plugin_load_file):
20115 Small style cleanup.
20117 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20119 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20120 Block the fakesrc srcpad when we send an event, to avoid
20121 contention on the stream_lock causing random test failures.
20123 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20125 * check/gst/gstvalue.c: (GST_START_TEST):
20126 * gst/gstvalue.c: (gst_value_fraction_subtract):
20129 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20132 include "gstchildproxy.h"
20133 * gst/gstchildproxy.h:
20134 * libs/gst/controller/gstcontroller.h:
20135 use G_GNUC_NULL_TERMINATED
20137 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20139 * check/gst/capslist.h:
20140 * check/gst/gstcaps.c: (GST_START_TEST):
20141 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20142 * gst/gststructure.c: (gst_structure_parse_range),
20143 (gst_structure_fixate_field_nearest_fraction):
20144 * gst/gststructure.h:
20145 * gst/gstvalue.c: (gst_value_init_fraction_range),
20146 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20147 (gst_value_collect_fraction_range),
20148 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20149 (gst_value_set_fraction_range_full),
20150 (gst_value_get_fraction_range_min),
20151 (gst_value_get_fraction_range_max),
20152 (gst_value_serialize_fraction_range),
20153 (gst_value_transform_fraction_range_string),
20154 (gst_value_compare_fraction_range),
20155 (gst_value_deserialize_fraction_range),
20156 (gst_value_intersect_fraction_fraction_range),
20157 (gst_value_intersect_fraction_range_fraction_range),
20158 (gst_value_subtract_fraction_fraction_range),
20159 (gst_value_subtract_fraction_range_fraction),
20160 (gst_value_subtract_fraction_range_fraction_range),
20161 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20162 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20163 (gst_value_transform_string_fraction), (_gst_value_initialize):
20165 Implement fraction ranges and extend GstFraction to support
20166 arithmetic subtraction, as well as deserialization from integer
20167 strings such as "100"
20168 Add a testsuite as for int and double range set operations
20170 2005-11-21 Andy Wingo <wingo@pobox.com>
20172 * gst/gsttaglist.h:
20174 * gst/gststructure.h: Add glib-compat.h.
20176 2005-11-21 Wim Taymans <wim@fluendo.com>
20178 * gst/gstbin.c: (gst_bin_change_state_func):
20181 2005-11-21 Wim Taymans <wim@fluendo.com>
20183 * gst/gstsegment.h:
20184 And add a nice define too.
20186 2005-11-21 Wim Taymans <wim@fluendo.com>
20188 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20189 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20190 (gst_segment_set_duration), (gst_segment_set_last_stop),
20191 (gst_segment_set_seek), (gst_segment_set_newsegment),
20192 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20193 (gst_segment_clip):
20194 * gst/gstsegment.h:
20195 Make binding friendly.
20197 2005-11-21 Andy Wingo <wingo@pobox.com>
20199 * gst/gsttagsetter.h:
20200 * gst/gsttaglist.h:
20201 * gst/gststructure.h:
20203 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20206 * gst/gsterror.c (_gst_core_errors_init):
20207 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20210 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20211 (noinst_HEADERS): noinst the -private.
20213 2005-11-21 Michael Smith <msmith@fluendo.com>
20216 * gst/gstregistry.h:
20217 Remove unimplemented declarations for which we can see no sensible
20220 2005-11-21 Andy Wingo <wingo@pobox.com>
20222 * gst/gst.h: Include glib-compat.h.
20224 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20226 * gst/glib-compat.c: Include the public and the private header.
20228 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20232 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20234 * check/gst/gstevent.c (create_custom_events): Check that
20235 FLUSH_STOP is serialized.
20237 * check/elements/identity.c (event_func):
20238 * check/elements/fakesrc.c (event_func): No stream lock, the core
20241 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20242 stream lock taking, yay.
20244 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20245 ensure that core takes the stream lock.
20247 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20250 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20251 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20252 it already. For the flush start we do take it though so we get the
20253 right preroll state change messages.
20255 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20256 the stream lock here, the core does it for us.
20258 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20259 GST_STREAM_GET_LOCK.
20260 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20261 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20262 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20263 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20264 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20265 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20267 * gst/gstpad.c: Update for stream lock name change.
20269 * gst/base/gstbasesink.c: Update for preroll lock name change.
20271 2005-11-21 Wim Taymans <wim@fluendo.com>
20273 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20274 (gst_clock_get_master):
20276 * gst/gstsystemclock.c: (gst_system_clock_init):
20277 Convert Clock flags to object flags.
20278 Added methods to manage master/slave clocks.
20280 2005-11-21 Wim Taymans <wim@fluendo.com>
20282 * check/gst/gstsegment.c: (GST_START_TEST):
20283 * docs/design/part-TODO.txt:
20284 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20285 (gst_base_sink_event), (gst_base_sink_do_sync),
20286 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20287 (gst_base_sink_query), (gst_base_sink_change_state):
20288 * gst/base/gstbasesink.h:
20289 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20290 (gst_base_src_default_newsegment),
20291 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20292 (gst_base_src_get_range), (gst_base_src_loop),
20293 (gst_base_src_change_state):
20294 * gst/base/gstbasesrc.h:
20295 * gst/base/gstbasetransform.c:
20296 (gst_base_transform_prepare_output_buf),
20297 (gst_base_transform_event), (gst_base_transform_change_state):
20298 * gst/base/gstbasetransform.h:
20299 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20300 (gst_collect_pads_event):
20301 * gst/base/gstcollectpads.h:
20302 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20303 (gst_fake_src_create):
20304 * gst/elements/gstfakesrc.h:
20305 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20306 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20307 (gst_segment_set_last_stop), (gst_segment_set_seek),
20308 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20309 (gst_segment_to_running_time), (gst_segment_clip):
20310 * gst/gstsegment.h:
20311 More segment updates, replace code in plugins with segment
20314 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20316 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20317 Don't ignore sscanf results
20319 2005-11-21 Andy Wingo <wingo@pobox.com>
20321 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20324 * *.c: Ran scripts/update-macros. Oh yes.
20326 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20327 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20330 * scripts/update-macros: New script. Run it on your files to
20331 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20334 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20336 * docs/gst/Makefile.am:
20337 * docs/gst/gstreamer-docs.sgml:
20338 * docs/gst/gstreamer-sections.txt:
20339 * docs/gst/gstreamer.types:
20341 more docs fixes, add new api to the docs
20343 2005-11-21 Andy Wingo <wingo@pobox.com>
20345 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20346 state_broadcast call.
20348 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20350 2005-11-21 Julien MOUTTE <julien@moutte.net>
20352 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20353 function calls for arrays.
20355 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20357 * docs/random/ensonic/media-device-daemon.txt:
20358 wild idea, can this be done?
20359 * docs/gst/gstreamer-sections.txt:
20364 * gst/gstpluginfeature.c:
20368 doc fixes and additions
20370 2005-11-21 Andy Wingo <wingo@pobox.com>
20372 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20373 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20374 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20375 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20376 private to the basesrc implementation.
20378 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20379 behalf of event function if necessary. It should no longer be
20380 necessary to take the stream lock in pad's event functions. Fixes
20383 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20384 * docs/gst/gstreamer-sections.txt:
20385 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20386 (gst_structure_fixate_field_nearest_double),
20387 (gst_structure_fixate_field_boolean):
20388 * gst/gststructure.h:
20389 * win32/common/libgstreamer.def:
20390 * win32/gstreamer.def:
20392 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20395 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20397 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20398 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20399 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20400 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20401 (gst_fdsrc_uri_handler_init):
20402 * gst/elements/gstfdsrc.h:
20403 Port fd:// URI handler from 0.8 to fdsrc
20405 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20407 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20408 (gst_value_serialize_fourcc):
20410 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20411 consistent with our other format defines (#320324).
20413 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20415 * gst/gstvalue.c: (gst_value_is_fixed):
20416 Revert previous commit. Value lists are by definition
20417 not fixed, as they are a list of possible values.
20419 2005-11-21 Andy Wingo <wingo@pobox.com>
20421 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20422 during the stable series if we need it. Fixes #319178.
20424 * gst/gstevent.c (gst_event_new_filler): Removed.
20426 * check/gst/gstevent.c: Update comment about filler events.
20428 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20430 * gst/gstvalue.c: (gst_value_is_fixed):
20431 Should handle both value arrays and value lists.
20433 2005-11-21 Andy Wingo <wingo@pobox.com>
20435 patch by: Alessandro Dessina <alessandro nnva org>
20437 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20438 functions to access arrays. Fixes #321962.
20440 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20442 * docs/gst/gstreamer.types:
20443 gst_collectpads_get_type => gst_collect_pads_get_type.
20445 * gst/base/gstbasetransform.c:
20446 Remove unused SIGNAL_HANDOFF enum.
20448 2005-11-21 Andy Wingo <wingo@pobox.com>
20450 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20451 the event type (upstream, downstream, serialized). Renamed
20452 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20453 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20454 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20456 * gst/gstevent.c: Update for new CUSTOM event names.
20458 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20461 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20464 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20466 * docs/gst/gstreamer-sections.txt:
20467 * win32/common/libgstbase.def:
20468 * win32/libgstbase.def:
20469 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20470 (gst_collect_pads_class_init), (gst_collect_pads_init),
20471 (gst_collect_pads_finalize), (gst_collect_pads_new),
20472 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20473 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20474 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20475 (gst_collect_pads_start), (gst_collect_pads_stop),
20476 (gst_collect_pads_peek), (gst_collect_pads_pop),
20477 (gst_collect_pads_available), (gst_collect_pads_read),
20478 (gst_collect_pads_flush), (gst_collect_pads_event),
20479 (gst_collect_pads_chain):
20480 * gst/base/gstcollectpads.h:
20481 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20482 unimplemented functions as unimplemented. Add padding to
20483 GstCollectData. (#320766, #320423)
20485 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20487 * gst/gstmessage.c:
20488 Improve docs for DURATION message (usage of duration parameter)
20491 2005-11-20 Wim Taymans <wim@fluendo.com>
20493 * check/Makefile.am:
20494 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20498 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20499 (gst_segment_set_seek), (gst_segment_set_newsegment),
20500 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20501 (gst_segment_clip):
20502 * gst/gstsegment.h:
20503 Added segment helper structure and methods. Not fully implemented
20505 Added segment check.
20507 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20509 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20510 Add a deserialisation test for fractions
20511 * examples/metadata/read-metadata.c: (message_loop),
20512 (make_pipeline), (main):
20513 Fix up metadata reading sample.
20514 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20516 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20517 Don't try and fixate empty caps
20518 * gst/gst_private.h:
20519 Wrap in G_BEGIN_DECLS/G_END_DECLS
20520 * gst/gstvalue.c: (gst_value_collect_fraction),
20521 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20522 (gst_value_transform_string_fraction),
20523 (gst_value_compare_fraction):
20524 Add some extra guards to ensure that we don't end up
20525 with an invalid denominator of 0 in a gstfraction and
20526 that fractions always get reduced.
20528 2005-11-20 Wim Taymans <wim@fluendo.com>
20530 * docs/gst/gstreamer-sections.txt:
20532 * gst/gstelement.c:
20541 2005-11-20 Wim Taymans <wim@fluendo.com>
20543 * docs/design/part-TODO.txt:
20545 Make a proper enum of the flag.
20547 2005-11-19 Wim Taymans <wim@fluendo.com>
20549 * docs/design/part-TODO.txt:
20550 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20551 (gst_format_to_quark), (gst_format_register):
20553 * gst/gstquery.c: (_gst_query_initialize),
20554 (gst_query_type_get_name), (gst_query_type_to_quark),
20555 (gst_query_type_register):
20557 Add type to quark and type to string conversions.
20559 2005-11-19 Andy Wingo <wingo@pobox.com>
20561 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20564 2005-11-19 Wim Taymans <wim@fluendo.com>
20566 * docs/design/part-TODO.txt:
20567 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20568 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20569 (gst_bin_handle_message_func):
20571 Make message handling overridable.
20573 2005-11-19 Andy Wingo <wingo@pobox.com>
20575 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20578 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20580 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20581 is a GstClockTime. Fixes #321710.
20583 * gst/gstclock.h (GstClock): Remove offset property. Add
20584 internal_calibration and external_calibration. Fix padding. Pad
20585 also by GstClockTime so we don't run into problems.
20587 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20588 (gst_clock_get_rate_offset): Remove.
20589 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20592 * gst/gstutils.c (g_static_rec_cond_wait)
20593 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20595 * gst/gstbin.c: Remove terrible continue_state prototype.
20597 * gst/gstelement.h (gst_element_continue_state): Make public.
20599 * gst/gstelement.h:
20600 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20601 by continue_state. Fixes #319389.
20603 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20604 Really fixes #168438. However I don't see anywhere where the
20605 filter function is called... stupid GStreamer...
20607 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20608 don't have a dispose function, so it won't get called when the
20609 object is unreffed, but oh well!
20611 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20612 allows a destroy function to be set so user_data can be freed.
20614 (gst_index_set_filter): Call gst_index_set_filter_full.
20616 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20618 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20619 string should produce an error, given the lack of a way to
20620 represent NULL strings. Fixes #165650.
20623 * gst/gstvalue.c (gst_value_array_append_value)
20624 (gst_value_array_prepend_value, gst_value_array_get_size)
20625 (gst_value_array_get_value): New API, copied from
20626 gst_value_list_*, only operates on arrays.
20627 (gst_value_list_append_value, gst_value_list_prepend_value)
20628 (gst_value_list_concat, gst_value_list_get_size)
20629 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20631 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20632 init_list, because it works on both.
20633 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20634 (gst_value_copy_list_or_array): Renamed from copy_list.
20635 (gst_value_free_list_or_array): Renamed from free_list.
20636 (gst_value_collect_list_or_array): Renamed from collect_list.
20637 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20638 (gst_value_list_or_array_peek_pointer): Renamed from
20640 (_gst_value_array_value_table, _gst_value_list_value_table):
20641 Update value table functions.
20642 (gst_value_compare_list_or_array): Renamed from compare_list.
20644 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20647 * gst/gsttaglist.c:
20648 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20649 GstTagList*. Fixes #143472.
20651 * gst/gststructure.h: Clarify what the foreach/map functions can
20652 or can't do to their arguments.
20654 2005-11-18 Wim Taymans <wim@fluendo.com>
20656 * gst/gstclock.c: (gst_clock_set_calibration),
20657 (gst_clock_get_calibration):
20659 Calibration can be set with internal time equal to current
20662 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20668 2005-11-18 Andy Wingo <wingo@pobox.com>
20671 * pkgconfig/gstreamer-net.pc.in:
20672 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20673 * pkgconfig/Makefile.am: Add net pkgconfig files.
20675 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20678 * gst/gstghostpad.c:
20684 2005-11-18 Andy Wingo <wingo@pobox.com>
20686 * gst/net/gstnetclientclock.c: Turn off debugging.
20688 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20689 times connverge somewhat. Can't make a real test.
20691 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20692 integer arithmetic. Return the minimum of the domain, which can be
20693 set as "internal" for gst_clock_set_calibration.
20694 (gst_net_client_clock_observe_times): Call _set_calibration.
20695 (gst_net_client_clock_new): Call _set_calibration instead of
20698 * check/net/gstnetclientclock.c (test_functioning): Use the right
20702 * gst/gstclock.c (gst_clock_get_calibration)
20703 (gst_clock_set_calibration): New functions, obsolete the ones I
20704 added yesterday. Doh. Precision issues mean we have to extrapolate
20705 from a point in the more recent past than 1970.
20706 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20708 (gst_clock_adjust_unlocked): Use the right calibration data.
20710 2005-11-18 Edward Hervey <edward@fluendo.com>
20712 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20713 Also reset the ->current_* values in READY->PAUSED
20715 2005-11-18 Andy Wingo <wingo@pobox.com>
20717 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20718 Whoops, check the right fd. Also add some debugging.
20719 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20720 (do_linear_regression): Add a crapload of debugging. Subtract off
20721 the minimum values from the input series to discard unneeded bits.
20722 Use only int arithmetic. There is still double arithmetic when
20723 calculating the intercept that needs fixing. Return boolean to
20724 indicate success; FALSE would mean the domain or range is too
20725 great. Still needs fixes.
20727 2005-11-18 Wim Taymans <wim@fluendo.com>
20729 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20730 For the current position in stream time, we need to subtract
20733 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20734 Release lock before calling the callback function of async
20737 2005-11-18 Andy Wingo <wingo@pobox.com>
20739 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20740 Port goes all the way to MAXUINT16.
20742 * gst/net/gstnettimeprovider.c: Make the port range the same as
20743 for the kernel: 0 assigns, otherwise ports are less than
20746 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20749 * check/net/gstnetclientclock.c (test_functioning): Add the start
20752 2005-11-18 Wim Taymans <wim@fluendo.com>
20754 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20755 (gst_bin_remove_func), (bin_bus_handler):
20757 Removing a clock provider from a bin, triggers a clock lost message
20758 so that a new clock will be selected.
20759 Adding a clock to a bin triggers a clock provider message.
20760 Make sure we reselect a clock when we received a clock lost message.
20761 Keep a reference to the element that provided the clock.
20763 2005-11-18 Andy Wingo <wingo@pobox.com>
20765 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20766 the clock initially so it produces values around the base time.
20767 (gst_net_client_clock_class_init): Typo fix.
20768 (gst_net_client_clock_thread): Add note on when the socket gets
20771 2005-11-17 Wim Taymans <wim@fluendo.com>
20773 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20774 Free remote and local time arrays.
20776 2005-11-17 Wim Taymans <wim@fluendo.com>
20778 * gst/net/gstnetclientclock.c: (do_linear_regression),
20779 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20780 Fix compilation, uninitialized vars and a forgotten continue.
20782 2005-11-17 Andy Wingo <wingo@pobox.com>
20784 * check/Makefile.am (check_PROGRAMS):
20785 * check/net/gstnetclientclock.c: Add a most minimal test for the
20786 net client clock. More to come later.
20788 * gst/net/gstnet.h:
20789 * gst/net/Makefile.am: Add netclientclock.
20791 * gst/net/gstnetclientclock.h:
20792 * gst/net/gstnetclientclock.c: New files, implement an untested
20793 GstClock that takes its time from a network time provider.
20794 Implements the algorithm in network-clock.scm.
20796 * tests/network-clock.scm (*window-size*): Rename from
20798 * tests/network-clock.scm (network-time):
20799 * tests/network-clock-utils.scm (q-push): Update callers.
20801 2005-11-17 Wim Taymans <wim@fluendo.com>
20803 * gst/gstbin.c: (gst_bin_provide_clock_func),
20804 (gst_bin_sort_iterator_new):
20805 And unref the child too..
20807 2005-11-17 Wim Taymans <wim@fluendo.com>
20809 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20810 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20811 Refactor the sort iterator so it can be used while holding the
20813 Make clock selection select a clock closest to the source.
20815 2005-11-17 Michael Smith <msmith@fluendo.com>
20817 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20818 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20820 Anonymous structs are a gcc (and some other compilers) extension, so
20821 don't use them. Since this is only for ABI-compatibility, and our
20822 API/ABI freeze is over in a few days, this whole thing will only
20823 last a few days, so don't bother trying to think up a meaningful
20824 name for the struct.
20826 2005-11-17 Andy Wingo <wingo@pobox.com>
20828 * gst/gstclock.h (GstClock): Add rate and offset properties,
20829 preserving ABI stability. Add rate/offset accessors. Will file bug
20830 for the freeze break.
20832 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20833 and offset, trying to keep precision and avoiding
20834 underflow/overflow.
20835 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20836 functions. Make gst_clock_set_time_adjust obsolete.
20837 (gst_clock_set_time_adjust): Note that this function is obsolete.
20838 Will file bug soon.
20840 * gst/base/gstbasetransform.h: Make the ABI-stability hack
20841 greppable by using GST_PADDING-1+1.
20843 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
20845 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20847 * gst/gstmessage.c: (gst_message_parse_clock_lost):
20848 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20850 * gst/gstpadtemplate.h:
20851 * gst/gstpluginfeature.h:
20852 Don't use c++ style comments in headers (#321638).
20854 2005-11-16 Andy Wingo <wingo@pobox.com>
20856 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20859 * check/net/gstnettimeprovider.c: Check to see that the time
20860 provider actually provides times. Works, yo!
20862 2005-11-16 Wim Taymans <wim@fluendo.com>
20864 * check/Makefile.am:
20867 * check/elements/fakesrc.c: (GST_START_TEST):
20868 Set element to NULL before disposing it.
20870 2005-11-16 Andy Wingo <wingo@pobox.com>
20872 * gst/net/Makefile.am:
20873 * gst/net/gstnet.h:
20874 * gst/net/gstnettimeprovider.c:
20875 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20876 provider, include it from gstnet.h, and add it to the build.
20878 * gst/net/gstnettimepacket.h:
20879 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20880 sending and receiving.
20882 2005-11-16 Wim Taymans <wim@fluendo.com>
20884 * check/Makefile.am:
20885 Enable valgrind check.
20887 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
20888 (gst_fake_src_alloc_buffer):
20891 2005-11-16 Wim Taymans <wim@fluendo.com>
20893 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
20894 Call parent finalize too.
20896 2005-11-16 Wim Taymans <wim@fluendo.com>
20898 * check/Makefile.am:
20899 Enable valgrind check that should work fine now.
20901 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20902 * gst/gstqueue.c: (gst_queue_init):
20903 Fix memleaks in pad allocation.
20905 2005-11-16 Andy Wingo <wingo@pobox.com>
20907 * gst/net/Makefile.am:
20908 * gst/net/gstnet.h: New part of core to hold network elements and
20909 objects. Put in core because it exposes API that applications want
20910 to use. The library is named libgstnet-tempname right now because
20911 of the existing libgstnet in gst-plugins-base. Solution is
20912 probably to rename the one in plugins-base; will file a bug for
20915 * gst/net/gstnettimeprovider.c:
20916 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
20917 get_time call over the network.
20920 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
20922 * check/Makefile.am:
20923 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20924 get additions shortly.
20926 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20928 * gst/gstpad.c: (gst_pad_new_from_static_template):
20930 add gst_pad_new_from_static_template functions
20931 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
20932 (gst_check_setup_sink_pad):
20933 * gst/elements/gsttee.c: (gst_tee_init):
20936 2005-11-16 Wim Taymans <wim@fluendo.com>
20938 * gst/gstpad.c: (gst_pad_pause_task):
20939 Removed warning, it's not really an error either.
20941 2005-11-16 Wim Taymans <wim@fluendo.com>
20943 * gst/base/gstbasetransform.c:
20944 (gst_base_transform_prepare_output_buf),
20945 (gst_base_transform_event):
20946 Check if the caps are NULL, this can happen if the element
20947 is shutting down and the pad caps are set to NULL.
20949 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20951 * gst/elements/gsttee.c: (gst_tee_init):
20952 fix pad template leak in tee
20954 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20956 * gst/glib-compat.c: (g_value_dup_gst_object):
20957 * gst/glib-compat.h:
20958 * gst/gstpad.c: (gst_pad_set_property):
20959 use gst_object_ref when setting the pad template; this will
20960 trigger the pad template leaks on GLib 2.6 and the slaves
20962 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20964 * gst/glib-compat.c: (gst_flags_get_first_value):
20965 * gst/glib-compat.h:
20966 * gst/gstregistryxml.c:
20967 remove functions copied from GLib 2.6
20969 2005-11-16 Michael Smith <msmith@fluendo.com>
20972 Don't link against VALGRIND_LIBS. That was always the wrong thing to
20973 do, but only breaks with newer valgrind versions. We're not a
20974 valgrind tool, we have no link-time dependencies on libcoregrind.
20976 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20978 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20980 * gst/gstmessage.h:
20983 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20985 * gst/base/gstbasesrc.c: (gst_base_src_init):
20986 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20987 * gst/gstqueue.c: (gst_queue_init):
20988 * gst/gstregistryxml.c: (load_feature):
20989 Revert all these unrefs, they don't even pass make check !
20991 2005-11-15 Johan Dahlin <johan@gnome.org>
20993 * gst/base/gstbasesrc.c: (gst_base_src_init):
20994 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20995 * gst/gstqueue.c: (gst_queue_init):
20996 Free pad templates, fixes a couple of leaks.
20998 2005-11-15 Daniel Fischer <dan at f3c dot com>
21000 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21002 * gst/gstpad.c: (gst_pad_get_property):
21003 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21004 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21007 2005-11-15 Wim Taymans <wim@fluendo.com>
21012 2005-11-15 Andy Wingo <wingo@pobox.com>
21014 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21016 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21017 using GST_CLOCK_TIME_NONE to disable base time management.
21018 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21019 time if it was NONE before.
21020 (gst_pipeline_change_state): Only munge the base time if
21021 stream_time != GST_CLOCK_TIME_NONE.
21023 * check/gst/gstpipeline.c (test_base_time): Punt around the
21024 problem of the probe not being called, because that's not the
21025 issue I'm looking at. Add a check that setting stream_time to NONE
21026 disables base time management.
21028 2005-11-15 Wim Taymans <wim@fluendo.com>
21030 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21031 segment_stop == -1 at startup.
21033 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21034 (gst_base_transform_change_state):
21035 Init segment values at start.
21037 2005-11-15 Wim Taymans <wim@fluendo.com>
21039 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21040 0 segment values are 0 in any format.
21042 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21043 * gst/base/gstbasetransform.h:
21044 Parse newsegment correctly in basetransform
21046 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21047 Sync to clock using updated segment values.
21049 2005-11-15 Andy Wingo <wingo@pobox.com>
21051 * check/gst/gstpipeline.c (test_base_time): Add check that the
21052 base time and stream time are reset correctly.
21054 2005-11-15 Wim Taymans <wim@fluendo.com>
21056 * docs/design/part-TODO.txt:
21057 Some more TODO items.
21059 2005-11-15 Andy Wingo <wingo@pobox.com>
21061 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21062 error if the user selected "no clock" as the clocking method.
21064 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21065 timestamps with live capture.
21067 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21068 is 0 but we are a live source, timestamp the buffers using the
21071 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21073 * docs/gst/gstreamer-sections.txt:
21075 * gst/gstghostpad.c:
21080 2005-11-14 Wim Taymans <wim@fluendo.com>
21083 add suppressions from Wim's Debian machine
21085 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21088 add suppressions from Andy's AMD64 Ubuntu machine
21090 2005-11-14 Andy Wingo <wingo@pobox.com>
21092 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21093 STATE_LOCK not necessary. Fixes #311489.
21095 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21098 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21099 this function is not implemented.
21101 2005-11-14 Julien MOUTTE <julien@moutte.net>
21103 * gst/base/gstbasetransform.c:
21104 (gst_base_transform_prepare_output_buf):
21105 Ref the source pad caps while we need them.
21108 2005-11-11 Wim Taymans <wim@fluendo.com>
21110 * docs/gst/gstreamer-sections.txt:
21111 Added some docs for GstCollectData.
21113 * gst/base/gstadapter.c:
21114 Some small code example fix.
21116 * gst/base/gstcollectpads.c:
21117 * gst/base/gstcollectpads.h:
21118 Document some more.
21120 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21122 * configure.ac: back to HEAD
21124 === release 0.9.5 ===
21126 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21129 releasing 0.9.5, "Bike Lunch Day"
21131 2005-11-11 Wim Taymans <wim@fluendo.com>
21133 * gst/gstbuffer.c: (_gst_buffer_copy):
21136 * gst/gstcaps.c: (gst_caps_is_equal):
21138 Make _is_equal fast in the trivial cases.
21140 * gst/gstminiobject.c:
21141 * gst/gstminiobject.h:
21142 More docs. Spifify .h file.
21147 2005-11-11 Wim Taymans <wim@fluendo.com>
21149 * gst/base/gstbasetransform.c:
21150 (gst_base_transform_prepare_output_buf),
21151 (gst_base_transform_handle_buffer):
21153 If we're processing a buffer and need to allocate an output
21154 buffer, we cannot accept a format change. If we did get a
21155 format change, we have to alloc a buffer ourselves of the
21158 2005-11-11 Wim Taymans <wim@fluendo.com>
21160 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21161 While checking the flag for reentrancy in the gstcaps function
21162 is nice to detect recursive invocations, it also makes it
21163 impossible to call getcaps from multiple threads, which must be
21164 possible. So, checking for recursive calls has to go.
21166 2005-11-11 Michael Smith <msmith@fluendo.com>
21168 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21169 Don't sync on buffers that fall partially outside our current
21170 segment. Prevents an assertion failure/abort playing some files.
21172 2005-11-10 Andy Wingo <wingo@pobox.com>
21174 * check/gst/gstbin.c (test_message_state_changed_children): Style
21177 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21178 gst_bus_poll with the signal watch. Ensures that poll and a signal
21179 watch see the same messages.
21181 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21182 a poll and a watch at the same time get the same messages.
21184 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21186 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21187 * gst/gstcaps.c: (gst_caps_intersect):
21188 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21189 and it's not needed.
21191 2005-11-10 Wim Taymans <wim@fluendo.com>
21193 * docs/design/part-TODO.txt:
21196 2005-11-10 Wim Taymans <wim@fluendo.com>
21198 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21199 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21200 (gst_base_src_do_sync), (gst_base_src_get_range):
21201 Implement clock sync in base class.
21203 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21205 patch by: Tim-Philipp Müller <tim at centricular dot net>
21207 * gst/gststructure.c: (gst_structure_parse_field),
21208 (gst_structure_from_string):
21209 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21210 so that gst_parse_launch() can deal with spaces in filtered link
21211 caps (fixes #164479)
21212 * check/gst/capslist.h:
21213 * check/gst/gststructure.c: (GST_START_TEST):
21214 add unit tests for this change
21216 2005-11-10 Wim Taymans <wim@fluendo.com>
21218 * docs/gst/gstreamer-sections.txt:
21219 * gst/gstelement.c:
21220 * gst/gstelement.h:
21221 Fix docs, move some STATE macros to private.
21223 2005-11-10 Wim Taymans <wim@fluendo.com>
21225 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21226 Added check for bug #317341
21230 Some more spiffifying.
21232 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21233 Call peer linkfunction if we are a source pad. Totally fixes
21237 Update docs, source pads should call the peer linkfunction
21238 so they can atomically perform the pad link.
21240 2005-11-09 Wim Taymans <wim@fluendo.com>
21244 Uber-spiffy-spiffify some more.
21246 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21248 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21249 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21250 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21251 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21252 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21253 * gst/gstpad.c: (gst_pad_init):
21254 Use GST_DEBUG_FUNCPTR() more extensively.
21256 2005-11-09 Wim Taymans <wim@fluendo.com>
21258 * gst/gstobject.c: (gst_object_class_init):
21260 Documentation fixes.
21262 2005-11-09 Edward Hervey <edward@fluendo.com>
21264 * gst/gsttypefindfactory.c:
21267 2005-11-09 Edward Hervey <edward@fluendo.com>
21269 * gst/base/gsttypefindhelper.c:
21270 * gst/gsttypefind.c:
21271 * gst/gsttypefind.h:
21274 2005-11-09 Wim Taymans <wim@fluendo.com>
21276 * gst/gstiterator.c:
21283 2005-11-09 Wim Taymans <wim@fluendo.com>
21289 2005-11-09 Wim Taymans <wim@fluendo.com>
21291 * docs/gst/gstreamer-sections.txt:
21292 Moved the message async delivery private lock and cond
21293 to the private section.
21295 * gst/gstmessage.c:
21296 * gst/gstmessage.h:
21299 2005-11-09 Edward Hervey <edward@fluendo.com>
21301 * docs/gst/gstreamer-sections.txt:
21304 Document GstURIHandler
21306 2005-11-09 Wim Taymans <wim@fluendo.com>
21308 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21309 (gst_iterator_find_custom):
21310 * gst/gstiterator.h:
21313 2005-11-09 Wim Taymans <wim@fluendo.com>
21316 Document another field.
21318 * gst/gststructure.c:
21319 * gst/gststructure.h:
21322 2005-11-09 Wim Taymans <wim@fluendo.com>
21325 Documented structs.
21327 2005-11-09 Wim Taymans <wim@fluendo.com>
21329 * docs/gst/gstreamer-sections.txt:
21330 Added some new macros.
21337 2005-11-09 Wim Taymans <wim@fluendo.com>
21339 * docs/design/part-TODO.txt:
21340 Some more items for the TODO
21346 2005-11-09 Andy Wingo <wingo@pobox.com>
21348 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21349 to work on something else now tho...
21351 * gst/base/gstadapter.c: More adapter docs.
21353 * gst/elements/gstfilesink.c (gst_file_sink_start)
21354 (gst_file_sink_stop): New functions, replace the state change
21356 (gst_file_sink_class_init): Hook up the start and stop functions.
21357 (gst_file_sink_base_init): Don't set the state change handler any
21358 more. It was a bit ugly too, being set from here...
21359 (gst_file_sink_get_property, gst_file_sink_set_property):
21361 (gst_file_sink_set_location): More robust check that doesn't call
21362 GST_STATE. Ugggggg.
21364 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21366 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21367 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21369 2005-11-08 Wim Taymans <wim@fluendo.com>
21371 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21372 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21373 (gst_base_sink_chain), (gst_base_sink_change_state):
21374 * gst/base/gstbasesink.h:
21375 * gst/base/gstbasesrc.h:
21376 * gst/gstelement.h:
21378 Avoid excessive typechecking in macros.
21380 * gst/gstminiobject.c: (gst_mini_object_get_type),
21381 (gst_mini_object_init), (gst_mini_object_new),
21382 (gst_mini_object_free):
21383 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21384 (gst_object_finalize):
21385 Remove cruft code, optimize alloc_trace.
21387 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21389 * docs/faq/gst-uninstalled:
21390 fix up PS1 for systems that try to reset it
21392 2005-11-07 Wim Taymans <wim@fluendo.com>
21394 * gst/base/gstbasesrc.c: (gst_base_src_init),
21395 (gst_base_src_get_range):
21396 Set the segment_end to -1 initially. Fixed typefind.
21398 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21400 * gst/base/gstadapter.c:
21401 Debug category should be 'adapter', not 'GstAdapter'.
21403 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21404 (gst_collectpads_class_init), (gst_collectpads_init),
21405 (gst_collectpads_peek), (gst_collectpads_pop),
21406 (gst_collectpads_event), (gst_collectpads_chain):
21407 Add debug category and some debugging output. Use boilerplate
21408 macros. Remove some extraneous words from docs.
21410 2005-11-05 Andy Wingo <wingo@pobox.com>
21412 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21415 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21417 * docs/gst/gstreamer-sections.txt:
21420 * gst/gstminiobject.h:
21425 2005-11-04 Wim Taymans <wim@fluendo.com>
21427 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21428 Small update to stop at the configured segment_end
21431 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21433 * gst/gstregistry.c:
21434 * gst/gstregistry.h:
21437 2005-11-04 Edward Hervey <edward@fluendo.com>
21439 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21440 Check if we are doing a segment seek and have arrived at the
21441 end of that segment.
21443 2005-11-04 Wim Taymans <wim@fluendo.com>
21445 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21446 Don't leak a mutex unlock in case of an error.
21451 2005-11-04 Wim Taymans <wim@fluendo.com>
21453 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21455 Get the context to wake up only once.
21457 2005-11-03 Wim Taymans <wim@fluendo.com>
21459 * check/states/sinks.c: (GST_START_TEST):
21460 Uncomment fixed check.
21462 * docs/design/part-TODO.txt:
21465 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21466 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21467 (gst_base_sink_get_position):
21468 If we are going to PLAYING, post the right pending state
21469 when we post the intermediate paused message.
21471 * gst/gstelement.c: (gst_element_continue_state),
21472 (gst_element_set_state_func), (gst_element_change_state):
21473 Don't post state changes that were between the same state
21474 and were not ASYNC.
21476 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21478 * docs/gst/gstreamer-sections.txt:
21481 * gst/gstminiobject.h:
21484 more docs and doc style fixes
21486 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21488 * docs/gst/gstreamer-sections.txt:
21489 * gst/gstelement.c:
21490 * gst/gstminiobject.c:
21493 2005-11-03 Andy Wingo <wingo@pobox.com>
21495 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21496 state-changed messages actually have the right order and the right
21499 2005-11-03 Wim Taymans <wim@fluendo.com>
21501 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21502 Added some more checks. Specifically the case where NO_PREROLL
21503 elements are in the pipeline.
21505 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21506 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21507 (gst_base_sink_get_position):
21508 Post READY->PAUSED state change messages too.
21509 Fix bug where VOID was posted as pending state...
21511 * gst/gstbin.c: (gst_bin_recalc_state):
21512 use _element_continue_state() to continue the state change.
21514 * gst/gstelement.c: (gst_element_continue_state),
21515 (gst_element_commit_state), (gst_element_set_state_func),
21516 (gst_element_change_state), (gst_element_change_state_func):
21517 Lots of state change cleanups, assign the STATE_RETURN in
21518 a new continue_state() function that also propagates the
21519 last return value from a state change to the app.
21520 Update some debug statements with proper category.
21522 2005-11-03 Wim Taymans <wim@fluendo.com>
21524 * docs/design/part-events.txt:
21525 * docs/design/part-gstpipeline.txt:
21526 * docs/design/part-messages.txt:
21527 * docs/design/part-overview.txt:
21528 * docs/design/part-seeking.txt:
21529 * docs/design/part-states.txt:
21530 * docs/design/part-trickmodes.txt:
21531 * docs/manual/advanced-position.xml:
21532 Small docs updates.
21535 People think !! is ugly, this looks better.
21537 * gst/gstpad.c: (gst_pad_set_blocked_async):
21538 Remove !! since it's fixed elsewhere now.
21540 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21542 * gst/gstminiobject.h:
21544 Add !! to _FLAG_IS_SET macros to make the result boolean.
21546 2005-11-03 Edward Hervey <edward@fluendo.com>
21548 * gst/gstpad.c: (gst_pad_set_blocked_async):
21549 comparing a flag and a gboolean rarely returns coherent results...
21550 Added two characters (!!) to make that work correctly.
21552 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21554 * gst/gstbus.c: (gst_bus_class_init):
21557 * gst/gstqueue.c: (gst_queue_loop):
21558 Don't assume a miniobject that isn't a buffer is an
21559 event (it could be that there is a refcounting
21560 problem somewhere and the pointer is stale and
21561 refers to an already destroyed miniobject).
21563 2005-11-03 Julien MOUTTE <julien@moutte.net>
21565 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21567 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21569 * docs/manual/advanced-position.xml:
21570 Update seek example and explanations to current 0.9 API.
21572 * gst/elements/gsttypefindelement.c:
21573 (gst_type_find_element_activate):
21574 Remove FIXME comment now that the found caps
21577 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21579 * gst/gstregistryxml.c: (load_feature):
21580 Add another GST_STR_NULL instance
21582 2005-11-02 Edward Hervey <edward@fluendo.com>
21584 * gst/gstpad.c: (handle_pad_block):
21585 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21587 2005-11-02 Wim Taymans <wim@fluendo.com>
21592 * gst/gstelement.c: (gst_element_commit_state):
21593 Remove unused value.
21595 * gst/gstiterator.c:
21596 Mention that the returned element is reffed in the docs.
21598 2005-11-02 Wim Taymans <wim@fluendo.com>
21600 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21601 (gst_pad_push), (gst_pad_push_event):
21602 Unlock blocked pads when they are flushed.
21604 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21607 * docs/gst/gstreamer-sections.txt:
21610 * gst/gstregistry.c: (gst_registry_scan_path_level):
21611 fix for a nasty little missed situation where an installed plug-in
21612 which was in the cache did not get overridden by an uninstalled one
21613 which was earlier in the plugin path because the newly created plugin
21614 for the uninstalled one (not in the registry) didn't get its
21615 ->registered set to TRUE
21617 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21619 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21620 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21621 (gst_collectpads_is_active), (gst_collectpads_collect),
21622 (gst_collectpads_collect_range), (gst_collectpads_start),
21623 (gst_collectpads_stop), (gst_collectpads_peek),
21624 (gst_collectpads_pop), (gst_collectpads_available),
21625 (gst_collectpads_read), (gst_collectpads_flush):
21626 Guard public API with assertions.
21629 Fix docs for gst_pad_set_link_function().
21631 2005-11-02 Johan Dahlin <johan@gnome.org>
21633 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21634 Unref found_caps after we used it.
21636 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21638 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21639 Don't try to ref NULL.
21641 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21643 * win32/common/config.h.in:
21644 provide a GST_FUNCTION that just gives a string for now
21646 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21648 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21649 (gst_object_flags_get_type), (register_gst_bin_flags),
21650 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21651 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21652 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21653 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21654 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21655 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21656 (gst_clock_flags_get_type), (register_gst_state),
21657 (gst_state_get_type), (register_gst_state_change_return),
21658 (gst_state_change_return_get_type), (register_gst_state_change),
21659 (gst_state_change_get_type), (register_gst_element_flags),
21660 (gst_element_flags_get_type), (register_gst_core_error),
21661 (gst_core_error_get_type), (register_gst_library_error),
21662 (gst_library_error_get_type), (register_gst_resource_error),
21663 (gst_resource_error_get_type), (register_gst_stream_error),
21664 (gst_stream_error_get_type), (register_gst_event_type),
21665 (gst_event_type_get_type), (register_gst_seek_type),
21666 (gst_seek_type_get_type), (register_gst_seek_flags),
21667 (gst_seek_flags_get_type), (register_gst_format),
21668 (gst_format_get_type), (register_gst_index_certainty),
21669 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21670 (gst_index_entry_type_get_type),
21671 (register_gst_index_lookup_method),
21672 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21673 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21674 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21675 (gst_index_flags_get_type), (register_gst_debug_level),
21676 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21677 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21678 (gst_iterator_result_get_type), (register_gst_iterator_item),
21679 (gst_iterator_item_get_type), (register_gst_message_type),
21680 (gst_message_type_get_type), (register_gst_mini_object_flags),
21681 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21682 (gst_pad_link_return_get_type), (register_gst_flow_return),
21683 (gst_flow_return_get_type), (register_gst_activate_mode),
21684 (gst_activate_mode_get_type), (register_gst_pad_direction),
21685 (gst_pad_direction_get_type), (register_gst_pad_flags),
21686 (gst_pad_flags_get_type), (register_gst_pad_presence),
21687 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21688 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21689 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21690 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21691 (gst_plugin_flags_get_type), (register_gst_rank),
21692 (gst_rank_get_type), (register_gst_query_type),
21693 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21694 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21695 (gst_tag_flag_get_type), (register_gst_task_state),
21696 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21697 (gst_alloc_trace_flags_get_type),
21698 (register_gst_type_find_probability),
21699 (gst_type_find_probability_get_type), (register_gst_uri_type),
21700 (gst_uri_type_get_type), (register_gst_parse_error),
21701 (gst_parse_error_get_type):
21702 * win32/common/gstversion.h:
21703 update win32 copies
21705 2005-11-01 Luca Ognibene <luogni@tin.it>
21708 fix docs. popt is dead, long live GOption.
21710 2005-10-31 Wim Taymans <wim@fluendo.com>
21715 2005-10-31 Andy Wingo <wingo@pobox.com>
21719 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21721 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21722 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21723 the possibility of deadlocks here if code calling notify() or
21724 set() has a lock that can be taken in another notify handler (ABBA
21725 with class lock and e.g. python GIL state lock).
21727 2005-10-28 Julien MOUTTE <julien@moutte.net>
21729 * gst/gstbus.c: Doc updates.
21731 2005-10-28 Wim Taymans <wim@fluendo.com>
21733 * docs/design/part-TODO.txt:
21734 * gst/gstiterator.c:
21735 * gst/gstsystemclock.c:
21736 * gst/gstsystemclock.h:
21739 2005-10-28 Edward Hervey <edward@fluendo.com>
21741 * docs/gst/gstreamer-docs.sgml:
21742 * docs/gst/gstreamer-sections.txt:
21743 the GstURIType documentation page is private, it only defines GstURIType
21744 which should be defined in the GstURIHandler page
21746 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21748 * gst/gstbin.c: (gst_bin_class_init):
21751 Documentation updates.
21753 2005-10-28 Wim Taymans <wim@fluendo.com>
21755 * docs/gst/gstreamer-sections.txt:
21758 Documented the clocks.
21760 2005-10-28 Stefan Kost <ensonic@users.sf.net>
21762 * docs/gst/gstreamer-sections.txt:
21763 move some macros to private sections
21764 * gst/gstminiobject.c:
21765 * gst/gstminiobject.h:
21766 add descriptions provided by ds and some more
21768 mark macro as to be removed
21770 2005-10-28 Wim Taymans <wim@fluendo.com>
21772 * docs/design/part-TODO.txt:
21773 Add an item to TODO.
21775 * gst/gstiterator.c: (gst_iterator_fold),
21776 (gst_iterator_find_custom):
21777 * gst/gstiterator.h:
21780 2005-10-28 Wim Taymans <wim@fluendo.com>
21782 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21783 (gst_base_transform_init):
21786 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21787 An EOS event marks the queue as completely filled.
21789 2005-10-27 Wim Taymans <wim@fluendo.com>
21791 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21792 (gst_base_sink_do_sync), (gst_base_sink_get_position):
21793 Some more debugging.
21795 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21796 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21797 (gst_base_transform_event), (gst_base_transform_getrange),
21798 (gst_base_transform_chain):
21799 * gst/base/gstbasetransform.h:
21801 Protect transform and concurrent buffer alloc with a new lock.
21802 Try not to break ABI/API.
21804 2005-10-27 Wim Taymans <wim@fluendo.com>
21806 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21807 (gst_base_src_init), (gst_base_src_query),
21808 (gst_base_src_default_newsegment),
21809 (gst_base_src_configure_segment), (gst_base_src_do_seek),
21810 (gst_base_src_send_event), (gst_base_src_event_handler),
21811 (gst_base_src_pad_get_range), (gst_base_src_loop),
21812 (gst_base_src_unlock), (gst_base_src_default_negotiate),
21813 (gst_base_src_start), (gst_base_src_deactivate),
21814 (gst_base_src_activate_push), (gst_base_src_change_state):
21815 Move some stuff around and cleanup things.
21817 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
21819 * gst/base/gstbasesrc.c: (gst_base_src_query):
21820 Add missing break statements.
21822 2005-10-27 Wim Taymans <wim@fluendo.com>
21824 * check/gst/gstbin.c: (GST_START_TEST):
21825 An extra refcount is taken in basesrc.
21827 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21828 (gst_base_src_get_range), (gst_base_src_pad_get_range),
21829 (gst_base_src_loop):
21830 Small cleanups, check for flushing after being unlocked from the
21831 LIVE_LOCK. take refcounts correctly (not yet everywhere).
21832 Don't send out EOS when going to READY.
21834 2005-10-27 Wim Taymans <wim@fluendo.com>
21836 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21837 (gst_base_sink_get_position):
21840 * gst/gstbin.c: (message_check), (bin_replace_message),
21841 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21842 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21843 (bin_query_duration_init), (bin_query_duration_fold),
21844 (bin_query_duration_done), (bin_query_generic_fold),
21846 * tools/gst-launch.c: (main):
21849 2005-10-26 Stefan Kost <ensonic@users.sf.net>
21851 * examples/controller/audio-example.c: (main):
21852 * examples/queue/queue.c: (event_loop):
21853 * gst/base/gstbasetransform.h:
21854 * gst/gstelement.c: (gst_element_send_event):
21856 * gst/gstpad.c: (gst_pad_send_event):
21859 changing log priority in error situations
21861 2005-10-25 Wim Taymans <wim@fluendo.com>
21863 * gst/gstbin.c: (message_check), (bin_replace_message),
21864 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21865 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21866 (bin_query_duration_init), (bin_query_duration_fold),
21867 (bin_query_duration_done), (bin_query_generic_fold),
21869 Some doc and debug updates.
21870 Cache previously requested query DURATION for speed. invalidate
21871 cached duration if element posts a DURATION message.
21873 2005-10-25 Wim Taymans <wim@fluendo.com>
21875 * docs/design/part-TODO.txt:
21878 * gst/gstbin.c: (message_check), (bin_replace_message),
21879 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21880 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21881 (bin_query_duration_init), (bin_query_duration_fold),
21882 (bin_query_duration_done), (bin_query_generic_fold),
21884 Handle SEGMENT_START/DONE messages correctly.
21885 More evolved query algorithm that handles duration queries
21888 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
21889 (gst_element_get_state_func), (gst_element_abort_state),
21890 (gst_element_commit_state), (gst_element_lost_state):
21891 Some more debugging.
21893 * gst/gstmessage.h:
21896 2005-10-25 Wim Taymans <wim@fluendo.com>
21898 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21899 Don't use invalid stream_time.
21901 * gst/gstevent.c: (gst_event_new_newsegment):
21902 stream_time in newsegment cannot be undefined.
21904 2005-10-24 Wim Taymans <wim@fluendo.com>
21909 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21911 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21913 2005-10-24 Stefan Kost <ensonic@users.sf.net>
21915 * docs/libs/tmpl/gstdparam.sgml:
21916 * docs/libs/tmpl/gstdplinint.sgml:
21917 * docs/libs/tmpl/gstdpman.sgml:
21918 * docs/libs/tmpl/gstdpsmooth.sgml:
21919 * docs/libs/tmpl/gstunitconvert.sgml:
21922 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
21927 === release 0.9.4 ===
21929 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21932 releasing 0.9.4, "Tyrannosaurus Rex"
21934 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
21936 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21937 (gst_file_sink_get_current_offset):
21938 Use fseeko() and ftello() if available. When falling back on
21939 lseek() to get the current offset, fflush() first to make sure
21940 everything is up-to-date and we get the right offset.
21942 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21944 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21945 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21946 * gst/gsterror.c: (_gst_stream_errors_init):
21948 * gst/gstqueue.c: (gst_queue_loop):
21950 remove prematurely added error category and clean up the instances
21952 2005-10-21 Wim Taymans <wim@fluendo.com>
21954 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21955 (gst_base_sink_get_position), (gst_base_sink_query),
21956 (gst_base_sink_change_state):
21957 Simply set the right flag when going to playing, that's all
21958 we need to do instead of calling a function inside the object
21959 lock (that could take the lock as well and deadlock)
21961 2005-10-21 Wim Taymans <wim@fluendo.com>
21963 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
21964 (gst_base_src_loop):
21965 Don't warn, the peer element knows what to do best when
21966 the seek failed, it might try something else.
21968 2005-10-21 Wim Taymans <wim@fluendo.com>
21970 * gst/base/gstbasesrc.c: (gst_base_src_init),
21971 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21974 2005-10-21 Wim Taymans <wim@fluendo.com>
21976 * docs/design/part-segments.txt:
21979 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
21980 Correctly set caps, even on the subbufer.
21982 2005-10-21 Wim Taymans <wim@fluendo.com>
21984 * docs/gst/gstreamer-docs.sgml:
21985 * docs/gst/gstreamer-sections.txt:
21986 * gst/gstelement.h:
21989 * gst/gstmessage.h:
21992 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
21996 And 2% more doc coverage.
21998 2005-10-21 Andy Wingo <wingo@pobox.com>
22000 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22001 position reporting.
22003 2005-10-20 Wim Taymans <wim@fluendo.com>
22005 * gst/gsterror.c: (gst_error_get_message):
22008 * gst/gststructure.c:
22013 2005-10-20 Wim Taymans <wim@fluendo.com>
22018 Another 1% more coverage.
22020 2005-10-20 Wim Taymans <wim@fluendo.com>
22022 * docs/gst/gstreamer-sections.txt:
22023 * gst/gstelement.c: (gst_element_get_state_func),
22024 (gst_element_abort_state), (gst_element_commit_state),
22025 (gst_element_lost_state):
22027 * gst/gstquery.c: (gst_query_set_position),
22028 (gst_query_parse_position), (gst_query_set_duration),
22029 (gst_query_parse_duration), (gst_query_new_convert):
22031 Yay! 1% more docs coverage.
22033 2005-10-20 Wim Taymans <wim@fluendo.com>
22036 * gst/gstquery.c: (gst_query_set_position),
22037 (gst_query_parse_position), (gst_query_set_duration),
22038 (gst_query_parse_duration), (gst_query_new_convert):
22040 * gst/gstutils.c: (gst_element_query_convert):
22042 Docs and consistency fixes.
22044 2005-10-20 Wim Taymans <wim@fluendo.com>
22050 2005-10-20 Wim Taymans <wim@fluendo.com>
22052 * gst/gstbin.c: (message_check), (bin_replace_message),
22053 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22054 (update_degree), (gst_bin_sort_iterator_next),
22055 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22056 Reworked the message handling a bit, cache the messages instead of
22057 only the senders. alows us to do more in the future.
22059 2005-10-20 Wim Taymans <wim@fluendo.com>
22061 * docs/design/part-TODO.txt:
22064 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22065 (gst_base_sink_query):
22066 Don't use clock time to report position when in EOS.
22068 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22070 * tools/gst-inspect.c: (print_interfaces),
22071 (print_element_properties_info), (print_element_info):
22072 Fix interface output with gst-inspect -a; don't print
22073 newlines after double/float properties.
22075 2005-10-20 Wim Taymans <wim@fluendo.com>
22077 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22078 (gst_base_sink_query):
22079 Speed up current position calculation.
22081 * gst/base/gstbasesrc.c: (gst_base_src_query),
22082 (gst_base_src_default_newsegment):
22083 Correctly set stream position in newsegment.
22085 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22086 (update_degree), (gst_bin_sort_iterator_next),
22087 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22088 * gst/gstmessage.c: (gst_message_new_custom):
22089 Clean up debugging info
22091 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22092 (gst_queue_loop), (gst_queue_handle_src_query):
22095 2005-10-19 Wim Taymans <wim@fluendo.com>
22097 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22098 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22099 Fix query handling again.
22101 2005-10-19 Wim Taymans <wim@fluendo.com>
22103 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22104 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22105 * gst/base/gstbasesrc.c: (gst_base_src_query):
22106 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22107 * gst/elements/gsttypefindelement.c:
22108 (gst_type_find_handle_src_query), (find_element_get_length),
22109 (gst_type_find_element_activate):
22112 * gst/gstquery.c: (gst_query_new_position),
22113 (gst_query_set_position), (gst_query_parse_position),
22114 (gst_query_new_duration), (gst_query_set_duration),
22115 (gst_query_parse_duration), (gst_query_set_segment),
22116 (gst_query_parse_segment):
22118 Bundling query position/duration is not a good idea since duration
22119 does not change much and we don't want to recalculate it for every
22120 position query, so they are separated again..
22121 Base value in segment query is not needed.
22123 * gst/gstqueue.c: (gst_queue_handle_src_query):
22124 * gst/gstutils.c: (gst_element_query_position),
22125 (gst_element_query_duration), (gst_pad_query_position),
22126 (gst_pad_query_duration):
22128 Updates for query API change.
22129 Added some docs here and there.
22131 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22133 * check/gst/gstbin.c: (GST_START_TEST):
22134 * check/gst/gstghostpad.c: (GST_START_TEST):
22135 * check/pipelines/cleanup.c: (GST_START_TEST):
22136 wait on thread to die so we can check refcount correctly
22138 2005-10-18 Wim Taymans <wim@fluendo.com>
22140 * check/pipelines/stress.c: (GST_START_TEST):
22141 Make check a little more time consuming.
22143 2005-10-18 Wim Taymans <wim@fluendo.com>
22145 * check/Makefile.am:
22146 * check/pipelines/stress.c: (GST_START_TEST),
22147 (simple_launch_lines_suite), (main):
22148 Small state change torture test.
22150 * docs/design/part-states.txt:
22151 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22152 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22153 (gst_base_sink_change_state):
22154 Never take state lock from streaming thread, clean up ugly
22155 hacks. Unfortunatly core does not yet support nice ways to
22156 async commit state.
22158 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22160 Start state recalc if a STATE_DIRTY message is posted, but only
22161 on the toplevel bin.
22163 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22164 (gst_element_get_state_func), (gst_element_abort_state),
22165 (gst_element_commit_state), (gst_element_lost_state),
22166 (gst_element_set_state_func), (gst_element_change_state):
22167 * gst/gstelement.h:
22168 State variables are now protected with the LOCK, the state
22169 lock is only used to serialize _set_state().
22171 2005-10-18 Wim Taymans <wim@fluendo.com>
22173 * check/gst/gstbin.c: (GST_START_TEST):
22174 * check/gst/gstmessage.c: (GST_START_TEST):
22175 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22176 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22178 * gst/gstelement.c: (gst_element_abort_state),
22179 (gst_element_commit_state), (gst_element_lost_state):
22180 * gst/gstmessage.c: (gst_message_new_state_changed),
22181 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22182 (gst_message_new_segment_done), (gst_message_new_duration),
22183 (gst_message_parse_state_changed),
22184 (gst_message_parse_segment_start),
22185 (gst_message_parse_segment_done), (gst_message_parse_duration):
22186 * gst/gstmessage.h:
22187 * tools/gst-launch.c: (event_loop):
22188 Seriously, this is better than a previous commit as we only need
22189 to notify the fact that an element changed state in a streaming
22190 thread, marking the state of the parents dirty, hence the
22191 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22194 2005-10-18 Wim Taymans <wim@fluendo.com>
22196 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22197 (gst_bin_recalc_func):
22198 * gst/gstelement.c: (gst_element_set_clock),
22199 (gst_element_abort_state), (gst_element_lost_state):
22200 Cleanups, prepare for state change fixes.
22202 2005-10-18 Wim Taymans <wim@fluendo.com>
22205 * gst/gstelement.c: (gst_element_class_init),
22206 (gst_element_set_state), (gst_element_set_state_func):
22207 * gst/gstelement.h:
22208 Pending ABI changes.
22209 GThreadPool in GstBinClass to monitor async state changes.
22210 state_cookie in GstElement to detect concurrent gst/set state.
22211 set_state is now virtual too in case a very complicated element
22212 has to be constructed.
22214 2005-10-18 Wim Taymans <wim@fluendo.com>
22216 * check/gst/gstbin.c: (GST_START_TEST):
22217 * check/gst/gstmessage.c: (GST_START_TEST):
22218 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22219 * gst/gstbin.c: (bin_bus_handler):
22220 * gst/gstelement.c: (gst_element_commit_state),
22221 (gst_element_lost_state):
22222 * gst/gstmessage.c: (gst_message_new_state_changed),
22223 (gst_message_new_segment_start), (gst_message_new_segment_done),
22224 (gst_message_new_duration), (gst_message_parse_state_changed),
22225 (gst_message_parse_segment_start),
22226 (gst_message_parse_segment_done), (gst_message_parse_duration):
22227 * gst/gstmessage.h:
22228 * tools/gst-launch.c: (event_loop):
22229 Make messages future proof.
22230 state-change gets a flag if it was a message comming from the
22232 segment-start/stop can also be specified in other formats.
22233 A message to notify an app that a pipeline changed playback
22235 Also fix a GstMessage leak in -launch
22237 2005-10-18 Andy Wingo <wingo@pobox.com>
22239 * gst/gstelement.c (gst_element_dispose): More helpful message.
22241 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22243 reviewed by: <delete if not using a buddy>
22245 * common/gtk-doc.mak:
22247 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22249 * gst/gstregistry.c: (gst_registry_scan_path_level):
22250 unref a plug-in we get that was already initialized
22252 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22254 * docs/gst/gstreamer-sections.txt:
22255 * docs/libs/gstreamer-libs-sections.txt:
22256 * gst/gstelement.h:
22257 add new api entries
22258 hide internal macro
22260 2005-10-17 Andy Wingo <wingo@pobox.com>
22262 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22265 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22267 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22269 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22270 (gst_element_get_state_func): Better debug message.
22271 (gst_element_commit_state): s/INFO/DEBUG/.
22272 (gst_element_lost_state, gst_element_change_state):
22274 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22275 (gst_message_new_custom): s/INFO/LOG/.
22277 2005-10-17 Michael Smith <msmith@fluendo.com>
22279 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22280 Check if end time is valid using end time, not start time.
22282 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22284 * check/gst-libs/controller.c: (GST_START_TEST),
22285 (gst_controller_suite):
22286 * libs/gst/controller/gstcontroller.c:
22287 (gst_controlled_property_set_interpolation_mode):
22288 * libs/gst/controller/gstcontroller.h:
22289 * libs/gst/controller/gstinterpolation.c:
22290 * testsuite/controller/.cvsignore:
22291 * testsuite/controller/Makefile.am:
22292 * testsuite/controller/interpolator.c:
22293 merge controller testsuites
22295 remove mem-chunk from docs
22297 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22299 * gst/gstmemchunk.c:
22300 * gst/gstmemchunk.h:
22301 * gst/gsttrashstack.c:
22302 * gst/gsttrashstack.h:
22303 out. get out. you're fired. to the Attic !
22305 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22307 * gst/gstcaps.c: (gst_caps_intersect):
22308 fix signedness issues in a (hopefully) correct way
22309 * gst/gstelement.c: (gst_element_pads_activate):
22311 * gst/gstobject.c: (gst_object_set_parent):
22314 2005-10-17 Julien MOUTTE <julien@moutte.net>
22316 * gst/gstvalue.h: Fix prototypes.
22318 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22320 * docs/gst/gstreamer-sections.txt:
22321 * gst/gst.c: (gst_version_string):
22323 * gst/gstversion.h.in:
22324 * win32/common/libgstreamer.def:
22325 add gst_version_string ()
22327 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22331 * gst/gst.c: (init_post):
22332 * win32/common/config.h.in:
22334 * gst/gstcaps.c: (gst_caps_intersect):
22335 use gint64, the range could be bigger than a guint
22337 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22340 document potential problem in 2038
22342 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22344 * gst/gstcaps.c: (gst_caps_intersect):
22345 Fix guint j diving under 0
22347 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22350 * win32/common/config.h:
22351 * win32/common/config.h.in:
22352 check for process.h, declares getpid() on Windows
22354 include process.h if we have it
22355 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22356 * gst/gstmemchunk.h:
22357 fix signedness issues
22358 * win32/common/libgstreamer.def:
22361 2005-10-16 Julien MOUTTE <julien@moutte.net>
22363 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22364 fix. Because of unsigned ints, caps intersection was going nuts and
22365 trying to access structures with G_MAXUINT index. That fixes
22366 videotestsrc ! ffmpegcolorspace ! fakesink
22367 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22370 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22373 use the gettext macro
22374 * gst/elements/gstelements.c:
22376 * gst/indexers/gstindexers.c:
22377 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22378 * win32/common/config.h:
22380 * win32/common/config.h.in:
22381 add the template to generate config.h
22382 * win32/common/gstenumtypes.c:
22383 * win32/common/gstversion.h:
22386 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22388 * gst/gst.c: (gst_version):
22389 * gst/gstversion.h.in:
22392 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22395 Oops, add missing closing bracket.
22397 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22400 use common m4's for argument checking
22402 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22404 * docs/gst/gstreamer-sections.txt:
22406 Add GST_EVENT_TYPE_NAME() macro.
22408 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22411 * gst/gstpluginfeature.c:
22413 privatize more symbols
22415 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22418 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22419 everything that uses GStreamer API should have the includes
22421 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22423 * docs/gst/gstreamer-sections.txt:
22424 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22426 give each value a _get_type, removes the DATA exports
22428 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22432 remove _gst_registry_auto_load, not used anymore
22433 * gst/gstbin.c: (gst_bin_get_type):
22435 * gst/gstelement.c: (gst_element_get_type):
22436 * gst/gstelement.h:
22437 * gst/gstobject.c: (gst_object_get_type):
22439 * gst/gstpad.c: (gst_pad_get_type):
22441 make _get_type functions similar, fixes data export from library
22443 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22446 correctly make conditionals
22447 * gst/elements/Makefile.am:
22448 * gst/elements/gstelements.c:
22449 fix typo causing fdsrc not to build
22451 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22453 * testsuite/Makefile.am:
22454 * testsuite/bytestream/.cvsignore:
22455 * testsuite/bytestream/Makefile.am:
22456 * testsuite/bytestream/filepadsink.c:
22457 * testsuite/bytestream/gstbstest.c:
22458 * testsuite/bytestream/test1.c:
22459 * testsuite/bytestream/testfile1:
22460 * testsuite/caps/normalisation.c:
22461 * testsuite/caps/random.c: (main):
22462 * testsuite/cleanup/.cvsignore:
22463 * testsuite/cleanup/Makefile.am:
22464 * testsuite/cleanup/cleanup1.c:
22465 * testsuite/cleanup/cleanup2.c:
22466 * testsuite/cleanup/cleanup3.c:
22467 * testsuite/cleanup/cleanup4.c:
22468 * testsuite/cleanup/cleanup5.c:
22469 * testsuite/controller/interpolator.c:
22470 * testsuite/debug/printf_extension.c: (main):
22471 * testsuite/elements/tee.c:
22472 * testsuite/negotiation/.cvsignore:
22473 * testsuite/negotiation/Makefile.am:
22474 * testsuite/negotiation/pad_link.c:
22475 * testsuite/pad/Makefile.am:
22476 * testsuite/pad/chainnopull.c:
22477 * testsuite/pad/getnopush.c:
22478 * testsuite/pad/link.c:
22479 * testsuite/refcounting/sched.c: (create_pipeline):
22480 * testsuite/registry/Makefile.am:
22481 * testsuite/registry/gst-print-formats.c:
22482 * testsuite/schedulers/.cvsignore:
22483 * testsuite/schedulers/142183-2.c:
22484 * testsuite/schedulers/142183.c:
22485 * testsuite/schedulers/143777-2.c:
22486 * testsuite/schedulers/143777.c:
22487 * testsuite/schedulers/147713.c:
22488 * testsuite/schedulers/147819.c:
22489 * testsuite/schedulers/147894-2.c:
22490 * testsuite/schedulers/147894.c:
22491 * testsuite/schedulers/Makefile.am:
22492 * testsuite/schedulers/group_link.c:
22493 * testsuite/schedulers/queue_link.c:
22494 * testsuite/schedulers/relink.c:
22495 * testsuite/schedulers/unlink.c:
22496 * testsuite/schedulers/unref.c:
22497 * testsuite/schedulers/useless_iteration.c:
22498 * testsuite/states/bin.c:
22499 clean out/remove some stuff from the testsuite directories
22501 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22504 check for some headers
22505 * gst/elements/Makefile.am:
22506 * gst/elements/gstelements.c:
22507 don't compile fdsrc without sys/socket.h
22508 * gst/indexers/Makefile.am:
22509 * gst/indexers/gstindexers.c: (plugin_init):
22510 don't compile fileindex without mmap
22512 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22519 * check/Makefile.am:
22520 * docs/gst/Makefile.am:
22521 * examples/helloworld/Makefile.am:
22523 * gst/base/Makefile.am:
22524 * gst/check/Makefile.am:
22525 * gst/elements/Makefile.am:
22526 * gst/indexers/Makefile.am:
22527 * gst/parse/Makefile.am:
22528 * libs/gst/controller/Makefile.am:
22529 * libs/gst/dataprotocol/Makefile.am:
22530 * examples/helloworld/helloworld.c: (event_loop):
22531 compile fixes, though it's not being compiled currently
22533 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22535 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22536 Add some simple tests for the new taglist date API.
22538 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22540 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22541 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22542 Beautify 'last-message' output: print 'none' for buffer timestamps
22543 and durations if none is set; improve alignment with next messages.
22545 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22547 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22548 * gst/gstpluginfeature.h:
22549 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22550 * gst/gstregistry.h:
22551 * docs/gst/gstreamer-sections.txt:
22552 Add new API to check plugin feature version requirements.
22554 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22555 Some basic tests for the above.
22557 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22559 * gst/gststructure.c: (gst_structure_to_string):
22560 guard against NULL printf - happens when for example
22561 a message structure with GstClock gets serialized
22563 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22565 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22566 Fix presumable copy'n'pasto.
22568 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22570 * gst/elements/gstfakesrc.h:
22571 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22572 * gst/elements/gsttypefindelement.c:
22573 fix some signedness
22574 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22575 I wonder if this could actually write +2GB files before
22577 2005-10-13 Andy Wingo <wingo@pobox.com>
22579 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22580 Fix Timmeke Waymans bug.
22581 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22582 string of the proper length to gst_caps_from_string. There's a
22583 potential for, before this fix, that this could cause someone
22584 connecting over the network to cause a segfault if the payload is
22585 not NUL-terminated.
22587 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22589 * docs/design/draft-push-pull.txt:
22590 * docs/design/part-overview.txt:
22591 * docs/random/TODO-pre-0.9:
22592 * docs/random/old/ChangeLog.gstreamer:
22593 * gst/base/gstpushsrc.c:
22597 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22599 * gst/glib-compat.c: (gst_flags_get_first_value):
22600 * gst/glib-compat.h:
22601 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22602 (gst_value_compare_double), (gst_value_serialize_flags):
22603 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22606 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22608 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22609 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22611 * tools/gst-launch.c: (event_loop):
22612 print out clock nicely
22614 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22616 * docs/gst/gstreamer-sections.txt:
22617 * gst/gsttaglist.h:
22618 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22619 (gst_tag_list_get_date_index):
22620 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22621 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22623 2005-10-13 Julien MOUTTE <julien@moutte.net>
22625 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22626 (gst_collectpads_chain):
22627 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22630 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22632 * docs/gst/gstreamer-sections.txt:
22635 * tools/gst-inspect.c: (main):
22636 * tools/gst-launch.c: (main):
22637 * tools/gst-run.c: (main):
22638 * tools/gst-xmlinspect.c: (main):
22639 fix GOption context leaks
22642 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22646 * win32/common/config.h:
22648 * win32/vs6/grammar.dsp:
22649 * win32/vs6/libgstelements.dsp:
22650 * win32/vs6/libgstreamer.dsp:
22653 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22655 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22656 * gst/base/gstbasesrc.c: (gst_base_src_query):
22657 fix more guint64<->gdouble conversions
22659 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22662 add win32-update target
22663 * win32/common/gstconfig.h:
22664 * win32/common/gstenumtypes.c:
22665 * win32/common/gstenumtypes.h:
22666 * win32/common/gstversion.h:
22667 add files that visual studio can't generate
22669 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22672 add a win32-update target
22675 2005-10-12 Wim Taymans <wim@fluendo.com>
22677 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22678 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22679 * gst/gstelement.c: (gst_element_commit_state),
22680 (gst_element_set_state):
22681 Protect flags with proper lock.
22682 unref provided cached clock in dispose.
22684 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22687 * gst/gstminiobject.h:
22689 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22690 removed unused flags from miniobject
22693 2005-10-12 Wim Taymans <wim@fluendo.com>
22695 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22696 (gst_file_sink_event), (gst_file_sink_render):
22697 Flush before seeking.
22699 2005-10-12 Andy Wingo <wingo@pobox.com>
22701 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22702 always been the case.
22704 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22706 * check/gst/gstbin.c: (GST_START_TEST):
22707 * docs/gst/gstreamer-sections.txt:
22708 * gst/base/gstbasesink.c: (gst_base_sink_init):
22709 * gst/base/gstbasesrc.c: (gst_base_src_init),
22710 (gst_base_src_get_range), (gst_base_src_check_get_range),
22711 (gst_base_src_start), (gst_base_src_stop):
22712 * gst/base/gstbasesrc.h:
22713 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22714 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22715 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22719 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22721 * gst/gstelement.c: (gst_element_is_locked_state),
22722 (gst_element_set_locked_state), (gst_element_commit_state),
22723 (gst_element_set_state):
22724 * gst/gstelement.h:
22725 * gst/gstindex.c: (gst_index_init):
22727 * gst/gstminiobject.h:
22728 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22729 (gst_object_set_parent):
22731 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22732 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22734 * gst/gstpadtemplate.h:
22735 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22736 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22737 * gst/gstpipeline.h:
22738 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22739 (gst_file_index_commit):
22740 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22741 * testsuite/pad/link.c: (gst_test_src_init),
22742 (gst_test_filter_init), (gst_test_sink_init):
22743 * testsuite/states/locked.c: (main):
22744 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22745 moved bitshift from macro to enum definition
22747 2005-10-12 Wim Taymans <wim@fluendo.com>
22749 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22750 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22751 (gst_file_sink_render):
22752 Some more debugging info.
22754 2005-10-12 Wim Taymans <wim@fluendo.com>
22756 * docs/design/part-states.txt:
22757 * tools/gst-launch.c: (main):
22759 Revert non-intentional change.
22761 2005-10-12 Wim Taymans <wim@fluendo.com>
22763 * check/gst/gstbin.c: (GST_START_TEST):
22764 * check/gst/gstelement.c: (GST_START_TEST):
22765 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22766 * check/gst/gstghostpad.c: (GST_START_TEST):
22767 * check/gst/gstpipeline.c: (GST_START_TEST):
22768 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22769 * check/states/sinks.c: (GST_START_TEST):
22770 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22771 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22772 (gst_bin_remove_func), (gst_bin_get_state_func),
22773 (gst_bin_recalc_state), (gst_bin_change_state_func),
22775 * gst/gstelement.c: (gst_element_get_state_func),
22776 (gst_element_get_state), (gst_element_abort_state),
22777 (gst_element_commit_state), (gst_element_set_state),
22778 (gst_element_change_state), (gst_element_change_state_func):
22779 * gst/gstelement.h:
22780 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22781 (gst_pipeline_provide_clock_func):
22782 * gst/gstutils.c: (gst_element_link_pads_filtered):
22783 * tools/gst-launch.c: (main):
22784 * tools/gst-typefind.c: (main):
22785 Use GstClockTime in _get_state() instead of GTimeVal.
22786 Remove old code in gstutils.c
22788 2005-10-12 Andy Wingo <wingo@pobox.com>
22790 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22793 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22794 there is no task. Shouldn't affect any code, as nothing in our
22795 plugins checks this return value.
22796 (gst_pad_stop_task): Also take the stream lock if the pad has no
22797 task. Docs updated.
22799 2005-10-12 Wim Taymans <wim@fluendo.com>
22801 * gst/gstpad.c: (pre_activate), (post_activate),
22802 (gst_pad_activate_pull), (gst_pad_activate_push):
22803 Cleanup activation code. Reset old state if
22806 2005-10-12 Wim Taymans <wim@fluendo.com>
22808 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22809 (gst_base_sink_change_state):
22810 No need to prerol after receiving EOS.
22812 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22813 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22814 * gst/elements/gstidentity.c: (gst_identity_event):
22815 Print events more verbosely.
22817 2005-10-12 Wim Taymans <wim@fluendo.com>
22819 * check/Makefile.am:
22820 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22821 * check/states/sinks2.c:
22822 Moved sinks2 testcode in sinks check.
22824 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22825 (gst_bin_remove_func), (gst_bin_recalc_state),
22826 (gst_bin_change_state_func), (bin_bus_handler):
22827 Fix potential race condition when _get_state() iterated over an
22828 ASYNC element right before it posted a state completion.
22831 Do proper cast here.
22833 * gst/gstevent.c: (gst_event_new_newsegment),
22834 (gst_event_parse_newsegment):
22835 A playback rate of 0.0 is not allowed.
22837 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22839 * win32/common/config.h:
22840 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22841 (_trewinddir), (_ttelldir), (_tseekdir):
22842 * win32/common/dirent.h:
22843 * win32/common/gtchar.h:
22844 * win32/common/libgstbase.def:
22845 * win32/common/libgstreamer.def:
22846 * win32/vs6/grammar.dsp:
22847 * win32/vs6/gst_inspect.dsp:
22848 * win32/vs6/gst_launch.dsp:
22849 * win32/vs6/gstreamer.dsw:
22850 * win32/vs6/libgstbase.dsp:
22851 * win32/vs6/libgstelements.dsp:
22852 * win32/vs6/libgstreamer.dsp:
22853 Visual Studio 6 project files, and a new common directory.
22856 2005-10-11 Wim Taymans <wim@fluendo.com>
22858 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22859 (gst_base_sink_do_sync), (gst_base_sink_query),
22860 (gst_base_sink_change_state):
22861 * gst/base/gstbasesink.h:
22862 Correctly parse newsegment info.
22864 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22866 * gst/gst.c: (init_post):
22867 split plugin paths correctly
22869 2005-10-11 Wim Taymans <wim@fluendo.com>
22871 * check/gst/gstevent.c: (GST_START_TEST):
22872 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22873 (gst_base_sink_change_state):
22874 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22875 * gst/base/gstbasetransform.c: (gst_base_transform_event):
22876 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22877 * gst/gstevent.c: (gst_event_new_newsegment),
22878 (gst_event_parse_newsegment):
22880 Added extra flag to newsegment for future API freeze.
22881 Updated check and base elements.
22883 2005-10-11 Julien MOUTTE <julien@moutte.net>
22885 * gst/base/gstcollectpads.c: (gst_collectpads_init),
22886 (gst_collectpads_add_pad), (gst_collectpads_pop),
22887 (gst_collectpads_event), (gst_collectpads_chain):
22888 * gst/base/gstcollectpads.h: Handle EOS correctly.
22890 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22892 * tools/gst-launch.c: (main):
22893 more null protecting
22895 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22897 * gst/gst-i18n-lib.h:
22898 check for ENABLE_NLS, not GETTEXT_PACKAGE
22899 * gst/gstregistry.c: (gst_registry_add_plugin),
22900 (gst_registry_scan_path_level),
22901 (_gst_registry_remove_cache_plugins):
22902 protect possibly NULL strings
22903 * gst/parse/types.h:
22904 config.h already included before
22905 * tools/gst-inspect.c: (main):
22906 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22907 check for ENABLE_NLS, not GETTEXT_PACKAGE
22908 * tools/gst-launch.c: (main):
22909 check for ENABLE_NLS, not GETTEXT_PACKAGE
22911 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22914 if we don't have glib, fail before testing 2.8
22915 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
22916 fix a leak, should fix plugins-base testsuite
22918 2005-10-11 Andy Wingo <wingo@pobox.com>
22920 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
22921 take the mode we're going to as an arg. Go head and set the mode
22922 and flushing flags now, so that if the activate function starts a
22923 thread all the flags will be in the right state.
22924 (post_activate): Renamed also. Just handle making sure streaming
22925 finishes for the deactivation case, and setting the deactivated
22927 (gst_pad_set_active): Complain loudly if deactivation fails.
22928 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
22929 (gst_pad_activate_push): Adapt to pre/post_activate changes,
22930 remove the terrible hack.
22932 2005-10-11 Wim Taymans <wim@fluendo.com>
22934 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22935 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
22936 (gst_bin_recalc_state), (gst_bin_change_state_func),
22937 (gst_bin_dispose), (bin_bus_handler):
22939 Prepare to make current EOS message queue more generic.
22942 * gst/gstevent.c: (gst_event_new_newsegment),
22943 (gst_event_parse_newsegment):
22945 Rename base to stream_time.
22947 * gst/gstmessage.h:
22950 2005-10-11 Wim Taymans <wim@fluendo.com>
22952 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22953 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
22954 (gst_bin_change_state_func), (bin_bus_handler):
22956 Work on proper clock selection.
22958 2005-10-11 Edward Hervey <edward@fluendo.com>
22960 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
22961 * libs/gst/controller/gstcontroller.h:
22962 Added GList* version of _remove_properties() in order to be able to wrap
22965 2005-10-11 Wim Taymans <wim@fluendo.com>
22967 * docs/design/part-states.txt:
22970 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
22971 (gst_bin_change_state_func), (bin_bus_handler):
22972 Doc updates. Don't distribute the same clock over and over again.
22978 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
22979 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
22980 (gst_pad_send_event):
22982 Make probe emission threadsafe again.
22983 Register quarks and move _get_name() from utils.
22986 * gst/gstpipeline.c: (gst_pipeline_class_init),
22987 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22988 Only redistribute the clock of it changed.
22990 * gst/gstsystemclock.h:
22995 Moved the _flow_get_name() to GstPad.
22997 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22999 * check/gst-libs/gdp.c: (GST_START_TEST):
23000 * check/gst/gstcaps.c: (GST_START_TEST):
23001 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23002 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23003 (gst_dp_packet_from_caps):
23004 fix more valgrind warnings before turning up the heat
23006 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23008 * gst/parse/grammar.y:
23009 some cleanup before the hacking
23011 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23013 * gst/base/gstbasesrc.c: (gst_base_src_query):
23015 * gst/gstutils.c: (gst_guint64_to_gdouble),
23016 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23018 externalize, basesrc uses it
23019 obviously the implementation needs testing
23021 2005-10-10 Wim Taymans <wim@fluendo.com>
23023 * tests/sched/Makefile.am:
23024 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23025 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23027 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23029 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23030 apparently converting from guint64 to double is not implemented
23033 2005-10-10 Wim Taymans <wim@fluendo.com>
23035 * check/Makefile.am:
23036 * check/generic/states.c: (GST_START_TEST):
23037 * check/gst/gstbin.c: (GST_START_TEST):
23038 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23039 * check/states/sinks.c: (GST_START_TEST):
23040 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23042 Check fixes, use API as stated in design docs, remove hacks.
23044 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23045 (gst_base_sink_change_state):
23046 Catch stopping our task while we're shutting down.
23048 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23049 (gst_bin_remove_func), (gst_bin_get_state_func),
23050 (gst_bin_recalc_state), (gst_bin_change_state_func),
23053 * gst/gstelement.c: (gst_element_init),
23054 (gst_element_get_state_func), (gst_element_abort_state),
23055 (gst_element_commit_state), (gst_element_lost_state),
23056 (gst_element_set_state), (gst_element_change_state),
23057 (gst_element_change_state_func):
23058 * gst/gstelement.h:
23059 New state change algorithm (see #318116)
23061 * gst/gstpipeline.c: (gst_pipeline_class_init),
23062 (gst_pipeline_init), (gst_pipeline_set_property),
23063 (gst_pipeline_get_property), (do_pipeline_seek),
23064 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23065 * gst/gstpipeline.h:
23066 Remove crude state change hacks.
23069 Remove crude hacks.
23071 * tools/gst-launch.c: (main):
23072 Fixes for state change. Needs some more work to fully use the
23075 2005-10-10 Andy Wingo <wingo@pobox.com>
23077 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23079 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23080 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23083 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23085 * gst/gstiterator.c: (gst_iterator_new):
23086 Fix my previous commit: GTypes passed to gst_iterator_new()
23087 can be fundamental types.
23089 2005-10-10 Wim Taymans <wim@fluendo.com>
23091 * gst/gstelement.c: (gst_element_iterate_pad_list),
23092 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23093 (gst_element_iterate_sink_pads):
23094 Use src/sink pads lists for the respective iterators instead
23097 2005-10-10 Andy Wingo <wingo@pobox.com>
23099 Merged in popt removal + GOption addition patch from Ronald, bug
23102 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23103 GstElement macros around, remove popt-related symbols, add goption
23106 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23108 * docs/gst/Makefile.am:
23109 * docs/libs/Makefile.am: No POPT_CFLAGS.
23111 * examples/manual/Makefile.am:
23112 * docs/manual/basics-init.xml: Doc updates with an example.
23114 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23115 (gst_init), (parse_one_option), (parse_goption_arg):
23116 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23117 bit of hand merging and debugging to get the GOption stuff working
23120 * tests/Makefile.am:
23121 * tools/Makefile.am:
23122 * tools/gst-inspect.c: (main):
23123 * tools/gst-launch.c: (main):
23124 * tools/gst-run.c: (main):
23125 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23127 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23129 * gst/gstiterator.c: (gst_iterator_new):
23130 Add assertions to make sure passed GType is likely to really
23131 be a GType (as the compiler won't catch it if the size and
23132 GType arguments get mixed up, see #318447).
23134 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23136 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23138 * gst/gstbin.c: (gst_bin_iterate_sorted):
23139 Pass GType and size arguments to gst_iterator_new() in the right
23140 order (maybe we should make _new() take the GType as first argument
23141 just like _new_list()?) (#318447).
23144 2005-10-10 Wim Taymans <wim@fluendo.com>
23146 * gst/gstelement.c: (gst_element_finalize):
23147 And free the GStaticRecMutex too
23149 2005-10-10 Andy Wingo <wingo@pobox.com>
23151 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23152 Allocate and free the mutex properly.
23154 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23156 (GstElement): The state_lock is now recursive. Rebuild your
23157 plugins, suckers. Old macros adapted.
23159 * docs/gst/gstreamer-sections.txt: Doc updates.
23162 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23163 (g_static_rec_cond_wait): Ported from state changes patch, while
23164 we wait on bug #317802 to be solved in a well-distributed GLib.
23166 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23167 gst_element_change_state, variable name changes.
23168 (gst_element_change_state): Split out of gst_element_set_state in
23169 preparation for the state change merge. Doesn't pay attention to
23170 the 'transition' argument.
23171 (gst_element_set_state): Updates, hopefully purely cosmetic.
23172 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23173 state change patch.
23174 (gst_element_get_state_func): Renamed from get_state, cosmetic
23177 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23179 * gst/elements/gstelements.c:
23180 * win32/GStreamer.vcproj:
23182 * win32/dirent.c: (_tseekdir):
23183 * win32/gst-inspect.vcproj:
23184 * win32/gst-launch.vcproj:
23185 * win32/gstconfig.h:
23186 * win32/gstelements.vcproj:
23187 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23188 * win32/gstreamer.def:
23189 * win32/msvc71.sln:
23190 updates for the win32 build (patch from Sebastien Moutte)
23192 2005-10-10 Andy Wingo <wingo@pobox.com>
23194 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23195 gst_bin_get_state, cleaned up (but no logic changes).
23196 (bin_element_is_sink): Comment updates.
23197 (sink_iterator_filter): Remove needless cast.
23198 (gst_bin_iterate_sinks): Doc update.
23199 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23200 cleaned up (but no logic changes).
23202 * check/states/sinks.c (test_src_sink): Cleanups from the state
23204 (test_livesrc_sink): Sync on the state.
23206 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23207 the state change patch.
23209 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23212 * check/gst/gstbin.c: Merge in some style fixes and additional
23213 checks from Wim's state change patch.
23215 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23217 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23218 (gst_type_find_helper):
23219 Check whether we have the requested data already in our list of
23220 cached buffers before pulling a new buffer; also make the buffer
23221 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23223 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23228 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23229 don't use long long, it's not portable. Replacing with
23230 gint64 seems to work; let's hope no skeletons fall out of the closet.
23232 2005-10-10 Andy Wingo <wingo@pobox.com>
23234 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23236 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23238 * docs/gst/gstreamer-sections.txt:
23243 * gst/gstmessage.c: (gst_message_parse_state_changed):
23246 more docs, fix compilation
23248 2005-10-09 Philippe Khalaf <burger@speedy.org>
23249 * gst/gstmessage.c:
23250 Fixed a few forgotten variables on previous commit
23252 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23254 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23255 Fix evil typefind crasher: getrange() might return a short
23256 buffer at the end of a file, but gst_type_find_peek() must
23257 either return the full data as requested or NULL, but
23258 never a short buffer.
23260 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23262 * gst/gstmessage.c: (gst_message_new_state_changed),
23263 (gst_message_parse_state_changed):
23264 * gst/gstmessage.h:
23265 don't use "new", it's a C++ keyword
23267 2005-10-08 Wim Taymans <wim@fluendo.com>
23269 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23270 * gst/gstelement.c: (gst_element_post_message):
23271 * gst/gstpipeline.c: (gst_pipeline_change_state):
23272 Small docs and debug updates.
23274 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23276 * docs/gst/gstreamer-sections.txt:
23277 * gst/gstelementfactory.c:
23279 * gst/gsttaglist.c:
23282 2005-10-08 Wim Taymans <wim@fluendo.com>
23284 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23285 (gst_bin_dispose), (bin_bus_handler):
23286 Fix typos, add comments.
23287 Clear EOS list when going to PAUSED from any direction and do it
23288 in a threadsafe way.
23289 Get base time in a threadsafe way too.
23290 Fix confusing debug in the change_state function.
23291 Various other small cleanups.
23293 * gst/gstelement.c: (gst_element_post_message):
23294 Fix very verbose bus posting code.
23296 * gst/gstpipeline.c: (gst_pipeline_class_init),
23297 (gst_pipeline_set_property), (gst_pipeline_get_property),
23298 (gst_pipeline_change_state):
23299 Small ARG_ -> PROP_ cleanup
23301 2005-10-08 Wim Taymans <wim@fluendo.com>
23303 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23304 Do a less CPU demanding EOS check because we can.
23306 2005-10-08 Wim Taymans <wim@fluendo.com>
23308 * libs/gst/dataprotocol/dataprotocol.c:
23309 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23310 (gst_dp_packet_from_event):
23311 * libs/gst/dataprotocol/dataprotocol.h:
23312 * libs/gst/dataprotocol/dp-private.h:
23313 It's about time we bump the version number.
23314 Since event types don't fit in the guint8 anymore describing
23315 the payload type, make payload type 16 bits wide.
23317 2005-10-08 Wim Taymans <wim@fluendo.com>
23319 * docs/design/part-TODO.txt:
23320 * docs/design/part-clocks.txt:
23321 * docs/design/part-events.txt:
23322 * docs/design/part-gstbin.txt:
23323 * docs/design/part-gstelement.txt:
23324 * docs/design/part-gstpipeline.txt:
23325 * docs/design/part-live-source.txt:
23326 * docs/design/part-messages.txt:
23327 * docs/design/part-overview.txt:
23328 * docs/design/part-states.txt:
23331 2005-10-08 Wim Taymans <wim@fluendo.com>
23335 Fix event quark registration.
23336 Add some space between events so we can insert them in the
23339 2005-10-08 Wim Taymans <wim@fluendo.com>
23341 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23342 (gst_base_sink_handle_buffer):
23343 Better log message.
23346 * gst/gstelement.h:
23349 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23350 (gst_queue_set_property), (gst_queue_get_property):
23352 Remove old unused properties.
23354 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23355 * docs/gst/gstreamer-sections.txt:
23356 * gst/gstmessage.c:
23357 * gst/gstmessage.h:
23358 * gst/gstminiobject.c:
23359 * gst/gstminiobject.h:
23363 lots of new docs and doc fixes
23365 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23367 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23369 * gst/gstregistry.c: (gst_registry_lookup_locked),
23370 (gst_registry_scan_path_level):
23371 * gst/gstregistryxml.c: (load_plugin):
23372 Only ever load one plugin for a given plugin basename.
23373 This ensures correct overriding of GST_PLUGIN_PATH over
23374 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23375 system installed plugins.
23377 2005-10-08 Wim Taymans <wim@fluendo.com>
23379 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23380 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23381 Prepare for doing QOS.
23383 2005-10-08 Wim Taymans <wim@fluendo.com>
23385 * check/gst/gstbin.c: (GST_START_TEST):
23386 * check/pipelines/cleanup.c: (GST_START_TEST):
23387 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23388 Allow new clock message too.
23390 2005-10-08 Wim Taymans <wim@fluendo.com>
23392 * gst/gstmessage.c: (gst_message_new_error),
23393 (gst_message_new_warning), (gst_message_new_tag),
23394 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23395 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23396 (gst_message_new_segment_start), (gst_message_new_segment_done),
23397 (gst_message_parse_state_changed),
23398 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23399 (gst_message_parse_new_clock):
23400 * gst/gstmessage.h:
23401 Also carry the clock in question.
23403 2005-10-08 Wim Taymans <wim@fluendo.com>
23405 * gst/gstmessage.c: (gst_message_new_custom),
23406 (gst_message_new_eos), (gst_message_new_error),
23407 (gst_message_new_warning), (gst_message_new_tag),
23408 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23409 (gst_message_new_new_clock), (gst_message_new_segment_start),
23410 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23411 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23412 * gst/gstmessage.h:
23414 Added clock related messages.
23416 * gst/gstpipeline.c: (gst_pipeline_change_state):
23417 Post message when the clock changed.
23419 * tools/gst-launch.c: (event_loop):
23422 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23424 * tools/gst-inspect.c: (print_element_properties_info):
23425 Can't pass NULL strings to g_print() on windows.
23427 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23429 * docs/Makefile.am:
23430 * docs/gst/Makefile.am:
23431 * docs/gst/gstreamer-docs.sgml:
23432 * docs/gst/running.xml:
23433 * docs/version.entities.in:
23434 add a chapter on running GStreamer.
23435 document GST_DEBUG and GST_PLUGIN* env vars
23437 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23442 remove PLUGINS_BUILDDIR stuff
23443 * gst/gst.c: (init_post):
23444 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23446 remove, it was condescending and not needed
23448 2005-10-08 Wim Taymans <wim@fluendo.com>
23450 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23451 (gst_base_sink_handle_object), (gst_base_sink_event),
23452 (gst_base_sink_wait), (gst_base_sink_handle_event),
23453 (gst_base_sink_change_state):
23454 * gst/base/gstbasesink.h:
23455 Repost EOS message while going to PLAYING if still EOS.
23456 Make sure that when receiving a FLUSH_START we don't attempt
23457 to sync on the clock anymore.
23459 2005-10-08 Wim Taymans <wim@fluendo.com>
23461 * tools/gst-launch.c: (event_loop):
23462 Better message printout.
23464 2005-10-08 Wim Taymans <wim@fluendo.com>
23466 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23467 (gst_bin_child_proxy_get_children_count):
23468 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23469 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23470 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23471 (gst_child_proxy_set_valist):
23472 * gst/parse/grammar.y:
23473 Make ChildProxy threadsafe and fix mem leaks.
23475 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23477 * gst/gst.c: (init_post):
23478 debug the GST_PLUGIN_ env vars
23480 2005-10-08 Wim Taymans <wim@fluendo.com>
23482 * check/gst/gstbin.c: (GST_START_TEST):
23483 * check/gst/gstmessage.c: (GST_START_TEST):
23484 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23485 * gst/gstelement.c: (gst_element_commit_state),
23486 (gst_element_lost_state):
23487 * gst/gstmessage.c: (gst_message_new_state_changed),
23488 (gst_message_parse_state_changed):
23489 * gst/gstmessage.h:
23490 * tools/gst-launch.c: (event_loop):
23491 Added extra field to STATE_CHANGE message with the pending
23492 state, which will be different from the new state soon.
23494 2005-10-08 Wim Taymans <wim@fluendo.com>
23496 * gst/gstbus.c: (gst_bus_pop):
23498 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23499 Small cleanups and doc updates.
23501 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23503 * gst/gst.c: (init_pre):
23504 * gst/gstbin.c: (gst_bin_add_func):
23505 log distributing clocks and base time
23506 * gst/gstregistry.c: (gst_registry_add_plugin),
23507 (gst_registry_scan_path_level), (gst_registry_scan_path):
23508 clean up the debugging output a little
23509 * gst/gstutils.c: (gst_element_state_get_name):
23510 warn about a memleak (I've actually seen this be used, though
23511 it was probably a bug)
23513 2005-10-07 Wim Taymans <wim@fluendo.com>
23515 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23516 (gst_base_src_init), (gst_base_src_default_newsegment),
23517 (gst_base_src_newsegment), (gst_base_src_do_seek),
23518 (gst_base_src_loop), (gst_base_src_start):
23519 * gst/base/gstbasesrc.h:
23520 Make the newsegment event customizable by subclasses.
23522 2005-10-07 Wim Taymans <wim@fluendo.com>
23524 * gst/gstevent.c: (gst_event_new_buffersize),
23525 (gst_event_parse_buffersize):
23527 New event for future idea.
23529 2005-10-07 Andy Wingo <wingo@pobox.com>
23531 * gst/gstelement.c (gst_element_post_message): Doc update.
23533 * docs/gst/gstreamer-sections.txt: Update.
23535 * gst/gstmessage.c (gst_message_new_application): Made into a
23536 function like honest API calls.
23537 (gst_message_new_element): New message type.
23539 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23541 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23542 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23545 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23546 NO_PREROLL from gst_element_change_state to fall through.
23548 2005-10-07 Wim Taymans <wim@fluendo.com>
23550 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23551 (gst_ghost_pad_do_activate_push):
23552 Activating a ghostpad with no internal pad in push mode
23555 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23558 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23559 Fixes compilation on Windows.
23561 2005-10-07 Michael Smith <msmith@fluendo.com>
23563 * tools/gst-inspect.c:
23564 Print out feature and plugin count at the end when printing out
23567 2005-10-04 Michael Smith <msmith@fluendo.com>
23569 * gst/gsterror.c: (_gst_stream_errors_init):
23570 Add another error string used in a few existing plugins.
23573 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23574 * tools/gst-inspect.c: (print_element_info):
23575 When a feature disappears from a plugin (and the feature exists in
23576 the cached registry file), things went horribly wrong. This isn't a
23577 complete fix, we should actually be removing the 'missing' features
23578 from the features list when we load the actual plugin. That's not
23581 2005-10-04 Johan Dahlin <johan@gnome.org>
23583 * check/gst/gstiterator.c: (GST_START_TEST):
23584 * gst/gstbin.c: (gst_bin_iterate_elements),
23585 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23586 * gst/gstelement.c: (gst_element_iterate_pads):
23587 * gst/gstformat.c: (gst_format_iterate_definitions):
23588 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23589 (gst_iterator_new_list), (gst_iterator_filter):
23590 * gst/gstiterator.h:
23591 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23592 Add a GType to GstIterator, update callsites and tests.
23594 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23596 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23597 give events a chance to be handled by event probes when the pad
23600 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23602 * gst/gstevent.c: (gst_event_type_get_name),
23603 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23605 add string representations for event types
23607 2005-10-06 Wim Taymans <wim@fluendo.com>
23609 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23610 Don't use NULL pointers.
23612 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23614 * gst/gst_private.h:
23616 * gst/gstelement.c:
23618 * gst/gstpluginfeature.c:
23619 widen the debug category in output to fit the biggest one we have
23620 add a bus category and use it
23621 play with the colors
23622 fix up some categories
23624 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23626 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23627 add push activation of sink ghost pads.
23628 Andye, please verify
23630 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23632 * gst/gstutils.c: (gst_element_link_pads):
23633 fix a bug in the case where neither element has a pad
23634 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23635 add a test for that case
23637 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23639 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23640 emit have-data before checking for peers. This allows
23641 for probe handlers to connect elements. This helps autopluggers.
23642 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23644 add six checks, linked/unlinked with no/true/false probe
23646 2005-10-04 Wim Taymans <wim@fluendo.com>
23648 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23649 (gst_fake_sink_event), (gst_fake_sink_preroll),
23650 (gst_fake_sink_render), (gst_fake_sink_change_state):
23651 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23652 (gst_fake_src_get_property), (gst_fake_src_create),
23653 (gst_fake_src_stop):
23654 * gst/elements/gstidentity.c: (gst_identity_stop):
23655 Protect last_message with lock.
23657 2005-10-04 Edward Hervey <edward@fluendo.com>
23660 Added precision in the comments for GST_FORMAT_DEFAULT
23662 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23664 * tools/gst-launch.c: (main):
23665 Don't try to run erroneous pipelines.
23667 2005-10-04 Julien MOUTTE <julien@moutte.net>
23669 * gst/gstbus.c: We don't need this header.
23671 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23674 back to development
23676 === release 0.9.3 ===
23678 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23682 Releasing 0.9.3, "Unregistered"
23684 2005-10-03 Andy Wingo <wingo@pobox.com>
23686 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23687 whereby calling a pad's activatepush() function can start a thread
23688 that starts to push or pull before the pad gets the FLUSHING flag
23689 unset. Hack around it by holding the stream lock until the flag is
23690 set. Need to replace this with a proper solution. Together with
23691 the ghost pad fixes, this fixes mp3 playing/tagreading.
23693 * docs/design/part-gstghostpad.txt: Add a note about activation of
23694 proxy pads outside of ghost pads.
23696 * gst/gstghostpad.c: Implement the ghost pad activation design.
23698 2005-10-02 Andy Wingo <wingo@pobox.com>
23700 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23701 It is volatile, after all.
23703 * docs/design/part-gstghostpad.txt: Flesh out activation with
23706 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23709 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23712 Fix (unused) AM_CONDITIONAL tests.
23714 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23716 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23718 * gst/gstutils.c: (gst_pad_query_convert):
23719 Add assertion that makes sure src_val is >=0, just like
23720 gst_query_new_convert() has. (#315895)
23722 2005-09-30 Edward Hervey <edward@fluendo.com>
23724 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23725 Let's not iterate pads we're not interested in, it avoids getting
23726 sky-high refcounts on sinkpad.
23728 2005-09-30 Wim Taymans <wim@fluendo.com>
23730 * gst/gstelement.c: (gst_element_set_state),
23731 (gst_element_change_state):
23732 Small tweak, element in ASYNC remains ASYNC.
23734 2005-09-30 Wim Taymans <wim@fluendo.com>
23736 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23737 Only error is an error.
23739 * gst/gstbin.c: (gst_bin_change_state):
23742 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23743 Also call pad_block in pad alloc.
23745 * gst/gstutils.c: (gst_flow_get_name):
23748 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23750 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23751 (gst_base_src_get_range):
23752 Fix documentation typos. Add some more debug info.
23754 2005-09-29 David Schleef <ds@schleef.org>
23756 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23757 more end-user friendly.
23758 * tools/gst-inspect.c: (main): Check if command-line argument is
23759 a file and attempt to load that file as a plugin.
23761 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23763 * check/gst/gstbin.c:
23764 * check/states/sinks.c:
23765 fix tests for the new warning
23766 * check/gst/gstpipeline.c:
23767 add a test for pipeline and bus interaction
23768 * gst/gstelement.c:
23769 elements should be NULL if they get disposed; add a warning if not
23771 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23774 for 2.6 refcounting, make debug log more correct by printing
23775 the actual refcounts at the time of swap (Wim)
23777 2005-09-29 Andy Wingo <wingo@pobox.com>
23779 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23780 removes signal watches previously added via
23781 gst_bus_add_signal_watch.
23782 (gst_bus_add_signal_watch): Don't return the source id, just store
23783 it on the bus if there wasn't an id already.
23785 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23786 add_signal_watch and remove_signal_watch.
23788 2005-09-29 Edward Hervey <edward@fluendo.com>
23790 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
23791 Better if we actually iterate the list :)
23793 2005-09-29 Wim Taymans <wim@fluendo.com>
23795 * check/gst/gstbin.c: (GST_START_TEST):
23796 Change for new bus API.
23798 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23799 (send_messages), (GST_START_TEST), (gstbus_suite):
23800 Change for new bus signal API.
23802 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23803 (gst_bus_source_prepare), (gst_bus_source_check),
23804 (gst_bus_create_watch), (gst_bus_add_watch_full),
23805 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23806 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23808 Remove support for multiple GSources operating on different
23809 message types as it is too complex and unneeded when using
23811 Added support for receiving signals from the bus.
23813 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23815 * docs/libs/tmpl/gstdataprotocol.sgml:
23816 * docs/manual/advanced-dataaccess.xml:
23817 * gst/elements/gstcapsfilter.c:
23819 rename filter-caps to caps property
23821 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23823 * gst/gstvalue.c: (gst_value_deserialize_fraction):
23824 More robust fraction string parsing.
23826 * docs/pwg/appendix-porting.xml:
23827 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23829 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23831 * gst/gstcaps.c: (gst_caps_do_simplify):
23832 Thou shalt not free a structure and then continue using it
23833 in the next loop iteration.
23835 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23837 Add test case for caps simplification.
23839 2005-09-29 Wim Taymans <wim@fluendo.com>
23841 * check/gst/gstbin.c: (GST_START_TEST):
23844 2005-09-29 Wim Taymans <wim@fluendo.com>
23846 * check/gst/gstbin.c: (GST_START_TEST):
23849 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23850 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23851 (find_element), (gst_bin_sort_iterator_next),
23852 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23853 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23854 (gst_bin_change_state), (gst_bin_dispose):
23855 A bin does not have a bus, it gets the bus from the parent.
23857 * gst/gstelement.c: (gst_element_requires_clock),
23858 (gst_element_provides_clock), (gst_element_is_indexable),
23859 (gst_element_is_locked_state), (gst_element_change_state),
23860 (gst_element_set_bus_func):
23863 * gst/gstpipeline.c: (gst_pipeline_class_init),
23864 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23865 The pipeline provides a bus.
23867 2005-09-28 Johan Dahlin <johan@gnome.org>
23869 * gst/gstmessage.c (gst_message_parse_state_changed): Use
23870 gst_structure_get_enum instead of gst_structure_get_int
23872 * gst/gststructure.c (gst_structure_get_enum): Impl.
23874 * gst/gststructure.h (gst_structure_get_enum): Add
23876 * docs/gst/gstreamer-sections.txt: Ditto
23878 * gst/gstmessage.c (gst_message_new_state_changed): Use
23879 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23880 which does introspection.
23881 Reviewed by Christian Schaller
23883 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23885 * gst/gstinfo.c: (gst_debug_log_default):
23886 don't do dummy g_strdup()s
23887 * libs/gst/controller/gstcontroller.c:
23888 (on_object_controlled_property_changed),
23889 (gst_controlled_property_new), (gst_controller_new_valist),
23890 (gst_controller_new_list),
23891 (gst_controller_remove_properties_valist), (gst_controller_set),
23892 (gst_controller_get), (gst_controller_sync_values),
23893 (gst_controller_get_value_array), (_gst_controller_class_init),
23894 (gst_controller_get_type):
23895 * libs/gst/controller/gstcontroller.h:
23896 * libs/gst/controller/gstinterpolation.c:
23897 (gst_controlled_property_find_timed_value_node):
23898 convert // to /**/ comments
23900 2005-09-28 Wim Taymans <wim@fluendo.com>
23902 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23903 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23904 (gst_bus_sync_signal_handler):
23906 Added async-message and sync-message signals to the bus.
23907 Added helper BusFunc to emit signals for all posted messages.
23909 * gst/gstmessage.c: (gst_message_type_get_name),
23910 (gst_message_type_to_quark), (gst_message_get_type):
23911 * gst/gstmessage.h:
23912 Register quarks for message names.
23914 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23916 * docs/libs/gstreamer-libs-sections.txt:
23917 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
23918 (gst_controller_new_list):
23919 * libs/gst/controller/gstcontroller.h:
23920 added another constructor for language bindings
23922 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
23924 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23928 * gst/gstinfo.c: (_gst_debug_init):
23929 slightly more readable color for refcount debugging
23931 2005-09-28 Wim Taymans <wim@fluendo.com>
23933 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
23934 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23935 (find_element), (gst_bin_sort_iterator_next),
23936 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23937 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23938 (gst_bin_change_state), (gst_bin_dispose):
23939 Small doc fixes. get_clock -> provide_clock.
23941 * gst/gstelement.c: (gst_element_class_init),
23942 (gst_element_provides_clock), (gst_element_provide_clock),
23943 (gst_element_get_clock), (gst_element_commit_state),
23944 (gst_element_lost_state):
23945 * gst/gstelement.h:
23946 Make get/set_clock() symetric. Add provide_clock vmethod since
23947 that is actually what this function does.
23949 * gst/gstpipeline.c: (gst_pipeline_class_init),
23950 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
23951 (gst_pipeline_get_clock):
23952 get_clock -> provide_clock.
23954 2005-09-28 Andy Wingo <wingo@pobox.com>
23956 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
23957 lieu of real docs...
23959 * gst/elements/gstfdsrc.c: Cleaned up a bit.
23961 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
23963 * gst/elements/gstcapsfilter.c:
23964 * gst/elements/gstfakesink.c:
23965 * gst/elements/gstfakesrc.c:
23966 * gst/elements/gstfdsink.c:
23967 * gst/elements/gstfdsrc.c:
23968 * gst/elements/gstfilesink.c:
23969 * gst/elements/gstfilesrc.c:
23970 * gst/elements/gstidentity.c:
23971 * gst/elements/gsttee.c:
23972 * gst/elements/gsttypefindelement.c:
23973 Make element details static.
23975 2005-09-28 Wim Taymans <wim@fluendo.com>
23977 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23978 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23979 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23980 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23981 (gst_bin_change_state), (gst_bin_dispose):
23982 Some documentation updates.
23983 Clean up dispose handlers.
23985 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
23986 * gst/gstpad.c: (gst_pad_dispose):
23987 Clean up dispose handler.
23989 * gst/gstpipeline.c: (gst_pipeline_change_state):
23990 Removed spurious UNLOCK.
23992 2005-09-27 Stefan Kost <ensonic@users.sf.net>
23994 * docs/gst/gstreamer-sections.txt:
23995 * gst/base/gstbasesrc.h:
23996 * gst/gstelement.h:
24000 * gst/gstpipeline.c:
24001 * gst/gstpipeline.h:
24004 added two new functions to the docs
24005 documents all undocumented GstXXXFlags
24006 completed some incomplete docs
24008 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24010 * gst/gstbin.c: (gst_bin_dispose):
24011 * gst/gstelement.c: (gst_element_dispose):
24012 remove now useless and leaky resurrection code in dispose
24013 * gst/base/gstbasesrc.c: (gst_base_src_init):
24014 * gst/gstelementfactory.c: (gst_element_factory_create):
24015 * gst/gstobject.c: (gst_object_set_parent):
24018 2005-09-27 Wim Taymans <wim@fluendo.com>
24020 * docs/design/part-TODO.txt:
24023 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24024 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24025 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24026 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24027 (gst_bin_change_state):
24028 * gst/gstelement.h:
24029 Remove element variable, we keep element info in the iterator now.
24031 2005-09-27 Andy Wingo <wingo@pobox.com>
24033 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24036 2005-09-27 Wim Taymans <wim@fluendo.com>
24038 * check/gst/gstbin.c: (GST_START_TEST):
24039 Enable check that works now.
24041 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24042 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24043 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24044 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24045 (gst_bin_change_state):
24047 Redid the state change algorithm using a topological sort algo.
24048 Handles all cases correctly.
24049 Exposed iterator for state change order.
24051 * gst/gstelement.h:
24052 Temp storage for state changes. Need to get rid of this soon.
24054 2005-09-27 Wim Taymans <wim@fluendo.com>
24056 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24057 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24058 (link_fold_func), (gst_pad_proxy_setcaps):
24059 Leak fixes, the fold functions need to unref the passed object and
24060 _get_parent_*() returns ref to parent.
24062 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24064 * check/gst/gstbuffer.c: (test_make_writable):
24065 Plug leak in test case and fix 'make check-valgrind'
24067 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24069 * gst/gstbuffer.c: (gst_subbuffer_init):
24070 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24071 works correctly in all circumstances (we could have just copied
24072 the parent buffer's readonly flag, but conceptually it seems
24073 cleaner to mark all subbuffers as read-only). (based on patch
24074 by Alessandro Decina, #314710).
24076 * check/gst/gstbuffer.c: (create_read_only_buffer),
24077 (test_make_writable), (test_subbuffer_make_writable),
24079 Add some tests for gst_buffer_make_writable().
24081 2005-09-27 Wim Taymans <wim@fluendo.com>
24083 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24084 use gst_object_has_ancestor().
24086 * gst/gstobject.c: (gst_object_has_ancestor):
24088 gst_object_has_ancestor() copied from gstbin.c as it is a
24091 * tests/instantiate/create.c: (create_all_elements):
24092 * tests/lat.c: (handoff_src), (handoff_sink):
24093 * tests/sched/runxml.c: (main):
24094 * tests/seeking/seeking1.c: (main):
24095 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24097 Fix compilation of some tests.
24099 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24102 Remove comment. GST_TYPE_G_ERROR is here to stay,
24103 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24104 (#316961, #300610).
24106 2005-09-26 Wim Taymans <wim@fluendo.com>
24108 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24109 Added check that shows error in state change order.
24111 2005-09-26 Wim Taymans <wim@fluendo.com>
24113 * gst/gstbin.c: (gst_bin_change_state):
24114 Make state change function use 3 queues again, we were
24115 adding elements in the wrong order.
24117 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24120 * gst/gstpad.c: (gst_pad_dispose):
24121 Added some debug info first.
24123 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24125 * docs/design/draft-push-pull.txt:
24126 * docs/design/part-events.txt:
24127 * docs/design/part-overview.txt:
24128 * docs/design/part-scheduling.txt:
24129 Replace all _pull_region() with _pull_range()
24131 2005-09-26 Andy Wingo <wingo@pobox.com>
24133 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24135 * check/gst-libs/controller.c: Update for controller api change.
24138 * tests/Makefile.am:
24139 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24140 over by GLib bug 118439.
24142 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24143 routines to a function.
24145 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24147 * libs/gst/controller/gsthelper.c:
24148 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24149 (gst_object_sync_values): Renamed from sink_values. Ugh.
24151 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24153 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24154 Renamed from controller_key, as it is exported.
24156 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24158 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24163 * gst/gstpadtemplate.h:
24166 * gst/gstqueryutils.c:
24167 * gst/gstqueryutils.h:
24168 remove queryutils headers after moving the two used functions
24169 to gstquery. also fixes build problem for gstsiddec
24171 2005-09-26 Michael Smith <msmith@fluendo.com>
24173 * tools/gst-launch.1.in:
24174 Correct documentation in manpage of debug syntax
24176 2005-09-26 Wim Taymans <wim@fluendo.com>
24178 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24179 (gst_base_src_is_seekable), (gst_base_src_change_state):
24180 Some more debugging info.
24182 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24184 * docs/gst/gstreamer-sections.txt:
24185 * gst/base/gstbasetransform.h:
24189 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24191 * docs/gst/.cvsignore:
24192 * docs/gst/tmpl/.cvsignore:
24193 * docs/gst/tmpl/gstpipeline.sgml:
24194 * docs/gst/tmpl/gstplugin.sgml:
24195 * gst/gstpipeline.c:
24198 inlined the last two docs files
24199 removed the tmpl directory from cvs (no more conflicts here!)
24201 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24203 * docs/gst/gstreamer-sections.txt:
24204 * docs/gst/tmpl/.cvsignore:
24205 * docs/gst/tmpl/gstpad.sgml:
24206 * docs/gst/tmpl/gstpadtemplate.sgml:
24208 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24209 (gst_pad_finalize), (gst_pad_set_pad_template):
24211 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24212 (gst_pad_template_class_init), (gst_pad_template_init),
24213 (gst_pad_template_dispose), (name_is_valid),
24214 (gst_static_pad_template_get), (gst_pad_template_new),
24215 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24216 (gst_pad_template_pad_created):
24217 * gst/gstpadtemplate.h:
24218 inlined two more docs
24219 factored gstpadtemplate out of gstpad
24221 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24223 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24224 (test_children_state_change_order_semi_sink):
24225 Fix test case: we can't rely on a fixed state change order when
24226 going from READY => PAUSED because the sink might commit its
24227 new state first when the first buffer created by the source
24228 reaches the sink before the source has finished its change state.
24229 (Test case still fails at times, see #316856, comment 5 onwards)
24231 2005-09-24 Wim Taymans <wim@fluendo.com>
24233 * docs/design/part-events.txt:
24234 * docs/design/part-gstbus.txt:
24235 * docs/design/part-gstpipeline.txt:
24236 * docs/design/part-messages.txt:
24237 * docs/design/part-overview.txt:
24238 * docs/design/part-segments.txt:
24242 * gst/gstelement.c:
24245 * gst/gstiterator.c:
24246 Various documentation updates.
24248 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24251 Well, that's embarassing. Luckily we weren't using
24252 GST_CLOCK_DIFF anywhere.
24254 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24256 * common/gtk-doc.mak:
24257 don't fail on building XML, FC4 slave shows a bunch of doc
24258 missing bits that I don't get
24260 * gst/gstpipeline.c:
24261 * gst/gststructure.c:
24264 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24266 * docs/design/part-gstbin.txt:
24267 * docs/design/part-gstbus.txt:
24269 Add blurb about how the bus goes into flushing mode and
24270 drops all messages when its bin goes from READY into NULL
24273 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24275 * docs/gst/gstreamer-sections.txt:
24276 * gst/gststructure.c: (gst_structure_get_clock_time):
24277 * gst/gststructure.h:
24278 add a method to get a GstClockTime out of a structure
24280 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24282 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24283 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24284 Added test to check state change order in bins (can still be made
24285 to fail here under heavy disk load; bails out with 'Push on pad
24286 fakesink:sink0, but it was not activated in push mode').
24288 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24289 Fix state change order when there is only a semi sink (#316856)
24291 * gst/gstbus.c: (gst_bus_class_init):
24292 Use _class_peek_parent(), not _class_ref(); fix docs to say
24293 'default main context' instead of 'mainloop' where that is
24296 * gst/gstelement.c: (gst_element_commit_state),
24297 (gst_element_set_state):
24298 Fix typos in debug messages
24300 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24303 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24304 * gst/gstpluginfeature.c:
24306 various doc updates
24307 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24308 change an assert into an error until it gets fixed properly
24310 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24312 * docs/gst/gstreamer-sections.txt:
24313 * docs/gst/tmpl/.cvsignore:
24314 * docs/gst/tmpl/gstelement.sgml:
24315 * docs/gst/tmpl/gstinfo.sgml:
24316 * docs/gst/tmpl/gstobject.sgml:
24317 * gst/gstelement.c:
24318 * gst/gstelement.h:
24321 * gst/gstobject.c: (gst_object_class_init):
24323 inlined 3 more biiiig doc files and added some missing docs on the fly
24325 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24327 * check/gst/.cvsignore:
24328 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24329 * gst/gstregistryxml.c: (load_plugin),
24330 (gst_registry_xml_save_plugin):
24331 put back source in registry. add checks for find_plugin.
24332 * testsuite/states/bin.c: (assert_state), (empty_bin),
24333 (test_adding_one_element), (main):
24334 * testsuite/states/locked.c: (main):
24335 some compile/run fixes
24337 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24339 * check/gst/gstvalue.c: (GST_START_TEST):
24340 fix leaks in the test itself
24342 2005-09-22 Wim Taymans <wim@fluendo.com>
24344 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24345 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24346 (gst_base_sink_query):
24347 Prepare for more accurate position reporting and query
24350 * gst/gstelement.c: (gst_element_send_event),
24351 (gst_element_set_state):
24354 2005-09-22 Wim Taymans <wim@fluendo.com>
24356 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24357 (gst_query_parse_segment):
24359 More documentation.
24360 Add segment query for future use.
24362 2005-09-22 Wim Taymans <wim@fluendo.com>
24364 * gst/gstbin.c: (gst_bin_add_func):
24365 Some more debug info.
24367 * gst/gstelement.c: (gst_element_send_event):
24368 Simplify send_event
24370 * gst/gstelement.h:
24371 Don't know how flags got broken.
24376 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24378 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24379 Add simplistic test suite for GST_TYPE_DATE serialisation and
24382 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24384 * docs/gst/gstreamer-sections.txt:
24385 * gst/gststructure.c: (gst_structure_set_valist),
24386 (gst_structure_get_date):
24387 * gst/gststructure.h:
24388 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24389 (gst_date_copy), (gst_value_compare_date),
24390 (gst_value_serialize_date), (gst_value_deserialize_date),
24391 (gst_value_transform_date_string),
24392 (gst_value_transform_string_date), (_gst_value_initialize):
24394 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24395 bunch of utility functions along with a hack that checks that
24396 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24397 is required. Part of the grand scheme in #170777.
24399 2005-09-22 Andy Wingo <wingo@pobox.com>
24401 * gst/gstconfig.h.in: Psych out gtk-doc.
24403 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24405 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24407 * tools/gst-inspect.c (print_element_list): Plug some
24408 inconsequential leaks.
24410 * gst/gstregistry.c (gst_registry_get_default): Doc.
24412 * check/gst/gstplugin.c:
24413 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24414 * gst/gstelementfactory.c (gst_element_factory_create):
24415 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24418 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24419 (gst_plugin_feature_load): Doc, don't eat refs.
24421 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24422 (gst_plugin_list_free): Doc.
24423 (gst_plugin_load_file): Doc updates.
24425 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24426 accessors returning refcounted objects, return a ref.
24428 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24429 accessor for caps. IDEMPOTENCE. Oh yes.
24431 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24433 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24435 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24436 (_gst_debug_register_funcptr):
24437 Add mutex to serialise access to the hash table with
24438 the function pointer => function name string mapping;
24439 make that hash table static scope (#316809).
24441 * gst/registries/.cvsignore:
24442 Remove left-over file.
24444 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24446 * docs/pwg/appendix-porting.xml:
24447 And something about newsegment events and caps-on-buffers to
24448 the porting guide (feel free to improve).
24450 2005-09-21 Andy Wingo <wingo@pobox.com>
24452 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24453 data and event probes on the same pad.
24454 (test_buffer_probe_once): Test that removing probes from within
24455 the probe functions works.
24457 2005-09-21 Andy Wingo <wingo@pobox.com>
24459 * check/gst/gstutils.c: New file.
24460 (test_buffer_probe_n_times): A simple buffer probe test. More to
24463 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24464 have-data::buffer, not have-data.
24465 (gst_pad_add_event_probe): Likewise for have-data::event.
24466 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24467 peer' isn't quite right yet though.
24468 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24469 (gst_pad_remove_data_probe): Change to take the guint handler_id
24470 as their arg, not the function+data, which is more glib-like.
24472 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24473 the signal emission to indicate if the data is a buffer or an
24475 (gst_pad_get_type): Initialize buffer and event quarks.
24476 (gst_pad_class_init): have-data is now a detailed signal, yes it
24479 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24481 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24482 * gst/gstutils.c: (gst_util_set_value_from_string),
24483 (gst_util_set_object_arg):
24484 Don't put functional code in g_return_if_fail() or
24485 g_return_val_if_fail() statements, otherwise things will
24486 break when G_DISABLE_CHECKS is defined during compilation.
24488 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24490 * docs/gst/tmpl/.cvsignore:
24491 * docs/gst/tmpl/gstvalue.sgml:
24494 inlied another one and added some obvious docs
24496 2005-09-21 Wim Taymans <wim@fluendo.com>
24498 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24499 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24500 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24501 (gst_fdsrc_get_property), (gst_fdsrc_create):
24502 * gst/elements/gstfdsrc.h:
24503 Properly implement fdsrc. Removed signal and timeout,
24504 better implemented somewhere else.
24506 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24508 * docs/gst/tmpl/.cvsignore:
24509 * docs/gst/tmpl/gstimplementsinterface.sgml:
24510 * gst/gstinterface.c:
24513 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24515 * docs/gst/gstreamer-sections.txt:
24516 * docs/gst/tmpl/.cvsignore:
24517 * docs/gst/tmpl/gstenumtypes.sgml:
24518 remove obsolete doc file
24520 2005-09-21 David Schleef <ds@schleef.org>
24522 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24523 little beer, fix a little leak.
24525 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24527 * docs/gst/gstreamer-docs.sgml:
24528 * docs/gst/gstreamer-sections.txt:
24529 * docs/gst/tmpl/.cvsignore:
24533 * gst/gstelement.h:
24534 * gst/gstindex.c: (gst_index_class_init):
24536 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24537 (gst_index_factory_class_init), (gst_index_factory_init),
24538 (gst_index_factory_finalize), (gst_index_factory_new),
24539 (gst_index_factory_destroy), (gst_index_factory_find),
24540 (gst_index_factory_create), (gst_index_factory_make):
24541 * gst/gstindexfactory.h:
24542 * gst/gstpluginfeature.c:
24543 * gst/gstpluginfeature.h:
24544 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24545 more docs inlined, splitted gstindex.{c,h}
24547 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24549 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24552 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24554 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24555 Set sync to FALSE by default.
24557 2005-09-20 Wim Taymans <wim@fluendo.com>
24559 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24560 (gst_base_sink_init):
24561 Make sync property settable from subclass.
24563 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24564 (gst_fake_sink_change_state):
24565 Set sync to FALSE by default.
24567 2005-09-20 Wim Taymans <wim@fluendo.com>
24569 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24570 * tools/gst-launch.c: (main):
24571 The timeout handler should have lower priority than the source
24572 so we don't timeout before popping a message with 0 timeout.
24573 Dump error messages after failed state change.
24575 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24577 * tools/gst-inspect.c: (print_element_properties_info):
24580 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24582 * check/gst/gstevent.c:
24583 * gst/elements/gstfakesink.c:
24584 * gst/elements/gstfakesink.h:
24585 remove the sync property from fakesink.
24586 has the side effect of setting sync TRUE
24587 for fakesink, which is a change. Anyone who knows how
24588 to fix this nicely in a GObject-y way, feel free.
24590 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24592 * docs/gst/gstreamer-docs.sgml:
24593 remove probe refsection
24595 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24597 * check/Makefile.am:
24598 disable valgrinding the controller test again
24599 * docs/gst/gstreamer-sections.txt:
24600 update for api-changes
24602 2005-09-20 Wim Taymans <wim@fluendo.com>
24604 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24605 (gst_base_sink_set_property), (gst_base_sink_get_property),
24606 (gst_base_sink_do_sync):
24607 * gst/base/gstbasesink.h:
24608 Added sync property to basesink to disable clock sync.
24610 2005-09-20 Andy Wingo <wingo@pobox.com>
24612 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24613 eating the caller's refcount.
24615 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24616 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24619 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24620 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24621 of GLib 2.8 public, so we can know which refcount to check in
24624 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24625 (gst_object_init): Only set the gst refcount if we're going ahead
24626 with the refcount hack.
24628 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24630 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24631 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24632 more leaks plumbed, added more debug-logging
24636 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24638 * gst/gstmessage.c:
24639 remove include of gstmemchunk.h
24641 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24643 * gst/gstclock.c: (_gst_clock_id_free):
24644 Commit from the Political Party For More Atomic CVS Commits,
24645 so that people don't waste too much of their day fishing
24646 out obvious leaks out of massive commits.
24647 Oh, and fix a pretty damn obvious leak in the memchunk
24650 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24652 * check/Makefile.am:
24653 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24654 plug mem-leak, re-add to valgrindable tests
24656 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24659 unbreak the build for those who have chronic arthritis
24660 and typing "make check" is just too taxing on the hands
24662 2005-09-20 Andy Wingo <wingo@pobox.com>
24664 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24665 really want it out, you should fix plugins at the same time.
24667 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24670 * docs/gst/gstreamer-sections.txt:
24672 added missing symbols to api docs
24673 disable ref-count hack if we have glib >= 2.8
24675 2005-09-19 David Schleef <ds@schleef.org>
24677 * docs/gst/Makefile.am: Ignore a few more internal headers
24678 * docs/gst/gstreamer-docs.sgml: Remove old sections
24679 * docs/gst/gstreamer-sections.txt: Remove old sections
24680 * docs/gst/tmpl/gstobject.sgml: update
24681 * docs/gst/tmpl/gstplugin.sgml: update
24682 * docs/gst/tmpl/gstpluginfeature.sgml: update
24683 * docs/random/ds/0.9-suggested-changes: update.
24684 * gst/Makefile.am: remove memchunk and trashstack, since they're
24686 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24687 * gst/gst.h: don't include some headers
24688 * gst/gstchildproxy.c: add gstmarshal.h
24689 * gst/gstclock.c: Don't use memchunks
24690 * gst/gstminiobject.c: Add some docs
24691 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24692 * gst/gstobject.h: same
24693 * gst/gstplugin.c: include gstmacros.h
24694 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24695 * gst/gstquery.c: don't use memchunks
24696 * gst/gstregistry.c: rename gst_registry_deinit()
24697 * gst/gstregistry.h: same
24699 2005-09-19 David Schleef <ds@schleef.org>
24701 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24702 * docs/libs/gstreamer-libs-sections.txt:
24703 * docs/libs/tmpl/gstgetbits.sgml:
24704 * docs/libs/tmpl/gstputbits.sgml:
24706 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24708 * win32/gstenumtypes.c:
24709 * win32/gstenumtypes.h:
24712 2005-09-19 Wim Taymans <wim@fluendo.com>
24714 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24715 Automatically PAUSE and RESUME a pipeline when a flushing seek
24718 2005-09-19 Andy Wingo <wingo@pobox.com>
24720 * gst/gstregistry.h: Spacing fixen.
24722 2005-09-19 Wim Taymans <wim@fluendo.com>
24724 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24725 Handle state change failure more correctly.
24727 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24729 * check/Makefile.am:
24730 * check/pipelines/cleanup.c: (run_pipeline):
24731 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24733 enable cleanup again after fixing the leak
24735 some more info on docs
24737 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24739 * check/Makefile.am:
24740 re-enable tests now that leaks are plugged
24742 * check/gst/gstbin.c:
24743 * check/gst/gstpipeline.c:
24744 add some more tests while fixing leaks
24745 * common/check.mak:
24746 make sure binaries are uptodate when valgrinding/gdbing
24748 * gst/gstelementfactory.c:
24749 remove a ref too many, and add a FIXME for when we get
24750 round to disposing of classes
24752 fix the refcounting when loading a plugin from a file and
24753 the code pretends that the pointer is the same even though
24754 of course it can change
24755 * gst/gstpluginfeature.c:
24756 unref plugins marked cached (a bit confusing as a name)
24757 as the docs state should be done
24758 various doc additions to explain refcounting
24759 * gst/gstregistry.c:
24760 * gst/gstregistryxml.c:
24763 2005-09-19 Wim Taymans <wim@fluendo.com>
24765 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24766 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24767 (send_messages), (GST_START_TEST), (gstbus_suite):
24768 * check/gst/gstpipeline.c: (GST_START_TEST):
24769 * check/pipelines/cleanup.c: (run_pipeline):
24770 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24772 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24773 (gst_bus_source_check), (gst_bus_source_dispatch),
24774 (gst_bus_create_watch), (gst_bus_add_watch_full),
24775 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24777 * tools/gst-launch.c: (event_loop):
24778 * tools/gst-md5sum.c: (event_loop):
24779 GstBusHandler -> GstBusFunc, return value has the same meaning as
24780 any other GSource (FALSE == remove source).
24781 _add_watch() and _add_watch_full() now take a MessageType mask to
24782 only handle specific types of messages.
24783 _poll() returns the GstMessage instead of the message type to avoid
24785 _have_pending() takes a MessageType mask now too.
24786 Added testsuite for multiple bus watches.
24787 Fix testsuites and applications for new bus API.
24789 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24791 * check/Makefile.am:
24792 mark a bunch of the tests as to fix until we fix them
24794 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24796 * common/check.mak:
24797 use GST_PLUGIN settings for valgrind tests as well, so we're
24798 valgrinding the correct thing
24799 * gst/gst.c: (init_post):
24802 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24804 * gst/gst.c: (init_post), (gst_deinit):
24805 * gst/gstelementfactory.c: (gst_element_factory_class_init),
24806 (gst_element_factory_finalize), (gst_element_factory_cleanup):
24807 * gst/gstindex.c: (gst_index_factory_class_init),
24808 (gst_index_factory_finalize):
24809 * gst/gstobject.c: (gst_object_dispose):
24810 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24811 (gst_plugin_load_file), (gst_plugin_desc_free):
24812 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24813 (gst_plugin_feature_finalize):
24814 * gst/gstregistry.c: (gst_registry_class_init),
24815 (gst_registry_init), (gst_registry_finalize),
24816 (gst_registry_get_default), (gst_registry_deinit):
24817 * gst/gstregistry.h:
24818 * gst/gstregistryxml.c: (load_feature), (load_plugin):
24819 various cleanups and memleak plugging. make valgrind is happy now.
24821 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24823 * common/check.mak:
24824 add a check-valgrind target
24826 2005-09-18 David Schleef <ds@schleef.org>
24828 * tools/gst-inspect.c: Revert the GOption code.
24830 2005-09-17 David Schleef <ds@schleef.org>
24832 * check/Makefile.am: Fix environment variables.
24833 * check/gst/gstplugin.c: Fix for API changes.
24834 * tools/gst-inspect.c: Fix for API changes.
24835 * tools/gst-xmlinspect.c: Fix for API changes.
24836 * gst/gstelementfactory.c:
24839 * gst/gstpluginfeature.c:
24840 * gst/gstpluginfeature.h:
24841 * gst/gstregistry.c:
24842 * gst/gstregistry.h:
24843 * gst/gstregistryxml.c:
24844 * gst/gsttypefind.c:
24845 * gst/gsttypefindfactory.c:
24846 * gst/indexers/gstfileindex.c:
24847 * gst/indexers/gstmemindex.c:
24848 * gst/schedulers/Makefile.am:
24849 Change registry to keep track of both plugins and features,
24850 removing the feature tracking from plugins themselves.
24852 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
24854 * check/Makefile.am:
24855 * tools/gst-register.1.in:
24856 remove gst-register
24858 2005-09-15 David Schleef <ds@schleef.org>
24860 * check/gst/gstplugin.c:
24861 * gst/gstelementfactory.c:
24863 * gst/gstpluginfeature.c:
24864 * gst/gstregistry.c:
24865 Getting tired of debugging. Disabled all the unreffing of
24866 plugins and features, which fixes the segfaults, but of
24867 course leaks like crazy. At least playbin works.
24869 2005-09-15 David Schleef <ds@schleef.org>
24871 * check/gst/gstplugin.c: (register_check_elements),
24872 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24874 * gst/elements/gsttypefindelement.c: Fix refcounting.
24875 * gst/gsttypefind.c:
24876 * gst/gsttypefindfactory.c:
24877 * gst/gsttypefindfactory.h:
24879 2005-09-15 David Schleef <ds@schleef.org>
24881 * gst/gstindex.c: get refcounting correct.
24882 * gst/gstregistry.c: Handle the case where a feature/plugin is
24885 2005-09-15 David Schleef <ds@schleef.org>
24887 * check/Makefile.am:
24888 * check/gst/gstplugin.c: Add test
24889 * gst/gstplugin.c: Fix problems noticed by testsuite
24891 * gst/gstregistry.c:
24892 * gst/gstregistry.h:
24894 2005-09-15 David Schleef <ds@schleef.org>
24896 * gst/gstplugin.c: Implement semi-decent recounting and locking
24897 in plugins and plugin features.
24899 * gst/gstpluginfeature.c:
24900 * gst/gstpluginfeature.h:
24901 * gst/gstregistry.c:
24903 2005-09-15 Michael Smith <msmith@fluendo.com>
24905 * gst/gstregistry.c: (gst_registry_get_feature_list):
24906 Implement this. Makes oggdemux work; decodebin still broken.
24908 2005-09-14 David Schleef <ds@schleef.org>
24910 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24912 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24913 * gst/check/Makefile.am:
24914 * libs/gst/controller/Makefile.am:
24915 * libs/gst/dataprotocol/Makefile.am:
24917 2005-09-14 David Schleef <ds@schleef.org>
24919 * configure.ac: Remove getbits library. Nothing uses it, and
24920 it should be in something like liboil if someone did want
24922 * libs/gst/Makefile.am:
24923 * libs/gst/getbits/Makefile.am:
24924 * libs/gst/getbits/gbtest.c:
24925 * libs/gst/getbits/getbits.c:
24926 * libs/gst/getbits/getbits.h:
24927 * libs/gst/getbits/gstgetbits_generic.c:
24928 * libs/gst/getbits/gstgetbits_i386.s:
24929 * libs/gst/getbits/gstgetbits_inl.h:
24931 2005-09-14 David Schleef <ds@schleef.org>
24933 * gst/Makefile.am: Dist glib-compat.h
24935 2005-09-14 David Schleef <ds@schleef.org>
24937 * configure.ac: Remove gst/registries, since it's no longer used.
24938 * gst/registries/Makefile.am:
24939 * gst/registries/gstlibxmlregistry.c:
24940 * gst/registries/gstlibxmlregistry.h:
24941 * gst/registries/gstxmlregistry.c:
24942 * gst/registries/gstxmlregistry.h:
24943 * gst/registries/registrytest.c:
24945 2005-09-14 David Schleef <ds@schleef.org>
24947 * gst/glib-compat.h:
24948 * gst/gstregistryxml.c:
24949 Convergence is near. Seriously.
24951 2005-09-14 David Schleef <ds@schleef.org>
24953 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24954 * gst/glib-compat.h:
24955 Attempt #4 to appease the buildbots.
24957 2005-09-14 David Schleef <ds@schleef.org>
24959 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24962 2005-09-14 David Schleef <ds@schleef.org>
24964 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24967 2005-09-14 David Schleef <ds@schleef.org>
24969 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
24972 2005-09-14 David Schleef <ds@schleef.org>
24974 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24975 * gst/glib-compat.h: Add some functions that are in newer versions
24976 of glib than we care to require.
24977 * gst/gstregistryxml.c: Use them.
24979 2005-09-14 David Schleef <ds@schleef.org>
24981 * po/POTFILES.in: remove gst-register.c
24983 2005-09-14 David Schleef <ds@schleef.org>
24985 * docs/gst/gstreamer-docs.sgml:
24986 * docs/gst/gstreamer-sections.txt:
24987 * docs/gst/gstreamer.types:
24988 * docs/gst/tmpl/gstelement.sgml:
24989 * docs/gst/tmpl/gstplugin.sgml:
24990 * docs/gst/tmpl/gstpluginfeature.sgml:
24991 Documentation updates for registry changes.
24993 2005-09-14 David Schleef <ds@schleef.org>
24995 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
24996 because we don't require glib-2.8.
24998 2005-09-14 David Schleef <ds@schleef.org>
25000 * gst/gstregistryxml.c: Added. Essentially moved out of the
25001 registries directory.
25003 2005-09-14 David Schleef <ds@schleef.org>
25005 * check/Makefile.am:
25006 * check/generic/states.c:
25010 * gst/gst_private.h:
25011 * gst/gstelementfactory.c:
25016 * gst/gstpluginfeature.c:
25017 * gst/gstpluginfeature.h:
25018 * gst/gstregistry.c:
25019 * gst/gstregistry.h:
25020 * gst/gstregistrypool.c: remove
25021 * gst/gstregistrypool.h: remove
25022 * gst/gsttypefind.c:
25023 * gst/gsttypefindfactory.c:
25025 * tools/Makefile.am:
25026 * tools/gst-compprep.c:
25027 * tools/gst-inspect.c:
25028 * tools/gst-register.c: remove
25029 * tools/gst-xmlinspect.c:
25030 Registry rewrite. Changes registry from being a file created
25031 by a tool into a simple cache file created automatically by
25032 libgstreamer. Removed gst-register (because it's no longer
25033 needed). Remove registry pools, because we only have one
25034 registry implementation (XML). Fix up other subsystems as
25037 2005-09-13 Michael Smith <msmith@fluendo.com>
25039 * gst/gstconfig.h.in:
25040 Don't Use windows linking attributes for MinGW. Fixes #316157
25042 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25044 * gst/gstutils.c: (set_state_async_thread_func),
25045 (gst_element_set_state_async):
25046 Apparently people think it's better if this function doesn't
25047 try to set the state to whatever state was asked for on the first
25048 call to this function for any object. Seriously.
25050 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25052 * check/gst/gstpipeline.c: (GST_START_TEST):
25053 * docs/gst/gstreamer-sections.txt:
25054 * gst/gstutils.c: (set_state_async_thread_func),
25055 (gst_element_set_state_async):
25057 add a "gst_element_set_state_async" method that
25058 sets the state and starts a thread to make sure the state
25059 change completes as best as it can
25061 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25063 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25064 codify design+behaviour in testsuite after discussion
25066 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25068 * docs/gst/tmpl/gstelement.sgml:
25069 * docs/manual/appendix-quotes.xml:
25071 * gst/gstelement.c: (gst_element_set_state):
25074 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25076 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25077 (gst_base_transform_prepare_output_buf),
25078 (gst_base_transform_handle_buffer):
25079 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25080 (gst_capsfilter_prepare_buf):
25081 Remove the requirement for sub-classes to call the parent
25082 implementation of prepare_output_buffer with a wrapper function.
25084 * gst/gsttaglist.h:
25085 * gst/gsttagsetter.h:
25086 Fix #define wrapper
25088 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25090 * docs/gst/gstreamer-sections.txt:
25093 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25095 * docs/gst/gstreamer-sections.txt:
25096 * docs/gst/tmpl/gstelement.sgml:
25097 * docs/gst/tmpl/gstplugin.sgml:
25098 * gst/gstminiobject.c:
25100 docs now stop throwing warnings
25102 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25104 * docs/gst/gstreamer-sections.txt:
25105 * docs/gst/gstreamer.types:
25106 * docs/gst/tmpl/gstpad.sgml:
25107 * docs/gst/tmpl/gsttypes.sgml:
25108 * gst/base/gstadapter.h:
25109 * gst/base/gstbasesink.h:
25110 * gst/base/gstbasesrc.h:
25116 * gst/gstelement.h:
25118 * gst/gstmessage.h:
25120 * gst/gststructure.c:
25121 * gst/registries/gstlibxmlregistry.h:
25122 various documentation fixes
25124 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25126 * docs/gst/gstreamer-sections.txt:
25127 * docs/gst/tmpl/gstvalue.sgml:
25128 rearrange gstvalue section
25129 * gst/gstutils.c: (gst_element_state_get_name):
25131 * gst/gstvalue.c: (_gst_value_initialize):
25135 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25137 * check/gst-libs/controller.c:
25138 Header include fix.
25139 * gst/base/gstbasetransform.c:
25140 (gst_base_transform_default_prepare_buf),
25141 (gst_base_transform_handle_buffer):
25142 * gst/base/gstbasetransform.h:
25143 Some more basetransform changes and fixes to enable sub-classes
25144 that modify buffer metadata only.
25145 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25146 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25147 (gst_capsfilter_prepare_buf):
25148 If the output pad has fixed allowed caps and input buffers
25149 don't have any, set the fixed caps on outgoing buffers.
25151 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25152 * check/elements/identity.c: (GST_START_TEST):
25153 Make the error a little clearer when the test fails because
25154 identity made a copy of the buffer.
25155 * docs/gst/gstreamer-sections.txt:
25156 New symbols in gstbasetransform.h
25157 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25158 (gst_base_transform_init), (gst_base_transform_transform_size),
25159 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25160 (gst_base_transform_default_prepare_buf),
25161 (gst_base_transform_get_unit_size),
25162 (gst_base_transform_buffer_alloc),
25163 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25164 (gst_base_transform_change_state),
25165 (gst_base_transform_set_passthrough),
25166 (gst_base_transform_set_in_place),
25167 (gst_base_transform_is_in_place):
25168 * gst/base/gstbasetransform.h:
25169 Change BaseTransform to separate in_place operate from same_caps
25170 output. in_place implies that the element can perform the transform
25171 on incoming buffers in-place, even if the caps on the output are
25173 Sub-class elements can now implement special buffer allocation
25174 methods for outgoing buffers if they wish to.
25175 Big documentation addition.
25176 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25177 * gst/elements/gstelements.c:
25178 Changes for basetransform modifications.
25179 * gst/elements/Makefile.am:
25180 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25181 Compile fix. Extra debug output.
25183 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25185 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25187 add tests for valid pad naming
25188 * gst/check/gstcheck.c: (gst_check_log_message_func),
25189 (gst_check_log_critical_func):
25191 remove printing of code, it is fragile when the code contains
25192 % and the line number is enough info
25193 * gst/check/gstcheck.h:
25194 * gst/gstpad.c: (gst_pad_template_new):
25197 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25200 say what CHECK flags we use
25201 * docs/libs/gstreamer-libs.types:
25202 * libs/gst/controller/Makefile.am:
25203 * libs/gst/controller/gst-controller.c:
25204 * libs/gst/controller/gst-controller.h:
25205 * libs/gst/controller/gst-helper.c:
25206 * libs/gst/controller/gst-interpolation.c:
25207 * libs/gst/controller/gstcontroller.c:
25208 * libs/gst/controller/gsthelper.c:
25209 * libs/gst/controller/gstinterpolation.c:
25210 * tools/gst-inspect.c: (print_plugin_info):
25211 we don't use dashes in header names
25213 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25215 * check/Makefile.am:
25216 * check/gst/.cvsignore:
25217 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25218 (gst_pipeline_suite), (main):
25219 adding a test for pipelines and state changes
25220 * gst/gstutils.c: (get_state_func):
25222 * gstreamer.spec.in:
25225 2005-09-08 Michael Smith <msmith@fluendo.com>
25227 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25228 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25229 (gst_file_src_is_seekable), (gst_file_src_get_size),
25230 (gst_file_src_start):
25231 * gst/elements/gstfilesrc.h:
25232 Various fixes for unseekable, unmmapable, and non-normal files, so
25233 that fallback to read() rather than mmap() works.
25234 * gst/gstevent.c: (gst_event_new_newsegment):
25235 Allow newsegment events with segment_start == segment_end, as will
25236 correctly happen if you use filesrc on a zero-size file, for
25239 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25241 * gst/gstplugin.c: (gst_plugin_load_file):
25242 Call g_module_close when we don't load the module
25244 * gst/registries/gstlibxmlregistry.c:
25245 (gst_xml_registry_get_property):
25246 Port leak fix from 0.8
25248 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25250 * docs/gst/gstreamer-docs.sgml:
25251 * docs/gst/tmpl/.cvsignore:
25252 * docs/gst/tmpl/gsttrace.sgml:
25253 * docs/gst/tmpl/gsttrashstack.sgml:
25256 * gst/gstelement.h:
25258 * gst/gstmessage.c:
25259 * gst/gstmessage.h:
25262 * gst/gsttaginterface.c:
25263 * gst/gsttaginterface.h:
25264 * gst/gsttaglist.c:
25265 * gst/gsttaglist.h:
25266 * gst/gsttagsetter.c:
25267 * gst/gsttagsetter.h:
25270 * gst/gsttrashstack.c:
25271 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25272 inlined docs for gsttrace, gsttrashstack
25274 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25277 * gst/elements/gstbufferstore.h:
25278 * gst/elements/gsttypefindelement.c:
25279 * gst/elements/gsttypefindelement.h:
25281 * gst/gsttypefind.c:
25282 * gst/gsttypefind.h:
25283 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25284 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25285 (gst_type_find_factory_dispose),
25286 (gst_type_find_factory_unload_thyself),
25287 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25288 (gst_type_find_factory_get_caps),
25289 (gst_type_find_factory_get_extensions),
25290 (gst_type_find_factory_call_function):
25291 * gst/gsttypefindfactory.h:
25292 * gst/registries/gstlibxmlregistry.c:
25293 * gst/registries/gstxmlregistry.c:
25294 splitted gsttypefind into gsttypefind, gsttypefindfactory
25296 2005-09-07 Andy Wingo <wingo@pobox.com>
25298 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25299 condition whereby the pad's task function is entered before the
25300 pad_mode variable was set.
25302 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25304 * gst/gstpad.c: (gst_pad_alloc_buffer):
25305 Catch misbehaving pad_alloc functions that don't
25306 set up caps and do it for them.
25308 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25310 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25311 test for pipe!=NULL
25312 * docs/gst/tmpl/.cvsignore:
25313 * docs/gst/tmpl/gstmemchunk.sgml:
25314 * docs/gst/tmpl/gstparse.sgml:
25315 * docs/gst/tmpl/gsttaglist.sgml:
25316 * docs/gst/tmpl/gsttagsetter.sgml:
25317 * docs/gst/tmpl/gsttypefind.sgml:
25318 * docs/gst/tmpl/gsttypefindfactory.sgml:
25319 * gst/gstmemchunk.c:
25322 * gst/gsttaginterface.c:
25323 * gst/gsttypefind.c:
25324 * gst/gsttypefind.h:
25327 === release 0.9.2 ===
25329 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25334 releasing 0.9.2, "South"
25336 2005-09-05 Andy Wingo <wingo@pobox.com>
25338 * gst/registries/gstxmlregistry.h:
25339 * gst/registries/gstxmlregistry.c: Um... resurrect...
25341 * gst/registries/gstxmlregistry.h:
25342 * gst/registries/gstxmlregistry.c: and update to newer API.
25343 Incidentally they should be a bit faster now that they don't have
25346 2005-09-05 Andy Wingo <wingo@pobox.com>
25348 * gst/registries/gstxmlregistry.h:
25349 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25350 replaced by the libxml registry a while back
25352 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25354 * docs/gst/tmpl/gstplugin.sgml:
25355 * gst/elements/gstelements.c:
25357 * gst/gstplugin.c: (gst_plugin_register_func),
25358 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25359 (gst_plugin_get_source):
25361 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25362 (gst_xml_registry_save_plugin):
25363 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25364 (gst_xml_registry_save_plugin):
25365 * tools/gst-inspect.c: (print_plugin_info):
25366 add a "source" plugin description field, to represent the source
25367 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25368 will set it to PACKAGE, which is automake's idea of the name of
25369 the source project.
25371 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25376 * docs/Makefile.am:
25377 * docs/faq/Makefile.am:
25378 * docs/gst/tmpl/gstelement.sgml:
25379 * docs/gst/tmpl/gsttypes.sgml:
25380 * docs/htmlinstall.mak:
25381 * docs/manual/Makefile.am:
25382 * docs/pwg/Makefile.am:
25383 reorganize doc build a little
25384 split out docbook and gtk-doc stuff
25385 have two separate --enable's and enable them through autogen
25386 but disable by default in configure (to be similar to other
25388 * gstreamer.spec.in:
25389 clean up docs install
25407 translation updates
25409 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25411 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25414 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25415 (gst_fake_sink_change_state):
25416 Make state change function thread-safe.
25418 * gst/gstpad.c: (gst_pad_alloc_buffer):
25419 Set offset on generic buffer allocated by fallback.
25421 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25423 * docs/gst/gstreamer-sections.txt:
25424 * docs/gst/tmpl/gstelement.sgml:
25426 * libs/gst/controller/gst-controller.c:
25427 (gst_controlled_property_set_interpolation_mode),
25428 (gst_controlled_property_new),
25429 (gst_controller_find_controlled_property):
25430 run the wingo-magic script against the docs
25432 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25434 * docs/gst/gstreamer-docs.sgml:
25435 * docs/gst/gstreamer-sections.txt:
25436 * docs/gst/tmpl/.cvsignore:
25437 * docs/gst/tmpl/gstelementdetails.sgml:
25438 * docs/gst/tmpl/gstelementfactory.sgml:
25441 * gst/gstelementfactory.c:
25442 * gst/gstelementfactory.h:
25443 merged elementdetails docs into elementfactory docs
25446 2005-09-02 Andy Wingo <wingo@pobox.com>
25448 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25449 consider this enum an enum and not a flags.
25451 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25453 * docs/gst/gstreamer-docs.sgml:
25454 * docs/gst/tmpl/.cvsignore:
25455 * docs/gst/tmpl/gstghostpad.sgml:
25456 * docs/gst/tmpl/gstiterator.sgml:
25457 * docs/gst/tmpl/gstmacros.sgml:
25458 * docs/gst/tmpl/gstrealpad.sgml:
25459 * docs/gst/tmpl/gstregistry.sgml:
25460 * docs/gst/tmpl/gstregistrypool.sgml:
25461 * docs/gst/tmpl/gststructure.sgml:
25462 * docs/gst/tmpl/gstsystemclock.sgml:
25463 * docs/gst/tmpl/gsttrace.sgml:
25464 * gst/gstghostpad.c:
25466 * gst/gstmemchunk.c:
25467 * gst/gstmemchunk.h:
25469 * gst/gstregistry.c:
25470 * gst/gstregistrypool.c:
25471 * gst/gststructure.c:
25472 * gst/gstsystemclock.c:
25475 2005-09-02 Andy Wingo <wingo@pobox.com>
25477 * gst/gstelement.h (GstState): Renamed from GstElementState,
25478 changed to be a normal enum instead of flags.
25479 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25480 munged to be GST_STATE_CHANGE_*.
25481 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25482 work with the new state representation.
25483 (GstStateChange): New enumeration of possible state transitions.
25484 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25485 (GstElementClass::change_state): Pass the GstStateChange along as
25486 an argument. Helps language bindings, so they don't have to use
25487 tricky lock-needing macros like GST_STATE_CHANGE ().
25489 * scripts/update-states (file): New script. Run it on a file to
25490 update it for state naming and API changes. Updates files in
25493 * All files updated for the new API.
25495 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25497 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25498 * gst/gstutils.c: (gst_util_set_value_from_string),
25499 (gst_util_set_object_arg):
25500 fix a bunch of unchecked return values
25501 * tools/gst-complete.c: (main):
25502 * gstreamer.spec.in:
25505 2005-09-01 Wim Taymans <wim@fluendo.com>
25507 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25508 (gst_base_sink_event), (gst_base_sink_do_sync),
25509 (gst_base_sink_handle_event):
25510 * gst/base/gstbasesink.h:
25511 Handle newsegments more correctly.
25516 * gst/gstevent.c: (gst_event_new_newsegment):
25517 A newsegment cannot have a start_time of -1
25519 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25521 * win32/gstenumtypes.c:
25522 * win32/gstenumtypes.h:
25525 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25527 * libs/gst/controller/gst-controller.c:
25528 (gst_controlled_property_set_interpolation_mode),
25529 (gst_controlled_property_new):
25530 fixed boolean again
25532 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25534 * docs/faq/gst-uninstalled:
25539 * gst/gstutils.c: (gst_element_link_filtered):
25541 add gst_element_link_filtered
25543 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25545 * docs/gst/gstreamer-docs.sgml:
25546 * docs/gst/gstreamer-sections.txt:
25547 * docs/gst/tmpl/.cvsignore:
25548 * docs/gst/tmpl/gsterror.sgml:
25549 * docs/gst/tmpl/gstfilter.sgml:
25550 * docs/gst/tmpl/gsturihandler.sgml:
25551 * docs/gst/tmpl/gsturitype.sgml:
25552 * docs/gst/tmpl/gstutils.sgml:
25553 * docs/gst/tmpl/gstxml.sgml:
25558 * gst/gsturitype.c:
25561 inlined more docs, fixed double id-ref
25563 2005-08-31 Wim Taymans <wim@fluendo.com>
25565 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25566 (gst_base_transform_handle_buffer):
25567 Passthrough elements don't need the caps as they don't care.
25569 2005-08-31 Wim Taymans <wim@fluendo.com>
25571 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25572 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25573 Don't leak refcounts on buffers.
25575 2005-08-31 Wim Taymans <wim@fluendo.com>
25577 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25578 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25579 (gst_base_transform_chain), (gst_base_transform_change_state):
25580 * gst/base/gstbasetransform.h:
25581 Handle the case where we are not negotiated more gracefully.
25583 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25585 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25586 (gst_file_src_map_region):
25587 Set READONLY flag on mmap'ed buffers, otherwise
25588 gst_buffer_make_writable() won't work properly (#314708).
25590 2005-08-31 Wim Taymans <wim@fluendo.com>
25592 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25593 passthrough elements can even do inplace on non writable
25594 buffers (as they don't touch them).
25596 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25598 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25599 (gst_test_mono_source_set_property),
25600 (gst_test_mono_source_class_init), (GST_START_TEST),
25601 (gst_controller_suite):
25602 more tests (hehe I have the most)
25604 describe popping messages whenusing mulltiple sources
25605 * libs/gst/controller/gst-controller.c:
25606 (gst_controlled_property_set_interpolation_mode),
25607 (gst_controlled_property_new):
25608 * libs/gst/controller/gst-controller.h:
25609 * libs/gst/controller/gst-interpolation.c:
25610 implement boolean properties
25612 2005-08-31 Wim Taymans <wim@fluendo.com>
25614 * gst/gstminiobject.c: (gst_mini_object_ref):
25615 Cannot assert that the refcount has to be positive
25616 since a disposed object can be resurrected.
25618 2005-08-31 Wim Taymans <wim@fluendo.com>
25620 * gst/gstpad.c: (gst_pad_init):
25621 Revert change, need to first fix badly behaving
25624 2005-08-30 Wim Taymans <wim@fluendo.com>
25626 * check/elements/fakesrc.c: (setup_fakesrc):
25627 * check/elements/identity.c: (setup_identity):
25628 Activate pads before using them.
25630 2005-08-30 Wim Taymans <wim@fluendo.com>
25632 * gst/base/gstadapter.c: (gst_adapter_flush):
25633 Flushing out 0 bytes is ok for this function.
25635 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25636 no newsegment gives a warning and sets the start/stop to
25639 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25640 (gst_base_transform_set_passthrough):
25643 * gst/gstminiobject.c: (gst_mini_object_ref):
25644 Check refcount here too.
25646 * gst/gstpad.c: (gst_pad_init):
25647 Pads are initially flushing and refusing data.
25649 * gst/gstutils.c: (gst_element_link_pads_filtered):
25650 When adding a capsfilter element make sure it has the
25651 same state as the parent bin.
25653 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25655 * docs/gst/tmpl/.cvsignore:
25656 * docs/gst/tmpl/gstformat.sgml:
25657 * docs/gst/tmpl/gstversion.sgml:
25661 * gst/gstversion.h.in:
25662 more docs and two more inlined
25664 2005-08-30 Wim Taymans <wim@fluendo.com>
25666 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25667 Don't sync to clock.
25669 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25671 * docs/gst/gstreamer-sections.txt:
25672 ultral33t func10ns deserve to appear in the docs actually
25673 * docs/gst/tmpl/.cvsignore:
25674 * docs/gst/tmpl/gstcompat.sgml:
25675 * docs/gst/tmpl/gstconfig.sgml:
25676 * gst/check/gstcheck.c:
25678 * gst/gstconfig.h.in:
25681 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25683 * docs/gst/tmpl/.cvsignore:
25684 * docs/gst/tmpl/gstquery.sgml:
25685 * docs/gst/tmpl/gstutils.sgml:
25688 inlined and extended docs
25690 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25692 * check/gst-libs/controller.c: (GST_START_TEST),
25693 (gst_controller_suite):
25695 * docs/gst/tmpl/gstutils.sgml:
25696 * docs/libs/gstreamer-libs-sections.txt:
25697 * docs/libs/tmpl/gstdataprotocol.sgml:
25699 * examples/controller/audio-example.c: (main):
25700 controller example works now
25703 * tools/gst-inspect.c: (print_element_properties_info):
25704 show param spec flags
25706 2005-08-29 Andy Wingo <wingo@pobox.com>
25708 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25710 2005-08-28 Andy Wingo <wingo@pobox.com>
25712 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25713 as having two arguments instead of just one. Allows superclasses
25714 to access information on subclasses -- see the terrible for() loop
25715 in gtype.c:g_type_create_instance for the reason why. All callers
25718 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25720 * docs/design/part-messages.txt:
25722 * docs/gst/tmpl/.cvsignore:
25723 * docs/gst/tmpl/gstcaps.sgml:
25724 * docs/gst/tmpl/gstclock.sgml:
25730 * gst/gstmessage.c:
25731 added descriptions for bus and message
25732 inline caps and clock docs
25734 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25736 * gst/gstmessage.c:
25737 * gst/gstmessage.h:
25740 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25742 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25745 2005-08-26 Andy Wingo <wingo@pobox.com>
25747 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25748 element_set_state's return val.
25749 (test_2_elements): Add test that's been disabled for months.
25751 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25752 can-activate-pull properties.
25754 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25755 can-activate-pull properties. Implement is_seekable so fakesrc can
25756 operate in pull mode.
25758 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25760 (gst_base_sink_activate, gst_base_sink_activate_pull)
25761 (gst_base_sink_activate_push): Make activation mode choosing work.
25763 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25764 is right. Make pull mode work. Post an eos before pausing in pull
25766 (gst_base_sink_change_state): Pay attention to the core's
25767 change_state() return val.
25769 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25770 has-getrange properties. Cleanups.
25772 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25773 has_getrange and replace with can_activate_pull and
25776 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25777 locking comments. Remove has_loop, has_chain and replace with
25778 can_activate_pull and can_activate_push.
25780 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
25783 * examples/Makefile.am:
25784 * examples/metadata/Makefile.am:
25785 * examples/metadata/read-metadata.c: (message_loop),
25786 (have_pad_handler), (make_pipeline), (print_tag), (main):
25787 Add metadata reading example that loops over a list of filenames,
25788 dumping any tags found.
25790 * gst/gstbus.c: (gst_bus_dispose):
25791 * gst/gstelement.c: (gst_element_dispose):
25792 Release a few potentially-held references in dispose.
25794 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25796 * docs/gst/tmpl/gstminiobject.sgml:
25797 do *not* add tmpl/*.sgml files to CVS!
25799 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25801 * libs/gst/bytestream/.cvsignore:
25802 * libs/gst/bytestream/Makefile.am:
25803 * libs/gst/bytestream/adapter.c:
25804 * libs/gst/bytestream/adapter.h:
25805 * libs/gst/bytestream/bytestream.c:
25806 * libs/gst/bytestream/bytestream.h:
25807 * libs/gst/bytestream/filepad.c:
25808 * libs/gst/bytestream/filepad.h:
25809 removing obsolete files
25811 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25813 * docs/gst/gstreamer-docs.sgml:
25814 * docs/libs/gstreamer-libs-docs.sgml:
25815 disabed additional index entries again, as this makes docs-gen just
25816 slow and they aren't useful yet
25817 * docs/libs/gstreamer-libs-sections.txt:
25818 little -section.txt cleanup for libs
25820 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
25822 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25823 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25824 fix up some debugging
25825 (gst_base_transform_get_unit_size),
25826 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25827 (gst_base_transform_handle_buffer):
25828 * gst/base/gstbasetransform.h:
25829 handle and store timed NEWSEGMENT events so that subclasses that
25830 calculate time by counting samples have a segment_start time they
25831 need to add to their timestamps - see audioresample
25833 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25836 removed ';' from the end of macro defs
25837 * docs/gst/gstreamer-docs.sgml:
25838 * docs/gst/gstreamer-sections.txt:
25839 * docs/gst/tmpl/.cvsignore:
25841 * gst/gstelement.c: (gst_element_class_init),
25842 (gst_element_set_state), (activate_pads),
25843 (gst_element_save_thyself):
25844 * gst/gstevent.c: (gst_event_new_newsegment):
25846 * gst/gstiterator.c:
25847 * gst/gstiterator.h:
25850 * gst/gstutils.c: (gst_pad_query_convert):
25852 fixed parameter name mismatches between source, header and docs
25853 added some more docs, resolved the last batch of unused elements in
25854 docs (now someone needs to doc them)
25856 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25858 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25859 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25860 don't walk through the plugins backwards. Where is all this
25861 reversed logic coming from ?
25863 2005-08-25 Wim Taymans <wim@fluendo.com>
25865 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25866 (gst_base_transform_transform_size),
25867 (gst_base_transform_configure_caps),
25868 (gst_base_transform_get_unit_size),
25869 (gst_base_transform_buffer_alloc),
25870 (gst_base_transform_change_state):
25871 * gst/base/gstbasetransform.h:
25872 Cache caps unit_size.
25873 Make sure we cannot negotiate up and downstream at the
25876 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25878 * gst/gst.c: (init_pre), (init_post):
25879 register the installed plugin path after the env var
25880 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
25881 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
25882 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
25883 directories, so the tests can prefer uninstalled over installed
25885 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25887 * gst/base/gstbasetransform.h:
25892 2005-08-25 Wim Taymans <wim@fluendo.com>
25894 * gst/gstbin.c: (bin_bus_handler):
25895 Be a bit more conservative about the posted message.
25897 * gst/gstbus.c: (gst_bus_post):
25898 Some cleanups, warn wrong return values.
25900 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
25902 * check/gst/gstbin.c: (GST_START_TEST):
25903 * gst/gstbin.c: (bin_bus_handler):
25904 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25905 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25906 (gst_message_new_warning), (gst_message_new_tag),
25907 (gst_message_new_state_changed), (gst_message_new_segment_start),
25908 (gst_message_new_segment_done), (gst_message_new_custom):
25909 * gst/gstmessage.h:
25910 * tools/gst-launch.c: (event_loop):
25911 * tools/gst-md5sum.c: (event_loop):
25912 Revert unpopular change for GST_MESSAGE_SRC to GObject.
25914 2005-08-25 Wim Taymans <wim@fluendo.com>
25916 * check/generic/states.c: (GST_START_TEST):
25917 Cleanup can be done at the end.
25919 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
25920 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25921 (gst_task_get_state), (gst_task_start), (gst_task_pause):
25922 Oh boy.. Thanks for finding this, Thomas.
25924 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25926 * docs/gst/gstreamer.types:
25927 added missing types
25929 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25931 * docs/gst/gstreamer-docs.sgml:
25932 * docs/gst/gstreamer-sections.txt:
25933 * docs/gst/tmpl/.cvsignore:
25935 * gst/gstiterator.c:
25937 * gst/registries/gstxmlregistry.h:
25938 added missing classes and symbols (123 more to go)
25939 removed removed symbols from section file
25940 fixed many doc-comments
25942 2005-08-24 Wim Taymans <wim@fluendo.com>
25944 * check/generic/states.c: (GST_START_TEST):
25945 Make sure all tasks are stopped.
25947 * check/gst/gstbin.c: (GST_START_TEST):
25948 Unref after usage for proper valgrinding.
25950 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
25951 Really wait for the task to stop before destroying the
25954 * gst/gstqueue.c: (gst_queue_sink_activate_push),
25955 (gst_queue_src_activate_push):
25956 Small cleanups. Don't stop the task when we did not start
25959 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
25960 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25961 (gst_task_get_state), (gst_task_start), (gst_task_pause),
25964 Protect the stream lock with the object lock.
25965 Disallow setting the stream lock when running.
25966 Add cleanup_all to wait for the threadpool to finish.
25967 Remove code to autoallocate a mutex if none was provided.
25968 Add _join() to wait for a task to stop.
25969 Protect the thread pool with a global lock.
25971 2005-08-24 Wim Taymans <wim@fluendo.com>
25973 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25974 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25975 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
25976 * gst/base/gstbasesink.h:
25977 Handle newsegment events correctly.
25978 Drop buffers out of the segment range.
25980 2005-08-22 Andy Wingo <wingo@pobox.com>
25982 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
25983 macro, implements an interface and gstimplementsinterface for a
25986 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
25988 * check/Makefile.am:
25989 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
25990 add a test that does a bunch of state changes on elements
25991 needs some fixing for valgrind
25992 * check/states/sinks.c: (gst_object_suite):
25995 add prototype for gst_caps_is_equal_fixed
25997 * gst/gstregistrypool.c:
26000 2005-08-24 Andy Wingo <wingo@pobox.com>
26002 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26003 convert a negative value. Doesn't make much sense. Mostly this is
26004 here to force callers to ensure -1 maps to -1.
26006 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26008 * docs/pwg/advanced-types.xml:
26009 Well done to Michael for catching my deliberate introduction
26010 of this spelling mistake.
26011 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26012 * gst/gstelement.h:
26013 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26014 unlink pads before removing the element from the bin.
26016 2005-08-24 Andy Wingo <wingo@pobox.com>
26018 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26019 the same thing as GST_DEBUG=*:4.
26020 (parse_debug_level, parse_debug_category): New helper parsers.
26022 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26024 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26025 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26026 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26027 (gst_base_transform_buffer_alloc),
26028 (gst_base_transform_handle_buffer):
26029 use gboolean return values and pointers to size so we can use the
26030 full GST_BUFFER_SIZE range (guint) for buffer sizes
26031 use GstPadDirection for transform_caps
26032 * gst/base/gstbasetransform.h:
26033 rename get_size to get_unit_size since that's what it is
26034 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26035 use GstPadDirection for transform_caps
26036 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26038 cleanup and debugging
26040 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26042 * gst/gstelement.c: (gst_element_class_init),
26043 (gst_element_set_state), (activate_pads),
26044 (gst_element_save_thyself):
26045 * tools/gst-compprep.c: (main):
26046 * tools/gst-inspect.c: (print_element_properties_info):
26047 * tools/gst-xmlinspect.c: (print_element_properties):
26048 Fixed long standing mem-leak
26050 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26052 * check/gst/gstbin.c: (GST_START_TEST):
26053 * gst/gstbin.c: (bin_bus_handler):
26054 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26055 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26056 (gst_message_new_warning), (gst_message_new_tag),
26057 (gst_message_new_state_changed), (gst_message_new_segment_start),
26058 (gst_message_new_segment_done), (gst_message_new_custom):
26059 * gst/gstmessage.h:
26060 * tools/gst-launch.c: (event_loop):
26061 * tools/gst-md5sum.c: (event_loop):
26062 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26063 that applications can sensibly post custom messages with references
26064 to their own objects.
26066 2005-08-24 Andy Wingo <wingo@pobox.com>
26068 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26071 2005-08-24 Wim Taymans <wim@fluendo.com>
26073 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26074 (gst_base_transform_transform_caps),
26075 (gst_base_transform_transform_size),
26076 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26077 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26078 (gst_base_transform_handle_buffer):
26079 * gst/base/gstbasetransform.h:
26080 Many fixes and new features added by Thomas. Can now also do
26081 transforms with variable sizes and a custom fixate_caps function.
26083 2005-08-24 Wim Taymans <wim@fluendo.com>
26085 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26089 Cast to ClockTime before formatting to time.
26094 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26096 * check/gst-libs/controller.c: (GST_START_TEST),
26097 (gst_controller_suite):
26098 * docs/gst/tmpl/gstcaps.sgml:
26099 * docs/gst/tmpl/gstghostpad.sgml:
26100 * docs/gst/tmpl/gstquery.sgml:
26101 * docs/gst/tmpl/gstutils.sgml:
26102 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26103 (gst_object_sink_values), (gst_object_get_value_arrays),
26104 (gst_object_get_value_array):
26105 gracefully handle helper method calls to objects that are not beeing
26106 controlled, added test case for that
26108 2005-08-23 Wim Taymans <wim@fluendo.com>
26110 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26111 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26112 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26113 (gst_event_parse_qos), (gst_event_new_seek),
26114 (gst_event_parse_seek):
26116 Some more debugging output and doc cleanups.
26118 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26119 Fix possible deadlock.
26121 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26123 * docs/gst/gstreamer-docs.sgml:
26124 * docs/gst/gstreamer-sections.txt:
26125 * docs/gst/gstreamer.types:
26126 * docs/gst/tmpl/.cvsignore:
26129 * gst/gstelement.c:
26131 added 100 symbols from gstreamer-unused.txt to the right sections
26132 fixed more broken comments
26133 added GstBus to docs
26135 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26137 * docs/gst/gstreamer-sections.txt:
26138 * docs/gst/tmpl/.cvsignore:
26139 * docs/gst/tmpl/gstbin.sgml:
26140 * docs/gst/tmpl/gstbuffer.sgml:
26141 * gst/base/gstbasesrc.c:
26142 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26145 * tools/gst-launch.1.in:
26146 inlined more doc comments, added missing comments and fixed comments
26149 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26151 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26155 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26157 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26158 * gst/gststructure.h:
26159 add a fixate function for booleans; add a FIXME that these func
26160 names should probably be gst_structure_fixate_*
26162 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26164 * docs/gst/gstreamer-docs.sgml:
26165 * docs/gst/gstreamer-sections.txt:
26167 * gst/gstbin.c: (gst_bin_get_type),
26168 (gst_bin_child_proxy_get_child_by_index),
26169 (gst_bin_child_proxy_get_children_count),
26170 (gst_bin_child_proxy_init):
26171 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26172 (gst_child_proxy_get_child_by_index),
26173 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26174 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26175 (gst_child_proxy_get), (gst_child_proxy_set_property),
26176 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26177 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26178 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26179 * gst/gstchildproxy.h:
26180 * gst/parse/grammar.y:
26181 * tools/gst-inspect.c: (print_interfaces),
26182 (print_element_properties_info), (print_element_info):
26183 ported gstchildproxy over from 0.8
26184 ported gst-inspect fixes and enhancements over from 0.8
26186 2005-08-22 Wim Taymans <wim@fluendo.com>
26188 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26189 (gst_base_transform_handle_buffer):
26190 Also call the transform function if we have ANY caps.
26192 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26195 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26197 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26198 Don't pretend to handle seek events if the source is not seekable
26200 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26202 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26203 Remove extra parameter to debug output
26205 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26206 (gst_base_src_do_seek), (gst_base_src_activate_push):
26207 Fix seek event handling.
26209 * gst/gstpipeline.c: (gst_pipeline_change_state):
26210 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26211 (gst_queue_src_activate_push):
26212 Don't start the src pad task on FLUSH_STOP if the pad
26216 2005-08-22 Wim Taymans <wim@fluendo.com>
26218 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26219 Added check for gst_static_caps_get() refcounting.
26221 2005-08-22 Wim Taymans <wim@fluendo.com>
26223 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26224 Make _static_caps_get() refcounting sane.
26226 * gst/gstelement.c: (gst_element_set_state):
26227 Add g_return_val_if_fail() to protect against segfaults.
26229 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26231 * docs/gst/tmpl/gstevent.sgml:
26234 inlined remaining docs, added missing doc comments
26236 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26238 * check/gst/gstbin.c: (GST_START_TEST):
26239 since we don't know when preroll is done, use refcount range
26241 * gst/check/gstcheck.h:
26242 add macro for checking refcount range
26244 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26246 * check/Makefile.am:
26247 clean up environment for when registry gets built versus
26248 when actual tests are run; valgrind seems to not report
26249 leaks if GST_PLUGIN_PATH is set to some specific values
26250 * check/gst/gstbin.c: (GST_START_TEST):
26251 add more refcounting checks; maybe this exposes a
26253 * common/check.mak:
26254 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26255 * gst/check/gstcheck.h:
26256 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26257 (gst_bin_change_state):
26258 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26259 add/fix debugging/whitespace
26261 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26263 * check/gst/gstevent.c: (event_probe), (test_event),
26265 Er, don't call gst_bin_watch_for_state_change you idiot.
26267 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26269 * check/Makefile.am:
26270 Use CHECK_CFLAGS and CHECK_LIBS
26271 * check/gst/gstevent.c: (event_probe), (test_event),
26274 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26275 (gst_base_src_start), (gst_base_src_stop),
26276 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26277 (gst_base_src_change_state):
26278 Sprinkle gst_base_src_stop liberally around error paths to fix
26279 problems reusing a source after failed state changes.
26280 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26281 (helper_find_suggest), (gst_type_find_helper):
26282 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26284 * docs/gst/tmpl/gstevent.sgml:
26285 Migrate part of the docs from the SGML file. Wait for ensonic to
26286 tell me how I did it wrong ;)
26287 * tools/gst-typefind.c: (main):
26288 Extra robustness to state changes between files.
26290 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26292 * check/Makefile.am:
26293 don't valgrind the controller test - it's leaking - Stefan, HELP
26294 * gst/check/gstcheck.c: (gst_check_message_error),
26295 (gst_check_chain_func), (gst_check_setup_element),
26296 (gst_check_teardown_element), (gst_check_setup_src_pad),
26297 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26298 (gst_check_teardown_sink_pad):
26299 * gst/check/gstcheck.h:
26300 add a bunch of methods to set up elements, and src and sink pads
26301 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26302 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26305 * gst/gstmessage.c:
26307 whitespace/doc fixes
26309 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26311 * gst/gstelement.h:
26312 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26313 be handled by the application and not always printed as well
26315 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26317 * check/Makefile.am:
26319 * gst/check/gstcheck.c: (gst_check_message_error):
26320 * gst/check/gstcheck.h:
26321 add a fail_unless_equals_int
26322 add fail_unless for error messages
26324 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26326 * check/Makefile.am:
26328 * common/Makefile.am:
26329 * common/check.mak:
26331 factor out some of the common stuff so we can use it
26333 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26335 * check/Makefile.am:
26336 * check/gst/gstiterator.c: (GST_START_TEST):
26337 * check/gst/gstsystemclock.c: (GST_START_TEST),
26338 (gst_systemclock_suite):
26339 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26341 valgrind more tests
26343 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26345 * check/elements/.cvsignore:
26346 * check/elements/gstfakesrc.c:
26347 rename to name of element
26348 * check/elements/identity.c: (chain_func), (event_func),
26349 (setup_identity), (cleanup_identity), (GST_START_TEST),
26350 (identity_suite), (main):
26351 add a test for identity
26352 * check/Makefile.am:
26353 * pkgconfig/Makefile.am:
26354 * pkgconfig/gstreamer-check.pc.in:
26355 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26359 move the check stuff to a library that gets installed
26360 * check/gst-libs/controller.c: (GST_START_TEST):
26361 * check/gst-libs/gdp.c:
26362 * check/gst/gst.c: (GST_START_TEST):
26363 * check/gst/gstbin.c:
26364 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26365 * check/gst/gstbus.c:
26366 * check/gst/gstcaps.c: (GST_START_TEST):
26367 * check/gst/gstelement.c:
26368 * check/gst/gstghostpad.c:
26369 * check/gst/gstiterator.c:
26370 * check/gst/gstmessage.c:
26371 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26372 * check/gst/gstobject.c:
26373 * check/gst/gstpad.c: (GST_START_TEST):
26374 * check/gst/gststructure.c: (GST_START_TEST):
26375 * check/gst/gstsystemclock.c: (GST_START_TEST),
26376 (gst_systemclock_suite):
26377 * check/gst/gsttag.c: (gst_tag_suite):
26378 * check/gst/gstvalue.c:
26379 * check/pipelines/cleanup.c:
26380 * check/pipelines/simple_launch_lines.c:
26381 * check/states/sinks.c:
26382 change include statement
26384 * docs/gst/gstreamer-sections.txt:
26385 * docs/gst/tmpl/gstpad.sgml:
26386 document more pad stuff
26387 * gst/gstminiobject.c: (gst_mini_object_ref),
26388 (gst_mini_object_unref):
26391 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26393 * docs/gst/tmpl/gst.sgml:
26395 eliminate another tmpl file, fix spelling in the long-description
26397 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26399 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26400 (test_event), (timediff), (gstevents_suite):
26401 Should fix build on 64-bit arch's
26403 2005-08-18 Andy Wingo <wingo@pobox.com>
26405 Make sure that when a pipeline goes to PLAYING, that data has
26406 actually hit the sink.
26408 * check/states/sinks.c (test_sink): A sink that doesn't get any
26409 data shouldn't return SUCCESS for going to either PLAYING or
26410 PAUSED. Test also the return values on the way back down.
26412 * gst/gstelement.c (gst_element_set_state): When changing the
26413 state of an element currently changing state asynchronously, go to
26414 lost-state after commiting the pending state. Makes future calls
26415 to get_state continue to return ASYNC.
26417 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26418 ASYNC when going to PLAYING if we still don't have preroll, as can
26419 happen with live sources.
26421 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26423 * docs/pwg/advanced-types.xml:
26424 Hack long paragraph into 2 chunks as a workaround for buggy
26425 jadetex version in sid and breezy that loops infinitely and
26428 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26430 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26431 (test_event), (timediff), (gstevents_suite):
26432 Provide more error margin in clock measurements to allow for
26433 g_get_current_time inaccuracies.
26435 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26437 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26438 (test_event), (timediff), (gstevents_suite):
26439 Fix error message output so I might be able to tell why the
26440 test works here but fails on the build farm.
26442 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26444 * check/Makefile.am:
26445 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26446 (test_event), (timediff), (gstevents_suite), (main):
26449 * docs/design/part-seeking.txt:
26450 Spelling correction
26452 * docs/gst/tmpl/gstevent.sgml:
26453 * docs/gst/tmpl/gstfakesrc.sgml:
26456 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26457 Treat a buffer-without-newsegment the same as a receiving
26458 a newsegment not in time format, and disable syncing to the clock
26461 * gst/gstbus.c: (gst_bus_set_sync_handler):
26462 Assert if anyone tries to replace the existing sync_handler for bus,
26463 as only the owner should be setting it.
26466 Have a fixed set of custom event enums with events identified by
26467 their structure name (as in 0.8), rather than a free-for-all
26468 allowing collisions between enum values from different plugins.
26470 * gst/gstpad.c: (gst_pad_class_init):
26473 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26474 Handle out-of-band downstream events from the sending thread.
26476 2005-08-17 Andy Wingo <wingo@pobox.com>
26478 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26479 play-timeout==0 to mean no timeout at all. In that case, don't
26480 bother with a get_state or a warning, just return directly, even
26483 * gst/base/gstbasetransform.c: Debug changes.
26486 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26487 ensure bins post state change messages. A bit of a hack but I can't
26488 think of a way to avoid it.
26490 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26492 2005-08-16 Andy Wingo <wingo@pobox.com>
26494 * gst/base/gstadapter.h:
26495 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26496 peek() but you own the data. Not terribly efficient atm.
26498 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26500 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26501 (gst_element_found_tags):
26503 Add two utility functions for tag handling.
26505 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26507 * docs/manual/advanced-dataaccess.xml:
26508 * docs/manual/basics-helloworld.xml:
26509 Fix docs to use _bin_add() before _link(), which fixes the examples
26510 with recent core versions (reported by Madhan Raj M
26511 <raj_madan@rediffmail.com>, #313199).
26513 2005-08-16 Wim Taymans <wim@fluendo.com>
26515 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26516 Added subtract checks.
26518 * docs/design/part-events.txt:
26519 Some more docs about newsegment
26521 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26524 * gst/gstcaps.c: (gst_caps_to_string):
26525 Add comments, cleanups.
26527 * gst/gstelement.c: (gst_element_save_thyself):
26530 * gst/gstvalue.c: (gst_value_collect_int_range),
26531 (gst_string_unwrap), (gst_value_union_int_int_range),
26532 (gst_value_union_int_range_int_range),
26533 (gst_value_intersect_int_int_range),
26534 (gst_value_intersect_int_range_int_range),
26535 (gst_value_intersect_double_double_range),
26536 (gst_value_intersect_double_range_double_range),
26537 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26538 (gst_value_subtract_int_range_int),
26539 (gst_value_subtract_double_range_double),
26540 (gst_value_subtract_double_range_double_range),
26541 (gst_value_subtract_from_list), (gst_value_subtract_list),
26542 (gst_value_can_compare), (gst_value_compare_fraction):
26543 Cleanups, add comments, remove unneeded asserts.
26545 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26547 * tools/gst-launch.c: (event_loop):
26548 don't convert NULL structures to strings
26550 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26552 * docs/gst/gstreamer-sections.txt:
26553 made some defines private
26554 * docs/gst/tmpl/gstconfig.sgml:
26555 * docs/gst/tmpl/gstqueue.sgml:
26556 * docs/gst/tmpl/gsttaglist.sgml:
26557 * docs/gst/tmpl/gsttypes.sgml:
26558 * docs/gst/tmpl/gstutils.sgml:
26559 * docs/pwg/appendix-porting.xml:
26560 * gst/base/gstbasesink.h:
26561 * gst/base/gstbasesrc.c:
26562 * gst/base/gstbasesrc.h:
26563 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26564 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26565 * gst/gstelement.c: (gst_element_class_init):
26566 * gst/gstpad.c: (gst_pad_class_init):
26567 * gst/gstqueue.c: (gst_queue_class_init):
26568 * gst/gstxml.c: (gst_xml_class_init):
26569 documented all undocumented signal inline
26570 * libs/gst/controller/gst-controller.h:
26573 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26575 * docs/pwg/appendix-porting.xml:
26576 Document _set_link_function -> _set_setcaps_function.
26578 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26580 * check/Makefile.am:
26581 add a .check target for running the check
26582 * check/gst-libs/controller.c: (GST_START_TEST):
26584 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26585 complete checks for gstbuffer; would be nice if I could get the
26586 gcov stuff to work so I can see if I actually completed gstbuffer.c
26587 * check/gstcheck.h:
26588 add ASSERT_BUFFER_REFCOUNT
26590 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26592 * docs/gst/gstreamer-sections.txt:
26593 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26595 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26596 spew out a warning if a tag that is already registered
26597 is re-registered, unless it is re-registered with a
26598 different type (#308438).
26600 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26602 * docs/pwg/appendix-porting.xml:
26603 * docs/pwg/building-state.xml:
26604 Add some paragraphs about state changes in 0.9 to the PWG
26605 and the porting guide, in particular about the new meaning
26606 of GST_STATE_PAUSED and how to write state change functions
26607 with concurrent access by multiple threads in mind.
26609 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26611 * docs/gst/gstreamer-docs.sgml:
26612 * docs/libs/gstreamer-libs-docs.sgml:
26613 added deprecation and since indexes
26614 * libs/gst/controller/gst-controller.c:
26615 * libs/gst/controller/gst-helper.c:
26619 2005-08-11 Wim Taymans <wim@fluendo.com>
26621 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26622 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26623 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26624 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26625 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26626 (gst_ghost_pad_set_target):
26627 Actually implement (re)setting the target on a ghostpad
26628 as described in the docs.
26630 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26632 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26633 Check whether GST_DEBUG_NO_COLOR environment variable is
26634 set and disable coloured debug output if that is the case.
26636 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26638 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26639 (gst_type_find_helper):
26640 The memory returned by gst_type_find_peek() needs to
26641 stay valid until the end of a typefind function, and
26642 typefind functions may keep results from different
26643 offsets around, so we can't just unref the buffer from
26644 the previous _peek(), but have to save all buffers
26645 returned by _peek() until typefinding is done and only
26648 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26650 * docs/gst/gstreamer-sections.txt:
26652 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26654 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26656 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26657 Fix a pretty good memleak.
26659 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26661 * gst/gstiterator.h:
26662 Fix wrong include and 'make distcheck'.
26664 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26666 * gst/gstbin.c: (bin_bus_handler):
26667 Use gst_element_post_message() instead.
26669 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26671 * gst/base/gstadapter.h:
26672 * gst/base/gstbasesink.h:
26673 * gst/base/gstbasesrc.h:
26674 * gst/base/gstbasetransform.h:
26675 * gst/base/gstcollectpads.h:
26676 * gst/base/gstpushsrc.h:
26677 * gst/gstiterator.h:
26678 Add padding to our base elements' class and instance structs and
26679 to GstIterator (you will need to rebuild all plugins and apps!)
26681 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26683 * gst/gstbin.c: (bin_bus_handler):
26684 Make default message forwarding from child->bus to bin->bus
26685 threadsafe and make it not emit warnings if the parent has no bus.
26687 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26689 * gst/gstelement.c: (activate_pads):
26690 On paused->ready, set pad->caps to NULL, as is the documented
26691 behaviour in this state change. Fixes playback of series of
26692 media files when visualization is enabled in Totem.
26694 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26696 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26697 Allow NULL as filter-caps (which means "any").
26699 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26701 * docs/libs/gstreamer-libs-sections.txt:
26702 * libs/gst/controller/gst-controller.c:
26703 * libs/gst/controller/gst-controller.h:
26704 * libs/gst/controller/gst-helper.c:
26705 adding more entries to the docs and fix small doc-bugs
26707 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26709 * docs/gst/gstreamer-docs.sgml:
26710 * docs/gst/gstreamer-sections.txt:
26711 * docs/gst/gstreamer.types:
26712 * docs/gst/tmpl/gstbasesink.sgml:
26713 * docs/gst/tmpl/gstbasesrc.sgml:
26714 * docs/gst/tmpl/gstbasetransform.sgml:
26715 * docs/gst/tmpl/gstfakesrc.sgml:
26716 * gst/base/gstcollectpads.c:
26717 * gst/base/gstcollectpads.h:
26718 * libs/gst/controller/gst-controller.c:
26719 * libs/gst/controller/gst-controller.h:
26720 * libs/gst/controller/gst-helper.c:
26721 * libs/gst/controller/gst-interpolation.c:
26722 * libs/gst/controller/lib.c:
26723 added long/short desc for controller docs
26724 added collectpads base class docs
26725 added correct includes to base-class docs
26727 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26729 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26730 (gst_test_mono_source_set_property),
26731 (gst_test_mono_source_class_init), (GST_START_TEST),
26732 (gst_controller_suite):
26733 * docs/gst/gstreamer-docs.sgml:
26734 * docs/gst/gstreamer-sections.txt:
26735 * docs/gst/gstreamer.types:
26736 * docs/libs/gstreamer-libs-docs.sgml:
26737 * docs/libs/gstreamer-libs-sections.txt:
26738 * gst/base/gstadapter.c:
26739 * libs/gst/controller/gst-controller.c:
26740 (gst_controlled_property_new), (gst_controlled_property_free),
26741 (gst_controller_new_valist),
26742 (gst_controller_remove_properties_valist),
26743 (gst_controller_sink_values), (_gst_controller_finalize):
26744 * libs/gst/controller/gst-controller.h:
26745 * libs/gst/controller/gst-helper.c:
26746 (gst_object_control_properties), (gst_object_uncontrol_properties),
26747 (gst_object_get_controller), (gst_object_set_controller),
26748 (gst_object_sink_values), (gst_object_get_value_arrays),
26749 (gst_object_get_value_array):
26750 more tests (and fixes) for the controller
26751 more docs for the controller
26752 integrated companies docs for the adapter
26754 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26756 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26757 (GST_START_TEST), (fakesrc_suite):
26758 add tests for sizetype
26760 2005-08-04 Andy Wingo <wingo@pobox.com>
26762 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26763 fixes buffer_alloc proxying among other things.
26765 * gst/base/gstbasetransform.c:
26766 * gst/base/gstbasetransform.h:
26767 Revert patch to gstbasetransform from 7-28 removing
26770 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26771 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26772 Semantics changed, should return not the size of the output buffer
26773 but the byte size of a buffer with a given caps.
26775 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26777 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26778 out) are not the pad caps until setcaps finishes.
26779 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26780 not-in-place case as well. Deal with changing from in-place to
26781 not-in-place within calling pad_alloc_buffer. Still a bit
26782 concerned about the overhead here...
26784 2005-08-03 Andy Wingo <wingo@pobox.com>
26786 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26787 fixating is an error.
26789 2005-08-04 Edward Hervey <edward@fluendo.com>
26791 * gst/base/gstadapter.h:
26792 Added gst_adapter_get_type() to the header
26794 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26796 * check/Makefile.am:
26797 * check/gst-libs/controller.c:
26798 * libs/gst/controller/gst-controller.c:
26799 (gst_controller_new_valist):
26800 added check test suite for the controller
26801 * gst/base/gstpushsrc.c:
26804 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26806 * docs/gst/Makefile.am:
26807 * docs/gst/gstreamer-docs.sgml:
26808 * docs/gst/gstreamer-sections.txt:
26809 * docs/gst/gstreamer.types:
26810 * docs/gst/tmpl/gstfakesrc.sgml:
26812 * gst/base/gstbasesink.c:
26813 * gst/base/gstbasesink.h:
26814 * gst/base/gstbasesrc.c:
26815 * gst/base/gstbasesrc.h:
26816 * gst/base/gstbasetransform.c:
26817 * gst/base/gstpushsrc.c:
26818 * gst/base/gstpushsrc.h:
26819 add short/long description docs to base classes
26820 add pushsrc to the docs
26821 remove consolidated doc fragments
26823 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26826 * docs/libs/Makefile.am:
26827 * docs/libs/gstreamer-libs-docs.sgml:
26828 * docs/libs/gstreamer-libs-sections.txt:
26829 * docs/libs/gstreamer-libs.types:
26830 * examples/Makefile.am:
26831 * examples/controller/.cvsignore:
26832 * examples/controller/Makefile.am:
26833 * examples/controller/audio-example.c: (main):
26834 * libs/gst/Makefile.am:
26835 * libs/gst/controller/.cvsignore:
26836 * libs/gst/controller/Makefile.am:
26837 * libs/gst/controller/gst-controller.c:
26838 (on_object_controlled_property_changed), (gst_timed_value_compare),
26839 (gst_timed_value_find),
26840 (gst_controlled_property_set_interpolation_mode),
26841 (gst_controlled_property_new), (gst_controlled_property_free),
26842 (gst_controller_find_controlled_property),
26843 (gst_controller_new_valist), (gst_controller_new),
26844 (gst_controller_remove_properties_valist),
26845 (gst_controller_remove_properties), (gst_controller_set),
26846 (gst_controller_set_from_list), (gst_controller_unset),
26847 (gst_controller_get), (gst_controller_get_all),
26848 (gst_controller_sink_values), (gst_controller_get_value_arrays),
26849 (gst_controller_get_value_array),
26850 (gst_controller_set_interpolation_mode),
26851 (_gst_controller_finalize), (_gst_controller_init),
26852 (_gst_controller_class_init), (gst_controller_get_type):
26853 * libs/gst/controller/gst-controller.h:
26854 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26855 (g_object_uncontrol_properties), (g_object_get_controller),
26856 (g_object_set_controller), (g_object_sink_values),
26857 (g_object_get_value_arrays), (g_object_get_value_array):
26858 * libs/gst/controller/gst-interpolation.c:
26859 (gst_controlled_property_find_timed_value_node),
26860 (interpolate_none_get), (interpolate_trigger_get),
26861 (interpolate_trigger_get_value_array):
26862 * libs/gst/controller/lib.c: (gst_controller_init):
26863 * pkgconfig/Makefile.am:
26864 * pkgconfig/gstreamer-control-uninstalled.pc.in:
26865 * pkgconfig/gstreamer-control.pc.in:
26866 * testsuite/Makefile.am:
26867 * testsuite/controller/.cvsignore:
26868 * testsuite/controller/Makefile.am:
26869 * testsuite/controller/interpolator.c: (main):
26870 added controller code
26871 removed dparam pc files
26873 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26874 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26875 (gst_collectpads_stop):
26876 Broadcast the condition when shutting down, to make sure we wake all
26877 threads up. Shut down pads on finalize, for safety.
26879 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26880 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26881 (gst_base_transform_handle_buffer),
26882 (gst_base_transform_change_state):
26883 Handle PAUSED->READY->PAUSED transition after negotiation
26885 * gst/gstmessage.c: (gst_message_init):
26886 Extra piece of debug for new messages.
26888 2005-08-01 Stefan Kost <ensonic@users.sf.net>
26891 * docs/gst/tmpl/gstbasesrc.sgml:
26892 * docs/gst/tmpl/gstelement.sgml:
26893 * docs/gst/tmpl/gstevent.sgml:
26894 * docs/gst/tmpl/gstfakesrc.sgml:
26895 * docs/gst/tmpl/gstformat.sgml:
26896 * docs/gst/tmpl/gstghostpad.sgml:
26897 * docs/gst/tmpl/gstpad.sgml:
26898 * docs/gst/tmpl/gstquery.sgml:
26899 * docs/gst/tmpl/gststructure.sgml:
26900 * docs/gst/tmpl/gsttaglist.sgml:
26901 * docs/gst/tmpl/gstvalue.sgml:
26902 * docs/libs/gstreamer-libs-docs.sgml:
26903 * docs/libs/gstreamer-libs-sections.txt:
26904 * docs/libs/gstreamer-libs.types:
26905 * libs/gst/Makefile.am:
26906 * libs/gst/control/.cvsignore:
26907 * libs/gst/control/Makefile.am:
26908 * libs/gst/control/control.c:
26909 * libs/gst/control/control.h:
26910 * libs/gst/control/dparam.c:
26911 * libs/gst/control/dparam.h:
26912 * libs/gst/control/dparam_smooth.c:
26913 * libs/gst/control/dparam_smooth.h:
26914 * libs/gst/control/dparamcommon.h:
26915 * libs/gst/control/dparammanager.c:
26916 * libs/gst/control/dparammanager.h:
26917 * libs/gst/control/dplinearinterp.c:
26918 * libs/gst/control/dplinearinterp.h:
26919 * libs/gst/control/unitconvert.c:
26920 * libs/gst/control/unitconvert.h:
26921 * testsuite/Makefile.am:
26922 * testsuite/dynparams/.cvsignore:
26923 * testsuite/dynparams/Makefile.am:
26924 * testsuite/dynparams/dparamstest.c:
26925 * tools/Makefile.am:
26926 * tools/gst-inspect.c: (print_element_info), (main):
26927 * tools/gst-xmlinspect.c: (print_element_info), (main):
26928 deactivate and remove dparams (libgstcontrol)
26930 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26932 * gst/elements/gsttypefindelement.c:
26933 (gst_type_find_element_have_type), (gst_type_find_element_init),
26934 (stop_typefinding), (gst_type_find_element_handle_event),
26935 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26936 * gst/elements/gsttypefindelement.h:
26937 Set caps on all outgoing buffers, not just the first one.
26939 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26941 * gst/elements/gsttypefindelement.c:
26942 (gst_type_find_element_have_type),
26943 (gst_type_find_element_check_set_buffer_caps),
26944 (gst_type_find_element_init), (stop_typefinding),
26945 (gst_type_find_element_handle_event),
26946 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26947 * gst/elements/gsttypefindelement.h:
26948 Set caps on first outgoing buffer when we've found the type.
26950 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26952 * docs/gst/gstreamer-docs.sgml:
26953 * docs/gst/gstreamer-sections.txt:
26954 * docs/gst/tmpl/gstscheduler.sgml:
26955 * docs/gst/tmpl/gstschedulerfactory.sgml:
26956 Remove some old cruft from docs.
26958 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
26961 Fix inline docs for GstPadLinkReturn.
26963 * gst/gststructure.c: (gst_structure_has_name):
26964 * gst/gststructure.h:
26965 * docs/gst/gstreamer-sections.txt:
26966 New API: gst_structure_has_name().
26968 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
26971 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
26972 and _LARGEFILE_SOURCE in config.h as required. Do not
26973 export those flags in our .pc files any longer (#142209).
26975 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
26977 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
26978 (gst_file_sink_do_seek), (gst_file_sink_event),
26979 (gst_file_sink_get_current_offset), (gst_file_sink_render):
26980 Redo seek/tell calls with large file support in mind; add some
26981 debugging messages; add log message that tells us when large
26982 file support is unavailable or not enabled for some reason.
26984 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
26985 Add log message that tells us when large file support
26986 is unavailable or not enabled for some reason.
26988 2005-07-29 Wim Taymans <wim@fluendo.com>
26990 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
26991 Added test for removing an element with ghostpad from a bin.
26992 Fixed test as current implementation does the right thing.
26994 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
26995 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
26996 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
26997 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
26998 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
26999 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27000 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27001 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27002 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27003 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27004 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27005 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27006 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27007 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27008 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27009 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27010 * gst/gstghostpad.h:
27011 Clean up ghostpads, remove properties for internal stuff.
27014 Prepare for switching targets, not all use cases work yet.
27016 2005-07-29 Wim Taymans <wim@fluendo.com>
27018 * docs/design/part-gstghostpad.txt:
27021 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27022 (gst_bin_remove_func):
27023 Unlinking pads while holding the bin LOCK is not a good
27026 * gst/gstpad.c: (gst_pad_class_init),
27027 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27028 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27029 No prob setting template after creating the pad.
27031 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27033 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27034 (gst_bus_peek), (gst_bus_source_dispatch),
27035 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27036 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27037 gst_bus_poll may be called from other threads. Handle
27038 this nicely by not making poll_data disappear off the
27039 stack once gst_bus_poll returns.
27040 gst_bus_peek now increments the refcount on the returned
27043 2005-07-29 Wim Taymans <wim@fluendo.com>
27045 * docs/design/part-gstghostpad.txt:
27046 Overview of current GhostPad datastructures and use
27047 cases for changing the target.
27049 2005-07-28 Wim Taymans <wim@fluendo.com>
27051 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27052 Added checks for hierarchy consistency whan adding linked
27055 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27056 Added check to test element scheduling without bin/pipeline.
27058 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27059 First add elements to bin, then link.
27061 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27062 (gst_bin_remove_func):
27063 Unlink pads from elements added/removed from bin to maintain
27064 hierarchy consistency.
27066 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27068 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27069 (gst_base_transform_handle_buffer):
27070 * gst/base/gstbasetransform.h:
27071 Remove broken delay_configure (fixes renegotiation of software
27072 scaling pipelines); remove some leftover printf()s.
27074 2005-07-28 Wim Taymans <wim@fluendo.com>
27076 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27077 Added some more tests for wrong hierarchy
27079 * docs/design/part-overview.txt:
27082 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27085 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27086 (gst_element_dispose):
27087 Some more cleanups.
27089 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27090 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27091 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27092 (gst_pad_set_caps), (gst_pad_send_event):
27093 Check for correct hierarchy when linking pads. Moving to
27094 strict requirement for ghostpads when linking elements in
27098 Clean ups. Added WRONG_HIERARCHY return value.
27100 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27102 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27103 Better debug if no transform is possible.
27105 2005-07-27 Wim Taymans <wim@fluendo.com>
27107 * docs/random/wtay/network-transp:
27108 Some old doc I had.
27110 2005-07-27 Wim Taymans <wim@fluendo.com>
27112 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27113 (gst_dp_event_from_packet):
27114 Fix serialization of seek events.
27116 2005-07-27 Wim Taymans <wim@fluendo.com>
27118 * check/gst-libs/gdp.c: (GST_START_TEST):
27119 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27120 Fix compilation and fix event serialization.
27122 2005-07-27 Wim Taymans <wim@fluendo.com>
27125 * docs/design/part-TODO.txt:
27126 * docs/design/part-events.txt:
27129 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27130 (gst_base_sink_event), (gst_base_sink_do_sync),
27131 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27132 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27133 (gst_base_src_do_seek), (gst_base_src_event_handler),
27134 (gst_base_src_loop):
27135 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27136 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27137 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27138 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27139 (gst_base_transform_set_passthrough),
27140 (gst_base_transform_is_passthrough):
27141 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27142 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27148 * gst/gstelement.c: (gst_element_seek):
27149 * gst/gstelement.h:
27150 Update gst_element_seek.
27152 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27153 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27154 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27155 (gst_event_new_eos), (gst_event_new_newsegment),
27156 (gst_event_parse_newsegment), (gst_event_new_tag),
27157 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27158 (gst_event_parse_qos), (gst_event_new_seek),
27159 (gst_event_parse_seek), (gst_event_new_navigation):
27161 Make GstEvent use GstStructure. Add parsing code, make sure the
27162 API is sufficiently generic.
27163 Mark possible directions of events and serialization.
27165 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27166 (_gst_message_copy), (gst_message_new_segment_start),
27167 (gst_message_new_segment_done), (gst_message_new_custom),
27168 (gst_message_parse_segment_start),
27169 (gst_message_parse_segment_done):
27172 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27173 (gst_pad_set_caps), (gst_pad_send_event):
27174 Update for new events.
27175 Catch events sent in wrong directions.
27177 * gst/gstqueue.c: (gst_queue_link_src),
27178 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27179 (gst_queue_handle_src_query):
27184 Remove event code from this file.
27186 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27187 (gst_dp_event_from_packet):
27190 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27192 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27193 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27194 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27195 Make debugging actually useful.
27197 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27199 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27200 (gst_pad_fixate_caps):
27201 Implement default fixation once again, so that gst_pad_fixate()
27202 actually does anything at all. This probably needs to be some
27203 sort of a last resort, and use profile-based fixation first, but
27204 since that doesn't exist yet, this is the best we have. Fixes
27205 visualization in Totem.
27207 2005-07-22 Wim Taymans <wim@fluendo.com>
27209 * docs/design/part-events.txt:
27212 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27213 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27214 (gst_base_sink_activate_pull):
27215 Some more comments.
27217 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27218 (gst_fake_src_create):
27219 Fix handoff marshall.
27221 * gst/elements/gstidentity.c: (gst_identity_class_init),
27222 (gst_identity_transform_ip):
27223 We're a real inplace element.
27225 * gst/gstbus.c: (gst_bus_post):
27226 Added some comments.
27228 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27229 * tests/muxing/case1.c: (main):
27230 * tests/sched/dynamic-pipeline.c: (main):
27231 * tests/sched/interrupt1.c: (main):
27232 * tests/sched/interrupt2.c: (main):
27233 * tests/sched/interrupt3.c: (main):
27234 * tests/sched/runxml.c: (main):
27235 * tests/sched/sched-stress.c: (main):
27236 * tests/seeking/seeking1.c: (event_received), (main):
27237 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27239 * tests/threadstate/threadstate3.c: (main):
27240 * tests/threadstate/threadstate4.c: (main):
27241 * tests/threadstate/threadstate5.c: (main):
27244 2005-07-21 Wim Taymans <wim@fluendo.com>
27246 * docs/design/part-seeking.txt:
27247 Some small additions.
27249 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27250 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27251 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27252 * gst/base/gstbasesink.h:
27253 discont values are gint64, handle the math correctly.
27255 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27256 Make the basesrc report error if the source pad is not linked.
27258 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27259 (gst_queue_loop), (gst_queue_handle_src_query),
27260 (gst_queue_src_activate_push):
27261 Make queue collect data even if the srcpad is not linked.
27262 Start pushing out data as soon as it is linked.
27264 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27266 Added gst_flow_get_name() to ease error reporting.
27268 2005-07-20 Wim Taymans <wim@fluendo.com>
27270 * gst/gstmessage.c: (gst_message_new_segment_start),
27271 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27272 (gst_message_parse_segment_done):
27273 * gst/gstmessage.h:
27274 Added a bunch of messages for advanced seeking.
27276 * gst/parse/grammar.y:
27277 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27278 (gst_dpman_state_changed):
27279 Fix some new-pad -> pad-added signals
27281 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27283 * docs/manual/appendix-porting.xml:
27284 * docs/pwg/appendix-porting.xml:
27285 Document new-pad/state-change signal renames and the FixedList
27288 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27290 * docs/manual/advanced-autoplugging.xml:
27291 * docs/manual/basics-helloworld.xml:
27292 * docs/manual/basics-pads.xml:
27293 * docs/random/ds/0.9-suggested-changes:
27294 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27295 * gst/gstelement.h:
27299 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27300 (gst_structure_parse_array), (gst_structure_parse_value):
27301 * gst/gstvalue.c: (gst_type_is_fixed),
27302 (gst_value_list_prepend_value), (gst_value_list_append_value),
27303 (gst_value_list_get_size), (gst_value_list_get_value),
27304 (gst_value_transform_array_string), (gst_value_serialize_array),
27305 (gst_value_deserialize_array), (gst_value_intersect_array),
27306 (gst_value_is_fixed), (_gst_value_initialize):
27308 GstElement::new-pad -> pad-added, GstElement::state-change ->
27309 state-changed, GstValueFixedList -> GstValueArray, add format and
27310 flags as their own arguments in gst_element_seek() (should improve
27311 "bindeability"), remove function generators since they don't work
27312 under a whole bunch of compilers (they were deprecated already
27315 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27317 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27318 (_gst_debug_register_funcptr):
27320 Fix illegal cast on some platforms (#309253).
27322 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27324 * gst/gstmessage.c: (gst_message_new_custom):
27325 * gst/gstmessage.h:
27326 Add _new_custom, make _new_application a macro to _new_custom.
27328 2005-07-20 Wim Taymans <wim@fluendo.com>
27330 * gst/base/gstbasesrc.c: (gst_base_src_init),
27331 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27332 * gst/base/gstbasesrc.h:
27333 Add a gboolean to decide when to push out a discont.
27335 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27336 (gst_queue_loop), (gst_queue_handle_src_query),
27337 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27338 (gst_queue_set_property), (gst_queue_get_property):
27341 * tests/threadstate/threadstate1.c: (main):
27342 Make a thread test compile and run... very silly..
27345 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27347 * docs/manual/appendix-porting.xml:
27348 Mention removal of libgstgconf-0.9.la and existence of gconf
27351 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27353 * docs/pwg/advanced-clock.xml:
27354 * docs/pwg/appendix-porting.xml:
27355 * docs/pwg/intro-preface.xml:
27356 * docs/pwg/other-base.xml:
27357 * docs/pwg/other-manager.xml:
27358 * docs/pwg/other-nton.xml:
27359 * docs/pwg/other-ntoone.xml:
27360 * docs/pwg/other-oneton.xml:
27361 * docs/pwg/pwg.xml:
27362 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27363 demuxer), remove n-to-n (was never written), fix some code examples
27364 and links and update the porting section to include all this.
27366 2005-07-19 Wim Taymans <wim@fluendo.com>
27368 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27369 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27370 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27371 (gst_queue_src_activate_push), (gst_queue_change_state),
27372 (gst_queue_get_property):
27374 Propagate GstFlowReturn more intelligently upstream and output
27375 an ERROR/EOS when streaming stopped due to fatal error.
27377 2005-07-19 Wim Taymans <wim@fluendo.com>
27379 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27380 Don't block forever for the state change to complete, the
27381 pipeline already did with a sensible timeout.
27383 2005-07-19 Wim Taymans <wim@fluendo.com>
27385 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27386 Make sure we never call the create function is we
27389 2005-07-19 Andy Wingo <wingo@pobox.com>
27391 * gst/parse/parse.l: Attempt to solve bug #172815.
27393 2005-07-19 Wim Taymans <wim@fluendo.com>
27395 * docs/design/part-clocks.txt:
27396 * docs/design/part-events.txt:
27397 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27398 Small docs updates.
27399 Only update the seeking values when we are not
27402 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27404 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27405 Oops, ignore the result of gst_pad_push_event here.
27407 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27409 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27410 (gst_base_src_activate_push):
27411 Send discont event from the loop function, as pads
27412 aren't activated yet in the activate_push handler.
27414 * gst/gstbin.c: (bin_bus_handler):
27415 Don't leak element name.
27417 2005-07-18 Andy Wingo <wingo@pobox.com>
27419 * configure.ac: Use AS_LIBTOOL_TAGS.
27421 2005-07-18 Wim Taymans <wim@fluendo.com>
27423 * docs/gst/gstreamer.types:
27424 Remove deleted types.
27426 2005-07-18 Wim Taymans <wim@fluendo.com>
27428 * check/elements/gstfakesrc.c: (GST_START_TEST):
27431 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27432 (init_popt_callback):
27434 * gst/gst_private.h:
27435 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27436 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27439 * gst/gstconfig.h.in:
27440 * gst/gstelement.c: (gst_element_class_init),
27441 (gst_element_set_base_time), (gst_element_get_base_time),
27442 (iterator_fold_with_resync), (gst_element_change_state),
27443 (gst_element_dispose), (gst_element_get_bus):
27444 * gst/gstelement.h:
27445 * gst/gstelementfactory.h:
27446 * gst/gsterror.c: (_gst_core_errors_init):
27449 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27451 * gst/gstinfo.c: (_gst_debug_init):
27452 * gst/gstmessage.c: (_gst_message_copy):
27453 * gst/gstmessage.h:
27454 * gst/gstminiobject.h:
27457 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27458 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27461 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27462 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27463 (gst_pipeline_get_last_stream_time):
27464 * gst/gstpipeline.h:
27465 * gst/gstpluginfeature.h:
27467 * gst/gstscheduler.c:
27468 * gst/gstscheduler.h:
27469 * gst/gststructure.h:
27470 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27471 (gst_task_finalize), (gst_task_func), (gst_task_create),
27472 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27473 (gst_task_stop), (gst_task_pause):
27475 * gst/gsttypefind.h:
27477 * gst/registries/gstlibxmlregistry.c: (load_feature),
27478 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27479 * gst/registries/gstxmlregistry.c:
27480 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27481 * gst/schedulers/threadscheduler.c:
27482 * libs/gst/control/dparammanager.h:
27483 * tools/gst-inspect.c: (print_element_list),
27484 (print_plugin_features), (print_element_features):
27485 * tools/gst-xmlinspect.c: (print_element_list),
27486 (print_plugin_info), (main):
27487 Removed plugable schedulers.
27488 Removed Scheduler/Manager from elements.
27489 Removed gsttypes.h, rearranged includes.
27490 Removed dependency pad<->element, element<>pipeline, and
27491 various others, fix includes.
27492 implement gst_pad_get_parent() with gst_object_get_parent()
27493 Make GstTask sefcontained.
27494 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27496 Fix endless loop in iterator_fold_with_resync.
27499 2005-07-18 Wim Taymans <wim@fluendo.com>
27505 2005-07-18 Wim Taymans <wim@fluendo.com>
27508 No more cothreads.h
27510 2005-07-18 Wim Taymans <wim@fluendo.com>
27514 Let's remove these.
27516 2005-07-18 Wim Taymans <wim@fluendo.com>
27518 * docs/design/part-dynamic.txt:
27519 * docs/design/part-events.txt:
27520 * docs/design/part-seeking.txt:
27521 Some more docs in the works.
27523 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27524 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27525 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27526 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27527 (gst_base_transform_handle_buffer),
27528 (gst_base_transform_sink_activate_push),
27529 (gst_base_transform_src_activate_pull),
27530 (gst_base_transform_set_passthrough),
27531 (gst_base_transform_is_passthrough):
27534 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27537 * gst/gstevent.c: (gst_event_finalize):
27540 * gst/gstutils.c: (gst_element_unlink),
27541 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27542 (gst_pad_proxy_setcaps):
27544 Add _get_parent_element() to get a pads parent as an element.
27546 2005-07-18 Wim Taymans <wim@fluendo.com>
27548 * check/gst/gstbin.c: (GST_START_TEST):
27551 2005-07-18 Wim Taymans <wim@fluendo.com>
27553 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27554 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27555 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27556 (gst_base_sink_event), (gst_base_sink_do_sync),
27557 (gst_base_sink_chain), (gst_base_sink_loop),
27558 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27559 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27561 Fix logic for returning ASYNC when not prerolled.
27563 2005-07-18 Wim Taymans <wim@fluendo.com>
27565 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27566 Fix nasty refcount bug.
27568 2005-07-16 Philippe Khalaf <burger@speedy.org>
27570 * gst/elements/gstfdsrc.c:
27571 * gst/elements/gstfdsrc.h:
27572 * gst/elements/gstelements.c:
27573 * gst/elements/Makefile.am:
27574 Ported fdsrc to 0.9.
27576 2005-07-16 Wim Taymans <wim@fluendo.com>
27578 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27579 (gst_base_sink_do_sync):
27582 2005-07-16 Wim Taymans <wim@fluendo.com>
27584 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27585 (gst_base_sink_event), (gst_base_sink_get_times),
27586 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27587 * gst/base/gstbasesink.h:
27588 Store and use discont values when syncing buffers as described
27591 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27592 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27593 (gst_base_src_activate_push):
27594 Push discont event when starting.
27596 * gst/elements/gstidentity.c: (gst_identity_transform):
27599 * gst/gstbin.c: (gst_bin_change_state):
27600 Small cleanups in base_time distribution.
27602 * gst/gstelement.c: (gst_element_set_base_time),
27603 (gst_element_get_base_time), (gst_element_change_state):
27604 * gst/gstelement.h:
27605 Added methods for the base_time of the element.
27608 * gst/gstpipeline.c: (gst_pipeline_send_event),
27609 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27610 (gst_pipeline_get_last_stream_time):
27611 * gst/gstpipeline.h:
27613 Handle seeking as described in design doc, remove stream_time
27615 Cleanups clock and stream_time selection code. Added accessors
27616 for the stream_time.
27619 2005-07-16 Andy Wingo <wingo@pobox.com>
27621 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27624 2005-07-16 Wim Taymans <wim@fluendo.com>
27626 * check/gst/gstbin.c: (GST_START_TEST):
27627 Make elements silent as the deep_notify refs the
27628 parent, which might make the test fail.
27630 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27631 Don't hold the lock for too long.
27633 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27635 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27636 Don't unref the caps we passed to gst_caps_make_writable() after
27637 passing them. gst_caps_make_writable() will do that for us.
27639 2005-07-15 Andy Wingo <wingo@pobox.com>
27641 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27644 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27645 own marshalling function for the handoff signal. Properly type the
27646 buffer as a buffer. Fixes some warnings. Should do a more general
27648 (gst_identity_class_init): Plug into the right marshaller.
27650 2005-07-15 Wim Taymans <wim@fluendo.com>
27652 * docs/design/part-TODO.txt:
27653 * docs/design/part-clocks.txt:
27654 * docs/design/part-element-sink.txt:
27655 * docs/design/part-events.txt:
27656 * docs/design/part-gstpipeline.txt:
27657 Updated docs, mostly DISCONT related.
27659 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27661 * docs/pwg/building-pads.xml:
27662 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27664 2005-07-15 Andy Wingo <wingo@pobox.com>
27666 * tools/gst-typefind.c: Update, add copyright block.
27668 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27669 Normalize and truncate caps before fixation.
27672 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27673 discards all but the first structure from its argument.
27675 2005-07-15 Wim Taymans <wim@fluendo.com>
27677 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27678 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27679 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27680 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27681 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27682 (gst_base_transform_chain), (gst_base_transform_change_state),
27683 (gst_base_transform_set_passthrough),
27684 (gst_base_transform_is_passthrough):
27685 * gst/base/gstbasetransform.h:
27686 Make passthrough work using the bufferpools.
27687 Changed API a bit, subclasses have to write into a buffer
27688 provided by the base class.
27689 More debug info in nego functions.
27691 * gst/elements/gstidentity.c: (gst_identity_init),
27692 (gst_identity_transform):
27693 Port to new base class.
27695 2005-07-15 Wim Taymans <wim@fluendo.com>
27697 * gst/gstmessage.c: (gst_message_new_state_changed):
27698 * tools/gst-launch.c: (event_loop), (main):
27699 Totally dump messages in -launch with the -m option.
27700 Fix message name for State messages,
27702 2005-07-14 Wim Taymans <wim@fluendo.com>
27704 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27705 Post error messages on errors.
27707 2005-07-14 Wim Taymans <wim@fluendo.com>
27709 * gst/gstcaps.c: (gst_caps_do_simplify):
27713 Define error for stream stopped.
27715 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27716 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27717 Do proper return values.
27719 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27720 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27721 (gst_pad_get_range):
27722 Better return values.
27725 Reorganise return values, add macro to check for fatal errors.
27727 * gst/gstqueue.c: (gst_queue_chain):
27728 Return proper GstFlowReturn values,
27730 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27732 * docs/gst/gstreamer-sections.txt:
27733 * docs/gst/gstreamer.types:
27734 * docs/gst/tmpl/gst.sgml:
27735 * docs/gst/tmpl/gstbasesink.sgml:
27736 * docs/gst/tmpl/gstbasesrc.sgml:
27737 * docs/gst/tmpl/gstbasetransform.sgml:
27738 * docs/gst/tmpl/gstbin.sgml:
27739 * docs/gst/tmpl/gstbuffer.sgml:
27740 * docs/gst/tmpl/gstcaps.sgml:
27741 * docs/gst/tmpl/gstclock.sgml:
27742 * docs/gst/tmpl/gstcompat.sgml:
27743 * docs/gst/tmpl/gstconfig.sgml:
27744 * docs/gst/tmpl/gstelement.sgml:
27745 * docs/gst/tmpl/gstelementdetails.sgml:
27746 * docs/gst/tmpl/gstelementfactory.sgml:
27747 * docs/gst/tmpl/gstenumtypes.sgml:
27748 * docs/gst/tmpl/gsterror.sgml:
27749 * docs/gst/tmpl/gstevent.sgml:
27750 * docs/gst/tmpl/gstfakesink.sgml:
27751 * docs/gst/tmpl/gstfakesrc.sgml:
27752 * docs/gst/tmpl/gstfilesink.sgml:
27753 * docs/gst/tmpl/gstfilesrc.sgml:
27754 * docs/gst/tmpl/gstfilter.sgml:
27755 * docs/gst/tmpl/gstformat.sgml:
27756 * docs/gst/tmpl/gstghostpad.sgml:
27757 * docs/gst/tmpl/gstimplementsinterface.sgml:
27758 * docs/gst/tmpl/gstindex.sgml:
27759 * docs/gst/tmpl/gstindexfactory.sgml:
27760 * docs/gst/tmpl/gstinfo.sgml:
27761 * docs/gst/tmpl/gstiterator.sgml:
27762 * docs/gst/tmpl/gstmacros.sgml:
27763 * docs/gst/tmpl/gstmemchunk.sgml:
27764 * docs/gst/tmpl/gstminiobject.sgml:
27765 * docs/gst/tmpl/gstobject.sgml:
27766 * docs/gst/tmpl/gstpad.sgml:
27767 * docs/gst/tmpl/gstpadtemplate.sgml:
27768 * docs/gst/tmpl/gstparse.sgml:
27769 * docs/gst/tmpl/gstpipeline.sgml:
27770 * docs/gst/tmpl/gstplugin.sgml:
27771 * docs/gst/tmpl/gstpluginfeature.sgml:
27772 * docs/gst/tmpl/gstquery.sgml:
27773 * docs/gst/tmpl/gstqueue.sgml:
27774 * docs/gst/tmpl/gstregistry.sgml:
27775 * docs/gst/tmpl/gstregistrypool.sgml:
27776 * docs/gst/tmpl/gstscheduler.sgml:
27777 * docs/gst/tmpl/gstschedulerfactory.sgml:
27778 * docs/gst/tmpl/gststructure.sgml:
27779 * docs/gst/tmpl/gstsystemclock.sgml:
27780 * docs/gst/tmpl/gsttaglist.sgml:
27781 * docs/gst/tmpl/gsttagsetter.sgml:
27782 * docs/gst/tmpl/gsttrace.sgml:
27783 * docs/gst/tmpl/gsttrashstack.sgml:
27784 * docs/gst/tmpl/gsttypefind.sgml:
27785 * docs/gst/tmpl/gsttypefindfactory.sgml:
27786 * docs/gst/tmpl/gsttypes.sgml:
27787 * docs/gst/tmpl/gsturihandler.sgml:
27788 * docs/gst/tmpl/gsturitype.sgml:
27789 * docs/gst/tmpl/gstutils.sgml:
27790 * docs/gst/tmpl/gstvalue.sgml:
27791 * docs/gst/tmpl/gstversion.sgml:
27792 * docs/gst/tmpl/gstxml.sgml:
27793 * docs/libs/tmpl/gstcontrol.sgml:
27794 * docs/libs/tmpl/gstdataprotocol.sgml:
27795 * docs/libs/tmpl/gstdparam.sgml:
27796 * docs/libs/tmpl/gstdplinint.sgml:
27797 * docs/libs/tmpl/gstdpman.sgml:
27798 * docs/libs/tmpl/gstdpsmooth.sgml:
27799 * docs/libs/tmpl/gstgetbits.sgml:
27800 * docs/libs/tmpl/gstunitconvert.sgml:
27801 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27802 (gst_push_src_base_init), (gst_push_src_class_init),
27803 (gst_push_src_init), (gst_push_src_create):
27804 * gst/base/gstpushsrc.h:
27805 * gst/elements/gstelements.c:
27806 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27807 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27808 (gst_fake_sink_init), (gst_fake_sink_set_property),
27809 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27810 (gst_fake_sink_event), (gst_fake_sink_preroll),
27811 (gst_fake_sink_render), (gst_fake_sink_change_state):
27812 * gst/elements/gstfakesink.h:
27813 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27814 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27815 (gst_fake_src_base_init), (gst_fake_src_class_init),
27816 (gst_fake_src_init), (gst_fake_src_event_handler),
27817 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27818 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27819 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27820 (gst_fake_src_create_buffer), (gst_fake_src_create),
27821 (gst_fake_src_start), (gst_fake_src_stop):
27822 * gst/elements/gstfakesrc.h:
27823 * gst/elements/gstfilesink.c: (_do_init),
27824 (gst_file_sink_base_init), (gst_file_sink_class_init),
27825 (gst_file_sink_init), (gst_file_sink_dispose),
27826 (gst_file_sink_set_location), (gst_file_sink_set_property),
27827 (gst_file_sink_get_property), (gst_file_sink_open_file),
27828 (gst_file_sink_close_file), (gst_file_sink_query),
27829 (gst_file_sink_event), (gst_file_sink_render),
27830 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27831 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27832 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27833 * gst/elements/gstfilesink.h:
27834 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27835 (gst_file_src_class_init), (gst_file_src_init),
27836 (gst_file_src_finalize), (gst_file_src_set_location),
27837 (gst_file_src_set_property), (gst_file_src_get_property),
27838 (gst_file_src_map_region), (gst_file_src_map_small_region),
27839 (gst_file_src_create_mmap), (gst_file_src_create_read),
27840 (gst_file_src_create), (gst_file_src_is_seekable),
27841 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27842 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27843 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27844 (gst_file_src_uri_handler_init):
27845 * gst/elements/gstfilesrc.h:
27846 more autistic cleanliness in functions/names/defines
27848 2005-07-13 Andy Wingo <wingo@pobox.com>
27850 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27851 source couldn't negotiate.
27853 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27857 * gst/gstutils.c (gst_element_link_pads_filtered): New old
27858 function. I am channeling Hades. Put your boots on suckers!!!
27860 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
27862 * testsuite/caps/Makefile.am:
27863 * testsuite/caps/value_compare.c:
27864 * testsuite/caps/value_intersect.c:
27865 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27866 move two testsuite apps over to the check dir
27868 2005-07-12 Wim Taymans <wim@fluendo.com>
27870 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27871 Added more debug info in the negotiate process.
27873 * gst/gstmessage.h:
27874 Prepare for segment playback.
27876 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27882 * tools/gst-launch.c: (main):
27883 NULL pipeline on errors.
27885 2005-07-12 Andy Wingo <wingo@pobox.com>
27887 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
27888 not it comes from a malloc region. Make sure our copy gets freed.
27890 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27892 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27893 * check/gst/gstmessage.c: (GST_START_TEST):
27894 * check/gst/gststructure.c: (GST_START_TEST),
27895 (gst_structure_suite), (main):
27897 * gst/gstelement.c: (gst_element_message_full):
27898 clean up GError and debug string now that they get copied
27899 * gst/gstmessage.c: (gst_message_new_error),
27900 (gst_message_new_warning), (gst_message_parse_error),
27901 (gst_message_parse_warning):
27902 use GST_TYPE_G_ERROR for structure_new, and take copies of
27903 arguments, so that we don't mess up refcounting
27905 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27907 * check/Makefile.am:
27908 add per-test valgrind targets
27909 * check/gst-libs/gdp.c: (GST_START_TEST),
27910 (gst_data_protocol_suite), (main):
27913 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27915 * check/Makefile.am:
27916 instate more valgrindable tests
27917 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27918 (GST_START_TEST), (fakesrc_suite):
27919 * check/gst/gstpad.c: (GST_START_TEST):
27920 * check/gst/gststructure.c: (GST_START_TEST):
27922 * docs/gst/tmpl/gstminiobject.sgml:
27923 * gst/gstpad.c: (gst_pad_finalize):
27924 fix the static mutex leak
27926 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27928 * check/Makefile.am:
27929 add two more tests for valgrinding
27930 * check/gst/gstvalue.c: (GST_START_TEST):
27931 test refcount of deserialized buffer, found a leak
27932 * docs/gst/gstreamer-docs.sgml:
27933 * docs/gst/gstreamer-sections.txt:
27934 * docs/gst/gstreamer.types:
27935 * docs/gst/tmpl/gstminiobject.sgml:
27936 add miniobject to docs
27937 * gst/gstminiobject.c:
27939 * gst/gstvalue.c: (gst_value_deserialize_buffer),
27940 (gst_string_unwrap):
27941 fix a hard-to-find invalid write for one of the tests
27942 fix a leak for deserialized buffers
27944 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27946 * docs/pwg/advanced-events.xml:
27947 * docs/pwg/advanced-request.xml:
27948 * docs/pwg/advanced-scheduling.xml:
27949 * docs/pwg/appendix-porting.xml:
27950 * docs/pwg/building-boiler.xml:
27951 * docs/pwg/intro-preface.xml:
27952 * docs/pwg/other-ntoone.xml:
27953 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
27954 of example code and explanation for pad activation, loop() and
27955 getrange() functions and a bit more. Remove old comments pointing
27957 * examples/pwg/Makefile.am:
27958 Add loop/getrange examples.
27960 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27963 check for valgrind binary + some fixes
27965 valgrind suppressions for the tests
27966 * check/Makefile.am:
27967 add a valgrind: target that valgrinds the unit tests
27968 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
27969 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
27970 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27971 * check/gst/gstghostpad.c:
27973 * check/gst/gstdata.c:
27975 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
27976 (thread_unref), (gst_mini_object_suite), (main):
27978 * gst/gst.c: (gst_deinit):
27980 add a method to clean up.
27981 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27982 (gst_system_clock_obtain):
27983 allow for disposing the system clock.
27984 * tools/gst-launch.c: (main):
27987 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27989 * docs/gst/tmpl/gstbasesrc.sgml:
27990 * docs/gst/tmpl/gstfakesrc.sgml:
27991 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27992 (gst_base_src_init), (gst_base_src_set_property),
27993 (gst_base_src_get_property), (gst_base_src_get_range),
27994 (gst_base_src_start):
27995 * gst/base/gstbasesrc.h:
27996 add num-buffers property
27997 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27998 (gst_fakesrc_init), (gst_fakesrc_set_property),
27999 (gst_fakesrc_get_property), (gst_fakesrc_create),
28000 (gst_fakesrc_start):
28001 remove num-buffers property
28003 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28005 * docs/gst/gstreamer-sections.txt:
28006 * docs/gst/tmpl/gstbasesink.sgml:
28007 * docs/gst/tmpl/gstbasesrc.sgml:
28008 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28009 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28010 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28011 (gst_base_sink_set_property), (gst_base_sink_get_property),
28012 (gst_base_sink_handle_object), (gst_base_sink_event),
28013 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28014 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28015 (gst_base_sink_loop), (gst_base_sink_deactivate),
28016 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28017 (gst_base_sink_change_state):
28018 * gst/base/gstbasesink.h:
28019 * gst/base/gstbasesrc.h:
28020 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28021 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28022 (gst_filesink_init):
28023 more macro splitting
28025 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28027 * gst/gstelement.c: (gst_element_get_bus):
28029 * tools/gst-launch.c: (check_intr), (event_loop):
28032 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28034 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28037 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28039 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28040 (gst_base_src_finalize):
28041 add finalize method and clean up properly
28042 * gst/gstpipeline.c: (gst_pipeline_dispose):
28045 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28047 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28049 add more things to check
28050 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28051 * gst/gstelement.c:
28054 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28056 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28057 (GST_START_TEST), (fakesrc_suite):
28058 * check/gst-libs/gdp.c: (GST_START_TEST):
28059 * check/gst/gst.c: (GST_START_TEST):
28060 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28061 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28062 * check/gst/gstbus.c: (GST_START_TEST):
28063 * check/gst/gstcaps.c: (GST_START_TEST):
28064 * check/gst/gstdata.c: (GST_START_TEST):
28065 * check/gst/gstelement.c: (GST_START_TEST):
28066 * check/gst/gstghostpad.c: (GST_START_TEST):
28067 * check/gst/gstiterator.c: (GST_START_TEST):
28068 * check/gst/gstmessage.c: (GST_START_TEST):
28069 * check/gst/gstobject.c: (GST_START_TEST):
28070 * check/gst/gstpad.c: (GST_START_TEST):
28071 * check/gst/gststructure.c: (GST_START_TEST):
28072 * check/gst/gstsystemclock.c: (GST_START_TEST),
28073 (gst_systemclock_suite):
28074 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28075 * check/gst/gstvalue.c: (GST_START_TEST):
28076 * check/pipelines/cleanup.c: (GST_START_TEST):
28077 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28078 * check/states/sinks.c: (GST_START_TEST):
28079 * check/gstcheck.c: (gst_check_init):
28080 * check/gstcheck.h:
28081 add debugging category
28082 use GST_START_TEST now, so we add a debug line
28084 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28086 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28087 add test for state change message on a bin
28088 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28090 * gst/gstbin.c: (gst_bin_init):
28091 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28092 * gst/gstelement.c: (gst_element_post_message),
28093 (gst_element_set_state):
28094 * gst/gstelementfactory.c: (gst_element_factory_create):
28095 * gst/gstmessage.c: (gst_message_new):
28096 * gst/gstscheduler.c:
28097 various debugging additions and cleanups
28099 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28101 * check/Makefile.am:
28102 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28104 adding tests for elements
28105 * gst/gstelement.c: (gst_element_dispose):
28107 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28109 * gst/registries/gstlibxmlregistry.c: (load_feature):
28110 plug more leaks. A simple gst_init() now is leakfree, yay.
28112 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28114 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28115 (gst_xml_registry_load):
28116 plug another memleak
28118 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28121 use GST_SET_ERROR_CFLAGS
28122 * docs/faq/cvs.xml:
28123 change to ERROR_CFLAGS
28125 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28128 make GST_ERROR_CFLAGS overridable and re-enable Werror
28129 * docs/faq/cvs.xml:
28130 add a note about error CFLAGS
28131 * docs/gst/tmpl/gstfakesrc.sgml:
28132 * gst/elements/gstfakesrc.c:
28133 comment out some unused code
28134 * gst/gst.c: (split_and_iterate):
28135 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28139 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28141 * common/Makefile.am:
28142 * common/gtk-doc.mak:
28143 * docs/gst/Makefile.am:
28144 factor out gtk-doc.mak
28146 2005-07-07 Wim Taymans <wim@fluendo.com>
28148 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28149 (gst_thread_scheduler_dispose):
28150 Unlock the STREAM_LOCK completely.
28152 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28154 * check/Makefile.am:
28155 * check/elements/.cvsignore:
28156 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28157 (START_TEST), (fakesrc_suite), (main):
28158 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28159 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28160 (gst_fakesrc_create), (gst_fakesrc_start):
28161 * gst/elements/gstfakesrc.h:
28162 adding a first element test
28164 2005-07-07 Andy Wingo <wingo@pobox.com>
28166 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28169 2005-07-07 Wim Taymans <wim@fluendo.com>
28175 2005-07-07 Wim Taymans <wim@fluendo.com>
28177 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28178 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28179 Allow subclasses to implement their own negotiation.
28181 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28183 * docs/design/part-gstbin.txt:
28184 * docs/design/part-gstpipeline.txt:
28185 Update design notes to reflect the movement of
28186 responsibility for bus handling from GstPipeline to
28189 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28192 Remove unnecessary queue2/3/4 examples.
28194 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28196 * examples/Makefile.am:
28197 * examples/helloworld/helloworld.c: (event_loop), (main):
28198 * examples/queue/queue.c: (event_loop), (main):
28199 * examples/queue2/queue2.c: (main):
28200 Update a couple of the examples to work again.
28202 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28203 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28204 Spelling corrections and extra debug.
28206 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28207 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28208 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28210 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28211 (gst_pipeline_change_state):
28212 * gst/gstpipeline.h:
28213 Move the bus handler for children to the GstBin, and create a
28214 separate bus for receiving messages from children to the one the
28215 bus sends 'upwards' on.
28217 2005-07-06 Wim Taymans <wim@fluendo.com>
28220 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28221 (gst_base_sink_handle_object), (gst_base_sink_loop),
28222 (gst_base_sink_change_state):
28223 * gst/base/gstbasesink.h:
28224 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28225 (gst_base_src_init), (gst_base_src_setcaps),
28226 (gst_base_src_getcaps), (gst_base_src_loop),
28227 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28228 (gst_base_src_start), (gst_base_src_change_state):
28229 * gst/base/gstbasesrc.h:
28230 Make basesrc negotiate.
28231 Handle the case where preroll fails in basesink.
28234 2005-07-06 Wim Taymans <wim@fluendo.com>
28236 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28237 Implement the fixate function.
28238 Clean up acceptcaps.
28240 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28242 * docs/pwg/building-filterfactory.xml:
28243 * docs/pwg/pwg.xml:
28244 Remove never-written filter-factory chapter; I'll add the various
28245 base classes to part 4 ("other element types") later on.
28247 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28249 * docs/pwg/advanced-negotiation.xml:
28250 * docs/pwg/building-boiler.xml:
28251 * docs/pwg/building-pads.xml:
28252 * docs/pwg/pwg.xml:
28253 * examples/pwg/Makefile.am:
28254 Add a chapter on caps negotiation, simplify the original code
28255 samples a bit w.r.t. caps negotiation, add link to the advanced
28256 section. Add a bunch of examples showing different use cases of
28257 different types of caps negotiation. Upstream renegotiation isn't
28258 fully documented yet since nobody knows how that works.
28260 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28262 * check/gst/gstpad.c:
28263 * check/gstcheck.c:
28264 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28265 if pad has no parent, return NULL as list of internal links
28267 2005-07-05 Andy Wingo <wingo@pobox.com>
28269 * gst/elements/gstfilesrc.c:
28270 * gst/elements/gstfakesrc.c:
28271 * gst/base/gstpushsrc.c:
28272 * gst/base/gstbasesrc.h:
28273 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28275 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28278 better report generation target (lcov needs a patch)
28280 2005-07-05 Andy Wingo <wingo@pobox.com>
28282 * gst/elements, testsuite: Null if we got it...
28284 2005-07-05 Wim Taymans <wim@fluendo.com>
28287 * libs/gst/dataprotocol/Makefile.am:
28288 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28289 * libs/gst/dataprotocol/dataprotocol.h:
28290 * pkgconfig/Makefile.am:
28291 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28292 * pkgconfig/gstreamer-dataprotocol.pc.in:
28293 Ported dataprotol to 0.9.
28294 Added pkgconfig files.
28296 2005-07-05 Andy Wingo <wingo@pobox.com>
28298 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28299 Default to returning TRUE for the case when tranform_caps returns
28300 a fixed caps, like for identity or volume.
28302 * check/gst/gstbus.c (pound_bus_with_messages):
28303 * check/gst/gstmessage.c (START_TEST):
28304 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28305 message API change.
28307 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28308 logic weaks here: always run transform_caps, trying passthrough
28309 operation only if the original caps intersects with the transform.
28311 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28312 source and sink caps.
28314 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28315 Intersect the peer caps with the pad template before going into
28317 (gst_base_transform_transform_caps): More debugging.
28319 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28322 2005-07-04 Edward Hervey <edward@fluendo.com>
28326 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28329 2005-07-04 Andy Wingo <wingo@pobox.com>
28331 * check/gst/gstpad.c: Only set explicit caps on pads.
28333 2005-07-01 Andy Wingo <wingo@pobox.com>
28335 * tests/network-clock.scm: Commentary update.
28337 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28338 Didn't really make sense, not implementable with basetransform,
28340 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28341 attempt at implementing the sync property, needs an unlock method.
28343 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28344 New func, by default returns the same caps (the identity
28346 (gst_base_transform_getcaps): Uses transform_caps to return
28347 something sensible.
28348 (gst_base_transform_setcaps): Complicated logic to get caps on
28349 both pads, even if they are different, and to call set_caps once
28350 for every time both pads get their caps set.
28351 (gst_base_transform_handle_buffer): Give the ref to the transform
28352 function. Allows in-place modification of the buffer.
28354 * gst/base/gstbasetransform.h (transform_caps): New class method.
28355 Given caps on one side, what can I do on the other.
28356 (set_caps): Take two caps, one for each side of the element.
28359 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28360 caps in place. This is safe because we can check the mutability of
28361 the caps, and a good idea because fixate functions are just called
28362 as a matter of last resort. (Not actually implemented.)
28363 (gst_pad_set_caps): If the caps we're setting is actually the same
28364 as the existing pad caps, just update the pointer without calling
28365 setcaps. Assert that caps is either NULL or fixed, as per the
28368 * gst/gstghostpad.c: Update for fixate changes.
28370 2005-07-02 Andy Wingo <wingo@pobox.com>
28373 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28374 two refcounts makes it immutable, which is enough. Doc more.
28376 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28378 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28379 Put the mini_object into GValue as a mini_object,
28380 not a gpointer, since that's how we declared
28383 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28385 * examples/pwg/Makefile.am:
28386 Fix buildbot again.
28388 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28390 * docs/pwg/building-testapp.xml:
28392 * examples/pwg/Makefile.am:
28395 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28398 * examples/Makefile.am:
28399 * examples/pwg/Makefile.am:
28400 * examples/pwg/extract.pl:
28401 Enable building the PWG examples.
28402 * docs/pwg/advanced-interfaces.xml:
28403 Add URI interface stub.
28404 * docs/pwg/advanced-types.xml:
28405 * docs/pwg/other-autoplugger.xml:
28406 * docs/pwg/appendix-porting.xml:
28407 * docs/pwg/pwg.xml:
28408 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28409 * docs/pwg/building-boiler.xml:
28410 * docs/pwg/building-chainfn.xml:
28411 * docs/pwg/building-pads.xml:
28412 * docs/pwg/building-props.xml:
28413 * docs/pwg/building-state.xml:
28414 * docs/pwg/building-testapp.xml:
28415 Update the building-*.xml parts for 0.9 changes. All examples
28416 code blocks compile in examples/pwg/*.
28418 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28420 * docs/manual/advanced-autoplugging.xml:
28421 * docs/manual/appendix-checklist.xml:
28422 * docs/manual/appendix-integration.xml:
28423 * docs/manual/highlevel-components.xml:
28424 Fix playbin/decodebin examples, update docs a bit, mention bus
28425 instead of signals in various places, mention kmplayer and
28426 kaffeine since they have a working GStreamer backend in the KDE
28429 2005-06-30 Wim Taymans <wim@fluendo.com>
28432 * docs/design/draft-ghostpads.txt:
28433 * docs/design/draft-push-pull.txt:
28434 * docs/design/draft-query.txt:
28435 * docs/design/part-TODO.txt:
28436 * docs/design/part-query.txt:
28437 Added CHANGES-0.9 doc, updated status of other docs.
28442 2005-06-30 Wim Taymans <wim@fluendo.com>
28444 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28445 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28446 (gst_base_sink_change_state):
28447 * gst/base/gstbasesink.h:
28448 Some tweaks, only EOS and a buffer complete a preroll.
28450 2005-06-30 Andy Wingo <wingo@pobox.com>
28452 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28453 activate_push down to the internal pad as well.
28455 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28457 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28459 * gst/gsttaginterface.c:
28460 Some documentation fixes (#307394 and #307397).
28462 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28464 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28466 * gst/gstvalue.c: (gst_value_intersect_list):
28467 Fix memleak (#309125).
28469 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28471 * docs/manual/advanced-dataaccess.xml:
28472 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28473 * docs/manual/basics-pads.xml:
28474 Add reference for filtered caps to above chapter.
28476 2005-06-30 Wim Taymans <wim@fluendo.com>
28478 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28479 (gst_bin_change_state):
28481 Lame attempt at making the state change function a bit
28484 2005-06-30 Wim Taymans <wim@fluendo.com>
28486 * docs/design/part-clocks.txt:
28487 * docs/design/part-element-sink.txt:
28488 * docs/design/part-events.txt:
28489 * docs/design/part-preroll.txt:
28490 * docs/design/part-states.txt:
28491 Some more tweeks and additions to the docs.
28493 2005-06-30 Wim Taymans <wim@fluendo.com>
28495 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28496 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28497 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28498 (gst_pad_check_pull_range), (gst_pad_get_range),
28499 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28501 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28502 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28503 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28504 (gst_pad_remove_buffer_probe):
28505 Removed atomic operations, use existing LOCK.
28506 Move exception handling out of main code path.
28508 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28510 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28511 (silly_return_true_function), (gst_pad_class_init),
28512 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28513 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28514 (gst_pad_send_event):
28515 Fix accumulator, add default value by using _emitv() instead
28516 of _emit() for signal emission.
28518 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28520 * docs/manual/advanced-dataaccess.xml:
28521 * examples/manual/Makefile.am:
28523 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28526 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28528 * gst/elements/gstfilesink.c: (gst_filesink_render):
28529 Simplify code so that we don't have to handle short
28530 writes and return GST_FLOW_ERROR if an error occured.
28532 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28534 * docs/gst/gstreamer-docs.sgml:
28535 Remove probes more.
28537 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28539 * docs/gst/gstreamer-sections.txt:
28540 * docs/gst/tmpl/gstpad.sgml:
28541 * docs/gst/tmpl/gstprobe.sgml:
28543 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28544 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28545 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28546 (gst_pad_push_event), (gst_pad_send_event):
28548 * gst/gstutils.c: (gst_pad_add_data_probe),
28549 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28550 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28551 (gst_pad_remove_buffer_probe):
28553 Remove old probes, add new g-signal-based probes and some utility
28556 2005-06-29 Edward Hervey <edward@fluendo.com>
28558 * gst/gstelementfactory.c:
28561 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28562 the definition to the header file.
28564 2005-06-29 Andy Wingo <wingo@pobox.com>
28566 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28567 plugins from the source directory.
28569 2005-06-29 Wim Taymans <wim@fluendo.com>
28571 * docs/gst/tmpl/gstbuffer.sgml:
28572 * docs/gst/tmpl/gstclock.sgml:
28573 Some fixings for blantently wrong text.
28575 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28577 * check/Makefile.am:
28578 * gst/gst.c: (add_path_func), (init_pre):
28579 * gst/gstregistry.c: (gst_registry_add_path):
28580 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28581 only scan the GST_PLUGIN_PATH locations, and not add
28584 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28586 * docs/gst/gstreamer-sections.txt:
28587 * docs/gst/tmpl/gstbasesrc.sgml:
28588 * gst/gstelement.c:
28589 * gst/gstelement.h:
28594 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28596 * docs/manual/advanced-autoplugging.xml:
28597 Fix autoplugging example.
28599 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28601 * docs/manual/advanced-autoplugging.xml:
28602 * docs/manual/mime-world.fig:
28603 Try to get autoplugging working, fix type detection. Fix text
28604 in hello-world image.
28606 2005-06-29 Wim Taymans <wim@fluendo.com>
28608 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28609 (gst_base_sink_change_state):
28613 map SIGNAL and BROADCAST to the right function.
28616 Remove redundant braces.
28618 * gst/gstpad.c: (gst_pad_set_caps):
28619 Don't call setcaps function when reseting caps to NULL.
28621 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28622 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28623 (gst_system_clock_id_unschedule):
28624 Use BROADCAST as this is what we do.
28626 2005-06-29 Wim Taymans <wim@fluendo.com>
28628 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28629 We are actually prerolling before commiting the state
28632 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28634 * docs/manual/advanced-clocks.xml:
28635 * docs/manual/advanced-interfaces.xml:
28636 * docs/manual/advanced-metadata.xml:
28637 * docs/manual/advanced-position.xml:
28638 * docs/manual/advanced-schedulers.xml:
28639 * docs/manual/advanced-threads.xml:
28640 * docs/manual/appendix-porting.xml:
28641 * docs/manual/basics-bins.xml:
28642 * docs/manual/basics-bus.xml:
28643 * docs/manual/basics-elements.xml:
28644 * docs/manual/basics-helloworld.xml:
28645 * docs/manual/basics-pads.xml:
28646 * docs/manual/highlevel-components.xml:
28647 * docs/manual/manual.xml:
28648 * docs/manual/thread.fig:
28649 Update (until threads/scheduling) Application Development Manual;
28650 remove GstThread, add GstBus, add simple porting checklist, add
28651 documentation for tag writing, clocks, make all examples until this
28652 part compile and run.
28653 * examples/manual/Makefile.am:
28654 Update from changes to Application Development Manual; add bus
28655 example, remove thread example.
28657 2005-06-28 Wim Taymans <wim@fluendo.com>
28659 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28660 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28661 (gst_bus_source_dispatch):
28662 Add debugging messages.
28663 Make internal methods static.
28664 Handle the case where the bus is flushed in the handler.
28666 * gst/gstelement.c: (gst_element_get_bus):
28667 Fix refcount in _get_bus();
28669 * gst/gstpipeline.c: (gst_pipeline_change_state),
28670 (gst_pipeline_get_clock_func):
28671 Clock refcounting fixes.
28672 Handle the case where preroll timed out more gracefully.
28674 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28675 Clean up the internal thread in dispose. This is needed
28676 for subclasses that actually get disposed.
28678 * gst/schedulers/threadscheduler.c:
28679 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28680 (gst_thread_scheduler_dispose):
28681 Free thread pool in dispose.
28683 2005-06-28 Andy Wingo <wingo@pobox.com>
28685 * tests/network-clock-utils.scm (debug, print-event): New utils.
28687 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28688 (*packet-loss*): Unified loss probability.
28689 (network-time): Report out-of-band events.
28691 * tests/plot-data: Add support for out-of-band events. Hack it
28692 into this script instead of passing it down the pipe; should fix
28695 2005-06-28 Wim Taymans <wim@fluendo.com>
28697 * docs/gst/gstreamer.types:
28698 * docs/gst/tmpl/gstbasesrc.sgml:
28699 * docs/gst/tmpl/gstpad.sgml:
28702 2005-06-28 Wim Taymans <wim@fluendo.com>
28704 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28705 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28706 (gst_proxy_pad_do_fixatecaps):
28707 Correctly proxy the check_pull_range function.
28709 2005-06-28 Andy Wingo <wingo@pobox.com>
28711 * tests/network-clock.scm: Removed need for slib.
28713 2005-06-28 Wim Taymans <wim@fluendo.com>
28715 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28716 (gst_basesink_preroll_queue_flush):
28717 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28718 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28719 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28720 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28721 (gst_proxy_pad_set_property):
28724 * gst/gstqueue.c: (gst_queue_init):
28725 The deprecated pad loop function is removed now.
28727 2005-06-28 Andy Wingo <wingo@pobox.com>
28729 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28730 New parameters, simulate network packet loss.
28732 * tests/network-clock-utils.scm: Initialize the RNG.
28734 2005-06-28 Wim Taymans <wim@fluendo.com>
28736 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28737 (gst_basesink_event), (gst_basesink_deactivate):
28738 Flushing the preroll queue always needs to unlock the waiters.
28740 2005-06-28 Edward Hervey <edward@fluendo.com>
28742 * gst/gstpipeline.c: (gst_pipeline_send_event):
28743 Wheen a seek was successful on a pipeline, set the stream_time to the
28744 seek offset in order to have a synchronized stream_time.
28746 2005-06-28 Wim Taymans <wim@fluendo.com>
28748 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28749 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28750 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28751 (gst_proxy_pad_do_fixatecaps):
28752 Call wrapper function instead of just calling the function
28753 pointers. This takes care of any locking and whatmore.
28755 2005-06-28 Wim Taymans <wim@fluendo.com>
28757 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28758 (gst_pad_pull_range):
28760 CONNECTED -> LINKED.
28762 2005-06-28 Andy Wingo <wingo@pobox.com>
28764 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28765 source-munging commit!!!
28767 * gst/gstobject.c (gst_object_unref, gst_object_ref)
28768 (gst_object_sink): Take gpointer arguments, not GstObject --
28769 avoids casts. Like GLib.
28771 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28774 2005-06-27 Andy Wingo <wingo@pobox.com>
28776 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28779 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28780 returns a sorted copy of the trace list.
28781 (gst_alloc_trace_print_live): New API, only prints traces with
28782 live objects. Sort the list.
28783 (gst_alloc_trace_print_all): Sort the list.
28784 (gst_alloc_trace_print): Align columns.
28786 * gst/elements/gstttypefindelement.c:
28787 * gst/elements/gsttee.c:
28788 * gst/base/gstbasesrc.c:
28789 * gst/base/gstbasesink.c:
28790 * gst/base/gstbasetransform.c:
28791 * gst/gstqueue.c: Adapt for pad activation changes.
28793 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28795 (gst_pipeline_dispose): Drop ref on sched.
28797 * gst/gstpad.c (gst_pad_init): Set the default activate func.
28798 (gst_pad_activate_default): Push mode by default.
28799 (pre_activate_switch, post_activate_switch): New stubs, things to
28800 do before and after switching activation modes on pads.
28801 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28802 the pad's activate function to choose which mode to activate.
28803 Shortcut on deactivation and call the right function directly.
28804 (gst_pad_activate_pull): New API, (de)activates a pad in pull
28806 (gst_pad_activate_push): New API, same for push mode.
28807 (gst_pad_set_activate_function)
28808 (gst_pad_set_activatepull_function)
28809 (gst_pad_set_activatepush_function): Setters for new API.
28811 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28812 Trace all miniobjects.
28813 (gst_mini_object_make_writable): Unref the arg if we copy, like
28814 gst_caps_make_writable.
28816 * gst/gstmessage.c (_gst_message_initialize): No trace init.
28818 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
28819 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28820 Adapt for new pad API.
28822 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28824 * gst/gstelement.h:
28825 * gst/gstelement.c (gst_element_iterate_src_pads)
28826 (gst_element_iterate_sink_pads): New API functions.
28828 * gst/gstelement.c (iterator_fold_with_resync): New utility,
28829 should fold into gstiterator.c in some form.
28830 (gst_element_pads_activate): Simplified via use of fold and
28831 delegation of decisions to gstpad->activate.
28833 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28836 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28837 class once in init, like gstmessage. Didn't run into this issue
28838 but it seems correct. Don't initialize a trace, gstminiobject does
28841 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28842 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28844 (assert_live_count): New util function, uses alloc traces to check
28847 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28848 To be modified when unlink drops the internal pad.
28850 2005-06-27 Wim Taymans <wim@fluendo.com>
28852 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28853 (gst_bin_change_state):
28854 Cleanup the get_state() function a little, make sure it
28855 iterates the same set of elements.
28856 Added stub iterate_state_order().
28858 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
28860 * docs/gst/gstreamer-docs.sgml:
28861 * docs/gst/gstreamer-sections.txt:
28862 * docs/gst/gstreamer.types:
28863 * docs/gst/tmpl/gstbasesink.sgml:
28864 * docs/gst/tmpl/gstbasesrc.sgml:
28865 * docs/gst/tmpl/gstbasetransform.sgml:
28866 * docs/gst/tmpl/gstelement.sgml:
28867 * docs/gst/tmpl/gstiterator.sgml:
28868 * gst/base/gstbasesrc.c:
28869 * gst/base/gstbasesrc.h:
28870 * gst/base/gstbasetransform.h:
28871 * gst/gstelement.c:
28872 * gst/gstiterator.h:
28873 adding basetransform and iterator docs
28875 2005-06-27 Andy Wingo <wingo@pobox.com>
28877 * docs/design/part-activation.txt: Notes on how activation should
28878 work -- not quite implemented yet.
28880 2005-06-25 Wim Taymans <wim@fluendo.com>
28882 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
28883 At least get the chain function correct, needs more
28886 2005-06-25 Wim Taymans <wim@fluendo.com>
28888 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28889 (gst_basesink_handle_object), (gst_basesink_event),
28890 (gst_basesink_do_sync), (gst_basesink_handle_event),
28891 (gst_basesink_change_state):
28893 Right, two problems here: ghostpads don't take locks and
28894 glib _rec_mutex_lock_full() with depth==0 still locks.
28895 Catch illegal locking and g_warn them.
28897 2005-06-25 Wim Taymans <wim@fluendo.com>
28899 * check/states/sinks.c: (START_TEST), (gst_object_suite):
28900 Have to check for completion now...
28902 2005-06-25 Wim Taymans <wim@fluendo.com>
28904 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28905 (gst_basesink_handle_object), (gst_basesink_event),
28906 (gst_basesink_do_sync), (gst_basesink_handle_event),
28907 (gst_basesink_change_state):
28909 Unlock STREAM_LOCK whatever the recursion was.
28911 2005-06-25 Wim Taymans <wim@fluendo.com>
28913 * gst/base/gstbasesink.c: (gst_basesink_set_property),
28914 (gst_basesink_preroll_queue_empty),
28915 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
28916 (gst_basesink_event), (gst_basesink_do_sync),
28917 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
28918 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
28919 (gst_basesink_change_state):
28920 Reworked the base sink, handle event and buffer serialisation
28921 correctly and removed possible deadlock.
28922 Handle EOS correctly.
28924 2005-06-25 Wim Taymans <wim@fluendo.com>
28926 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
28927 (gst_pipeline_change_state):
28928 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28929 Allow elements to post EOS in the state change function.
28930 Fix up -launch, make it exit the poll loop when the
28931 pipeline actually changed state.
28932 Fix up warning parsing in -launch.
28934 2005-06-25 Wim Taymans <wim@fluendo.com>
28936 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
28937 (gst_tee_sink_activate):
28938 Core takes STREAM_LOCK for us now.
28940 2005-06-25 Wim Taymans <wim@fluendo.com>
28942 * gst/gstelement.c: (gst_element_get_state_func),
28943 (gst_element_set_state):
28944 * gst/gstelement.h:
28945 * gst/gstmessage.c: (gst_message_parse_error),
28946 (gst_message_parse_warning):
28947 Keep track of current target state while performing a state
28948 change so that subclasses can do something interesting.
28949 Fix parsing of warning/error messages when GError is NULL.
28951 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
28953 * docs/gst/Makefile.am:
28954 * docs/gst/gstreamer-docs.sgml:
28955 * docs/gst/gstreamer-sections.txt:
28956 * docs/gst/gstreamer.types:
28957 * docs/gst/tmpl/gstbasesink.sgml:
28958 * docs/gst/tmpl/gstbasesrc.sgml:
28959 * docs/gst/tmpl/gstbin.sgml:
28960 * docs/gst/tmpl/gstcompat.sgml:
28961 * docs/gst/tmpl/gstfakesink.sgml:
28962 * docs/gst/tmpl/gstfakesrc.sgml:
28963 * docs/gst/tmpl/gstfilesink.sgml:
28964 * docs/gst/tmpl/gstfilesrc.sgml:
28965 * docs/gst/tmpl/gstindex.sgml:
28966 * docs/manual/appendix-quotes.xml:
28967 * gst/base/gstbasesrc.h:
28968 * gst/elements/gstfakesrc.h:
28969 * gst/gstmessage.h:
28970 start pulling in base classes and elements in our docs
28972 2005-06-24 Stefan Kost <ensonic@users.sf.net>
28974 * docs/gst/Makefile.am:
28975 * docs/libs/Makefile.am:
28976 fixed make distcheck with gtk-doc 1.3
28978 2005-06-23 Wim Taymans <wim@fluendo.com>
28980 * gst/gstelement.c: (gst_element_get_state_func),
28981 (gst_element_set_state), (gst_element_change_state):
28982 When the state did not change, also report NO_PREROLL
28985 2005-06-23 Wim Taymans <wim@fluendo.com>
28987 * gst/gstpad.c: (gst_pad_event_default):
28988 * gst/gstqueue.c: (gst_queue_loop):
28989 No unsafe task pausing please.
28991 2005-06-23 Wim Taymans <wim@fluendo.com>
28993 * gst/schedulers/threadscheduler.c:
28994 (gst_thread_scheduler_task_start),
28995 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
28996 Ref the task before pushing it on the threadpool. This
28997 makes sure that we have a ref when the threadfunction is
29000 2005-06-23 Andy Wingo <wingo@pobox.com>
29002 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29003 offset is greater than the file's size.
29005 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29006 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29007 * gst/gstobject.c (gst_object_class_init): Make the class lock
29008 recursive. Wim won't let me drop deep_notify. Decodebin works
29009 again, whoopdy doo.
29011 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29012 internal pad, and hacks accordingly. Doesn't do it on the target
29013 pad because we change its caps. Probably catches all cases of
29015 (gst_ghost_pad_set_property): Connect to notify::caps as
29018 * tests/network-clock.scm (plot-simulation): Pipe data to the
29019 elite python skript.
29021 * tests/network-clock-utils.scm (define-parameter): New macro,
29022 defines a parameter that can be set via the command line.
29023 (set-parameter!, parse-parameter-arguments): Command line args
29026 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29029 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29031 * gst/elements/gsttypefindelement.c:
29032 (gst_type_find_element_handle_event):
29033 Don't restart typefinding on a discont.
29034 * gst/gstelement.c: (gst_element_set_state):
29035 Debug spelling fix.
29036 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29037 Allow changing mode of an active pad.
29038 Debug output fixes.
29039 * gst/registries/gstlibxmlregistry.c: (load_feature):
29040 Don't cast a static pad template to a normal pad template.
29042 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29044 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29045 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29046 remove gst_strtoll completely, since it didn't actually do
29047 anything more than what g_ascii_strtoull already does.
29048 check for range errors when deserializing
29049 do a cast for the unsigned cases; but further fixing needs
29050 a decision on what the interpretation of "(int)" and
29051 deserialization should be for values that fall outside the
29052 type's boundaries (ie, refuse, or interpret as casting)
29054 2005-06-23 Wim Taymans <wim@fluendo.com>
29056 * check/Makefile.am:
29057 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29058 * docs/design/part-live-source.txt:
29059 * docs/design/part-states.txt:
29060 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29061 (gst_basesrc_set_live), (gst_basesrc_is_live),
29062 (gst_basesrc_get_range), (gst_basesrc_activate),
29063 (gst_basesrc_change_state):
29064 * gst/base/gstbasesrc.h:
29065 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29066 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29067 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29068 * gst/gstelement.c: (gst_element_get_state_func),
29069 (gst_element_set_state):
29070 * gst/gstelement.h:
29072 * tools/gst-launch.c: (event_loop), (main):
29073 Added support for live sources and other elements that
29075 Updated design docs, added live-source design doc.
29076 Implemented live source functionality in basesrc
29077 Fix error condition in _bin_get_state()
29078 Implement live source handling in -launch.
29079 Added check for live sources.
29080 Fixed case in GstBin where elements were changed state
29084 2005-06-23 Andy Wingo <wingo@pobox.com>
29086 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29087 borken refcounting.
29089 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29090 gst_caps_replace takes care of this for us.
29092 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29093 gst_pad_set_caps on the target, not just its setcaps() function.
29095 * tests/network-clock.scm:
29096 * tests/network-clock-utils.scm: A network clock simulator.
29097 Something of an algorithmic testbed before doing something in C.
29099 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29101 * check/Makefile.am:
29102 * check/gst/capslist.h:
29103 copy over from 0.8, and add two with bitmasks specified with
29105 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29106 add test to parse everything from capslist.h
29107 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29109 add test for structure deserialization
29110 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29111 add tests for deserialization of strings to int types
29112 * gst/gststructure.c: (gst_structure_nth_field_name):
29113 * gst/gststructure.h:
29114 add a way to get the name of a field referenced by index
29115 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29116 instead of checking if the resulting long long lies between
29117 min and max, we check if the long long would fit into
29118 a number of bytes for the final type.
29119 This fixes cases where a string represents 2^32 - 1, which
29120 when cast to int would be the (valid) -1, but is bigger than
29123 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29125 * gst/parse/grammar.y:
29126 add a log line for type deserialization
29128 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29130 * check/gst/gstvalue.c: (START_TEST):
29131 * gst/gstvalue.c: (gst_value_deserialize):
29132 return long long, not int, so gint64 deserialization actually
29133 works. Is there any flag that makes the compiler check this ?
29136 2005-06-22 Wim Taymans <wim@fluendo.com>
29139 Added convenience macros for setting buffers in GValue.
29141 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29143 * check/gst/.cvsignore:
29144 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29145 add a test deserializing int64, and comment part out because
29148 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29150 * check/Makefile.am:
29151 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29152 * testsuite/Makefile.am:
29153 * testsuite/caps/Makefile.am:
29154 * testsuite/caps/value_serialize.c:
29155 * testsuite/test_gst_init.c:
29156 move a value_serialize test over
29158 2005-06-20 Wim Taymans <wim@fluendo.com>
29163 * gst/gstvalue.c: (gst_value_compare_buffer),
29164 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29165 (gst_value_compare_flags), (gst_value_serialize_flags),
29166 (gst_value_deserialize_flags), (_gst_value_initialize):
29167 Fix serialisation of buffers, they are not boxed types anymore
29169 2005-06-20 Wim Taymans <wim@fluendo.com>
29171 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29172 Testcase to show error in buffer-on-caps serialisation.
29174 2005-06-20 Andy Wingo <wingo@pobox.com>
29176 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29177 will be adding to later.
29179 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29180 if its socks fill with rocks.
29181 (gst_system_clock_obtain): Set the name on object construction.
29182 Avoid double-checked locking.
29184 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29186 * gst/gsturi.c: (gst_element_make_from_uri):
29187 Fix potential endless loop.
29189 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29191 * check/Makefile.am:
29193 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29195 move over from testsuite dir and clean up
29198 * testsuite/Makefile.am:
29199 * testsuite/tags/.cvsignore:
29200 * testsuite/tags/Makefile.am:
29201 * testsuite/tags/merge.c:
29202 remove testsuite/tags
29204 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29206 * docs/gst/gstreamer-sections.txt:
29207 * docs/gst/tmpl/gstenumtypes.sgml:
29208 * win32/gstenumtypes.c:
29209 clean up documentation build a little
29211 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29213 * check/gstcheck.h:
29214 add macros for checking refcounts on objects and caps
29215 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29216 add some more unit tests
29217 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29218 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29219 fix leaked refcounts (I hope :)) so unittest works
29223 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29225 * configure.ac: back to HEAD
29227 === release 0.9.1 ===
29229 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29235 2005-06-17 Andy Wingo <wingo@pobox.com>
29237 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29238 assert; it's always possible that the pad gets deactivated in
29239 between the checks in gstpad.c and the implementation. Rely on
29240 finish_preroll() to return a FLUSHING or similar instead of on the
29243 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29244 clock and post an EOS message if we come out of finish_preroll in
29247 2005-06-16 David Schleef <ds@schleef.org>
29249 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29250 (gst_capsfilter_set_property): Allow NULL as possible value
29251 for filter_caps property, indicating GST_CAPS_ANY.
29253 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29255 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29257 * gst/schedulers/Makefile.am:
29259 * gstreamer.spec.in:
29262 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29264 * gstreamer.spec.in:
29267 2005-06-08 Andy Wingo <wingo@pobox.com>
29269 * gst/gstutils.c: RPAD fixes all around.
29270 (gst_element_link_pads): Refcounting fixes.
29272 * tools/gst-inspect.c:
29273 * tools/gst-xmlinspect.c:
29275 * gst/base/gsttypefindhelper.c:
29276 * gst/base/gstbasesink.c:
29277 * gst/gstqueue.c: RPAD fixes.
29279 * gst/gstghostpad.h:
29280 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29281 pads. The tricky thing is they provide both source and sink
29282 interfaces, since they proxy the internal pad for the external
29283 pad, and vice versa. Implement with lower-level ProxyPad objects,
29284 with the interior proxy pad as a child of the exterior ghost pad.
29285 Should write a doc on this.
29287 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29288 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29291 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29292 pads are real pads. No ghost pads in this file. Not documenting
29293 the myriad s/RPAD/PAD/ and REALIZE fixes.
29294 (gst_pad_class_init): Add properties for "direction" and
29295 "template". Both are construct-only, so they can't change during
29296 the life of the pad. Fixes properly deriving from GstPad.
29297 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29298 derived objects, just set properties when creating the objects via
29300 (gst_pad_get_parent): Implement as a function, return NULL if the
29301 parent is not an element.
29302 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29303 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29305 * gst/gstobject.c (gst_object_class_init): Make name a construct
29306 property. Don't set it in the object init.
29308 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29309 with UNKNOWN direction.
29310 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29311 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29312 (gst_element_remove_pad): Remove ghost-pad special cases.
29313 (gst_element_pads_activate): Remove rpad cruft.
29315 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29316 catch the pad's-parent-not-an-element case.
29318 * gst/gst.h: Include gstghostpad.h.
29320 * gst/gst.c (init_post): No more real, ghost pads.
29322 * gst/Makefile.am: Add gstghostpad.[ch].
29324 * check/Makefile.am:
29325 * check/gst/gstbin.c:
29326 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29327 into a bin creates ghost pads, and that the refcounts are right.
29328 Partly moved from gstbin.c.
29330 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29332 * check/gst-libs/.cvsignore:
29333 * check/gst/.cvsignore:
29334 * check/pipelines/.cvsignore:
29336 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29337 (START_TEST), (cleanup_suite), (main):
29338 add some tests related to cleanup after running pipelines
29340 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29342 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29343 add a testsuite for GstBuffer
29345 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29347 * gst/gstminiobject.h:
29348 add defines for accessing the refcount
29350 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29352 * Makefile.am: added support for html unit test coverage reports
29354 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29356 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29357 Free existing caps if the capsfilter changes. Add a FIXME about
29358 setting those caps on the pads.
29360 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29361 Before adding a ghost pad to a parent bin, check that there isn't
29362 already one for the element on the bin. Prevents infinite recursion
29363 when using decodebin in parse pipelines. Andy says he'll rewrite the
29364 way this works anyway, so ignore the hack.
29366 2005-06-02 Andy Wingo <wingo@pobox.com>
29368 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29369 file size, pass it on to the type find helper.
29371 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29372 segment_start and segment_end properly according to the seek
29373 method. Segment_end is still a bit flaky because offset can be
29374 negative for CUR and END cases, but it takes -1 as an "unset"
29377 2005-06-02 Wim Taymans <wim@fluendo.com>
29379 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29380 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29381 (gst_basesink_activate):
29382 * gst/base/gstbasesink.h:
29383 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29384 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29385 (gst_pad_query), (gst_pad_start_task):
29387 * gst/gstqueue.c: (gst_queue_bufferalloc),
29388 (gst_queue_handle_sink_event), (gst_queue_chain):
29389 Bufferalloc: return GstFlowReturn to more accuratly report
29390 why allocation failed.
29392 2005-06-02 Wim Taymans <wim@fluendo.com>
29394 * gst/gstpipeline.c: (gst_pipeline_send_event):
29395 Take snapshot of state without blocking.
29397 2005-06-02 Wim Taymans <wim@fluendo.com>
29399 * docs/design/part-TODO.txt:
29400 * docs/design/part-caps.txt:
29401 * docs/design/part-clocks.txt:
29402 * docs/design/part-negotiation.txt:
29403 * docs/design/part-preroll.txt:
29406 2005-05-30 Wim Taymans <wim@fluendo.com>
29408 * gst/elements/gstidentity.c: (gst_identity_event),
29409 (gst_identity_transform), (gst_identity_get_property):
29410 Protect last_message property as it is accessed from
29413 2005-05-30 Wim Taymans <wim@fluendo.com>
29415 * gst/gstelement.c: (gst_element_init),
29416 (gst_element_pads_activate), (gst_element_change_state):
29417 Slicker pad activation code.
29419 2005-05-30 Wim Taymans <wim@fluendo.com>
29422 * gst/gstelement.h:
29423 * gst/gstelementfactory.h:
29425 Move elementfactory methods to separate .h file.
29427 2005-05-30 Wim Taymans <wim@fluendo.com>
29429 * docs/design/part-overview.txt:
29430 * gst/gstsystemclock.h:
29431 Small typo fixes, doc updates.
29433 2005-05-30 Wim Taymans <wim@fluendo.com>
29435 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29436 (init_popt_callback):
29437 Remove cpu-opt flag.
29439 2005-05-30 Wim Taymans <wim@fluendo.com>
29441 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29442 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29444 Avoid typechecking in places where not needed.
29445 Added accessor for malloc_data.
29447 2005-05-30 Wim Taymans <wim@fluendo.com>
29449 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29450 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29451 (gst_pad_configure_sink), (gst_pad_configure_src),
29452 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29453 (gst_pad_start_task):
29454 Propagate errors from _set_caps() in configure_src/sink
29455 functions instead of returning TRUE.
29456 FLUSH events can travel up and downstream
29459 2005-05-30 Wim Taymans <wim@fluendo.com>
29461 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29462 (gst_basesink_activate):
29463 Handle EOS in preroll.
29465 2005-05-30 Wim Taymans <wim@fluendo.com>
29467 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29468 (gst_queue_loop), (gst_queue_handle_src_event):
29469 Remove old pieces of code
29470 Flushing the queue in an upstream event is a very bad idea.
29472 2005-05-26 Andy Wingo <wingo@pobox.com>
29474 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29475 gst_value_set_mini_object so as to add a ref on the object (which
29476 will be removed when the value is unset).
29478 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29479 arg type in ::handoff.
29481 * gst/gstelement.c (gst_element_change_state): Also deactivate
29482 pads in READY->NULL, just in case the element didn't make it to
29483 PAUSED. Wingo tested, Wim approved.
29485 2005-05-26 Wim Taymans <wim@fluendo.com>
29487 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29488 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29489 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29490 A flushing pad cannot be used to alloc_buffer from.
29492 2005-05-26 Wim Taymans <wim@fluendo.com>
29494 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29495 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29496 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29497 (gst_bus_create_watch), (gst_bus_add_watch_full):
29499 Implement a real GSource and use g_main_context_wakeup() to
29500 signal new messages instead of the socketpair.
29502 2005-05-25 Wim Taymans <wim@fluendo.com>
29504 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29505 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29506 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29507 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29508 (gst_pad_send_event), (gst_pad_start_task):
29509 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29510 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29511 (gst_queue_sink_activate), (gst_queue_src_activate),
29512 (gst_queue_change_state):
29514 Fix state changes for non sinks. We now change sinks, then elements
29515 with unconnected srcpads, then the rest.
29516 More efficient queue unlocking in flush and state changes.
29517 Set the pad activate mode even if it does not have an activate
29520 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29522 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29523 Don't go in pull mode for non-seekable sources.
29524 * gst/elements/gsttypefindelement.h:
29525 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29526 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29527 (free_entry), (stop_typefinding),
29528 (gst_type_find_element_handle_event), (find_peek),
29529 (gst_type_find_element_chain), (do_pull_typefind),
29530 (gst_type_find_element_change_state):
29531 Allow typefinding (w/o seeking) in push-mode, simplified version
29532 of what was in 0.8.
29533 * gst/gstutils.c: (gst_buffer_join):
29535 gst_buffer_join() from 0.8.
29537 2005-05-25 Wim Taymans <wim@fluendo.com>
29539 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29540 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29541 (gst_pad_send_event), (gst_pad_start_task):
29542 Disable attempt at mode switching until it is figured out.
29544 2005-05-25 Wim Taymans <wim@fluendo.com>
29546 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29547 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29548 (gst_basesink_finish_preroll), (gst_basesink_chain),
29549 (gst_basesink_loop), (gst_basesink_activate),
29550 (gst_basesink_change_state):
29551 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29552 (gst_basesrc_get_range), (gst_basesrc_loop),
29553 (gst_basesrc_activate):
29554 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29555 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29556 (gst_real_pad_init), (gst_real_pad_set_property),
29557 (gst_real_pad_get_property), (gst_pad_set_active),
29558 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29559 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29560 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29561 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29562 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29563 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29564 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29565 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29566 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29567 (gst_pad_stop_task):
29569 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29570 (gst_queue_loop), (gst_queue_src_activate):
29571 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29572 (gst_task_get_state):
29574 * gst/schedulers/threadscheduler.c:
29575 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29576 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29578 Remove ACTIVE pad flag, use FLUSHING everywhere
29579 Added _pad_chain(), _pad_get_range() to call chain/getrange
29581 Add locks around IS_FLUSHING when reading.
29582 Take STREAM lock in chain(), get_range() functions so plugins
29583 don't need to take it anymore.
29587 2005-05-25 Wim Taymans <wim@fluendo.com>
29589 * tools/gst-launch.c: (event_loop):
29590 Unref message after using its contents instead of
29593 2005-05-24 Wim Taymans <wim@fluendo.com>
29595 * docs/design/draft-ghostpads.txt:
29596 * docs/design/draft-push-pull.txt:
29597 * docs/design/draft-query.txt:
29598 * docs/design/part-overview.txt:
29599 Docs updates, added general overview doc.
29601 2005-05-21 David Schleef <ds@schleef.org>
29603 * docs/gst/tmpl/old/GstBin.sgml:
29604 * docs/gst/tmpl/old/GstBuffer.sgml:
29605 * docs/gst/tmpl/old/GstCaps.sgml:
29606 * docs/gst/tmpl/old/GstClock.sgml:
29607 * docs/gst/tmpl/old/GstCompat.sgml:
29608 * docs/gst/tmpl/old/GstData.sgml:
29609 * docs/gst/tmpl/old/GstElement.sgml:
29610 * docs/gst/tmpl/old/GstEvent.sgml:
29611 * docs/gst/tmpl/old/GstIndex.sgml:
29612 * docs/gst/tmpl/old/GstStructure.sgml:
29613 * docs/gst/tmpl/old/GstTag.sgml:
29614 * docs/gst/tmpl/old/cothreads.sgml:
29615 * docs/gst/tmpl/old/cothreads_compat.sgml:
29616 * docs/gst/tmpl/old/gettext.sgml:
29617 * docs/gst/tmpl/old/gobject2gtk.sgml:
29618 * docs/gst/tmpl/old/grammar.tab.sgml:
29619 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29620 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29621 * docs/gst/tmpl/old/gst_private.sgml:
29622 * docs/gst/tmpl/old/gstaggregator.sgml:
29623 * docs/gst/tmpl/old/gstarch.sgml:
29624 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29625 * docs/gst/tmpl/old/gstbufferstore.sgml:
29626 * docs/gst/tmpl/old/gstdata_private.sgml:
29627 * docs/gst/tmpl/old/gstdisksink.sgml:
29628 * docs/gst/tmpl/old/gstdisksrc.sgml:
29629 * docs/gst/tmpl/old/gstelementfactory.sgml:
29630 * docs/gst/tmpl/old/gstextratypes.sgml:
29631 * docs/gst/tmpl/old/gstfakesink.sgml:
29632 * docs/gst/tmpl/old/gstfakesrc.sgml:
29633 * docs/gst/tmpl/old/gstfdsink.sgml:
29634 * docs/gst/tmpl/old/gstfdsrc.sgml:
29635 * docs/gst/tmpl/old/gstfilesink.sgml:
29636 * docs/gst/tmpl/old/gstfilesrc.sgml:
29637 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29638 * docs/gst/tmpl/old/gstidentity.sgml:
29639 * docs/gst/tmpl/old/gstindexfactory.sgml:
29640 * docs/gst/tmpl/old/gstmarshal.sgml:
29641 * docs/gst/tmpl/old/gstmd5sink.sgml:
29642 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29643 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29644 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29645 * docs/gst/tmpl/old/gstpipefilter.sgml:
29646 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29647 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29648 * docs/gst/tmpl/old/gstshaper.sgml:
29649 * docs/gst/tmpl/old/gstspider.sgml:
29650 * docs/gst/tmpl/old/gstspideridentity.sgml:
29651 * docs/gst/tmpl/old/gststatistics.sgml:
29652 * docs/gst/tmpl/old/gsttee.sgml:
29653 * docs/gst/tmpl/old/gsttimecache.sgml:
29654 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29655 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29656 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29657 * docs/gst/tmpl/old/types.sgml:
29658 I didn't intend to add these or check them in.
29660 2005-05-19 David Schleef <ds@schleef.org>
29662 * configure.ac: Use -no-common everywhere. In a sane world, it
29663 would be the default in libtool, because without it, you can't
29664 build DLLs on Windows.
29665 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29666 * docs/gst/gstreamer-sections.txt:
29667 * docs/gst/tmpl/gstcpu.sgml:
29668 * docs/gst/tmpl/gstdata.sgml:
29669 * docs/gst/tmpl/gstthread.sgml:
29671 2005-05-19 David Schleef <ds@schleef.org>
29673 * gst/gstminiobject.c: (gst_value_set_mini_object),
29674 (gst_value_take_mini_object), (gst_value_get_mini_object):
29675 * gst/gstminiobject.h: Add GValue set/get functions.
29677 2005-05-19 Wim Taymans <wim@fluendo.com>
29679 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29680 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29681 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29683 * gst/gstbus.c: (gst_bus_post):
29684 * gst/gstelement.c: (gst_element_get_random_pad):
29685 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29686 Make subbufer unref the parent in finalize.
29687 some more debugging info.
29690 2005-05-19 Wim Taymans <wim@fluendo.com>
29692 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29693 (gst_basesink_init), (gst_basesink_finalize),
29694 (gst_basesink_activate), (gst_basesink_change_state):
29695 Don't free preroll queue too early.
29697 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29701 Hi, I'm outdated. Please shoot me.
29703 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29705 * gst/gstpipeline.c: (gst_pipeline_send_event):
29706 Do not access variables after they have been deleted.
29708 2005-05-19 Wim Taymans <wim@fluendo.com>
29710 * tools/gst-inspect.c: (print_plugin_features):
29711 A plugin feature does unfortunatly not use the
29714 2005-05-18 Wim Taymans <wim@fluendo.com>
29716 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29717 Port _span() functions to new subbuffers.
29719 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29721 * gst/gstbin.c: (gst_bin_add_func):
29722 Fix clock settery in bins when adding kids after the clock has
29725 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29727 * gst/elements/gstidentity.c: (gst_identity_class_init):
29728 Workaround until signals support GstMiniObject.
29730 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29733 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29735 2005-05-18 Wim Taymans <wim@fluendo.com>
29737 * gst/base/Makefile.am:
29738 * gst/base/gstadapter.c: (gst_adapter_base_init),
29739 (gst_adapter_class_init), (gst_adapter_init),
29740 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29741 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29742 (gst_adapter_flush), (gst_adapter_available),
29743 (gst_adapter_available_fast):
29744 * gst/base/gstadapter.h:
29745 Ported and added adapter to the base classes.
29747 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29750 * gst/gstmessage.c:
29751 Make sure the class is reffed/unreffed once before threads can be
29752 used. Fixes #304551.
29754 2005-05-17 Wim Taymans <wim@fluendo.com>
29756 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29757 (gst_basesink_chain_unlocked), (gst_basesink_activate):
29758 * gst/gstminiobject.c: (gst_mini_object_get_type),
29759 (gst_mini_object_free):
29760 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29761 (gst_pad_push), (gst_pad_push_event):
29762 * gst/gstqueue.c: (gst_queue_change_state):
29763 Don't queue buffers in basesink when we are flushing.
29764 Unref buffer when flushing in basesink.
29765 Flush queue when going to READY
29766 Unref buffer when _push() returns an error.
29767 Don't free MiniObject instance when refcount is incremented
29768 in _finalize() so that we can recover objects.
29770 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29772 * docs/manual/advanced-schedulers.xml:
29773 * docs/manual/appendix-checklist.xml:
29774 * docs/pwg/advanced-clock.xml:
29775 * docs/pwg/advanced-interfaces.xml:
29776 * docs/pwg/advanced-request.xml:
29777 * docs/pwg/advanced-types.xml:
29778 * docs/pwg/intro-preface.xml:
29779 * examples/plugins/example.c: (gst_example_get_type),
29780 (gst_example_class_init), (gst_example_chain),
29781 (gst_example_set_property), (gst_example_get_property),
29782 (gst_example_change_state), (plugin_init):
29783 * examples/plugins/example.h:
29786 2005-05-17 Wim Taymans <wim@fluendo.com>
29788 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29789 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29790 * gst/gstqueue.c: (gst_queue_change_state):
29791 Clear queue when going to READY.
29792 Remove IN_SETCAPS flag too.
29794 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
29796 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29797 Remove implicit cast from gboolean to GstElementStateReturn;
29798 make sure we still return failure in paused => ready case if
29799 the parent class fails to change state and our own stop
29802 2005-05-17 Wim Taymans <wim@fluendo.com>
29804 * tools/gst-launch.c: (event_loop):
29805 Message was unreffed too soon.
29807 2005-05-16 Andy Wingo <wingo@pobox.com>
29809 * gst/gstbin.c (sink_iterator_filter): Err... um...
29811 * check/gst/gstbin.c (test_ghost_pads): New test for the
29812 ghosting-if-elements-not-in-same-bin behavior.
29814 2005-05-16 David Schleef <ds@schleef.org>
29816 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29817 accessing refcount directly.
29819 2005-05-15 David Schleef <ds@schleef.org>
29821 * check/Makefile.am: remove GstData checks
29822 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29823 * gst/Makefile.am: add miniobject, remove data
29824 * gst/gst.h: add miniobject, remove data
29825 * gst/gstdata.c: remove
29826 * gst/gstdata.h: remove
29827 * gst/gstdata_private.h: remove
29828 * gst/gsttypes.h: remove GstEvent and GstMessage
29829 * gst/gstelement.c: (gst_element_post_message): fix for API changes
29830 * gst/gstmarshal.list: change BOXED -> OBJECT
29832 Implement GstMiniObject.
29833 * gst/gstminiobject.c:
29834 * gst/gstminiobject.h:
29836 Modify to be subclasses of GstMiniObject.
29837 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29838 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29839 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29840 (gst_subbuffer_get_type), (gst_subbuffer_init),
29841 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29844 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29845 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29846 (_gst_event_copy), (gst_event_new):
29848 * gst/gstmessage.c: (_gst_message_initialize),
29849 (gst_message_get_type), (gst_message_class_init),
29850 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29851 (gst_message_new), (gst_message_new_error),
29852 (gst_message_new_warning), (gst_message_new_tag),
29853 (gst_message_new_state_changed), (gst_message_new_application):
29854 * gst/gstmessage.h:
29855 * gst/gstprobe.c: (gst_probe_perform),
29856 (gst_probe_dispatcher_dispatch):
29858 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29859 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29860 (_gst_query_copy), (gst_query_new):
29862 Update elements for GstData -> GstMiniObject changes
29864 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29865 (gst_queue_chain), (gst_queue_loop):
29866 * gst/elements/gstbufferstore.c:
29867 (gst_buffer_store_add_buffer_func),
29868 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29869 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29870 (gst_fakesink_render):
29871 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29872 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29873 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29874 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29875 (gst_filesrc_create_read):
29876 * gst/elements/gstidentity.c: (gst_identity_class_init):
29877 * gst/elements/gsttypefindelement.c:
29878 (gst_type_find_element_src_event), (free_entry_buffers),
29879 (gst_type_find_element_handle_event):
29880 * libs/gst/dataprotocol/dataprotocol.c:
29881 (gst_dp_header_from_buffer):
29882 * libs/gst/dataprotocol/dataprotocol.h:
29883 * libs/gst/dataprotocol/dp-private.h:
29885 2005-05-15 David Schleef <ds@schleef.org>
29887 * gst/elements/gstelements.c: Don't include headers that were
29890 2005-05-15 David Schleef <ds@schleef.org>
29892 * gst/elements/Makefile.am: Remove some elements that don't
29893 need to be in the core (or even exist at all).
29894 * gst/elements/gstaggregator.c:
29895 * gst/elements/gstaggregator.h:
29896 * gst/elements/gstmd5sink.c:
29897 * gst/elements/gstmd5sink.h:
29898 * gst/elements/gstmultifilesrc.c:
29899 * gst/elements/gstmultifilesrc.h:
29900 * gst/elements/gstpipefilter.c:
29901 * gst/elements/gstpipefilter.h:
29902 * gst/elements/gstshaper.c:
29903 * gst/elements/gstshaper.h:
29904 * gst/elements/gststatistics.c:
29905 * gst/elements/gststatistics.h:
29906 * po/POTFILES.in: Remove above files.
29908 2005-05-14 Andy Wingo <wingo@pobox.com>
29910 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29911 so as to get the refs right.
29912 (sink_iterator_filter): New function, wraps bin_element_is_sink,
29913 unreffing objects that don't pass the filter.
29915 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
29916 gst_element_set_bus.
29917 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
29918 normal cases, this will destroy the bus.
29920 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
29923 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
29926 2005-05-13 Andy Wingo <wingo@pobox.com>
29928 * gst/gstutils.c (gst_element_link_pads): Instead of calling
29929 gst_pad_link, call pad_link_maybe_ghosting,
29930 (pad_link_maybe_ghosting): Links pads, making sure that the
29931 elements being linked are in the same bin.
29932 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
29933 Helpers for pad_link_maybe_ghosting.
29935 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29938 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
29940 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29942 * docs/design/part-element-source.txt:
29945 2005-05-12 Wim Taymans <wim@fluendo.com>
29947 * gst/base/gstbasesink.c: (gst_basesink_init),
29948 (gst_basesink_activate):
29949 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
29950 (gst_basesrc_is_seekable):
29951 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
29952 (bin_element_is_sink), (gst_bin_change_state):
29953 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29954 * gst/gstelement.h:
29955 Identify sinks by their flag to avoid overly complicated
29957 Do state changes even for elements not reachable from the
29959 BaseSink is a sink now :)
29960 Some more debugging info in the basesrc.
29963 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29965 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
29966 Implement _query on a bin, similar to _send_event.
29968 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
29970 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
29971 Discont event offset format should be GST_FORMAT_BYTES,
29972 not GST_FORMAT_TIME.
29974 2005-05-12 Wim Taymans <wim@fluendo.com>
29976 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
29977 Same fix as Ronald's but without the signal.
29979 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29981 * gst/gstutils.c: (gst_element_query_position):
29982 No, an element is not a pad.
29984 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29986 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
29987 (gst_bin_get_state):
29988 If a child is removed from a bin while we remove the child from
29989 the bin and while we're retrieving its state, signal this to the
29990 get_state function so we abort the wait (instead of waiting for
29991 a timeout) and can immediately re-iterate over all other elements.
29993 2005-05-12 Wim Taymans <wim@fluendo.com>
29995 * gst/base/Makefile.am:
29996 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
29997 (gst_basesrc_start):
29998 * gst/base/gstbasesrc.h:
29999 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30000 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30001 (gst_pushsrc_init), (gst_pushsrc_create):
30002 * gst/base/gstpushsrc.h:
30003 Added is_seekable to BaseSrc
30004 Added simple PushSrc.
30006 2005-05-11 Wim Taymans <wim@fluendo.com>
30008 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30009 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30010 (gst_element_link_pads), (gst_element_query_position),
30011 (gst_element_query_convert), (intersect_caps_func),
30012 (gst_pad_query_position), (gst_pad_query_convert):
30013 Fix refcounting in utils function.
30014 No point in trying to activate a pad when it's added, it could
30015 be added from the state change function and then we deadlock, the
30016 element has to decide what to do.
30018 2005-05-10 Andy Wingo <wingo@pobox.com>
30020 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30021 *all* the arguments.
30023 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30024 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30025 lock (according to the docs -- if this is wrong change the docs).
30027 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30028 flush messages in the NULL state.
30030 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30031 message immediately and return.
30032 (gst_bus_set_flushing): New function. If a bus is flushing, it
30033 flushes out any queued messages and immediately unrefs new
30034 messages. This is so when an element goes to NULL, all of the
30035 unhandled messages coming from it can be freed, and their
30036 references to the element dropped. In other words: message source
30037 ref considered harmful :P
30039 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30040 we're finished with it.
30042 * gst/gstmessage.c (gst_message_new_state_changed):
30044 2005-05-10 Wim Taymans <wim@fluendo.com>
30046 * gst/gstvalue.c: (gst_value_compare_flags),
30047 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30048 (_gst_value_initialize):
30049 Added flags serialize/deserialize/compare code.
30051 2005-05-09 Andy Wingo <wingo@pobox.com>
30053 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30054 Intersect the peer's caps with our caps.
30056 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30058 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30059 * gst/elements/gsttypefindelement.c: (find_peek):
30060 Handle negative offsets better. Fixes decodebin.
30062 2005-05-09 Wim Taymans <wim@fluendo.com>
30064 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30065 (gst_base_transform_event):
30066 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30067 Implement accept_caps.
30068 Fix silly lock/unlock mismatch in base class.
30070 2005-05-09 Wim Taymans <wim@fluendo.com>
30072 * docs/design/draft-push-pull.txt:
30073 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30074 * gst/elements/gstfilesink.c: (gst_filesink_init),
30075 (gst_filesink_query):
30076 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30077 (gst_type_find_handle_src_query), (find_element_get_length):
30078 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30079 * gst/gstelement.h:
30080 * gst/gstmessage.c:
30081 * gst/gstmessage.h:
30082 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30083 (gst_real_pad_get_caps_unlocked),
30084 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30085 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30086 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30087 (gst_real_pad_dispose), (gst_real_pad_finalize),
30088 (gst_pad_load_and_link), (gst_pad_save_thyself),
30089 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30090 (gst_pad_check_pull_range), (gst_pad_pull_range),
30091 (gst_pad_template_get_type), (gst_pad_template_class_init),
30092 (gst_pad_template_init), (gst_pad_template_dispose),
30093 (name_is_valid), (gst_static_pad_template_get),
30094 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30095 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30096 (gst_pad_get_element_private), (gst_pad_start_task),
30097 (gst_pad_pause_task), (gst_pad_stop_task),
30098 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30099 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30100 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30101 (gst_ghost_pad_new):
30103 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30104 (gst_query_new_position), (gst_query_set_position),
30105 (gst_query_parse_position), (gst_query_new_convert),
30106 (gst_query_set_convert), (gst_query_parse_convert):
30108 * gst/gstqueryutils.c:
30109 * gst/gstqueryutils.h:
30110 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30111 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30112 (gst_queue_handle_src_query):
30113 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30114 (gst_element_query_position), (gst_element_query_convert),
30115 (intersect_caps_func), (gst_pad_query_position),
30116 (gst_pad_query_convert):
30118 * tools/gst-inspect.c: (print_pad_info):
30119 * tools/gst-xmlinspect.c: (print_element_info):
30120 Remove old query functions. Ported old code.
30121 Added position/convert helper functions to gstutils.
30122 Reordered gstpad.c code, grouping relevant things.
30123 Remove gst_message_new(), always need to speficy a specific
30127 2005-05-09 Andy Wingo <wingo@pobox.com>
30129 * gst/gstiterator.h: Add some includes.
30131 * gst/gstqueryutils.h: Include more headers.
30134 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30135 some uses of gst_pad_query.
30137 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30138 NULL out parameters.
30139 (gst_query_new_position): New proc, allocates a new position
30142 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30143 gstqueryutils.c to the build.
30145 * gst/gststructure.c (gst_structure_set_valist): Implement with
30146 the generic G_VALUE_COLLECT.
30148 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30150 * gst/Makefile.am: (gst_headers):
30151 Added gstqueryutils.h to the list of headers to install, that was
30152 a 'nachty' move wingo :)
30154 2005-05-06 Andy Wingo <wingo@pobox.com>
30157 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30158 GstData, init a memchunk.
30159 (standard_definitions): Add a few query types, deprecate a few.
30160 (gst_query_get_type): New proc.
30161 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30163 (gst_query_new_application, gst_query_get_structure): New public
30166 * docs/design/draft-query.txt: Removed LINKS from the query types,
30167 because all the rest can be dispatched to other pads -- seemed
30168 ugly to have a query that couldn't be dispatched. internal_links
30169 is fine as a pad method.
30171 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30172 in gstpad.c, but maintain binary compatibility for the moment.
30173 Will fix before 0.9 is out.
30175 * gst/gstqueryutils.c:
30176 * gst/gstqueryutils.h: New files, implement 3 methods for each
30177 query type: parse_query, parse_response, and set. Probably need an
30180 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30182 * gst/elements/gstfilesink.c (gst_filesink_query2):
30183 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30184 query_types, and formats methods.
30186 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30187 (gst_pad_set_query2_function): New functions.
30188 (gst_real_pad_init): Set query2_default as the default query2
30189 function. Basically just dispatches to internally linked pads.
30193 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30194 without using the atomic operations. Only one thread can possibly
30195 be accessing the data at this point. Changed so as to avoid
30196 gst_atomic operations.
30198 2005-05-06 Wim Taymans <wim@fluendo.com>
30200 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30201 Also set caps if we use the fallback buffer alloc.
30203 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30205 * docs/gst/Makefile.am:
30206 * docs/gst/gstreamer-docs.sgml:
30207 * docs/gst/gstreamer-sections.txt:
30208 * docs/gst/tmpl/gstatomic.sgml:
30209 * docs/gst/tmpl/gstmemchunk.sgml:
30210 * testsuite/elements/struct_i386.h:
30211 * win32/GStreamer.vcproj:
30213 Purge GstAtomic stuff from docs and win32 makefiles as well
30215 2005-05-06 Wim Taymans <wim@fluendo.com>
30217 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30218 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30219 * gst/gstpad.c: (gst_pad_peer_get_caps):
30220 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30221 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30222 (gst_queue_src_activate), (gst_queue_change_state):
30224 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30225 (intersect_caps_func):
30226 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30227 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30228 Some fixes for the peer_get_caps() change.
30230 2005-05-06 Wim Taymans <wim@fluendo.com>
30232 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30233 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30234 (gst_basesink_activate):
30235 Actually do something with error codes returned from the push
30238 2005-05-06 Wim Taymans <wim@fluendo.com>
30240 * docs/design/part-element-sink.txt:
30241 * docs/design/part-element-source.txt:
30242 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30243 (gst_basesink_event), (gst_basesink_activate):
30244 * gst/base/gstbasesink.h:
30245 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30246 (gst_basesrc_activate):
30247 * gst/base/gstbasesrc.h:
30248 * gst/gstelement.c: (gst_element_pads_activate):
30249 Some more documentation.
30250 Fixed scheduling decision in _pads_activate().
30252 2005-05-05 Andy Wingo <wingo@pobox.com>
30254 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30257 2005-05-05 Wim Taymans <wim@fluendo.com>
30259 * gst/base/Makefile.am:
30260 * gst/base/gstbasesink.h:
30261 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30262 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30263 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30264 (gst_collectpads_class_init), (gst_collectpads_init),
30265 (gst_collectpads_finalize), (gst_collectpads_new),
30266 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30267 (find_pad), (gst_collectpads_remove_pad),
30268 (gst_collectpads_is_active), (gst_collectpads_collect),
30269 (gst_collectpads_collect_range), (gst_collectpads_start),
30270 (gst_collectpads_stop), (gst_collectpads_peek),
30271 (gst_collectpads_pop), (gst_collectpads_available),
30272 (gst_collectpads_read), (gst_collectpads_flush),
30273 (gst_collectpads_chain):
30274 * gst/base/gstcollectpads.h:
30275 * gst/elements/Makefile.am:
30276 * gst/elements/gstelements.c:
30277 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30278 (gst_fakesink_get_times), (gst_fakesink_event),
30279 (gst_fakesink_preroll), (gst_fakesink_render):
30280 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30281 (gst_filesink_init), (gst_filesink_set_location),
30282 (gst_filesink_open_file), (gst_filesink_close_file),
30283 (gst_filesink_pad_query), (gst_filesink_event),
30284 (gst_filesink_render), (gst_filesink_change_state):
30285 * gst/elements/gstfilesink.h:
30286 Added object to help in making collect pad based elements.
30288 Make event function in sink baseclass return gboolean.
30290 2005-05-05 Wim Taymans <wim@fluendo.com>
30292 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30293 (gst_bin_get_by_name):
30295 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30296 (gst_clock_finalize):
30297 * gst/gstdata.c: (gst_data_replace):
30299 * gst/gstelement.c: (gst_element_request_pad),
30300 (gst_element_pads_activate):
30301 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30302 (gst_object_unref):
30303 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30304 (gst_pad_set_checkgetrange_function),
30305 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30306 (gst_pad_check_pull_range), (gst_pad_pull_range),
30307 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30308 (gst_pad_pause_task), (gst_pad_stop_task):
30309 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30310 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30311 Fix name lookup in GstBin.
30312 Added _data_replace() function and _buffer_replace()
30313 Use finalize method to clean up clock.
30314 Fix refcounting on request pads.
30315 Fix pad schedule mode error.
30316 Some more object refcounting debug info,
30319 2005-05-04 Andy Wingo <wingo@pobox.com>
30321 * check/Makefile.am:
30322 * docs/gst/tmpl/gstatomic.sgml:
30323 * docs/gst/tmpl/gstplugin.sgml:
30324 * gst/base/gstbasesink.c: (gst_basesink_activate):
30325 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30326 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30327 (gst_basesrc_query), (gst_basesrc_set_property),
30328 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30329 (gst_basesrc_activate):
30330 * gst/base/gstbasesrc.h:
30331 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30332 (gst_base_transform_src_activate):
30333 * gst/elements/gstelements.c:
30334 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30335 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30336 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30337 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30338 (gst_type_find_element_checkgetrange),
30339 (gst_type_find_element_activate):
30340 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30341 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30342 (gst_caps_load_thyself):
30343 * gst/gstelement.c: (gst_element_pads_activate),
30344 (gst_element_save_thyself), (gst_element_restore_thyself):
30345 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30346 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30348 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30349 (gst_xml_parse_file), (gst_xml_parse_memory),
30350 (gst_xml_get_element), (gst_xml_make_element):
30351 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30352 (_file_index_id_save_xml), (gst_file_index_commit):
30353 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30354 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30356 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30357 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30358 * tools/gst-complete.c: (main):
30359 * tools/gst-compprep.c: (main):
30360 * tools/gst-inspect.c: (print_element_properties_info):
30361 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30362 * tools/gst-xmlinspect.c: (print_element_properties):
30365 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30367 * gst/gstplugin.c: (gst_plugin_check_module),
30368 (gst_plugin_check_file), (gst_plugin_load_file):
30369 apply patch from #172526 to make register work on MacOSX
30371 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30373 * docs/gst/tmpl/gstconfig.sgml:
30374 * gst/gstconfig.h.in:
30375 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30376 * testsuite/debug/printf_extension.c: (main):
30377 Do not use GST_PTR_FORMAT on pointers to types with
30378 sizeof < sizeof(gpointer). Fixes test on 64-bit
30379 * testsuite/elements/property.h:
30380 use correct printf format
30382 2005-05-02 Wim Taymans <wim@fluendo.com>
30384 * docs/design/draft-push-pull.txt:
30385 * docs/design/draft-query.txt:
30386 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30387 (gst_basesrc_start):
30388 Added draft for new query API.
30389 Added draft for better selecting scheduling methods.
30390 Make basesrc ignore length if the subclass does not support
30393 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30396 possible fixes for automake-1.5 - _LIBADD is reserved
30398 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30400 * docs/faq/Makefile.am:
30401 * docs/manual/Makefile.am:
30402 * docs/manuals.mak:
30403 * docs/pwg/Makefile.am:
30405 possible fixes for automake-1.5
30407 2005-04-28 Wim Taymans <wim@fluendo.com>
30409 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30410 (gst_basesink_pad_getcaps), (gst_basesink_init),
30411 (gst_basesink_do_sync):
30412 * gst/gstclock.c: (gst_clock_entry_new):
30413 * gst/gstevent.c: (gst_event_discont_get_value):
30414 * gst/gstpipeline.c: (pipeline_bus_handler),
30415 (gst_pipeline_change_state):
30416 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30417 Better debugging of clocking info.
30418 Allow NULL values when getting discont values.
30420 2005-04-27 Wim Taymans <wim@fluendo.com>
30422 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30423 * check/gst/gstpad.c: (gst_pad_suite):
30424 Increase timeout for checks.
30426 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30428 * check/Makefile.am:
30429 fix the broken rule for cleanup. Apparently this rule is
30430 only needed on FC2, so maybe this warrants further autotool
30433 2005-04-26 Wim Taymans <wim@fluendo.com>
30435 * gst/gsttrashstack.h:
30436 Ooohh. a nasty one! After having a failed pop() from the stack,
30437 it's possible that the stack is empty. In that case, don't
30438 follow the NULL pointer.
30440 2005-04-25 Wim Taymans <wim@fluendo.com>
30442 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30443 (gst_pad_set_checkgetrange_function),
30444 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30445 (gst_pad_check_pull_range), (gst_pad_pull_range),
30446 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30447 (gst_pad_pause_task), (gst_pad_stop_task):
30448 * gst/gstplugin.c: (gst_plugin_load):
30450 Remove gst_library_load as it does more harm than good with
30451 the new g_module flags.
30452 Revert bogus caps template check in pad linking, pad caps
30453 are important when linking not the template, which is more
30454 general than the current caps.
30456 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30458 * gst/autoplug/.cvsignore:
30459 * gst/autoplug/Makefile.am:
30460 * gst/autoplug/gstsearchfuncs.c:
30461 * gst/autoplug/gstsearchfuncs.h:
30462 * gst/autoplug/gstspider.c:
30463 * gst/autoplug/gstspider.h:
30464 * gst/autoplug/gstspideridentity.c:
30465 * gst/autoplug/gstspideridentity.h:
30466 * gst/autoplug/spidertest.c:
30469 2005-04-25 Wim Taymans <wim@fluendo.com>
30471 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30472 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30473 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30474 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30476 Added stubs for unimplemented functions.
30478 2005-04-24 David Schleef <ds@schleef.org>
30480 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30483 2005-04-24 David Schleef <ds@schleef.org>
30485 Convert everything from GstAtomicInt to g_atomic_int_*, and
30490 * gst/gstatomic_impl.h:
30498 * gst/gstdata_private.h:
30502 * gst/gstmessage.c:
30505 * gst/gststructure.c:
30506 * gst/gststructure.h:
30507 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30510 2005-04-24 David Schleef <ds@schleef.org>
30512 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30513 make the regressions tests work. Remove some code that is no
30515 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30516 Disable warning for pads without templates.
30518 2005-04-24 David Schleef <ds@schleef.org>
30520 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30521 functions that handle filtered links.
30522 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30524 * gst/gstutils.c: Fix/remove utility functions that handle
30527 * gst/gstvalue.c: Add serialization/deserialization of caps
30528 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30529 requires fixing so that the filter caps notation creates
30530 a capsfilter element and sets the filter_caps property. I
30531 think everyone probably wants to keep the shorthand notation.
30532 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30533 * docs/gst/tmpl/gstpad.sgml:
30535 * gst/elements/gstelements.c: Register capsfilter element.
30536 * gst/Makefile.am: fix spacing
30537 * docs/random/ds/0.9-suggested-changes: random
30539 2005-04-23 David Schleef <ds@schleef.org>
30541 * gst/elements/Makefile.am:
30542 * gst/elements/gstcapsfilter.c: New element that acts like an
30543 identity, but filters caps. Will eventually replace filtered
30544 caps in pad linking.
30545 * gst/gstutils.c: (gst_element_create_all_pads): New function
30546 to create all the ALWAYS pads that are registered with an
30547 element class. This functionality should eventually be
30548 merged in with GstElement initialization.
30550 * testsuite/trigger/README: part of trigger test code that should
30551 have been checked in a long time ago.
30553 2005-04-23 David Schleef <ds@schleef.org>
30555 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30556 needed with new versions of libtool (nobody will confirm this),
30557 and hard to carry around.
30558 * gst/autoplug/Makefile.am:
30559 * gst/base/Makefile.am:
30560 * gst/elements/Makefile.am:
30561 * gst/indexers/Makefile.am:
30562 * gst/schedulers/Makefile.am:
30563 * libs/gst/bytestream/Makefile.am:
30564 * libs/gst/control/Makefile.am:
30565 * libs/gst/dataprotocol/Makefile.am:
30566 * libs/gst/getbits/Makefile.am:
30568 2005-04-21 Wim Taymans <wim@fluendo.com>
30570 * docs/design/draft-push-pull.txt:
30571 * docs/design/part-MT-refcounting.txt:
30572 * docs/design/part-TODO.txt:
30573 * docs/design/part-caps.txt:
30574 * docs/design/part-events.txt:
30575 * docs/design/part-gstbus.txt:
30576 * docs/design/part-gstpipeline.txt:
30577 * docs/design/part-messages.txt:
30578 * docs/design/part-push-pull.txt:
30579 * docs/design/part-query.txt:
30582 2005-04-21 Wim Taymans <wim@fluendo.com>
30584 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30585 (gst_message_new), (gst_message_new_error),
30586 (gst_message_new_warning), (gst_message_new_tag),
30587 (gst_message_new_state_changed), (gst_message_new_application),
30588 (gst_message_get_structure):
30589 * gst/gstmessage.h:
30590 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30591 (gst_structure_copy_conditional):
30592 Use parent refcount in GstMessage to ensure GstStructure
30594 Cleaned up headers a bit.
30597 2005-04-20 Wim Taymans <wim@fluendo.com>
30599 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30600 (gst_basesink_pad_getcaps), (gst_basesink_init),
30601 (gst_basesink_chain_unlocked):
30602 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30603 (gst_type_find_helper):
30604 * gst/elements/gsttypefindelement.c:
30605 (gst_type_find_element_have_type), (gst_type_find_element_init),
30606 (stop_typefinding), (gst_type_find_element_handle_event),
30607 (find_suggest), (gst_type_find_element_chain),
30608 (gst_type_find_element_checkgetrange),
30609 (gst_type_find_element_getrange), (do_typefind),
30610 (gst_type_find_element_activate):
30611 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30612 (gst_buffer_default_free), (gst_buffer_default_copy),
30613 (gst_buffer_set_caps):
30614 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30615 (gst_caps_replace):
30616 * gst/gstmessage.c: (gst_message_new),
30617 (gst_message_new_state_changed):
30618 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30619 (gst_pad_set_checkgetrange_function),
30620 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30621 (gst_pad_set_caps), (gst_pad_check_pull_range),
30622 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30624 * gst/gsttypefind.c: (gst_type_find_register):
30625 Make gst_caps_replace() work like other _replace() functions.
30626 Use _caps_replace() where possible.
30627 Make sure _message_new() initialises its field.
30628 Add gst_static_pad_template_get_caps()
30631 2005-04-18 Andy Wingo <wingo@pobox.com>
30633 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30634 on the peer, not the pad. I think that was a typo. Pass an extra
30635 arg to see if random access is possible. Activate the pads as
30636 PULL_RANGE if possible.
30638 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30640 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30641 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30644 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30646 * docs/faq/using.xml:
30647 Add note on gstreamer-properties (#154996).
30649 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30651 * docs/random/bbb/optional-properties:
30652 Some analysis on optional properties.
30654 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30656 * docs/gst/tmpl/gstelementfactory.sgml:
30657 * gst/gstelement.h:
30658 * gst/gstelementfactory.c: (gst_element_factory_init),
30659 (gst_element_factory_cleanup), (gst_element_register),
30660 (__gst_element_factory_add_static_pad_template),
30661 (gst_element_factory_get_static_pad_templates),
30662 (gst_element_factory_can_src_caps),
30663 (gst_element_factory_can_sink_caps):
30664 * gst/registries/Makefile.am:
30665 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30666 (gst_xml_registry_class_init), (gst_xml_registry_init),
30667 (gst_xml_registry_new), (gst_xml_registry_set_property),
30668 (gst_xml_registry_get_property), (get_time), (make_dir),
30669 (gst_xml_registry_get_perms_func),
30670 (plugin_times_older_than_recurse), (plugin_times_older_than),
30671 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30672 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30673 (add_to_char_array), (read_string), (read_uint), (read_enum),
30674 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30675 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30676 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30677 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30678 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30679 (gst_xml_registry_rebuild):
30680 * gst/registries/gstlibxmlregistry.h:
30681 * tools/gst-compprep.c: (main):
30682 * tools/gst-inspect.c: (print_pad_templates_info):
30683 * tools/gst-xmlinspect.c: (print_element_info):
30684 Use libxml2 for registry parsing, use staticpadtemplates in
30685 elementfactories. Makes gst_init() +/- 10x faster.
30687 2005-04-12 Wim Taymans <wim@fluendo.com>
30689 * gst/base/Makefile.am:
30690 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30691 (gst_basesink_pad_getcaps), (gst_basesink_init),
30692 (gst_basesink_event), (gst_basesink_change_state):
30693 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30694 (gst_basesrc_init), (gst_basesrc_query),
30695 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30696 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30697 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30698 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30699 (gst_basesrc_stop), (gst_basesrc_activate),
30700 (gst_basesrc_change_state):
30701 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30702 (helper_find_suggest), (gst_type_find_helper):
30703 * gst/base/gsttypefindhelper.h:
30704 * gst/elements/Makefile.am:
30705 * gst/elements/gstelements.c:
30706 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30707 (gst_fakesink_get_times), (gst_fakesink_event),
30708 (gst_fakesink_preroll), (gst_fakesink_render):
30709 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30710 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30711 (gst_fakesrc_get_property), (gst_fakesrc_create),
30712 (gst_fakesrc_start), (gst_fakesrc_stop):
30713 * gst/elements/gstfakesrc.h:
30714 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30715 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30716 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30717 (gst_filesrc_create_read), (gst_filesrc_create),
30718 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30719 (gst_filesrc_start):
30720 * gst/elements/gsttypefindelement.c:
30721 (gst_type_find_element_have_type), (gst_type_find_element_init),
30722 (start_typefinding), (stop_typefinding), (push_buffer_store),
30723 (gst_type_find_element_handle_event),
30724 (gst_type_find_element_chain),
30725 (gst_type_find_element_checkgetrange),
30726 (gst_type_find_element_getrange), (do_typefind),
30727 (gst_type_find_element_activate),
30728 (gst_type_find_element_change_state):
30729 * gst/elements/gsttypefindelement.h:
30730 * gst/gstpipeline.c: (pipeline_bus_handler):
30731 Added typefind helper.
30732 Small preroll fix in the base sink.
30733 Disable typefind code in basesrc.
30734 Crude port of typefindelement.
30738 2005-04-11 Wim Taymans <wim@fluendo.com>
30740 * check/gst/gstbus.c: (gstbus_suite):
30741 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30742 * check/gstcheck.h:
30743 Fix up the timeout so that the test does not fail.
30745 2005-04-06 Wim Taymans <wim@fluendo.com>
30748 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30749 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30750 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30751 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30752 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30753 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30754 (gst_basesrc_stop), (gst_basesrc_activate),
30755 (gst_basesrc_change_state), (basesrc_find_peek),
30756 (basesrc_find_suggest), (gst_basesrc_type_find):
30757 * gst/base/gstbasesrc.h:
30758 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30759 (gst_filesrc_class_init), (gst_filesrc_init),
30760 (gst_filesrc_finalize), (gst_filesrc_set_location),
30761 (gst_filesrc_set_property), (gst_filesrc_get_property),
30762 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30763 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30764 (gst_filesrc_create_read), (gst_filesrc_create),
30765 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30766 * gst/elements/gstfilesrc.h:
30767 * gst/gstelement.c: (gst_element_get_state_func),
30768 (gst_element_lost_state), (gst_element_pads_activate):
30769 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30770 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30771 (gst_pad_pull_range):
30773 More work on the generic source base class, implement seeking,
30775 Make filesrc extend the base source class.
30776 Added gst_pad_set_checkgetrange_function to GstPad.
30778 2005-04-06 Andy Wingo <wingo@pobox.com>
30780 * pkgconfig/gstreamer-base.pc.in:
30781 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30783 * pkgconfig/Makefile.am:
30784 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30786 2005-04-04 Wim Taymans <wim@fluendo.com>
30788 * gst/base/Makefile.am:
30790 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30791 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30792 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30793 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30794 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30795 (gst_basesrc_base_init), (gst_basesrc_class_init),
30796 (gst_basesrc_init), (gst_basesrc_get_formats),
30797 (gst_basesrc_get_query_types), (gst_basesrc_query),
30798 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30799 (gst_basesrc_set_property), (gst_basesrc_get_property),
30800 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30801 (gst_basesrc_loop), (gst_basesrc_activate),
30802 (gst_basesrc_change_state):
30803 * gst/base/gstbasesrc.h:
30804 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30805 (gst_fakesrc_class_init), (gst_fakesrc_init),
30806 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30807 (gst_fakesrc_get_property), (gst_fakesrc_create):
30808 * gst/elements/gstfakesrc.h:
30809 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30810 (gst_filesrc_open_file), (gst_filesrc_loop),
30811 (gst_filesrc_activate), (filesrc_find_peek),
30812 (gst_filesrc_type_find):
30813 Made base source class, make fakesrc extend it.
30814 Add comments to basesink class.
30815 Some filesrc cleanup.
30817 2005-03-31 David Schleef <ds@schleef.org>
30819 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30820 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30821 expected to link against libgstreamer.
30822 * gst/base/Makefile.am: link against libgstreamer
30823 * gst/elements/Makefile.am: same
30825 2005-03-31 Andy Wingo <wingo@pobox.com>
30827 * tests/instantiate/Makefile.am:
30828 * tests/instantiate/caps.c: Add test to test speed of caps copy
30831 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30832 GMemChunk to be fair.
30834 * gst/gsttrashstack.h: Remove warning about using the fallback
30835 trash stack implementation, it's still faster than malloc.
30837 2005-03-30 Andy Wingo <wingo@pobox.com>
30839 * tests/complexity.c: Add a copyright.
30841 2005-03-31 Wim Taymans <wim@fluendo.com>
30843 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30844 (gst_base_transform_class_init), (gst_base_transform_init),
30845 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30846 (gst_base_transform_get_property),
30847 (gst_base_transform_sink_activate),
30848 (gst_base_transform_src_activate),
30849 (gst_base_transform_change_state):
30850 * gst/base/gstbasetransform.h:
30851 * gst/elements/gstidentity.c: (gst_identity_class_init),
30852 (gst_identity_event), (gst_identity_check_perfect),
30853 (gst_identity_transform), (gst_identity_start),
30854 (gst_identity_stop):
30855 Added start/stop methods to transform base class so subclasses
30856 don't need to deal with state changes even.
30858 2005-03-31 Wim Taymans <wim@fluendo.com>
30860 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30861 (gst_event_new_discontinuous), (gst_event_discont_get_value):
30863 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30864 (gst_pad_pull_range):
30865 Added rate to the discont event to prepare for variable speed
30866 and reverse playback.
30868 2005-03-29 David Schleef <ds@schleef.org>
30871 * testsuite/trigger/Makefile.am:
30872 * testsuite/trigger/trigger.c: A little example program to show
30873 how trigger-based elements can work.
30875 2005-03-29 Wim Taymans <wim@fluendo.com>
30877 * gst/base/Makefile.am:
30879 * gst/base/gstbasesink.c: (gst_basesink_get_type),
30880 (gst_basesink_base_init), (gst_basesink_class_init),
30881 (gst_basesink_pad_getcaps), (gst_basesink_init),
30882 (gst_basesink_activate), (gst_basesink_change_state):
30883 * gst/base/gstbasesink.h:
30884 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
30885 (gst_base_transform_base_init), (gst_base_transform_finalize),
30886 (gst_base_transform_class_init), (gst_base_transform_init),
30887 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
30888 (gst_base_transform_event), (gst_base_transform_getrange),
30889 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
30890 (gst_base_transform_set_property),
30891 (gst_base_transform_get_property),
30892 (gst_base_transform_sink_activate),
30893 (gst_base_transform_src_activate),
30894 (gst_base_transform_change_state):
30895 * gst/base/gstbasetransform.h:
30896 * gst/elements/gstidentity.c: (gst_identity_finalize),
30897 (gst_identity_class_init), (gst_identity_init),
30898 (gst_identity_event), (gst_identity_check_perfect),
30899 (gst_identity_transform), (gst_identity_set_property),
30900 (gst_identity_get_property), (gst_identity_change_state):
30901 * gst/elements/gstidentity.h:
30902 * gst/gstelement.c: (gst_element_get_state_func),
30903 (gst_element_lost_state), (gst_element_pads_activate):
30904 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30905 (gst_pad_check_pull_range), (gst_pad_pull_range):
30907 Simplify pad activation.
30908 Added function to check if pull_range can be performed.
30909 Error out when pulling inactive or flushing pads.
30910 Removed const from refcounted types as it does not make sense.
30911 Simplify pad templates in basesink
30912 Added base class for simple 1-to-1 transforms.
30913 Make identity subclass the base transform.
30915 2005-03-29 Andy Wingo <wingo@pobox.com>
30917 * docs/libs/gstreamer-libs-overrides.txt:
30918 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
30919 really don't understand what's going on, but like whatever. I want
30922 * docs/gst/Makefile.am:
30923 * docs/libs/Makefile.am: Dist the overrides files.
30925 * check/Makefile.am (clean-local): Remove .libs directories.
30927 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
30928 elements to EXTRA_DIST, so po/ files are happy.
30930 * po/POTFILES.in: Er, remove it here.
30932 * po/POTFILES: Remove gstspider.c.
30934 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
30936 * docs/libs/gstreamer-libs-docs.sgml:
30937 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
30940 * tests/complexity.c (main): Set the length of the preroll queue
30941 on the sinks to prevent a lockup.
30943 * libs/gst/dataprotocol/Makefile.am:
30944 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
30945 the same as the one in check/gst-libs/gdp.c.
30947 * po/, docs/gst/: Commit automatic changes to docs and po files.
30949 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
30950 the versioned libgstbase.
30952 * check/Makefile.am: Depend on an unversioned gst-register, seems
30953 to make autoconf happier.
30955 * gst/base/Makefile.am: Make libgstbase a versioned lib.
30957 2005-03-28 Wim Taymans <wim@fluendo.com>
30960 * docs/design/part-gstelement.txt:
30961 * docs/design/part-negotiation.txt:
30962 * docs/design/part-preroll.txt:
30963 * docs/design/part-scheduling.txt:
30964 * docs/design/part-states.txt:
30966 * gst/base/Makefile.am:
30968 * gst/base/gstbasesink.c: (gst_basesink_get_template),
30969 (gst_basesink_base_init), (gst_basesink_class_init),
30970 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30971 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30972 (gst_basesink_set_pad_functions),
30973 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
30974 (gst_basesink_set_property), (gst_basesink_get_property),
30975 (gst_base_sink_get_template), (gst_base_sink_get_caps),
30976 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
30977 (gst_basesink_preroll_queue_push),
30978 (gst_basesink_preroll_queue_empty),
30979 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
30980 (gst_basesink_event), (gst_basesink_get_times),
30981 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
30982 (gst_basesink_chain_unlocked), (gst_basesink_chain),
30983 (gst_basesink_loop), (gst_basesink_activate),
30984 (gst_basesink_change_state):
30985 * gst/base/gstbasesink.h:
30986 * gst/elements/Makefile.am:
30987 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
30988 (gst_fakesink_class_init), (gst_fakesink_init),
30989 (gst_fakesink_set_property), (gst_fakesink_get_property),
30990 (gst_fakesink_get_times), (gst_fakesink_event),
30991 (gst_fakesink_preroll), (gst_fakesink_render),
30992 (gst_fakesink_change_state):
30993 * gst/elements/gstfakesink.h:
30994 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30995 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
30996 * gst/gstelement.c: (gst_element_add_pad),
30997 (gst_element_get_state_func), (gst_element_abort_state),
30998 (gst_element_commit_state), (gst_element_lost_state),
30999 (gst_element_set_state), (gst_element_pads_activate):
31000 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31001 * gst/gstpipeline.c: (gst_pipeline_send_event),
31002 (gst_pipeline_change_state):
31003 Added state change code.
31004 Added/updated docs.
31005 Added sink base class, make fakesink extend the base class.
31006 Small cleanups in GstPipeline.
31008 2005-03-26 David Schleef <ds@schleef.org>
31010 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31011 is broken and should be implemented in a different library.
31012 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31013 * gst/gst.h: remove gstcpu.h
31014 * gst/gstcpu.c: remove
31015 * gst/gstcpu.h: remove
31016 * gst/Makefile.am.future: Remove this file. It's ancient.
31018 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31020 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31021 (gst_bin_send_event):
31022 Add default event/set_manager handlers. The set_manager handler
31023 takes care that the manager is distributed over kids that were
31024 already in the bin before the manager was set. The event handler
31025 is a utility virtual function that sends the event over all sinks,
31026 so that gst_element_send_event (bin, event); has the expected
31028 * gst/gstpad.c: (gst_pad_event_default):
31029 Re-install default event handling for discontinuities, so that
31030 seeking works without requiring hacks in applications or extra
31032 * gst/gstpipeline.c: (gst_pipeline_class_init),
31033 (gst_pipeline_send_event):
31034 Half hack, half utility: set a pipeline to PAUSED for seek events,
31035 since that is the only way we can guarantee a/v sync. Means that
31036 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31037 and it "just works".
31039 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31041 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31042 Lock/unlock mismatch.
31044 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31046 * docs/faq/gst-uninstalled:
31047 add gst-plugins-base
31048 * docs/gst/Makefile.am:
31049 don't error out until docs are fixed
31050 * docs/gst/gstreamer.types:
31053 2005-03-22 Wim Taymans <wim@fluendo.com>
31055 * check/Makefile.am:
31056 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31057 * gst/gststructure.c: (gst_structure_set_valist),
31058 (gst_structure_copy_conditional):
31059 Activated more tests.
31060 Added message test.
31061 Added G_TYPE_POINTER to GstStructure.
31064 2005-03-22 Wim Taymans <wim@fluendo.com>
31066 * docs/design/part-TODO.txt:
31067 * docs/design/part-events.txt:
31068 * docs/design/part-gstbin.txt:
31069 * docs/design/part-gstbus.txt:
31070 * docs/design/part-gstpipeline.txt:
31071 * docs/design/part-messages.txt:
31073 * gst/gstmessage.c:
31076 2005-03-21 Wim Taymans <wim@fluendo.com>
31078 * gst/gstbus.c: (gst_bus_post):
31079 Fix copy-and-paste error.
31081 2005-03-21 Wim Taymans <wim@fluendo.com>
31083 * check/Makefile.am:
31085 * gst/elements/Makefile.am:
31086 * gst/elements/gstelements.c:
31087 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31088 (gst_fakesink_event), (gst_fakesink_chain):
31089 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31090 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31091 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31092 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31093 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31094 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31095 (gst_fakesrc_loop), (gst_fakesrc_activate),
31096 (gst_fakesrc_change_state):
31097 * gst/elements/gstfakesrc.h:
31098 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31099 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31100 (gst_filesrc_open_file), (gst_filesrc_loop),
31101 (gst_filesrc_activate), (gst_filesrc_change_state),
31102 (filesrc_find_peek), (filesrc_find_suggest),
31103 (gst_filesrc_type_find):
31104 * gst/elements/gstidentity.c: (gst_identity_finalize),
31105 (gst_identity_class_init), (gst_identity_init),
31106 (gst_identity_proxy_getcaps), (identity_queue_push),
31107 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31108 (gst_identity_getrange), (gst_identity_chain),
31109 (gst_identity_sink_loop), (gst_identity_src_loop),
31110 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31111 (gst_identity_set_property), (gst_identity_get_property),
31112 (gst_identity_change_state):
31113 * gst/elements/gstidentity.h:
31114 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31115 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31116 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31117 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31118 (gst_tee_sink_activate):
31119 * gst/elements/gsttee.h:
31120 * gst/gst.c: (gst_register_core_elements), (init_post):
31122 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31123 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31124 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31125 (gst_bin_change_state):
31127 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31128 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31129 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31130 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31131 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31132 (bus_watch_callback), (bus_watch_destroy),
31133 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31134 (poll_timeout), (gst_bus_poll):
31138 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31139 (gst_element_post_message), (gst_element_message_full),
31140 (gst_element_get_state_func), (gst_element_get_state),
31141 (gst_element_abort_state), (gst_element_commit_state),
31142 (gst_element_lost_state), (gst_element_set_state),
31143 (gst_element_pads_activate), (gst_element_change_state),
31144 (gst_element_dispose), (gst_element_set_manager_func),
31145 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31146 (gst_element_set_manager), (gst_element_get_manager),
31147 (gst_element_set_bus), (gst_element_get_bus),
31148 (gst_element_set_scheduler), (gst_element_get_scheduler):
31149 * gst/gstelement.h:
31150 * gst/gstevent.c: (gst_event_new_segment_seek),
31151 (gst_event_new_flush):
31153 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31154 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31155 (gst_message_new_eos), (gst_message_new_error),
31156 (gst_message_new_warning), (gst_message_new_tag),
31157 (gst_message_new_state_changed), (gst_message_new_application),
31158 (gst_message_get_structure), (gst_message_parse_tag),
31159 (gst_message_parse_state_changed), (gst_message_parse_error),
31160 (gst_message_parse_warning):
31161 * gst/gstmessage.h:
31162 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31163 (gst_real_pad_set_property), (gst_pad_set_active),
31164 (gst_pad_is_active), (gst_pad_set_blocked_async),
31165 (gst_pad_set_blocked), (gst_pad_is_blocked),
31166 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31167 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31168 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31169 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31170 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31171 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31172 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31173 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31174 (gst_pad_set_caps), (gst_pad_configure_sink),
31175 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31176 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31177 (gst_real_pad_dispose), (gst_real_pad_finalize),
31178 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31179 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31180 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31182 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31183 (pipeline_bus_handler), (gst_pipeline_change_state),
31184 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31185 * gst/gstpipeline.h:
31187 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31188 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31189 (gst_queue_link_src), (gst_queue_bufferalloc),
31190 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31191 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31192 (gst_queue_loop), (gst_queue_handle_src_event),
31193 (gst_queue_handle_src_query), (gst_queue_src_activate),
31194 (gst_queue_change_state):
31196 * gst/gstscheduler.c: (gst_scheduler_init),
31197 (gst_scheduler_dispose), (gst_scheduler_create_task),
31198 (gst_scheduler_factory_create):
31199 * gst/gstscheduler.h:
31200 * gst/gststructure.c: (gst_structure_get_type),
31201 (gst_structure_copy_conditional):
31202 * gst/gststructure.h:
31203 * gst/gsttaginterface.h:
31204 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31205 (gst_task_init), (gst_task_dispose), (gst_task_create),
31206 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31212 * gst/schedulers/Makefile.am:
31213 * gst/schedulers/cothreads_compat.h:
31214 * gst/schedulers/entryscheduler.c:
31215 * gst/schedulers/faircothreads.c:
31216 * gst/schedulers/faircothreads.h:
31217 * gst/schedulers/fairscheduler.c:
31218 * gst/schedulers/gstbasicscheduler.c:
31219 * gst/schedulers/gstoptimalscheduler.c:
31220 * gst/schedulers/gthread-cothreads.h:
31221 * gst/schedulers/threadscheduler.c:
31222 (gst_thread_scheduler_task_get_type),
31223 (gst_thread_scheduler_task_class_init),
31224 (gst_thread_scheduler_task_init),
31225 (gst_thread_scheduler_task_start),
31226 (gst_thread_scheduler_task_stop),
31227 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31228 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31229 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31230 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31232 * libs/gst/Makefile.am:
31233 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31234 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31235 (gst_file_pad_parent_set):
31236 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31237 (gst_dp_event_from_packet):
31238 * tests/complexity.c: (main):
31239 * tests/mass_elements.c: (main):
31240 * testsuite/states/locked.c: (message_received), (main):
31241 * testsuite/states/parent.c: (main):
31242 * tools/gst-inspect.c: (print_element_flag_info),
31243 (print_implementation_info), (print_pad_info):
31244 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31246 * tools/gst-md5sum.c: (event_loop), (main):
31247 * tools/gst-typefind.c: (main):
31248 * tools/gst-xmlinspect.c: (print_element_info):
31250 Added GstBus for mainloop integration.
31251 Added GstMessage for sending notifications on the bus.
31252 Added GstTask as an abstraction for pipeline entry points.
31254 Removed Schedulers.
31255 Simplified GstQueue for multithreaded core.
31256 Made _link threadsafe, removed old capsnego.
31257 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31258 Added pad blocking functions.
31259 Reworked scheduling functions in GstPad to prepare for
31260 scheduling updates soon.
31261 Moved events out of data stream.
31262 Simplified GstEvent types.
31263 Added return values to push/pull.
31264 Removed clocking from GstElement.
31265 Added prototypes for state change function for next merge.
31266 Removed iterate from bins and state change management.
31267 Fixed some elements, disabled others for now.
31268 Fixed -inspect and -launch.
31269 Added check for GstBus.
31271 2005-03-10 Wim Taymans <wim@fluendo.com>
31273 * docs/design/part-MT-refcounting.txt:
31274 * docs/design/part-clocks.txt:
31275 * docs/design/part-gstelement.txt:
31276 * docs/design/part-gstobject.txt:
31277 * docs/design/part-standards.txt:
31278 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31279 (gst_bin_remove_func), (gst_bin_remove):
31283 * testsuite/clock/clock1.c: (main):
31284 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31286 * testsuite/dlopen/loadgst.c: (do_test):
31287 * testsuite/refcounting/bin.c: (add_remove_test1),
31288 (add_remove_test2), (main):
31289 * testsuite/refcounting/element.c: (main):
31290 * testsuite/refcounting/element_pad.c: (main):
31291 * testsuite/refcounting/pad.c: (main):
31292 * tools/gst-launch.c: (sigint_handler_sighandler):
31293 * tools/gst-typefind.c: (main):
31295 Added doc about clock.
31296 removed gst_bin_iterate_recurse_up(), marked methods
31298 Fix more testsuites.
31300 2005-03-09 Wim Taymans <wim@fluendo.com>
31302 * gst/gstpad.c: (gst_pad_get_direction),
31303 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31304 (gst_pad_collect_valist):
31305 * testsuite/bins/interface.c: (main):
31306 * testsuite/caps/audioscale.c: (test_caps):
31307 * testsuite/caps/caps.c: (test1), (test2), (test3):
31308 * testsuite/caps/deserialize.c: (main):
31309 * testsuite/caps/enumcaps.c: (main):
31310 * testsuite/caps/filtercaps.c: (main):
31311 * testsuite/caps/intersect2.c: (main):
31312 * testsuite/caps/random.c: (main):
31313 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31314 * testsuite/caps/sets.c: (check_caps):
31315 * testsuite/caps/simplify.c: (check_caps), (main):
31316 * testsuite/caps/subtract.c: (check_caps):
31317 Fix _pad_get_direction wrt ghostpads.
31318 Fix caps testsuite.
31320 2005-03-09 Wim Taymans <wim@fluendo.com>
31322 * check/Makefile.am:
31323 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31324 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31325 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31326 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31327 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31328 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31329 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31330 (bin_element_is_sink), (gst_bin_iterate_sinks),
31331 (gst_bin_iterate_all_by_interface):
31333 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31334 (gst_element_change_state), (gst_element_dispose),
31335 (gst_element_finalize), (gst_element_set_loop_function):
31336 * gst/gstelement.h:
31337 * gst/gstiterator.c: (find_custom_fold_func):
31338 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31339 (gst_pad_collectv), (gst_pad_collect_valist),
31340 (gst_pad_template_new):
31341 * gst/gstpipeline.c: (gst_pipeline_class_init),
31342 (gst_pipeline_dispose), (gst_pipeline_set_property),
31343 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31344 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31345 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31347 * gst/schedulers/entryscheduler.c:
31348 * gst/schedulers/gstbasicscheduler.c:
31349 (gst_basic_scheduler_cothreaded_chain),
31350 (gst_basic_scheduler_chain_add_element):
31351 * testsuite/bins/interface.c: (main):
31353 Added GstSystemClock test.
31354 Implemented clock distribution code in GstBin.
31355 Implemented iterate sinks method for future use.
31356 Rearranged gstelement.h
31357 Fix GstIterator comparison bug.
31358 Moved some code to GstPipeline, mostly clocking related.
31360 2005-03-09 Wim Taymans <wim@fluendo.com>
31363 * gst/gst_private.h:
31364 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31365 (gst_bin_remove_func), (gst_bin_remove),
31366 (gst_bin_get_by_name_recurse_up):
31367 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31368 (gst_clock_id_compare_func), (gst_clock_id_wait),
31369 (gst_clock_id_wait_async), (gst_clock_init),
31370 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31371 * gst/gstelement.h:
31372 * gst/gstinfo.c: (_gst_debug_init):
31374 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31375 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31377 Bump version number, we're now 0.9.0
31378 Add future debugging category.
31379 Fix NULL _unref() in _get_by_name_recurse_up
31380 Rearrange gstpad.h.
31383 2005-03-08 Wim Taymans <wim@fluendo.com>
31385 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31386 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31387 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31388 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31389 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31390 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31391 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31392 * gst/elements/gstidentity.c: (gst_identity_class_init):
31393 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31394 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31395 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31396 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31397 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31399 * gst/gstelement.c: (gst_element_class_init),
31400 (gst_element_base_class_init), (gst_element_init),
31401 (gst_element_get_random_pad), (gst_element_wait_state_change),
31402 (gst_element_change_state), (gst_element_dispose),
31403 (gst_element_finalize), (gst_element_set_loop_function):
31404 * gst/gstelement.h:
31405 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31406 * gst/gstthread.c: (gst_thread_class_init),
31407 (gst_thread_release_children_locks), (gst_thread_change_state):
31408 * gst/schedulers/gstbasicscheduler.c:
31409 (gst_basic_scheduler_loopfunc_wrapper),
31410 (gst_basic_scheduler_chain_wrapper),
31411 (gst_basic_scheduler_src_wrapper),
31412 (gst_basic_scheduler_remove_element):
31413 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31414 Remove threadsafe properties. Fix elements because GObject
31415 complains when installing a property before declaring a
31416 set/get_property handler.
31417 Rearrange gstelement.h file, use STATE macros for state locks.
31418 Free mutexes in the finalize method instead of dispose.
31420 2005-03-08 Wim Taymans <wim@fluendo.com>
31422 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31423 * gst/gstthread.c: (gst_thread_release_children_locks):
31424 Added parentage check.
31425 Fix build og GstThread again.
31427 2005-03-08 Wim Taymans <wim@fluendo.com>
31429 * docs/design/part-MT-refcounting.txt:
31430 * docs/design/part-conventions.txt:
31431 * docs/design/part-gstobject.txt:
31432 * docs/design/part-relations.txt:
31433 * docs/design/part-standards.txt:
31434 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31435 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31436 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31437 (gst_bin_iterate_all_by_interface):
31440 * gst/gstelement.c: (gst_element_class_init),
31441 (gst_element_change_state), (gst_element_set_loop_function):
31442 * gst/gstelement.h:
31443 * gst/gstiterator.c:
31444 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31445 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31446 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31447 (gst_object_set_parent), (gst_object_unparent),
31448 (gst_object_check_uniqueness):
31450 Docs updates, clean up some headers.
31452 2005-03-07 Wim Taymans <wim@fluendo.com>
31454 * check/.cvsignore:
31455 * check/Makefile.am:
31456 * check/gst-libs/.cvsignore:
31457 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31458 * check/gst/.cvsignore:
31459 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31460 (START_TEST), (gstbus_suite), (main):
31461 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31462 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31463 (gst_data_suite), (main):
31464 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31465 (add_fold_func), (gstiterator_suite), (main):
31466 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31467 (thread_name_object), (thread_name_object_default),
31468 (gst_object_name_compare), (gst_object_suite), (main):
31469 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31470 (gst_pad_suite), (main):
31471 * check/gstcheck.c: (gst_check_log_message_func),
31472 (gst_check_log_critical_func), (gst_check_init):
31473 * check/gstcheck.h:
31474 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31475 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31478 2005-03-07 Wim Taymans <wim@fluendo.com>
31480 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31481 (gst_list_iterator_next), (gst_list_iterator_resync),
31482 (gst_list_iterator_free), (gst_iterator_new_list),
31483 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31484 (gst_iterator_free), (gst_iterator_push), (filter_next),
31485 (filter_resync), (filter_uninit), (filter_free),
31486 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31487 (gst_iterator_foreach), (find_custom_fold_func),
31488 (gst_iterator_find_custom):
31489 * gst/gstiterator.h:
31490 Added missing files.
31492 2005-03-07 Wim Taymans <wim@fluendo.com>
31496 * docs/design/part-MT-refcounting.txt:
31497 * docs/design/part-conventions.txt:
31498 * docs/design/part-gstobject.txt:
31499 * docs/design/part-relations.txt:
31500 * examples/mixer/mixer.c: (main):
31501 * examples/thread/thread.c: (eos), (main):
31503 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31504 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31505 (gst_spider_plug_from_srcpad):
31506 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31507 (gst_spider_identity_change_state),
31508 (gst_spider_identity_sink_loop_type_finding):
31509 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31510 * gst/elements/gstidentity.c: (gst_identity_init):
31511 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31512 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31513 * gst/elements/gsttypefindelement.c: (free_entry):
31516 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31517 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31518 (gst_bin_set_index), (gst_bin_set_element_sched),
31519 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31520 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31521 (gst_bin_iterate_elements), (iterate_child_recurse),
31522 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31523 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31524 (compare_interface), (gst_bin_get_by_interface),
31525 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31527 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31528 (gst_buffer_default_free), (gst_buffer_default_copy),
31529 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31530 (gst_buffer_create_sub):
31532 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31533 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31534 (gst_caps_unref), (gst_static_caps_get),
31535 (gst_caps_remove_and_get_structure), (gst_caps_append),
31536 (gst_caps_append_structure), (gst_caps_remove_structure),
31537 (gst_caps_copy_nth), (gst_caps_set_simple),
31538 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31539 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31540 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31541 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31542 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31543 (gst_caps_structure_figure_out_union),
31544 (gst_caps_switch_structures), (gst_caps_do_simplify),
31545 (gst_caps_replace), (gst_caps_from_string),
31546 (gst_caps_copy_conditional):
31548 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31549 (_gst_clock_id_free), (gst_clock_id_unref),
31550 (gst_clock_id_compare_func), (gst_clock_id_wait),
31551 (gst_clock_id_wait_async), (gst_clock_class_init),
31552 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31553 (gst_clock_get_time), (gst_clock_set_time_adjust),
31554 (gst_clock_set_property), (gst_clock_get_property):
31557 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31558 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31560 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31561 (gst_element_requires_clock), (gst_element_provides_clock),
31562 (gst_element_set_clock), (gst_element_clock_wait),
31563 (gst_element_wait), (gst_element_set_time_delay),
31564 (gst_element_is_indexable), (gst_element_add_pad),
31565 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31566 (pad_compare_name), (gst_element_get_static_pad),
31567 (gst_element_request_pad), (gst_element_get_request_pad),
31568 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31569 (gst_element_class_get_pad_template_list),
31570 (gst_element_class_get_pad_template), (gst_element_error_func),
31571 (gst_element_get_random_pad), (gst_element_get_event_masks),
31572 (gst_element_send_event), (gst_element_seek),
31573 (gst_element_get_query_types), (gst_element_query),
31574 (gst_element_get_formats), (gst_element_convert),
31575 (gst_element_is_locked_state), (gst_element_set_locked_state),
31576 (gst_element_sync_state_with_parent), (gst_element_change_state),
31577 (gst_element_finalize), (gst_element_yield),
31578 (gst_element_interrupt), (gst_element_set_scheduler),
31579 (gst_element_get_scheduler), (gst_element_set_loop_function):
31580 * gst/gstelement.h:
31582 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31583 (gst_format_get_by_nick), (gst_format_get_details),
31584 (gst_format_iterate_definitions):
31586 * gst/gstindex.c: (gst_index_gtype_resolver):
31589 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31590 (gst_mem_chunk_free):
31591 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31592 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31593 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31594 (gst_object_dispatch_properties_changed),
31595 (gst_object_set_name_default), (gst_object_set_name),
31596 (gst_object_get_name), (gst_object_set_name_prefix),
31597 (gst_object_get_name_prefix), (gst_object_set_parent),
31598 (gst_object_get_parent), (gst_object_unparent),
31599 (gst_object_check_uniqueness), (gst_object_save_thyself),
31600 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31601 (gst_object_set_property), (gst_object_get_property),
31602 (gst_object_get_path_string):
31604 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31605 (gst_real_pad_init), (gst_real_pad_get_property),
31606 (gst_pad_custom_new), (gst_pad_get_direction),
31607 (gst_pad_set_active), (gst_pad_is_active),
31608 (gst_pad_set_event_function), (gst_pad_is_linked),
31609 (gst_pad_link_free), (gst_pad_link_intersect),
31610 (gst_pad_link_fixate), (gst_pad_set_caps),
31611 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31612 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31613 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31614 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31615 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31616 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31617 (gst_pad_realize), (gst_pad_get_allowed_caps),
31618 (gst_real_pad_dispose), (gst_real_pad_finalize),
31619 (gst_pad_collectv), (gst_pad_collect_valist),
31620 (gst_pad_template_dispose), (gst_pad_template_new),
31621 (gst_pad_get_internal_links):
31623 * gst/gstpipeline.c: (gst_pipeline_dispose),
31624 (gst_pipeline_change_state):
31625 * gst/gstpipeline.h:
31627 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31628 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31629 * gst/gstpluginfeature.h:
31630 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31631 * gst/gstquery.c: (_gst_query_type_initialize),
31632 (gst_query_type_register), (gst_query_type_get_by_nick),
31633 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31635 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31636 * gst/gstscheduler.c: (gst_scheduler_add_element),
31637 (gst_scheduler_factory_create):
31638 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31639 (gst_structure_free), (gst_structure_set_name),
31640 (gst_structure_id_set_value), (gst_structure_set_value),
31641 (gst_structure_set_valist), (gst_structure_remove_field),
31642 (gst_structure_remove_fields),
31643 (gst_structure_remove_fields_valist),
31644 (gst_structure_remove_all_fields), (gst_structure_foreach),
31645 (gst_structure_map_in_place),
31646 (gst_caps_structure_fixate_field_nearest_int),
31647 (gst_caps_structure_fixate_field_nearest_double):
31648 * gst/gststructure.h:
31649 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31650 (gst_system_clock_init), (gst_system_clock_dispose),
31651 (gst_system_clock_async_thread),
31652 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31653 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31654 * gst/gstsystemclock.h:
31655 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31656 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31657 * gst/gsttaginterface.c:
31658 * gst/gstthread.c: (gst_thread_dispose),
31659 (gst_thread_release_children_locks), (gst_thread_change_state),
31660 (gst_thread_main_loop):
31661 * gst/gsttrashstack.h:
31662 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31664 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31665 (gst_element_request_pad), (gst_element_get_pad_from_template),
31666 (gst_element_request_compatible_pad),
31667 (gst_element_get_compatible_pad_filtered),
31668 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31669 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31670 (gst_element_link_many), (gst_element_link),
31671 (gst_element_link_pads), (gst_element_unlink_pads),
31672 (gst_element_unlink_many), (gst_element_unlink),
31673 (gst_pad_can_link_filtered), (gst_pad_can_link),
31674 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31675 (gst_object_default_error), (gst_bin_add_many),
31676 (gst_bin_remove_many), (gst_element_populate_std_props),
31677 (gst_element_class_install_std_props), (gst_buffer_merge),
31678 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31679 (link_fold_func), (gst_pad_proxy_setcaps):
31681 * gst/gstvalue.c: (gst_value_deserialize_string):
31682 * gst/parse/grammar.y:
31683 * gst/schedulers/gstbasicscheduler.c:
31684 (gst_basic_scheduler_cothreaded_chain),
31685 (gst_basic_scheduler_chain_recursive_add),
31686 (gst_basic_scheduler_pad_link):
31687 * gst/schedulers/gstoptimalscheduler.c:
31688 (get_group_schedule_function),
31689 (gst_opt_scheduler_state_transition),
31690 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31691 * libs/gst/bytestream/bytestream.c:
31692 * libs/gst/dataprotocol/dataprotocol.c:
31693 (gst_dp_header_from_buffer):
31696 * tests/threadstate/threadstate2.c: (eos):
31697 * tools/gst-compprep.c: (main):
31698 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31699 (print_pad_info), (print_children_info):
31700 * tools/gst-launch.c: (idle_func), (main):
31701 * tools/gst-md5sum.c: (idle_func), (main):
31702 * tools/gst-xmlinspect.c: (print_element_info):
31703 First THREADED backport attempt, focusing on adding locks and
31704 making sure the API is threadsafe. Needs more work. More docs
31707 2005-02-24 Andy Wingo <wingo@pobox.com>
31709 * tests/bench-complexity.scm:
31710 * tests/complexity.gnuplot: New files, good for running complexity
31713 * tests/Makefile.am:
31714 * tests/complexity.c: New test, sets up N elements, at each level
31715 teeing into M streams per element. Eeeenteresting.
31717 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31718 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31719 running bench-mass_elements.scm.
31721 * tests/bench-mass_elements.scm: New script, runs mass_elements
31722 for various numbers of identities, outputting the results to a
31723 file. Requires guile 1.6. Just for testing.
31725 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31727 * gst/schedulers/fairscheduler.c:
31728 compile with debug disabled
31730 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31733 hunting season on 0.9 is now OPEN