1 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
3 * docs/design/part-TODO.txt:
4 Refer to the framestepping document.
6 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
8 * gst/gstbin.c: (bin_handle_async_start),
9 (gst_bin_handle_message_func), (gst_bin_query):
10 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
11 (gst_base_sink_event), (gst_base_sink_change_state):
12 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13 (gst_base_src_loop), (gst_base_src_change_state):
14 Copy seqnums from events to messages so that they can all be related
17 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
19 * tools/gst-launch.c: (event_loop):
20 Print the message seqnums.
22 2008-11-04 Andy Wingo <wingo@pobox.com>
24 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
26 2008-11-04 Andy Wingo <wingo@pobox.com>
28 Add sequence numbers to events and messages. See #559250.
30 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
34 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
35 events with a new sequence number, and copy it when copying.
36 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
37 an event's sequence number.
40 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
41 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
44 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
46 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
48 * docs/manual/advanced-position.xml:
49 * docs/manual/basics-bins.xml:
50 * docs/manual/basics-bus.xml:
51 * docs/manual/basics-pads.xml:
52 * docs/manual/intro-gstreamer.xml:
53 * docs/manual/intro-preface.xml:
54 Some Application Development Manual fixes thanks to
55 Andrew Feren. Fixes #558459.
57 2008-11-03 Stefan Kost <ensonic@users.sf.net>
59 * gst/gstregistrybinary.c:
60 Don't bother with the GTimer if we don't output the results.
62 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
64 Patch by: David Schleef <ds@schleef.org>
66 * libs/gst/net/Makefile.am:
67 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
69 2008-10-31 Stefan Kost <ensonic@users.sf.net>
71 * gst/gstregistrybinary.c:
72 Oh my, studip, stupid me. Remove double stat() call.
74 2008-10-31 Stefan Kost <ensonic@users.sf.net>
77 Use g_unlink instead of unlink.
88 Formatting & whitespaces.
90 2008-10-31 Stefan Kost <ensonic@users.sf.net>
92 * plugins/elements/gstidentity.c:
93 Doc typo. Use return value of parent_class->event.
95 * plugins/elements/gsttypefindelement.c:
96 Chain up at the end for consistency.
98 2008-10-30 Stefan Kost <ensonic@users.sf.net>
101 * docs/gst/gstreamer-docs.sgml:
102 * docs/gst/gstreamer-sections.txt:
103 * docs/gst/running.xml:
104 * docs/libs/gstreamer-libs-docs.sgml:
105 Change to xinclude based build - its faster and easier to maintain.
107 2008-10-30 Stefan Kost <ensonic@users.sf.net>
109 * gst/gstregistrybinary.c:
110 * gst/gstregistryxml.c:
111 Use g_unlink() as none of these are directories.
113 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
115 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
118 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
120 * libs/gst/base/gstbasetransform.c:
121 (gst_base_transform_find_transform), (gst_base_transform_getrange):
122 If we have a fixate function, call it even if we already have fixed caps
123 because the subclass might add some caps. Makes audioconvert add a
124 default channel layout.
126 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
128 * libs/gst/base/gstbasetransform.c:
129 (gst_base_transform_prepare_output_buffer),
130 (gst_base_transform_getrange):
131 Clear the output buffer variable.
132 Cleanups to the error path in the getrange function.
135 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
137 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
138 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
139 Use gst_buffer_try_new_and_alloc() and handle errors instead of
140 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
143 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
145 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
146 Set the last_stop to a more meaningful position when configuring the
147 segment. ie. the start/stop of the segment or clipped against the
148 updated segment boundaries.
150 * tests/check/gst/gstsegment.c: (GST_START_TEST):
151 Add some unit tests for the last_stop.
153 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
155 * libs/gst/base/gstbytereader.c:
156 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
159 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
161 * docs/gst/gstreamer-sections.txt:
163 API: Move float endianness conversion macros from libgstfloatcast
164 to core as it's useful in general, even in core. Fixes bug #555196.
165 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
166 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
167 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
169 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
170 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
171 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
172 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
174 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
176 * docs/libs/gstreamer-libs-sections.txt:
177 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
178 (gst_byte_reader_peek_data):
179 * libs/gst/base/gstbytereader.h:
180 * win32/common/libgstbase.def:
181 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
182 to get a pointer to the data at the current position and have
185 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
188 Fix a bug in the output of the configure script summary
189 when --gst-disable-registry is supplied
191 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
193 * libs/gst/base/gstbitreader.c:
194 * libs/gst/base/gstbytereader.c:
195 Fix the names of 2 functions in the docs strings.
197 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
199 * libs/gst/base/gstbasetransform.c:
200 (gst_base_transform_prepare_output_buffer),
201 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
202 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
203 refcount problems as seen in banshee and maybe also in farsight2.
204 Remove atomic int now that we need to take the lock anyways.
206 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
208 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
209 (gst_base_sink_default_prepare_seek_segment),
210 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
211 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
212 (gst_base_sink_query):
213 Implement more seeking in pull mode.
214 Use pad convert functions to convert position to the requested format.
215 Fix position/duration reporting in pull mode.
216 Implement position and duration reporting in other formats than time.
218 * libs/gst/base/gstbasesink.h:
219 Add member to keep track of when the segment is playing.
221 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
223 * gst/gstpad.c: (gst_pad_configure_src):
224 When we use gst_pad_alloc_buffer() without wanting to set the caps we
225 also don't need to check if the caps are compatible because the caller
226 presumably is going to perform its own custom checks. Fixes some cases
227 where basetransform elements would error out when it was not needed.
229 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
231 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
234 * libs/gst/base/gstbasetransform.c:
235 (gst_base_transform_handle_buffer),
236 (gst_base_transform_reconfigure):
239 * win32/common/libgstbase.def:
242 2008-10-19 Stefan Kost <ensonic@users.sf.net>
244 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
245 Remove duplicated assignment and log a message in failure case.
247 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
249 Patch by: Dig Ge <dig.ge.cn at gmail com>
251 * tests/examples/helloworld/helloworld.c: (main):
252 Fix copy'n'paste bug in hello world example (#556900).
254 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
256 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
257 (gst_base_sink_query):
258 Query the total number of bytes when activating the pad in pull mode.
259 Implement duration query in pull mode by using the installed pad convert
260 function to convert from bytes to the requested format.
262 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
264 * docs/libs/gstreamer-libs-sections.txt:
265 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
266 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
267 (gst_base_sink_event), (gst_base_sink_perform_seek),
268 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
269 (gst_base_sink_send_event), (gst_base_sink_change_state):
270 * libs/gst/base/gstbasesink.h:
271 Add method to commit the state in subclasses.
272 Refactor the flush_start and flush_stop code because we need it for
273 flushing while seeking too.
274 Implement the beginnings of seeking in pull mode.
275 Use the segment last_stop field for the pulling offset.
276 Fix the pause method in pull mode.
277 Configure the segment to BYTES for pull mode.
278 API: GstBaseSink::gst_base_sink_do_preroll()
280 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
282 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
285 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
287 * gst/gstquark.c: (_priv_gst_quarks_initialize):
288 Fix printf format warning.
290 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
292 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
293 Fix flow aggregation of tee. Error out immediately for all flow returns
294 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
295 and return OK if at least one pad is linked.
297 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
298 and otherwise returned the flow return of the last pad, which is wrong.
300 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
301 (GST_START_TEST), (tee_suite):
302 Add unit tests for the flow aggregation.
304 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
306 * docs/design/part-TODO.txt:
307 Remove item from the todo list because it was fixed with the latency
308 state change rewrites.
310 * docs/design/part-seeking.txt:
311 * docs/design/part-segments.txt:
314 * gst/gstevent.c: (gst_event_new_new_segment_full),
315 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
316 (gst_event_parse_buffer_size), (gst_event_new_qos),
317 (gst_event_parse_qos), (gst_event_new_seek),
318 (gst_event_parse_seek), (gst_event_new_latency),
319 (gst_event_parse_latency):
320 Use quarks to construct and parse events.
322 * gst/gstquark.c: (_priv_gst_quarks_initialize):
324 Add some more quarks to the table.
325 Emit a warning when the quark tables are not in sync.
327 * tests/check/gst/gstbus.c: (GST_START_TEST):
330 2008-10-13 Stefan Kost <ensonic@users.sf.net>
332 * plugins/elements/Makefile.am:
333 * plugins/indexers/Makefile.am:
334 Don't install static libs for plugins. Fixes #550851 for core.
336 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
338 * gst/gstbus.c: (gst_bus_source_finalize),
339 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
340 (gst_bus_enable_sync_message_emission),
341 (gst_bus_disable_sync_message_emission),
342 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
343 Fix deadlock, g_source_get_id() cannot be called in finalize.
344 Keep track of the watch source by keeping a pointer to the source object
346 Use the bus lock to protect access to the pointer to the current
349 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
351 Base on Patch by: Olivier Crete <tester at tester dot ca>
353 * gst/gstbus.c: (gst_bus_source_finalize),
354 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
355 Only allow one bus watch to be set at a time. This is necessary
356 because the dispatcher pops the message from the bus and the second
357 watcher will then get NULL or the next message (and the first won't
358 get this next message then, etc). If more than one "watcher" is
359 required signal watches should be used. Fixes bug #526044.
361 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
363 * tools/gst-launch.c:
364 Change the printing of the 'buffering...' output to avoid putting
365 a \r in a translateable string (flagged by the TP).
367 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
370 Clarify that the save_thyself() and restore_thyself() virtual
371 functions of GstObject need to be overriden, not
372 gst_object_(save|restore)_thyself() which is impossible.
375 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
377 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
378 Revert a patch from 21 months ago that broke caps negotiation in pull
379 mode. Basically, having a buffer pass over a pad will trigger the
380 setcaps function when caps change, just like in push mode.
382 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
384 * docs/design/part-negotiation.txt:
385 Update the docs some more.
387 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
388 If we pull a buffer with non-trivial caps, suggest those caps with the
391 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
393 * docs/design/part-TODO.txt:
394 Add another limitation of pad-blocking with segment seeks not pushing
397 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
399 * win32/common/libgstbase.def:
400 * win32/common/libgstreamer.def:
401 Add new symbols to the win32 defs files
403 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
405 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
406 (gst_bin_handle_message_func):
407 The message src can be NULL, don't try to print the object names in that
410 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
411 Add some more debug info.
413 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
416 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
419 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
421 * docs/design/part-negotiation.txt:
424 * docs/libs/gstreamer-libs-sections.txt:
425 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
426 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
427 (gst_base_sink_init), (gst_base_sink_set_blocksize),
428 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
429 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
430 (gst_base_sink_loop), (gst_base_sink_pad_activate),
431 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
432 (gst_base_sink_change_state):
433 * libs/gst/base/gstbasesink.h:
434 Add blocksize property and methods to control the amount of data
436 Negotiate first before activating upstream in pull mode so that they can
437 negotiate themselves.
438 When we operate in pull mode, we only accept the caps that we
440 Make the sink go ASYNC to PAUSED, like all other sinks.
441 API: GstBaseSink::gst_base_sink_set_blocksize()
442 API: GstBaseSink::gst_base_sink_get_blocksize()
443 API: GstBaseSink::blocksize
445 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
446 (gst_base_src_set_live), (gst_base_src_is_live),
447 (gst_base_src_set_format), (gst_base_src_query_latency),
448 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
449 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
450 (gst_base_src_set_property), (gst_base_src_get_property):
451 * libs/gst/base/gstbasesrc.h:
452 Add typechecking in public API functions.
453 Add methods to control the blocksize in subclasses.
454 API: GstBaseSrc::gst_base_src_set_blocksize()
455 API: GstBaseSrc::gst_base_src_get_blocksize()
457 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
459 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
460 (buffer_probe), (event_probe), (GST_START_TEST):
461 We now see 3 events go through our pad, since basesink now sends
462 upstream latency events.
464 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
466 * gst/gstpipeline.c: (gst_pipeline_change_state):
467 Release the object lock before trying to flush the bus.
469 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
471 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
472 Forward LATENCY events upstreams so that elements know about the total
473 pipeline latency. Fixes #555307.
475 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
477 * plugins/elements/gstqueue.c:
478 Allow through queries when we don't know how
479 to adjust them (not TIME or BYTES), as otherwise it's
480 not possible to query the current position in order
481 to seek in other formats at all.
483 2008-10-08 Andy Wingo <wingo@pobox.com>
485 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
487 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
491 Unbreak -good build, private is a reserved c++ keyword.
493 2008-10-08 Andy Wingo <wingo@pobox.com>
495 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
496 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
497 removal: re-add GST_GHOST_PAD_CAST to the header.
499 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
500 (GstGhostPadClass): Publically expose these structures so as to
501 allow easy subclassing from C. Hide the member data behind a
502 private opaque data pointer.
504 * gst/gstghostpad.c: Adapt to store instance data in the type
505 instance's private data region, not in the public struct.
507 2008-10-08 Andy Wingo <wingo@pobox.com>
509 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
510 template via g_object_get(), be sure to unref it.
512 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
514 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
516 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
517 If we can't get a cache file don't try to save something to it.
518 Dereferencing NULL pointers usually isn't a good idea.
520 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
522 * tests/check/Makefile.am:
523 * tests/check/gst/gstabi.c:
524 * tests/check/gst/struct_sparc.h:
525 * tests/check/libs/libsabi.c:
526 * tests/check/libs/struct_sparc.h:
529 * tests/check/gst/gstvalue.c: (GST_START_TEST):
530 Cast signed integer to unsigned to avoid a compiler warning.
532 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
534 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
535 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
536 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
537 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
538 (gst_byte_reader_peek_int24_be):
539 Use new GST_READ_UINT24_(LE|BE) macros.
541 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
543 * docs/gst/gstreamer-sections.txt:
545 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
546 as it's too easy to break the ISO C strict aliasing rules with simple
547 casts to the corresponding type and this would introduce hard to debug
548 bugs. Fixes bug #545714.
550 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
552 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
554 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
555 * gst/gstghostpad.c: (gst_ghost_pad_construct):
556 Add 'Since' bits to gtk-doc chunks for new API.
558 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
560 * docs/gst/gstreamer-sections.txt:
563 2008-10-06 Andy Wingo <wingo@pobox.com>
565 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
566 that will be called on the malloc_data to free it. Basically a way
567 to avoid subclassing when all you need is a different free
568 function, i.e. free() instead of g_free().
570 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
571 calling the free function.
572 (gst_buffer_init): Initialize the free function to g_free.
574 2008-10-06 Andy Wingo <wingo@pobox.com>
577 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
578 finishes the initialization of ghost pad. Useful for language
579 bindings and subclassers of GstGhostPad. Fixes #539108.
580 (gst_ghost_pad_new_full): Use the new constructor.
582 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
584 Base on Patch by: Olivier Crete <tester at tester dot ca>
586 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
587 (gst_bin_remove_func), (update_degree),
588 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
589 Keep track of pads that are being linked/unlinked and resync the state
592 * gst/gstpad.c: (gst_pad_get_direction),
593 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
594 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
595 (gst_pad_link_prepare), (gst_pad_link),
596 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
597 (gst_pad_check_pull_range), (gst_pad_get_range),
598 (gst_pad_pull_range):
599 Some code cleanups, use macros to check pad direction.
600 Don't need to take the lock on the pad direction.
601 Post structure change when pads are linked/unlinked.
602 Change some checks into _return_if_fail().
604 * tests/check/gst/gstbin.c:
605 (test_link_structure_change_state_changed_sync_cb),
606 (GST_START_TEST), (gst_bin_suite):
607 Add testcase for pad link/unlinke resync during a state change.
610 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
612 * docs/gst/gstreamer-sections.txt:
613 * gst/gstmessage.c: (gst_message_new_structure_change),
614 (gst_message_parse_structure_change):
616 Implement STRUCTURE_CHANGED messages. These messages will be used to
617 signal the parent bin of link/unlink operations that could require a
618 resync when doing a state change. See ##510354.
619 API: gst_message_new_structure_change()
620 API: gst_message_parse_structure_change()
622 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
626 Add some more quarks for new message. See #510354.
628 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
630 * docs/libs/gstreamer-libs-docs.sgml:
631 * docs/libs/gstreamer-libs-sections.txt:
632 * libs/gst/base/Makefile.am:
633 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
634 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
635 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
636 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
637 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
638 (gst_bit_reader_skip_to_byte):
639 * libs/gst/base/gstbitreader.h:
640 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
641 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
642 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
643 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
644 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
645 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
646 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
647 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
648 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
649 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
650 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
651 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
652 * libs/gst/base/gstbytereader.h:
653 * tests/check/Makefile.am:
654 * tests/check/libs/bitreader.c: (GST_START_TEST),
655 (gst_bit_reader_suite):
656 * tests/check/libs/bytereader.c: (GST_START_TEST),
657 (gst_byte_reader_suite):
658 API: Add bit reader and byte reader classes, including documentation
659 and an extensive unit test suite. Fixes bug #553554.
661 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
663 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
664 (gst_base_sink_query):
665 Improve position reporting while flushing and other intermediate state
666 changes. Fixes #553874.
668 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
670 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
672 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
673 Original patch by : Simon Descaries
674 Fix small refount leak in caps compatibility check.
677 2008-10-06 Stefan Kost <ensonic@users.sf.net>
679 * docs/pwg/advanced-request.xml:
680 Fix 0.8 api usage in example. Fixes #554561
682 * docs/pwg/appendix-porting.xml:
683 Change 0.9 to 0.10 here.
685 2008-10-06 Stefan Kost <ensonic@users.sf.net>
687 * docs/manual/basics-data.xml:
688 Change "event-event interaction" to "element-element interaction".
689 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
692 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
695 Back to development -> 0.10.21.1
697 === release 0.10.21 ===
699 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
702 releasing 0.10.21, "Take These Things From Me"
704 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
707 0.10.20.4 pre-release
709 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
711 * libs/gst/base/gstbasetransform.c:
712 * plugins/elements/gstcapsfilter.c:
713 * tests/check/Makefile.am:
714 * tests/check/elements/.cvsignore:
715 * tests/check/elements/capsfilter.c:
716 Fix assertion in basetransform when the subclass chooses not to
717 allocate a buffer in prepare_buffer(), and make capsfilter error out
718 cleanly if requested to apply caps that don't completely specify the
719 buffer. Fixes #551509
721 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
723 * libs/gst/base/gstbasetransform.c:
724 (gst_base_transform_prepare_output_buffer):
725 Take new caps ref because our old one might have been gone when the
726 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
728 2008-09-15 Stefan Kost <ensonic@users.sf.net>
731 Do not probe availability of check unit test library when cross
732 compiling, as test would not work anyway. Also cleanup verbose output
733 of the check test. Fixes #551952.
735 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
737 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
739 * gst/gstelement.c: (gst_element_sync_state_with_parent):
740 Avoid leaking the parent ref when we fail changing the state of the
741 element using gst_element_sync_state_with_parent(). Fixes #551978.
743 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
745 * docs/manual/intro-motivation.xml::
746 Remove some bits that no longer apply, update others (#551642).
748 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
751 0.10.20.2 pre-release
759 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
761 * win32/common/config.h.in:
762 Add GST_DATADIR, hard-code cpu to x86.
764 * win32/common/libgstreamer.def:
767 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
770 Fix Since: markers for new geo tags.
772 2008-09-02 Stefan Kost <ensonic@users.sf.net>
775 Fix actual tag name define after renaming from altitude to elevation.
777 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
779 * gst/gstpad.c: (add_unref_pad_to_list),
780 (gst_pad_get_internal_links_default):
781 Add fallback when calling the deprecated function on an element that
782 implements the new internal_link handler.
784 2008-09-01 Stefan Kost <ensonic@users.sf.net>
786 * docs/gst/gstreamer-sections.txt:
789 Add new tags for geo location and clarify purpose of existing location
792 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
794 Patch by: Olivier Crete <tester at tester dot ca>
796 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
797 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
798 Use thread-safe internal links iterator. Fixes #549504.
800 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
802 Based on patch by: Olivier Crete <tester at tester dot ca>
804 * docs/gst/gstreamer-sections.txt:
805 * win32/common/libgstreamer.def:
806 * gst/gstpad.c: (gst_pad_init),
807 (gst_pad_set_iterate_internal_links_function),
808 (int_link_iter_data_free), (iterate_pad),
809 (gst_pad_iterate_internal_links_default),
810 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
812 Add threadsafe replacement functions for getting internal links of an
813 element. Deprecate the old internal links functions.
814 API:GstPad::gst_pad_set_iterate_internal_links_function()
815 API:GstPad::GstPadIterIntLinkFunction
816 API:GstPad::gst_pad_iterate_internal_links()
817 API:GstPad::gst_pad_iterate_internal_links_default()
819 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
820 (gst_proxy_pad_init):
821 Implement threadsafe internal links.
823 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
824 Unit test for internal links on tee. See #549504.
826 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
828 * tests/check/Makefile.am:
829 libs/transform1 test requires libs/test_transform.c
831 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
833 * gst/gstpad.c: (gst_pad_get_internal_links_default):
834 Die evil deadlock, die !
836 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
838 * gst/gstutils.c: (gst_element_get_compatible_pad):
839 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
840 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
841 Fix all leaks due to the bug in gst_pad_template_new() by which it does
842 not steal the refcount of the given caps as stated.
844 REVERT THIS COMMIT ONCE FIXED !
845 REVERT THIS COMMIT ONCE FIXED !
846 REVERT THIS COMMIT ONCE FIXED !
847 REVERT THIS COMMIT ONCE FIXED !
848 REVERT THIS COMMIT ONCE FIXED !
849 REVERT THIS COMMIT ONCE FIXED !
851 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
855 After 3 years it's about time to revise the documentation of the
858 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
860 * gst/gstpad.c: (gst_pad_get_internal_links_default):
861 Make the internal links function less thread-unsafe and add some
864 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
867 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
868 build with --disable-gst-debug.
870 2008-08-28 David Schleef <ds@schleef.org>
872 * gst/gstpadtemplate.c: Revert last change, since it breaks
873 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
874 but shouldn't be enabled until we've released fixed versions
875 of -good and -ffmpeg.
877 2008-08-28 Stefan Kost <ensonic@users.sf.net>
880 Put the gst_object_get_name() back in.
882 2008-08-28 Stefan Kost <ensonic@users.sf.net>
884 * gst/gstpadtemplate.c:
885 The old behaviour was that gst_pad_template_new() takes ownership of
886 the caps. As we now call g_object_new() which calls g_object_set() and
887 which copies the caps, we have to unref them to not leak them. Fixes
890 2008-08-28 Stefan Kost <ensonic@users.sf.net>
893 Don't segfault on input like "tel:+1-123-555-1234".
895 2008-08-27 Stefan Kost <ensonic@users.sf.net>
898 Due to popular request also include ObjectType in
899 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
901 2008-08-26 David Schleef <ds@schleef.org>
903 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
904 src_val must be positive, because that's not a requirement.
905 This causes problems with converting negative granulepos
907 * gst/gstquery.c: Same, gst_query_new_convert().
909 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
911 * gst/gstclock.c: (gst_clock_add_observation):
912 Add some more debugging to the clock slaving code.
914 * win32/common/libgstbase.def:
915 Add new basetransform method.
917 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
919 * gst/gstbin.c: (gst_bin_element_set_state):
920 Take the (recursive) state lock between getting the locked state of an
921 element and changing the element state. This allows the application to
922 lock an element's state and then change its state without races.
924 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
926 * gst/gstbin.c: (gst_bin_element_set_state):
927 When an element is in the locked state we still want to update the
928 base_time of the element.
930 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
932 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
933 Use the result from gst_pad_set_caps() instead of assuming the element
934 always accepted the caps computed by the default negotiate function.
936 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
938 * docs/libs/gstreamer-libs-sections.txt:
939 * libs/gst/base/gstbasetransform.c:
940 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
941 (gst_base_transform_chain), (gst_base_transform_suggest),
942 (gst_base_transform_reconfigure):
943 * libs/gst/base/gstbasetransform.h:
944 Implement method for reconfiguring basetransform.
945 API: GstBaseTransform::gst_base_transform_reconfigure()
947 2008-08-20 Stefan Kost <ensonic@users.sf.net>
949 patch by: Murray Cumming <murrayc@murrayc.com>
952 Mention that this is just like gst_buffer_merge() but with extra
953 unreffing for C coders. Advise language bindings not to wrap it.
956 Also fix file comment.
958 2008-08-20 Stefan Kost <ensonic@users.sf.net>
960 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
962 * plugins/elements/gstfakesink.c:
963 * plugins/elements/gstfakesrc.c:
964 Call super::event() when not handling it. Fixes #544855.
966 2008-08-19 Michael Smith <msmith@songbirdnest.com>
968 Patch by: Alessandro Decina <alessandro@nnva.org>
969 * plugins/elements/gstfilesrc.c:
970 Use 64 bit variants of stat functions on win32, to enable support
971 of large files there.
974 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
976 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
977 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
978 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
979 (gst_base_sink_get_position), (gst_base_sink_change_state):
980 Improve position reporting in the flushing state.
981 Also report the position when we are not yet prerolled but we
982 have a newsegment event. Fixes #543444.
983 Improve the pull-based negotiation code.
985 * tests/check/elements/fakesink.c: (GST_START_TEST),
987 Add testcase for position reporting while flushing in PAUSED and
990 * tests/check/generic/sinks.c: (GST_START_TEST):
991 Update unit-test, we can now query the position as soon as we receive a
994 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
996 Based on patch by: Jason Zhao <e3423c at motorola dot com>
998 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
999 When the subclass event handler releases the PREROLL_LOCK, we could be
1000 in the flushing state and we have to ignore the event. Fixes #548394.
1002 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1004 * tools/gst-launch.1.in:
1005 Document GST_REGISTRY_UPDATE environment variable.
1007 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1009 * libs/gst/base/gstbasetransform.c:
1010 (gst_base_transform_prepare_output_buffer):
1011 If the element is configured in passthrough mode but the
1012 prepare_output_buffer gave us a new output buffer, discard that buffer
1013 and reuse the input buffer.
1015 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1017 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1019 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1020 (gst_tee_request_new_pad), (gst_tee_release_pad),
1021 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1022 * plugins/elements/gsttee.h:
1023 Protect pad_alloc with a new lock so that we can be sure that nothing is
1024 performing a pad_alloc when removing the pad. Fixes #547835.
1026 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1027 (buffer_alloc_harness_teardown), (app_thread_func),
1028 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1029 Added testcase for shutdown race.
1031 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1036 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1038 * libs/gst/base/gstbasetransform.c:
1039 (gst_base_transform_prepare_output_buffer),
1040 (gst_base_transform_buffer_alloc):
1041 Go over the buffer_alloc function again and make sure we always end up
1042 allocating a buffer.
1044 Avoid doing pad alloc when we have a pending suggestion because we
1045 cannot yet deal with changing caps in that case. Fixes #547728
1047 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1049 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1051 * docs/manual/advanced-clocks.xml:
1052 * docs/manual/clocks.png:
1053 * docs/manual/diagrams-clocks.svg:
1054 Add one more image showing different times together with a describing
1055 paragraph. Fixes #547729.
1057 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1059 * win32/common/libgstbase.def:
1062 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1064 * libs/gst/base/gstbasetransform.c:
1065 (gst_base_transform_transform_caps),
1066 (gst_base_transform_prepare_output_buffer),
1067 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1068 Don't overwrite the outsize when calculating the expected size of a new
1069 buffer because we still need it in case we cannot process the new
1071 When converting the size of the new buffer to an upstream size, actually
1072 use the expected size of the buffer, not some other random value.
1073 Use an atomic int to signal that a new upstream caps suggestion is
1075 When we can convert the current buffer to a new format, check if the
1076 buffer size is of the expected size and allocate a new buffer of the
1077 expected size when this is not the case. Fixes #546883.
1079 * tests/check/libs/transform1.c: (GST_START_TEST):
1080 remove ifdeffed code from the unit test.
1082 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1084 * pkgconfig/gstreamer-uninstalled.pc.in:
1085 * pkgconfig/gstreamer.pc.in:
1086 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1087 called gstcontroller-0.10.
1089 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1091 * gst/gstchildproxy.h:
1093 Remove double interface from doc-string.
1095 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1097 * libs/gst/base/gstbasesrc.c:
1098 * libs/gst/base/gstbasetransform.c:
1099 Fix headings in docs and gtk-doc warnings.
1101 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1103 * gst/gstregistrybinary.c:
1104 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1108 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1110 * libs/gst/base/gstbasetransform.c:
1111 (gst_base_transform_buffer_alloc):
1112 Fix a "may be used unitialized" warning.
1114 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1116 * docs/gst/gstreamer-sections.txt:
1118 Document preset-iface vmethods.
1120 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1122 * docs/manual/advanced-interfaces.xml:
1123 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1124 only used to discover devices.
1126 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1128 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1130 * gst/gst.c: (init_pre):
1131 Make sure gettext returns translations in UTF-8 encoding rather
1132 than in the current locale encoding (#546822).
1134 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1136 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1139 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1140 Improve unit test subset tests and add a testcase for the subset failure
1143 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1144 Improve subtraction unit test.
1146 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1148 * plugins/elements/gsttee.c:
1149 Unlock, instead of locking again.
1151 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1154 Clarify the docs a bit more.
1156 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1158 * tests/examples/metadata/read-metadata.c:
1159 Don't leak old taglist.
1161 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1163 Patch by: Olivier Crete <tester at tester dot ca>
1165 * gst/gststructure.c:
1166 (gst_structure_fixate_field_nearest_fraction):
1167 Avoid overflows in fixation code when dealing with MAXINT values, which
1168 v4l2src seems to do.
1171 * tests/check/gst/gststructure.c: (GST_START_TEST):
1172 Make a unit test to check the fix.
1174 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1176 * plugins/elements/gstcapsfilter.c: (copy_func),
1177 (gst_capsfilter_set_property):
1178 Use new caps suggestion feature of basetransform to request a caps
1179 negotiation upstream.
1181 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1183 * docs/libs/gstreamer-libs-sections.txt:
1185 API: GstBaseTransform::gst_base_transform_suggest()
1187 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1188 (gst_base_transform_init), (gst_base_transform_transform_caps),
1189 (gst_base_transform_transform_size),
1190 (gst_base_transform_configure_caps),
1191 (gst_base_transform_can_transform),
1192 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1193 (gst_base_transform_prepare_output_buffer),
1194 (gst_base_transform_buffer_alloc),
1195 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1196 (gst_base_transform_chain), (gst_base_transform_activate),
1197 (gst_base_transform_set_passthrough),
1198 (gst_base_transform_is_passthrough),
1199 (gst_base_transform_set_in_place),
1200 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1201 (gst_base_transform_set_qos_enabled),
1202 (gst_base_transform_is_qos_enabled),
1203 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1204 (gst_base_transform_reconfigure):
1205 * libs/gst/base/gstbasetransform.h:
1206 Rewrite of basetransform to perform negotiation outside of the
1207 buffer_alloc functions. Fixes #545853.
1209 * tests/check/libs/transform1.c: (GST_START_TEST),
1213 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1215 * tests/check/gst/gstpreset.c:
1216 Only run preset tests when $HOME is writable. Preliminary fix for
1219 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1221 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1222 (gst_bin_change_state_func), (bin_handle_async_done),
1223 (gst_bin_handle_message_func):
1224 Fix race for bins that simulate ASYNC state changes by inserting
1225 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1226 pending ASYNC messages even when the bin does not have ASYNC children.
1227 We note detect this behaviour because we will receive an ASYNC message
1228 that is originating from the bin itself.
1229 Fixes races with decodebin2 state changes.
1231 * tests/check/gst/gstbin.c: (GST_START_TEST):
1232 Add some more debug.
1234 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1236 * gst/gsttaglist.c: (_gst_tag_initialize):
1239 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1242 Argh. actually save the text before committing. Now adds
1243 gst_tag_merge_strings_with_comma() to gst_tag_register().
1245 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1249 Do as tim pointed out and actually register the new tag. Also improve
1250 te docs and use gst_tag_merge_strings_with_comma() method to allow
1251 retriving all keywords merged in one list.
1253 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1256 * docs/gst/gstreamer.types:
1257 Revert 'accidential' change of the configure option removal. We still
1258 need to generate the types file in configure --disable-load-save.
1260 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1262 * docs/gst/gstreamer-sections.txt:
1264 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1266 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1268 * gst/gstpadtemplate.c:
1269 (gst_pad_template_class_init), (gst_static_pad_template_get),
1270 (gst_pad_template_new), (gst_pad_template_pad_created),
1271 (gst_pad_template_set_property), (gst_pad_template_get_property):
1272 Add "name-template", "direction", "presence" and "caps" properties,
1273 so that gst_pad_template_new() is just a thin wrapper around
1274 g_object_new(), which is better for bindings. (Fixes: #539772)
1276 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1279 Be more liberal in what URIs we accept.
1280 Do not unescape bits of the URI for no apparent reason before passing to
1281 the element. Fixes #545352.
1283 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1285 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1288 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1290 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1293 * docs/gst/gstreamer-sections.txt:
1294 * docs/gst/gstreamer.types:
1295 * docs/gst/gstreamer.types.in:
1298 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1299 * gst/gstconfig.h.in:
1300 * gst/gstelement.c: (gst_element_get_index):
1301 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1302 (gst_registry_binary_load_feature),
1303 (gst_registry_binary_read_cache):
1304 * gst/gstregistryxml.c: (load_feature),
1305 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1306 * plugins/Makefile.am:
1308 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1309 (print_plugin_features), (print_element_features):
1310 * tools/gst-xmlinspect.c: (print_event_masks),
1311 (print_element_info):
1312 * win32/common/gstconfig.h:
1313 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1315 Disabling the indexers and URI handler code will only reduce the
1316 required amount of memory by a very small amount but on the other hand
1317 requires much more maintaince work. Apart from that many places of
1318 code are broken when disabling them.
1320 Disabling the enum types doesn't reduce the required amount of memory
1321 by more than a few bytes and makes it hard to fix bugs like #539772,
1322 i.e. use the enums as GObject properties.
1324 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1326 * docs/design/part-TODO.txt:
1327 Add some thoughts and problems with upstream renegotiation.
1329 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1331 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1332 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1333 Remove silly redundant debug.
1334 Add some more debug info.
1335 Clarify the docs regarding new caps received from pad_alloc.
1337 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1339 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1340 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1341 Make setting the caps more threadsafe.
1343 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1345 * docs/design/part-element-transform.txt:
1348 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1350 * plugins/elements/gstqueue.c: (gst_queue_init),
1351 (gst_queue_acceptcaps):
1352 Add and use a custom acceptcaps function instead of falling back to the
1353 potentially less optimized default implementation.
1355 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1357 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1358 Only sanity-check the buffer size if requested_caps == buffer_caps
1359 (ie. don't take pad caps into account, they're not relevant here)
1361 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1363 * plugins/elements/gsttee.c:
1364 * plugins/elements/gsttee.h:
1365 Reverting as not everything is clear yet. Needs some general design
1368 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1371 ChangeLog surgery for tee commit.
1373 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1375 * docs/gst/gstreamer-sections.txt:
1376 Cleanup section-file.
1378 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1380 * plugins/elements/gsttee.c:
1381 * plugins/elements/gsttee.h:
1382 Relay tag events in tee. Fixes parts of #474016.
1383 Downgrades 3 reoccurring debugs to log.
1385 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1388 * libs/gst/Makefile.am:
1389 Build the net library if we have winsock2.
1391 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1393 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1395 * docs/manual/advanced-threads.xml:
1396 * docs/manual/diagrams-pipelines.svg:
1397 * docs/manual/hello-world.png:
1398 * docs/manual/linked-elements.png:
1399 * docs/manual/mime-world.png:
1400 * docs/manual/queue.png:
1401 * docs/manual/thread-buffering.png:
1402 * docs/manual/thread-synchronizing.png:
1403 Replace one diagram with two separate ones and updates others.
1406 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1409 Fix link in documentation.
1411 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1414 Fix confusing documentation.
1416 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1418 * libs/gst/base/gstbasesrc.h:
1419 revert the changes to the header file for the ABI.
1421 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1423 * libs/gst/base/gstbasesrc.c:
1424 * libs/gst/base/gstbasesrc.h:
1425 Don't cache the seekable status.
1428 2008-07-24 Rene Stadler <mail@renestadler.de>
1430 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1431 code to close the pipeline graph. This prevents the program from
1432 printing internal data flow errors.
1434 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1436 * docs/manual/basics-bus.xml:
1437 Correct typo. Fixes bug #544320.
1439 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1442 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1443 Add check (taken from -base) for winsock, adds WIN32_LIBS
1445 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1447 Define GST_EXPORTS when building libgstreamer (only used on win32)
1448 * gst/gst_private.h:
1450 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1451 for symbols that we need to export in both these files.
1453 Include gst_private.h higher up to avoid some compile problems on win32.
1455 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1460 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1463 Previous commit was wrong NULL caps does not exist
1464 and indicate an error, so also add a FIXME to
1465 gst_caps_is_equal where NULL caps are accepted.
1467 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1470 Allow passing of NULL to gst_caps_union
1472 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1474 * gst/gstghostpad.c:
1475 Add in doc that gst_ghost_pad_set_target can accept
1476 NULL to clear target
1478 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1481 * gst/gstregistry.c:
1482 GstRegistryPool doesn't exist; don't refer to it in docs.
1483 Don't refer to functions that don't exist in docs, it's
1486 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1489 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1491 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1493 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1495 * docs/pwg/building-testapp.xml:
1496 Don't use an undeclared variable in the example program.
1499 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1501 * gst/gstdebugutils.c:
1502 Squeeze ghost-pad links and remove <> from classname labels to save
1503 more horizontal space.
1505 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1507 * gst/gstdebugutils.c:
1508 Give request and sometimes pads a different shpe style. Condense the
1509 graphs a little more.
1511 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1514 Don't require flex and bison if the parser is disabled.
1516 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1518 * libs/gst/controller/gstinterpolationcontrolsource.c:
1519 (_list_find_sorted_custom):
1520 Don't use declarations after statements.
1522 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1524 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1525 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1526 of the the child-added / -removed signals as GstChildProxy
1527 only supports GstObjects.
1529 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1531 * gst/gstdebugutils.c:
1534 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1536 Patch by: Alessandro Decina <alessandro at nnva dot org>
1539 Fix "ignored return value" compiler warning with newer glibc.
1541 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1543 * gst/gstchildproxy.c:
1544 Fix copy&paste error in gst_child_proxy_removed() documentation.
1546 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1548 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1549 Print error debug message if plugin description fields that should
1552 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1553 Don't crash if the string to serialise is NULL (it really should
1554 not be, but apparently this used to work with the xml registry ...).
1556 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1558 * tools/gst-plot-timeline.py:
1559 Fix parsing of log messages
1561 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1563 * win32/common/libgstbase.def::
1564 Sort alphabetically so make check-exports doesn't barf.
1566 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1569 Use gst_format_get_name() to improve debug output.
1572 Remove #ifdef'ed code. Add TODO comment.
1575 Add debug output to ease spotting format != segment.format assertions.
1577 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1579 * tests/check/libs/gdp.c: (gst_dp_suite):
1580 Also enable the GDP unit test again on PPC now that the bug
1583 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1585 * libs/gst/dataprotocol/dataprotocol.c:
1586 Don't write to the same region of memory as a uint64 and uint16
1587 as this breaks strict aliasing rules and apparantly breaks on PPC
1588 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1590 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1592 * libs/gst/controller/gstinterpolationcontrolsource.c:
1593 Optimize list handling. Use own find function. Exploit that fact that
1594 the list is sorted. Also pass back the node before, so that we can
1595 insert quickly. Have a fast path for append.
1597 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1599 * docs/design/draft-framestep.txt:
1600 * docs/design/part-negotiation.txt:
1603 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1606 Show configuration sumary after configure run. Based on patch by
1607 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1609 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1611 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1613 * docs/manual/advanced-autoplugging.xml:
1614 * docs/manual/advanced-threads.xml:
1615 * docs/manual/basics-bins.xml:
1616 * docs/manual/basics-elements.xml:
1617 * docs/manual/basics-helloworld.xml:
1618 * docs/manual/basics-pads.xml:
1619 Add scale factor for pdf output.
1621 * docs/manual/intro-basics.xml:
1622 Switched sections "pads" and "bins" and added a pipeline diagram.
1624 * docs/manual/intro-gstreamer.xml:
1625 Added more info on gstreamer.
1627 * docs/manual/intro-motivation.xml:
1628 Commented out the whole section "current problem", which sounds
1629 historical and somehow osolete; it could be turned in a positive
1630 way and reused to improve the design principles.
1632 * docs/manual/intro-preface.xml:
1633 - Update URLs to library.gnome.org.
1634 - Do not mention GTK+ in preliminary reading (irrelevant).
1635 - Mention Plugin Writer's Manual and further reading only in the
1637 - Added a list of most relevant GObject/glib topics.
1639 * docs/manual/Makefile.am:
1640 * docs/manual/bin-element-ghost.fig:
1641 * docs/manual/bin-element-ghost.png:
1642 * docs/manual/bin-element-noghost.fig:
1643 * docs/manual/bin-element-noghost.png:
1644 * docs/manual/bin-element.fig:
1645 * docs/manual/bin-element.png:
1646 * docs/manual/filter-element-multi.fig:
1647 * docs/manual/filter-element-multi.png:
1648 * docs/manual/filter-element.fig:
1649 * docs/manual/filter-element.png:
1650 * docs/manual/gstreamer-overview.png:
1651 * docs/manual/hello-world.fig:
1652 * docs/manual/hello-world.png:
1653 * docs/manual/linked-elements.fig:
1654 * docs/manual/linked-elements.png:
1655 * docs/manual/mime-world.fig:
1656 * docs/manual/mime-world.png:
1657 * docs/manual/queue.fig:
1658 * docs/manual/queue.png:
1659 * docs/manual/simple-player.png:
1660 * docs/manual/sink-element.fig:
1661 * docs/manual/sink-element.png:
1662 * docs/manual/src-element.fig:
1663 * docs/manual/src-element.png:
1664 * docs/manual/diagrams-general.svg:
1665 * docs/manual/diagrams-pipelines.svg:
1666 Removed .fig, added .png counterpart.
1670 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1672 * plugins/elements/gstmultiqueue.c:
1673 * plugins/elements/gstmultiqueue.h:
1674 revert extra-size-buffers stuff, caused some race conditions
1675 and extra-size-buffers is not used anymore. Docs needs some updates
1677 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1679 * win32/common/config.h:
1680 * win32/common/gstenumtypes.c:
1681 * win32/common/gstenumtypes.h:
1682 * win32/common/gstversion.h:
1685 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1687 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1688 (GST_DEBUG_BIN_TO_DOT_FILE):
1689 Add missing Since' markers to gtk-doc blurbs.
1691 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1693 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1694 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1695 (set_caps_1), (set_caps_ct1), (transform_ct1),
1696 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1697 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1698 (transform_size_ct2), (buffer_alloc_ct2):
1699 Add some more tests with switching caps in buffer_alloc.
1701 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1703 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1704 (gst_test_trans_class_init), (result_sink_chain),
1705 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1706 (gst_test_trans_push), (gst_test_trans_pop):
1707 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1708 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1709 (set_caps_1), (set_caps_ct1), (transform_ct1),
1710 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1711 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1712 (transform_size_ct2), (buffer_alloc_ct2),
1713 (gst_basetransform_suite):
1714 More tests, prepare for tests with switching caps in buffer_alloc.
1716 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1718 * plugins/elements/gstmultiqueue.c:
1719 * plugins/elements/gstmultiqueue.h:
1720 Fix dead-lock in underrun_cb
1722 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1724 * docs/design/part-states.txt:
1725 Fix device open/close docs.
1727 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1730 Mention bugnumber for last commit.
1732 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1734 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1736 * docs/manual/manual.xml:
1737 - Reorganised the previous "introduction" bundle into Foreword,
1738 Introduction, and About GStreamer. The two first are <preface>
1739 docbook elements. The later is the first part of the book.
1740 - added intro-gstreamer.xml (content partially from
1742 - moved appendix-win32.xml into appendix-integration.xml
1744 * docs/manual/intro-preface.xml: gstreamer section moved...
1745 * docs/manual/intro-gstreamer.xml: ...here. new file.
1747 * docs/manual/appendix-win32.xml: removed file. Content moved...
1748 * docs/manual/appendix-integration.xml: ...here.
1750 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1751 * docs/manual/appendix-checklist.xml: ...here.
1755 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1757 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1759 * docs/manual/basics-helloworld.xml:
1760 * docs/manual/hello-world.fig:
1761 - Explicitely include glib.h.
1762 - Do not use global variables.
1763 - Use g_printerr() instead of g_print().
1764 - Minor formating/renaming to increase readibility.
1765 - Renamed new_pad() to on_pad_added()
1766 - Improved explenatory comments.
1767 - renamed ogg parser to ogg demuxer
1768 - Use "autoaudiosink" instead of "alsasink".
1771 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1774 Remove cvs conflict marker.
1776 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1779 Document that for plgin-docs we extraxt he short-desc from the element
1782 * docs/design/part-states.txt:
1783 Tell that devices should be closed in PAUSED -> READY.
1785 * docs/manual/README:
1786 Document how tests in the manual are handled.
1791 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1793 * gst/gstbin.c: (bin_query_latency_fold):
1794 Only care about latency min and max when the sink is actually a live
1797 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1799 * docs/design/part-block.txt:
1802 * docs/design/part-element-transform.txt:
1803 Add notes about why transform needs to know input/output sizes.
1804 Add some issues that need to be solved.
1805 Add some more use cases.
1807 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1808 (gst_test_trans_class_init), (result_sink_chain),
1809 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1810 (gst_test_trans_push), (gst_test_trans_pop):
1811 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1812 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1813 (set_caps_1), (set_caps_ct1), (transform_ct1),
1814 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1815 (gst_basetransform_suite):
1816 Add suport for different pad templates and buffer-alloc.
1817 Add more checks for caps and buffer-alloc.
1818 Add checks for proxy buffer alloc.
1819 Add unit test for copy transform.
1821 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1823 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
1825 * docs/manual/appendix-integration.xml:
1826 * docs/manual/appendix-licensing.xml:
1827 * docs/manual/basics-elements.xml:
1828 * docs/manual/basics-helloworld.xml:
1829 * docs/manual/basics-pads.xml:
1830 * docs/manual/highlevel-components.xml:
1831 * docs/manual/highlevel-xml.xml:
1832 * docs/manual/intro-basics.xml:
1833 * docs/manual/intro-preface.xml:
1834 Typo and formatting fixes (#538594).
1836 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1838 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1839 Fix some memory leaks and uses of object instances that we don't
1842 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1844 * plugins/elements/gstmultiqueue.c:
1845 Add functionality to extra-size-buffers property.
1847 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1849 * plugins/elements/gstmultiqueue.c:
1850 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1851 activate the pads if they are added in STATE_NULL.
1853 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1855 * docs/libs/gstreamer-libs-sections.txt:
1857 * libs/gst/check/gstcheck.c:
1858 * libs/gst/check/gstcheck.h:
1859 API: gst_check_teardown_pad_by_name
1861 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1863 * libs/gst/check/gstcheck.c:
1864 * libs/gst/check/gstcheck.h:
1865 Also setup request pads and allow setup pads by name (#537812)
1866 API: gst_check_setup_src_pad_by_name
1867 API: gst_check_setup_sink_pad_by_name
1869 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1871 * tests/check/gst/gstbuffer.c:
1872 * tests/check/pipelines/parse-launch.c:
1873 Use HAVE_VALGRIND_H some more.
1875 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1877 * scripts/cvs-update.sh:
1878 Pass arguments to make.
1879 Run autoregen.sh if Makefile is not there.
1881 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1885 Don't assume that <valgrind/valgrind.h> exists just because
1886 the binary is there.
1888 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1890 * tests/check/Makefile.am:
1891 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1892 (gst_test_trans_class_init), (gst_test_trans_init),
1893 (gst_test_trans_set_data), (result_sink_chain),
1894 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1895 (gst_test_trans_pop):
1896 * tests/check/libs/transform1.c: (GST_START_TEST),
1897 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1898 Add some test basetransform element and the beginnings of various
1901 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1903 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1904 Increase code readability.
1905 Don't try to compare buffer offsets when ther are invalid.
1907 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1909 * docs/design/Makefile.am:
1910 Dist some more design docs.
1912 * docs/random/moving-plugins:
1913 Small addition: good plugins mustn't have functional code
1914 within assertion macros.
1916 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1918 * docs/design/draft-framestep.txt:
1919 Some ideas about a framestep API
1921 * docs/design/part-element-transform.txt:
1922 Start design and use cases for basetransform in order to get it
1925 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1928 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
1929 be in UTF-8 encoding.
1931 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1934 Make it known that gst_bus_poll() is pure evil (fixes #538810).
1936 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1938 * plugins/elements/gstcapsfilter.c:
1939 * plugins/elements/gstfakesink.c:
1940 * plugins/elements/gstfakesrc.c:
1941 * plugins/elements/gstfdsink.c:
1942 * plugins/elements/gstfdsrc.c:
1943 * plugins/elements/gstfilesink.c:
1944 * plugins/elements/gstfilesrc.c:
1945 * plugins/elements/gstidentity.c:
1946 * plugins/elements/gstmultiqueue.c:
1947 * plugins/elements/gstqueue.c:
1948 * plugins/elements/gsttee.c:
1949 * plugins/elements/gsttypefindelement.c:
1950 Remove short_description. Add basic docs for gsttypefindelement.
1951 Simplify markup for fakesrc/fdsrc.
1953 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1955 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1958 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1960 Patch by: Joel Larsson <tilljoel at gmail dot com>
1962 * docs/plugins/gstreamer-plugins.args:
1963 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
1964 (gst_fd_src_init), (gst_fd_src_update_fd),
1965 (gst_fd_src_set_property), (gst_fd_src_get_property),
1966 (gst_fd_src_create):
1967 * plugins/elements/gstfdsrc.h:
1968 Add timeout property like udpsrc. Fixes #538628.
1969 Add some more docs and example pipelines.
1971 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1973 * docs/libs/gstreamer-libs-sections.txt:
1974 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1975 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
1976 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
1977 (gst_base_sink_do_sync):
1978 * libs/gst/base/gstbasesink.h:
1979 * win32/common/libgstbase.def:
1980 Add method to allow sinks to specify additional delay between the sync
1981 times and the actual rendering of the data.
1982 API: gst_base_sink_set_render_delay()
1983 API: gst_base_sink_get_render_delay()
1985 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
1988 Bump version number back to dev -> 0.10.20.1
1990 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
1992 * docs/gst/gstreamer-sections.txt:
1993 * gst/gsttaglist.c: (_gst_tag_initialize):
1995 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
1998 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2000 * libs/gst/controller/gstcontroller.c:
2001 Revert one change, that make ret value possible uninitialized.
2003 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2005 * libs/gst/controller/gstcontroller.c:
2006 Use freeze/thaw notify to sync notify emission a bit (its also more
2007 efficient). Move debug output to LOG (is called a lot in a loop).
2008 Always unset g_values if the have been initialized.
2010 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2012 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2013 (gst_base_sink_wait_eos), (gst_base_sink_event):
2014 If we have not seen a buffer before EOS, use the segment values to
2015 report the current position instead of invalid positions.
2017 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2019 * docs/plugins/tmpl/.cvsignore:
2020 * tests/check/gst/.cvsignore:
2023 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2025 * libs/gst/controller/gstinterpolation.c:
2026 * libs/gst/controller/gstinterpolationcontrolsource.c:
2027 * tests/check/libs/controller.c:
2028 Rewrite handling of default values. Fix overflow with unsigned types
2029 in linear interpolation. Remove now obsolete _first_value() function.
2030 Add more tests. Fixes #538201.
2032 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2034 * libs/gst/base/gstbasetransform.c:
2035 (gst_base_transform_class_init), (gst_base_transform_init),
2036 (gst_base_transform_transform_caps),
2037 (gst_base_transform_prepare_output_buffer):
2039 When a buffer is writable, its metadata is also writable so we don't
2040 need to subbuffer (which then makes the buffer not-writable anymore).
2042 === release 0.10.20 ===
2044 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2047 releasing 0.10.20, "You Crazy Diamond"
2049 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2052 0.10.19.3 pre-release
2054 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2058 Rename DATADIR to GST_DATADIR to avoid build problems
2059 on win32. Patch By: David Schleef <ds@schleef.org>
2062 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2065 Explicitely link with -ldl if dladdr() is found there. Before it was
2066 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2067 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2069 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2071 * gst/gsterror.c: (_gst_stream_errors_init):
2072 Fix typo (spotted by Fabricio Godoy, #536723).
2074 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2077 0.10.19.2 pre-release
2079 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2081 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2082 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2084 Make sure we don't generate invalid QoS messages.
2086 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2088 * gst/gstevent.c: (gst_event_new_qos):
2089 Add some assert and docs for invalid input to the qos function.
2091 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2093 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2094 (gst_base_sink_get_position):
2095 The reported position must always be smaller than the last seen
2096 timestamps (or timestamp + duration for reverse).
2098 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2100 Patch by: Rob Bradford <rob at robster dot org dot uk>
2102 * gst/gstregistry.c: (gst_registry_scan_path_level):
2103 Don't recurse into .debug directories as some distros install
2104 the debugging symbols next to the plugins in .debug directories
2105 and dlopen() crashes on them sometimes. Fixes bug #508070.
2107 Add FIXME for 0.11 to not recurse into directories at all because
2108 it's very inconsistent to the behaviour of other PATH environment
2111 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2113 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2114 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2115 Fix position query range checks in reverse playback.
2117 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2121 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2122 clear of the reference to the resulting pad must be released later
2123 or not, resulting in possible leaks. Fixes bug #533865.
2125 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2127 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2129 * gst/gstelementfactory.c:
2130 Small doc fix. Fixes #535285.
2132 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2134 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2136 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2137 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2138 (gst_base_src_loop), (gst_base_src_set_flushing),
2139 (gst_base_src_change_state):
2140 Make sending an EOS event to the basesrc non-blocking even if the
2141 implementation does blocking waits in the create function. This is done
2142 by unlocking the create function when EOS is sent.
2145 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2147 * tools/gst-inspect.c: (print_element_properties_info):
2148 If possible print the element type of GValueArray properties.
2150 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2152 * gst/gstiterator.c:
2153 Remove an unused field from the private GstListIterator struct.
2155 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2157 * libs/gst/controller/gstcontroller.c:
2158 Add parameter guards.
2160 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2162 * tests/check/gst/gstpipeline.c:
2163 Revert test change and add comment why it should not work.
2165 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2167 * tests/check/gst/gstpipeline.c:
2168 Extending the test a little to verify that we also get the NULL state-
2171 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2173 * gst/gstpreset.c: (gst_preset_default_get_meta),
2174 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2175 (gst_preset_load_preset), (gst_preset_save_preset),
2176 (gst_preset_rename_preset), (gst_preset_delete_preset),
2177 (gst_preset_set_meta):
2178 Add Since: markers to docs blurbs.
2180 * win32/common/libgstreamer.def:
2181 Add recently-added API.
2183 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2185 Patch by: Stefan Kost <ensonic@users.sf.net>
2188 Add DATADIR for storing presets.
2190 * docs/gst/gstreamer-docs.sgml:
2191 * docs/gst/gstreamer-sections.txt:
2192 * docs/gst/gstreamer.types.in:
2193 Add GstPreset to docs.
2197 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2198 (preset_open_and_parse_header), (preset_parse_version),
2199 (preset_merge), (preset_get_keyfile),
2200 (gst_preset_default_get_preset_names),
2201 (gst_preset_default_get_property_names),
2202 (gst_preset_default_load_preset),
2203 (gst_preset_default_save_presets_file),
2204 (gst_preset_default_save_preset),
2205 (gst_preset_default_rename_preset),
2206 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2207 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2208 (gst_preset_default_reset), (gst_preset_get_preset_names),
2209 (gst_preset_get_property_names), (gst_preset_load_preset),
2210 (gst_preset_save_preset), (gst_preset_rename_preset),
2211 (gst_preset_delete_preset), (gst_preset_set_meta),
2212 (gst_preset_get_meta), (gst_preset_class_init),
2213 (gst_preset_base_init), (gst_preset_get_type):
2215 Add GstPreset to core. Fixes #396779
2217 * tests/check/Makefile.am:
2218 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2219 (gst_preset_test_set_property), (gst_preset_test_class_init),
2220 (gst_preset_test_base_init), (gst_preset_test_get_type),
2221 (gst_preset_test_plugin_init), (GST_START_TEST),
2222 (remove_preset_file), (test_setup), (test_teardown),
2224 Add GstPreset unit tests.
2226 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2228 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2229 The default event function on a sinkpad should return TRUE when
2230 there are no internal links but should collect the return values from
2231 the internal links otherwise.
2233 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2235 * plugins/elements/gsttypefindelement.c:
2236 (gst_type_find_element_src_event),
2237 (gst_type_find_element_handle_event):
2238 Use faster and safer _pad_push_event().
2240 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2242 * docs/gst/gstreamer-sections.txt:
2243 * gst/gstutils.c: (element_find_unlinked_pad),
2244 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2246 API: add gst_bin_find_unlinked_pad()
2247 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2249 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2255 Fixed a bunch of typos.
2257 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2260 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2261 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2262 (gst_parse_bin_from_description_full):
2264 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2266 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2268 * docs/pwg/advanced-tagging.xml:
2269 Small docs update, can't be bothered to rewrite the nonsensical
2272 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2275 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2277 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2279 * gst/parse/grammar.y:
2280 Remove unneeded casts.
2282 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2284 * gst/parse/grammar.y:
2285 * tests/check/pipelines/parse-launch.c:
2286 Get all missing elements from a parse launch string if possible
2287 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2289 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2291 * tests/check/Makefile.am:
2292 * tests/check/pipelines/parse-launch.c:
2293 Add some unit tests for the new gst_parse_launch*_full() API.
2294 (Exposes a previously-existing memory leak in the error code
2295 path, so adding to VALGRIND_TO_FIX for now).
2297 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2299 * docs/gst/gstreamer-sections.txt:
2300 * gst/gst.c: (init_post):
2301 * gst/gst_private.h: (_GstParseContext):
2302 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2303 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2304 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2305 (gst_parse_launch_full):
2306 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2307 (GstParseFlags), (GstParseContext):
2308 * gst/gstutils.c: (gst_parse_bin_from_description),
2309 (gst_parse_bin_from_description_full):
2311 * gst/parse/grammar.y:
2312 * gst/parse/types.h:
2313 * win32/common/libgstreamer.def:
2314 Add new gst_parse_*_full API (#528178):
2315 API: gst_parse_launch_full()
2316 API: gst_parse_launchv_full()
2317 API: gst_parse_bin_from_description_full()
2318 API: gst_parse_context_new()
2319 API: gst_parse_context_free()
2320 API: gst_parse_context_get_missing_elements()
2322 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2324 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2326 * docs/faq/gst-uninstalled:
2327 Also support ffmpeg in gst-uninstalled.
2329 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2332 After discussion on IRC use the binary registry as default
2333 but allow to disable it with --disable-binary-registry.
2335 * win32/common/libgstreamer.def:
2336 Add the two new symbols for the binary registry.
2338 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2340 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2341 * gst/gstutils.c: (gst_parse_bin_from_description):
2342 * gst/parse/grammar.y: (graph):
2343 More guards against bad input; typo fix; some minor clean-ups.
2345 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2347 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2349 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2350 If nothing else can be used, use the last buffer's start time as
2351 the segment's last stop. Fixes bug #534258.
2353 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2355 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2356 Move size sanity check to the right place: downstream may return
2357 a buffer with a smaller size if the buffer caps are different than
2358 the requested ones, as may happen when doing reverse negotiation.
2360 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2362 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2363 (gst_file_sink_render):
2364 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2365 (gst_file_src_start):
2366 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2369 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2371 * gst/gstpad.c: (gst_pad_load_and_link):
2372 * gst/gstutils.c: (gst_element_link_pads),
2373 (gst_element_unlink_pads):
2374 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2375 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2376 (gst_check_teardown_sink_pad),
2377 (gst_check_element_push_buffer_list):
2378 * tests/check/elements/fakesink.c: (GST_START_TEST):
2379 * tests/check/elements/filesink.c:
2380 * tests/check/elements/filesrc.c: (GST_START_TEST):
2381 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2382 (mq_sinkpad_to_srcpad):
2383 * tests/check/elements/tee.c: (GST_START_TEST):
2384 * tests/check/generic/sinks.c: (GST_START_TEST):
2385 * tests/check/gst/gstbin.c: (GST_START_TEST):
2386 * tests/check/gst/gstevent.c: (GST_START_TEST):
2387 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2388 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2389 * tests/check/gst/gstquery.c: (GST_START_TEST):
2390 * tests/check/gst/gstutils.c: (GST_START_TEST):
2391 * tests/check/libs/basesrc.c: (GST_START_TEST):
2392 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2393 (gst_parse_test_element_change_state):
2394 Don't use gst_element_get_pad().
2396 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2399 Fix installing plugin documentation when gtk-doc is disabled.
2401 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2403 * docs/manual/advanced-autoplugging.xml:
2404 * docs/manual/basics-helloworld.xml:
2405 * docs/manual/basics-pads.xml:
2406 * docs/manual/highlevel-components.xml:
2407 Avoid using a bad function in the example code.
2409 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2411 * gst/gstclock.c: (gst_clock_set_calibration):
2412 Fix debug of the new clock rate.
2414 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2416 * win32/common/libgstbase.def:
2417 Add gst_base_sink_wait_clock() to the exported symbols.
2419 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2421 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2423 * libs/gst/base/gstbasetransform.c:
2424 (gst_base_transform_sink_event):
2425 Unref events that the GstBaseTransform::event vfunc didn't want to
2426 have forwarded by the base class. Closes a leak in identity.
2429 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2431 * docs/libs/gstreamer-libs-sections.txt:
2432 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2433 * libs/gst/base/gstbasesink.h:
2434 Expose a method that was previously used internally to synchronize
2435 against the clock because it can be useful for subclasses too.
2436 API: GstBaseSink::gst_base_sink_wait_clock()
2438 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2440 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2441 Add sanity check to make sure we don't get smaller buffers
2442 than requested (and fallback to normal buffer alloc if we do).
2444 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2446 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2447 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2448 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2449 Refactor adjusting the running_time with latency and offset into a
2451 When doing clipping, we still want to use the subclass get_times method,
2452 just in case the DURATION or TIMESTAMP are not set.
2454 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2456 * docs/gst/gstreamer-sections.txt:
2457 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2458 * gst/gsttypefind.h:
2459 * win32/common/libgstreamer.def:
2460 API: add gst_type_find_suggest_simple(), #533740.
2462 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2464 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2465 Use right error code when typefinding fails, so we can use
2466 the default (translated) error messages.
2468 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2470 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2471 (gst_base_src_start):
2472 When the subclass did not set caps on outgoing buffers, configure the
2473 caps we negotiated on the source pad.
2474 When the typefind helper does not find caps, error out properly instead
2475 of doing things with NULL caps.
2477 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2479 * gst/gsttypefind.h:
2480 Tabs to spaces, oh yes!
2482 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2484 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2485 Add David's and Benjamin's tests for array intersection to the
2486 unit test suite (#147931).
2488 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2491 Document that gst_event_new_tag() and gst_event_new_navigation()
2492 take ownership of the taglist/structure passed to them. (#533635).
2494 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2497 Don't descend into the plugins dir if plugin docs building
2501 Add a note about the new type:GTypeName syntax for the plugin
2502 documentation .types file.
2504 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2506 * gst/gstmessage.c: (gst_message_new_error),
2507 (gst_message_new_warning), (gst_message_new_info):
2509 Mark the debug string parameters as const. Fixes bug #533490.
2511 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2513 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2514 Sort buffer cache list by end offsets. This makes sure that we don't
2515 stop to search for a cached buffer that contains the requested data
2517 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2518 more efficient. Fixes bug #459862.
2520 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2523 Explain why we copy the list.
2525 * gst/gstpipeline.c:
2529 Add one debug-log statement to help tracing probelms with linking pads.
2531 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2533 * tests/check/gst/gstinfo.c:
2534 Add a test for removing the default log handler. Seems to fail under
2537 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2539 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2540 Release pad lock before calling out to avoid a possible deadlock.
2542 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2544 * gst/parse/grammar.y:
2545 Remove unneeded value unset.
2547 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2548 Add unit test for de/serialization of caps.
2550 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2552 * plugins/elements/gstfakesink.c:
2553 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2554 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2555 (gst_fake_src_class_init):
2556 Use custom marshalers that take GstMiniObject as first parameter.
2557 Using OBJECT as parameter while a GstMiniObject is given will lead
2558 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2560 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2562 * plugins/elements/gsttypefindelement.c:
2563 (gst_type_find_element_handle_event),
2564 (gst_type_find_element_send_cached_events),
2565 (gst_type_find_element_change_state):
2566 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2569 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2571 * plugins/elements/gsttypefindelement.c:
2572 (gst_type_find_handle_src_query), (stop_typefinding),
2573 (gst_type_find_element_handle_event),
2574 (gst_type_find_element_send_cached_events),
2575 (gst_type_find_element_change_state):
2576 Forward FLUSH_START events immediately and clean up instead of
2579 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2581 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2583 * libs/gst/base/gstbasetransform.c:
2584 (gst_base_transform_buffer_alloc):
2585 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2586 fall back to default negotiation in the chain function if the caps
2587 are different from what was requested. Fixes bug #526768.
2589 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2592 * tests/check/gst/gstsegment.c:
2593 No, let's not use g_slice_{dup|copy} here, since they only exist
2594 since GLib 2.14 and we still depend only on >= 2.12. Also add
2595 unit test for gst_segment_copy().
2597 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2599 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2600 Try to fix 'dereferencing type-punned pointer will break strict
2601 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2602 changed the default GType typedef from gulong to gsize at some point,
2603 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2604 g_once_* functions all take a gsize * though, so work around the type
2605 mismatch for C++ by doing everything in gsize and casting to GType
2608 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2610 * plugins/elements/gstmultiqueue.c:
2611 Add documentation for the signals to push our core plugin docs
2612 coverage back up to 100%.
2614 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2616 * gst/gstinfo.h (GST_FUNCTION):
2617 Reverted GST_FUNCTION to the old version as we don't want the
2618 full signature in C++ code. Also added support for MSVC.
2620 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2623 Intern the type name string, similar to what G_DEFINE_TYPE does.
2625 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2628 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2630 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2632 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2634 * libs/gst/base/gstbasetransform.c:
2635 (gst_base_transform_buffer_alloc):
2636 Don't passthrough buffer allocation too easily if the caps change.
2637 This breaks when working in passthrough mode and upstream changes
2638 it's caps. Fixes bug #526768.
2640 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2642 * gst/gstinfo.c (gst_debug_log_valist):
2643 Improved the __FILE__ part of debug output for MSVC.
2645 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2647 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2648 Declaration after statement fix for compilers like MSVC.
2650 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2652 * win32/common/config.h.in:
2653 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2654 use the real thing than having "???" unconditionally.
2656 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2658 * gst/gstinfo.h (GST_FUNCTION):
2659 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2661 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2663 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2666 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2667 (gst_base_sink_set_flushing):
2668 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2671 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2673 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2674 (gst_fake_src_init), (gst_fake_src_set_property),
2675 (gst_fake_src_get_property), (gst_fake_src_start):
2676 * plugins/elements/gstfakesrc.h:
2677 Added format property to control the format of the newsegment events.
2678 API: GstFakeSrc:format
2680 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2682 * win32/common/libgstreamer.def:
2683 Add gst_pad_has_name() to the exported symbols.
2685 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2687 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2688 * libs/gst/base/gstbasetransform.c:
2689 (gst_base_transform_prepare_output_buffer):
2690 Don't allow negative sizes when allocating new buffers.
2693 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2695 Patch by: Sjoerd Simons <sjoerd at luon net>
2697 * gst/gstbus.c: (gst_bus_source_dispatch):
2698 Don't print a warning if the queue is empty when we try to pop
2699 here. That could happen if another thread or callback set the
2700 bus to flushing between the source's check/prepare and the
2701 dispatch being called (#531538).
2703 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2705 * plugins/elements/gstmultiqueue.c:
2708 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2710 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2711 Add unit test for deserializing uint64s and check some really large
2712 numbers in the int64 test.
2714 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2716 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2717 (print_interfaces), (print_element_properties_info),
2718 (print_signal_info):
2719 Use "%s" as format string instead of printing strings directly.
2721 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2723 * gst/gstclock.c: (gst_clock_set_calibration):
2724 Make some checks actually useful.
2726 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2727 Remove some unused code. Unsigned integers tend to be >= 0.
2729 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2731 * gst/gstminiobject.c: (gst_value_get_mini_object):
2732 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2733 function was not in the unscheduled 0.10.19 release.
2735 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2737 * gst/gstregistry.c: (gst_registry_scan_path_level):
2738 Only print one log message per non-plugin file.
2740 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2742 * gst/gstinfo.c: (gst_debug_log_default):
2743 Fix alignment of debug log columns on 64-bit.
2745 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2747 * docs/libs/Makefile.am:
2748 * docs/libs/gstreamer-libs-sections.txt:
2749 Ignore private controller headers for docs.
2751 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
2753 * libs/gst/controller/gstcontrollerprivate.h:
2754 * libs/gst/controller/gsthelper.c:
2755 * libs/gst/controller/gstinterpolation.c:
2756 * libs/gst/controller/gstinterpolationcontrolsource.c:
2757 (gst_interpolation_control_source_set_interpolation_mode):
2758 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2759 * libs/gst/controller/lib.c:
2760 Move some private declarations into private headers.
2762 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
2764 * gst/gstdebugutils.c: (debug_dump_element_pad):
2765 Remove some code that is unused after Stefan's refactoring and uses
2766 uninitialized variables now, resulting in a compiler warning.
2768 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2770 * gst/gstregistry.c: (gst_registry_scan_path_level):
2771 Run g_str_has_suffix() only on the file name, not the
2774 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
2776 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2777 Since we're not called only from the chain function any longer,
2778 we can't assume that there's always data in the queue, so move
2779 the is_full check to the beginning of the loop (otherwise we'd
2780 hit the assert when changing the limit properties while the
2781 queue is empty or not running yet).
2782 Also, only set a discont if items were actually removed from
2785 * tests/check/elements/queue.c: (test_leaky_downstream):
2786 Test case for the above.
2788 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
2790 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2792 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2793 (gst_queue_chain), (queue_capacity_change),
2794 (gst_queue_set_property):
2795 When changing thr max capacity of a leaky queue, immediatly drop buffers
2796 instead of waiting for a push on the sinkpad. Fixes #530637.
2798 2008-04-30 Stefan Kost <ensonic@users.sf.net>
2800 * gst/gstdebugutils.c:
2801 Refactor code and fix handling of ghostpads and their proxypads.
2803 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
2805 * docs/gst/gstreamer-sections.txt:
2806 * gst/gstevent.c: (gst_event_has_name):
2808 * tests/check/gst/gstevent.c: (GST_START_TEST):
2809 Add method to conveniently check the name of a custom event with
2810 gst_event_has_name().
2811 Reformat the event docs so that related methods are put together instead
2812 of the default alphabetical sort.
2813 Update unit test with new method.
2814 API: GstEvent::gst_event_has_name()
2816 2008-04-28 Michael Smith <msmith@songbirdnest.com>
2818 * libs/gst/check/Makefile.am:
2819 Don't add an explicit link to libgstreamer-0.10.la; it's already
2820 included in GST_OBJ_LIBS.
2822 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
2825 Register GstClock type from a type-safe context. Fixes bug #530317.
2827 2008-04-25 Michael Smith <msmith@songbirdnest.com>
2829 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2831 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2833 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2835 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2837 Use the GLib stuff to create a private structure.
2838 Add some locking around some dispose methods to make them a little
2839 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2841 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2843 * libs/gst/base/gstbasesink.h:
2844 * libs/gst/base/gstbasesrc.h:
2845 * libs/gst/base/gstbasetransform.h:
2846 * libs/gst/base/gstcollectpads.h:
2847 Fix doc typos and unify caps a bit.
2849 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2851 * tools/gst-launch.1.in:
2852 Forgot to also add the envvar docs here.
2854 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
2856 * gst/gst.c: (init_post), (gst_deinit):
2857 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2858 (test_concurrent_create), (gst_pipeline_suite):
2859 Ref some more classes in gst_init() to work around thread-safety
2860 issues in pre-2.16 GLibs, and add basic unit test.
2862 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2864 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2865 (gst_base_sink_send_event):
2866 Rearrange the latency query code. We always want to do the upstream
2867 query, even if we are not live so that the upstream elements can get the
2868 latency results too. If we fail doing the query and we are live, we
2869 return TRUE afterwards.
2871 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2873 patch by: Jason Zhao <e3423c@motorola.com>
2875 * docs/gst/running.xml:
2877 Enable/disable scan_and_update_registry() based on commandline switch
2878 or environment variable. Fixes #520468.
2881 Fix typo in my previous commit.
2883 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2885 * gst/gstregistrybinary.c:
2886 Add a warning if we hit unhandled factories when saving.
2887 More debug logging detail, but move to LOG category.
2889 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2891 * gst/gstregistry.c:
2892 Tell the *truth* when improving the documentation.
2894 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
2896 * gst/gstelementfactory.c: (gst_element_factory_make):
2897 Unref the factory after it was used the last time, not before.
2899 * gst/gstindexfactory.c: (gst_index_factory_make):
2900 Improve debugging a bit and don't leak a ref to the index factory with
2903 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2905 * gst/gstregistry.c:
2906 Improve the documentation.
2908 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2911 The glib macro seems to be borked. Use g_slice_copy directly and cast
2912 in the hope that this fixes the warning on 64bit.
2914 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2917 Document the new function. Use g_slice_dup() (no need for
2918 gst_segment_init()).
2920 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2922 * docs/gst/gstreamer-sections.txt:
2923 Move GParamSepc macros to standart section.
2926 Dn't document _get_type - its in private section in docs anyway and
2927 this doc-blob was incomplete.
2930 Fix wrong symbol names in docs.
2933 Add once doc sentence.
2935 * tests/check/gst/.cvsignore:
2938 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2940 * docs/gst/Makefile.am:
2941 And remove those libs here.
2943 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
2945 * docs/libs/Makefile.am:
2946 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
2948 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
2950 Patch by: Olivier Crete <tester at tester dot ca>
2952 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2953 Add the min-threshold to the min latency if possible. Fixes #529148.
2955 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2957 * docs/gst/gstreamer.types.in:
2958 Stupid editor, I removed that line as it should go in yet.
2960 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2962 * docs/gst/gstreamer.types.in:
2963 * docs/libs/gstreamer-libs.types:
2964 Remove library types fro core docs and have them in libs docs.
2965 Reformat and cleanup. Add comment for miniobject types.
2967 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
2969 * gst/gsturi.c: (gst_uri_get_protocol):
2970 Fix leak: g_strdown operates on the string in place, while
2971 g_ascii_strdown() returns a newly-allocated string.
2973 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
2975 * tools/gst-inspect.c: (print_uri_handler_info),
2976 (print_element_info):
2977 Print the URI protocols and the URI type supported by the element.
2979 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2981 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
2982 Use g_value_take_string() instead of the deprecated
2983 g_value_set_string_take_ownership().
2985 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2987 * gst/gstregistrybinary.c: (_gst_crc32):
2988 Return the old CRC instead of 0 if we give a NULL buffer
2989 or a buffer with a length of 0.
2991 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2993 * gst/gsturi.c: (gst_uri_protocol_check_internal),
2994 (gst_uri_get_protocol), (gst_uri_has_protocol),
2995 (gst_uri_construct), (gst_uri_handler_set_uri):
2996 A valid URI scheme can also include '+', '-' and '.' additional
2997 to alphanumeric characters as per RFC 3986 Section 3.1.
2999 Handle URI schemes case insensitive in all places and convert
3000 to lower-case when constructing an URI or setting an URI with
3001 the GstURIHandler interface. Fixes bug #528868.
3002 All elements can still assume (as before) that they will
3003 get passed URIs with a lower-case URI scheme by the GstURIHandler
3006 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3008 * gst/gstcaps.c: (gst_static_caps_get):
3009 * gst/gstclock.c: (gst_clock_entry_new):
3010 Don't use g_atomic_set_int where it's not needed.
3012 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3014 * gst/gstvalue.c: (gst_value_deserialize_caps):
3015 * gst/parse/grammar.y:
3018 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3020 * gst/gstutils.c: (gst_atomic_int_set):
3021 Use g_atomic_int_set() here too instead of assignment +
3024 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3028 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3029 now that we depend on new enough GLib.
3031 * gst/gstcaps.c: (gst_static_caps_get):
3032 * gst/gstclock.c: (gst_clock_entry_new):
3033 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3034 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3035 (gst_debug_category_set_threshold):
3036 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3037 (gst_base_sink_set_qos_enabled):
3038 * libs/gst/net/gstnettimeprovider.c:
3039 (gst_net_time_provider_set_property):
3040 Use g_atomic_int_set() instead of gst_atomic_int_set().
3042 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3045 Also use G_GINT64_CONSTANT for the queries.
3047 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3050 Use G_GINT64_CONSTANT in varargs function.
3052 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3054 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3055 Initialize the registry magic with zeroes.
3057 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3059 * gst/gstregistrybinary.c: (_gst_crc32),
3060 (gst_registry_binary_write),
3061 (gst_registry_binary_initialize_magic),
3062 (gst_registry_binary_write_cache),
3063 (gst_registry_binary_check_magic),
3064 (gst_registry_binary_read_cache):
3065 * gst/gstregistrybinary.h:
3066 Add crc32 checksum to the binary registry file and check this before
3067 accepting a registry file.
3069 Also free the data list when writing to the registry file fails.
3071 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3073 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3074 (gst_registry_binary_load_feature),
3075 (gst_registry_binary_load_plugin):
3076 If an element supports the Uri interface, returns a valid pointer
3077 to the supported URI protocols but this pointer contains nothing
3078 don't try to save that as it will corrupt the registry.
3080 Don't unref the plugin if we added it to the registry already but
3081 fail to load a feature as gst_registry_add_plugin() takes ownership
3084 Improve debugging a bit.
3086 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3089 Clarify some tag item docs after discussion on irc.
3091 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3093 * docs/gst/gstreamer-docs.sgml:
3094 Remove commented out plugins (they have their own docs). Update
3097 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3099 * docs/gst/gstreamer-docs.sgml:
3100 * docs/gst/gstreamer-sections.txt:
3101 * gst/gstparamspecs.c:
3102 * gst/gstparamspecs.h:
3103 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3104 docs to own section.
3107 This now only documents GValue.
3109 * docs/libs/gstreamer-libs-sections.txt:
3110 * libs/gst/controller/gstcontroller.h:
3111 Remove GST_PARAM_CONTROLLABLE.
3113 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3116 Correct file path. Tell about how to use -overrides.txt.
3117 * docs/design/draft-tagreading.txt:
3118 Small design update.
3120 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3122 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3123 (gst_registry_binary_load_plugin):
3124 Fix a typo in a debug message and revert change from yesterday as
3125 gst_registry_add_plugin() will only fail if something is really wrong
3126 already and we can't survive it anyway.
3128 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3130 * gst/gst.c: (init_post), (gst_deinit):
3131 Pre-register GstGError GType from a thread-safe context
3132 (fixes #527967); unref enum type classes in deinit.
3134 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3136 Patch by: Rene Stadler <mail at renestadler de>
3138 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3139 Merging an empty list with another list in KEEP_ALL mode should
3140 yield an empty list as result and not the second list (#512578).
3142 * tests/check/gst/gsttagsetter.c:
3143 Add unit test for tag merge modes and the aforementioned bug.
3145 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3147 Patch by: Rene Stadler <mail at renestadler de>
3150 Fix description to match the order in the table (#512577).
3152 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3154 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3156 * libs/gst/net/gstnettimepacket.h:
3157 * docs/libs/gstreamer-libs-sections.txt:
3158 Define socklen_t as int if it's not defined yet. Fixes compilation
3159 with MSVC6 and other versions where socklen_t is not defined in
3160 the windows headers (#518022).
3162 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3164 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3165 If gst_registry_add_plugin() fails our reference to the plugin is
3166 invalid so don't try to use it anymore and instead error out.
3168 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3170 * tools/gst-xmlinspect.c: (print_element_info), (main):
3171 De-cruft a bit. If no argument is specified, print all elements in
3172 XML syntax rather than a freestyle list of elements like gst-inspect.
3173 Also, don't print XML header chunk unless we actually have something
3174 to print (ie. don't print it before an error message); print error
3175 message to stderr not stdout. Remove support for printing plugin
3176 info (it would just output something freestyle along the lines of
3177 gst-inspect so far), which fixes #514507. Also add license header.
3179 2008-04-11 Julien Moutte <julien@fluendo.com>
3182 * configure.ac: Merge platform specific defines, introduce a new
3183 define on OS X to remember that forking when updating registry is
3185 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3187 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3189 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3190 condition that leads to absolutely no plugins being registered on
3193 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3195 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3197 * gst/gstutils.c: (gst_pad_add_data_probe),
3198 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3199 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3200 (gst_pad_add_buffer_probe_full):
3202 * docs/gst/gstreamer-sections.txt:
3203 * win32/common/libgstreamer.def:
3204 Add gst_pad_add_*_probe_full() functions with a notify callback that
3205 lets the caller free the data it passes to the probe functions. This
3206 is useful for bindings such as gst-python or gstreamermm (#526814).
3207 API: gst_pad_add_data_probe_full
3208 API: gst_pad_add_buffer_probe_full
3209 API: gst_pad_add_event_probe_full
3211 * tests/check/gst/gstutils.c:
3212 Add minimal unit test to make sure freeing the data actually works
3215 * tests/benchmarks/.cvsignore:
3216 Random cvsignore addendum.
3218 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3220 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3221 (GST_DEBUG_BIN_TO_DOT_FILE):
3222 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3223 to it in the docs (since these are macros the types of the arguments
3224 won't be shown in the docs otherwise).
3226 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3229 Do not abort on out of memory for pad_alloc_buffer.
3231 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3233 * libs/gst/check/gstcheck.c:
3234 Remove blank line between symbol name ad parameters to fix gtkdoc
3237 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3239 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3241 * docs/gst/gstreamer-sections.txt:
3244 * win32/common/libgstreamer.def:
3245 Expose gst_segment_copy() to make things easier for the c++ bindings.
3247 API: gst_segment_copy()
3249 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3251 * gst/gst.c: (gst_init_get_option_group), (init_post):
3252 Fix const position; ref GType classes for enum types to work
3253 around thread-safety issues in GLib versions < 2.16.
3255 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3257 * docs/design/part-buffering.txt:
3258 Fix some typos and set the estimated total for push mode to -1.
3260 * gst/gstquery.c: (gst_query_new_buffering):
3261 Set buffering-left to 0 as we're not buffering by default.
3263 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3264 Implement BUFFERING query.
3266 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3268 Based on patch by: Milosz Derezynski <internalerror gmail com>
3270 * gst/gsterror.c: (_gst_stream_errors_init):
3272 Add two new error codes for encrypted content. Fixes #524659.
3273 API: GST_STREAM_ERROR_DECRYPT
3274 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3276 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3281 * win32/common/libgstreamer.def:
3284 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3286 * plugins/elements/gstidentity.c: (gst_identity_event),
3287 (gst_identity_start):
3288 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3289 event after processing some data. Fixes bug #526042.
3291 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3293 * docs/gst/gstreamer-sections.txt:
3294 * gst/gstquery.c: (gst_query_parse_latency),
3295 (gst_query_set_buffering_percent),
3296 (gst_query_parse_buffering_percent),
3297 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3299 Rename _avail -> _range
3300 API: gst_query_set_buffering_range
3301 API: gst_query_parse_buffering_range
3303 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3305 * docs/design/part-buffering.txt:
3308 * gst/gstquery.c: (gst_query_parse_latency),
3309 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3310 (gst_query_parse_buffering_percent):
3312 Add busy field and quark for the buffering query so that the app can
3313 only use the query to see if buffering is in progress.
3315 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3317 * docs/gst/gstreamer-sections.txt:
3318 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3319 (gst_message_parse_buffering_stats):
3321 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3322 (gst_query_parse_latency), (gst_query_new_buffering),
3323 (gst_query_set_buffering_percent),
3324 (gst_query_parse_buffering_percent),
3325 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3326 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3328 Reorder the message docs and headers for clarity.
3329 Add aditional buffering stats API for messages.
3330 Add buffering query.
3331 Convert some leftover queries to use GstQuark.
3332 API: gst_message_set_buffering_stats
3333 API: gst_message_parse_buffering_stats
3334 API: GST_QUERY_BUFFERING
3335 API: GstBufferingMode
3336 API: gst_query_new_buffering
3337 API: gst_query_set_buffering_percent
3338 API: gst_query_parse_buffering_percent
3339 API: gst_query_set_buffering_stats
3340 API: gst_query_parse_buffering_stats
3342 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3344 * gst/gstmessage.c: (gst_message_new_error),
3345 (gst_message_new_warning), (gst_message_new_info),
3346 (gst_message_new_buffering), (gst_message_new_state_changed),
3347 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3348 (gst_message_new_new_clock), (gst_message_new_segment_start),
3349 (gst_message_new_segment_done), (gst_message_new_duration),
3350 (gst_message_new_async_start), (gst_message_parse_buffering),
3351 (gst_message_parse_state_changed),
3352 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3353 (gst_message_parse_new_clock), (gst_message_parse_error),
3354 (gst_message_parse_warning), (gst_message_parse_info),
3355 (gst_message_parse_segment_start),
3356 (gst_message_parse_segment_done), (gst_message_parse_duration),
3357 (gst_message_parse_async_start):
3358 Use GstQuark for messages.
3360 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3362 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3364 Add some more quarks needed for messages and queries.
3366 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3368 * docs/design/part-buffering.txt:
3369 Remove the "none" buffering mode, STREAM is a good default.
3370 Move estimated-time to the avail query, that's when it will be needed.
3371 Other small typo fixes and updates.
3373 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3375 * gst/gstindex.c: (gst_index_resolver_get_type):
3376 Don't put descriptions into the nick field of a GEnumValue: it's not
3377 meant for that and some language bindings rely on the nick field to
3378 construct constants and the like. Fixes #526705.
3380 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3385 Merge other changes from 0.10.19 release branch.
3387 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3389 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3392 Actually build dlls when cross-compiling with mingw32.
3395 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3397 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3400 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3402 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3404 * docs/design/draft-latency.txt:
3407 * docs/design/part-buffering.txt:
3408 Update design docs with more buffering ideas.
3410 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3413 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3415 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3418 Revert part that belongs to the preset patch.
3420 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3423 Add qoutes to the define. Fixes # 525961.
3425 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3427 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3428 (gst_file_index_load), (gst_file_index_add_id),
3429 (gst_file_index_get_assoc_entry):
3430 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3431 (gst_mem_index_free_id), (gst_mem_index_add_id),
3432 (gst_mem_index_index_format):
3433 Use GSlice when possible.
3435 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3437 * libs/gst/controller/gstinterpolationcontrolsource.c:
3438 (gst_control_point_free),
3439 (gst_interpolation_control_source_set_internal):
3440 Use GSlice for allocating the control points.
3442 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3444 * plugins/elements/gsttypefindelement.c:
3445 (gst_type_find_element_class_init),
3446 (gst_type_find_element_set_property),
3447 (gst_type_find_element_get_property),
3448 (gst_type_find_element_activate):
3449 * plugins/elements/gsttypefindelement.h:
3451 Fix pad leak when peer query fails.
3452 We can still typefind when the peer returns -1.
3453 Add property to force caps and bypass typefinding. This will be used in
3457 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3462 * gst/glib-compat-private.h:
3463 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3464 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3465 Unconditionally use GSlice for allocation.
3467 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3468 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3469 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3470 (gst_structure_free):
3471 Use GSlice for allocation.
3473 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3475 * gst/parse/Makefile.am:
3476 * gst/parse/grammar.tab.pre.c:
3477 * gst/parse/grammar.tab.pre.h:
3478 * gst/parse/lex._gst_parse_yy.pre.c:
3479 Require a new enough flex and bison and remove the parser hacks to use
3480 a pre-regenerated version.
3482 2008-04-01 Julien Moutte <julien@fluendo.com>
3484 patch by: Jason Zhao <E3423C@motorola.com>
3486 * configure.ac: Add a configure switch to disable option parsing
3490 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3493 * gst/gstregistry.c:
3494 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3495 and handle this case.
3498 Add a comment here describing, why we stat each plugin and not try to
3501 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3503 * libs/gst/base/gstbasetransform.c:
3504 (gst_base_transform_prepare_output_buffer):
3505 Also unset the GAP flag on buffers if we're working inplace but
3506 the element is not GAP-aware.
3508 Mark a comment as FIXME 0.11.
3510 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3513 Fix type in log message and add one to ease seeing how long registry
3514 cache verification takes.
3516 * gst/gstregistry.c:
3517 Only test plugin filenames against G_MODULE_SUFFIX.
3519 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3521 * gst/gstdebugutils.c:
3522 Improve handling ghost/proxy pads.
3524 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3526 * docs/gst/gstreamer-sections.txt:
3529 Expose macro to docs and fix link to it.
3531 2008-03-27 Michael Smith <msmith@fluendo.com>
3533 * libs/gst/dataprotocol/dataprotocol.c:
3534 (gst_dp_packet_from_event_1_0):
3535 When calculating GDP body CRC, use the correct pointer.
3536 Fixes part of #522401.
3538 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3540 Patch by: Mark Nauwelaerts <manauw at skynet be>
3542 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3543 (gst_identity_init), (gst_identity_prepare_output_buffer):
3544 Identity is not always a passthrough element, it can modify the buffer
3545 timestamps when it has a datarate and operates in single-segment mode.
3546 We therefore make it an in_place filter with a custom buffer prepare
3547 function that conditionally makes the input buffer metadata writable
3548 when needed. Fixes #523985.
3550 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3552 Patch by: Mark Nauwelaerts <manauw at skynet be>
3555 * libs/gst/base/gstbasesrc.h:
3556 * libs/gst/base/gstbasetransform.c:
3557 * libs/gst/check/gstcheck.c:
3558 Small documentation fixes. Fixes #523978.
3560 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3562 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3563 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3564 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3566 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3568 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3569 (single_queue_underrun_cb):
3570 When trying to make room in the queue, bump the max allowed buffers
3571 bigger than the current amount of buffers in the queue. this fixes some
3572 nasty deadlocks in multiqueue when dynamically changing the limits of
3575 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3577 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3579 * gst/gstcaps.c: (gst_caps_set_simple),
3580 (gst_caps_set_simple_valist), (gst_caps_intersect):
3582 Constify the field gchar * params in set_simple and friends.
3585 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3587 * gst/gstvalue.c: (gst_value_transform_object_string):
3588 Transform a GstObject to a more meaningfull string that includes the
3589 object type in addition to its name.
3591 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3594 ChangeLog surgery to add bugnumber to commit.
3596 2008-03-23 Rene Stadler <mail@renestadler.de>
3598 * libs/gst/base/gstbasetransform.c:
3599 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3601 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3603 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3604 Rename constant everywhere and don't forget one occurence.
3606 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3608 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3609 Align memory to the pointer size even if the architecture allows
3610 unaligned memory access. Unaligned memory access usually comes with
3611 performance penality.
3613 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3615 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3616 (gst_registry_binary_check_magic),
3617 (gst_registry_binary_load_pad_template),
3618 (gst_registry_binary_load_feature),
3619 (gst_registry_binary_load_plugin):
3620 Align memory to the pointer size instead of always 32 bit. Fixes
3621 unaligned memory accesses on ia64 and friends.
3623 * gst/gstregistrybinary.h:
3624 Bump binary registry format version for this as it changes the
3625 format on those architectures that don't have unaligned access
3626 and 64 bit pointers.
3628 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3630 * docs/pwg/advanced-dparams.xml:
3631 * docs/pwg/building-props.xml:
3632 * docs/pwg/other-source.xml:
3633 * gst/glib-compat.h:
3634 * gst/gstbin.c: (gst_bin_class_init):
3635 * gst/gstclock.c: (gst_clock_class_init):
3636 * gst/gstindex.c: (gst_index_class_init):
3637 * gst/gstobject.c: (gst_object_class_init):
3638 * gst/gstpad.c: (gst_pad_class_init):
3639 * gst/gstpipeline.c: (gst_pipeline_class_init):
3640 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3641 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3642 * libs/gst/base/gstbasetransform.c:
3643 (gst_base_transform_class_init):
3644 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3645 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3646 (_gst_check_fault_handler_sighandler),
3647 (_gst_check_fault_handler_setup), (gst_check_init):
3648 * libs/gst/controller/gstcontroller.c:
3649 (_gst_controller_class_init):
3650 * libs/gst/controller/gstlfocontrolsource.c:
3651 (gst_lfo_control_source_class_init):
3652 * libs/gst/net/gstnetclientclock.c:
3653 (gst_net_client_clock_class_init):
3654 * libs/gst/net/gstnettimeprovider.c:
3655 (gst_net_time_provider_class_init):
3656 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3657 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3658 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3659 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3660 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3661 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3662 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3663 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3664 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3665 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3666 * plugins/elements/gsttee.c: (gst_tee_class_init):
3667 * plugins/elements/gsttypefindelement.c:
3668 (gst_type_find_element_class_init):
3669 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3670 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3671 use it everywhere for GParamSpecs that use static strings (i.e. all).
3672 This gives us less memory usage, fewer allocations and thus less
3673 memory defragmentation. Fixes bug #523806.
3675 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3677 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3678 (gst_param_spec_mini_object):
3679 * gst/gstminiobject.h:
3680 * win32/common/libgstreamer.def:
3681 * docs/gst/gstreamer-sections.txt:
3682 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3683 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3684 GstParamSpecMiniObject into a public header for this.
3686 This make GstMiniObject a bit more consistent with GObject and makes
3687 it possible to extend the param specs.
3689 gst_value_dup_mini_object is mainly useful for set_property methods.
3693 * tools/gst-inspect.c: (print_element_properties_info):
3694 Print something useful for GstMiniObject properties and not just
3697 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3699 * docs/gst/gstreamer-sections.txt:
3700 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3701 (gst_registry_binary_check_magic):
3702 * gst/gstregistrybinary.h:
3703 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3704 and add it to the (private part) of the docs to fix the build.
3706 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3708 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3709 (gst_registry_binary_check_magic),
3710 (gst_registry_binary_read_cache):
3711 * gst/gstregistrybinary.h:
3712 Don't use GST_MAJORMINOR for the binary registry version. Instead
3713 hardcode a value that must be changed whenever the format changes
3714 in an incompatible way.
3715 Also don't GST_ERROR when there is a version mismatch, just
3716 regenerate the registry silently.
3718 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3721 Back to development - 0.10.18.1
3723 === release 0.10.18 ===
3725 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3728 releasing 0.10.18, "So far away"
3730 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3733 * win32/common/config.h:
3734 0.10.17.4 pre-release
3736 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3738 Patch by: Ole André Vadla Ravnås
3739 <ole dot andre dot ravnas at tandberg dot com>
3741 * docs/gst/gstreamer-sections.txt:
3742 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3743 (gst_poll_update_winsock_event_mask),
3744 (gst_poll_prepare_winsock_active_sets),
3745 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3746 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3747 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3748 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3749 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3751 * win32/common/libgstreamer.def:
3752 Add new function gst_poll_fd_ignored() for improved Windows
3754 Various minor fixes and cleanups. See #520808.
3756 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
3758 * gst/gstindex.c: (gst_index_entry_free):
3760 Don't free key strings which we don't own. Fixes crash in
3761 gst_index_entry_free() (#522741).
3763 * tests/check/Makefile.am:
3764 * tests/check/gst/.cvsignore:
3765 * tests/check/gst/gstindex.c: (test_index_entries),
3766 (gst_index_suite), (gst_index):
3767 Add unit test for the above.
3769 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3771 * win32/common/libgstreamer.def:
3772 Remove symbols that were removed recently. Fixes bug #521740.
3774 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
3777 * win32/common/config.h:
3778 0.10.17.3 pre-release
3780 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
3782 Patch by: Ole André Vadla Ravnås
3783 <ole dot andre dot ravnas at tandberg dot com>
3785 * docs/gst/gstreamer-sections.txt:
3786 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3787 (gst_poll_update_winsock_event_mask), (gst_poll_new),
3788 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3789 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3790 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3791 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3792 (gst_poll_fd_can_write), (gst_poll_wait),
3793 (gst_poll_set_controllable), (gst_poll_restart),
3794 (gst_poll_set_flushing):
3796 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3797 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3798 (gst_net_time_provider_new):
3799 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3800 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3801 * tests/benchmarks/gstpollstress.c: (main):
3802 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3803 Remove GstPollMode from the API, it does not make sense to let the
3804 application control this.
3805 Add support for Win32.
3806 Fix the testsuite. Fixes #520671.
3808 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
3810 Patch by: Ole André Vadla Ravnås
3811 <ole dot andre dot ravnas at tandberg dot com>
3813 * gst/gstregistrybinary.c:
3814 Include io.h for write() and close() when building with MSVC. Fixes
3817 2008-03-07 Stefan Kost <ensonic@users.sf.net>
3820 * gst/gst_private.h:
3821 * gst/gstconfig.h.in:
3822 * gst/gstregistry.h:
3823 * gst/gstregistrybinary.c:
3824 * win32/common/gstconfig.h:
3825 Move registry backend API to private headers where we can. Add
3826 fixme-0.11 comments for the others. Add stubs for the xml backend when
3827 using the binary to ensure they functions exists (they should not be
3828 used though). Fixes #520756.
3830 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
3833 * win32/common/config.h:
3836 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3838 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3839 (gst_registry_binary_read_cache):
3840 * gst/gstregistryxml.c: (gst_registry_save):
3841 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3842 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3843 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3844 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3845 Switch to using portabl gsize/gssize instead of size_t/ssize_t
3848 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3850 * gst/gstminiobject.c:
3851 Import gst_private.h before any other header that might include other
3852 glib headers. This fixes the build on windows using native compilers.
3854 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3856 * win32/common/gstconfig.h:
3857 Add here too, just for completeness.
3859 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3862 * gst/gstconfig.h.in:
3863 * gst/gstregistry.h:
3864 Fix broken use of config.h-defined preprocessor directive in a public
3865 header file. Add a corresponding define to gstconfig.h, since we can't
3866 really remove those function declarations from the header file now
3867 (or can we? and why are they there in the first place?).
3869 2008-03-03 Andy Wingo <wingo@pobox.com>
3871 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3874 * gst/gststructure.c (gst_structure_from_string): Warn if
3875 structure_from_string didn't consume the whole string, but the
3876 caller did not provide an end pointer.
3878 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
3880 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
3882 * gst/gstregistryxml.c: (read_string), (load_feature):
3883 Strings allocated by libxml2 should be freed with xmlFree(), not
3884 with g_free(). Fixes issues on windows in certain contexts (#519698).
3886 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
3888 * gst/gstinterface.c: (gst_element_implements_interface):
3889 Don't crash if the element supports the interface queried, but does
3890 not implement GstImplementsInterface. Fixes #519584.
3892 * tests/check/Makefile.am:
3893 * tests/check/gst/.cvsignore:
3894 * tests/check/gst/gstinterface.c:
3895 Add unit test for the above.
3897 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3899 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3902 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3904 * gst/gstsegment.c: (gst_segment_set_seek),
3905 (gst_segment_to_stream_time):
3906 Improve some comment.
3907 Update variables where it makes more sense.
3909 2008-02-29 Rene Stadler <mail@renestadler.de>
3911 * gst/gsturi.c: (gst_uri_handler_get_protocols):
3912 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
3913 URIHandlers implemented using language bindings.
3915 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3917 * gst/gstelementfactory.h:
3918 * tests/check/elements/fakesink.c:
3919 * tests/check/elements/fakesrc.c: (setup_fakesrc):
3920 * tests/check/elements/fdsrc.c: (setup_fdsrc):
3921 * tests/check/elements/filesink.c: (setup_filesink):
3922 * tests/check/elements/filesrc.c: (setup_filesrc):
3923 * tests/check/elements/identity.c: (setup_identity):
3924 * tests/check/elements/tee.c:
3925 * tests/check/generic/sinks.c:
3926 * tests/check/generic/states.c: (setup), (teardown):
3927 * tests/check/gst/gst.c:
3928 * tests/check/gst/gstabi.c:
3929 * tests/check/gst/gstbin.c:
3930 * tests/check/gst/gstbus.c: (pull_messages):
3931 * tests/check/gst/gstcaps.c:
3932 * tests/check/gst/gstelement.c:
3933 * tests/check/gst/gstevent.c:
3934 * tests/check/gst/gstghostpad.c:
3935 * tests/check/gst/gstiterator.c:
3936 * tests/check/gst/gstmessage.c:
3937 * tests/check/gst/gstminiobject.c: (my_foo_init):
3938 * tests/check/gst/gstobject.c: (thread_name_object),
3940 * tests/check/gst/gstpad.c:
3941 * tests/check/gst/gstplugin.c:
3942 * tests/check/gst/gstpoll.c:
3943 * tests/check/gst/gstquery.c:
3944 * tests/check/gst/gstsegment.c:
3945 * tests/check/gst/gststructure.c:
3946 * tests/check/gst/gstsystemclock.c:
3947 * tests/check/gst/gsttask.c:
3948 * tests/check/gst/gstutils.c:
3949 * tests/check/gst/gstvalue.c:
3950 * tests/check/gst/struct_hppa.h:
3951 * tests/check/gst/struct_i386.h:
3952 * tests/check/gst/struct_ppc32.h:
3953 * tests/check/gst/struct_ppc64.h:
3954 * tests/check/gst/struct_x86_64.h:
3955 * tests/check/libs/adapter.c: (create_and_fill_adapter):
3956 * tests/check/libs/basesrc.c:
3957 * tests/check/libs/controller.c: (GST_START_TEST):
3958 * tests/check/libs/gdp.c:
3959 * tests/check/libs/gstnetclientclock.c:
3960 * tests/check/libs/gstnettimeprovider.c:
3961 * tests/check/libs/libsabi.c:
3962 * tests/check/libs/struct_hppa.h:
3963 * tests/check/libs/struct_i386.h:
3964 * tests/check/libs/struct_ppc32.h:
3965 * tests/check/libs/struct_ppc64.h:
3966 * tests/check/libs/struct_x86_64.h:
3967 * tests/check/pipelines/cleanup.c:
3968 * tests/check/pipelines/simple-launch-lines.c:
3969 * tests/check/pipelines/stress.c:
3970 And correct even more valid sparse warnings.
3972 * win32/common/libgstreamer.def:
3973 Add gst_poll_fd_init to the list of symbols.
3975 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3977 * gst/gstconfig.h.in:
3978 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
3979 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
3980 (gst_check_log_critical_func), (gst_check_drop_buffers),
3981 (gst_check_element_push_buffer_list):
3982 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
3983 (gst_controller_get_type):
3984 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
3985 (gst_object_get_controller), (gst_object_get_control_source):
3986 * libs/gst/controller/gstinterpolationcontrolsource.c:
3987 (gst_interpolation_control_source_new):
3988 * libs/gst/controller/gstlfocontrolsource.c:
3989 (gst_lfo_control_source_new):
3990 * libs/gst/dataprotocol/dataprotocol.c:
3991 (gst_dp_event_from_packet_0_2):
3992 * plugins/elements/gstfdsrc.c:
3993 * plugins/elements/gstmultiqueue.c:
3994 * plugins/elements/gsttee.c:
3995 * plugins/elements/gsttypefindelement.c:
3996 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
3997 (gst_file_index_add_association):
3998 * plugins/indexers/gstmemindex.c:
3999 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4000 * tests/check/elements/queue.c: (setup_queue):
4001 * tests/check/gst/gstpipeline.c:
4002 * tests/check/libs/collectpads.c: (setup), (teardown),
4003 (gst_collect_pads_suite):
4004 * tests/examples/adapter/adapter_test.c:
4005 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4006 * tests/examples/xml/createxml.c:
4007 * tests/examples/xml/runxml.c:
4008 * tools/gst-inspect.c:
4010 Correct all relevant warnings found by the sparse semantic code
4011 analyzer. This include marking several symbols static, using
4012 NULL instead of 0 for pointers, not using variable sized arrays
4013 on the stack, moving variable declarations to the beginning of
4014 a block and using "foo (void)" instead of "foo ()" for declarations.
4016 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4018 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4019 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4020 Don't reset GstPollFDs, this is not necessary at all.
4022 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4023 (delayed_restart), (delayed_control):
4024 Use GST_POLL_FD_INIT.
4026 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4028 * gst/gstpoll.c: (gst_poll_fd_init):
4032 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4033 Use some more init macros.
4035 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4037 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4038 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4039 Use init macros and functions.
4041 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4043 * docs/gst/gstreamer-sections.txt:
4044 * gst/gstpoll.c: (gst_poll_fd_init):
4046 Add INIT macro and _init method for initializing the GstPollFD.
4048 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4050 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4051 (gst_fd_sink_update_fd):
4052 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4053 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4054 (delayed_restart), (delayed_control):
4055 Initialize some uninitialized variables as spotted by valgrind.
4057 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4059 * tests/benchmarks/Makefile.am:
4060 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4062 Add poll stress test.
4064 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4066 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4068 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4069 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4070 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4071 * plugins/elements/gstfdsink.h:
4072 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4073 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4074 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4075 (gst_fd_src_uri_set_uri):
4076 * plugins/elements/gstfdsrc.h:
4077 Port to GstPoll. See #505417.
4079 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4081 * win32/common/libgstreamer.def:
4082 Add new gst_poll_ symbols to win32 defs.
4084 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4086 * docs/libs/gstreamer-libs-sections.txt:
4087 * libs/gst/net/gstnetclientclock.c:
4088 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4089 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4090 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4091 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4092 * libs/gst/net/gstnetclientclock.h:
4093 * libs/gst/net/gstnettimeprovider.c:
4094 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4095 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4096 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4097 (gst_net_time_provider_new):
4098 * libs/gst/net/gstnettimeprovider.h:
4099 Use a private stuct to not break ABI.
4101 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4103 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4105 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4106 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4107 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4108 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4109 * libs/gst/net/gstnetclientclock.h:
4110 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4111 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4112 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4113 (gst_net_time_provider_new):
4114 * libs/gst/net/gstnettimeprovider.h:
4115 Massive code removal and cleanups because of GstPoll.
4118 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4121 Add checks for poll, ppoll and pselect.
4123 * docs/gst/gstreamer-docs.sgml:
4124 * docs/gst/gstreamer-sections.txt:
4125 Add docs for GstPoll.
4129 * gst/gstpoll.c: (find_index), (selectable_fds),
4130 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4131 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4132 (gst_poll_set_mode), (gst_poll_get_mode),
4133 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4134 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4135 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4136 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4137 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4138 (gst_poll_fd_can_write), (gst_poll_wait),
4139 (gst_poll_set_controllable), (gst_poll_restart),
4140 (gst_poll_set_flushing):
4142 Add generic poll abstraction. We ideally don't want to have this in core
4143 here but in glib intead...
4144 This code will be used in various network elements and ultimately for
4145 the nanosecond precision monotonic clock (that's why it's here in core).
4146 It'll allow us to implement cancelable socket operations for windows too.
4148 * tests/check/Makefile.am:
4149 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4150 (delayed_stop), (delayed_restart), (delayed_flush),
4151 (delayed_control), (gst_poll_suite):
4152 Add GstPoll unit test.
4154 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4157 Improve documentation of gst_filter_run(). Fixes #518627.
4159 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4162 Add a few lines about the new 'check-inspected-versions' target.
4164 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4166 * tests/check/gst/gstevent.c:
4167 Add qos to the event test. Rename tcase/tsuite; is not only about
4170 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4172 * plugins/elements/gstqueue.c:
4173 Ensure that buffer metadata is writeable, before modifying. Spotted by
4176 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4178 * plugins/elements/gstqueue.c:
4179 * plugins/elements/gstqueue.h:
4180 When dropping buffers in leaky modes, mark next buffers we sent as
4183 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4185 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4186 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4188 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4190 * plugins/elements/Makefile.am:
4191 * plugins/elements/gstbufferstore.c:
4192 * plugins/elements/gstbufferstore.h:
4193 * plugins/elements/gsttypefindelement.h:
4194 Remove GstBufferStore, no idea why we were still building it.
4195 It's not used anywhere and superseded by GstAdapter.
4197 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4198 (gst_file_src_create_mmap):
4199 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4200 Printf format fixes for 64-bit integers.
4202 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4205 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4206 We're not in 0.8 times anymore.
4208 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4210 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4211 (gst_check_element_push_buffer_list):
4212 * libs/gst/check/gstcheck.h:
4213 Make the declaration in the header for
4214 gst_check_element_push_buffer_list match the implementation.
4216 Fix up spelling, grammar and wording of the documentation in a few
4217 places, and add the Since keyword to new API functions.
4218 Use g_list_delete_link instead of g_list_remove in
4219 gst_check_drop_buffers, since it's immeasurably more efficient.
4221 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4222 Use new gst_check_drop_buffers function where appropriate.
4224 * win32/common/libgstbase.def:
4225 * win32/common/libgstreamer.def:
4226 Add new symbols gst_collect_pads_take_buffer,
4227 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4230 Changelog surgery to add API keyword to new gst_check API.
4232 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4234 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4235 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4236 Update pre-generated flex files with flex 2.3.34.
4238 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4240 * gst/gstminiobject.c:
4241 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4242 friendly to subclasses and not require them to know all internals
4243 of their parent class.
4245 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4247 * docs/libs/gstreamer-libs-sections.txt:
4248 * libs/gst/base/gstcollectpads.c:
4249 * libs/gst/base/gstcollectpads.h:
4250 Add sub-buffer functions to collectpads. Fixes #516187.
4251 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4253 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4256 Copy selected buffer-flags when creating subbuffers.
4259 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4261 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4262 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4263 * gst/gstmessage.c: (gst_message_class_init),
4264 (gst_message_finalize):
4265 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4266 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4267 (gst_mmap_buffer_finalize):
4268 Properly chain up finalize functions to the parent class.
4270 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4272 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4274 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4275 (gst_index_set_resolver_full):
4277 Add new function with option to dispose of user_data in resolver.
4278 Actually call the dispose function when finalizing the object and not
4279 just when changing the resolver/filter.
4280 API: GstIndex::gst_index_set_resolver_full()
4282 * docs/gst/gstreamer-sections.txt:
4283 Add new function to docs. Fixes #515469.
4285 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4287 * gst/gstindex.c: (gst_index_finalize):
4288 Chain up finalize to the parent class. Fixes leaking the GstObject
4289 name and other things.
4291 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4294 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4295 pre-releases or releases.
4297 * docs/faq/gst-uninstalled:
4300 * docs/random/release:
4301 Change one of the steps - we only upload core & base to Gnome FTP
4303 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4305 * gst/gstconfig.h.in:
4306 Add 'id' for example.
4310 * plugins/elements/gstfdsink.c:
4311 Link to signals. Doc and comment fixes.
4313 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4315 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4316 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4317 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4318 unused and unimplemented; finally, it is plugin features, not
4319 plugins, that have ranks.
4321 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4323 * gst/gstpluginfeature.h:
4324 Clarify GstRank range docs.
4326 2008-02-05 David Schleef <ds@schleef.org>
4328 * gst/gst.c: Add a separate gst_deinitialized that prevents
4329 gst_init() from being called after gst_deinit(). Fixes #509559
4331 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4333 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4334 (gst_bin_class_init):
4335 * gst/gstelement.c: (gst_element_base_class_init),
4336 (gst_element_class_add_pad_template):
4337 * gst/gstpadtemplate.c: (gst_pad_template_init):
4338 * gst/gstpipeline.c: (gst_pipeline_get_type),
4339 (gst_pipeline_base_init), (gst_pipeline_class_init):
4340 * libs/gst/base/gstbasesink.c:
4341 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4342 (gst_base_src_base_init), (gst_base_src_class_init):
4343 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4344 (gst_capsfilter_class_init):
4345 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4346 (gst_fake_sink_class_init):
4347 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4348 (gst_fake_src_class_init):
4349 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4350 (gst_fd_sink_class_init):
4351 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4352 (gst_fd_src_class_init):
4353 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4354 (gst_file_sink_class_init):
4355 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4356 (gst_file_src_class_init):
4357 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4358 (gst_identity_class_init):
4359 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4360 (gst_multi_queue_class_init):
4361 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4362 (gst_queue_class_init):
4363 * plugins/elements/gsttee.c: (gst_tee_base_init),
4364 (gst_tee_class_init):
4365 * plugins/elements/gsttypefindelement.c:
4366 (gst_type_find_element_base_init),
4367 (gst_type_find_element_class_init):
4368 * tests/check/gst/gstelement.c: (gst_element_suite):
4369 Revert previous changes to the behaviour of GstPadTemplates, etc
4370 and the possiblity to call them in class_init as it breaks too
4371 many elements. Reopens bug #491501.
4373 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4376 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4378 * tools/gst-launch.c:
4379 Dump one graph per pipeline state-change and state change name
4380 (if GST_DEBUG_DUMP_DOT_DIR is set).
4382 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4385 * tests/check/gst/gstpad.c:
4386 Be sure that we have a new copy of the caps and not
4387 reffed caps from a template
4389 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4391 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4392 * gst/gstpipeline.c: (gst_pipeline_get_type),
4393 (gst_pipeline_class_init):
4394 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4395 (gst_base_sink_class_init):
4396 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4397 (gst_base_src_class_init):
4398 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4399 (gst_base_transform_class_init):
4400 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4401 (gst_collect_pads_class_init):
4402 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4403 * libs/gst/net/gstnettimeprovider.c:
4404 (gst_net_time_provider_base_init),
4405 (gst_net_time_provider_class_init):
4406 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4407 (gst_capsfilter_class_init):
4408 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4409 (gst_fake_sink_class_init):
4410 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4411 (gst_fake_src_class_init):
4412 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4413 (gst_fd_sink_class_init):
4414 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4415 (gst_fd_src_class_init):
4416 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4417 (gst_file_sink_class_init):
4418 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4419 (gst_file_src_class_init):
4420 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4421 (gst_identity_class_init):
4422 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4423 (gst_multi_queue_class_init):
4424 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4425 (gst_queue_class_init):
4426 * plugins/elements/gsttee.c: (gst_tee_base_init),
4427 (gst_tee_class_init):
4428 * plugins/elements/gsttypefindelement.c:
4429 (gst_type_find_element_base_init),
4430 (gst_type_find_element_class_init):
4431 Don't use base_init where not absolutely necessary. For example it's
4432 not necessary anymore for adding pad templates or setting element
4435 Leave empty base_init functions in several places as GST_BOILERPLATE
4436 still defines and uses them.
4438 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4440 * gst/gstelement.c: (gst_element_base_class_init),
4441 (gst_element_class_add_pad_template):
4442 * gst/gstpadtemplate.c:
4443 Make it possible (and recommended) to set element details and add
4444 pad templates in the class_init functions by copying the details/pad
4445 templates in GstElement's base_init.
4447 Also make it possible to replace existing pad templates by adding
4448 a new one with the same name. This was done in a hackish fashion
4449 in same elements before already.
4451 Don't reference pad templates that are added a second time. A
4452 new pad template has a refcount of one and is not floating anymore
4453 and to be owned by the element's class. Make this more explicit by
4454 mentioning it in the docs of gst_element_class_add_pad_template().
4456 These changes are backwards compatible. Fixes bug #491501.
4458 * tests/check/gst/gstelement.c:
4459 Add unit test for setting element details, adding pad templates and
4460 replacing them in a subclass.
4462 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4464 * tools/gst-inspect.c: (print_interfaces),
4465 (print_element_properties_info), (print_pad_info),
4466 (print_signal_info), (print_element_info):
4467 Fix a few memory leaks.
4469 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4471 * docs/libs/gstreamer-libs-sections.txt:
4472 * libs/gst/check/gstcheck.c:
4473 * libs/gst/check/gstcheck.h:
4474 Add more functions for unit testing: gst_check_drop_buffers,
4475 gst_check_caps_equal, gst_check_element_push_buffer_list,
4476 gst_check_element_push_buffer
4477 API: gst_check_drop_buffers
4478 API: gst_check_caps_equal
4479 API: gst_check_element_push_buffer_list
4480 API: gst_check_element_push_buffer
4482 2008-02-01 Julien Moutte <julien@fluendo.com>
4484 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4485 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4486 (gst_index_finalize), (gst_index_entry_free),
4487 (gst_index_add_association): Fix memory leaks.
4488 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4489 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4490 (gst_mem_index_free_format), (gst_mem_index_free_id),
4491 (gst_mem_index_finalize): Fix memory leaks.
4492 * win32/common/config.h: Updated to CVS HEAD.
4494 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4497 Some more details about how the plugin docs works.
4499 * docs/plugins/gstreamer-plugins-sections.txt:
4502 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4504 * gst/parse/grammar.tab.pre.c:
4505 * gst/parse/grammar.tab.pre.h:
4506 * gst/parse/grammar.y:
4507 * gst/parse/lex._gst_parse_yy.pre.c:
4508 Add delayed set-property. This allows to set properties on dynamicaly
4509 created objects (pads in videomxer). Fixes #509391.
4511 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4514 Check if caps are not NULL (fix bug #510194)
4516 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4518 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4519 (gst_base_sink_get_position_paused):
4520 Add fixme regarding EOS in pull mode.
4521 Fix position reporting in PAUSED for negative rates.
4523 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4525 * gst/gstminiobject.c: (gst_mini_object_replace):
4526 When replacing a miniobject, do a quick equality check first so that we
4527 can avoid a ref/unref pair.
4529 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4531 * docs/design/part-synchronisation.txt:
4534 * docs/plugins/Makefile.am:
4535 * docs/plugins/gstreamer-plugins-docs.sgml:
4536 * docs/plugins/gstreamer-plugins-sections.txt:
4537 * plugins/elements/gstmultiqueue.c:
4538 Add multiqueue to the docs.
4540 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4545 === release 0.10.17 ===
4547 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4550 releasing 0.10.17, "Due Negligence"
4552 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4555 Revert caps != NULL check temporarily for 0.10.17 release.
4557 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4560 Check if caps are not NULL (fix bug #510194)
4562 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4565 Fix compilation on systems that have posix timers but no
4568 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4571 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4573 * tools/gst-inspect.c:
4574 Revert previous commit in preparation for an impromptu 0.10.17 release
4576 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4578 * tools/gst-inspect.c: (print_interfaces),
4579 (print_element_properties_info), (print_pad_info),
4580 (print_signal_info), (print_element_info):
4581 Fix a few memory leaks.
4583 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4588 === release 0.10.16 ===
4590 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4593 releasing 0.10.16, "Special Dispensation"
4595 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4598 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4599 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4600 not fail when trying to crosscompile on OpenEmbedded (#511750).
4602 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4605 Use $(MAKE) instead of make to fix the build if GNU make is
4606 called different. Fixes bug #510747.
4608 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4610 * gst/gstplugin.c: (_gst_plugin_initialize):
4611 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4612 again, which I broke two commits ago when changing the API
4613 of gst_plugin_register_static(): the g_list_foreach() in
4614 _gst_plugin_register_static still assumed the old function
4615 signature and would therefore fail (re-fixes #510187).
4617 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4618 (_gst_plugin_register_static), (gst_plugin_register_static):
4619 Revert the (technically correct) change to call g_thread_init() from
4620 the pre-main() constructor. This will break programs which call
4621 g_thread_init() without an if (!g_thread_supported()) guard in their
4622 main function. We could just blame it on GLib or the application, but
4623 it's probably best to just avoid this altogether and simply not use
4624 any GLib functions here and use plain old malloc() with a simple
4625 array to store the plugins to register later when gst_init() is
4626 finally called (re-fixes #510187).
4628 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4629 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4630 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4631 (GST_START_TEST), (gst_plugin_suite):
4632 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4635 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4637 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4638 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4639 This makes gtk-doc complain, but results in slightly better
4640 compiler errors. The old _gst_plugin_register_static() is
4641 still guarded, so there'll be a compiler warning about that
4642 instead. Fixes #510187 too.
4644 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4646 * gst/gst.c: (init_post):
4647 * gst/gstplugin.c: (_gst_plugin_register_static),
4648 (gst_plugin_register_static), (_gst_plugin_initialize):
4649 * gst/gstplugin.h: (GstPluginFilter):
4650 Change API of gst_plugin_register_static() to not take
4651 a GstPluginDesc, but rather just take all the arguments
4652 in a GstPluginDesc directly. This is more intuitive and
4653 avoids certain mistakes when porting code from
4654 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4657 * tests/check/gst/gstplugin.c:
4658 Fix up for changed API.
4660 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4662 * docs/faq/legal.xml:
4663 Update FAQ, Totem actually has an exception these days.
4665 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4667 * win32/common/libgstreamer.def:
4668 Add new API declarations
4670 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4672 * gst/gstminiobject.c:
4673 Spelling fixes for the API docs.
4675 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4677 * libs/gst/base/gstbasetransform.c:
4678 Fix long property description for QoS.
4680 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4683 _gst_trace_on is already provided by gsttrace.h, no need to declare
4686 * docs/libs/gstreamer-libs-sections.txt:
4687 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4688 and remove strange tcase_add_test which is outputting a warning.
4690 * libs/gst/check/gstcheck.c:
4691 * libs/gst/check/gstcheck.h:
4692 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4693 and define them in gstcheck.c instead of having every .c file whcih
4694 includes gstcheck.h be defining its own copy and relying on symbol
4695 interposing to marry them all, which doesn't work on Solaris.
4697 * tests/check/elements/identity.c: (GST_START_TEST):
4698 Don't define 'buffers' locally, it comes from libgstcheck.
4700 * tests/check/generic/sinks.c: (send_buffer):
4701 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4703 * tests/check/gst/gststructure.c: (GST_START_TEST):
4704 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4705 * tests/check/gst/gstutils.c: (GST_START_TEST):
4706 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4707 Add a bunch of casts to make various constants fit the types
4708 they're being assigned to.
4710 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4712 * gst/gstchildproxy.c:
4713 Improve docs and add some ideas for making this more general-purpose.
4715 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4717 * gst/gst_private.h: (GST_CAT_TYPES):
4718 Add GST_CAT_TYPES, for consistency, and so that the other
4719 debug categories don't make fun of it. Spotted by Saur on IRC.
4721 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4723 * gst/parse/Makefile.am:
4724 Move types.h from EXTRA_DIST to noinst_HEADERS.
4726 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4729 Add -Wno-portability to the automake parameters to stop warnings
4730 about GNU make extensions being used. We require GNU make in almost
4731 every Makefile anyway.
4734 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4735 at the same time is required for per target flags.
4737 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4740 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4741 __GNUC__ is defined before using it.
4743 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4745 * docs/gst/gstreamer-sections.txt:
4746 * gst/gst.c: (init_post):
4747 * gst/gstplugin.c: (_gst_plugin_register_static),
4748 (gst_plugin_register_static), (_gst_plugin_initialize),
4749 (gst_plugin_register_func):
4750 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4751 API: add gst_plugin_register_static() and deprecate
4752 GST_PLUGIN_DEFINE_STATIC, since it's not portable
4754 Also, in _gst_plugin_register_static(), make sure to call
4755 g_thread_init() before calling GLib functions such as
4756 g_list_append() if we're not initialised yet, since that
4757 may lead to random crashes with older GSlice/GLib versions.
4759 * tests/check/gst/gstplugin.c:
4760 Adapt unit test to above changes.
4762 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4764 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4765 * gst/gstcaps.c: (gst_caps_to_string):
4766 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4767 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4768 Yet another gratuitous GString micro-optimisation: add a (private)
4769 function that serialises a structure appending to an existing
4770 GString, so that when we serialise caps we don't need to alloc+free
4771 a throwaway GString for each structure (each of which also entailing
4772 multiple reallocs on the way); also use g_string_sized_new() in
4773 various places with an approximate string length to avoid reallocs
4774 within GString. See #500143.
4776 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4778 * gst/gststructure.c: (gst_structure_id_set_value):
4779 Always check UTF-8 conformance of structure strings and not only
4780 if the debugging system is enabled; reasoning: the behaviour of
4781 the actual code shouldn't really change depending on whether the
4782 debugging system is enabled or not (#508291).
4784 2008-01-09 Stefan Kost <ensonic@users.sf.net>
4787 Remove old coverage target in favour of "make lcov".
4789 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4791 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4792 (gst_base_src_loop):
4793 The start segment for reverse playback goes from start to last_stop.
4795 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4797 Patch by: Peter Kjellerstedt <pkj axis com>
4800 Cast the results from the timeval/spec_to_time macros to what the
4801 docs say it casts to, a GstClockTime. fixes #508175.
4803 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4806 Update some comments.
4808 * tools/gst-inspect.c: (print_element_properties_info):
4809 Improve printing of flags.
4811 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
4813 * libs/gst/base/gstbasetransform.c:
4814 (gst_base_transform_transform_size):
4815 Print element name with g_warning() if there's a problem
4818 2008-01-07 David Schleef <ds@schleef.org>
4820 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4822 * libs/gst/controller/gstcontroller.h:
4823 * libs/gst/controller/gstcontrolsource.h:
4824 * libs/gst/controller/gstinterpolationcontrolsource.h:
4825 * libs/gst/controller/gstlfocontrolsource.h:
4826 * libs/gst/dataprotocol/dataprotocol.h:
4827 Fix empty prototypes. Fixes bug #507957.
4829 2008-01-07 David Schleef <ds@schleef.org>
4831 * docs/faq/dependencies.xml: Fix typo.
4833 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
4835 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4836 (gst_base_src_loop):
4837 Don't update the last_stop position in do_seek, that's the position we
4839 Read backwards when we have a negative rate.
4841 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4842 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4844 Add check for reverse reading.
4846 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
4848 Patch by: Alexis Ballier <aballier at gentoo org>
4850 * tests/check/gst/gstabi.c:
4851 * tests/check/gst/struct_ppc64.h:
4852 * tests/check/libs/libsabi.c:
4853 * tests/check/libs/struct_ppc64.h:
4854 Decide which header to include based on the userland ABI target
4855 and not the kernel/cpu. Fix up structure sizes of ppc64 header
4856 for 64-bit userland (#503590). Might need something similar for
4859 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
4861 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4862 Log the reason why fopen fails in addition to the fact that it failed.
4864 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
4866 * gst/parse/parse.l:
4867 Use "%option never-interactive" to prevent useless calls to isatty()
4868 on every input when parsing. Also use "%option noinput" to not define
4869 the static input/yyinput functions which we don't use anyway. This
4870 removes a compiler warning with gcc 4.3 and saves some bytes in the
4873 * gst/parse/lex._gst_parse_yy.pre.c:
4874 Regenerated for the above change.
4876 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
4878 * gst/gstpad.c: (fixate_value):
4879 Don't crash when trying to fixate and empty list.
4882 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
4884 * docs/faq/gst-uninstalled:
4885 Clarify the comments to make the usage of this script and what it
4886 does easier to understand.
4888 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
4890 * tools/gst-plot-timeline.py:
4891 Add more options to gst-plot-timeline
4893 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
4895 * docs/design/part-synchronisation.txt:
4896 Some more info on how the stream_time in GstBaseSink is done.
4898 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
4900 * tests/check/generic/sinks.c: (gst_sinks_suite):
4901 Put back the tcase_set_timeout(), apparently it's needed after
4902 all; fix it up in a way that makes things work with valgrind too.
4904 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
4906 * gst/gstdebugutils.c:
4907 Add warning when failed to open file for writing.
4909 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4911 Based on patch by: Laurent Glayal <spglegle yahoo fr>
4913 * gst/gstvalue.c: (gst_value_is_fixed):
4914 Optimisation: bail out of the loop as early as possible (#500143).
4916 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4918 * gst/gstcaps.c: (gst_caps_to_string):
4919 * gst/gstinfo.c: (gst_debug_construct_term_color):
4920 * gst/gstparse.c: (gst_parse_launchv):
4921 * gst/gstutils.c: (gst_util_dump_mem):
4922 * gst/gstvalue.c: (gst_value_serialize_any_list),
4923 (gst_value_transform_any_list_string):
4924 Bunch of gratuitous nano-optimisations.
4926 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4928 * tests/check/generic/sinks.c: (async_done_func),
4929 (async_done_eos_func):
4930 Fix leak in unit test (bus sync handler must unref the message
4931 if it returns GST_BUS_DROP). Don't fiddle with the default test
4932 timeout, this is smaller than the current preconfigured value
4933 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
4934 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
4936 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4938 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4941 Check for stdio_ext.h for the filesink changes.
4943 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
4944 (gst_file_sink_class_init), (gst_file_sink_init),
4945 (gst_file_sink_dispose), (gst_file_sink_set_property),
4946 (gst_file_sink_get_property), (gst_file_sink_open_file),
4947 (gst_file_sink_close_file):
4948 * plugins/elements/gstfilesink.h:
4949 Add two properties to control the buffering mode and size.
4950 API: GstFileSink::buffer-mode
4951 API: GstFileSink::buffer-size
4954 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4956 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
4957 Add some more docs to explain why a FIXME was wrongly added.
4959 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
4962 Fix typo in the gst_object_{ref,unref} documentation.
4964 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
4966 * tests/check/libs/controller.c:
4967 * tests/check/libs/typefindhelper.c:
4968 * tests/check/pipelines/parse-launch.c:
4969 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
4970 going to be deprecated (see #498924).
4972 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
4974 * gst/gsttypefind.c: (gst_type_find_register):
4975 Make gst_type_find_register work for static typefind functions,
4976 ie. allow passing plugin == NULL (prerequisite for #498924).
4978 * gst/gstelementfactory.c: (gst_element_register):
4979 Small docs addition.
4981 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
4983 * gst/gstpad.c: (gst_pad_dispose):
4984 Really unlink the peer pad instead of setting the peer pointer to NULL
4985 when we dispose the pad.
4986 This correctly calls the unlink functions and makes sure that the peer
4987 does not have a handle to invalid memory. See #504671.
4989 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4990 Add testsuite for above case.
4992 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
4994 Patch by: Peter Kjellerstedt <pkj axis com>
4996 * libs/gst/check/gstcheck.h:
4997 Fix detection of the check version we're compiling against (would
4998 otherwise break if check goes v0.10.0); correctly report the
4999 name of the failed test again in case of failure, instead of
5000 just 'tf' (fixes #504499).
5002 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5004 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5005 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5006 (gst_base_src_loop), (gst_base_src_set_flushing),
5007 (gst_base_src_change_state):
5008 Allow sending EOS to the source to make it send out an EOS event from
5009 the streaming thread.
5010 Update docs and deprecate the old NULL/READY shutdown method.
5012 * tests/check/libs/basesrc.c: (GST_START_TEST),
5013 (gst_basesrc_suite):
5014 Add unit test for controlled shutdown.
5016 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5018 * docs/design/part-synchronisation.txt:
5021 * gst/gstsegment.c: (gst_segment_set_seek),
5022 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5023 (gst_segment_to_running_time):
5024 The seek format can be different from the segment format when the start
5025 and stop values are not to be updated, when we only do a rate change for
5028 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5029 (gst_segment_suite):
5030 Add a testcase for the rate-only seeks, checking that the format is
5031 correctly ignored when start and stop are not updated.
5033 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5035 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5037 * win32/vs8/grammar.vcproj:
5038 * win32/vs8/libgstcontroller.vcproj:
5039 * win32/vs8/libgstreamer.vcproj:
5040 Fix compilation with VS8 and include some missing files.
5042 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5045 Small docs addition: mention that the strings returned by
5046 gst_tag_list_get_string*() are in UTF-8 encoding.
5048 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5051 The check-exports stuff moved to common/win32.mak, so include that.
5053 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5055 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5056 (gst_base_src_perform_seek), (gst_base_src_get_range),
5057 (gst_base_src_set_playing), (gst_base_src_change_state):
5058 Make _wait_playing() not check any variables so that we can call this
5059 function from subclasses. Move the checks elsewhere similar to
5060 _wait_preroll() in basesink.
5062 Only signal the LIVE cond when we are going back to PLAYING.
5064 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5066 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5067 Use g_remove() and g_rename(). Check result of g_rename(), and
5068 don't leak the open file descriptor if we error out when writing.
5070 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5071 Must check the return value of close() after writing out the new
5072 registry file. Sometimes write problems such as out-of-diskspace
5073 are only reported when the file is closed and not already during
5074 the write. This may have caused partial/broken registry files in
5075 some rare circumstances. Should fix #503675.
5077 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5079 * docs/gst/.cvsignore:
5080 * docs/libs/.cvsignore:
5081 * docs/plugins/.cvsignore:
5082 Ignore files generated by new common/* modifications
5084 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5086 * win32/common/libgstbase.def:
5087 Yes, you can also have a <TAB> if you want.
5089 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5091 * win32/common/libgstbase.def:
5092 Add new basetransform API to win export file.
5094 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5096 * tests/check/gst/gstbin.c:
5097 Adjust the test to the refcount change two days ago.
5099 2007-12-14 David Schleef <ds@schleef.org>
5101 * docs/faq/getting.xml: Fix typo.
5103 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5105 * docs/libs/gstreamer-libs-sections.txt:
5106 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5107 (gst_base_transform_prepare_output_buffer),
5108 (gst_base_transform_set_gap_aware):
5109 * libs/gst/base/gstbasetransform.h:
5110 API: Add gst_base_transform_set_gap_aware() to control whether
5111 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5112 get buffers with this flag at all. Fixes #503231.
5114 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5116 * libs/gst/base/gstbasesink.c:
5117 * libs/gst/base/gstbasesrc.c:
5118 * libs/gst/base/gstbasetransform.c:
5119 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5120 thread. Correct log message in gstbasesrc.c.
5122 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5124 * gst/gstutils.c: (element_find_unconnected_pad):
5125 Fix possible compiler warning (#503417).
5127 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5129 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5130 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5132 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5134 * tools/gst-inspect.c: (print_element_properties_info):
5135 Add support for GstFraction properties.
5137 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5140 Add check-exports target and run it as part of 'make check'
5141 (see #499140 and #493983).
5143 * gst/gst_private.h:
5144 * gst/gstelementfactory.h:
5145 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5146 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5147 (_priv_gst_in_valgrind):
5148 * gst/gstinfo.h: (GstLogFunction):
5149 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5150 (gst_type_find_register):
5151 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5152 (gst_type_find_factory_get_type):
5153 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5154 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5155 (gst_controller_new_valist), (gst_controller_new_list),
5156 (_gst_controller_dispose), (_gst_controller_class_init):
5157 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5158 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5159 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5160 (gst_object_get_controller), (gst_object_set_controller),
5161 (gst_object_suggest_next_sync), (gst_object_sync_values),
5162 (gst_object_set_control_source), (gst_object_get_control_source),
5163 (gst_object_get_value_arrays), (gst_object_get_value_array),
5164 (gst_object_get_control_rate), (gst_object_set_control_rate):
5165 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5166 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5167 Make some functions that should be static static; rename some
5168 private symbols so that they don't get exported; add some FIXME
5169 comments so we can move accidentally exported functions into
5170 our private section in 0.11.
5172 * win32/common/libgstreamer.def:
5173 Add gst_utils_get_timestamp().
5175 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5179 Add more missing "Since:" tags to docs.
5181 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5184 Add mising "Since:" to docs.
5186 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5189 Include "glib-compat-private.h" to fix the build on system with
5190 glib < 2.10. Fixes #503131.
5192 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5196 Actually its not PURE as it gets the time from elsewhere.
5198 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5200 * docs/gst/gstreamer-sections.txt:
5202 * gst/gstdebugutils.c:
5206 * libs/gst/base/gstbasesink.c:
5207 * tools/gst-launch.c:
5208 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5209 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5210 Thanks Tim for spotting.
5211 API: gst_util_get_timestamp
5213 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5216 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5218 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5220 * gst/gststructure.c: (gst_structure_validate_name),
5221 (gst_structure_new_valist), (gst_structure_parse_value),
5222 (gst_structure_from_string):
5223 Don't crash in _from_string() if the structure name is not valid
5224 (fixes #501560). Allow structure names to start with a number
5225 again (this apparently broke the ubuntu codec installer).
5227 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5229 Add unit test for the crash; update unit tests for new behaviour.
5231 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5234 Clarify gst_element_get_compatible_pad() documentation.
5237 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5239 * tests/check/Makefile.am:
5240 Don't forget to dist {gst,libs}/struct_hppa.h.
5242 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5244 * libs/gst/base/gstbasesink.c:
5245 Use new API to get elapsed time.
5247 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5249 * gst/gstdebugutils.c:
5251 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5253 * tools/gst-launch.c:
5254 Use new API to get elapsed time.
5256 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5258 * docs/gst/gstreamer-sections.txt:
5260 * gst/gstdebugutils.c:
5262 Rename new API + ChangeLog surgery to remove old name from last entry..
5264 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5266 * docs/gst/gstreamer-sections.txt:
5268 * gst/gstdebugutils.c:
5270 Now hide the different clock stuff behind a macro.
5272 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5275 * gst/gstdebugutils.c:
5277 Apply the posix-timer check from #361155. Conditionally use the posix
5278 timer for logging. This gives better timestamp precission, less
5279 overhead and no ntp jitter.
5281 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5283 * gst/gstminiobject.c: (gst_mini_object_get_type),
5284 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5285 (gst_mini_object_finalize), (gst_mini_object_copy),
5286 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5287 (gst_mini_object_replace), (param_mini_object_validate),
5288 (gst_param_spec_mini_object_get_type):
5289 Some cleanup and checking against invalid function parameters.
5291 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5293 * docs/gst/gstreamer-sections.txt:
5295 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5296 (gst_systemclock_suite):
5297 Start merging in the easy bits of #361155, the monotonic clock patch.
5298 This one adds a few handy macros with docs and a testsuite.
5300 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5302 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5303 Be a bit smarter when seeking, like, don't try to do a seek when it's
5304 not needed. This avoids errors when the file is not seekable.
5307 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5309 * docs/gst/gstreamer-docs.sgml:
5310 * docs/gst/gstreamer-sections.txt:
5311 * docs/gst/gstreamer.types.in:
5316 * plugins/elements/gstqueue.c:
5317 Due to popular request remove preset interface again. :-(.
5319 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5321 * tools/gst-inspect.c:
5322 Print 'default value' for enums and flags too.
5324 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5326 * docs/random/ensonic/profiling.txt:
5330 Fix typo and give better log output.
5332 * gst/gstdebugutils.c:
5333 * gst/gstdebugutils.h:
5334 More ideas, make graphs a bit smaller and fix param name in macro.
5336 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5339 Try harder to use the return value from fgets().
5341 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5344 For theses two fgets we handle the error below.
5346 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5348 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5349 Only send upstream events upstream. Fixes #498746.
5351 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5353 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5355 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5356 (gst_identity_init), (gst_identity_transform_ip),
5357 (gst_identity_set_property), (gst_identity_get_property):
5358 * plugins/elements/gstidentity.h:
5359 Add property to disable handoff signal emission. Fixes #498694.
5360 API: GstIdentity::signal-handoffs
5362 2007-11-21 Julien Moutte <julien@fluendo.com>
5364 * docs/faq/gst-uninstalled: Yet another missing library for the
5365 uninstalled script (fft)
5367 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5369 * docs/faq/developing.xml:
5370 Add a question about how to submit new translations.
5372 * docs/random/release:
5373 Update the contact email address for the Translation Project
5375 * plugins/elements/gstfdsrc.c:
5376 The parent_class for fdsrc is pushsrc, not GstElement.
5378 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5381 Plug a leak and fix saving.
5383 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5385 * docs/gst/gstreamer-sections.txt:
5386 Add new gst_preset__get_property_names() function to the docs
5389 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5393 Change _get_preset_names API to return a strv with copies. Add
5394 _get_property_names to allow implementations to filter and provide
5395 good default implementation.
5397 2007-11-20 Julien MOUTTE <julien@moutte.net>
5399 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5402 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5405 More cleanups, docs, and TODOs from comments that now slowly come in.
5407 2007-11-19 Julien MOUTTE <julien@moutte.net>
5409 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5412 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5415 Fix bogus warning and make the property type specific code more
5418 2007-11-19 Julien MOUTTE <julien@moutte.net>
5420 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5423 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5425 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5426 (gst_bin_add_func), (gst_bin_remove_func),
5427 (gst_bin_change_state_func), (gst_bin_continue_func):
5428 Change email, cleanups add some more debug and comments.
5429 Also set bus and clock on new elements when the pipeline was in error.
5431 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5434 * gst/gstdebugutils.c:
5435 Fix build with --disable-gst-debug. Fixes #497859.
5436 Spotted by Sameer Naik.
5438 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5441 Little documentation improvment.
5444 More TODO cleanups. Remove c++ comments.
5446 * libs/gst/controller/gstcontroller.c:
5447 Add TODO and use quark from static string.
5449 * tests/check/gst/gstmessage.c:
5450 * tests/check/gst/gststructure.c:
5451 Use quark from static string.
5453 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5456 Add some comments and TODOs.
5459 Add padding for future changes.
5461 * plugins/elements/gstqueue.c:
5462 Implement the iface.
5464 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5466 * docs/gst/gstreamer-docs.sgml:
5467 * docs/gst/gstreamer-sections.txt:
5468 * docs/gst/gstreamer.types.in:
5473 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5475 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5481 === release 0.10.15 ===
5483 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5486 releasing 0.10.15, "October"
5488 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5490 * win32/vs6/libgstreamer.dsp:
5491 Convert line endings back to DOS.
5493 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5495 * docs/design/draft-tagreading.txt:
5496 * docs/random/ensonic/profiling.txt:
5497 Update fast tagreading draft and performance profiling ideas.
5499 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5501 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5502 Don't hold the object lock when unreffing a buffer because it could
5503 cause a deadlock when the finalize function wants to grab the object
5504 lock too. Fixes #495133.
5506 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5508 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5509 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5510 Also accumulate time correctly when doing reverse playback. Fixes
5512 When converting to running and stream time, use default values for
5513 start/stop/time/accum when comparing different formats. Fixes #494245.
5515 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5516 Do running/stream time in TIME format.
5518 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5519 (gst_segment_suite):
5520 2 new unit tests for segment accumulation.
5522 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5524 * gst/gst.c: (init_pre):
5525 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5526 (_gst_debug_bin_to_dot_file):
5527 Move getenv() back into gst_init, so everyone can live happily
5528 ever after. Make sure the symbol isn't exported though.
5530 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5532 Patch by: Sebastien Moutte <sebastien moutte net>
5534 * win32/common/gstenumtypes.c:
5535 * win32/common/gstenumtypes.h:
5538 * win32/vs6/libgstreamer.dsp:
5539 Update vs6 project files (#494343).
5541 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5543 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5544 (gst_base_src_perform_seek), (gst_base_src_default_event),
5545 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5546 (gst_base_src_activate_pull):
5547 Unify flushing code, remove some old unlock code that is no longer used.
5548 Take the streaming lock when seeking to avoid races. Fixes #492729.
5549 Added some more comments.
5551 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5553 * gst/gst.c: (_gst_disable_segtrap):
5554 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5555 we can use gst_segtrap_is_enabled() there now that we have that API.
5556 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5557 to do the getenv here (and export the variable).
5559 * gst/gstdebugutils.c: (debug_dump_element),
5560 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5561 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5563 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5564 (gst_debug_log_default):
5565 Rename _gst_info_start_time to priv_gst_info_start_time so it
5566 doesn't get exported (was never in any header).
5568 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5569 (gst_plugin_loading_mutex):
5570 Make static mutex gst_plugin_loading_mutex really static (was never
5571 in any header), and use gst_segtrap_is_enabled() instead of
5572 _gst_disable_segtrap.
5574 * gst/gsttrace.c: (_gst_trace_default):
5575 Make local _gst_trace_default static (was never in any header).
5577 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5579 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5581 * win32/common/libgstbase.def:
5582 * win32/common/libgstcontroller.def:
5583 * win32/common/libgstdataprotocol.def:
5584 * win32/common/libgstnet.def:
5585 * win32/common/libgstreamer.def:
5586 Add more missing symbols, remove some duplicates, and sort
5587 as the 'sort' command sorts it (partially fixes #493983).
5589 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5591 * gst/gstelement.c: (gst_element_set_state_func):
5592 Only change the state cookie if a different state was set on the
5593 element. See #492729.
5595 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5598 Remove unused and uninitialised type variables that were still
5599 exported for some reason (they were never in any header files
5602 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5604 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5605 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5606 (gst_base_sink_event), (gst_base_sink_get_position_last),
5607 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5608 (gst_base_sink_change_state):
5609 Don't try to report a 0 position when we don't know, return -1 and FALSE
5610 instead. This mostly happens when we are prerolling.
5611 Make sure we can report the right position before we post the ASYNC_DONE
5612 message so that a message handler can query position without races.
5614 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5615 (async_done_handoff), (async_done_func), (send_buffer),
5616 (async_done_eos_func), (gst_sinks_suite):
5617 Add two tests for the above.
5619 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5622 Update with new email address.
5624 * docs/design/part-TODO.txt:
5625 Add some more info about future pad-block and negotiation changes.
5627 * docs/design/part-buffering.txt:
5628 Add some ideas about buffering reporting.
5630 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5632 * tests/check/gst/gstobject.c:
5633 Disable silly racy test that always fails on this combination of CPU
5636 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5638 Patch by: Murray Cumming <murrayc@murrayc.com>
5641 Corrected the registration of the parent-set and parent-unset
5642 signals: The parameter is a GstObject, not a GObject (#493134).
5644 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5646 * gst/gst_private.h:
5655 Move declaration of private _gst_foo_initialize() functions into
5656 our private header file where they should have been all along.
5658 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5660 * docs/plugins/gstreamer-plugins-sections.txt:
5661 * gst/gstdebugutils.h:
5663 * plugins/elements/gstqueue.c:
5664 gtk-doc fixes; trailing-comma-in-enum fix.
5666 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5668 * gst/gst.c: (gst_deinit):
5669 Clean up on deinit (not the external ones though, doesn't seem to be
5670 needed for some reason).
5672 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5674 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5675 Remove __declspec(dllimport) for MSVC that was copied over into core
5676 from a plugin, obviously without ever having been tested (note the
5677 single underscore in _declspec in the initial commit), and that doesn't
5678 really make sense. See #492077.
5680 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5682 * gst/gst.c: (init_post):
5683 * gst/gstevent.c: (_gst_event_initialize):
5684 * gst/gstquery.c: (_gst_query_initialize):
5685 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5686 g_type_class_ref() other types as well, see #349410 and #64764.
5688 * gst/gstbuffer.c: (_gst_buffer_initialize):
5689 * gst/gstmessage.c: (_gst_message_initialize):
5690 Simplify existing g_type_class_ref().
5692 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5694 * gst/gstformat.c: (_gst_format_initialize):
5695 g_type_class_ref() our GstFormat type to make sure we avoid the
5696 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5697 bug #64764. Should fix intermittent tee unit test failures (#474823).
5699 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5701 * tests/check/elements/tee.c: (test_num_buffers):
5702 Simplify, simplify, simplify - or not. Rewrite unit test
5703 not to use gst_parse_launch(); allow N sub-streams. Increasing
5704 the number of sub-streams seems to reproduce #474823 more easily.
5706 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5708 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5711 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5712 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5713 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5714 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5715 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5716 so use _pipe() directly (#492077).
5718 * win32/common/dirent.c: (_treaddir):
5719 Add a couple of casts to make it build without warnings with MSVC.
5721 * win32/common/libgstreamer.def:
5722 Add some more symbols that need to be exported.
5724 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5726 * tests/examples/metadata/read-metadata.c: (message_loop):
5727 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5728 arriving in a second or third tag message are added to
5729 the tag list as well.
5731 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5733 * libs/gst/base/gstbasesrc.c:
5734 Its "Since:" and not "@Since:". And remove an superflous cast.
5736 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5738 * docs/libs/gstreamer-libs-sections.txt:
5739 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5740 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5741 (gst_base_sink_get_property), (gst_base_sink_render_object),
5742 (gst_base_sink_preroll_object),
5743 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5744 (gst_base_sink_change_state):
5745 * libs/gst/base/gstbasesink.h:
5746 Add a new last-buffer property that contains the last buffer used in
5747 basesink for preroll or rendering. useful for making snapshots.
5748 API: gst_base_sink_get_last_buffer()
5749 API: GstBaseSink::last-buffer
5751 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5753 * docs/gst/running.xml:
5755 * gst/gstdebugutils.c:
5756 * gst/gstdebugutils.h:
5757 * tools/gst-launch.c:
5758 Improve bin graph dumping, by using the envvar to specify a path.
5759 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5761 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
5763 * plugins/elements/gsttypefindelement.c:
5764 (gst_type_find_element_handle_event),
5765 (gst_type_find_element_activate):
5766 Post special error message if we can't determine the type of a stream
5769 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5771 * docs/gst/running.xml:
5772 * gst/gstdebugutils.c:
5773 Document new env-var. Add one log-line after dumpng a graph.
5775 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
5778 Ugly hack to put the (recently removed and non-portable, apparently)
5779 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5780 GNU ld, because without that 'make check' fails miserably on my debian
5781 stable box. Someone with more knowledge of linker intricacies and
5782 portability issues than me fix this properly please.
5784 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
5786 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5787 Reset last seen position after flushing so that we don't report the old
5790 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5792 * gst/gstelementfactory.c: (gst_element_register):
5794 Patch from Alessandro Decina adding get_type_full and
5795 get_protocols_full private vfuncs to the URIHandler interface
5796 to allow bindings to support creating URI handlers.
5797 Partially fixes: #339279
5798 API: GstURIHandlerInterface::get_type_full
5799 API: GstURIHandlerInterface::get_protocols_full
5801 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5803 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5804 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5805 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5806 Make it so that pads are considered linked until a buffer is pushed
5807 and discovered otherwise. This avoids problems with decodebin2 hanging
5808 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5811 Make sure we lock the multiqueue when updating the max-size properties.
5813 Fix a crash on Solaris in a debug statement in get_request_pad that
5814 passes a NULL string to GST_DEBUG.
5816 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5817 (run_output_order_test):
5818 Fix the test to allow the first buffer on not-linked pads to come out
5819 of sequence while multiqueue discovers that they are not-linked.
5821 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5824 * libs/gst/check/Makefile.am:
5825 Use a custom export symbol regex for libgstcheck, as it needs
5826 to export symbols that don't match the standard GStreamer gst_*
5827 pattern, and --export-dynamic is not portable (only works on
5830 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5831 (gst_check_setup_sink_pad):
5832 Make sure to pass a message parameter to the fail_* macros.
5834 * tests/check/gst/gstinfo.c: (GST_START_TEST):
5835 Fix some compiler warnings.
5837 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
5839 * tests/check/gst/gststructure.c: (test_to_string):
5840 Disable test that checks that white spaces are not allowed
5841 in structure names or field names, since we need to
5842 support that for now for backwards compatibility reasons.
5844 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5846 * docs/gst/gstreamer-sections.txt:
5849 API: add GST_TAG_ARTIST_SORTNAME
5850 API: add GST_TAG_ALBUM_SORTNAME
5851 API: add GST_TAG_TITLE_SORTNAME
5852 Add tag variants for sorting (#414539).
5854 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5856 * gst/gststructure.c:
5857 Also allow white space for names so we don't break
5858 backwards compatibility.
5860 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
5862 * docs/design/part-TODO.txt:
5863 * docs/design/part-segments.txt:
5864 * docs/design/part-streams.txt:
5867 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5869 * docs/gst/gstreamer-sections.txt:
5870 Fixed documentation from my previous commit (added new API add
5871 gst_value_set_structure(), add gst_value_get_structure() and
5872 GST_VALUE_HOLDS_STRUCTURE).
5874 2007-10-22 Stefan Kost <ensonic@users.sf.net>
5876 * gst/gstdebugutils.c:
5877 Reflow code to fix uninitialized variable warning.
5879 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5881 * gst/gstcaps.c: (gst_caps_to_string),
5882 (gst_caps_from_string_inplace):
5883 * gst/gststructure.c: (gst_structure_get_abbrs),
5884 (gst_structure_to_string), (gst_structure_from_string):
5885 * gst/gstvalue.c: (gst_value_set_structure),
5886 (gst_value_get_structure), (gst_value_serialize_structure),
5887 (gst_value_deserialize_structure), (_gst_value_initialize):
5889 * tests/check/gst/gststructure.c: (GST_START_TEST),
5890 (gst_structure_suite):
5891 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5892 Added GstStructure to gst_value_table and its related functions.
5893 Changed gst_structure_to_string to print ';' in the end.
5894 Changed gst_caps_to_string to not print ';' beteween its
5895 fields (structures) anymore and remove the lastes ';' from latest
5896 structure. Now it is possible to have nested structures.
5897 In addition, backward compatibilty is assured by accepting '\0' as
5898 end delimiter. Fixes: #487969.
5899 API: add gst_value_set_structure()
5900 API: add gst_value_get_structure()
5901 API: add GST_VALUE_HOLDS_STRUCTURE
5903 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
5906 When no GSource callback has been set up, tell developer
5907 to use a function that actually exists.
5909 2007-10-17 Stefan Kost <ensonic@users.sf.net>
5911 * docs/gst/gstreamer-sections.txt:
5915 * gst/gstdebugutils.c:
5916 * gst/gstdebugutils.h:
5919 * tools/gst-launch.c:
5920 Allow dumping pipelines as dot graphs. Fixes #456573.
5922 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5924 * gst/gststructure.c:
5925 Allow '+' as well, it can be part of media or mime types
5926 such as image/svg+xml.
5928 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5930 * docs/gst/gstreamer-sections.txt:
5933 API: add gst_bus_pop_filtered
5934 API: add gst_bus_timed_pop_filtered
5935 Two new functions for waiting for specific message types on the
5936 bus for a specified amount of time without iterating any main
5937 loops or main contexts.
5939 * tests/check/gst/gstbus.c:
5940 Some tests for the new functions.
5942 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5944 * docs/libs/gstreamer-libs-sections.txt:
5945 Make gtk-doc ignore stuff it should ignore.
5947 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5949 * libs/gst/check/gstcheck.c:
5950 * libs/gst/check/gstcheck.h:
5951 Allow runtime selection of unit tests to run via the GST_CHECKS
5952 environment variable (test case function names, comma-separated).
5954 2007-10-16 Stefan Kost <ensonic@users.sf.net>
5956 * gst/gststructure.c:
5957 * tests/check/gst/gststructure.c:
5958 Revert serialisation change and constrain structure-names after
5959 consensus on irc. Update api documentation to reflect the change.
5961 2007-10-16 Stefan Kost <ensonic@users.sf.net>
5963 * gst/gststructure.c:
5964 Improve serialization and fix tests.
5966 * tests/check/gst/gststructure.c:
5967 Add another test that covers why I actually did the previous structure
5970 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
5972 * tools/gst-inspect.c: (print_element_info):
5973 Don't crash when inspecting an element.
5975 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
5977 * tests/check/gst/gststructure.c:
5978 Add unit test for escaping of structure name when serialising
5979 and deserialising to/from strings.
5981 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
5983 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5984 (gst_single_queue_new):
5985 * plugins/elements/gstqueue.c: (gst_queue_init),
5986 (gst_queue_push_one):
5987 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
5988 upstream is tricked into thinking it can suggest a format downstream
5989 while downstream does not support that format. The real problem is that
5990 core calls acceptcaps when pushing a buffer with new caps, for which we
5991 do a little workaround by setting the caps on the srcpad ourselves
5992 before pushing the buffer (until this is figured out). Fixes #486758.
5994 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5996 * gst/gststructure.c:
5998 Add some more comments and debug output. Quote structure name to fix
5999 deserialisation of some strings.
6001 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6004 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6005 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6007 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6009 * tools/gst-inspect.c:
6010 Save approx. 400 1 byte allocs when printing. Use API to acces element
6016 * tools/gst-xmlinspect.c:
6017 Use API to acces element details.
6019 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6022 Fix some spelling errors.
6024 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6026 * gst/gstbin.c: (bin_handle_async_done):
6027 Correctly set the next state if all of our async children commited their
6028 state. This makes sure we can actually cancel the state change in
6029 progress. Fixes a regression in Rhythmbox when seeking.
6031 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6034 Don't shadow local variable.
6037 Don't shadow global function name.
6039 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6041 * gst/gstelementfactory.c:
6042 * gst/gstpluginfeature.c:
6043 * gst/gstpluginfeature.h:
6044 * gst/gstregistrybinary.c:
6045 * gst/gstregistryxml.c:
6046 * gst/gsttypefind.c:
6047 Use already-interned string for the private GstPluginFeature
6050 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6052 * docs/libs/gstreamer-libs-sections.txt:
6053 Add new API to docs; fixes the build.
6055 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6057 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6059 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6060 (gst_base_sink_event):
6061 * libs/gst/base/gstbasesink.h:
6062 Add function to wait for EOS, subclasses can use this to correctly wait
6063 for devices to drain before performing the EOS logic. Fixes #485343.
6064 API: gst_base_sink_wait_eos()
6066 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6069 Cast description string constants in GST_PLUGIN_DEFINE macros
6070 to a (gchar*) to make C++ code using these macros compile
6071 without warning with g++-4.2 (see #462737). Even if slightly
6072 ugly, this seems preferable to putting the description strings
6073 into the GLib quark table or making the structure member a
6074 const gchar * and doing casts in core code that allocs and
6075 frees these strings, or requiring a cast in the C++ code.
6077 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6080 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6081 to print the entire class/function signature into the log
6082 file for C++ code. This only affects C++ code, for C code
6083 everything remains the same.
6085 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6087 * gst/gstbin.c: (remove_from_queue):
6088 Work around a problem with pipelines containing (semi)loops until a
6089 proper, more complicated solution is ready. See #475455.
6091 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6095 * gst/gstregistrybinary.c:
6096 * gst/gstregistryxml.c:
6097 Put more strings into the GLib quark table. No need to keep
6098 a hundred-something copies of identical version strings,
6099 license strings, package name strings and package origin
6102 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6104 * docs/manual/advanced-dataaccess.xml:
6105 Don't imply that it's okay to unconditionally change
6106 buffer data or buffer metadata in a pad probe callback,
6107 and a bunch of other comments. Fixes #430031.
6109 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6111 * win32/common/gstenumtypes.c:
6112 * win32/common/gstenumtypes.h:
6113 * win32/common/gstversion.h:
6114 Update generated files.
6116 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6118 * docs/manual/advanced-autoplugging.xml:
6119 Prefix section with broken code with a warning (see #342432).
6121 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6123 * docs/manual/appendix-integration.xml:
6124 * docs/manual/basics-init.xml:
6125 Call g_thread_init() before g_option_context_new() to
6126 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6128 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6130 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6131 (gst_base_sink_queue_object_unlocked),
6132 (gst_base_sink_queue_object), (gst_base_sink_event),
6133 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6134 When we received EOS and are waiting for when to post the EOS message,
6135 our state is prerolled and we should not return ASYNC.
6136 Reorganize some code paths to implement this behavior.
6138 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6140 Add unit test to verify above EOS fix.
6142 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6144 * plugins/elements/gsttypefindelement.c:
6145 (gst_type_find_element_have_type), (gst_type_find_element_init),
6146 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6147 Move detecting the input caps of the sinkpad to the setcaps function.
6148 This allows us to update the output caps when we receive new input caps
6149 instead of always using the first detected caps.
6151 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6153 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6154 (gst_base_sink_get_position):
6155 Don't try to preroll non-async elements after a flush.
6156 Subtract latency form clock times when reporting position.
6158 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6160 * gst/gstpad.c: (gst_pad_pause_task):
6162 Small comment and documentation update.
6164 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6166 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6167 (gst_base_src_set_live), (gst_base_src_is_live),
6168 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6169 (gst_base_src_default_event), (gst_base_src_wait),
6170 (gst_base_src_do_sync), (gst_base_src_get_range),
6171 (gst_base_src_pad_get_range), (gst_base_src_loop),
6172 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6173 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6174 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6175 (gst_base_src_change_state):
6176 Rework the locking of basesrc in a similar fashion to basesink. We
6177 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6178 us to handle live sources and semi live ones much better.
6180 Fix unlocking when seeking, shutting down and pausing in live sources.
6182 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6184 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6185 Fix compilation again.
6187 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6190 Use meaningful categories for the logs to clean the default one.
6192 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6194 * tests/check/pipelines/cleanup.c:
6195 Print message name and not just number.
6197 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6199 * docs/design/draft-tagreading.txt:
6200 Add some more thoughts.
6202 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6204 * tests/check/pipelines/simple-launch-lines.c:
6205 Print message name and not just number.
6207 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6209 * libs/gst/base/gsttypefindhelper.c:
6210 Speedup typefinding. This is work in progress (see #459862).
6212 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6215 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6216 Spotted by Josep Torra Valles <josep@fluendo.com>.
6218 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6221 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6222 field has moved to GstObject.
6224 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6226 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6227 (gst_base_src_get_range), (gst_base_src_change_state):
6228 Call unlock for live sources so that they can't get stuck in _create and
6229 produce a buffer before they are set back to PLAYING.
6231 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6233 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6234 (gst_queue_locked_dequeue):
6235 Comment the segment-related code... in the PROPER function.
6236 See #482147 and my commit from yesterday.
6238 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6240 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6241 Also initialize the counter that calculates the first timestamp on a
6242 buffer correctly for non-live sources.
6244 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6246 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6247 Disable code that's breaking the current-time-level reporting.
6250 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6252 * docs/gst/gstreamer-sections.txt:
6253 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6254 as they shouldn't show up. Fixes the docs build.
6256 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6259 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6260 Define M_PI which is used in files which are including gstinfo.h.
6261 VS6 includes doesn't define it.
6262 * win32/common/libgstbase.def:
6263 * win32/common/libgstcontroller.def:
6264 * win32/common/libgstreamer.def:
6265 Add new exported functions and variables.
6266 * win32/vs6/libgstcontroller.dsp:
6267 * win32/vs6/libgstreamer.dsp:
6268 Update the list of files to build.
6270 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6272 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6274 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6275 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6276 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6277 Improve debugging. Fixes #480858.
6279 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6281 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6283 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6284 First patch of code cleanups, use the macros and right arguments in the
6285 macros to signal and lock the queue. See #480858.
6287 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6289 * gst/gstbus.c: (poll_func):
6290 Improve debugging when dealing with _poll().
6292 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6294 * gst/gstregistryxml.c:
6295 Fix memory leak I introduced a few days ago.
6297 2007-09-26 Michael Smith <msmith@fluendo.com>
6299 * gst/gstbuffer.c: (gst_buffer_finalize):
6300 Make it once again possible to free GstBuffers in the default
6302 The poisoning scribbles on parts of the miniobject we need in
6306 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6308 * docs/gst/gstreamer-sections.txt:
6311 API: add GST_TAG_COMPOSER, fixes #459809.
6313 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6317 Add the 3-clause BSD license and the MIT/X11 license to the license
6318 list. Fixes #479784.
6320 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6322 * docs/faq/getting.xml:
6323 Add Q+A about different GStreamer versions (#364056).
6325 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6327 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6328 (gst_base_sink_event), (gst_base_sink_change_state):
6329 Return correct gboolean from query function.
6331 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6333 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6334 (gst_base_sink_event), (gst_base_sink_query),
6335 (gst_base_sink_change_state):
6336 Simplify latency query.
6337 When not synchronizing, we can report latency without querying the peer
6340 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6344 Fix small typos in the docs.
6346 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6348 * docs/design/draft-latency.txt:
6349 * docs/design/draft-push-pull.txt:
6350 * docs/design/draft-tagreading.txt:
6351 * docs/design/part-MT-refcounting.txt:
6352 * docs/design/part-activation.txt:
6353 * docs/design/part-block.txt:
6354 * docs/design/part-element-source.txt:
6355 * docs/design/part-events.txt:
6356 * docs/design/part-gstbin.txt:
6357 * docs/design/part-gstelement.txt:
6358 * docs/design/part-gstobject.txt:
6359 * docs/design/part-gstpipeline.txt:
6360 * docs/design/part-messages.txt:
6361 * docs/design/part-preroll.txt:
6362 * docs/design/part-push-pull.txt:
6363 * docs/design/part-qos.txt:
6364 * docs/design/part-query.txt:
6365 * docs/design/part-scheduling.txt:
6366 * docs/design/part-seeking.txt:
6367 * docs/design/part-segments.txt:
6368 * docs/design/part-states.txt:
6369 Documentation updates and typo fixes.
6371 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6373 * plugins/elements/gstfakesink.c:
6374 Add some debug text to error message to indicate that
6375 we errored out on request.
6377 * tools/gst-launch.c:
6378 When the state change to PLAYING fails, check for an
6379 error message on the bus and print it.
6381 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6383 translated by: Jorge González González <aloriel@gmail.com>
6387 Added Spanish translation.
6389 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6391 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6392 Fix printf arguments.
6394 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6396 * tests/check/generic/states.c:
6397 Improved state change unit test.
6399 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6402 Move priv to the right place.
6404 * gst/gstsystemclock.c:
6405 Add FIXME: and improve log.
6407 * tests/check/Makefile.am:
6408 * tests/examples/manual/Makefile.am:
6409 Work with all types of registries.
6411 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6413 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6414 Don't unref the event after pushing it. Fixes #478401.
6416 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6419 * tests/examples/manual/.cvsignore:
6420 Ignore registries in any format.
6422 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6424 * gst/glib-compat-private.h:
6425 Add compatibility macro for g_intern_string() for
6426 GLib-2.8 (any reason we can't just bump the
6427 requirement to at least 2.10?)
6429 * gst/gstpadtemplate.h:
6430 * gst/gstelementfactory.c:
6431 * gst/gstregistryxml.c:
6432 * gst/gstregistrybinary.c:
6433 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6434 up the internal code accordingly. This shouldn't be a problem, since
6435 there is no reason external code could ever assume the string in such
6436 a structure is dynamically allocated unless it did that itself; the
6437 use of g_strdup() is private to element factories. The new code also
6438 saves some memory by putting pad template name strings into the GLib
6439 quark table instead of allocating them dynamically.
6440 Declaring this field constant fixes warnings with g++-4.2 when using
6441 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6443 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6445 * gst/gstelementfactory.c:
6446 Release static caps. Fixes #475723.
6448 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6452 Make some internal API take const gchar * instead of just
6453 gchar * to avoid compiler warnings with g++-4.2.2 when
6454 passing string constants (partially fixes #478092).
6456 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6458 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6459 A latency query fails when one of the sinks fail.
6461 * gst/gstelement.c: (gst_element_set_base_time):
6464 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6466 * gst/gstbin.c: (gst_bin_continue_func):
6467 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6468 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6469 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6471 Fix minor compilation warnings shown with Forte.
6473 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6475 * plugins/elements/gstqueue.c: (apply_buffer),
6476 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6477 Measure queue level based on the diff between head and tail timestamps
6478 even when pushing the first buffer.
6480 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6482 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6483 (gst_base_sink_event), (gst_base_sink_change_state):
6484 Sinks that don't preroll can always be queried for the latency.
6485 Don't post ASYNC start when we are not async.
6487 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6489 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6490 (gst_queue_handle_sink_event), (gst_queue_chain),
6491 (gst_queue_push_one), (gst_queue_handle_src_query),
6492 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6493 * plugins/elements/gstqueue.h:
6494 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6495 push more buffers but allow pushing of EOS and NEWSEGMENT.
6496 Add some more debug info here and there. Fixes #476514.
6498 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6500 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6501 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6502 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6503 (gst_base_sink_set_flushing), (gst_base_sink_query),
6504 (gst_base_sink_change_state):
6505 Latency query is allowed after we are prerolled. Introduce a new flag
6506 for this and stop abusing other variables.
6508 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6510 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6511 Push OOB events downstream when we get them in send_event. This allows
6512 the application to insert events in the pipeline.
6513 Add some more comments.
6515 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6517 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6518 (do_bin_latency), (gst_bin_change_state_func):
6519 * gst/gstpipeline.c: (gst_pipeline_change_state):
6520 Move latency query from GstPipeline to GstBin so that we can also
6521 use it when async-handling is enabled on bins.
6523 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6525 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6526 (gst_base_src_do_sync), (gst_base_src_change_state):
6528 Clean up the timestamping and syncing code for pseudo live sources.
6530 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6532 Patch by: Steve Fink <sphink gmail com>
6534 * docs/manual/appendix-checklist.xml:
6535 Mention less -R switch in the section about debug output (#474055).
6537 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6539 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6540 Queue can latency to the pipeline up to the configured max size in time.
6541 Report this fact in the latency query.
6543 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6545 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6547 * libs/gst/controller/gstinterpolation.c:
6548 * libs/gst/controller/gstlfocontrolsource.c:
6549 Use gst_guint64_to_gdouble() when converting from a uint64 or
6550 GstClockTime to double to fix the build on win32. Fixes #474371.
6552 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6554 * gst/gstbuffer.c: (gst_buffer_finalize):
6555 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6556 When finalizing a buffer the complete struct is filled with 0xff,
6557 thus making a use of the buffer after the final unref impossible.
6559 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6561 * tests/check/libs/controller.c: (GST_START_TEST):
6562 Use fail_unless_equals_int(a, b) instead of
6563 fail_unless_equals (a == b) to get better output on failures.
6565 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6567 * tests/check/gst/gsturi.c:
6568 Also check for the other file URI variant on win32.
6570 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6572 * gst/gsturi.c: (gst_uri_get_location):
6573 If there's no hostname, we want to return 'c:/foo/bar.txt'
6574 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6576 * tests/check/gst/gsturi.c:
6577 Unit test for the above and a few more things.
6579 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6581 * docs/design/part-live-source.txt:
6582 Add docs on how live sources should timestamp.
6584 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6585 Add some more debug info.
6586 For subclasses that are live and like to sync, add aditional startup
6587 latency to sync time and timestamps so that we timstamp according to the
6590 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6593 Also do a g_type_class_ref() for the subbuffer type in
6596 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6598 * docs/gst/gstreamer-sections.txt:
6599 * gst/gstpad.c: (gst_pad_peer_query):
6601 Add function to perform a query on the peer of a pad.
6602 API: gst_pad_peer_query()
6604 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6606 * tests/check/gst/gstsystemclock.c:
6607 Cleanup the test a little (use gst-logging and not g_message). Improve
6608 test to check if a wait reached the target.
6610 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6612 * docs/libs/gstreamer-libs-sections.txt:
6613 Add new API to docs and fix the build.
6615 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6617 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6618 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6619 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6620 (gst_base_src_get_property), (gst_base_src_do_sync):
6621 * libs/gst/base/gstbasesrc.h:
6622 Add property to make the basesrc timestamp buffers based on the current
6624 API: GstBaseSrc::do-timestamp
6625 API: gst_base_src_set_do_timestamp()
6626 API: gst_base_src_get_do_timestamp()
6628 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6630 * docs/random/release:
6631 Really make sure translations are up-to-date before
6632 a release (#465010).
6634 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6636 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6637 Always destroy the timer, also in error cases.
6639 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6641 * docs/manual/highlevel-xml.xml:
6642 Fix XML example code. Fixes #472714.
6644 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6646 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6647 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6648 (gst_base_sink_query):
6649 Protect eos and have_preroll with the OBJECT lock so we don't need to
6650 take the PREROLL lock when querying the latency. Fixes #473846.
6652 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6655 Give some log-messages a category.
6657 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6659 * gst/gststructure.c:
6660 (gst_structure_fixate_field_nearest_fraction):
6661 Fix fraction list fixation code. Take the fraction with the smallest
6662 difference with the target instead of the first one in the list.
6664 * tests/check/gst/gststructure.c: (GST_START_TEST),
6665 (gst_structure_suite):
6666 Added test to verify correct fraction list fixation behaviour.
6668 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6670 * win32/common/libgstreamer.def:
6671 Export gst_bus_add_signal_watch too.
6673 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6675 * docs/libs/gstreamer-libs-sections.txt:
6676 Add new methods to docs.
6678 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6679 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6680 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6681 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6682 * libs/gst/base/gstbasesink.h:
6683 Add ts-offset property to fine-tune the synchronisation.
6684 API: GstBaseSink::ts-offset property
6685 API: gst_base_sink_set_ts_offset()
6686 API: gst_base_sink_get_ts_offset()
6688 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6690 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6691 (gst_base_sink_init), (gst_base_sink_set_sync),
6692 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6693 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6694 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6695 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6696 (gst_base_sink_get_property), (gst_base_sink_change_state):
6697 * libs/gst/base/gstbasesink.h:
6698 Add async property to instruct the sink never to inform the parent about
6699 ASYNC state changes, update docs.
6700 Check argument with g_return_* for the public functions.
6701 API: GstBaseSink::async property
6702 API: gst_base_sink_set_async_enabled()
6703 API: gst_base_sink_is_async_enabled()
6705 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6707 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6710 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6711 (gst_base_src_default_query), (gst_base_src_wait),
6712 (gst_base_src_do_sync), (gst_base_src_change_state):
6713 Rearrange some code so that we can add support for measuring the
6716 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6718 * docs/random/ensonic/dynlink.txt:
6719 More thoughs on this.
6721 * plugins/elements/gstcapsfilter.c:
6722 Add bugzilla ticket number to FIXME comment.
6724 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6726 * docs/design/part-TODO.txt:
6727 * docs/design/part-block.txt:
6730 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6733 Revert patch which uses $(gst_headers) instead of $^ because it
6736 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6738 * tests/check/gst/gstbin.c: (GST_START_TEST):
6739 Fix leaks in the new unit test.
6741 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6744 Don't use GST_INFO before the debug system is actually initialised
6745 (shouldn't do any harm, but won't print anything either, so we can
6746 just as well remove it).
6749 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6750 compilers that don't support variadic macros (such as MSVC), should
6751 check for debug_level <= __gst_debug_min as well, since that's the
6752 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6753 inline helper functions. Should improve performance a bit, but also
6754 makes sure uses of GST_INFO et.al are ignored if the debugging
6755 system isn't initialised yet (instead of printing an assertion
6758 2007-08-23 Stefan Kost <ensonic@users.sf.net>
6760 patch by: David Nečas <yeti@physics.muni.cz>
6763 Replace some non portable makefile constructs.
6765 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6767 * common/gtk-doc-plugins.mak:
6768 Grrrrr. Don't remove the types file on make clean.
6770 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6772 * tools/gst-launch.1.in:
6773 Add colorspace to example pipeline. Fixes #458274.
6775 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
6777 * docs/random/release:
6778 The release manager should run 'make download-po' before making a
6779 release to make sure translations are up-to-date.
6785 Add some new translations.
6787 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
6789 * tools/gst-launch.c: (event_loop), (main):
6790 Don´t try to do any state management when a live pipeline posts
6792 Also make the buffering string translatable.
6794 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6796 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6797 (bin_handle_async_start), (gst_bin_handle_message_func):
6799 When adding elements, insert messages into the bus of the newly added
6800 element and make sure the element is the source of the message. This
6801 allows the parent bin to intercept the message and do the
6802 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6803 messages to the app (which is not allowed).
6806 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6807 Fix testsuite so that is does not work around messages that should not
6808 have been posted in the first place.
6810 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6812 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6813 (update_degree), (gst_bin_sort_iterator_next):
6814 Fix annoying bug in the sorted iterator where a sink that is not really
6815 a sink (when it has downstream links) screwed up the iterator.
6817 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6818 Unit test to verify the fix.
6820 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6823 Add some more docs for the messages.
6825 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6826 (gst_base_sink_query):
6827 Add some more debugging.
6829 * tools/gst-launch.c: (event_loop):
6830 When interrupting, don't try to set pipeline to PAUSED twice.
6832 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6835 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6836 (bin_handle_async_start), (gst_bin_handle_message_func):
6837 Move ASYNC_START message posting to where it belongs, similar to
6839 Don't post ASYNC_START when we are in error.
6840 Post ASYNC_START when we added an async element to a bin.
6842 2007-08-14 Julien MOUTTE <julien@moutte.net>
6844 * gst/gstindex.c: (gst_index_add_association): Fix index entry
6845 generation from vargs. Fixes #466595.
6847 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6849 * gst/gstbin.c: (gst_bin_element_set_state):
6850 Always change the state of a NO_PREROLL element even if it has ASYNC
6851 elements inside (in case of a bin).
6853 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6854 Unit test for this case.
6856 2007-08-13 Stefan Kost <ensonic@users.sf.net>
6858 * libs/gst/check/gstbufferstraw.c:
6859 * libs/gst/check/gstcheck.h:
6860 * libs/gst/controller/gstcontroller.c:
6861 * libs/gst/controller/gstcontrolsource.h:
6862 * libs/gst/controller/gstlfocontrolsource.h:
6863 * plugins/elements/gstcapsfilter.h:
6864 * plugins/elements/gstfdsink.h:
6865 * plugins/elements/gstfdsrc.h:
6866 Add more missing docs.
6868 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6870 * gst/gststructure.c:
6871 Add Since tag to docs.
6873 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6875 * docs/gst/gstreamer-sections.txt:
6876 * gst/gststructure.c: (gst_structure_get_uint):
6877 * gst/gststructure.h:
6878 Add function to get uint from a structure.
6879 API: gst_structure_get_uint()
6881 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6883 * gst/gstcaps.c: (gst_caps_set_simple_valist),
6884 (gst_caps_intersect):
6885 Fix proper check for simple caps.
6887 2007-08-10 Stefan Kost <ensonic@users.sf.net>
6889 * docs/gst/Makefile.am:
6890 * docs/libs/Makefile.am:
6891 Remove cruft and do some cleanups.
6893 * docs/gst/gstreamer-docs.sgml:
6894 * docs/libs/gstreamer-libs-docs.sgml:
6895 Prepare for comming gtkdoc features (rebase against online docs).
6897 2007-08-10 Michael Smith <msmith@fluendo.com>
6899 * docs/gst/gstreamer-sections.txt:
6900 Add gst_registry_add_path to docs.
6902 2007-08-10 Michael Smith <msmith@fluendo.com>
6904 * gst/gstregistry.h:
6905 Add gst_registry_add_path, which was missing from this header.
6907 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
6909 * libs/gst/controller/gstlfocontrolsource.c:
6912 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
6914 * libs/gst/base/gstbasesink.c:
6915 Don't send an async_start message during downwards state change if
6916 target state is less than READY
6918 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6920 translated by: Gabor Kelemen <kelemeng@gnome.hu>
6924 Added Hungarian translation.
6926 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6933 Updated translations.
6935 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6937 * libs/gst/controller/Makefile.am:
6938 Dist gstlfocontrolsourceprivate.h
6940 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6942 * docs/libs/gstreamer-libs.types:
6943 Don't register the enum type gst_lfo_waveform_get_type() in the
6944 .types file - only GObject derived types belong.
6946 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
6948 Patch by: <arenevier at fdn dot fr>
6951 Remove comma from last element in enum to avoid compile errors when
6952 using -pendantic. Fixes #464366.
6954 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
6956 * docs/design/part-TODO.txt:
6957 Add some more TODO items
6959 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
6962 * gst/gstcaps.c: (gst_caps_intersect):
6963 Optimize trivial intersection case between identical caps pointers.
6965 * gst/gstelement.c: (gst_element_continue_state),
6966 (gst_element_set_state_func):
6968 Fix spelling and grammar mistakes.
6970 2007-08-05 Stefan Kost <ensonic@users.sf.net>
6974 Update POTFILES. Fixes #461599.
6976 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
6979 Fix confusing typo in debug output.
6981 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
6983 reviewed by: Stefan Kost <ensonic@users.sf.net>
6985 * libs/gst/controller/Makefile.am:
6986 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
6987 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
6988 (gst_lfo_control_source_new),
6989 (gst_lfo_control_source_set_waveform),
6990 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
6991 (gst_lfo_control_source_finalize),
6992 (gst_lfo_control_source_dispose),
6993 (gst_lfo_control_source_set_property),
6994 (gst_lfo_control_source_get_property),
6995 (gst_lfo_control_source_class_init):
6996 * libs/gst/controller/gstlfocontrolsource.h:
6997 * libs/gst/controller/gstlfocontrolsourceprivate.h:
6998 API: Add GstLFOControlSource, a control source that gives values
6999 for specific timestamps based on several periodic waveforms.
7002 * tests/check/libs/controller.c: (GST_START_TEST),
7003 (gst_controller_suite):
7004 * docs/libs/gstreamer-libs-docs.sgml:
7005 * docs/libs/gstreamer-libs-sections.txt:
7006 * docs/libs/gstreamer-libs.types:
7007 Add documentation and unit tests for GstLFOControlSource.
7009 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7014 === release 0.10.14 ===
7016 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7019 releasing 0.10.14, "Breathing Vacuum"
7021 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7023 * gst/gstelement.c: (gst_element_class_set_details_simple):
7025 Make strings passed to gst_element_class_set_details_simple()
7026 constant, as they should be (#462752).
7028 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7030 * gst/gstbin.c: (gst_bin_change_state_func),
7031 (bin_handle_async_done), (gst_bin_handle_message_func):
7032 Don't forget about the fact that some element went ASYNC even after a
7033 resync. This makes us post the ASYNC_DONE message correctly.
7036 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7038 * gst/gstregistry.c: (gst_registry_add_feature):
7039 When replacing an existing feature in the registry, make sure to
7040 continue holding a reference until we've replaced the name string
7041 within our feature hash table. Make sure to use g_hash_table_replace
7042 instead of g_hash_table_insert to ensure the new name string is used
7043 as a key instead of the old one that we're about to free.
7046 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7048 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7049 (gst_plugin_feature_set_name):
7050 Revert patch from #459466 until after the release and we can work
7051 out exactly what the problem is (if any).
7053 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7055 * docs/gst/gstreamer-sections.txt:
7058 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7060 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7062 * docs/libs/Makefile.am:
7063 Include our build-prefix libs and includes before the generic ones to
7064 avoid linking against the installed libs when we want the build-tree
7067 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7069 Patch by: Steve Fink <sphink gmail com>
7071 * docs/pwg/building-testapp.xml:
7072 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7073 if people try to build or install the example from the plugin
7074 template against a GStreamer from package using the configure
7077 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7079 Patch by: Steve Fink <sphink gmail com>
7081 * tools/gst-inspect.1.in:
7082 Document --print-all and --print-plugin-auto-install-info command
7083 line options in man page.
7085 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7087 * docs/gst/gstreamer-sections.txt:
7088 Add docs for new api function.
7090 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7092 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7093 * gst/gstelementfactory.h:
7094 API: gst_element_factory_has_interface()
7095 Added method to check if an element factory implements a named
7098 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7101 * docs/gst/gstreamer.types.in:
7102 Another conditional doc check.
7105 * gst/gstparamspecs.h:
7106 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7111 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7113 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7114 (gst_registry_binary_load_feature),
7115 (gst_registry_binary_load_plugin),
7116 (gst_registry_binary_read_cache):
7117 Print error just once and with additional info.
7119 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7121 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7122 (helper_find_suggest), (helper_find_get_length),
7123 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7124 (gst_type_find_helper_for_buffer):
7125 Cleanup the typefindhelper code and add private doc comments.
7127 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7129 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7130 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7131 Fix capsfilter for cases where the caps set on capsfilter will provide
7132 additional information.
7135 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7137 * gst/gsttypefindfactory.c:
7138 Fix docs that recommened wrong function to use.
7140 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7142 * tools/gst-inspect.c: (print_plugin_features):
7143 Also give media-type for typefinders in element output.
7145 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7147 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7148 (gst_registry_remove_features_for_plugin_unlocked),
7149 (gst_registry_add_feature), (gst_registry_remove_feature),
7150 (gst_registry_lookup_feature_locked):
7151 * gst/gstregistry.h:
7152 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7155 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7157 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7158 (gst_plugin_feature_set_name):
7159 Avoid double memory usage for pluginfeature names. Fixes #459466.
7161 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7164 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7165 driving the pipeline may need to explicitly check for NOT_LINKED as
7166 well, since IS_FATAL doesn't cover that.
7168 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7170 * docs/pwg/advanced-types.xml:
7171 Fix typo and duplicate entry in video formats list.
7173 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7175 * libs/gst/controller/gstinterpolation.c:
7176 Also round to the nearest int when using cubic interpolation.
7178 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7180 * libs/gst/controller/gstinterpolation.c:
7181 When linearly interpolating integer types, round to the nearest int
7182 by adding 0.5. Don't do it for float/double types.
7183 Fixes the failing controller test on my machine, which is somehow
7184 rounding differently than on the buildbots.
7186 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7188 * tools/gst-plot-timeline.py:
7189 Better log parsing (categories can have -). Adjust text vs. lines, so
7190 that they span the same y-range.
7192 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7194 * docs/random/ensonic/audiobaseclasses.txt:
7195 * docs/random/ensonic/dynlink.txt:
7196 * docs/random/ensonic/profiling.txt:
7199 * docs/random/moving-plugins:
7200 Add note to use g_assert type macros.
7202 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7205 * libs/gst/check/Makefile.am:
7206 Add libm check as we use in for plugins.
7208 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7210 * gst/gstbin.c: (gst_bin_continue_func):
7211 Check that the state_cookie hasn't changed since the continue_func
7212 was scheduled. Avoids problems where the state changes back to
7213 something it shouldn't be because it was changed in the meantime.
7215 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7217 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7218 (gst_registry_binary_save_string),
7219 (gst_registry_binary_save_pad_template),
7220 (gst_registry_binary_save_feature),
7221 (gst_registry_binary_save_plugin),
7222 (gst_registry_binary_load_feature),
7223 (gst_registry_binary_load_plugin),
7224 (gst_registry_binary_read_cache):
7225 Fix memory leak. Be less verbose in the log.
7227 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7229 * tests/check/elements/.cvsignore:
7230 Add file to cvsignore as commanded.
7232 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7234 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7235 (mq_dummypad_event), (run_output_order_test):
7236 Use a GStaticMutex to protect all cases where libcheck
7237 fail_if/fail_unless macros might be called from multiple threads
7238 simultaneously to avoid errors like:
7239 "check_pack.c:107: :-1081725400:Bad message type arg"
7241 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7243 * tests/check/pipelines/stress.c: (GST_START_TEST):
7244 Make sure we set the pipeline back to the NULL state before
7245 dropping our final reference.
7247 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7249 * tests/check/elements/tee.c: (GST_START_TEST):
7250 Make the tee stress-test a little less stressful so it doesn't just
7251 time out on slow-machines, and remove a small race when it's starting
7252 up by adding a get_state() call.
7254 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7257 Avoid reading registry twice on startup. Fixes #457322.
7259 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7261 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7262 * pkgconfig/gstreamer-check.pc.in:
7263 Substitute the CFLAGS for libcheck into our .pc file too so that
7264 dependent modules will pick it up properly if libcheck is installed
7265 into some other prefix.
7267 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7270 Revert the pkg-config check for libcheck, since it pulls in the
7271 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7272 a proper solution, either from the check project, or something else.
7274 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7277 Use pkg-config to locate check.
7279 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7286 Add deprecation guards.
7288 * libs/gst/base/gstcollectpads.h:
7289 Don't document object (this is implicitly private).
7291 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7293 * gst/gststructure.c: (gst_structure_parse_value):
7294 When deserialising foo=bar without a type cast, check if it's a
7295 boolean before falling back to a string type, otherwise things like
7296 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7297 because the filtercaps end up having a signed=(string)true field,
7298 which causes problems later when intersection caps.
7300 * tests/check/gst/gststructure.c: (GST_START_TEST):
7301 Add a unit test for this.
7303 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7305 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7307 * libs/gst/controller/Makefile.am:
7308 * libs/gst/controller/gstcontroller.c:
7309 (gst_controlled_property_add_interpolation_control_source),
7310 (gst_controlled_property_new), (gst_controlled_property_free),
7311 (gst_controller_find_controlled_property),
7312 (gst_controller_new_valist), (gst_controller_new_list),
7313 (gst_controller_new), (gst_controller_remove_properties_valist),
7314 (gst_controller_remove_properties_list),
7315 (gst_controller_remove_properties),
7316 (gst_controller_set_property_disabled),
7317 (gst_controller_set_disabled), (gst_controller_set_control_source),
7318 (gst_controller_get_control_source), (gst_controller_get),
7319 (gst_controller_sync_values), (gst_controller_get_value_array),
7320 (_gst_controller_dispose), (gst_controller_get_type),
7321 (gst_controlled_property_set_interpolation_mode),
7322 (gst_controller_set), (gst_controller_set_from_list),
7323 (gst_controller_unset), (gst_controller_unset_all),
7324 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7325 * libs/gst/controller/gstcontroller.h:
7326 * libs/gst/controller/gstcontrollerprivate.h:
7327 * libs/gst/controller/gstcontrolsource.c:
7328 (gst_control_source_class_init), (gst_control_source_init),
7329 (gst_control_source_get_value),
7330 (gst_control_source_get_value_array), (gst_control_source_bind):
7331 * libs/gst/controller/gstcontrolsource.h:
7332 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7333 (gst_object_get_control_source):
7334 * libs/gst/controller/gstinterpolation.c:
7335 (gst_interpolation_control_source_find_control_point_node),
7336 (gst_interpolation_control_source_get_first_value),
7337 (_interpolate_none_get), (interpolate_none_get),
7338 (interpolate_none_get_boolean_value_array),
7339 (interpolate_none_get_enum_value_array),
7340 (interpolate_none_get_string_value_array),
7341 (_interpolate_trigger_get), (interpolate_trigger_get),
7342 (interpolate_trigger_get_boolean_value_array),
7343 (interpolate_trigger_get_enum_value_array),
7344 (interpolate_trigger_get_string_value_array):
7345 * libs/gst/controller/gstinterpolationcontrolsource.c:
7346 (gst_control_point_free), (gst_interpolation_control_source_reset),
7347 (gst_interpolation_control_source_new),
7348 (gst_interpolation_control_source_set_interpolation_mode),
7349 (gst_interpolation_control_source_bind),
7350 (gst_control_point_compare), (gst_control_point_find),
7351 (gst_interpolation_control_source_set_internal),
7352 (gst_interpolation_control_source_set),
7353 (gst_interpolation_control_source_set_from_list),
7354 (gst_interpolation_control_source_unset),
7355 (gst_interpolation_control_source_unset_all),
7356 (gst_interpolation_control_source_get_all),
7357 (gst_interpolation_control_source_get_count),
7358 (gst_interpolation_control_source_init),
7359 (gst_interpolation_control_source_finalize),
7360 (gst_interpolation_control_source_dispose),
7361 (gst_interpolation_control_source_class_init):
7362 * libs/gst/controller/gstinterpolationcontrolsource.h:
7363 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7364 API: Refactor GstController into the core controller which can take
7365 a GstControlSource for providing actual values for timestamps.
7366 Implement a interpolation control source and use this for backward
7367 compatibility, deprecate a bunch of functions that are now handled
7368 by GstControlSource or GstInterpolationControlSource.
7369 Make it possible to disable the controller completely or only for
7370 specific properties. Fixes #450711.
7371 * docs/libs/gstreamer-libs-docs.sgml:
7372 * docs/libs/gstreamer-libs-sections.txt:
7373 * docs/libs/gstreamer-libs.types:
7374 Add new functions and classes to the docs.
7375 * tests/check/libs/controller.c: (GST_START_TEST),
7376 (gst_controller_suite):
7377 * tests/examples/controller/audio-example.c: (main):
7378 Port unit test and example to the new API and add some new
7381 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7383 Patch by: Mark Nauwelaerts <manauw at skynet be>
7385 * plugins/elements/gstmultiqueue.c:
7386 (gst_multi_queue_get_internal_links), (apply_buffer),
7387 (single_queue_overrun_cb), (gst_single_queue_new):
7388 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7389 the pipeline layout can be tracked correctly. Fixes #453732.
7391 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7393 * docs/gst/Makefile.am:
7394 * docs/libs/Makefile.am:
7395 * docs/plugins/Makefile.am:
7396 Simplify --extra-dir as gtkdoc scans recursively.
7398 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7400 * tools/gst-launch.c: (main):
7401 When we got an error, there is no point in waiting for preroll when
7404 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7406 * plugins/elements/gsttee.c: (gst_tee_base_init),
7407 (gst_tee_request_new_pad), (gst_tee_release_pad),
7408 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7409 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7411 Be a lot smarter when deciding what srcpad to use for proxying
7412 the buffer_alloc. Also handle pad added/removed when doing so.
7414 Keep track of what pads we already pushed on in case we have pads
7415 added/removed while pushing. Fixes #374639
7417 * tests/check/Makefile.am:
7418 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7420 Added unit test for pad resync.
7422 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7426 Updated translations.
7428 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7430 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7434 Added new Finnish translation.
7436 2007-06-28 Wim Taymans <wim@fluendo.com>
7438 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7439 (single_queue_overrun_cb):
7440 When figuring out when a queue is filled, use our internal time estimate
7441 based on segments, just like check_full does.
7443 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7445 * gst/gstminiobject.c: (gst_mini_object_get_type):
7446 Remove 3 do-nothing methods.
7448 2007-06-27 Wim Taymans <wim@fluendo.com>
7450 Patch by: Tim Angus <tim at ngus dot net>
7452 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7453 (gst_capsfilter_set_property):
7454 Take a reference instead of a copy when setting "caps".
7455 Fix documentation to clarify this behaviour. Fixes #449414.
7457 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7459 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7460 * gst/gstplugin.c: (gst_plugin_init):
7461 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7462 * gst/gstquery.c: (gst_query_get_type):
7463 * gst/gstregistry.c: (gst_registry_init):
7464 * gst/gsturi.c: (gst_uri_handler_base_init):
7465 Remove empty instance_init() functions to save relocs and lessen the
7466 noise. Remove some of the function prototypes that are doubled by
7469 2007-06-27 Wim Taymans <wim@fluendo.com>
7471 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7473 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7474 Add peer and direction in the XML serialisation of ghostpads.
7477 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7480 Preserve useful information, thanks Tim.
7482 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7484 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7485 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7486 (gst_single_queue_push_one), (gst_multi_queue_loop),
7487 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7488 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7489 (compute_high_id), (gst_single_queue_new):
7490 * plugins/elements/gstmultiqueue.h:
7491 Take the multiqueue lock when updating the fill level so we don't get
7494 After applying a buffer or event on the src pad segment, make sure to
7495 call gst_data_queue_limits_changed() to get the data queue to unblock
7496 and check the filled state again.
7498 Rework the not-linked pad handling so the logic is that not-linked
7499 pads can push as fast as they like, but only so they never get
7500 ahead of any linked pads.
7502 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7503 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7504 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7506 Add a test to check that not-linked pads always stay behind
7511 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7513 * docs/random/release:
7514 Some updates to the release procedure.
7516 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7518 * gst/gstelementfactory.c: (__gst_element_details_clear):
7519 Microoptimization that saves stunning 80 bytes.
7521 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7523 * docs/plugins/gstreamer-plugins.args:
7524 * docs/plugins/inspect/plugin-coreelements.xml:
7525 * docs/plugins/inspect/plugin-coreindexers.xml:
7526 Update docs with caps info.
7528 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7531 Updated Italian translation.
7533 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7537 Update Vietnamese translations.
7539 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7541 * libs/gst/base/gstbasesink.c:
7542 Remove unused signal enum.
7544 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7546 * docs/gst/gstreamer-sections.txt:
7548 * gst/gstutils.c: (gst_type_register_static_full):
7549 Beef up and include the docs for gst_type_register_static_full and
7550 gst_element_class_set_details_simple and add the API keyword
7553 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7555 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7556 (update_time_level), (gst_single_queue_push_one),
7557 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7558 (single_queue_overrun_cb), (single_queue_underrun_cb),
7559 (single_queue_check_full):
7560 Fix setting max-* properties after adding queues.
7561 Use IS_FILLED for checking visible items.
7562 Signal overrun if multiple queues overrun.
7563 Add extra debug output.
7564 Patch by: Wim Taymans <wim@fluendo.com>
7566 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7568 * gst/gstelement.c: (gst_element_class_set_details_simple):
7570 * gst/gstutils.c: (gst_type_register_static_full):
7572 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7573 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7574 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7575 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7576 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7577 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7578 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7579 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7580 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7581 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7582 (apply_buffer), (gst_queue_chain):
7583 * plugins/elements/gsttee.c: (gst_tee_base_init):
7584 * plugins/elements/gsttypefindelement.c:
7585 (gst_type_find_element_base_init),
7586 (gst_type_find_element_class_init):
7587 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7588 API: add gst_type_register_static_full
7589 API: add gst_element_class_set_details_simple
7591 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7593 * docs/pwg/advanced-types.xml:
7594 Fix typo in iana.org URI.
7596 2007-06-19 Andy Wingo <wingo@pobox.com>
7598 * tests/check/pipelines/simple-launch-lines.c
7599 (test_state_change_returns): Enable pull-mode tests now that
7600 basesink has been fixed.
7602 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7603 Changed from gst_base_sink_is_prerolled, reversing the sense of
7604 the return value. Returns FALSE also if the sink is in pull mode,
7605 in which case it needs no preroll.
7606 (gst_base_sink_query, gst_base_sink_change_state): Update for
7607 needs_preroll change.
7608 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7609 chaining up, in which we return SUCCESS directly if we activated
7610 in pull mode instead of ASYNC. Involves countering an async_start
7611 message sent before chaining up; not sure if this is correct, in
7612 an ideal world we only send async-start when activating in push
7615 * tests/check/pipelines/simple-launch-lines.c
7616 (test_state_change_returns): New test, partially disabled until
7619 2007-06-19 Wim Taymans <wim@fluendo.com>
7621 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7622 (gst_multi_queue_sink_event):
7625 2007-06-19 Wim Taymans <wim@fluendo.com>
7627 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7628 (gst_bin_change_state_func), (bin_push_state_continue),
7629 (bin_handle_async_start), (bin_handle_async_done),
7630 (gst_bin_handle_message_func):
7631 Move the common code for posting state-change messages into
7633 Broadcast the state signal after we posted the messages.
7634 Mark the bin as busy when it's doing a state-change.
7635 Make sure async-start/done messages don't interfere with the bin's
7636 state when it's busy.
7637 After the state change, let the bin check which elements completed the
7638 state change while it was busy so that it can update its state.
7640 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7642 * docs/random/release:
7643 Add a note about updating the doap file to the release checklist
7645 2007-06-18 Wim Taymans <wim@fluendo.com>
7647 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7648 (gst_single_queue_push_one), (gst_multi_queue_chain),
7649 (gst_multi_queue_sink_event):
7650 Make sure we don't reference the buffer/event after we have given away
7651 ownership in the queue.
7653 2007-06-18 Wim Taymans <wim@fluendo.com>
7655 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7656 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7657 Update queue state _after_ adding the item in the queue because else we
7658 could end up being full without the element added yet.
7660 2007-06-18 Wim Taymans <wim@fluendo.com>
7662 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7663 (gst_bin_remove_func), (gst_bin_get_state_func),
7664 (gst_bin_element_set_state), (gst_bin_continue_func),
7665 (bin_push_state_continue), (bin_handle_async_start),
7666 (bin_handle_async_done), (gst_bin_handle_message_func):
7668 Immediatly commit the toplevel bin state when receiving an async-done
7669 message. This enables us to avoid spawning a thread to commit the state
7670 in some common cases and it also avoids some races.
7671 Avoid spawning a state thread when adding/removing async elements to a
7672 toplevel bin. Instead we immediatly update the bin state.
7673 Get rid of iterating all the children when getting the state in the bin
7674 because it is now always up-to-date.
7675 Fix bug where locked elements would always return _SUCCESS even it they
7676 returned NO_PREROLL before being locked.
7677 Fix the order of the state_change, async-start/done messages that was
7678 sometimes incorrect.
7679 Mark the state_dirty field as deprecated, we don't need it anymore as we
7680 are always up-to-date.
7682 * gst/gstelement.c: (gst_element_get_state_func),
7683 (gst_element_continue_state):
7684 Small debug inprovements.
7685 Return the previous element state return when nothing is pending instead
7686 of blindly returning SUCCESS.
7688 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7690 Add a whole bunch of new testcases.
7692 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7696 Update translations.
7698 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7701 Fix typo in the docs.
7703 2007-06-15 Wim Taymans <wim@fluendo.com>
7705 * docs/libs/gstreamer-libs-sections.txt:
7706 Add docs for new methods.
7708 2007-06-15 Wim Taymans <wim@fluendo.com>
7710 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7711 (gst_multi_queue_item_new):
7712 Don't use GSlice because we don't depend on >= 2.10 yet.
7714 2007-06-15 Wim Taymans <wim@fluendo.com>
7716 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7717 (update_time_level), (apply_segment), (apply_buffer),
7718 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7719 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7720 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7721 (single_queue_underrun_cb), (single_queue_check_full):
7722 Remove debug printf.
7724 2007-06-15 Wim Taymans <wim@fluendo.com>
7726 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7727 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7728 (gst_data_queue_set_flushing), (gst_data_queue_push),
7729 (gst_data_queue_pop), (gst_data_queue_drop_head),
7730 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7731 * libs/gst/base/gstdataqueue.h:
7733 Added methods to get the current levels and to inform the queue that the
7734 'full' limits changed.
7736 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7737 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7738 (gst_single_queue_flush), (update_time_level), (apply_segment),
7739 (apply_buffer), (gst_single_queue_push_one),
7740 (gst_multi_queue_item_steal_object),
7741 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7742 (gst_multi_queue_loop), (gst_multi_queue_chain),
7743 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7744 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7745 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7746 (single_queue_underrun_cb), (single_queue_check_full),
7747 (gst_single_queue_new):
7748 Keep track of time in the queue by measuring the difference between
7749 running_time on input and output. This gives more accurate results and
7750 can compensate for segments correctly.
7751 Make a queue by default only 5 buffers deep. We will now increase the
7752 buffer size depending on the filledness of the other queues.
7753 Factor out commong flush code.
7754 Make sure we don't add additional refcounts to buffers when we can avoid
7756 Propagate GstFlowReturn differently.
7757 Use GSlice for intermediate GstMultiQueueItems.
7759 Resize queues on over and underruns based on filled level of other
7761 When checking if the queue is filled, prefer to measure in time if we
7762 can and fall back to bytes when no time is known.
7764 * plugins/elements/gstqueue.c:
7767 2007-06-15 Wim Taymans <wim@fluendo.com>
7769 * libs/gst/base/gstbasetransform.c:
7770 (gst_base_transform_sink_event):
7771 Work around the brokenness of the event vmethod in basetransform. Prefer
7772 to return TRUE when the subclass returned FALSE (meaning don't forward
7775 * libs/gst/base/gstbasetransform.h:
7778 2007-06-15 Wim Taymans <wim@fluendo.com>
7780 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7781 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7782 (gst_base_src_default_query), (gst_base_src_get_range),
7783 (gst_base_src_start):
7784 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7787 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7789 * docs/pwg/advanced-types.xml:
7790 Added more formats to caps table.
7792 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7794 * tools/gst-launch.c: (main):
7795 Remove crufy code. GOption does not need this workaround.
7797 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7799 * libs/gst/controller/gstcontroller.c:
7800 (gst_controlled_property_set_interpolation_mode):
7801 Fix wrong getter for enums in controller.
7803 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7805 * libs/gst/check/gstcheck.c: (gst_check_init):
7806 Intercept criticals and warnings in the Gst-Phonon log domain, so
7807 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7810 2007-06-14 Edward Hervey <edward@fluendo.com>
7812 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7813 Since this file doesn't include "gst.h" it will not go through the
7814 macros that disable GST_LOG if debugging was disabled.
7816 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7818 * libs/gst/check/Makefile.am:
7819 * libs/gst/check/gstcheck.h:
7820 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7821 * pkgconfig/gstreamer-check.pc.in:
7822 Ugly 'fix' for the controller unit test on the p5 bot: in
7823 fail_unless_equals_float() check whether the values are 'almost
7824 equal' by allowing a small absolute error, which should be good
7825 enough for our use cases (normal numbers and values close to 0).
7826 Proper fixage left to floating point arithmetic aficionados.
7828 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7830 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7831 (gst_base_sink_render_object), (gst_base_sink_get_position):
7832 Add two breaks thats where missing.
7834 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7836 * docs/libs/gstreamer-libs-sections.txt:
7837 * libs/gst/check/gstcheck.h:
7838 API: add fail_unless_equals_float() and assert_equals_float().
7839 Add documentation for some of the macros.
7841 * tests/check/libs/controller.c: (GST_START_TEST):
7842 Use newly-added asserts.
7844 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7846 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7847 Show the caps change in the log to help spotting the case of not
7848 exactly matching caps.
7850 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7852 * docs/pwg/building-boiler.xml:
7853 Fix typos, spotted by Thijs Vermeir (#447190).
7855 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7857 * docs/plugins/tmpl/.cvsignore:
7858 Ignore file to keep the buildbots happy
7860 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7862 * docs/plugins/Makefile.am:
7863 * docs/plugins/gstreamer-plugins-docs.sgml:
7864 * docs/plugins/gstreamer-plugins-sections.txt:
7865 Pull fdsink into the docs too.
7867 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
7869 * libs/gst/controller/gstinterpolation.c:
7870 Actually use the new functions with min/max checks for the trigger and
7871 none interpolation modes for get() and get_value_array() instead of
7874 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
7876 * libs/gst/controller/gstcontroller.c:
7877 (gst_controlled_property_free):
7878 Unset the minimum and maximum GValues when freeing the corresponding
7879 GstControllerProperty struct.
7881 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
7883 * libs/gst/controller/gstcontroller.c:
7884 (gst_controlled_property_new):
7885 * libs/gst/controller/gstcontrollerprivate.h:
7886 * libs/gst/controller/gstinterpolation.c:
7887 (gst_controlled_property_find_control_point_node),
7888 (interpolate_none_get), (interpolate_none_get_enum_value_array),
7889 (interpolate_none_get_string_value_array),
7890 (interpolate_trigger_get),
7891 (interpolate_trigger_get_enum_value_array),
7892 (interpolate_trigger_get_string_value_array):
7893 Protect against values larger or smaller than the minimum or maximum
7894 allowed value for the property when using values that can be compared.
7896 Optimize trigger interpolator a bit by taking the last requested value
7897 into account instead of always looping through the complete list.
7899 Fix coding style a bit, everywhere else we use "return foo" instead
7902 * tests/check/libs/controller.c: (GST_START_TEST),
7903 (gst_controller_suite):
7904 Add unit test for the protection against too large or too small
7907 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
7909 * docs/random/slomo/controller.txt:
7910 Add some thoughts about the future of the controller.
7912 2007-06-08 Wim Taymans <wim@fluendo.com>
7914 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7915 Don't overflow in retimestamping code.
7917 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
7919 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
7920 Use gst_util_guint64_to_gdouble for conversions.
7921 * win32/common/libgstreamer.def:
7922 Add new exported functions.
7924 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
7927 Small docs addition.
7929 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7932 Remove that test line again.
7934 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7937 Test commit mail sending.
7939 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7942 Fix typo and test commit mail sending.
7944 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7946 * tests/examples/controller/audio-example.c:
7947 Improve comment and test commit mail sending.
7949 2007-06-07 Wim Taymans <wim@fluendo.com>
7951 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
7952 (gst_bin_remove_func), (gst_bin_element_set_state),
7953 (bin_handle_async_start), (bin_handle_async_done),
7954 (gst_bin_handle_message_func):
7955 Add helper function to find messages.
7956 Generate the async-done messages together with the state change
7958 Small cleanups in handling toplevel bins.
7960 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7962 * libs/gst/base/gstdataqueue.c:
7963 * libs/gst/base/gstdataqueue.h:
7964 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
7965 (gst_multi_queue_item_new), (gst_multi_queue_chain),
7966 (gst_multi_queue_sink_event):
7967 * tests/check/elements/multiqueue.c: (multiqueue_suite):
7968 Fix multiqueue leaking buffers and events when downstream or the
7969 queue are flushing. Make refcounting assumptions explicit and
7970 document them (shouldn't break existing code that uses it other than
7971 maybe leak miniobjects, but that already happens anyway). Add unit
7972 test for the most common flushing case. Fixes #423700.
7974 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
7976 * libs/gst/controller/gstcontroller.c:
7977 Clarify docs: The get_all, get_value_array(s) functions
7978 don't modify the GObject properties.
7980 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
7982 * libs/gst/controller/gstcontroller.c:
7983 (gst_controlled_property_set_interpolation_mode),
7984 (gst_controlled_property_prepend_default),
7985 (gst_controlled_property_new), (gst_controller_set_unlocked),
7986 (gst_controller_set), (gst_controller_set_from_list),
7987 (gst_controller_unset), (gst_controller_unset_all):
7988 * libs/gst/controller/gstcontrollerprivate.h:
7989 * libs/gst/controller/gstinterpolation.c:
7990 Factor out the 'set' logic into gst_controller_set_unlocked for the
7991 gst_controller_set and gst_controller_set_from_list functions.
7993 To make life of the interpolators easier always add a control point
7994 at timestamp zero with the default value.
7996 In the linear interpolator make things more obvious by better variable
7999 Implement cubic interpolation mode (by using a natural cubic spline)
8000 and map the quadratic interpolation mode to this too (as quadratic
8001 doesn't make much sense, see discussion on the list).
8003 * tests/check/libs/controller.c: (GST_START_TEST),
8004 (gst_controller_suite):
8005 Add unit test for the cubic interpolation mode and check everywhere
8006 if the interpolation mode could be set as expected.
8008 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8010 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8011 Don't use GLib-2.10 functions, we still depend on
8012 GLib-how-old-is-it-again-2.8.
8014 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8016 * docs/gst/gstreamer-sections.txt:
8020 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8021 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8022 (_gst_param_fraction_values_cmp),
8023 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8024 * gst/gstparamspecs.h:
8026 * tests/check/Makefile.am:
8027 * tests/check/gst/.cvsignore:
8028 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8029 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8030 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8031 (GST_START_TEST), (gst_param_spec_suite):
8032 API: add GstParamSpecFraction, so elements can have fraction
8033 properties without lots of painful string parsing (#444648).
8035 2007-06-05 Wim Taymans <wim@fluendo.com>
8037 * gst/gstobject.c: (gst_object_class_init):
8038 Fix signal signature.
8041 Add small clarification in the api docs.
8043 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8044 States are protected with object lock.
8046 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8049 I should probably be listed as an author by now.
8051 * docs/random/release:
8052 Update the release doc
8054 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8057 Make docs for gst_value_compare() mention return enums that
8060 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8065 === release 0.10.13 ===
8067 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8070 releasing 0.10.13, "With or without you"
8072 2007-05-25 Wim Taymans <wim@fluendo.com>
8074 * gst/gstbin.c: (bin_handle_async_done):
8075 Make sure that the child bin stops after completing the async state
8076 change so that the parent can continue the state change to PLAYING.
8079 2007-05-25 Wim Taymans <wim@fluendo.com>
8081 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8082 (unref_data), (gst_collect_pads_remove_pad),
8083 (gst_collect_pads_check_pads):
8084 Use additional refcounting to avoid crashes when dynamically adding and
8085 removing pads. Fixes #420206.
8087 2007-05-24 Wim Taymans <wim@fluendo.com>
8089 * tools/gst-launch.c: (event_loop):
8090 When buffering goes from a two digit to a single digit number, make sure
8091 to remove the old second digit by writing a blank over it.
8093 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8095 * libs/gst/base/gstdataqueue.c:
8096 Eliminate tabs and trailing comma in enum list; fix some typos.
8098 2007-05-24 Wim Taymans <wim@fluendo.com>
8100 * tests/check/gst/gstbin.c: (GST_START_TEST):
8101 Allow refcount of 3 and 4 because some state thread might still be busy
8104 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8106 * plugins/elements/Makefile.am:
8107 * plugins/elements/gstmultiqueue.h:
8108 * plugins/elements/gstqueue.h:
8109 These are not installed headers, no need for padding.
8111 2007-05-24 Wim Taymans <wim@fluendo.com>
8113 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8114 (gst_bin_continue_func):
8115 Enable latency for next release.
8116 Restore STATE_LOCK around recalc_state that was left out during the
8117 rewrite and could result in racy behaviour when _get_state and
8118 recalc_state are run concurrently. See #440463.
8120 2007-05-23 Wim Taymans <wim@fluendo.com>
8122 * tests/check/gst/gstsystemclock.c: (store_callback),
8124 Improve test_async_order to also work when both timers are already
8125 expired when we get scheduled to check it.
8127 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8129 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8130 (gst_bin_set_property), (gst_bin_get_property),
8131 (gst_bin_remove_func), (gst_bin_handle_message_func):
8133 'private' is a c++ keyword, let's not use that in header files,
8134 otherwise c++ compilers will throw a tantrum.
8136 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8138 * plugins/elements/gstelements.c:
8139 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8140 (gst_file_sink_get_current_offset):
8141 * plugins/indexers/gstindexers.c: (plugin_init):
8142 Use #ifdef for HAVE_XYZ for consistency.
8144 * tests/check/Makefile.am:
8145 * tests/check/elements/.cvsignore:
8146 * tests/check/elements/filesink.c: (setup_filesink),
8147 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8148 Add some unit tests for filesink.
8150 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8152 Patch by: Mark Nauwelaerts <manauw at skynet be>
8154 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8155 (gst_file_sink_query), (gst_file_sink_do_seek),
8156 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8157 * plugins/elements/gstfilesink.h:
8158 Fix position reporting; rename data_written member to current_pos to
8159 reflect its real meaning (fixes #412648).
8161 2007-05-22 Edward Hervey <edward@fluendo.com>
8163 * docs/gst/gstreamer-sections.txt:
8164 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8165 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8166 (gst_bin_remove_func), (gst_bin_handle_message_func):
8168 Add a property for bins that handle the state change of their childs.
8171 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8173 * libs/gst/controller/gstinterpolation.c:
8174 Use an array of the correct type when using _get_value_array with
8175 linear interpolation.
8177 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8179 * gst/gstelement.c (gst_element_requires_clock,
8180 gst_element_provides_clock, gst_element_request_pad,
8181 gst_element_class_set_details, gst_element_class_set_details_simple,
8182 gst_element_default_send_event, gst_element_abort_state,
8183 gst_element_continue_state, gst_element_set_state,
8184 gst_element_set_state_func, iterator_activate_fold_with_resync):
8185 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8186 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8187 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8188 gst_pad_get_range, gst_pad_pull_range):
8189 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8190 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8191 GstPadActivateModeFunction, GstPadChainFunction,
8192 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8193 GstPadFixateCapsFunction, GstPadTemplate):
8194 * gst/gstpipeline.c (gst_pipeline_change_state,
8195 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8196 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8197 gst_pipeline_get_delay):
8198 Whitespace and docs fixes.
8200 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8202 * libs/gst/controller/gstinterpolation.c:
8203 (interpolate_trigger_get_enum_value_array),
8204 (interpolate_trigger_get_string_value_array):
8205 Add support for retrieving value arrays when using the trigger
8208 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8210 * libs/gst/controller/gstcontroller.c:
8211 (gst_controller_get_value_array):
8212 * libs/gst/controller/gstcontroller.h:
8213 Clarify the docs of gst_controller_get_value_array(): The array where
8214 the values should be written to must be allocated as there seems to be
8215 no way to get the size of a random GType. This doesn't change any
8216 behaviour. Also fix some typos all over the place and remove an unused,
8217 commented function that is not necessary as g_object_set() could be
8219 * tests/check/libs/controller.c: (GST_START_TEST),
8220 (gst_controller_suite):
8221 Add unit test for gst_controller_get_value_array().
8223 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8225 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8227 Disable part of the gst_buffer_try_new_and_alloc test, because
8228 it can happily succeed on 64-bit systems where there's more address
8231 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8233 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8234 Add unit test for the improved caps checking from bug #421543.
8236 2007-05-21 Wim Taymans <wim@fluendo.com>
8238 * docs/design/part-synchronisation.txt:
8241 * gst/gstbin.c: (gst_bin_query):
8242 * plugins/elements/gstqueue.c: (apply_segment):
8248 2007-05-21 Wim Taymans <wim@fluendo.com>
8250 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8251 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8252 (gst_pad_configure_src):
8253 Added simple version of improved caps checking. It was previously
8254 assumed that a setcaps function would check the validity of the caps but
8255 people prefer us to check caps against the template automatically.
8258 2007-05-21 Wim Taymans <wim@fluendo.com>
8260 * libs/gst/base/gstbasetransform.h:
8261 Fix macro for locking/unlocking the transform lock.
8263 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8265 * docs/plugins/tmpl/.cvsignore:
8268 2007-05-18 Edward Hervey <edward@fluendo.com>
8270 * plugins/elements/gstqueue.c: (gst_queue_loop):
8271 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8272 for the subtle art of warning a potentially blocking thread that it
8273 should check the source pad return value, and relay the information
8276 2007-05-18 Edward Hervey <edward@fluendo.com>
8278 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8279 Release the queue lock !
8281 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8283 * docs/libs/gstreamer-libs-sections.txt:
8284 Add the two new controller functions to the appropiate places.
8286 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8288 reviewed by: Stefan Kost <ensonic@users.sf.net>
8290 * libs/gst/controller/gstcontroller.c:
8291 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8292 (_gst_controller_get_property), (_gst_controller_set_property),
8293 (_gst_controller_init), (_gst_controller_class_init):
8294 * libs/gst/controller/gstcontroller.h:
8295 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8296 (gst_object_get_control_rate), (gst_object_set_control_rate):
8297 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8298 Add API that provides sync suggestion timestamps for elements that
8299 call gst_object_sync_values() from which those elements can subdivide
8300 their processing loop to get the best results for the controlled
8301 properties. For now it just suggests last_sync + control_rate as
8302 new timestamp but this will be improved in the future.
8304 While doing that change the control-rate property to a GstClockTime
8305 from guint and change it's meaning from samples to nanoseconds as
8306 the GstController doesn't know anything about sampling rate. Strictly
8307 speaking this breaks ABI but as the control-rate property didn't do
8308 anything in the past and as such couldn't be used this should be no
8311 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8313 reviewed by: Stefan Kost <ensonic@users.sf.net>
8315 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8316 (gst_controller_unset_all):
8317 * libs/gst/controller/gstcontrollerprivate.h:
8318 * libs/gst/controller/gstinterpolation.c:
8319 (gst_controlled_property_find_control_point_node):
8320 Save last synced value from the list to continue searching from there
8321 in future syncs. This speeds everything up a bit.
8323 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8325 reviewed by: Stefan Kost <ensonic@users.sf.net>
8327 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8328 (gst_control_point_find), (gst_controlled_property_new),
8329 (gst_control_point_free), (gst_controlled_property_free),
8330 (gst_controller_set), (gst_controller_set_from_list),
8331 (gst_controller_unset), (gst_controller_unset_all),
8332 (gst_controller_sync_values):
8333 * libs/gst/controller/gstcontroller.h:
8334 * libs/gst/controller/gstcontrollerprivate.h:
8335 * libs/gst/controller/gstinterpolation.c:
8336 (gst_controlled_property_find_control_point_node),
8337 (interpolate_none_get), (interpolate_trigger_get):
8338 Add a new private GstControlPoint struct which "inherits" from
8339 GstTimedValue to allow different interpolators to store internal
8340 values next to each control point. From the outside everything is
8341 still a GstControlPoint so we don't loose binary compatibility.
8342 Also fixup all the GValue handling to not leak GValues or list nodes.
8343 * tests/check/libs/controller.c: (GST_START_TEST):
8344 Free the list nodes and GValues in the controller_misc test.
8346 2007-05-17 Edward Hervey <edward@fluendo.com>
8351 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8353 * gst/gstplugin.c: (gst_plugin_load_file):
8354 If we fail to load a plugin because of unresolved symbols or missing
8355 libraries and spew a warning to stderr, we may just as well mention
8356 which plugin it was that failed to load.
8358 2007-05-13 David Schleef <ds@schleef.org>
8360 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8361 handles the case when ENABLE_GTK_DOC is false, and installs
8362 the prebuilt documentation. So gtk-doc subdirs are
8363 unconditionally enabled. Fixes: #349099.
8365 2007-05-13 David Schleef <ds@schleef.org>
8367 * gst/gstutils.h: Reword some documentation.
8369 2007-05-12 David Schleef <ds@schleef.org>
8371 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8372 do anything with the passed "module" parameter, so remove it.
8373 Allows removal of additional vestigal code.
8375 2007-05-12 David Schleef <ds@schleef.org>
8378 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8379 Switch to using g_stat() because it's more portable.
8381 2007-05-12 David Schleef <ds@schleef.org>
8384 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8385 parsing for embedded systems.
8386 * gst/gstelementfactory.c:
8387 Allow gst_element_register() to be called with plugin==NULL.
8388 Did nobody notice that static elements were broken?
8390 2007-05-12 Wim Taymans <wim@fluendo.com>
8392 * tools/gst-launch.c: (event_loop):
8393 Give more interesting info when buffering starts and stops.
8394 Fix case where buffering starts but we fail to update the buffering flag
8395 because the target state is not PLAYING.
8397 2007-05-12 Wim Taymans <wim@fluendo.com>
8399 * plugins/elements/gstqueue.c: (gst_queue_init),
8400 (gst_queue_finalize), (update_time_level), (apply_segment),
8401 (apply_buffer), (gst_queue_locked_flush),
8402 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8403 (gst_queue_handle_sink_event), (gst_queue_chain),
8404 (gst_queue_push_one), (gst_queue_loop):
8405 * plugins/elements/gstqueue.h:
8406 Refactor an cleanup queue a bit.
8407 Do better time level calculations that also work when the srcpad is not
8409 Remove some unneeded debug lines.
8411 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8412 Added testcase for time level measurement.
8413 Try to make some stuff more racefree.
8415 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8417 * gst/gsturi.c: (gst_element_make_from_uri):
8418 Don't leak plugin feature.
8420 * tests/check/Makefile.am:
8421 * tests/check/gst/.cvsignore:
8422 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8423 Add brain-dead unit test.
8425 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8427 Patch by: Jeroen Wouters <woutersj at gmail com>
8429 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8430 Treat protocol strings in a case-insensitive way (#437563).
8432 2007-05-11 Michael Smith <msmith@fluendo.com>
8434 * gst/gstplugin.c: (gst_plugin_load_file):
8435 * gst/gstregistry.c: (gst_registry_scan_path_level):
8436 Don't print a g_warning for any failure to load a shared object.
8437 Instead, push this down into gstplugin.c, and warn _only_ if we
8438 failed to open the module (i.e. failure to link).
8439 Avoids warnings on normal, working, non-plugin .so files.
8441 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8443 * gst/gstplugin.c (gst_plugin_load_file):
8444 * gst/gstregistry.c (GST_CAT_DEFAULT,
8445 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8446 Print a g_warning if there was an error when loading a plugins during
8447 registry scan. The shuld help beginners starting with gst-plugin
8450 2007-05-10 Wim Taymans <wim@fluendo.com>
8452 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8453 (update_time_level), (gst_queue_locked_flush),
8454 (gst_queue_handle_sink_event), (gst_queue_chain),
8455 (gst_queue_push_one), (gst_queue_loop):
8456 * plugins/elements/gstqueue.h:
8457 Be smarter when calculating the current amount of data in the queue by
8458 measuring the difference between start and end timestamps (in running
8459 time) inside the queue. Fixes #432876.
8460 API: GstQueue::pushing to notify elements that we are pushing data again
8461 since the running signal is rather broken for this purpose.
8463 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8465 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8466 gst_queue_base_init, gst_queue_init):
8469 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8471 * win32/common/libgstreamer.def:
8472 Add new exported functions.
8473 * win32/vs6/grammar.dsp:
8474 Use grammar pre-generated files.
8476 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8478 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8481 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8483 * gst/gstutils.c: (gst_parse_bin_from_description):
8485 Maintain API and ABI when --disable-parse is used. Now that
8486 we have an appropriate error code, we can just return NULL and the
8487 appropriate error when gst_parse_launch() is used despite it having
8488 been disabled (#342564).
8490 * tests/check/Makefile.am:
8491 * tests/check/pipelines/.cvsignore:
8492 * tests/check/pipelines/parse-disabled.c:
8493 Make sure these functions exist and return NULL plus a GError when
8494 --disable-parse is used.
8496 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8498 * tests/benchmarks/complexity.c: (main):
8499 * tests/benchmarks/mass-elements.c: (main):
8500 Set a good example and don't leak messages.
8502 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8504 * docs/gst/Makefile.am:
8505 * docs/libs/Makefile.am:
8506 Correct fixxrefs options.
8508 * docs/plugins/Makefile.am:
8509 * docs/plugins/gstreamer-plugins-docs.sgml:
8510 * docs/plugins/gstreamer-plugins-sections.txt:
8511 * plugins/elements/Makefile.am:
8512 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8513 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8514 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8515 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8516 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8517 _GstCapsFilterClass, trans_class):
8518 * plugins/elements/gstelements.c (name, rank, type, _elements):
8519 * plugins/elements/gstidentity.c
8520 (gst_identity_check_imperfect_timestamp,
8521 gst_identity_check_imperfect_offset):
8522 Document capsfilter and add doc-blurb to identity.
8524 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8526 * libs/gst/controller/gstcontroller.c:
8527 (gst_controlled_property_set_interpolation_mode):
8528 * libs/gst/controller/gstinterpolation.c:
8529 Don't crash if someone tries to set an interpolation mode that
8530 is invalid or that isn't supported yet. Fixes #422295.
8532 * tests/check/libs/controller.c: (GST_START_TEST),
8533 (gst_controller_suite):
8534 Add a test case for the above.
8536 2007-05-03 Edward Hervey <edward@fluendo.com>
8538 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8539 Properly set the last_stop position on GstSegment. This will only happen
8540 if there is a buffer to push out.
8542 2007-05-03 Wim Taymans <wim@fluendo.com>
8544 * libs/gst/base/gstbasetransform.c:
8545 (gst_base_transform_buffer_alloc):
8546 always_in_place does not mean that the sink and source caps are the
8547 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8549 2007-05-03 Wim Taymans <wim@fluendo.com>
8551 * docs/libs/gstreamer-libs-sections.txt:
8552 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8553 (gst_base_src_default_query), (gst_base_src_get_range):
8554 * libs/gst/base/gstbasesrc.h:
8555 API: gst_base_src_query_latency(). Added method so that subclasses can
8556 easily get the latency values of the base source class.
8558 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8560 * tools/gst-inspect.c (print_implementation_info):
8563 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8565 * tools/Makefile.am:
8566 * tools/gst-launch.1.in:
8567 Don't create a customised man page based on the host architecture,
8568 describe the default registry path generically. That way the man
8569 page is the same for all architectures and packagers have one
8570 multilib issue less to deal with. Fixes #434926.
8572 2007-05-02 Wim Taymans <wim@fluendo.com>
8575 Fix documentation as spotted by rg on IRC.
8577 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8580 Improve docs for gst_element_{link,unlink}.
8582 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8584 * docs/design/part-events.txt:
8585 * docs/design/part-overview.txt:
8589 * libs/gst/base/gstbasesink.c:
8590 Typo fixes; minor docs addition.
8592 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8594 * docs/gst/gstreamer-sections.txt:
8595 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8596 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8598 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8599 or src that supports a given URI protocol exists.
8601 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8603 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8604 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8605 Set the location to NULL if "file://" is set as URI. Otherwise
8606 some random previous URI would still be set if "file://" is
8607 set on an already used filesink/filesrc.
8609 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8611 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8612 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8613 Special case the "file://" URI as as this is used by some
8614 applications to test with gst_element_make_from_uri if there's
8615 an element that supports the URI protocol.
8616 Also move the g_path_is_absolute() check for the location part
8617 of the URI to also check this for "file://localhost/bla" URIs.
8619 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8621 * docs/gst/gstreamer-sections.txt:
8622 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8624 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8626 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8628 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8630 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8631 (gst_registry_binary_load_pad_template),
8632 (gst_registry_binary_load_plugin),
8633 (gst_registry_binary_read_cache):
8634 * gst/gstregistrybinary.h:
8635 Implement no-mmap alternative for registry reading. Do code cleanups.
8636 Add more comments about avoiding strdups for all text data. Comments
8639 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8641 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8642 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8643 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8644 Comment structs and reformat to fix the build (that stuff should go
8645 into a priv. header).
8647 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8649 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8650 (gst_registry_binary_load_feature):
8651 * gst/gstregistrybinary.h:
8652 Refactor so that we can implement multiple features. Add support for
8653 TypeFindFactory features.
8655 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8657 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8660 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8662 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8664 * gst/gstbin.c: (gst_bin_element_set_state),
8665 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8666 (bin_handle_async_done), (gst_bin_handle_message_func):
8667 Fix build with --gst-disable-gst-debug
8669 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8671 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8672 Make sure streaming has finished before calling the ::stop() vfunc,
8673 since that vfunc might clear state which is being used in the
8674 streaming thread. This fixes a race that caused crashes in
8675 audioresample when shutting down a pipeline (#420106).
8677 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8679 * docs/gst/gstreamer-sections.txt:
8680 That was one byte missing.
8682 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8685 * docs/gst/gstreamer-sections.txt:
8687 * gst/gstconfig.h.in:
8688 * gst/gstobject.c: (gst_object_class_init),
8689 (gst_signal_object_class_init):
8691 2nd attempt to have a xml-less build as a joined effort of #413123
8694 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8696 * docs/design/draft-tagreading.txt:
8697 Added open issues/thoughts to draft.
8699 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8701 * gst/parse/grammar.tab.pre.c:
8702 * gst/parse/grammar.tab.pre.h:
8703 * gst/parse/lex._gst_parse_yy.pre.c:
8704 Update the prebuild parser sources.
8706 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8708 * gst/parse/Makefile.am:
8709 And now fix the building of the flex sources. Now everything should
8712 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8714 * gst/parse/Makefile.am:
8715 Now hopefully fix the build failures by setting proper rule
8716 dependencies and moving instead of copying.
8718 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8720 * tests/benchmarks/complexity.gnuplot:
8721 * tests/benchmarks/complexity.scm:
8722 * tests/benchmarks/mass-elements.gnuplot:
8723 * tests/benchmarks/mass-elements.scm:
8724 Total licensification.
8726 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8728 * gst/parse/Makefile.am:
8729 Fix the build by correcting the rule that gave wrong files to flex.
8731 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8733 * tests/benchmarks/complexity.c:
8734 * tests/benchmarks/mass-elements.c:
8735 Change licence to LGPL as granted by Benjamin and Andy.
8737 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8739 * gst/parse/Makefile.am:
8740 Add correct grammar.tab.h dependency if compiling without new enough
8741 flex. Fixes #431150.
8743 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8745 * gst/parse/Makefile.am:
8746 Fix typo and use outdated sources if the flex/bison sources are newer
8747 than the pregenerated ones but flex is too old. Print a warning in
8748 that case. This should fix the build on the build bot.
8750 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8752 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8753 * gst/parse/Makefile.am:
8754 * gst/parse/grammar.y:
8755 * gst/parse/parse.l:
8756 Make the parser reentrant and recursively callable. This requires flex
8757 >= 2.5.31, for older versions pregenerated sources are used as we
8758 can't bump the build dependency. Finally fixes #349180.
8760 * gst/gstparse.c: (gst_parse_launch):
8761 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8764 * docs/gst/Makefile.am:
8765 * docs/gst/Makefile.am:
8766 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8767 (__gst_parse_strfree), (__gst_parse_link_new),
8768 (__gst_parse_link_free), (__gst_parse_chain_new),
8769 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8770 (gst_parse_element_set), (gst_parse_free_link),
8771 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8772 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8773 (_gst_parse_launch):
8774 * gst/parse/grammar.tab.pre.h:
8775 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8776 (yy_get_previous_state), (yy_try_NUL_trans), (input),
8777 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8778 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8779 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8780 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8781 (_gst_parse_yypop_buffer_state),
8782 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8783 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8784 (yy_fatal_error), (_gst_parse_yyget_extra),
8785 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8786 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8787 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8788 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8789 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8790 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8791 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8792 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8793 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8794 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8795 (_gst_parse_yyfree):
8796 If the installed flex version is too old use pre-generated parser
8797 sources. These pre-generated parser sources are always updated when
8798 the actual flex/bison sources change but require everybody who wants
8799 to change something in the parser to have flex >= 2.5.31 installed.
8801 2007-04-18 Stefan Kost <ensonic@users.sf.net>
8803 * common/m4/gst-gettext.m4:
8804 * gst/gst-i18n-lib.h:
8805 Make --disable-nls to work
8807 2007-04-17 Wim Taymans <wim@fluendo.com>
8809 * gst/gstconfig.h.in:
8810 Revert previous change that broke the build.
8812 2007-04-17 Stefan Kost <ensonic@users.sf.net>
8816 * gst/gstconfig.h.in:
8817 Drop libxml2 dependency when building with
8818 --enable-binary-registry --disable-loadsave
8820 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
8822 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8823 (gst_registry_binary_read_cache):
8824 * gst/gstregistrybinary.h:
8825 Remove unnecessary <sys/mman.h> include which broke the win32 build
8826 with MingW; move includes from header file to .c file, even if the
8827 header file isn't installed; use g_strerror() where UTF-8 strings
8828 are expected, such as in GST_DEBUG messages.
8830 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8832 * docs/libs/gstreamer-libs-sections.txt:
8833 Remove bogus addition for API I didn't end up keeping.
8835 * libs/gst/base/gstbasesrc.h:
8836 Mention Since: 0.10.13 in the documentation.
8838 Add the API keyword to the previous ChangeLog entry.
8840 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8842 * docs/libs/gstreamer-libs-sections.txt:
8843 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8844 (gst_base_src_default_prepare_seek_segment),
8845 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8846 * libs/gst/base/gstbasesrc.h:
8847 Allow basesrc derived classes to execute seeks in other formats
8848 by providing a prepare_seek_segment vmethod. Sub-classes can choose
8849 to prepare the GstSegment in any format that their perform_seek method
8850 will be able to understand. The default implementation provides the
8851 old behaviour of attempting to convert the seek offsets to the
8852 configured native format.
8854 API: basesrc::prepare_seek_segment vmethod.
8856 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8858 * gst/gstelement.c: (gst_element_get_state_func):
8859 Don't output the same debug statement twice.
8861 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8862 (gst_adapter_peek), (gst_adapter_take_buffer):
8863 Optimise the case where we have buffers at the head of the queue that
8864 can be joined quickly (because they're contiguous sub-buffers) by
8865 merging them together rather than copying data out into new memory.
8867 * gst/parse/grammar.y:
8868 * tests/check/pipelines/parse-launch.c:
8869 Fix a leak in an error path for parse_launch, and add a check
8870 for it to the testsuite.
8872 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8874 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8875 Don't deadlock when releasing a pad - gst_pad_set_active may try
8876 and take the multiqueue lock too.
8878 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
8880 * gst/gsterror.c: (_gst_core_errors_init):
8882 API: add GST_CORE_ERROR_DISABLED (#392804).
8884 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8886 * docs/faq/gst-uninstalled:
8887 don't get empty paths on the PATH variables
8888 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
8889 Don't format for the uncommon terminal width of 84 characters.
8891 2007-04-06 Wim Taymans <wim@fluendo.com>
8893 * gst/gstpipeline.c: (reset_stream_time),
8894 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8895 Only try to select a different pipeline clock when we went back to
8896 PAUSED and not when we merely got flushed.
8898 2007-04-05 Michael Smith <msmith@fluendo.com>
8900 * tools/gst-launch.1.in:
8901 fractions are better supported in gstreamer than ractions, so
8902 suggest using those.
8904 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
8906 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8910 Added Danish translation.
8912 2007-04-05 Wim Taymans <wim@fluendo.com>
8914 * libs/gst/base/gstbasesink.c:
8915 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
8916 Fix leak caused when refusing newsegment after EOS.
8918 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8919 (gst_fake_sink_init), (gst_fake_sink_set_property),
8920 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
8921 (gst_fake_sink_render), (gst_fake_sink_change_state):
8922 * plugins/elements/gstfakesink.h:
8923 Add num-buffers property to make the element generate EOS after a
8924 configurable amount of buffers.
8925 API: fakesink::num-buffers property.
8927 * tests/check/elements/fakesink.c: (GST_START_TEST),
8929 Fix GstBus leak in test.
8930 Test for fakesink num-buffers.
8932 2007-04-05 Wim Taymans <wim@fluendo.com>
8934 * libs/gst/base/gstbasesink.c:
8935 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
8936 (gst_base_sink_change_state):
8937 Don't accept anything after an EOS, return UNEXPECTED instead.
8939 * tests/check/elements/fakesink.c: (GST_START_TEST),
8941 Unit test for new EOS behaviour.
8943 2007-04-05 Wim Taymans <wim@fluendo.com>
8945 * gst/gstelement.c: (gst_element_get_request_pad):
8946 Make padtemplates also work when they don't contain %s or %d.
8948 2007-04-05 Wim Taymans <wim@fluendo.com>
8950 * docs/gst/gstreamer-sections.txt:
8951 * gst/gstclock.c: (gst_clock_adjust_unlocked),
8952 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
8954 Improve _adjust_unlocked() so that it overflows less.
8955 Add gst_clock_unadjust_unlocked to convert from external time to
8956 internal time based on calibration.
8957 Add some more debug.
8958 API: GstClock::gst_clock_unadjust_unlocked()
8960 2007-04-03 Wim Taymans <wim@fluendo.com>
8962 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8964 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8965 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
8966 when releasing sink pad. Fixes #425400.
8968 2007-04-02 Stefan Kost <ensonic@users.sf.net>
8970 * docs/random/ensonic/dynlink.txt:
8971 More work on proposal for new core api.
8973 * docs/libs/gstreamer-libs-sections.txt:
8974 * libs/gst/base/gstbasetransform.h:
8975 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
8977 * libs/gst/controller/gstcontroller.c:
8978 (on_object_controlled_property_changed),
8979 (gst_controller_sync_values),
8980 (gst_controller_set_interpolation_mode):
8981 * libs/gst/controller/gstcontroller.h:
8982 Less verbose logging add docs for unimplemented parts and correctly
8983 return when using unavailable parts.
8985 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
8987 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
8988 Move all the debug to the CLOCK category, and associate it with
8991 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
8993 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
8994 Make take_buffer a bit quicker by removing redundant checks
8995 caused by calling gst_adapter_take.
8997 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
8999 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9002 * tests/check/Makefile.am:
9003 * tests/check/elements/.cvsignore:
9004 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9005 (GST_START_TEST), (multiqueue_suite):
9006 Add some dead simple unit tests for the 'multiqueue' element
9007 (some bits don't work yet and are disabled for now).
9009 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9011 * gst/gstelement.c: (gst_element_get_request_pad),
9012 (gst_element_class_get_request_pad_template):
9013 Make gst_element_get_request_pad() create request pads only for
9014 request pad templates and not for, say, sometimes pad templates.
9016 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9018 * docs/design/draft-klass.txt:
9019 Add example that needs more thinking.
9021 * docs/design/draft-missing-plugins.txt:
9022 More thoughts about wrapper plugins.
9024 * docs/random/ensonic/embedded.txt:
9025 * docs/random/ensonic/profiling.txt:
9028 2007-03-25 Wim Taymans <wim@fluendo.com>
9030 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9031 (gst_base_src_loop):
9032 Only push the segment events in the PLAYING state for live sources.
9034 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9036 * gst/gstpipeline.c: (gst_pipeline_change_state):
9037 Modify the clock distribution path in PAUSED->PLAYING so that we
9038 never attempt to choose a new clock unless we're actually leaving
9039 the PAUSED state for the first time. This prevents choosing a
9040 different clock when the state_change gets called for a 2nd time due
9041 to some element doing an async state change.
9043 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9045 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9046 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9047 (gst_pad_chain_unchecked), (gst_pad_push):
9048 Revert last commit. This needs some more thoughts.
9050 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9052 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9053 (gst_pad_chain_unchecked), (gst_pad_push):
9054 Check in set_caps if the caps are compatible with the pad and remove
9055 two functions that are redundant now. Fixes #421543.
9057 2007-03-22 Wim Taymans <wim@fluendo.com>
9059 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9060 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9061 Unref some more to make valgrind happy.
9063 2007-03-22 Wim Taymans <wim@fluendo.com>
9065 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9066 (gst_system_clock_id_wait_jitter),
9067 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9068 Fix anoying regression that survived a few releases. When adding an
9069 async entry while blocking on a sync entry, the sync entry will unblock
9070 but still be busy, so it should continue to wait instead of returning
9072 Add some comments here and there.
9074 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9075 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9076 Add testcase for this.
9078 2007-03-22 Wim Taymans <wim@fluendo.com>
9080 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9081 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9082 WRONG_STATE and can silently pause the task. All other cases should
9085 2007-03-22 Wim Taymans <wim@fluendo.com>
9087 Patch by: Ville Syrjala <syrjala at sci dot fi>
9089 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9090 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9093 2007-03-21 Michael Smith <msmith@fluendo.com>
9095 * docs/pwg/advanced-types.xml:
9096 Fix some errors in the typefinding docs pointed out on irc.
9098 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9100 * libs/gst/base/gstbasesrc.c:
9101 Clarify FIXME comment in the face of having added unlock_stop()
9103 2007-03-21 Wim Taymans <wim@fluendo.com>
9105 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9106 Prepare for release where we warn against possible app breakage in the
9107 case of live pipelines along with an env var to enable/disable live
9108 preroll mode (GST_COMPAT=[no-]live-preroll).
9110 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9112 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9113 So we should use correct constants for checking for None offset.
9115 2007-03-20 Wim Taymans <wim@fluendo.com>
9117 * docs/design/part-block.txt:
9118 Mention the fact that the newly switched element should be set to at
9121 2007-03-20 Wim Taymans <wim@fluendo.com>
9124 Fix compilation with registry disabled as spotted by Saur.
9126 2007-03-20 Wim Taymans <wim@fluendo.com>
9128 Patch by: Olivier Crete <tester at tester dot ca>
9130 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9131 Look at the pending state too when syncing the element state to the
9132 parent. Fixes #420133.
9134 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9136 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9137 (gst_base_sink_change_state):
9138 * libs/gst/base/gstbasesink.h:
9139 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9140 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9141 (gst_base_src_deactivate):
9142 * libs/gst/base/gstbasesrc.h:
9143 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9144 for sub-classes to correctly clear any state they set trying to
9145 unlock, such as clearing out unlock commands from a command fd.
9146 API: basesrc::unlock_stop
9147 API: basesink::unlock_stop
9149 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9150 (gst_fd_sink_render), (gst_fd_sink_unlock),
9151 (gst_fd_sink_unlock_stop):
9152 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9153 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9154 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9156 Implement unlock_stop in fdsrc and fdsink.
9157 Implement seeking in fdsrc when a seekable fd is passed, as in
9158 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9160 2007-03-19 Wim Taymans <wim@fluendo.com>
9162 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9164 * gst/gstelement.c: (gst_element_class_init):
9165 Fix pad-added and pad-removed signal signatures so that the pad type is
9166 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9168 2007-03-19 Wim Taymans <wim@fluendo.com>
9170 * docs/gst/gstreamer-sections.txt:
9171 Add new element field and method.
9173 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9174 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9175 (gst_bin_recalc_state), (gst_bin_get_state_func),
9176 (gst_bin_element_set_state), (gst_bin_change_state_func),
9177 (gst_bin_continue_func), (bin_bus_handler),
9178 (bin_push_state_continue), (bin_handle_async_start),
9179 (bin_handle_async_done), (gst_bin_handle_message_func):
9180 Make async state changes a bit smarter by using new ASYNC_START and
9181 ASYNC_DONE messages. This reduces the number of times we run the state
9182 recalculation thread.
9183 Don't change state of element with a pending ASYNC_START message.
9184 Deprecate STATE_DIRTY messages.
9186 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9187 (gst_element_get_state_func), (gst_element_continue_state),
9188 (gst_element_lost_state), (gst_element_set_state_func),
9189 (gst_element_change_state):
9191 Keep the state that was last set by the app in a new element field.
9192 Don't allow state changes when handling an element event.
9193 Post ASYNC_START and ASYNC_DONE messages.
9194 Change lost_state so that we go to PAUSED and wait for the parent to set
9195 us to PLAYING again (so latency calculation can be performed)
9196 Export gst_element_change_state() method so that subclasses can use it.
9197 API: gst_element_change_state()
9198 API: GST_STATE_TARGET
9200 * gst/gstpipeline.c: (gst_pipeline_class_init),
9201 (reset_stream_time), (gst_pipeline_change_state),
9202 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9203 Using the new ASYNC_START message we can reset the base_time when
9204 needed. This can then be used to implement base_time redistribution in
9205 flushing seeks so that we can remove the explicit seek handling.
9206 Perform latency query and configuration when going to PLAYING.
9208 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9209 (gst_base_sink_query), (gst_base_sink_change_state):
9210 Post new ASYNC_START/ASYNC_DONE messages.
9212 * tests/check/generic/sinks.c: (GST_START_TEST):
9213 Fix test because the bin will not set the async element to PLAYING right
9216 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9217 Make the message check a little stronger.
9218 Handle ASYNC messages.
9220 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9221 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9222 Expect ASYNC_DONE messages.
9224 2007-03-19 Wim Taymans <wim@fluendo.com>
9226 * docs/gst/gstreamer-sections.txt:
9227 * gst/gstmessage.c: (gst_message_new_async_start),
9228 (gst_message_new_async_done), (gst_message_parse_info),
9229 (gst_message_parse_async_start):
9231 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9234 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9236 * tools/gst-inspect.c:
9237 (print_plugin_automatic_install_info_codecs):
9238 Now that we don't check for the 'Codec' keyword any longer in the
9239 klass, we shouldn't spew a warning if the klass isn't a decoder or
9240 encoder (since it might be a Source/Network, for example).
9242 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9244 * tools/gst-inspect.c:
9245 (print_plugin_automatic_install_info_codecs):
9246 Don't require decoder/demuxer/depayloader elements or
9247 encoder/muxer/paylader elements to have 'Codec' as part of their
9248 factory class string when introspecting a plugin's capabilities.
9249 draft-klass.txt mentions that it might be removed in future, and
9250 flump3dec doesn't have it as part of its class string, so chances
9251 are others might also not have it.
9253 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9275 Update translations from translation project
9277 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9279 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9280 (gst_child_proxy_set_property):
9281 Invert precondition check to be alike the ones in the mimiced gobject
9284 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9286 * docs/design/draft-tagreading.txt:
9287 * docs/random/ensonic/audiobaseclasses.txt:
9288 Do some Architect work.
9290 * gst/gstobject.c: (gst_object_set_name):
9294 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9296 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9298 * gst/gstsystemclock.c: (gst_system_clock_init),
9299 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9300 Defer starting the async system clock thread until the first async
9301 wait is scheduled. Fixes #414986.
9303 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9305 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9306 (gst_single_queue_free):
9307 Fix small leak (free GstSingleQueue structure too, not only contents).
9309 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9311 * gst/gstbin.c:(gst_bin_add):
9312 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9313 * win32/common/libgstbase.def:
9314 * win32/common/libgstreamer.def:
9315 Add new exported functions.
9317 2007-03-09 Wim Taymans <wim@fluendo.com>
9319 * docs/plugins/gstreamer-plugins-sections.txt:
9322 2007-03-09 Wim Taymans <wim@fluendo.com>
9324 * docs/gst/gstreamer-sections.txt:
9325 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9327 Add metadata copy functions. Fixes #393099.
9328 API: gst_buffer_copy_metadata()
9330 * gst/gstutils.c: (gst_buffer_stamp):
9331 * libs/gst/base/gstbasetransform.c:
9332 (gst_base_transform_prepare_output_buffer):
9333 Use new metadata copy functions.
9335 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9337 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9338 (gst_identity_init), (gst_identity_check_perfect),
9339 (gst_identity_check_imperfect_timestamp),
9340 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9341 (gst_identity_set_property), (gst_identity_get_property):
9342 * plugins/elements/gstidentity.h:
9343 Separate out check-imperfect-timestamp and check-imperfect-offset.
9344 Put back check-perfect as it was to keep compatibility.
9346 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9348 * gst/gstelement.c: (gst_element_dispose):
9349 There's no need to warn if VOID_PENDING is not NONE here, as
9350 long as the state is NULL it's ok, and that's checked immediately
9353 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9355 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9356 Fix check for perfect stream to ignore buffers with -1
9357 offsets/offset ends when checking data contiguity.
9359 2007-03-08 Wim Taymans <wim@fluendo.com>
9361 * tools/gst-launch.c: (event_loop):
9362 Print INFO messages.
9364 2007-03-08 Wim Taymans <wim@fluendo.com>
9366 * libs/gst/base/gstbasetransform.c:
9367 (gst_base_transform_sink_eventfunc),
9368 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9369 (gst_base_transform_activate):
9370 * libs/gst/base/gstbasetransform.h:
9371 Add support for dropping buffers with custom GstFlowReturn.
9372 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9373 buffers or dropped buffers.
9375 * docs/libs/gstreamer-libs-sections.txt:
9376 docs for new custom return code.
9378 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9379 Use drop support in base class to implement drop-probability.
9381 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9383 * gst/gst.c: (load_plugin_func):
9384 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9385 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9386 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9387 Remove newlines at end of debug log strings.
9389 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9391 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9392 Only post bus message at max, once per buffer received.
9394 2007-03-07 Wim Taymans <wim@fluendo.com>
9396 * docs/design/Makefile.am:
9397 * docs/design/part-synchronisation.txt:
9398 Add doc about synchronisation
9400 * docs/design/draft-latency.txt:
9401 * docs/design/part-TODO.txt:
9402 * docs/design/part-clocks.txt:
9403 * docs/design/part-events.txt:
9404 * docs/design/part-gstbus.txt:
9405 * docs/design/part-gstpipeline.txt:
9406 * docs/design/part-live-source.txt:
9407 * docs/design/part-messages.txt:
9408 * docs/design/part-overview.txt:
9409 * docs/design/part-streams.txt:
9410 * docs/design/part-trickmodes.txt:
9411 Documentation updates.
9413 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9416 Update the doap file.
9418 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9420 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9421 Rename non-perfect to imperfect for Mike and for the sanctity of the
9423 Also make sure bus message gets emitted for data-incontiguities.
9425 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9427 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9428 (gst_identity_start):
9429 * plugins/elements/gstidentity.h:
9430 Emit bus message if check-perfect is true and we encounter a
9431 non-perfect stream between 2 consecutive buffers.
9434 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9439 === release 0.10.12 ===
9441 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9444 releasing 0.10.12, "Inevitable Demise"
9446 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9449 Version 0.10.11.2 (0.10.12 pre-release)
9450 Bump libtool versioning.
9452 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9454 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9455 Log flow-names and not numbers.
9457 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9460 Convert to new AG_GST style.
9462 2007-02-28 Wim Taymans <wim@fluendo.com>
9464 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9465 Don't unref query twice.
9467 2007-02-28 Wim Taymans <wim@fluendo.com>
9469 * gst/gstvalue.c: (gst_value_transform_object_string),
9470 (_gst_value_initialize):
9471 Implement GstObject -> string transform so we print object names
9472 when serializing GValues containing GstObjects.
9474 2007-02-28 Wim Taymans <wim@fluendo.com>
9476 * docs/gst/gstreamer-sections.txt:
9477 Add new stuff to docs.
9479 2007-02-28 Wim Taymans <wim@fluendo.com>
9481 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9482 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9483 (gst_base_sink_change_state):
9484 Improve latency query code.
9485 Don't leak latency events.
9487 * tests/check/gst/gstbin.c: (GST_START_TEST):
9490 2007-02-28 Wim Taymans <wim@fluendo.com>
9492 * gst/gstelement.c: (gst_element_message_full),
9493 (gst_element_get_state_func):
9495 Improve docs a little. Added Since: for new macro.
9497 * gst/gstobject.c: (gst_object_sink):
9498 * gst/gstpipeline.c: (gst_pipeline_change_state),
9499 (gst_pipeline_set_new_stream_time):
9500 * gst/gstpipeline.h:
9501 Improve debugging and docs.
9503 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9506 2007-02-28 Wim Taymans <wim@fluendo.com>
9508 * gst/gstelement.c: (gst_element_message_full),
9509 (gst_element_set_locked_state), (gst_element_get_state_func),
9510 (gst_element_change_state):
9511 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9512 Documentation updates.
9513 Small code cleanups.
9515 * gst/gstmessage.c: (gst_message_new_info),
9516 (gst_message_parse_info):
9518 API: gst_message_new_info()
9519 API: gst_message_parse_info()
9520 Add INFO message create and parse code.
9522 2007-02-28 Wim Taymans <wim@fluendo.com>
9524 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9525 (bin_query_latency_done):
9526 Also report the live parameter of a latency query.
9528 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9530 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9531 Copy the current generic/states example from -base and adapt so
9532 we can use the exact same code everywhere.
9533 Check a STATES_IGNORE_ELEMENTS env var which can be used
9534 to ignore certain element factories for this test, which is
9535 what is being done in -base
9536 * tests/check/Makefile.am:
9537 Mention this environment variable.
9539 2007-02-27 Wim Taymans <wim@fluendo.com>
9541 * docs/gst/gstreamer-sections.txt:
9542 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9543 (gst_bus_timed_pop), (gst_bus_pop):
9545 API: gst_bus_timed_pop()
9546 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9547 message to arrive on the bus.
9549 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9551 Two unit tests for new _timed_pop() function.
9553 2007-02-23 Wim Taymans <wim@fluendo.com>
9555 * gst/gstpipeline.c: (gst_pipeline_change_state),
9556 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9557 Don't ref a NULL clock in _provide_clock_func().
9558 Don't allow an INVALID delay.
9559 Don't try to calculate base_time with an invalid start_time.
9560 Also distribute and notify a NULL clock when it was selected.
9562 * tools/gst-launch.c: (event_loop):
9563 Don't crash when a NULL clock was selected in the pipeline.
9565 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9567 * docs/design/Makefile.am:
9568 * docs/design/draft-missing-plugins.txt:
9569 * docs/random/draft-missing-plugins.txt:
9570 Some small updates: update plugin system identifier prefix
9571 ('gstreamer.net' to 'gstreamer'), mention our new install
9572 API in libgstbaseutils rather than libgimme-codec, add
9573 reference to the online docs.
9575 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9577 * win32/common/config.h:
9578 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9579 use moap cl ci to only check in what is mentioned in the ChangeLog.
9581 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9583 * docs/gst/gstreamer-sections.txt:
9585 Fix up documentation to link to the correct GstGError section.
9586 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9588 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9590 * tools/gst-launch.c: (event_loop):
9591 Make sure that we actually show the important message part of a
9593 No need to check if the gerror is not NULL to free; first of all
9594 g_free accepts NULL; and second the default error handler would
9595 segfault if gerror was NULL.
9597 2007-02-21 Wim Taymans <wim@fluendo.com>
9599 * docs/gst/gstreamer-sections.txt:
9600 Removed docs as well.
9602 2007-02-21 Wim Taymans <wim@fluendo.com>
9604 * gst/gstmessage.c: (gst_message_parse_duration):
9606 Remove new messages for release.
9608 2007-02-20 Wim Taymans <wim@fluendo.com>
9610 * docs/design/part-gstghostpad.txt:
9611 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9612 (gst_ghost_pad_new_full):
9613 Make the ghostpad a parent of the internal pad again for better backward
9614 compatibility. Don't write code that relies on this however.
9616 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9617 (gst_pad_link_check_hierarchy):
9618 Require that parents should be GstElements in the hierarchy check.
9620 2007-02-20 Wim Taymans <wim@fluendo.com>
9622 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9623 (gst_bin_change_state_func), (bin_query_min_max_init),
9624 (bin_query_latency_fold), (bin_query_latency_done),
9627 Implement latency query.
9629 2007-02-20 Wim Taymans <wim@fluendo.com>
9631 * docs/design/part-gstghostpad.txt:
9632 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9633 (gst_ghost_pad_internal_do_activate_push),
9634 (gst_ghost_pad_internal_do_activate_pull),
9635 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9636 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9637 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9638 Do not set the internal pad as a parent anymore so we can avoid
9639 hierarchy linking errors when the ghostpad has no parent yet. This also
9640 fixes failed activation because of unlinked internal pads, which in
9641 turn fixes the impossible case where you have to activate a pad before
9642 you can add it to a running element.
9645 * gst/gstpad.c: (pre_activate), (post_activate),
9646 (gst_pad_set_active), (gst_pad_activate_pull),
9647 (gst_pad_activate_push), (gst_pad_check_pull_range):
9648 Add some more debug info.
9649 Mark activation mode in pre_activate so that we don't try to activate in
9650 endless loops. Fixes #385084.
9652 2007-02-19 Wim Taymans <wim@fluendo.com>
9654 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9655 (gst_base_transform_check_get_range):
9656 Implement a checkgetrange function instead of relying on the default
9657 core behaviour that assumes we can operate in pull mode if we have a
9658 getrange function. First step at fixing #385084.
9660 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9662 * gst/gstchildproxy.h:
9663 * libs/gst/base/gstbasesink.h:
9664 * libs/gst/base/gstbasesrc.h:
9665 * libs/gst/base/gstbasetransform.h:
9666 More docs coverage and some ChangeLog surgery (add missing names)
9668 2007-02-15 Wim Taymans <wim@fluendo.com>
9670 * docs/design/part-TODO.txt:
9671 * docs/design/part-activation.txt:
9672 * docs/design/part-block.txt:
9673 * docs/design/part-buffering.txt:
9674 * docs/design/part-clocks.txt:
9675 * docs/design/part-element-source.txt:
9676 * docs/design/part-events.txt:
9677 * docs/design/part-gstbin.txt:
9678 * docs/design/part-gstbus.txt:
9679 * docs/design/part-gstpipeline.txt:
9680 * docs/design/part-live-source.txt:
9681 * docs/design/part-messages.txt:
9682 * docs/design/part-overview.txt:
9683 * docs/design/part-qos.txt:
9684 * docs/design/part-query.txt:
9685 * docs/design/part-states.txt:
9686 * docs/design/part-trickmodes.txt:
9687 Some doc updates. Start renaming from stream_time to running_time where
9688 it was used wrongly.
9690 2007-02-15 Wim Taymans <wim@fluendo.com>
9692 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9693 Answer LATENCY query.
9695 2007-02-15 Wim Taymans <wim@fluendo.com>
9697 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9701 2007-02-15 Wim Taymans <wim@fluendo.com>
9703 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9704 (gst_pad_dispatcher):
9705 Improve debugging of default pad dispatcher and query functions.
9707 2007-02-15 Wim Taymans <wim@fluendo.com>
9709 * docs/gst/gstreamer-sections.txt:
9710 Remove old unused method.
9712 2007-02-13 Wim Taymans <wim@fluendo.com>
9714 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9717 2007-02-13 Wim Taymans <wim@fluendo.com>
9719 * docs/design/part-seeking.txt:
9722 * gst/gstsegment.c: (gst_segment_set_seek):
9723 Revert old bogus change that should make seeking work again.
9725 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9727 * docs/random/ensonic/dynlink.txt:
9728 * docs/random/ensonic/interfaces.txt:
9729 * docs/random/ensonic/receipies.txt:
9730 Possible dynamic reconnection api, plus some type fixes the other two
9733 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9735 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9736 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9737 Also check for an absolute path following file:// in the filesrc
9738 element. Remove redundant check and call g_path_is_absolute() on the
9741 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9743 * docs/design/draft-klass.txt:
9744 Add existing category analysis.
9747 Fix doc example, framerate is a fraction.
9749 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9752 * docs/gst/Makefile.am:
9753 * docs/gst/gstreamer-sections.txt:
9754 * docs/libs/Makefile.am:
9755 Erm, forgot a bunch of --extra-dir.
9757 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9760 * docs/gst/Makefile.am:
9761 * docs/libs/Makefile.am:
9762 * docs/plugins/Makefile.am:
9763 Add crossreferences to glib/gobject docs.
9765 2007-02-12 Wim Taymans <wim@fluendo.com>
9767 * docs/design/draft-latency.txt:
9770 * docs/libs/gstreamer-libs-sections.txt:
9771 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9772 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9773 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9774 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9775 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9776 (gst_base_sink_get_position), (gst_base_sink_query),
9777 (gst_base_sink_change_state):
9778 * libs/gst/base/gstbasesink.h:
9779 API: gst_base_sink_query_latency() to let subclasses query the upstream
9781 API: gst_base_sink_get_latency() to let subclasses query the configured
9782 latency in the sink.
9783 Implement query and set latency.
9785 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9786 don't continue preroll when we are flushing. Fixes #405284.
9788 * tests/check/pipelines/stress.c: (change_state_timeout),
9789 (quit_timeout), (GST_START_TEST), (stress_suite):
9792 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
9794 Patch by: René Stadler <mail at renestadler de>
9796 * docs/gst/gstreamer-sections.txt:
9797 * gst/gsttaglist.c: (_gst_tag_initialize):
9799 API: add GST_TAG_REFERENCE_LEVEL (#403597).
9801 2007-02-11 Stefan Kost <ensonic@users.sf.net>
9803 * docs/libs/Makefile.am:
9804 Fix path to core docs.
9806 * gst/gstbin.c: (gst_bin_get_by_interface),
9807 (gst_bin_iterate_all_by_interface):
9808 Refix docs by also renaming 'interface' to 'iface' in implementation.
9810 * docs/gst/gstreamer-sections.txt:
9812 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9813 * gst/gstchildproxy.h:
9814 * gst/gstelementfactory.c:
9815 * gst/gstpadtemplate.h:
9816 * libs/gst/controller/gstcontroller.c:
9817 (gst_controlled_property_new):
9820 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
9822 * gst/gstbin.h:(gst_bin_get_by_interface),
9823 (gst_bin_iterate_all_by_interface):
9824 Replace interface parameter name by iface as interface is
9825 a reserved keyword in Visual Studio for C++ projects so it removes
9826 a build error for application developpers using VS.
9827 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9828 Fix a bug on Windows in uri format check. Now the prefix checked
9829 is file:// and next we check if the path after file:// is absolute.
9830 * win32/common/libgstbase.def:
9831 * win32/common/libgstdataprotocol.def:
9832 * win32/common/libgstgstreamer.def:
9833 Add new exported functions.
9835 2007-02-09 Andy Wingo <wingo@pobox.com>
9837 * tests/check/pipelines/simple-launch-lines.c
9838 (simple_launch_lines_suite, test_tee): Disable tee test until I
9839 have time to fix it :-(
9841 * tests/check/Makefile.am (noinst_HEADERS):
9842 * tests/check/libs/libsabi.c:
9843 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9844 * tests/check/gst/gstabi.c:
9845 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9847 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9848 tests for push and pull tee behavior.
9850 * plugins/elements/gsttee.h:
9851 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9852 mark as deprecated as well as unimplemented. It was a crack idea.
9853 Add support for tee operating in pull mode, off by default.
9855 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9856 normal-case logs down to LOG, raise errors to WARNING.
9857 (gst_registry_xml_read_cache): Don't log before calling a function
9860 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9861 exit (registry finalize).
9862 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9863 DEBUG log when we emit signals that people don't even have the
9864 chance to connect to.
9865 (gst_registry_scan_path_level): Less logging in the normal case.
9867 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9869 Patch by: Michal Benes <michal dot benes at itonis dot tv>
9871 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9872 Correctly generate EOS for non-seekable files. We don't have a total
9873 length for them and would get an unexpected end of file if we only
9874 special-cased for regular files. (Fixes: #404569)
9876 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9878 * tests/check/elements/filesrc.c: (GST_START_TEST),
9880 Add unit test for the GstURIHandler interface in filesrc. This also
9881 tests the newly added file://localhost/foo/bar support.
9883 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
9885 * gst/gstelementfactory.h:
9886 The klass string is not a hierarchy. Add reference to the design doc
9887 for more information and common types.
9889 2007-02-02 Wim Taymans <wim@fluendo.com>
9891 * gst/gstquery.c: (gst_query_new_latency):
9892 Remove old structure field.
9894 2007-02-02 Stefan Kost <ensonic@users.sf.net>
9896 * tools/gst-launch.1.in:
9897 Give example for network streaming (#351998)
9899 2007-02-02 Wim Taymans <wim@fluendo.com>
9901 * docs/gst/gstreamer-sections.txt:
9902 Add docs for new methods.
9904 * gst/gstevent.c: (gst_event_new_latency),
9905 (gst_event_parse_latency):
9907 Add new LATENCY event to configure latency in a pipeline.
9908 API: gst_event_new_latency
9909 API: gst_event_parse_latency
9911 * gst/gstmessage.c: (gst_message_new_buffering),
9912 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
9913 (gst_message_new_latency), (gst_message_parse_buffering),
9914 (gst_message_parse_lost_preroll):
9916 Added messages used in draft-latency.
9917 API: gst_message_new_lost_preroll
9918 API: gst_message_parse_lost_preroll
9919 API: gst_message_new_prerolled
9920 API: gst_message_new_latency
9922 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
9923 (gst_query_parse_latency):
9925 Implemented new latency query as in design doc.
9926 API: gst_query_new_latency
9927 API: gst_query_set_latency
9928 API: gst_query_parse_latency
9930 2007-02-02 Wim Taymans <wim@fluendo.com>
9932 * docs/design/draft-latency.txt:
9933 Slight redesign to allow for dynamic latency adjustments.
9935 * docs/design/part-negotiation.txt:
9938 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
9940 reviewed by: Wim Taymans <wim@fluendo.com>
9942 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9943 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9944 Allow file://localhost/foo/bar URLs and correctly fail for every other
9945 hostname that one sets. This was gnomevfssrc is linked for those if
9946 installed as it can handle it (#403172)
9948 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
9950 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9952 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9953 (unref_data), (gst_collect_pads_add_pad_full):
9954 * libs/gst/base/gstcollectpads.h:
9955 Don't put the previously added destroy notify in the GstCollectData
9956 struct as all it's padding is already used and we don't want to break
9957 ABI. Instead put in the pad's GObject data for now. This should be
9958 cleaned up for 0.11 (#402393).
9960 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
9962 reviewed by: Wim Taymans <wim@fluendo.com>
9964 * docs/libs/gstreamer-libs-sections.txt:
9965 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9966 (unref_data), (gst_collect_pads_add_pad),
9967 (gst_collect_pads_add_pad_full):
9968 * libs/gst/base/gstcollectpads.h:
9969 API: Add function to specify a destroy notification for custom
9970 GstCollectData when adding new pads in GstCollectPads (#402393).
9972 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
9975 Update Swedish translation (#378255).
9977 2007-01-31 Stefan Kost <ensonic@users.sf.net>
9979 * docs/design/draft-klass.txt:
9980 Fix the previous change, this is a list of categories and not a hierarchy.
9982 2007-01-31 Stefan Kost <ensonic@users.sf.net>
9984 * docs/design/draft-klass.txt:
9985 Add info about how to get a list of used classes.
9987 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
9989 * plugins/elements/gsttypefindelement.c:
9990 (gst_type_find_element_chain_do_typefinding),
9991 (gst_type_find_element_change_state):
9992 Don't leak found caps in chain function (no idea why that never
9993 showed up as a leak anywhere).
9995 2007-01-30 Stefan Kost <ensonic@users.sf.net>
9998 Fix and expand GstPluginDesc API docs.
10000 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10003 * gst/gstelementfactory.c:
10004 * gst/gstpadtemplate.h:
10007 * libs/gst/controller/gstcontroller.c:
10008 (gst_controlled_property_new):
10009 * tests/examples/controller/audio-example.c:
10012 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10015 comment about refining the xml deps
10017 * docs/manuals.mak:
10018 comments about moving away from jade for docs
10021 recommit the ifdefs to use the binary registry
10023 * gst/gstbin.c: (gst_bin_change_state_func):
10024 this break is obsolete
10026 * gst/gstelementfactory.h:
10027 better GST_ELEMENT_DETAILS docs, add comment about translation
10032 * gst/gstobject.c: (gst_signal_object_get_type):
10033 add G_UNLIKELY as usual
10035 * gst/gstpad.c: (gst_pad_event_default):
10036 add fall trhu comment
10038 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10039 (gst_registry_binary_initialize_magic),
10040 (gst_registry_binary_save_string),
10041 (gst_registry_binary_save_pad_template),
10042 (gst_registry_binary_save_feature),
10043 (gst_registry_binary_save_plugin),
10044 (gst_registry_binary_write_cache),
10045 (gst_registry_binary_check_magic),
10046 (gst_registry_binary_load_pad_template),
10047 (gst_registry_binary_load_feature),
10048 (gst_registry_binary_load_plugin),
10049 (gst_registry_binary_read_cache):
10050 comment typo and formatting
10052 * gst/gstutils.c: (gst_element_state_get_name),
10053 (gst_element_state_change_return_get_name):
10054 remove obsolete breaks
10056 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10057 add FIXME 0.11 and remove cpp comment
10059 2007-01-29 Edward Hervey <edward@fluendo.com>
10061 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10062 Fix print statement in an even more portable way.
10064 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10066 * docs/gst/gstreamer-sections.txt:
10068 API: add GST_ROUND_DOWN_* macros (#401781).
10070 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10072 * docs/gst/gstreamer.types.in:
10073 * gst/gstregistry.c: (gst_registry_class_init):
10074 Document registry signals and make gtk-doc pick them up (#401381).
10076 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10078 * docs/pwg/building-testapp.xml:
10079 Add some audioconverts and audioresample to the pipeline, and some
10080 more comments and error handling.
10082 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10084 * docs/manual/manual.xml:
10085 * docs/pwg/pwg.xml:
10086 Fix typo (#400987).
10088 2007-01-26 Wim Taymans <wim@fluendo.com>
10090 * gst/gstcaps.c: (gst_static_caps_get):
10091 Init caps flags too.
10093 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10095 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10097 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10098 If not using mmap'ed files try to seek to the end instead of the
10099 start to determine whether we can seek at all. This fixes the case
10100 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10101 seeks for everything afterwards fail. Fixes #400656
10103 2007-01-25 Wim Taymans <wim@fluendo.com>
10105 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10106 Add some refcount debugging.
10107 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10108 in multiple streaming threads.
10110 2007-01-25 Wim Taymans <wim@fluendo.com>
10112 Patch by: David Schleef <ds at schleef dot org>
10114 * docs/libs/gstreamer-libs-sections.txt:
10115 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10116 * libs/gst/base/gstadapter.h:
10117 API: gst_adapter_copy() that can reduce the amount of memcpy when
10118 getting data from the adapter. Fixes #388201.
10120 2007-01-25 Edward Hervey <edward@fluendo.com>
10122 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10123 In print statements, "%x" is for guint. Fixes build on macosx.
10125 2007-01-24 Edward Hervey <edward@fluendo.com>
10127 * plugins/elements/gstmultiqueue.c:
10128 (gst_multi_queue_loop):
10130 (single_queue_overrun_cb), (single_queue_underrun_cb),
10131 (single_queue_check_full), (gst_single_queue_new):
10132 Implement single queue growth system.
10133 This uses the extra-size properties, and will grow single queues by
10134 that much if one goes full whereas there are others empty. This is
10135 called extra-mode in the code.
10136 When a single queue's levels go back below the initial max-size
10137 limits, it is no longer in extra-mode. This is to ensure we don't
10138 consume too much memory.
10141 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10143 * gst/gst.c: (gst_init_get_option_group):
10144 Make warning about late g_thread_init() calls a bit more explicit,
10145 so that it's more obvious to application developers what they need
10146 to do if a user files a bug against their application.
10148 2007-01-22 Edward Hervey <edward@fluendo.com>
10150 * plugins/elements/gstmultiqueue.c:
10151 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10152 Remove previous hack of unsetting the flushing flag for the source pad
10153 instead of activating it. Instead, fix the source pad activate function
10154 so that it no longer depends on having a parent set or not.
10156 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10158 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10160 * docs/manual/basics-bus.xml:
10161 Fix example code, gst_element_unref() doesn't exist any longer.
10163 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10165 Patch by: Mark Nauwelaerts <manauw at skynet be>
10168 Fix two docs typoes (#399094).
10170 2007-01-19 Edward Hervey <edward@fluendo.com>
10172 * docs/faq/gst-uninstalled:
10173 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10174 depending on libgstbaseutils can work in uninstalled environment.
10176 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10178 * gst/gsttaglist.h:
10179 * gst/gsttagsetter.c:
10180 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10181 statement for new tag.
10183 2007-01-17 Edward Hervey <edward@fluendo.com>
10185 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10186 When dynamically creating single queues, activate sinkpad before adding
10188 We should be doing the same thing for the source pad, but we can't
10189 since it would call a method which needs the parent to be set in order
10190 to work propertly. Instead of activating the source pad, we just unset
10191 the flushing flag, which is the minimal requirement for adding a pad
10192 to an element in a state greater than READY.
10194 2007-01-17 Edward Hervey <edward@fluendo.com>
10196 * docs/faq/gst-uninstalled:
10197 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10200 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10202 * tests/check/gst/gstabi.c:
10203 * tests/check/gst/struct_hppa.h:
10204 * tests/check/libs/libsabi.c:
10205 * tests/check/libs/struct_hppa.h:
10206 Add ABI structs for HPPA (see #393796).
10208 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10210 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10211 Actually write ABI structs to the file specified in the GST_ABI
10212 environment variable, as the message we print claims we would.
10214 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10216 * tests/check/gst/gsttask.c:
10217 Fix header comment.
10219 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10221 * gst/gsttaglist.c: (_gst_tag_initialize):
10222 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10223 previous two entries.
10225 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10227 * docs/gst/gstreamer-sections.txt:
10228 * gst/gsttaglist.c: (_gst_tag_initialize):
10229 * gst/gsttaglist.h:
10230 Add tag support for beat-per-minute.
10232 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10234 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10235 (gst_registry_binary_initialize_magic),
10236 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10237 (gst_registry_binary_save_pad_template),
10238 (gst_registry_binary_save_feature),
10239 (gst_registry_binary_save_plugin),
10240 (gst_registry_binary_write_cache),
10241 (gst_registry_binary_check_magic),
10242 (gst_registry_binary_load_pad_template),
10243 (gst_registry_binary_load_feature),
10244 (gst_registry_binary_load_plugin),
10245 (gst_registry_binary_read_cache):
10246 * gst/gstregistrybinary.h:
10247 Use glib types, cleanup comments, impement interfaces and uri-types.
10249 2007-01-13 Andy Wingo <wingo@pobox.com>
10251 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10252 getrange() to return buffers with other caps, while we fix
10253 demuxers and typefind, or otherwise change part-negotiation.txt.
10255 2007-01-12 Andy Wingo <wingo@pobox.com>
10257 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10258 Factor start/stop into this private function instead of partially
10259 in activate functions and partially in the change_state function.
10260 Fixes setup before the element has changed from READY->PAUSED, as
10261 is the case in pull-mode pipelines.
10262 (gst_base_transform_sink_activate_push)
10263 (gst_base_transform_src_activate_pull): Refactor to use
10264 gst_base_transform_activate().
10265 (gst_base_transform_change_state): Removed, not needed any more.
10267 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10268 Truncate before fixating.
10270 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10271 Don't set_caps() if the result of fixating is ANY, as it's not
10272 supported, and not necessary in the case of a link with no
10273 template caps on either side. Fixes tests/check/libs/basesrc in
10274 some pull-mode tests.
10276 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10277 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10278 (gst_base_transform_src_activate_pull):
10279 Track the activation mode.
10280 (gst_base_transform_setcaps): In pull mode, when activating the
10281 src pad, after activating the sink pad, activate the sink pad's
10282 peer, as discussed in part-negotiation.txt.
10284 * libs/gst/base/gstbasesrc.h:
10285 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10286 vmethod, as in basesink.
10288 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10290 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10291 mode, first proxy the setcaps to the peer pad.
10292 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10293 new fixate vmethod.
10294 (gst_base_sink_default_activate_pull): Rename from
10295 gst_base_sink_activate_pull.
10296 (gst_base_sink_negotiate_pull): New function, performs negotiation
10297 in pull mode before calling ::activate_pull().
10298 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10299 vmethod instead of the default implementation. I have no idea how
10300 this worked before. Negotiate before calling activate_pull.
10302 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10303 sink pads in pull mode. In addition to being correct, fixes
10304 filesrc ! decodebin ! identity ! fakesink.
10305 (gst_pad_get_range, gst_pad_pull_range): Don't call
10306 gst_pad_set_caps() if the caps changes; instead error out with
10307 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10309 2007-01-12 Andy Wingo <wingo@pobox.com>
10311 * docs/design/part-negotiation.txt: Update with more policy.
10313 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10315 * libs/gst/check/gstbufferstraw.h:
10316 * libs/gst/check/gstcheck.h:
10317 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10320 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10322 * tests/check/Makefile.am:
10323 * tests/check/gst/.cvsignore:
10324 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10325 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10326 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10327 (GST_START_TEST), (gst_tag_setter_suite):
10328 Add minimal unit test for beforementioned GstTagSetter bug.
10330 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10332 Patch by: René Stadler <mail at renestadler dot de>
10334 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10335 gst_tag_list_merge() returns a new list, so it's not the best idea
10336 to ingore its return value. Effectively meant that tags could only
10337 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10338 Also add function guard to require a non-NULL taglist as input (has
10339 always been so due to gst_tag_list_copy(), just making it explicit).
10341 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10343 * docs/random/draft-missing-plugins.txt:
10344 Some additions: mention new API that is supposed to be used at the
10345 various stages; short blob about new gst-inspect introspection
10346 option; mention potential future problem with plugins that have
10347 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10349 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10351 * tools/gst-inspect.c:
10352 (print_plugin_automatic_install_info_codecs),
10353 (print_plugin_automatic_install_info_protocols),
10354 (print_plugin_automatic_install_info), (main):
10355 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10356 introspect plugin files and get machine-parsable output that corresponds
10357 to the last bit of the missing-plugin installer string (small gotcha:
10358 doesn't take into account ranks).
10360 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10363 * docs/gst/gstreamer-sections.txt:
10365 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10366 (gst_registry_lookup_locked):
10367 * gst/gstregistry.h:
10368 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10369 (gst_registry_binary_initialize_magic),
10370 (gst_registry_binary_save_string),
10371 (gst_registry_binary_save_pad_template),
10372 (gst_registry_binary_save_feature),
10373 (gst_registry_binary_save_plugin),
10374 (gst_registry_binary_write_cache),
10375 (gst_registry_binary_check_magic),
10376 (gst_registry_binary_load_pad_template),
10377 (gst_registry_binary_load_feature),
10378 (gst_registry_binary_load_plugin),
10379 (gst_registry_binary_read_cache):
10380 * gst/gstregistrybinary.h:
10381 * gst/gstregistryxml.c: (load_feature),
10382 (gst_registry_xml_read_cache):
10383 commit binary registry (disabled by default, see #359653)
10385 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10387 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10388 Fix 'make check' too.
10390 2007-01-10 Andy Wingo <wingo@pobox.com>
10392 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10395 * docs/design/part-negotiation.txt: Update with, um, one way that
10396 pull-mode negotiation might work?
10399 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10400 that the pad must be a src pad; makes sense to call it the other
10401 way in pull mode, and the logic is symmetric anyway.
10403 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10405 * plugins/elements/gstfilesink.c:
10406 Include <stdio.h> for fseeko().
10408 2007-01-10 Wim Taymans <wim@fluendo.com>
10412 Reserve LATENCY event.
10414 2007-01-09 Wim Taymans <wim@fluendo.com>
10416 * docs/design/draft-latency.txt:
10419 2007-01-09 Wim Taymans <wim@fluendo.com>
10421 * docs/design/draft-latency.txt:
10424 * gst/gstelement.h:
10425 * gst/gststructure.c:
10429 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10431 * tests/check/.cvsignore:
10432 Ignore test-registry.xml as well.
10434 2007-01-09 Wim Taymans <wim@fluendo.com>
10436 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10437 unref data at the end when we are done with the pad.
10439 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10441 * docs/gst/gstreamer-sections.txt:
10442 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10443 (init_post), (gst_deinit), (gst_update_registry):
10445 API: add gst_update_registry() (#391296).
10447 * tests/check/Makefile.am:
10448 * tests/check/gst/gstregistry.c:
10449 * tests/check/gst/.cvsignore:
10450 Simple unit test for the above.
10452 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10454 * gst/gstregistry.c: (gst_registry_scan_path_level):
10455 Plugin extension on HP-UX is .sl, add that to the list of approved
10456 plugin extensions (see #393796).
10458 * tests/check/gst/gstpad.c: (GST_START_TEST):
10459 ulong => gulong. Fixes compilation with HP-UX compiler.
10461 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10462 Fix compilation if valgrind headers are not available.
10464 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10466 * win32/common/libgstreamer.def:
10467 Add new exported function.
10468 * win32/vs6/libgstbase.dsp:
10469 Add gstdataqueue.c to the build.
10470 * win32/vs6/libgstcoreelements.dsp:
10471 Add gstmultiqueue.c to the build.
10473 2007-01-06 Andy Wingo <wingo@pobox.com>
10475 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10476 activate_pull(), providing for a way to specialize the process of
10477 spawning a thread to pull on the sink pad. There is a default
10480 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10481 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10482 (gst_base_sink_init): Renamed pad activation functions (inserting
10483 "_pad" in their names). Refactor to use the new activate_pull
10484 vmethod, as appropriate.
10485 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10486 default activate_pull function to start a task pulling from the
10487 sink pad, as before.
10489 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10490 on the pads if necessary, as in push()/chain(). Update docs.
10491 Shouldn't affect existing pull() usage as it is currently only
10492 being used on buffers without caps.
10494 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10496 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10498 Call g_thread_init() first thing in gst_init() / gst_check_init().
10499 When initialisation is done via gst_init_get_option_group() and
10500 GOption parsing, issue a warning if the GLib thread system has not
10501 been initialised yet by the time gst_init_get_option_group() is
10502 called, as it's quite likely other GLib functions such as
10503 g_option_context_new() have been called already then, and
10504 g_thread_init() must be called before any other GLib function. The
10505 application in question must be fixed in that case, since memory
10506 corruption might happen otherwise.
10507 We issue the warning because even if the GLib folks decide to work
10508 around the problem on their end in future, this is still an issue
10509 with all GLib versions >= 2.10.0, so we should warn until we depend
10510 on a GLib version we know to be safe.
10511 Update documentation as well.
10512 Closes bug #391278.
10514 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10516 * tools/gst-inspect.c: (main):
10517 * tools/gst-launch.c: (main):
10518 * tools/gst-typefind.c: (main):
10519 * tools/gst-xmlinspect.c: (main):
10520 Call g_thread_init() really really early, before any other GLib
10521 function (see #342564 and recent discussion on gtk-devel-list).
10523 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10525 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10527 * gst/gst_private.h:
10528 * gst/gstconfig.h.in:
10530 On win32, all the __declspec stuff for symbol exporting is
10531 apparently only needed with MSVC, but doesn't work with MingW.
10532 Fixes compilation with MingW and #391909.
10534 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10536 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10537 Change some GST_ERROR_OBJECT that aren't really errors to
10538 GST_WARNING_OBJECT in order to reduce terminal spam.
10540 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10542 * tests/check/Makefile.am:
10543 disable test again, as there seem to be still race problems
10545 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10547 * tests/check/Makefile.am:
10548 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10549 (GST_START_TEST), (queue_suite):
10550 enable queue test again, add tests for the leaky behaviour
10552 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10555 * tests/examples/Makefile.am:
10556 Compile adapter test/example only if the required headers are
10557 available (fixes #391915).
10559 2007-01-01 David Schleef <ds@schleef.org>
10562 Restore the previous signal handler for SIGSEGV instead of
10563 setting to default, since we may have stolen it away from
10564 someone. (i.e., Mono)
10566 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10568 * docs/random/draft-missing-plugins.txt:
10569 Some small additions and clarifications.
10571 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10573 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10574 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10575 since that can lead to random memory corruptions and crashes
10576 (may or may not be related to #383244, #386711, and #386711).
10578 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10580 * tests/check/.cvsignore:
10581 * tests/check/Makefile.am:
10582 sync .cvsignome and CLEANFILES
10584 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10586 * tests/check/Makefile.am:
10589 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10591 * docs/design/part-states.txt:
10592 two tiny additional comments
10594 * gst/gststructure.c:
10597 * tests/check/Makefile.am:
10598 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10600 disable test for now, unless it gets fixed
10602 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10604 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10606 fix race in underrun test
10608 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10610 * tests/check/elements/.cvsignore:
10613 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10615 try to narrow test failure
10617 2006-12-21 David Schleef <ds@schleef.org>
10619 * plugins/elements/gstfakesrc.c:
10620 Use g_random_int_range(), since it produces better random
10621 numbers in a range than almost-correct floating point code.
10623 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10625 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10626 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10627 (gst_check_teardown_sink_pad):
10628 do not automatically (de)activate pads
10630 * tests/check/Makefile.am:
10631 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10632 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10633 add new, yet simple tests for queue
10635 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10636 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10637 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10639 * tests/check/elements/identity.c: (cleanup_identity):
10640 consistent pad (de)activation
10642 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10644 Patch by: Sebastian Dröge <slomo ubuntu com>
10646 * libs/gst/base/gstcollectpads.c:
10647 Fix two doc typos (#387866).
10649 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10651 * docs/manual/advanced-dparams.xml:
10652 Fix typo (g_object_control_properties() doesn't exist).
10654 2006-12-19 Edward Hervey <edward@fluendo.com>
10656 * gst/gstsegment.c: (gst_segment_set_seek):
10657 Fine tune the cases where the segment start/stop values are really
10659 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10660 Add tests for the return values of gst_segment_set_seek().
10662 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10667 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10669 Fix incorrect documentation and flesh it out a bit more.
10670 Set default values for the max properties on the GParamSpec as well,
10671 so it shows up correctly in gst-inspect.
10673 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10675 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10676 Correct docs of queue, add more detail and crosslink it more.
10678 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10680 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10681 Print additional debug info when the stream isn't perfectly
10682 timestamped; don't try to use invalid durations.
10684 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10686 * docs/design/Makefile.am:
10687 Dist new design docs.
10689 2006-12-16 Wim Taymans <wim@fluendo.com>
10691 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10693 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10694 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10695 (gst_collect_pads_stop), (gst_collect_pads_event),
10696 (gst_collect_pads_chain):
10697 * libs/gst/base/gstcollectpads.h:
10698 Add refcounting to the collectpads data so we can track when it's safe
10699 to free the data. Fixes #383382.
10701 2006-12-15 Wim Taymans <wim@fluendo.com>
10703 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10704 (gst_collect_pads_remove_pad):
10705 Automatically activate/deactivate pads when they are added to a
10706 started/stoped collectpads.
10708 2006-12-15 Wim Taymans <wim@fluendo.com>
10710 * gst/gstelement.c: (gst_element_add_pad):
10711 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10712 * gst/gstpad.c: (gst_pad_init):
10713 Set pads to FLUSHING when they are created. Check, warn and fix when a
10714 demuxer adds an inactive pad to itself when running. Fixes #339326.
10716 2006-12-15 Wim Taymans <wim@fluendo.com>
10718 * gst/gstelement.c: (gst_element_class_init),
10719 (gst_element_default_send_event), (gst_element_send_event),
10720 (gst_element_default_query), (gst_element_query):
10721 Expose default element send_event and query handling as vmethods that
10722 subclasses can chain up to.
10724 2006-12-15 Wim Taymans <wim@fluendo.com>
10726 * gst/gstelement.c: (gst_element_set_state_func):
10727 Small documentation fixes.
10729 2006-12-15 Wim Taymans <wim@fluendo.com>
10731 * docs/design/draft-latency.txt:
10732 Checked in draft for handling latency in pipelines.
10734 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10738 * gstreamer.spec.in:
10741 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10743 * gst/gst.c: (init_pre), (init_post):
10744 init_pre() and init_post() might be called via our GOptionGroup or
10745 from gst_init(), and we should skip both of them if we've already
10746 been initialised, otherwise we will init some things twice or add
10747 two default log functions.
10749 2006-12-13 Edward Hervey <edward@fluendo.com>
10751 * docs/manual/basics-bus.xml:
10752 No, gst_main_loop does not exist. Its g_main_loop.
10753 Discovered by somebody who abused the copy-paste technique of coding :)
10755 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
10757 * gst/gstghostpad.c:
10758 Log ghostpad debug stuff to the GST_PADS category as well rather
10759 than just to the default category.
10761 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
10764 * gst/gst.c: (init_pre):
10765 Add some basic system details such as OS and architecture
10766 to the debug output if possible, courtesy of uname().
10768 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10770 * docs/gst/running.xml:
10771 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10772 environment variables.
10774 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10776 * tests/check/gst/gstbin.c: (GST_START_TEST):
10777 It is acceptable to have a refcount of 2 or 3 at this point in the
10778 test, because the pipeline might be just posting its state_change
10779 message. The next line then waits for that message to appear using
10780 bus_poll, so that should be fine too.
10782 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10784 * gst/gst.c: (ensure_current_registry_forking):
10785 Ignore EINTR when reading from the child registry pipe.
10786 Explicitly ignore the return value from close, since it makes no
10789 * gst/gstminiobject.c: (gst_mini_object_ref),
10790 (gst_mini_object_unref):
10791 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10793 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10794 When removing cached plugins, remove their features too, so they're
10795 not visible after they've disappeared.
10797 * gst/gstutils.c: (prepare_link_maybe_ghosting):
10798 In the unlikely case that we are linking pads with no parents, don't
10799 crash trying to get the non-existent parent bin.
10801 * gst/parse/grammar.y:
10802 Output debug in the PIPELINE category
10804 2005-03-08 Wim Taymans <wim@fluendo.com>
10806 Patch by: René Stadler <mail at renestadler dot de>
10808 * gst/gstclock.c: (gst_clock_new_periodic_id):
10809 Reject invalid clock times for interval of periodic ids.
10812 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10814 * gst/gstelementfactory.c: (gst_element_factory_create):
10815 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10816 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10817 * tools/gst-inspect.c: (print_element_info):
10818 Fix refcounting of gst_plugin_feature_load to match the docs.
10821 2006-12-07 Wim Taymans <wim@fluendo.com>
10823 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10824 (gst_base_sink_get_position):
10825 Improve debugging of events.
10827 2006-12-07 Wim Taymans <wim@fluendo.com>
10829 Patch by: René Stadler <mail at renestadler dot de>
10831 * gst/gstclock.c: (gst_clock_id_wait):
10832 Make period ids add the interval to the origial requested time instead
10833 of the possibly updated time which can be wrong when there are multiple
10834 waiters for the same id. Fixes #382592.
10836 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10837 (gst_system_clock_id_wait_jitter_unlocked),
10838 (gst_system_clock_id_wait_jitter):
10839 Fix restart in the async notify thread when an async entry is added to
10840 the front of the list. Fixes #381492.
10842 * tests/check/gst/gstsystemclock.c: (store_callback),
10843 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10844 Added test for multiple async waits.
10845 Added test for async wait order.
10847 2006-12-07 Wim Taymans <wim@fluendo.com>
10849 * gst/gstbin.c: (gst_bin_query):
10850 Add some more docs about the POSITION query.
10852 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10855 Bump version nano - back to CVS.
10857 === release 0.10.11 ===
10859 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
10862 releasing 0.10.11, "Love never runs on time"
10864 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
10866 * win32/common/libgstbase.def:
10867 * win32/common/libgstreamer.def:
10868 * win32/vs8/libgstbase.vcproj:
10869 * win32/vs8/libgstcoreelements.vcproj:
10870 * win32/vs8/libgstreamer.vcproj:
10871 Fix compilation on win32 under VS8
10872 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10873 Partially fixes #381175
10875 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10877 * gst/gstvalue.c: (gst_value_compare_fraction):
10878 If someone is foolish enough to compare 2 fractions with denominator =
10879 0, return UNORDERED rather than aborting.
10881 2006-11-28 Edward Hervey <edward@fluendo.com>
10883 * libs/gst/base/Makefile.am:
10884 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
10885 (gst_data_queue_base_init), (gst_data_queue_class_init),
10886 (gst_data_queue_init), (gst_data_queue_new),
10887 (gst_data_queue_cleanup), (gst_data_queue_finalize),
10888 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
10889 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
10890 (gst_data_queue_is_empty), (gst_data_queue_is_full),
10891 (gst_data_queue_set_flushing), (gst_data_queue_push),
10892 (gst_data_queue_pop), (gst_data_queue_drop_head),
10893 (gst_data_queue_set_property), (gst_data_queue_get_property):
10894 * libs/gst/base/gstdataqueue.h:
10895 New GstDataQueue object for threadsafe queueing. Most useful for
10896 elements that need some queueing functionnality.
10897 * docs/libs/gstreamer-libs-docs.sgml:
10898 * docs/libs/gstreamer-libs-sections.txt:
10899 Insert documentation for GstDataQueue
10900 * plugins/elements/Makefile.am:
10901 * plugins/elements/gstelements.c:
10902 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10903 (gst_multi_queue_class_init), (gst_multi_queue_init),
10904 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10905 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10906 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10907 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10908 (gst_multi_queue_loop), (gst_multi_queue_chain),
10909 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
10910 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
10911 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
10912 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
10913 (wake_up_next_non_linked), (compute_next_non_linked),
10914 (single_queue_overrun_cb), (single_queue_underrun_cb),
10915 (single_queue_check_full), (gst_single_queue_new):
10916 * plugins/elements/gstmultiqueue.h:
10917 New multiqueue element, using GstDataQueue. Used for queuing multiple
10919 Closes #344639 and #347785
10921 2006-11-22 Stefan Kost <ensonic@users.sf.net>
10923 * docs/pwg/advanced-types.xml:
10924 add more missing type details
10926 * tools/gst-run.c: (main):
10927 remove unused variable
10929 2006-11-21 Stefan Kost <ensonic@users.sf.net>
10931 * docs/libs/Makefile.am:
10932 * docs/libs/gstreamer-libs.types:
10933 add types of base classes to enable gobject specific stuff in the docs
10935 * docs/random/ensonic/embedded.txt:
10936 more ideas about isolating platform specific things
10938 2006-11-20 Wim Taymans <wim@fluendo.com>
10940 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
10942 * libs/gst/check/gstcheck.h:
10943 Fix compilation and running against 0.9.4. Fixes #377332.
10945 2006-11-20 Wim Taymans <wim@fluendo.com>
10947 * gst/gstsegment.c: (gst_segment_set_seek),
10948 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10949 (gst_segment_to_running_time):
10950 Fix boundary checking in to_running_time() and to_stream_time().
10953 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10954 stream and running time can now be calculated for the complete
10957 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
10959 * gst/gstpad.c: (gst_pad_push_event):
10960 Can't access event structure after giving away ownership of
10963 2006-11-15 Stefan Kost <ensonic@users.sf.net>
10965 * docs/random/ensonic/embedded.txt:
10966 * docs/random/ensonic/profiling.txt:
10967 * docs/random/ensonic/receipies.txt:
10970 2006-11-13 Wim Taymans <wim@fluendo.com>
10972 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10975 Fix documentation for gst_pad_dispatcher. Fixes #374475.
10977 2006-11-13 Wim Taymans <wim@fluendo.com>
10979 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
10981 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10982 Store new length in segment duration so we don't keep on calling the
10983 potentially expensize get_size() call. Fixes #370865.
10985 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
10987 Patch by: Sergey Scobich <sergey.scobich at gmail com>
10989 * win32/common/libgstreamer.def:
10990 Add two missing symbols (#366492).
10992 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
10994 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
10995 (gst_adapter_take_buffer):
10996 Fix format string to use all its arguments.
10997 Remove useless >= check on a guint
10999 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11001 * tests/examples/adapter/.cvsignore:
11002 Ignore build file as commanded by the build-bot
11004 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11006 * tests/examples/adapter/Makefile.am:
11007 * tests/examples/adapter/adapter_test.c: (run_test_take),
11008 (run_test_take_buffer), (run_tests), (main):
11010 Add new files from the previous commit
11012 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11016 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11017 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11018 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11019 * libs/gst/base/gstadapter.h:
11020 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11021 (GST_START_TEST), (gst_adapter_suite):
11022 * tests/examples/Makefile.am:
11023 Do some optimisation work in GstAdapter to avoid copies in more cases.
11024 It could still do slightly better by merging buffers when
11025 gst_buffer_is_span_fast is true, but is already faster.
11027 Also, avoid traversing a single-linked list to append each incoming
11028 buffer inside the adapter.
11030 Add simple test app that times the adapter behaviour in different
11031 situations, and extend the unit test to check that bytes enter and
11032 exit the adapter in their original order.
11034 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11036 * docs/random/draft-missing-plugins.txt:
11037 Update: use element message instead of adding a new message
11038 type to the core; don't provide GStreamer API to initiate the
11039 plugin download, just provide API to compose the strings needed
11040 and let an external libgimmestuff handle the rest.
11042 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11044 * tools/gst-inspect.c: (print_element_properties_info):
11045 Print a string instead of 'unknown type' for GValueArray properties
11047 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11049 * docs/random/draft-missing-plugins.txt:
11052 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11054 * tests/examples/typefind/typefind.c: (type_found), (main):
11055 Make typefind element example work again (#371894); add a
11058 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11060 * docs/random/draft-missing-plugins.txt:
11061 Commit initial draft about how to deal with missing plugins,
11062 needs work (API too).
11064 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11066 * docs/pwg/advanced-types.xml:
11067 documents the new caps elements (see #363118)
11069 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11071 * gst/gstplugin.c: (gst_plugin_load_file):
11072 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11073 (gst_file_src_map_region), (gst_file_src_start):
11074 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11075 (gst_file_index_commit):
11076 Use g_strerror() instead of strerror() - we want UTF-8.
11078 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11080 Patch by: Peter Kjellerstedt <pkj at axis com>
11082 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11083 Another printf fix (#371493).
11085 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11087 * tests/check/gst/gsttag.c:
11088 relicence (okay with author=company)
11090 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11092 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11093 (gst_pad_push_event):
11094 Enhance debug and improve docs
11099 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11101 * docs/random/ensonic/distributed.txt:
11102 * docs/random/ensonic/profiling.txt:
11105 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11107 * docs/gst/gstreamer-sections.txt:
11108 add new API and fix the build
11110 * gst/gstbin.c: (gst_bin_recalc_state):
11111 * gst/gstelement.c: (gst_element_message_full),
11112 (gst_element_get_state_func), (gst_element_set_state_func):
11113 use new API and improve logging
11115 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11117 API: add function to get StateChangereturn names to improve logs
11119 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11121 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11122 I'm considering shooting the next person to put strerror stuff
11123 in the translateable part of the message.
11125 2006-11-03 Wim Taymans <wim@fluendo.com>
11127 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11128 Get the type and printf conversion specifiers right.
11130 2006-11-03 Wim Taymans <wim@fluendo.com>
11132 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11134 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11135 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11136 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11137 Some small cleanups. Improve debugging.
11139 Signal all waiting threads with a broadcast instead of just one.
11142 2006-11-03 Wim Taymans <wim@fluendo.com>
11144 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11145 (gst_fd_src_create):
11146 Add some debugging.
11147 Only update fd when it's different from the old.
11149 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11151 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11152 Printf fixes for PPC/OSX, take two (#369366).
11154 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11156 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11158 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11159 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11160 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11161 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11162 don't cast to long long for portability reasons, but use
11163 GLib's types instead.
11165 2006-10-30 Michael Smith <msmith@fluendo.com>
11167 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11168 Get the arguments to lseek() the right way around.
11171 2006-10-30 Wim Taymans <wim@fluendo.com>
11173 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11176 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11178 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11180 Patch by: Kjartan Maraas <kmaraas at gnome org>
11182 * docs/design/part-MT-refcounting.txt:
11183 * docs/random/wtay/capsnego2-docs:
11186 Typo fixes (#366212).
11188 2006-10-28 Wim Taymans <wim@fluendo.com>
11190 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11193 * win32/common/libgstbase.def:
11194 * win32/common/libgstreamer.def:
11195 * win32/vs8/libgstbase.vcproj:
11196 * win32/vs8/libgstcontroller.vcproj:
11197 Add needed entries in .def files.
11199 Rearrange def files in vs8 solutions. Fixes #366286.
11201 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11203 * win32/common/gstconfig.h:
11204 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11205 hand-made win32 gstconfig.h. Fixes #366321.
11207 2006-10-27 Wim Taymans <wim@fluendo.com>
11209 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11210 (gst_ghost_pad_new_full):
11211 Make acceptcaps return TRUE when we don't have a target, just like
11214 2006-10-27 Wim Taymans <wim@fluendo.com>
11216 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11217 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11219 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11221 * gst/gststructure.c: (gst_structure_id_set_value):
11222 If someone tries to set a non-UTF8 string field on a structure,
11223 don't just print a warning, but also ignore the request and do
11224 not change/add that field to the structure.
11226 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11227 Test for the above.
11229 2006-10-25 David Schleef <ds@schleef.org>
11232 g_hash_table_insert() needs a cast to a non-const pointer duh.
11234 2006-10-25 David Schleef <ds@schleef.org>
11238 Change name parameter of _gst_debug_register_funcptr to const
11239 to reflect the constness of its use in the function as well
11240 as to quiet a gcc warning.
11242 2006-10-25 Edward Hervey <edward@fluendo.com>
11244 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11245 Don't push the buffer if it's empty.
11248 2006-10-24 Wim Taymans <wim@fluendo.com>
11253 * libs/gst/base/gstbasetransform.c:
11254 (gst_base_transform_sink_eventfunc):
11255 Debug segment values *after* updating them as this is more
11258 2006-10-23 Wim Taymans <wim@fluendo.com>
11260 * docs/design/part-events.txt:
11263 * docs/design/part-block.txt:
11264 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11265 (gst_pad_push_event):
11266 Revert BLOCKING patch, it tries to be smart without really having a
11267 clear idea what or how. So, now we discard all FLUSHING events again on
11268 a blocking pad. Should fix gnonlin again.
11270 2006-10-23 Wim Taymans <wim@fluendo.com>
11272 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11274 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11275 (gst_base_src_start), (gst_base_src_activate_push):
11276 Make sure size is always initialized. Fixes #364388.
11278 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11280 * docs/random/ensonic/distributed.txt:
11281 add some ideas about doing distributed processing
11283 * docs/random/ensonic/profiling.txt:
11284 get_rusage look promising
11286 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11288 * docs/manual/basics-helloworld.xml:
11289 Add a cast in example to fix compile warning
11291 2006-10-18 Wim Taymans <wim@fluendo.com>
11293 * gst/gstsegment.c: (gst_segment_set_last_stop),
11294 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11295 Relax arg checking again, -1 is allowed.
11297 2006-10-18 Wim Taymans <wim@fluendo.com>
11299 * gst/gstsegment.c: (gst_segment_set_last_stop),
11300 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11301 _set_last_stop() must be with a value != -1
11302 A _TYPE_SET to -1 means seek to 0.
11303 Calc last_stop correctly for negative rates.
11304 Make sure we work with positive durations when updating a segment.
11306 2006-10-18 Wim Taymans <wim@fluendo.com>
11308 * docs/design/part-live-source.txt:
11312 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11315 Add an explicit cast to GstBuffer** to keep old code that added an
11316 explicit cast to GstMiniObject** for gst_mini_object_replace()
11317 compiling without warning.
11319 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11321 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11322 check for validity of dates
11324 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11326 * docs/gst/gstreamer-sections.txt:
11327 Forgot this one, makes gtk-doc shut up.
11329 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11331 Patch by: Peter Kjellerstedt <pkj at axis com>
11334 Don't define xmlNodePtr to gpointer if the core was built with
11335 --disable-loadsave and --disable-registry, this will break
11336 applications that want to use libxml2 but are buildling against a
11337 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11338 instead so we don't have to mess with the libxml2 namespace
11341 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11344 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11345 type-punned pointer warnings.
11347 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11349 * gst/gstelement.h:
11350 Add casts to the correct return type to state <=> state transition
11353 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11355 * docs/design/part-live-source.txt:
11356 describe howto handle latency
11358 * docs/random/ensonic/profiling.txt:
11361 * tools/gst-plot-timeline.py:
11362 fix log parsing for solaris, remove unused function
11364 2006-10-16 Wim Taymans <wim@fluendo.com>
11366 * docs/design/part-trickmodes.txt:
11368 Update some docs regarding reverse playback.
11370 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11372 Patch by: Marcus Granado <mrc dot gran at gmail com>
11374 * win32/vs8/grammar.vcproj:
11375 Error out with a warning if glib-genmarshal.exe is not in path,
11376 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11378 2006-10-13 Wim Taymans <wim@fluendo.com>
11380 * gst/gstsegment.c: (gst_segment_set_seek):
11381 When seeking to stop -1, set last_stop (current position) to the
11382 duration of the segment.
11384 2006-10-13 Wim Taymans <wim@fluendo.com>
11386 * gst/gstelement.h:
11387 Clarify _NO_PREROLL a bit more.
11392 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11393 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11394 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11395 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11396 due to wrong locking order. Fixes #361769.
11397 Remove some redundant/misplaced checks in pad_block.
11399 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11400 For negative rates, count backwards from the duration.
11402 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11404 * gst/gsterror.c: (_gst_library_errors_init):
11405 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11406 up with something better).
11408 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11410 * win32/vs6/libgstreamer.dsp:
11411 * win32/vs7/libgstreamer.vcproj:
11412 * win32/vs8/libgstreamer.vcproj:
11413 Don't reference glib-compat.c which is currently not used and not
11414 disted; add gstquark.c which was recently added. Fixes #361730.
11416 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11418 * win32/common/libgstbase.def:
11419 * win32/common/libgstcontroller.def:
11420 * win32/common/libgstreamer.def:
11421 Add gst_caps_merge() and a bunch of other recently-added functions.
11424 2006-10-11 Wim Taymans <wim@fluendo.com>
11426 * docs/plugins/gstreamer-plugins.args:
11427 * docs/plugins/inspect/plugin-coreelements.xml:
11428 * docs/plugins/inspect/plugin-coreindexers.xml:
11429 Update element args.
11431 * gst/gstsystemclock.c:
11432 Small comment update.
11434 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11435 (gst_tee_request_new_pad), (gst_tee_release_pad),
11436 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11437 (gst_tee_sink_activate_pull):
11438 * plugins/elements/gsttee.h:
11440 Add default property defines.
11441 Implement release pad function.
11442 Give properties better blubs etc.
11443 Activate pads before adding them to a running tee.
11444 Do simple buffer_alloc on the first requested pad.
11445 Post error when activation fails.
11447 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11449 * gst/gst.c: (ensure_current_registry_forking):
11450 Check return value of write() to make compiler happy.
11452 2006-10-11 Wim Taymans <wim@fluendo.com>
11454 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11456 * plugins/elements/gstqueue.c: (gst_queue_chain):
11457 Recheck queue filledness after signalling the overrun when we're about
11458 to leak downstream because we released the lock when emitting the signal
11459 and the queue could be empty again. Fixes #352345.
11461 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11463 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11464 Fix refcounting here too, just like we did for _new_valist() a few
11465 days ago (#357180) (thanks to René Stadler). Also remove all those
11466 'Since: 0.9' from the gtk-doc blobs.
11468 * tests/check/libs/controller.c: (controller_refcount_new_list),
11469 (gst_controller_suite):
11470 Unit test for the above.
11472 2006-10-10 Wim Taymans <wim@fluendo.com>
11474 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11476 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11477 (gst_pad_save_thyself):
11479 Write pad direction in XML output. Fixes #345496.
11481 2006-10-10 Wim Taymans <wim@fluendo.com>
11483 Patch by: René Stadler <mail at renestadler dot de>
11485 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11486 (gst_controller_new_list), (_gst_controller_dispose),
11487 (_gst_controller_finalize), (_gst_controller_class_init):
11488 Take ref to controlled object so that it cannot disappear.
11491 2006-10-10 Wim Taymans <wim@fluendo.com>
11493 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11494 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11495 (gst_check_teardown_sink_pad):
11496 Activate/deactivate pads in setup/teardown respectively.
11498 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11500 Patch by: Josep Torra Valles <josep@fluendo.com>
11503 Cast values when making gstenumtypes.h. This pacifies Forte
11504 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11505 in the enumeration.
11507 2006-10-09 Wim Taymans <wim@fluendo.com>
11509 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11510 Rename some more @cur to @start to fix docs.
11512 * gst/gstsegment.c: (gst_segment_set_seek):
11514 time and start must always stay in sync as defined in design doc.
11516 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11517 Rename param to fix docs.
11519 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11520 Check that start and time are in sync.
11522 * tests/check/pipelines/parse-launch.c:
11523 (gst_parse_test_element_change_state):
11524 Activate pad before adding to the element.
11526 2006-10-09 Wim Taymans <wim@fluendo.com>
11528 * docs/design/part-qos.txt:
11533 Update seek event docs regarding negative rates.
11534 Rename @cur to @start.
11536 * gst/gstsegment.c: (gst_segment_set_seek):
11537 * gst/gstsegment.h:
11538 Update set_seek docs regarding negative rates.
11539 Correctly update last_stop to @stop when dealing with negative
11541 Rename @cur to @start.
11543 * tests/check/gst/gstpad.c: (GST_START_TEST):
11544 Activate pads before trying to use them.
11546 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11547 (gst_segment_suite):
11548 Add simple check for segments and negative rates.
11550 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11552 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11553 * gst/gsttaglist.h:
11554 * docs/gst/gstreamer-sections.txt:
11555 API: add gst_tag_list_is_empty() (#360467).
11557 * tests/check/gst/gsttag.c: (GST_START_TEST):
11560 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11562 * gst/gstmessage.h:
11563 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11564 a value that doesn't fit on enumeration.
11566 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11568 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11569 Remove local debugging system and use Gstreamer's instead.
11571 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11573 Patch by: Josep Torra Valles <josep@fluendo.com>
11575 * common/m4/gst-error.m4:
11576 Disable warning of statement not reached on Forte.
11577 * gst/gstmessage.h:
11578 Fix warning on Forte (value doesn't fit on enumeration).
11579 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11580 Fix warning on Forte (value doesn't fit on enumeration).
11581 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11582 DEBUG macro says it takes minimum of 2 args and so Forte
11583 complains about the use with just 1 arg.
11584 * plugins/elements/gstfdsink.c:
11585 * plugins/elements/gstfdsrc.c:
11586 * plugins/elements/gstfilesink.c:
11587 * plugins/elements/gstfilesrc.c:
11588 Use correct return type for the uri handler implementations.
11590 All these fix warnings in Forte. Fixes bug #360860.
11592 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11594 * gst/gstelement.h:
11595 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11596 format string, so don't use G_GNUC_PRINTF for those versions.
11598 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11600 * gst/gsttaglist.c: (gst_is_tag_list):
11601 * gst/gsttaglist.h:
11602 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11604 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11605 Small test for the above.
11607 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11609 * gst/gsttaglist.h:
11610 Less tabs, more spaces.
11612 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11615 Those two function declarations do actually belong there, revert
11616 commit from yesterday that turned them intro macros.
11618 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11620 Patch by: Josep Torra Valles <josep@fluendo.com>
11622 * gst/gst.c: (gst_init_get_option_group):
11623 Fix empty declaration and type mismatch.
11624 * gst/gstbin.c: (gst_bin_change_state_func):
11626 * gst/gstelement.c: (gst_element_continue_state),
11627 (gst_element_set_state_func), (gst_element_change_state),
11628 (gst_element_change_state_func):
11629 Fix type mismatches.
11630 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11631 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11632 Cast as appropriate.
11633 * gst/gstobject.c: (gst_class_signal_connect):
11634 Cast as appropriate. The function pointer parameter really
11635 has the wrong type but would break API if we change it.
11637 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11638 order of including string.h.
11639 * gst/gstutils.c: (gst_element_state_get_name):
11640 Remove unreachable line.
11641 * gst/gstxml.c: (gst_xml_parse_doc):
11643 All these caught by Forte.
11645 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11647 Patch by: Josep Torra Valles <josep@fluendo.com>
11649 * common/m4/gst-error.m4:
11651 We need to disable warnings on Forte for empty declarations
11652 due to gst-indent adding ;s to lines that just use macros
11653 where the macro actually doesn't need a ; at end to end
11656 2006-10-06 Wim Taymans <wim@fluendo.com>
11658 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11659 (gst_file_sink_close_file), (gst_file_sink_event),
11660 (gst_file_sink_render):
11661 Add some FIXME for the NEWSEGMENT handling.
11663 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11665 * gst/parse/grammar.y:
11666 Remove static function gst_parse_element_lock as all it does
11667 is return. Looks like cruft from 0.8.
11669 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11671 Patch by: Josep Torra Valles <josep@fluendo.com>
11673 * common/m4/gst-error.m4:
11675 * libs/gst/net/Makefile.am:
11676 Fix a compilation issue with Forte on Solaris. inet_aton is in
11679 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11681 * gst/gstpad.c: (pre_activate):
11682 * gst/gstregistry.c: (gst_registry_scan_path_level):
11683 * gst/gstregistryxml.c: (load_plugin):
11684 * libs/gst/controller/gstcontroller.c:
11685 (gst_controlled_property_set_interpolation_mode):
11686 * libs/gst/dataprotocol/dataprotocol.c:
11687 (gst_dp_packet_from_event_1_0):
11688 * libs/gst/net/gstnetclientclock.c:
11689 (gst_net_client_clock_observe_times):
11690 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11693 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11696 * docs/gst/gstreamer-sections.txt:
11697 * gst/gstconfig.h.in:
11698 * gst/gstelement.h:
11700 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11701 whether we can use G_GNUC_PRINTF in other header files and at
11702 least check the printf format/arguments of debug messages and
11703 GST_ELEMENT_ERROR messages when the printf extension is not
11705 Replace more tabs with spaces in gstinfo.h and remove two spurious
11706 function declarations in GST_DISABLE_DEBUG part with macros.
11708 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11710 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11711 More docs for the sync-message signal (mention that it is not
11712 emitted by default); log message structures of messages posted on
11715 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11717 * gst/gst.c: (ensure_current_registry_forking):
11718 Use a pipe pair to receive status results from the forked child, and
11719 ignore the result from waitpid. Fixes #355499
11721 2006-10-02 Wim Taymans <wim@fluendo.com>
11723 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11724 (gst_ghost_pad_suite):
11727 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11730 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11732 2006-10-02 Edward Hervey <edward@fluendo.com>
11734 * docs/design/part-block.txt:
11735 Further explain the use of flushing on blocked pads.
11736 * docs/gst/gstreamer-sections.txt:
11737 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11738 (gst_pad_push_event):
11740 Added new GstPadFlag : GST_PAD_BLOCKING.
11741 Adds the notion of pads really blocking, which enables to properly
11742 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11744 API: gst_pad_is_blocking()
11745 API: GST_PAD_IS_BLOCKING() macro
11746 API: GST_PAD_BLOCKING GstPadFlag
11748 2006-10-02 Wim Taymans <wim@fluendo.com>
11750 Patch by: mrcgran <mrc.gran at gmail dot com>
11752 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11753 Filter the proxied caps against the padtemplate if we have one.
11755 * gst/gstquery.c: (gst_query_new_segment):
11756 Add include for gstinfo.h so that compilation with
11757 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11759 2006-10-02 Wim Taymans <wim@fluendo.com>
11761 Patch by: Alessandro Decina <alessandro at nnva org>
11763 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11764 (gst_file_sink_set_location), (gst_file_sink_open_file),
11765 (gst_file_sink_close_file), (gst_file_sink_event),
11766 (gst_file_sink_render):
11767 Set file to NULL when closing filesink so that we can set a new filename
11768 in READY. Fixes #358613.
11770 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11772 Patch by: Alessandro Decina <alessandro at nnva org>
11774 * gst/gstevent.c: (_gst_event_copy):
11775 Fix gst_mini_object_make_writable() and gst_event_copy() for events
11776 with event structures by setting the parent refcount address of the
11777 copied structure to the address of the refcount member of the newly
11778 copied event rather than the address of the refcount member of the
11779 original event. Fixes #358737.
11781 * tests/check/gst/gstevent.c: (GST_START_TEST):
11782 Unit test for the above.
11784 2006-09-29 Stefan Kost <ensonic@users.sf.net>
11786 * docs/design/Makefile.am:
11787 Dist some more files.
11789 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11791 * tests/check/libs/controller.c: (GST_START_TEST),
11792 (gst_controller_suite):
11793 Add test for the previous fix; add some more tests
11794 for correct refcounting behaviour; fix a few leaks
11795 in test cases; call gst_controller_init() at start
11798 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11800 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11801 (gst_controller_set_from_list):
11802 Don't g_return_val_if_fail() on timed values with invalid timestamps
11803 inside a critical section without unlocking the mutex. Spotted by
11804 René Stadler. (#357617)
11805 Also, fix up refcounting properly: when returning an existing
11806 controller, we should increase the reference only once and not
11807 once per property and when trying to control a property again
11808 we should also increase the refcount.
11810 2006-09-29 Wim Taymans <wim@fluendo.com>
11812 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11813 * libs/gst/net/gstnettimeprovider.c:
11814 (gst_net_time_provider_thread):
11815 Stop reading commands when EOF as well.
11817 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11818 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11819 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11820 Unify description of the dump property.
11822 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11824 * tests/examples/manual/.cvsignore:
11825 OK, so it's actually cvsignore that needs changing. Stop laughing.
11827 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11829 * tests/examples/manual/Makefile.am:
11830 Gah, declare vars *before* using them
11832 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11834 * gst/gst.c: (init_pre), (scan_and_update_registry),
11835 (ensure_current_registry_nonforking),
11836 (ensure_current_registry_forking), (ensure_current_registry),
11837 (init_post), (gst_debug_help), (gst_deinit):
11838 * gst/gst_private.h:
11839 * gst/gstregistry.c: (gst_registry_finalize),
11840 (gst_registry_remove_features_for_plugin_unlocked),
11841 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11842 (gst_registry_scan_path),
11843 (_priv_gst_registry_remove_cache_plugins),
11844 (_priv_gst_registry_cleanup):
11845 * gst/gstregistry.h:
11846 Re-commit the registry changes, along with an extra fix:
11847 When a cached plugin is encountered at a different file path,
11848 update the stored path in the registry cache so that the parent
11849 process knows where it actually is now when it re-reads the registry
11850 cache. Fixes the thing that broke distcheck with the previous commit.
11852 * tests/check/Makefile.am:
11853 Clean up files named 'core' too when running make clean.
11855 * tests/examples/manual/Makefile.am:
11856 Set up a registry path for running these tests, and clean it properly
11859 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11862 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11863 want gmodule-no-export-2.0.pc instead so that we don't drag in
11864 --export-dynamic on every project that links to GStreamer.
11866 Also, make our export regex only match the start of symbols, rather
11867 than any symbol that contains '_gst' somewhere.
11869 * libs/gst/check/Makefile.am:
11870 The libgstcheck we build does however need export-dynamic, as it
11871 produces some symbols that don't match our _gst... style regex.
11874 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11876 * gst/gst.c: (init_pre), (scan_and_update_registry),
11877 (ensure_current_registry_nonforking),
11878 (ensure_current_registry_forking), (ensure_current_registry),
11879 (init_post), (gst_debug_help), (gst_deinit):
11880 * gst/gst_private.h:
11881 * gst/gstregistry.c: (gst_registry_finalize),
11882 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11883 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
11884 (_gst_registry_cleanup):
11885 * gst/gstregistry.h:
11886 Revert previous change until I figure out why it breaks distcheck.
11888 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11890 * gst/gst.c: (init_pre), (scan_and_update_registry),
11891 (ensure_current_registry_nonforking),
11892 (ensure_current_registry_forking), (ensure_current_registry),
11893 (init_post), (gst_debug_help), (gst_deinit):
11895 Make init_pre and init_post take the full complement of GOptionFunc
11896 args so they can return useful GErrors. Make the registry updating
11899 Call _priv_gst_registry_remove_cache_plugins after scanning files to
11900 ensure that the registry we're about to write out doesn't contain
11901 stale information about old-deleted plugin files.
11903 Make _priv_gst_registry_remove_cache_plugins return a boolean so
11904 that deletion of plugin files is considered a registry change.
11906 * gst/gst_private.h:
11907 * gst/gstregistry.c: (gst_registry_finalize),
11908 (gst_registry_remove_features_for_plugin_unlocked),
11909 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11910 (gst_registry_scan_path),
11911 (_priv_gst_registry_remove_cache_plugins),
11912 (_priv_gst_registry_cleanup):
11913 * gst/gstregistry.h:
11914 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
11915 by adding _priv prefix, so that they won't appear in the global
11916 symbol table. They still do atm though because of #318031. Move the
11917 prototypes to gst_private.h
11919 When removing a plugin, remove all features for that plugin too.
11922 2006-09-27 Wim Taymans <wim@fluendo.com>
11924 * docs/random/moving-plugins:
11925 Make it clear that the "compiled-in descriptions" really mean
11926 the element details.
11928 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11929 (gst_base_sink_wait_preroll):
11932 * docs/libs/gstreamer-libs-sections.txt:
11933 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11934 (gst_base_src_get_range), (gst_base_src_activate_push):
11935 * libs/gst/base/gstbasesrc.h:
11936 Added function to block while waiting for PLAYING, this function
11937 is used by live sources that block on the clock.
11938 API: gst_base_src_wait_playing()
11940 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11942 Patch by: Peter Kjellerstedt <pkj at axis com>
11945 gst-element-check.m4 is generated and should therefore be
11946 copied from the build dir rather than the source dir (#357593).
11947 'make distcheck' hasn't noticed this because we were disting
11948 the file as well, so stop doing that.
11950 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11952 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11953 Add some tests for gst_caps_intersect().
11955 * tools/gst-launch.c: (event_loop):
11956 Print all buffering percentages we get, even the 100% one.
11958 2006-09-26 Wim Taymans <wim@fluendo.com>
11960 * tools/gst-inspect.c: (print_element_properties_info),
11961 (print_signal_info):
11962 Fix printing of flags to match the look of enums.
11964 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11966 * gst/gstelementfactory.c:
11967 Fix typo in docs blurb.
11969 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11971 * gst/gsturi.c: (search_by_entry):
11972 Don't assert/crash here if a uri handler doesn't return any
11973 supported protocols. The list of protocols could be generated
11974 dynamically at runtime or at plugin registration, and an error
11975 in the underlying library shouldn't be fatal (#353301).
11977 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11980 Fix warning if HAVE_PRINTF_EXTENSION is undefined
11981 (spotted by Peter Kjellerstedt).
11983 2006-09-23 Wim Taymans <wim@fluendo.com>
11985 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
11987 * libs/gst/base/gstbasesrc.c:
11988 (gst_base_src_default_check_get_range), (gst_base_src_start),
11989 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11990 (gst_base_src_change_state):
11991 Match _start/_stop calls in the activate functions. Remove redundant
11992 _stop call from the state change function. Fixes #356910.
11993 Turn failure DEBUG into ERROR.
11995 2006-09-22 Wim Taymans <wim@fluendo.com>
11997 * docs/design/part-buffering.txt:
11998 * gst/gstmessage.c: (gst_message_new_buffering),
11999 (gst_message_parse_buffering):
12000 Update docs about buffering.
12002 * docs/design/part-trickmodes.txt:
12005 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12007 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12008 (gst_controller_new_list):
12009 Ref instances when returning them again (fixes #357180)
12011 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12013 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12014 Don't forget to release proxy lock when there's an error.
12016 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12019 Add extra initialisers for Caps things, to fix some plugin warnings
12022 2006-09-18 Wim Taymans <wim@fluendo.com>
12024 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12025 Also set template on the internal pad so that a getcaps from the
12026 target pad returns the template caps.
12028 2006-09-18 Wim Taymans <wim@fluendo.com>
12030 * gst/gstelement.c: (gst_element_post_message),
12031 (gst_element_dispose):
12032 Use _DEBUG_OBJECT some more.
12034 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12037 * tools/gst-launch.c: (main):
12038 If the toplevel element is not a GstPipeline, it must be put in a
12039 pipeline so that a bus and clock is selected.
12041 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12043 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12044 JITTER, RATE, and LATENCY query should be handled by the
12045 default case and not by the CONVERT query code.
12047 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12049 * gst/gstformat.c: (gst_format_register):
12050 Fix locking order (must take lock before using n_values).
12052 * gst/gstvalue.c: (gst_value_serialize_enum),
12053 (gst_value_deserialize_enum_iter_cmp),
12054 (gst_value_deserialize_enum):
12055 Fix serialisation/deserialisation of custom registered GstFormats.
12057 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12058 Unit test for custom format serialisation/deserialisation.
12060 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12062 * docs/pwg/building-boiler.xml:
12063 * plugins/elements/gstcapsfilter.c:
12064 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12067 2006-09-16 Edward Hervey <edward@fluendo.com>
12069 * libs/gst/base/gstbasetransform.c:
12070 (gst_base_transform_buffer_alloc):
12071 Check if requested caps are the same as the sinks caps IF
12072 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12074 This fixes the renegotiation issues stated in #352827.
12076 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12079 * docs/manual/advanced-autoplugging.xml:
12080 * tests/examples/Makefile.am:
12081 * tests/examples/manual/.cvsignore:
12082 * tests/examples/manual/Makefile.am:
12083 * tests/examples/manual/extract.pl:
12084 Extract the manual examples again like we used to do.
12087 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12089 * win32/common/config.h:
12092 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12095 Documents how to receive errors.
12097 2006-09-15 Wim Taymans <wim@fluendo.com>
12099 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12100 (event_loop), (main):
12101 Added some comments here and there.
12102 Post an application message when an interrupt is caught instead of doing
12103 an uncontrolled state change.
12104 Clean up the event loop.
12105 Handle buffering messages, pause/resume the pipeline.
12106 Make shutdown because of an interrupt more reliable.
12108 2006-09-15 Wim Taymans <wim@fluendo.com>
12110 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12111 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12112 (gst_base_sink_preroll_object):
12113 Make sure that our internal state is correct when we commit our state
12114 asynchronously. This solves a race where a state change to PLAYING
12115 could cause the sink to remain blocked in preroll in some situations.
12117 2006-09-15 Wim Taymans <wim@fluendo.com>
12119 * tools/gst-inspect.c: (print_element_properties_info),
12120 (print_signal_info):
12121 List flags as hex so it's easier to deal with.
12123 2006-09-15 Wim Taymans <wim@fluendo.com>
12125 * docs/libs/gstreamer-libs-sections.txt:
12126 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12127 (gst_base_sink_do_sync):
12128 * libs/gst/base/gstbasesink.h:
12129 Expose logic to wait for preroll so that subclasses such as audiosink
12130 can also use this method.
12131 API: gst_base_sink_wait_preroll()
12133 2006-09-15 Wim Taymans <wim@fluendo.com>
12135 * gst/gstobject.c: (gst_object_set_parent):
12136 * gst/gstpipeline.c: (do_pipeline_seek):
12137 Small cleanups in docs and code.
12139 * gst/gstsegment.c: (gst_segment_clip):
12140 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12141 if stop == start and start is in the segment, no clipping should be
12142 done. Also add a test for this.
12144 2006-09-15 Wim Taymans <wim@fluendo.com>
12146 * docs/design/part-buffering.txt:
12147 * docs/gst/gstreamer-sections.txt:
12148 * gst/gstmessage.c: (gst_message_new_buffering),
12149 (gst_message_parse_buffering):
12150 * gst/gstmessage.h:
12151 Added methods to create and parse BUFFERING messages.
12152 Added preliminary docs about buffering.
12153 API: gst_message_new_buffering
12154 API: gst_message_parse_buffering
12156 2006-09-06 Wim Taymans <wim@fluendo.com>
12159 Update documentation.
12161 * gst/gstelement.c: (gst_element_class_init),
12162 (gst_element_release_request_pad), (gst_element_set_clock),
12163 (gst_element_get_index), (gst_element_add_pad),
12164 (gst_element_remove_pad), (gst_element_get_random_pad),
12165 (gst_element_send_event), (gst_element_get_query_types),
12166 (gst_element_query), (gst_element_post_message),
12167 (gst_element_message_full), (gst_element_continue_state),
12168 (gst_element_lost_state), (gst_element_save_thyself),
12169 (gst_element_restore_thyself):
12170 Documentation updates.
12171 Rename last bit of the new-pad -> pad-added signal rename.
12172 Fix the case where an element query would only work if the source
12174 Avoid some useless type checking in message handling.
12179 Documentation updates.
12181 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12183 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12184 add an INFO line for when we actually update the fd
12186 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12191 === release 0.10.10 ===
12193 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12196 releasing 0.10.10, "Pais"
12198 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12200 * docs/manual/advanced-position.xml:
12201 Fix typo in sample code.
12203 2006-09-05 Wim Taymans <wim@fluendo.com>
12205 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12206 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12207 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12208 * libs/gst/net/gstnetclientclock.h:
12209 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12210 * libs/gst/net/gstnettimepacket.h:
12211 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12212 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12213 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12214 * libs/gst/net/gstnettimeprovider.h:
12215 Make stuff compile on windows. Fixes #345295.
12217 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12219 * gst/gst.c: (ensure_current_registry_forking):
12220 Print better details when child was terminated by signal.
12222 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12224 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12225 Print a warning rather than g_assert() if a plugin feature
12226 is a URI handler but returns no protocols (#353976).
12228 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12230 * docs/random/moving-plugins:
12233 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12235 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12236 Fix locking order, handle NULL function values properly.
12241 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12242 Initialise variable before using it and fix debug statement to
12243 print the address of the function rather than the address of the
12244 variable on the stack holding the address of the function.
12246 2006-09-01 Wim Taymans <wim@fluendo.com>
12248 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12249 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12250 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12251 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12252 (gst_ghost_pad_parent_unset),
12253 (gst_ghost_pad_internal_do_activate_push),
12254 (gst_ghost_pad_internal_do_activate_pull),
12255 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12256 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12257 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12258 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12259 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12260 (gst_ghost_pad_new_no_target_from_template),
12261 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12263 Avoid needless typechecking in macros.
12264 Since the internal pad is always present and never changes, there is
12265 no need to locking or ref when retrieving it.
12266 Improve debugging a bit.
12267 Handle link errors when setting the target. Fixes #341029.
12269 2006-09-01 Wim Taymans <wim@fluendo.com>
12271 * docs/libs/gstreamer-libs-sections.txt:
12272 * docs/plugins/gstreamer-plugins-sections.txt:
12273 Fix docs some more.
12275 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12276 (gst_collect_pads_event):
12277 * libs/gst/base/gstcollectpads.h:
12278 Documentation updates.
12279 Free queued buffer when removing a pad.
12281 2006-08-31 Michael Smith <msmith@fluendo.com>
12283 * gst/gstutils.c: (gst_element_link_pads),
12284 (gst_element_link_pads_filtered):
12285 Ensure that we set a capsfilter to NULL if we failed to link it
12286 when doing filtered linking, to avoid criticals.
12288 No need to check for unreffing srcpad, which is explicly NULLed
12289 above (a trivial code cleanup).
12291 2006-08-31 Wim Taymans <wim@fluendo.com>
12293 * docs/design/part-gstghostpad.txt:
12294 Update ascii art in documentation.
12296 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12297 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12298 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12299 (gst_ghost_pad_internal_do_activate_push),
12300 (gst_ghost_pad_internal_do_activate_pull),
12301 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12302 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12303 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12304 (gst_ghost_pad_set_target):
12305 Small cleanups and leak fixes.
12306 Remove some checks now that the internal pad is never NULL.
12307 Fix the case where linking pads without a target would create nasty
12308 criticals. Fixes #341029.
12309 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12310 value of _set_target().
12312 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12313 (gst_ghost_pad_suite):
12314 Some more tests for creating and linking untargeted ghostpads.
12316 2006-08-31 Edward Hervey <edward@fluendo.com>
12318 * docs/gst/gstreamer-sections.txt:
12319 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12320 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12321 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12322 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12323 (gst_ghost_pad_new_from_template),
12324 (gst_ghost_pad_new_no_target_from_template):
12325 * gst/gstghostpad.h:
12326 Refactored *_new() functions.
12327 Templates are now used as a g_object_new() parameter.
12328 Use template in _do_getcaps() if we don't have a target.
12329 Small documentation cleanups.
12330 Added two new constructors:
12331 gst_ghost_pad_new_from_template()
12332 gst_ghost_pad_new_no_target_from_template()
12333 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12334 (gst_ghost_pad_suite):
12335 Added tests for new ghostpad instanciation functions.
12337 API additions: gst_ghost_pad_new_from_template,
12338 gst_ghost_pad_new_no_target_from_template
12340 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12342 * docs/random/ensonic/profiling.txt:
12343 Ideas about qos profiling.
12345 2006-08-29 Wim Taymans <wim@fluendo.com>
12347 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12351 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12354 Improve and detypofy docs.
12356 * tests/check/Makefile.am:
12357 * tests/check/gst/.cvsignore:
12358 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12359 Add a basic test suite for GstXML.
12361 2006-08-29 Wim Taymans <wim@fluendo.com>
12363 * gst/gstelement.c: (activate_pads), (clear_caps),
12364 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12365 Clear the pad caps when the element shut down all of the pads and
12366 is not streaming data that could modify the caps.
12369 2006-08-28 Michael Smith <msmith@fluendo.com>
12371 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12372 Revert previous change; I misunderstood single-segment mode.
12374 2006-08-28 Michael Smith <msmith@fluendo.com>
12376 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12377 Unset DISCONT on buffers when using single-segment mode.
12379 2006-08-28 Wim Taymans <wim@fluendo.com>
12381 * gst/gstcaps.c: (gst_caps_merge_structure):
12383 Fix docs and indentation again.
12385 * tests/check/gst/gstquery.c: (GST_START_TEST):
12386 Fix leak in tests and add some more tests.
12388 2006-08-28 Edward Hervey <edward@fluendo.com>
12390 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12391 Inform GstSegment of the last stop position in order for the current
12392 segment to have a proper duration if it doesn't have a specific stop
12393 position from which a duration could be calculated.
12394 This bug was noticeable when a non-flushing, non-update new segment was
12395 followed by another segment (all buffers from the new segment were being
12398 2006-08-28 Wim Taymans <wim@fluendo.com>
12400 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12401 Small comment update.
12403 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12404 (gst_identity_transform_ip):
12405 Drop-probability is broken, mention this in the code with a
12406 FIXME and also in the property description.
12407 Make silent also be silent about the drop messages.
12409 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12411 * docs/manual/appendix-win32.xml:
12412 Remove mention of popt, we don't depend on that any
12413 longer (#353136). Add some comments pointing out that
12414 this section is slightly outdated.
12416 2006-08-28 Wim Taymans <wim@fluendo.com>
12418 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12420 * gst/gstquery.c: (gst_query_new_segment):
12421 * tests/check/gst/gstquery.c: (GST_START_TEST):
12422 Initialize variables when creating a new segment query.
12425 2006-08-28 Wim Taymans <wim@fluendo.com>
12427 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12429 * gst/gstelement.c: (gst_element_get_bus):
12430 * tests/check/gst/gstelement.c: (GST_START_TEST):
12431 Check for NULL before _reffing the bus. Fixes #353122.
12433 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12435 * docs/manual/basics-bus.xml:
12436 Docs update: fix wrong callback return value explanation; add
12437 some lines about the implicit relationship between main loop
12438 and main context; remove duplicate main loop variable declaration.
12440 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12442 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12443 Don't leak caps in unit test; add a few more simple
12446 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12448 * docs/gst/gstreamer-sections.txt:
12449 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12450 (gst_caps_structure_is_subset), (gst_caps_merge),
12451 (gst_caps_merge_structure):
12453 * libs/gst/base/gstbasetransform.c:
12454 (gst_base_transform_transform_caps):
12455 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12456 implement caps merging (fixes #352580)
12458 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12460 * tools/Makefile.am:
12461 * tools/gst-plot-timeline.py:
12462 add debug-log plotting developer tool (#340674)
12464 2006-08-23 Wim Taymans <wim@fluendo.com>
12466 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12467 (gst_pad_stop_task):
12468 Improve debugging for task functions.
12470 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12471 (gst_task_start), (gst_task_pause), (gst_task_join):
12472 Make sure that the task function started and finished after a
12474 Don't try to push the task function on the threadpool multiple
12476 Improve the g_warning message with some useful suggestions
12477 about how to fix the problem.
12479 2006-08-23 Wim Taymans <wim@fluendo.com>
12481 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12482 Handle RESYNC correctly in _proxy_getcaps.
12484 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12486 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12487 (gst_xml_parse_memory), (gst_xml_get_element):
12488 Chain up to parent class in dispose function and also
12489 unref the elements in the toplevel_elements GList.
12490 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12491 Always return a reference in gst_xml_get_element() rather
12492 than only sometimes.
12494 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12495 Don't leak GstXml object.
12497 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12499 * docs/gst/gstreamer-sections.txt:
12500 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12503 * libs/gst/base/gstbasetransform.c:
12504 (gst_base_transform_transform_caps):
12505 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12508 2006-08-21 Edward Hervey <edward@fluendo.com>
12510 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12511 Implement GObject::dispose virtual method in GstXML so we can free the
12512 top_elements GList.
12514 2006-08-21 Wim Taymans <wim@fluendo.com>
12516 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12517 (gst_buffer_create_sub):
12518 Copy duration/offset_end/caps when creating a subbuffer of the
12520 Make the subbuffer read-only when we make the metadata writable for
12521 now. Fixes #351768.
12523 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12524 Added check for metadata copy when creating subbuffers.
12526 2006-08-21 Edward Hervey <edward@fluendo.com>
12528 * libs/gst/base/gstbasetransform.c:
12529 (gst_base_transform_buffer_alloc):
12530 Only call downstream buffer_alloc if transform element is passthrough
12531 or always_in_place. Closes #350449.
12533 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12536 ChangeLog surgery to add comments to previous changes
12538 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12543 * gst/gstpad.c: (gst_pad_set_active):
12544 Be more verbose in the log
12546 * libs/gst/base/gstbasetransform.c:
12547 (gst_base_transform_transform_caps):
12548 Simplify caps to get rid of duplicates, fixes #345444
12550 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12554 Use these optimizations only internally.
12556 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12558 * gst/gstvalue.c: (gst_value_compare_list),
12559 (gst_value_compare_fraction_range),
12560 (gst_value_intersect_fraction_fraction_range),
12561 (gst_value_intersect_fraction_range_fraction_range),
12562 (gst_value_subtract_fraction_fraction_range),
12563 (gst_value_subtract_fraction_range_fraction_range),
12564 (gst_value_get_compare_func), (gst_value_compare),
12565 (gst_value_compare_with_func):
12567 Saves the expensive lookup of the compare function in many cases
12570 2006-08-18 Edward Hervey <edward@fluendo.com>
12572 * tests/check/gst/gstinfo.c: (gst_info_suite):
12573 Disable test that require gstdebug if it wasn't built in core.
12575 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12577 * docs/random/ensonic/logging.txt:
12580 * gst/gstinfo.c: (gst_debug_log_default):
12581 reorder fields, save some columns, add optional color codes for log
12584 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12586 * docs/random/ensonic/logging.txt:
12587 add ideas about making the logs a bit more useful
12589 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12591 * docs/pwg/advanced-events.xml:
12592 * docs/pwg/titlepage.xml:
12593 Update for 0.10 API (#340627). Add myself
12596 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12598 * docs/libs/gstreamer-libs-docs.sgml:
12599 * docs/libs/gstreamer-libs-sections.txt:
12600 * libs/gst/check/gstbufferstraw.c:
12601 Make gstcheck stuff show up in docs (still needs to
12602 be documented properly though).
12604 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12606 * docs/gst/gstreamer-sections.txt:
12608 * gst/gst.c: (init_post):
12609 * gst/gst_private.h:
12610 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12612 * gst/gstquery.c: (gst_query_new_position),
12613 (gst_query_set_position), (gst_query_parse_position),
12614 (gst_query_new_duration), (gst_query_set_duration),
12615 (gst_query_parse_duration), (gst_query_new_convert),
12616 (gst_query_set_convert), (gst_query_parse_convert),
12617 (gst_query_new_segment), (gst_query_set_segment),
12618 (gst_query_parse_segment), (gst_query_new_seeking),
12619 (gst_query_set_seeking), (gst_query_parse_seeking):
12620 Add internal helpers for pre-registering quarks from static strings
12621 and using the quark values directly instead of looking them up when
12622 creating and parsing queries. Can be used for event construction too.
12625 2006-08-16 Wim Taymans <wim@fluendo.com>
12630 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12632 * gst/gstutils.c: (gst_util_set_value_from_string):
12633 Fix memleak (#351502).
12635 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12636 Add unit test for most of gst_util_set_value_from_string()
12637 (not that one would want to encourage use of this function).
12639 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12641 * libs/gst/check/gstcheck.h:
12642 Use const gchar * variables in fail_unless_equals_string
12643 macro to avoid compiler warnings (and don't use tabs for
12646 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12648 * tools/gst-launch.c: (print_tag):
12649 More space on the left for the tag names, to cater
12650 for the 'extended comment' tag (not touching the
12651 string for the first line since it's translated).
12653 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12655 * libs/gst/check/gstcheck.h:
12656 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12657 print something when they fail.
12659 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12661 * docs/gst/gstreamer-sections.txt:
12662 * gst/gsttaglist.c: (_gst_tag_initialize):
12663 * gst/gsttaglist.h:
12664 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12665 Also change merge function for GST_TAG_COMMENT to
12668 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12670 * gst/gstinfo.c: (gst_debug_print_object):
12671 Make GST_PTR_FORMAT print messages as well.
12673 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12674 (GST_START_TEST), (gst_info_suite):
12677 2006-08-14 Edward Hervey <edward@fluendo.com>
12679 * gst/gstelementfactory.c: (gst_element_register):
12680 If the GstElementClass doesn't have a GstElementDetails with all fields
12681 filled up correctly (longname, description AND author), then error out
12682 nicely instead of crashing.
12684 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12686 * gst/gststructure.c:
12687 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12690 Expand on the difference between arrays and lists as we use them.
12692 2006-08-14 Wim Taymans <wim@fluendo.com>
12694 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12695 If the parent state change function failed, don't assume we can safely
12696 stop the source, this will be done when the pads are deactivated.
12698 2006-08-14 Wim Taymans <wim@fluendo.com>
12701 * gst/gsttask.c: (gst_task_join):
12704 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12705 (gst_pad_stop_task):
12706 When pad (de)activation failed for some reason, restore the old
12707 activation mode and set the pad to flushing instead of assuming the
12708 pad is deactivated.
12709 If the _task_join() failed, reinstall the task on the pad so that it can
12710 be stopped later and return an error.
12712 2006-08-11 Andy Wingo <wingo@pobox.com>
12715 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12716 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12717 is only for users of API that don't want to see deprecated
12718 functions in the headers; people that want to compile out
12719 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12720 CFLAGS. Fixes the build of multifdsink, or will soon..
12722 2006-08-11 Wim Taymans <wim@fluendo.com>
12724 * docs/gst/gstreamer-sections.txt:
12725 Add GstClockClass vmethod docs.
12728 Mark #endif with comment for associated #if
12730 * gst/gstclock.c: (gst_clock_id_wait):
12732 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12733 most clock implementations.
12735 Flesh out docs about resolution methods.
12736 API: GstClockClass::wait_jitter
12738 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12739 (gst_system_clock_async_thread),
12740 (gst_system_clock_id_wait_jitter_unlocked),
12741 (gst_system_clock_id_wait_jitter):
12742 Use base class wait_jitter variant for improved performance
12743 due to less clock polling.
12745 2006-08-11 Edward Hervey <edward@fluendo.com>
12747 * gst/gst.c: (gst_init_check), (init_post):
12748 Set gst as being initialized before scanning/updating the registry,
12749 since there might be my python plugin loader that calls gst_init() and
12750 we don't want to loop back in.
12753 2006-08-11 Wim Taymans <wim@fluendo.com>
12755 * docs/design/part-qos.txt:
12756 Bring docs in line with the code. Mostly the sign of the jitter was
12757 wrong in the docs. Fixes #349943.
12760 Fix the docs for the jitter.
12762 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12763 (gst_event_parse_tag), (gst_event_new_buffer_size),
12764 (gst_event_parse_buffer_size), (gst_event_parse_qos),
12765 (gst_event_new_seek), (gst_event_parse_seek),
12766 (gst_event_new_navigation):
12767 Make sure the GstStructure has no parent when creating custom
12769 Add some more argument checking so that we avoid 0.0 rates.
12770 Flesh out the docs for the QoS event some more.
12772 2006-08-11 Wim Taymans <wim@fluendo.com>
12774 * docs/gst/gstreamer-sections.txt:
12775 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12776 (ensure_current_registry_forking), (ensure_current_registry),
12777 (parse_one_option), (parse_goption_arg), (gst_deinit),
12778 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12781 Added API and command line option to disable registry forking in
12782 addition to the environment variable.
12783 Constify some static arrays.
12784 Added some more debug.
12785 Don't deinit twice.
12786 API: gst_registry_fork_is_enabled()
12787 API: gst_registry_fork_set_enabled()
12788 API: --gst-disable-registry-fork command line option
12791 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
12793 * gst/gst.c: (gst_init):
12794 Fix typo in error message.
12796 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12798 * libs/gst/controller/gstcontroller.h:
12799 fix ABI size-correction
12801 * tests/check/libs/gdp.c: (gst_dp_suite):
12802 make tests that use deprecated API conditional
12804 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12806 * docs/libs/gstreamer-libs-sections.txt:
12807 * libs/gst/controller/gstcontroller.c:
12808 (_gst_controller_get_property), (_gst_controller_set_property),
12809 (_gst_controller_init), (_gst_controller_class_init):
12810 * libs/gst/controller/gstcontroller.h:
12811 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12812 (gst_object_set_control_rate):
12813 API: add gst_object_{s,g}et_control_rate(), add private data section,
12816 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12817 * libs/gst/dataprotocol/dataprotocol.h:
12818 add deprecation guards to make gtk-doc happy and allow disabling cruft
12820 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
12822 * tests/check/Makefile.am:
12823 * tests/check/gst/.cvsignore:
12824 Let's enable the new unit test as well.
12826 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
12829 * docs/gst/gstreamer-sections.txt:
12830 * gst/gstconfig.h.in:
12831 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12832 (_gst_info_printf_extension_ptr),
12833 (_gst_info_printf_extension_segment):
12834 API: add GST_SEGMENT_FORMAT, which is a printf extension we
12835 register that lets us easily dump GstSegments into debug
12838 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12839 (info_segment_format_printf_extension), (gst_info_suite):
12840 Add simple unit test that logs a bunch of different segments (not
12841 valgrinded at the moment because of leaks in
12842 gst_debug_add_log_function).
12844 2006-08-09 Edward Hervey <edward@fluendo.com>
12846 * libs/gst/base/gstbasetransform.c:
12847 (gst_base_transform_buffer_alloc):
12848 Even if we can't figure out the proper format to request downstream,
12849 call buffer_alloc() downstream with the input parameters without setting
12850 the caps on the srcpad. This will force negotiation in the chain
12854 2006-08-08 Edward Hervey <edward@fluendo.com>
12856 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12857 Unlinking from a pad without a target is now a perfectly valid case
12858 which should NOT raise an assertion.
12859 This case would happen if a linked ghostpad its target set to NULL after
12860 it was previously linked.
12862 2006-08-08 Edward Hervey <edward@fluendo.com>
12864 * tests/check/libs/gdp.c:
12865 Also comment out the test (see below).
12867 2006-08-08 Edward Hervey <edward@fluendo.com>
12869 * tests/check/libs/gdp.c: (gst_dp_suite):
12870 Use the architecture information from config.h and not gcc macros
12871 in order to properly disable a test that fails on PPC64.
12873 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
12875 * gst/gstelement.c: (gst_element_remove_pad):
12876 Don't crash printing the warning if the pad has no parent.
12878 2006-08-02 Wim Taymans <wim@fluendo.com>
12880 * libs/gst/dataprotocol/dataprotocol.c:
12881 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12882 (gst_dp_crc), (gst_dp_header_payload_length),
12883 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
12884 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
12885 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
12886 (gst_dp_event_from_packet), (gst_dp_validate_header),
12887 (gst_dp_validate_payload):
12888 Make debug category static
12889 Constify the crc table.
12890 Do some more arg checking in public functions.
12891 Fix some docs and do some small cleanups.
12893 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12894 Add some more checks to see if GDP deals with bogus input.
12896 2006-07-31 Wim Taymans <wim@fluendo.com>
12898 * gst/gstvalue.c: (gst_value_compare_list):
12899 Fix GstValueList comparison code. Fixes #347293.
12901 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12902 Check to test GstValueList comparison.
12904 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12906 * gst/gstelementfactory.c: (gst_element_factory_create):
12907 Remove unnecessary ref/unref pair
12909 * gst/parse/grammar.y:
12910 Make sure to free the parse buffer on all code paths.
12911 Move a g_free up to the error handler where it's easier to see.
12913 * tests/check/gst/gstevent.c: (test_event):
12914 Extending timeout for downstream travelling events to 10 seconds to
12915 hopefully avoid intermittent failure on the buildbots.
12917 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
12918 Don't manually set the state of the src element - it will happen as a
12919 natural consequence of the pipeline changing state, and that way it
12920 will do it in the right order too.
12922 2006-07-31 Wim Taymans <wim@fluendo.com>
12924 * libs/gst/base/gstbasetransform.c:
12925 (gst_base_transform_buffer_alloc):
12926 Use OBJECT_LOCK and refcounting to get the pad caps in the
12927 buffer_alloc function because the caps could change while we are
12928 busy with them. Fixes #349105
12930 2006-07-31 Wim Taymans <wim@fluendo.com>
12932 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
12933 Protect _PAD_CAPS with OBJECT_LOCK.
12935 2006-07-31 Wim Taymans <wim@fluendo.com>
12937 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12938 (gst_pad_get_property), (gst_pad_activate_pull),
12939 (gst_pad_activate_push), (gst_pad_set_blocked_async),
12940 (gst_pad_set_activate_function),
12941 (gst_pad_set_activatepull_function),
12942 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
12943 (gst_pad_set_getrange_function),
12944 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
12945 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12946 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
12947 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
12948 (gst_pad_set_acceptcaps_function),
12949 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12950 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
12951 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
12952 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
12953 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
12954 (gst_pad_configure_sink), (gst_pad_configure_src),
12955 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
12956 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
12957 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
12958 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
12959 (gst_pad_send_event):
12960 Use _DEBUG_OBJECT when it makes sense.
12961 Protect GST_PAD_CAPS with the OBJECT_LOCK.
12962 Small cleanups and code reflows.
12963 Avoid caps refcounting in _accept_caps.
12964 Refactor alloc_buffer so that the code performed on the peer is in a
12965 separate function. Also if the pad does not implement a buffer alloc
12966 function, we should still check if the pad is flushing before falling
12967 back to the default allocator.
12969 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12971 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12972 Make all uses of identity and fakesink have silent=true to avoid
12973 serialising every passing data structure, which is breaking tests
12974 on FC4 for some unknown reason.
12976 2006-07-30 Stefan Kost <ensonic@users.sf.net>
12978 * gst/parse/Makefile.am:
12979 * gst/parse/grammar.y:
12980 * gst/parse/parse.l:
12981 Reverted previous patch as it required to bump the flex dependency to
12982 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
12984 2006-07-30 Stefan Kost <ensonic@users.sf.net>
12986 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
12988 * gst/parse/Makefile.am:
12989 * gst/parse/grammar.y:
12990 * gst/parse/parse.l:
12991 push & pop the state of the lexer for reentrant use case
12994 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
12996 * libs/gst/base/gstbasesrc.h:
12997 Note in the docs that the ::newsegment vfunc is not actually used by
13000 2006-07-28 Wim Taymans <wim@fluendo.com>
13002 * libs/gst/base/gstcollectpads.c:
13003 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13004 (gst_collect_pads_clear), (gst_collect_pads_flush),
13005 (gst_collect_pads_event), (gst_collect_pads_chain):
13006 When flushing a pad, also clear the queued buffer so that we don't
13007 accidentally use it when we shouldn't.
13008 Fix leaks by inreffing incomming buffer.
13009 Flush out queued buffers in case of errors.
13012 2006-07-28 Wim Taymans <wim@fluendo.com>
13014 * docs/random/phonon-gst:
13015 Random notes about a Phonon backend.
13017 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13019 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13021 * tests/check/libs/gdp.c: (gst_dp_suite):
13022 Take a whack at fixing the ppc compile using a different define to
13023 disable the broken test.
13025 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13026 Remove excess g_print()
13028 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13030 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13031 Oops, meant to uncomment this line too to dampen the noise a bit.
13033 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13035 * gst/parse/grammar.y:
13036 * gst/parse/parse.l:
13037 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13038 (GST_START_TEST), (parse_suite):
13039 Fix some of the leaks exposed by extending the parse-launch testsuite,
13040 and move the 3 I can't figure out into a separate test that won't run
13041 the pipelines unless the appropriate line is uncommented.
13043 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13045 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13046 Requesting 0 bytes before the end of the file should result in
13047 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13050 2006-07-27 Wim Taymans <wim@fluendo.com>
13052 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13053 Fix useless assert, a uint is always positive.
13055 * gst/gststructure.c: (gst_structure_nth_field_name),
13056 (gst_structure_foreach), (gst_structure_map_in_place):
13057 Check input arguments for public functions to avoid obvious crashes.
13059 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13060 * plugins/elements/gstfakesink.h:
13061 Do less useless typechecking.
13063 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13065 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13066 Do not use mmap() by default since there are a number of error
13067 conditions that we would like to handle in a non-fatal way that
13068 will result in a SIGBUS if we use mmap(). Examples: external
13069 devices (USB harddrive, portable music player) being unplugged
13070 while in use; file on mounted CD/DVD that can't be read because
13071 the medium is partly damaged. Fixes #348455 and #348475.
13073 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13076 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13077 rates are a gdouble
13079 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13081 * gst/gstregistry.c:
13082 Move big documentation comment into class section header, so that it
13083 appears in the API docs.
13085 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13087 * docs/gst/gstreamer-sections.txt:
13088 Oops. Commit the docs additions too for new API.
13089 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13091 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13093 * gst/gststructure.c: (gst_structure_id_set),
13094 (gst_structure_id_set_valist):
13095 * gst/gststructure.h:
13096 Add API for setting values into structures without performing
13097 a quark lookup, if the appropriate quark is already known.
13099 API: gst_structure_id_set
13100 API: gst_structure_id_set_valist
13102 * gst/parse/grammar.y:
13103 * gst/parse/parse.l:
13104 Remove some dead code shown by the coverage information.
13105 Don't throw a critical g_warning when encountering a syntax error,
13106 just warn and let the normal error path handle it.
13108 * plugins/elements/gstelements.c:
13109 Bump the rank of filesink up to PRIMARY so that it is preferred over
13110 gnomevfssink for file:// sink uri's
13112 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13113 (GST_START_TEST), (run_delayed_test),
13114 (gst_parse_test_element_base_init),
13115 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13116 (gst_parse_test_element_change_state),
13117 (gst_register_parse_element), (parse_suite):
13118 Beef up the tests for parse syntax to check that more error cases
13119 fail as they are supposed to. Increases the test coverage a bit.
13121 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13123 * docs/manual/basics-elements.xml:
13124 Fix gst_element_link() example.
13127 Mention in API docs that one should usually gst_bin_add()
13128 elements to a bin or pipeline before doing the linking.
13130 2006-07-26 Wim Taymans <wim@fluendo.com>
13132 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13133 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13134 Avoid function call for known types by keeping the buffer and
13135 subbuffer GType global.
13137 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13138 Random silly optimisations in read() path.
13140 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13142 * tools/gst-launch.c: (main):
13143 If the top-level of the parse is a normal bin, it doesn't do the
13144 right logic to run as a top-level element, so place it inside a
13147 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13149 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13150 Remove superfluous g_object_notify() calls, GObject does
13151 that for us automatically.
13153 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13156 on Win32, use dllspec to export the debug category symbols
13158 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13160 * gst/gsttaglist.c: (_gst_tag_initialize):
13161 Allow more than one GST_TAG_IMAGE per taglist.
13163 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13165 * gst/gstminiobject.c:
13167 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13168 (gst_fd_src_create):
13169 log recurring events at LOG level
13170 add more debug for when the fd gets set
13172 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13174 * gst/gstparse.c: (gst_parse_launch):
13175 Also remove reentrance checks if flex is MT safe (#348179)
13176 Fix my empty ChangeLog entry below
13178 2006-07-21 Andy Wingo <wingo@pobox.com>
13180 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13182 * libs/gst/check/Makefile.am
13183 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13184 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13185 * libs/gst/check/gstbufferstraw.h:
13186 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13187 functions, thus proving I am still a GStreamer haxor. OK I wrote
13188 them a long time ago, but anyways.
13190 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13193 * gst/gstparse.c: (gst_parse_launch):
13194 Check for flex version and omit mutex if we have a MT save flex
13197 2006-07-21 Wim Taymans <wim@fluendo.com>
13199 * gst/gstparse.c: (gst_parse_launch):
13200 Protect recursive calls to _parse with a recursive mutex
13203 2006-07-21 Wim Taymans <wim@fluendo.com>
13205 * tests/check/gst/gstpad.c: (GST_START_TEST):
13208 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13210 * gst/gstparse.c: (gst_parse_launch):
13211 Do not hang on recursive usage of gst_parse_launch()
13213 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13215 * gst/gsttaglist.c:
13216 Add some more docs, comments and FIXME 0.11s here and there
13217 and also fix some typos.
13219 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13221 * gst/gstsegment.h:
13222 Convert tabs to spaces for better readability.
13224 2006-07-20 Edward Hervey <edward@fluendo.com>
13226 * tests/check/libs/gdp.c: (gst_dp_suite):
13227 the test_buffer test fails at line 140 on ppc64 at the following
13229 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13230 GST_BUFFER_FLAG_IN_CAPS),
13231 "GST_BUFFER_IN_CAPS flag should have been copied !");
13232 See bug #348114 for more details.
13234 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13236 * docs/pwg/advanced-scheduling.xml:
13238 Fix typos (#348000).
13240 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13242 * docs/pwg/intro-basics.xml:
13243 Fix wrong links (#347927).
13245 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13247 * gst/gstregistry.h:
13248 * gst/gstregistryxml.c: (load_feature),
13249 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13250 * win32/common/config.h:
13251 make --disable-index work (#342564)
13253 2006-07-18 Wim Taymans <wim@fluendo.com>
13255 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13259 The attached patch adds two missing defines to gsttrace.h when tracing
13260 is disabled. It also corrects one existing define.
13263 2006-07-17 Wim Taymans <wim@fluendo.com>
13265 * docs/gst/gstreamer-sections.txt:
13266 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13268 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13269 Add two functions to check and change the SIGSEGV behaviour
13270 when loading plugins.
13271 Don't mess with the SIGSEGV handler when we were told not to.
13273 API: gst_segtrap_is_enabled
13274 API: gst_segtrap_set_enabled
13276 2006-07-14 Wim Taymans <wim@fluendo.com>
13278 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13279 * tests/check/elements/filesrc.c: (GST_START_TEST):
13280 Revert fix for regression in #347408 after release.
13282 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13284 Patch by: Antoine Tremblay <hexa00 at gmail com>
13286 * gst/gstutils.c: (gst_element_unlink):
13287 Free iterator when done (#347311).
13289 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13290 And add a test case for this.
13292 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13295 Bump nano back to CVS
13297 === release 0.10.9 ===
13299 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13302 releasing 0.10.9, "On the road again"
13304 2006-07-13 Wim Taymans <wim@fluendo.com>
13306 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13307 * tests/check/elements/filesrc.c: (GST_START_TEST):
13308 Revert pull-0 fix for release. Disable check. Fixes #347408.
13310 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13312 * libs/gst/dataprotocol/dataprotocol.c:
13313 (gst_dp_event_from_packet_1_0):
13314 Fixes #347337: failure to deserialize event packets with
13315 empty payload (only event type)
13317 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13320 do not install a .c file in the header directory
13322 2006-07-13 Edward Hervey <edward@fluendo.com>
13324 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13325 GhostPad no longer implicitely use the padtemplates of the targets.
13328 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13330 * gst/gstvalue.c: (gst_value_compare_list),
13331 (gst_value_compare_array), (_gst_value_initialize):
13332 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13333 Make GstValueArray comparison be order dependent as designed.
13334 Add checks for value lists and value array comparisons.
13337 2006-07-11 Edward Hervey <edward@fluendo.com>
13339 * gst/gstbin.c: (activate_pads),
13340 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13341 (gst_bin_change_state_func):
13342 (de)activate src pads before calling state_change on the childs.
13343 This is to avoid the case where a src ghostpad is blocked (holding the
13344 stream lock), which would block the deactivation of the ghostpad's
13346 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13347 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13348 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13349 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13350 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13351 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13352 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13353 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13354 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13355 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13356 (gst_ghost_pad_class_init),
13357 (gst_ghost_pad_internal_do_activate_push),
13358 (gst_ghost_pad_internal_do_activate_pull),
13359 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13360 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13361 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13362 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13363 GhostPads now create their internal GstProxyPad at creation (and not
13364 when they're linked, as it was being done previously).
13365 The internal and target pads are linked straight away.
13366 The data will also travel through the other pad in order to make
13367 pad blocking and probes non-hackish (the probe/block now really happens
13368 on the GhostPad and not on the target).
13369 * gst/gstpad.c: (gst_pad_set_blocked_async),
13370 (gst_pad_link_prepare), (gst_pad_push_event):
13371 Remove previous ghostpad cruft.
13372 * gst/gstutils.c: (gst_pad_add_data_probe),
13373 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13374 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13375 (gst_pad_remove_buffer_probe):
13376 Remove previous ghost pad cruft.
13377 Added more detailed debug statements.
13378 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13379 Fix the testsuite for refcounting changes.
13380 The comments about who has references were correct, but the refcount
13381 being checked wasn't the same (!?!).
13385 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13387 * docs/gst/gstreamer-sections.txt:
13388 * gst/gstconfig.h.in:
13389 More docs for configuration options, add docs to gtk-doc.
13391 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13394 * gst/gstconfig.h.in:
13395 * win32/common/config.h:
13396 Fix build when disabling tracing (fixes #344016). Also start to document
13397 the defines that disable the sub-systems.
13399 2006-07-10 Edward Hervey <edward@fluendo.com>
13401 * gst/gst.c: (ensure_current_registry_forking):
13402 let's make valgrind happy...
13404 2006-07-09 Wim Taymans <wim@fluendo.com>
13406 * gst/gstelement.c: (activate_pads),
13407 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13408 Better pad activation code: Reset the collect value too on resync.
13411 2006-07-09 Wim Taymans <wim@fluendo.com>
13413 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13414 (gst_pad_activate_push):
13415 Use some more macros where it makes sense.
13416 Allow pad mode switching instead of asserting. When a pad
13417 is activated in one mode and we activate it in another,
13418 deactivate it first before activating it in a different mode.
13421 2006-07-08 Andy Wingo <wingo@pobox.com>
13423 * tools/gst-launch.c (main): Handle err == NULL.
13425 * gst/gst.c (init_post, ensure_current_registry)
13426 (ensure_current_registry_forking)
13427 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13428 factoring out the registry scanning into separate functions. Don't
13429 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13430 Better environment var name/interface suggestions accepted.
13432 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13434 * gst/gstobject.c: (gst_object_set_name_default),
13435 (gst_object_set_name):
13436 Random micro-optimisation: don't use a hash table
13437 with strings as keys and the usual strdup/strcmp
13438 involved, but rather just use the GQuark of the
13439 type name as key, since it needs to be looked up
13440 anyway to get the type name string.
13442 * tests/check/gst/gstobject.c: (GST_START_TEST):
13445 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13447 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13448 (gst_bin_iterate_all_by_interface):
13449 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13450 GTypes are gulongs and thus the top 4 bytes might be cut
13451 off on some platforms when doing GPOINTER_TO_INT, leading
13452 to invalid GTypes and bad things happening (see RH bug #179654).
13453 Also add a check to make sure the type passed in is really
13456 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13461 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13465 * gst-element-check.m4:
13466 * gst-element-check.m4.in:
13467 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13468 instead of the unversioned gst-inspect (#324176, #168659).
13470 2006-07-06 Wim Taymans <wim@fluendo.com>
13472 * gst/gstmessage.h:
13473 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13476 2006-07-06 Wim Taymans <wim@fluendo.com>
13478 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13479 (gst_base_src_wait), (gst_base_src_update_length),
13480 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13481 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13482 (gst_base_src_loop), (gst_base_src_start),
13483 (gst_base_src_activate_pull):
13485 blocksize == 0 now means the default blocksize when working in push
13487 Remove some pointless asserts in _wait function.
13488 Fix offset/length calculations and EOS handling. We can now pull 0
13489 bytes as well, which is allowed.
13490 use _check_get_range() to decide if we can operate in _pull based
13492 Fix refcounting leak when check_get_range function was not
13494 API GstBaseSrc::blocksize range can be 0 too now (default)
13496 * tests/check/elements/filesrc.c: (GST_START_TEST),
13498 Added check to test _get_range() behaviour.
13500 2006-07-06 Wim Taymans <wim@fluendo.com>
13502 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13503 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13504 (gst_pad_pull_range):
13506 Lots of comments and docs added to the pad functions.
13507 Flesh out the expected behaviour of the get_range() functions.
13509 2006-07-06 Wim Taymans <wim@fluendo.com>
13514 * gst/gstiterator.h:
13518 Remove comma at end of enumerator list.
13520 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13522 * win32/common/libgstbase.def:
13523 * win32/common/libgstdataprotocol.def:
13524 * win32/common/libsgtreamer.def:
13525 Add new exported functions.
13527 2006-07-05 Wim Taymans <wim@fluendo.com>
13529 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13530 Add some more docs here and there.
13532 2006-07-05 Wim Taymans <wim@fluendo.com>
13534 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13535 (gst_base_sink_loop), (gst_base_sink_get_position):
13536 When operating in pull mode update the offset so that we
13539 2006-07-05 Wim Taymans <wim@fluendo.com>
13541 * gst/gstregistryxml.c: (read_string):
13542 Avoid strdup. (will happen in libxml, but hey!)
13545 Add some more docs.
13547 2006-07-05 Wim Taymans <wim@fluendo.com>
13549 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13550 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13551 (gst_buffer_suite):
13552 No point in checking if the size of the subbuffer > 0, the
13553 code handles it correclty as demonstrated by unit test.
13554 Also add a unit test for the zero sized _new_and_alloc and
13555 _copy. Fixes #346663.
13557 2006-07-05 Wim Taymans <wim@fluendo.com>
13559 * libs/gst/base/gstbasetransform.c:
13560 (gst_base_transform_prepare_output_buffer),
13561 (gst_base_transform_buffer_alloc),
13562 (gst_base_transform_handle_buffer):
13563 Make sure the buffer we pass to transform_ip has a refcount of
13564 1 and thus is writable. Fixes #343196
13566 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13568 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13569 (gst_file_src_init), (gst_file_src_set_property),
13570 (gst_file_src_get_property), (gst_file_src_map_region):
13571 * plugins/elements/gstfilesrc.h:
13572 Add "sequential" property, off by default, to use madvise and hint
13573 to the kernel that sequential access is desired.
13574 Touch all retrieved pages by default to ensure they are pulled
13575 into memory. (Closes #345720)
13577 2006-07-03 Wim Taymans <wim@fluendo.com>
13579 * docs/design/part-block.txt:
13580 * docs/design/part-dynamic.txt:
13581 Small docs updates.
13583 2006-07-03 Wim Taymans <wim@fluendo.com>
13585 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13586 (gst_caps_unref), (gst_static_caps_get),
13587 (gst_caps_append_structure):
13588 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13589 Use GSlice when the glib we build against is >= 2.10
13591 2006-07-03 Wim Taymans <wim@fluendo.com>
13593 * gst/gstelement.c: (gst_element_pads_activate):
13594 Small cleanup in pad activation code.
13596 2006-07-03 Wim Taymans <wim@fluendo.com>
13598 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13600 * gst/gst-i18n-app.h:
13601 * gst/gst-i18n-lib.h:
13602 * tools/gst-inspect.c: (print_signal_info):
13603 The attached patch will make the inclusion of gettext.h unconditional in
13604 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13605 libintl.h in tools/gst-inspect.c.
13606 This allows use of --disable-nls again and fixes #344642.
13608 2006-07-03 Edward Hervey <edward@fluendo.com>
13610 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13611 Implement pad blocking on events according to part-block.txt.
13612 More comments on behaviour.
13613 * tests/check/gst/gstevent.c: (test_event):
13614 Send event to peer pad of blocked pad (else it will block).
13616 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13618 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13619 (gst_check_run_suite):
13620 if we get the wrong message, give us the types as string
13621 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13623 * tests/check/elements/filesrc.c: (GST_START_TEST):
13624 add a test for trying to open a non-existing file
13626 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13628 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13629 add a test for adding self
13631 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13633 * libs/gst/check/gstcheck.h:
13634 add some assert_ as alias for fail_unless_*
13635 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13636 increase test coverage
13638 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13641 include lcov.mak for lcov coverage generation
13642 * tools/Makefile.am:
13645 2006-07-02 Edward Hervey <edward@fluendo.com>
13647 * tests/check/elements/.cvsignore:
13650 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13653 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13654 * tests/check/Makefile.am:
13655 clean up gcov files
13657 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13659 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13660 remove gst_caps_simplify; it was not declared and not used
13661 and deprecated in 0.8
13663 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13665 * docs/faq/gst-uninstalled:
13666 don't put empty paths on PYTHONPATH
13667 * docs/gst/gstreamer-sections.txt:
13668 remove some symbols that are not there
13670 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13672 * gst/gstcaps.c: (gst_caps_compare_structures):
13674 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13675 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13678 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13680 * libs/gst/dataprotocol/Makefile.am:
13681 build dataprotocol test by linking to the lib, instead of
13682 compiling the source, so we get coverage
13683 * tests/check/Makefile.am:
13684 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13685 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13686 add a test for filesrc
13688 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13690 * tests/check/gst/gststructure.c: (GST_START_TEST),
13691 (gst_structure_suite):
13692 Push coverage from 59.04% to 70.00%
13694 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13696 * tests/check/Makefile.am:
13697 gst-inspect every element; this makes sure that we also get
13698 coverage on element's get/set functions
13700 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13703 set CFLAGS and friends to -O0 if gcov is being used
13706 * libs/gst/base/Makefile.am:
13707 * libs/gst/check/Makefile.am:
13708 * libs/gst/controller/Makefile.am:
13709 * libs/gst/dataprotocol/Makefile.am:
13710 * libs/gst/net/Makefile.am:
13711 * plugins/elements/Makefile.am:
13712 * plugins/indexers/Makefile.am:
13713 add makefile rules to generate gcov data and clean up
13714 * tests/check/Makefile.am:
13715 add a coverage target that generates an html overview
13718 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13720 * tests/check/elements/fakesink.c:
13721 * tests/check/elements/fakesrc.c:
13722 * tests/check/elements/fdsrc.c:
13723 * tests/check/elements/identity.c:
13724 * tests/check/generic/sinks.c: (gst_sinks_suite):
13725 * tests/check/generic/states.c:
13726 * tests/check/gst/gst.c:
13727 * tests/check/gst/gstabi.c:
13728 * tests/check/gst/gstbin.c:
13729 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13730 * tests/check/gst/gstbus.c: (gst_bus_suite):
13731 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13732 * tests/check/gst/gstelement.c:
13733 * tests/check/gst/gstevent.c: (gst_event_suite):
13734 * tests/check/gst/gstghostpad.c:
13735 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13736 * tests/check/gst/gstmessage.c: (gst_message_suite):
13737 * tests/check/gst/gstminiobject.c:
13738 * tests/check/gst/gstobject.c:
13739 * tests/check/gst/gstpad.c:
13740 * tests/check/gst/gstpipeline.c:
13741 * tests/check/gst/gstplugin.c:
13742 * tests/check/gst/gstquery.c: (gst_query_suite):
13743 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13744 * tests/check/gst/gststructure.c:
13745 * tests/check/gst/gstsystemclock.c:
13746 * tests/check/gst/gsttag.c:
13747 * tests/check/gst/gsttask.c: (gst_task_suite):
13748 * tests/check/gst/gstutils.c:
13749 * tests/check/gst/gstvalue.c:
13750 * tests/check/libs/adapter.c:
13751 * tests/check/libs/basesrc.c:
13752 * tests/check/libs/collectpads.c:
13753 * tests/check/libs/controller.c:
13754 * tests/check/libs/gdp.c: (gst_dp_suite):
13755 * tests/check/libs/gstnetclientclock.c:
13756 * tests/check/libs/gstnettimeprovider.c:
13757 * tests/check/libs/libsabi.c: (libsabi_suite):
13758 * tests/check/libs/typefindhelper.c:
13759 * tests/check/pipelines/cleanup.c:
13760 * tests/check/pipelines/parse-launch.c:
13761 * tests/check/pipelines/simple-launch-lines.c:
13762 * tests/check/pipelines/stress.c: (stress_suite):
13765 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13767 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13768 * libs/gst/check/gstcheck.h:
13769 create a macro and function so that the simple unit test
13770 case can be just one macro to create main()
13772 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13774 * gst/gstbin.c: (gst_bin_restore_thyself):
13775 * gst/gstxml.c: (gst_xml_make_element):
13776 Fix deserialisation from XML. Set parent manually
13777 instead of using gst_bin_add(), since gst_bin_add()
13778 will unlink all pads of the element being added.
13781 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
13783 Patch by: Peter Kjellerstedt <pkj at axis com>
13785 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13786 Fix missing g_strdup() and double free when using the
13787 --gst-plugin-load command line option (#346097).
13789 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13792 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13794 * libs/gst/net/gstnetclientclock.c:
13795 * libs/gst/net/gstnettimeprovider.c:
13796 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13798 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13800 * docs/manual/advanced-dataaccess.xml:
13801 Fix buffer probe example compilation in
13804 2006-06-22 Edward Hervey <edward@fluendo.com>
13806 * gst/gstelement.c: (gst_element_pads_activate):
13807 We need to deactivate src pads first and then sink pads.
13808 The reason is the src pads might be blocking while holding the streaming
13809 lock, so we need to deactivate them first so that deactivating the sink
13810 pads doesn't block (since it will require the streaming lock).
13812 2006-06-22 Wim Taymans <wim@fluendo.com>
13814 * libs/gst/base/gstbasetransform.c:
13815 (gst_base_transform_buffer_alloc):
13816 Forgot to remove two unneeded unrefs.
13817 Simplify a check _is_equal allready checks the obvious case.
13819 2006-06-22 Wim Taymans <wim@fluendo.com>
13821 * docs/design/part-block.txt:
13822 Some docs about what pad_block should do.
13824 2006-06-22 Wim Taymans <wim@fluendo.com>
13826 * gst/gstcaps.c: (gst_caps_replace):
13827 Fix crasher when passed NULL. Doc clarification.
13828 Optimize for the trivial case.
13830 * gst/gstpipeline.c: (gst_pipeline_change_state):
13833 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13834 Small documentation cleanup.
13836 * libs/gst/base/gstbasetransform.c:
13837 (gst_base_transform_buffer_alloc):
13838 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13839 is what we need and it avoids a whole lot of redundant
13840 refcount operations.
13842 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
13844 Patch by: Philip Jägenstedt <philip at lysator liu se>
13846 * docs/manual/advanced-dataaccess.xml:
13847 Fix 'Embedding static elements' section to use
13848 GST_PLUGIN_DEFINE_STATIC (#345607).
13850 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13852 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13853 Attempt to 'fix' spuriously failing test case: it seems like the
13854 timeout of half a second is simply too small when the system is under
13855 load otherwise, and the timeout doesn't really seem to serve any
13856 particular purpose here. Give the pipeline a few seconds to preroll
13857 first, and then give it another half a second to go from PAUSED to
13858 PLAYING and marshal the message into the main thread.
13860 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13862 * tools/gst-feedback-m.m:
13863 Don't only use unversioned tools, try versioned tools as well
13866 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13868 * gst/gstbus.c: (gst_bus_class_init):
13869 Fix some typos, make docs more explicit.
13871 2006-06-20 Wim Taymans <wim@fluendo.com>
13873 * tests/check/gst/gstghostpad.c: (block_callback),
13874 (GST_START_TEST), (gst_ghost_pad_suite):
13875 Added some more ghostpad tests, mainly blocking
13878 2006-06-16 Wim Taymans <wim@fluendo.com>
13880 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
13881 (gst_file_sink_close_file), (gst_file_sink_do_seek),
13882 (gst_file_sink_event), (gst_file_sink_render):
13883 * plugins/elements/gstfilesink.h:
13884 Check if we can seek in the file instead of assuming
13885 we always can. Post an error when we are asked to seek in a
13886 non-seekable file (like a fifo). Fixes #343312.
13889 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13891 * tools/gst-launch.1.in:
13892 Un-garble (fourcc) bit in filtered caps section.
13894 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13896 * docs/manual/advanced-autoplugging.xml:
13897 * docs/manual/basics-helloworld.xml:
13898 * docs/manual/highlevel-components.xml:
13899 Don't leak bus reference in sample code.
13901 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
13904 Add default for new --enable-plugin-docs switch.
13907 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13910 * docs/Makefile.am:
13911 Use new ENABLE_PLUGIN_DOCS conditional.
13913 2006-06-14 Wim Taymans <wim@fluendo.com>
13915 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
13916 Make it clear with a FIXME and a real define what the #if 0
13917 previously disabled.
13919 2006-06-14 Wim Taymans <wim@fluendo.com>
13921 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13922 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13923 * libs/gst/base/gstbasetransform.c:
13924 (gst_base_transform_sink_eventfunc):
13925 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13926 Don't randomly and silently reset a segment when the format
13927 changes as this is a bug somewhere upstream. Fixes #330379.
13929 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
13931 Patch by: Wouter Paesen <wouter at kangaroot net>
13933 * libs/gst/controller/gstcontroller.c:
13934 (gst_controlled_property_new):
13935 Fix controlling of float properties (#344849).
13937 * tests/check/libs/controller.c:
13938 (gst_test_mono_source_get_property),
13939 (gst_test_mono_source_set_property),
13940 (gst_test_mono_source_class_init), (GST_START_TEST):
13941 While we're at it, add some float stuff to unit test.
13943 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
13946 * docs/images/gdp-header.svg:
13948 * docs/libs/Makefile.am:
13949 * docs/libs/gdp-header.png:
13950 * libs/gst/dataprotocol/dataprotocol.c:
13951 add it to the API docs
13952 * docs/manual/intro-motivation.xml:
13955 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
13957 * gst/gst.c: (scan_and_update_registry), (init_post):
13958 If the fork()'ed child process can't write the updated registry cache
13959 file to disk for some reason, make it exit with a failure exit code,
13960 so that the parent can then re-scan the plugins itself and update the
13961 registry structures in memory and work with that (rather than failing
13962 when creating elements because seemingly no plugins are available).
13963 Refactor registry scanning code into separate function for this and
13964 also separate fork() and non-fork() code paths. Fixes #344748.
13966 2006-06-13 Wim Taymans <wim@fluendo.com>
13968 * docs/manual/advanced-dataaccess.xml:
13969 Fix wrong PluginDesc. Fixes #344755.
13971 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
13973 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13974 Fix silly bug that prevented us from creating
13975 ~/.gstreamer-0.10 and writing the registry in one
13976 go (the first call to g_mkstemp() would overwrite the
13977 placeholder in the template string, so the second call
13978 to g_mkstemp() after creating the missing directory
13979 would then error out with 'invalid argument').
13981 2006-06-13 Edward Hervey <edward@fluendo.com>
13983 * gst/gst.c: (init_post):
13986 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
13988 * gst/glib-compat-private.h:
13989 * gst/glib-compat.c:
13990 * gst/glib-compat.h:
13991 * gst/gstvalue.c: (gst_value_serialize_flags):
13992 remove GLib 2.6 compatibility code
13994 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
13996 * gst/parse/Makefile.am:
13997 Fix build with 'make -j N' even more (#340016).
13999 2006-06-12 Wim Taymans <wim@fluendo.com>
14001 * docs/gst/gstreamer-sections.txt:
14004 2006-06-12 Wim Taymans <wim@fluendo.com>
14006 * gst/gstsegment.c: (gst_segment_set_duration),
14007 (gst_segment_set_last_stop), (gst_segment_set_seek),
14008 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14009 (gst_segment_to_running_time), (gst_segment_clip):
14010 Use G_UNLIKELY to help the compiler a bit.
14012 2006-06-12 Wim Taymans <wim@fluendo.com>
14014 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14016 * gst/gstevent.c: (gst_event_get_type):
14017 * gst/gstmessage.c:
14018 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14020 constify quark registration strings. Fixes #344115
14021 Avoid unneeded type checking is _pad_push() by internally
14022 calling gst_pad_chain_unchecked().
14024 2006-06-12 Wim Taymans <wim@fluendo.com>
14026 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14027 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14028 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14029 (gst_buffer_is_span_fast), (gst_buffer_span):
14030 Init _type for consistency.
14031 Use _FLAGS macro to avoid type check.
14032 Avoid unneeded type checks in subbufer code.
14034 2006-06-12 Wim Taymans <wim@fluendo.com>
14036 * gst/gst.c: (gst_debug_help):
14037 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14038 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14039 (gst_plugin_feature_list_free):
14040 * gst/gstregistry.c: (gst_registry_add_plugin),
14041 (gst_registry_add_feature), (gst_registry_plugin_filter),
14042 (gst_registry_feature_filter), (gst_registry_find_plugin),
14043 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14044 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14045 * gst/gstregistryxml.c: (load_feature),
14046 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14047 * gst/gstminiobject.c: (gst_mini_object_unref),
14048 (gst_mini_object_replace), (gst_value_mini_object_free),
14049 (gst_value_mini_object_copy):
14050 Use _CAST macros to avoid unneeded type checking.
14051 Added some more G_UNLIKELY.
14053 2006-06-12 Wim Taymans <wim@fluendo.com>
14056 Avoid unneeded type checking.
14057 API: GST_BUFFER_IS_DISCONT
14059 * gst/gstminiobject.h:
14060 Avoid type check in flag accessor.
14062 * gst/gstelementfactory.h:
14064 * gst/gstpluginfeature.h:
14066 API: GST_ELEMENT_FACTORY_CAST
14067 API: GST_PLUGIN_CAST
14068 API: GST_PLUGIN_FEATURE_CAST
14070 2006-06-12 Wim Taymans <wim@fluendo.com>
14072 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14073 (gst_object_unref):
14074 Add G_UNLIKELY in type registration.
14075 Avoid type check in _ref/_unref since that is also
14078 2006-06-12 Wim Taymans <wim@fluendo.com>
14080 * gst/gsterror.c: (gst_g_error_get_type):
14081 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14082 (gst_static_pad_template_get_type):
14083 * gst/gsttaglist.c: (gst_tag_list_get_type):
14084 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14085 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14086 * gst/gsturi.c: (gst_uri_handler_get_type):
14087 * gst/gstvalue.c: (gst_date_get_type):
14088 * gst/gstxml.c: (gst_xml_get_type):
14089 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14090 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14091 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14092 Add G_UNLIKELY in type registration.
14094 2006-06-12 Wim Taymans <wim@fluendo.com>
14096 * tools/gst-inspect.c: (print_signal_info):
14097 Properly print enum values.
14099 2006-06-12 Wim Taymans <wim@fluendo.com>
14101 * gst/gstinfo.c: (gst_debug_set_active),
14102 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14104 Add some G_[UN]LIKELY.
14105 Maintain __gst_debug_min to avoid formatting the arguments of
14106 debug messages that will be dropped anyway to avoid a lot of
14107 overhead from the debugging system.
14109 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14112 * po/POTFILES.skip:
14113 add missing files containing translatable strings, tell intltool about
14116 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14118 * tests/check/libs/.cvsignore:
14119 add test-binary to ignore list
14121 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14123 * docs/libs/gstreamer-libs-docs.sgml:
14124 reorder (put dp into a chapter) and indent
14126 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14131 === release 0.10.8 ===
14133 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14136 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14138 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14140 * gst/gst.c: (init_post):
14141 move pid declaration to declaration block
14143 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14145 * gst/gst.c: (init_post):
14146 use _exit() instead of exit() in our forked child; this ensures
14147 that none of the registered exit handlers from whatever is using
14148 GStreamer get executed. This fixes gnome-mixer-applet failing
14149 to load, because ORBit would shut down.
14150 Spotted by: Edward Hervey <edward@fluendo.com>
14151 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14154 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14159 === release 0.10.7 ===
14161 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14164 releasing 0.10.7, "Soepeke, ik zie ou"
14166 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14189 * win32/common/config.h:
14190 0.10.6.2 prerelease
14192 2006-06-07 Wim Taymans <wim@fluendo.com>
14194 * gst/gstindex.c: (gst_index_gtype_resolver):
14195 * tools/gst-xmlinspect.c: (print_plugin_info):
14196 Fix leak spotted by coverity checker. Fixes #343827
14197 Fix another other leak found by paolo borelli.
14199 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14201 * libs/gst/dataprotocol/dataprotocol.c:
14202 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14203 (gst_dp_version_get_type), (gst_dp_init),
14204 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14205 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14206 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14207 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14208 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14209 (gst_dp_packetizer_free):
14210 * libs/gst/dataprotocol/dataprotocol.h:
14211 API: add a GstDPPacketizer object, and create/free functions
14212 API: add GstDPVersion enum
14213 Add 1.0 event function that uses the string serialization
14214 Serialize more useful buffer flags
14217 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14219 * tests/check/Makefile.am:
14220 * tests/check/gst/gstabi.c:
14221 * tests/check/gst/struct_ppc64.h:
14222 * tests/check/libs/libsabi.c:
14223 * tests/check/libs/struct_ppc64.h:
14224 add ppc64 structure sizes
14226 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14228 * tests/check/Makefile.am:
14229 * tests/check/gst/gstabi.c:
14230 * tests/check/gst/struct_x86_64.h:
14231 * tests/check/libs/libsabi.c:
14232 * tests/check/libs/struct_x86_64.h:
14233 generate and add structure size lists for x86_64
14235 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14237 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14238 * libs/gst/check/gstcheck.h:
14239 factor out the method from tests that checks size of structures,
14240 and add code to generate the header containing these sizes
14241 * tests/check/gst/gstabi.c: (GST_START_TEST):
14242 * tests/check/gst/struct_i386.h:
14243 * tests/check/libs/libsabi.c: (GST_START_TEST):
14244 * tests/check/libs/struct_i386.h:
14247 2006-06-06 Michael Smith <msmith@fluendo.com>
14249 * gst/gstsegment.h:
14250 Don't use c++-style comments, fixes #343929
14252 2006-06-05 Edward Hervey <edward@fluendo.com>
14255 plugin_paths is not used if we build without registry support.
14257 * gst/gstsegment.c: (gst_segment_copy):
14258 _copy() was always returning NULL...
14260 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14262 * libs/gst/dataprotocol/dataprotocol.c:
14263 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14264 (gst_dp_packet_from_event):
14265 factor out CRC code
14267 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14269 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14270 make sure we unset caps
14272 2006-06-02 Michael Smith <msmith@fluendo.com>
14274 * libs/gst/check/gstcheck.c: (gst_check_init),
14275 (gst_check_chain_func):
14276 * libs/gst/check/gstcheck.h:
14277 Add a cond/mutex to the check support lib, signal this whenever we
14278 add to the buffers list. This will allow tests to not busy-wait on
14281 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14283 * libs/gst/dataprotocol/dataprotocol.c:
14284 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14285 (gst_dp_packet_from_event):
14286 factor out some common header init code
14288 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14290 * docs/libs/gstreamer-libs-sections.txt:
14291 * docs/libs/tmpl/gstdataprotocol.sgml:
14292 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14293 * libs/gst/dataprotocol/dataprotocol.h:
14294 API: make gst_dp_crc() public
14296 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14298 * plugins/indexers/gstindexers.c: (plugin_init):
14299 conditionally register fileindexer (fixes #343598)
14301 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14303 * gst/gsttagsetter.h:
14304 Can't cast ifaces to a class
14306 * libs/gst/net/gstnetclientclock.h:
14307 * libs/gst/net/gstnettimeprovider.h:
14308 * plugins/elements/gstfakesink.h:
14309 * plugins/elements/gstfakesrc.h:
14310 * plugins/elements/gstfdsink.h:
14311 * plugins/elements/gstfdsrc.h:
14312 * plugins/elements/gstfilesink.h:
14313 * plugins/elements/gstfilesrc.h:
14314 * plugins/elements/gstidentity.h:
14315 * plugins/elements/gstqueue.h:
14316 * plugins/elements/gsttee.h:
14317 * plugins/indexers/gstfileindex.c:
14318 * plugins/indexers/gstmemindex.c:
14319 * tests/old/examples/plugins/example.h:
14320 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14322 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14324 * libs/gst/dataprotocol/dataprotocol.c:
14325 (gst_dp_header_from_buffer):
14326 make sure we zero the whole ABI-compatible area
14328 2006-06-01 Wim Taymans <wim@fluendo.com>
14330 Patch by: Alessandro Decina <alessandro at nnva dot org>
14332 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14333 Make sure the EOS flag is cleared from pads after a flush
14334 or stop. Fixes #343538.
14336 * tests/check/libs/collectpads.c: (GST_START_TEST),
14337 (gst_collect_pads_suite):
14338 Added test for collectpads reusage after EOS.
14340 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14343 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14344 * win32/common/libgstbase.def:
14345 export gst_collect_pads_set_flushing
14346 * win32/common/libgstreamer.def:
14347 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14348 gst_value_fraction_multiply
14349 * win32/vs6/gst_inspect.dsp:
14350 add a link to intl.lib
14352 2006-05-30 Wim Taymans <wim@fluendo.com>
14354 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14355 (gst_collect_pads_chain):
14356 Handle the case where a pad is removed from the collection
14357 that could cause the other pads to become collectable.
14359 2006-05-30 Wim Taymans <wim@fluendo.com>
14361 * gst/gstelement.c:
14362 Clarify the use of _release_request_pad() and
14363 _get_request_pad() a bit better.
14365 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14366 (gst_adapter_take_buffer):
14367 Fix some doc and comment typos.
14369 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14371 * docs/gst/gstreamer-sections.txt:
14372 * docs/libs/gstreamer-libs-sections.txt:
14373 add declared symbols
14375 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14377 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14378 Add debug that can be enabled using a #define at the top of the file,
14379 for dumping stats about how late/early we were when waking up from
14380 waiting on the clock.
14382 2006-05-30 Wim Taymans <wim@fluendo.com>
14384 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14385 When rebuilding the pad list, don't leak the previous list.
14387 2006-05-30 Wim Taymans <wim@fluendo.com>
14389 Patch by: Lutz Mueller <lutz at topfrose dot de>
14391 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14392 (gst_base_src_get_query_types), (gst_base_src_update_length):
14393 Publish supported query types.
14394 Update last_stop field in get_range mode so the position
14395 query works. Fixes #342321.
14397 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14399 * docs/gst/gstreamer-sections.txt:
14400 * gst/gsttaglist.c: (_gst_tag_initialize):
14401 * gst/gsttaglist.h:
14402 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14404 2006-05-30 Wim Taymans <wim@fluendo.com>
14406 Patch by: Alessandro Decina <alessandro at nnva dot org>
14408 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14409 Unlock mutex when removing an unknown pad.
14412 * tests/check/Makefile.am:
14413 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14414 (push_event), (setup), (teardown), (GST_START_TEST),
14415 (gst_collect_pads_suite), (main):
14416 Added collecpads check, disabled for now as check crashes for
14419 2006-05-29 Wim Taymans <wim@fluendo.com>
14421 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14422 Don't leak pads lists.
14424 2006-05-29 Wim Taymans <wim@fluendo.com>
14426 * docs/libs/gstreamer-libs-sections.txt:
14427 * libs/gst/base/gstcollectpads.c:
14428 (gst_collect_pads_set_flushing_unlocked),
14429 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14430 (gst_collect_pads_stop):
14431 * libs/gst/base/gstcollectpads.h:
14432 API: gst_collect_pads_set_flushing()
14433 Added api to set the pads to flushing, useful for seeking
14434 code in elements using collectpads.
14435 Clear segment when receiving a flush.
14437 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14439 * gst/gst.c: (add_path_func), (init_post):
14440 Don't scan registry paths passed via --gst-plugin-path immediately
14441 (will crash, because absolutely nothing is set up and no types are
14442 registered etc.); do this later in init_post(). Fixes #343057.
14444 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14446 * gst/gst.c: (init_post):
14447 if we have fork, fork while reading/rebuilding the registry
14448 so the parent doesn't take the hit of having all plugins loaded
14449 in memory. Fixes #342777.
14451 Check if we have fork()
14452 * win32/common/config.h.in:
14455 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14457 * plugins/elements/gstelements.c:
14458 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14459 (gst_file_src_init), (gst_file_src_set_property),
14460 (gst_file_src_get_property), (gst_file_src_start):
14461 * plugins/elements/gstfilesrc.h:
14462 API: GstFileSrc::use-mmap
14464 Add a use-mmap property to enable easier testing of all code paths.
14465 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14466 in the absence of gnomevfssrc. (Closes #340501)
14468 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14470 * tools/gst-inspect.c:
14471 Add missing include, removes warning of ngettext not being defined on
14474 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14476 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14477 Handle NULL input and output pointers silently as a failed conversion,
14478 rather than g_warnings.
14480 2006-05-25 Wim Taymans <wim@fluendo.com>
14482 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14483 Initialize variable before using. Fixes #342820.
14485 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14487 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14488 Fix off-by-one bug that would only allow peeks of N-1 bytes
14489 from the start even if the buffer to typefind on contains
14490 in fact N bytes of data (makes vorbis typefinding from a
14491 vorbis identification header buffer work).
14493 * tests/check/Makefile.am:
14494 * tests/check/libs/.cvsignore:
14495 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14496 (gst_typefindhelper_suite), (main), (foobar_typefind),
14498 Add very basic unit test for gst_type_find_helper_for_buffer()
14499 that checks for the problem fixed above.
14501 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14503 * tools/gst-inspect.c: (print_interfaces),
14504 (print_element_properties_info), (print_element_list), (main):
14505 add more translatable strings
14507 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14509 Patch by: Julien Moutte <julien at moutte net>
14511 * docs/gst/gstreamer-sections.txt:
14512 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14514 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14515 (gst_fake_sink_preroll):
14516 * plugins/elements/gstfakesink.h:
14517 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14519 2006-05-23 Wim Taymans <wim@fluendo.com>
14521 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14523 Added _CUSTOM error and success GstFlowReturn that can be
14524 used be elements internally.
14525 Added macro to check for SUCCESS flowreturns.
14526 API: GST_FLOW_CUSTOM_SUCCESS
14527 API: GST_FLOW_CUSTOM_ERROR
14528 API: GST_FLOW_IS_SUCCESS
14530 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14531 Added check for GstFlowReturn sanity.
14533 2006-05-23 Wim Taymans <wim@fluendo.com>
14535 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14537 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14538 (gst_collect_pads_event):
14539 clear/reset segment info in FLUSH_STOP.
14542 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14544 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14545 (gst_collect_pads_check_collected):
14546 Flush queued buffer on _stop(), fixes playing again (#342454)
14548 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14550 * tests/check/gst/gststructure.c: (GST_START_TEST),
14551 (gst_structure_suite):
14552 add a test for a complete structure
14554 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14556 * docs/faq/developing.xml:
14557 * docs/faq/faq.xml:
14558 * docs/faq/troubleshooting.xml:
14559 * docs/faq/using.xml:
14560 Some minor FAQ updates that won't change the fact that
14561 our FAQ is badly structured, full of information hardly
14562 anyone new to GStreamer needs to know and lacking lots
14563 of information people constantly ask for.
14565 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14567 * gst/gstpad.c: (gst_pad_set_caps):
14568 Short-circuit gst_pad_set_caps if setting the existing
14569 caps pointer again, and avoid printing debug and
14570 reffing/unreffing the caps.
14572 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14573 There's actually no need to set the caps before pushing -
14574 the acceptcaps method will handle it anyway.
14576 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14578 * docs/gst/gstreamer-sections.txt:
14579 * win32/common/libgstreamer.def:
14580 * gst/gstutils.c: (gst_element_seek_simple):
14582 API: add gst_element_seek_simple() (#342238).
14584 2006-05-18 Edward Hervey <edward@fluendo.com>
14586 * gst/gsttypefind.c: (gst_type_find_get_type):
14587 * gst/gsttypefind.h:
14588 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14589 registered for GstTypeFind pointers. This allows wrapping the structure
14590 in bindings (i.e. gst-python).
14592 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14594 * gst/gsttagsetter.c:
14595 Docs additions and fixes (see #339918).
14597 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14599 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14600 The caps intersection algorithm can produce multiple copies of the
14601 caps. Until that is fixed, we need to simplify the result to be
14602 sure whether the allowed caps are fixed or not.
14604 * plugins/elements/gstqueue.c: (gst_queue_init),
14605 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14606 (gst_queue_push_one):
14607 Proxied buffer alloc should not set the caps on the source pad.
14608 When pushing buffers, we always accept the caps change that triggers.
14609 This prevents negotiation errors caused by caps changing mid-stream
14610 and then being refused on our source pad (because upstream is now
14611 refusing those caps).
14613 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14615 * tests/examples/helloworld/helloworld.c: (main):
14616 Must plug audioconvert and audioresample between decoder
14619 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14621 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14622 (load_feature), (load_plugin):
14623 Allow empty strings for some of the plugin fields so we don't
14624 drop valid plugin entries that were written out correctly
14627 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14629 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14630 Use g_remove and g_rename instead of remove and rename that don't
14631 handle utf8 characters. rename was failing for users who had specific
14632 characters in their name then the registry was built at each
14634 * win32/vs6/gst_inspect.dsp:
14635 * win32/vs6/gst_launch.dsp:
14636 * win32/vs6/libgstbase.dsp:
14637 * win32/vs6/libgstcoreelements.dsp:
14638 * win32/vs6/libgstreamer.dsp:
14639 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14640 build of libgstreamer and clean unused libraries in projects link
14643 2006-05-17 Edward Hervey <edward@fluendo.com>
14645 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14646 The queue is not responsible for pushing an EOS when receiving a fatal
14647 flow error. It's up to the real element driving the pipeline to do that.
14649 2006-05-16 Edward Hervey <edward@fluendo.com>
14651 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14652 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14653 buffer returned a fatal error. It should just send an EOS and stop
14655 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14656 when pushing buffers on the queue and will be able to handle the event.
14658 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14660 * docs/manual/basics-bins.xml:
14661 * docs/manual/basics-init.xml:
14662 Fix typos and minor errors in sample code (#341856).
14664 2006-05-16 Wim Taymans <wim@fluendo.com>
14666 * docs/design/part-qos.txt:
14667 Fix indexes in formulas to make more sense.
14669 2006-05-15 Wim Taymans <wim@fluendo.com>
14671 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14672 Don't report POSITION based on clock time if sync is
14673 disabled in a sink.
14675 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14678 Add cast to make compiler happy - refcount variable was a gint
14679 in GstObject but is a guint in GObject and g_atomic_int_get()
14682 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14684 * gst/parse/Makefile.am:
14685 chain commands using &&, which also makes parallel make work
14687 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14689 * docs/gst/gstreamer-sections.txt:
14692 * gst/gstmessage.h:
14695 === release 0.10.6 ===
14697 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14700 releasing 0.10.6, "Take the cannoli"
14702 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14704 * tools/gst-launch.c: (print_tag):
14705 Fix use of uninitialized variable in the hypothetical
14706 case that some broken plugin creates a GST_TAG_IMAGE
14707 tag containing a NULL buffer (#341667).
14709 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14711 * tools/gst-launch.c: (print_tag):
14712 Print something more intelligible for image tags when
14713 using the -t switch (#341556).
14715 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14720 define GST_MAJORMINOR so we have it available in win32/common/config.h
14721 Possibly remove it from our Makefile.am files later
14722 * win32/common/config.h:
14723 * win32/common/config.h.in:
14724 added GST_MAJORMINOR
14725 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14726 * win32/common/gstversion.h:
14729 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14732 Update win32 files listing.
14733 * win32/common/gstversion.h:
14734 Add GST_MAJORMINOR definition.
14735 * win32/common/libgstreamer.def:
14736 Add new exported functions.
14738 2006-05-12 Michael Smith <msmith@fluendo.com>
14740 * gst/gstplugin.c: (gst_plugin_load_file):
14741 If an so file has no plugin entry point, unload the module.
14743 2006-05-11 Wim Taymans <wim@fluendo.com>
14745 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14746 (gst_queue_set_property):
14747 Don't forget to signal the _chain or _loop function
14748 when the queue size or thresholds change since that might
14749 cause them to make progres again.
14751 2006-05-11 Stefan Kost <ensonic@users.sf.net>
14753 * gst/gstclock.c: (gst_clock_class_init):
14754 * gst/gstindex.c: (gst_index_class_init):
14755 * gst/gstobject.c: (gst_object_class_init):
14756 * gst/gstpad.c: (gst_pad_class_init):
14757 * gst/gstpipeline.c: (gst_pipeline_class_init):
14758 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14759 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14760 * libs/gst/base/gstbasetransform.c:
14761 (gst_base_transform_class_init):
14762 * libs/gst/net/gstnetclientclock.c:
14763 (gst_net_client_clock_class_init):
14764 * libs/gst/net/gstnettimeprovider.c:
14765 (gst_net_time_provider_class_init):
14766 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14767 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14768 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14769 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14770 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14771 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14772 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14773 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14774 * plugins/elements/gsttee.c: (gst_tee_class_init):
14775 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14776 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14777 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14779 2006-05-11 Wim Taymans <wim@fluendo.com>
14781 * gst/gstbuffer.c: (_gst_buffer_initialize):
14782 Register subbufer along with the buffer type so that
14783 it does not accidentally gets registered from N
14784 different streaming threads in a non threadsafe way.
14786 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14790 * gst/gstmessage.h:
14791 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14792 gst_event_ref() and gst_message_ref() functions again
14793 (ugly hack, please do fix if there's a better way besides
14794 overrides.txt, which doesn't seem to work).
14796 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14798 * libs/gst/check/gstcheck.h:
14799 add an assert for setting state to avoid lots of repetitive code
14802 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14804 * gst/gstvalue.c: (gst_value_serialize_flags):
14805 fix a leak if no flags are set
14806 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14809 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14811 * docs/manual/basics-pads.xml:
14812 Expand a bit on caps and filtered links and update
14813 examples that were still using the no longer existing
14814 gst_pad_link_filtered() (#338206).
14816 2006-05-10 Wim Taymans <wim@fluendo.com>
14818 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14819 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14820 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14821 (gst_collect_pads_stop):
14822 * libs/gst/base/gstcollectpads.h:
14823 No need to call _stop in _finalize.
14824 Iterate the main pad list in _finalize.
14825 Added some more debug.
14826 Free lists and data in the right order.
14827 Also free data whem doing _remove_pad when stopped for
14828 backward compatibility protect ::started with PAD_LOCK as
14831 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14833 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14834 (gst_structure_parse_value):
14836 rename a method so that it actually says what it does better
14838 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14840 * gst/gstevent.c: (_gst_event_initialize):
14841 * gst/gstformat.c: (_gst_format_initialize):
14842 make sure some essential types used by events are registered
14843 as part of gst_init()
14844 * gst/gstvalue.c: (gst_value_serialize_flags):
14845 if no flags are set, serialize them to a value that represents NONE
14846 so that deserializing them works
14847 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14848 add tests for serialization and deserialization of flags
14850 2006-05-10 Wim Taymans <wim@fluendo.com>
14852 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14853 (gst_collect_pads_collect_range), (gst_collect_pads_available),
14854 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14855 (gst_collect_pads_event), (gst_collect_pads_chain):
14858 Catch and return errors from the collect function
14859 Refuse data on eos pads.
14861 2006-05-10 Edward Hervey <edward@fluendo.com>
14863 * gst/gstinterface.h:
14864 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14865 GInterface type checking.
14866 They were previously using non-defined macros.
14868 2006-05-09 Wim Taymans <wim@fluendo.com>
14870 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14871 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14872 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14873 (gst_collect_pads_start), (gst_collect_pads_stop),
14874 (gst_collect_pads_peek), (gst_collect_pads_pop),
14875 (gst_collect_pads_available), (gst_collect_pads_read),
14876 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
14877 (gst_collect_pads_is_collected), (gst_collect_pads_event),
14878 (gst_collect_pads_chain):
14879 * libs/gst/base/gstcollectpads.h:
14880 Clean up the mess that is collectpads, add comments and
14881 FIXMEs where needed.
14882 Maintain a separate pad list so we can add pads while
14883 collecting the other ones. For this we need a new separate
14885 Fix memory leak in finalize.
14886 Refactor some weird code to set/unset pad flushing flags, mark
14888 Don't crash in _available, _read, _flush when we're EOS.
14890 * tests/check/libs/.cvsignore:
14891 Ignore adapter check binary.
14893 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14895 * gst/gstindex.c: (gst_index_resolver_get_type):
14896 * plugins/elements/gstfakesink.c:
14897 (gst_fake_sink_state_error_get_type):
14898 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14899 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14900 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14901 Const-ify GEnumValue arrays.
14903 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14905 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14906 Add test case for flags + gst_buffer_make_metadata_writable().
14908 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14910 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
14911 gst_buffer_make_metadata_writable() should maintain the
14912 buffer flags (those that make sense at least) (see #340859).
14914 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14916 * tools/gst-inspect.c:
14917 * tools/gst-launch.c:
14918 * tools/gst-typefind.c:
14919 * tools/gst-xmlinspect.c:
14921 Fix up includes: need to include stdlib.h in tools.h for exit().
14923 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14925 * gst/gsttaglist.c: (_gst_tag_initialize):
14926 * gst/gsttaglist.h:
14927 API: add GST_TAG_IMAGE tag (#340721).
14929 2006-05-08 Wim Taymans <wim@fluendo.com>
14932 Added some docs for the segment query.
14934 2006-05-08 Wim Taymans <wim@fluendo.com>
14936 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14937 (gst_base_src_loop), (gst_base_src_change_state):
14938 Always push non-flushing serialized events in the streaming
14941 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
14943 * gst/gsterror.c: (_gst_stream_errors_init):
14944 Add a missing error string.
14946 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
14948 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
14949 Add applied_rate to the debug
14951 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
14952 Copy applied_rate into the outgoing NEWSEGMENT event
14954 2006-05-08 Wim Taymans <wim@fluendo.com>
14956 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
14958 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
14959 (gst_base_sink_change_state):
14960 call ::unlock before taking the PREROLL_LOCK so we can safely
14961 handle elements that lock in ::render.
14964 2006-05-08 Edward Hervey <edward@fluendo.com>
14966 * autogen.sh: (CONFIGURE_DEF_OPT):
14967 Darwin's libtoolize is in fact called glibtoolize.
14968 Adding glibtoolize to the list of accepted names for libtoolize.
14970 2006-05-08 Wim Taymans <wim@fluendo.com>
14972 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14973 Unify error handling, don't post an error message
14974 when a push() returns EOS but perform our normal EOS
14975 handling code. Fixes #340772.
14977 2006-05-08 Wim Taymans <wim@fluendo.com>
14979 * docs/design/part-overview.txt:
14980 Make upsteam/downstream concepts more clear.
14981 Give an example of serialized/non-serialized events.
14983 * docs/design/part-events.txt:
14984 * docs/design/part-streams.txt:
14985 Mention applied_rate.
14987 * docs/design/part-trickmodes.txt:
14988 Mention applied rate, flesh out some more use cases.
14990 * gst/gstevent.c: (gst_event_new_new_segment),
14991 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
14992 (gst_event_parse_new_segment_full), (gst_event_new_tag),
14993 (gst_event_parse_tag), (gst_event_new_buffer_size),
14994 (gst_event_parse_buffer_size), (gst_event_new_qos),
14995 (gst_event_parse_qos), (gst_event_parse_seek),
14996 (gst_event_new_navigation):
14998 Add applied_rate field to NEWSEGMENT event.
14999 API: gst_event_new_new_segment_full()
15000 API: gst_event_parse_new_segment_full()
15002 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15003 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15004 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15005 * gst/gstsegment.h:
15006 Add applied_rate to GstSegment structure.
15007 Make calculation of stream_time and running_time more correct
15008 wrt rate/applied_rate.
15009 Add some more docs.
15010 API: GstSegment::applied_rate field
15011 API: gst_segment_set_newsegment_full();
15013 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15014 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15015 * libs/gst/base/gstbasetransform.c:
15016 (gst_base_transform_sink_eventfunc),
15017 (gst_base_transform_handle_buffer):
15018 Parse and use applied_rate in the GstSegment field.
15020 * tests/check/gst/gstevent.c: (GST_START_TEST):
15021 Add check for applied_rate field.
15023 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15024 (gstsegments_suite):
15025 Add more checks for various GstSegment operations.
15027 2006-05-08 Wim Taymans <wim@fluendo.com>
15029 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15030 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15031 (gst_base_sink_get_position), (gst_base_sink_change_state):
15032 Store the sync time of the buffer end position separatly in a
15033 new variable eos_rtime so we can properly sync the EOS event.
15035 Fix the docs for gst_base_sink_set_qos_enabled().
15036 Don't set segment start to invalid value when we receive a
15037 non TIME newsegment.
15038 get closer to handling position reporting for negative rates
15041 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15044 Docs about how to print caps for debug purposes.
15046 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15047 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15049 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15051 * gst/gstelement.c:
15052 use full enum names and preprend a '%' in docs strings to make recent
15053 gtk-doc turn that into a link
15055 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15057 * docs/manual/basics-bins.xml:
15058 * docs/manual/basics-bus.xml:
15059 * docs/manual/basics-pads.xml:
15060 Some typo fixes, some additions, some clarifications.
15062 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15064 * tools/gst-inspect.c: (main):
15065 * tools/gst-launch.c: (main):
15066 * tools/gst-run.c: (main):
15067 * tools/gst-typefind.c: (main):
15068 * tools/gst-xmlinspect.c: (main):
15069 Use the string passed to g_option_context_new() for
15070 what it's intended for - the program name is already
15073 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15075 * tools/Makefile.am:
15076 * tools/gst-inspect.c: (main):
15077 * tools/gst-launch.c: (main):
15078 * tools/gst-xmlinspect.c: (main):
15080 Add back --version command line option (#340460).
15082 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15083 Add --version option and use GOption for argument parsing; refactor a
15084 bit; accept directories as arguments and recurse into them; lastly,
15085 print a decent error message when things go wrong.
15087 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15089 * docs/manual/basics-bins.xml:
15090 Don't mention GstThread (#340611)
15091 * docs/manual/basics-elements.xml:
15092 Update link to GObject tutorial (#340607)
15094 2006-05-05 Wim Taymans <wim@fluendo.com>
15097 * gst/gstminiobject.c:
15098 Add note about refcounting and miniobject/buffer writeability
15099 to docs. Fixes #340604
15101 * gst/gstelementfactory.h:
15102 Added some explanation about @klass.
15104 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15106 * docs/manual/intro-motivation.xml:
15107 * docs/manual/manual.xml:
15108 Avoid CORBA & Bonobo references (#340598)
15110 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15112 * docs/manual/basics-bus.xml:
15113 * docs/manual/basics-pads.xml:
15114 Fix up some inaccuracies and omissions (#340609)
15116 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15118 * gst/gstghostpad.c:
15119 Small typo in docs (#340625)
15121 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15123 * gst/parse/Makefile.am:
15124 Make 'make -j' proof (see #340698).
15126 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15129 Require GLib-2.8 here as well.
15131 2006-05-05 Wim Taymans <wim@fluendo.com>
15133 * gst/glib-compat.c:
15134 * gst/gst.c: (init_pre):
15135 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15136 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15137 (gst_object_dispatch_properties_changed):
15139 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15140 * gst/gststructure.c: (gst_structure_set_valist):
15141 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15142 Remove pre glib2.8 compatibility, fixes #340508
15144 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15146 * gst/gsttaglist.h:
15147 Mention type of tags in doc blurbs.
15149 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15151 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15152 (gst_pad_configure_src), (gst_pad_push):
15153 Restore acceptcaps checking behaviour now that good plugins have
15156 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15158 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15165 * gst/gstmessage.c:
15169 * gst/parse/Makefile.am:
15170 * libs/gst/base/gstadapter.c:
15171 * libs/gst/base/gstbasesrc.c:
15172 * libs/gst/base/gstpushsrc.c:
15173 * libs/gst/base/gsttypefindhelper.c:
15174 * plugins/elements/gstfakesrc.c:
15175 * plugins/elements/gstidentity.c:
15176 Make sure gstprivate.h and/or config.h are
15177 always included first, otherwise some of our
15178 defines (like _FILE_OFFSET_BITS) might be
15179 redefined in the system headers. Fixes build
15180 on opensolaris (#340016).
15182 2006-05-04 Wim Taymans <wim@fluendo.com>
15184 * docs/libs/gstreamer-libs-sections.txt:
15185 API: addition: gst_adapter_take_buffer()
15187 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15188 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15189 (gst_adapter_available_fast):
15190 * libs/gst/base/gstadapter.h:
15191 Prepare for optimizing the hell out of this hugely inefficient
15193 Added gst_adapter_take_buffer() so we can at least start thinking
15194 about subbuffering and merging.
15195 Added some comments.
15197 * tests/check/Makefile.am:
15198 * tests/check/libs/adapter.c: (GST_START_TEST),
15199 (gst_adapter_suite), (main):
15200 Added GstAdapter check.
15202 2006-05-04 Wim Taymans <wim@fluendo.com>
15204 * docs/design/part-overview.txt:
15205 Fix some typos, add blurb about buffer flags.
15207 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15209 * docs/libs/gstreamer-libs-sections.txt:
15210 make sure GstBaseTransformClass shows up in the docs
15211 * libs/gst/base/gstbasetransform.c:
15212 * libs/gst/base/gstbasetransform.h:
15213 move docs so gtk-doc picks it up now
15215 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15217 * docs/libs/gstreamer-libs-sections.txt:
15218 add missing symbols to docs
15220 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15222 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15223 back out the newsegment handling change, see #340060 for ongoing
15226 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15228 * tools/gst-run.c: (get_candidates), (main):
15229 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15230 work); fix typo in error message. Fixes #340079.
15232 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15234 * common/Makefile.am:
15235 * docs/Makefile.am:
15236 * docs/faq/Makefile.am:
15237 * docs/gst/Makefile.am:
15238 * docs/libs/Makefile.am:
15239 * docs/manual/Makefile.am:
15240 * docs/plugins/Makefile.am:
15241 * docs/pwg/Makefile.am:
15242 * docs/slides/Makefile.am:
15244 * common/upload.mak:
15245 move upload.mak to common
15247 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15249 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15250 add more asserts on refcounts
15251 do more cleanup at end of tests
15252 fix test leaks showing in FC5
15254 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15256 * plugins/elements/gsttypefindelement.c:
15257 (gst_type_find_element_handle_event):
15258 reverted wrong change and reflowed code to avoid others falling into
15261 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15263 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15264 fix changelog entry about last collectpads change,
15265 add notes about proper fix
15267 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15270 * gst/gstregistry.c: (gst_registry_scan_path_level),
15271 (gst_registry_scan_path):
15272 * gst/gstregistry.h:
15273 only write out registry if it has changed, fixes #338339
15275 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15278 * gst/gstpipeline.c:
15279 * plugins/elements/gstcapsfilter.c:
15280 * plugins/elements/gstfakesink.c:
15281 * plugins/elements/gstfakesrc.c:
15282 * plugins/elements/gstfdsink.c:
15283 * plugins/elements/gstfdsrc.c:
15284 * plugins/elements/gstfilesink.c:
15285 * plugins/elements/gstfilesrc.c:
15286 * plugins/elements/gstidentity.c:
15287 * plugins/elements/gstqueue.c:
15288 * plugins/elements/gsttee.c:
15289 * plugins/elements/gsttypefindelement.c:
15290 (gst_type_find_element_handle_event):
15291 make GstElementDetails const
15293 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15295 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15296 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15297 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15298 more detailed debug and formatting cleanup,
15299 forward newsegments to src-pad (so that e.g. adder not eats them)
15301 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15303 * gst/gstutils.c: (gst_element_link_pads):
15304 cleanup double code
15306 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15308 * libs/gst/controller/gstcontroller.c:
15309 (gst_controller_sync_values):
15311 * tests/check/libs/controller.c: (GST_START_TEST),
15312 (gst_controller_suite):
15313 a new test for live value handling
15315 2006-04-28 Wim Taymans <wim@fluendo.com>
15317 * gst/gstutils.c: (push_and_ref):
15318 Added some more docs.
15319 Fix refcount issue whith gst_element_found_tags() helper
15320 function. Fixes #338335
15322 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15323 Added testsuite for gst_element_found_tags().
15325 2006-04-28 Michael Smith <msmith@fluendo.com>
15327 * gst/gstvalue.c: (gst_value_serialize_flags):
15328 Avoid NULL dereference when trying to serialize flags containing
15331 2006-04-28 Michael Smith <msmith@fluendo.com>
15333 * plugins/elements/gsttypefindelement.c:
15334 (gst_type_find_element_handle_event):
15335 If we get EOS before any data is accumulated, don't use
15336 uninitialised local variables.
15338 2006-04-28 Michael Smith <msmith@fluendo.com>
15340 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15341 (gst_dp_event_from_packet):
15342 Fixes in reading/writing events over GDP (not currently used?) -
15343 dereferencing NULL events for unknown/invalid event types, memory
15344 leak, and change g_warning to GST_WARNING.
15346 2006-04-28 Wim Taymans <wim@fluendo.com>
15348 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15349 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15350 (gst_base_sink_get_position), (gst_base_sink_change_state):
15351 When frame dropping is enabled, we should not ignore frames
15352 without a duration.
15353 Update some documentation.
15355 2006-04-28 Wim Taymans <wim@fluendo.com>
15357 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15358 (gst_base_src_send_event), (gst_base_src_change_state):
15359 Documentation updates.
15361 2006-04-28 Wim Taymans <wim@fluendo.com>
15363 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15364 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15365 handle EAGAIN, EINTR and short writes correctly. Also clean
15366 up some error cases, avoid a deadlock on bad file descriptors and
15367 use GST_DEBUG_OBJECT.
15370 2006-04-28 Wim Taymans <wim@fluendo.com>
15372 * gst/gstvalue.c: (gst_value_serialize_buffer),
15373 (gst_value_deserialize_buffer):
15374 Don't try to serialize a GValue with a NULL buffer.
15377 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15378 Added check for serialisation of NULL buffers.
15380 2006-04-28 Wim Taymans <wim@fluendo.com>
15382 * gst/gstminiobject.c: (gst_value_take_mini_object):
15383 Taking a NULL miniobject is valid, fix the case where
15384 we try to unref the NULL miniobject.
15386 2006-04-28 Wim Taymans <wim@fluendo.com>
15388 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15390 * gst/gstbin.c: (gst_bin_handle_message_func):
15392 Don't leak bin refcount when a state recalc is
15393 in progress and we delay another one #339808.
15395 2006-04-28 Wim Taymans <wim@fluendo.com>
15397 * docs/design/part-TODO.txt:
15398 Mention QoS as an ongoing work item.
15400 * docs/design/part-buffering.txt:
15401 New doc about buffering that needs to be fleshed out
15404 * docs/design/part-qos.txt:
15405 More QoS policy for decoders/demuxers/transforms
15407 * docs/design/part-trickmodes.txt:
15410 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15415 === release 0.10.5 ===
15417 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15420 releasing 0.10.5, "Fogo"
15422 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15424 patch by: Wim Taymans
15426 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15427 (gst_pad_configure_src), (gst_pad_push):
15428 * gst/gstpipeline.c: (gst_pipeline_init):
15429 Fix internal data flow errors. Fixes #338711.
15431 2006-04-12 Wim Taymans <wim@fluendo.com>
15433 * tests/check/gst/gstelement.c: (GST_START_TEST):
15434 Don't leak the factory.
15436 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15439 * win32/common/config.h:
15442 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15444 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15445 (gst_controller_unset_all):
15446 Free allocated GstTimedValues when freeing list nodes.
15447 Should fix leaks 'make check-valgrind' complains about.
15449 * win32/common/libgstcontroller.def:
15450 Add gst_controller_unset_all.
15452 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15454 * docs/libs/gstreamer-libs-sections.txt:
15455 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15456 (gst_controller_unset_all):
15457 * libs/gst/controller/gstcontroller.h:
15458 API: Added new method gst_controller_unset_all()
15459 fixed gst_controller_unset()
15460 * tests/check/libs/controller.c: (GST_START_TEST),
15461 (gst_controller_suite):
15462 Added two testcases for new and fixed method
15464 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15466 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15467 MSG_DONTWAIT is not defined on Cygwin, so work
15468 around that (fixes #317048).
15470 2006-04-11 Wim Taymans <wim@fluendo.com>
15472 * gst/gstelementfactory.c: (gst_element_register),
15473 (gst_element_factory_create), (gst_element_factory_make):
15476 Updated docs (Fixes #131079)
15478 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15481 * tests/check/gst/gstelement.c: (GST_START_TEST),
15482 (gst_element_suite):
15483 Added testcase for elementfactory class field.
15485 2006-04-10 Wim Taymans <wim@fluendo.com>
15487 * gst/gstsegment.c:
15488 Added some more docs.
15490 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15491 (gst_base_sink_reset_qos):
15492 Calculate more accurate rate values.
15494 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15496 * gst/gst_private.h:
15497 add a new #ifdef to use __declspec(dllimport) only for
15498 other modules and not for gstreamer core
15499 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15500 use gst_guint64_to_gdouble for conversion
15501 * win32/common/libgstreamer.def:
15502 add new exported functions
15503 * win32/vs6/gst_inspect.dsp:
15504 * win32/vs6/gst_launch.dsp:
15505 * win32/vs6/libgstbase.dsp:
15506 * win32/vs6/libgstcontroller.dsp:
15507 * win32/vs6/libgstcoreelements.dsp:
15508 * win32/vs6/libgstdataprotocol.dsp:
15509 * win32/vs6/libgstnet.dsp:
15510 update project files
15512 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15514 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15515 * gst/gstclock.c: (gst_clock_class_init):
15516 * gst/gstelement.c: (gst_element_class_init):
15517 * gst/gstindex.c: (gst_index_class_init):
15518 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15519 * gst/gstobject.c: (gst_object_class_init),
15520 (gst_signal_object_class_init):
15521 * gst/gstpad.c: (gst_pad_class_init):
15522 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15523 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15524 * gst/gstregistry.c: (gst_registry_class_init):
15525 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15526 * gst/gsttask.c: (gst_task_class_init):
15527 * gst/gstxml.c: (gst_xml_class_init):
15528 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15529 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15530 (gst_base_src_loop):
15531 * libs/gst/controller/gstcontroller.c:/
15532 (_gst_controller_class_init):
15533 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15534 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15535 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15536 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15537 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15538 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15540 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15542 * gst/gstpad.c: (gst_pad_link):
15543 Must set peer pads before calling the link function, otherwise
15544 a task started from a link function might get a flow-not-linked
15545 result when trying to push because the other thread where the
15546 linking happens hasn't had a chance to set the peers yet. This
15547 might happen for example when a queue gets linked to a downstream
15548 element, as queue starts a streaming task when its source pad
15549 gets linked. Happens in real life when playing back flac/musepack
15550 files in playbin (#332390).
15552 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15556 * libs/gst/base/gstadapter.h:
15557 * libs/gst/base/gstbasesink.h:
15558 * libs/gst/base/gstbasesrc.h:
15559 * libs/gst/base/gstbasetransform.h:
15560 * libs/gst/base/gstcollectpads.h:
15561 * libs/gst/base/gstpushsrc.h:
15562 Fix broken GObject macros
15564 2006-04-07 Wim Taymans <wim@fluendo.com>
15566 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15567 Initialize start and stop times, thanks valgrind.
15569 2006-04-07 Wim Taymans <wim@fluendo.com>
15571 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15572 Be a bit nicer to badly behaving upstream elements that expect
15573 us to deal with non TIME segments and timestamps (such as fakesrc
15576 2006-04-07 Wim Taymans <wim@fluendo.com>
15579 Small documentation clarification about the signal watch.
15581 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15582 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15583 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15584 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15585 (gst_base_sink_get_position_last),
15586 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15587 Convert and store timestamps in stream time and running time, the
15588 raw timestamps are not useful, also document this better.
15589 Use different window sizes for good and bad QoS observations so
15590 we react to badness a little quicker.
15591 Keep track of the amount of rendered and dropped buffers.
15592 Send QoS timestamps in running time.
15594 * libs/gst/base/gstbasetransform.c:
15595 (gst_base_transform_sink_eventfunc),
15596 (gst_base_transform_handle_buffer):
15597 Compare QoS timestamps against running time.
15599 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15602 Typo fixes in docs.
15604 2006-04-06 Michael Smith <msmith@fluendo.com>
15606 * gst/gstpad.c: (gst_pad_set_property):
15607 Use g_value_get_object() instead of g_value_dup_gst_object(),
15608 to avoid double-reffing the pad template (which we then sink,
15609 so this worked previously if (and only if) the pad template
15612 * gst/gstpadtemplate.c: (gst_pad_template_init),
15613 (gst_pad_template_pad_created):
15614 Never return floating references to pad templates, create
15615 them as initially-sunken.
15617 Document an extra function (and make this stop sinking our
15618 pad template, since that is now guaranteed to do nothing,
15619 since we created it sunken).
15621 * gst/gstghostpad.c:
15624 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15626 * gst/gstinfo.c: (__gst_in_valgrind):
15629 * plugins/elements/gsttypefindelement.c:
15630 (gst_type_find_element_chain):
15631 Don't leak buffer caps.
15633 2006-04-06 Michael Smith <msmith@fluendo.com>
15635 * gst/parse/grammar.y:
15636 Fix a leak in parse-launch for any source-or-sink named element
15639 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15640 Unref the pipeline if it exists after we've failed parsing.
15642 2006-04-05 Michael Smith <msmith@fluendo.com>
15644 * gst/gstpipeline.c: (gst_pipeline_init):
15645 When we create a pipeline bus, initially create it in flushing mode.
15646 Fixes leaks in at least one test, and makes a new pipeline work the
15647 same as one that has gone to READY and then back to NULL.
15649 * gst/gstelement.c:
15652 2006-04-05 Michael Smith <msmith@fluendo.com>
15654 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15655 Unref a pad we reffed.
15656 * tests/check/gst/gstutils.c: (GST_START_TEST):
15659 2006-04-05 Michael Smith <msmith@fluendo.com>
15661 * gst/gstquery.c: (gst_query_set_formats),
15662 (gst_query_set_formatsv):
15663 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15665 2006-04-05 Michael Smith <msmith@fluendo.com>
15667 * tests/check/generic/sinks.c: (GST_START_TEST):
15668 Fix a variety of memleaks in sinks check, which are only sometimes
15669 shown by running the tests under valgrind (weird?).
15671 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15673 * docs/version.entities.in:
15674 Fix the substituted entity name after thomas' changes on the
15677 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15679 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15682 2006-04-05 Andy Wingo <wingo@pobox.com>
15684 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15686 * libs/gst/base/gstbasetransform.c
15687 (gst_base_transform_sink_eventfunc): When resetting our segment on
15688 FLUSH_STOP, also update the flag saying we haven't seen a
15691 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15693 Patch by: Paolo Borelli <pborelli at katamail dot com>
15695 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15696 (gst_plugin_check_license):
15697 minor clean-ups: G_DEFINE_TYPE already takes care of the
15698 parent_class stuff, no need to do it twice. Mark array of
15699 license strings as constant. (#337103)
15701 2006-04-04 Michael Smith <msmith@fluendo.com>
15703 * tools/gst-inspect.c: (print_element_list):
15704 Free the right plugin list; fixes a memory leak.
15706 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15708 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15710 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15711 Don't error out on empty buffers (#336945).
15713 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15715 * docs/libs/gstreamer-libs-sections.txt:
15716 * gst/gsttaglist.c:
15717 * libs/gst/base/gstbasesink.c:
15718 * libs/gst/base/gstbasesink.h:
15719 * libs/gst/base/gstbasesrc.c:
15720 * libs/gst/base/gstbasesrc.h:
15721 Documentation updates. Make BaseSink and BaseSrc docs contain the
15722 class structure so that people can actually see the prototypes for
15723 virtual functions they're supposed to be overriding.
15725 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15727 * plugins/elements/gsttypefindelement.c:
15728 (gst_type_find_element_chain):
15729 More debug info; when skipping typefinding, send cached
15730 events in all cases.
15732 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15735 use new AS_VERSION and AS_NANO macros
15736 * gst/gst-i18n-lib.h:
15739 * gst/gstversion.h.in:
15740 * win32/common/config.h:
15741 * win32/common/config.h.in:
15744 2006-03-31 Michael Smith <msmith@fluendo.com>
15746 * plugins/elements/gsttypefindelement.c:
15747 (gst_type_find_element_chain):
15748 Do not typefind content if the buffers already have caps.
15749 Neccesary for icydemux (#333657), and the right thing to do anyway.
15751 2006-03-30 Wim Taymans <wim@fluendo.com>
15753 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15754 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15755 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15756 (gst_base_sink_record_qos_observation),
15757 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15758 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15759 (gst_base_sink_change_state):
15760 More QoS measurements as described in the design doc.
15761 Get rid of ringbuffer with observations, running average is
15762 more simple and equally good.
15763 Calculates valid proportion now.
15764 Added beginning of flood measurement.
15766 2006-03-29 Wim Taymans <wim@fluendo.com>
15768 * docs/design/part-qos.txt:
15770 Small documentation updates and additions.
15772 2006-03-29 Wim Taymans <wim@fluendo.com>
15774 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15775 (gst_base_src_send_event), (gst_base_src_loop),
15776 (gst_base_src_change_state):
15777 Perform the EOS logic when we reach the segment stop position.
15778 Fix compilation on gcc4.1
15780 2006-03-29 Wim Taymans <wim@fluendo.com>
15782 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15784 * plugins/elements/gstqueue.c: (gst_queue_init),
15785 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15786 (gst_queue_set_property):
15787 * plugins/elements/gstqueue.h:
15788 In queue, when EOS is received, if minimum threshold > max_size -
15789 current_level, there is chance that queue blocks forever in conditional
15790 item del wait. This is because the queue is not emptied completely due
15791 to minimum threshold. Here is another approach. Instead of setting
15792 cur_levels to max in EOS, just zero all minimum threshold levels. This
15793 should make sure that queue gives out all data. When going to READY
15794 (stop) state, just reset the original minimum threshold levels.
15797 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
15799 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15800 (gst_type_find_element_handle_event),
15801 (gst_type_find_element_send_cached_events),
15802 (gst_type_find_element_change_state):
15803 * plugins/elements/gsttypefindelement.h:
15804 When typefinding is done in push mode, we should cache
15805 events we receive during typefinding instead of just
15806 dropping them (e.g. newsegment, custom events from
15807 dvdreadsrc etc.) and then send them out once we've
15808 determined the type of the stream (and decodebin
15809 has had a chance to plug in a decoder/demuxer).
15811 2006-03-27 Wim Taymans <wim@fluendo.com>
15813 * docs/design/part-qos.txt:
15816 2006-03-27 Wim Taymans <wim@fluendo.com>
15818 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15820 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15821 (gst_base_src_send_event), (gst_base_src_change_state):
15822 Handle element seek correctly when we are streaming.
15825 2006-03-24 Michael Smith <msmith@fluendo.com>
15827 * docs/faq/gst-uninstalled:
15828 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15829 allow you to correctly run intalled applications built against old
15830 core, using plugins that require updated core (e.g. running
15831 installed totem against a full uninstalled gstreamer stack)
15833 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15835 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15838 2006-03-24 Wim Taymans <wim@fluendo.com>
15840 * docs/gst/gstreamer-sections.txt:
15841 Rearrange the order of the methods so that related methods
15842 are grouped together in sections.
15844 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15846 * gst/gstelement.c:
15847 Little clarification in the docs
15849 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15853 * plugins/elements/gstidentity.c:
15854 * plugins/elements/gstqueue.c:
15855 * plugins/elements/gsttee.c:
15856 * plugins/elements/gsttypefindelement.c:
15857 GST_ELEMENT_DETAILS formatting
15859 2006-03-24 Wim Taymans <wim@fluendo.com>
15861 * libs/gst/base/gstbasesink.h:
15862 Only add fields, not insert or we break ABI.
15864 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15866 * win32/common/libgstbase.def:
15867 * win32/common/libgstreamer.def:
15868 Update, add recently added functions.
15870 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15872 * docs/gst/gstreamer-sections.txt:
15873 * gst/gstutils.c: (gst_pad_query_peer_position),
15874 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15876 API: add some new utility functions:
15877 - gst_pad_query_peer_position()
15878 - gst_pad_query_peer_duration()
15879 - gst_pad_query_peer_convert()
15881 2006-03-23 Wim Taymans <wim@fluendo.com>
15883 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15884 (gst_base_sink_init), (gst_base_sink_finalize),
15885 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
15886 (gst_base_sink_set_property), (gst_base_sink_get_property),
15887 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
15888 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15889 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
15890 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15891 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15892 (gst_base_sink_preroll_object), (gst_base_sink_event),
15893 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15894 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15895 (gst_base_sink_query), (gst_base_sink_change_state):
15896 Decouple max-lateness and the fact that QoS messages are generated
15897 with a new property (qos).
15898 added API: GstBaseSink::async_play()
15899 Add vmethod so subclasses can be notified of ASYNC playing
15901 Collect timestamp start and stop to report better current
15902 position in EOS/PLAYING/PAUSED/READY/NULL.
15903 Refactor QoS/frame dropping and other measurements.
15904 API: GstBaseSrc::qos
15907 * libs/gst/base/gstbasesink.h:
15908 Added Private struct.
15909 API: gst_base_sink_set_qos_enabled()
15910 API: gst_base_sink_is_qos_enabled()
15912 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15914 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15915 If compiling against GLib-2.8 or newer, try to read the
15916 registry file using GMappedFile first before falling back
15917 to fopen() + fread() (#332151).
15919 2006-03-22 Wim Taymans <wim@fluendo.com>
15921 * gst/gstinfo.c: (gst_debug_set_active),
15922 (gst_debug_category_set_threshold):
15923 Disable debugging unless explicitly activated.
15926 2006-03-22 Wim Taymans <wim@fluendo.com>
15928 * gst/gstelement.c: (gst_element_set_locked_state),
15929 (gst_element_dispose):
15930 Cleanup the error case.
15932 * gst/gstobject.c: (gst_object_dispose):
15933 print a critical when some object was disposed with
15934 a parent, also revive the object since it might
15937 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
15939 * tools/gst-launch.1.in:
15942 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
15945 * tests/check/Makefile.am:
15946 disable some tests when we don't have a registry
15947 * tests/check/gst/gstutils.c: (gst_utils_suite):
15948 don't build the part that needs parsing
15950 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
15953 * tests/examples/Makefile.am:
15954 fix --disable-parse build
15956 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15958 * tools/gst-feedback.1.in:
15959 Fix typo: s/feeback/feedback/ (#133494).
15961 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15963 * tools/Makefile.am:
15964 * tools/gst-launch.1.in:
15965 Add FILES section and correct entry about GST_REGISTRY_PATH
15966 environment variable (#133495; #133494).
15968 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15970 * tools/Makefile.am:
15971 * tools/gst-md5sum.1.in:
15972 * tools/gst-md5sum.c:
15973 Remove gst-md5sum and man page (the md5sink element
15974 required was removed ages ago)
15976 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15978 * gst/gststructure.c: (gst_structure_id_set_value):
15979 Make sure that string fields in structures/taglists
15980 contain valid UTF-8 - we don't want to pass rubbish to
15981 applications because of a buggy plugin (cp. #334167).
15983 2006-03-21 Edward Hervey <edward@fluendo.com>
15985 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15986 (gst_bin_handle_message_func):
15987 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
15988 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
15989 (gst_element_set_bus_func):
15990 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
15991 * gst/gstminiobject.c: (gst_value_set_mini_object),
15992 (gst_value_take_mini_object):
15993 * gst/gstpad.c: (gst_pad_set_pad_template):
15994 * gst/gstpipeline.c: (gst_pipeline_dispose),
15995 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15996 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
15997 (gst_collect_pads_chain):
15998 * libs/gst/net/gstnettimeprovider.c:
15999 (gst_net_time_provider_set_property):
16000 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16001 It's in fact all issues with gst_*object_replace().
16003 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16005 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16007 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16008 * pkgconfig/gstreamer-check.pc.in:
16009 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16011 2006-03-21 Edward Hervey <edward@fluendo.com>
16015 * gst/gstmessage.h:
16016 gst_[buffer|event|message]_ref() macros are replaced by a static
16017 inline functions because gcc-4.1 will about if the return value
16019 * tests/check/gst/gstevent.c: (event_probe):
16020 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16022 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16025 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16026 the type' case. (Closes: #335195 for now). In the future, when we
16027 depend on GLib 2.10, we could also intern the type name using
16028 g_intern_static_string()
16030 2006-03-20 Wim Taymans <wim@fluendo.com>
16032 * gst/gstbin.c: (gst_bin_handle_message_func),
16033 (bin_query_max_init), (bin_query_position_fold),
16034 (bin_query_position_done), (gst_bin_query):
16035 Position query should also take max of all streams.
16037 2006-03-20 Wim Taymans <wim@fluendo.com>
16039 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16040 (gst_fake_src_finalize):
16041 Fix leaks in fakesrc.
16043 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16044 Fix leaks in the testcase.
16046 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16048 * gst/gst_private.h:
16049 add win32 specific import decoration(__declspec(dllimport))
16050 for all extern GstDebugCategory * variables
16051 * win32/common/libgstbase.def:
16052 * win32/common/libgstcontroller.def:
16053 * win32/common/libgstreamer.def:
16054 Add some exports, remove empty lines
16055 * win32/common/libgstdataprotocol.def:
16056 * win32/common/libgstdataprotocol.dsp:
16057 * win32/common/libgstnet.def:
16058 * win32/common/libgstnet.dsp:
16059 new project files and exportation files added
16061 2006-03-19 Wim Taymans <wim@fluendo.com>
16063 * tests/check/libs/basesrc.c: (eos_event_counter):
16064 Use proper return value for probe.
16066 2006-03-17 Wim Taymans <wim@fluendo.com>
16068 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16070 Don't leak buffers, caps and pads on negotiation errors.
16072 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16074 * docs/faq/cvs.xml:
16075 * docs/faq/dependencies.xml:
16076 * docs/faq/developing.xml:
16077 * docs/faq/faq.xml:
16078 * docs/faq/general.xml:
16079 * docs/faq/getting.xml:
16080 * docs/faq/legal.xml:
16081 * docs/faq/troubleshooting.xml:
16082 * docs/faq/using.xml:
16083 Faq review and update.
16085 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16087 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16089 Don't pound the cpu to pieces by checking get_caps when accept_caps
16090 is called with the same caps as the pad already has.
16091 Use GST_DEBUG_OBJECT when outputting caps change information.
16093 2006-03-15 Wim Taymans <wim@fluendo.com>
16095 * gst/gstclock.c: (gst_clock_class_init):
16098 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16103 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16104 (gst_pad_accept_caps), (gst_pad_configure_sink),
16105 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16106 Make the default acceptcaps behaviour be to check the requested
16107 caps against the gst_pad_get_caps output.
16109 Ensure that gst_pad_accept_caps is used to check caps when a pad
16110 doesn't have a setcaps function, so that pads automatically refuse
16111 caps that they don't allow in their pad template. (Fixes #332986)
16113 When a buffer with attached caps is pushed, ensure that the source
16114 pad receives those caps even if the element didn't call
16115 gst_pad_set_caps first.
16117 2006-03-15 Wim Taymans <wim@fluendo.com>
16119 * libs/gst/base/gstadapter.c:
16122 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16124 * win32/common/libgstbase.def:
16125 * win32/common/libgstcontroller.def:
16126 * win32/common/libgstreamer.def:
16127 Add a whole bunch of missing functions (#334434).
16129 2006-03-14 Wim Taymans <wim@fluendo.com>
16131 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16132 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16133 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16134 Better debug info when we receive a segment event.
16135 Reorganize a bit so we can pass the get_times() results around.
16136 Use the segment format when calculating the running time.
16137 Don't do QoS is sync is disabled or we have no clock or the
16138 element does not want us to sync to the clock.
16139 Don't drop buffers if QoS is disabled for now.
16141 2006-03-14 Wim Taymans <wim@fluendo.com>
16143 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16144 Marked the stats property as unimplemented so people don't get
16146 Add debug message when regression goes wrong.
16147 Added some more docs.
16149 2006-03-14 Wim Taymans <wim@fluendo.com>
16151 * gst/gstsegment.c: (gst_segment_to_stream_time):
16152 Return correct return type in case of errors.
16154 2006-03-14 Wim Taymans <wim@fluendo.com>
16156 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16157 Don't segfault on invalid formats.
16159 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16161 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16162 Can't use gst_segment_to_running_time() when the segment
16163 is not in GST_TIME_FORMAT (like with filesink, for example).
16164 Stops flac encoding pipelines from spewing critical warnings
16167 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16169 * gst/gstpipeline.c: (gst_pipeline_class_init):
16170 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16172 * plugins/elements/gsttypefindelement.c:
16173 (gst_type_find_element_handle_event):
16174 Don't try to typefind empty streams.
16176 2006-03-14 Wim Taymans <wim@fluendo.com>
16178 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16179 (gst_base_sink_do_qos):
16180 Separate QoS calculation.
16181 Only drop buffers when lateness is bigger than the
16182 duration of the buffer.
16184 2006-03-13 Wim Taymans <wim@fluendo.com>
16186 * gst/gstpipeline.c: (gst_pipeline_set_property),
16187 (gst_pipeline_get_property), (do_pipeline_seek),
16188 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16189 (gst_pipeline_get_delay):
16190 Don't deadlock when reading properties.
16192 2006-03-13 Wim Taymans <wim@fluendo.com>
16194 * libs/gst/base/gstbasetransform.c:
16195 (gst_base_transform_class_init), (gst_base_transform_init),
16196 (gst_base_transform_sink_event),
16197 (gst_base_transform_sink_eventfunc),
16198 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16199 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16200 (gst_base_transform_set_property),
16201 (gst_base_transform_get_property),
16202 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16203 (gst_base_transform_set_qos_enabled),
16204 (gst_base_transform_is_qos_enabled):
16205 * libs/gst/base/gstbasetransform.h:
16206 Make basetransform virtual method for src events too.
16207 Handle QOS in basetransform.
16208 API: gst_base_transform_update_qos()
16209 API: gst_base_transform_set_qos_enabled()
16210 API: gst_base_transform_is_qos_enabled()
16212 2006-03-13 Wim Taymans <wim@fluendo.com>
16214 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16215 (gst_base_sink_do_sync):
16217 Use QOS debug category.
16219 2006-03-13 Wim Taymans <wim@fluendo.com>
16221 * plugins/elements/gstqueue.c:
16222 Very small doc update.
16224 2006-03-13 Wim Taymans <wim@fluendo.com>
16226 * gst/gst_private.h:
16227 * gst/gstinfo.c: (_gst_debug_init):
16228 Added QOS debug category
16230 2006-03-13 Wim Taymans <wim@fluendo.com>
16232 * docs/gst/gstreamer-sections.txt:
16233 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16235 * gst/gstbus.c: (gst_bus_class_init):
16238 * gst/gstelement.c: (gst_element_set_locked_state):
16239 * gst/gstsegment.c:
16240 Documentation updates.
16242 * gst/gstpipeline.c: (gst_pipeline_get_type),
16243 (gst_pipeline_class_init), (gst_pipeline_init),
16244 (gst_pipeline_dispose), (gst_pipeline_set_property),
16245 (gst_pipeline_get_property), (do_pipeline_seek),
16246 (gst_pipeline_send_event), (gst_pipeline_change_state),
16247 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16248 (gst_pipeline_get_delay):
16249 * gst/gstpipeline.h:
16250 Added methods for setting the delay.
16251 API: gst_pipeline_set_delay()
16252 API: gst_pipeline_get_delay()
16253 Add pipeline debug category
16256 Don't reset stream time when seek failed.
16258 2006-03-13 Wim Taymans <wim@fluendo.com>
16260 * docs/design/draft-klass.txt:
16261 * docs/design/part-clocks.txt:
16262 * docs/design/part-events.txt:
16263 * docs/design/part-gstbin.txt:
16264 * docs/design/part-gstpipeline.txt:
16265 * docs/design/part-messages.txt:
16266 * docs/design/part-negotiation.txt:
16267 * docs/design/part-overview.txt:
16268 * docs/design/part-preroll.txt:
16269 * docs/design/part-seeking.txt:
16270 * docs/design/part-states.txt:
16271 * docs/design/part-streams.txt:
16272 Documentation updates.
16274 2006-03-12 Julien MOUTTE <julien@moutte.net>
16276 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16277 us to leak strings...
16279 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16281 * libs/gst/net/gstnettimeprovider.c:
16283 * win32/common/config.h:
16286 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16288 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16291 Don't check for libgnomeui (leftover from old examples
16292 that aren't built or disted any longer) (#334303).
16294 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16296 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16297 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16298 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16299 there's no space left on the device.
16301 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16304 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16305 to cast the input to GstClockTime before comparing with
16306 another GstClockTime value.
16308 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16313 === release 0.10.4 ===
16315 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16318 releasing 0.10.4, "Light"
16320 2006-03-10 Michael Smith <msmith@fluendo.com>
16322 * libs/gst/dataprotocol/dataprotocol.c:
16323 Fix docs for dataprocotol to not get the return types completely
16324 wrong for a few functions.
16326 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16328 * docs/gst/gstreamer-sections.txt:
16329 * gst/gstpipeline.c: (gst_pipeline_class_init),
16330 (gst_pipeline_init), (gst_pipeline_set_property),
16331 (gst_pipeline_get_property), (gst_pipeline_change_state),
16332 (gst_pipeline_set_auto_flush_bus),
16333 (gst_pipeline_get_auto_flush_bus):
16334 * gst/gstpipeline.h:
16335 Add new API: gst_pipeline_set_auto_flush_bus() and
16336 gst_pipeline_get_auto_flush_bus() to disable automatic
16337 flushing of the pipeline's GstBus when going from READY
16338 to NULL state (#332045).
16340 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16342 * docs/gst/gstreamer-sections.txt:
16343 * gst/gsturi.c: (gst_uri_has_protocol):
16345 Add new API: gst_uri_has_protocol() (#333779).
16347 2006-03-09 Wim Taymans <wim@fluendo.com>
16349 * gst/gstclock.c: (gst_clock_entry_new),
16350 (gst_clock_id_compare_func), (gst_clock_id_wait),
16351 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16352 (gst_clock_init), (gst_clock_get_internal_time),
16353 (gst_clock_set_master), (do_linear_regression),
16354 (gst_clock_add_observation), (gst_clock_set_property):
16358 Fix a possible segfault when the window-size is made smaller.
16359 Calculate jitter before performing the clock wait. Ideally
16360 the clock implementation should calculate jitter but we need
16361 API breakage for that.
16363 * gst/gstsystemclock.c: (gst_system_clock_init):
16366 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16367 Remove leftover else
16369 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16370 (gst_systemclock_suite):
16371 Added check to test GST_CLOCK_DIFF.
16373 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16375 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16376 (gst_type_find_helper_get_range):
16377 If we are provided with the size, we should implement
16378 GstTypeFind::get_length, so that typefind functions who
16379 want to can actually peek at the middle of a file.
16381 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16383 * docs/manual/advanced-dataaccess.xml:
16384 Add some very very basic error checking.
16386 * docs/pwg/appendix-checklist.xml:
16387 Some updates to the list of things to check when writing an element.
16389 2006-03-08 Wim Taymans <wim@fluendo.com>
16391 * docs/design/part-element-transform.txt:
16392 Added some docs about the design of tranform elements.
16394 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16395 (gst_base_src_loop), (gst_base_src_change_state):
16396 Mark buffers with the DISCONT flag.
16398 2006-03-08 Michael Smith <msmith@fluendo.com>
16400 * gst/gstregistry.h:
16401 * gst/gstregistryxml.c: (gst_registry_save),
16402 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16403 (gst_registry_xml_save_pad_template),
16404 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16405 (gst_registry_xml_write_cache):
16406 Rewrite registry-saving to avoid race conditions and check for
16409 2006-03-08 Wim Taymans <wim@fluendo.com>
16411 * libs/gst/base/gstbasetransform.c:
16412 (gst_base_transform_transform_caps),
16413 (gst_base_transform_transform_size),
16414 (gst_base_transform_prepare_output_buffer),
16415 (gst_base_transform_get_unit_size),
16416 (gst_base_transform_buffer_alloc),
16417 (gst_base_transform_handle_buffer),
16418 (gst_base_transform_change_state):
16419 Cleanups, separate normal flow from errors, add sensible
16421 Don't try to renegotiate when allocating an output buffer.
16422 Also copy DISCONT buffer flag when copying a buffer.
16423 Reset the transform after we finish streaming, not during.
16425 2006-03-08 Wim Taymans <wim@fluendo.com>
16427 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16428 Use last buffer timestamp in qos message.
16430 2006-03-07 Wim Taymans <wim@fluendo.com>
16432 Patch by: Christophe Fergeau
16434 * docs/pwg/advanced-tagging.xml:
16435 * docs/pwg/building-pads.xml:
16438 2006-03-07 Wim Taymans <wim@fluendo.com>
16440 * docs/libs/gstreamer-libs-sections.txt:
16441 Added basesink new methods.
16445 Docs updates. Flesh out the QoS docs.
16447 * libs/gst/base/gstadapter.c:
16448 Small doc clarification about ownership and flushing.
16450 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16451 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16452 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16453 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16454 * libs/gst/base/gstbasesink.h:
16456 Added new methods to allow subclass to control max-lateness
16458 Generate very basic QoS events based on last sync observation.
16459 Updated docs, fix typo, added some QoS blurb.
16461 * libs/gst/base/gstbasesrc.c:
16462 Remove obsolete _get_state() calls from docs.
16464 2006-03-07 Wim Taymans <wim@fluendo.com>
16466 * docs/libs/gstreamer-libs-sections.txt:
16467 * libs/gst/base/gstbasetransform.h:
16468 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16469 Fix docs for GstBaseSrc.
16471 2006-03-07 Wim Taymans <wim@fluendo.com>
16473 * docs/gst/gstreamer-sections.txt:
16476 * libs/gst/base/gstbasetransform.h:
16477 Small documentation fixes.
16479 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16482 Document thread-unsafety of gst_value_register_foo_func()
16483 when used at the same time as gst_value_foo() (#322628).
16485 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16487 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16488 (gst_push_src_check_get_range):
16489 Push sources don't support pull mode by default.
16491 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16493 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16494 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16495 (gst_base_src_default_check_get_range):
16496 * libs/gst/base/gstbasesrc.h:
16497 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16498 provide default implementation, and rename
16499 gst_base_src_check_get_range() to
16500 gst_base_src_pad_check_get_range() for clarity.
16502 2006-03-06 Wim Taymans <wim@fluendo.com>
16504 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16505 Make property overridable.
16507 2006-03-06 Wim Taymans <wim@fluendo.com>
16509 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16510 (gst_base_sink_init), (gst_base_sink_set_property),
16511 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16512 * libs/gst/base/gstbasesink.h:
16513 API addition: Make max-lateness a property.
16515 2006-03-06 Wim Taymans <wim@fluendo.com>
16517 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16518 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16519 Don't ever draw a frame that is >10ms late.
16521 2006-03-06 Michael Smith <msmith@fluendo.com>
16523 * gst/gstmessage.c: (_gst_message_copy):
16524 When copying a message, set the parent_refcount of the enclosed
16525 structure to point at the copy, not the original message.
16527 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16529 Patch by: Christophe Fergeau
16532 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16533 usable in c++ code (#333417)
16535 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16538 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16540 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16542 * libs/gst/base/gstbasetransform.c:
16543 (gst_base_transform_transform_caps):
16544 Make sure caps are writable before passing them to
16547 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16550 Fix some minor docs errors.
16552 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16554 Patch by: Ross Burton <ross at burtonini dot com>
16556 * gst/gsterror.c: (_gst_resource_errors_init):
16558 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16560 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16563 Add a check and output a g_warning when GStreamer is built
16564 against GLib 2.6 but running against 2.8 or higher, and vice
16565 versa. (Closes: #323542)
16567 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16569 * gst/parse/parse.l:
16570 Commit patch for parse_launch syntax from #331255. Removes
16571 support for quoted strings and mimetypes when writing filtered
16572 caps. See the bug report for more details - I'm pretty sure this
16573 obscure feature is not in use by _anyone_ anywhere.
16575 With this simple change, the size of the gstreamer.so here
16576 drops from 2193KB to 1565KB.
16578 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16580 * plugins/elements/gsttypefindelement.h:
16581 * plugins/elements/gsttypefindelement.c:
16582 (gst_type_find_element_src_event), (start_typefinding),
16583 (stop_typefinding), (gst_type_find_element_handle_event),
16584 (gst_type_find_element_chain),
16585 (gst_type_find_element_chain_do_typefinding):
16586 Use gst_type_find_helper_for_buffer() for chain-based
16589 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16591 * plugins/elements/gsttypefindelement.c:
16592 (gst_type_find_element_class_init),
16593 (gst_type_find_element_set_property),
16594 (gst_type_find_element_get_property):
16595 Deprecate "maximum" property (not only was it only taken into
16596 account for typefinding in push-mode anyway, it also was never
16597 actually possible to set it in the first place because the
16598 property was registered with the numeric property ID for the
16599 "minimum" property). Register "maximum" property correctly,
16600 for the sake of future copy'n'pasters. Remove some cruft
16601 from property get/set functions.
16603 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16605 * plugins/elements/gsttypefindelement.c:
16606 (gst_type_find_element_activate):
16607 Use gst_type_find_helper_get_range() here, so we
16608 can honour the "minimum" property and also emit
16609 the signal with the correct probability of the found caps.
16611 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16613 * docs/libs/gstreamer-libs-sections.txt:
16614 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16615 (helper_find_suggest), (gst_type_find_helper_get_range),
16616 (gst_type_find_helper):
16617 * libs/gst/base/gsttypefindhelper.h:
16618 New API: gst_type_find_helper_get_range() (#333042).
16620 2006-03-02 Michael Smith <msmith@fluendo.com>
16622 * gst/gstregistryxml.c: (load_feature):
16623 Asserting on a failure to read part of the registry is Not Cool.
16624 Just log a warning and return NULL (which is already handled)
16626 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16628 * win32/common/libgstbase.def:
16629 added export of gst_type_find_helper_for_buffer
16630 * win32/common/libgstbase.def:
16631 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16632 gst_ghost_pad_get_target
16634 2006-02-28 Wim Taymans <wim@fluendo.com>
16636 * docs/design/draft-klass.txt:
16638 Added Connector to mark elements that are only used to
16639 allow pipeline connections.
16640 Moved Debug to extra feature since most of them are
16641 functionally something else.
16643 2006-02-28 Wim Taymans <wim@fluendo.com>
16645 * docs/design/draft-klass.txt:
16646 Some updates and clarifications.
16648 2006-02-28 Wim Taymans <wim@fluendo.com>
16650 * docs/design/draft-klass.txt:
16651 Proposal for klass field values.
16653 * docs/design/part-streams.txt:
16654 Start of a doc describing stream anatomy.
16656 2006-02-28 Wim Taymans <wim@fluendo.com>
16658 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16659 Help the compiler a bit with type registration.
16660 Use existing forward cod path instead of duplicating it when
16661 handling a message.
16663 * gst/gstbus.c: (gst_bus_get_type):
16664 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16665 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16666 * gst/gstclock.c: (gst_clock_get_type):
16667 * gst/gstelement.c: (gst_element_get_type),
16668 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16669 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16670 * gst/gstminiobject.c: (gst_mini_object_get_type):
16671 * gst/gstpad.c: (gst_pad_get_type):
16672 * gst/gstsegment.c: (gst_segment_get_type):
16673 * gst/gststructure.c: (gst_structure_get_type):
16674 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16675 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16677 Help compiler with type registration.
16679 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16682 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16684 * plugins/elements/gsttypefindelement.c:
16685 (gst_type_find_element_handle_event):
16686 When we get an EOS event and have not found a type yet
16687 (most likely because we had not yet accumulated
16688 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16689 type given the data we have so far. Fixes typefinding
16690 for very short streams again, most notably quicktime
16691 redirections as used on Apple's trailer site (#331701).
16693 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16695 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16696 (gst_type_find_helper):
16697 Try typefinding factories with the highest rank first.
16699 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16701 * docs/libs/gstreamer-libs-docs.sgml:
16702 * docs/libs/gstreamer-libs-sections.txt:
16703 * libs/gst/base/gsttypefindhelper.c:
16704 Add section for typefind helper and add documentation
16705 for the old and the new function.
16707 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16709 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16710 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16711 (gst_type_find_helper_for_buffer):
16712 * libs/gst/base/gsttypefindhelper.h:
16713 New API: gst_type_find_helper_for_buffer() (#332723).
16715 2006-02-27 Michael Smith <msmith@fluendo.com>
16717 Patch by: Loïc Minier
16720 * docs/Makefile.am:
16721 * docs/slides/Makefile.am:
16722 prevent CVS directories getting disted.
16724 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16726 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16727 Use the REFCOUNTING category for caps refcounting.
16729 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16731 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16732 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16734 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16736 * plugins/elements/gsttypefindelement.c:
16737 (gst_type_find_element_activate):
16738 Use gst_pad_check_pull_range() before _activate_pull()
16739 to avoid unnecessary open/close (see #331690).
16741 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16744 Docs enhancement: make it crystal clear what the
16745 gst_pad_add_*_probe() callbacks should look like.
16747 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16749 * libs/gst/base/gstbasesrc.c:
16750 Document how applications can stop recording from
16751 live sources (see #330996).
16753 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16755 * tests/check/Makefile.am:
16756 * tests/check/libs/basesrc.c: (eos_event_counter),
16757 (basesrc_eos_events_pull), (basesrc_eos_events_push),
16758 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16759 (gst_basesrc_suite), (main):
16760 ... and add some tests for the base source EOS stuff.
16762 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16764 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16765 Test case originally showed the problem fixed below,
16766 but was then amended. Add checks back at the place
16767 where they used to be.
16769 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16771 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16772 (gst_base_src_init), (gst_base_src_loop),
16773 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16774 (gst_base_src_change_state):
16775 * libs/gst/base/gstbasesrc.h:
16776 Don't unconditionally send EOS when going from PAUSED to
16777 READY state, esp. make sure we don't send two EOS events
16778 in some cases (e.g. one when reaching EOS and one when
16779 going from PAUSED to READY). Also, we don't want to send
16780 EOS events when operating in pull mode. However, we do
16781 want to send an EOS event when shutting down a live
16782 source explicitly, for example (fixes #330996).
16784 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16786 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16787 Update src->read_position after a seek when not using mmap.
16788 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16790 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
16796 Make things work with --disable-parse as they do with
16797 --disable-load-save - the symbols involved disappear, but the
16798 header is still installed and GST_DISABLE_PARSE is included via
16801 2006-02-20 Julien MOUTTE <julien@moutte.net>
16803 * libs/gst/base/gstbasetransform.c:
16804 (gst_base_transform_change_state): Fix a stupid bug. I was
16805 sure I compiled that.
16807 2006-02-20 Julien MOUTTE <julien@moutte.net>
16809 * gst/gstpad.c: (gst_pad_set_blocked_async):
16810 * gst/gstutils.c: (gst_pad_add_data_probe),
16811 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16812 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16813 (gst_pad_remove_buffer_probe): Make those function act on the
16814 ghostpad target when it's a ghostpad. (Closes #331727)
16816 2006-02-20 Julien MOUTTE <julien@moutte.net>
16818 * libs/gst/base/gstbasetransform.c:
16819 (gst_base_transform_change_state): Make basetransform reusable.
16822 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
16824 * docs/random/release:
16825 Move the current documentation of how to do a release to the top
16828 * gst/gstbin.c: (gst_bin_class_init),
16829 (gst_bin_handle_message_func):
16830 Allow multiple state-recalculation threads. (Closes #328873)
16832 2006-02-19 Julien MOUTTE <julien@moutte.net>
16834 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16835 * gst/gstpad.c: (gst_pad_set_event_function),
16836 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16837 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16838 2 strings. You can't use the STR_NULL macro on that.
16840 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
16842 * gst/gstpad.c: (gst_pad_set_event_function),
16843 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16844 (gst_pad_set_getcaps_function)
16845 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16846 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16847 So now, we can use --gst-debug-level=5 on Windows
16848 * win32/common/libgstcontroller.def:
16849 Added export of gst_controller_init
16850 * win32/vs6/libgstcontroller.dsp:
16851 Fixed Release post build configuration
16853 2006-02-17 Wim Taymans <wim@fluendo.com>
16855 * tests/check/gst/gstquery.c: (GST_START_TEST):
16856 Added another check.
16858 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
16860 * plugins/elements/gsttypefindelement.c: (find_peek):
16861 We can do peeks at non-zero offsets, as long as they
16862 fall within the buffer we have.
16864 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
16866 * tests/check/Makefile.am:
16867 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16868 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16869 (parse_suite), (main):
16870 Add testsuite for parse launch syntax
16872 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
16874 * plugins/elements/gsttypefindelement.c:
16875 (gst_type_find_element_chain):
16876 When typefinding is unsuccessful in the chain function, don't
16877 error out immediately. Only error out with NO_CAPS_FOUND if
16878 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
16879 otherwise simply wait for more data so we can try typefinding
16880 again with more data later. Also, don't attempt to typefind
16881 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
16882 this should improve typefinding from network sources where the
16883 size of the first buffer can be somewhat random.
16885 2006-02-14 Wim Taymans <wim@fluendo.com>
16887 * docs/gst/gstreamer-sections.txt:
16888 * gst/gstpadtemplate.c:
16889 * gst/gstpadtemplate.h:
16890 Fix padtemplate docs, fixes #328805.
16892 2006-02-14 Wim Taymans <wim@fluendo.com>
16894 * tools/gst-launch.c: (main):
16895 NO_PREROLL is not an ERROR so don't send confusing messages
16898 2006-02-14 Wim Taymans <wim@fluendo.com>
16900 Patch by: Torsten Schoenfeld
16902 * gst/gstregistry.c: (gst_registry_get_default),
16903 (_gst_registry_cleanup):
16904 Protect default registry with lock and ref/sink it.
16907 2006-02-14 Wim Taymans <wim@fluendo.com>
16910 * gst/gstquery.c: (gst_query_list_add_format),
16911 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16912 (gst_query_parse_formats_nth):
16913 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16916 2006-02-14 Wim Taymans <wim@fluendo.com>
16918 * docs/gst/gstreamer-sections.txt:
16919 Reworked query docs.
16921 * gst/gstquery.c: (gst_query_new_formats),
16922 (gst_query_list_add_format), (gst_query_set_formats),
16923 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16924 (gst_query_parse_formats_nth):
16926 Flesh out formats query, added some new methods.
16927 Fix part of #324398.
16929 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
16930 Added query creation tests.
16932 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
16934 * gst/gstpad.c: (fixate_value):
16935 Add a default fixation for fraction lists.
16937 2006-02-13 Wim Taymans <wim@fluendo.com>
16939 * gst/gsttask.c: (gst_task_init), (gst_task_func),
16940 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
16943 Detect and warn for obvious deadlocks. fixes #320340
16944 Fix error case where lock was not released.
16946 * tests/check/Makefile.am:
16947 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
16948 (task_func), (gst_element_suite), (main):
16951 2006-02-13 Wim Taymans <wim@fluendo.com>
16953 * docs/gst/gstreamer-sections.txt:
16955 Add new functions to docs.
16957 2006-02-13 Wim Taymans <wim@fluendo.com>
16959 * docs/design/part-TODO.txt:
16960 Updated TODO list, basesrc supports seeking to non-bytes
16963 * docs/design/part-element-sink.txt:
16966 * gst/gstbin.c: (bin_replace_message),
16967 (gst_bin_handle_message_func):
16968 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
16969 * gst/gstevent.c: (gst_event_finalize):
16970 * gst/gstpad.c: (gst_pad_event_default_dispatch),
16971 (gst_pad_send_event):
16972 Use shiny new _TYPE_NAME macros.
16974 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16975 Move debug statement up.
16977 * gst/gstelement.c: (gst_element_set_locked_state):
16978 Add some debugging.
16980 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
16982 * docs/gst/gstreamer-sections.txt:
16983 * gst/gstmessage.h:
16985 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
16986 macros (#330906). Also, document the already existing
16987 GST_QUERY_TYPE macro.
16989 2006-02-13 Wim Taymans <wim@fluendo.com>
16991 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
16992 (event_probe), (GST_START_TEST):
16993 Only events up to the pipeline EOS are counted, there are
16994 some more when going to NULL currently which we don't care
16997 2006-02-13 Wim Taymans <wim@fluendo.com>
16999 * gst/gstpad.c: (gst_pad_send_event):
17000 Correctly check flushing and emit probes. fixes #330125
17002 2006-02-10 Andy Wingo <wingo@pobox.com>
17004 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17006 (gst_bus_init): Cache the location of the private data in the
17007 instance structure.
17008 (gst_bus_enable_sync_message_emission)
17009 (gst_bus_disable_sync_message_emission): Implement new public
17011 (gst_bus_post): Emit the sync-message signal if the user asked for
17014 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17015 location of the bus-private structure.
17016 (gst_bus_enable_sync_message_emission)
17017 (gst_bus_disable_sync_message_emission): API addition
17019 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17021 Patch by: Vincent Torri
17023 * docs/pwg/building-boiler.xml:
17024 PWG patch from #326800
17026 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17029 * docs/Makefile.am:
17030 * docs/design/Makefile.am:
17033 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17038 === release 0.10.3 ===
17040 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17043 releasing 0.10.3, "Like a virgin"
17045 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17048 2nd prerelease of 0.10.3
17049 Bump libtool versioning.
17051 2006-02-07 Andy Wingo <wingo@pobox.com>
17053 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17054 update last_stop if we're in TIME format and the timestamp is
17057 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17058 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17059 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17060 If we get a new newsegment with a different format, adapt
17063 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17064 of 0. Not a problem, really.
17066 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17069 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17074 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17077 project files updated to the default vs7 configuration
17078 * win32/common/libgstbase.def:
17079 * win32/common/libgstreamer.def:
17081 removed empty lines,
17082 sorted all exported symbols alphabetically
17083 * win32/common/dirent.c:
17084 * win32/common/dirent.h:
17085 * win32/common/gchar.h:
17086 use windows line end.
17088 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17090 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17091 Send EOS event when stopping.
17093 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17096 Tell folks what to do if the plugin-foobar.xml file
17097 hasn't been generated for a newly-added plugin.
17099 2006-02-05 Julien MOUTTE <julien@moutte.net>
17101 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17102 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17103 (gst_collect_pads_start), (gst_collect_pads_stop),
17104 (gst_collect_pads_event): Collectpads now holds a reference
17105 to the GstPad that was added. Indeed we don't want to look
17106 at pads that might just go away with no warning...
17108 2006-02-05 Julien MOUTTE <julien@moutte.net>
17110 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17111 (gst_collect_pads_start), (gst_collect_pads_stop),
17112 (gst_collect_pads_event), (gst_collect_pads_chain):
17113 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17114 Mark Nauwelaerts's patch on bug #328491.
17116 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17118 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17120 Add some simple tests for gst_parse_bin_from_description() and
17121 gst_bin_find_unconnected_pad() (#329069).
17123 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17125 * tools/gst-launch.c: (event_loop), (main):
17126 Catch errors during preroll (#320084).
17128 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17130 * plugins/elements/gsttypefindelement.c:
17131 (gst_type_find_element_activate):
17132 Post TYPE_NOT_FOUND error message when typefinding
17133 is unsuccessful in the activate function as well.
17135 2006-02-02 Wim Taymans <wim@fluendo.com>
17137 * docs/design/part-element-sink.txt:
17140 2006-02-02 Wim Taymans <wim@fluendo.com>
17142 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17143 (gst_base_sink_render_object),
17144 (gst_base_sink_queue_object_unlocked):
17145 Only keep track of prerollable items when we are
17147 Before rendering after preroll, always check if we
17149 Added some more debugging.
17151 2006-02-02 Wim Taymans <wim@fluendo.com>
17153 * gst/gstelement.c: (gst_element_continue_state),
17154 (gst_element_set_state_func), (gst_element_change_state):
17155 Fixed #326576, been running this for quite some time with
17156 no regressions at all.
17158 2006-02-02 Wim Taymans <wim@fluendo.com>
17161 Added more suppressions
17163 2006-02-02 Wim Taymans <wim@fluendo.com>
17165 * docs/design/part-element-sink.txt:
17168 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17169 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17170 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17171 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17172 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17173 (gst_base_sink_preroll_object),
17174 (gst_base_sink_queue_object_unlocked),
17175 (gst_base_sink_queue_object), (gst_base_sink_event),
17176 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17177 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17178 (gst_base_sink_get_position), (gst_base_sink_change_state):
17179 * libs/gst/base/gstbasesink.h:
17180 Totally refactored matching the design doc.
17181 Use two segments, one to clip incomming buffers and another to
17183 Handle queueing correctly, bypass the queue when playing.
17184 Make EOS cancelable.
17185 Handle errors correctly when operating in pull based mode.
17187 * tests/check/elements/fakesink.c: (GST_START_TEST),
17189 Added new check for sinks.
17191 2006-02-02 Wim Taymans <wim@fluendo.com>
17193 * gst/gstsegment.c: (gst_segment_clip):
17194 No reason to refuse to clip when start == -1
17196 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17199 * docs/manual/intro-basics.xml:
17200 * docs/manual/intro-preface.xml:
17201 * docs/manual/manual.xml:
17202 * docs/pwg/advanced-dparams.xml:
17203 * docs/pwg/intro-basics.xml:
17204 * docs/pwg/intro-preface.xml:
17205 * docs/pwg/pwg.xml:
17206 describe dparams (controller) for plugins
17207 unify docs a little more
17209 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17211 * docs/gst/gstreamer-sections.txt:
17212 * gst/gstutils.c: (element_find_unconnected_pad),
17213 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17215 Add new API: gst_parse_bin_from_description() and
17216 gst_bin_find_unconnected_pad() (#329069).
17218 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17220 * docs/manual/README:
17221 uncover a nasty detail of the docs build
17223 2006-01-31 Wim Taymans <wim@fluendo.com>
17225 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17226 Don't cache duration messages if we're not going to use or
17229 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17231 * docs/manual/advanced-dparams.xml:
17232 * docs/pwg/advanced-dparams.xml:
17236 * libs/gst/controller/lib.c: (gst_controller_init):
17239 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17241 * gst/gstelement.c: (gst_element_message_full):
17242 also show file/line/func if no additional debug was given
17244 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17246 * win32/vs7/grammar.vcproj:
17247 activate copy of autogenerated files for Release mode
17249 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17251 * win32/common/libgstreamer.def:
17252 export gst_value_compare
17254 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17256 * plugins/elements/Makefile.am:
17257 * plugins/elements/gstelements.c:
17258 * plugins/elements/gstfdsink.c: (_do_init),
17259 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17260 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17261 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17262 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17263 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17264 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17265 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17266 * plugins/elements/gstfdsink.h:
17267 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17269 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17271 * docs/manual/advanced-dparams.xml:
17272 describe controller
17273 * docs/manual/advanced-position.xml:
17274 * docs/manual/basics-init.xml:
17275 * docs/manual/manual.xml:
17276 * docs/manual/titlepage.xml:
17277 * docs/pwg/pwg.xml:
17278 * docs/pwg/titlepage.xml:
17279 cleanup xml (more to come)
17280 * libs/gst/controller/gstcontroller.c:
17283 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17285 * win32/vs6/grammar.dsp:
17286 add autogen of gstmarshal.c,h for Release mode
17288 2006-01-30 Wim Taymans <wim@fluendo.com>
17290 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17291 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17292 (gst_base_sink_handle_object), (gst_base_sink_event),
17293 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17294 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17295 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17296 (gst_base_sink_deactivate), (gst_base_sink_activate),
17297 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17298 (gst_base_sink_query), (gst_base_sink_change_state):
17299 Basesink cleanups, remove some old code.
17300 Handle the case where a subclass can preroll in the render
17301 method (mostly audiosinks).
17302 Handle more events.
17303 Remove some locks around variables that are now protected
17304 with the PREROLL_LOCK (clock_id, flushing, ..).
17305 Optimize position query some more, do correct locking.
17306 Remove old code to push queue in state change, this is not
17307 needed anymore since preroll blocks on all prerollable items
17309 Almost implemented as described in design doc.
17311 2006-01-30 Wim Taymans <wim@fluendo.com>
17313 * tests/check/gst/gstbin.c: (GST_START_TEST):
17314 Wait for refcount to settle down before checking.
17316 2006-01-30 Wim Taymans <wim@fluendo.com>
17318 * docs/design/part-element-sink.txt:
17319 Pseudo code overview of desired sink behaviour regarding
17322 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17323 * win32/vs6/grammar.dsp:
17324 fix some bugs in Release mode for autogenerated files
17326 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17327 * win32/common/libgstbase.def:
17328 * win32/common/libgstreamer.def:
17329 export some new symbols: gst_base_src_set_format,
17330 gst_iterator_next, gst_structure_set_valist
17332 2006-01-29 Julien MOUTTE <julien@moutte.net>
17334 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17335 Set pad functions unconditionally. Fixes #329105.
17337 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17339 add vs8 project files created by Sergey Scobich
17341 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17343 * gst/gstutils.c: (gst_element_unlink_pads):
17344 Don't leak pad references.
17346 * tests/check/elements/fakesink.c: (GST_START_TEST):
17347 * tests/check/generic/sinks.c: (GST_START_TEST):
17348 * tests/check/generic/states.c: (GST_START_TEST):
17349 * tests/check/gst/gstbin.c: (GST_START_TEST):
17350 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17351 * tests/check/gst/gstelement.c: (GST_START_TEST):
17352 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17353 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17354 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17355 Fix a bunch of leaks. Make generic/sinks.c
17356 use a bit less cpu by slowing the buffer rate
17357 between fakesrc and fakesink.
17359 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17361 * gst/gstelement.c: (gst_element_send_event):
17364 * gst/gstiterator.c:
17365 * gst/gstiterator.h:
17366 * gst/gstpad.c: (gst_pad_send_event):
17367 * gst/gststructure.c:
17371 * libs/gst/base/gstadapter.c:
17372 doc fixes, to link to function, just write gst_cool_function(), don't
17375 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17377 * plugins/elements/gsttee.c: (gst_tee_do_push),
17378 (gst_tee_handle_buffer):
17379 Always prefer an actual return value from a src
17380 pad in place of NOT_LINKED. This means we return
17381 WRONG_STATE when all src pads are WRONG_STATE
17382 instead of NOT_LINKED.
17384 Lock when replacing the last message to prevent
17385 racing with the get_property method.
17389 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17391 * tests/check/Makefile.am:
17392 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17394 Add a very simple check that should have caught the memleak I fixed
17395 last night (if not for the slice allocator hiding it)
17397 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17399 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17400 (gst_bin_remove_func), (gst_bin_handle_message_func),
17401 (bin_query_duration_fold), (bin_query_generic_fold):
17402 Clean up references to the clock provider when disposed or when
17403 handling a clock-lost message from it.
17405 Unref sinks when performing a query via gst_iterator_fold, as the
17406 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17408 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17409 (gst_clock_set_master):
17410 Drop our reference to the master clock, if any, when we are disposed.
17412 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17413 Chain up in dispose.
17415 2006-01-26 Wim Taymans <wim@fluendo.com>
17417 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17418 Add some debugging.
17420 2006-01-26 Julien MOUTTE <julien@moutte.net>
17422 * plugins/elements/gsttee.c: (gst_tee_do_push),
17423 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17424 handles pad being NOT_LINKED or in WRONG_STATE.
17426 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17431 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17434 remove obsolete entry
17436 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17438 * docs/gst/gstreamer-sections.txt:
17439 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17440 (gst_bin_iterate_sources), (gst_bin_send_event):
17442 * gst/gstelement.c: (gst_element_send_event):
17444 * gst/gstpad.c: (gst_pad_send_event):
17445 added code for downstream events, reviewed docs in gstevent.c
17447 2006-01-25 Julien MOUTTE <julien@moutte.net>
17449 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17450 We only query position using the clock in the playing state.
17451 Query peer in the other cases.
17452 * win32/common/config.h: Updates.
17454 2006-01-24 Wim Taymans <wim@fluendo.com>
17456 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17457 A clock entry that is scheduled for the exact time of the
17458 clock is still in time.
17460 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17461 (gst_base_sink_do_sync):
17462 Add some more debug info.
17464 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17467 Add new vs7 project files and solution.
17469 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17472 all files removed as they were out-dated.
17474 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17476 * docs/random/release:
17478 * gst/gstbin.c: (gst_bin_init):
17479 * gst/gstbus.c: (gst_bus_new):
17481 * gst/gstpipeline.c: (gst_pipeline_init):
17482 use gst_bus_new(), improve logging, fix docs
17483 * win32/common/config.h:
17484 update for cvs build
17486 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17489 up required version of automake to 1.7
17491 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17493 * win32/common/libgstreamer.def:
17494 export gst_buffer_is_metadata_writable
17496 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17498 * docs/gst/gstreamer-sections.txt:
17500 Add gst_event_replace() (#327001)
17502 2006-01-20 Wim Taymans <wim@fluendo.com>
17504 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17505 Make it actually compile too..
17507 2006-01-20 Wim Taymans <wim@fluendo.com>
17510 Clarify behaviour of _is_equal() when passing NULL parameters.
17512 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17513 (gst_pad_set_caps):
17514 Cleanups. Don't unref NULL caps.
17515 When setting the same caps, protect caps of the pad with
17517 Use full functionality of _is_equal() when comparing caps.
17519 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17521 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17522 Don't loop infinitely if there are no buffers to present. Partially
17523 fixes #327197, but collectpads is just broken for reusing elements
17524 to do multiple encodes atm.
17526 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17528 * tools/gst-inspect.c: (print_element_features):
17529 * tools/gst-xmlinspect.c: (main):
17530 URL_HANDLER is not a plugin feature we can search for in
17533 2006-01-19 Edward Hervey <edward@fluendo.com>
17535 * gst/gstelement.c: (gst_element_pads_activate):
17536 When activating, do src pads first, then sink pads.
17537 When de-activating, do sink pads first, then src pads.
17539 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17541 * docs/gst/gstreamer-sections.txt:
17542 Add gst_index_add_associationv to the docs
17544 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17549 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17550 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17551 Do some refactoring. Doesn't actually change functionality,
17552 but makes landing the DRAIN event easier later.
17554 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17556 * docs/pwg/advanced-scheduling.xml:
17557 Update from 0.9.x to 0.10 API and make example a bit
17560 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17562 * docs/gst/gstreamer-sections.txt:
17563 Add gst_buffer_(is|make)_metadata_writable methods.
17565 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17567 * docs/design/part-sparsestreams.txt:
17568 Update sparse streams doc, hopefully for greater clarity
17570 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17572 * docs/design/part-events.txt:
17573 Remove mention of FILLER events.
17576 * docs/design/part-sparsestreams.txt:
17577 Write some things about using NEWSEGMENT to keep sparse streams
17580 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17582 * gst/gstbin.c: (gst_bin_dispose):
17583 Guard gst_object_unref call against a NULL object (dispose
17584 can theoretically be called multiple times).
17586 2006-01-18 Wim Taymans <wim@fluendo.com>
17588 * gst/gstbin.c: (gst_bin_element_set_state):
17589 * gst/gstclock.c: (gst_clock_id_wait):
17590 Added some more debug info.
17592 * libs/gst/base/gstadapter.c:
17595 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17596 (gst_base_sink_do_sync), (gst_base_sink_chain):
17597 Added some comments.
17599 2006-01-18 Wim Taymans <wim@fluendo.com>
17601 * tests/check/Makefile.am:
17602 * tests/check/elements/fakesink.c: (chain_async_buffer),
17603 (chain_async), (chain_async_return), (GST_START_TEST),
17604 (fakesink_suite), (main):
17605 Added fakesink test that checks prerolling and clipping
17608 * tests/check/gst/gstutils.c: (GST_START_TEST):
17609 Make check run faster so that buildbots don't timeout.
17611 2006-01-18 Wim Taymans <wim@fluendo.com>
17613 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17614 (gst_base_sink_do_sync):
17616 When the sink finishes blocking on the preroll buffer, it can
17617 immediatly render it instead of rendering when the next buffer
17620 2006-01-18 Wim Taymans <wim@fluendo.com>
17622 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17623 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17624 (gst_base_sink_chain):
17626 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17627 Don't store _last_stop if the buffer is dropped.
17629 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17631 * plugins/elements/gsttypefindelement.c:
17632 (gst_type_find_element_class_init):
17633 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17634 object method handler that sets the caps on the pad and we want
17635 that to happen before we emit the signal (fixes e.g. feeding a
17636 plain text file to decodebin).
17638 2006-01-18 Christian Schaller <Christian@fluendo.com>
17640 * gst/gstplugin.c: Add MPL and Proprietary as license options
17642 2006-01-18 Andy Wingo <wingo@pobox.com>
17644 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17645 symbol was exported before, it appears this was just an oversight.
17647 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17649 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17650 prototype to gint. OK since this prototype was not in the header.
17652 2006-01-17 Andy Wingo <wingo@pobox.com>
17654 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17655 registry while we remove plugins.
17657 * tools/gst-inspect.c (print_element_info): Don't unref the
17658 factory arg, that should be the responsibility of whatever code
17659 received the ref. Fixes a double-free when called from
17660 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17661 (main): Unref the factory if we have one.
17662 (print_element_list): No change -- relies on the
17663 plugin_feature_list_free to free the list of features.
17665 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17667 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17668 (gst_buffer_make_metadata_writable):
17670 * libs/gst/base/gstbasetransform.c:
17671 (gst_base_transform_prepare_output_buf):
17672 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17673 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17674 Replace gst_buffer_(make|is)_metadata_writable patch now
17675 that the release is out.
17677 2006-01-17 Andy Wingo <wingo@pobox.com>
17679 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17680 in the present tense without reference to versions.
17682 * gst/gstregistry.c (gst_registry_add_plugin)
17683 (gst_registry_remove_plugin, gst_registry_remove_feature)
17684 (gst_registry_find_feature, gst_registry_get_feature_list)
17685 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17686 (gst_registry_lookup, gst_registry_scan_path)
17687 (_gst_registry_remove_cache_plugins)
17688 (gst_registry_get_feature_list_by_plugin): Add argument
17691 === release 0.10.2 ===
17693 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17696 releasing 0.10.2, "If man is five"
17698 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17702 * libs/gst/base/gstbasetransform.c:
17703 (gst_base_transform_prepare_output_buf):
17704 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17705 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17706 Back out patch until after the release.
17708 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17710 * gst/gstminiobject.c:
17711 Spelling fix in docs.
17712 * ChangeLog - remove conflict indicator
17714 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17716 Reviewed By: Andy Wingo
17718 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17719 (gst_buffer_make_metadata_writable):
17721 Add gst_buffer_(is|make)_metadata_writable as analogues of
17722 gst_buffer_(is|make)_writable.
17724 * libs/gst/base/gstbasetransform.c:
17725 (gst_base_transform_prepare_output_buf):
17726 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17727 Use name gst_buffer_(is|make)_metadata_writable functions.
17729 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17730 Test gst_buffer_(is|make)_metadata_writable
17734 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17736 * docs/manual/Makefile.am:
17737 don't do parallel make
17740 * win32/common/config.h.in:
17741 add generations for HOST_CPU and GST_MAJORMINOR
17742 * win32/common/config.h:
17743 commit generated result
17745 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17747 * docs/manual/appendix-integration.xml:
17748 Update GNOME integration section to use gst_init_get_option_group()
17749 instead of the old popt stuff (#322911). Also, GNOME applications
17750 should now use gconf*sink and gconf*src instead of the old gconf
17753 2006-01-13 Stefan Kost <ensonic@users.sf.net>
17756 * docs/gst/gstreamer-docs.sgml:
17757 * docs/gst/gstreamer-sections.txt:
17758 * docs/libs/gstreamer-libs-sections.txt:
17759 add new API entries to the docs
17760 * libs/gst/controller/Makefile.am:
17761 * libs/gst/controller/gstcontroller.c:
17762 * libs/gst/controller/gstcontroller.h:
17763 * libs/gst/controller/gstcontrollerprivate.h:
17764 * libs/gst/controller/gsthelper.c:
17765 * libs/gst/controller/gstinterpolation.c:
17766 move private structs to private header
17768 gstreamer-0.7 -> gstreamer-0.10
17769 * tests/check/libs/struct_i386.h:
17770 remove private structs
17772 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17774 * plugins/indexers/Makefile.am:
17775 Fixes as part of #317048
17777 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17779 * plugins/indexers/Makefile.am:
17780 fix #316086 - compilation when mmap is missing
17782 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
17784 * libs/gst/base/gstbasesink.c:
17785 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
17786 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17787 * win32/common/config.h:
17788 added some defines GST_MAJORMINOR and HOST_CPU
17789 * win32/common/libgstbase.def:
17790 * win32/common/libgstreamer.def:
17791 added some exported functions.
17793 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17795 * libs/gst/controller/gstcontroller.c:
17796 (gst_controlled_property_set_interpolation_mode),
17797 (gst_controlled_property_new):
17798 * libs/gst/controller/gstcontroller.h:
17799 * libs/gst/controller/gstinterpolation.c:
17800 (interpolate_none_get_string_value_array):
17801 make G_TYPE_STRING controlable
17803 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17806 * tools/gst-feedback.1.in:
17807 * tools/gst-inspect.1.in:
17808 * tools/gst-launch.1.in:
17809 * tools/gst-md5sum.1.in:
17810 * tools/gst-typefind.1.in:
17811 * tools/gst-xmlinspect.1.in:
17812 * tools/gst-xmllaunch.1.in:
17813 cleanup man-pages, remove reference to gst-register, document env-vars
17815 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
17817 * gst/gstbuffer.c: (gst_buffer_span):
17818 gst_buffer_span should copy the timestamp of the first buffer
17819 if they were both originally overlapping subbuffers of the
17820 same parent, using the same logic as the 'slow copy' case.
17822 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
17824 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17825 Need to awaken ALL the pads when we pop a buffer, otherwise
17826 collectpads only works when there is 2 input streams.
17828 2006-01-11 Stefan Kost <ensonic@users.sf.net>
17830 * docs/random/ensonic/media-device-daemon.txt:
17833 fix doc example, add clarification
17834 * tools/gst-launch.1.in:
17835 add initial info about GST_PLUGIN_PATH, needs more work
17837 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
17839 * docs/manual/basics-bins.xml:
17840 * docs/manual/basics-elements.xml:
17841 * docs/manual/intro-basics.xml:
17842 Some more minor docs additions and updates.
17844 2006-01-11 Wim Taymans <wim@fluendo.com>
17846 * docs/manual/basics-bins.xml:
17847 * docs/manual/basics-elements.xml:
17848 Some small fixes as pointed out by Ser-ver on IRC.
17850 2006-01-10 Edward Hervey <edward@fluendo.com>
17852 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17853 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17854 the single-segment mode.
17856 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
17858 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17860 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17861 (gst_base_src_perform_seek), (gst_base_src_send_event),
17862 (gst_base_src_set_property), (gst_base_src_get_property),
17863 (gst_base_src_loop), (gst_base_src_start),
17864 (gst_base_src_activate_push):
17865 * libs/gst/base/gstbasesrc.h:
17866 Name (private) union; makes Sun's Forte compiler happy (#324900).
17868 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
17871 gst-register is gone.
17873 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
17875 * gst/gstvalue.c: (_gst_value_initialize):
17876 make the G_TYPE_DATE instantiation work if debug is disabled
17878 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
17880 * gst/gstmessage.c: (gst_message_parse_tag),
17881 (gst_message_parse_error), (gst_message_parse_warning):
17882 Don't crash when return location for error/warning debug
17883 string is NULL; add fact that return locations can be
17884 NULL to docs where appropriate.
17886 2006-01-05 Wim Taymans <wim@fluendo.com>
17888 * gst/gstplugin.c: (gst_plugin_load_file):
17889 Replace strdup by g_strdup.
17891 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17893 * docs/pwg/advanced-types.xml:
17896 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17898 submitted by: Abel Cheung
17902 Added Chinese (traditional) translation
17904 2006-01-04 Wim Taymans <wim@fluendo.com>
17906 * docs/manual/basics-pads.xml:
17907 * docs/plugins/Makefile.am:
17908 * docs/plugins/gstreamer-plugins-docs.sgml:
17909 * docs/plugins/gstreamer-plugins-sections.txt:
17910 * docs/pwg/advanced-clock.xml:
17911 * docs/pwg/advanced-scheduling.xml:
17912 * docs/pwg/advanced-types.xml:
17913 * plugins/elements/gstfdsink.c:
17914 * plugins/elements/gstfdsrc.c:
17915 * plugins/elements/gstfdsrc.h:
17916 * plugins/elements/gstidentity.c: (gst_identity_class_init):
17917 * plugins/elements/gstidentity.h:
17918 * plugins/elements/gstqueue.h:
17919 * plugins/elements/gsttee.c:
17920 * plugins/elements/gsttee.h:
17921 * plugins/elements/gsttypefindelement.c:
17922 (gst_type_find_element_class_init):
17923 * plugins/elements/gsttypefindelement.h:
17924 Small updates to various docs.
17925 Added core plugins to docs.
17927 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17930 add a suppression for liboil's uninitialized variable
17932 2006-01-02 James Livingston <jrl at ids dot org dot au>
17934 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17937 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
17938 macro, so that gcc doesn't complain if the -Wmissing-prototypes
17939 compiler switch is being used (#325429).
17941 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
17943 * gst/gstbin.c: (gst_bin_query):
17944 Disable duration query caching in bins until it gets
17945 fixed (see #324807).
17947 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
17949 * tools/gst-inspect.c: (print_element_properties_info):
17950 Handle properties of POINTER and BOXED type.
17952 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
17954 * gst/gst.c: (init_post):
17955 Init tags stuff and some other things before loading
17956 any static plugins (there may be other static plugins
17957 than just the GStreamer ones, and they may want to
17958 register their own tags or formats or whatever, and
17959 preferably without segfaulting).
17961 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
17962 Print at least a warning in the debug logs if we drop a
17963 query just because we don't know how to adjust the value
17964 in the particular format.
17966 2005-12-24 David Schleef <ds@schleef.org>
17968 * tools/gstreamer-completion:
17969 Replacement for gst-complete written in sh and sed. Only
17970 completes names of features, but that's 90% of what I want
17971 it for. Properties are not available in registry.xml. (Maybe
17974 === release 0.10.1 ===
17976 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
17979 releasing 0.10.1, "Nollaig chridheil"
17981 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
17983 * docs/faq/cvs.xml:
17984 Add missing quote, should be make ERROR_CFLAGS="".
17986 2005-12-20 Wim Taymans <wim@fluendo.com>
17988 * docs/design/part-trickmodes.txt:
17989 More documentation on trickmodes.
17991 2005-12-20 Edward Hervey <edward@fluendo.com>
17993 * gst/gstcaps.c: (gst_static_caps_get_type):
17995 API addition: GST_TYPE_STATIC_CAPS
17996 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
17997 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
17998 * gst/gstpadtemplate.h:
17999 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18000 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18003 2005-12-18 Wim Taymans <wim@fluendo.com>
18005 * libs/gst/base/gstadapter.c:
18006 * libs/gst/base/gstadapter.h:
18007 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18008 (gst_base_sink_get_position):
18009 * libs/gst/base/gstbasesink.h:
18010 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18011 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18012 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18013 (gst_base_src_send_event), (gst_base_src_update_length),
18014 (gst_base_src_get_range), (gst_base_src_loop),
18015 (gst_base_src_start):
18016 * libs/gst/base/gstbasesrc.h:
18017 * libs/gst/base/gstbasetransform.h:
18018 * libs/gst/base/gstcollectpads.h:
18019 * libs/gst/base/gstpushsrc.c:
18020 * libs/gst/base/gstpushsrc.h:
18021 * libs/gst/dataprotocol/dataprotocol.c:
18022 * libs/gst/dataprotocol/dataprotocol.h:
18023 * libs/gst/net/gstnetclientclock.h:
18024 * libs/gst/net/gstnettimeprovider.h:
18025 Documentation updates.
18027 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18029 * docs/manual/basics-helloworld.xml:
18030 Remove superfluous closing bracket in helloworld example.
18032 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18034 * tools/gst-launch.1.in:
18035 Update gst-launch man page; add a section with useful
18036 environment variables. Fixes #323882.
18038 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18041 * gst/gst_private.h:
18042 change some char* into char[]
18044 2005-12-16 Wim Taymans <wim@fluendo.com>
18046 * gst/gstregistryxml.c: (load_feature):
18048 Don't use g_object_unref on GstObjects so that we avoid
18049 leaks on unsafe glibs.
18051 2005-12-16 Wim Taymans <wim@fluendo.com>
18053 * gst/gstbin.c: (gst_bin_recalc_state):
18056 2005-12-16 Wim Taymans <wim@fluendo.com>
18058 * common/check.mak:
18059 Added make forever target for check.
18061 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18063 * gst/gst.c: (init_post):
18064 make the registry cache file HOST_CPU-dependent
18066 2005-12-16 Andy Wingo <wingo@pobox.com>
18068 * plugins/elements/gstbufferstore.c
18069 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18072 * tests/check/gst/gstobject.c
18073 (test_fake_object_name_threaded_unique): Pay attention to
18074 g_list_sort return value.
18076 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18078 * tools/gst-feedback-m.m:
18079 Update for 0.9/0.10 (fixes #323870).
18081 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18083 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18084 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18086 * tests/check/gst/gstminiobject.c: (my_foo_init),
18087 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18088 (test_value_collection), (gst_mini_object_suite):
18089 Add test to ensure refcounts end up as expected when passing
18090 GstMiniObjects through g_object_get() and g_object_set().
18092 2005-12-14 Julien MOUTTE <julien@moutte.net>
18094 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18095 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18096 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18097 of collectpads. This version removes a lot of races without
18098 touching API/ABI. Yay !
18100 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18102 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18103 Don't allow activation of a srcpad in pull_range if it has no
18105 Change some debug statements to be a little clearer
18107 * plugins/elements/gsttypefindelement.c:
18108 (gst_type_find_handle_src_query):
18109 Check that we have a peer before executing queries thereupon.
18111 * tests/examples/metadata/read-metadata.c: (message_loop):
18112 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18113 immediately return us any available message with 0 timeout.
18115 2005-12-12 Michael Smith <msmith@fluendo.com>
18117 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18118 Don't unref factories after calling them.
18119 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18120 * plugins/elements/gsttypefindelement.c:
18121 (gst_type_find_element_chain):
18122 Free lists of factories after using them. Fixing typefinding memory
18125 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18127 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18128 (gst_plugin_feature_load):
18129 more meaningful debug output
18131 * tests/Makefile.am:
18132 * tests/old/examples/Makefile.am:
18133 make make distcheck happy again
18135 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18137 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18138 Catch the special case where we are operating chain-based,
18139 but the downstream peer pad has no chain function. Emit a
18140 custom error message in this case instead of letting the
18141 core generate one implying that this is some sort of core
18142 bug. It's not, it just means that whatever got plugged
18143 into the pipeline downstream when we announced the type
18144 can only operate pull-based, while our source can only
18145 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18146 Error string has not been marked for translation yet, as
18147 it probably needs some more work first.
18149 (gst_type_find_element_get_best_possibility):
18150 Add helper function to find the best of all available
18151 found possibilities that qualify given the min. threshold.
18153 (gst_type_find_element_handle_event):
18154 Fix the case where we get an EOS while still in TYPEFIND
18155 mode (we want to chose the best of all possible types,
18156 not just the first type that happens to be in our unsorted
18157 list of possible types).
18159 (gst_type_find_element_chain):
18160 Make sure we return GST_FLOW_ERROR when we errored out
18161 in stop_typefinding(); also, don't just find the best of
18162 all found type entries and then use the last examined
18163 type entry, but actually use the best entry.
18165 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18167 * tests/examples/typefind/typefind.c: (type_found):
18168 * tests/examples/xml/runxml.c: (xml_loaded):
18169 More gcc4 fixes and a mem leak fix.
18171 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18173 * tests/examples/xml/createxml.c: (object_saved):
18176 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18178 * tests/Makefile.am:
18179 enable the examples even more
18181 2005-12-12 Andy Wingo <wingo@pobox.com>
18183 * libs/gst/net/gstnettimeprovider.c
18184 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18185 (gst_net_time_provider_set_property)
18186 (gst_net_time_provider_get_property):
18187 API addition: Export "active" as a GObject property.
18188 (gst_net_time_provider_thread): Only respond to time queries if
18189 the time provider is active.
18191 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18192 NetTimeProvider, preserving binary compat.
18194 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18196 * tests/examples/controller/audio-example.c: (main):
18197 * tests/examples/launch/Makefile.am:
18198 convert comments again
18200 2005-12-12 Wim Taymans <wim@fluendo.com>
18202 * libs/gst/base/gstpushsrc.c:
18205 2005-12-12 Wim Taymans <wim@fluendo.com>
18207 * docs/libs/gstreamer-libs-sections.txt:
18208 Added new symbol to docs.
18210 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18211 (gst_base_src_init), (gst_base_src_set_format),
18212 (gst_base_src_default_query), (gst_base_src_query),
18213 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18214 (gst_base_src_perform_seek), (gst_base_src_send_event),
18215 (gst_base_src_default_event), (gst_base_src_event_handler),
18216 (gst_base_src_set_property), (gst_base_src_get_property),
18217 (gst_base_src_wait), (gst_base_src_do_sync),
18218 (gst_base_src_update_length), (gst_base_src_get_range),
18219 (gst_base_src_check_get_range), (gst_base_src_loop),
18220 (gst_base_src_default_negotiate), (gst_base_src_start),
18221 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18222 (gst_base_src_change_state):
18223 * libs/gst/base/gstbasesrc.h:
18224 Implement seeking to other formats than _BYTES.
18225 Implement more seeking methods correctly.
18227 Added query vmethod.
18228 Added do_seek vmethod to make life easier for subclasses
18230 API addition: gst_base_src_set_format()
18232 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18234 * tests/examples/Makefile.am:
18237 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18240 * docs/random/ensonic/media-device-daemon.txt:
18241 * tests/examples/controller/.cvsignore:
18242 * tests/examples/controller/Makefile.am:
18243 * tests/examples/controller/audio-example.c: (main):
18244 * tests/examples/helloworld/.cvsignore:
18245 * tests/examples/helloworld/Makefile.am:
18246 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18247 * tests/examples/launch/.cvsignore:
18248 * tests/examples/launch/Makefile.am:
18249 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18250 * tests/examples/metadata/.cvsignore:
18251 * tests/examples/metadata/Makefile.am:
18252 * tests/examples/metadata/read-metadata.c: (message_loop),
18253 (make_pipeline), (print_tag), (main):
18254 * tests/examples/queue/.cvsignore:
18255 * tests/examples/queue/Makefile.am:
18256 * tests/examples/queue/queue.c: (event_loop), (main):
18257 * tests/examples/typefind/.cvsignore:
18258 * tests/examples/typefind/Makefile.am:
18259 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18261 * tests/examples/xml/.cvsignore:
18262 * tests/examples/xml/Makefile.am:
18263 * tests/examples/xml/createxml.c: (object_saved), (main):
18264 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18265 * tests/old/examples/Makefile.am:
18266 * tests/old/examples/TODO:
18267 * tests/old/examples/controller/.cvsignore:
18268 * tests/old/examples/controller/Makefile.am:
18269 * tests/old/examples/controller/audio-example.c:
18270 * tests/old/examples/helloworld/.cvsignore:
18271 * tests/old/examples/helloworld/Makefile.am:
18272 * tests/old/examples/helloworld/helloworld.c:
18273 * tests/old/examples/launch/.cvsignore:
18274 * tests/old/examples/launch/Makefile.am:
18275 * tests/old/examples/launch/mp3parselaunch.c:
18276 * tests/old/examples/launch/mp3play:
18277 * tests/old/examples/manual/Makefile.am:
18278 * tests/old/examples/metadata/Makefile.am:
18279 * tests/old/examples/metadata/read-metadata.c:
18280 * tests/old/examples/queue/.cvsignore:
18281 * tests/old/examples/queue/Makefile.am:
18282 * tests/old/examples/queue/queue.c:
18283 * tests/old/examples/typefind/.cvsignore:
18284 * tests/old/examples/typefind/Makefile.am:
18285 * tests/old/examples/typefind/typefind.c:
18286 * tests/old/examples/xml/.cvsignore:
18287 * tests/old/examples/xml/Makefile.am:
18288 * tests/old/examples/xml/createxml.c:
18289 * tests/old/examples/xml/runxml.c:
18290 applied some simple fixing to some examples
18291 re-enabled the working examples
18293 2005-12-12 Wim Taymans <wim@fluendo.com>
18295 * gst/gstsegment.c: (gst_segment_init),
18296 (gst_segment_set_last_stop), (gst_segment_set_seek),
18297 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18298 (gst_segment_to_running_time):
18299 Added more documentation.
18300 Make sure the last_pos value is updated properly.
18301 Make sure to_stream_time and to_running_time don't
18302 operate on wrong values.
18304 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18307 2005-12-12 Michael Smith <msmith@fluendo.com>
18309 * plugins/elements/gsttypefindelement.c: (free_entry),
18310 (gst_type_find_element_chain):
18311 Now that we're not leaking factories, make sure we keep references
18312 to them while we need them.
18314 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18316 * tests/check/gst/struct_i386.h:
18317 ifdef out the XML structs
18319 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18321 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18322 floor is not needed, F is always positive; this obviates the
18323 need for adding -lm when building without libxml
18325 2005-12-12 Wim Taymans <wim@fluendo.com>
18327 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18328 Take current playback rate into account when reporting
18331 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18333 * docs/manual/mime-world.fig:
18334 Let's try this again, this time with a file that is
18335 actually in XFig format.
18337 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18339 * docs/manual/mime-world.fig:
18340 Add audioconvert element to diagram so that it
18341 matches the text and the code (fixes #319526).
18343 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18345 * docs/pwg/building-chainfn.xml:
18346 * docs/pwg/building-pads.xml:
18347 * docs/pwg/building-state.xml:
18348 * docs/pwg/other-source.xml:
18349 Update state change stuff for 0.10 (fixes #322969).
18351 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18353 * docs/manual/advanced-dataaccess.xml:
18354 * docs/manual/appendix-checklist.xml:
18355 * docs/manual/appendix-programs.xml:
18356 * docs/manual/basics-pads.xml:
18357 * docs/manual/highlevel-components.xml:
18358 * docs/manual/manual.xml:
18359 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18360 add converters in front of pipelines; remove curly
18361 brackets for threads stuff, they no longer exist; use
18362 GST_TYPE_FRACTION for framerates; update some pieces of
18363 code to 0.10, but there's plenty more to do.
18365 * docs/manual/appendix-porting.xml:
18366 Expand on asynchroneous state changes; s/0.9/0.10/;
18367 mention disappearance of gst_init_get_popt_table()
18370 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18372 * docs/faq/using.xml:
18373 Spider no longer exists, and neither does gst-launch-ext.
18374 Update examples to use decodebin and playbin and put
18375 converters in front of sinks (fixes #323726).
18377 2005-12-09 Michael Smith <msmith@fluendo.com>
18379 * plugins/elements/gsttypefindelement.c: (find_peek),
18380 (gst_type_find_element_chain):
18381 Fix leaking element factories in typefinding.
18382 Fix problem where we forgot about a probable type on non-seekable
18383 files, and thus later mis-typefound it.
18385 2005-12-09 Michael Smith <msmith@fluendo.com>
18387 * common/m4/gst-makecontext.m4:
18388 * common/m4/gst-mcsc.m4:
18390 * win32/common/config.h:
18391 * win32/common/config.h.in:
18392 Remove makecontext stuff; not used in 0.10 and causes problems on
18393 HPUX according to bug #322441
18395 2005-12-07 Wim Taymans <wim@fluendo.com>
18397 * tests/check/Makefile.am:
18398 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18400 * tests/check/libs/struct_i386.h:
18401 Added ABI check for libs
18403 2005-12-07 Wim Taymans <wim@fluendo.com>
18405 * tests/check/Makefile.am:
18406 And add the struct_i386.h to dist.
18408 2005-12-07 Wim Taymans <wim@fluendo.com>
18410 * tests/check/Makefile.am:
18411 * tests/check/gst/.cvsignore:
18412 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18414 * tests/check/gst/struct_i386.h:
18415 Added check for ABI compatibility.
18417 2005-12-07 Wim Taymans <wim@fluendo.com>
18419 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18420 (gst_fake_src_get_times), (gst_fake_src_create):
18421 Fix broken sync option, fixes #323259
18423 2005-12-07 Wim Taymans <wim@fluendo.com>
18428 * gst/gstcaps.c: (gst_caps_is_equal):
18429 Don't assert on NULL <--> X. Fixes #323260
18431 * gst/gstminiobject.c: (gst_mini_object_replace):
18432 If we're doing atomic operations, we might just as well use
18433 the proper way to get an atomic pointer.
18435 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18436 Clean up debugging.
18438 2005-12-07 Michael Smith <msmith@fluendo.com>
18440 * gst/parse/grammar.y:
18441 Remove handling of { } for threads.
18443 2005-12-06 David Schleef <ds@schleef.org>
18445 * libs/gst/base/gstbasetransform.c: speling fix.
18447 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18449 * docs/libs/tmpl/gstdataprotocol.sgml:
18450 * docs/random/omega/testing/gstobject.c:
18453 * gst/gstelement.c:
18454 * gst/gstelementfactory.c:
18457 * gst/gstghostpad.c:
18459 * gst/gstpadtemplate.c:
18460 * gst/gstregistryxml.c:
18461 * gst/gsttaglist.c:
18462 * gst/gsttagsetter.c:
18463 * gst/gsttypefind.c:
18465 * libs/gst/base/gstbasesrc.c:
18466 * libs/gst/net/gstnetclientclock.c:
18467 * libs/gst/net/gstnettimeprovider.c:
18468 * plugins/elements/gstfakesrc.c:
18469 * plugins/elements/gstfdsrc.c:
18470 * plugins/elements/gstfilesrc.c:
18471 * plugins/elements/gstidentity.c:
18472 * plugins/elements/gstqueue.c:
18473 * plugins/elements/gsttypefindelement.c:
18474 * plugins/indexers/gstfileindex.c:
18475 * plugins/indexers/gstmemindex.c:
18476 * tests/check/gst/gsttag.c:
18477 * tests/old/examples/cutter/cutter.c:
18478 * tests/old/examples/mixer/mixer.c:
18479 * tests/old/examples/xml/runxml.c: (main):
18480 * tests/old/testsuite/caps/normalisation.c:
18481 * tests/old/testsuite/debug/global.c:
18482 * tests/old/testsuite/parse/parse1.c:
18483 * tools/gst-xmlinspect.c:
18484 * win32/common/dirent.c:
18487 === release 0.10.0 ===
18489 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18492 releasing 0.10.0, "Maroilles"
18494 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18496 submitted by: Funda Wang <fundawang@linux.net.cn>
18500 added Chinese (Traditional) translation
18502 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18504 * docs/gst/gstreamer-sections.txt:
18505 * docs/libs/tmpl/gstdataprotocol.sgml:
18506 * docs/random/thomasvs/TODO:
18511 2005-12-05 Andy Wingo <wingo@pobox.com>
18513 patch by: Wim Taymans <wim@fluendo.com>
18515 * libs/gst/base/gstbasetransform.c
18516 (gst_base_transform_prepare_output_buf)
18517 (gst_base_transform_buffer_alloc):
18518 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18519 alloc_buffer_and_set_caps.
18521 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18522 set_caps on the source pad.
18523 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18524 alloc_buffer used to do. Fixes #322874.
18526 * docs/gst/gstreamer-sections.txt:
18527 * docs/design/part-negotiation.txt:
18528 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18531 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18533 patch by: Sebastien Moutte
18536 * win32/common/config.h.in:
18537 * win32/vs6/libgstcontroller.dsp:
18540 2005-12-05 Wim Taymans <wim@fluendo.com>
18542 * gst/gstcaps.c: (gst_caps_is_equal):
18543 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18544 (gst_fake_src_create):
18545 Back out previous code changes, leave doc updates, file bugs
18548 2005-12-05 Wim Taymans <wim@fluendo.com>
18550 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18551 (gst_fake_src_get_times), (gst_fake_src_create):
18552 * plugins/elements/gstfakesrc.h:
18553 Fix broken sync code.
18555 2005-12-05 Wim Taymans <wim@fluendo.com>
18557 * gst/gstcaps.c: (gst_caps_is_equal):
18558 Comparing NULL against !NULL yields different caps, not a
18561 2005-12-05 Wim Taymans <wim@fluendo.com>
18563 * gst/gstpipeline.c:
18564 Fix small typo in docs.
18566 2005-12-05 Andy Wingo <wingo@pobox.com>
18568 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18570 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18571 registries/plugins with a MAJORMINOR one.
18572 (plugin_desc): Rename library from gstcoreleements to
18573 staticelements. Fixes #323222.
18575 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18577 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18578 Change debug category to 'collectpads' from 'collect_pads'
18581 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18583 patch by: Sebastien Moutte
18585 * libs/gst/controller/gstinterpolation.c:
18586 use convert function for uint64/double
18587 * win32/vs6/libgstcontroller.dsp:
18590 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18592 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18593 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18595 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18596 add tests that seem to show that the guint64/gdouble conversions
18599 2005-12-02 Wim Taymans <wim@fluendo.com>
18601 * gst/gstregistry.c: (gst_registry_add_path):
18602 * gst/gstregistry.h:
18603 * gst/gstregistryxml.c:
18606 2005-12-02 Wim Taymans <wim@fluendo.com>
18608 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18609 (gst_util_uint64_scale_int):
18612 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18613 Add debug log line.
18615 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18618 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18621 * win32/common/config.h:
18622 * win32/vs6/gstreamer.dsw:
18623 * win32/vs6/libgstcoreelements.dsp:
18624 * win32/vs6/libgstelements.dsp:
18625 renamed core elements plugin
18627 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18629 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18631 do piece-wise major/minor comparison so 0.9 < 0.10
18632 also allow .exe extensions for tools
18634 2005-12-02 Michael Smith <msmith@fluendo.com>
18637 Escape a % to make gtkdoc happier; bug 322958.
18639 === release 0.9.7 ===
18641 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18644 releasing 0.9.7, "My Dog Has No Nose"
18646 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18648 * common/gst-xmlinspect.py:
18650 * docs/libs/tmpl/gstdataprotocol.sgml:
18651 * docs/random/release:
18670 * win32/common/config.h:
18671 * win32/common/config.h.in:
18672 * win32/vs6/gst_inspect.dsp:
18673 * win32/vs6/gst_launch.dsp:
18674 * win32/vs6/libgstbase.dsp:
18675 * win32/vs6/libgstelements.dsp:
18676 * win32/vs6/libgstreamer.dsp:
18677 * win32/vs7/GStreamer.vcproj:
18678 * win32/vs7/gst-inspect.vcproj:
18679 * win32/vs7/gst-launch.vcproj:
18680 * win32/vs7/libgstbase.vcproj:
18681 bump GST_MAJORMINOR to 0.10
18682 reset libtool version
18684 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18688 Added Bulgarian translation by (Alexander Shopov)
18690 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18692 * tests/check/gst/gstplugin.c:
18695 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18697 * common/gst-xmlinspect.py:
18698 * common/gtk-doc-plugins.mak:
18700 * docs/Makefile.am:
18701 * docs/gst/Makefile.am:
18702 * docs/gst/gstreamer-docs.sgml:
18703 * docs/gst/gstreamer-sections.txt:
18704 * docs/gst/gstreamer.types:
18705 * docs/gst/gstreamer.types.in:
18706 * docs/plugins/Makefile.am:
18707 * docs/plugins/gstreamer-plugins-docs.sgml:
18708 * docs/plugins/gstreamer-plugins-sections.txt:
18709 * docs/plugins/gstreamer-plugins.types:
18710 * docs/plugins/inspect.stamp:
18711 * docs/plugins/inspect/plugin-coreelements.xml:
18712 * docs/plugins/inspect/plugin-coreindexers.xml:
18713 * docs/plugins/scanobj-build.stamp:
18714 * gstreamer.spec.in:
18715 * plugins/elements/Makefile.am:
18716 * plugins/elements/gstelements.c:
18717 * plugins/elements/gstfakesink.c:
18718 * plugins/elements/gstfakesrc.c:
18719 * plugins/elements/gstfilesink.c:
18720 * plugins/elements/gstfilesrc.c:
18721 * plugins/elements/gstqueue.c:
18722 * plugins/indexers/Makefile.am:
18723 * plugins/indexers/gstindexers.c:
18724 document core plugins in a separate document just like all the
18726 rename these plugins to something starting with core
18728 2005-12-01 Andy Wingo <wingo@pobox.com>
18730 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18731 padding here before, but it missed the commit.
18733 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18735 * libs/gst/controller/gstinterpolation.c:
18736 whitespace prices have crashed, we should feel free to use some now
18737 use gst_guint64_to_gdouble
18739 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18741 * libs/gst/controller/gstcontroller.c:
18742 * libs/gst/controller/gsthelper.c:
18743 * libs/gst/controller/gstinterpolation.c:
18744 * libs/gst/controller/lib.c:
18745 wrap config.h include
18747 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18749 * docs/gst/gstreamer-sections.txt:
18752 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18754 * plugins/elements/gstelements.c:
18755 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18756 (gst_fd_sink__class_init), (gst_fd_sink__init),
18757 (gst_fd_sink__chain), (gst_fd_sink__set_property),
18758 (gst_fd_sink__get_property):
18759 * plugins/elements/gstfdsink.h:
18760 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18761 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18762 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18763 (gst_fd_src_unlock), (gst_fd_src_set_property),
18764 (gst_fd_src_get_property), (gst_fd_src_create),
18765 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18766 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18767 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18768 (gst_fd_src_uri_handler_init):
18769 * plugins/elements/gstfdsrc.h:
18770 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18773 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18775 * docs/gst/Makefile.am:
18776 * docs/gst/gstreamer.types.in:
18780 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18786 * gst/gstregistry.h:
18787 * tests/benchmarks/complexity.c:
18788 * tests/benchmarks/mass-elements.c:
18789 * tests/check/Makefile.am:
18790 * tools/Makefile.am:
18791 * tools/gst-inspect.c:
18792 * tools/gst-xmlinspect.c:
18793 various fixes to make
18794 --disable-nls --disable-registry --disable-loadsave
18795 --disable-parse --disable-gst-debug
18796 work and get the core .so down to 360444 bytes after stripping
18798 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18803 * docs/random/thomasvs/TODO:
18804 * tests/Makefile.am:
18808 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18810 * win32/GStreamer.vcproj:
18813 * win32/Makefile.inspect:
18814 * win32/Makefile.launch:
18815 * win32/Makefile.register:
18816 * win32/README.txt:
18817 * win32/gst-inspect.vcproj:
18818 * win32/gst-launch.vcproj:
18819 * win32/gst-register.vcproj:
18820 * win32/gstelements.vcproj:
18821 * win32/gstgetbits.def:
18822 * win32/gstgetbits.vcproj:
18823 * win32/gstreamer-dbg.def:
18824 * win32/gstreamer.def:
18825 * win32/libgstbase.def:
18826 * win32/libgstbase.vcproj:
18827 * win32/link_oldruntime.c:
18831 * win32/msvc71.sln:
18832 move even more stuff, win32/ is nice and clean now
18834 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18836 * libs/gst/control/.cvsignore:
18841 * win32/gstbytestream.def:
18842 * win32/gstbytestream.vcproj:
18843 * win32/gstconfig.h:
18844 * win32/gstenumtypes.c:
18845 * win32/gstenumtypes.h:
18846 * win32/gstoptimalscheduler.vcproj:
18847 * win32/gstversion.h:
18849 * win32/testsuite/bins.vcproj:
18850 * win32/testsuite/bytestream.vcproj:
18851 * win32/testsuite/caps.vcproj:
18852 * win32/testsuite/cleanup.vcproj:
18853 * win32/testsuite/clock.vcproj:
18854 * win32/testsuite/debug.vcproj:
18855 * win32/testsuite/dlopen.vcproj:
18856 * win32/testsuite/dynparams.vcproj:
18857 * win32/testsuite/elements.vcproj:
18858 * win32/testsuite/ghostpads.vcproj:
18859 * win32/testsuite/indexers.vcproj:
18860 * win32/testsuite/negotiation.vcproj:
18861 * win32/testsuite/parse.vcproj:
18862 * win32/testsuite/plugin.vcproj:
18863 * win32/testsuite/refcounting.vcproj:
18864 * win32/testsuite/schedulers.vcproj:
18865 * win32/testsuite/states.vcproj:
18866 * win32/testsuite/tags.vcproj:
18867 * win32/testsuite/threads.vcproj:
18868 remove old win32 stuff that isn't maintained and should be
18871 2005-11-30 Andy Wingo <wingo@pobox.com>
18873 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18874 loading the gst.interfaces python module bork.
18876 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
18877 available since GLib 2.2. Fixes #318031.
18879 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18882 * check/.cvsignore:
18883 * check/Makefile.am:
18884 * check/elements/.cvsignore:
18885 * check/elements/fakesrc.c:
18886 * check/elements/fdsrc.c:
18887 * check/elements/identity.c:
18888 * check/generic/.cvsignore:
18889 * check/generic/states.c:
18890 * check/gst-libs/.cvsignore:
18891 * check/gst-libs/controller.c:
18892 * check/gst-libs/gdp.c:
18893 * check/gst/.cvsignore:
18894 * check/gst/capslist.h:
18896 * check/gst/gstbin.c:
18897 * check/gst/gstbuffer.c:
18898 * check/gst/gstbus.c:
18899 * check/gst/gstcaps.c:
18900 * check/gst/gstelement.c:
18901 * check/gst/gstevent.c:
18902 * check/gst/gstghostpad.c:
18903 * check/gst/gstiterator.c:
18904 * check/gst/gstmessage.c:
18905 * check/gst/gstminiobject.c:
18906 * check/gst/gstobject.c:
18907 * check/gst/gstpad.c:
18908 * check/gst/gstpipeline.c:
18909 * check/gst/gstplugin.c:
18910 * check/gst/gstsegment.c:
18911 * check/gst/gststructure.c:
18912 * check/gst/gstsystemclock.c:
18913 * check/gst/gsttag.c:
18914 * check/gst/gstutils.c:
18915 * check/gst/gstvalue.c:
18916 * check/net/.cvsignore:
18917 * check/net/gstnetclientclock.c:
18918 * check/net/gstnettimeprovider.c:
18919 * check/pipelines/.cvsignore:
18920 * check/pipelines/cleanup.c:
18921 * check/pipelines/simple_launch_lines.c:
18922 * check/pipelines/stress.c:
18923 * check/states/.cvsignore:
18924 * check/states/sinks.c:
18926 * examples/Makefile.am:
18927 * examples/appreader/.cvsignore:
18928 * examples/appreader/Makefile.am:
18929 * examples/appreader/appreader.c:
18930 * examples/controller/.cvsignore:
18931 * examples/controller/Makefile.am:
18932 * examples/controller/audio-example.c:
18933 * examples/cutter/.cvsignore:
18934 * examples/cutter/Makefile.am:
18935 * examples/cutter/cutter.c:
18936 * examples/cutter/cutter.h:
18937 * examples/events/Makefile.am:
18938 * examples/events/seek.c:
18939 * examples/helloworld/.cvsignore:
18940 * examples/helloworld/Makefile.am:
18941 * examples/helloworld/helloworld.c:
18942 * examples/helloworld2/.cvsignore:
18943 * examples/helloworld2/Makefile.am:
18944 * examples/helloworld2/helloworld2.c:
18945 * examples/launch/.cvsignore:
18946 * examples/launch/Makefile.am:
18947 * examples/launch/mp3parselaunch.c:
18948 * examples/launch/mp3play:
18949 * examples/manual/.cvsignore:
18950 * examples/manual/Makefile.am:
18951 * examples/manual/extract.pl:
18952 * examples/metadata/Makefile.am:
18953 * examples/metadata/read-metadata.c:
18954 * examples/mixer/.cvsignore:
18955 * examples/mixer/Makefile.am:
18956 * examples/mixer/mixer.c:
18957 * examples/mixer/mixer.h:
18958 * examples/pingpong/.cvsignore:
18959 * examples/pingpong/Makefile.am:
18960 * examples/pingpong/pingpong.c:
18961 * examples/plugins/.cvsignore:
18962 * examples/plugins/Makefile.am:
18963 * examples/plugins/example.c:
18964 * examples/plugins/example.h:
18965 * examples/pwg/.cvsignore:
18966 * examples/pwg/Makefile.am:
18967 * examples/pwg/extract.pl:
18968 * examples/queue/.cvsignore:
18969 * examples/queue/Makefile.am:
18970 * examples/queue/queue.c:
18971 * examples/queue2/.cvsignore:
18972 * examples/queue2/Makefile.am:
18973 * examples/queue2/queue2.c:
18974 * examples/queue3/.cvsignore:
18975 * examples/queue3/Makefile.am:
18976 * examples/queue3/queue3.c:
18977 * examples/queue4/.cvsignore:
18978 * examples/queue4/Makefile.am:
18979 * examples/queue4/queue4.c:
18980 * examples/retag/.cvsignore:
18981 * examples/retag/Makefile.am:
18982 * examples/retag/retag.c:
18983 * examples/retag/transcode.c:
18984 * examples/thread/.cvsignore:
18985 * examples/thread/Makefile.am:
18986 * examples/thread/thread.c:
18987 * examples/typefind/.cvsignore:
18988 * examples/typefind/Makefile.am:
18989 * examples/typefind/typefind.c:
18990 * examples/xml/.cvsignore:
18991 * examples/xml/Makefile.am:
18992 * examples/xml/createxml.c:
18993 * examples/xml/runxml.c:
18994 * tests/Makefile.am:
18995 * tests/check/Makefile.am:
18996 * testsuite/.cvsignore:
18997 * testsuite/Makefile.am:
18999 * testsuite/caps/.cvsignore:
19000 * testsuite/caps/Makefile.am:
19001 * testsuite/caps/app_fixate.c:
19002 * testsuite/caps/audioscale.c:
19003 * testsuite/caps/caps.c:
19004 * testsuite/caps/caps.h:
19005 * testsuite/caps/caps_strings:
19006 * testsuite/caps/compatibility.c:
19007 * testsuite/caps/deserialize.c:
19008 * testsuite/caps/enumcaps.c:
19009 * testsuite/caps/eratosthenes.c:
19010 * testsuite/caps/filtercaps.c:
19011 * testsuite/caps/fixed.c:
19012 * testsuite/caps/fraction-convert.c:
19013 * testsuite/caps/fraction-multiply-and-zero.c:
19014 * testsuite/caps/intersect2.c:
19015 * testsuite/caps/intersection.c:
19016 * testsuite/caps/normalisation.c:
19017 * testsuite/caps/random.c:
19018 * testsuite/caps/renegotiate.c:
19019 * testsuite/caps/sets.c:
19020 * testsuite/caps/simplify.c:
19021 * testsuite/caps/string-conversions.c:
19022 * testsuite/caps/structure.c:
19023 * testsuite/caps/subtract.c:
19024 * testsuite/caps/union.c:
19025 * testsuite/debug/.cvsignore:
19026 * testsuite/debug/Makefile.am:
19027 * testsuite/debug/category.c:
19028 * testsuite/debug/commandline.c:
19029 * testsuite/debug/global.c:
19030 * testsuite/debug/output.c:
19031 * testsuite/debug/printf_extension.c:
19032 * testsuite/dlopen/.cvsignore:
19033 * testsuite/dlopen/Makefile.am:
19034 * testsuite/dlopen/dlopen_gst.c:
19035 * testsuite/dlopen/loadgst.c:
19036 * testsuite/elements/.cvsignore:
19037 * testsuite/elements/Makefile.am:
19038 * testsuite/elements/gst-inspect-check.in:
19039 * testsuite/elements/struct_i386.h:
19040 * testsuite/elements/struct_size.c:
19041 * testsuite/indexers/.cvsignore:
19042 * testsuite/indexers/Makefile.am:
19043 * testsuite/indexers/cache1.c:
19044 * testsuite/indexers/indexdump.c:
19045 * testsuite/parse/.cvsignore:
19046 * testsuite/parse/Makefile.am:
19047 * testsuite/parse/parse1.c:
19048 * testsuite/parse/parse2.c:
19049 * testsuite/plugin/.cvsignore:
19050 * testsuite/plugin/Makefile.am:
19051 * testsuite/plugin/README:
19052 * testsuite/plugin/dynamic.c:
19053 * testsuite/plugin/linked.c:
19054 * testsuite/plugin/loading.c:
19055 * testsuite/plugin/registry.c:
19056 * testsuite/plugin/static.c:
19057 * testsuite/plugin/static2.c:
19058 * testsuite/plugin/testplugin.c:
19059 * testsuite/plugin/testplugin2.c:
19060 * testsuite/plugin/testplugin2_s.c:
19061 * testsuite/plugin/testplugin_s.c:
19062 * testsuite/refcounting/.cvsignore:
19063 * testsuite/refcounting/Makefile.am:
19064 * testsuite/refcounting/bin.c:
19065 * testsuite/refcounting/element.c:
19066 * testsuite/refcounting/element_pad.c:
19067 * testsuite/refcounting/mainloop.c:
19068 * testsuite/refcounting/mem.c:
19069 * testsuite/refcounting/mem.h:
19070 * testsuite/refcounting/object.c:
19071 * testsuite/refcounting/pad.c:
19072 * testsuite/refcounting/sched.c:
19073 * testsuite/refcounting/thread.c:
19074 * testsuite/states/.cvsignore:
19075 * testsuite/states/Makefile.am:
19076 * testsuite/states/bin.c:
19077 * testsuite/states/locked.c:
19078 * testsuite/states/parent.c:
19079 * testsuite/threads/.cvsignore:
19080 * testsuite/threads/159566.c:
19081 * testsuite/threads/159852.c:
19082 * testsuite/threads/Makefile.am:
19083 * testsuite/threads/queue.c:
19084 * testsuite/threads/signals.c:
19085 * testsuite/threads/staticrec.c:
19086 * testsuite/threads/thread.c:
19087 * testsuite/threads/threadb.c:
19088 * testsuite/threads/threadc.c:
19089 * testsuite/threads/threadd.c:
19090 * testsuite/threads/threade.c:
19091 * testsuite/threads/threadf.c:
19092 * testsuite/threads/threadg.c:
19093 * testsuite/threads/threadh.c:
19094 * testsuite/threads/threadi.c:
19095 move all of these under tests
19097 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19100 * tests/Makefile.am:
19103 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19105 * docs/gst/gstreamer-sections.txt:
19106 * tests/sched/.cvsignore:
19107 * tests/sched/Makefile.am:
19108 * tests/sched/cases/(fs-fs).xml:
19109 * tests/sched/cases/(fs-i-fs).xml:
19110 * tests/sched/cases/(fs-i-i-fs).xml:
19111 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19112 * tests/sched/dynamic-pipeline.c:
19113 * tests/sched/interrupt1.c:
19114 * tests/sched/interrupt2.c:
19115 * tests/sched/interrupt3.c:
19116 * tests/sched/runtestcases:
19117 * tests/sched/runxml.c:
19118 * tests/sched/sched-stress.c:
19119 * tests/sched/sort.c:
19120 * tests/sched/testcases:
19121 * tests/sched/testcases1.tc:
19122 * tests/seeking/.cvsignore:
19123 * tests/seeking/Makefile.am:
19124 * tests/seeking/seeking1.c:
19125 * tests/threadstate/.cvsignore:
19126 * tests/threadstate/Makefile.am:
19127 * tests/threadstate/test1.c:
19128 * tests/threadstate/test2.c:
19129 * tests/threadstate/threadstate1.c:
19130 * tests/threadstate/threadstate2.c:
19131 * tests/threadstate/threadstate3.c:
19132 * tests/threadstate/threadstate4.c:
19133 * tests/threadstate/threadstate5.c:
19134 remove obsolete tests
19136 * tests/bench-complexity.scm:
19137 * tests/bench-mass_elements.scm:
19138 * tests/complexity.c:
19139 * tests/complexity.gnuplot:
19140 * tests/instantiate/.cvsignore:
19141 * tests/instantiate/Makefile.am:
19142 * tests/instantiate/caps.c:
19143 * tests/mass_elements.c:
19144 * tests/network-clock-utils.scm:
19145 * tests/network-clock.scm:
19147 First pass at cleaning up tests/ dir before moving the rest
19148 Combined with CVS surgery
19150 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19153 queue has moved, update
19155 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19157 * docs/gst/gstreamer-sections.txt:
19158 remove double entries from the docs
19159 * gst/gst_private.h:
19160 * gst/gstinfo.c: (_gst_debug_init):
19161 remove the THREAD debug category
19165 * docs/gst/gstreamer.types:
19166 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19167 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19168 completely move queue and fix up debugging categories
19170 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19172 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19173 make initialization portable, using LL is not
19175 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19177 * win32/common/gstconfig.h:
19180 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19182 * win32/common/libgstreamer.def:
19183 rename symbols; sort base section
19185 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19187 * gst/gstclock.c: (do_linear_regression):
19188 remove crack non-portable handrolled DEBUG macro
19190 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19192 * docs/random/release:
19194 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19195 (gst_object_flags_get_type), (register_gst_bin_flags),
19196 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19197 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19198 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19199 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19200 (gst_caps_flags_get_type), (register_gst_clock_return),
19201 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19202 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19203 (gst_clock_flags_get_type), (register_gst_state),
19204 (gst_state_get_type), (register_gst_state_change_return),
19205 (gst_state_change_return_get_type), (register_gst_state_change),
19206 (gst_state_change_get_type), (register_gst_element_flags),
19207 (gst_element_flags_get_type), (register_gst_core_error),
19208 (gst_core_error_get_type), (register_gst_library_error),
19209 (gst_library_error_get_type), (register_gst_resource_error),
19210 (gst_resource_error_get_type), (register_gst_stream_error),
19211 (gst_stream_error_get_type), (register_gst_event_type_flags),
19212 (gst_event_type_flags_get_type), (register_gst_event_type),
19213 (gst_event_type_get_type), (register_gst_seek_type),
19214 (gst_seek_type_get_type), (register_gst_seek_flags),
19215 (gst_seek_flags_get_type), (register_gst_format),
19216 (gst_format_get_type), (register_gst_index_certainty),
19217 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19218 (gst_index_entry_type_get_type),
19219 (register_gst_index_lookup_method),
19220 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19221 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19222 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19223 (gst_index_flags_get_type), (register_gst_debug_level),
19224 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19225 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19226 (gst_iterator_result_get_type), (register_gst_iterator_item),
19227 (gst_iterator_item_get_type), (register_gst_message_type),
19228 (gst_message_type_get_type), (register_gst_mini_object_flags),
19229 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19230 (gst_pad_link_return_get_type), (register_gst_flow_return),
19231 (gst_flow_return_get_type), (register_gst_activate_mode),
19232 (gst_activate_mode_get_type), (register_gst_pad_direction),
19233 (gst_pad_direction_get_type), (register_gst_pad_flags),
19234 (gst_pad_flags_get_type), (register_gst_pad_presence),
19235 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19236 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19237 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19238 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19239 (gst_plugin_flags_get_type), (register_gst_rank),
19240 (gst_rank_get_type), (register_gst_query_type),
19241 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19242 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19243 (gst_tag_flag_get_type), (register_gst_task_state),
19244 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19245 (gst_alloc_trace_flags_get_type),
19246 (register_gst_type_find_probability),
19247 (gst_type_find_probability_get_type), (register_gst_uri_type),
19248 (gst_uri_type_get_type), (register_gst_parse_error),
19249 (gst_parse_error_get_type):
19250 * win32/common/gstenumtypes.h:
19251 * win32/common/gstversion.h:
19252 update visual studio generated files
19254 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19256 * win32/vs6/libgstbase.dsp:
19257 * win32/vs6/libgstelements.dsp:
19258 update project files for new locations
19260 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19265 reinstate and update
19270 * docs/random/LICENSE:
19273 2005-11-30 Edward Hervey <edward@fluendo.com>
19275 * gst/gsttypefind.c: (gst_type_find_register):
19276 * gst/gsttypefind.h:
19277 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19278 (gst_type_find_factory_dispose):
19279 * gst/gsttypefindfactory.h:
19280 Fix memory leak in GstTypeFindFactory.
19282 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19285 * plugins/elements/Makefile.am:
19286 * plugins/elements/gstelements.c:
19287 * plugins/elements/gstqueue.c:
19288 move queue from core to the elements plugin
19290 2005-11-29 Andy Wingo <wingo@pobox.com>
19292 * libs/gst/base/gstbasetransform.h:
19293 * libs/gst/base/gstbasesrc.h:
19294 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19296 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19297 of pointers by which to pad very extensible base classes (like the
19298 ones in libs/gst/base).
19300 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19302 * docs/gst/gstreamer-docs.sgml:
19303 * docs/gst/gstreamer-sections.txt:
19304 * docs/libs/gstreamer-libs-docs.sgml:
19305 * docs/libs/gstreamer-libs-sections.txt:
19306 moving documentation from core to lib
19308 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19310 * check/Makefile.am:
19312 * docs/gst/Makefile.am:
19314 * gst/base/.cvsignore:
19315 * gst/base/Makefile.am:
19317 * gst/base/gstadapter.c:
19318 * gst/base/gstadapter.h:
19319 * gst/base/gstbasesink.c:
19320 * gst/base/gstbasesink.h:
19321 * gst/base/gstbasesrc.c:
19322 * gst/base/gstbasesrc.h:
19323 * gst/base/gstbasetransform.c:
19324 * gst/base/gstbasetransform.h:
19325 * gst/base/gstcollectpads.c:
19326 * gst/base/gstcollectpads.h:
19327 * gst/base/gstpushsrc.c:
19328 * gst/base/gstpushsrc.h:
19329 * gst/base/gsttypefindhelper.c:
19330 * gst/base/gsttypefindhelper.h:
19331 * gst/check/Makefile.am:
19332 * gst/check/gstcheck.c:
19333 * gst/check/gstcheck.h:
19334 * gst/net/Makefile.am:
19335 * gst/net/gstnet.h:
19336 * gst/net/gstnetclientclock.c:
19337 * gst/net/gstnetclientclock.h:
19338 * gst/net/gstnettimepacket.c:
19339 * gst/net/gstnettimepacket.h:
19340 * gst/net/gstnettimeprovider.c:
19341 * gst/net/gstnettimeprovider.h:
19342 * libs/gst/Makefile.am:
19343 * libs/gst/base/Makefile.am:
19344 * libs/gst/base/gstbasetransform.c:
19345 * libs/gst/check/Makefile.am:
19346 * plugins/elements/Makefile.am:
19348 CVS surgery + support to move base, check, and net out of gst
19351 2005-11-29 Andy Wingo <wingo@pobox.com>
19353 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19355 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19358 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19360 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19362 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19364 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19365 padding; reduces object size by about 30%. We don't expect
19366 anything else to go into gstobject.
19368 * gst/gstminiobject.h (struct _GstMiniObject)
19369 (struct _GstMiniObjectClass): Only one pointer of padding; the
19370 payload is only a pointer and two ints anyway. For the class there
19371 are only two methods as well.
19373 * gst/gstelement.h (struct _GstElementClass): Removed
19374 the state_changed signal callback, it is not used.
19376 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19378 * docs/gst/gstreamer.types:
19379 fix includes, though they are a little dinky
19381 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19383 * check/Makefile.am:
19384 look in the right place for elements, a lot more chance of
19387 remove indexers and elements subdirs
19388 * plugins/Makefile.am:
19389 make indexers conditional
19391 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19395 * plugins/elements/Makefile.am:
19396 * plugins/elements/gstcapsfilter.c:
19397 * plugins/elements/gstfilesink.c:
19398 * plugins/elements/gstfilesrc.c:
19399 * plugins/elements/gstidentity.c:
19400 * plugins/indexers/Makefile.am:
19401 do CVS surgery and related build fixery to move elements
19402 and indexers in a new gstreamer/plugins directory, out of the
19405 2005-11-29 Andy Wingo <wingo@pobox.com>
19407 * check/Makefile.am:
19408 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19409 * pkgconfig/gstreamer-net.pc.in:
19410 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19413 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19415 * tools/Makefile.am:
19416 * tools/gst-complete.1.in:
19417 * tools/gst-complete.c:
19418 * tools/gst-compprep.1.in:
19419 * tools/gst-compprep.c:
19420 removing -compprep and -complete
19422 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19424 * gst/gstevent.c: (gst_event_new_new_segment),
19425 (gst_event_parse_new_segment):
19427 fix #320529 - clean up new_segment API and structure.
19428 Let's hope everyone was using the methods, and not the structure.
19430 2005-11-29 Edward Hervey <edward@fluendo.com>
19432 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19433 (gst_base_sink_event), (gst_base_sink_do_sync),
19434 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19435 Properly handle non GST_FORMAT_TIME segment
19436 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19437 Properly handle non GST_FORMAT_TIME segment
19438 * gst/gstsegment.c:
19439 This function is valid if the accumulator is 0 and the format
19440 is different from the requested format.
19442 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19444 * docs/gst/gstreamer-sections.txt:
19445 Add gst_query_new_seeking and gst_query_parse_seeking to the
19448 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19450 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19451 Treat a pad alloc with new caps the same as if we were not
19452 negotiated, in order to allow a changing upstream output
19453 to produce a new format of data.
19455 2005-11-29 Edward Hervey <edward@fluendo.com>
19457 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19458 (gst_base_transform_event), (gst_base_transform_eventfunc):
19459 The event virtual method is now properly implemented, with a default
19461 Sub classes should call the parent_class event method. They should
19462 return FALSE if they had a problem handling the given event, or don't
19463 want GstBaseTransform to send that even downstream
19464 * gst/elements/gstidentity.c: (gst_identity_class_init),
19465 (gst_identity_init), (gst_identity_event),
19466 (gst_identity_transform_ip), (gst_identity_set_property),
19467 (gst_identity_get_property):
19468 * gst/elements/gstidentity.h:
19469 Added the single-segment boolean property.
19470 If set to TRUE, it will output a single segment of data, starting from
19471 0, will eat up all incoming newsegment, and modify the timestamp of the
19472 buffers accordingly
19474 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19476 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19477 Don't ref NULL target pad (#322751). Improve docs.
19479 2005-11-29 Michael Smith <msmith@fluendo.com>
19481 * gst/gstregistryxml.c: (load_plugin):
19482 Don't crash if we failed to load a feature from a plugin.
19484 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19486 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19488 use more check API and less GLib API
19490 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19493 don't run checks if we don't have check
19494 * common/check.mak:
19495 remove the registry when running make torture
19496 * docs/gst/gstreamer-sections.txt:
19497 remove second multiply
19498 * gst/gstqueue.c: (gst_queue_loop):
19499 fix a compile warning when disabling debug
19501 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19504 Hey! Let's print the pad name if the pointer != NULL instead
19505 of when it == NULL :-)
19507 2005-11-28 Wim Taymans <wim@fluendo.com>
19509 * check/gst/gstutils.c: (GST_START_TEST):
19510 Updated check, add some scaling accuracy checking code.
19512 * gst/gstutils.c: (gst_util_div128_64),
19513 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19514 (gst_util_uint64_scale_int):
19515 Fix 6 times faster division code. Optimize for common
19516 1/1 and less common X/1 cases.
19518 2005-11-28 Wim Taymans <wim@fluendo.com>
19520 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19523 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19524 (do_linear_regression), (gst_clock_add_observation):
19526 Release lock when the clock cannot be slaved.
19527 Catch the case where the regression returned an invalid denominator.
19529 * gst/gstutils.c: (gst_util_div128_64_iterate),
19530 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19531 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19532 Add protentially more performant non-iterative 128/64 divide function
19533 that unfortunatly does not work yet.
19534 Shortcut the trivial 0/X = 0 case.
19535 Remove the warnings on overflow.
19537 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19539 * gst/gstplugin.c: (gst_plugin_register_func):
19540 everything causing a plugin not to load should be at least a WARNING
19542 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19544 * docs/random/ensonic/dparams.txt:
19545 some TODOs for the next dev cycle
19546 * libs/gst/controller/gstcontroller.c:
19547 (gst_controlled_property_set_interpolation_mode),
19548 (gst_controlled_property_new):
19549 * libs/gst/controller/gstcontroller.h:
19550 use base type to assign acccessor functions
19552 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19554 * check/Makefile.am:
19555 Oops, that should have been top_srcdir
19557 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19559 * check/Makefile.am:
19560 * check/elements/fdsrc.c: (GST_START_TEST):
19561 Use a cmdline define to specify the location of a file to use for
19562 testing, to avoid breaking distcheck.
19564 2005-11-28 Andy Wingo <wingo@pobox.com>
19566 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19568 2005-11-28 Edward Hervey <edward@fluendo.com>
19570 * tools/gst-launch.c: (main):
19571 Clarify the output strings, makes it easier to translate.
19574 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19577 don't try and build net if we don't even have <sys/socket.h>
19579 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19581 * check/Makefile.am:
19582 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19583 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19584 Add tests for fdsrc seekability
19586 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19587 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19588 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19589 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19590 * gst/elements/gstfdsrc.h:
19591 fdsrc should not be a 'live' source.
19592 Implement seeking on seekable fd's.
19594 * gst/gstquery.c: (gst_query_new_seeking),
19595 (gst_query_parse_seeking):
19597 Implement SEEKING query functions:
19598 *_new_seeking and *_parse_seeking
19600 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19602 * gst/gstelement.c: (gst_element_dispose):
19605 * gst/gstiterator.c:
19606 * gst/gststructure.c:
19609 * libs/gst/controller/gstcontroller.c:
19610 (gst_controlled_property_set_interpolation_mode):
19611 * libs/gst/controller/gstcontroller.h:
19612 * libs/gst/controller/gstinterpolation.c:
19613 (interpolate_none_get_enum_value_array):
19614 support controlling enums
19616 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19619 Improve documentation for gst_value_union().
19622 Change return value for union, intersect and subtract functions
19623 from gint to gboolean.
19625 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19627 * gst/gstvalue.c: (gst_value_serialize_any_list),
19628 (gst_value_transform_any_list_string),
19629 (gst_value_deserialize_list), (gst_value_deserialize_array),
19630 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19631 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19632 (gst_value_set_fraction_range_full),
19633 (gst_value_deserialize_fraction_range),
19634 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19635 (gst_value_deserialize_boolean),
19636 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19637 (gst_value_serialize_float), (gst_value_deserialize_float),
19638 (gst_string_wrap), (gst_value_deserialize_string),
19639 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19640 (gst_value_union_int_range_int_range),
19641 (gst_value_intersect_int_range_int_range),
19642 (gst_value_intersect_double_range_double_range),
19643 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19644 (gst_value_subtract_int_range_int_range),
19645 (gst_value_subtract_double_double_range),
19646 (gst_value_subtract_double_range_double_range),
19647 (gst_value_deserialize_fraction):
19649 Use gint, gdouble and gchar in our API instead of int, double and
19650 char (and make usage in gstvalue.c more consistent).
19652 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19654 * check/Makefile.am:
19655 * libs/gst/controller/Makefile.am:
19656 * libs/gst/dataprotocol/Makefile.am:
19657 fix up Makefile.am and remove GST_ENABLE_NEW
19659 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19663 * gst/base/Makefile.am:
19664 * gst/check/Makefile.am:
19665 * gst/elements/Makefile.am:
19666 * gst/net/Makefile.am:
19667 update LDFLAGS use some more
19669 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19671 * common/m4/gst-doc.m4:
19674 2005-11-26 Edward Hervey <edward@fluendo.com>
19676 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19677 This shouldn't issue a g_warning since it returns NULL if it
19678 couldn't find the plugin, and all functions using this behave
19679 properly on a NULL return. Switching to a GST_WARNING.
19681 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19683 * gst/gstbin.c: (gst_bin_handle_message_func):
19684 Don't leak clock messages.
19686 2005-11-25 Wim Taymans <wim@fluendo.com>
19688 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19689 (gst_util_uint64_scale_int):
19690 Optimisations, remove unneeded vars.
19692 2005-11-25 Wim Taymans <wim@fluendo.com>
19694 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19695 Added more checks for the high precision uint64 cases.
19697 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19698 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19699 Implement high precision (guint64 * guint64) / guint64.
19701 2005-11-24 Wim Taymans <wim@fluendo.com>
19703 * gst/base/gstbasesrc.c: (gst_base_src_query):
19704 Fix wrong percentage query.
19706 * gst/gstutils.c: (gst_util_uint64_scale),
19707 (gst_util_uint64_scale_int):
19708 Add some more common cases that can be handled
19709 efficiently to _scale.
19711 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19713 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19714 (gst_mini_object_suite):
19715 don't use check calls from threads; check probably isn't
19716 threadsafe and using a lock to make it threadsafe would
19717 defeat the purpose of this check
19718 * gst/check/gstcheck.c:
19719 * gst/check/gstcheck.h:
19720 use GST_DEBUG some more
19722 2005-11-24 Wim Taymans <wim@fluendo.com>
19724 * gst/gstutils.c: (gst_util_uint64_scale),
19725 (gst_util_uint64_scale_int):
19726 Chain trivial case to _scale_int.
19728 2005-11-24 Wim Taymans <wim@fluendo.com>
19730 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19731 Added test for scaling.
19736 * gst/gstutils.c: (gst_util_uint64_scale_int):
19737 Implemented high precision scaling code.
19739 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19742 do not crash on pad==NULL
19744 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19746 Patch by: Stefan Kost
19748 * common/gtk-doc.mak:
19749 * docs/gst/Makefile.am:
19750 * docs/libs/Makefile.am:
19751 Fix distcheck issues for the libraries docs build
19754 2005-11-24 Michael Smith <msmith@fluendo.com>
19756 * docs/manual/basics-helloworld.xml:
19757 Fix bug #315027: memory leak in example code in docs.
19759 2005-11-24 Michael Smith <msmith@fluendo.com>
19761 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19762 Unlock the PREROLL_LOCK in a failure case.
19764 2005-11-24 Wim Taymans <wim@fluendo.com>
19766 * docs/gst/gstreamer-sections.txt:
19767 * gst/base/gstadapter.h:
19768 * gst/base/gstbasesink.h:
19769 * gst/base/gstbasesrc.h:
19770 * gst/base/gstbasetransform.h:
19771 * gst/base/gstpushsrc.h:
19772 * gst/elements/gstfakesink.h:
19773 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19774 * gst/elements/gstfakesrc.h:
19775 * gst/elements/gstfilesink.h:
19776 * gst/elements/gstfilesrc.h:
19779 * gst/gstbuffer.c: (_gst_buffer_copy):
19782 * gst/gstchildproxy.c:
19784 * gst/gstelement.c:
19785 * gst/gstelementfactory.c:
19786 * gst/gstelementfactory.h:
19788 * gst/gstghostpad.h:
19790 * gst/gstinterface.h:
19791 * gst/gstminiobject.c:
19792 * gst/gstminiobject.h:
19795 * gst/gstpadtemplate.h:
19796 * gst/gstpipeline.h:
19797 * gst/gstpluginfeature.h:
19800 * gst/gsttaglist.c:
19801 * gst/gsttaglist.h:
19802 * gst/gsttagsetter.c:
19803 * gst/gsttagsetter.h:
19806 * gst/gsttypefind.h:
19809 * gst/net/gstnetclientclock.c:
19810 * gst/net/gstnetclientclock.h:
19811 * gst/net/gstnettimepacket.c:
19812 * gst/net/gstnettimeprovider.c:
19813 * gst/net/gstnettimeprovider.h:
19816 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19818 * configure.ac: back to HEAD
19820 === release 0.9.6 ===
19822 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19825 releasing 0.9.6, "Always On Time"
19827 2005-11-23 Wim Taymans <wim@fluendo.com>
19829 * docs/gst/gstreamer-sections.txt:
19830 * gst/glib-compat.c:
19831 * gst/gsttagsetter.c:
19833 * gst/net/gstnetclientclock.c:
19834 * gst/net/gstnettimepacket.h:
19837 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19839 * docs/faq/using.xml:
19840 * docs/libs/tmpl/gstcontrol.sgml:
19841 * docs/manual/advanced-dparams.xml:
19842 * docs/manual/appendix-checklist.xml:
19843 * docs/manual/basics-elements.xml:
19844 * docs/pwg/other-source.xml:
19845 * docs/random/moving-plugins:
19847 * tools/gst-launch.1.in:
19848 remove mentions of sinesrc
19850 2005-11-23 Michael Smith <msmith@fluendo.com>
19852 * docs/gst/gstreamer-sections.txt:
19853 Update for new API and API changes.
19855 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19857 Documentation typo fix.
19858 * gst/net/gstnettimepacket.c:
19859 Documentation fixes for arguments.
19861 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
19863 * gst/gststructure.c: (gst_structure_get_fraction),
19864 (gst_structure_parse_value),
19865 (gst_structure_fixate_field_nearest_fraction):
19866 * gst/gststructure.h:
19867 * gst/gstutils.c: (gst_util_uint64_scale_int):
19869 * scripts/update-funcnames:
19871 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19872 Make gst_structure_fixate_field_nearest_fraction take a numerator
19873 and denominator argument instead of a GValue
19874 add gst_structure_get_fraction helper function.
19876 2005-11-23 Wim Taymans <wim@fluendo.com>
19878 * docs/design/part-TODO.txt:
19881 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
19882 * gst/net/gstnetclientclock.h:
19883 Use parent fields for timeout and window_size.
19885 2005-11-23 Andy Wingo <wingo@pobox.com>
19887 * check/net/gstnetclientclock.c (test_functioning): Adjust to
19888 rate_num/rate_denom change.
19890 * gst/net/gstnetclientclock.c
19891 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
19892 OBJECT_LOCK. Don't call add_observation with the lock.
19894 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19896 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19898 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19899 deal with rate as a fraction whose numerator and denominator are
19900 GstClockTime values.
19901 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19902 master; the other fields are protected by the SLAVE_LOCK.
19903 (do_linear_regression): Note that this must be called with the
19905 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19906 OBJECT_LOCK. Call set_calibration instead of touching the
19907 variables directly.
19908 (gst_clock_set_property, gst_clock_get_property): Protect
19909 master/slave parameters with the SLAVE_LOCK.
19911 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
19912 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
19913 note that all of the instance variables that add_observation and
19914 the set_master functions use are protected by that lock and not
19916 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
19918 * gst/gstclock.c (gst_clock_add_observation): No longer requires
19919 the caller to take the object lock.
19921 2005-11-23 Wim Taymans <wim@fluendo.com>
19923 * gst/gsterror.c: (_gst_core_errors_init):
19925 Add error for clock stuff.
19927 * gst/gstpipeline.c: (gst_pipeline_change_state),
19928 (gst_pipeline_set_clock):
19929 Post clock error when clock cannot be used in a pipeline.
19931 2005-11-23 Stefan Kost <ensonic@users.sf.net>
19933 * docs/gst/gstreamer-sections.txt:
19934 make two symbols from gstinfo private for the docs
19935 * gst/base/gstcollectpads.h:
19937 fix doc typos, update docs
19939 2005-11-22 Wim Taymans <wim@fluendo.com>
19941 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19942 (gst_base_sink_wait), (gst_base_sink_do_sync),
19943 (gst_base_sink_handle_event):
19944 * gst/base/gstbasesink.h:
19945 No need to store the clock, the parent element class already
19948 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
19949 Updates for clock_set returning a gboolean
19951 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
19952 (gst_clock_id_wait_async), (gst_clock_class_init),
19953 (gst_clock_init), (gst_clock_finalize),
19954 (gst_clock_get_internal_time), (gst_clock_get_time),
19955 (gst_clock_slave_callback), (gst_clock_set_master),
19956 (gst_clock_get_master), (do_linear_regression),
19957 (gst_clock_add_observation), (gst_clock_set_property),
19958 (gst_clock_get_property):
19960 Implement master/slave. When setting a clock as a slave, a
19961 periodic timeout is scheduled to sample master and slave times.
19962 Then the slave clock is recalibrated to match offset and rate
19963 of the master clock.
19964 Update logging a bit.
19965 Add flag so that a clock can state that is cannot be slaved to
19968 * gst/gstelement.c: (gst_element_set_clock):
19969 * gst/gstelement.h:
19970 The set clock returns a gboolean for when an element cannot
19971 deal with the selected clock in the pipeline.
19973 * gst/gstpipeline.c: (gst_pipeline_change_state),
19974 (gst_pipeline_set_clock):
19975 * gst/gstpipeline.h:
19976 Handle the case where the selected clock cannot be set on
19979 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
19980 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
19981 (gst_net_client_clock_set_property),
19982 (gst_net_client_clock_get_property),
19983 (gst_net_client_clock_observe_times):
19984 * gst/net/gstnetclientclock.h:
19985 Use regression code in GstClock parent, remove duplicated
19988 2005-11-22 Michael Smith <msmith@fluendo.com>
19990 * gst/gstutils.c: (gst_util_clock_time_scale):
19992 * docs/gst/gstreamer-sections.txt:
19993 Rename method to have extra underscore.
19995 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
19997 * gst/elements/Makefile.am:
19998 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
19999 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20000 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20001 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20002 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20003 * gst/elements/gstfakesrc.h:
20004 * gst/gstqueue.c: (queue_leaky_get_type):
20005 correctly fix GEnumValues so that nick is the short lowercase
20007 * tools/gst-inspect.c: (print_element_properties_info):
20008 also show the nick, since it's useful to use from parse_launch
20012 2005-11-22 Michael Smith <msmith@fluendo.com>
20014 * gst/gstutils.c: (gst_util_clocktime_scale):
20016 * docs/gst/gstreamer-sections.txt:
20017 Add util method for scaling a clocktime by a fraction. Useful
20018 implementation is left as an exercise for the reader.
20020 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20022 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20023 If needed, allocate storage in the destination value during
20026 2005-11-22 Edward Hervey <edward@fluendo.com>
20028 * docs/gst/gstreamer-sections.txt:
20031 * gst/gsturitype.c:
20032 * gst/gsturitype.h:
20033 * gst/gstutils.c: (gst_util_set_object_arg):
20034 * tools/gst-compprep.c: (main):
20035 * tools/gst-inspect.c: (print_element_properties_info):
20036 Removed GstURI, closes bug #321061
20038 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20040 * check/gst/gststructure.c: (GST_START_TEST):
20041 * gst/gststructure.c: (gst_structure_parse_value):
20042 Oops, broke automatic string type parsing.
20043 Add a test to catch it in future.
20045 2005-11-22 Andy Wingo <wingo@pobox.com>
20047 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20048 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20049 Actually rename the function implementations. Grr.
20051 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20053 * check/gst/capslist.h:
20055 * check/gst/gststructure.c: (GST_START_TEST),
20056 (gst_structure_suite):
20057 Test automatic value type detection in gst_structure_from_string.
20058 * gst/gststructure.c: (gst_structure_parse_value):
20059 Add fraction as a type we try and guess automatically in
20060 caps/structure strings.
20062 2005-11-22 Andy Wingo <wingo@pobox.com>
20064 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20066 * gst/gsttagsetter.h:
20067 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20068 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20069 (gst_tag_setter_add_tag_valist)
20070 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20071 _add_values, _add_valist, and _add_valist_values. Since this is an
20072 interface the function suffixes should be more explicit so
20073 language binding don't end up with element.add_valist ->
20074 gst_tag_setter_add_valist, for example. Fixes #322069.
20076 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20078 * check/gst/gstcaps.c: (GST_START_TEST):
20079 Extend caps string tests to check that a caps to string
20080 conversion is reversible and produces the same caps.
20082 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20083 Output "fraction" as the generic type fraction range, so caps
20084 serialisation and deserialisation works.
20085 * check/gst/capslist.h:
20086 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20087 Support 'MIN' and 'MAX' for deserialising fractions.
20089 2005-11-22 Andy Wingo <wingo@pobox.com>
20091 * gst/gstevent.h (gst_event_new_new_segment)
20092 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20093 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20094 Renamed from *_newsegment, *_buffersize, *_notarget.
20096 * scripts/update-funcnames: New script, performs the changes
20099 2005-11-22 Wim Taymans <wim@fluendo.com>
20101 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20102 Make sure the GstFlowReturn is returned.
20104 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20105 (gst_bus_add_signal_watch):
20107 add gst_bus_add_signal_watch_full.
20109 * gst/gstplugin.c: (gst_plugin_load_file):
20110 Small style cleanup.
20112 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20114 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20115 Block the fakesrc srcpad when we send an event, to avoid
20116 contention on the stream_lock causing random test failures.
20118 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20120 * check/gst/gstvalue.c: (GST_START_TEST):
20121 * gst/gstvalue.c: (gst_value_fraction_subtract):
20124 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20127 include "gstchildproxy.h"
20128 * gst/gstchildproxy.h:
20129 * libs/gst/controller/gstcontroller.h:
20130 use G_GNUC_NULL_TERMINATED
20132 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20134 * check/gst/capslist.h:
20135 * check/gst/gstcaps.c: (GST_START_TEST):
20136 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20137 * gst/gststructure.c: (gst_structure_parse_range),
20138 (gst_structure_fixate_field_nearest_fraction):
20139 * gst/gststructure.h:
20140 * gst/gstvalue.c: (gst_value_init_fraction_range),
20141 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20142 (gst_value_collect_fraction_range),
20143 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20144 (gst_value_set_fraction_range_full),
20145 (gst_value_get_fraction_range_min),
20146 (gst_value_get_fraction_range_max),
20147 (gst_value_serialize_fraction_range),
20148 (gst_value_transform_fraction_range_string),
20149 (gst_value_compare_fraction_range),
20150 (gst_value_deserialize_fraction_range),
20151 (gst_value_intersect_fraction_fraction_range),
20152 (gst_value_intersect_fraction_range_fraction_range),
20153 (gst_value_subtract_fraction_fraction_range),
20154 (gst_value_subtract_fraction_range_fraction),
20155 (gst_value_subtract_fraction_range_fraction_range),
20156 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20157 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20158 (gst_value_transform_string_fraction), (_gst_value_initialize):
20160 Implement fraction ranges and extend GstFraction to support
20161 arithmetic subtraction, as well as deserialization from integer
20162 strings such as "100"
20163 Add a testsuite as for int and double range set operations
20165 2005-11-21 Andy Wingo <wingo@pobox.com>
20167 * gst/gsttaglist.h:
20169 * gst/gststructure.h: Add glib-compat.h.
20171 2005-11-21 Wim Taymans <wim@fluendo.com>
20173 * gst/gstbin.c: (gst_bin_change_state_func):
20176 2005-11-21 Wim Taymans <wim@fluendo.com>
20178 * gst/gstsegment.h:
20179 And add a nice define too.
20181 2005-11-21 Wim Taymans <wim@fluendo.com>
20183 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20184 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20185 (gst_segment_set_duration), (gst_segment_set_last_stop),
20186 (gst_segment_set_seek), (gst_segment_set_newsegment),
20187 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20188 (gst_segment_clip):
20189 * gst/gstsegment.h:
20190 Make binding friendly.
20192 2005-11-21 Andy Wingo <wingo@pobox.com>
20194 * gst/gsttagsetter.h:
20195 * gst/gsttaglist.h:
20196 * gst/gststructure.h:
20198 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20201 * gst/gsterror.c (_gst_core_errors_init):
20202 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20205 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20206 (noinst_HEADERS): noinst the -private.
20208 2005-11-21 Michael Smith <msmith@fluendo.com>
20211 * gst/gstregistry.h:
20212 Remove unimplemented declarations for which we can see no sensible
20215 2005-11-21 Andy Wingo <wingo@pobox.com>
20217 * gst/gst.h: Include glib-compat.h.
20219 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20221 * gst/glib-compat.c: Include the public and the private header.
20223 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20227 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20229 * check/gst/gstevent.c (create_custom_events): Check that
20230 FLUSH_STOP is serialized.
20232 * check/elements/identity.c (event_func):
20233 * check/elements/fakesrc.c (event_func): No stream lock, the core
20236 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20237 stream lock taking, yay.
20239 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20240 ensure that core takes the stream lock.
20242 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20245 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20246 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20247 it already. For the flush start we do take it though so we get the
20248 right preroll state change messages.
20250 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20251 the stream lock here, the core does it for us.
20253 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20254 GST_STREAM_GET_LOCK.
20255 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20256 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20257 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20258 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20259 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20260 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20262 * gst/gstpad.c: Update for stream lock name change.
20264 * gst/base/gstbasesink.c: Update for preroll lock name change.
20266 2005-11-21 Wim Taymans <wim@fluendo.com>
20268 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20269 (gst_clock_get_master):
20271 * gst/gstsystemclock.c: (gst_system_clock_init):
20272 Convert Clock flags to object flags.
20273 Added methods to manage master/slave clocks.
20275 2005-11-21 Wim Taymans <wim@fluendo.com>
20277 * check/gst/gstsegment.c: (GST_START_TEST):
20278 * docs/design/part-TODO.txt:
20279 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20280 (gst_base_sink_event), (gst_base_sink_do_sync),
20281 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20282 (gst_base_sink_query), (gst_base_sink_change_state):
20283 * gst/base/gstbasesink.h:
20284 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20285 (gst_base_src_default_newsegment),
20286 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20287 (gst_base_src_get_range), (gst_base_src_loop),
20288 (gst_base_src_change_state):
20289 * gst/base/gstbasesrc.h:
20290 * gst/base/gstbasetransform.c:
20291 (gst_base_transform_prepare_output_buf),
20292 (gst_base_transform_event), (gst_base_transform_change_state):
20293 * gst/base/gstbasetransform.h:
20294 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20295 (gst_collect_pads_event):
20296 * gst/base/gstcollectpads.h:
20297 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20298 (gst_fake_src_create):
20299 * gst/elements/gstfakesrc.h:
20300 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20301 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20302 (gst_segment_set_last_stop), (gst_segment_set_seek),
20303 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20304 (gst_segment_to_running_time), (gst_segment_clip):
20305 * gst/gstsegment.h:
20306 More segment updates, replace code in plugins with segment
20309 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20311 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20312 Don't ignore sscanf results
20314 2005-11-21 Andy Wingo <wingo@pobox.com>
20316 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20319 * *.c: Ran scripts/update-macros. Oh yes.
20321 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20322 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20325 * scripts/update-macros: New script. Run it on your files to
20326 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20329 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20331 * docs/gst/Makefile.am:
20332 * docs/gst/gstreamer-docs.sgml:
20333 * docs/gst/gstreamer-sections.txt:
20334 * docs/gst/gstreamer.types:
20336 more docs fixes, add new api to the docs
20338 2005-11-21 Andy Wingo <wingo@pobox.com>
20340 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20341 state_broadcast call.
20343 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20345 2005-11-21 Julien MOUTTE <julien@moutte.net>
20347 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20348 function calls for arrays.
20350 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20352 * docs/random/ensonic/media-device-daemon.txt:
20353 wild idea, can this be done?
20354 * docs/gst/gstreamer-sections.txt:
20359 * gst/gstpluginfeature.c:
20363 doc fixes and additions
20365 2005-11-21 Andy Wingo <wingo@pobox.com>
20367 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20368 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20369 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20370 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20371 private to the basesrc implementation.
20373 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20374 behalf of event function if necessary. It should no longer be
20375 necessary to take the stream lock in pad's event functions. Fixes
20378 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20379 * docs/gst/gstreamer-sections.txt:
20380 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20381 (gst_structure_fixate_field_nearest_double),
20382 (gst_structure_fixate_field_boolean):
20383 * gst/gststructure.h:
20384 * win32/common/libgstreamer.def:
20385 * win32/gstreamer.def:
20387 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20390 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20392 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20393 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20394 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20395 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20396 (gst_fdsrc_uri_handler_init):
20397 * gst/elements/gstfdsrc.h:
20398 Port fd:// URI handler from 0.8 to fdsrc
20400 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20402 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20403 (gst_value_serialize_fourcc):
20405 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20406 consistent with our other format defines (#320324).
20408 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20410 * gst/gstvalue.c: (gst_value_is_fixed):
20411 Revert previous commit. Value lists are by definition
20412 not fixed, as they are a list of possible values.
20414 2005-11-21 Andy Wingo <wingo@pobox.com>
20416 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20417 during the stable series if we need it. Fixes #319178.
20419 * gst/gstevent.c (gst_event_new_filler): Removed.
20421 * check/gst/gstevent.c: Update comment about filler events.
20423 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20425 * gst/gstvalue.c: (gst_value_is_fixed):
20426 Should handle both value arrays and value lists.
20428 2005-11-21 Andy Wingo <wingo@pobox.com>
20430 patch by: Alessandro Dessina <alessandro nnva org>
20432 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20433 functions to access arrays. Fixes #321962.
20435 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20437 * docs/gst/gstreamer.types:
20438 gst_collectpads_get_type => gst_collect_pads_get_type.
20440 * gst/base/gstbasetransform.c:
20441 Remove unused SIGNAL_HANDOFF enum.
20443 2005-11-21 Andy Wingo <wingo@pobox.com>
20445 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20446 the event type (upstream, downstream, serialized). Renamed
20447 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20448 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20449 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20451 * gst/gstevent.c: Update for new CUSTOM event names.
20453 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20456 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20459 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20461 * docs/gst/gstreamer-sections.txt:
20462 * win32/common/libgstbase.def:
20463 * win32/libgstbase.def:
20464 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20465 (gst_collect_pads_class_init), (gst_collect_pads_init),
20466 (gst_collect_pads_finalize), (gst_collect_pads_new),
20467 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20468 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20469 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20470 (gst_collect_pads_start), (gst_collect_pads_stop),
20471 (gst_collect_pads_peek), (gst_collect_pads_pop),
20472 (gst_collect_pads_available), (gst_collect_pads_read),
20473 (gst_collect_pads_flush), (gst_collect_pads_event),
20474 (gst_collect_pads_chain):
20475 * gst/base/gstcollectpads.h:
20476 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20477 unimplemented functions as unimplemented. Add padding to
20478 GstCollectData. (#320766, #320423)
20480 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20482 * gst/gstmessage.c:
20483 Improve docs for DURATION message (usage of duration parameter)
20486 2005-11-20 Wim Taymans <wim@fluendo.com>
20488 * check/Makefile.am:
20489 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20493 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20494 (gst_segment_set_seek), (gst_segment_set_newsegment),
20495 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20496 (gst_segment_clip):
20497 * gst/gstsegment.h:
20498 Added segment helper structure and methods. Not fully implemented
20500 Added segment check.
20502 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20504 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20505 Add a deserialisation test for fractions
20506 * examples/metadata/read-metadata.c: (message_loop),
20507 (make_pipeline), (main):
20508 Fix up metadata reading sample.
20509 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20511 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20512 Don't try and fixate empty caps
20513 * gst/gst_private.h:
20514 Wrap in G_BEGIN_DECLS/G_END_DECLS
20515 * gst/gstvalue.c: (gst_value_collect_fraction),
20516 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20517 (gst_value_transform_string_fraction),
20518 (gst_value_compare_fraction):
20519 Add some extra guards to ensure that we don't end up
20520 with an invalid denominator of 0 in a gstfraction and
20521 that fractions always get reduced.
20523 2005-11-20 Wim Taymans <wim@fluendo.com>
20525 * docs/gst/gstreamer-sections.txt:
20527 * gst/gstelement.c:
20536 2005-11-20 Wim Taymans <wim@fluendo.com>
20538 * docs/design/part-TODO.txt:
20540 Make a proper enum of the flag.
20542 2005-11-19 Wim Taymans <wim@fluendo.com>
20544 * docs/design/part-TODO.txt:
20545 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20546 (gst_format_to_quark), (gst_format_register):
20548 * gst/gstquery.c: (_gst_query_initialize),
20549 (gst_query_type_get_name), (gst_query_type_to_quark),
20550 (gst_query_type_register):
20552 Add type to quark and type to string conversions.
20554 2005-11-19 Andy Wingo <wingo@pobox.com>
20556 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20559 2005-11-19 Wim Taymans <wim@fluendo.com>
20561 * docs/design/part-TODO.txt:
20562 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20563 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20564 (gst_bin_handle_message_func):
20566 Make message handling overridable.
20568 2005-11-19 Andy Wingo <wingo@pobox.com>
20570 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20573 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20575 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20576 is a GstClockTime. Fixes #321710.
20578 * gst/gstclock.h (GstClock): Remove offset property. Add
20579 internal_calibration and external_calibration. Fix padding. Pad
20580 also by GstClockTime so we don't run into problems.
20582 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20583 (gst_clock_get_rate_offset): Remove.
20584 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20587 * gst/gstutils.c (g_static_rec_cond_wait)
20588 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20590 * gst/gstbin.c: Remove terrible continue_state prototype.
20592 * gst/gstelement.h (gst_element_continue_state): Make public.
20594 * gst/gstelement.h:
20595 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20596 by continue_state. Fixes #319389.
20598 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20599 Really fixes #168438. However I don't see anywhere where the
20600 filter function is called... stupid GStreamer...
20602 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20603 don't have a dispose function, so it won't get called when the
20604 object is unreffed, but oh well!
20606 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20607 allows a destroy function to be set so user_data can be freed.
20609 (gst_index_set_filter): Call gst_index_set_filter_full.
20611 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20613 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20614 string should produce an error, given the lack of a way to
20615 represent NULL strings. Fixes #165650.
20618 * gst/gstvalue.c (gst_value_array_append_value)
20619 (gst_value_array_prepend_value, gst_value_array_get_size)
20620 (gst_value_array_get_value): New API, copied from
20621 gst_value_list_*, only operates on arrays.
20622 (gst_value_list_append_value, gst_value_list_prepend_value)
20623 (gst_value_list_concat, gst_value_list_get_size)
20624 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20626 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20627 init_list, because it works on both.
20628 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20629 (gst_value_copy_list_or_array): Renamed from copy_list.
20630 (gst_value_free_list_or_array): Renamed from free_list.
20631 (gst_value_collect_list_or_array): Renamed from collect_list.
20632 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20633 (gst_value_list_or_array_peek_pointer): Renamed from
20635 (_gst_value_array_value_table, _gst_value_list_value_table):
20636 Update value table functions.
20637 (gst_value_compare_list_or_array): Renamed from compare_list.
20639 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20642 * gst/gsttaglist.c:
20643 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20644 GstTagList*. Fixes #143472.
20646 * gst/gststructure.h: Clarify what the foreach/map functions can
20647 or can't do to their arguments.
20649 2005-11-18 Wim Taymans <wim@fluendo.com>
20651 * gst/gstclock.c: (gst_clock_set_calibration),
20652 (gst_clock_get_calibration):
20654 Calibration can be set with internal time equal to current
20657 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20663 2005-11-18 Andy Wingo <wingo@pobox.com>
20666 * pkgconfig/gstreamer-net.pc.in:
20667 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20668 * pkgconfig/Makefile.am: Add net pkgconfig files.
20670 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20673 * gst/gstghostpad.c:
20679 2005-11-18 Andy Wingo <wingo@pobox.com>
20681 * gst/net/gstnetclientclock.c: Turn off debugging.
20683 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20684 times connverge somewhat. Can't make a real test.
20686 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20687 integer arithmetic. Return the minimum of the domain, which can be
20688 set as "internal" for gst_clock_set_calibration.
20689 (gst_net_client_clock_observe_times): Call _set_calibration.
20690 (gst_net_client_clock_new): Call _set_calibration instead of
20693 * check/net/gstnetclientclock.c (test_functioning): Use the right
20697 * gst/gstclock.c (gst_clock_get_calibration)
20698 (gst_clock_set_calibration): New functions, obsolete the ones I
20699 added yesterday. Doh. Precision issues mean we have to extrapolate
20700 from a point in the more recent past than 1970.
20701 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20703 (gst_clock_adjust_unlocked): Use the right calibration data.
20705 2005-11-18 Edward Hervey <edward@fluendo.com>
20707 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20708 Also reset the ->current_* values in READY->PAUSED
20710 2005-11-18 Andy Wingo <wingo@pobox.com>
20712 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20713 Whoops, check the right fd. Also add some debugging.
20714 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20715 (do_linear_regression): Add a crapload of debugging. Subtract off
20716 the minimum values from the input series to discard unneeded bits.
20717 Use only int arithmetic. There is still double arithmetic when
20718 calculating the intercept that needs fixing. Return boolean to
20719 indicate success; FALSE would mean the domain or range is too
20720 great. Still needs fixes.
20722 2005-11-18 Wim Taymans <wim@fluendo.com>
20724 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20725 For the current position in stream time, we need to subtract
20728 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20729 Release lock before calling the callback function of async
20732 2005-11-18 Andy Wingo <wingo@pobox.com>
20734 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20735 Port goes all the way to MAXUINT16.
20737 * gst/net/gstnettimeprovider.c: Make the port range the same as
20738 for the kernel: 0 assigns, otherwise ports are less than
20741 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20744 * check/net/gstnetclientclock.c (test_functioning): Add the start
20747 2005-11-18 Wim Taymans <wim@fluendo.com>
20749 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20750 (gst_bin_remove_func), (bin_bus_handler):
20752 Removing a clock provider from a bin, triggers a clock lost message
20753 so that a new clock will be selected.
20754 Adding a clock to a bin triggers a clock provider message.
20755 Make sure we reselect a clock when we received a clock lost message.
20756 Keep a reference to the element that provided the clock.
20758 2005-11-18 Andy Wingo <wingo@pobox.com>
20760 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20761 the clock initially so it produces values around the base time.
20762 (gst_net_client_clock_class_init): Typo fix.
20763 (gst_net_client_clock_thread): Add note on when the socket gets
20766 2005-11-17 Wim Taymans <wim@fluendo.com>
20768 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20769 Free remote and local time arrays.
20771 2005-11-17 Wim Taymans <wim@fluendo.com>
20773 * gst/net/gstnetclientclock.c: (do_linear_regression),
20774 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20775 Fix compilation, uninitialized vars and a forgotten continue.
20777 2005-11-17 Andy Wingo <wingo@pobox.com>
20779 * check/Makefile.am (check_PROGRAMS):
20780 * check/net/gstnetclientclock.c: Add a most minimal test for the
20781 net client clock. More to come later.
20783 * gst/net/gstnet.h:
20784 * gst/net/Makefile.am: Add netclientclock.
20786 * gst/net/gstnetclientclock.h:
20787 * gst/net/gstnetclientclock.c: New files, implement an untested
20788 GstClock that takes its time from a network time provider.
20789 Implements the algorithm in network-clock.scm.
20791 * tests/network-clock.scm (*window-size*): Rename from
20793 * tests/network-clock.scm (network-time):
20794 * tests/network-clock-utils.scm (q-push): Update callers.
20796 2005-11-17 Wim Taymans <wim@fluendo.com>
20798 * gst/gstbin.c: (gst_bin_provide_clock_func),
20799 (gst_bin_sort_iterator_new):
20800 And unref the child too..
20802 2005-11-17 Wim Taymans <wim@fluendo.com>
20804 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20805 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20806 Refactor the sort iterator so it can be used while holding the
20808 Make clock selection select a clock closest to the source.
20810 2005-11-17 Michael Smith <msmith@fluendo.com>
20812 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20813 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20815 Anonymous structs are a gcc (and some other compilers) extension, so
20816 don't use them. Since this is only for ABI-compatibility, and our
20817 API/ABI freeze is over in a few days, this whole thing will only
20818 last a few days, so don't bother trying to think up a meaningful
20819 name for the struct.
20821 2005-11-17 Andy Wingo <wingo@pobox.com>
20823 * gst/gstclock.h (GstClock): Add rate and offset properties,
20824 preserving ABI stability. Add rate/offset accessors. Will file bug
20825 for the freeze break.
20827 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20828 and offset, trying to keep precision and avoiding
20829 underflow/overflow.
20830 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20831 functions. Make gst_clock_set_time_adjust obsolete.
20832 (gst_clock_set_time_adjust): Note that this function is obsolete.
20833 Will file bug soon.
20835 * gst/base/gstbasetransform.h: Make the ABI-stability hack
20836 greppable by using GST_PADDING-1+1.
20838 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
20840 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20842 * gst/gstmessage.c: (gst_message_parse_clock_lost):
20843 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20845 * gst/gstpadtemplate.h:
20846 * gst/gstpluginfeature.h:
20847 Don't use c++ style comments in headers (#321638).
20849 2005-11-16 Andy Wingo <wingo@pobox.com>
20851 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20854 * check/net/gstnettimeprovider.c: Check to see that the time
20855 provider actually provides times. Works, yo!
20857 2005-11-16 Wim Taymans <wim@fluendo.com>
20859 * check/Makefile.am:
20862 * check/elements/fakesrc.c: (GST_START_TEST):
20863 Set element to NULL before disposing it.
20865 2005-11-16 Andy Wingo <wingo@pobox.com>
20867 * gst/net/Makefile.am:
20868 * gst/net/gstnet.h:
20869 * gst/net/gstnettimeprovider.c:
20870 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20871 provider, include it from gstnet.h, and add it to the build.
20873 * gst/net/gstnettimepacket.h:
20874 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20875 sending and receiving.
20877 2005-11-16 Wim Taymans <wim@fluendo.com>
20879 * check/Makefile.am:
20880 Enable valgrind check.
20882 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
20883 (gst_fake_src_alloc_buffer):
20886 2005-11-16 Wim Taymans <wim@fluendo.com>
20888 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
20889 Call parent finalize too.
20891 2005-11-16 Wim Taymans <wim@fluendo.com>
20893 * check/Makefile.am:
20894 Enable valgrind check that should work fine now.
20896 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20897 * gst/gstqueue.c: (gst_queue_init):
20898 Fix memleaks in pad allocation.
20900 2005-11-16 Andy Wingo <wingo@pobox.com>
20902 * gst/net/Makefile.am:
20903 * gst/net/gstnet.h: New part of core to hold network elements and
20904 objects. Put in core because it exposes API that applications want
20905 to use. The library is named libgstnet-tempname right now because
20906 of the existing libgstnet in gst-plugins-base. Solution is
20907 probably to rename the one in plugins-base; will file a bug for
20910 * gst/net/gstnettimeprovider.c:
20911 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
20912 get_time call over the network.
20915 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
20917 * check/Makefile.am:
20918 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20919 get additions shortly.
20921 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20923 * gst/gstpad.c: (gst_pad_new_from_static_template):
20925 add gst_pad_new_from_static_template functions
20926 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
20927 (gst_check_setup_sink_pad):
20928 * gst/elements/gsttee.c: (gst_tee_init):
20931 2005-11-16 Wim Taymans <wim@fluendo.com>
20933 * gst/gstpad.c: (gst_pad_pause_task):
20934 Removed warning, it's not really an error either.
20936 2005-11-16 Wim Taymans <wim@fluendo.com>
20938 * gst/base/gstbasetransform.c:
20939 (gst_base_transform_prepare_output_buf),
20940 (gst_base_transform_event):
20941 Check if the caps are NULL, this can happen if the element
20942 is shutting down and the pad caps are set to NULL.
20944 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20946 * gst/elements/gsttee.c: (gst_tee_init):
20947 fix pad template leak in tee
20949 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20951 * gst/glib-compat.c: (g_value_dup_gst_object):
20952 * gst/glib-compat.h:
20953 * gst/gstpad.c: (gst_pad_set_property):
20954 use gst_object_ref when setting the pad template; this will
20955 trigger the pad template leaks on GLib 2.6 and the slaves
20957 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20959 * gst/glib-compat.c: (gst_flags_get_first_value):
20960 * gst/glib-compat.h:
20961 * gst/gstregistryxml.c:
20962 remove functions copied from GLib 2.6
20964 2005-11-16 Michael Smith <msmith@fluendo.com>
20967 Don't link against VALGRIND_LIBS. That was always the wrong thing to
20968 do, but only breaks with newer valgrind versions. We're not a
20969 valgrind tool, we have no link-time dependencies on libcoregrind.
20971 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20973 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20975 * gst/gstmessage.h:
20978 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20980 * gst/base/gstbasesrc.c: (gst_base_src_init):
20981 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20982 * gst/gstqueue.c: (gst_queue_init):
20983 * gst/gstregistryxml.c: (load_feature):
20984 Revert all these unrefs, they don't even pass make check !
20986 2005-11-15 Johan Dahlin <johan@gnome.org>
20988 * gst/base/gstbasesrc.c: (gst_base_src_init):
20989 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20990 * gst/gstqueue.c: (gst_queue_init):
20991 Free pad templates, fixes a couple of leaks.
20993 2005-11-15 Daniel Fischer <dan at f3c dot com>
20995 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20997 * gst/gstpad.c: (gst_pad_get_property):
20998 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
20999 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21002 2005-11-15 Wim Taymans <wim@fluendo.com>
21007 2005-11-15 Andy Wingo <wingo@pobox.com>
21009 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21011 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21012 using GST_CLOCK_TIME_NONE to disable base time management.
21013 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21014 time if it was NONE before.
21015 (gst_pipeline_change_state): Only munge the base time if
21016 stream_time != GST_CLOCK_TIME_NONE.
21018 * check/gst/gstpipeline.c (test_base_time): Punt around the
21019 problem of the probe not being called, because that's not the
21020 issue I'm looking at. Add a check that setting stream_time to NONE
21021 disables base time management.
21023 2005-11-15 Wim Taymans <wim@fluendo.com>
21025 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21026 segment_stop == -1 at startup.
21028 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21029 (gst_base_transform_change_state):
21030 Init segment values at start.
21032 2005-11-15 Wim Taymans <wim@fluendo.com>
21034 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21035 0 segment values are 0 in any format.
21037 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21038 * gst/base/gstbasetransform.h:
21039 Parse newsegment correctly in basetransform
21041 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21042 Sync to clock using updated segment values.
21044 2005-11-15 Andy Wingo <wingo@pobox.com>
21046 * check/gst/gstpipeline.c (test_base_time): Add check that the
21047 base time and stream time are reset correctly.
21049 2005-11-15 Wim Taymans <wim@fluendo.com>
21051 * docs/design/part-TODO.txt:
21052 Some more TODO items.
21054 2005-11-15 Andy Wingo <wingo@pobox.com>
21056 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21057 error if the user selected "no clock" as the clocking method.
21059 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21060 timestamps with live capture.
21062 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21063 is 0 but we are a live source, timestamp the buffers using the
21066 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21068 * docs/gst/gstreamer-sections.txt:
21070 * gst/gstghostpad.c:
21075 2005-11-14 Wim Taymans <wim@fluendo.com>
21078 add suppressions from Wim's Debian machine
21080 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21083 add suppressions from Andy's AMD64 Ubuntu machine
21085 2005-11-14 Andy Wingo <wingo@pobox.com>
21087 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21088 STATE_LOCK not necessary. Fixes #311489.
21090 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21093 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21094 this function is not implemented.
21096 2005-11-14 Julien MOUTTE <julien@moutte.net>
21098 * gst/base/gstbasetransform.c:
21099 (gst_base_transform_prepare_output_buf):
21100 Ref the source pad caps while we need them.
21103 2005-11-11 Wim Taymans <wim@fluendo.com>
21105 * docs/gst/gstreamer-sections.txt:
21106 Added some docs for GstCollectData.
21108 * gst/base/gstadapter.c:
21109 Some small code example fix.
21111 * gst/base/gstcollectpads.c:
21112 * gst/base/gstcollectpads.h:
21113 Document some more.
21115 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21117 * configure.ac: back to HEAD
21119 === release 0.9.5 ===
21121 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21124 releasing 0.9.5, "Bike Lunch Day"
21126 2005-11-11 Wim Taymans <wim@fluendo.com>
21128 * gst/gstbuffer.c: (_gst_buffer_copy):
21131 * gst/gstcaps.c: (gst_caps_is_equal):
21133 Make _is_equal fast in the trivial cases.
21135 * gst/gstminiobject.c:
21136 * gst/gstminiobject.h:
21137 More docs. Spifify .h file.
21142 2005-11-11 Wim Taymans <wim@fluendo.com>
21144 * gst/base/gstbasetransform.c:
21145 (gst_base_transform_prepare_output_buf),
21146 (gst_base_transform_handle_buffer):
21148 If we're processing a buffer and need to allocate an output
21149 buffer, we cannot accept a format change. If we did get a
21150 format change, we have to alloc a buffer ourselves of the
21153 2005-11-11 Wim Taymans <wim@fluendo.com>
21155 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21156 While checking the flag for reentrancy in the gstcaps function
21157 is nice to detect recursive invocations, it also makes it
21158 impossible to call getcaps from multiple threads, which must be
21159 possible. So, checking for recursive calls has to go.
21161 2005-11-11 Michael Smith <msmith@fluendo.com>
21163 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21164 Don't sync on buffers that fall partially outside our current
21165 segment. Prevents an assertion failure/abort playing some files.
21167 2005-11-10 Andy Wingo <wingo@pobox.com>
21169 * check/gst/gstbin.c (test_message_state_changed_children): Style
21172 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21173 gst_bus_poll with the signal watch. Ensures that poll and a signal
21174 watch see the same messages.
21176 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21177 a poll and a watch at the same time get the same messages.
21179 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21181 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21182 * gst/gstcaps.c: (gst_caps_intersect):
21183 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21184 and it's not needed.
21186 2005-11-10 Wim Taymans <wim@fluendo.com>
21188 * docs/design/part-TODO.txt:
21191 2005-11-10 Wim Taymans <wim@fluendo.com>
21193 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21194 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21195 (gst_base_src_do_sync), (gst_base_src_get_range):
21196 Implement clock sync in base class.
21198 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21200 patch by: Tim-Philipp Müller <tim at centricular dot net>
21202 * gst/gststructure.c: (gst_structure_parse_field),
21203 (gst_structure_from_string):
21204 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21205 so that gst_parse_launch() can deal with spaces in filtered link
21206 caps (fixes #164479)
21207 * check/gst/capslist.h:
21208 * check/gst/gststructure.c: (GST_START_TEST):
21209 add unit tests for this change
21211 2005-11-10 Wim Taymans <wim@fluendo.com>
21213 * docs/gst/gstreamer-sections.txt:
21214 * gst/gstelement.c:
21215 * gst/gstelement.h:
21216 Fix docs, move some STATE macros to private.
21218 2005-11-10 Wim Taymans <wim@fluendo.com>
21220 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21221 Added check for bug #317341
21225 Some more spiffifying.
21227 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21228 Call peer linkfunction if we are a source pad. Totally fixes
21232 Update docs, source pads should call the peer linkfunction
21233 so they can atomically perform the pad link.
21235 2005-11-09 Wim Taymans <wim@fluendo.com>
21239 Uber-spiffy-spiffify some more.
21241 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21243 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21244 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21245 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21246 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21247 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21248 * gst/gstpad.c: (gst_pad_init):
21249 Use GST_DEBUG_FUNCPTR() more extensively.
21251 2005-11-09 Wim Taymans <wim@fluendo.com>
21253 * gst/gstobject.c: (gst_object_class_init):
21255 Documentation fixes.
21257 2005-11-09 Edward Hervey <edward@fluendo.com>
21259 * gst/gsttypefindfactory.c:
21262 2005-11-09 Edward Hervey <edward@fluendo.com>
21264 * gst/base/gsttypefindhelper.c:
21265 * gst/gsttypefind.c:
21266 * gst/gsttypefind.h:
21269 2005-11-09 Wim Taymans <wim@fluendo.com>
21271 * gst/gstiterator.c:
21278 2005-11-09 Wim Taymans <wim@fluendo.com>
21284 2005-11-09 Wim Taymans <wim@fluendo.com>
21286 * docs/gst/gstreamer-sections.txt:
21287 Moved the message async delivery private lock and cond
21288 to the private section.
21290 * gst/gstmessage.c:
21291 * gst/gstmessage.h:
21294 2005-11-09 Edward Hervey <edward@fluendo.com>
21296 * docs/gst/gstreamer-sections.txt:
21299 Document GstURIHandler
21301 2005-11-09 Wim Taymans <wim@fluendo.com>
21303 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21304 (gst_iterator_find_custom):
21305 * gst/gstiterator.h:
21308 2005-11-09 Wim Taymans <wim@fluendo.com>
21311 Document another field.
21313 * gst/gststructure.c:
21314 * gst/gststructure.h:
21317 2005-11-09 Wim Taymans <wim@fluendo.com>
21320 Documented structs.
21322 2005-11-09 Wim Taymans <wim@fluendo.com>
21324 * docs/gst/gstreamer-sections.txt:
21325 Added some new macros.
21332 2005-11-09 Wim Taymans <wim@fluendo.com>
21334 * docs/design/part-TODO.txt:
21335 Some more items for the TODO
21341 2005-11-09 Andy Wingo <wingo@pobox.com>
21343 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21344 to work on something else now tho...
21346 * gst/base/gstadapter.c: More adapter docs.
21348 * gst/elements/gstfilesink.c (gst_file_sink_start)
21349 (gst_file_sink_stop): New functions, replace the state change
21351 (gst_file_sink_class_init): Hook up the start and stop functions.
21352 (gst_file_sink_base_init): Don't set the state change handler any
21353 more. It was a bit ugly too, being set from here...
21354 (gst_file_sink_get_property, gst_file_sink_set_property):
21356 (gst_file_sink_set_location): More robust check that doesn't call
21357 GST_STATE. Ugggggg.
21359 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21361 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21362 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21364 2005-11-08 Wim Taymans <wim@fluendo.com>
21366 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21367 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21368 (gst_base_sink_chain), (gst_base_sink_change_state):
21369 * gst/base/gstbasesink.h:
21370 * gst/base/gstbasesrc.h:
21371 * gst/gstelement.h:
21373 Avoid excessive typechecking in macros.
21375 * gst/gstminiobject.c: (gst_mini_object_get_type),
21376 (gst_mini_object_init), (gst_mini_object_new),
21377 (gst_mini_object_free):
21378 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21379 (gst_object_finalize):
21380 Remove cruft code, optimize alloc_trace.
21382 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21384 * docs/faq/gst-uninstalled:
21385 fix up PS1 for systems that try to reset it
21387 2005-11-07 Wim Taymans <wim@fluendo.com>
21389 * gst/base/gstbasesrc.c: (gst_base_src_init),
21390 (gst_base_src_get_range):
21391 Set the segment_end to -1 initially. Fixed typefind.
21393 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21395 * gst/base/gstadapter.c:
21396 Debug category should be 'adapter', not 'GstAdapter'.
21398 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21399 (gst_collectpads_class_init), (gst_collectpads_init),
21400 (gst_collectpads_peek), (gst_collectpads_pop),
21401 (gst_collectpads_event), (gst_collectpads_chain):
21402 Add debug category and some debugging output. Use boilerplate
21403 macros. Remove some extraneous words from docs.
21405 2005-11-05 Andy Wingo <wingo@pobox.com>
21407 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21410 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21412 * docs/gst/gstreamer-sections.txt:
21415 * gst/gstminiobject.h:
21420 2005-11-04 Wim Taymans <wim@fluendo.com>
21422 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21423 Small update to stop at the configured segment_end
21426 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21428 * gst/gstregistry.c:
21429 * gst/gstregistry.h:
21432 2005-11-04 Edward Hervey <edward@fluendo.com>
21434 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21435 Check if we are doing a segment seek and have arrived at the
21436 end of that segment.
21438 2005-11-04 Wim Taymans <wim@fluendo.com>
21440 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21441 Don't leak a mutex unlock in case of an error.
21446 2005-11-04 Wim Taymans <wim@fluendo.com>
21448 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21450 Get the context to wake up only once.
21452 2005-11-03 Wim Taymans <wim@fluendo.com>
21454 * check/states/sinks.c: (GST_START_TEST):
21455 Uncomment fixed check.
21457 * docs/design/part-TODO.txt:
21460 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21461 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21462 (gst_base_sink_get_position):
21463 If we are going to PLAYING, post the right pending state
21464 when we post the intermediate paused message.
21466 * gst/gstelement.c: (gst_element_continue_state),
21467 (gst_element_set_state_func), (gst_element_change_state):
21468 Don't post state changes that were between the same state
21469 and were not ASYNC.
21471 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21473 * docs/gst/gstreamer-sections.txt:
21476 * gst/gstminiobject.h:
21479 more docs and doc style fixes
21481 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21483 * docs/gst/gstreamer-sections.txt:
21484 * gst/gstelement.c:
21485 * gst/gstminiobject.c:
21488 2005-11-03 Andy Wingo <wingo@pobox.com>
21490 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21491 state-changed messages actually have the right order and the right
21494 2005-11-03 Wim Taymans <wim@fluendo.com>
21496 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21497 Added some more checks. Specifically the case where NO_PREROLL
21498 elements are in the pipeline.
21500 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21501 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21502 (gst_base_sink_get_position):
21503 Post READY->PAUSED state change messages too.
21504 Fix bug where VOID was posted as pending state...
21506 * gst/gstbin.c: (gst_bin_recalc_state):
21507 use _element_continue_state() to continue the state change.
21509 * gst/gstelement.c: (gst_element_continue_state),
21510 (gst_element_commit_state), (gst_element_set_state_func),
21511 (gst_element_change_state), (gst_element_change_state_func):
21512 Lots of state change cleanups, assign the STATE_RETURN in
21513 a new continue_state() function that also propagates the
21514 last return value from a state change to the app.
21515 Update some debug statements with proper category.
21517 2005-11-03 Wim Taymans <wim@fluendo.com>
21519 * docs/design/part-events.txt:
21520 * docs/design/part-gstpipeline.txt:
21521 * docs/design/part-messages.txt:
21522 * docs/design/part-overview.txt:
21523 * docs/design/part-seeking.txt:
21524 * docs/design/part-states.txt:
21525 * docs/design/part-trickmodes.txt:
21526 * docs/manual/advanced-position.xml:
21527 Small docs updates.
21530 People think !! is ugly, this looks better.
21532 * gst/gstpad.c: (gst_pad_set_blocked_async):
21533 Remove !! since it's fixed elsewhere now.
21535 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21537 * gst/gstminiobject.h:
21539 Add !! to _FLAG_IS_SET macros to make the result boolean.
21541 2005-11-03 Edward Hervey <edward@fluendo.com>
21543 * gst/gstpad.c: (gst_pad_set_blocked_async):
21544 comparing a flag and a gboolean rarely returns coherent results...
21545 Added two characters (!!) to make that work correctly.
21547 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21549 * gst/gstbus.c: (gst_bus_class_init):
21552 * gst/gstqueue.c: (gst_queue_loop):
21553 Don't assume a miniobject that isn't a buffer is an
21554 event (it could be that there is a refcounting
21555 problem somewhere and the pointer is stale and
21556 refers to an already destroyed miniobject).
21558 2005-11-03 Julien MOUTTE <julien@moutte.net>
21560 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21562 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21564 * docs/manual/advanced-position.xml:
21565 Update seek example and explanations to current 0.9 API.
21567 * gst/elements/gsttypefindelement.c:
21568 (gst_type_find_element_activate):
21569 Remove FIXME comment now that the found caps
21572 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21574 * gst/gstregistryxml.c: (load_feature):
21575 Add another GST_STR_NULL instance
21577 2005-11-02 Edward Hervey <edward@fluendo.com>
21579 * gst/gstpad.c: (handle_pad_block):
21580 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21582 2005-11-02 Wim Taymans <wim@fluendo.com>
21587 * gst/gstelement.c: (gst_element_commit_state):
21588 Remove unused value.
21590 * gst/gstiterator.c:
21591 Mention that the returned element is reffed in the docs.
21593 2005-11-02 Wim Taymans <wim@fluendo.com>
21595 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21596 (gst_pad_push), (gst_pad_push_event):
21597 Unlock blocked pads when they are flushed.
21599 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21602 * docs/gst/gstreamer-sections.txt:
21605 * gst/gstregistry.c: (gst_registry_scan_path_level):
21606 fix for a nasty little missed situation where an installed plug-in
21607 which was in the cache did not get overridden by an uninstalled one
21608 which was earlier in the plugin path because the newly created plugin
21609 for the uninstalled one (not in the registry) didn't get its
21610 ->registered set to TRUE
21612 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21614 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21615 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21616 (gst_collectpads_is_active), (gst_collectpads_collect),
21617 (gst_collectpads_collect_range), (gst_collectpads_start),
21618 (gst_collectpads_stop), (gst_collectpads_peek),
21619 (gst_collectpads_pop), (gst_collectpads_available),
21620 (gst_collectpads_read), (gst_collectpads_flush):
21621 Guard public API with assertions.
21624 Fix docs for gst_pad_set_link_function().
21626 2005-11-02 Johan Dahlin <johan@gnome.org>
21628 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21629 Unref found_caps after we used it.
21631 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21633 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21634 Don't try to ref NULL.
21636 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21638 * win32/common/config.h.in:
21639 provide a GST_FUNCTION that just gives a string for now
21641 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21643 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21644 (gst_object_flags_get_type), (register_gst_bin_flags),
21645 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21646 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21647 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21648 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21649 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21650 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21651 (gst_clock_flags_get_type), (register_gst_state),
21652 (gst_state_get_type), (register_gst_state_change_return),
21653 (gst_state_change_return_get_type), (register_gst_state_change),
21654 (gst_state_change_get_type), (register_gst_element_flags),
21655 (gst_element_flags_get_type), (register_gst_core_error),
21656 (gst_core_error_get_type), (register_gst_library_error),
21657 (gst_library_error_get_type), (register_gst_resource_error),
21658 (gst_resource_error_get_type), (register_gst_stream_error),
21659 (gst_stream_error_get_type), (register_gst_event_type),
21660 (gst_event_type_get_type), (register_gst_seek_type),
21661 (gst_seek_type_get_type), (register_gst_seek_flags),
21662 (gst_seek_flags_get_type), (register_gst_format),
21663 (gst_format_get_type), (register_gst_index_certainty),
21664 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21665 (gst_index_entry_type_get_type),
21666 (register_gst_index_lookup_method),
21667 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21668 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21669 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21670 (gst_index_flags_get_type), (register_gst_debug_level),
21671 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21672 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21673 (gst_iterator_result_get_type), (register_gst_iterator_item),
21674 (gst_iterator_item_get_type), (register_gst_message_type),
21675 (gst_message_type_get_type), (register_gst_mini_object_flags),
21676 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21677 (gst_pad_link_return_get_type), (register_gst_flow_return),
21678 (gst_flow_return_get_type), (register_gst_activate_mode),
21679 (gst_activate_mode_get_type), (register_gst_pad_direction),
21680 (gst_pad_direction_get_type), (register_gst_pad_flags),
21681 (gst_pad_flags_get_type), (register_gst_pad_presence),
21682 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21683 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21684 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21685 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21686 (gst_plugin_flags_get_type), (register_gst_rank),
21687 (gst_rank_get_type), (register_gst_query_type),
21688 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21689 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21690 (gst_tag_flag_get_type), (register_gst_task_state),
21691 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21692 (gst_alloc_trace_flags_get_type),
21693 (register_gst_type_find_probability),
21694 (gst_type_find_probability_get_type), (register_gst_uri_type),
21695 (gst_uri_type_get_type), (register_gst_parse_error),
21696 (gst_parse_error_get_type):
21697 * win32/common/gstversion.h:
21698 update win32 copies
21700 2005-11-01 Luca Ognibene <luogni@tin.it>
21703 fix docs. popt is dead, long live GOption.
21705 2005-10-31 Wim Taymans <wim@fluendo.com>
21710 2005-10-31 Andy Wingo <wingo@pobox.com>
21714 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21716 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21717 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21718 the possibility of deadlocks here if code calling notify() or
21719 set() has a lock that can be taken in another notify handler (ABBA
21720 with class lock and e.g. python GIL state lock).
21722 2005-10-28 Julien MOUTTE <julien@moutte.net>
21724 * gst/gstbus.c: Doc updates.
21726 2005-10-28 Wim Taymans <wim@fluendo.com>
21728 * docs/design/part-TODO.txt:
21729 * gst/gstiterator.c:
21730 * gst/gstsystemclock.c:
21731 * gst/gstsystemclock.h:
21734 2005-10-28 Edward Hervey <edward@fluendo.com>
21736 * docs/gst/gstreamer-docs.sgml:
21737 * docs/gst/gstreamer-sections.txt:
21738 the GstURIType documentation page is private, it only defines GstURIType
21739 which should be defined in the GstURIHandler page
21741 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21743 * gst/gstbin.c: (gst_bin_class_init):
21746 Documentation updates.
21748 2005-10-28 Wim Taymans <wim@fluendo.com>
21750 * docs/gst/gstreamer-sections.txt:
21753 Documented the clocks.
21755 2005-10-28 Stefan Kost <ensonic@users.sf.net>
21757 * docs/gst/gstreamer-sections.txt:
21758 move some macros to private sections
21759 * gst/gstminiobject.c:
21760 * gst/gstminiobject.h:
21761 add descriptions provided by ds and some more
21763 mark macro as to be removed
21765 2005-10-28 Wim Taymans <wim@fluendo.com>
21767 * docs/design/part-TODO.txt:
21768 Add an item to TODO.
21770 * gst/gstiterator.c: (gst_iterator_fold),
21771 (gst_iterator_find_custom):
21772 * gst/gstiterator.h:
21775 2005-10-28 Wim Taymans <wim@fluendo.com>
21777 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21778 (gst_base_transform_init):
21781 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21782 An EOS event marks the queue as completely filled.
21784 2005-10-27 Wim Taymans <wim@fluendo.com>
21786 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21787 (gst_base_sink_do_sync), (gst_base_sink_get_position):
21788 Some more debugging.
21790 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21791 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21792 (gst_base_transform_event), (gst_base_transform_getrange),
21793 (gst_base_transform_chain):
21794 * gst/base/gstbasetransform.h:
21796 Protect transform and concurrent buffer alloc with a new lock.
21797 Try not to break ABI/API.
21799 2005-10-27 Wim Taymans <wim@fluendo.com>
21801 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21802 (gst_base_src_init), (gst_base_src_query),
21803 (gst_base_src_default_newsegment),
21804 (gst_base_src_configure_segment), (gst_base_src_do_seek),
21805 (gst_base_src_send_event), (gst_base_src_event_handler),
21806 (gst_base_src_pad_get_range), (gst_base_src_loop),
21807 (gst_base_src_unlock), (gst_base_src_default_negotiate),
21808 (gst_base_src_start), (gst_base_src_deactivate),
21809 (gst_base_src_activate_push), (gst_base_src_change_state):
21810 Move some stuff around and cleanup things.
21812 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
21814 * gst/base/gstbasesrc.c: (gst_base_src_query):
21815 Add missing break statements.
21817 2005-10-27 Wim Taymans <wim@fluendo.com>
21819 * check/gst/gstbin.c: (GST_START_TEST):
21820 An extra refcount is taken in basesrc.
21822 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21823 (gst_base_src_get_range), (gst_base_src_pad_get_range),
21824 (gst_base_src_loop):
21825 Small cleanups, check for flushing after being unlocked from the
21826 LIVE_LOCK. take refcounts correctly (not yet everywhere).
21827 Don't send out EOS when going to READY.
21829 2005-10-27 Wim Taymans <wim@fluendo.com>
21831 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21832 (gst_base_sink_get_position):
21835 * gst/gstbin.c: (message_check), (bin_replace_message),
21836 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21837 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21838 (bin_query_duration_init), (bin_query_duration_fold),
21839 (bin_query_duration_done), (bin_query_generic_fold),
21841 * tools/gst-launch.c: (main):
21844 2005-10-26 Stefan Kost <ensonic@users.sf.net>
21846 * examples/controller/audio-example.c: (main):
21847 * examples/queue/queue.c: (event_loop):
21848 * gst/base/gstbasetransform.h:
21849 * gst/gstelement.c: (gst_element_send_event):
21851 * gst/gstpad.c: (gst_pad_send_event):
21854 changing log priority in error situations
21856 2005-10-25 Wim Taymans <wim@fluendo.com>
21858 * gst/gstbin.c: (message_check), (bin_replace_message),
21859 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21860 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21861 (bin_query_duration_init), (bin_query_duration_fold),
21862 (bin_query_duration_done), (bin_query_generic_fold),
21864 Some doc and debug updates.
21865 Cache previously requested query DURATION for speed. invalidate
21866 cached duration if element posts a DURATION message.
21868 2005-10-25 Wim Taymans <wim@fluendo.com>
21870 * docs/design/part-TODO.txt:
21873 * gst/gstbin.c: (message_check), (bin_replace_message),
21874 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21875 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21876 (bin_query_duration_init), (bin_query_duration_fold),
21877 (bin_query_duration_done), (bin_query_generic_fold),
21879 Handle SEGMENT_START/DONE messages correctly.
21880 More evolved query algorithm that handles duration queries
21883 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
21884 (gst_element_get_state_func), (gst_element_abort_state),
21885 (gst_element_commit_state), (gst_element_lost_state):
21886 Some more debugging.
21888 * gst/gstmessage.h:
21891 2005-10-25 Wim Taymans <wim@fluendo.com>
21893 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21894 Don't use invalid stream_time.
21896 * gst/gstevent.c: (gst_event_new_newsegment):
21897 stream_time in newsegment cannot be undefined.
21899 2005-10-24 Wim Taymans <wim@fluendo.com>
21904 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21906 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21908 2005-10-24 Stefan Kost <ensonic@users.sf.net>
21910 * docs/libs/tmpl/gstdparam.sgml:
21911 * docs/libs/tmpl/gstdplinint.sgml:
21912 * docs/libs/tmpl/gstdpman.sgml:
21913 * docs/libs/tmpl/gstdpsmooth.sgml:
21914 * docs/libs/tmpl/gstunitconvert.sgml:
21917 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
21922 === release 0.9.4 ===
21924 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21927 releasing 0.9.4, "Tyrannosaurus Rex"
21929 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
21931 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21932 (gst_file_sink_get_current_offset):
21933 Use fseeko() and ftello() if available. When falling back on
21934 lseek() to get the current offset, fflush() first to make sure
21935 everything is up-to-date and we get the right offset.
21937 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21939 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21940 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21941 * gst/gsterror.c: (_gst_stream_errors_init):
21943 * gst/gstqueue.c: (gst_queue_loop):
21945 remove prematurely added error category and clean up the instances
21947 2005-10-21 Wim Taymans <wim@fluendo.com>
21949 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21950 (gst_base_sink_get_position), (gst_base_sink_query),
21951 (gst_base_sink_change_state):
21952 Simply set the right flag when going to playing, that's all
21953 we need to do instead of calling a function inside the object
21954 lock (that could take the lock as well and deadlock)
21956 2005-10-21 Wim Taymans <wim@fluendo.com>
21958 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
21959 (gst_base_src_loop):
21960 Don't warn, the peer element knows what to do best when
21961 the seek failed, it might try something else.
21963 2005-10-21 Wim Taymans <wim@fluendo.com>
21965 * gst/base/gstbasesrc.c: (gst_base_src_init),
21966 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21969 2005-10-21 Wim Taymans <wim@fluendo.com>
21971 * docs/design/part-segments.txt:
21974 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
21975 Correctly set caps, even on the subbufer.
21977 2005-10-21 Wim Taymans <wim@fluendo.com>
21979 * docs/gst/gstreamer-docs.sgml:
21980 * docs/gst/gstreamer-sections.txt:
21981 * gst/gstelement.h:
21984 * gst/gstmessage.h:
21987 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
21991 And 2% more doc coverage.
21993 2005-10-21 Andy Wingo <wingo@pobox.com>
21995 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
21996 position reporting.
21998 2005-10-20 Wim Taymans <wim@fluendo.com>
22000 * gst/gsterror.c: (gst_error_get_message):
22003 * gst/gststructure.c:
22008 2005-10-20 Wim Taymans <wim@fluendo.com>
22013 Another 1% more coverage.
22015 2005-10-20 Wim Taymans <wim@fluendo.com>
22017 * docs/gst/gstreamer-sections.txt:
22018 * gst/gstelement.c: (gst_element_get_state_func),
22019 (gst_element_abort_state), (gst_element_commit_state),
22020 (gst_element_lost_state):
22022 * gst/gstquery.c: (gst_query_set_position),
22023 (gst_query_parse_position), (gst_query_set_duration),
22024 (gst_query_parse_duration), (gst_query_new_convert):
22026 Yay! 1% more docs coverage.
22028 2005-10-20 Wim Taymans <wim@fluendo.com>
22031 * gst/gstquery.c: (gst_query_set_position),
22032 (gst_query_parse_position), (gst_query_set_duration),
22033 (gst_query_parse_duration), (gst_query_new_convert):
22035 * gst/gstutils.c: (gst_element_query_convert):
22037 Docs and consistency fixes.
22039 2005-10-20 Wim Taymans <wim@fluendo.com>
22045 2005-10-20 Wim Taymans <wim@fluendo.com>
22047 * gst/gstbin.c: (message_check), (bin_replace_message),
22048 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22049 (update_degree), (gst_bin_sort_iterator_next),
22050 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22051 Reworked the message handling a bit, cache the messages instead of
22052 only the senders. alows us to do more in the future.
22054 2005-10-20 Wim Taymans <wim@fluendo.com>
22056 * docs/design/part-TODO.txt:
22059 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22060 (gst_base_sink_query):
22061 Don't use clock time to report position when in EOS.
22063 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22065 * tools/gst-inspect.c: (print_interfaces),
22066 (print_element_properties_info), (print_element_info):
22067 Fix interface output with gst-inspect -a; don't print
22068 newlines after double/float properties.
22070 2005-10-20 Wim Taymans <wim@fluendo.com>
22072 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22073 (gst_base_sink_query):
22074 Speed up current position calculation.
22076 * gst/base/gstbasesrc.c: (gst_base_src_query),
22077 (gst_base_src_default_newsegment):
22078 Correctly set stream position in newsegment.
22080 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22081 (update_degree), (gst_bin_sort_iterator_next),
22082 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22083 * gst/gstmessage.c: (gst_message_new_custom):
22084 Clean up debugging info
22086 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22087 (gst_queue_loop), (gst_queue_handle_src_query):
22090 2005-10-19 Wim Taymans <wim@fluendo.com>
22092 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22093 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22094 Fix query handling again.
22096 2005-10-19 Wim Taymans <wim@fluendo.com>
22098 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22099 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22100 * gst/base/gstbasesrc.c: (gst_base_src_query):
22101 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22102 * gst/elements/gsttypefindelement.c:
22103 (gst_type_find_handle_src_query), (find_element_get_length),
22104 (gst_type_find_element_activate):
22107 * gst/gstquery.c: (gst_query_new_position),
22108 (gst_query_set_position), (gst_query_parse_position),
22109 (gst_query_new_duration), (gst_query_set_duration),
22110 (gst_query_parse_duration), (gst_query_set_segment),
22111 (gst_query_parse_segment):
22113 Bundling query position/duration is not a good idea since duration
22114 does not change much and we don't want to recalculate it for every
22115 position query, so they are separated again..
22116 Base value in segment query is not needed.
22118 * gst/gstqueue.c: (gst_queue_handle_src_query):
22119 * gst/gstutils.c: (gst_element_query_position),
22120 (gst_element_query_duration), (gst_pad_query_position),
22121 (gst_pad_query_duration):
22123 Updates for query API change.
22124 Added some docs here and there.
22126 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22128 * check/gst/gstbin.c: (GST_START_TEST):
22129 * check/gst/gstghostpad.c: (GST_START_TEST):
22130 * check/pipelines/cleanup.c: (GST_START_TEST):
22131 wait on thread to die so we can check refcount correctly
22133 2005-10-18 Wim Taymans <wim@fluendo.com>
22135 * check/pipelines/stress.c: (GST_START_TEST):
22136 Make check a little more time consuming.
22138 2005-10-18 Wim Taymans <wim@fluendo.com>
22140 * check/Makefile.am:
22141 * check/pipelines/stress.c: (GST_START_TEST),
22142 (simple_launch_lines_suite), (main):
22143 Small state change torture test.
22145 * docs/design/part-states.txt:
22146 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22147 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22148 (gst_base_sink_change_state):
22149 Never take state lock from streaming thread, clean up ugly
22150 hacks. Unfortunatly core does not yet support nice ways to
22151 async commit state.
22153 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22155 Start state recalc if a STATE_DIRTY message is posted, but only
22156 on the toplevel bin.
22158 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22159 (gst_element_get_state_func), (gst_element_abort_state),
22160 (gst_element_commit_state), (gst_element_lost_state),
22161 (gst_element_set_state_func), (gst_element_change_state):
22162 * gst/gstelement.h:
22163 State variables are now protected with the LOCK, the state
22164 lock is only used to serialize _set_state().
22166 2005-10-18 Wim Taymans <wim@fluendo.com>
22168 * check/gst/gstbin.c: (GST_START_TEST):
22169 * check/gst/gstmessage.c: (GST_START_TEST):
22170 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22171 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22173 * gst/gstelement.c: (gst_element_abort_state),
22174 (gst_element_commit_state), (gst_element_lost_state):
22175 * gst/gstmessage.c: (gst_message_new_state_changed),
22176 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22177 (gst_message_new_segment_done), (gst_message_new_duration),
22178 (gst_message_parse_state_changed),
22179 (gst_message_parse_segment_start),
22180 (gst_message_parse_segment_done), (gst_message_parse_duration):
22181 * gst/gstmessage.h:
22182 * tools/gst-launch.c: (event_loop):
22183 Seriously, this is better than a previous commit as we only need
22184 to notify the fact that an element changed state in a streaming
22185 thread, marking the state of the parents dirty, hence the
22186 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22189 2005-10-18 Wim Taymans <wim@fluendo.com>
22191 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22192 (gst_bin_recalc_func):
22193 * gst/gstelement.c: (gst_element_set_clock),
22194 (gst_element_abort_state), (gst_element_lost_state):
22195 Cleanups, prepare for state change fixes.
22197 2005-10-18 Wim Taymans <wim@fluendo.com>
22200 * gst/gstelement.c: (gst_element_class_init),
22201 (gst_element_set_state), (gst_element_set_state_func):
22202 * gst/gstelement.h:
22203 Pending ABI changes.
22204 GThreadPool in GstBinClass to monitor async state changes.
22205 state_cookie in GstElement to detect concurrent gst/set state.
22206 set_state is now virtual too in case a very complicated element
22207 has to be constructed.
22209 2005-10-18 Wim Taymans <wim@fluendo.com>
22211 * check/gst/gstbin.c: (GST_START_TEST):
22212 * check/gst/gstmessage.c: (GST_START_TEST):
22213 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22214 * gst/gstbin.c: (bin_bus_handler):
22215 * gst/gstelement.c: (gst_element_commit_state),
22216 (gst_element_lost_state):
22217 * gst/gstmessage.c: (gst_message_new_state_changed),
22218 (gst_message_new_segment_start), (gst_message_new_segment_done),
22219 (gst_message_new_duration), (gst_message_parse_state_changed),
22220 (gst_message_parse_segment_start),
22221 (gst_message_parse_segment_done), (gst_message_parse_duration):
22222 * gst/gstmessage.h:
22223 * tools/gst-launch.c: (event_loop):
22224 Make messages future proof.
22225 state-change gets a flag if it was a message comming from the
22227 segment-start/stop can also be specified in other formats.
22228 A message to notify an app that a pipeline changed playback
22230 Also fix a GstMessage leak in -launch
22232 2005-10-18 Andy Wingo <wingo@pobox.com>
22234 * gst/gstelement.c (gst_element_dispose): More helpful message.
22236 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22238 reviewed by: <delete if not using a buddy>
22240 * common/gtk-doc.mak:
22242 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22244 * gst/gstregistry.c: (gst_registry_scan_path_level):
22245 unref a plug-in we get that was already initialized
22247 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22249 * docs/gst/gstreamer-sections.txt:
22250 * docs/libs/gstreamer-libs-sections.txt:
22251 * gst/gstelement.h:
22252 add new api entries
22253 hide internal macro
22255 2005-10-17 Andy Wingo <wingo@pobox.com>
22257 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22260 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22262 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22264 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22265 (gst_element_get_state_func): Better debug message.
22266 (gst_element_commit_state): s/INFO/DEBUG/.
22267 (gst_element_lost_state, gst_element_change_state):
22269 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22270 (gst_message_new_custom): s/INFO/LOG/.
22272 2005-10-17 Michael Smith <msmith@fluendo.com>
22274 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22275 Check if end time is valid using end time, not start time.
22277 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22279 * check/gst-libs/controller.c: (GST_START_TEST),
22280 (gst_controller_suite):
22281 * libs/gst/controller/gstcontroller.c:
22282 (gst_controlled_property_set_interpolation_mode):
22283 * libs/gst/controller/gstcontroller.h:
22284 * libs/gst/controller/gstinterpolation.c:
22285 * testsuite/controller/.cvsignore:
22286 * testsuite/controller/Makefile.am:
22287 * testsuite/controller/interpolator.c:
22288 merge controller testsuites
22290 remove mem-chunk from docs
22292 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22294 * gst/gstmemchunk.c:
22295 * gst/gstmemchunk.h:
22296 * gst/gsttrashstack.c:
22297 * gst/gsttrashstack.h:
22298 out. get out. you're fired. to the Attic !
22300 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22302 * gst/gstcaps.c: (gst_caps_intersect):
22303 fix signedness issues in a (hopefully) correct way
22304 * gst/gstelement.c: (gst_element_pads_activate):
22306 * gst/gstobject.c: (gst_object_set_parent):
22309 2005-10-17 Julien MOUTTE <julien@moutte.net>
22311 * gst/gstvalue.h: Fix prototypes.
22313 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22315 * docs/gst/gstreamer-sections.txt:
22316 * gst/gst.c: (gst_version_string):
22318 * gst/gstversion.h.in:
22319 * win32/common/libgstreamer.def:
22320 add gst_version_string ()
22322 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22326 * gst/gst.c: (init_post):
22327 * win32/common/config.h.in:
22329 * gst/gstcaps.c: (gst_caps_intersect):
22330 use gint64, the range could be bigger than a guint
22332 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22335 document potential problem in 2038
22337 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22339 * gst/gstcaps.c: (gst_caps_intersect):
22340 Fix guint j diving under 0
22342 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22345 * win32/common/config.h:
22346 * win32/common/config.h.in:
22347 check for process.h, declares getpid() on Windows
22349 include process.h if we have it
22350 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22351 * gst/gstmemchunk.h:
22352 fix signedness issues
22353 * win32/common/libgstreamer.def:
22356 2005-10-16 Julien MOUTTE <julien@moutte.net>
22358 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22359 fix. Because of unsigned ints, caps intersection was going nuts and
22360 trying to access structures with G_MAXUINT index. That fixes
22361 videotestsrc ! ffmpegcolorspace ! fakesink
22362 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22365 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22368 use the gettext macro
22369 * gst/elements/gstelements.c:
22371 * gst/indexers/gstindexers.c:
22372 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22373 * win32/common/config.h:
22375 * win32/common/config.h.in:
22376 add the template to generate config.h
22377 * win32/common/gstenumtypes.c:
22378 * win32/common/gstversion.h:
22381 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22383 * gst/gst.c: (gst_version):
22384 * gst/gstversion.h.in:
22387 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22390 Oops, add missing closing bracket.
22392 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22395 use common m4's for argument checking
22397 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22399 * docs/gst/gstreamer-sections.txt:
22401 Add GST_EVENT_TYPE_NAME() macro.
22403 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22406 * gst/gstpluginfeature.c:
22408 privatize more symbols
22410 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22413 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22414 everything that uses GStreamer API should have the includes
22416 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22418 * docs/gst/gstreamer-sections.txt:
22419 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22421 give each value a _get_type, removes the DATA exports
22423 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22427 remove _gst_registry_auto_load, not used anymore
22428 * gst/gstbin.c: (gst_bin_get_type):
22430 * gst/gstelement.c: (gst_element_get_type):
22431 * gst/gstelement.h:
22432 * gst/gstobject.c: (gst_object_get_type):
22434 * gst/gstpad.c: (gst_pad_get_type):
22436 make _get_type functions similar, fixes data export from library
22438 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22441 correctly make conditionals
22442 * gst/elements/Makefile.am:
22443 * gst/elements/gstelements.c:
22444 fix typo causing fdsrc not to build
22446 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22448 * testsuite/Makefile.am:
22449 * testsuite/bytestream/.cvsignore:
22450 * testsuite/bytestream/Makefile.am:
22451 * testsuite/bytestream/filepadsink.c:
22452 * testsuite/bytestream/gstbstest.c:
22453 * testsuite/bytestream/test1.c:
22454 * testsuite/bytestream/testfile1:
22455 * testsuite/caps/normalisation.c:
22456 * testsuite/caps/random.c: (main):
22457 * testsuite/cleanup/.cvsignore:
22458 * testsuite/cleanup/Makefile.am:
22459 * testsuite/cleanup/cleanup1.c:
22460 * testsuite/cleanup/cleanup2.c:
22461 * testsuite/cleanup/cleanup3.c:
22462 * testsuite/cleanup/cleanup4.c:
22463 * testsuite/cleanup/cleanup5.c:
22464 * testsuite/controller/interpolator.c:
22465 * testsuite/debug/printf_extension.c: (main):
22466 * testsuite/elements/tee.c:
22467 * testsuite/negotiation/.cvsignore:
22468 * testsuite/negotiation/Makefile.am:
22469 * testsuite/negotiation/pad_link.c:
22470 * testsuite/pad/Makefile.am:
22471 * testsuite/pad/chainnopull.c:
22472 * testsuite/pad/getnopush.c:
22473 * testsuite/pad/link.c:
22474 * testsuite/refcounting/sched.c: (create_pipeline):
22475 * testsuite/registry/Makefile.am:
22476 * testsuite/registry/gst-print-formats.c:
22477 * testsuite/schedulers/.cvsignore:
22478 * testsuite/schedulers/142183-2.c:
22479 * testsuite/schedulers/142183.c:
22480 * testsuite/schedulers/143777-2.c:
22481 * testsuite/schedulers/143777.c:
22482 * testsuite/schedulers/147713.c:
22483 * testsuite/schedulers/147819.c:
22484 * testsuite/schedulers/147894-2.c:
22485 * testsuite/schedulers/147894.c:
22486 * testsuite/schedulers/Makefile.am:
22487 * testsuite/schedulers/group_link.c:
22488 * testsuite/schedulers/queue_link.c:
22489 * testsuite/schedulers/relink.c:
22490 * testsuite/schedulers/unlink.c:
22491 * testsuite/schedulers/unref.c:
22492 * testsuite/schedulers/useless_iteration.c:
22493 * testsuite/states/bin.c:
22494 clean out/remove some stuff from the testsuite directories
22496 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22499 check for some headers
22500 * gst/elements/Makefile.am:
22501 * gst/elements/gstelements.c:
22502 don't compile fdsrc without sys/socket.h
22503 * gst/indexers/Makefile.am:
22504 * gst/indexers/gstindexers.c: (plugin_init):
22505 don't compile fileindex without mmap
22507 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22514 * check/Makefile.am:
22515 * docs/gst/Makefile.am:
22516 * examples/helloworld/Makefile.am:
22518 * gst/base/Makefile.am:
22519 * gst/check/Makefile.am:
22520 * gst/elements/Makefile.am:
22521 * gst/indexers/Makefile.am:
22522 * gst/parse/Makefile.am:
22523 * libs/gst/controller/Makefile.am:
22524 * libs/gst/dataprotocol/Makefile.am:
22525 * examples/helloworld/helloworld.c: (event_loop):
22526 compile fixes, though it's not being compiled currently
22528 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22530 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22531 Add some simple tests for the new taglist date API.
22533 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22535 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22536 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22537 Beautify 'last-message' output: print 'none' for buffer timestamps
22538 and durations if none is set; improve alignment with next messages.
22540 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22542 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22543 * gst/gstpluginfeature.h:
22544 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22545 * gst/gstregistry.h:
22546 * docs/gst/gstreamer-sections.txt:
22547 Add new API to check plugin feature version requirements.
22549 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22550 Some basic tests for the above.
22552 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22554 * gst/gststructure.c: (gst_structure_to_string):
22555 guard against NULL printf - happens when for example
22556 a message structure with GstClock gets serialized
22558 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22560 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22561 Fix presumable copy'n'pasto.
22563 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22565 * gst/elements/gstfakesrc.h:
22566 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22567 * gst/elements/gsttypefindelement.c:
22568 fix some signedness
22569 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22570 I wonder if this could actually write +2GB files before
22572 2005-10-13 Andy Wingo <wingo@pobox.com>
22574 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22575 Fix Timmeke Waymans bug.
22576 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22577 string of the proper length to gst_caps_from_string. There's a
22578 potential for, before this fix, that this could cause someone
22579 connecting over the network to cause a segfault if the payload is
22580 not NUL-terminated.
22582 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22584 * docs/design/draft-push-pull.txt:
22585 * docs/design/part-overview.txt:
22586 * docs/random/TODO-pre-0.9:
22587 * docs/random/old/ChangeLog.gstreamer:
22588 * gst/base/gstpushsrc.c:
22592 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22594 * gst/glib-compat.c: (gst_flags_get_first_value):
22595 * gst/glib-compat.h:
22596 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22597 (gst_value_compare_double), (gst_value_serialize_flags):
22598 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22601 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22603 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22604 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22606 * tools/gst-launch.c: (event_loop):
22607 print out clock nicely
22609 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22611 * docs/gst/gstreamer-sections.txt:
22612 * gst/gsttaglist.h:
22613 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22614 (gst_tag_list_get_date_index):
22615 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22616 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22618 2005-10-13 Julien MOUTTE <julien@moutte.net>
22620 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22621 (gst_collectpads_chain):
22622 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22625 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22627 * docs/gst/gstreamer-sections.txt:
22630 * tools/gst-inspect.c: (main):
22631 * tools/gst-launch.c: (main):
22632 * tools/gst-run.c: (main):
22633 * tools/gst-xmlinspect.c: (main):
22634 fix GOption context leaks
22637 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22641 * win32/common/config.h:
22643 * win32/vs6/grammar.dsp:
22644 * win32/vs6/libgstelements.dsp:
22645 * win32/vs6/libgstreamer.dsp:
22648 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22650 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22651 * gst/base/gstbasesrc.c: (gst_base_src_query):
22652 fix more guint64<->gdouble conversions
22654 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22657 add win32-update target
22658 * win32/common/gstconfig.h:
22659 * win32/common/gstenumtypes.c:
22660 * win32/common/gstenumtypes.h:
22661 * win32/common/gstversion.h:
22662 add files that visual studio can't generate
22664 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22667 add a win32-update target
22670 2005-10-12 Wim Taymans <wim@fluendo.com>
22672 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22673 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22674 * gst/gstelement.c: (gst_element_commit_state),
22675 (gst_element_set_state):
22676 Protect flags with proper lock.
22677 unref provided cached clock in dispose.
22679 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22682 * gst/gstminiobject.h:
22684 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22685 removed unused flags from miniobject
22688 2005-10-12 Wim Taymans <wim@fluendo.com>
22690 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22691 (gst_file_sink_event), (gst_file_sink_render):
22692 Flush before seeking.
22694 2005-10-12 Andy Wingo <wingo@pobox.com>
22696 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22697 always been the case.
22699 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22701 * check/gst/gstbin.c: (GST_START_TEST):
22702 * docs/gst/gstreamer-sections.txt:
22703 * gst/base/gstbasesink.c: (gst_base_sink_init):
22704 * gst/base/gstbasesrc.c: (gst_base_src_init),
22705 (gst_base_src_get_range), (gst_base_src_check_get_range),
22706 (gst_base_src_start), (gst_base_src_stop):
22707 * gst/base/gstbasesrc.h:
22708 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22709 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22710 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22714 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22716 * gst/gstelement.c: (gst_element_is_locked_state),
22717 (gst_element_set_locked_state), (gst_element_commit_state),
22718 (gst_element_set_state):
22719 * gst/gstelement.h:
22720 * gst/gstindex.c: (gst_index_init):
22722 * gst/gstminiobject.h:
22723 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22724 (gst_object_set_parent):
22726 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22727 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22729 * gst/gstpadtemplate.h:
22730 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22731 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22732 * gst/gstpipeline.h:
22733 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22734 (gst_file_index_commit):
22735 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22736 * testsuite/pad/link.c: (gst_test_src_init),
22737 (gst_test_filter_init), (gst_test_sink_init):
22738 * testsuite/states/locked.c: (main):
22739 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22740 moved bitshift from macro to enum definition
22742 2005-10-12 Wim Taymans <wim@fluendo.com>
22744 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22745 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22746 (gst_file_sink_render):
22747 Some more debugging info.
22749 2005-10-12 Wim Taymans <wim@fluendo.com>
22751 * docs/design/part-states.txt:
22752 * tools/gst-launch.c: (main):
22754 Revert non-intentional change.
22756 2005-10-12 Wim Taymans <wim@fluendo.com>
22758 * check/gst/gstbin.c: (GST_START_TEST):
22759 * check/gst/gstelement.c: (GST_START_TEST):
22760 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22761 * check/gst/gstghostpad.c: (GST_START_TEST):
22762 * check/gst/gstpipeline.c: (GST_START_TEST):
22763 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22764 * check/states/sinks.c: (GST_START_TEST):
22765 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22766 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22767 (gst_bin_remove_func), (gst_bin_get_state_func),
22768 (gst_bin_recalc_state), (gst_bin_change_state_func),
22770 * gst/gstelement.c: (gst_element_get_state_func),
22771 (gst_element_get_state), (gst_element_abort_state),
22772 (gst_element_commit_state), (gst_element_set_state),
22773 (gst_element_change_state), (gst_element_change_state_func):
22774 * gst/gstelement.h:
22775 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22776 (gst_pipeline_provide_clock_func):
22777 * gst/gstutils.c: (gst_element_link_pads_filtered):
22778 * tools/gst-launch.c: (main):
22779 * tools/gst-typefind.c: (main):
22780 Use GstClockTime in _get_state() instead of GTimeVal.
22781 Remove old code in gstutils.c
22783 2005-10-12 Andy Wingo <wingo@pobox.com>
22785 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22788 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22789 there is no task. Shouldn't affect any code, as nothing in our
22790 plugins checks this return value.
22791 (gst_pad_stop_task): Also take the stream lock if the pad has no
22792 task. Docs updated.
22794 2005-10-12 Wim Taymans <wim@fluendo.com>
22796 * gst/gstpad.c: (pre_activate), (post_activate),
22797 (gst_pad_activate_pull), (gst_pad_activate_push):
22798 Cleanup activation code. Reset old state if
22801 2005-10-12 Wim Taymans <wim@fluendo.com>
22803 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22804 (gst_base_sink_change_state):
22805 No need to prerol after receiving EOS.
22807 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22808 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22809 * gst/elements/gstidentity.c: (gst_identity_event):
22810 Print events more verbosely.
22812 2005-10-12 Wim Taymans <wim@fluendo.com>
22814 * check/Makefile.am:
22815 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22816 * check/states/sinks2.c:
22817 Moved sinks2 testcode in sinks check.
22819 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22820 (gst_bin_remove_func), (gst_bin_recalc_state),
22821 (gst_bin_change_state_func), (bin_bus_handler):
22822 Fix potential race condition when _get_state() iterated over an
22823 ASYNC element right before it posted a state completion.
22826 Do proper cast here.
22828 * gst/gstevent.c: (gst_event_new_newsegment),
22829 (gst_event_parse_newsegment):
22830 A playback rate of 0.0 is not allowed.
22832 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22834 * win32/common/config.h:
22835 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22836 (_trewinddir), (_ttelldir), (_tseekdir):
22837 * win32/common/dirent.h:
22838 * win32/common/gtchar.h:
22839 * win32/common/libgstbase.def:
22840 * win32/common/libgstreamer.def:
22841 * win32/vs6/grammar.dsp:
22842 * win32/vs6/gst_inspect.dsp:
22843 * win32/vs6/gst_launch.dsp:
22844 * win32/vs6/gstreamer.dsw:
22845 * win32/vs6/libgstbase.dsp:
22846 * win32/vs6/libgstelements.dsp:
22847 * win32/vs6/libgstreamer.dsp:
22848 Visual Studio 6 project files, and a new common directory.
22851 2005-10-11 Wim Taymans <wim@fluendo.com>
22853 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22854 (gst_base_sink_do_sync), (gst_base_sink_query),
22855 (gst_base_sink_change_state):
22856 * gst/base/gstbasesink.h:
22857 Correctly parse newsegment info.
22859 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22861 * gst/gst.c: (init_post):
22862 split plugin paths correctly
22864 2005-10-11 Wim Taymans <wim@fluendo.com>
22866 * check/gst/gstevent.c: (GST_START_TEST):
22867 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22868 (gst_base_sink_change_state):
22869 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22870 * gst/base/gstbasetransform.c: (gst_base_transform_event):
22871 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22872 * gst/gstevent.c: (gst_event_new_newsegment),
22873 (gst_event_parse_newsegment):
22875 Added extra flag to newsegment for future API freeze.
22876 Updated check and base elements.
22878 2005-10-11 Julien MOUTTE <julien@moutte.net>
22880 * gst/base/gstcollectpads.c: (gst_collectpads_init),
22881 (gst_collectpads_add_pad), (gst_collectpads_pop),
22882 (gst_collectpads_event), (gst_collectpads_chain):
22883 * gst/base/gstcollectpads.h: Handle EOS correctly.
22885 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22887 * tools/gst-launch.c: (main):
22888 more null protecting
22890 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22892 * gst/gst-i18n-lib.h:
22893 check for ENABLE_NLS, not GETTEXT_PACKAGE
22894 * gst/gstregistry.c: (gst_registry_add_plugin),
22895 (gst_registry_scan_path_level),
22896 (_gst_registry_remove_cache_plugins):
22897 protect possibly NULL strings
22898 * gst/parse/types.h:
22899 config.h already included before
22900 * tools/gst-inspect.c: (main):
22901 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22902 check for ENABLE_NLS, not GETTEXT_PACKAGE
22903 * tools/gst-launch.c: (main):
22904 check for ENABLE_NLS, not GETTEXT_PACKAGE
22906 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22909 if we don't have glib, fail before testing 2.8
22910 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
22911 fix a leak, should fix plugins-base testsuite
22913 2005-10-11 Andy Wingo <wingo@pobox.com>
22915 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
22916 take the mode we're going to as an arg. Go head and set the mode
22917 and flushing flags now, so that if the activate function starts a
22918 thread all the flags will be in the right state.
22919 (post_activate): Renamed also. Just handle making sure streaming
22920 finishes for the deactivation case, and setting the deactivated
22922 (gst_pad_set_active): Complain loudly if deactivation fails.
22923 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
22924 (gst_pad_activate_push): Adapt to pre/post_activate changes,
22925 remove the terrible hack.
22927 2005-10-11 Wim Taymans <wim@fluendo.com>
22929 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22930 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
22931 (gst_bin_recalc_state), (gst_bin_change_state_func),
22932 (gst_bin_dispose), (bin_bus_handler):
22934 Prepare to make current EOS message queue more generic.
22937 * gst/gstevent.c: (gst_event_new_newsegment),
22938 (gst_event_parse_newsegment):
22940 Rename base to stream_time.
22942 * gst/gstmessage.h:
22945 2005-10-11 Wim Taymans <wim@fluendo.com>
22947 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22948 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
22949 (gst_bin_change_state_func), (bin_bus_handler):
22951 Work on proper clock selection.
22953 2005-10-11 Edward Hervey <edward@fluendo.com>
22955 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
22956 * libs/gst/controller/gstcontroller.h:
22957 Added GList* version of _remove_properties() in order to be able to wrap
22960 2005-10-11 Wim Taymans <wim@fluendo.com>
22962 * docs/design/part-states.txt:
22965 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
22966 (gst_bin_change_state_func), (bin_bus_handler):
22967 Doc updates. Don't distribute the same clock over and over again.
22973 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
22974 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
22975 (gst_pad_send_event):
22977 Make probe emission threadsafe again.
22978 Register quarks and move _get_name() from utils.
22981 * gst/gstpipeline.c: (gst_pipeline_class_init),
22982 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22983 Only redistribute the clock of it changed.
22985 * gst/gstsystemclock.h:
22990 Moved the _flow_get_name() to GstPad.
22992 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22994 * check/gst-libs/gdp.c: (GST_START_TEST):
22995 * check/gst/gstcaps.c: (GST_START_TEST):
22996 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
22997 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
22998 (gst_dp_packet_from_caps):
22999 fix more valgrind warnings before turning up the heat
23001 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23003 * gst/parse/grammar.y:
23004 some cleanup before the hacking
23006 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23008 * gst/base/gstbasesrc.c: (gst_base_src_query):
23010 * gst/gstutils.c: (gst_guint64_to_gdouble),
23011 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23013 externalize, basesrc uses it
23014 obviously the implementation needs testing
23016 2005-10-10 Wim Taymans <wim@fluendo.com>
23018 * tests/sched/Makefile.am:
23019 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23020 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23022 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23024 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23025 apparently converting from guint64 to double is not implemented
23028 2005-10-10 Wim Taymans <wim@fluendo.com>
23030 * check/Makefile.am:
23031 * check/generic/states.c: (GST_START_TEST):
23032 * check/gst/gstbin.c: (GST_START_TEST):
23033 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23034 * check/states/sinks.c: (GST_START_TEST):
23035 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23037 Check fixes, use API as stated in design docs, remove hacks.
23039 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23040 (gst_base_sink_change_state):
23041 Catch stopping our task while we're shutting down.
23043 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23044 (gst_bin_remove_func), (gst_bin_get_state_func),
23045 (gst_bin_recalc_state), (gst_bin_change_state_func),
23048 * gst/gstelement.c: (gst_element_init),
23049 (gst_element_get_state_func), (gst_element_abort_state),
23050 (gst_element_commit_state), (gst_element_lost_state),
23051 (gst_element_set_state), (gst_element_change_state),
23052 (gst_element_change_state_func):
23053 * gst/gstelement.h:
23054 New state change algorithm (see #318116)
23056 * gst/gstpipeline.c: (gst_pipeline_class_init),
23057 (gst_pipeline_init), (gst_pipeline_set_property),
23058 (gst_pipeline_get_property), (do_pipeline_seek),
23059 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23060 * gst/gstpipeline.h:
23061 Remove crude state change hacks.
23064 Remove crude hacks.
23066 * tools/gst-launch.c: (main):
23067 Fixes for state change. Needs some more work to fully use the
23070 2005-10-10 Andy Wingo <wingo@pobox.com>
23072 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23074 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23075 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23078 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23080 * gst/gstiterator.c: (gst_iterator_new):
23081 Fix my previous commit: GTypes passed to gst_iterator_new()
23082 can be fundamental types.
23084 2005-10-10 Wim Taymans <wim@fluendo.com>
23086 * gst/gstelement.c: (gst_element_iterate_pad_list),
23087 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23088 (gst_element_iterate_sink_pads):
23089 Use src/sink pads lists for the respective iterators instead
23092 2005-10-10 Andy Wingo <wingo@pobox.com>
23094 Merged in popt removal + GOption addition patch from Ronald, bug
23097 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23098 GstElement macros around, remove popt-related symbols, add goption
23101 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23103 * docs/gst/Makefile.am:
23104 * docs/libs/Makefile.am: No POPT_CFLAGS.
23106 * examples/manual/Makefile.am:
23107 * docs/manual/basics-init.xml: Doc updates with an example.
23109 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23110 (gst_init), (parse_one_option), (parse_goption_arg):
23111 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23112 bit of hand merging and debugging to get the GOption stuff working
23115 * tests/Makefile.am:
23116 * tools/Makefile.am:
23117 * tools/gst-inspect.c: (main):
23118 * tools/gst-launch.c: (main):
23119 * tools/gst-run.c: (main):
23120 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23122 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23124 * gst/gstiterator.c: (gst_iterator_new):
23125 Add assertions to make sure passed GType is likely to really
23126 be a GType (as the compiler won't catch it if the size and
23127 GType arguments get mixed up, see #318447).
23129 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23131 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23133 * gst/gstbin.c: (gst_bin_iterate_sorted):
23134 Pass GType and size arguments to gst_iterator_new() in the right
23135 order (maybe we should make _new() take the GType as first argument
23136 just like _new_list()?) (#318447).
23139 2005-10-10 Wim Taymans <wim@fluendo.com>
23141 * gst/gstelement.c: (gst_element_finalize):
23142 And free the GStaticRecMutex too
23144 2005-10-10 Andy Wingo <wingo@pobox.com>
23146 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23147 Allocate and free the mutex properly.
23149 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23151 (GstElement): The state_lock is now recursive. Rebuild your
23152 plugins, suckers. Old macros adapted.
23154 * docs/gst/gstreamer-sections.txt: Doc updates.
23157 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23158 (g_static_rec_cond_wait): Ported from state changes patch, while
23159 we wait on bug #317802 to be solved in a well-distributed GLib.
23161 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23162 gst_element_change_state, variable name changes.
23163 (gst_element_change_state): Split out of gst_element_set_state in
23164 preparation for the state change merge. Doesn't pay attention to
23165 the 'transition' argument.
23166 (gst_element_set_state): Updates, hopefully purely cosmetic.
23167 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23168 state change patch.
23169 (gst_element_get_state_func): Renamed from get_state, cosmetic
23172 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23174 * gst/elements/gstelements.c:
23175 * win32/GStreamer.vcproj:
23177 * win32/dirent.c: (_tseekdir):
23178 * win32/gst-inspect.vcproj:
23179 * win32/gst-launch.vcproj:
23180 * win32/gstconfig.h:
23181 * win32/gstelements.vcproj:
23182 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23183 * win32/gstreamer.def:
23184 * win32/msvc71.sln:
23185 updates for the win32 build (patch from Sebastien Moutte)
23187 2005-10-10 Andy Wingo <wingo@pobox.com>
23189 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23190 gst_bin_get_state, cleaned up (but no logic changes).
23191 (bin_element_is_sink): Comment updates.
23192 (sink_iterator_filter): Remove needless cast.
23193 (gst_bin_iterate_sinks): Doc update.
23194 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23195 cleaned up (but no logic changes).
23197 * check/states/sinks.c (test_src_sink): Cleanups from the state
23199 (test_livesrc_sink): Sync on the state.
23201 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23202 the state change patch.
23204 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23207 * check/gst/gstbin.c: Merge in some style fixes and additional
23208 checks from Wim's state change patch.
23210 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23212 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23213 (gst_type_find_helper):
23214 Check whether we have the requested data already in our list of
23215 cached buffers before pulling a new buffer; also make the buffer
23216 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23218 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23223 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23224 don't use long long, it's not portable. Replacing with
23225 gint64 seems to work; let's hope no skeletons fall out of the closet.
23227 2005-10-10 Andy Wingo <wingo@pobox.com>
23229 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23231 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23233 * docs/gst/gstreamer-sections.txt:
23238 * gst/gstmessage.c: (gst_message_parse_state_changed):
23241 more docs, fix compilation
23243 2005-10-09 Philippe Khalaf <burger@speedy.org>
23244 * gst/gstmessage.c:
23245 Fixed a few forgotten variables on previous commit
23247 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23249 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23250 Fix evil typefind crasher: getrange() might return a short
23251 buffer at the end of a file, but gst_type_find_peek() must
23252 either return the full data as requested or NULL, but
23253 never a short buffer.
23255 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23257 * gst/gstmessage.c: (gst_message_new_state_changed),
23258 (gst_message_parse_state_changed):
23259 * gst/gstmessage.h:
23260 don't use "new", it's a C++ keyword
23262 2005-10-08 Wim Taymans <wim@fluendo.com>
23264 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23265 * gst/gstelement.c: (gst_element_post_message):
23266 * gst/gstpipeline.c: (gst_pipeline_change_state):
23267 Small docs and debug updates.
23269 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23271 * docs/gst/gstreamer-sections.txt:
23272 * gst/gstelementfactory.c:
23274 * gst/gsttaglist.c:
23277 2005-10-08 Wim Taymans <wim@fluendo.com>
23279 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23280 (gst_bin_dispose), (bin_bus_handler):
23281 Fix typos, add comments.
23282 Clear EOS list when going to PAUSED from any direction and do it
23283 in a threadsafe way.
23284 Get base time in a threadsafe way too.
23285 Fix confusing debug in the change_state function.
23286 Various other small cleanups.
23288 * gst/gstelement.c: (gst_element_post_message):
23289 Fix very verbose bus posting code.
23291 * gst/gstpipeline.c: (gst_pipeline_class_init),
23292 (gst_pipeline_set_property), (gst_pipeline_get_property),
23293 (gst_pipeline_change_state):
23294 Small ARG_ -> PROP_ cleanup
23296 2005-10-08 Wim Taymans <wim@fluendo.com>
23298 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23299 Do a less CPU demanding EOS check because we can.
23301 2005-10-08 Wim Taymans <wim@fluendo.com>
23303 * libs/gst/dataprotocol/dataprotocol.c:
23304 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23305 (gst_dp_packet_from_event):
23306 * libs/gst/dataprotocol/dataprotocol.h:
23307 * libs/gst/dataprotocol/dp-private.h:
23308 It's about time we bump the version number.
23309 Since event types don't fit in the guint8 anymore describing
23310 the payload type, make payload type 16 bits wide.
23312 2005-10-08 Wim Taymans <wim@fluendo.com>
23314 * docs/design/part-TODO.txt:
23315 * docs/design/part-clocks.txt:
23316 * docs/design/part-events.txt:
23317 * docs/design/part-gstbin.txt:
23318 * docs/design/part-gstelement.txt:
23319 * docs/design/part-gstpipeline.txt:
23320 * docs/design/part-live-source.txt:
23321 * docs/design/part-messages.txt:
23322 * docs/design/part-overview.txt:
23323 * docs/design/part-states.txt:
23326 2005-10-08 Wim Taymans <wim@fluendo.com>
23330 Fix event quark registration.
23331 Add some space between events so we can insert them in the
23334 2005-10-08 Wim Taymans <wim@fluendo.com>
23336 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23337 (gst_base_sink_handle_buffer):
23338 Better log message.
23341 * gst/gstelement.h:
23344 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23345 (gst_queue_set_property), (gst_queue_get_property):
23347 Remove old unused properties.
23349 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23350 * docs/gst/gstreamer-sections.txt:
23351 * gst/gstmessage.c:
23352 * gst/gstmessage.h:
23353 * gst/gstminiobject.c:
23354 * gst/gstminiobject.h:
23358 lots of new docs and doc fixes
23360 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23362 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23364 * gst/gstregistry.c: (gst_registry_lookup_locked),
23365 (gst_registry_scan_path_level):
23366 * gst/gstregistryxml.c: (load_plugin):
23367 Only ever load one plugin for a given plugin basename.
23368 This ensures correct overriding of GST_PLUGIN_PATH over
23369 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23370 system installed plugins.
23372 2005-10-08 Wim Taymans <wim@fluendo.com>
23374 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23375 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23376 Prepare for doing QOS.
23378 2005-10-08 Wim Taymans <wim@fluendo.com>
23380 * check/gst/gstbin.c: (GST_START_TEST):
23381 * check/pipelines/cleanup.c: (GST_START_TEST):
23382 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23383 Allow new clock message too.
23385 2005-10-08 Wim Taymans <wim@fluendo.com>
23387 * gst/gstmessage.c: (gst_message_new_error),
23388 (gst_message_new_warning), (gst_message_new_tag),
23389 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23390 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23391 (gst_message_new_segment_start), (gst_message_new_segment_done),
23392 (gst_message_parse_state_changed),
23393 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23394 (gst_message_parse_new_clock):
23395 * gst/gstmessage.h:
23396 Also carry the clock in question.
23398 2005-10-08 Wim Taymans <wim@fluendo.com>
23400 * gst/gstmessage.c: (gst_message_new_custom),
23401 (gst_message_new_eos), (gst_message_new_error),
23402 (gst_message_new_warning), (gst_message_new_tag),
23403 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23404 (gst_message_new_new_clock), (gst_message_new_segment_start),
23405 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23406 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23407 * gst/gstmessage.h:
23409 Added clock related messages.
23411 * gst/gstpipeline.c: (gst_pipeline_change_state):
23412 Post message when the clock changed.
23414 * tools/gst-launch.c: (event_loop):
23417 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23419 * tools/gst-inspect.c: (print_element_properties_info):
23420 Can't pass NULL strings to g_print() on windows.
23422 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23424 * docs/Makefile.am:
23425 * docs/gst/Makefile.am:
23426 * docs/gst/gstreamer-docs.sgml:
23427 * docs/gst/running.xml:
23428 * docs/version.entities.in:
23429 add a chapter on running GStreamer.
23430 document GST_DEBUG and GST_PLUGIN* env vars
23432 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23437 remove PLUGINS_BUILDDIR stuff
23438 * gst/gst.c: (init_post):
23439 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23441 remove, it was condescending and not needed
23443 2005-10-08 Wim Taymans <wim@fluendo.com>
23445 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23446 (gst_base_sink_handle_object), (gst_base_sink_event),
23447 (gst_base_sink_wait), (gst_base_sink_handle_event),
23448 (gst_base_sink_change_state):
23449 * gst/base/gstbasesink.h:
23450 Repost EOS message while going to PLAYING if still EOS.
23451 Make sure that when receiving a FLUSH_START we don't attempt
23452 to sync on the clock anymore.
23454 2005-10-08 Wim Taymans <wim@fluendo.com>
23456 * tools/gst-launch.c: (event_loop):
23457 Better message printout.
23459 2005-10-08 Wim Taymans <wim@fluendo.com>
23461 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23462 (gst_bin_child_proxy_get_children_count):
23463 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23464 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23465 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23466 (gst_child_proxy_set_valist):
23467 * gst/parse/grammar.y:
23468 Make ChildProxy threadsafe and fix mem leaks.
23470 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23472 * gst/gst.c: (init_post):
23473 debug the GST_PLUGIN_ env vars
23475 2005-10-08 Wim Taymans <wim@fluendo.com>
23477 * check/gst/gstbin.c: (GST_START_TEST):
23478 * check/gst/gstmessage.c: (GST_START_TEST):
23479 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23480 * gst/gstelement.c: (gst_element_commit_state),
23481 (gst_element_lost_state):
23482 * gst/gstmessage.c: (gst_message_new_state_changed),
23483 (gst_message_parse_state_changed):
23484 * gst/gstmessage.h:
23485 * tools/gst-launch.c: (event_loop):
23486 Added extra field to STATE_CHANGE message with the pending
23487 state, which will be different from the new state soon.
23489 2005-10-08 Wim Taymans <wim@fluendo.com>
23491 * gst/gstbus.c: (gst_bus_pop):
23493 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23494 Small cleanups and doc updates.
23496 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23498 * gst/gst.c: (init_pre):
23499 * gst/gstbin.c: (gst_bin_add_func):
23500 log distributing clocks and base time
23501 * gst/gstregistry.c: (gst_registry_add_plugin),
23502 (gst_registry_scan_path_level), (gst_registry_scan_path):
23503 clean up the debugging output a little
23504 * gst/gstutils.c: (gst_element_state_get_name):
23505 warn about a memleak (I've actually seen this be used, though
23506 it was probably a bug)
23508 2005-10-07 Wim Taymans <wim@fluendo.com>
23510 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23511 (gst_base_src_init), (gst_base_src_default_newsegment),
23512 (gst_base_src_newsegment), (gst_base_src_do_seek),
23513 (gst_base_src_loop), (gst_base_src_start):
23514 * gst/base/gstbasesrc.h:
23515 Make the newsegment event customizable by subclasses.
23517 2005-10-07 Wim Taymans <wim@fluendo.com>
23519 * gst/gstevent.c: (gst_event_new_buffersize),
23520 (gst_event_parse_buffersize):
23522 New event for future idea.
23524 2005-10-07 Andy Wingo <wingo@pobox.com>
23526 * gst/gstelement.c (gst_element_post_message): Doc update.
23528 * docs/gst/gstreamer-sections.txt: Update.
23530 * gst/gstmessage.c (gst_message_new_application): Made into a
23531 function like honest API calls.
23532 (gst_message_new_element): New message type.
23534 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23536 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23537 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23540 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23541 NO_PREROLL from gst_element_change_state to fall through.
23543 2005-10-07 Wim Taymans <wim@fluendo.com>
23545 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23546 (gst_ghost_pad_do_activate_push):
23547 Activating a ghostpad with no internal pad in push mode
23550 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23553 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23554 Fixes compilation on Windows.
23556 2005-10-07 Michael Smith <msmith@fluendo.com>
23558 * tools/gst-inspect.c:
23559 Print out feature and plugin count at the end when printing out
23562 2005-10-04 Michael Smith <msmith@fluendo.com>
23564 * gst/gsterror.c: (_gst_stream_errors_init):
23565 Add another error string used in a few existing plugins.
23568 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23569 * tools/gst-inspect.c: (print_element_info):
23570 When a feature disappears from a plugin (and the feature exists in
23571 the cached registry file), things went horribly wrong. This isn't a
23572 complete fix, we should actually be removing the 'missing' features
23573 from the features list when we load the actual plugin. That's not
23576 2005-10-04 Johan Dahlin <johan@gnome.org>
23578 * check/gst/gstiterator.c: (GST_START_TEST):
23579 * gst/gstbin.c: (gst_bin_iterate_elements),
23580 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23581 * gst/gstelement.c: (gst_element_iterate_pads):
23582 * gst/gstformat.c: (gst_format_iterate_definitions):
23583 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23584 (gst_iterator_new_list), (gst_iterator_filter):
23585 * gst/gstiterator.h:
23586 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23587 Add a GType to GstIterator, update callsites and tests.
23589 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23591 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23592 give events a chance to be handled by event probes when the pad
23595 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23597 * gst/gstevent.c: (gst_event_type_get_name),
23598 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23600 add string representations for event types
23602 2005-10-06 Wim Taymans <wim@fluendo.com>
23604 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23605 Don't use NULL pointers.
23607 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23609 * gst/gst_private.h:
23611 * gst/gstelement.c:
23613 * gst/gstpluginfeature.c:
23614 widen the debug category in output to fit the biggest one we have
23615 add a bus category and use it
23616 play with the colors
23617 fix up some categories
23619 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23621 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23622 add push activation of sink ghost pads.
23623 Andye, please verify
23625 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23627 * gst/gstutils.c: (gst_element_link_pads):
23628 fix a bug in the case where neither element has a pad
23629 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23630 add a test for that case
23632 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23634 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23635 emit have-data before checking for peers. This allows
23636 for probe handlers to connect elements. This helps autopluggers.
23637 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23639 add six checks, linked/unlinked with no/true/false probe
23641 2005-10-04 Wim Taymans <wim@fluendo.com>
23643 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23644 (gst_fake_sink_event), (gst_fake_sink_preroll),
23645 (gst_fake_sink_render), (gst_fake_sink_change_state):
23646 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23647 (gst_fake_src_get_property), (gst_fake_src_create),
23648 (gst_fake_src_stop):
23649 * gst/elements/gstidentity.c: (gst_identity_stop):
23650 Protect last_message with lock.
23652 2005-10-04 Edward Hervey <edward@fluendo.com>
23655 Added precision in the comments for GST_FORMAT_DEFAULT
23657 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23659 * tools/gst-launch.c: (main):
23660 Don't try to run erroneous pipelines.
23662 2005-10-04 Julien MOUTTE <julien@moutte.net>
23664 * gst/gstbus.c: We don't need this header.
23666 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23669 back to development
23671 === release 0.9.3 ===
23673 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23677 Releasing 0.9.3, "Unregistered"
23679 2005-10-03 Andy Wingo <wingo@pobox.com>
23681 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23682 whereby calling a pad's activatepush() function can start a thread
23683 that starts to push or pull before the pad gets the FLUSHING flag
23684 unset. Hack around it by holding the stream lock until the flag is
23685 set. Need to replace this with a proper solution. Together with
23686 the ghost pad fixes, this fixes mp3 playing/tagreading.
23688 * docs/design/part-gstghostpad.txt: Add a note about activation of
23689 proxy pads outside of ghost pads.
23691 * gst/gstghostpad.c: Implement the ghost pad activation design.
23693 2005-10-02 Andy Wingo <wingo@pobox.com>
23695 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23696 It is volatile, after all.
23698 * docs/design/part-gstghostpad.txt: Flesh out activation with
23701 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23704 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23707 Fix (unused) AM_CONDITIONAL tests.
23709 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23711 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23713 * gst/gstutils.c: (gst_pad_query_convert):
23714 Add assertion that makes sure src_val is >=0, just like
23715 gst_query_new_convert() has. (#315895)
23717 2005-09-30 Edward Hervey <edward@fluendo.com>
23719 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23720 Let's not iterate pads we're not interested in, it avoids getting
23721 sky-high refcounts on sinkpad.
23723 2005-09-30 Wim Taymans <wim@fluendo.com>
23725 * gst/gstelement.c: (gst_element_set_state),
23726 (gst_element_change_state):
23727 Small tweak, element in ASYNC remains ASYNC.
23729 2005-09-30 Wim Taymans <wim@fluendo.com>
23731 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23732 Only error is an error.
23734 * gst/gstbin.c: (gst_bin_change_state):
23737 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23738 Also call pad_block in pad alloc.
23740 * gst/gstutils.c: (gst_flow_get_name):
23743 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23745 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23746 (gst_base_src_get_range):
23747 Fix documentation typos. Add some more debug info.
23749 2005-09-29 David Schleef <ds@schleef.org>
23751 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23752 more end-user friendly.
23753 * tools/gst-inspect.c: (main): Check if command-line argument is
23754 a file and attempt to load that file as a plugin.
23756 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23758 * check/gst/gstbin.c:
23759 * check/states/sinks.c:
23760 fix tests for the new warning
23761 * check/gst/gstpipeline.c:
23762 add a test for pipeline and bus interaction
23763 * gst/gstelement.c:
23764 elements should be NULL if they get disposed; add a warning if not
23766 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23769 for 2.6 refcounting, make debug log more correct by printing
23770 the actual refcounts at the time of swap (Wim)
23772 2005-09-29 Andy Wingo <wingo@pobox.com>
23774 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23775 removes signal watches previously added via
23776 gst_bus_add_signal_watch.
23777 (gst_bus_add_signal_watch): Don't return the source id, just store
23778 it on the bus if there wasn't an id already.
23780 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23781 add_signal_watch and remove_signal_watch.
23783 2005-09-29 Edward Hervey <edward@fluendo.com>
23785 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
23786 Better if we actually iterate the list :)
23788 2005-09-29 Wim Taymans <wim@fluendo.com>
23790 * check/gst/gstbin.c: (GST_START_TEST):
23791 Change for new bus API.
23793 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23794 (send_messages), (GST_START_TEST), (gstbus_suite):
23795 Change for new bus signal API.
23797 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23798 (gst_bus_source_prepare), (gst_bus_source_check),
23799 (gst_bus_create_watch), (gst_bus_add_watch_full),
23800 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23801 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23803 Remove support for multiple GSources operating on different
23804 message types as it is too complex and unneeded when using
23806 Added support for receiving signals from the bus.
23808 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23810 * docs/libs/tmpl/gstdataprotocol.sgml:
23811 * docs/manual/advanced-dataaccess.xml:
23812 * gst/elements/gstcapsfilter.c:
23814 rename filter-caps to caps property
23816 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23818 * gst/gstvalue.c: (gst_value_deserialize_fraction):
23819 More robust fraction string parsing.
23821 * docs/pwg/appendix-porting.xml:
23822 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23824 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23826 * gst/gstcaps.c: (gst_caps_do_simplify):
23827 Thou shalt not free a structure and then continue using it
23828 in the next loop iteration.
23830 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23832 Add test case for caps simplification.
23834 2005-09-29 Wim Taymans <wim@fluendo.com>
23836 * check/gst/gstbin.c: (GST_START_TEST):
23839 2005-09-29 Wim Taymans <wim@fluendo.com>
23841 * check/gst/gstbin.c: (GST_START_TEST):
23844 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23845 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23846 (find_element), (gst_bin_sort_iterator_next),
23847 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23848 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23849 (gst_bin_change_state), (gst_bin_dispose):
23850 A bin does not have a bus, it gets the bus from the parent.
23852 * gst/gstelement.c: (gst_element_requires_clock),
23853 (gst_element_provides_clock), (gst_element_is_indexable),
23854 (gst_element_is_locked_state), (gst_element_change_state),
23855 (gst_element_set_bus_func):
23858 * gst/gstpipeline.c: (gst_pipeline_class_init),
23859 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23860 The pipeline provides a bus.
23862 2005-09-28 Johan Dahlin <johan@gnome.org>
23864 * gst/gstmessage.c (gst_message_parse_state_changed): Use
23865 gst_structure_get_enum instead of gst_structure_get_int
23867 * gst/gststructure.c (gst_structure_get_enum): Impl.
23869 * gst/gststructure.h (gst_structure_get_enum): Add
23871 * docs/gst/gstreamer-sections.txt: Ditto
23873 * gst/gstmessage.c (gst_message_new_state_changed): Use
23874 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23875 which does introspection.
23876 Reviewed by Christian Schaller
23878 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23880 * gst/gstinfo.c: (gst_debug_log_default):
23881 don't do dummy g_strdup()s
23882 * libs/gst/controller/gstcontroller.c:
23883 (on_object_controlled_property_changed),
23884 (gst_controlled_property_new), (gst_controller_new_valist),
23885 (gst_controller_new_list),
23886 (gst_controller_remove_properties_valist), (gst_controller_set),
23887 (gst_controller_get), (gst_controller_sync_values),
23888 (gst_controller_get_value_array), (_gst_controller_class_init),
23889 (gst_controller_get_type):
23890 * libs/gst/controller/gstcontroller.h:
23891 * libs/gst/controller/gstinterpolation.c:
23892 (gst_controlled_property_find_timed_value_node):
23893 convert // to /**/ comments
23895 2005-09-28 Wim Taymans <wim@fluendo.com>
23897 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23898 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23899 (gst_bus_sync_signal_handler):
23901 Added async-message and sync-message signals to the bus.
23902 Added helper BusFunc to emit signals for all posted messages.
23904 * gst/gstmessage.c: (gst_message_type_get_name),
23905 (gst_message_type_to_quark), (gst_message_get_type):
23906 * gst/gstmessage.h:
23907 Register quarks for message names.
23909 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23911 * docs/libs/gstreamer-libs-sections.txt:
23912 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
23913 (gst_controller_new_list):
23914 * libs/gst/controller/gstcontroller.h:
23915 added another constructor for language bindings
23917 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
23919 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23923 * gst/gstinfo.c: (_gst_debug_init):
23924 slightly more readable color for refcount debugging
23926 2005-09-28 Wim Taymans <wim@fluendo.com>
23928 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
23929 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23930 (find_element), (gst_bin_sort_iterator_next),
23931 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23932 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23933 (gst_bin_change_state), (gst_bin_dispose):
23934 Small doc fixes. get_clock -> provide_clock.
23936 * gst/gstelement.c: (gst_element_class_init),
23937 (gst_element_provides_clock), (gst_element_provide_clock),
23938 (gst_element_get_clock), (gst_element_commit_state),
23939 (gst_element_lost_state):
23940 * gst/gstelement.h:
23941 Make get/set_clock() symetric. Add provide_clock vmethod since
23942 that is actually what this function does.
23944 * gst/gstpipeline.c: (gst_pipeline_class_init),
23945 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
23946 (gst_pipeline_get_clock):
23947 get_clock -> provide_clock.
23949 2005-09-28 Andy Wingo <wingo@pobox.com>
23951 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
23952 lieu of real docs...
23954 * gst/elements/gstfdsrc.c: Cleaned up a bit.
23956 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
23958 * gst/elements/gstcapsfilter.c:
23959 * gst/elements/gstfakesink.c:
23960 * gst/elements/gstfakesrc.c:
23961 * gst/elements/gstfdsink.c:
23962 * gst/elements/gstfdsrc.c:
23963 * gst/elements/gstfilesink.c:
23964 * gst/elements/gstfilesrc.c:
23965 * gst/elements/gstidentity.c:
23966 * gst/elements/gsttee.c:
23967 * gst/elements/gsttypefindelement.c:
23968 Make element details static.
23970 2005-09-28 Wim Taymans <wim@fluendo.com>
23972 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23973 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23974 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23975 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23976 (gst_bin_change_state), (gst_bin_dispose):
23977 Some documentation updates.
23978 Clean up dispose handlers.
23980 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
23981 * gst/gstpad.c: (gst_pad_dispose):
23982 Clean up dispose handler.
23984 * gst/gstpipeline.c: (gst_pipeline_change_state):
23985 Removed spurious UNLOCK.
23987 2005-09-27 Stefan Kost <ensonic@users.sf.net>
23989 * docs/gst/gstreamer-sections.txt:
23990 * gst/base/gstbasesrc.h:
23991 * gst/gstelement.h:
23995 * gst/gstpipeline.c:
23996 * gst/gstpipeline.h:
23999 added two new functions to the docs
24000 documents all undocumented GstXXXFlags
24001 completed some incomplete docs
24003 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24005 * gst/gstbin.c: (gst_bin_dispose):
24006 * gst/gstelement.c: (gst_element_dispose):
24007 remove now useless and leaky resurrection code in dispose
24008 * gst/base/gstbasesrc.c: (gst_base_src_init):
24009 * gst/gstelementfactory.c: (gst_element_factory_create):
24010 * gst/gstobject.c: (gst_object_set_parent):
24013 2005-09-27 Wim Taymans <wim@fluendo.com>
24015 * docs/design/part-TODO.txt:
24018 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24019 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24020 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24021 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24022 (gst_bin_change_state):
24023 * gst/gstelement.h:
24024 Remove element variable, we keep element info in the iterator now.
24026 2005-09-27 Andy Wingo <wingo@pobox.com>
24028 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24031 2005-09-27 Wim Taymans <wim@fluendo.com>
24033 * check/gst/gstbin.c: (GST_START_TEST):
24034 Enable check that works now.
24036 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24037 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24038 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24039 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24040 (gst_bin_change_state):
24042 Redid the state change algorithm using a topological sort algo.
24043 Handles all cases correctly.
24044 Exposed iterator for state change order.
24046 * gst/gstelement.h:
24047 Temp storage for state changes. Need to get rid of this soon.
24049 2005-09-27 Wim Taymans <wim@fluendo.com>
24051 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24052 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24053 (link_fold_func), (gst_pad_proxy_setcaps):
24054 Leak fixes, the fold functions need to unref the passed object and
24055 _get_parent_*() returns ref to parent.
24057 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24059 * check/gst/gstbuffer.c: (test_make_writable):
24060 Plug leak in test case and fix 'make check-valgrind'
24062 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24064 * gst/gstbuffer.c: (gst_subbuffer_init):
24065 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24066 works correctly in all circumstances (we could have just copied
24067 the parent buffer's readonly flag, but conceptually it seems
24068 cleaner to mark all subbuffers as read-only). (based on patch
24069 by Alessandro Decina, #314710).
24071 * check/gst/gstbuffer.c: (create_read_only_buffer),
24072 (test_make_writable), (test_subbuffer_make_writable),
24074 Add some tests for gst_buffer_make_writable().
24076 2005-09-27 Wim Taymans <wim@fluendo.com>
24078 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24079 use gst_object_has_ancestor().
24081 * gst/gstobject.c: (gst_object_has_ancestor):
24083 gst_object_has_ancestor() copied from gstbin.c as it is a
24086 * tests/instantiate/create.c: (create_all_elements):
24087 * tests/lat.c: (handoff_src), (handoff_sink):
24088 * tests/sched/runxml.c: (main):
24089 * tests/seeking/seeking1.c: (main):
24090 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24092 Fix compilation of some tests.
24094 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24097 Remove comment. GST_TYPE_G_ERROR is here to stay,
24098 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24099 (#316961, #300610).
24101 2005-09-26 Wim Taymans <wim@fluendo.com>
24103 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24104 Added check that shows error in state change order.
24106 2005-09-26 Wim Taymans <wim@fluendo.com>
24108 * gst/gstbin.c: (gst_bin_change_state):
24109 Make state change function use 3 queues again, we were
24110 adding elements in the wrong order.
24112 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24115 * gst/gstpad.c: (gst_pad_dispose):
24116 Added some debug info first.
24118 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24120 * docs/design/draft-push-pull.txt:
24121 * docs/design/part-events.txt:
24122 * docs/design/part-overview.txt:
24123 * docs/design/part-scheduling.txt:
24124 Replace all _pull_region() with _pull_range()
24126 2005-09-26 Andy Wingo <wingo@pobox.com>
24128 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24130 * check/gst-libs/controller.c: Update for controller api change.
24133 * tests/Makefile.am:
24134 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24135 over by GLib bug 118439.
24137 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24138 routines to a function.
24140 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24142 * libs/gst/controller/gsthelper.c:
24143 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24144 (gst_object_sync_values): Renamed from sink_values. Ugh.
24146 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24148 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24149 Renamed from controller_key, as it is exported.
24151 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24153 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24158 * gst/gstpadtemplate.h:
24161 * gst/gstqueryutils.c:
24162 * gst/gstqueryutils.h:
24163 remove queryutils headers after moving the two used functions
24164 to gstquery. also fixes build problem for gstsiddec
24166 2005-09-26 Michael Smith <msmith@fluendo.com>
24168 * tools/gst-launch.1.in:
24169 Correct documentation in manpage of debug syntax
24171 2005-09-26 Wim Taymans <wim@fluendo.com>
24173 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24174 (gst_base_src_is_seekable), (gst_base_src_change_state):
24175 Some more debugging info.
24177 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24179 * docs/gst/gstreamer-sections.txt:
24180 * gst/base/gstbasetransform.h:
24184 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24186 * docs/gst/.cvsignore:
24187 * docs/gst/tmpl/.cvsignore:
24188 * docs/gst/tmpl/gstpipeline.sgml:
24189 * docs/gst/tmpl/gstplugin.sgml:
24190 * gst/gstpipeline.c:
24193 inlined the last two docs files
24194 removed the tmpl directory from cvs (no more conflicts here!)
24196 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24198 * docs/gst/gstreamer-sections.txt:
24199 * docs/gst/tmpl/.cvsignore:
24200 * docs/gst/tmpl/gstpad.sgml:
24201 * docs/gst/tmpl/gstpadtemplate.sgml:
24203 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24204 (gst_pad_finalize), (gst_pad_set_pad_template):
24206 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24207 (gst_pad_template_class_init), (gst_pad_template_init),
24208 (gst_pad_template_dispose), (name_is_valid),
24209 (gst_static_pad_template_get), (gst_pad_template_new),
24210 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24211 (gst_pad_template_pad_created):
24212 * gst/gstpadtemplate.h:
24213 inlined two more docs
24214 factored gstpadtemplate out of gstpad
24216 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24218 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24219 (test_children_state_change_order_semi_sink):
24220 Fix test case: we can't rely on a fixed state change order when
24221 going from READY => PAUSED because the sink might commit its
24222 new state first when the first buffer created by the source
24223 reaches the sink before the source has finished its change state.
24224 (Test case still fails at times, see #316856, comment 5 onwards)
24226 2005-09-24 Wim Taymans <wim@fluendo.com>
24228 * docs/design/part-events.txt:
24229 * docs/design/part-gstbus.txt:
24230 * docs/design/part-gstpipeline.txt:
24231 * docs/design/part-messages.txt:
24232 * docs/design/part-overview.txt:
24233 * docs/design/part-segments.txt:
24237 * gst/gstelement.c:
24240 * gst/gstiterator.c:
24241 Various documentation updates.
24243 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24246 Well, that's embarassing. Luckily we weren't using
24247 GST_CLOCK_DIFF anywhere.
24249 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24251 * common/gtk-doc.mak:
24252 don't fail on building XML, FC4 slave shows a bunch of doc
24253 missing bits that I don't get
24255 * gst/gstpipeline.c:
24256 * gst/gststructure.c:
24259 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24261 * docs/design/part-gstbin.txt:
24262 * docs/design/part-gstbus.txt:
24264 Add blurb about how the bus goes into flushing mode and
24265 drops all messages when its bin goes from READY into NULL
24268 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24270 * docs/gst/gstreamer-sections.txt:
24271 * gst/gststructure.c: (gst_structure_get_clock_time):
24272 * gst/gststructure.h:
24273 add a method to get a GstClockTime out of a structure
24275 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24277 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24278 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24279 Added test to check state change order in bins (can still be made
24280 to fail here under heavy disk load; bails out with 'Push on pad
24281 fakesink:sink0, but it was not activated in push mode').
24283 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24284 Fix state change order when there is only a semi sink (#316856)
24286 * gst/gstbus.c: (gst_bus_class_init):
24287 Use _class_peek_parent(), not _class_ref(); fix docs to say
24288 'default main context' instead of 'mainloop' where that is
24291 * gst/gstelement.c: (gst_element_commit_state),
24292 (gst_element_set_state):
24293 Fix typos in debug messages
24295 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24298 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24299 * gst/gstpluginfeature.c:
24301 various doc updates
24302 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24303 change an assert into an error until it gets fixed properly
24305 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24307 * docs/gst/gstreamer-sections.txt:
24308 * docs/gst/tmpl/.cvsignore:
24309 * docs/gst/tmpl/gstelement.sgml:
24310 * docs/gst/tmpl/gstinfo.sgml:
24311 * docs/gst/tmpl/gstobject.sgml:
24312 * gst/gstelement.c:
24313 * gst/gstelement.h:
24316 * gst/gstobject.c: (gst_object_class_init):
24318 inlined 3 more biiiig doc files and added some missing docs on the fly
24320 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24322 * check/gst/.cvsignore:
24323 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24324 * gst/gstregistryxml.c: (load_plugin),
24325 (gst_registry_xml_save_plugin):
24326 put back source in registry. add checks for find_plugin.
24327 * testsuite/states/bin.c: (assert_state), (empty_bin),
24328 (test_adding_one_element), (main):
24329 * testsuite/states/locked.c: (main):
24330 some compile/run fixes
24332 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24334 * check/gst/gstvalue.c: (GST_START_TEST):
24335 fix leaks in the test itself
24337 2005-09-22 Wim Taymans <wim@fluendo.com>
24339 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24340 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24341 (gst_base_sink_query):
24342 Prepare for more accurate position reporting and query
24345 * gst/gstelement.c: (gst_element_send_event),
24346 (gst_element_set_state):
24349 2005-09-22 Wim Taymans <wim@fluendo.com>
24351 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24352 (gst_query_parse_segment):
24354 More documentation.
24355 Add segment query for future use.
24357 2005-09-22 Wim Taymans <wim@fluendo.com>
24359 * gst/gstbin.c: (gst_bin_add_func):
24360 Some more debug info.
24362 * gst/gstelement.c: (gst_element_send_event):
24363 Simplify send_event
24365 * gst/gstelement.h:
24366 Don't know how flags got broken.
24371 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24373 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24374 Add simplistic test suite for GST_TYPE_DATE serialisation and
24377 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24379 * docs/gst/gstreamer-sections.txt:
24380 * gst/gststructure.c: (gst_structure_set_valist),
24381 (gst_structure_get_date):
24382 * gst/gststructure.h:
24383 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24384 (gst_date_copy), (gst_value_compare_date),
24385 (gst_value_serialize_date), (gst_value_deserialize_date),
24386 (gst_value_transform_date_string),
24387 (gst_value_transform_string_date), (_gst_value_initialize):
24389 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24390 bunch of utility functions along with a hack that checks that
24391 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24392 is required. Part of the grand scheme in #170777.
24394 2005-09-22 Andy Wingo <wingo@pobox.com>
24396 * gst/gstconfig.h.in: Psych out gtk-doc.
24398 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24400 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24402 * tools/gst-inspect.c (print_element_list): Plug some
24403 inconsequential leaks.
24405 * gst/gstregistry.c (gst_registry_get_default): Doc.
24407 * check/gst/gstplugin.c:
24408 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24409 * gst/gstelementfactory.c (gst_element_factory_create):
24410 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24413 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24414 (gst_plugin_feature_load): Doc, don't eat refs.
24416 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24417 (gst_plugin_list_free): Doc.
24418 (gst_plugin_load_file): Doc updates.
24420 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24421 accessors returning refcounted objects, return a ref.
24423 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24424 accessor for caps. IDEMPOTENCE. Oh yes.
24426 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24428 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24430 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24431 (_gst_debug_register_funcptr):
24432 Add mutex to serialise access to the hash table with
24433 the function pointer => function name string mapping;
24434 make that hash table static scope (#316809).
24436 * gst/registries/.cvsignore:
24437 Remove left-over file.
24439 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24441 * docs/pwg/appendix-porting.xml:
24442 And something about newsegment events and caps-on-buffers to
24443 the porting guide (feel free to improve).
24445 2005-09-21 Andy Wingo <wingo@pobox.com>
24447 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24448 data and event probes on the same pad.
24449 (test_buffer_probe_once): Test that removing probes from within
24450 the probe functions works.
24452 2005-09-21 Andy Wingo <wingo@pobox.com>
24454 * check/gst/gstutils.c: New file.
24455 (test_buffer_probe_n_times): A simple buffer probe test. More to
24458 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24459 have-data::buffer, not have-data.
24460 (gst_pad_add_event_probe): Likewise for have-data::event.
24461 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24462 peer' isn't quite right yet though.
24463 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24464 (gst_pad_remove_data_probe): Change to take the guint handler_id
24465 as their arg, not the function+data, which is more glib-like.
24467 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24468 the signal emission to indicate if the data is a buffer or an
24470 (gst_pad_get_type): Initialize buffer and event quarks.
24471 (gst_pad_class_init): have-data is now a detailed signal, yes it
24474 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24476 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24477 * gst/gstutils.c: (gst_util_set_value_from_string),
24478 (gst_util_set_object_arg):
24479 Don't put functional code in g_return_if_fail() or
24480 g_return_val_if_fail() statements, otherwise things will
24481 break when G_DISABLE_CHECKS is defined during compilation.
24483 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24485 * docs/gst/tmpl/.cvsignore:
24486 * docs/gst/tmpl/gstvalue.sgml:
24489 inlied another one and added some obvious docs
24491 2005-09-21 Wim Taymans <wim@fluendo.com>
24493 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24494 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24495 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24496 (gst_fdsrc_get_property), (gst_fdsrc_create):
24497 * gst/elements/gstfdsrc.h:
24498 Properly implement fdsrc. Removed signal and timeout,
24499 better implemented somewhere else.
24501 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24503 * docs/gst/tmpl/.cvsignore:
24504 * docs/gst/tmpl/gstimplementsinterface.sgml:
24505 * gst/gstinterface.c:
24508 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24510 * docs/gst/gstreamer-sections.txt:
24511 * docs/gst/tmpl/.cvsignore:
24512 * docs/gst/tmpl/gstenumtypes.sgml:
24513 remove obsolete doc file
24515 2005-09-21 David Schleef <ds@schleef.org>
24517 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24518 little beer, fix a little leak.
24520 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24522 * docs/gst/gstreamer-docs.sgml:
24523 * docs/gst/gstreamer-sections.txt:
24524 * docs/gst/tmpl/.cvsignore:
24528 * gst/gstelement.h:
24529 * gst/gstindex.c: (gst_index_class_init):
24531 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24532 (gst_index_factory_class_init), (gst_index_factory_init),
24533 (gst_index_factory_finalize), (gst_index_factory_new),
24534 (gst_index_factory_destroy), (gst_index_factory_find),
24535 (gst_index_factory_create), (gst_index_factory_make):
24536 * gst/gstindexfactory.h:
24537 * gst/gstpluginfeature.c:
24538 * gst/gstpluginfeature.h:
24539 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24540 more docs inlined, splitted gstindex.{c,h}
24542 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24544 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24547 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24549 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24550 Set sync to FALSE by default.
24552 2005-09-20 Wim Taymans <wim@fluendo.com>
24554 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24555 (gst_base_sink_init):
24556 Make sync property settable from subclass.
24558 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24559 (gst_fake_sink_change_state):
24560 Set sync to FALSE by default.
24562 2005-09-20 Wim Taymans <wim@fluendo.com>
24564 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24565 * tools/gst-launch.c: (main):
24566 The timeout handler should have lower priority than the source
24567 so we don't timeout before popping a message with 0 timeout.
24568 Dump error messages after failed state change.
24570 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24572 * tools/gst-inspect.c: (print_element_properties_info):
24575 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24577 * check/gst/gstevent.c:
24578 * gst/elements/gstfakesink.c:
24579 * gst/elements/gstfakesink.h:
24580 remove the sync property from fakesink.
24581 has the side effect of setting sync TRUE
24582 for fakesink, which is a change. Anyone who knows how
24583 to fix this nicely in a GObject-y way, feel free.
24585 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24587 * docs/gst/gstreamer-docs.sgml:
24588 remove probe refsection
24590 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24592 * check/Makefile.am:
24593 disable valgrinding the controller test again
24594 * docs/gst/gstreamer-sections.txt:
24595 update for api-changes
24597 2005-09-20 Wim Taymans <wim@fluendo.com>
24599 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24600 (gst_base_sink_set_property), (gst_base_sink_get_property),
24601 (gst_base_sink_do_sync):
24602 * gst/base/gstbasesink.h:
24603 Added sync property to basesink to disable clock sync.
24605 2005-09-20 Andy Wingo <wingo@pobox.com>
24607 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24608 eating the caller's refcount.
24610 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24611 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24614 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24615 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24616 of GLib 2.8 public, so we can know which refcount to check in
24619 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24620 (gst_object_init): Only set the gst refcount if we're going ahead
24621 with the refcount hack.
24623 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24625 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24626 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24627 more leaks plumbed, added more debug-logging
24631 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24633 * gst/gstmessage.c:
24634 remove include of gstmemchunk.h
24636 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24638 * gst/gstclock.c: (_gst_clock_id_free):
24639 Commit from the Political Party For More Atomic CVS Commits,
24640 so that people don't waste too much of their day fishing
24641 out obvious leaks out of massive commits.
24642 Oh, and fix a pretty damn obvious leak in the memchunk
24645 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24647 * check/Makefile.am:
24648 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24649 plug mem-leak, re-add to valgrindable tests
24651 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24654 unbreak the build for those who have chronic arthritis
24655 and typing "make check" is just too taxing on the hands
24657 2005-09-20 Andy Wingo <wingo@pobox.com>
24659 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24660 really want it out, you should fix plugins at the same time.
24662 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24665 * docs/gst/gstreamer-sections.txt:
24667 added missing symbols to api docs
24668 disable ref-count hack if we have glib >= 2.8
24670 2005-09-19 David Schleef <ds@schleef.org>
24672 * docs/gst/Makefile.am: Ignore a few more internal headers
24673 * docs/gst/gstreamer-docs.sgml: Remove old sections
24674 * docs/gst/gstreamer-sections.txt: Remove old sections
24675 * docs/gst/tmpl/gstobject.sgml: update
24676 * docs/gst/tmpl/gstplugin.sgml: update
24677 * docs/gst/tmpl/gstpluginfeature.sgml: update
24678 * docs/random/ds/0.9-suggested-changes: update.
24679 * gst/Makefile.am: remove memchunk and trashstack, since they're
24681 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24682 * gst/gst.h: don't include some headers
24683 * gst/gstchildproxy.c: add gstmarshal.h
24684 * gst/gstclock.c: Don't use memchunks
24685 * gst/gstminiobject.c: Add some docs
24686 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24687 * gst/gstobject.h: same
24688 * gst/gstplugin.c: include gstmacros.h
24689 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24690 * gst/gstquery.c: don't use memchunks
24691 * gst/gstregistry.c: rename gst_registry_deinit()
24692 * gst/gstregistry.h: same
24694 2005-09-19 David Schleef <ds@schleef.org>
24696 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24697 * docs/libs/gstreamer-libs-sections.txt:
24698 * docs/libs/tmpl/gstgetbits.sgml:
24699 * docs/libs/tmpl/gstputbits.sgml:
24701 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24703 * win32/gstenumtypes.c:
24704 * win32/gstenumtypes.h:
24707 2005-09-19 Wim Taymans <wim@fluendo.com>
24709 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24710 Automatically PAUSE and RESUME a pipeline when a flushing seek
24713 2005-09-19 Andy Wingo <wingo@pobox.com>
24715 * gst/gstregistry.h: Spacing fixen.
24717 2005-09-19 Wim Taymans <wim@fluendo.com>
24719 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24720 Handle state change failure more correctly.
24722 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24724 * check/Makefile.am:
24725 * check/pipelines/cleanup.c: (run_pipeline):
24726 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24728 enable cleanup again after fixing the leak
24730 some more info on docs
24732 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24734 * check/Makefile.am:
24735 re-enable tests now that leaks are plugged
24737 * check/gst/gstbin.c:
24738 * check/gst/gstpipeline.c:
24739 add some more tests while fixing leaks
24740 * common/check.mak:
24741 make sure binaries are uptodate when valgrinding/gdbing
24743 * gst/gstelementfactory.c:
24744 remove a ref too many, and add a FIXME for when we get
24745 round to disposing of classes
24747 fix the refcounting when loading a plugin from a file and
24748 the code pretends that the pointer is the same even though
24749 of course it can change
24750 * gst/gstpluginfeature.c:
24751 unref plugins marked cached (a bit confusing as a name)
24752 as the docs state should be done
24753 various doc additions to explain refcounting
24754 * gst/gstregistry.c:
24755 * gst/gstregistryxml.c:
24758 2005-09-19 Wim Taymans <wim@fluendo.com>
24760 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24761 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24762 (send_messages), (GST_START_TEST), (gstbus_suite):
24763 * check/gst/gstpipeline.c: (GST_START_TEST):
24764 * check/pipelines/cleanup.c: (run_pipeline):
24765 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24767 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24768 (gst_bus_source_check), (gst_bus_source_dispatch),
24769 (gst_bus_create_watch), (gst_bus_add_watch_full),
24770 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24772 * tools/gst-launch.c: (event_loop):
24773 * tools/gst-md5sum.c: (event_loop):
24774 GstBusHandler -> GstBusFunc, return value has the same meaning as
24775 any other GSource (FALSE == remove source).
24776 _add_watch() and _add_watch_full() now take a MessageType mask to
24777 only handle specific types of messages.
24778 _poll() returns the GstMessage instead of the message type to avoid
24780 _have_pending() takes a MessageType mask now too.
24781 Added testsuite for multiple bus watches.
24782 Fix testsuites and applications for new bus API.
24784 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24786 * check/Makefile.am:
24787 mark a bunch of the tests as to fix until we fix them
24789 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24791 * common/check.mak:
24792 use GST_PLUGIN settings for valgrind tests as well, so we're
24793 valgrinding the correct thing
24794 * gst/gst.c: (init_post):
24797 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24799 * gst/gst.c: (init_post), (gst_deinit):
24800 * gst/gstelementfactory.c: (gst_element_factory_class_init),
24801 (gst_element_factory_finalize), (gst_element_factory_cleanup):
24802 * gst/gstindex.c: (gst_index_factory_class_init),
24803 (gst_index_factory_finalize):
24804 * gst/gstobject.c: (gst_object_dispose):
24805 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24806 (gst_plugin_load_file), (gst_plugin_desc_free):
24807 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24808 (gst_plugin_feature_finalize):
24809 * gst/gstregistry.c: (gst_registry_class_init),
24810 (gst_registry_init), (gst_registry_finalize),
24811 (gst_registry_get_default), (gst_registry_deinit):
24812 * gst/gstregistry.h:
24813 * gst/gstregistryxml.c: (load_feature), (load_plugin):
24814 various cleanups and memleak plugging. make valgrind is happy now.
24816 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24818 * common/check.mak:
24819 add a check-valgrind target
24821 2005-09-18 David Schleef <ds@schleef.org>
24823 * tools/gst-inspect.c: Revert the GOption code.
24825 2005-09-17 David Schleef <ds@schleef.org>
24827 * check/Makefile.am: Fix environment variables.
24828 * check/gst/gstplugin.c: Fix for API changes.
24829 * tools/gst-inspect.c: Fix for API changes.
24830 * tools/gst-xmlinspect.c: Fix for API changes.
24831 * gst/gstelementfactory.c:
24834 * gst/gstpluginfeature.c:
24835 * gst/gstpluginfeature.h:
24836 * gst/gstregistry.c:
24837 * gst/gstregistry.h:
24838 * gst/gstregistryxml.c:
24839 * gst/gsttypefind.c:
24840 * gst/gsttypefindfactory.c:
24841 * gst/indexers/gstfileindex.c:
24842 * gst/indexers/gstmemindex.c:
24843 * gst/schedulers/Makefile.am:
24844 Change registry to keep track of both plugins and features,
24845 removing the feature tracking from plugins themselves.
24847 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
24849 * check/Makefile.am:
24850 * tools/gst-register.1.in:
24851 remove gst-register
24853 2005-09-15 David Schleef <ds@schleef.org>
24855 * check/gst/gstplugin.c:
24856 * gst/gstelementfactory.c:
24858 * gst/gstpluginfeature.c:
24859 * gst/gstregistry.c:
24860 Getting tired of debugging. Disabled all the unreffing of
24861 plugins and features, which fixes the segfaults, but of
24862 course leaks like crazy. At least playbin works.
24864 2005-09-15 David Schleef <ds@schleef.org>
24866 * check/gst/gstplugin.c: (register_check_elements),
24867 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24869 * gst/elements/gsttypefindelement.c: Fix refcounting.
24870 * gst/gsttypefind.c:
24871 * gst/gsttypefindfactory.c:
24872 * gst/gsttypefindfactory.h:
24874 2005-09-15 David Schleef <ds@schleef.org>
24876 * gst/gstindex.c: get refcounting correct.
24877 * gst/gstregistry.c: Handle the case where a feature/plugin is
24880 2005-09-15 David Schleef <ds@schleef.org>
24882 * check/Makefile.am:
24883 * check/gst/gstplugin.c: Add test
24884 * gst/gstplugin.c: Fix problems noticed by testsuite
24886 * gst/gstregistry.c:
24887 * gst/gstregistry.h:
24889 2005-09-15 David Schleef <ds@schleef.org>
24891 * gst/gstplugin.c: Implement semi-decent recounting and locking
24892 in plugins and plugin features.
24894 * gst/gstpluginfeature.c:
24895 * gst/gstpluginfeature.h:
24896 * gst/gstregistry.c:
24898 2005-09-15 Michael Smith <msmith@fluendo.com>
24900 * gst/gstregistry.c: (gst_registry_get_feature_list):
24901 Implement this. Makes oggdemux work; decodebin still broken.
24903 2005-09-14 David Schleef <ds@schleef.org>
24905 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24907 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24908 * gst/check/Makefile.am:
24909 * libs/gst/controller/Makefile.am:
24910 * libs/gst/dataprotocol/Makefile.am:
24912 2005-09-14 David Schleef <ds@schleef.org>
24914 * configure.ac: Remove getbits library. Nothing uses it, and
24915 it should be in something like liboil if someone did want
24917 * libs/gst/Makefile.am:
24918 * libs/gst/getbits/Makefile.am:
24919 * libs/gst/getbits/gbtest.c:
24920 * libs/gst/getbits/getbits.c:
24921 * libs/gst/getbits/getbits.h:
24922 * libs/gst/getbits/gstgetbits_generic.c:
24923 * libs/gst/getbits/gstgetbits_i386.s:
24924 * libs/gst/getbits/gstgetbits_inl.h:
24926 2005-09-14 David Schleef <ds@schleef.org>
24928 * gst/Makefile.am: Dist glib-compat.h
24930 2005-09-14 David Schleef <ds@schleef.org>
24932 * configure.ac: Remove gst/registries, since it's no longer used.
24933 * gst/registries/Makefile.am:
24934 * gst/registries/gstlibxmlregistry.c:
24935 * gst/registries/gstlibxmlregistry.h:
24936 * gst/registries/gstxmlregistry.c:
24937 * gst/registries/gstxmlregistry.h:
24938 * gst/registries/registrytest.c:
24940 2005-09-14 David Schleef <ds@schleef.org>
24942 * gst/glib-compat.h:
24943 * gst/gstregistryxml.c:
24944 Convergence is near. Seriously.
24946 2005-09-14 David Schleef <ds@schleef.org>
24948 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24949 * gst/glib-compat.h:
24950 Attempt #4 to appease the buildbots.
24952 2005-09-14 David Schleef <ds@schleef.org>
24954 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24957 2005-09-14 David Schleef <ds@schleef.org>
24959 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24962 2005-09-14 David Schleef <ds@schleef.org>
24964 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
24967 2005-09-14 David Schleef <ds@schleef.org>
24969 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24970 * gst/glib-compat.h: Add some functions that are in newer versions
24971 of glib than we care to require.
24972 * gst/gstregistryxml.c: Use them.
24974 2005-09-14 David Schleef <ds@schleef.org>
24976 * po/POTFILES.in: remove gst-register.c
24978 2005-09-14 David Schleef <ds@schleef.org>
24980 * docs/gst/gstreamer-docs.sgml:
24981 * docs/gst/gstreamer-sections.txt:
24982 * docs/gst/gstreamer.types:
24983 * docs/gst/tmpl/gstelement.sgml:
24984 * docs/gst/tmpl/gstplugin.sgml:
24985 * docs/gst/tmpl/gstpluginfeature.sgml:
24986 Documentation updates for registry changes.
24988 2005-09-14 David Schleef <ds@schleef.org>
24990 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
24991 because we don't require glib-2.8.
24993 2005-09-14 David Schleef <ds@schleef.org>
24995 * gst/gstregistryxml.c: Added. Essentially moved out of the
24996 registries directory.
24998 2005-09-14 David Schleef <ds@schleef.org>
25000 * check/Makefile.am:
25001 * check/generic/states.c:
25005 * gst/gst_private.h:
25006 * gst/gstelementfactory.c:
25011 * gst/gstpluginfeature.c:
25012 * gst/gstpluginfeature.h:
25013 * gst/gstregistry.c:
25014 * gst/gstregistry.h:
25015 * gst/gstregistrypool.c: remove
25016 * gst/gstregistrypool.h: remove
25017 * gst/gsttypefind.c:
25018 * gst/gsttypefindfactory.c:
25020 * tools/Makefile.am:
25021 * tools/gst-compprep.c:
25022 * tools/gst-inspect.c:
25023 * tools/gst-register.c: remove
25024 * tools/gst-xmlinspect.c:
25025 Registry rewrite. Changes registry from being a file created
25026 by a tool into a simple cache file created automatically by
25027 libgstreamer. Removed gst-register (because it's no longer
25028 needed). Remove registry pools, because we only have one
25029 registry implementation (XML). Fix up other subsystems as
25032 2005-09-13 Michael Smith <msmith@fluendo.com>
25034 * gst/gstconfig.h.in:
25035 Don't Use windows linking attributes for MinGW. Fixes #316157
25037 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25039 * gst/gstutils.c: (set_state_async_thread_func),
25040 (gst_element_set_state_async):
25041 Apparently people think it's better if this function doesn't
25042 try to set the state to whatever state was asked for on the first
25043 call to this function for any object. Seriously.
25045 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25047 * check/gst/gstpipeline.c: (GST_START_TEST):
25048 * docs/gst/gstreamer-sections.txt:
25049 * gst/gstutils.c: (set_state_async_thread_func),
25050 (gst_element_set_state_async):
25052 add a "gst_element_set_state_async" method that
25053 sets the state and starts a thread to make sure the state
25054 change completes as best as it can
25056 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25058 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25059 codify design+behaviour in testsuite after discussion
25061 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25063 * docs/gst/tmpl/gstelement.sgml:
25064 * docs/manual/appendix-quotes.xml:
25066 * gst/gstelement.c: (gst_element_set_state):
25069 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25071 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25072 (gst_base_transform_prepare_output_buf),
25073 (gst_base_transform_handle_buffer):
25074 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25075 (gst_capsfilter_prepare_buf):
25076 Remove the requirement for sub-classes to call the parent
25077 implementation of prepare_output_buffer with a wrapper function.
25079 * gst/gsttaglist.h:
25080 * gst/gsttagsetter.h:
25081 Fix #define wrapper
25083 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25085 * docs/gst/gstreamer-sections.txt:
25088 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25090 * docs/gst/gstreamer-sections.txt:
25091 * docs/gst/tmpl/gstelement.sgml:
25092 * docs/gst/tmpl/gstplugin.sgml:
25093 * gst/gstminiobject.c:
25095 docs now stop throwing warnings
25097 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25099 * docs/gst/gstreamer-sections.txt:
25100 * docs/gst/gstreamer.types:
25101 * docs/gst/tmpl/gstpad.sgml:
25102 * docs/gst/tmpl/gsttypes.sgml:
25103 * gst/base/gstadapter.h:
25104 * gst/base/gstbasesink.h:
25105 * gst/base/gstbasesrc.h:
25111 * gst/gstelement.h:
25113 * gst/gstmessage.h:
25115 * gst/gststructure.c:
25116 * gst/registries/gstlibxmlregistry.h:
25117 various documentation fixes
25119 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25121 * docs/gst/gstreamer-sections.txt:
25122 * docs/gst/tmpl/gstvalue.sgml:
25123 rearrange gstvalue section
25124 * gst/gstutils.c: (gst_element_state_get_name):
25126 * gst/gstvalue.c: (_gst_value_initialize):
25130 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25132 * check/gst-libs/controller.c:
25133 Header include fix.
25134 * gst/base/gstbasetransform.c:
25135 (gst_base_transform_default_prepare_buf),
25136 (gst_base_transform_handle_buffer):
25137 * gst/base/gstbasetransform.h:
25138 Some more basetransform changes and fixes to enable sub-classes
25139 that modify buffer metadata only.
25140 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25141 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25142 (gst_capsfilter_prepare_buf):
25143 If the output pad has fixed allowed caps and input buffers
25144 don't have any, set the fixed caps on outgoing buffers.
25146 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25147 * check/elements/identity.c: (GST_START_TEST):
25148 Make the error a little clearer when the test fails because
25149 identity made a copy of the buffer.
25150 * docs/gst/gstreamer-sections.txt:
25151 New symbols in gstbasetransform.h
25152 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25153 (gst_base_transform_init), (gst_base_transform_transform_size),
25154 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25155 (gst_base_transform_default_prepare_buf),
25156 (gst_base_transform_get_unit_size),
25157 (gst_base_transform_buffer_alloc),
25158 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25159 (gst_base_transform_change_state),
25160 (gst_base_transform_set_passthrough),
25161 (gst_base_transform_set_in_place),
25162 (gst_base_transform_is_in_place):
25163 * gst/base/gstbasetransform.h:
25164 Change BaseTransform to separate in_place operate from same_caps
25165 output. in_place implies that the element can perform the transform
25166 on incoming buffers in-place, even if the caps on the output are
25168 Sub-class elements can now implement special buffer allocation
25169 methods for outgoing buffers if they wish to.
25170 Big documentation addition.
25171 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25172 * gst/elements/gstelements.c:
25173 Changes for basetransform modifications.
25174 * gst/elements/Makefile.am:
25175 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25176 Compile fix. Extra debug output.
25178 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25180 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25182 add tests for valid pad naming
25183 * gst/check/gstcheck.c: (gst_check_log_message_func),
25184 (gst_check_log_critical_func):
25186 remove printing of code, it is fragile when the code contains
25187 % and the line number is enough info
25188 * gst/check/gstcheck.h:
25189 * gst/gstpad.c: (gst_pad_template_new):
25192 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25195 say what CHECK flags we use
25196 * docs/libs/gstreamer-libs.types:
25197 * libs/gst/controller/Makefile.am:
25198 * libs/gst/controller/gst-controller.c:
25199 * libs/gst/controller/gst-controller.h:
25200 * libs/gst/controller/gst-helper.c:
25201 * libs/gst/controller/gst-interpolation.c:
25202 * libs/gst/controller/gstcontroller.c:
25203 * libs/gst/controller/gsthelper.c:
25204 * libs/gst/controller/gstinterpolation.c:
25205 * tools/gst-inspect.c: (print_plugin_info):
25206 we don't use dashes in header names
25208 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25210 * check/Makefile.am:
25211 * check/gst/.cvsignore:
25212 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25213 (gst_pipeline_suite), (main):
25214 adding a test for pipelines and state changes
25215 * gst/gstutils.c: (get_state_func):
25217 * gstreamer.spec.in:
25220 2005-09-08 Michael Smith <msmith@fluendo.com>
25222 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25223 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25224 (gst_file_src_is_seekable), (gst_file_src_get_size),
25225 (gst_file_src_start):
25226 * gst/elements/gstfilesrc.h:
25227 Various fixes for unseekable, unmmapable, and non-normal files, so
25228 that fallback to read() rather than mmap() works.
25229 * gst/gstevent.c: (gst_event_new_newsegment):
25230 Allow newsegment events with segment_start == segment_end, as will
25231 correctly happen if you use filesrc on a zero-size file, for
25234 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25236 * gst/gstplugin.c: (gst_plugin_load_file):
25237 Call g_module_close when we don't load the module
25239 * gst/registries/gstlibxmlregistry.c:
25240 (gst_xml_registry_get_property):
25241 Port leak fix from 0.8
25243 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25245 * docs/gst/gstreamer-docs.sgml:
25246 * docs/gst/tmpl/.cvsignore:
25247 * docs/gst/tmpl/gsttrace.sgml:
25248 * docs/gst/tmpl/gsttrashstack.sgml:
25251 * gst/gstelement.h:
25253 * gst/gstmessage.c:
25254 * gst/gstmessage.h:
25257 * gst/gsttaginterface.c:
25258 * gst/gsttaginterface.h:
25259 * gst/gsttaglist.c:
25260 * gst/gsttaglist.h:
25261 * gst/gsttagsetter.c:
25262 * gst/gsttagsetter.h:
25265 * gst/gsttrashstack.c:
25266 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25267 inlined docs for gsttrace, gsttrashstack
25269 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25272 * gst/elements/gstbufferstore.h:
25273 * gst/elements/gsttypefindelement.c:
25274 * gst/elements/gsttypefindelement.h:
25276 * gst/gsttypefind.c:
25277 * gst/gsttypefind.h:
25278 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25279 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25280 (gst_type_find_factory_dispose),
25281 (gst_type_find_factory_unload_thyself),
25282 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25283 (gst_type_find_factory_get_caps),
25284 (gst_type_find_factory_get_extensions),
25285 (gst_type_find_factory_call_function):
25286 * gst/gsttypefindfactory.h:
25287 * gst/registries/gstlibxmlregistry.c:
25288 * gst/registries/gstxmlregistry.c:
25289 splitted gsttypefind into gsttypefind, gsttypefindfactory
25291 2005-09-07 Andy Wingo <wingo@pobox.com>
25293 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25294 condition whereby the pad's task function is entered before the
25295 pad_mode variable was set.
25297 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25299 * gst/gstpad.c: (gst_pad_alloc_buffer):
25300 Catch misbehaving pad_alloc functions that don't
25301 set up caps and do it for them.
25303 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25305 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25306 test for pipe!=NULL
25307 * docs/gst/tmpl/.cvsignore:
25308 * docs/gst/tmpl/gstmemchunk.sgml:
25309 * docs/gst/tmpl/gstparse.sgml:
25310 * docs/gst/tmpl/gsttaglist.sgml:
25311 * docs/gst/tmpl/gsttagsetter.sgml:
25312 * docs/gst/tmpl/gsttypefind.sgml:
25313 * docs/gst/tmpl/gsttypefindfactory.sgml:
25314 * gst/gstmemchunk.c:
25317 * gst/gsttaginterface.c:
25318 * gst/gsttypefind.c:
25319 * gst/gsttypefind.h:
25322 === release 0.9.2 ===
25324 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25329 releasing 0.9.2, "South"
25331 2005-09-05 Andy Wingo <wingo@pobox.com>
25333 * gst/registries/gstxmlregistry.h:
25334 * gst/registries/gstxmlregistry.c: Um... resurrect...
25336 * gst/registries/gstxmlregistry.h:
25337 * gst/registries/gstxmlregistry.c: and update to newer API.
25338 Incidentally they should be a bit faster now that they don't have
25341 2005-09-05 Andy Wingo <wingo@pobox.com>
25343 * gst/registries/gstxmlregistry.h:
25344 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25345 replaced by the libxml registry a while back
25347 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25349 * docs/gst/tmpl/gstplugin.sgml:
25350 * gst/elements/gstelements.c:
25352 * gst/gstplugin.c: (gst_plugin_register_func),
25353 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25354 (gst_plugin_get_source):
25356 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25357 (gst_xml_registry_save_plugin):
25358 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25359 (gst_xml_registry_save_plugin):
25360 * tools/gst-inspect.c: (print_plugin_info):
25361 add a "source" plugin description field, to represent the source
25362 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25363 will set it to PACKAGE, which is automake's idea of the name of
25364 the source project.
25366 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25371 * docs/Makefile.am:
25372 * docs/faq/Makefile.am:
25373 * docs/gst/tmpl/gstelement.sgml:
25374 * docs/gst/tmpl/gsttypes.sgml:
25375 * docs/htmlinstall.mak:
25376 * docs/manual/Makefile.am:
25377 * docs/pwg/Makefile.am:
25378 reorganize doc build a little
25379 split out docbook and gtk-doc stuff
25380 have two separate --enable's and enable them through autogen
25381 but disable by default in configure (to be similar to other
25383 * gstreamer.spec.in:
25384 clean up docs install
25402 translation updates
25404 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25406 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25409 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25410 (gst_fake_sink_change_state):
25411 Make state change function thread-safe.
25413 * gst/gstpad.c: (gst_pad_alloc_buffer):
25414 Set offset on generic buffer allocated by fallback.
25416 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25418 * docs/gst/gstreamer-sections.txt:
25419 * docs/gst/tmpl/gstelement.sgml:
25421 * libs/gst/controller/gst-controller.c:
25422 (gst_controlled_property_set_interpolation_mode),
25423 (gst_controlled_property_new),
25424 (gst_controller_find_controlled_property):
25425 run the wingo-magic script against the docs
25427 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25429 * docs/gst/gstreamer-docs.sgml:
25430 * docs/gst/gstreamer-sections.txt:
25431 * docs/gst/tmpl/.cvsignore:
25432 * docs/gst/tmpl/gstelementdetails.sgml:
25433 * docs/gst/tmpl/gstelementfactory.sgml:
25436 * gst/gstelementfactory.c:
25437 * gst/gstelementfactory.h:
25438 merged elementdetails docs into elementfactory docs
25441 2005-09-02 Andy Wingo <wingo@pobox.com>
25443 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25444 consider this enum an enum and not a flags.
25446 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25448 * docs/gst/gstreamer-docs.sgml:
25449 * docs/gst/tmpl/.cvsignore:
25450 * docs/gst/tmpl/gstghostpad.sgml:
25451 * docs/gst/tmpl/gstiterator.sgml:
25452 * docs/gst/tmpl/gstmacros.sgml:
25453 * docs/gst/tmpl/gstrealpad.sgml:
25454 * docs/gst/tmpl/gstregistry.sgml:
25455 * docs/gst/tmpl/gstregistrypool.sgml:
25456 * docs/gst/tmpl/gststructure.sgml:
25457 * docs/gst/tmpl/gstsystemclock.sgml:
25458 * docs/gst/tmpl/gsttrace.sgml:
25459 * gst/gstghostpad.c:
25461 * gst/gstmemchunk.c:
25462 * gst/gstmemchunk.h:
25464 * gst/gstregistry.c:
25465 * gst/gstregistrypool.c:
25466 * gst/gststructure.c:
25467 * gst/gstsystemclock.c:
25470 2005-09-02 Andy Wingo <wingo@pobox.com>
25472 * gst/gstelement.h (GstState): Renamed from GstElementState,
25473 changed to be a normal enum instead of flags.
25474 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25475 munged to be GST_STATE_CHANGE_*.
25476 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25477 work with the new state representation.
25478 (GstStateChange): New enumeration of possible state transitions.
25479 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25480 (GstElementClass::change_state): Pass the GstStateChange along as
25481 an argument. Helps language bindings, so they don't have to use
25482 tricky lock-needing macros like GST_STATE_CHANGE ().
25484 * scripts/update-states (file): New script. Run it on a file to
25485 update it for state naming and API changes. Updates files in
25488 * All files updated for the new API.
25490 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25492 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25493 * gst/gstutils.c: (gst_util_set_value_from_string),
25494 (gst_util_set_object_arg):
25495 fix a bunch of unchecked return values
25496 * tools/gst-complete.c: (main):
25497 * gstreamer.spec.in:
25500 2005-09-01 Wim Taymans <wim@fluendo.com>
25502 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25503 (gst_base_sink_event), (gst_base_sink_do_sync),
25504 (gst_base_sink_handle_event):
25505 * gst/base/gstbasesink.h:
25506 Handle newsegments more correctly.
25511 * gst/gstevent.c: (gst_event_new_newsegment):
25512 A newsegment cannot have a start_time of -1
25514 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25516 * win32/gstenumtypes.c:
25517 * win32/gstenumtypes.h:
25520 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25522 * libs/gst/controller/gst-controller.c:
25523 (gst_controlled_property_set_interpolation_mode),
25524 (gst_controlled_property_new):
25525 fixed boolean again
25527 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25529 * docs/faq/gst-uninstalled:
25534 * gst/gstutils.c: (gst_element_link_filtered):
25536 add gst_element_link_filtered
25538 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25540 * docs/gst/gstreamer-docs.sgml:
25541 * docs/gst/gstreamer-sections.txt:
25542 * docs/gst/tmpl/.cvsignore:
25543 * docs/gst/tmpl/gsterror.sgml:
25544 * docs/gst/tmpl/gstfilter.sgml:
25545 * docs/gst/tmpl/gsturihandler.sgml:
25546 * docs/gst/tmpl/gsturitype.sgml:
25547 * docs/gst/tmpl/gstutils.sgml:
25548 * docs/gst/tmpl/gstxml.sgml:
25553 * gst/gsturitype.c:
25556 inlined more docs, fixed double id-ref
25558 2005-08-31 Wim Taymans <wim@fluendo.com>
25560 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25561 (gst_base_transform_handle_buffer):
25562 Passthrough elements don't need the caps as they don't care.
25564 2005-08-31 Wim Taymans <wim@fluendo.com>
25566 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25567 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25568 Don't leak refcounts on buffers.
25570 2005-08-31 Wim Taymans <wim@fluendo.com>
25572 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25573 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25574 (gst_base_transform_chain), (gst_base_transform_change_state):
25575 * gst/base/gstbasetransform.h:
25576 Handle the case where we are not negotiated more gracefully.
25578 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25580 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25581 (gst_file_src_map_region):
25582 Set READONLY flag on mmap'ed buffers, otherwise
25583 gst_buffer_make_writable() won't work properly (#314708).
25585 2005-08-31 Wim Taymans <wim@fluendo.com>
25587 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25588 passthrough elements can even do inplace on non writable
25589 buffers (as they don't touch them).
25591 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25593 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25594 (gst_test_mono_source_set_property),
25595 (gst_test_mono_source_class_init), (GST_START_TEST),
25596 (gst_controller_suite):
25597 more tests (hehe I have the most)
25599 describe popping messages whenusing mulltiple sources
25600 * libs/gst/controller/gst-controller.c:
25601 (gst_controlled_property_set_interpolation_mode),
25602 (gst_controlled_property_new):
25603 * libs/gst/controller/gst-controller.h:
25604 * libs/gst/controller/gst-interpolation.c:
25605 implement boolean properties
25607 2005-08-31 Wim Taymans <wim@fluendo.com>
25609 * gst/gstminiobject.c: (gst_mini_object_ref):
25610 Cannot assert that the refcount has to be positive
25611 since a disposed object can be resurrected.
25613 2005-08-31 Wim Taymans <wim@fluendo.com>
25615 * gst/gstpad.c: (gst_pad_init):
25616 Revert change, need to first fix badly behaving
25619 2005-08-30 Wim Taymans <wim@fluendo.com>
25621 * check/elements/fakesrc.c: (setup_fakesrc):
25622 * check/elements/identity.c: (setup_identity):
25623 Activate pads before using them.
25625 2005-08-30 Wim Taymans <wim@fluendo.com>
25627 * gst/base/gstadapter.c: (gst_adapter_flush):
25628 Flushing out 0 bytes is ok for this function.
25630 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25631 no newsegment gives a warning and sets the start/stop to
25634 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25635 (gst_base_transform_set_passthrough):
25638 * gst/gstminiobject.c: (gst_mini_object_ref):
25639 Check refcount here too.
25641 * gst/gstpad.c: (gst_pad_init):
25642 Pads are initially flushing and refusing data.
25644 * gst/gstutils.c: (gst_element_link_pads_filtered):
25645 When adding a capsfilter element make sure it has the
25646 same state as the parent bin.
25648 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25650 * docs/gst/tmpl/.cvsignore:
25651 * docs/gst/tmpl/gstformat.sgml:
25652 * docs/gst/tmpl/gstversion.sgml:
25656 * gst/gstversion.h.in:
25657 more docs and two more inlined
25659 2005-08-30 Wim Taymans <wim@fluendo.com>
25661 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25662 Don't sync to clock.
25664 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25666 * docs/gst/gstreamer-sections.txt:
25667 ultral33t func10ns deserve to appear in the docs actually
25668 * docs/gst/tmpl/.cvsignore:
25669 * docs/gst/tmpl/gstcompat.sgml:
25670 * docs/gst/tmpl/gstconfig.sgml:
25671 * gst/check/gstcheck.c:
25673 * gst/gstconfig.h.in:
25676 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25678 * docs/gst/tmpl/.cvsignore:
25679 * docs/gst/tmpl/gstquery.sgml:
25680 * docs/gst/tmpl/gstutils.sgml:
25683 inlined and extended docs
25685 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25687 * check/gst-libs/controller.c: (GST_START_TEST),
25688 (gst_controller_suite):
25690 * docs/gst/tmpl/gstutils.sgml:
25691 * docs/libs/gstreamer-libs-sections.txt:
25692 * docs/libs/tmpl/gstdataprotocol.sgml:
25694 * examples/controller/audio-example.c: (main):
25695 controller example works now
25698 * tools/gst-inspect.c: (print_element_properties_info):
25699 show param spec flags
25701 2005-08-29 Andy Wingo <wingo@pobox.com>
25703 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25705 2005-08-28 Andy Wingo <wingo@pobox.com>
25707 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25708 as having two arguments instead of just one. Allows superclasses
25709 to access information on subclasses -- see the terrible for() loop
25710 in gtype.c:g_type_create_instance for the reason why. All callers
25713 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25715 * docs/design/part-messages.txt:
25717 * docs/gst/tmpl/.cvsignore:
25718 * docs/gst/tmpl/gstcaps.sgml:
25719 * docs/gst/tmpl/gstclock.sgml:
25725 * gst/gstmessage.c:
25726 added descriptions for bus and message
25727 inline caps and clock docs
25729 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25731 * gst/gstmessage.c:
25732 * gst/gstmessage.h:
25735 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25737 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25740 2005-08-26 Andy Wingo <wingo@pobox.com>
25742 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25743 element_set_state's return val.
25744 (test_2_elements): Add test that's been disabled for months.
25746 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25747 can-activate-pull properties.
25749 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25750 can-activate-pull properties. Implement is_seekable so fakesrc can
25751 operate in pull mode.
25753 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25755 (gst_base_sink_activate, gst_base_sink_activate_pull)
25756 (gst_base_sink_activate_push): Make activation mode choosing work.
25758 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25759 is right. Make pull mode work. Post an eos before pausing in pull
25761 (gst_base_sink_change_state): Pay attention to the core's
25762 change_state() return val.
25764 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25765 has-getrange properties. Cleanups.
25767 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25768 has_getrange and replace with can_activate_pull and
25771 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25772 locking comments. Remove has_loop, has_chain and replace with
25773 can_activate_pull and can_activate_push.
25775 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
25778 * examples/Makefile.am:
25779 * examples/metadata/Makefile.am:
25780 * examples/metadata/read-metadata.c: (message_loop),
25781 (have_pad_handler), (make_pipeline), (print_tag), (main):
25782 Add metadata reading example that loops over a list of filenames,
25783 dumping any tags found.
25785 * gst/gstbus.c: (gst_bus_dispose):
25786 * gst/gstelement.c: (gst_element_dispose):
25787 Release a few potentially-held references in dispose.
25789 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25791 * docs/gst/tmpl/gstminiobject.sgml:
25792 do *not* add tmpl/*.sgml files to CVS!
25794 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25796 * libs/gst/bytestream/.cvsignore:
25797 * libs/gst/bytestream/Makefile.am:
25798 * libs/gst/bytestream/adapter.c:
25799 * libs/gst/bytestream/adapter.h:
25800 * libs/gst/bytestream/bytestream.c:
25801 * libs/gst/bytestream/bytestream.h:
25802 * libs/gst/bytestream/filepad.c:
25803 * libs/gst/bytestream/filepad.h:
25804 removing obsolete files
25806 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25808 * docs/gst/gstreamer-docs.sgml:
25809 * docs/libs/gstreamer-libs-docs.sgml:
25810 disabed additional index entries again, as this makes docs-gen just
25811 slow and they aren't useful yet
25812 * docs/libs/gstreamer-libs-sections.txt:
25813 little -section.txt cleanup for libs
25815 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
25817 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25818 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25819 fix up some debugging
25820 (gst_base_transform_get_unit_size),
25821 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25822 (gst_base_transform_handle_buffer):
25823 * gst/base/gstbasetransform.h:
25824 handle and store timed NEWSEGMENT events so that subclasses that
25825 calculate time by counting samples have a segment_start time they
25826 need to add to their timestamps - see audioresample
25828 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25831 removed ';' from the end of macro defs
25832 * docs/gst/gstreamer-docs.sgml:
25833 * docs/gst/gstreamer-sections.txt:
25834 * docs/gst/tmpl/.cvsignore:
25836 * gst/gstelement.c: (gst_element_class_init),
25837 (gst_element_set_state), (activate_pads),
25838 (gst_element_save_thyself):
25839 * gst/gstevent.c: (gst_event_new_newsegment):
25841 * gst/gstiterator.c:
25842 * gst/gstiterator.h:
25845 * gst/gstutils.c: (gst_pad_query_convert):
25847 fixed parameter name mismatches between source, header and docs
25848 added some more docs, resolved the last batch of unused elements in
25849 docs (now someone needs to doc them)
25851 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25853 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25854 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25855 don't walk through the plugins backwards. Where is all this
25856 reversed logic coming from ?
25858 2005-08-25 Wim Taymans <wim@fluendo.com>
25860 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25861 (gst_base_transform_transform_size),
25862 (gst_base_transform_configure_caps),
25863 (gst_base_transform_get_unit_size),
25864 (gst_base_transform_buffer_alloc),
25865 (gst_base_transform_change_state):
25866 * gst/base/gstbasetransform.h:
25867 Cache caps unit_size.
25868 Make sure we cannot negotiate up and downstream at the
25871 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25873 * gst/gst.c: (init_pre), (init_post):
25874 register the installed plugin path after the env var
25875 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
25876 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
25877 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
25878 directories, so the tests can prefer uninstalled over installed
25880 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25882 * gst/base/gstbasetransform.h:
25887 2005-08-25 Wim Taymans <wim@fluendo.com>
25889 * gst/gstbin.c: (bin_bus_handler):
25890 Be a bit more conservative about the posted message.
25892 * gst/gstbus.c: (gst_bus_post):
25893 Some cleanups, warn wrong return values.
25895 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
25897 * check/gst/gstbin.c: (GST_START_TEST):
25898 * gst/gstbin.c: (bin_bus_handler):
25899 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25900 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25901 (gst_message_new_warning), (gst_message_new_tag),
25902 (gst_message_new_state_changed), (gst_message_new_segment_start),
25903 (gst_message_new_segment_done), (gst_message_new_custom):
25904 * gst/gstmessage.h:
25905 * tools/gst-launch.c: (event_loop):
25906 * tools/gst-md5sum.c: (event_loop):
25907 Revert unpopular change for GST_MESSAGE_SRC to GObject.
25909 2005-08-25 Wim Taymans <wim@fluendo.com>
25911 * check/generic/states.c: (GST_START_TEST):
25912 Cleanup can be done at the end.
25914 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
25915 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25916 (gst_task_get_state), (gst_task_start), (gst_task_pause):
25917 Oh boy.. Thanks for finding this, Thomas.
25919 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25921 * docs/gst/gstreamer.types:
25922 added missing types
25924 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25926 * docs/gst/gstreamer-docs.sgml:
25927 * docs/gst/gstreamer-sections.txt:
25928 * docs/gst/tmpl/.cvsignore:
25930 * gst/gstiterator.c:
25932 * gst/registries/gstxmlregistry.h:
25933 added missing classes and symbols (123 more to go)
25934 removed removed symbols from section file
25935 fixed many doc-comments
25937 2005-08-24 Wim Taymans <wim@fluendo.com>
25939 * check/generic/states.c: (GST_START_TEST):
25940 Make sure all tasks are stopped.
25942 * check/gst/gstbin.c: (GST_START_TEST):
25943 Unref after usage for proper valgrinding.
25945 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
25946 Really wait for the task to stop before destroying the
25949 * gst/gstqueue.c: (gst_queue_sink_activate_push),
25950 (gst_queue_src_activate_push):
25951 Small cleanups. Don't stop the task when we did not start
25954 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
25955 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25956 (gst_task_get_state), (gst_task_start), (gst_task_pause),
25959 Protect the stream lock with the object lock.
25960 Disallow setting the stream lock when running.
25961 Add cleanup_all to wait for the threadpool to finish.
25962 Remove code to autoallocate a mutex if none was provided.
25963 Add _join() to wait for a task to stop.
25964 Protect the thread pool with a global lock.
25966 2005-08-24 Wim Taymans <wim@fluendo.com>
25968 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25969 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25970 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
25971 * gst/base/gstbasesink.h:
25972 Handle newsegment events correctly.
25973 Drop buffers out of the segment range.
25975 2005-08-22 Andy Wingo <wingo@pobox.com>
25977 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
25978 macro, implements an interface and gstimplementsinterface for a
25981 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
25983 * check/Makefile.am:
25984 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
25985 add a test that does a bunch of state changes on elements
25986 needs some fixing for valgrind
25987 * check/states/sinks.c: (gst_object_suite):
25990 add prototype for gst_caps_is_equal_fixed
25992 * gst/gstregistrypool.c:
25995 2005-08-24 Andy Wingo <wingo@pobox.com>
25997 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
25998 convert a negative value. Doesn't make much sense. Mostly this is
25999 here to force callers to ensure -1 maps to -1.
26001 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26003 * docs/pwg/advanced-types.xml:
26004 Well done to Michael for catching my deliberate introduction
26005 of this spelling mistake.
26006 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26007 * gst/gstelement.h:
26008 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26009 unlink pads before removing the element from the bin.
26011 2005-08-24 Andy Wingo <wingo@pobox.com>
26013 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26014 the same thing as GST_DEBUG=*:4.
26015 (parse_debug_level, parse_debug_category): New helper parsers.
26017 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26019 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26020 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26021 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26022 (gst_base_transform_buffer_alloc),
26023 (gst_base_transform_handle_buffer):
26024 use gboolean return values and pointers to size so we can use the
26025 full GST_BUFFER_SIZE range (guint) for buffer sizes
26026 use GstPadDirection for transform_caps
26027 * gst/base/gstbasetransform.h:
26028 rename get_size to get_unit_size since that's what it is
26029 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26030 use GstPadDirection for transform_caps
26031 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26033 cleanup and debugging
26035 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26037 * gst/gstelement.c: (gst_element_class_init),
26038 (gst_element_set_state), (activate_pads),
26039 (gst_element_save_thyself):
26040 * tools/gst-compprep.c: (main):
26041 * tools/gst-inspect.c: (print_element_properties_info):
26042 * tools/gst-xmlinspect.c: (print_element_properties):
26043 Fixed long standing mem-leak
26045 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26047 * check/gst/gstbin.c: (GST_START_TEST):
26048 * gst/gstbin.c: (bin_bus_handler):
26049 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26050 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26051 (gst_message_new_warning), (gst_message_new_tag),
26052 (gst_message_new_state_changed), (gst_message_new_segment_start),
26053 (gst_message_new_segment_done), (gst_message_new_custom):
26054 * gst/gstmessage.h:
26055 * tools/gst-launch.c: (event_loop):
26056 * tools/gst-md5sum.c: (event_loop):
26057 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26058 that applications can sensibly post custom messages with references
26059 to their own objects.
26061 2005-08-24 Andy Wingo <wingo@pobox.com>
26063 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26066 2005-08-24 Wim Taymans <wim@fluendo.com>
26068 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26069 (gst_base_transform_transform_caps),
26070 (gst_base_transform_transform_size),
26071 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26072 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26073 (gst_base_transform_handle_buffer):
26074 * gst/base/gstbasetransform.h:
26075 Many fixes and new features added by Thomas. Can now also do
26076 transforms with variable sizes and a custom fixate_caps function.
26078 2005-08-24 Wim Taymans <wim@fluendo.com>
26080 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26084 Cast to ClockTime before formatting to time.
26089 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26091 * check/gst-libs/controller.c: (GST_START_TEST),
26092 (gst_controller_suite):
26093 * docs/gst/tmpl/gstcaps.sgml:
26094 * docs/gst/tmpl/gstghostpad.sgml:
26095 * docs/gst/tmpl/gstquery.sgml:
26096 * docs/gst/tmpl/gstutils.sgml:
26097 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26098 (gst_object_sink_values), (gst_object_get_value_arrays),
26099 (gst_object_get_value_array):
26100 gracefully handle helper method calls to objects that are not beeing
26101 controlled, added test case for that
26103 2005-08-23 Wim Taymans <wim@fluendo.com>
26105 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26106 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26107 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26108 (gst_event_parse_qos), (gst_event_new_seek),
26109 (gst_event_parse_seek):
26111 Some more debugging output and doc cleanups.
26113 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26114 Fix possible deadlock.
26116 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26118 * docs/gst/gstreamer-docs.sgml:
26119 * docs/gst/gstreamer-sections.txt:
26120 * docs/gst/gstreamer.types:
26121 * docs/gst/tmpl/.cvsignore:
26124 * gst/gstelement.c:
26126 added 100 symbols from gstreamer-unused.txt to the right sections
26127 fixed more broken comments
26128 added GstBus to docs
26130 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26132 * docs/gst/gstreamer-sections.txt:
26133 * docs/gst/tmpl/.cvsignore:
26134 * docs/gst/tmpl/gstbin.sgml:
26135 * docs/gst/tmpl/gstbuffer.sgml:
26136 * gst/base/gstbasesrc.c:
26137 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26140 * tools/gst-launch.1.in:
26141 inlined more doc comments, added missing comments and fixed comments
26144 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26146 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26150 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26152 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26153 * gst/gststructure.h:
26154 add a fixate function for booleans; add a FIXME that these func
26155 names should probably be gst_structure_fixate_*
26157 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26159 * docs/gst/gstreamer-docs.sgml:
26160 * docs/gst/gstreamer-sections.txt:
26162 * gst/gstbin.c: (gst_bin_get_type),
26163 (gst_bin_child_proxy_get_child_by_index),
26164 (gst_bin_child_proxy_get_children_count),
26165 (gst_bin_child_proxy_init):
26166 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26167 (gst_child_proxy_get_child_by_index),
26168 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26169 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26170 (gst_child_proxy_get), (gst_child_proxy_set_property),
26171 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26172 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26173 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26174 * gst/gstchildproxy.h:
26175 * gst/parse/grammar.y:
26176 * tools/gst-inspect.c: (print_interfaces),
26177 (print_element_properties_info), (print_element_info):
26178 ported gstchildproxy over from 0.8
26179 ported gst-inspect fixes and enhancements over from 0.8
26181 2005-08-22 Wim Taymans <wim@fluendo.com>
26183 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26184 (gst_base_transform_handle_buffer):
26185 Also call the transform function if we have ANY caps.
26187 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26190 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26192 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26193 Don't pretend to handle seek events if the source is not seekable
26195 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26197 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26198 Remove extra parameter to debug output
26200 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26201 (gst_base_src_do_seek), (gst_base_src_activate_push):
26202 Fix seek event handling.
26204 * gst/gstpipeline.c: (gst_pipeline_change_state):
26205 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26206 (gst_queue_src_activate_push):
26207 Don't start the src pad task on FLUSH_STOP if the pad
26211 2005-08-22 Wim Taymans <wim@fluendo.com>
26213 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26214 Added check for gst_static_caps_get() refcounting.
26216 2005-08-22 Wim Taymans <wim@fluendo.com>
26218 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26219 Make _static_caps_get() refcounting sane.
26221 * gst/gstelement.c: (gst_element_set_state):
26222 Add g_return_val_if_fail() to protect against segfaults.
26224 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26226 * docs/gst/tmpl/gstevent.sgml:
26229 inlined remaining docs, added missing doc comments
26231 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26233 * check/gst/gstbin.c: (GST_START_TEST):
26234 since we don't know when preroll is done, use refcount range
26236 * gst/check/gstcheck.h:
26237 add macro for checking refcount range
26239 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26241 * check/Makefile.am:
26242 clean up environment for when registry gets built versus
26243 when actual tests are run; valgrind seems to not report
26244 leaks if GST_PLUGIN_PATH is set to some specific values
26245 * check/gst/gstbin.c: (GST_START_TEST):
26246 add more refcounting checks; maybe this exposes a
26248 * common/check.mak:
26249 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26250 * gst/check/gstcheck.h:
26251 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26252 (gst_bin_change_state):
26253 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26254 add/fix debugging/whitespace
26256 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26258 * check/gst/gstevent.c: (event_probe), (test_event),
26260 Er, don't call gst_bin_watch_for_state_change you idiot.
26262 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26264 * check/Makefile.am:
26265 Use CHECK_CFLAGS and CHECK_LIBS
26266 * check/gst/gstevent.c: (event_probe), (test_event),
26269 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26270 (gst_base_src_start), (gst_base_src_stop),
26271 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26272 (gst_base_src_change_state):
26273 Sprinkle gst_base_src_stop liberally around error paths to fix
26274 problems reusing a source after failed state changes.
26275 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26276 (helper_find_suggest), (gst_type_find_helper):
26277 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26279 * docs/gst/tmpl/gstevent.sgml:
26280 Migrate part of the docs from the SGML file. Wait for ensonic to
26281 tell me how I did it wrong ;)
26282 * tools/gst-typefind.c: (main):
26283 Extra robustness to state changes between files.
26285 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26287 * check/Makefile.am:
26288 don't valgrind the controller test - it's leaking - Stefan, HELP
26289 * gst/check/gstcheck.c: (gst_check_message_error),
26290 (gst_check_chain_func), (gst_check_setup_element),
26291 (gst_check_teardown_element), (gst_check_setup_src_pad),
26292 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26293 (gst_check_teardown_sink_pad):
26294 * gst/check/gstcheck.h:
26295 add a bunch of methods to set up elements, and src and sink pads
26296 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26297 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26300 * gst/gstmessage.c:
26302 whitespace/doc fixes
26304 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26306 * gst/gstelement.h:
26307 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26308 be handled by the application and not always printed as well
26310 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26312 * check/Makefile.am:
26314 * gst/check/gstcheck.c: (gst_check_message_error):
26315 * gst/check/gstcheck.h:
26316 add a fail_unless_equals_int
26317 add fail_unless for error messages
26319 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26321 * check/Makefile.am:
26323 * common/Makefile.am:
26324 * common/check.mak:
26326 factor out some of the common stuff so we can use it
26328 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26330 * check/Makefile.am:
26331 * check/gst/gstiterator.c: (GST_START_TEST):
26332 * check/gst/gstsystemclock.c: (GST_START_TEST),
26333 (gst_systemclock_suite):
26334 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26336 valgrind more tests
26338 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26340 * check/elements/.cvsignore:
26341 * check/elements/gstfakesrc.c:
26342 rename to name of element
26343 * check/elements/identity.c: (chain_func), (event_func),
26344 (setup_identity), (cleanup_identity), (GST_START_TEST),
26345 (identity_suite), (main):
26346 add a test for identity
26347 * check/Makefile.am:
26348 * pkgconfig/Makefile.am:
26349 * pkgconfig/gstreamer-check.pc.in:
26350 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26354 move the check stuff to a library that gets installed
26355 * check/gst-libs/controller.c: (GST_START_TEST):
26356 * check/gst-libs/gdp.c:
26357 * check/gst/gst.c: (GST_START_TEST):
26358 * check/gst/gstbin.c:
26359 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26360 * check/gst/gstbus.c:
26361 * check/gst/gstcaps.c: (GST_START_TEST):
26362 * check/gst/gstelement.c:
26363 * check/gst/gstghostpad.c:
26364 * check/gst/gstiterator.c:
26365 * check/gst/gstmessage.c:
26366 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26367 * check/gst/gstobject.c:
26368 * check/gst/gstpad.c: (GST_START_TEST):
26369 * check/gst/gststructure.c: (GST_START_TEST):
26370 * check/gst/gstsystemclock.c: (GST_START_TEST),
26371 (gst_systemclock_suite):
26372 * check/gst/gsttag.c: (gst_tag_suite):
26373 * check/gst/gstvalue.c:
26374 * check/pipelines/cleanup.c:
26375 * check/pipelines/simple_launch_lines.c:
26376 * check/states/sinks.c:
26377 change include statement
26379 * docs/gst/gstreamer-sections.txt:
26380 * docs/gst/tmpl/gstpad.sgml:
26381 document more pad stuff
26382 * gst/gstminiobject.c: (gst_mini_object_ref),
26383 (gst_mini_object_unref):
26386 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26388 * docs/gst/tmpl/gst.sgml:
26390 eliminate another tmpl file, fix spelling in the long-description
26392 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26394 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26395 (test_event), (timediff), (gstevents_suite):
26396 Should fix build on 64-bit arch's
26398 2005-08-18 Andy Wingo <wingo@pobox.com>
26400 Make sure that when a pipeline goes to PLAYING, that data has
26401 actually hit the sink.
26403 * check/states/sinks.c (test_sink): A sink that doesn't get any
26404 data shouldn't return SUCCESS for going to either PLAYING or
26405 PAUSED. Test also the return values on the way back down.
26407 * gst/gstelement.c (gst_element_set_state): When changing the
26408 state of an element currently changing state asynchronously, go to
26409 lost-state after commiting the pending state. Makes future calls
26410 to get_state continue to return ASYNC.
26412 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26413 ASYNC when going to PLAYING if we still don't have preroll, as can
26414 happen with live sources.
26416 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26418 * docs/pwg/advanced-types.xml:
26419 Hack long paragraph into 2 chunks as a workaround for buggy
26420 jadetex version in sid and breezy that loops infinitely and
26423 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26425 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26426 (test_event), (timediff), (gstevents_suite):
26427 Provide more error margin in clock measurements to allow for
26428 g_get_current_time inaccuracies.
26430 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26432 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26433 (test_event), (timediff), (gstevents_suite):
26434 Fix error message output so I might be able to tell why the
26435 test works here but fails on the build farm.
26437 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26439 * check/Makefile.am:
26440 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26441 (test_event), (timediff), (gstevents_suite), (main):
26444 * docs/design/part-seeking.txt:
26445 Spelling correction
26447 * docs/gst/tmpl/gstevent.sgml:
26448 * docs/gst/tmpl/gstfakesrc.sgml:
26451 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26452 Treat a buffer-without-newsegment the same as a receiving
26453 a newsegment not in time format, and disable syncing to the clock
26456 * gst/gstbus.c: (gst_bus_set_sync_handler):
26457 Assert if anyone tries to replace the existing sync_handler for bus,
26458 as only the owner should be setting it.
26461 Have a fixed set of custom event enums with events identified by
26462 their structure name (as in 0.8), rather than a free-for-all
26463 allowing collisions between enum values from different plugins.
26465 * gst/gstpad.c: (gst_pad_class_init):
26468 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26469 Handle out-of-band downstream events from the sending thread.
26471 2005-08-17 Andy Wingo <wingo@pobox.com>
26473 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26474 play-timeout==0 to mean no timeout at all. In that case, don't
26475 bother with a get_state or a warning, just return directly, even
26478 * gst/base/gstbasetransform.c: Debug changes.
26481 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26482 ensure bins post state change messages. A bit of a hack but I can't
26483 think of a way to avoid it.
26485 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26487 2005-08-16 Andy Wingo <wingo@pobox.com>
26489 * gst/base/gstadapter.h:
26490 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26491 peek() but you own the data. Not terribly efficient atm.
26493 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26495 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26496 (gst_element_found_tags):
26498 Add two utility functions for tag handling.
26500 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26502 * docs/manual/advanced-dataaccess.xml:
26503 * docs/manual/basics-helloworld.xml:
26504 Fix docs to use _bin_add() before _link(), which fixes the examples
26505 with recent core versions (reported by Madhan Raj M
26506 <raj_madan@rediffmail.com>, #313199).
26508 2005-08-16 Wim Taymans <wim@fluendo.com>
26510 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26511 Added subtract checks.
26513 * docs/design/part-events.txt:
26514 Some more docs about newsegment
26516 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26519 * gst/gstcaps.c: (gst_caps_to_string):
26520 Add comments, cleanups.
26522 * gst/gstelement.c: (gst_element_save_thyself):
26525 * gst/gstvalue.c: (gst_value_collect_int_range),
26526 (gst_string_unwrap), (gst_value_union_int_int_range),
26527 (gst_value_union_int_range_int_range),
26528 (gst_value_intersect_int_int_range),
26529 (gst_value_intersect_int_range_int_range),
26530 (gst_value_intersect_double_double_range),
26531 (gst_value_intersect_double_range_double_range),
26532 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26533 (gst_value_subtract_int_range_int),
26534 (gst_value_subtract_double_range_double),
26535 (gst_value_subtract_double_range_double_range),
26536 (gst_value_subtract_from_list), (gst_value_subtract_list),
26537 (gst_value_can_compare), (gst_value_compare_fraction):
26538 Cleanups, add comments, remove unneeded asserts.
26540 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26542 * tools/gst-launch.c: (event_loop):
26543 don't convert NULL structures to strings
26545 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26547 * docs/gst/gstreamer-sections.txt:
26548 made some defines private
26549 * docs/gst/tmpl/gstconfig.sgml:
26550 * docs/gst/tmpl/gstqueue.sgml:
26551 * docs/gst/tmpl/gsttaglist.sgml:
26552 * docs/gst/tmpl/gsttypes.sgml:
26553 * docs/gst/tmpl/gstutils.sgml:
26554 * docs/pwg/appendix-porting.xml:
26555 * gst/base/gstbasesink.h:
26556 * gst/base/gstbasesrc.c:
26557 * gst/base/gstbasesrc.h:
26558 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26559 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26560 * gst/gstelement.c: (gst_element_class_init):
26561 * gst/gstpad.c: (gst_pad_class_init):
26562 * gst/gstqueue.c: (gst_queue_class_init):
26563 * gst/gstxml.c: (gst_xml_class_init):
26564 documented all undocumented signal inline
26565 * libs/gst/controller/gst-controller.h:
26568 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26570 * docs/pwg/appendix-porting.xml:
26571 Document _set_link_function -> _set_setcaps_function.
26573 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26575 * check/Makefile.am:
26576 add a .check target for running the check
26577 * check/gst-libs/controller.c: (GST_START_TEST):
26579 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26580 complete checks for gstbuffer; would be nice if I could get the
26581 gcov stuff to work so I can see if I actually completed gstbuffer.c
26582 * check/gstcheck.h:
26583 add ASSERT_BUFFER_REFCOUNT
26585 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26587 * docs/gst/gstreamer-sections.txt:
26588 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26590 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26591 spew out a warning if a tag that is already registered
26592 is re-registered, unless it is re-registered with a
26593 different type (#308438).
26595 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26597 * docs/pwg/appendix-porting.xml:
26598 * docs/pwg/building-state.xml:
26599 Add some paragraphs about state changes in 0.9 to the PWG
26600 and the porting guide, in particular about the new meaning
26601 of GST_STATE_PAUSED and how to write state change functions
26602 with concurrent access by multiple threads in mind.
26604 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26606 * docs/gst/gstreamer-docs.sgml:
26607 * docs/libs/gstreamer-libs-docs.sgml:
26608 added deprecation and since indexes
26609 * libs/gst/controller/gst-controller.c:
26610 * libs/gst/controller/gst-helper.c:
26614 2005-08-11 Wim Taymans <wim@fluendo.com>
26616 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26617 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26618 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26619 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26620 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26621 (gst_ghost_pad_set_target):
26622 Actually implement (re)setting the target on a ghostpad
26623 as described in the docs.
26625 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26627 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26628 Check whether GST_DEBUG_NO_COLOR environment variable is
26629 set and disable coloured debug output if that is the case.
26631 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26633 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26634 (gst_type_find_helper):
26635 The memory returned by gst_type_find_peek() needs to
26636 stay valid until the end of a typefind function, and
26637 typefind functions may keep results from different
26638 offsets around, so we can't just unref the buffer from
26639 the previous _peek(), but have to save all buffers
26640 returned by _peek() until typefinding is done and only
26643 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26645 * docs/gst/gstreamer-sections.txt:
26647 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26649 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26651 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26652 Fix a pretty good memleak.
26654 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26656 * gst/gstiterator.h:
26657 Fix wrong include and 'make distcheck'.
26659 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26661 * gst/gstbin.c: (bin_bus_handler):
26662 Use gst_element_post_message() instead.
26664 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26666 * gst/base/gstadapter.h:
26667 * gst/base/gstbasesink.h:
26668 * gst/base/gstbasesrc.h:
26669 * gst/base/gstbasetransform.h:
26670 * gst/base/gstcollectpads.h:
26671 * gst/base/gstpushsrc.h:
26672 * gst/gstiterator.h:
26673 Add padding to our base elements' class and instance structs and
26674 to GstIterator (you will need to rebuild all plugins and apps!)
26676 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26678 * gst/gstbin.c: (bin_bus_handler):
26679 Make default message forwarding from child->bus to bin->bus
26680 threadsafe and make it not emit warnings if the parent has no bus.
26682 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26684 * gst/gstelement.c: (activate_pads):
26685 On paused->ready, set pad->caps to NULL, as is the documented
26686 behaviour in this state change. Fixes playback of series of
26687 media files when visualization is enabled in Totem.
26689 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26691 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26692 Allow NULL as filter-caps (which means "any").
26694 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26696 * docs/libs/gstreamer-libs-sections.txt:
26697 * libs/gst/controller/gst-controller.c:
26698 * libs/gst/controller/gst-controller.h:
26699 * libs/gst/controller/gst-helper.c:
26700 adding more entries to the docs and fix small doc-bugs
26702 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26704 * docs/gst/gstreamer-docs.sgml:
26705 * docs/gst/gstreamer-sections.txt:
26706 * docs/gst/gstreamer.types:
26707 * docs/gst/tmpl/gstbasesink.sgml:
26708 * docs/gst/tmpl/gstbasesrc.sgml:
26709 * docs/gst/tmpl/gstbasetransform.sgml:
26710 * docs/gst/tmpl/gstfakesrc.sgml:
26711 * gst/base/gstcollectpads.c:
26712 * gst/base/gstcollectpads.h:
26713 * libs/gst/controller/gst-controller.c:
26714 * libs/gst/controller/gst-controller.h:
26715 * libs/gst/controller/gst-helper.c:
26716 * libs/gst/controller/gst-interpolation.c:
26717 * libs/gst/controller/lib.c:
26718 added long/short desc for controller docs
26719 added collectpads base class docs
26720 added correct includes to base-class docs
26722 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26724 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26725 (gst_test_mono_source_set_property),
26726 (gst_test_mono_source_class_init), (GST_START_TEST),
26727 (gst_controller_suite):
26728 * docs/gst/gstreamer-docs.sgml:
26729 * docs/gst/gstreamer-sections.txt:
26730 * docs/gst/gstreamer.types:
26731 * docs/libs/gstreamer-libs-docs.sgml:
26732 * docs/libs/gstreamer-libs-sections.txt:
26733 * gst/base/gstadapter.c:
26734 * libs/gst/controller/gst-controller.c:
26735 (gst_controlled_property_new), (gst_controlled_property_free),
26736 (gst_controller_new_valist),
26737 (gst_controller_remove_properties_valist),
26738 (gst_controller_sink_values), (_gst_controller_finalize):
26739 * libs/gst/controller/gst-controller.h:
26740 * libs/gst/controller/gst-helper.c:
26741 (gst_object_control_properties), (gst_object_uncontrol_properties),
26742 (gst_object_get_controller), (gst_object_set_controller),
26743 (gst_object_sink_values), (gst_object_get_value_arrays),
26744 (gst_object_get_value_array):
26745 more tests (and fixes) for the controller
26746 more docs for the controller
26747 integrated companies docs for the adapter
26749 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26751 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26752 (GST_START_TEST), (fakesrc_suite):
26753 add tests for sizetype
26755 2005-08-04 Andy Wingo <wingo@pobox.com>
26757 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26758 fixes buffer_alloc proxying among other things.
26760 * gst/base/gstbasetransform.c:
26761 * gst/base/gstbasetransform.h:
26762 Revert patch to gstbasetransform from 7-28 removing
26765 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26766 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26767 Semantics changed, should return not the size of the output buffer
26768 but the byte size of a buffer with a given caps.
26770 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26772 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26773 out) are not the pad caps until setcaps finishes.
26774 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26775 not-in-place case as well. Deal with changing from in-place to
26776 not-in-place within calling pad_alloc_buffer. Still a bit
26777 concerned about the overhead here...
26779 2005-08-03 Andy Wingo <wingo@pobox.com>
26781 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26782 fixating is an error.
26784 2005-08-04 Edward Hervey <edward@fluendo.com>
26786 * gst/base/gstadapter.h:
26787 Added gst_adapter_get_type() to the header
26789 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26791 * check/Makefile.am:
26792 * check/gst-libs/controller.c:
26793 * libs/gst/controller/gst-controller.c:
26794 (gst_controller_new_valist):
26795 added check test suite for the controller
26796 * gst/base/gstpushsrc.c:
26799 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26801 * docs/gst/Makefile.am:
26802 * docs/gst/gstreamer-docs.sgml:
26803 * docs/gst/gstreamer-sections.txt:
26804 * docs/gst/gstreamer.types:
26805 * docs/gst/tmpl/gstfakesrc.sgml:
26807 * gst/base/gstbasesink.c:
26808 * gst/base/gstbasesink.h:
26809 * gst/base/gstbasesrc.c:
26810 * gst/base/gstbasesrc.h:
26811 * gst/base/gstbasetransform.c:
26812 * gst/base/gstpushsrc.c:
26813 * gst/base/gstpushsrc.h:
26814 add short/long description docs to base classes
26815 add pushsrc to the docs
26816 remove consolidated doc fragments
26818 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26821 * docs/libs/Makefile.am:
26822 * docs/libs/gstreamer-libs-docs.sgml:
26823 * docs/libs/gstreamer-libs-sections.txt:
26824 * docs/libs/gstreamer-libs.types:
26825 * examples/Makefile.am:
26826 * examples/controller/.cvsignore:
26827 * examples/controller/Makefile.am:
26828 * examples/controller/audio-example.c: (main):
26829 * libs/gst/Makefile.am:
26830 * libs/gst/controller/.cvsignore:
26831 * libs/gst/controller/Makefile.am:
26832 * libs/gst/controller/gst-controller.c:
26833 (on_object_controlled_property_changed), (gst_timed_value_compare),
26834 (gst_timed_value_find),
26835 (gst_controlled_property_set_interpolation_mode),
26836 (gst_controlled_property_new), (gst_controlled_property_free),
26837 (gst_controller_find_controlled_property),
26838 (gst_controller_new_valist), (gst_controller_new),
26839 (gst_controller_remove_properties_valist),
26840 (gst_controller_remove_properties), (gst_controller_set),
26841 (gst_controller_set_from_list), (gst_controller_unset),
26842 (gst_controller_get), (gst_controller_get_all),
26843 (gst_controller_sink_values), (gst_controller_get_value_arrays),
26844 (gst_controller_get_value_array),
26845 (gst_controller_set_interpolation_mode),
26846 (_gst_controller_finalize), (_gst_controller_init),
26847 (_gst_controller_class_init), (gst_controller_get_type):
26848 * libs/gst/controller/gst-controller.h:
26849 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26850 (g_object_uncontrol_properties), (g_object_get_controller),
26851 (g_object_set_controller), (g_object_sink_values),
26852 (g_object_get_value_arrays), (g_object_get_value_array):
26853 * libs/gst/controller/gst-interpolation.c:
26854 (gst_controlled_property_find_timed_value_node),
26855 (interpolate_none_get), (interpolate_trigger_get),
26856 (interpolate_trigger_get_value_array):
26857 * libs/gst/controller/lib.c: (gst_controller_init):
26858 * pkgconfig/Makefile.am:
26859 * pkgconfig/gstreamer-control-uninstalled.pc.in:
26860 * pkgconfig/gstreamer-control.pc.in:
26861 * testsuite/Makefile.am:
26862 * testsuite/controller/.cvsignore:
26863 * testsuite/controller/Makefile.am:
26864 * testsuite/controller/interpolator.c: (main):
26865 added controller code
26866 removed dparam pc files
26868 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26869 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26870 (gst_collectpads_stop):
26871 Broadcast the condition when shutting down, to make sure we wake all
26872 threads up. Shut down pads on finalize, for safety.
26874 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26875 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26876 (gst_base_transform_handle_buffer),
26877 (gst_base_transform_change_state):
26878 Handle PAUSED->READY->PAUSED transition after negotiation
26880 * gst/gstmessage.c: (gst_message_init):
26881 Extra piece of debug for new messages.
26883 2005-08-01 Stefan Kost <ensonic@users.sf.net>
26886 * docs/gst/tmpl/gstbasesrc.sgml:
26887 * docs/gst/tmpl/gstelement.sgml:
26888 * docs/gst/tmpl/gstevent.sgml:
26889 * docs/gst/tmpl/gstfakesrc.sgml:
26890 * docs/gst/tmpl/gstformat.sgml:
26891 * docs/gst/tmpl/gstghostpad.sgml:
26892 * docs/gst/tmpl/gstpad.sgml:
26893 * docs/gst/tmpl/gstquery.sgml:
26894 * docs/gst/tmpl/gststructure.sgml:
26895 * docs/gst/tmpl/gsttaglist.sgml:
26896 * docs/gst/tmpl/gstvalue.sgml:
26897 * docs/libs/gstreamer-libs-docs.sgml:
26898 * docs/libs/gstreamer-libs-sections.txt:
26899 * docs/libs/gstreamer-libs.types:
26900 * libs/gst/Makefile.am:
26901 * libs/gst/control/.cvsignore:
26902 * libs/gst/control/Makefile.am:
26903 * libs/gst/control/control.c:
26904 * libs/gst/control/control.h:
26905 * libs/gst/control/dparam.c:
26906 * libs/gst/control/dparam.h:
26907 * libs/gst/control/dparam_smooth.c:
26908 * libs/gst/control/dparam_smooth.h:
26909 * libs/gst/control/dparamcommon.h:
26910 * libs/gst/control/dparammanager.c:
26911 * libs/gst/control/dparammanager.h:
26912 * libs/gst/control/dplinearinterp.c:
26913 * libs/gst/control/dplinearinterp.h:
26914 * libs/gst/control/unitconvert.c:
26915 * libs/gst/control/unitconvert.h:
26916 * testsuite/Makefile.am:
26917 * testsuite/dynparams/.cvsignore:
26918 * testsuite/dynparams/Makefile.am:
26919 * testsuite/dynparams/dparamstest.c:
26920 * tools/Makefile.am:
26921 * tools/gst-inspect.c: (print_element_info), (main):
26922 * tools/gst-xmlinspect.c: (print_element_info), (main):
26923 deactivate and remove dparams (libgstcontrol)
26925 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26927 * gst/elements/gsttypefindelement.c:
26928 (gst_type_find_element_have_type), (gst_type_find_element_init),
26929 (stop_typefinding), (gst_type_find_element_handle_event),
26930 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26931 * gst/elements/gsttypefindelement.h:
26932 Set caps on all outgoing buffers, not just the first one.
26934 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26936 * gst/elements/gsttypefindelement.c:
26937 (gst_type_find_element_have_type),
26938 (gst_type_find_element_check_set_buffer_caps),
26939 (gst_type_find_element_init), (stop_typefinding),
26940 (gst_type_find_element_handle_event),
26941 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26942 * gst/elements/gsttypefindelement.h:
26943 Set caps on first outgoing buffer when we've found the type.
26945 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26947 * docs/gst/gstreamer-docs.sgml:
26948 * docs/gst/gstreamer-sections.txt:
26949 * docs/gst/tmpl/gstscheduler.sgml:
26950 * docs/gst/tmpl/gstschedulerfactory.sgml:
26951 Remove some old cruft from docs.
26953 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
26956 Fix inline docs for GstPadLinkReturn.
26958 * gst/gststructure.c: (gst_structure_has_name):
26959 * gst/gststructure.h:
26960 * docs/gst/gstreamer-sections.txt:
26961 New API: gst_structure_has_name().
26963 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
26966 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
26967 and _LARGEFILE_SOURCE in config.h as required. Do not
26968 export those flags in our .pc files any longer (#142209).
26970 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
26972 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
26973 (gst_file_sink_do_seek), (gst_file_sink_event),
26974 (gst_file_sink_get_current_offset), (gst_file_sink_render):
26975 Redo seek/tell calls with large file support in mind; add some
26976 debugging messages; add log message that tells us when large
26977 file support is unavailable or not enabled for some reason.
26979 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
26980 Add log message that tells us when large file support
26981 is unavailable or not enabled for some reason.
26983 2005-07-29 Wim Taymans <wim@fluendo.com>
26985 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
26986 Added test for removing an element with ghostpad from a bin.
26987 Fixed test as current implementation does the right thing.
26989 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
26990 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
26991 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
26992 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
26993 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
26994 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
26995 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
26996 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26997 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
26998 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
26999 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27000 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27001 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27002 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27003 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27004 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27005 * gst/gstghostpad.h:
27006 Clean up ghostpads, remove properties for internal stuff.
27009 Prepare for switching targets, not all use cases work yet.
27011 2005-07-29 Wim Taymans <wim@fluendo.com>
27013 * docs/design/part-gstghostpad.txt:
27016 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27017 (gst_bin_remove_func):
27018 Unlinking pads while holding the bin LOCK is not a good
27021 * gst/gstpad.c: (gst_pad_class_init),
27022 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27023 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27024 No prob setting template after creating the pad.
27026 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27028 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27029 (gst_bus_peek), (gst_bus_source_dispatch),
27030 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27031 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27032 gst_bus_poll may be called from other threads. Handle
27033 this nicely by not making poll_data disappear off the
27034 stack once gst_bus_poll returns.
27035 gst_bus_peek now increments the refcount on the returned
27038 2005-07-29 Wim Taymans <wim@fluendo.com>
27040 * docs/design/part-gstghostpad.txt:
27041 Overview of current GhostPad datastructures and use
27042 cases for changing the target.
27044 2005-07-28 Wim Taymans <wim@fluendo.com>
27046 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27047 Added checks for hierarchy consistency whan adding linked
27050 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27051 Added check to test element scheduling without bin/pipeline.
27053 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27054 First add elements to bin, then link.
27056 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27057 (gst_bin_remove_func):
27058 Unlink pads from elements added/removed from bin to maintain
27059 hierarchy consistency.
27061 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27063 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27064 (gst_base_transform_handle_buffer):
27065 * gst/base/gstbasetransform.h:
27066 Remove broken delay_configure (fixes renegotiation of software
27067 scaling pipelines); remove some leftover printf()s.
27069 2005-07-28 Wim Taymans <wim@fluendo.com>
27071 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27072 Added some more tests for wrong hierarchy
27074 * docs/design/part-overview.txt:
27077 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27080 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27081 (gst_element_dispose):
27082 Some more cleanups.
27084 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27085 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27086 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27087 (gst_pad_set_caps), (gst_pad_send_event):
27088 Check for correct hierarchy when linking pads. Moving to
27089 strict requirement for ghostpads when linking elements in
27093 Clean ups. Added WRONG_HIERARCHY return value.
27095 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27097 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27098 Better debug if no transform is possible.
27100 2005-07-27 Wim Taymans <wim@fluendo.com>
27102 * docs/random/wtay/network-transp:
27103 Some old doc I had.
27105 2005-07-27 Wim Taymans <wim@fluendo.com>
27107 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27108 (gst_dp_event_from_packet):
27109 Fix serialization of seek events.
27111 2005-07-27 Wim Taymans <wim@fluendo.com>
27113 * check/gst-libs/gdp.c: (GST_START_TEST):
27114 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27115 Fix compilation and fix event serialization.
27117 2005-07-27 Wim Taymans <wim@fluendo.com>
27120 * docs/design/part-TODO.txt:
27121 * docs/design/part-events.txt:
27124 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27125 (gst_base_sink_event), (gst_base_sink_do_sync),
27126 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27127 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27128 (gst_base_src_do_seek), (gst_base_src_event_handler),
27129 (gst_base_src_loop):
27130 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27131 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27132 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27133 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27134 (gst_base_transform_set_passthrough),
27135 (gst_base_transform_is_passthrough):
27136 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27137 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27143 * gst/gstelement.c: (gst_element_seek):
27144 * gst/gstelement.h:
27145 Update gst_element_seek.
27147 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27148 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27149 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27150 (gst_event_new_eos), (gst_event_new_newsegment),
27151 (gst_event_parse_newsegment), (gst_event_new_tag),
27152 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27153 (gst_event_parse_qos), (gst_event_new_seek),
27154 (gst_event_parse_seek), (gst_event_new_navigation):
27156 Make GstEvent use GstStructure. Add parsing code, make sure the
27157 API is sufficiently generic.
27158 Mark possible directions of events and serialization.
27160 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27161 (_gst_message_copy), (gst_message_new_segment_start),
27162 (gst_message_new_segment_done), (gst_message_new_custom),
27163 (gst_message_parse_segment_start),
27164 (gst_message_parse_segment_done):
27167 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27168 (gst_pad_set_caps), (gst_pad_send_event):
27169 Update for new events.
27170 Catch events sent in wrong directions.
27172 * gst/gstqueue.c: (gst_queue_link_src),
27173 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27174 (gst_queue_handle_src_query):
27179 Remove event code from this file.
27181 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27182 (gst_dp_event_from_packet):
27185 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27187 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27188 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27189 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27190 Make debugging actually useful.
27192 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27194 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27195 (gst_pad_fixate_caps):
27196 Implement default fixation once again, so that gst_pad_fixate()
27197 actually does anything at all. This probably needs to be some
27198 sort of a last resort, and use profile-based fixation first, but
27199 since that doesn't exist yet, this is the best we have. Fixes
27200 visualization in Totem.
27202 2005-07-22 Wim Taymans <wim@fluendo.com>
27204 * docs/design/part-events.txt:
27207 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27208 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27209 (gst_base_sink_activate_pull):
27210 Some more comments.
27212 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27213 (gst_fake_src_create):
27214 Fix handoff marshall.
27216 * gst/elements/gstidentity.c: (gst_identity_class_init),
27217 (gst_identity_transform_ip):
27218 We're a real inplace element.
27220 * gst/gstbus.c: (gst_bus_post):
27221 Added some comments.
27223 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27224 * tests/muxing/case1.c: (main):
27225 * tests/sched/dynamic-pipeline.c: (main):
27226 * tests/sched/interrupt1.c: (main):
27227 * tests/sched/interrupt2.c: (main):
27228 * tests/sched/interrupt3.c: (main):
27229 * tests/sched/runxml.c: (main):
27230 * tests/sched/sched-stress.c: (main):
27231 * tests/seeking/seeking1.c: (event_received), (main):
27232 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27234 * tests/threadstate/threadstate3.c: (main):
27235 * tests/threadstate/threadstate4.c: (main):
27236 * tests/threadstate/threadstate5.c: (main):
27239 2005-07-21 Wim Taymans <wim@fluendo.com>
27241 * docs/design/part-seeking.txt:
27242 Some small additions.
27244 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27245 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27246 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27247 * gst/base/gstbasesink.h:
27248 discont values are gint64, handle the math correctly.
27250 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27251 Make the basesrc report error if the source pad is not linked.
27253 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27254 (gst_queue_loop), (gst_queue_handle_src_query),
27255 (gst_queue_src_activate_push):
27256 Make queue collect data even if the srcpad is not linked.
27257 Start pushing out data as soon as it is linked.
27259 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27261 Added gst_flow_get_name() to ease error reporting.
27263 2005-07-20 Wim Taymans <wim@fluendo.com>
27265 * gst/gstmessage.c: (gst_message_new_segment_start),
27266 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27267 (gst_message_parse_segment_done):
27268 * gst/gstmessage.h:
27269 Added a bunch of messages for advanced seeking.
27271 * gst/parse/grammar.y:
27272 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27273 (gst_dpman_state_changed):
27274 Fix some new-pad -> pad-added signals
27276 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27278 * docs/manual/appendix-porting.xml:
27279 * docs/pwg/appendix-porting.xml:
27280 Document new-pad/state-change signal renames and the FixedList
27283 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27285 * docs/manual/advanced-autoplugging.xml:
27286 * docs/manual/basics-helloworld.xml:
27287 * docs/manual/basics-pads.xml:
27288 * docs/random/ds/0.9-suggested-changes:
27289 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27290 * gst/gstelement.h:
27294 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27295 (gst_structure_parse_array), (gst_structure_parse_value):
27296 * gst/gstvalue.c: (gst_type_is_fixed),
27297 (gst_value_list_prepend_value), (gst_value_list_append_value),
27298 (gst_value_list_get_size), (gst_value_list_get_value),
27299 (gst_value_transform_array_string), (gst_value_serialize_array),
27300 (gst_value_deserialize_array), (gst_value_intersect_array),
27301 (gst_value_is_fixed), (_gst_value_initialize):
27303 GstElement::new-pad -> pad-added, GstElement::state-change ->
27304 state-changed, GstValueFixedList -> GstValueArray, add format and
27305 flags as their own arguments in gst_element_seek() (should improve
27306 "bindeability"), remove function generators since they don't work
27307 under a whole bunch of compilers (they were deprecated already
27310 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27312 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27313 (_gst_debug_register_funcptr):
27315 Fix illegal cast on some platforms (#309253).
27317 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27319 * gst/gstmessage.c: (gst_message_new_custom):
27320 * gst/gstmessage.h:
27321 Add _new_custom, make _new_application a macro to _new_custom.
27323 2005-07-20 Wim Taymans <wim@fluendo.com>
27325 * gst/base/gstbasesrc.c: (gst_base_src_init),
27326 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27327 * gst/base/gstbasesrc.h:
27328 Add a gboolean to decide when to push out a discont.
27330 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27331 (gst_queue_loop), (gst_queue_handle_src_query),
27332 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27333 (gst_queue_set_property), (gst_queue_get_property):
27336 * tests/threadstate/threadstate1.c: (main):
27337 Make a thread test compile and run... very silly..
27340 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27342 * docs/manual/appendix-porting.xml:
27343 Mention removal of libgstgconf-0.9.la and existence of gconf
27346 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27348 * docs/pwg/advanced-clock.xml:
27349 * docs/pwg/appendix-porting.xml:
27350 * docs/pwg/intro-preface.xml:
27351 * docs/pwg/other-base.xml:
27352 * docs/pwg/other-manager.xml:
27353 * docs/pwg/other-nton.xml:
27354 * docs/pwg/other-ntoone.xml:
27355 * docs/pwg/other-oneton.xml:
27356 * docs/pwg/pwg.xml:
27357 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27358 demuxer), remove n-to-n (was never written), fix some code examples
27359 and links and update the porting section to include all this.
27361 2005-07-19 Wim Taymans <wim@fluendo.com>
27363 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27364 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27365 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27366 (gst_queue_src_activate_push), (gst_queue_change_state),
27367 (gst_queue_get_property):
27369 Propagate GstFlowReturn more intelligently upstream and output
27370 an ERROR/EOS when streaming stopped due to fatal error.
27372 2005-07-19 Wim Taymans <wim@fluendo.com>
27374 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27375 Don't block forever for the state change to complete, the
27376 pipeline already did with a sensible timeout.
27378 2005-07-19 Wim Taymans <wim@fluendo.com>
27380 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27381 Make sure we never call the create function is we
27384 2005-07-19 Andy Wingo <wingo@pobox.com>
27386 * gst/parse/parse.l: Attempt to solve bug #172815.
27388 2005-07-19 Wim Taymans <wim@fluendo.com>
27390 * docs/design/part-clocks.txt:
27391 * docs/design/part-events.txt:
27392 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27393 Small docs updates.
27394 Only update the seeking values when we are not
27397 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27399 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27400 Oops, ignore the result of gst_pad_push_event here.
27402 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27404 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27405 (gst_base_src_activate_push):
27406 Send discont event from the loop function, as pads
27407 aren't activated yet in the activate_push handler.
27409 * gst/gstbin.c: (bin_bus_handler):
27410 Don't leak element name.
27412 2005-07-18 Andy Wingo <wingo@pobox.com>
27414 * configure.ac: Use AS_LIBTOOL_TAGS.
27416 2005-07-18 Wim Taymans <wim@fluendo.com>
27418 * docs/gst/gstreamer.types:
27419 Remove deleted types.
27421 2005-07-18 Wim Taymans <wim@fluendo.com>
27423 * check/elements/gstfakesrc.c: (GST_START_TEST):
27426 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27427 (init_popt_callback):
27429 * gst/gst_private.h:
27430 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27431 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27434 * gst/gstconfig.h.in:
27435 * gst/gstelement.c: (gst_element_class_init),
27436 (gst_element_set_base_time), (gst_element_get_base_time),
27437 (iterator_fold_with_resync), (gst_element_change_state),
27438 (gst_element_dispose), (gst_element_get_bus):
27439 * gst/gstelement.h:
27440 * gst/gstelementfactory.h:
27441 * gst/gsterror.c: (_gst_core_errors_init):
27444 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27446 * gst/gstinfo.c: (_gst_debug_init):
27447 * gst/gstmessage.c: (_gst_message_copy):
27448 * gst/gstmessage.h:
27449 * gst/gstminiobject.h:
27452 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27453 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27456 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27457 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27458 (gst_pipeline_get_last_stream_time):
27459 * gst/gstpipeline.h:
27460 * gst/gstpluginfeature.h:
27462 * gst/gstscheduler.c:
27463 * gst/gstscheduler.h:
27464 * gst/gststructure.h:
27465 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27466 (gst_task_finalize), (gst_task_func), (gst_task_create),
27467 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27468 (gst_task_stop), (gst_task_pause):
27470 * gst/gsttypefind.h:
27472 * gst/registries/gstlibxmlregistry.c: (load_feature),
27473 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27474 * gst/registries/gstxmlregistry.c:
27475 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27476 * gst/schedulers/threadscheduler.c:
27477 * libs/gst/control/dparammanager.h:
27478 * tools/gst-inspect.c: (print_element_list),
27479 (print_plugin_features), (print_element_features):
27480 * tools/gst-xmlinspect.c: (print_element_list),
27481 (print_plugin_info), (main):
27482 Removed plugable schedulers.
27483 Removed Scheduler/Manager from elements.
27484 Removed gsttypes.h, rearranged includes.
27485 Removed dependency pad<->element, element<>pipeline, and
27486 various others, fix includes.
27487 implement gst_pad_get_parent() with gst_object_get_parent()
27488 Make GstTask sefcontained.
27489 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27491 Fix endless loop in iterator_fold_with_resync.
27494 2005-07-18 Wim Taymans <wim@fluendo.com>
27500 2005-07-18 Wim Taymans <wim@fluendo.com>
27503 No more cothreads.h
27505 2005-07-18 Wim Taymans <wim@fluendo.com>
27509 Let's remove these.
27511 2005-07-18 Wim Taymans <wim@fluendo.com>
27513 * docs/design/part-dynamic.txt:
27514 * docs/design/part-events.txt:
27515 * docs/design/part-seeking.txt:
27516 Some more docs in the works.
27518 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27519 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27520 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27521 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27522 (gst_base_transform_handle_buffer),
27523 (gst_base_transform_sink_activate_push),
27524 (gst_base_transform_src_activate_pull),
27525 (gst_base_transform_set_passthrough),
27526 (gst_base_transform_is_passthrough):
27529 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27532 * gst/gstevent.c: (gst_event_finalize):
27535 * gst/gstutils.c: (gst_element_unlink),
27536 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27537 (gst_pad_proxy_setcaps):
27539 Add _get_parent_element() to get a pads parent as an element.
27541 2005-07-18 Wim Taymans <wim@fluendo.com>
27543 * check/gst/gstbin.c: (GST_START_TEST):
27546 2005-07-18 Wim Taymans <wim@fluendo.com>
27548 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27549 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27550 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27551 (gst_base_sink_event), (gst_base_sink_do_sync),
27552 (gst_base_sink_chain), (gst_base_sink_loop),
27553 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27554 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27556 Fix logic for returning ASYNC when not prerolled.
27558 2005-07-18 Wim Taymans <wim@fluendo.com>
27560 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27561 Fix nasty refcount bug.
27563 2005-07-16 Philippe Khalaf <burger@speedy.org>
27565 * gst/elements/gstfdsrc.c:
27566 * gst/elements/gstfdsrc.h:
27567 * gst/elements/gstelements.c:
27568 * gst/elements/Makefile.am:
27569 Ported fdsrc to 0.9.
27571 2005-07-16 Wim Taymans <wim@fluendo.com>
27573 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27574 (gst_base_sink_do_sync):
27577 2005-07-16 Wim Taymans <wim@fluendo.com>
27579 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27580 (gst_base_sink_event), (gst_base_sink_get_times),
27581 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27582 * gst/base/gstbasesink.h:
27583 Store and use discont values when syncing buffers as described
27586 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27587 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27588 (gst_base_src_activate_push):
27589 Push discont event when starting.
27591 * gst/elements/gstidentity.c: (gst_identity_transform):
27594 * gst/gstbin.c: (gst_bin_change_state):
27595 Small cleanups in base_time distribution.
27597 * gst/gstelement.c: (gst_element_set_base_time),
27598 (gst_element_get_base_time), (gst_element_change_state):
27599 * gst/gstelement.h:
27600 Added methods for the base_time of the element.
27603 * gst/gstpipeline.c: (gst_pipeline_send_event),
27604 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27605 (gst_pipeline_get_last_stream_time):
27606 * gst/gstpipeline.h:
27608 Handle seeking as described in design doc, remove stream_time
27610 Cleanups clock and stream_time selection code. Added accessors
27611 for the stream_time.
27614 2005-07-16 Andy Wingo <wingo@pobox.com>
27616 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27619 2005-07-16 Wim Taymans <wim@fluendo.com>
27621 * check/gst/gstbin.c: (GST_START_TEST):
27622 Make elements silent as the deep_notify refs the
27623 parent, which might make the test fail.
27625 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27626 Don't hold the lock for too long.
27628 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27630 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27631 Don't unref the caps we passed to gst_caps_make_writable() after
27632 passing them. gst_caps_make_writable() will do that for us.
27634 2005-07-15 Andy Wingo <wingo@pobox.com>
27636 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27639 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27640 own marshalling function for the handoff signal. Properly type the
27641 buffer as a buffer. Fixes some warnings. Should do a more general
27643 (gst_identity_class_init): Plug into the right marshaller.
27645 2005-07-15 Wim Taymans <wim@fluendo.com>
27647 * docs/design/part-TODO.txt:
27648 * docs/design/part-clocks.txt:
27649 * docs/design/part-element-sink.txt:
27650 * docs/design/part-events.txt:
27651 * docs/design/part-gstpipeline.txt:
27652 Updated docs, mostly DISCONT related.
27654 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27656 * docs/pwg/building-pads.xml:
27657 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27659 2005-07-15 Andy Wingo <wingo@pobox.com>
27661 * tools/gst-typefind.c: Update, add copyright block.
27663 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27664 Normalize and truncate caps before fixation.
27667 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27668 discards all but the first structure from its argument.
27670 2005-07-15 Wim Taymans <wim@fluendo.com>
27672 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27673 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27674 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27675 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27676 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27677 (gst_base_transform_chain), (gst_base_transform_change_state),
27678 (gst_base_transform_set_passthrough),
27679 (gst_base_transform_is_passthrough):
27680 * gst/base/gstbasetransform.h:
27681 Make passthrough work using the bufferpools.
27682 Changed API a bit, subclasses have to write into a buffer
27683 provided by the base class.
27684 More debug info in nego functions.
27686 * gst/elements/gstidentity.c: (gst_identity_init),
27687 (gst_identity_transform):
27688 Port to new base class.
27690 2005-07-15 Wim Taymans <wim@fluendo.com>
27692 * gst/gstmessage.c: (gst_message_new_state_changed):
27693 * tools/gst-launch.c: (event_loop), (main):
27694 Totally dump messages in -launch with the -m option.
27695 Fix message name for State messages,
27697 2005-07-14 Wim Taymans <wim@fluendo.com>
27699 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27700 Post error messages on errors.
27702 2005-07-14 Wim Taymans <wim@fluendo.com>
27704 * gst/gstcaps.c: (gst_caps_do_simplify):
27708 Define error for stream stopped.
27710 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27711 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27712 Do proper return values.
27714 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27715 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27716 (gst_pad_get_range):
27717 Better return values.
27720 Reorganise return values, add macro to check for fatal errors.
27722 * gst/gstqueue.c: (gst_queue_chain):
27723 Return proper GstFlowReturn values,
27725 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27727 * docs/gst/gstreamer-sections.txt:
27728 * docs/gst/gstreamer.types:
27729 * docs/gst/tmpl/gst.sgml:
27730 * docs/gst/tmpl/gstbasesink.sgml:
27731 * docs/gst/tmpl/gstbasesrc.sgml:
27732 * docs/gst/tmpl/gstbasetransform.sgml:
27733 * docs/gst/tmpl/gstbin.sgml:
27734 * docs/gst/tmpl/gstbuffer.sgml:
27735 * docs/gst/tmpl/gstcaps.sgml:
27736 * docs/gst/tmpl/gstclock.sgml:
27737 * docs/gst/tmpl/gstcompat.sgml:
27738 * docs/gst/tmpl/gstconfig.sgml:
27739 * docs/gst/tmpl/gstelement.sgml:
27740 * docs/gst/tmpl/gstelementdetails.sgml:
27741 * docs/gst/tmpl/gstelementfactory.sgml:
27742 * docs/gst/tmpl/gstenumtypes.sgml:
27743 * docs/gst/tmpl/gsterror.sgml:
27744 * docs/gst/tmpl/gstevent.sgml:
27745 * docs/gst/tmpl/gstfakesink.sgml:
27746 * docs/gst/tmpl/gstfakesrc.sgml:
27747 * docs/gst/tmpl/gstfilesink.sgml:
27748 * docs/gst/tmpl/gstfilesrc.sgml:
27749 * docs/gst/tmpl/gstfilter.sgml:
27750 * docs/gst/tmpl/gstformat.sgml:
27751 * docs/gst/tmpl/gstghostpad.sgml:
27752 * docs/gst/tmpl/gstimplementsinterface.sgml:
27753 * docs/gst/tmpl/gstindex.sgml:
27754 * docs/gst/tmpl/gstindexfactory.sgml:
27755 * docs/gst/tmpl/gstinfo.sgml:
27756 * docs/gst/tmpl/gstiterator.sgml:
27757 * docs/gst/tmpl/gstmacros.sgml:
27758 * docs/gst/tmpl/gstmemchunk.sgml:
27759 * docs/gst/tmpl/gstminiobject.sgml:
27760 * docs/gst/tmpl/gstobject.sgml:
27761 * docs/gst/tmpl/gstpad.sgml:
27762 * docs/gst/tmpl/gstpadtemplate.sgml:
27763 * docs/gst/tmpl/gstparse.sgml:
27764 * docs/gst/tmpl/gstpipeline.sgml:
27765 * docs/gst/tmpl/gstplugin.sgml:
27766 * docs/gst/tmpl/gstpluginfeature.sgml:
27767 * docs/gst/tmpl/gstquery.sgml:
27768 * docs/gst/tmpl/gstqueue.sgml:
27769 * docs/gst/tmpl/gstregistry.sgml:
27770 * docs/gst/tmpl/gstregistrypool.sgml:
27771 * docs/gst/tmpl/gstscheduler.sgml:
27772 * docs/gst/tmpl/gstschedulerfactory.sgml:
27773 * docs/gst/tmpl/gststructure.sgml:
27774 * docs/gst/tmpl/gstsystemclock.sgml:
27775 * docs/gst/tmpl/gsttaglist.sgml:
27776 * docs/gst/tmpl/gsttagsetter.sgml:
27777 * docs/gst/tmpl/gsttrace.sgml:
27778 * docs/gst/tmpl/gsttrashstack.sgml:
27779 * docs/gst/tmpl/gsttypefind.sgml:
27780 * docs/gst/tmpl/gsttypefindfactory.sgml:
27781 * docs/gst/tmpl/gsttypes.sgml:
27782 * docs/gst/tmpl/gsturihandler.sgml:
27783 * docs/gst/tmpl/gsturitype.sgml:
27784 * docs/gst/tmpl/gstutils.sgml:
27785 * docs/gst/tmpl/gstvalue.sgml:
27786 * docs/gst/tmpl/gstversion.sgml:
27787 * docs/gst/tmpl/gstxml.sgml:
27788 * docs/libs/tmpl/gstcontrol.sgml:
27789 * docs/libs/tmpl/gstdataprotocol.sgml:
27790 * docs/libs/tmpl/gstdparam.sgml:
27791 * docs/libs/tmpl/gstdplinint.sgml:
27792 * docs/libs/tmpl/gstdpman.sgml:
27793 * docs/libs/tmpl/gstdpsmooth.sgml:
27794 * docs/libs/tmpl/gstgetbits.sgml:
27795 * docs/libs/tmpl/gstunitconvert.sgml:
27796 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27797 (gst_push_src_base_init), (gst_push_src_class_init),
27798 (gst_push_src_init), (gst_push_src_create):
27799 * gst/base/gstpushsrc.h:
27800 * gst/elements/gstelements.c:
27801 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27802 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27803 (gst_fake_sink_init), (gst_fake_sink_set_property),
27804 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27805 (gst_fake_sink_event), (gst_fake_sink_preroll),
27806 (gst_fake_sink_render), (gst_fake_sink_change_state):
27807 * gst/elements/gstfakesink.h:
27808 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27809 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27810 (gst_fake_src_base_init), (gst_fake_src_class_init),
27811 (gst_fake_src_init), (gst_fake_src_event_handler),
27812 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27813 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27814 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27815 (gst_fake_src_create_buffer), (gst_fake_src_create),
27816 (gst_fake_src_start), (gst_fake_src_stop):
27817 * gst/elements/gstfakesrc.h:
27818 * gst/elements/gstfilesink.c: (_do_init),
27819 (gst_file_sink_base_init), (gst_file_sink_class_init),
27820 (gst_file_sink_init), (gst_file_sink_dispose),
27821 (gst_file_sink_set_location), (gst_file_sink_set_property),
27822 (gst_file_sink_get_property), (gst_file_sink_open_file),
27823 (gst_file_sink_close_file), (gst_file_sink_query),
27824 (gst_file_sink_event), (gst_file_sink_render),
27825 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27826 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27827 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27828 * gst/elements/gstfilesink.h:
27829 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27830 (gst_file_src_class_init), (gst_file_src_init),
27831 (gst_file_src_finalize), (gst_file_src_set_location),
27832 (gst_file_src_set_property), (gst_file_src_get_property),
27833 (gst_file_src_map_region), (gst_file_src_map_small_region),
27834 (gst_file_src_create_mmap), (gst_file_src_create_read),
27835 (gst_file_src_create), (gst_file_src_is_seekable),
27836 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27837 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27838 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27839 (gst_file_src_uri_handler_init):
27840 * gst/elements/gstfilesrc.h:
27841 more autistic cleanliness in functions/names/defines
27843 2005-07-13 Andy Wingo <wingo@pobox.com>
27845 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27846 source couldn't negotiate.
27848 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27852 * gst/gstutils.c (gst_element_link_pads_filtered): New old
27853 function. I am channeling Hades. Put your boots on suckers!!!
27855 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
27857 * testsuite/caps/Makefile.am:
27858 * testsuite/caps/value_compare.c:
27859 * testsuite/caps/value_intersect.c:
27860 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27861 move two testsuite apps over to the check dir
27863 2005-07-12 Wim Taymans <wim@fluendo.com>
27865 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27866 Added more debug info in the negotiate process.
27868 * gst/gstmessage.h:
27869 Prepare for segment playback.
27871 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27877 * tools/gst-launch.c: (main):
27878 NULL pipeline on errors.
27880 2005-07-12 Andy Wingo <wingo@pobox.com>
27882 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
27883 not it comes from a malloc region. Make sure our copy gets freed.
27885 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27887 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27888 * check/gst/gstmessage.c: (GST_START_TEST):
27889 * check/gst/gststructure.c: (GST_START_TEST),
27890 (gst_structure_suite), (main):
27892 * gst/gstelement.c: (gst_element_message_full):
27893 clean up GError and debug string now that they get copied
27894 * gst/gstmessage.c: (gst_message_new_error),
27895 (gst_message_new_warning), (gst_message_parse_error),
27896 (gst_message_parse_warning):
27897 use GST_TYPE_G_ERROR for structure_new, and take copies of
27898 arguments, so that we don't mess up refcounting
27900 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27902 * check/Makefile.am:
27903 add per-test valgrind targets
27904 * check/gst-libs/gdp.c: (GST_START_TEST),
27905 (gst_data_protocol_suite), (main):
27908 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27910 * check/Makefile.am:
27911 instate more valgrindable tests
27912 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27913 (GST_START_TEST), (fakesrc_suite):
27914 * check/gst/gstpad.c: (GST_START_TEST):
27915 * check/gst/gststructure.c: (GST_START_TEST):
27917 * docs/gst/tmpl/gstminiobject.sgml:
27918 * gst/gstpad.c: (gst_pad_finalize):
27919 fix the static mutex leak
27921 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27923 * check/Makefile.am:
27924 add two more tests for valgrinding
27925 * check/gst/gstvalue.c: (GST_START_TEST):
27926 test refcount of deserialized buffer, found a leak
27927 * docs/gst/gstreamer-docs.sgml:
27928 * docs/gst/gstreamer-sections.txt:
27929 * docs/gst/gstreamer.types:
27930 * docs/gst/tmpl/gstminiobject.sgml:
27931 add miniobject to docs
27932 * gst/gstminiobject.c:
27934 * gst/gstvalue.c: (gst_value_deserialize_buffer),
27935 (gst_string_unwrap):
27936 fix a hard-to-find invalid write for one of the tests
27937 fix a leak for deserialized buffers
27939 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27941 * docs/pwg/advanced-events.xml:
27942 * docs/pwg/advanced-request.xml:
27943 * docs/pwg/advanced-scheduling.xml:
27944 * docs/pwg/appendix-porting.xml:
27945 * docs/pwg/building-boiler.xml:
27946 * docs/pwg/intro-preface.xml:
27947 * docs/pwg/other-ntoone.xml:
27948 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
27949 of example code and explanation for pad activation, loop() and
27950 getrange() functions and a bit more. Remove old comments pointing
27952 * examples/pwg/Makefile.am:
27953 Add loop/getrange examples.
27955 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27958 check for valgrind binary + some fixes
27960 valgrind suppressions for the tests
27961 * check/Makefile.am:
27962 add a valgrind: target that valgrinds the unit tests
27963 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
27964 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
27965 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27966 * check/gst/gstghostpad.c:
27968 * check/gst/gstdata.c:
27970 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
27971 (thread_unref), (gst_mini_object_suite), (main):
27973 * gst/gst.c: (gst_deinit):
27975 add a method to clean up.
27976 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27977 (gst_system_clock_obtain):
27978 allow for disposing the system clock.
27979 * tools/gst-launch.c: (main):
27982 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27984 * docs/gst/tmpl/gstbasesrc.sgml:
27985 * docs/gst/tmpl/gstfakesrc.sgml:
27986 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27987 (gst_base_src_init), (gst_base_src_set_property),
27988 (gst_base_src_get_property), (gst_base_src_get_range),
27989 (gst_base_src_start):
27990 * gst/base/gstbasesrc.h:
27991 add num-buffers property
27992 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27993 (gst_fakesrc_init), (gst_fakesrc_set_property),
27994 (gst_fakesrc_get_property), (gst_fakesrc_create),
27995 (gst_fakesrc_start):
27996 remove num-buffers property
27998 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28000 * docs/gst/gstreamer-sections.txt:
28001 * docs/gst/tmpl/gstbasesink.sgml:
28002 * docs/gst/tmpl/gstbasesrc.sgml:
28003 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28004 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28005 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28006 (gst_base_sink_set_property), (gst_base_sink_get_property),
28007 (gst_base_sink_handle_object), (gst_base_sink_event),
28008 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28009 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28010 (gst_base_sink_loop), (gst_base_sink_deactivate),
28011 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28012 (gst_base_sink_change_state):
28013 * gst/base/gstbasesink.h:
28014 * gst/base/gstbasesrc.h:
28015 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28016 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28017 (gst_filesink_init):
28018 more macro splitting
28020 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28022 * gst/gstelement.c: (gst_element_get_bus):
28024 * tools/gst-launch.c: (check_intr), (event_loop):
28027 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28029 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28032 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28034 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28035 (gst_base_src_finalize):
28036 add finalize method and clean up properly
28037 * gst/gstpipeline.c: (gst_pipeline_dispose):
28040 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28042 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28044 add more things to check
28045 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28046 * gst/gstelement.c:
28049 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28051 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28052 (GST_START_TEST), (fakesrc_suite):
28053 * check/gst-libs/gdp.c: (GST_START_TEST):
28054 * check/gst/gst.c: (GST_START_TEST):
28055 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28056 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28057 * check/gst/gstbus.c: (GST_START_TEST):
28058 * check/gst/gstcaps.c: (GST_START_TEST):
28059 * check/gst/gstdata.c: (GST_START_TEST):
28060 * check/gst/gstelement.c: (GST_START_TEST):
28061 * check/gst/gstghostpad.c: (GST_START_TEST):
28062 * check/gst/gstiterator.c: (GST_START_TEST):
28063 * check/gst/gstmessage.c: (GST_START_TEST):
28064 * check/gst/gstobject.c: (GST_START_TEST):
28065 * check/gst/gstpad.c: (GST_START_TEST):
28066 * check/gst/gststructure.c: (GST_START_TEST):
28067 * check/gst/gstsystemclock.c: (GST_START_TEST),
28068 (gst_systemclock_suite):
28069 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28070 * check/gst/gstvalue.c: (GST_START_TEST):
28071 * check/pipelines/cleanup.c: (GST_START_TEST):
28072 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28073 * check/states/sinks.c: (GST_START_TEST):
28074 * check/gstcheck.c: (gst_check_init):
28075 * check/gstcheck.h:
28076 add debugging category
28077 use GST_START_TEST now, so we add a debug line
28079 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28081 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28082 add test for state change message on a bin
28083 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28085 * gst/gstbin.c: (gst_bin_init):
28086 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28087 * gst/gstelement.c: (gst_element_post_message),
28088 (gst_element_set_state):
28089 * gst/gstelementfactory.c: (gst_element_factory_create):
28090 * gst/gstmessage.c: (gst_message_new):
28091 * gst/gstscheduler.c:
28092 various debugging additions and cleanups
28094 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28096 * check/Makefile.am:
28097 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28099 adding tests for elements
28100 * gst/gstelement.c: (gst_element_dispose):
28102 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28104 * gst/registries/gstlibxmlregistry.c: (load_feature):
28105 plug more leaks. A simple gst_init() now is leakfree, yay.
28107 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28109 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28110 (gst_xml_registry_load):
28111 plug another memleak
28113 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28116 use GST_SET_ERROR_CFLAGS
28117 * docs/faq/cvs.xml:
28118 change to ERROR_CFLAGS
28120 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28123 make GST_ERROR_CFLAGS overridable and re-enable Werror
28124 * docs/faq/cvs.xml:
28125 add a note about error CFLAGS
28126 * docs/gst/tmpl/gstfakesrc.sgml:
28127 * gst/elements/gstfakesrc.c:
28128 comment out some unused code
28129 * gst/gst.c: (split_and_iterate):
28130 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28134 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28136 * common/Makefile.am:
28137 * common/gtk-doc.mak:
28138 * docs/gst/Makefile.am:
28139 factor out gtk-doc.mak
28141 2005-07-07 Wim Taymans <wim@fluendo.com>
28143 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28144 (gst_thread_scheduler_dispose):
28145 Unlock the STREAM_LOCK completely.
28147 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28149 * check/Makefile.am:
28150 * check/elements/.cvsignore:
28151 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28152 (START_TEST), (fakesrc_suite), (main):
28153 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28154 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28155 (gst_fakesrc_create), (gst_fakesrc_start):
28156 * gst/elements/gstfakesrc.h:
28157 adding a first element test
28159 2005-07-07 Andy Wingo <wingo@pobox.com>
28161 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28164 2005-07-07 Wim Taymans <wim@fluendo.com>
28170 2005-07-07 Wim Taymans <wim@fluendo.com>
28172 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28173 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28174 Allow subclasses to implement their own negotiation.
28176 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28178 * docs/design/part-gstbin.txt:
28179 * docs/design/part-gstpipeline.txt:
28180 Update design notes to reflect the movement of
28181 responsibility for bus handling from GstPipeline to
28184 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28187 Remove unnecessary queue2/3/4 examples.
28189 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28191 * examples/Makefile.am:
28192 * examples/helloworld/helloworld.c: (event_loop), (main):
28193 * examples/queue/queue.c: (event_loop), (main):
28194 * examples/queue2/queue2.c: (main):
28195 Update a couple of the examples to work again.
28197 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28198 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28199 Spelling corrections and extra debug.
28201 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28202 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28203 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28205 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28206 (gst_pipeline_change_state):
28207 * gst/gstpipeline.h:
28208 Move the bus handler for children to the GstBin, and create a
28209 separate bus for receiving messages from children to the one the
28210 bus sends 'upwards' on.
28212 2005-07-06 Wim Taymans <wim@fluendo.com>
28215 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28216 (gst_base_sink_handle_object), (gst_base_sink_loop),
28217 (gst_base_sink_change_state):
28218 * gst/base/gstbasesink.h:
28219 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28220 (gst_base_src_init), (gst_base_src_setcaps),
28221 (gst_base_src_getcaps), (gst_base_src_loop),
28222 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28223 (gst_base_src_start), (gst_base_src_change_state):
28224 * gst/base/gstbasesrc.h:
28225 Make basesrc negotiate.
28226 Handle the case where preroll fails in basesink.
28229 2005-07-06 Wim Taymans <wim@fluendo.com>
28231 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28232 Implement the fixate function.
28233 Clean up acceptcaps.
28235 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28237 * docs/pwg/building-filterfactory.xml:
28238 * docs/pwg/pwg.xml:
28239 Remove never-written filter-factory chapter; I'll add the various
28240 base classes to part 4 ("other element types") later on.
28242 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28244 * docs/pwg/advanced-negotiation.xml:
28245 * docs/pwg/building-boiler.xml:
28246 * docs/pwg/building-pads.xml:
28247 * docs/pwg/pwg.xml:
28248 * examples/pwg/Makefile.am:
28249 Add a chapter on caps negotiation, simplify the original code
28250 samples a bit w.r.t. caps negotiation, add link to the advanced
28251 section. Add a bunch of examples showing different use cases of
28252 different types of caps negotiation. Upstream renegotiation isn't
28253 fully documented yet since nobody knows how that works.
28255 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28257 * check/gst/gstpad.c:
28258 * check/gstcheck.c:
28259 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28260 if pad has no parent, return NULL as list of internal links
28262 2005-07-05 Andy Wingo <wingo@pobox.com>
28264 * gst/elements/gstfilesrc.c:
28265 * gst/elements/gstfakesrc.c:
28266 * gst/base/gstpushsrc.c:
28267 * gst/base/gstbasesrc.h:
28268 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28270 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28273 better report generation target (lcov needs a patch)
28275 2005-07-05 Andy Wingo <wingo@pobox.com>
28277 * gst/elements, testsuite: Null if we got it...
28279 2005-07-05 Wim Taymans <wim@fluendo.com>
28282 * libs/gst/dataprotocol/Makefile.am:
28283 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28284 * libs/gst/dataprotocol/dataprotocol.h:
28285 * pkgconfig/Makefile.am:
28286 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28287 * pkgconfig/gstreamer-dataprotocol.pc.in:
28288 Ported dataprotol to 0.9.
28289 Added pkgconfig files.
28291 2005-07-05 Andy Wingo <wingo@pobox.com>
28293 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28294 Default to returning TRUE for the case when tranform_caps returns
28295 a fixed caps, like for identity or volume.
28297 * check/gst/gstbus.c (pound_bus_with_messages):
28298 * check/gst/gstmessage.c (START_TEST):
28299 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28300 message API change.
28302 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28303 logic weaks here: always run transform_caps, trying passthrough
28304 operation only if the original caps intersects with the transform.
28306 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28307 source and sink caps.
28309 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28310 Intersect the peer caps with the pad template before going into
28312 (gst_base_transform_transform_caps): More debugging.
28314 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28317 2005-07-04 Edward Hervey <edward@fluendo.com>
28321 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28324 2005-07-04 Andy Wingo <wingo@pobox.com>
28326 * check/gst/gstpad.c: Only set explicit caps on pads.
28328 2005-07-01 Andy Wingo <wingo@pobox.com>
28330 * tests/network-clock.scm: Commentary update.
28332 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28333 Didn't really make sense, not implementable with basetransform,
28335 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28336 attempt at implementing the sync property, needs an unlock method.
28338 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28339 New func, by default returns the same caps (the identity
28341 (gst_base_transform_getcaps): Uses transform_caps to return
28342 something sensible.
28343 (gst_base_transform_setcaps): Complicated logic to get caps on
28344 both pads, even if they are different, and to call set_caps once
28345 for every time both pads get their caps set.
28346 (gst_base_transform_handle_buffer): Give the ref to the transform
28347 function. Allows in-place modification of the buffer.
28349 * gst/base/gstbasetransform.h (transform_caps): New class method.
28350 Given caps on one side, what can I do on the other.
28351 (set_caps): Take two caps, one for each side of the element.
28354 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28355 caps in place. This is safe because we can check the mutability of
28356 the caps, and a good idea because fixate functions are just called
28357 as a matter of last resort. (Not actually implemented.)
28358 (gst_pad_set_caps): If the caps we're setting is actually the same
28359 as the existing pad caps, just update the pointer without calling
28360 setcaps. Assert that caps is either NULL or fixed, as per the
28363 * gst/gstghostpad.c: Update for fixate changes.
28365 2005-07-02 Andy Wingo <wingo@pobox.com>
28368 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28369 two refcounts makes it immutable, which is enough. Doc more.
28371 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28373 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28374 Put the mini_object into GValue as a mini_object,
28375 not a gpointer, since that's how we declared
28378 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28380 * examples/pwg/Makefile.am:
28381 Fix buildbot again.
28383 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28385 * docs/pwg/building-testapp.xml:
28387 * examples/pwg/Makefile.am:
28390 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28393 * examples/Makefile.am:
28394 * examples/pwg/Makefile.am:
28395 * examples/pwg/extract.pl:
28396 Enable building the PWG examples.
28397 * docs/pwg/advanced-interfaces.xml:
28398 Add URI interface stub.
28399 * docs/pwg/advanced-types.xml:
28400 * docs/pwg/other-autoplugger.xml:
28401 * docs/pwg/appendix-porting.xml:
28402 * docs/pwg/pwg.xml:
28403 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28404 * docs/pwg/building-boiler.xml:
28405 * docs/pwg/building-chainfn.xml:
28406 * docs/pwg/building-pads.xml:
28407 * docs/pwg/building-props.xml:
28408 * docs/pwg/building-state.xml:
28409 * docs/pwg/building-testapp.xml:
28410 Update the building-*.xml parts for 0.9 changes. All examples
28411 code blocks compile in examples/pwg/*.
28413 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28415 * docs/manual/advanced-autoplugging.xml:
28416 * docs/manual/appendix-checklist.xml:
28417 * docs/manual/appendix-integration.xml:
28418 * docs/manual/highlevel-components.xml:
28419 Fix playbin/decodebin examples, update docs a bit, mention bus
28420 instead of signals in various places, mention kmplayer and
28421 kaffeine since they have a working GStreamer backend in the KDE
28424 2005-06-30 Wim Taymans <wim@fluendo.com>
28427 * docs/design/draft-ghostpads.txt:
28428 * docs/design/draft-push-pull.txt:
28429 * docs/design/draft-query.txt:
28430 * docs/design/part-TODO.txt:
28431 * docs/design/part-query.txt:
28432 Added CHANGES-0.9 doc, updated status of other docs.
28437 2005-06-30 Wim Taymans <wim@fluendo.com>
28439 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28440 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28441 (gst_base_sink_change_state):
28442 * gst/base/gstbasesink.h:
28443 Some tweaks, only EOS and a buffer complete a preroll.
28445 2005-06-30 Andy Wingo <wingo@pobox.com>
28447 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28448 activate_push down to the internal pad as well.
28450 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28452 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28454 * gst/gsttaginterface.c:
28455 Some documentation fixes (#307394 and #307397).
28457 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28459 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28461 * gst/gstvalue.c: (gst_value_intersect_list):
28462 Fix memleak (#309125).
28464 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28466 * docs/manual/advanced-dataaccess.xml:
28467 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28468 * docs/manual/basics-pads.xml:
28469 Add reference for filtered caps to above chapter.
28471 2005-06-30 Wim Taymans <wim@fluendo.com>
28473 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28474 (gst_bin_change_state):
28476 Lame attempt at making the state change function a bit
28479 2005-06-30 Wim Taymans <wim@fluendo.com>
28481 * docs/design/part-clocks.txt:
28482 * docs/design/part-element-sink.txt:
28483 * docs/design/part-events.txt:
28484 * docs/design/part-preroll.txt:
28485 * docs/design/part-states.txt:
28486 Some more tweeks and additions to the docs.
28488 2005-06-30 Wim Taymans <wim@fluendo.com>
28490 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28491 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28492 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28493 (gst_pad_check_pull_range), (gst_pad_get_range),
28494 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28496 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28497 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28498 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28499 (gst_pad_remove_buffer_probe):
28500 Removed atomic operations, use existing LOCK.
28501 Move exception handling out of main code path.
28503 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28505 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28506 (silly_return_true_function), (gst_pad_class_init),
28507 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28508 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28509 (gst_pad_send_event):
28510 Fix accumulator, add default value by using _emitv() instead
28511 of _emit() for signal emission.
28513 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28515 * docs/manual/advanced-dataaccess.xml:
28516 * examples/manual/Makefile.am:
28518 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28521 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28523 * gst/elements/gstfilesink.c: (gst_filesink_render):
28524 Simplify code so that we don't have to handle short
28525 writes and return GST_FLOW_ERROR if an error occured.
28527 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28529 * docs/gst/gstreamer-docs.sgml:
28530 Remove probes more.
28532 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28534 * docs/gst/gstreamer-sections.txt:
28535 * docs/gst/tmpl/gstpad.sgml:
28536 * docs/gst/tmpl/gstprobe.sgml:
28538 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28539 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28540 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28541 (gst_pad_push_event), (gst_pad_send_event):
28543 * gst/gstutils.c: (gst_pad_add_data_probe),
28544 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28545 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28546 (gst_pad_remove_buffer_probe):
28548 Remove old probes, add new g-signal-based probes and some utility
28551 2005-06-29 Edward Hervey <edward@fluendo.com>
28553 * gst/gstelementfactory.c:
28556 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28557 the definition to the header file.
28559 2005-06-29 Andy Wingo <wingo@pobox.com>
28561 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28562 plugins from the source directory.
28564 2005-06-29 Wim Taymans <wim@fluendo.com>
28566 * docs/gst/tmpl/gstbuffer.sgml:
28567 * docs/gst/tmpl/gstclock.sgml:
28568 Some fixings for blantently wrong text.
28570 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28572 * check/Makefile.am:
28573 * gst/gst.c: (add_path_func), (init_pre):
28574 * gst/gstregistry.c: (gst_registry_add_path):
28575 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28576 only scan the GST_PLUGIN_PATH locations, and not add
28579 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28581 * docs/gst/gstreamer-sections.txt:
28582 * docs/gst/tmpl/gstbasesrc.sgml:
28583 * gst/gstelement.c:
28584 * gst/gstelement.h:
28589 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28591 * docs/manual/advanced-autoplugging.xml:
28592 Fix autoplugging example.
28594 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28596 * docs/manual/advanced-autoplugging.xml:
28597 * docs/manual/mime-world.fig:
28598 Try to get autoplugging working, fix type detection. Fix text
28599 in hello-world image.
28601 2005-06-29 Wim Taymans <wim@fluendo.com>
28603 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28604 (gst_base_sink_change_state):
28608 map SIGNAL and BROADCAST to the right function.
28611 Remove redundant braces.
28613 * gst/gstpad.c: (gst_pad_set_caps):
28614 Don't call setcaps function when reseting caps to NULL.
28616 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28617 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28618 (gst_system_clock_id_unschedule):
28619 Use BROADCAST as this is what we do.
28621 2005-06-29 Wim Taymans <wim@fluendo.com>
28623 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28624 We are actually prerolling before commiting the state
28627 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28629 * docs/manual/advanced-clocks.xml:
28630 * docs/manual/advanced-interfaces.xml:
28631 * docs/manual/advanced-metadata.xml:
28632 * docs/manual/advanced-position.xml:
28633 * docs/manual/advanced-schedulers.xml:
28634 * docs/manual/advanced-threads.xml:
28635 * docs/manual/appendix-porting.xml:
28636 * docs/manual/basics-bins.xml:
28637 * docs/manual/basics-bus.xml:
28638 * docs/manual/basics-elements.xml:
28639 * docs/manual/basics-helloworld.xml:
28640 * docs/manual/basics-pads.xml:
28641 * docs/manual/highlevel-components.xml:
28642 * docs/manual/manual.xml:
28643 * docs/manual/thread.fig:
28644 Update (until threads/scheduling) Application Development Manual;
28645 remove GstThread, add GstBus, add simple porting checklist, add
28646 documentation for tag writing, clocks, make all examples until this
28647 part compile and run.
28648 * examples/manual/Makefile.am:
28649 Update from changes to Application Development Manual; add bus
28650 example, remove thread example.
28652 2005-06-28 Wim Taymans <wim@fluendo.com>
28654 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28655 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28656 (gst_bus_source_dispatch):
28657 Add debugging messages.
28658 Make internal methods static.
28659 Handle the case where the bus is flushed in the handler.
28661 * gst/gstelement.c: (gst_element_get_bus):
28662 Fix refcount in _get_bus();
28664 * gst/gstpipeline.c: (gst_pipeline_change_state),
28665 (gst_pipeline_get_clock_func):
28666 Clock refcounting fixes.
28667 Handle the case where preroll timed out more gracefully.
28669 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28670 Clean up the internal thread in dispose. This is needed
28671 for subclasses that actually get disposed.
28673 * gst/schedulers/threadscheduler.c:
28674 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28675 (gst_thread_scheduler_dispose):
28676 Free thread pool in dispose.
28678 2005-06-28 Andy Wingo <wingo@pobox.com>
28680 * tests/network-clock-utils.scm (debug, print-event): New utils.
28682 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28683 (*packet-loss*): Unified loss probability.
28684 (network-time): Report out-of-band events.
28686 * tests/plot-data: Add support for out-of-band events. Hack it
28687 into this script instead of passing it down the pipe; should fix
28690 2005-06-28 Wim Taymans <wim@fluendo.com>
28692 * docs/gst/gstreamer.types:
28693 * docs/gst/tmpl/gstbasesrc.sgml:
28694 * docs/gst/tmpl/gstpad.sgml:
28697 2005-06-28 Wim Taymans <wim@fluendo.com>
28699 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28700 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28701 (gst_proxy_pad_do_fixatecaps):
28702 Correctly proxy the check_pull_range function.
28704 2005-06-28 Andy Wingo <wingo@pobox.com>
28706 * tests/network-clock.scm: Removed need for slib.
28708 2005-06-28 Wim Taymans <wim@fluendo.com>
28710 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28711 (gst_basesink_preroll_queue_flush):
28712 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28713 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28714 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28715 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28716 (gst_proxy_pad_set_property):
28719 * gst/gstqueue.c: (gst_queue_init):
28720 The deprecated pad loop function is removed now.
28722 2005-06-28 Andy Wingo <wingo@pobox.com>
28724 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28725 New parameters, simulate network packet loss.
28727 * tests/network-clock-utils.scm: Initialize the RNG.
28729 2005-06-28 Wim Taymans <wim@fluendo.com>
28731 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28732 (gst_basesink_event), (gst_basesink_deactivate):
28733 Flushing the preroll queue always needs to unlock the waiters.
28735 2005-06-28 Edward Hervey <edward@fluendo.com>
28737 * gst/gstpipeline.c: (gst_pipeline_send_event):
28738 Wheen a seek was successful on a pipeline, set the stream_time to the
28739 seek offset in order to have a synchronized stream_time.
28741 2005-06-28 Wim Taymans <wim@fluendo.com>
28743 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28744 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28745 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28746 (gst_proxy_pad_do_fixatecaps):
28747 Call wrapper function instead of just calling the function
28748 pointers. This takes care of any locking and whatmore.
28750 2005-06-28 Wim Taymans <wim@fluendo.com>
28752 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28753 (gst_pad_pull_range):
28755 CONNECTED -> LINKED.
28757 2005-06-28 Andy Wingo <wingo@pobox.com>
28759 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28760 source-munging commit!!!
28762 * gst/gstobject.c (gst_object_unref, gst_object_ref)
28763 (gst_object_sink): Take gpointer arguments, not GstObject --
28764 avoids casts. Like GLib.
28766 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28769 2005-06-27 Andy Wingo <wingo@pobox.com>
28771 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28774 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28775 returns a sorted copy of the trace list.
28776 (gst_alloc_trace_print_live): New API, only prints traces with
28777 live objects. Sort the list.
28778 (gst_alloc_trace_print_all): Sort the list.
28779 (gst_alloc_trace_print): Align columns.
28781 * gst/elements/gstttypefindelement.c:
28782 * gst/elements/gsttee.c:
28783 * gst/base/gstbasesrc.c:
28784 * gst/base/gstbasesink.c:
28785 * gst/base/gstbasetransform.c:
28786 * gst/gstqueue.c: Adapt for pad activation changes.
28788 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28790 (gst_pipeline_dispose): Drop ref on sched.
28792 * gst/gstpad.c (gst_pad_init): Set the default activate func.
28793 (gst_pad_activate_default): Push mode by default.
28794 (pre_activate_switch, post_activate_switch): New stubs, things to
28795 do before and after switching activation modes on pads.
28796 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28797 the pad's activate function to choose which mode to activate.
28798 Shortcut on deactivation and call the right function directly.
28799 (gst_pad_activate_pull): New API, (de)activates a pad in pull
28801 (gst_pad_activate_push): New API, same for push mode.
28802 (gst_pad_set_activate_function)
28803 (gst_pad_set_activatepull_function)
28804 (gst_pad_set_activatepush_function): Setters for new API.
28806 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28807 Trace all miniobjects.
28808 (gst_mini_object_make_writable): Unref the arg if we copy, like
28809 gst_caps_make_writable.
28811 * gst/gstmessage.c (_gst_message_initialize): No trace init.
28813 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
28814 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28815 Adapt for new pad API.
28817 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28819 * gst/gstelement.h:
28820 * gst/gstelement.c (gst_element_iterate_src_pads)
28821 (gst_element_iterate_sink_pads): New API functions.
28823 * gst/gstelement.c (iterator_fold_with_resync): New utility,
28824 should fold into gstiterator.c in some form.
28825 (gst_element_pads_activate): Simplified via use of fold and
28826 delegation of decisions to gstpad->activate.
28828 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28831 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28832 class once in init, like gstmessage. Didn't run into this issue
28833 but it seems correct. Don't initialize a trace, gstminiobject does
28836 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28837 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28839 (assert_live_count): New util function, uses alloc traces to check
28842 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28843 To be modified when unlink drops the internal pad.
28845 2005-06-27 Wim Taymans <wim@fluendo.com>
28847 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28848 (gst_bin_change_state):
28849 Cleanup the get_state() function a little, make sure it
28850 iterates the same set of elements.
28851 Added stub iterate_state_order().
28853 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
28855 * docs/gst/gstreamer-docs.sgml:
28856 * docs/gst/gstreamer-sections.txt:
28857 * docs/gst/gstreamer.types:
28858 * docs/gst/tmpl/gstbasesink.sgml:
28859 * docs/gst/tmpl/gstbasesrc.sgml:
28860 * docs/gst/tmpl/gstbasetransform.sgml:
28861 * docs/gst/tmpl/gstelement.sgml:
28862 * docs/gst/tmpl/gstiterator.sgml:
28863 * gst/base/gstbasesrc.c:
28864 * gst/base/gstbasesrc.h:
28865 * gst/base/gstbasetransform.h:
28866 * gst/gstelement.c:
28867 * gst/gstiterator.h:
28868 adding basetransform and iterator docs
28870 2005-06-27 Andy Wingo <wingo@pobox.com>
28872 * docs/design/part-activation.txt: Notes on how activation should
28873 work -- not quite implemented yet.
28875 2005-06-25 Wim Taymans <wim@fluendo.com>
28877 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
28878 At least get the chain function correct, needs more
28881 2005-06-25 Wim Taymans <wim@fluendo.com>
28883 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28884 (gst_basesink_handle_object), (gst_basesink_event),
28885 (gst_basesink_do_sync), (gst_basesink_handle_event),
28886 (gst_basesink_change_state):
28888 Right, two problems here: ghostpads don't take locks and
28889 glib _rec_mutex_lock_full() with depth==0 still locks.
28890 Catch illegal locking and g_warn them.
28892 2005-06-25 Wim Taymans <wim@fluendo.com>
28894 * check/states/sinks.c: (START_TEST), (gst_object_suite):
28895 Have to check for completion now...
28897 2005-06-25 Wim Taymans <wim@fluendo.com>
28899 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28900 (gst_basesink_handle_object), (gst_basesink_event),
28901 (gst_basesink_do_sync), (gst_basesink_handle_event),
28902 (gst_basesink_change_state):
28904 Unlock STREAM_LOCK whatever the recursion was.
28906 2005-06-25 Wim Taymans <wim@fluendo.com>
28908 * gst/base/gstbasesink.c: (gst_basesink_set_property),
28909 (gst_basesink_preroll_queue_empty),
28910 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
28911 (gst_basesink_event), (gst_basesink_do_sync),
28912 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
28913 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
28914 (gst_basesink_change_state):
28915 Reworked the base sink, handle event and buffer serialisation
28916 correctly and removed possible deadlock.
28917 Handle EOS correctly.
28919 2005-06-25 Wim Taymans <wim@fluendo.com>
28921 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
28922 (gst_pipeline_change_state):
28923 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28924 Allow elements to post EOS in the state change function.
28925 Fix up -launch, make it exit the poll loop when the
28926 pipeline actually changed state.
28927 Fix up warning parsing in -launch.
28929 2005-06-25 Wim Taymans <wim@fluendo.com>
28931 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
28932 (gst_tee_sink_activate):
28933 Core takes STREAM_LOCK for us now.
28935 2005-06-25 Wim Taymans <wim@fluendo.com>
28937 * gst/gstelement.c: (gst_element_get_state_func),
28938 (gst_element_set_state):
28939 * gst/gstelement.h:
28940 * gst/gstmessage.c: (gst_message_parse_error),
28941 (gst_message_parse_warning):
28942 Keep track of current target state while performing a state
28943 change so that subclasses can do something interesting.
28944 Fix parsing of warning/error messages when GError is NULL.
28946 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
28948 * docs/gst/Makefile.am:
28949 * docs/gst/gstreamer-docs.sgml:
28950 * docs/gst/gstreamer-sections.txt:
28951 * docs/gst/gstreamer.types:
28952 * docs/gst/tmpl/gstbasesink.sgml:
28953 * docs/gst/tmpl/gstbasesrc.sgml:
28954 * docs/gst/tmpl/gstbin.sgml:
28955 * docs/gst/tmpl/gstcompat.sgml:
28956 * docs/gst/tmpl/gstfakesink.sgml:
28957 * docs/gst/tmpl/gstfakesrc.sgml:
28958 * docs/gst/tmpl/gstfilesink.sgml:
28959 * docs/gst/tmpl/gstfilesrc.sgml:
28960 * docs/gst/tmpl/gstindex.sgml:
28961 * docs/manual/appendix-quotes.xml:
28962 * gst/base/gstbasesrc.h:
28963 * gst/elements/gstfakesrc.h:
28964 * gst/gstmessage.h:
28965 start pulling in base classes and elements in our docs
28967 2005-06-24 Stefan Kost <ensonic@users.sf.net>
28969 * docs/gst/Makefile.am:
28970 * docs/libs/Makefile.am:
28971 fixed make distcheck with gtk-doc 1.3
28973 2005-06-23 Wim Taymans <wim@fluendo.com>
28975 * gst/gstelement.c: (gst_element_get_state_func),
28976 (gst_element_set_state), (gst_element_change_state):
28977 When the state did not change, also report NO_PREROLL
28980 2005-06-23 Wim Taymans <wim@fluendo.com>
28982 * gst/gstpad.c: (gst_pad_event_default):
28983 * gst/gstqueue.c: (gst_queue_loop):
28984 No unsafe task pausing please.
28986 2005-06-23 Wim Taymans <wim@fluendo.com>
28988 * gst/schedulers/threadscheduler.c:
28989 (gst_thread_scheduler_task_start),
28990 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
28991 Ref the task before pushing it on the threadpool. This
28992 makes sure that we have a ref when the threadfunction is
28995 2005-06-23 Andy Wingo <wingo@pobox.com>
28997 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
28998 offset is greater than the file's size.
29000 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29001 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29002 * gst/gstobject.c (gst_object_class_init): Make the class lock
29003 recursive. Wim won't let me drop deep_notify. Decodebin works
29004 again, whoopdy doo.
29006 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29007 internal pad, and hacks accordingly. Doesn't do it on the target
29008 pad because we change its caps. Probably catches all cases of
29010 (gst_ghost_pad_set_property): Connect to notify::caps as
29013 * tests/network-clock.scm (plot-simulation): Pipe data to the
29014 elite python skript.
29016 * tests/network-clock-utils.scm (define-parameter): New macro,
29017 defines a parameter that can be set via the command line.
29018 (set-parameter!, parse-parameter-arguments): Command line args
29021 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29024 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29026 * gst/elements/gsttypefindelement.c:
29027 (gst_type_find_element_handle_event):
29028 Don't restart typefinding on a discont.
29029 * gst/gstelement.c: (gst_element_set_state):
29030 Debug spelling fix.
29031 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29032 Allow changing mode of an active pad.
29033 Debug output fixes.
29034 * gst/registries/gstlibxmlregistry.c: (load_feature):
29035 Don't cast a static pad template to a normal pad template.
29037 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29039 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29040 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29041 remove gst_strtoll completely, since it didn't actually do
29042 anything more than what g_ascii_strtoull already does.
29043 check for range errors when deserializing
29044 do a cast for the unsigned cases; but further fixing needs
29045 a decision on what the interpretation of "(int)" and
29046 deserialization should be for values that fall outside the
29047 type's boundaries (ie, refuse, or interpret as casting)
29049 2005-06-23 Wim Taymans <wim@fluendo.com>
29051 * check/Makefile.am:
29052 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29053 * docs/design/part-live-source.txt:
29054 * docs/design/part-states.txt:
29055 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29056 (gst_basesrc_set_live), (gst_basesrc_is_live),
29057 (gst_basesrc_get_range), (gst_basesrc_activate),
29058 (gst_basesrc_change_state):
29059 * gst/base/gstbasesrc.h:
29060 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29061 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29062 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29063 * gst/gstelement.c: (gst_element_get_state_func),
29064 (gst_element_set_state):
29065 * gst/gstelement.h:
29067 * tools/gst-launch.c: (event_loop), (main):
29068 Added support for live sources and other elements that
29070 Updated design docs, added live-source design doc.
29071 Implemented live source functionality in basesrc
29072 Fix error condition in _bin_get_state()
29073 Implement live source handling in -launch.
29074 Added check for live sources.
29075 Fixed case in GstBin where elements were changed state
29079 2005-06-23 Andy Wingo <wingo@pobox.com>
29081 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29082 borken refcounting.
29084 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29085 gst_caps_replace takes care of this for us.
29087 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29088 gst_pad_set_caps on the target, not just its setcaps() function.
29090 * tests/network-clock.scm:
29091 * tests/network-clock-utils.scm: A network clock simulator.
29092 Something of an algorithmic testbed before doing something in C.
29094 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29096 * check/Makefile.am:
29097 * check/gst/capslist.h:
29098 copy over from 0.8, and add two with bitmasks specified with
29100 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29101 add test to parse everything from capslist.h
29102 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29104 add test for structure deserialization
29105 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29106 add tests for deserialization of strings to int types
29107 * gst/gststructure.c: (gst_structure_nth_field_name):
29108 * gst/gststructure.h:
29109 add a way to get the name of a field referenced by index
29110 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29111 instead of checking if the resulting long long lies between
29112 min and max, we check if the long long would fit into
29113 a number of bytes for the final type.
29114 This fixes cases where a string represents 2^32 - 1, which
29115 when cast to int would be the (valid) -1, but is bigger than
29118 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29120 * gst/parse/grammar.y:
29121 add a log line for type deserialization
29123 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29125 * check/gst/gstvalue.c: (START_TEST):
29126 * gst/gstvalue.c: (gst_value_deserialize):
29127 return long long, not int, so gint64 deserialization actually
29128 works. Is there any flag that makes the compiler check this ?
29131 2005-06-22 Wim Taymans <wim@fluendo.com>
29134 Added convenience macros for setting buffers in GValue.
29136 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29138 * check/gst/.cvsignore:
29139 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29140 add a test deserializing int64, and comment part out because
29143 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29145 * check/Makefile.am:
29146 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29147 * testsuite/Makefile.am:
29148 * testsuite/caps/Makefile.am:
29149 * testsuite/caps/value_serialize.c:
29150 * testsuite/test_gst_init.c:
29151 move a value_serialize test over
29153 2005-06-20 Wim Taymans <wim@fluendo.com>
29158 * gst/gstvalue.c: (gst_value_compare_buffer),
29159 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29160 (gst_value_compare_flags), (gst_value_serialize_flags),
29161 (gst_value_deserialize_flags), (_gst_value_initialize):
29162 Fix serialisation of buffers, they are not boxed types anymore
29164 2005-06-20 Wim Taymans <wim@fluendo.com>
29166 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29167 Testcase to show error in buffer-on-caps serialisation.
29169 2005-06-20 Andy Wingo <wingo@pobox.com>
29171 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29172 will be adding to later.
29174 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29175 if its socks fill with rocks.
29176 (gst_system_clock_obtain): Set the name on object construction.
29177 Avoid double-checked locking.
29179 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29181 * gst/gsturi.c: (gst_element_make_from_uri):
29182 Fix potential endless loop.
29184 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29186 * check/Makefile.am:
29188 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29190 move over from testsuite dir and clean up
29193 * testsuite/Makefile.am:
29194 * testsuite/tags/.cvsignore:
29195 * testsuite/tags/Makefile.am:
29196 * testsuite/tags/merge.c:
29197 remove testsuite/tags
29199 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29201 * docs/gst/gstreamer-sections.txt:
29202 * docs/gst/tmpl/gstenumtypes.sgml:
29203 * win32/gstenumtypes.c:
29204 clean up documentation build a little
29206 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29208 * check/gstcheck.h:
29209 add macros for checking refcounts on objects and caps
29210 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29211 add some more unit tests
29212 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29213 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29214 fix leaked refcounts (I hope :)) so unittest works
29218 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29220 * configure.ac: back to HEAD
29222 === release 0.9.1 ===
29224 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29230 2005-06-17 Andy Wingo <wingo@pobox.com>
29232 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29233 assert; it's always possible that the pad gets deactivated in
29234 between the checks in gstpad.c and the implementation. Rely on
29235 finish_preroll() to return a FLUSHING or similar instead of on the
29238 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29239 clock and post an EOS message if we come out of finish_preroll in
29242 2005-06-16 David Schleef <ds@schleef.org>
29244 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29245 (gst_capsfilter_set_property): Allow NULL as possible value
29246 for filter_caps property, indicating GST_CAPS_ANY.
29248 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29250 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29252 * gst/schedulers/Makefile.am:
29254 * gstreamer.spec.in:
29257 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29259 * gstreamer.spec.in:
29262 2005-06-08 Andy Wingo <wingo@pobox.com>
29264 * gst/gstutils.c: RPAD fixes all around.
29265 (gst_element_link_pads): Refcounting fixes.
29267 * tools/gst-inspect.c:
29268 * tools/gst-xmlinspect.c:
29270 * gst/base/gsttypefindhelper.c:
29271 * gst/base/gstbasesink.c:
29272 * gst/gstqueue.c: RPAD fixes.
29274 * gst/gstghostpad.h:
29275 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29276 pads. The tricky thing is they provide both source and sink
29277 interfaces, since they proxy the internal pad for the external
29278 pad, and vice versa. Implement with lower-level ProxyPad objects,
29279 with the interior proxy pad as a child of the exterior ghost pad.
29280 Should write a doc on this.
29282 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29283 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29286 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29287 pads are real pads. No ghost pads in this file. Not documenting
29288 the myriad s/RPAD/PAD/ and REALIZE fixes.
29289 (gst_pad_class_init): Add properties for "direction" and
29290 "template". Both are construct-only, so they can't change during
29291 the life of the pad. Fixes properly deriving from GstPad.
29292 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29293 derived objects, just set properties when creating the objects via
29295 (gst_pad_get_parent): Implement as a function, return NULL if the
29296 parent is not an element.
29297 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29298 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29300 * gst/gstobject.c (gst_object_class_init): Make name a construct
29301 property. Don't set it in the object init.
29303 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29304 with UNKNOWN direction.
29305 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29306 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29307 (gst_element_remove_pad): Remove ghost-pad special cases.
29308 (gst_element_pads_activate): Remove rpad cruft.
29310 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29311 catch the pad's-parent-not-an-element case.
29313 * gst/gst.h: Include gstghostpad.h.
29315 * gst/gst.c (init_post): No more real, ghost pads.
29317 * gst/Makefile.am: Add gstghostpad.[ch].
29319 * check/Makefile.am:
29320 * check/gst/gstbin.c:
29321 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29322 into a bin creates ghost pads, and that the refcounts are right.
29323 Partly moved from gstbin.c.
29325 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29327 * check/gst-libs/.cvsignore:
29328 * check/gst/.cvsignore:
29329 * check/pipelines/.cvsignore:
29331 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29332 (START_TEST), (cleanup_suite), (main):
29333 add some tests related to cleanup after running pipelines
29335 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29337 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29338 add a testsuite for GstBuffer
29340 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29342 * gst/gstminiobject.h:
29343 add defines for accessing the refcount
29345 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29347 * Makefile.am: added support for html unit test coverage reports
29349 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29351 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29352 Free existing caps if the capsfilter changes. Add a FIXME about
29353 setting those caps on the pads.
29355 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29356 Before adding a ghost pad to a parent bin, check that there isn't
29357 already one for the element on the bin. Prevents infinite recursion
29358 when using decodebin in parse pipelines. Andy says he'll rewrite the
29359 way this works anyway, so ignore the hack.
29361 2005-06-02 Andy Wingo <wingo@pobox.com>
29363 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29364 file size, pass it on to the type find helper.
29366 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29367 segment_start and segment_end properly according to the seek
29368 method. Segment_end is still a bit flaky because offset can be
29369 negative for CUR and END cases, but it takes -1 as an "unset"
29372 2005-06-02 Wim Taymans <wim@fluendo.com>
29374 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29375 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29376 (gst_basesink_activate):
29377 * gst/base/gstbasesink.h:
29378 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29379 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29380 (gst_pad_query), (gst_pad_start_task):
29382 * gst/gstqueue.c: (gst_queue_bufferalloc),
29383 (gst_queue_handle_sink_event), (gst_queue_chain):
29384 Bufferalloc: return GstFlowReturn to more accuratly report
29385 why allocation failed.
29387 2005-06-02 Wim Taymans <wim@fluendo.com>
29389 * gst/gstpipeline.c: (gst_pipeline_send_event):
29390 Take snapshot of state without blocking.
29392 2005-06-02 Wim Taymans <wim@fluendo.com>
29394 * docs/design/part-TODO.txt:
29395 * docs/design/part-caps.txt:
29396 * docs/design/part-clocks.txt:
29397 * docs/design/part-negotiation.txt:
29398 * docs/design/part-preroll.txt:
29401 2005-05-30 Wim Taymans <wim@fluendo.com>
29403 * gst/elements/gstidentity.c: (gst_identity_event),
29404 (gst_identity_transform), (gst_identity_get_property):
29405 Protect last_message property as it is accessed from
29408 2005-05-30 Wim Taymans <wim@fluendo.com>
29410 * gst/gstelement.c: (gst_element_init),
29411 (gst_element_pads_activate), (gst_element_change_state):
29412 Slicker pad activation code.
29414 2005-05-30 Wim Taymans <wim@fluendo.com>
29417 * gst/gstelement.h:
29418 * gst/gstelementfactory.h:
29420 Move elementfactory methods to separate .h file.
29422 2005-05-30 Wim Taymans <wim@fluendo.com>
29424 * docs/design/part-overview.txt:
29425 * gst/gstsystemclock.h:
29426 Small typo fixes, doc updates.
29428 2005-05-30 Wim Taymans <wim@fluendo.com>
29430 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29431 (init_popt_callback):
29432 Remove cpu-opt flag.
29434 2005-05-30 Wim Taymans <wim@fluendo.com>
29436 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29437 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29439 Avoid typechecking in places where not needed.
29440 Added accessor for malloc_data.
29442 2005-05-30 Wim Taymans <wim@fluendo.com>
29444 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29445 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29446 (gst_pad_configure_sink), (gst_pad_configure_src),
29447 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29448 (gst_pad_start_task):
29449 Propagate errors from _set_caps() in configure_src/sink
29450 functions instead of returning TRUE.
29451 FLUSH events can travel up and downstream
29454 2005-05-30 Wim Taymans <wim@fluendo.com>
29456 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29457 (gst_basesink_activate):
29458 Handle EOS in preroll.
29460 2005-05-30 Wim Taymans <wim@fluendo.com>
29462 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29463 (gst_queue_loop), (gst_queue_handle_src_event):
29464 Remove old pieces of code
29465 Flushing the queue in an upstream event is a very bad idea.
29467 2005-05-26 Andy Wingo <wingo@pobox.com>
29469 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29470 gst_value_set_mini_object so as to add a ref on the object (which
29471 will be removed when the value is unset).
29473 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29474 arg type in ::handoff.
29476 * gst/gstelement.c (gst_element_change_state): Also deactivate
29477 pads in READY->NULL, just in case the element didn't make it to
29478 PAUSED. Wingo tested, Wim approved.
29480 2005-05-26 Wim Taymans <wim@fluendo.com>
29482 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29483 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29484 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29485 A flushing pad cannot be used to alloc_buffer from.
29487 2005-05-26 Wim Taymans <wim@fluendo.com>
29489 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29490 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29491 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29492 (gst_bus_create_watch), (gst_bus_add_watch_full):
29494 Implement a real GSource and use g_main_context_wakeup() to
29495 signal new messages instead of the socketpair.
29497 2005-05-25 Wim Taymans <wim@fluendo.com>
29499 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29500 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29501 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29502 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29503 (gst_pad_send_event), (gst_pad_start_task):
29504 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29505 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29506 (gst_queue_sink_activate), (gst_queue_src_activate),
29507 (gst_queue_change_state):
29509 Fix state changes for non sinks. We now change sinks, then elements
29510 with unconnected srcpads, then the rest.
29511 More efficient queue unlocking in flush and state changes.
29512 Set the pad activate mode even if it does not have an activate
29515 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29517 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29518 Don't go in pull mode for non-seekable sources.
29519 * gst/elements/gsttypefindelement.h:
29520 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29521 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29522 (free_entry), (stop_typefinding),
29523 (gst_type_find_element_handle_event), (find_peek),
29524 (gst_type_find_element_chain), (do_pull_typefind),
29525 (gst_type_find_element_change_state):
29526 Allow typefinding (w/o seeking) in push-mode, simplified version
29527 of what was in 0.8.
29528 * gst/gstutils.c: (gst_buffer_join):
29530 gst_buffer_join() from 0.8.
29532 2005-05-25 Wim Taymans <wim@fluendo.com>
29534 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29535 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29536 (gst_pad_send_event), (gst_pad_start_task):
29537 Disable attempt at mode switching until it is figured out.
29539 2005-05-25 Wim Taymans <wim@fluendo.com>
29541 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29542 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29543 (gst_basesink_finish_preroll), (gst_basesink_chain),
29544 (gst_basesink_loop), (gst_basesink_activate),
29545 (gst_basesink_change_state):
29546 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29547 (gst_basesrc_get_range), (gst_basesrc_loop),
29548 (gst_basesrc_activate):
29549 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29550 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29551 (gst_real_pad_init), (gst_real_pad_set_property),
29552 (gst_real_pad_get_property), (gst_pad_set_active),
29553 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29554 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29555 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29556 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29557 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29558 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29559 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29560 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29561 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29562 (gst_pad_stop_task):
29564 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29565 (gst_queue_loop), (gst_queue_src_activate):
29566 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29567 (gst_task_get_state):
29569 * gst/schedulers/threadscheduler.c:
29570 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29571 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29573 Remove ACTIVE pad flag, use FLUSHING everywhere
29574 Added _pad_chain(), _pad_get_range() to call chain/getrange
29576 Add locks around IS_FLUSHING when reading.
29577 Take STREAM lock in chain(), get_range() functions so plugins
29578 don't need to take it anymore.
29582 2005-05-25 Wim Taymans <wim@fluendo.com>
29584 * tools/gst-launch.c: (event_loop):
29585 Unref message after using its contents instead of
29588 2005-05-24 Wim Taymans <wim@fluendo.com>
29590 * docs/design/draft-ghostpads.txt:
29591 * docs/design/draft-push-pull.txt:
29592 * docs/design/draft-query.txt:
29593 * docs/design/part-overview.txt:
29594 Docs updates, added general overview doc.
29596 2005-05-21 David Schleef <ds@schleef.org>
29598 * docs/gst/tmpl/old/GstBin.sgml:
29599 * docs/gst/tmpl/old/GstBuffer.sgml:
29600 * docs/gst/tmpl/old/GstCaps.sgml:
29601 * docs/gst/tmpl/old/GstClock.sgml:
29602 * docs/gst/tmpl/old/GstCompat.sgml:
29603 * docs/gst/tmpl/old/GstData.sgml:
29604 * docs/gst/tmpl/old/GstElement.sgml:
29605 * docs/gst/tmpl/old/GstEvent.sgml:
29606 * docs/gst/tmpl/old/GstIndex.sgml:
29607 * docs/gst/tmpl/old/GstStructure.sgml:
29608 * docs/gst/tmpl/old/GstTag.sgml:
29609 * docs/gst/tmpl/old/cothreads.sgml:
29610 * docs/gst/tmpl/old/cothreads_compat.sgml:
29611 * docs/gst/tmpl/old/gettext.sgml:
29612 * docs/gst/tmpl/old/gobject2gtk.sgml:
29613 * docs/gst/tmpl/old/grammar.tab.sgml:
29614 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29615 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29616 * docs/gst/tmpl/old/gst_private.sgml:
29617 * docs/gst/tmpl/old/gstaggregator.sgml:
29618 * docs/gst/tmpl/old/gstarch.sgml:
29619 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29620 * docs/gst/tmpl/old/gstbufferstore.sgml:
29621 * docs/gst/tmpl/old/gstdata_private.sgml:
29622 * docs/gst/tmpl/old/gstdisksink.sgml:
29623 * docs/gst/tmpl/old/gstdisksrc.sgml:
29624 * docs/gst/tmpl/old/gstelementfactory.sgml:
29625 * docs/gst/tmpl/old/gstextratypes.sgml:
29626 * docs/gst/tmpl/old/gstfakesink.sgml:
29627 * docs/gst/tmpl/old/gstfakesrc.sgml:
29628 * docs/gst/tmpl/old/gstfdsink.sgml:
29629 * docs/gst/tmpl/old/gstfdsrc.sgml:
29630 * docs/gst/tmpl/old/gstfilesink.sgml:
29631 * docs/gst/tmpl/old/gstfilesrc.sgml:
29632 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29633 * docs/gst/tmpl/old/gstidentity.sgml:
29634 * docs/gst/tmpl/old/gstindexfactory.sgml:
29635 * docs/gst/tmpl/old/gstmarshal.sgml:
29636 * docs/gst/tmpl/old/gstmd5sink.sgml:
29637 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29638 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29639 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29640 * docs/gst/tmpl/old/gstpipefilter.sgml:
29641 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29642 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29643 * docs/gst/tmpl/old/gstshaper.sgml:
29644 * docs/gst/tmpl/old/gstspider.sgml:
29645 * docs/gst/tmpl/old/gstspideridentity.sgml:
29646 * docs/gst/tmpl/old/gststatistics.sgml:
29647 * docs/gst/tmpl/old/gsttee.sgml:
29648 * docs/gst/tmpl/old/gsttimecache.sgml:
29649 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29650 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29651 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29652 * docs/gst/tmpl/old/types.sgml:
29653 I didn't intend to add these or check them in.
29655 2005-05-19 David Schleef <ds@schleef.org>
29657 * configure.ac: Use -no-common everywhere. In a sane world, it
29658 would be the default in libtool, because without it, you can't
29659 build DLLs on Windows.
29660 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29661 * docs/gst/gstreamer-sections.txt:
29662 * docs/gst/tmpl/gstcpu.sgml:
29663 * docs/gst/tmpl/gstdata.sgml:
29664 * docs/gst/tmpl/gstthread.sgml:
29666 2005-05-19 David Schleef <ds@schleef.org>
29668 * gst/gstminiobject.c: (gst_value_set_mini_object),
29669 (gst_value_take_mini_object), (gst_value_get_mini_object):
29670 * gst/gstminiobject.h: Add GValue set/get functions.
29672 2005-05-19 Wim Taymans <wim@fluendo.com>
29674 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29675 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29676 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29678 * gst/gstbus.c: (gst_bus_post):
29679 * gst/gstelement.c: (gst_element_get_random_pad):
29680 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29681 Make subbufer unref the parent in finalize.
29682 some more debugging info.
29685 2005-05-19 Wim Taymans <wim@fluendo.com>
29687 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29688 (gst_basesink_init), (gst_basesink_finalize),
29689 (gst_basesink_activate), (gst_basesink_change_state):
29690 Don't free preroll queue too early.
29692 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29696 Hi, I'm outdated. Please shoot me.
29698 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29700 * gst/gstpipeline.c: (gst_pipeline_send_event):
29701 Do not access variables after they have been deleted.
29703 2005-05-19 Wim Taymans <wim@fluendo.com>
29705 * tools/gst-inspect.c: (print_plugin_features):
29706 A plugin feature does unfortunatly not use the
29709 2005-05-18 Wim Taymans <wim@fluendo.com>
29711 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29712 Port _span() functions to new subbuffers.
29714 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29716 * gst/gstbin.c: (gst_bin_add_func):
29717 Fix clock settery in bins when adding kids after the clock has
29720 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29722 * gst/elements/gstidentity.c: (gst_identity_class_init):
29723 Workaround until signals support GstMiniObject.
29725 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29728 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29730 2005-05-18 Wim Taymans <wim@fluendo.com>
29732 * gst/base/Makefile.am:
29733 * gst/base/gstadapter.c: (gst_adapter_base_init),
29734 (gst_adapter_class_init), (gst_adapter_init),
29735 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29736 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29737 (gst_adapter_flush), (gst_adapter_available),
29738 (gst_adapter_available_fast):
29739 * gst/base/gstadapter.h:
29740 Ported and added adapter to the base classes.
29742 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29745 * gst/gstmessage.c:
29746 Make sure the class is reffed/unreffed once before threads can be
29747 used. Fixes #304551.
29749 2005-05-17 Wim Taymans <wim@fluendo.com>
29751 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29752 (gst_basesink_chain_unlocked), (gst_basesink_activate):
29753 * gst/gstminiobject.c: (gst_mini_object_get_type),
29754 (gst_mini_object_free):
29755 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29756 (gst_pad_push), (gst_pad_push_event):
29757 * gst/gstqueue.c: (gst_queue_change_state):
29758 Don't queue buffers in basesink when we are flushing.
29759 Unref buffer when flushing in basesink.
29760 Flush queue when going to READY
29761 Unref buffer when _push() returns an error.
29762 Don't free MiniObject instance when refcount is incremented
29763 in _finalize() so that we can recover objects.
29765 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29767 * docs/manual/advanced-schedulers.xml:
29768 * docs/manual/appendix-checklist.xml:
29769 * docs/pwg/advanced-clock.xml:
29770 * docs/pwg/advanced-interfaces.xml:
29771 * docs/pwg/advanced-request.xml:
29772 * docs/pwg/advanced-types.xml:
29773 * docs/pwg/intro-preface.xml:
29774 * examples/plugins/example.c: (gst_example_get_type),
29775 (gst_example_class_init), (gst_example_chain),
29776 (gst_example_set_property), (gst_example_get_property),
29777 (gst_example_change_state), (plugin_init):
29778 * examples/plugins/example.h:
29781 2005-05-17 Wim Taymans <wim@fluendo.com>
29783 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29784 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29785 * gst/gstqueue.c: (gst_queue_change_state):
29786 Clear queue when going to READY.
29787 Remove IN_SETCAPS flag too.
29789 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
29791 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29792 Remove implicit cast from gboolean to GstElementStateReturn;
29793 make sure we still return failure in paused => ready case if
29794 the parent class fails to change state and our own stop
29797 2005-05-17 Wim Taymans <wim@fluendo.com>
29799 * tools/gst-launch.c: (event_loop):
29800 Message was unreffed too soon.
29802 2005-05-16 Andy Wingo <wingo@pobox.com>
29804 * gst/gstbin.c (sink_iterator_filter): Err... um...
29806 * check/gst/gstbin.c (test_ghost_pads): New test for the
29807 ghosting-if-elements-not-in-same-bin behavior.
29809 2005-05-16 David Schleef <ds@schleef.org>
29811 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29812 accessing refcount directly.
29814 2005-05-15 David Schleef <ds@schleef.org>
29816 * check/Makefile.am: remove GstData checks
29817 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29818 * gst/Makefile.am: add miniobject, remove data
29819 * gst/gst.h: add miniobject, remove data
29820 * gst/gstdata.c: remove
29821 * gst/gstdata.h: remove
29822 * gst/gstdata_private.h: remove
29823 * gst/gsttypes.h: remove GstEvent and GstMessage
29824 * gst/gstelement.c: (gst_element_post_message): fix for API changes
29825 * gst/gstmarshal.list: change BOXED -> OBJECT
29827 Implement GstMiniObject.
29828 * gst/gstminiobject.c:
29829 * gst/gstminiobject.h:
29831 Modify to be subclasses of GstMiniObject.
29832 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29833 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29834 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29835 (gst_subbuffer_get_type), (gst_subbuffer_init),
29836 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29839 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29840 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29841 (_gst_event_copy), (gst_event_new):
29843 * gst/gstmessage.c: (_gst_message_initialize),
29844 (gst_message_get_type), (gst_message_class_init),
29845 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29846 (gst_message_new), (gst_message_new_error),
29847 (gst_message_new_warning), (gst_message_new_tag),
29848 (gst_message_new_state_changed), (gst_message_new_application):
29849 * gst/gstmessage.h:
29850 * gst/gstprobe.c: (gst_probe_perform),
29851 (gst_probe_dispatcher_dispatch):
29853 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29854 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29855 (_gst_query_copy), (gst_query_new):
29857 Update elements for GstData -> GstMiniObject changes
29859 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29860 (gst_queue_chain), (gst_queue_loop):
29861 * gst/elements/gstbufferstore.c:
29862 (gst_buffer_store_add_buffer_func),
29863 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29864 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29865 (gst_fakesink_render):
29866 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29867 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29868 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29869 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29870 (gst_filesrc_create_read):
29871 * gst/elements/gstidentity.c: (gst_identity_class_init):
29872 * gst/elements/gsttypefindelement.c:
29873 (gst_type_find_element_src_event), (free_entry_buffers),
29874 (gst_type_find_element_handle_event):
29875 * libs/gst/dataprotocol/dataprotocol.c:
29876 (gst_dp_header_from_buffer):
29877 * libs/gst/dataprotocol/dataprotocol.h:
29878 * libs/gst/dataprotocol/dp-private.h:
29880 2005-05-15 David Schleef <ds@schleef.org>
29882 * gst/elements/gstelements.c: Don't include headers that were
29885 2005-05-15 David Schleef <ds@schleef.org>
29887 * gst/elements/Makefile.am: Remove some elements that don't
29888 need to be in the core (or even exist at all).
29889 * gst/elements/gstaggregator.c:
29890 * gst/elements/gstaggregator.h:
29891 * gst/elements/gstmd5sink.c:
29892 * gst/elements/gstmd5sink.h:
29893 * gst/elements/gstmultifilesrc.c:
29894 * gst/elements/gstmultifilesrc.h:
29895 * gst/elements/gstpipefilter.c:
29896 * gst/elements/gstpipefilter.h:
29897 * gst/elements/gstshaper.c:
29898 * gst/elements/gstshaper.h:
29899 * gst/elements/gststatistics.c:
29900 * gst/elements/gststatistics.h:
29901 * po/POTFILES.in: Remove above files.
29903 2005-05-14 Andy Wingo <wingo@pobox.com>
29905 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29906 so as to get the refs right.
29907 (sink_iterator_filter): New function, wraps bin_element_is_sink,
29908 unreffing objects that don't pass the filter.
29910 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
29911 gst_element_set_bus.
29912 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
29913 normal cases, this will destroy the bus.
29915 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
29918 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
29921 2005-05-13 Andy Wingo <wingo@pobox.com>
29923 * gst/gstutils.c (gst_element_link_pads): Instead of calling
29924 gst_pad_link, call pad_link_maybe_ghosting,
29925 (pad_link_maybe_ghosting): Links pads, making sure that the
29926 elements being linked are in the same bin.
29927 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
29928 Helpers for pad_link_maybe_ghosting.
29930 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29933 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
29935 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29937 * docs/design/part-element-source.txt:
29940 2005-05-12 Wim Taymans <wim@fluendo.com>
29942 * gst/base/gstbasesink.c: (gst_basesink_init),
29943 (gst_basesink_activate):
29944 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
29945 (gst_basesrc_is_seekable):
29946 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
29947 (bin_element_is_sink), (gst_bin_change_state):
29948 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29949 * gst/gstelement.h:
29950 Identify sinks by their flag to avoid overly complicated
29952 Do state changes even for elements not reachable from the
29954 BaseSink is a sink now :)
29955 Some more debugging info in the basesrc.
29958 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29960 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
29961 Implement _query on a bin, similar to _send_event.
29963 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
29965 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
29966 Discont event offset format should be GST_FORMAT_BYTES,
29967 not GST_FORMAT_TIME.
29969 2005-05-12 Wim Taymans <wim@fluendo.com>
29971 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
29972 Same fix as Ronald's but without the signal.
29974 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29976 * gst/gstutils.c: (gst_element_query_position):
29977 No, an element is not a pad.
29979 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29981 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
29982 (gst_bin_get_state):
29983 If a child is removed from a bin while we remove the child from
29984 the bin and while we're retrieving its state, signal this to the
29985 get_state function so we abort the wait (instead of waiting for
29986 a timeout) and can immediately re-iterate over all other elements.
29988 2005-05-12 Wim Taymans <wim@fluendo.com>
29990 * gst/base/Makefile.am:
29991 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
29992 (gst_basesrc_start):
29993 * gst/base/gstbasesrc.h:
29994 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
29995 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
29996 (gst_pushsrc_init), (gst_pushsrc_create):
29997 * gst/base/gstpushsrc.h:
29998 Added is_seekable to BaseSrc
29999 Added simple PushSrc.
30001 2005-05-11 Wim Taymans <wim@fluendo.com>
30003 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30004 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30005 (gst_element_link_pads), (gst_element_query_position),
30006 (gst_element_query_convert), (intersect_caps_func),
30007 (gst_pad_query_position), (gst_pad_query_convert):
30008 Fix refcounting in utils function.
30009 No point in trying to activate a pad when it's added, it could
30010 be added from the state change function and then we deadlock, the
30011 element has to decide what to do.
30013 2005-05-10 Andy Wingo <wingo@pobox.com>
30015 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30016 *all* the arguments.
30018 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30019 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30020 lock (according to the docs -- if this is wrong change the docs).
30022 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30023 flush messages in the NULL state.
30025 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30026 message immediately and return.
30027 (gst_bus_set_flushing): New function. If a bus is flushing, it
30028 flushes out any queued messages and immediately unrefs new
30029 messages. This is so when an element goes to NULL, all of the
30030 unhandled messages coming from it can be freed, and their
30031 references to the element dropped. In other words: message source
30032 ref considered harmful :P
30034 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30035 we're finished with it.
30037 * gst/gstmessage.c (gst_message_new_state_changed):
30039 2005-05-10 Wim Taymans <wim@fluendo.com>
30041 * gst/gstvalue.c: (gst_value_compare_flags),
30042 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30043 (_gst_value_initialize):
30044 Added flags serialize/deserialize/compare code.
30046 2005-05-09 Andy Wingo <wingo@pobox.com>
30048 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30049 Intersect the peer's caps with our caps.
30051 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30053 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30054 * gst/elements/gsttypefindelement.c: (find_peek):
30055 Handle negative offsets better. Fixes decodebin.
30057 2005-05-09 Wim Taymans <wim@fluendo.com>
30059 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30060 (gst_base_transform_event):
30061 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30062 Implement accept_caps.
30063 Fix silly lock/unlock mismatch in base class.
30065 2005-05-09 Wim Taymans <wim@fluendo.com>
30067 * docs/design/draft-push-pull.txt:
30068 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30069 * gst/elements/gstfilesink.c: (gst_filesink_init),
30070 (gst_filesink_query):
30071 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30072 (gst_type_find_handle_src_query), (find_element_get_length):
30073 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30074 * gst/gstelement.h:
30075 * gst/gstmessage.c:
30076 * gst/gstmessage.h:
30077 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30078 (gst_real_pad_get_caps_unlocked),
30079 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30080 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30081 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30082 (gst_real_pad_dispose), (gst_real_pad_finalize),
30083 (gst_pad_load_and_link), (gst_pad_save_thyself),
30084 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30085 (gst_pad_check_pull_range), (gst_pad_pull_range),
30086 (gst_pad_template_get_type), (gst_pad_template_class_init),
30087 (gst_pad_template_init), (gst_pad_template_dispose),
30088 (name_is_valid), (gst_static_pad_template_get),
30089 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30090 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30091 (gst_pad_get_element_private), (gst_pad_start_task),
30092 (gst_pad_pause_task), (gst_pad_stop_task),
30093 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30094 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30095 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30096 (gst_ghost_pad_new):
30098 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30099 (gst_query_new_position), (gst_query_set_position),
30100 (gst_query_parse_position), (gst_query_new_convert),
30101 (gst_query_set_convert), (gst_query_parse_convert):
30103 * gst/gstqueryutils.c:
30104 * gst/gstqueryutils.h:
30105 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30106 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30107 (gst_queue_handle_src_query):
30108 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30109 (gst_element_query_position), (gst_element_query_convert),
30110 (intersect_caps_func), (gst_pad_query_position),
30111 (gst_pad_query_convert):
30113 * tools/gst-inspect.c: (print_pad_info):
30114 * tools/gst-xmlinspect.c: (print_element_info):
30115 Remove old query functions. Ported old code.
30116 Added position/convert helper functions to gstutils.
30117 Reordered gstpad.c code, grouping relevant things.
30118 Remove gst_message_new(), always need to speficy a specific
30122 2005-05-09 Andy Wingo <wingo@pobox.com>
30124 * gst/gstiterator.h: Add some includes.
30126 * gst/gstqueryutils.h: Include more headers.
30129 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30130 some uses of gst_pad_query.
30132 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30133 NULL out parameters.
30134 (gst_query_new_position): New proc, allocates a new position
30137 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30138 gstqueryutils.c to the build.
30140 * gst/gststructure.c (gst_structure_set_valist): Implement with
30141 the generic G_VALUE_COLLECT.
30143 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30145 * gst/Makefile.am: (gst_headers):
30146 Added gstqueryutils.h to the list of headers to install, that was
30147 a 'nachty' move wingo :)
30149 2005-05-06 Andy Wingo <wingo@pobox.com>
30152 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30153 GstData, init a memchunk.
30154 (standard_definitions): Add a few query types, deprecate a few.
30155 (gst_query_get_type): New proc.
30156 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30158 (gst_query_new_application, gst_query_get_structure): New public
30161 * docs/design/draft-query.txt: Removed LINKS from the query types,
30162 because all the rest can be dispatched to other pads -- seemed
30163 ugly to have a query that couldn't be dispatched. internal_links
30164 is fine as a pad method.
30166 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30167 in gstpad.c, but maintain binary compatibility for the moment.
30168 Will fix before 0.9 is out.
30170 * gst/gstqueryutils.c:
30171 * gst/gstqueryutils.h: New files, implement 3 methods for each
30172 query type: parse_query, parse_response, and set. Probably need an
30175 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30177 * gst/elements/gstfilesink.c (gst_filesink_query2):
30178 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30179 query_types, and formats methods.
30181 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30182 (gst_pad_set_query2_function): New functions.
30183 (gst_real_pad_init): Set query2_default as the default query2
30184 function. Basically just dispatches to internally linked pads.
30188 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30189 without using the atomic operations. Only one thread can possibly
30190 be accessing the data at this point. Changed so as to avoid
30191 gst_atomic operations.
30193 2005-05-06 Wim Taymans <wim@fluendo.com>
30195 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30196 Also set caps if we use the fallback buffer alloc.
30198 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30200 * docs/gst/Makefile.am:
30201 * docs/gst/gstreamer-docs.sgml:
30202 * docs/gst/gstreamer-sections.txt:
30203 * docs/gst/tmpl/gstatomic.sgml:
30204 * docs/gst/tmpl/gstmemchunk.sgml:
30205 * testsuite/elements/struct_i386.h:
30206 * win32/GStreamer.vcproj:
30208 Purge GstAtomic stuff from docs and win32 makefiles as well
30210 2005-05-06 Wim Taymans <wim@fluendo.com>
30212 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30213 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30214 * gst/gstpad.c: (gst_pad_peer_get_caps):
30215 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30216 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30217 (gst_queue_src_activate), (gst_queue_change_state):
30219 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30220 (intersect_caps_func):
30221 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30222 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30223 Some fixes for the peer_get_caps() change.
30225 2005-05-06 Wim Taymans <wim@fluendo.com>
30227 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30228 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30229 (gst_basesink_activate):
30230 Actually do something with error codes returned from the push
30233 2005-05-06 Wim Taymans <wim@fluendo.com>
30235 * docs/design/part-element-sink.txt:
30236 * docs/design/part-element-source.txt:
30237 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30238 (gst_basesink_event), (gst_basesink_activate):
30239 * gst/base/gstbasesink.h:
30240 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30241 (gst_basesrc_activate):
30242 * gst/base/gstbasesrc.h:
30243 * gst/gstelement.c: (gst_element_pads_activate):
30244 Some more documentation.
30245 Fixed scheduling decision in _pads_activate().
30247 2005-05-05 Andy Wingo <wingo@pobox.com>
30249 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30252 2005-05-05 Wim Taymans <wim@fluendo.com>
30254 * gst/base/Makefile.am:
30255 * gst/base/gstbasesink.h:
30256 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30257 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30258 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30259 (gst_collectpads_class_init), (gst_collectpads_init),
30260 (gst_collectpads_finalize), (gst_collectpads_new),
30261 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30262 (find_pad), (gst_collectpads_remove_pad),
30263 (gst_collectpads_is_active), (gst_collectpads_collect),
30264 (gst_collectpads_collect_range), (gst_collectpads_start),
30265 (gst_collectpads_stop), (gst_collectpads_peek),
30266 (gst_collectpads_pop), (gst_collectpads_available),
30267 (gst_collectpads_read), (gst_collectpads_flush),
30268 (gst_collectpads_chain):
30269 * gst/base/gstcollectpads.h:
30270 * gst/elements/Makefile.am:
30271 * gst/elements/gstelements.c:
30272 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30273 (gst_fakesink_get_times), (gst_fakesink_event),
30274 (gst_fakesink_preroll), (gst_fakesink_render):
30275 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30276 (gst_filesink_init), (gst_filesink_set_location),
30277 (gst_filesink_open_file), (gst_filesink_close_file),
30278 (gst_filesink_pad_query), (gst_filesink_event),
30279 (gst_filesink_render), (gst_filesink_change_state):
30280 * gst/elements/gstfilesink.h:
30281 Added object to help in making collect pad based elements.
30283 Make event function in sink baseclass return gboolean.
30285 2005-05-05 Wim Taymans <wim@fluendo.com>
30287 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30288 (gst_bin_get_by_name):
30290 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30291 (gst_clock_finalize):
30292 * gst/gstdata.c: (gst_data_replace):
30294 * gst/gstelement.c: (gst_element_request_pad),
30295 (gst_element_pads_activate):
30296 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30297 (gst_object_unref):
30298 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30299 (gst_pad_set_checkgetrange_function),
30300 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30301 (gst_pad_check_pull_range), (gst_pad_pull_range),
30302 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30303 (gst_pad_pause_task), (gst_pad_stop_task):
30304 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30305 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30306 Fix name lookup in GstBin.
30307 Added _data_replace() function and _buffer_replace()
30308 Use finalize method to clean up clock.
30309 Fix refcounting on request pads.
30310 Fix pad schedule mode error.
30311 Some more object refcounting debug info,
30314 2005-05-04 Andy Wingo <wingo@pobox.com>
30316 * check/Makefile.am:
30317 * docs/gst/tmpl/gstatomic.sgml:
30318 * docs/gst/tmpl/gstplugin.sgml:
30319 * gst/base/gstbasesink.c: (gst_basesink_activate):
30320 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30321 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30322 (gst_basesrc_query), (gst_basesrc_set_property),
30323 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30324 (gst_basesrc_activate):
30325 * gst/base/gstbasesrc.h:
30326 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30327 (gst_base_transform_src_activate):
30328 * gst/elements/gstelements.c:
30329 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30330 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30331 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30332 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30333 (gst_type_find_element_checkgetrange),
30334 (gst_type_find_element_activate):
30335 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30336 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30337 (gst_caps_load_thyself):
30338 * gst/gstelement.c: (gst_element_pads_activate),
30339 (gst_element_save_thyself), (gst_element_restore_thyself):
30340 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30341 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30343 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30344 (gst_xml_parse_file), (gst_xml_parse_memory),
30345 (gst_xml_get_element), (gst_xml_make_element):
30346 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30347 (_file_index_id_save_xml), (gst_file_index_commit):
30348 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30349 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30351 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30352 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30353 * tools/gst-complete.c: (main):
30354 * tools/gst-compprep.c: (main):
30355 * tools/gst-inspect.c: (print_element_properties_info):
30356 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30357 * tools/gst-xmlinspect.c: (print_element_properties):
30360 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30362 * gst/gstplugin.c: (gst_plugin_check_module),
30363 (gst_plugin_check_file), (gst_plugin_load_file):
30364 apply patch from #172526 to make register work on MacOSX
30366 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30368 * docs/gst/tmpl/gstconfig.sgml:
30369 * gst/gstconfig.h.in:
30370 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30371 * testsuite/debug/printf_extension.c: (main):
30372 Do not use GST_PTR_FORMAT on pointers to types with
30373 sizeof < sizeof(gpointer). Fixes test on 64-bit
30374 * testsuite/elements/property.h:
30375 use correct printf format
30377 2005-05-02 Wim Taymans <wim@fluendo.com>
30379 * docs/design/draft-push-pull.txt:
30380 * docs/design/draft-query.txt:
30381 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30382 (gst_basesrc_start):
30383 Added draft for new query API.
30384 Added draft for better selecting scheduling methods.
30385 Make basesrc ignore length if the subclass does not support
30388 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30391 possible fixes for automake-1.5 - _LIBADD is reserved
30393 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30395 * docs/faq/Makefile.am:
30396 * docs/manual/Makefile.am:
30397 * docs/manuals.mak:
30398 * docs/pwg/Makefile.am:
30400 possible fixes for automake-1.5
30402 2005-04-28 Wim Taymans <wim@fluendo.com>
30404 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30405 (gst_basesink_pad_getcaps), (gst_basesink_init),
30406 (gst_basesink_do_sync):
30407 * gst/gstclock.c: (gst_clock_entry_new):
30408 * gst/gstevent.c: (gst_event_discont_get_value):
30409 * gst/gstpipeline.c: (pipeline_bus_handler),
30410 (gst_pipeline_change_state):
30411 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30412 Better debugging of clocking info.
30413 Allow NULL values when getting discont values.
30415 2005-04-27 Wim Taymans <wim@fluendo.com>
30417 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30418 * check/gst/gstpad.c: (gst_pad_suite):
30419 Increase timeout for checks.
30421 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30423 * check/Makefile.am:
30424 fix the broken rule for cleanup. Apparently this rule is
30425 only needed on FC2, so maybe this warrants further autotool
30428 2005-04-26 Wim Taymans <wim@fluendo.com>
30430 * gst/gsttrashstack.h:
30431 Ooohh. a nasty one! After having a failed pop() from the stack,
30432 it's possible that the stack is empty. In that case, don't
30433 follow the NULL pointer.
30435 2005-04-25 Wim Taymans <wim@fluendo.com>
30437 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30438 (gst_pad_set_checkgetrange_function),
30439 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30440 (gst_pad_check_pull_range), (gst_pad_pull_range),
30441 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30442 (gst_pad_pause_task), (gst_pad_stop_task):
30443 * gst/gstplugin.c: (gst_plugin_load):
30445 Remove gst_library_load as it does more harm than good with
30446 the new g_module flags.
30447 Revert bogus caps template check in pad linking, pad caps
30448 are important when linking not the template, which is more
30449 general than the current caps.
30451 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30453 * gst/autoplug/.cvsignore:
30454 * gst/autoplug/Makefile.am:
30455 * gst/autoplug/gstsearchfuncs.c:
30456 * gst/autoplug/gstsearchfuncs.h:
30457 * gst/autoplug/gstspider.c:
30458 * gst/autoplug/gstspider.h:
30459 * gst/autoplug/gstspideridentity.c:
30460 * gst/autoplug/gstspideridentity.h:
30461 * gst/autoplug/spidertest.c:
30464 2005-04-25 Wim Taymans <wim@fluendo.com>
30466 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30467 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30468 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30469 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30471 Added stubs for unimplemented functions.
30473 2005-04-24 David Schleef <ds@schleef.org>
30475 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30478 2005-04-24 David Schleef <ds@schleef.org>
30480 Convert everything from GstAtomicInt to g_atomic_int_*, and
30485 * gst/gstatomic_impl.h:
30493 * gst/gstdata_private.h:
30497 * gst/gstmessage.c:
30500 * gst/gststructure.c:
30501 * gst/gststructure.h:
30502 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30505 2005-04-24 David Schleef <ds@schleef.org>
30507 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30508 make the regressions tests work. Remove some code that is no
30510 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30511 Disable warning for pads without templates.
30513 2005-04-24 David Schleef <ds@schleef.org>
30515 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30516 functions that handle filtered links.
30517 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30519 * gst/gstutils.c: Fix/remove utility functions that handle
30522 * gst/gstvalue.c: Add serialization/deserialization of caps
30523 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30524 requires fixing so that the filter caps notation creates
30525 a capsfilter element and sets the filter_caps property. I
30526 think everyone probably wants to keep the shorthand notation.
30527 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30528 * docs/gst/tmpl/gstpad.sgml:
30530 * gst/elements/gstelements.c: Register capsfilter element.
30531 * gst/Makefile.am: fix spacing
30532 * docs/random/ds/0.9-suggested-changes: random
30534 2005-04-23 David Schleef <ds@schleef.org>
30536 * gst/elements/Makefile.am:
30537 * gst/elements/gstcapsfilter.c: New element that acts like an
30538 identity, but filters caps. Will eventually replace filtered
30539 caps in pad linking.
30540 * gst/gstutils.c: (gst_element_create_all_pads): New function
30541 to create all the ALWAYS pads that are registered with an
30542 element class. This functionality should eventually be
30543 merged in with GstElement initialization.
30545 * testsuite/trigger/README: part of trigger test code that should
30546 have been checked in a long time ago.
30548 2005-04-23 David Schleef <ds@schleef.org>
30550 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30551 needed with new versions of libtool (nobody will confirm this),
30552 and hard to carry around.
30553 * gst/autoplug/Makefile.am:
30554 * gst/base/Makefile.am:
30555 * gst/elements/Makefile.am:
30556 * gst/indexers/Makefile.am:
30557 * gst/schedulers/Makefile.am:
30558 * libs/gst/bytestream/Makefile.am:
30559 * libs/gst/control/Makefile.am:
30560 * libs/gst/dataprotocol/Makefile.am:
30561 * libs/gst/getbits/Makefile.am:
30563 2005-04-21 Wim Taymans <wim@fluendo.com>
30565 * docs/design/draft-push-pull.txt:
30566 * docs/design/part-MT-refcounting.txt:
30567 * docs/design/part-TODO.txt:
30568 * docs/design/part-caps.txt:
30569 * docs/design/part-events.txt:
30570 * docs/design/part-gstbus.txt:
30571 * docs/design/part-gstpipeline.txt:
30572 * docs/design/part-messages.txt:
30573 * docs/design/part-push-pull.txt:
30574 * docs/design/part-query.txt:
30577 2005-04-21 Wim Taymans <wim@fluendo.com>
30579 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30580 (gst_message_new), (gst_message_new_error),
30581 (gst_message_new_warning), (gst_message_new_tag),
30582 (gst_message_new_state_changed), (gst_message_new_application),
30583 (gst_message_get_structure):
30584 * gst/gstmessage.h:
30585 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30586 (gst_structure_copy_conditional):
30587 Use parent refcount in GstMessage to ensure GstStructure
30589 Cleaned up headers a bit.
30592 2005-04-20 Wim Taymans <wim@fluendo.com>
30594 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30595 (gst_basesink_pad_getcaps), (gst_basesink_init),
30596 (gst_basesink_chain_unlocked):
30597 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30598 (gst_type_find_helper):
30599 * gst/elements/gsttypefindelement.c:
30600 (gst_type_find_element_have_type), (gst_type_find_element_init),
30601 (stop_typefinding), (gst_type_find_element_handle_event),
30602 (find_suggest), (gst_type_find_element_chain),
30603 (gst_type_find_element_checkgetrange),
30604 (gst_type_find_element_getrange), (do_typefind),
30605 (gst_type_find_element_activate):
30606 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30607 (gst_buffer_default_free), (gst_buffer_default_copy),
30608 (gst_buffer_set_caps):
30609 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30610 (gst_caps_replace):
30611 * gst/gstmessage.c: (gst_message_new),
30612 (gst_message_new_state_changed):
30613 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30614 (gst_pad_set_checkgetrange_function),
30615 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30616 (gst_pad_set_caps), (gst_pad_check_pull_range),
30617 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30619 * gst/gsttypefind.c: (gst_type_find_register):
30620 Make gst_caps_replace() work like other _replace() functions.
30621 Use _caps_replace() where possible.
30622 Make sure _message_new() initialises its field.
30623 Add gst_static_pad_template_get_caps()
30626 2005-04-18 Andy Wingo <wingo@pobox.com>
30628 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30629 on the peer, not the pad. I think that was a typo. Pass an extra
30630 arg to see if random access is possible. Activate the pads as
30631 PULL_RANGE if possible.
30633 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30635 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30636 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30639 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30641 * docs/faq/using.xml:
30642 Add note on gstreamer-properties (#154996).
30644 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30646 * docs/random/bbb/optional-properties:
30647 Some analysis on optional properties.
30649 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30651 * docs/gst/tmpl/gstelementfactory.sgml:
30652 * gst/gstelement.h:
30653 * gst/gstelementfactory.c: (gst_element_factory_init),
30654 (gst_element_factory_cleanup), (gst_element_register),
30655 (__gst_element_factory_add_static_pad_template),
30656 (gst_element_factory_get_static_pad_templates),
30657 (gst_element_factory_can_src_caps),
30658 (gst_element_factory_can_sink_caps):
30659 * gst/registries/Makefile.am:
30660 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30661 (gst_xml_registry_class_init), (gst_xml_registry_init),
30662 (gst_xml_registry_new), (gst_xml_registry_set_property),
30663 (gst_xml_registry_get_property), (get_time), (make_dir),
30664 (gst_xml_registry_get_perms_func),
30665 (plugin_times_older_than_recurse), (plugin_times_older_than),
30666 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30667 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30668 (add_to_char_array), (read_string), (read_uint), (read_enum),
30669 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30670 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30671 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30672 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30673 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30674 (gst_xml_registry_rebuild):
30675 * gst/registries/gstlibxmlregistry.h:
30676 * tools/gst-compprep.c: (main):
30677 * tools/gst-inspect.c: (print_pad_templates_info):
30678 * tools/gst-xmlinspect.c: (print_element_info):
30679 Use libxml2 for registry parsing, use staticpadtemplates in
30680 elementfactories. Makes gst_init() +/- 10x faster.
30682 2005-04-12 Wim Taymans <wim@fluendo.com>
30684 * gst/base/Makefile.am:
30685 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30686 (gst_basesink_pad_getcaps), (gst_basesink_init),
30687 (gst_basesink_event), (gst_basesink_change_state):
30688 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30689 (gst_basesrc_init), (gst_basesrc_query),
30690 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30691 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30692 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30693 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30694 (gst_basesrc_stop), (gst_basesrc_activate),
30695 (gst_basesrc_change_state):
30696 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30697 (helper_find_suggest), (gst_type_find_helper):
30698 * gst/base/gsttypefindhelper.h:
30699 * gst/elements/Makefile.am:
30700 * gst/elements/gstelements.c:
30701 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30702 (gst_fakesink_get_times), (gst_fakesink_event),
30703 (gst_fakesink_preroll), (gst_fakesink_render):
30704 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30705 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30706 (gst_fakesrc_get_property), (gst_fakesrc_create),
30707 (gst_fakesrc_start), (gst_fakesrc_stop):
30708 * gst/elements/gstfakesrc.h:
30709 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30710 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30711 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30712 (gst_filesrc_create_read), (gst_filesrc_create),
30713 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30714 (gst_filesrc_start):
30715 * gst/elements/gsttypefindelement.c:
30716 (gst_type_find_element_have_type), (gst_type_find_element_init),
30717 (start_typefinding), (stop_typefinding), (push_buffer_store),
30718 (gst_type_find_element_handle_event),
30719 (gst_type_find_element_chain),
30720 (gst_type_find_element_checkgetrange),
30721 (gst_type_find_element_getrange), (do_typefind),
30722 (gst_type_find_element_activate),
30723 (gst_type_find_element_change_state):
30724 * gst/elements/gsttypefindelement.h:
30725 * gst/gstpipeline.c: (pipeline_bus_handler):
30726 Added typefind helper.
30727 Small preroll fix in the base sink.
30728 Disable typefind code in basesrc.
30729 Crude port of typefindelement.
30733 2005-04-11 Wim Taymans <wim@fluendo.com>
30735 * check/gst/gstbus.c: (gstbus_suite):
30736 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30737 * check/gstcheck.h:
30738 Fix up the timeout so that the test does not fail.
30740 2005-04-06 Wim Taymans <wim@fluendo.com>
30743 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30744 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30745 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30746 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30747 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30748 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30749 (gst_basesrc_stop), (gst_basesrc_activate),
30750 (gst_basesrc_change_state), (basesrc_find_peek),
30751 (basesrc_find_suggest), (gst_basesrc_type_find):
30752 * gst/base/gstbasesrc.h:
30753 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30754 (gst_filesrc_class_init), (gst_filesrc_init),
30755 (gst_filesrc_finalize), (gst_filesrc_set_location),
30756 (gst_filesrc_set_property), (gst_filesrc_get_property),
30757 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30758 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30759 (gst_filesrc_create_read), (gst_filesrc_create),
30760 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30761 * gst/elements/gstfilesrc.h:
30762 * gst/gstelement.c: (gst_element_get_state_func),
30763 (gst_element_lost_state), (gst_element_pads_activate):
30764 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30765 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30766 (gst_pad_pull_range):
30768 More work on the generic source base class, implement seeking,
30770 Make filesrc extend the base source class.
30771 Added gst_pad_set_checkgetrange_function to GstPad.
30773 2005-04-06 Andy Wingo <wingo@pobox.com>
30775 * pkgconfig/gstreamer-base.pc.in:
30776 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30778 * pkgconfig/Makefile.am:
30779 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30781 2005-04-04 Wim Taymans <wim@fluendo.com>
30783 * gst/base/Makefile.am:
30785 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30786 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30787 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30788 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30789 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30790 (gst_basesrc_base_init), (gst_basesrc_class_init),
30791 (gst_basesrc_init), (gst_basesrc_get_formats),
30792 (gst_basesrc_get_query_types), (gst_basesrc_query),
30793 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30794 (gst_basesrc_set_property), (gst_basesrc_get_property),
30795 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30796 (gst_basesrc_loop), (gst_basesrc_activate),
30797 (gst_basesrc_change_state):
30798 * gst/base/gstbasesrc.h:
30799 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30800 (gst_fakesrc_class_init), (gst_fakesrc_init),
30801 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30802 (gst_fakesrc_get_property), (gst_fakesrc_create):
30803 * gst/elements/gstfakesrc.h:
30804 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30805 (gst_filesrc_open_file), (gst_filesrc_loop),
30806 (gst_filesrc_activate), (filesrc_find_peek),
30807 (gst_filesrc_type_find):
30808 Made base source class, make fakesrc extend it.
30809 Add comments to basesink class.
30810 Some filesrc cleanup.
30812 2005-03-31 David Schleef <ds@schleef.org>
30814 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30815 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30816 expected to link against libgstreamer.
30817 * gst/base/Makefile.am: link against libgstreamer
30818 * gst/elements/Makefile.am: same
30820 2005-03-31 Andy Wingo <wingo@pobox.com>
30822 * tests/instantiate/Makefile.am:
30823 * tests/instantiate/caps.c: Add test to test speed of caps copy
30826 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30827 GMemChunk to be fair.
30829 * gst/gsttrashstack.h: Remove warning about using the fallback
30830 trash stack implementation, it's still faster than malloc.
30832 2005-03-30 Andy Wingo <wingo@pobox.com>
30834 * tests/complexity.c: Add a copyright.
30836 2005-03-31 Wim Taymans <wim@fluendo.com>
30838 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30839 (gst_base_transform_class_init), (gst_base_transform_init),
30840 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30841 (gst_base_transform_get_property),
30842 (gst_base_transform_sink_activate),
30843 (gst_base_transform_src_activate),
30844 (gst_base_transform_change_state):
30845 * gst/base/gstbasetransform.h:
30846 * gst/elements/gstidentity.c: (gst_identity_class_init),
30847 (gst_identity_event), (gst_identity_check_perfect),
30848 (gst_identity_transform), (gst_identity_start),
30849 (gst_identity_stop):
30850 Added start/stop methods to transform base class so subclasses
30851 don't need to deal with state changes even.
30853 2005-03-31 Wim Taymans <wim@fluendo.com>
30855 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30856 (gst_event_new_discontinuous), (gst_event_discont_get_value):
30858 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30859 (gst_pad_pull_range):
30860 Added rate to the discont event to prepare for variable speed
30861 and reverse playback.
30863 2005-03-29 David Schleef <ds@schleef.org>
30866 * testsuite/trigger/Makefile.am:
30867 * testsuite/trigger/trigger.c: A little example program to show
30868 how trigger-based elements can work.
30870 2005-03-29 Wim Taymans <wim@fluendo.com>
30872 * gst/base/Makefile.am:
30874 * gst/base/gstbasesink.c: (gst_basesink_get_type),
30875 (gst_basesink_base_init), (gst_basesink_class_init),
30876 (gst_basesink_pad_getcaps), (gst_basesink_init),
30877 (gst_basesink_activate), (gst_basesink_change_state):
30878 * gst/base/gstbasesink.h:
30879 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
30880 (gst_base_transform_base_init), (gst_base_transform_finalize),
30881 (gst_base_transform_class_init), (gst_base_transform_init),
30882 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
30883 (gst_base_transform_event), (gst_base_transform_getrange),
30884 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
30885 (gst_base_transform_set_property),
30886 (gst_base_transform_get_property),
30887 (gst_base_transform_sink_activate),
30888 (gst_base_transform_src_activate),
30889 (gst_base_transform_change_state):
30890 * gst/base/gstbasetransform.h:
30891 * gst/elements/gstidentity.c: (gst_identity_finalize),
30892 (gst_identity_class_init), (gst_identity_init),
30893 (gst_identity_event), (gst_identity_check_perfect),
30894 (gst_identity_transform), (gst_identity_set_property),
30895 (gst_identity_get_property), (gst_identity_change_state):
30896 * gst/elements/gstidentity.h:
30897 * gst/gstelement.c: (gst_element_get_state_func),
30898 (gst_element_lost_state), (gst_element_pads_activate):
30899 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30900 (gst_pad_check_pull_range), (gst_pad_pull_range):
30902 Simplify pad activation.
30903 Added function to check if pull_range can be performed.
30904 Error out when pulling inactive or flushing pads.
30905 Removed const from refcounted types as it does not make sense.
30906 Simplify pad templates in basesink
30907 Added base class for simple 1-to-1 transforms.
30908 Make identity subclass the base transform.
30910 2005-03-29 Andy Wingo <wingo@pobox.com>
30912 * docs/libs/gstreamer-libs-overrides.txt:
30913 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
30914 really don't understand what's going on, but like whatever. I want
30917 * docs/gst/Makefile.am:
30918 * docs/libs/Makefile.am: Dist the overrides files.
30920 * check/Makefile.am (clean-local): Remove .libs directories.
30922 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
30923 elements to EXTRA_DIST, so po/ files are happy.
30925 * po/POTFILES.in: Er, remove it here.
30927 * po/POTFILES: Remove gstspider.c.
30929 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
30931 * docs/libs/gstreamer-libs-docs.sgml:
30932 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
30935 * tests/complexity.c (main): Set the length of the preroll queue
30936 on the sinks to prevent a lockup.
30938 * libs/gst/dataprotocol/Makefile.am:
30939 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
30940 the same as the one in check/gst-libs/gdp.c.
30942 * po/, docs/gst/: Commit automatic changes to docs and po files.
30944 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
30945 the versioned libgstbase.
30947 * check/Makefile.am: Depend on an unversioned gst-register, seems
30948 to make autoconf happier.
30950 * gst/base/Makefile.am: Make libgstbase a versioned lib.
30952 2005-03-28 Wim Taymans <wim@fluendo.com>
30955 * docs/design/part-gstelement.txt:
30956 * docs/design/part-negotiation.txt:
30957 * docs/design/part-preroll.txt:
30958 * docs/design/part-scheduling.txt:
30959 * docs/design/part-states.txt:
30961 * gst/base/Makefile.am:
30963 * gst/base/gstbasesink.c: (gst_basesink_get_template),
30964 (gst_basesink_base_init), (gst_basesink_class_init),
30965 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30966 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30967 (gst_basesink_set_pad_functions),
30968 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
30969 (gst_basesink_set_property), (gst_basesink_get_property),
30970 (gst_base_sink_get_template), (gst_base_sink_get_caps),
30971 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
30972 (gst_basesink_preroll_queue_push),
30973 (gst_basesink_preroll_queue_empty),
30974 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
30975 (gst_basesink_event), (gst_basesink_get_times),
30976 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
30977 (gst_basesink_chain_unlocked), (gst_basesink_chain),
30978 (gst_basesink_loop), (gst_basesink_activate),
30979 (gst_basesink_change_state):
30980 * gst/base/gstbasesink.h:
30981 * gst/elements/Makefile.am:
30982 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
30983 (gst_fakesink_class_init), (gst_fakesink_init),
30984 (gst_fakesink_set_property), (gst_fakesink_get_property),
30985 (gst_fakesink_get_times), (gst_fakesink_event),
30986 (gst_fakesink_preroll), (gst_fakesink_render),
30987 (gst_fakesink_change_state):
30988 * gst/elements/gstfakesink.h:
30989 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30990 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
30991 * gst/gstelement.c: (gst_element_add_pad),
30992 (gst_element_get_state_func), (gst_element_abort_state),
30993 (gst_element_commit_state), (gst_element_lost_state),
30994 (gst_element_set_state), (gst_element_pads_activate):
30995 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
30996 * gst/gstpipeline.c: (gst_pipeline_send_event),
30997 (gst_pipeline_change_state):
30998 Added state change code.
30999 Added/updated docs.
31000 Added sink base class, make fakesink extend the base class.
31001 Small cleanups in GstPipeline.
31003 2005-03-26 David Schleef <ds@schleef.org>
31005 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31006 is broken and should be implemented in a different library.
31007 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31008 * gst/gst.h: remove gstcpu.h
31009 * gst/gstcpu.c: remove
31010 * gst/gstcpu.h: remove
31011 * gst/Makefile.am.future: Remove this file. It's ancient.
31013 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31015 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31016 (gst_bin_send_event):
31017 Add default event/set_manager handlers. The set_manager handler
31018 takes care that the manager is distributed over kids that were
31019 already in the bin before the manager was set. The event handler
31020 is a utility virtual function that sends the event over all sinks,
31021 so that gst_element_send_event (bin, event); has the expected
31023 * gst/gstpad.c: (gst_pad_event_default):
31024 Re-install default event handling for discontinuities, so that
31025 seeking works without requiring hacks in applications or extra
31027 * gst/gstpipeline.c: (gst_pipeline_class_init),
31028 (gst_pipeline_send_event):
31029 Half hack, half utility: set a pipeline to PAUSED for seek events,
31030 since that is the only way we can guarantee a/v sync. Means that
31031 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31032 and it "just works".
31034 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31036 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31037 Lock/unlock mismatch.
31039 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31041 * docs/faq/gst-uninstalled:
31042 add gst-plugins-base
31043 * docs/gst/Makefile.am:
31044 don't error out until docs are fixed
31045 * docs/gst/gstreamer.types:
31048 2005-03-22 Wim Taymans <wim@fluendo.com>
31050 * check/Makefile.am:
31051 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31052 * gst/gststructure.c: (gst_structure_set_valist),
31053 (gst_structure_copy_conditional):
31054 Activated more tests.
31055 Added message test.
31056 Added G_TYPE_POINTER to GstStructure.
31059 2005-03-22 Wim Taymans <wim@fluendo.com>
31061 * docs/design/part-TODO.txt:
31062 * docs/design/part-events.txt:
31063 * docs/design/part-gstbin.txt:
31064 * docs/design/part-gstbus.txt:
31065 * docs/design/part-gstpipeline.txt:
31066 * docs/design/part-messages.txt:
31068 * gst/gstmessage.c:
31071 2005-03-21 Wim Taymans <wim@fluendo.com>
31073 * gst/gstbus.c: (gst_bus_post):
31074 Fix copy-and-paste error.
31076 2005-03-21 Wim Taymans <wim@fluendo.com>
31078 * check/Makefile.am:
31080 * gst/elements/Makefile.am:
31081 * gst/elements/gstelements.c:
31082 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31083 (gst_fakesink_event), (gst_fakesink_chain):
31084 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31085 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31086 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31087 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31088 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31089 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31090 (gst_fakesrc_loop), (gst_fakesrc_activate),
31091 (gst_fakesrc_change_state):
31092 * gst/elements/gstfakesrc.h:
31093 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31094 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31095 (gst_filesrc_open_file), (gst_filesrc_loop),
31096 (gst_filesrc_activate), (gst_filesrc_change_state),
31097 (filesrc_find_peek), (filesrc_find_suggest),
31098 (gst_filesrc_type_find):
31099 * gst/elements/gstidentity.c: (gst_identity_finalize),
31100 (gst_identity_class_init), (gst_identity_init),
31101 (gst_identity_proxy_getcaps), (identity_queue_push),
31102 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31103 (gst_identity_getrange), (gst_identity_chain),
31104 (gst_identity_sink_loop), (gst_identity_src_loop),
31105 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31106 (gst_identity_set_property), (gst_identity_get_property),
31107 (gst_identity_change_state):
31108 * gst/elements/gstidentity.h:
31109 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31110 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31111 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31112 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31113 (gst_tee_sink_activate):
31114 * gst/elements/gsttee.h:
31115 * gst/gst.c: (gst_register_core_elements), (init_post):
31117 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31118 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31119 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31120 (gst_bin_change_state):
31122 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31123 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31124 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31125 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31126 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31127 (bus_watch_callback), (bus_watch_destroy),
31128 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31129 (poll_timeout), (gst_bus_poll):
31133 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31134 (gst_element_post_message), (gst_element_message_full),
31135 (gst_element_get_state_func), (gst_element_get_state),
31136 (gst_element_abort_state), (gst_element_commit_state),
31137 (gst_element_lost_state), (gst_element_set_state),
31138 (gst_element_pads_activate), (gst_element_change_state),
31139 (gst_element_dispose), (gst_element_set_manager_func),
31140 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31141 (gst_element_set_manager), (gst_element_get_manager),
31142 (gst_element_set_bus), (gst_element_get_bus),
31143 (gst_element_set_scheduler), (gst_element_get_scheduler):
31144 * gst/gstelement.h:
31145 * gst/gstevent.c: (gst_event_new_segment_seek),
31146 (gst_event_new_flush):
31148 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31149 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31150 (gst_message_new_eos), (gst_message_new_error),
31151 (gst_message_new_warning), (gst_message_new_tag),
31152 (gst_message_new_state_changed), (gst_message_new_application),
31153 (gst_message_get_structure), (gst_message_parse_tag),
31154 (gst_message_parse_state_changed), (gst_message_parse_error),
31155 (gst_message_parse_warning):
31156 * gst/gstmessage.h:
31157 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31158 (gst_real_pad_set_property), (gst_pad_set_active),
31159 (gst_pad_is_active), (gst_pad_set_blocked_async),
31160 (gst_pad_set_blocked), (gst_pad_is_blocked),
31161 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31162 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31163 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31164 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31165 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31166 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31167 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31168 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31169 (gst_pad_set_caps), (gst_pad_configure_sink),
31170 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31171 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31172 (gst_real_pad_dispose), (gst_real_pad_finalize),
31173 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31174 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31175 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31177 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31178 (pipeline_bus_handler), (gst_pipeline_change_state),
31179 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31180 * gst/gstpipeline.h:
31182 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31183 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31184 (gst_queue_link_src), (gst_queue_bufferalloc),
31185 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31186 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31187 (gst_queue_loop), (gst_queue_handle_src_event),
31188 (gst_queue_handle_src_query), (gst_queue_src_activate),
31189 (gst_queue_change_state):
31191 * gst/gstscheduler.c: (gst_scheduler_init),
31192 (gst_scheduler_dispose), (gst_scheduler_create_task),
31193 (gst_scheduler_factory_create):
31194 * gst/gstscheduler.h:
31195 * gst/gststructure.c: (gst_structure_get_type),
31196 (gst_structure_copy_conditional):
31197 * gst/gststructure.h:
31198 * gst/gsttaginterface.h:
31199 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31200 (gst_task_init), (gst_task_dispose), (gst_task_create),
31201 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31207 * gst/schedulers/Makefile.am:
31208 * gst/schedulers/cothreads_compat.h:
31209 * gst/schedulers/entryscheduler.c:
31210 * gst/schedulers/faircothreads.c:
31211 * gst/schedulers/faircothreads.h:
31212 * gst/schedulers/fairscheduler.c:
31213 * gst/schedulers/gstbasicscheduler.c:
31214 * gst/schedulers/gstoptimalscheduler.c:
31215 * gst/schedulers/gthread-cothreads.h:
31216 * gst/schedulers/threadscheduler.c:
31217 (gst_thread_scheduler_task_get_type),
31218 (gst_thread_scheduler_task_class_init),
31219 (gst_thread_scheduler_task_init),
31220 (gst_thread_scheduler_task_start),
31221 (gst_thread_scheduler_task_stop),
31222 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31223 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31224 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31225 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31227 * libs/gst/Makefile.am:
31228 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31229 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31230 (gst_file_pad_parent_set):
31231 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31232 (gst_dp_event_from_packet):
31233 * tests/complexity.c: (main):
31234 * tests/mass_elements.c: (main):
31235 * testsuite/states/locked.c: (message_received), (main):
31236 * testsuite/states/parent.c: (main):
31237 * tools/gst-inspect.c: (print_element_flag_info),
31238 (print_implementation_info), (print_pad_info):
31239 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31241 * tools/gst-md5sum.c: (event_loop), (main):
31242 * tools/gst-typefind.c: (main):
31243 * tools/gst-xmlinspect.c: (print_element_info):
31245 Added GstBus for mainloop integration.
31246 Added GstMessage for sending notifications on the bus.
31247 Added GstTask as an abstraction for pipeline entry points.
31249 Removed Schedulers.
31250 Simplified GstQueue for multithreaded core.
31251 Made _link threadsafe, removed old capsnego.
31252 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31253 Added pad blocking functions.
31254 Reworked scheduling functions in GstPad to prepare for
31255 scheduling updates soon.
31256 Moved events out of data stream.
31257 Simplified GstEvent types.
31258 Added return values to push/pull.
31259 Removed clocking from GstElement.
31260 Added prototypes for state change function for next merge.
31261 Removed iterate from bins and state change management.
31262 Fixed some elements, disabled others for now.
31263 Fixed -inspect and -launch.
31264 Added check for GstBus.
31266 2005-03-10 Wim Taymans <wim@fluendo.com>
31268 * docs/design/part-MT-refcounting.txt:
31269 * docs/design/part-clocks.txt:
31270 * docs/design/part-gstelement.txt:
31271 * docs/design/part-gstobject.txt:
31272 * docs/design/part-standards.txt:
31273 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31274 (gst_bin_remove_func), (gst_bin_remove):
31278 * testsuite/clock/clock1.c: (main):
31279 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31281 * testsuite/dlopen/loadgst.c: (do_test):
31282 * testsuite/refcounting/bin.c: (add_remove_test1),
31283 (add_remove_test2), (main):
31284 * testsuite/refcounting/element.c: (main):
31285 * testsuite/refcounting/element_pad.c: (main):
31286 * testsuite/refcounting/pad.c: (main):
31287 * tools/gst-launch.c: (sigint_handler_sighandler):
31288 * tools/gst-typefind.c: (main):
31290 Added doc about clock.
31291 removed gst_bin_iterate_recurse_up(), marked methods
31293 Fix more testsuites.
31295 2005-03-09 Wim Taymans <wim@fluendo.com>
31297 * gst/gstpad.c: (gst_pad_get_direction),
31298 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31299 (gst_pad_collect_valist):
31300 * testsuite/bins/interface.c: (main):
31301 * testsuite/caps/audioscale.c: (test_caps):
31302 * testsuite/caps/caps.c: (test1), (test2), (test3):
31303 * testsuite/caps/deserialize.c: (main):
31304 * testsuite/caps/enumcaps.c: (main):
31305 * testsuite/caps/filtercaps.c: (main):
31306 * testsuite/caps/intersect2.c: (main):
31307 * testsuite/caps/random.c: (main):
31308 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31309 * testsuite/caps/sets.c: (check_caps):
31310 * testsuite/caps/simplify.c: (check_caps), (main):
31311 * testsuite/caps/subtract.c: (check_caps):
31312 Fix _pad_get_direction wrt ghostpads.
31313 Fix caps testsuite.
31315 2005-03-09 Wim Taymans <wim@fluendo.com>
31317 * check/Makefile.am:
31318 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31319 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31320 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31321 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31322 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31323 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31324 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31325 (bin_element_is_sink), (gst_bin_iterate_sinks),
31326 (gst_bin_iterate_all_by_interface):
31328 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31329 (gst_element_change_state), (gst_element_dispose),
31330 (gst_element_finalize), (gst_element_set_loop_function):
31331 * gst/gstelement.h:
31332 * gst/gstiterator.c: (find_custom_fold_func):
31333 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31334 (gst_pad_collectv), (gst_pad_collect_valist),
31335 (gst_pad_template_new):
31336 * gst/gstpipeline.c: (gst_pipeline_class_init),
31337 (gst_pipeline_dispose), (gst_pipeline_set_property),
31338 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31339 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31340 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31342 * gst/schedulers/entryscheduler.c:
31343 * gst/schedulers/gstbasicscheduler.c:
31344 (gst_basic_scheduler_cothreaded_chain),
31345 (gst_basic_scheduler_chain_add_element):
31346 * testsuite/bins/interface.c: (main):
31348 Added GstSystemClock test.
31349 Implemented clock distribution code in GstBin.
31350 Implemented iterate sinks method for future use.
31351 Rearranged gstelement.h
31352 Fix GstIterator comparison bug.
31353 Moved some code to GstPipeline, mostly clocking related.
31355 2005-03-09 Wim Taymans <wim@fluendo.com>
31358 * gst/gst_private.h:
31359 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31360 (gst_bin_remove_func), (gst_bin_remove),
31361 (gst_bin_get_by_name_recurse_up):
31362 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31363 (gst_clock_id_compare_func), (gst_clock_id_wait),
31364 (gst_clock_id_wait_async), (gst_clock_init),
31365 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31366 * gst/gstelement.h:
31367 * gst/gstinfo.c: (_gst_debug_init):
31369 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31370 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31372 Bump version number, we're now 0.9.0
31373 Add future debugging category.
31374 Fix NULL _unref() in _get_by_name_recurse_up
31375 Rearrange gstpad.h.
31378 2005-03-08 Wim Taymans <wim@fluendo.com>
31380 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31381 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31382 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31383 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31384 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31385 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31386 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31387 * gst/elements/gstidentity.c: (gst_identity_class_init):
31388 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31389 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31390 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31391 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31392 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31394 * gst/gstelement.c: (gst_element_class_init),
31395 (gst_element_base_class_init), (gst_element_init),
31396 (gst_element_get_random_pad), (gst_element_wait_state_change),
31397 (gst_element_change_state), (gst_element_dispose),
31398 (gst_element_finalize), (gst_element_set_loop_function):
31399 * gst/gstelement.h:
31400 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31401 * gst/gstthread.c: (gst_thread_class_init),
31402 (gst_thread_release_children_locks), (gst_thread_change_state):
31403 * gst/schedulers/gstbasicscheduler.c:
31404 (gst_basic_scheduler_loopfunc_wrapper),
31405 (gst_basic_scheduler_chain_wrapper),
31406 (gst_basic_scheduler_src_wrapper),
31407 (gst_basic_scheduler_remove_element):
31408 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31409 Remove threadsafe properties. Fix elements because GObject
31410 complains when installing a property before declaring a
31411 set/get_property handler.
31412 Rearrange gstelement.h file, use STATE macros for state locks.
31413 Free mutexes in the finalize method instead of dispose.
31415 2005-03-08 Wim Taymans <wim@fluendo.com>
31417 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31418 * gst/gstthread.c: (gst_thread_release_children_locks):
31419 Added parentage check.
31420 Fix build og GstThread again.
31422 2005-03-08 Wim Taymans <wim@fluendo.com>
31424 * docs/design/part-MT-refcounting.txt:
31425 * docs/design/part-conventions.txt:
31426 * docs/design/part-gstobject.txt:
31427 * docs/design/part-relations.txt:
31428 * docs/design/part-standards.txt:
31429 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31430 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31431 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31432 (gst_bin_iterate_all_by_interface):
31435 * gst/gstelement.c: (gst_element_class_init),
31436 (gst_element_change_state), (gst_element_set_loop_function):
31437 * gst/gstelement.h:
31438 * gst/gstiterator.c:
31439 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31440 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31441 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31442 (gst_object_set_parent), (gst_object_unparent),
31443 (gst_object_check_uniqueness):
31445 Docs updates, clean up some headers.
31447 2005-03-07 Wim Taymans <wim@fluendo.com>
31449 * check/.cvsignore:
31450 * check/Makefile.am:
31451 * check/gst-libs/.cvsignore:
31452 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31453 * check/gst/.cvsignore:
31454 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31455 (START_TEST), (gstbus_suite), (main):
31456 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31457 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31458 (gst_data_suite), (main):
31459 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31460 (add_fold_func), (gstiterator_suite), (main):
31461 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31462 (thread_name_object), (thread_name_object_default),
31463 (gst_object_name_compare), (gst_object_suite), (main):
31464 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31465 (gst_pad_suite), (main):
31466 * check/gstcheck.c: (gst_check_log_message_func),
31467 (gst_check_log_critical_func), (gst_check_init):
31468 * check/gstcheck.h:
31469 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31470 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31473 2005-03-07 Wim Taymans <wim@fluendo.com>
31475 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31476 (gst_list_iterator_next), (gst_list_iterator_resync),
31477 (gst_list_iterator_free), (gst_iterator_new_list),
31478 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31479 (gst_iterator_free), (gst_iterator_push), (filter_next),
31480 (filter_resync), (filter_uninit), (filter_free),
31481 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31482 (gst_iterator_foreach), (find_custom_fold_func),
31483 (gst_iterator_find_custom):
31484 * gst/gstiterator.h:
31485 Added missing files.
31487 2005-03-07 Wim Taymans <wim@fluendo.com>
31491 * docs/design/part-MT-refcounting.txt:
31492 * docs/design/part-conventions.txt:
31493 * docs/design/part-gstobject.txt:
31494 * docs/design/part-relations.txt:
31495 * examples/mixer/mixer.c: (main):
31496 * examples/thread/thread.c: (eos), (main):
31498 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31499 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31500 (gst_spider_plug_from_srcpad):
31501 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31502 (gst_spider_identity_change_state),
31503 (gst_spider_identity_sink_loop_type_finding):
31504 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31505 * gst/elements/gstidentity.c: (gst_identity_init):
31506 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31507 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31508 * gst/elements/gsttypefindelement.c: (free_entry):
31511 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31512 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31513 (gst_bin_set_index), (gst_bin_set_element_sched),
31514 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31515 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31516 (gst_bin_iterate_elements), (iterate_child_recurse),
31517 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31518 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31519 (compare_interface), (gst_bin_get_by_interface),
31520 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31522 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31523 (gst_buffer_default_free), (gst_buffer_default_copy),
31524 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31525 (gst_buffer_create_sub):
31527 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31528 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31529 (gst_caps_unref), (gst_static_caps_get),
31530 (gst_caps_remove_and_get_structure), (gst_caps_append),
31531 (gst_caps_append_structure), (gst_caps_remove_structure),
31532 (gst_caps_copy_nth), (gst_caps_set_simple),
31533 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31534 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31535 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31536 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31537 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31538 (gst_caps_structure_figure_out_union),
31539 (gst_caps_switch_structures), (gst_caps_do_simplify),
31540 (gst_caps_replace), (gst_caps_from_string),
31541 (gst_caps_copy_conditional):
31543 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31544 (_gst_clock_id_free), (gst_clock_id_unref),
31545 (gst_clock_id_compare_func), (gst_clock_id_wait),
31546 (gst_clock_id_wait_async), (gst_clock_class_init),
31547 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31548 (gst_clock_get_time), (gst_clock_set_time_adjust),
31549 (gst_clock_set_property), (gst_clock_get_property):
31552 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31553 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31555 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31556 (gst_element_requires_clock), (gst_element_provides_clock),
31557 (gst_element_set_clock), (gst_element_clock_wait),
31558 (gst_element_wait), (gst_element_set_time_delay),
31559 (gst_element_is_indexable), (gst_element_add_pad),
31560 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31561 (pad_compare_name), (gst_element_get_static_pad),
31562 (gst_element_request_pad), (gst_element_get_request_pad),
31563 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31564 (gst_element_class_get_pad_template_list),
31565 (gst_element_class_get_pad_template), (gst_element_error_func),
31566 (gst_element_get_random_pad), (gst_element_get_event_masks),
31567 (gst_element_send_event), (gst_element_seek),
31568 (gst_element_get_query_types), (gst_element_query),
31569 (gst_element_get_formats), (gst_element_convert),
31570 (gst_element_is_locked_state), (gst_element_set_locked_state),
31571 (gst_element_sync_state_with_parent), (gst_element_change_state),
31572 (gst_element_finalize), (gst_element_yield),
31573 (gst_element_interrupt), (gst_element_set_scheduler),
31574 (gst_element_get_scheduler), (gst_element_set_loop_function):
31575 * gst/gstelement.h:
31577 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31578 (gst_format_get_by_nick), (gst_format_get_details),
31579 (gst_format_iterate_definitions):
31581 * gst/gstindex.c: (gst_index_gtype_resolver):
31584 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31585 (gst_mem_chunk_free):
31586 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31587 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31588 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31589 (gst_object_dispatch_properties_changed),
31590 (gst_object_set_name_default), (gst_object_set_name),
31591 (gst_object_get_name), (gst_object_set_name_prefix),
31592 (gst_object_get_name_prefix), (gst_object_set_parent),
31593 (gst_object_get_parent), (gst_object_unparent),
31594 (gst_object_check_uniqueness), (gst_object_save_thyself),
31595 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31596 (gst_object_set_property), (gst_object_get_property),
31597 (gst_object_get_path_string):
31599 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31600 (gst_real_pad_init), (gst_real_pad_get_property),
31601 (gst_pad_custom_new), (gst_pad_get_direction),
31602 (gst_pad_set_active), (gst_pad_is_active),
31603 (gst_pad_set_event_function), (gst_pad_is_linked),
31604 (gst_pad_link_free), (gst_pad_link_intersect),
31605 (gst_pad_link_fixate), (gst_pad_set_caps),
31606 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31607 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31608 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31609 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31610 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31611 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31612 (gst_pad_realize), (gst_pad_get_allowed_caps),
31613 (gst_real_pad_dispose), (gst_real_pad_finalize),
31614 (gst_pad_collectv), (gst_pad_collect_valist),
31615 (gst_pad_template_dispose), (gst_pad_template_new),
31616 (gst_pad_get_internal_links):
31618 * gst/gstpipeline.c: (gst_pipeline_dispose),
31619 (gst_pipeline_change_state):
31620 * gst/gstpipeline.h:
31622 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31623 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31624 * gst/gstpluginfeature.h:
31625 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31626 * gst/gstquery.c: (_gst_query_type_initialize),
31627 (gst_query_type_register), (gst_query_type_get_by_nick),
31628 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31630 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31631 * gst/gstscheduler.c: (gst_scheduler_add_element),
31632 (gst_scheduler_factory_create):
31633 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31634 (gst_structure_free), (gst_structure_set_name),
31635 (gst_structure_id_set_value), (gst_structure_set_value),
31636 (gst_structure_set_valist), (gst_structure_remove_field),
31637 (gst_structure_remove_fields),
31638 (gst_structure_remove_fields_valist),
31639 (gst_structure_remove_all_fields), (gst_structure_foreach),
31640 (gst_structure_map_in_place),
31641 (gst_caps_structure_fixate_field_nearest_int),
31642 (gst_caps_structure_fixate_field_nearest_double):
31643 * gst/gststructure.h:
31644 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31645 (gst_system_clock_init), (gst_system_clock_dispose),
31646 (gst_system_clock_async_thread),
31647 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31648 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31649 * gst/gstsystemclock.h:
31650 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31651 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31652 * gst/gsttaginterface.c:
31653 * gst/gstthread.c: (gst_thread_dispose),
31654 (gst_thread_release_children_locks), (gst_thread_change_state),
31655 (gst_thread_main_loop):
31656 * gst/gsttrashstack.h:
31657 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31659 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31660 (gst_element_request_pad), (gst_element_get_pad_from_template),
31661 (gst_element_request_compatible_pad),
31662 (gst_element_get_compatible_pad_filtered),
31663 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31664 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31665 (gst_element_link_many), (gst_element_link),
31666 (gst_element_link_pads), (gst_element_unlink_pads),
31667 (gst_element_unlink_many), (gst_element_unlink),
31668 (gst_pad_can_link_filtered), (gst_pad_can_link),
31669 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31670 (gst_object_default_error), (gst_bin_add_many),
31671 (gst_bin_remove_many), (gst_element_populate_std_props),
31672 (gst_element_class_install_std_props), (gst_buffer_merge),
31673 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31674 (link_fold_func), (gst_pad_proxy_setcaps):
31676 * gst/gstvalue.c: (gst_value_deserialize_string):
31677 * gst/parse/grammar.y:
31678 * gst/schedulers/gstbasicscheduler.c:
31679 (gst_basic_scheduler_cothreaded_chain),
31680 (gst_basic_scheduler_chain_recursive_add),
31681 (gst_basic_scheduler_pad_link):
31682 * gst/schedulers/gstoptimalscheduler.c:
31683 (get_group_schedule_function),
31684 (gst_opt_scheduler_state_transition),
31685 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31686 * libs/gst/bytestream/bytestream.c:
31687 * libs/gst/dataprotocol/dataprotocol.c:
31688 (gst_dp_header_from_buffer):
31691 * tests/threadstate/threadstate2.c: (eos):
31692 * tools/gst-compprep.c: (main):
31693 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31694 (print_pad_info), (print_children_info):
31695 * tools/gst-launch.c: (idle_func), (main):
31696 * tools/gst-md5sum.c: (idle_func), (main):
31697 * tools/gst-xmlinspect.c: (print_element_info):
31698 First THREADED backport attempt, focusing on adding locks and
31699 making sure the API is threadsafe. Needs more work. More docs
31702 2005-02-24 Andy Wingo <wingo@pobox.com>
31704 * tests/bench-complexity.scm:
31705 * tests/complexity.gnuplot: New files, good for running complexity
31708 * tests/Makefile.am:
31709 * tests/complexity.c: New test, sets up N elements, at each level
31710 teeing into M streams per element. Eeeenteresting.
31712 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31713 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31714 running bench-mass_elements.scm.
31716 * tests/bench-mass_elements.scm: New script, runs mass_elements
31717 for various numbers of identities, outputting the results to a
31718 file. Requires guile 1.6. Just for testing.
31720 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31722 * gst/schedulers/fairscheduler.c:
31723 compile with debug disabled
31725 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31728 hunting season on 0.9 is now OPEN