1 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
4 Document the free_func.
6 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
8 * libs/gst/controller/gstinterpolation.c:
9 * libs/gst/controller/gstlfocontrolsource.c:
10 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
11 as it is mapped to a cast on non-win32 platforms.
13 2008-11-17 Stefan Kost <ensonic@users.sf.net>
15 * libs/gst/controller/gstcontroller.c:
16 * libs/gst/controller/gstcontrollerprivate.h:
17 Keep last-value and only call set_property if value has changed. This
18 supresses all the g_object_notifies we would trigger otherwise. It
19 also allows the user to chage the value while there is no controller
22 2008-11-17 Stefan Kost <ensonic@users.sf.net>
25 Don't crash if either of the string GValues is empty.
27 2008-11-17 Andy Wingo <wingo@pobox.com>
29 * tools/gst-inspect.c (print_all_uri_handlers): New function,
30 prints a summary of what URI schemes are supported by what
32 (main): Plumb in support for --uri-handlers or -u, and fix the
33 argc check for -a and -u.
35 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
38 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
41 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
43 * gst/gstbuffer.c: (gst_buffer_finalize):
44 Avoid costly typechecking for trivially correct pointers.
46 * gst/gstpoll.c: (gst_poll_wait):
47 Add some G_LIKELY here and there.
49 * libs/gst/base/gstadapter.c: (gst_adapter_push):
52 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
54 * docs/random/wtay/poll-timeout:
57 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
59 * tests/old/testsuite/caps/intersection.c: (main):
60 * tests/old/testsuite/plugin/loading.c: (main):
61 Remove references to deprecated API g_mem_chunk*.
64 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
66 * tools/gst-inspect.c: (main):
67 Add --plugin option. Fixes #560301.
69 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
71 * docs/random/wtay/poll-timeout:
72 Quick braindump for a possible (not totally verified) atomic case.
74 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
76 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
77 (gst_registry_binary_initialize_magic),
78 (gst_registry_binary_write_cache),
79 (gst_registry_binary_check_magic):
80 * gst/gstregistrybinary.h:
81 Don't write and check a CRC for the binary registry file. It's
82 guaranteed that the registry is completely written (it's first written
83 to a temporary file and then moved) and if the registry was corrupted
84 by some hardware failure we would have bigger problems.
86 Bump binary registry version to 0.10.21.1 for this as it's an
87 incompatible change and to ensure that the registry gets rebuild
90 This saves some milliseconds for reading/writing the registry.
93 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
95 * docs/random/wtay/poll-timeout:
96 Some pseudo code for how we could implement clock timeouts with GstPoll.
98 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
100 * plugins/elements/gstfilesink.c:
101 Update Author string to match others.
103 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
105 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
106 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
107 being fixed and inline the trivial check.
109 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
111 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
112 (gst_caps_merge_structure), (gst_caps_get_structure),
113 (gst_caps_copy_nth), (gst_caps_set_simple),
114 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
115 (gst_caps_is_equal_fixed), (gst_caps_intersect),
116 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
117 (gst_caps_to_string):
118 Callgrind micro optimisations.
119 Avoid array bounds checks and force inline of trivial function.
121 * gst/gstobject.c: (gst_object_set_name_default):
122 -1 is equivalent to letting glib to the strlen but then there is more
123 room for optimisations and it's not our fault.
125 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
126 no need to clear the array, we're cool.
128 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
129 The most common _is_fixed() check is done on fundamental glib base
130 types so we check this first instead of doing a huge amount of
131 useless GST_TYPE_ARRAY calls.
133 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
136 Add a SKIP seek flag for use with advanced trickmodes.
137 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
139 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
141 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
142 No need to memset, we can clear the value ourselves.
144 * gst/gstvalue.c: (gst_type_is_fixed),
145 (gst_value_get_compare_func):
146 Some optimisations from a few callgrind sessions:
147 When checking if a type is fixed, check for trivial fundamental types
148 first before checking types for which we need to get the type followed
149 by the heavy duty type checks, this reduces the amount of
150 g_type_fundamental() calls a lot.
151 When getting the compare function, first check for our registered types.
152 If that fails, do the heavy duty g_type_is_a() checks, reduces the
153 amount of g_type_is_a() considerably.
155 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
157 * docs/design/part-TODO.txt:
158 Mumble something about removing GstXML.
160 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
162 * gst/gstbin.c: (gst_bin_handle_message_func):
163 Get the seqnum before we dispose the message.
165 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
167 * docs/design/part-TODO.txt:
168 Refer to the framestepping document.
170 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
172 * gst/gstbin.c: (bin_handle_async_start),
173 (gst_bin_handle_message_func), (gst_bin_query):
174 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
175 (gst_base_sink_event), (gst_base_sink_change_state):
176 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
177 (gst_base_src_loop), (gst_base_src_change_state):
178 Copy seqnums from events to messages so that they can all be related
181 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
183 * tools/gst-launch.c: (event_loop):
184 Print the message seqnums.
186 2008-11-04 Andy Wingo <wingo@pobox.com>
188 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
190 2008-11-04 Andy Wingo <wingo@pobox.com>
192 Add sequence numbers to events and messages. See #559250.
194 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
198 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
199 events with a new sequence number, and copy it when copying.
200 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
201 an event's sequence number.
204 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
205 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
208 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
210 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
212 * docs/manual/advanced-position.xml:
213 * docs/manual/basics-bins.xml:
214 * docs/manual/basics-bus.xml:
215 * docs/manual/basics-pads.xml:
216 * docs/manual/intro-gstreamer.xml:
217 * docs/manual/intro-preface.xml:
218 Some Application Development Manual fixes thanks to
219 Andrew Feren. Fixes #558459.
221 2008-11-03 Stefan Kost <ensonic@users.sf.net>
223 * gst/gstregistrybinary.c:
224 Don't bother with the GTimer if we don't output the results.
226 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
228 Patch by: David Schleef <ds@schleef.org>
230 * libs/gst/net/Makefile.am:
231 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
233 2008-10-31 Stefan Kost <ensonic@users.sf.net>
235 * gst/gstregistrybinary.c:
236 Oh my, studip, stupid me. Remove double stat() call.
238 2008-10-31 Stefan Kost <ensonic@users.sf.net>
241 Use g_unlink instead of unlink.
243 * gst/gststructure.c:
252 Formatting & whitespaces.
254 2008-10-31 Stefan Kost <ensonic@users.sf.net>
256 * plugins/elements/gstidentity.c:
257 Doc typo. Use return value of parent_class->event.
259 * plugins/elements/gsttypefindelement.c:
260 Chain up at the end for consistency.
262 2008-10-30 Stefan Kost <ensonic@users.sf.net>
265 * docs/gst/gstreamer-docs.sgml:
266 * docs/gst/gstreamer-sections.txt:
267 * docs/gst/running.xml:
268 * docs/libs/gstreamer-libs-docs.sgml:
269 Change to xinclude based build - its faster and easier to maintain.
271 2008-10-30 Stefan Kost <ensonic@users.sf.net>
273 * gst/gstregistrybinary.c:
274 * gst/gstregistryxml.c:
275 Use g_unlink() as none of these are directories.
277 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
279 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
282 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
284 * libs/gst/base/gstbasetransform.c:
285 (gst_base_transform_find_transform), (gst_base_transform_getrange):
286 If we have a fixate function, call it even if we already have fixed caps
287 because the subclass might add some caps. Makes audioconvert add a
288 default channel layout.
290 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
292 * libs/gst/base/gstbasetransform.c:
293 (gst_base_transform_prepare_output_buffer),
294 (gst_base_transform_getrange):
295 Clear the output buffer variable.
296 Cleanups to the error path in the getrange function.
299 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
301 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
302 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
303 Use gst_buffer_try_new_and_alloc() and handle errors instead of
304 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
307 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
309 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
310 Set the last_stop to a more meaningful position when configuring the
311 segment. ie. the start/stop of the segment or clipped against the
312 updated segment boundaries.
314 * tests/check/gst/gstsegment.c: (GST_START_TEST):
315 Add some unit tests for the last_stop.
317 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
319 * libs/gst/base/gstbytereader.c:
320 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
323 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
325 * docs/gst/gstreamer-sections.txt:
327 API: Move float endianness conversion macros from libgstfloatcast
328 to core as it's useful in general, even in core. Fixes bug #555196.
329 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
330 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
331 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
333 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
334 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
335 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
336 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
338 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
340 * docs/libs/gstreamer-libs-sections.txt:
341 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
342 (gst_byte_reader_peek_data):
343 * libs/gst/base/gstbytereader.h:
344 * win32/common/libgstbase.def:
345 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
346 to get a pointer to the data at the current position and have
349 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
352 Fix a bug in the output of the configure script summary
353 when --gst-disable-registry is supplied
355 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
357 * libs/gst/base/gstbitreader.c:
358 * libs/gst/base/gstbytereader.c:
359 Fix the names of 2 functions in the docs strings.
361 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
363 * libs/gst/base/gstbasetransform.c:
364 (gst_base_transform_prepare_output_buffer),
365 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
366 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
367 refcount problems as seen in banshee and maybe also in farsight2.
368 Remove atomic int now that we need to take the lock anyways.
370 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
372 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
373 (gst_base_sink_default_prepare_seek_segment),
374 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
375 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
376 (gst_base_sink_query):
377 Implement more seeking in pull mode.
378 Use pad convert functions to convert position to the requested format.
379 Fix position/duration reporting in pull mode.
380 Implement position and duration reporting in other formats than time.
382 * libs/gst/base/gstbasesink.h:
383 Add member to keep track of when the segment is playing.
385 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
387 * gst/gstpad.c: (gst_pad_configure_src):
388 When we use gst_pad_alloc_buffer() without wanting to set the caps we
389 also don't need to check if the caps are compatible because the caller
390 presumably is going to perform its own custom checks. Fixes some cases
391 where basetransform elements would error out when it was not needed.
393 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
395 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
398 * libs/gst/base/gstbasetransform.c:
399 (gst_base_transform_handle_buffer),
400 (gst_base_transform_reconfigure):
403 * win32/common/libgstbase.def:
406 2008-10-19 Stefan Kost <ensonic@users.sf.net>
408 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
409 Remove duplicated assignment and log a message in failure case.
411 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
413 Patch by: Dig Ge <dig.ge.cn at gmail com>
415 * tests/examples/helloworld/helloworld.c: (main):
416 Fix copy'n'paste bug in hello world example (#556900).
418 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
420 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
421 (gst_base_sink_query):
422 Query the total number of bytes when activating the pad in pull mode.
423 Implement duration query in pull mode by using the installed pad convert
424 function to convert from bytes to the requested format.
426 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
428 * docs/libs/gstreamer-libs-sections.txt:
429 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
430 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
431 (gst_base_sink_event), (gst_base_sink_perform_seek),
432 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
433 (gst_base_sink_send_event), (gst_base_sink_change_state):
434 * libs/gst/base/gstbasesink.h:
435 Add method to commit the state in subclasses.
436 Refactor the flush_start and flush_stop code because we need it for
437 flushing while seeking too.
438 Implement the beginnings of seeking in pull mode.
439 Use the segment last_stop field for the pulling offset.
440 Fix the pause method in pull mode.
441 Configure the segment to BYTES for pull mode.
442 API: GstBaseSink::gst_base_sink_do_preroll()
444 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
446 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
449 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
451 * gst/gstquark.c: (_priv_gst_quarks_initialize):
452 Fix printf format warning.
454 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
456 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
457 Fix flow aggregation of tee. Error out immediately for all flow returns
458 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
459 and return OK if at least one pad is linked.
461 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
462 and otherwise returned the flow return of the last pad, which is wrong.
464 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
465 (GST_START_TEST), (tee_suite):
466 Add unit tests for the flow aggregation.
468 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
470 * docs/design/part-TODO.txt:
471 Remove item from the todo list because it was fixed with the latency
472 state change rewrites.
474 * docs/design/part-seeking.txt:
475 * docs/design/part-segments.txt:
478 * gst/gstevent.c: (gst_event_new_new_segment_full),
479 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
480 (gst_event_parse_buffer_size), (gst_event_new_qos),
481 (gst_event_parse_qos), (gst_event_new_seek),
482 (gst_event_parse_seek), (gst_event_new_latency),
483 (gst_event_parse_latency):
484 Use quarks to construct and parse events.
486 * gst/gstquark.c: (_priv_gst_quarks_initialize):
488 Add some more quarks to the table.
489 Emit a warning when the quark tables are not in sync.
491 * tests/check/gst/gstbus.c: (GST_START_TEST):
494 2008-10-13 Stefan Kost <ensonic@users.sf.net>
496 * plugins/elements/Makefile.am:
497 * plugins/indexers/Makefile.am:
498 Don't install static libs for plugins. Fixes #550851 for core.
500 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
502 * gst/gstbus.c: (gst_bus_source_finalize),
503 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
504 (gst_bus_enable_sync_message_emission),
505 (gst_bus_disable_sync_message_emission),
506 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
507 Fix deadlock, g_source_get_id() cannot be called in finalize.
508 Keep track of the watch source by keeping a pointer to the source object
510 Use the bus lock to protect access to the pointer to the current
513 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
515 Base on Patch by: Olivier Crete <tester at tester dot ca>
517 * gst/gstbus.c: (gst_bus_source_finalize),
518 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
519 Only allow one bus watch to be set at a time. This is necessary
520 because the dispatcher pops the message from the bus and the second
521 watcher will then get NULL or the next message (and the first won't
522 get this next message then, etc). If more than one "watcher" is
523 required signal watches should be used. Fixes bug #526044.
525 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
527 * tools/gst-launch.c:
528 Change the printing of the 'buffering...' output to avoid putting
529 a \r in a translateable string (flagged by the TP).
531 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
534 Clarify that the save_thyself() and restore_thyself() virtual
535 functions of GstObject need to be overriden, not
536 gst_object_(save|restore)_thyself() which is impossible.
539 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
541 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
542 Revert a patch from 21 months ago that broke caps negotiation in pull
543 mode. Basically, having a buffer pass over a pad will trigger the
544 setcaps function when caps change, just like in push mode.
546 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
548 * docs/design/part-negotiation.txt:
549 Update the docs some more.
551 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
552 If we pull a buffer with non-trivial caps, suggest those caps with the
555 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
557 * docs/design/part-TODO.txt:
558 Add another limitation of pad-blocking with segment seeks not pushing
561 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
563 * win32/common/libgstbase.def:
564 * win32/common/libgstreamer.def:
565 Add new symbols to the win32 defs files
567 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
569 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
570 (gst_bin_handle_message_func):
571 The message src can be NULL, don't try to print the object names in that
574 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
575 Add some more debug info.
577 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
580 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
583 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
585 * docs/design/part-negotiation.txt:
588 * docs/libs/gstreamer-libs-sections.txt:
589 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
590 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
591 (gst_base_sink_init), (gst_base_sink_set_blocksize),
592 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
593 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
594 (gst_base_sink_loop), (gst_base_sink_pad_activate),
595 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
596 (gst_base_sink_change_state):
597 * libs/gst/base/gstbasesink.h:
598 Add blocksize property and methods to control the amount of data
600 Negotiate first before activating upstream in pull mode so that they can
601 negotiate themselves.
602 When we operate in pull mode, we only accept the caps that we
604 Make the sink go ASYNC to PAUSED, like all other sinks.
605 API: GstBaseSink::gst_base_sink_set_blocksize()
606 API: GstBaseSink::gst_base_sink_get_blocksize()
607 API: GstBaseSink::blocksize
609 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
610 (gst_base_src_set_live), (gst_base_src_is_live),
611 (gst_base_src_set_format), (gst_base_src_query_latency),
612 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
613 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
614 (gst_base_src_set_property), (gst_base_src_get_property):
615 * libs/gst/base/gstbasesrc.h:
616 Add typechecking in public API functions.
617 Add methods to control the blocksize in subclasses.
618 API: GstBaseSrc::gst_base_src_set_blocksize()
619 API: GstBaseSrc::gst_base_src_get_blocksize()
621 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
623 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
624 (buffer_probe), (event_probe), (GST_START_TEST):
625 We now see 3 events go through our pad, since basesink now sends
626 upstream latency events.
628 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
630 * gst/gstpipeline.c: (gst_pipeline_change_state):
631 Release the object lock before trying to flush the bus.
633 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
635 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
636 Forward LATENCY events upstreams so that elements know about the total
637 pipeline latency. Fixes #555307.
639 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
641 * plugins/elements/gstqueue.c:
642 Allow through queries when we don't know how
643 to adjust them (not TIME or BYTES), as otherwise it's
644 not possible to query the current position in order
645 to seek in other formats at all.
647 2008-10-08 Andy Wingo <wingo@pobox.com>
649 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
651 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
655 Unbreak -good build, private is a reserved c++ keyword.
657 2008-10-08 Andy Wingo <wingo@pobox.com>
659 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
660 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
661 removal: re-add GST_GHOST_PAD_CAST to the header.
663 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
664 (GstGhostPadClass): Publically expose these structures so as to
665 allow easy subclassing from C. Hide the member data behind a
666 private opaque data pointer.
668 * gst/gstghostpad.c: Adapt to store instance data in the type
669 instance's private data region, not in the public struct.
671 2008-10-08 Andy Wingo <wingo@pobox.com>
673 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
674 template via g_object_get(), be sure to unref it.
676 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
678 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
680 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
681 If we can't get a cache file don't try to save something to it.
682 Dereferencing NULL pointers usually isn't a good idea.
684 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
686 * tests/check/Makefile.am:
687 * tests/check/gst/gstabi.c:
688 * tests/check/gst/struct_sparc.h:
689 * tests/check/libs/libsabi.c:
690 * tests/check/libs/struct_sparc.h:
693 * tests/check/gst/gstvalue.c: (GST_START_TEST):
694 Cast signed integer to unsigned to avoid a compiler warning.
696 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
698 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
699 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
700 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
701 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
702 (gst_byte_reader_peek_int24_be):
703 Use new GST_READ_UINT24_(LE|BE) macros.
705 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
707 * docs/gst/gstreamer-sections.txt:
709 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
710 as it's too easy to break the ISO C strict aliasing rules with simple
711 casts to the corresponding type and this would introduce hard to debug
712 bugs. Fixes bug #545714.
714 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
716 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
718 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
719 * gst/gstghostpad.c: (gst_ghost_pad_construct):
720 Add 'Since' bits to gtk-doc chunks for new API.
722 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
724 * docs/gst/gstreamer-sections.txt:
727 2008-10-06 Andy Wingo <wingo@pobox.com>
729 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
730 that will be called on the malloc_data to free it. Basically a way
731 to avoid subclassing when all you need is a different free
732 function, i.e. free() instead of g_free().
734 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
735 calling the free function.
736 (gst_buffer_init): Initialize the free function to g_free.
738 2008-10-06 Andy Wingo <wingo@pobox.com>
741 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
742 finishes the initialization of ghost pad. Useful for language
743 bindings and subclassers of GstGhostPad. Fixes #539108.
744 (gst_ghost_pad_new_full): Use the new constructor.
746 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
748 Base on Patch by: Olivier Crete <tester at tester dot ca>
750 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
751 (gst_bin_remove_func), (update_degree),
752 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
753 Keep track of pads that are being linked/unlinked and resync the state
756 * gst/gstpad.c: (gst_pad_get_direction),
757 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
758 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
759 (gst_pad_link_prepare), (gst_pad_link),
760 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
761 (gst_pad_check_pull_range), (gst_pad_get_range),
762 (gst_pad_pull_range):
763 Some code cleanups, use macros to check pad direction.
764 Don't need to take the lock on the pad direction.
765 Post structure change when pads are linked/unlinked.
766 Change some checks into _return_if_fail().
768 * tests/check/gst/gstbin.c:
769 (test_link_structure_change_state_changed_sync_cb),
770 (GST_START_TEST), (gst_bin_suite):
771 Add testcase for pad link/unlinke resync during a state change.
774 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
776 * docs/gst/gstreamer-sections.txt:
777 * gst/gstmessage.c: (gst_message_new_structure_change),
778 (gst_message_parse_structure_change):
780 Implement STRUCTURE_CHANGED messages. These messages will be used to
781 signal the parent bin of link/unlink operations that could require a
782 resync when doing a state change. See ##510354.
783 API: gst_message_new_structure_change()
784 API: gst_message_parse_structure_change()
786 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
790 Add some more quarks for new message. See #510354.
792 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
794 * docs/libs/gstreamer-libs-docs.sgml:
795 * docs/libs/gstreamer-libs-sections.txt:
796 * libs/gst/base/Makefile.am:
797 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
798 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
799 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
800 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
801 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
802 (gst_bit_reader_skip_to_byte):
803 * libs/gst/base/gstbitreader.h:
804 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
805 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
806 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
807 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
808 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
809 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
810 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
811 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
812 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
813 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
814 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
815 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
816 * libs/gst/base/gstbytereader.h:
817 * tests/check/Makefile.am:
818 * tests/check/libs/bitreader.c: (GST_START_TEST),
819 (gst_bit_reader_suite):
820 * tests/check/libs/bytereader.c: (GST_START_TEST),
821 (gst_byte_reader_suite):
822 API: Add bit reader and byte reader classes, including documentation
823 and an extensive unit test suite. Fixes bug #553554.
825 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
827 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
828 (gst_base_sink_query):
829 Improve position reporting while flushing and other intermediate state
830 changes. Fixes #553874.
832 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
834 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
836 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
837 Original patch by : Simon Descaries
838 Fix small refount leak in caps compatibility check.
841 2008-10-06 Stefan Kost <ensonic@users.sf.net>
843 * docs/pwg/advanced-request.xml:
844 Fix 0.8 api usage in example. Fixes #554561
846 * docs/pwg/appendix-porting.xml:
847 Change 0.9 to 0.10 here.
849 2008-10-06 Stefan Kost <ensonic@users.sf.net>
851 * docs/manual/basics-data.xml:
852 Change "event-event interaction" to "element-element interaction".
853 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
856 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
859 Back to development -> 0.10.21.1
861 === release 0.10.21 ===
863 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
866 releasing 0.10.21, "Take These Things From Me"
868 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
871 0.10.20.4 pre-release
873 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
875 * libs/gst/base/gstbasetransform.c:
876 * plugins/elements/gstcapsfilter.c:
877 * tests/check/Makefile.am:
878 * tests/check/elements/.cvsignore:
879 * tests/check/elements/capsfilter.c:
880 Fix assertion in basetransform when the subclass chooses not to
881 allocate a buffer in prepare_buffer(), and make capsfilter error out
882 cleanly if requested to apply caps that don't completely specify the
883 buffer. Fixes #551509
885 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
887 * libs/gst/base/gstbasetransform.c:
888 (gst_base_transform_prepare_output_buffer):
889 Take new caps ref because our old one might have been gone when the
890 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
892 2008-09-15 Stefan Kost <ensonic@users.sf.net>
895 Do not probe availability of check unit test library when cross
896 compiling, as test would not work anyway. Also cleanup verbose output
897 of the check test. Fixes #551952.
899 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
901 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
903 * gst/gstelement.c: (gst_element_sync_state_with_parent):
904 Avoid leaking the parent ref when we fail changing the state of the
905 element using gst_element_sync_state_with_parent(). Fixes #551978.
907 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
909 * docs/manual/intro-motivation.xml::
910 Remove some bits that no longer apply, update others (#551642).
912 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
915 0.10.20.2 pre-release
923 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
925 * win32/common/config.h.in:
926 Add GST_DATADIR, hard-code cpu to x86.
928 * win32/common/libgstreamer.def:
931 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
934 Fix Since: markers for new geo tags.
936 2008-09-02 Stefan Kost <ensonic@users.sf.net>
939 Fix actual tag name define after renaming from altitude to elevation.
941 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
943 * gst/gstpad.c: (add_unref_pad_to_list),
944 (gst_pad_get_internal_links_default):
945 Add fallback when calling the deprecated function on an element that
946 implements the new internal_link handler.
948 2008-09-01 Stefan Kost <ensonic@users.sf.net>
950 * docs/gst/gstreamer-sections.txt:
953 Add new tags for geo location and clarify purpose of existing location
956 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
958 Patch by: Olivier Crete <tester at tester dot ca>
960 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
961 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
962 Use thread-safe internal links iterator. Fixes #549504.
964 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
966 Based on patch by: Olivier Crete <tester at tester dot ca>
968 * docs/gst/gstreamer-sections.txt:
969 * win32/common/libgstreamer.def:
970 * gst/gstpad.c: (gst_pad_init),
971 (gst_pad_set_iterate_internal_links_function),
972 (int_link_iter_data_free), (iterate_pad),
973 (gst_pad_iterate_internal_links_default),
974 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
976 Add threadsafe replacement functions for getting internal links of an
977 element. Deprecate the old internal links functions.
978 API:GstPad::gst_pad_set_iterate_internal_links_function()
979 API:GstPad::GstPadIterIntLinkFunction
980 API:GstPad::gst_pad_iterate_internal_links()
981 API:GstPad::gst_pad_iterate_internal_links_default()
983 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
984 (gst_proxy_pad_init):
985 Implement threadsafe internal links.
987 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
988 Unit test for internal links on tee. See #549504.
990 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
992 * tests/check/Makefile.am:
993 libs/transform1 test requires libs/test_transform.c
995 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
997 * gst/gstpad.c: (gst_pad_get_internal_links_default):
998 Die evil deadlock, die !
1000 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1002 * gst/gstutils.c: (gst_element_get_compatible_pad):
1003 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1004 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1005 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1006 not steal the refcount of the given caps as stated.
1008 REVERT THIS COMMIT ONCE FIXED !
1009 REVERT THIS COMMIT ONCE FIXED !
1010 REVERT THIS COMMIT ONCE FIXED !
1011 REVERT THIS COMMIT ONCE FIXED !
1012 REVERT THIS COMMIT ONCE FIXED !
1013 REVERT THIS COMMIT ONCE FIXED !
1015 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1017 * gst/gstiterator.c:
1018 * gst/gstiterator.h:
1019 After 3 years it's about time to revise the documentation of the
1022 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1024 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1025 Make the internal links function less thread-unsafe and add some
1026 comments, dunno why.
1028 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1030 * gst/gst_private.h:
1031 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1032 build with --disable-gst-debug.
1034 2008-08-28 David Schleef <ds@schleef.org>
1036 * gst/gstpadtemplate.c: Revert last change, since it breaks
1037 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1038 but shouldn't be enabled until we've released fixed versions
1039 of -good and -ffmpeg.
1041 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1044 Put the gst_object_get_name() back in.
1046 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1048 * gst/gstpadtemplate.c:
1049 The old behaviour was that gst_pad_template_new() takes ownership of
1050 the caps. As we now call g_object_new() which calls g_object_set() and
1051 which copies the caps, we have to unref them to not leak them. Fixes
1052 make valgrid for me.
1054 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1057 Don't segfault on input like "tel:+1-123-555-1234".
1059 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1062 Due to popular request also include ObjectType in
1063 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1065 2008-08-26 David Schleef <ds@schleef.org>
1067 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1068 src_val must be positive, because that's not a requirement.
1069 This causes problems with converting negative granulepos
1071 * gst/gstquery.c: Same, gst_query_new_convert().
1073 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1075 * gst/gstclock.c: (gst_clock_add_observation):
1076 Add some more debugging to the clock slaving code.
1078 * win32/common/libgstbase.def:
1079 Add new basetransform method.
1081 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1083 * gst/gstbin.c: (gst_bin_element_set_state):
1084 Take the (recursive) state lock between getting the locked state of an
1085 element and changing the element state. This allows the application to
1086 lock an element's state and then change its state without races.
1088 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1090 * gst/gstbin.c: (gst_bin_element_set_state):
1091 When an element is in the locked state we still want to update the
1092 base_time of the element.
1094 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1096 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1097 Use the result from gst_pad_set_caps() instead of assuming the element
1098 always accepted the caps computed by the default negotiate function.
1100 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1102 * docs/libs/gstreamer-libs-sections.txt:
1103 * libs/gst/base/gstbasetransform.c:
1104 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1105 (gst_base_transform_chain), (gst_base_transform_suggest),
1106 (gst_base_transform_reconfigure):
1107 * libs/gst/base/gstbasetransform.h:
1108 Implement method for reconfiguring basetransform.
1109 API: GstBaseTransform::gst_base_transform_reconfigure()
1111 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1113 patch by: Murray Cumming <murrayc@murrayc.com>
1116 Mention that this is just like gst_buffer_merge() but with extra
1117 unreffing for C coders. Advise language bindings not to wrap it.
1120 Also fix file comment.
1122 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1124 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1126 * plugins/elements/gstfakesink.c:
1127 * plugins/elements/gstfakesrc.c:
1128 Call super::event() when not handling it. Fixes #544855.
1130 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1132 Patch by: Alessandro Decina <alessandro@nnva.org>
1133 * plugins/elements/gstfilesrc.c:
1134 Use 64 bit variants of stat functions on win32, to enable support
1135 of large files there.
1138 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1140 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1141 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1142 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1143 (gst_base_sink_get_position), (gst_base_sink_change_state):
1144 Improve position reporting in the flushing state.
1145 Also report the position when we are not yet prerolled but we
1146 have a newsegment event. Fixes #543444.
1147 Improve the pull-based negotiation code.
1149 * tests/check/elements/fakesink.c: (GST_START_TEST),
1151 Add testcase for position reporting while flushing in PAUSED and
1154 * tests/check/generic/sinks.c: (GST_START_TEST):
1155 Update unit-test, we can now query the position as soon as we receive a
1158 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1160 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1162 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1163 When the subclass event handler releases the PREROLL_LOCK, we could be
1164 in the flushing state and we have to ignore the event. Fixes #548394.
1166 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1168 * tools/gst-launch.1.in:
1169 Document GST_REGISTRY_UPDATE environment variable.
1171 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1173 * libs/gst/base/gstbasetransform.c:
1174 (gst_base_transform_prepare_output_buffer):
1175 If the element is configured in passthrough mode but the
1176 prepare_output_buffer gave us a new output buffer, discard that buffer
1177 and reuse the input buffer.
1179 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1181 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1183 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1184 (gst_tee_request_new_pad), (gst_tee_release_pad),
1185 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1186 * plugins/elements/gsttee.h:
1187 Protect pad_alloc with a new lock so that we can be sure that nothing is
1188 performing a pad_alloc when removing the pad. Fixes #547835.
1190 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1191 (buffer_alloc_harness_teardown), (app_thread_func),
1192 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1193 Added testcase for shutdown race.
1195 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1200 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1202 * libs/gst/base/gstbasetransform.c:
1203 (gst_base_transform_prepare_output_buffer),
1204 (gst_base_transform_buffer_alloc):
1205 Go over the buffer_alloc function again and make sure we always end up
1206 allocating a buffer.
1208 Avoid doing pad alloc when we have a pending suggestion because we
1209 cannot yet deal with changing caps in that case. Fixes #547728
1211 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1213 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1215 * docs/manual/advanced-clocks.xml:
1216 * docs/manual/clocks.png:
1217 * docs/manual/diagrams-clocks.svg:
1218 Add one more image showing different times together with a describing
1219 paragraph. Fixes #547729.
1221 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1223 * win32/common/libgstbase.def:
1226 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1228 * libs/gst/base/gstbasetransform.c:
1229 (gst_base_transform_transform_caps),
1230 (gst_base_transform_prepare_output_buffer),
1231 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1232 Don't overwrite the outsize when calculating the expected size of a new
1233 buffer because we still need it in case we cannot process the new
1235 When converting the size of the new buffer to an upstream size, actually
1236 use the expected size of the buffer, not some other random value.
1237 Use an atomic int to signal that a new upstream caps suggestion is
1239 When we can convert the current buffer to a new format, check if the
1240 buffer size is of the expected size and allocate a new buffer of the
1241 expected size when this is not the case. Fixes #546883.
1243 * tests/check/libs/transform1.c: (GST_START_TEST):
1244 remove ifdeffed code from the unit test.
1246 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1248 * pkgconfig/gstreamer-uninstalled.pc.in:
1249 * pkgconfig/gstreamer.pc.in:
1250 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1251 called gstcontroller-0.10.
1253 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1255 * gst/gstchildproxy.h:
1257 Remove double interface from doc-string.
1259 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1261 * libs/gst/base/gstbasesrc.c:
1262 * libs/gst/base/gstbasetransform.c:
1263 Fix headings in docs and gtk-doc warnings.
1265 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1267 * gst/gstregistrybinary.c:
1268 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1272 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1274 * libs/gst/base/gstbasetransform.c:
1275 (gst_base_transform_buffer_alloc):
1276 Fix a "may be used unitialized" warning.
1278 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1280 * docs/gst/gstreamer-sections.txt:
1282 Document preset-iface vmethods.
1284 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1286 * docs/manual/advanced-interfaces.xml:
1287 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1288 only used to discover devices.
1290 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1292 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1294 * gst/gst.c: (init_pre):
1295 Make sure gettext returns translations in UTF-8 encoding rather
1296 than in the current locale encoding (#546822).
1298 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1300 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1303 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1304 Improve unit test subset tests and add a testcase for the subset failure
1307 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1308 Improve subtraction unit test.
1310 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1312 * plugins/elements/gsttee.c:
1313 Unlock, instead of locking again.
1315 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1318 Clarify the docs a bit more.
1320 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1322 * tests/examples/metadata/read-metadata.c:
1323 Don't leak old taglist.
1325 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1327 Patch by: Olivier Crete <tester at tester dot ca>
1329 * gst/gststructure.c:
1330 (gst_structure_fixate_field_nearest_fraction):
1331 Avoid overflows in fixation code when dealing with MAXINT values, which
1332 v4l2src seems to do.
1335 * tests/check/gst/gststructure.c: (GST_START_TEST):
1336 Make a unit test to check the fix.
1338 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1340 * plugins/elements/gstcapsfilter.c: (copy_func),
1341 (gst_capsfilter_set_property):
1342 Use new caps suggestion feature of basetransform to request a caps
1343 negotiation upstream.
1345 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1347 * docs/libs/gstreamer-libs-sections.txt:
1349 API: GstBaseTransform::gst_base_transform_suggest()
1351 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1352 (gst_base_transform_init), (gst_base_transform_transform_caps),
1353 (gst_base_transform_transform_size),
1354 (gst_base_transform_configure_caps),
1355 (gst_base_transform_can_transform),
1356 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1357 (gst_base_transform_prepare_output_buffer),
1358 (gst_base_transform_buffer_alloc),
1359 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1360 (gst_base_transform_chain), (gst_base_transform_activate),
1361 (gst_base_transform_set_passthrough),
1362 (gst_base_transform_is_passthrough),
1363 (gst_base_transform_set_in_place),
1364 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1365 (gst_base_transform_set_qos_enabled),
1366 (gst_base_transform_is_qos_enabled),
1367 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1368 (gst_base_transform_reconfigure):
1369 * libs/gst/base/gstbasetransform.h:
1370 Rewrite of basetransform to perform negotiation outside of the
1371 buffer_alloc functions. Fixes #545853.
1373 * tests/check/libs/transform1.c: (GST_START_TEST),
1377 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1379 * tests/check/gst/gstpreset.c:
1380 Only run preset tests when $HOME is writable. Preliminary fix for
1383 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1385 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1386 (gst_bin_change_state_func), (bin_handle_async_done),
1387 (gst_bin_handle_message_func):
1388 Fix race for bins that simulate ASYNC state changes by inserting
1389 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1390 pending ASYNC messages even when the bin does not have ASYNC children.
1391 We note detect this behaviour because we will receive an ASYNC message
1392 that is originating from the bin itself.
1393 Fixes races with decodebin2 state changes.
1395 * tests/check/gst/gstbin.c: (GST_START_TEST):
1396 Add some more debug.
1398 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1400 * gst/gsttaglist.c: (_gst_tag_initialize):
1403 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1406 Argh. actually save the text before committing. Now adds
1407 gst_tag_merge_strings_with_comma() to gst_tag_register().
1409 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1413 Do as tim pointed out and actually register the new tag. Also improve
1414 te docs and use gst_tag_merge_strings_with_comma() method to allow
1415 retriving all keywords merged in one list.
1417 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1420 * docs/gst/gstreamer.types:
1421 Revert 'accidential' change of the configure option removal. We still
1422 need to generate the types file in configure --disable-load-save.
1424 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1426 * docs/gst/gstreamer-sections.txt:
1428 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1430 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1432 * gst/gstpadtemplate.c:
1433 (gst_pad_template_class_init), (gst_static_pad_template_get),
1434 (gst_pad_template_new), (gst_pad_template_pad_created),
1435 (gst_pad_template_set_property), (gst_pad_template_get_property):
1436 Add "name-template", "direction", "presence" and "caps" properties,
1437 so that gst_pad_template_new() is just a thin wrapper around
1438 g_object_new(), which is better for bindings. (Fixes: #539772)
1440 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1443 Be more liberal in what URIs we accept.
1444 Do not unescape bits of the URI for no apparent reason before passing to
1445 the element. Fixes #545352.
1447 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1449 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1452 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1454 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1457 * docs/gst/gstreamer-sections.txt:
1458 * docs/gst/gstreamer.types:
1459 * docs/gst/gstreamer.types.in:
1462 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1463 * gst/gstconfig.h.in:
1464 * gst/gstelement.c: (gst_element_get_index):
1465 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1466 (gst_registry_binary_load_feature),
1467 (gst_registry_binary_read_cache):
1468 * gst/gstregistryxml.c: (load_feature),
1469 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1470 * plugins/Makefile.am:
1472 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1473 (print_plugin_features), (print_element_features):
1474 * tools/gst-xmlinspect.c: (print_event_masks),
1475 (print_element_info):
1476 * win32/common/gstconfig.h:
1477 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1479 Disabling the indexers and URI handler code will only reduce the
1480 required amount of memory by a very small amount but on the other hand
1481 requires much more maintaince work. Apart from that many places of
1482 code are broken when disabling them.
1484 Disabling the enum types doesn't reduce the required amount of memory
1485 by more than a few bytes and makes it hard to fix bugs like #539772,
1486 i.e. use the enums as GObject properties.
1488 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1490 * docs/design/part-TODO.txt:
1491 Add some thoughts and problems with upstream renegotiation.
1493 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1495 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1496 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1497 Remove silly redundant debug.
1498 Add some more debug info.
1499 Clarify the docs regarding new caps received from pad_alloc.
1501 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1503 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1504 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1505 Make setting the caps more threadsafe.
1507 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1509 * docs/design/part-element-transform.txt:
1512 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1514 * plugins/elements/gstqueue.c: (gst_queue_init),
1515 (gst_queue_acceptcaps):
1516 Add and use a custom acceptcaps function instead of falling back to the
1517 potentially less optimized default implementation.
1519 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1521 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1522 Only sanity-check the buffer size if requested_caps == buffer_caps
1523 (ie. don't take pad caps into account, they're not relevant here)
1525 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1527 * plugins/elements/gsttee.c:
1528 * plugins/elements/gsttee.h:
1529 Reverting as not everything is clear yet. Needs some general design
1532 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1535 ChangeLog surgery for tee commit.
1537 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1539 * docs/gst/gstreamer-sections.txt:
1540 Cleanup section-file.
1542 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1544 * plugins/elements/gsttee.c:
1545 * plugins/elements/gsttee.h:
1546 Relay tag events in tee. Fixes parts of #474016.
1547 Downgrades 3 reoccurring debugs to log.
1549 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1552 * libs/gst/Makefile.am:
1553 Build the net library if we have winsock2.
1555 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1557 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1559 * docs/manual/advanced-threads.xml:
1560 * docs/manual/diagrams-pipelines.svg:
1561 * docs/manual/hello-world.png:
1562 * docs/manual/linked-elements.png:
1563 * docs/manual/mime-world.png:
1564 * docs/manual/queue.png:
1565 * docs/manual/thread-buffering.png:
1566 * docs/manual/thread-synchronizing.png:
1567 Replace one diagram with two separate ones and updates others.
1570 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1573 Fix link in documentation.
1575 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1578 Fix confusing documentation.
1580 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1582 * libs/gst/base/gstbasesrc.h:
1583 revert the changes to the header file for the ABI.
1585 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1587 * libs/gst/base/gstbasesrc.c:
1588 * libs/gst/base/gstbasesrc.h:
1589 Don't cache the seekable status.
1592 2008-07-24 Rene Stadler <mail@renestadler.de>
1594 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1595 code to close the pipeline graph. This prevents the program from
1596 printing internal data flow errors.
1598 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1600 * docs/manual/basics-bus.xml:
1601 Correct typo. Fixes bug #544320.
1603 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1606 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1607 Add check (taken from -base) for winsock, adds WIN32_LIBS
1609 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1611 Define GST_EXPORTS when building libgstreamer (only used on win32)
1612 * gst/gst_private.h:
1614 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1615 for symbols that we need to export in both these files.
1617 Include gst_private.h higher up to avoid some compile problems on win32.
1619 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1624 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1627 Previous commit was wrong NULL caps does not exist
1628 and indicate an error, so also add a FIXME to
1629 gst_caps_is_equal where NULL caps are accepted.
1631 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1634 Allow passing of NULL to gst_caps_union
1636 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1638 * gst/gstghostpad.c:
1639 Add in doc that gst_ghost_pad_set_target can accept
1640 NULL to clear target
1642 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1645 * gst/gstregistry.c:
1646 GstRegistryPool doesn't exist; don't refer to it in docs.
1647 Don't refer to functions that don't exist in docs, it's
1650 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1653 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1655 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1657 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1659 * docs/pwg/building-testapp.xml:
1660 Don't use an undeclared variable in the example program.
1663 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1665 * gst/gstdebugutils.c:
1666 Squeeze ghost-pad links and remove <> from classname labels to save
1667 more horizontal space.
1669 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1671 * gst/gstdebugutils.c:
1672 Give request and sometimes pads a different shpe style. Condense the
1673 graphs a little more.
1675 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1678 Don't require flex and bison if the parser is disabled.
1680 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1682 * libs/gst/controller/gstinterpolationcontrolsource.c:
1683 (_list_find_sorted_custom):
1684 Don't use declarations after statements.
1686 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1688 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1689 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1690 of the the child-added / -removed signals as GstChildProxy
1691 only supports GstObjects.
1693 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1695 * gst/gstdebugutils.c:
1698 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1700 Patch by: Alessandro Decina <alessandro at nnva dot org>
1703 Fix "ignored return value" compiler warning with newer glibc.
1705 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1707 * gst/gstchildproxy.c:
1708 Fix copy&paste error in gst_child_proxy_removed() documentation.
1710 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1712 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1713 Print error debug message if plugin description fields that should
1716 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1717 Don't crash if the string to serialise is NULL (it really should
1718 not be, but apparently this used to work with the xml registry ...).
1720 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1722 * tools/gst-plot-timeline.py:
1723 Fix parsing of log messages
1725 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1727 * win32/common/libgstbase.def::
1728 Sort alphabetically so make check-exports doesn't barf.
1730 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1733 Use gst_format_get_name() to improve debug output.
1736 Remove #ifdef'ed code. Add TODO comment.
1739 Add debug output to ease spotting format != segment.format assertions.
1741 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1743 * tests/check/libs/gdp.c: (gst_dp_suite):
1744 Also enable the GDP unit test again on PPC now that the bug
1747 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1749 * libs/gst/dataprotocol/dataprotocol.c:
1750 Don't write to the same region of memory as a uint64 and uint16
1751 as this breaks strict aliasing rules and apparantly breaks on PPC
1752 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1754 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1756 * libs/gst/controller/gstinterpolationcontrolsource.c:
1757 Optimize list handling. Use own find function. Exploit that fact that
1758 the list is sorted. Also pass back the node before, so that we can
1759 insert quickly. Have a fast path for append.
1761 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1763 * docs/design/draft-framestep.txt:
1764 * docs/design/part-negotiation.txt:
1767 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1770 Show configuration sumary after configure run. Based on patch by
1771 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1773 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1775 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1777 * docs/manual/advanced-autoplugging.xml:
1778 * docs/manual/advanced-threads.xml:
1779 * docs/manual/basics-bins.xml:
1780 * docs/manual/basics-elements.xml:
1781 * docs/manual/basics-helloworld.xml:
1782 * docs/manual/basics-pads.xml:
1783 Add scale factor for pdf output.
1785 * docs/manual/intro-basics.xml:
1786 Switched sections "pads" and "bins" and added a pipeline diagram.
1788 * docs/manual/intro-gstreamer.xml:
1789 Added more info on gstreamer.
1791 * docs/manual/intro-motivation.xml:
1792 Commented out the whole section "current problem", which sounds
1793 historical and somehow osolete; it could be turned in a positive
1794 way and reused to improve the design principles.
1796 * docs/manual/intro-preface.xml:
1797 - Update URLs to library.gnome.org.
1798 - Do not mention GTK+ in preliminary reading (irrelevant).
1799 - Mention Plugin Writer's Manual and further reading only in the
1801 - Added a list of most relevant GObject/glib topics.
1803 * docs/manual/Makefile.am:
1804 * docs/manual/bin-element-ghost.fig:
1805 * docs/manual/bin-element-ghost.png:
1806 * docs/manual/bin-element-noghost.fig:
1807 * docs/manual/bin-element-noghost.png:
1808 * docs/manual/bin-element.fig:
1809 * docs/manual/bin-element.png:
1810 * docs/manual/filter-element-multi.fig:
1811 * docs/manual/filter-element-multi.png:
1812 * docs/manual/filter-element.fig:
1813 * docs/manual/filter-element.png:
1814 * docs/manual/gstreamer-overview.png:
1815 * docs/manual/hello-world.fig:
1816 * docs/manual/hello-world.png:
1817 * docs/manual/linked-elements.fig:
1818 * docs/manual/linked-elements.png:
1819 * docs/manual/mime-world.fig:
1820 * docs/manual/mime-world.png:
1821 * docs/manual/queue.fig:
1822 * docs/manual/queue.png:
1823 * docs/manual/simple-player.png:
1824 * docs/manual/sink-element.fig:
1825 * docs/manual/sink-element.png:
1826 * docs/manual/src-element.fig:
1827 * docs/manual/src-element.png:
1828 * docs/manual/diagrams-general.svg:
1829 * docs/manual/diagrams-pipelines.svg:
1830 Removed .fig, added .png counterpart.
1834 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1836 * plugins/elements/gstmultiqueue.c:
1837 * plugins/elements/gstmultiqueue.h:
1838 revert extra-size-buffers stuff, caused some race conditions
1839 and extra-size-buffers is not used anymore. Docs needs some updates
1841 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1843 * win32/common/config.h:
1844 * win32/common/gstenumtypes.c:
1845 * win32/common/gstenumtypes.h:
1846 * win32/common/gstversion.h:
1849 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1851 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1852 (GST_DEBUG_BIN_TO_DOT_FILE):
1853 Add missing Since' markers to gtk-doc blurbs.
1855 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1857 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1858 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1859 (set_caps_1), (set_caps_ct1), (transform_ct1),
1860 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1861 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1862 (transform_size_ct2), (buffer_alloc_ct2):
1863 Add some more tests with switching caps in buffer_alloc.
1865 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1867 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1868 (gst_test_trans_class_init), (result_sink_chain),
1869 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1870 (gst_test_trans_push), (gst_test_trans_pop):
1871 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1872 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1873 (set_caps_1), (set_caps_ct1), (transform_ct1),
1874 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1875 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1876 (transform_size_ct2), (buffer_alloc_ct2),
1877 (gst_basetransform_suite):
1878 More tests, prepare for tests with switching caps in buffer_alloc.
1880 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1882 * plugins/elements/gstmultiqueue.c:
1883 * plugins/elements/gstmultiqueue.h:
1884 Fix dead-lock in underrun_cb
1886 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1888 * docs/design/part-states.txt:
1889 Fix device open/close docs.
1891 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1894 Mention bugnumber for last commit.
1896 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1898 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1900 * docs/manual/manual.xml:
1901 - Reorganised the previous "introduction" bundle into Foreword,
1902 Introduction, and About GStreamer. The two first are <preface>
1903 docbook elements. The later is the first part of the book.
1904 - added intro-gstreamer.xml (content partially from
1906 - moved appendix-win32.xml into appendix-integration.xml
1908 * docs/manual/intro-preface.xml: gstreamer section moved...
1909 * docs/manual/intro-gstreamer.xml: ...here. new file.
1911 * docs/manual/appendix-win32.xml: removed file. Content moved...
1912 * docs/manual/appendix-integration.xml: ...here.
1914 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1915 * docs/manual/appendix-checklist.xml: ...here.
1919 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1921 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1923 * docs/manual/basics-helloworld.xml:
1924 * docs/manual/hello-world.fig:
1925 - Explicitely include glib.h.
1926 - Do not use global variables.
1927 - Use g_printerr() instead of g_print().
1928 - Minor formating/renaming to increase readibility.
1929 - Renamed new_pad() to on_pad_added()
1930 - Improved explenatory comments.
1931 - renamed ogg parser to ogg demuxer
1932 - Use "autoaudiosink" instead of "alsasink".
1935 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1938 Remove cvs conflict marker.
1940 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1943 Document that for plgin-docs we extraxt he short-desc from the element
1946 * docs/design/part-states.txt:
1947 Tell that devices should be closed in PAUSED -> READY.
1949 * docs/manual/README:
1950 Document how tests in the manual are handled.
1955 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1957 * gst/gstbin.c: (bin_query_latency_fold):
1958 Only care about latency min and max when the sink is actually a live
1961 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1963 * docs/design/part-block.txt:
1966 * docs/design/part-element-transform.txt:
1967 Add notes about why transform needs to know input/output sizes.
1968 Add some issues that need to be solved.
1969 Add some more use cases.
1971 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1972 (gst_test_trans_class_init), (result_sink_chain),
1973 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1974 (gst_test_trans_push), (gst_test_trans_pop):
1975 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1976 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1977 (set_caps_1), (set_caps_ct1), (transform_ct1),
1978 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1979 (gst_basetransform_suite):
1980 Add suport for different pad templates and buffer-alloc.
1981 Add more checks for caps and buffer-alloc.
1982 Add checks for proxy buffer alloc.
1983 Add unit test for copy transform.
1985 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1987 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
1989 * docs/manual/appendix-integration.xml:
1990 * docs/manual/appendix-licensing.xml:
1991 * docs/manual/basics-elements.xml:
1992 * docs/manual/basics-helloworld.xml:
1993 * docs/manual/basics-pads.xml:
1994 * docs/manual/highlevel-components.xml:
1995 * docs/manual/highlevel-xml.xml:
1996 * docs/manual/intro-basics.xml:
1997 * docs/manual/intro-preface.xml:
1998 Typo and formatting fixes (#538594).
2000 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2002 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2003 Fix some memory leaks and uses of object instances that we don't
2006 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2008 * plugins/elements/gstmultiqueue.c:
2009 Add functionality to extra-size-buffers property.
2011 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2013 * plugins/elements/gstmultiqueue.c:
2014 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2015 activate the pads if they are added in STATE_NULL.
2017 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2019 * docs/libs/gstreamer-libs-sections.txt:
2021 * libs/gst/check/gstcheck.c:
2022 * libs/gst/check/gstcheck.h:
2023 API: gst_check_teardown_pad_by_name
2025 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2027 * libs/gst/check/gstcheck.c:
2028 * libs/gst/check/gstcheck.h:
2029 Also setup request pads and allow setup pads by name (#537812)
2030 API: gst_check_setup_src_pad_by_name
2031 API: gst_check_setup_sink_pad_by_name
2033 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2035 * tests/check/gst/gstbuffer.c:
2036 * tests/check/pipelines/parse-launch.c:
2037 Use HAVE_VALGRIND_H some more.
2039 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2041 * scripts/cvs-update.sh:
2042 Pass arguments to make.
2043 Run autoregen.sh if Makefile is not there.
2045 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2049 Don't assume that <valgrind/valgrind.h> exists just because
2050 the binary is there.
2052 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2054 * tests/check/Makefile.am:
2055 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2056 (gst_test_trans_class_init), (gst_test_trans_init),
2057 (gst_test_trans_set_data), (result_sink_chain),
2058 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2059 (gst_test_trans_pop):
2060 * tests/check/libs/transform1.c: (GST_START_TEST),
2061 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2062 Add some test basetransform element and the beginnings of various
2065 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2067 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2068 Increase code readability.
2069 Don't try to compare buffer offsets when ther are invalid.
2071 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2073 * docs/design/Makefile.am:
2074 Dist some more design docs.
2076 * docs/random/moving-plugins:
2077 Small addition: good plugins mustn't have functional code
2078 within assertion macros.
2080 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2082 * docs/design/draft-framestep.txt:
2083 Some ideas about a framestep API
2085 * docs/design/part-element-transform.txt:
2086 Start design and use cases for basetransform in order to get it
2089 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2092 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2093 be in UTF-8 encoding.
2095 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2098 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2100 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2102 * plugins/elements/gstcapsfilter.c:
2103 * plugins/elements/gstfakesink.c:
2104 * plugins/elements/gstfakesrc.c:
2105 * plugins/elements/gstfdsink.c:
2106 * plugins/elements/gstfdsrc.c:
2107 * plugins/elements/gstfilesink.c:
2108 * plugins/elements/gstfilesrc.c:
2109 * plugins/elements/gstidentity.c:
2110 * plugins/elements/gstmultiqueue.c:
2111 * plugins/elements/gstqueue.c:
2112 * plugins/elements/gsttee.c:
2113 * plugins/elements/gsttypefindelement.c:
2114 Remove short_description. Add basic docs for gsttypefindelement.
2115 Simplify markup for fakesrc/fdsrc.
2117 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2119 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2122 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2124 Patch by: Joel Larsson <tilljoel at gmail dot com>
2126 * docs/plugins/gstreamer-plugins.args:
2127 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2128 (gst_fd_src_init), (gst_fd_src_update_fd),
2129 (gst_fd_src_set_property), (gst_fd_src_get_property),
2130 (gst_fd_src_create):
2131 * plugins/elements/gstfdsrc.h:
2132 Add timeout property like udpsrc. Fixes #538628.
2133 Add some more docs and example pipelines.
2135 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2137 * docs/libs/gstreamer-libs-sections.txt:
2138 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2139 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2140 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2141 (gst_base_sink_do_sync):
2142 * libs/gst/base/gstbasesink.h:
2143 * win32/common/libgstbase.def:
2144 Add method to allow sinks to specify additional delay between the sync
2145 times and the actual rendering of the data.
2146 API: gst_base_sink_set_render_delay()
2147 API: gst_base_sink_get_render_delay()
2149 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2152 Bump version number back to dev -> 0.10.20.1
2154 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2156 * docs/gst/gstreamer-sections.txt:
2157 * gst/gsttaglist.c: (_gst_tag_initialize):
2159 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2162 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2164 * libs/gst/controller/gstcontroller.c:
2165 Revert one change, that make ret value possible uninitialized.
2167 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2169 * libs/gst/controller/gstcontroller.c:
2170 Use freeze/thaw notify to sync notify emission a bit (its also more
2171 efficient). Move debug output to LOG (is called a lot in a loop).
2172 Always unset g_values if the have been initialized.
2174 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2176 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2177 (gst_base_sink_wait_eos), (gst_base_sink_event):
2178 If we have not seen a buffer before EOS, use the segment values to
2179 report the current position instead of invalid positions.
2181 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2183 * docs/plugins/tmpl/.cvsignore:
2184 * tests/check/gst/.cvsignore:
2187 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2189 * libs/gst/controller/gstinterpolation.c:
2190 * libs/gst/controller/gstinterpolationcontrolsource.c:
2191 * tests/check/libs/controller.c:
2192 Rewrite handling of default values. Fix overflow with unsigned types
2193 in linear interpolation. Remove now obsolete _first_value() function.
2194 Add more tests. Fixes #538201.
2196 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2198 * libs/gst/base/gstbasetransform.c:
2199 (gst_base_transform_class_init), (gst_base_transform_init),
2200 (gst_base_transform_transform_caps),
2201 (gst_base_transform_prepare_output_buffer):
2203 When a buffer is writable, its metadata is also writable so we don't
2204 need to subbuffer (which then makes the buffer not-writable anymore).
2206 === release 0.10.20 ===
2208 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2211 releasing 0.10.20, "You Crazy Diamond"
2213 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2216 0.10.19.3 pre-release
2218 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2222 Rename DATADIR to GST_DATADIR to avoid build problems
2223 on win32. Patch By: David Schleef <ds@schleef.org>
2226 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2229 Explicitely link with -ldl if dladdr() is found there. Before it was
2230 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2231 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2233 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2235 * gst/gsterror.c: (_gst_stream_errors_init):
2236 Fix typo (spotted by Fabricio Godoy, #536723).
2238 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2241 0.10.19.2 pre-release
2243 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2245 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2246 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2248 Make sure we don't generate invalid QoS messages.
2250 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2252 * gst/gstevent.c: (gst_event_new_qos):
2253 Add some assert and docs for invalid input to the qos function.
2255 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2257 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2258 (gst_base_sink_get_position):
2259 The reported position must always be smaller than the last seen
2260 timestamps (or timestamp + duration for reverse).
2262 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2264 Patch by: Rob Bradford <rob at robster dot org dot uk>
2266 * gst/gstregistry.c: (gst_registry_scan_path_level):
2267 Don't recurse into .debug directories as some distros install
2268 the debugging symbols next to the plugins in .debug directories
2269 and dlopen() crashes on them sometimes. Fixes bug #508070.
2271 Add FIXME for 0.11 to not recurse into directories at all because
2272 it's very inconsistent to the behaviour of other PATH environment
2275 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2277 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2278 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2279 Fix position query range checks in reverse playback.
2281 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2285 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2286 clear of the reference to the resulting pad must be released later
2287 or not, resulting in possible leaks. Fixes bug #533865.
2289 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2291 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2293 * gst/gstelementfactory.c:
2294 Small doc fix. Fixes #535285.
2296 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2298 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2300 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2301 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2302 (gst_base_src_loop), (gst_base_src_set_flushing),
2303 (gst_base_src_change_state):
2304 Make sending an EOS event to the basesrc non-blocking even if the
2305 implementation does blocking waits in the create function. This is done
2306 by unlocking the create function when EOS is sent.
2309 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2311 * tools/gst-inspect.c: (print_element_properties_info):
2312 If possible print the element type of GValueArray properties.
2314 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2316 * gst/gstiterator.c:
2317 Remove an unused field from the private GstListIterator struct.
2319 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2321 * libs/gst/controller/gstcontroller.c:
2322 Add parameter guards.
2324 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2326 * tests/check/gst/gstpipeline.c:
2327 Revert test change and add comment why it should not work.
2329 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2331 * tests/check/gst/gstpipeline.c:
2332 Extending the test a little to verify that we also get the NULL state-
2335 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2337 * gst/gstpreset.c: (gst_preset_default_get_meta),
2338 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2339 (gst_preset_load_preset), (gst_preset_save_preset),
2340 (gst_preset_rename_preset), (gst_preset_delete_preset),
2341 (gst_preset_set_meta):
2342 Add Since: markers to docs blurbs.
2344 * win32/common/libgstreamer.def:
2345 Add recently-added API.
2347 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2349 Patch by: Stefan Kost <ensonic@users.sf.net>
2352 Add DATADIR for storing presets.
2354 * docs/gst/gstreamer-docs.sgml:
2355 * docs/gst/gstreamer-sections.txt:
2356 * docs/gst/gstreamer.types.in:
2357 Add GstPreset to docs.
2361 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2362 (preset_open_and_parse_header), (preset_parse_version),
2363 (preset_merge), (preset_get_keyfile),
2364 (gst_preset_default_get_preset_names),
2365 (gst_preset_default_get_property_names),
2366 (gst_preset_default_load_preset),
2367 (gst_preset_default_save_presets_file),
2368 (gst_preset_default_save_preset),
2369 (gst_preset_default_rename_preset),
2370 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2371 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2372 (gst_preset_default_reset), (gst_preset_get_preset_names),
2373 (gst_preset_get_property_names), (gst_preset_load_preset),
2374 (gst_preset_save_preset), (gst_preset_rename_preset),
2375 (gst_preset_delete_preset), (gst_preset_set_meta),
2376 (gst_preset_get_meta), (gst_preset_class_init),
2377 (gst_preset_base_init), (gst_preset_get_type):
2379 Add GstPreset to core. Fixes #396779
2381 * tests/check/Makefile.am:
2382 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2383 (gst_preset_test_set_property), (gst_preset_test_class_init),
2384 (gst_preset_test_base_init), (gst_preset_test_get_type),
2385 (gst_preset_test_plugin_init), (GST_START_TEST),
2386 (remove_preset_file), (test_setup), (test_teardown),
2388 Add GstPreset unit tests.
2390 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2392 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2393 The default event function on a sinkpad should return TRUE when
2394 there are no internal links but should collect the return values from
2395 the internal links otherwise.
2397 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2399 * plugins/elements/gsttypefindelement.c:
2400 (gst_type_find_element_src_event),
2401 (gst_type_find_element_handle_event):
2402 Use faster and safer _pad_push_event().
2404 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2406 * docs/gst/gstreamer-sections.txt:
2407 * gst/gstutils.c: (element_find_unlinked_pad),
2408 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2410 API: add gst_bin_find_unlinked_pad()
2411 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2413 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2419 Fixed a bunch of typos.
2421 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2424 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2425 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2426 (gst_parse_bin_from_description_full):
2428 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2430 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2432 * docs/pwg/advanced-tagging.xml:
2433 Small docs update, can't be bothered to rewrite the nonsensical
2436 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2439 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2441 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2443 * gst/parse/grammar.y:
2444 Remove unneeded casts.
2446 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2448 * gst/parse/grammar.y:
2449 * tests/check/pipelines/parse-launch.c:
2450 Get all missing elements from a parse launch string if possible
2451 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2453 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2455 * tests/check/Makefile.am:
2456 * tests/check/pipelines/parse-launch.c:
2457 Add some unit tests for the new gst_parse_launch*_full() API.
2458 (Exposes a previously-existing memory leak in the error code
2459 path, so adding to VALGRIND_TO_FIX for now).
2461 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2463 * docs/gst/gstreamer-sections.txt:
2464 * gst/gst.c: (init_post):
2465 * gst/gst_private.h: (_GstParseContext):
2466 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2467 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2468 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2469 (gst_parse_launch_full):
2470 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2471 (GstParseFlags), (GstParseContext):
2472 * gst/gstutils.c: (gst_parse_bin_from_description),
2473 (gst_parse_bin_from_description_full):
2475 * gst/parse/grammar.y:
2476 * gst/parse/types.h:
2477 * win32/common/libgstreamer.def:
2478 Add new gst_parse_*_full API (#528178):
2479 API: gst_parse_launch_full()
2480 API: gst_parse_launchv_full()
2481 API: gst_parse_bin_from_description_full()
2482 API: gst_parse_context_new()
2483 API: gst_parse_context_free()
2484 API: gst_parse_context_get_missing_elements()
2486 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2488 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2490 * docs/faq/gst-uninstalled:
2491 Also support ffmpeg in gst-uninstalled.
2493 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2496 After discussion on IRC use the binary registry as default
2497 but allow to disable it with --disable-binary-registry.
2499 * win32/common/libgstreamer.def:
2500 Add the two new symbols for the binary registry.
2502 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2504 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2505 * gst/gstutils.c: (gst_parse_bin_from_description):
2506 * gst/parse/grammar.y: (graph):
2507 More guards against bad input; typo fix; some minor clean-ups.
2509 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2511 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2513 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2514 If nothing else can be used, use the last buffer's start time as
2515 the segment's last stop. Fixes bug #534258.
2517 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2519 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2520 Move size sanity check to the right place: downstream may return
2521 a buffer with a smaller size if the buffer caps are different than
2522 the requested ones, as may happen when doing reverse negotiation.
2524 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2526 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2527 (gst_file_sink_render):
2528 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2529 (gst_file_src_start):
2530 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2533 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2535 * gst/gstpad.c: (gst_pad_load_and_link):
2536 * gst/gstutils.c: (gst_element_link_pads),
2537 (gst_element_unlink_pads):
2538 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2539 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2540 (gst_check_teardown_sink_pad),
2541 (gst_check_element_push_buffer_list):
2542 * tests/check/elements/fakesink.c: (GST_START_TEST):
2543 * tests/check/elements/filesink.c:
2544 * tests/check/elements/filesrc.c: (GST_START_TEST):
2545 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2546 (mq_sinkpad_to_srcpad):
2547 * tests/check/elements/tee.c: (GST_START_TEST):
2548 * tests/check/generic/sinks.c: (GST_START_TEST):
2549 * tests/check/gst/gstbin.c: (GST_START_TEST):
2550 * tests/check/gst/gstevent.c: (GST_START_TEST):
2551 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2552 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2553 * tests/check/gst/gstquery.c: (GST_START_TEST):
2554 * tests/check/gst/gstutils.c: (GST_START_TEST):
2555 * tests/check/libs/basesrc.c: (GST_START_TEST):
2556 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2557 (gst_parse_test_element_change_state):
2558 Don't use gst_element_get_pad().
2560 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2563 Fix installing plugin documentation when gtk-doc is disabled.
2565 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2567 * docs/manual/advanced-autoplugging.xml:
2568 * docs/manual/basics-helloworld.xml:
2569 * docs/manual/basics-pads.xml:
2570 * docs/manual/highlevel-components.xml:
2571 Avoid using a bad function in the example code.
2573 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2575 * gst/gstclock.c: (gst_clock_set_calibration):
2576 Fix debug of the new clock rate.
2578 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2580 * win32/common/libgstbase.def:
2581 Add gst_base_sink_wait_clock() to the exported symbols.
2583 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2585 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2587 * libs/gst/base/gstbasetransform.c:
2588 (gst_base_transform_sink_event):
2589 Unref events that the GstBaseTransform::event vfunc didn't want to
2590 have forwarded by the base class. Closes a leak in identity.
2593 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2595 * docs/libs/gstreamer-libs-sections.txt:
2596 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2597 * libs/gst/base/gstbasesink.h:
2598 Expose a method that was previously used internally to synchronize
2599 against the clock because it can be useful for subclasses too.
2600 API: GstBaseSink::gst_base_sink_wait_clock()
2602 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2604 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2605 Add sanity check to make sure we don't get smaller buffers
2606 than requested (and fallback to normal buffer alloc if we do).
2608 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2610 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2611 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2612 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2613 Refactor adjusting the running_time with latency and offset into a
2615 When doing clipping, we still want to use the subclass get_times method,
2616 just in case the DURATION or TIMESTAMP are not set.
2618 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2620 * docs/gst/gstreamer-sections.txt:
2621 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2622 * gst/gsttypefind.h:
2623 * win32/common/libgstreamer.def:
2624 API: add gst_type_find_suggest_simple(), #533740.
2626 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2628 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2629 Use right error code when typefinding fails, so we can use
2630 the default (translated) error messages.
2632 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2634 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2635 (gst_base_src_start):
2636 When the subclass did not set caps on outgoing buffers, configure the
2637 caps we negotiated on the source pad.
2638 When the typefind helper does not find caps, error out properly instead
2639 of doing things with NULL caps.
2641 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2643 * gst/gsttypefind.h:
2644 Tabs to spaces, oh yes!
2646 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2648 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2649 Add David's and Benjamin's tests for array intersection to the
2650 unit test suite (#147931).
2652 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2655 Document that gst_event_new_tag() and gst_event_new_navigation()
2656 take ownership of the taglist/structure passed to them. (#533635).
2658 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2661 Don't descend into the plugins dir if plugin docs building
2665 Add a note about the new type:GTypeName syntax for the plugin
2666 documentation .types file.
2668 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2670 * gst/gstmessage.c: (gst_message_new_error),
2671 (gst_message_new_warning), (gst_message_new_info):
2673 Mark the debug string parameters as const. Fixes bug #533490.
2675 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2677 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2678 Sort buffer cache list by end offsets. This makes sure that we don't
2679 stop to search for a cached buffer that contains the requested data
2681 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2682 more efficient. Fixes bug #459862.
2684 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2687 Explain why we copy the list.
2689 * gst/gstpipeline.c:
2693 Add one debug-log statement to help tracing probelms with linking pads.
2695 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2697 * tests/check/gst/gstinfo.c:
2698 Add a test for removing the default log handler. Seems to fail under
2701 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2703 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2704 Release pad lock before calling out to avoid a possible deadlock.
2706 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2708 * gst/parse/grammar.y:
2709 Remove unneeded value unset.
2711 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2712 Add unit test for de/serialization of caps.
2714 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2716 * plugins/elements/gstfakesink.c:
2717 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2718 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2719 (gst_fake_src_class_init):
2720 Use custom marshalers that take GstMiniObject as first parameter.
2721 Using OBJECT as parameter while a GstMiniObject is given will lead
2722 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2724 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2726 * plugins/elements/gsttypefindelement.c:
2727 (gst_type_find_element_handle_event),
2728 (gst_type_find_element_send_cached_events),
2729 (gst_type_find_element_change_state):
2730 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2733 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2735 * plugins/elements/gsttypefindelement.c:
2736 (gst_type_find_handle_src_query), (stop_typefinding),
2737 (gst_type_find_element_handle_event),
2738 (gst_type_find_element_send_cached_events),
2739 (gst_type_find_element_change_state):
2740 Forward FLUSH_START events immediately and clean up instead of
2743 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2745 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2747 * libs/gst/base/gstbasetransform.c:
2748 (gst_base_transform_buffer_alloc):
2749 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2750 fall back to default negotiation in the chain function if the caps
2751 are different from what was requested. Fixes bug #526768.
2753 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2756 * tests/check/gst/gstsegment.c:
2757 No, let's not use g_slice_{dup|copy} here, since they only exist
2758 since GLib 2.14 and we still depend only on >= 2.12. Also add
2759 unit test for gst_segment_copy().
2761 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2763 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2764 Try to fix 'dereferencing type-punned pointer will break strict
2765 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2766 changed the default GType typedef from gulong to gsize at some point,
2767 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2768 g_once_* functions all take a gsize * though, so work around the type
2769 mismatch for C++ by doing everything in gsize and casting to GType
2772 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2774 * plugins/elements/gstmultiqueue.c:
2775 Add documentation for the signals to push our core plugin docs
2776 coverage back up to 100%.
2778 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2780 * gst/gstinfo.h (GST_FUNCTION):
2781 Reverted GST_FUNCTION to the old version as we don't want the
2782 full signature in C++ code. Also added support for MSVC.
2784 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2787 Intern the type name string, similar to what G_DEFINE_TYPE does.
2789 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2792 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2794 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2796 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2798 * libs/gst/base/gstbasetransform.c:
2799 (gst_base_transform_buffer_alloc):
2800 Don't passthrough buffer allocation too easily if the caps change.
2801 This breaks when working in passthrough mode and upstream changes
2802 it's caps. Fixes bug #526768.
2804 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2806 * gst/gstinfo.c (gst_debug_log_valist):
2807 Improved the __FILE__ part of debug output for MSVC.
2809 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2811 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2812 Declaration after statement fix for compilers like MSVC.
2814 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2816 * win32/common/config.h.in:
2817 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2818 use the real thing than having "???" unconditionally.
2820 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2822 * gst/gstinfo.h (GST_FUNCTION):
2823 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2825 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2827 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2830 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2831 (gst_base_sink_set_flushing):
2832 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2835 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2837 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2838 (gst_fake_src_init), (gst_fake_src_set_property),
2839 (gst_fake_src_get_property), (gst_fake_src_start):
2840 * plugins/elements/gstfakesrc.h:
2841 Added format property to control the format of the newsegment events.
2842 API: GstFakeSrc:format
2844 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2846 * win32/common/libgstreamer.def:
2847 Add gst_pad_has_name() to the exported symbols.
2849 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2851 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2852 * libs/gst/base/gstbasetransform.c:
2853 (gst_base_transform_prepare_output_buffer):
2854 Don't allow negative sizes when allocating new buffers.
2857 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2859 Patch by: Sjoerd Simons <sjoerd at luon net>
2861 * gst/gstbus.c: (gst_bus_source_dispatch):
2862 Don't print a warning if the queue is empty when we try to pop
2863 here. That could happen if another thread or callback set the
2864 bus to flushing between the source's check/prepare and the
2865 dispatch being called (#531538).
2867 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2869 * plugins/elements/gstmultiqueue.c:
2872 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2874 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2875 Add unit test for deserializing uint64s and check some really large
2876 numbers in the int64 test.
2878 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2880 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2881 (print_interfaces), (print_element_properties_info),
2882 (print_signal_info):
2883 Use "%s" as format string instead of printing strings directly.
2885 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2887 * gst/gstclock.c: (gst_clock_set_calibration):
2888 Make some checks actually useful.
2890 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2891 Remove some unused code. Unsigned integers tend to be >= 0.
2893 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2895 * gst/gstminiobject.c: (gst_value_get_mini_object):
2896 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2897 function was not in the unscheduled 0.10.19 release.
2899 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2901 * gst/gstregistry.c: (gst_registry_scan_path_level):
2902 Only print one log message per non-plugin file.
2904 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2906 * gst/gstinfo.c: (gst_debug_log_default):
2907 Fix alignment of debug log columns on 64-bit.
2909 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2911 * docs/libs/Makefile.am:
2912 * docs/libs/gstreamer-libs-sections.txt:
2913 Ignore private controller headers for docs.
2915 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
2917 * libs/gst/controller/gstcontrollerprivate.h:
2918 * libs/gst/controller/gsthelper.c:
2919 * libs/gst/controller/gstinterpolation.c:
2920 * libs/gst/controller/gstinterpolationcontrolsource.c:
2921 (gst_interpolation_control_source_set_interpolation_mode):
2922 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2923 * libs/gst/controller/lib.c:
2924 Move some private declarations into private headers.
2926 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
2928 * gst/gstdebugutils.c: (debug_dump_element_pad):
2929 Remove some code that is unused after Stefan's refactoring and uses
2930 uninitialized variables now, resulting in a compiler warning.
2932 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2934 * gst/gstregistry.c: (gst_registry_scan_path_level):
2935 Run g_str_has_suffix() only on the file name, not the
2938 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
2940 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2941 Since we're not called only from the chain function any longer,
2942 we can't assume that there's always data in the queue, so move
2943 the is_full check to the beginning of the loop (otherwise we'd
2944 hit the assert when changing the limit properties while the
2945 queue is empty or not running yet).
2946 Also, only set a discont if items were actually removed from
2949 * tests/check/elements/queue.c: (test_leaky_downstream):
2950 Test case for the above.
2952 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
2954 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2956 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2957 (gst_queue_chain), (queue_capacity_change),
2958 (gst_queue_set_property):
2959 When changing thr max capacity of a leaky queue, immediatly drop buffers
2960 instead of waiting for a push on the sinkpad. Fixes #530637.
2962 2008-04-30 Stefan Kost <ensonic@users.sf.net>
2964 * gst/gstdebugutils.c:
2965 Refactor code and fix handling of ghostpads and their proxypads.
2967 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
2969 * docs/gst/gstreamer-sections.txt:
2970 * gst/gstevent.c: (gst_event_has_name):
2972 * tests/check/gst/gstevent.c: (GST_START_TEST):
2973 Add method to conveniently check the name of a custom event with
2974 gst_event_has_name().
2975 Reformat the event docs so that related methods are put together instead
2976 of the default alphabetical sort.
2977 Update unit test with new method.
2978 API: GstEvent::gst_event_has_name()
2980 2008-04-28 Michael Smith <msmith@songbirdnest.com>
2982 * libs/gst/check/Makefile.am:
2983 Don't add an explicit link to libgstreamer-0.10.la; it's already
2984 included in GST_OBJ_LIBS.
2986 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
2989 Register GstClock type from a type-safe context. Fixes bug #530317.
2991 2008-04-25 Michael Smith <msmith@songbirdnest.com>
2993 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2995 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2997 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2999 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3001 Use the GLib stuff to create a private structure.
3002 Add some locking around some dispose methods to make them a little
3003 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3005 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3007 * libs/gst/base/gstbasesink.h:
3008 * libs/gst/base/gstbasesrc.h:
3009 * libs/gst/base/gstbasetransform.h:
3010 * libs/gst/base/gstcollectpads.h:
3011 Fix doc typos and unify caps a bit.
3013 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3015 * tools/gst-launch.1.in:
3016 Forgot to also add the envvar docs here.
3018 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3020 * gst/gst.c: (init_post), (gst_deinit):
3021 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3022 (test_concurrent_create), (gst_pipeline_suite):
3023 Ref some more classes in gst_init() to work around thread-safety
3024 issues in pre-2.16 GLibs, and add basic unit test.
3026 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3028 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3029 (gst_base_sink_send_event):
3030 Rearrange the latency query code. We always want to do the upstream
3031 query, even if we are not live so that the upstream elements can get the
3032 latency results too. If we fail doing the query and we are live, we
3033 return TRUE afterwards.
3035 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3037 patch by: Jason Zhao <e3423c@motorola.com>
3039 * docs/gst/running.xml:
3041 Enable/disable scan_and_update_registry() based on commandline switch
3042 or environment variable. Fixes #520468.
3045 Fix typo in my previous commit.
3047 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3049 * gst/gstregistrybinary.c:
3050 Add a warning if we hit unhandled factories when saving.
3051 More debug logging detail, but move to LOG category.
3053 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3055 * gst/gstregistry.c:
3056 Tell the *truth* when improving the documentation.
3058 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3060 * gst/gstelementfactory.c: (gst_element_factory_make):
3061 Unref the factory after it was used the last time, not before.
3063 * gst/gstindexfactory.c: (gst_index_factory_make):
3064 Improve debugging a bit and don't leak a ref to the index factory with
3067 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3069 * gst/gstregistry.c:
3070 Improve the documentation.
3072 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3075 The glib macro seems to be borked. Use g_slice_copy directly and cast
3076 in the hope that this fixes the warning on 64bit.
3078 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3081 Document the new function. Use g_slice_dup() (no need for
3082 gst_segment_init()).
3084 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3086 * docs/gst/gstreamer-sections.txt:
3087 Move GParamSepc macros to standart section.
3090 Dn't document _get_type - its in private section in docs anyway and
3091 this doc-blob was incomplete.
3094 Fix wrong symbol names in docs.
3097 Add once doc sentence.
3099 * tests/check/gst/.cvsignore:
3102 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3104 * docs/gst/Makefile.am:
3105 And remove those libs here.
3107 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3109 * docs/libs/Makefile.am:
3110 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3112 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3114 Patch by: Olivier Crete <tester at tester dot ca>
3116 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3117 Add the min-threshold to the min latency if possible. Fixes #529148.
3119 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3121 * docs/gst/gstreamer.types.in:
3122 Stupid editor, I removed that line as it should go in yet.
3124 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3126 * docs/gst/gstreamer.types.in:
3127 * docs/libs/gstreamer-libs.types:
3128 Remove library types fro core docs and have them in libs docs.
3129 Reformat and cleanup. Add comment for miniobject types.
3131 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3133 * gst/gsturi.c: (gst_uri_get_protocol):
3134 Fix leak: g_strdown operates on the string in place, while
3135 g_ascii_strdown() returns a newly-allocated string.
3137 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3139 * tools/gst-inspect.c: (print_uri_handler_info),
3140 (print_element_info):
3141 Print the URI protocols and the URI type supported by the element.
3143 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3145 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3146 Use g_value_take_string() instead of the deprecated
3147 g_value_set_string_take_ownership().
3149 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3151 * gst/gstregistrybinary.c: (_gst_crc32):
3152 Return the old CRC instead of 0 if we give a NULL buffer
3153 or a buffer with a length of 0.
3155 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3157 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3158 (gst_uri_get_protocol), (gst_uri_has_protocol),
3159 (gst_uri_construct), (gst_uri_handler_set_uri):
3160 A valid URI scheme can also include '+', '-' and '.' additional
3161 to alphanumeric characters as per RFC 3986 Section 3.1.
3163 Handle URI schemes case insensitive in all places and convert
3164 to lower-case when constructing an URI or setting an URI with
3165 the GstURIHandler interface. Fixes bug #528868.
3166 All elements can still assume (as before) that they will
3167 get passed URIs with a lower-case URI scheme by the GstURIHandler
3170 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3172 * gst/gstcaps.c: (gst_static_caps_get):
3173 * gst/gstclock.c: (gst_clock_entry_new):
3174 Don't use g_atomic_set_int where it's not needed.
3176 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3178 * gst/gstvalue.c: (gst_value_deserialize_caps):
3179 * gst/parse/grammar.y:
3182 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3184 * gst/gstutils.c: (gst_atomic_int_set):
3185 Use g_atomic_int_set() here too instead of assignment +
3188 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3192 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3193 now that we depend on new enough GLib.
3195 * gst/gstcaps.c: (gst_static_caps_get):
3196 * gst/gstclock.c: (gst_clock_entry_new):
3197 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3198 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3199 (gst_debug_category_set_threshold):
3200 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3201 (gst_base_sink_set_qos_enabled):
3202 * libs/gst/net/gstnettimeprovider.c:
3203 (gst_net_time_provider_set_property):
3204 Use g_atomic_int_set() instead of gst_atomic_int_set().
3206 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3209 Also use G_GINT64_CONSTANT for the queries.
3211 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3214 Use G_GINT64_CONSTANT in varargs function.
3216 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3218 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3219 Initialize the registry magic with zeroes.
3221 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3223 * gst/gstregistrybinary.c: (_gst_crc32),
3224 (gst_registry_binary_write),
3225 (gst_registry_binary_initialize_magic),
3226 (gst_registry_binary_write_cache),
3227 (gst_registry_binary_check_magic),
3228 (gst_registry_binary_read_cache):
3229 * gst/gstregistrybinary.h:
3230 Add crc32 checksum to the binary registry file and check this before
3231 accepting a registry file.
3233 Also free the data list when writing to the registry file fails.
3235 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3237 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3238 (gst_registry_binary_load_feature),
3239 (gst_registry_binary_load_plugin):
3240 If an element supports the Uri interface, returns a valid pointer
3241 to the supported URI protocols but this pointer contains nothing
3242 don't try to save that as it will corrupt the registry.
3244 Don't unref the plugin if we added it to the registry already but
3245 fail to load a feature as gst_registry_add_plugin() takes ownership
3248 Improve debugging a bit.
3250 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3253 Clarify some tag item docs after discussion on irc.
3255 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3257 * docs/gst/gstreamer-docs.sgml:
3258 Remove commented out plugins (they have their own docs). Update
3261 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3263 * docs/gst/gstreamer-docs.sgml:
3264 * docs/gst/gstreamer-sections.txt:
3265 * gst/gstparamspecs.c:
3266 * gst/gstparamspecs.h:
3267 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3268 docs to own section.
3271 This now only documents GValue.
3273 * docs/libs/gstreamer-libs-sections.txt:
3274 * libs/gst/controller/gstcontroller.h:
3275 Remove GST_PARAM_CONTROLLABLE.
3277 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3280 Correct file path. Tell about how to use -overrides.txt.
3281 * docs/design/draft-tagreading.txt:
3282 Small design update.
3284 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3286 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3287 (gst_registry_binary_load_plugin):
3288 Fix a typo in a debug message and revert change from yesterday as
3289 gst_registry_add_plugin() will only fail if something is really wrong
3290 already and we can't survive it anyway.
3292 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3294 * gst/gst.c: (init_post), (gst_deinit):
3295 Pre-register GstGError GType from a thread-safe context
3296 (fixes #527967); unref enum type classes in deinit.
3298 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3300 Patch by: Rene Stadler <mail at renestadler de>
3302 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3303 Merging an empty list with another list in KEEP_ALL mode should
3304 yield an empty list as result and not the second list (#512578).
3306 * tests/check/gst/gsttagsetter.c:
3307 Add unit test for tag merge modes and the aforementioned bug.
3309 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3311 Patch by: Rene Stadler <mail at renestadler de>
3314 Fix description to match the order in the table (#512577).
3316 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3318 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3320 * libs/gst/net/gstnettimepacket.h:
3321 * docs/libs/gstreamer-libs-sections.txt:
3322 Define socklen_t as int if it's not defined yet. Fixes compilation
3323 with MSVC6 and other versions where socklen_t is not defined in
3324 the windows headers (#518022).
3326 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3328 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3329 If gst_registry_add_plugin() fails our reference to the plugin is
3330 invalid so don't try to use it anymore and instead error out.
3332 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3334 * tools/gst-xmlinspect.c: (print_element_info), (main):
3335 De-cruft a bit. If no argument is specified, print all elements in
3336 XML syntax rather than a freestyle list of elements like gst-inspect.
3337 Also, don't print XML header chunk unless we actually have something
3338 to print (ie. don't print it before an error message); print error
3339 message to stderr not stdout. Remove support for printing plugin
3340 info (it would just output something freestyle along the lines of
3341 gst-inspect so far), which fixes #514507. Also add license header.
3343 2008-04-11 Julien Moutte <julien@fluendo.com>
3346 * configure.ac: Merge platform specific defines, introduce a new
3347 define on OS X to remember that forking when updating registry is
3349 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3351 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3353 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3354 condition that leads to absolutely no plugins being registered on
3357 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3359 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3361 * gst/gstutils.c: (gst_pad_add_data_probe),
3362 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3363 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3364 (gst_pad_add_buffer_probe_full):
3366 * docs/gst/gstreamer-sections.txt:
3367 * win32/common/libgstreamer.def:
3368 Add gst_pad_add_*_probe_full() functions with a notify callback that
3369 lets the caller free the data it passes to the probe functions. This
3370 is useful for bindings such as gst-python or gstreamermm (#526814).
3371 API: gst_pad_add_data_probe_full
3372 API: gst_pad_add_buffer_probe_full
3373 API: gst_pad_add_event_probe_full
3375 * tests/check/gst/gstutils.c:
3376 Add minimal unit test to make sure freeing the data actually works
3379 * tests/benchmarks/.cvsignore:
3380 Random cvsignore addendum.
3382 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3384 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3385 (GST_DEBUG_BIN_TO_DOT_FILE):
3386 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3387 to it in the docs (since these are macros the types of the arguments
3388 won't be shown in the docs otherwise).
3390 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3393 Do not abort on out of memory for pad_alloc_buffer.
3395 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3397 * libs/gst/check/gstcheck.c:
3398 Remove blank line between symbol name ad parameters to fix gtkdoc
3401 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3403 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3405 * docs/gst/gstreamer-sections.txt:
3408 * win32/common/libgstreamer.def:
3409 Expose gst_segment_copy() to make things easier for the c++ bindings.
3411 API: gst_segment_copy()
3413 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3415 * gst/gst.c: (gst_init_get_option_group), (init_post):
3416 Fix const position; ref GType classes for enum types to work
3417 around thread-safety issues in GLib versions < 2.16.
3419 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3421 * docs/design/part-buffering.txt:
3422 Fix some typos and set the estimated total for push mode to -1.
3424 * gst/gstquery.c: (gst_query_new_buffering):
3425 Set buffering-left to 0 as we're not buffering by default.
3427 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3428 Implement BUFFERING query.
3430 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3432 Based on patch by: Milosz Derezynski <internalerror gmail com>
3434 * gst/gsterror.c: (_gst_stream_errors_init):
3436 Add two new error codes for encrypted content. Fixes #524659.
3437 API: GST_STREAM_ERROR_DECRYPT
3438 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3440 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3445 * win32/common/libgstreamer.def:
3448 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3450 * plugins/elements/gstidentity.c: (gst_identity_event),
3451 (gst_identity_start):
3452 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3453 event after processing some data. Fixes bug #526042.
3455 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3457 * docs/gst/gstreamer-sections.txt:
3458 * gst/gstquery.c: (gst_query_parse_latency),
3459 (gst_query_set_buffering_percent),
3460 (gst_query_parse_buffering_percent),
3461 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3463 Rename _avail -> _range
3464 API: gst_query_set_buffering_range
3465 API: gst_query_parse_buffering_range
3467 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3469 * docs/design/part-buffering.txt:
3472 * gst/gstquery.c: (gst_query_parse_latency),
3473 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3474 (gst_query_parse_buffering_percent):
3476 Add busy field and quark for the buffering query so that the app can
3477 only use the query to see if buffering is in progress.
3479 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3481 * docs/gst/gstreamer-sections.txt:
3482 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3483 (gst_message_parse_buffering_stats):
3485 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3486 (gst_query_parse_latency), (gst_query_new_buffering),
3487 (gst_query_set_buffering_percent),
3488 (gst_query_parse_buffering_percent),
3489 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3490 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3492 Reorder the message docs and headers for clarity.
3493 Add aditional buffering stats API for messages.
3494 Add buffering query.
3495 Convert some leftover queries to use GstQuark.
3496 API: gst_message_set_buffering_stats
3497 API: gst_message_parse_buffering_stats
3498 API: GST_QUERY_BUFFERING
3499 API: GstBufferingMode
3500 API: gst_query_new_buffering
3501 API: gst_query_set_buffering_percent
3502 API: gst_query_parse_buffering_percent
3503 API: gst_query_set_buffering_stats
3504 API: gst_query_parse_buffering_stats
3506 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3508 * gst/gstmessage.c: (gst_message_new_error),
3509 (gst_message_new_warning), (gst_message_new_info),
3510 (gst_message_new_buffering), (gst_message_new_state_changed),
3511 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3512 (gst_message_new_new_clock), (gst_message_new_segment_start),
3513 (gst_message_new_segment_done), (gst_message_new_duration),
3514 (gst_message_new_async_start), (gst_message_parse_buffering),
3515 (gst_message_parse_state_changed),
3516 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3517 (gst_message_parse_new_clock), (gst_message_parse_error),
3518 (gst_message_parse_warning), (gst_message_parse_info),
3519 (gst_message_parse_segment_start),
3520 (gst_message_parse_segment_done), (gst_message_parse_duration),
3521 (gst_message_parse_async_start):
3522 Use GstQuark for messages.
3524 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3526 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3528 Add some more quarks needed for messages and queries.
3530 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3532 * docs/design/part-buffering.txt:
3533 Remove the "none" buffering mode, STREAM is a good default.
3534 Move estimated-time to the avail query, that's when it will be needed.
3535 Other small typo fixes and updates.
3537 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3539 * gst/gstindex.c: (gst_index_resolver_get_type):
3540 Don't put descriptions into the nick field of a GEnumValue: it's not
3541 meant for that and some language bindings rely on the nick field to
3542 construct constants and the like. Fixes #526705.
3544 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3549 Merge other changes from 0.10.19 release branch.
3551 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3553 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3556 Actually build dlls when cross-compiling with mingw32.
3559 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3561 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3564 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3566 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3568 * docs/design/draft-latency.txt:
3571 * docs/design/part-buffering.txt:
3572 Update design docs with more buffering ideas.
3574 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3577 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3579 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3582 Revert part that belongs to the preset patch.
3584 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3587 Add qoutes to the define. Fixes # 525961.
3589 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3591 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3592 (gst_file_index_load), (gst_file_index_add_id),
3593 (gst_file_index_get_assoc_entry):
3594 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3595 (gst_mem_index_free_id), (gst_mem_index_add_id),
3596 (gst_mem_index_index_format):
3597 Use GSlice when possible.
3599 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3601 * libs/gst/controller/gstinterpolationcontrolsource.c:
3602 (gst_control_point_free),
3603 (gst_interpolation_control_source_set_internal):
3604 Use GSlice for allocating the control points.
3606 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3608 * plugins/elements/gsttypefindelement.c:
3609 (gst_type_find_element_class_init),
3610 (gst_type_find_element_set_property),
3611 (gst_type_find_element_get_property),
3612 (gst_type_find_element_activate):
3613 * plugins/elements/gsttypefindelement.h:
3615 Fix pad leak when peer query fails.
3616 We can still typefind when the peer returns -1.
3617 Add property to force caps and bypass typefinding. This will be used in
3621 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3626 * gst/glib-compat-private.h:
3627 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3628 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3629 Unconditionally use GSlice for allocation.
3631 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3632 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3633 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3634 (gst_structure_free):
3635 Use GSlice for allocation.
3637 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3639 * gst/parse/Makefile.am:
3640 * gst/parse/grammar.tab.pre.c:
3641 * gst/parse/grammar.tab.pre.h:
3642 * gst/parse/lex._gst_parse_yy.pre.c:
3643 Require a new enough flex and bison and remove the parser hacks to use
3644 a pre-regenerated version.
3646 2008-04-01 Julien Moutte <julien@fluendo.com>
3648 patch by: Jason Zhao <E3423C@motorola.com>
3650 * configure.ac: Add a configure switch to disable option parsing
3654 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3657 * gst/gstregistry.c:
3658 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3659 and handle this case.
3662 Add a comment here describing, why we stat each plugin and not try to
3665 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3667 * libs/gst/base/gstbasetransform.c:
3668 (gst_base_transform_prepare_output_buffer):
3669 Also unset the GAP flag on buffers if we're working inplace but
3670 the element is not GAP-aware.
3672 Mark a comment as FIXME 0.11.
3674 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3677 Fix type in log message and add one to ease seeing how long registry
3678 cache verification takes.
3680 * gst/gstregistry.c:
3681 Only test plugin filenames against G_MODULE_SUFFIX.
3683 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3685 * gst/gstdebugutils.c:
3686 Improve handling ghost/proxy pads.
3688 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3690 * docs/gst/gstreamer-sections.txt:
3693 Expose macro to docs and fix link to it.
3695 2008-03-27 Michael Smith <msmith@fluendo.com>
3697 * libs/gst/dataprotocol/dataprotocol.c:
3698 (gst_dp_packet_from_event_1_0):
3699 When calculating GDP body CRC, use the correct pointer.
3700 Fixes part of #522401.
3702 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3704 Patch by: Mark Nauwelaerts <manauw at skynet be>
3706 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3707 (gst_identity_init), (gst_identity_prepare_output_buffer):
3708 Identity is not always a passthrough element, it can modify the buffer
3709 timestamps when it has a datarate and operates in single-segment mode.
3710 We therefore make it an in_place filter with a custom buffer prepare
3711 function that conditionally makes the input buffer metadata writable
3712 when needed. Fixes #523985.
3714 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3716 Patch by: Mark Nauwelaerts <manauw at skynet be>
3719 * libs/gst/base/gstbasesrc.h:
3720 * libs/gst/base/gstbasetransform.c:
3721 * libs/gst/check/gstcheck.c:
3722 Small documentation fixes. Fixes #523978.
3724 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3726 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3727 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3728 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3730 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3732 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3733 (single_queue_underrun_cb):
3734 When trying to make room in the queue, bump the max allowed buffers
3735 bigger than the current amount of buffers in the queue. this fixes some
3736 nasty deadlocks in multiqueue when dynamically changing the limits of
3739 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3741 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3743 * gst/gstcaps.c: (gst_caps_set_simple),
3744 (gst_caps_set_simple_valist), (gst_caps_intersect):
3746 Constify the field gchar * params in set_simple and friends.
3749 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3751 * gst/gstvalue.c: (gst_value_transform_object_string):
3752 Transform a GstObject to a more meaningfull string that includes the
3753 object type in addition to its name.
3755 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3758 ChangeLog surgery to add bugnumber to commit.
3760 2008-03-23 Rene Stadler <mail@renestadler.de>
3762 * libs/gst/base/gstbasetransform.c:
3763 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3765 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3767 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3768 Rename constant everywhere and don't forget one occurence.
3770 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3772 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3773 Align memory to the pointer size even if the architecture allows
3774 unaligned memory access. Unaligned memory access usually comes with
3775 performance penality.
3777 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3779 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3780 (gst_registry_binary_check_magic),
3781 (gst_registry_binary_load_pad_template),
3782 (gst_registry_binary_load_feature),
3783 (gst_registry_binary_load_plugin):
3784 Align memory to the pointer size instead of always 32 bit. Fixes
3785 unaligned memory accesses on ia64 and friends.
3787 * gst/gstregistrybinary.h:
3788 Bump binary registry format version for this as it changes the
3789 format on those architectures that don't have unaligned access
3790 and 64 bit pointers.
3792 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3794 * docs/pwg/advanced-dparams.xml:
3795 * docs/pwg/building-props.xml:
3796 * docs/pwg/other-source.xml:
3797 * gst/glib-compat.h:
3798 * gst/gstbin.c: (gst_bin_class_init):
3799 * gst/gstclock.c: (gst_clock_class_init):
3800 * gst/gstindex.c: (gst_index_class_init):
3801 * gst/gstobject.c: (gst_object_class_init):
3802 * gst/gstpad.c: (gst_pad_class_init):
3803 * gst/gstpipeline.c: (gst_pipeline_class_init):
3804 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3805 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3806 * libs/gst/base/gstbasetransform.c:
3807 (gst_base_transform_class_init):
3808 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3809 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3810 (_gst_check_fault_handler_sighandler),
3811 (_gst_check_fault_handler_setup), (gst_check_init):
3812 * libs/gst/controller/gstcontroller.c:
3813 (_gst_controller_class_init):
3814 * libs/gst/controller/gstlfocontrolsource.c:
3815 (gst_lfo_control_source_class_init):
3816 * libs/gst/net/gstnetclientclock.c:
3817 (gst_net_client_clock_class_init):
3818 * libs/gst/net/gstnettimeprovider.c:
3819 (gst_net_time_provider_class_init):
3820 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3821 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3822 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3823 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3824 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3825 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3826 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3827 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3828 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3829 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3830 * plugins/elements/gsttee.c: (gst_tee_class_init):
3831 * plugins/elements/gsttypefindelement.c:
3832 (gst_type_find_element_class_init):
3833 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3834 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3835 use it everywhere for GParamSpecs that use static strings (i.e. all).
3836 This gives us less memory usage, fewer allocations and thus less
3837 memory defragmentation. Fixes bug #523806.
3839 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3841 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3842 (gst_param_spec_mini_object):
3843 * gst/gstminiobject.h:
3844 * win32/common/libgstreamer.def:
3845 * docs/gst/gstreamer-sections.txt:
3846 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3847 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3848 GstParamSpecMiniObject into a public header for this.
3850 This make GstMiniObject a bit more consistent with GObject and makes
3851 it possible to extend the param specs.
3853 gst_value_dup_mini_object is mainly useful for set_property methods.
3857 * tools/gst-inspect.c: (print_element_properties_info):
3858 Print something useful for GstMiniObject properties and not just
3861 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3863 * docs/gst/gstreamer-sections.txt:
3864 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3865 (gst_registry_binary_check_magic):
3866 * gst/gstregistrybinary.h:
3867 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3868 and add it to the (private part) of the docs to fix the build.
3870 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3872 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3873 (gst_registry_binary_check_magic),
3874 (gst_registry_binary_read_cache):
3875 * gst/gstregistrybinary.h:
3876 Don't use GST_MAJORMINOR for the binary registry version. Instead
3877 hardcode a value that must be changed whenever the format changes
3878 in an incompatible way.
3879 Also don't GST_ERROR when there is a version mismatch, just
3880 regenerate the registry silently.
3882 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3885 Back to development - 0.10.18.1
3887 === release 0.10.18 ===
3889 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3892 releasing 0.10.18, "So far away"
3894 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3897 * win32/common/config.h:
3898 0.10.17.4 pre-release
3900 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3902 Patch by: Ole André Vadla Ravnås
3903 <ole dot andre dot ravnas at tandberg dot com>
3905 * docs/gst/gstreamer-sections.txt:
3906 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3907 (gst_poll_update_winsock_event_mask),
3908 (gst_poll_prepare_winsock_active_sets),
3909 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3910 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3911 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3912 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3913 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3915 * win32/common/libgstreamer.def:
3916 Add new function gst_poll_fd_ignored() for improved Windows
3918 Various minor fixes and cleanups. See #520808.
3920 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
3922 * gst/gstindex.c: (gst_index_entry_free):
3924 Don't free key strings which we don't own. Fixes crash in
3925 gst_index_entry_free() (#522741).
3927 * tests/check/Makefile.am:
3928 * tests/check/gst/.cvsignore:
3929 * tests/check/gst/gstindex.c: (test_index_entries),
3930 (gst_index_suite), (gst_index):
3931 Add unit test for the above.
3933 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3935 * win32/common/libgstreamer.def:
3936 Remove symbols that were removed recently. Fixes bug #521740.
3938 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
3941 * win32/common/config.h:
3942 0.10.17.3 pre-release
3944 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
3946 Patch by: Ole André Vadla Ravnås
3947 <ole dot andre dot ravnas at tandberg dot com>
3949 * docs/gst/gstreamer-sections.txt:
3950 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3951 (gst_poll_update_winsock_event_mask), (gst_poll_new),
3952 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3953 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3954 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3955 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3956 (gst_poll_fd_can_write), (gst_poll_wait),
3957 (gst_poll_set_controllable), (gst_poll_restart),
3958 (gst_poll_set_flushing):
3960 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3961 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3962 (gst_net_time_provider_new):
3963 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3964 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3965 * tests/benchmarks/gstpollstress.c: (main):
3966 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3967 Remove GstPollMode from the API, it does not make sense to let the
3968 application control this.
3969 Add support for Win32.
3970 Fix the testsuite. Fixes #520671.
3972 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
3974 Patch by: Ole André Vadla Ravnås
3975 <ole dot andre dot ravnas at tandberg dot com>
3977 * gst/gstregistrybinary.c:
3978 Include io.h for write() and close() when building with MSVC. Fixes
3981 2008-03-07 Stefan Kost <ensonic@users.sf.net>
3984 * gst/gst_private.h:
3985 * gst/gstconfig.h.in:
3986 * gst/gstregistry.h:
3987 * gst/gstregistrybinary.c:
3988 * win32/common/gstconfig.h:
3989 Move registry backend API to private headers where we can. Add
3990 fixme-0.11 comments for the others. Add stubs for the xml backend when
3991 using the binary to ensure they functions exists (they should not be
3992 used though). Fixes #520756.
3994 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
3997 * win32/common/config.h:
4000 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4002 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4003 (gst_registry_binary_read_cache):
4004 * gst/gstregistryxml.c: (gst_registry_save):
4005 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4006 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4007 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4008 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4009 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4012 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4014 * gst/gstminiobject.c:
4015 Import gst_private.h before any other header that might include other
4016 glib headers. This fixes the build on windows using native compilers.
4018 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4020 * win32/common/gstconfig.h:
4021 Add here too, just for completeness.
4023 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4026 * gst/gstconfig.h.in:
4027 * gst/gstregistry.h:
4028 Fix broken use of config.h-defined preprocessor directive in a public
4029 header file. Add a corresponding define to gstconfig.h, since we can't
4030 really remove those function declarations from the header file now
4031 (or can we? and why are they there in the first place?).
4033 2008-03-03 Andy Wingo <wingo@pobox.com>
4035 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4038 * gst/gststructure.c (gst_structure_from_string): Warn if
4039 structure_from_string didn't consume the whole string, but the
4040 caller did not provide an end pointer.
4042 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4044 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4046 * gst/gstregistryxml.c: (read_string), (load_feature):
4047 Strings allocated by libxml2 should be freed with xmlFree(), not
4048 with g_free(). Fixes issues on windows in certain contexts (#519698).
4050 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4052 * gst/gstinterface.c: (gst_element_implements_interface):
4053 Don't crash if the element supports the interface queried, but does
4054 not implement GstImplementsInterface. Fixes #519584.
4056 * tests/check/Makefile.am:
4057 * tests/check/gst/.cvsignore:
4058 * tests/check/gst/gstinterface.c:
4059 Add unit test for the above.
4061 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4063 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4066 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4068 * gst/gstsegment.c: (gst_segment_set_seek),
4069 (gst_segment_to_stream_time):
4070 Improve some comment.
4071 Update variables where it makes more sense.
4073 2008-02-29 Rene Stadler <mail@renestadler.de>
4075 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4076 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4077 URIHandlers implemented using language bindings.
4079 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4081 * gst/gstelementfactory.h:
4082 * tests/check/elements/fakesink.c:
4083 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4084 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4085 * tests/check/elements/filesink.c: (setup_filesink):
4086 * tests/check/elements/filesrc.c: (setup_filesrc):
4087 * tests/check/elements/identity.c: (setup_identity):
4088 * tests/check/elements/tee.c:
4089 * tests/check/generic/sinks.c:
4090 * tests/check/generic/states.c: (setup), (teardown):
4091 * tests/check/gst/gst.c:
4092 * tests/check/gst/gstabi.c:
4093 * tests/check/gst/gstbin.c:
4094 * tests/check/gst/gstbus.c: (pull_messages):
4095 * tests/check/gst/gstcaps.c:
4096 * tests/check/gst/gstelement.c:
4097 * tests/check/gst/gstevent.c:
4098 * tests/check/gst/gstghostpad.c:
4099 * tests/check/gst/gstiterator.c:
4100 * tests/check/gst/gstmessage.c:
4101 * tests/check/gst/gstminiobject.c: (my_foo_init):
4102 * tests/check/gst/gstobject.c: (thread_name_object),
4104 * tests/check/gst/gstpad.c:
4105 * tests/check/gst/gstplugin.c:
4106 * tests/check/gst/gstpoll.c:
4107 * tests/check/gst/gstquery.c:
4108 * tests/check/gst/gstsegment.c:
4109 * tests/check/gst/gststructure.c:
4110 * tests/check/gst/gstsystemclock.c:
4111 * tests/check/gst/gsttask.c:
4112 * tests/check/gst/gstutils.c:
4113 * tests/check/gst/gstvalue.c:
4114 * tests/check/gst/struct_hppa.h:
4115 * tests/check/gst/struct_i386.h:
4116 * tests/check/gst/struct_ppc32.h:
4117 * tests/check/gst/struct_ppc64.h:
4118 * tests/check/gst/struct_x86_64.h:
4119 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4120 * tests/check/libs/basesrc.c:
4121 * tests/check/libs/controller.c: (GST_START_TEST):
4122 * tests/check/libs/gdp.c:
4123 * tests/check/libs/gstnetclientclock.c:
4124 * tests/check/libs/gstnettimeprovider.c:
4125 * tests/check/libs/libsabi.c:
4126 * tests/check/libs/struct_hppa.h:
4127 * tests/check/libs/struct_i386.h:
4128 * tests/check/libs/struct_ppc32.h:
4129 * tests/check/libs/struct_ppc64.h:
4130 * tests/check/libs/struct_x86_64.h:
4131 * tests/check/pipelines/cleanup.c:
4132 * tests/check/pipelines/simple-launch-lines.c:
4133 * tests/check/pipelines/stress.c:
4134 And correct even more valid sparse warnings.
4136 * win32/common/libgstreamer.def:
4137 Add gst_poll_fd_init to the list of symbols.
4139 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4141 * gst/gstconfig.h.in:
4142 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4143 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4144 (gst_check_log_critical_func), (gst_check_drop_buffers),
4145 (gst_check_element_push_buffer_list):
4146 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4147 (gst_controller_get_type):
4148 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4149 (gst_object_get_controller), (gst_object_get_control_source):
4150 * libs/gst/controller/gstinterpolationcontrolsource.c:
4151 (gst_interpolation_control_source_new):
4152 * libs/gst/controller/gstlfocontrolsource.c:
4153 (gst_lfo_control_source_new):
4154 * libs/gst/dataprotocol/dataprotocol.c:
4155 (gst_dp_event_from_packet_0_2):
4156 * plugins/elements/gstfdsrc.c:
4157 * plugins/elements/gstmultiqueue.c:
4158 * plugins/elements/gsttee.c:
4159 * plugins/elements/gsttypefindelement.c:
4160 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4161 (gst_file_index_add_association):
4162 * plugins/indexers/gstmemindex.c:
4163 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4164 * tests/check/elements/queue.c: (setup_queue):
4165 * tests/check/gst/gstpipeline.c:
4166 * tests/check/libs/collectpads.c: (setup), (teardown),
4167 (gst_collect_pads_suite):
4168 * tests/examples/adapter/adapter_test.c:
4169 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4170 * tests/examples/xml/createxml.c:
4171 * tests/examples/xml/runxml.c:
4172 * tools/gst-inspect.c:
4174 Correct all relevant warnings found by the sparse semantic code
4175 analyzer. This include marking several symbols static, using
4176 NULL instead of 0 for pointers, not using variable sized arrays
4177 on the stack, moving variable declarations to the beginning of
4178 a block and using "foo (void)" instead of "foo ()" for declarations.
4180 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4182 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4183 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4184 Don't reset GstPollFDs, this is not necessary at all.
4186 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4187 (delayed_restart), (delayed_control):
4188 Use GST_POLL_FD_INIT.
4190 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4192 * gst/gstpoll.c: (gst_poll_fd_init):
4196 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4197 Use some more init macros.
4199 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4201 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4202 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4203 Use init macros and functions.
4205 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4207 * docs/gst/gstreamer-sections.txt:
4208 * gst/gstpoll.c: (gst_poll_fd_init):
4210 Add INIT macro and _init method for initializing the GstPollFD.
4212 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4214 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4215 (gst_fd_sink_update_fd):
4216 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4217 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4218 (delayed_restart), (delayed_control):
4219 Initialize some uninitialized variables as spotted by valgrind.
4221 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4223 * tests/benchmarks/Makefile.am:
4224 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4226 Add poll stress test.
4228 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4230 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4232 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4233 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4234 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4235 * plugins/elements/gstfdsink.h:
4236 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4237 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4238 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4239 (gst_fd_src_uri_set_uri):
4240 * plugins/elements/gstfdsrc.h:
4241 Port to GstPoll. See #505417.
4243 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4245 * win32/common/libgstreamer.def:
4246 Add new gst_poll_ symbols to win32 defs.
4248 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4250 * docs/libs/gstreamer-libs-sections.txt:
4251 * libs/gst/net/gstnetclientclock.c:
4252 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4253 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4254 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4255 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4256 * libs/gst/net/gstnetclientclock.h:
4257 * libs/gst/net/gstnettimeprovider.c:
4258 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4259 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4260 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4261 (gst_net_time_provider_new):
4262 * libs/gst/net/gstnettimeprovider.h:
4263 Use a private stuct to not break ABI.
4265 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4267 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4269 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4270 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4271 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4272 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4273 * libs/gst/net/gstnetclientclock.h:
4274 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4275 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4276 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4277 (gst_net_time_provider_new):
4278 * libs/gst/net/gstnettimeprovider.h:
4279 Massive code removal and cleanups because of GstPoll.
4282 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4285 Add checks for poll, ppoll and pselect.
4287 * docs/gst/gstreamer-docs.sgml:
4288 * docs/gst/gstreamer-sections.txt:
4289 Add docs for GstPoll.
4293 * gst/gstpoll.c: (find_index), (selectable_fds),
4294 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4295 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4296 (gst_poll_set_mode), (gst_poll_get_mode),
4297 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4298 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4299 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4300 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4301 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4302 (gst_poll_fd_can_write), (gst_poll_wait),
4303 (gst_poll_set_controllable), (gst_poll_restart),
4304 (gst_poll_set_flushing):
4306 Add generic poll abstraction. We ideally don't want to have this in core
4307 here but in glib intead...
4308 This code will be used in various network elements and ultimately for
4309 the nanosecond precision monotonic clock (that's why it's here in core).
4310 It'll allow us to implement cancelable socket operations for windows too.
4312 * tests/check/Makefile.am:
4313 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4314 (delayed_stop), (delayed_restart), (delayed_flush),
4315 (delayed_control), (gst_poll_suite):
4316 Add GstPoll unit test.
4318 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4321 Improve documentation of gst_filter_run(). Fixes #518627.
4323 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4326 Add a few lines about the new 'check-inspected-versions' target.
4328 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4330 * tests/check/gst/gstevent.c:
4331 Add qos to the event test. Rename tcase/tsuite; is not only about
4334 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4336 * plugins/elements/gstqueue.c:
4337 Ensure that buffer metadata is writeable, before modifying. Spotted by
4340 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4342 * plugins/elements/gstqueue.c:
4343 * plugins/elements/gstqueue.h:
4344 When dropping buffers in leaky modes, mark next buffers we sent as
4347 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4349 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4350 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4352 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4354 * plugins/elements/Makefile.am:
4355 * plugins/elements/gstbufferstore.c:
4356 * plugins/elements/gstbufferstore.h:
4357 * plugins/elements/gsttypefindelement.h:
4358 Remove GstBufferStore, no idea why we were still building it.
4359 It's not used anywhere and superseded by GstAdapter.
4361 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4362 (gst_file_src_create_mmap):
4363 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4364 Printf format fixes for 64-bit integers.
4366 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4369 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4370 We're not in 0.8 times anymore.
4372 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4374 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4375 (gst_check_element_push_buffer_list):
4376 * libs/gst/check/gstcheck.h:
4377 Make the declaration in the header for
4378 gst_check_element_push_buffer_list match the implementation.
4380 Fix up spelling, grammar and wording of the documentation in a few
4381 places, and add the Since keyword to new API functions.
4382 Use g_list_delete_link instead of g_list_remove in
4383 gst_check_drop_buffers, since it's immeasurably more efficient.
4385 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4386 Use new gst_check_drop_buffers function where appropriate.
4388 * win32/common/libgstbase.def:
4389 * win32/common/libgstreamer.def:
4390 Add new symbols gst_collect_pads_take_buffer,
4391 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4394 Changelog surgery to add API keyword to new gst_check API.
4396 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4398 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4399 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4400 Update pre-generated flex files with flex 2.3.34.
4402 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4404 * gst/gstminiobject.c:
4405 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4406 friendly to subclasses and not require them to know all internals
4407 of their parent class.
4409 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4411 * docs/libs/gstreamer-libs-sections.txt:
4412 * libs/gst/base/gstcollectpads.c:
4413 * libs/gst/base/gstcollectpads.h:
4414 Add sub-buffer functions to collectpads. Fixes #516187.
4415 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4417 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4420 Copy selected buffer-flags when creating subbuffers.
4423 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4425 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4426 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4427 * gst/gstmessage.c: (gst_message_class_init),
4428 (gst_message_finalize):
4429 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4430 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4431 (gst_mmap_buffer_finalize):
4432 Properly chain up finalize functions to the parent class.
4434 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4436 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4438 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4439 (gst_index_set_resolver_full):
4441 Add new function with option to dispose of user_data in resolver.
4442 Actually call the dispose function when finalizing the object and not
4443 just when changing the resolver/filter.
4444 API: GstIndex::gst_index_set_resolver_full()
4446 * docs/gst/gstreamer-sections.txt:
4447 Add new function to docs. Fixes #515469.
4449 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4451 * gst/gstindex.c: (gst_index_finalize):
4452 Chain up finalize to the parent class. Fixes leaking the GstObject
4453 name and other things.
4455 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4458 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4459 pre-releases or releases.
4461 * docs/faq/gst-uninstalled:
4464 * docs/random/release:
4465 Change one of the steps - we only upload core & base to Gnome FTP
4467 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4469 * gst/gstconfig.h.in:
4470 Add 'id' for example.
4474 * plugins/elements/gstfdsink.c:
4475 Link to signals. Doc and comment fixes.
4477 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4479 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4480 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4481 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4482 unused and unimplemented; finally, it is plugin features, not
4483 plugins, that have ranks.
4485 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4487 * gst/gstpluginfeature.h:
4488 Clarify GstRank range docs.
4490 2008-02-05 David Schleef <ds@schleef.org>
4492 * gst/gst.c: Add a separate gst_deinitialized that prevents
4493 gst_init() from being called after gst_deinit(). Fixes #509559
4495 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4497 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4498 (gst_bin_class_init):
4499 * gst/gstelement.c: (gst_element_base_class_init),
4500 (gst_element_class_add_pad_template):
4501 * gst/gstpadtemplate.c: (gst_pad_template_init):
4502 * gst/gstpipeline.c: (gst_pipeline_get_type),
4503 (gst_pipeline_base_init), (gst_pipeline_class_init):
4504 * libs/gst/base/gstbasesink.c:
4505 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4506 (gst_base_src_base_init), (gst_base_src_class_init):
4507 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4508 (gst_capsfilter_class_init):
4509 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4510 (gst_fake_sink_class_init):
4511 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4512 (gst_fake_src_class_init):
4513 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4514 (gst_fd_sink_class_init):
4515 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4516 (gst_fd_src_class_init):
4517 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4518 (gst_file_sink_class_init):
4519 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4520 (gst_file_src_class_init):
4521 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4522 (gst_identity_class_init):
4523 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4524 (gst_multi_queue_class_init):
4525 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4526 (gst_queue_class_init):
4527 * plugins/elements/gsttee.c: (gst_tee_base_init),
4528 (gst_tee_class_init):
4529 * plugins/elements/gsttypefindelement.c:
4530 (gst_type_find_element_base_init),
4531 (gst_type_find_element_class_init):
4532 * tests/check/gst/gstelement.c: (gst_element_suite):
4533 Revert previous changes to the behaviour of GstPadTemplates, etc
4534 and the possiblity to call them in class_init as it breaks too
4535 many elements. Reopens bug #491501.
4537 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4540 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4542 * tools/gst-launch.c:
4543 Dump one graph per pipeline state-change and state change name
4544 (if GST_DEBUG_DUMP_DOT_DIR is set).
4546 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4549 * tests/check/gst/gstpad.c:
4550 Be sure that we have a new copy of the caps and not
4551 reffed caps from a template
4553 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4555 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4556 * gst/gstpipeline.c: (gst_pipeline_get_type),
4557 (gst_pipeline_class_init):
4558 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4559 (gst_base_sink_class_init):
4560 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4561 (gst_base_src_class_init):
4562 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4563 (gst_base_transform_class_init):
4564 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4565 (gst_collect_pads_class_init):
4566 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4567 * libs/gst/net/gstnettimeprovider.c:
4568 (gst_net_time_provider_base_init),
4569 (gst_net_time_provider_class_init):
4570 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4571 (gst_capsfilter_class_init):
4572 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4573 (gst_fake_sink_class_init):
4574 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4575 (gst_fake_src_class_init):
4576 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4577 (gst_fd_sink_class_init):
4578 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4579 (gst_fd_src_class_init):
4580 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4581 (gst_file_sink_class_init):
4582 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4583 (gst_file_src_class_init):
4584 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4585 (gst_identity_class_init):
4586 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4587 (gst_multi_queue_class_init):
4588 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4589 (gst_queue_class_init):
4590 * plugins/elements/gsttee.c: (gst_tee_base_init),
4591 (gst_tee_class_init):
4592 * plugins/elements/gsttypefindelement.c:
4593 (gst_type_find_element_base_init),
4594 (gst_type_find_element_class_init):
4595 Don't use base_init where not absolutely necessary. For example it's
4596 not necessary anymore for adding pad templates or setting element
4599 Leave empty base_init functions in several places as GST_BOILERPLATE
4600 still defines and uses them.
4602 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4604 * gst/gstelement.c: (gst_element_base_class_init),
4605 (gst_element_class_add_pad_template):
4606 * gst/gstpadtemplate.c:
4607 Make it possible (and recommended) to set element details and add
4608 pad templates in the class_init functions by copying the details/pad
4609 templates in GstElement's base_init.
4611 Also make it possible to replace existing pad templates by adding
4612 a new one with the same name. This was done in a hackish fashion
4613 in same elements before already.
4615 Don't reference pad templates that are added a second time. A
4616 new pad template has a refcount of one and is not floating anymore
4617 and to be owned by the element's class. Make this more explicit by
4618 mentioning it in the docs of gst_element_class_add_pad_template().
4620 These changes are backwards compatible. Fixes bug #491501.
4622 * tests/check/gst/gstelement.c:
4623 Add unit test for setting element details, adding pad templates and
4624 replacing them in a subclass.
4626 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4628 * tools/gst-inspect.c: (print_interfaces),
4629 (print_element_properties_info), (print_pad_info),
4630 (print_signal_info), (print_element_info):
4631 Fix a few memory leaks.
4633 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4635 * docs/libs/gstreamer-libs-sections.txt:
4636 * libs/gst/check/gstcheck.c:
4637 * libs/gst/check/gstcheck.h:
4638 Add more functions for unit testing: gst_check_drop_buffers,
4639 gst_check_caps_equal, gst_check_element_push_buffer_list,
4640 gst_check_element_push_buffer
4641 API: gst_check_drop_buffers
4642 API: gst_check_caps_equal
4643 API: gst_check_element_push_buffer_list
4644 API: gst_check_element_push_buffer
4646 2008-02-01 Julien Moutte <julien@fluendo.com>
4648 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4649 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4650 (gst_index_finalize), (gst_index_entry_free),
4651 (gst_index_add_association): Fix memory leaks.
4652 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4653 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4654 (gst_mem_index_free_format), (gst_mem_index_free_id),
4655 (gst_mem_index_finalize): Fix memory leaks.
4656 * win32/common/config.h: Updated to CVS HEAD.
4658 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4661 Some more details about how the plugin docs works.
4663 * docs/plugins/gstreamer-plugins-sections.txt:
4666 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4668 * gst/parse/grammar.tab.pre.c:
4669 * gst/parse/grammar.tab.pre.h:
4670 * gst/parse/grammar.y:
4671 * gst/parse/lex._gst_parse_yy.pre.c:
4672 Add delayed set-property. This allows to set properties on dynamicaly
4673 created objects (pads in videomxer). Fixes #509391.
4675 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4678 Check if caps are not NULL (fix bug #510194)
4680 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4682 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4683 (gst_base_sink_get_position_paused):
4684 Add fixme regarding EOS in pull mode.
4685 Fix position reporting in PAUSED for negative rates.
4687 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4689 * gst/gstminiobject.c: (gst_mini_object_replace):
4690 When replacing a miniobject, do a quick equality check first so that we
4691 can avoid a ref/unref pair.
4693 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4695 * docs/design/part-synchronisation.txt:
4698 * docs/plugins/Makefile.am:
4699 * docs/plugins/gstreamer-plugins-docs.sgml:
4700 * docs/plugins/gstreamer-plugins-sections.txt:
4701 * plugins/elements/gstmultiqueue.c:
4702 Add multiqueue to the docs.
4704 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4709 === release 0.10.17 ===
4711 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4714 releasing 0.10.17, "Due Negligence"
4716 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4719 Revert caps != NULL check temporarily for 0.10.17 release.
4721 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4724 Check if caps are not NULL (fix bug #510194)
4726 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4729 Fix compilation on systems that have posix timers but no
4732 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4735 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4737 * tools/gst-inspect.c:
4738 Revert previous commit in preparation for an impromptu 0.10.17 release
4740 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4742 * tools/gst-inspect.c: (print_interfaces),
4743 (print_element_properties_info), (print_pad_info),
4744 (print_signal_info), (print_element_info):
4745 Fix a few memory leaks.
4747 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4752 === release 0.10.16 ===
4754 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4757 releasing 0.10.16, "Special Dispensation"
4759 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4762 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4763 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4764 not fail when trying to crosscompile on OpenEmbedded (#511750).
4766 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4769 Use $(MAKE) instead of make to fix the build if GNU make is
4770 called different. Fixes bug #510747.
4772 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4774 * gst/gstplugin.c: (_gst_plugin_initialize):
4775 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4776 again, which I broke two commits ago when changing the API
4777 of gst_plugin_register_static(): the g_list_foreach() in
4778 _gst_plugin_register_static still assumed the old function
4779 signature and would therefore fail (re-fixes #510187).
4781 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4782 (_gst_plugin_register_static), (gst_plugin_register_static):
4783 Revert the (technically correct) change to call g_thread_init() from
4784 the pre-main() constructor. This will break programs which call
4785 g_thread_init() without an if (!g_thread_supported()) guard in their
4786 main function. We could just blame it on GLib or the application, but
4787 it's probably best to just avoid this altogether and simply not use
4788 any GLib functions here and use plain old malloc() with a simple
4789 array to store the plugins to register later when gst_init() is
4790 finally called (re-fixes #510187).
4792 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4793 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4794 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4795 (GST_START_TEST), (gst_plugin_suite):
4796 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4799 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4801 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4802 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4803 This makes gtk-doc complain, but results in slightly better
4804 compiler errors. The old _gst_plugin_register_static() is
4805 still guarded, so there'll be a compiler warning about that
4806 instead. Fixes #510187 too.
4808 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4810 * gst/gst.c: (init_post):
4811 * gst/gstplugin.c: (_gst_plugin_register_static),
4812 (gst_plugin_register_static), (_gst_plugin_initialize):
4813 * gst/gstplugin.h: (GstPluginFilter):
4814 Change API of gst_plugin_register_static() to not take
4815 a GstPluginDesc, but rather just take all the arguments
4816 in a GstPluginDesc directly. This is more intuitive and
4817 avoids certain mistakes when porting code from
4818 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4821 * tests/check/gst/gstplugin.c:
4822 Fix up for changed API.
4824 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4826 * docs/faq/legal.xml:
4827 Update FAQ, Totem actually has an exception these days.
4829 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4831 * win32/common/libgstreamer.def:
4832 Add new API declarations
4834 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4836 * gst/gstminiobject.c:
4837 Spelling fixes for the API docs.
4839 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4841 * libs/gst/base/gstbasetransform.c:
4842 Fix long property description for QoS.
4844 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4847 _gst_trace_on is already provided by gsttrace.h, no need to declare
4850 * docs/libs/gstreamer-libs-sections.txt:
4851 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4852 and remove strange tcase_add_test which is outputting a warning.
4854 * libs/gst/check/gstcheck.c:
4855 * libs/gst/check/gstcheck.h:
4856 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4857 and define them in gstcheck.c instead of having every .c file whcih
4858 includes gstcheck.h be defining its own copy and relying on symbol
4859 interposing to marry them all, which doesn't work on Solaris.
4861 * tests/check/elements/identity.c: (GST_START_TEST):
4862 Don't define 'buffers' locally, it comes from libgstcheck.
4864 * tests/check/generic/sinks.c: (send_buffer):
4865 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4867 * tests/check/gst/gststructure.c: (GST_START_TEST):
4868 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4869 * tests/check/gst/gstutils.c: (GST_START_TEST):
4870 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4871 Add a bunch of casts to make various constants fit the types
4872 they're being assigned to.
4874 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4876 * gst/gstchildproxy.c:
4877 Improve docs and add some ideas for making this more general-purpose.
4879 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4881 * gst/gst_private.h: (GST_CAT_TYPES):
4882 Add GST_CAT_TYPES, for consistency, and so that the other
4883 debug categories don't make fun of it. Spotted by Saur on IRC.
4885 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4887 * gst/parse/Makefile.am:
4888 Move types.h from EXTRA_DIST to noinst_HEADERS.
4890 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4893 Add -Wno-portability to the automake parameters to stop warnings
4894 about GNU make extensions being used. We require GNU make in almost
4895 every Makefile anyway.
4898 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4899 at the same time is required for per target flags.
4901 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4904 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4905 __GNUC__ is defined before using it.
4907 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4909 * docs/gst/gstreamer-sections.txt:
4910 * gst/gst.c: (init_post):
4911 * gst/gstplugin.c: (_gst_plugin_register_static),
4912 (gst_plugin_register_static), (_gst_plugin_initialize),
4913 (gst_plugin_register_func):
4914 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4915 API: add gst_plugin_register_static() and deprecate
4916 GST_PLUGIN_DEFINE_STATIC, since it's not portable
4918 Also, in _gst_plugin_register_static(), make sure to call
4919 g_thread_init() before calling GLib functions such as
4920 g_list_append() if we're not initialised yet, since that
4921 may lead to random crashes with older GSlice/GLib versions.
4923 * tests/check/gst/gstplugin.c:
4924 Adapt unit test to above changes.
4926 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4928 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4929 * gst/gstcaps.c: (gst_caps_to_string):
4930 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4931 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4932 Yet another gratuitous GString micro-optimisation: add a (private)
4933 function that serialises a structure appending to an existing
4934 GString, so that when we serialise caps we don't need to alloc+free
4935 a throwaway GString for each structure (each of which also entailing
4936 multiple reallocs on the way); also use g_string_sized_new() in
4937 various places with an approximate string length to avoid reallocs
4938 within GString. See #500143.
4940 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4942 * gst/gststructure.c: (gst_structure_id_set_value):
4943 Always check UTF-8 conformance of structure strings and not only
4944 if the debugging system is enabled; reasoning: the behaviour of
4945 the actual code shouldn't really change depending on whether the
4946 debugging system is enabled or not (#508291).
4948 2008-01-09 Stefan Kost <ensonic@users.sf.net>
4951 Remove old coverage target in favour of "make lcov".
4953 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4955 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4956 (gst_base_src_loop):
4957 The start segment for reverse playback goes from start to last_stop.
4959 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4961 Patch by: Peter Kjellerstedt <pkj axis com>
4964 Cast the results from the timeval/spec_to_time macros to what the
4965 docs say it casts to, a GstClockTime. fixes #508175.
4967 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4970 Update some comments.
4972 * tools/gst-inspect.c: (print_element_properties_info):
4973 Improve printing of flags.
4975 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
4977 * libs/gst/base/gstbasetransform.c:
4978 (gst_base_transform_transform_size):
4979 Print element name with g_warning() if there's a problem
4982 2008-01-07 David Schleef <ds@schleef.org>
4984 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4986 * libs/gst/controller/gstcontroller.h:
4987 * libs/gst/controller/gstcontrolsource.h:
4988 * libs/gst/controller/gstinterpolationcontrolsource.h:
4989 * libs/gst/controller/gstlfocontrolsource.h:
4990 * libs/gst/dataprotocol/dataprotocol.h:
4991 Fix empty prototypes. Fixes bug #507957.
4993 2008-01-07 David Schleef <ds@schleef.org>
4995 * docs/faq/dependencies.xml: Fix typo.
4997 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
4999 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5000 (gst_base_src_loop):
5001 Don't update the last_stop position in do_seek, that's the position we
5003 Read backwards when we have a negative rate.
5005 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5006 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5008 Add check for reverse reading.
5010 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5012 Patch by: Alexis Ballier <aballier at gentoo org>
5014 * tests/check/gst/gstabi.c:
5015 * tests/check/gst/struct_ppc64.h:
5016 * tests/check/libs/libsabi.c:
5017 * tests/check/libs/struct_ppc64.h:
5018 Decide which header to include based on the userland ABI target
5019 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5020 for 64-bit userland (#503590). Might need something similar for
5023 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5025 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5026 Log the reason why fopen fails in addition to the fact that it failed.
5028 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5030 * gst/parse/parse.l:
5031 Use "%option never-interactive" to prevent useless calls to isatty()
5032 on every input when parsing. Also use "%option noinput" to not define
5033 the static input/yyinput functions which we don't use anyway. This
5034 removes a compiler warning with gcc 4.3 and saves some bytes in the
5037 * gst/parse/lex._gst_parse_yy.pre.c:
5038 Regenerated for the above change.
5040 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5042 * gst/gstpad.c: (fixate_value):
5043 Don't crash when trying to fixate and empty list.
5046 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5048 * docs/faq/gst-uninstalled:
5049 Clarify the comments to make the usage of this script and what it
5050 does easier to understand.
5052 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5054 * tools/gst-plot-timeline.py:
5055 Add more options to gst-plot-timeline
5057 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5059 * docs/design/part-synchronisation.txt:
5060 Some more info on how the stream_time in GstBaseSink is done.
5062 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5064 * tests/check/generic/sinks.c: (gst_sinks_suite):
5065 Put back the tcase_set_timeout(), apparently it's needed after
5066 all; fix it up in a way that makes things work with valgrind too.
5068 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5070 * gst/gstdebugutils.c:
5071 Add warning when failed to open file for writing.
5073 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5075 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5077 * gst/gstvalue.c: (gst_value_is_fixed):
5078 Optimisation: bail out of the loop as early as possible (#500143).
5080 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5082 * gst/gstcaps.c: (gst_caps_to_string):
5083 * gst/gstinfo.c: (gst_debug_construct_term_color):
5084 * gst/gstparse.c: (gst_parse_launchv):
5085 * gst/gstutils.c: (gst_util_dump_mem):
5086 * gst/gstvalue.c: (gst_value_serialize_any_list),
5087 (gst_value_transform_any_list_string):
5088 Bunch of gratuitous nano-optimisations.
5090 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5092 * tests/check/generic/sinks.c: (async_done_func),
5093 (async_done_eos_func):
5094 Fix leak in unit test (bus sync handler must unref the message
5095 if it returns GST_BUS_DROP). Don't fiddle with the default test
5096 timeout, this is smaller than the current preconfigured value
5097 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5098 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5100 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5102 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5105 Check for stdio_ext.h for the filesink changes.
5107 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5108 (gst_file_sink_class_init), (gst_file_sink_init),
5109 (gst_file_sink_dispose), (gst_file_sink_set_property),
5110 (gst_file_sink_get_property), (gst_file_sink_open_file),
5111 (gst_file_sink_close_file):
5112 * plugins/elements/gstfilesink.h:
5113 Add two properties to control the buffering mode and size.
5114 API: GstFileSink::buffer-mode
5115 API: GstFileSink::buffer-size
5118 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5120 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5121 Add some more docs to explain why a FIXME was wrongly added.
5123 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5126 Fix typo in the gst_object_{ref,unref} documentation.
5128 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5130 * tests/check/libs/controller.c:
5131 * tests/check/libs/typefindhelper.c:
5132 * tests/check/pipelines/parse-launch.c:
5133 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5134 going to be deprecated (see #498924).
5136 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5138 * gst/gsttypefind.c: (gst_type_find_register):
5139 Make gst_type_find_register work for static typefind functions,
5140 ie. allow passing plugin == NULL (prerequisite for #498924).
5142 * gst/gstelementfactory.c: (gst_element_register):
5143 Small docs addition.
5145 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5147 * gst/gstpad.c: (gst_pad_dispose):
5148 Really unlink the peer pad instead of setting the peer pointer to NULL
5149 when we dispose the pad.
5150 This correctly calls the unlink functions and makes sure that the peer
5151 does not have a handle to invalid memory. See #504671.
5153 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5154 Add testsuite for above case.
5156 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5158 Patch by: Peter Kjellerstedt <pkj axis com>
5160 * libs/gst/check/gstcheck.h:
5161 Fix detection of the check version we're compiling against (would
5162 otherwise break if check goes v0.10.0); correctly report the
5163 name of the failed test again in case of failure, instead of
5164 just 'tf' (fixes #504499).
5166 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5168 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5169 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5170 (gst_base_src_loop), (gst_base_src_set_flushing),
5171 (gst_base_src_change_state):
5172 Allow sending EOS to the source to make it send out an EOS event from
5173 the streaming thread.
5174 Update docs and deprecate the old NULL/READY shutdown method.
5176 * tests/check/libs/basesrc.c: (GST_START_TEST),
5177 (gst_basesrc_suite):
5178 Add unit test for controlled shutdown.
5180 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5182 * docs/design/part-synchronisation.txt:
5185 * gst/gstsegment.c: (gst_segment_set_seek),
5186 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5187 (gst_segment_to_running_time):
5188 The seek format can be different from the segment format when the start
5189 and stop values are not to be updated, when we only do a rate change for
5192 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5193 (gst_segment_suite):
5194 Add a testcase for the rate-only seeks, checking that the format is
5195 correctly ignored when start and stop are not updated.
5197 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5199 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5201 * win32/vs8/grammar.vcproj:
5202 * win32/vs8/libgstcontroller.vcproj:
5203 * win32/vs8/libgstreamer.vcproj:
5204 Fix compilation with VS8 and include some missing files.
5206 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5209 Small docs addition: mention that the strings returned by
5210 gst_tag_list_get_string*() are in UTF-8 encoding.
5212 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5215 The check-exports stuff moved to common/win32.mak, so include that.
5217 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5219 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5220 (gst_base_src_perform_seek), (gst_base_src_get_range),
5221 (gst_base_src_set_playing), (gst_base_src_change_state):
5222 Make _wait_playing() not check any variables so that we can call this
5223 function from subclasses. Move the checks elsewhere similar to
5224 _wait_preroll() in basesink.
5226 Only signal the LIVE cond when we are going back to PLAYING.
5228 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5230 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5231 Use g_remove() and g_rename(). Check result of g_rename(), and
5232 don't leak the open file descriptor if we error out when writing.
5234 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5235 Must check the return value of close() after writing out the new
5236 registry file. Sometimes write problems such as out-of-diskspace
5237 are only reported when the file is closed and not already during
5238 the write. This may have caused partial/broken registry files in
5239 some rare circumstances. Should fix #503675.
5241 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5243 * docs/gst/.cvsignore:
5244 * docs/libs/.cvsignore:
5245 * docs/plugins/.cvsignore:
5246 Ignore files generated by new common/* modifications
5248 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5250 * win32/common/libgstbase.def:
5251 Yes, you can also have a <TAB> if you want.
5253 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5255 * win32/common/libgstbase.def:
5256 Add new basetransform API to win export file.
5258 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5260 * tests/check/gst/gstbin.c:
5261 Adjust the test to the refcount change two days ago.
5263 2007-12-14 David Schleef <ds@schleef.org>
5265 * docs/faq/getting.xml: Fix typo.
5267 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5269 * docs/libs/gstreamer-libs-sections.txt:
5270 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5271 (gst_base_transform_prepare_output_buffer),
5272 (gst_base_transform_set_gap_aware):
5273 * libs/gst/base/gstbasetransform.h:
5274 API: Add gst_base_transform_set_gap_aware() to control whether
5275 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5276 get buffers with this flag at all. Fixes #503231.
5278 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5280 * libs/gst/base/gstbasesink.c:
5281 * libs/gst/base/gstbasesrc.c:
5282 * libs/gst/base/gstbasetransform.c:
5283 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5284 thread. Correct log message in gstbasesrc.c.
5286 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5288 * gst/gstutils.c: (element_find_unconnected_pad):
5289 Fix possible compiler warning (#503417).
5291 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5293 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5294 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5296 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5298 * tools/gst-inspect.c: (print_element_properties_info):
5299 Add support for GstFraction properties.
5301 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5304 Add check-exports target and run it as part of 'make check'
5305 (see #499140 and #493983).
5307 * gst/gst_private.h:
5308 * gst/gstelementfactory.h:
5309 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5310 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5311 (_priv_gst_in_valgrind):
5312 * gst/gstinfo.h: (GstLogFunction):
5313 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5314 (gst_type_find_register):
5315 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5316 (gst_type_find_factory_get_type):
5317 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5318 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5319 (gst_controller_new_valist), (gst_controller_new_list),
5320 (_gst_controller_dispose), (_gst_controller_class_init):
5321 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5322 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5323 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5324 (gst_object_get_controller), (gst_object_set_controller),
5325 (gst_object_suggest_next_sync), (gst_object_sync_values),
5326 (gst_object_set_control_source), (gst_object_get_control_source),
5327 (gst_object_get_value_arrays), (gst_object_get_value_array),
5328 (gst_object_get_control_rate), (gst_object_set_control_rate):
5329 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5330 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5331 Make some functions that should be static static; rename some
5332 private symbols so that they don't get exported; add some FIXME
5333 comments so we can move accidentally exported functions into
5334 our private section in 0.11.
5336 * win32/common/libgstreamer.def:
5337 Add gst_utils_get_timestamp().
5339 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5343 Add more missing "Since:" tags to docs.
5345 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5348 Add mising "Since:" to docs.
5350 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5353 Include "glib-compat-private.h" to fix the build on system with
5354 glib < 2.10. Fixes #503131.
5356 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5360 Actually its not PURE as it gets the time from elsewhere.
5362 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5364 * docs/gst/gstreamer-sections.txt:
5366 * gst/gstdebugutils.c:
5370 * libs/gst/base/gstbasesink.c:
5371 * tools/gst-launch.c:
5372 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5373 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5374 Thanks Tim for spotting.
5375 API: gst_util_get_timestamp
5377 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5380 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5382 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5384 * gst/gststructure.c: (gst_structure_validate_name),
5385 (gst_structure_new_valist), (gst_structure_parse_value),
5386 (gst_structure_from_string):
5387 Don't crash in _from_string() if the structure name is not valid
5388 (fixes #501560). Allow structure names to start with a number
5389 again (this apparently broke the ubuntu codec installer).
5391 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5393 Add unit test for the crash; update unit tests for new behaviour.
5395 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5398 Clarify gst_element_get_compatible_pad() documentation.
5401 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5403 * tests/check/Makefile.am:
5404 Don't forget to dist {gst,libs}/struct_hppa.h.
5406 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5408 * libs/gst/base/gstbasesink.c:
5409 Use new API to get elapsed time.
5411 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5413 * gst/gstdebugutils.c:
5415 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5417 * tools/gst-launch.c:
5418 Use new API to get elapsed time.
5420 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5422 * docs/gst/gstreamer-sections.txt:
5424 * gst/gstdebugutils.c:
5426 Rename new API + ChangeLog surgery to remove old name from last entry..
5428 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5430 * docs/gst/gstreamer-sections.txt:
5432 * gst/gstdebugutils.c:
5434 Now hide the different clock stuff behind a macro.
5436 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5439 * gst/gstdebugutils.c:
5441 Apply the posix-timer check from #361155. Conditionally use the posix
5442 timer for logging. This gives better timestamp precission, less
5443 overhead and no ntp jitter.
5445 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5447 * gst/gstminiobject.c: (gst_mini_object_get_type),
5448 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5449 (gst_mini_object_finalize), (gst_mini_object_copy),
5450 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5451 (gst_mini_object_replace), (param_mini_object_validate),
5452 (gst_param_spec_mini_object_get_type):
5453 Some cleanup and checking against invalid function parameters.
5455 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5457 * docs/gst/gstreamer-sections.txt:
5459 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5460 (gst_systemclock_suite):
5461 Start merging in the easy bits of #361155, the monotonic clock patch.
5462 This one adds a few handy macros with docs and a testsuite.
5464 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5466 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5467 Be a bit smarter when seeking, like, don't try to do a seek when it's
5468 not needed. This avoids errors when the file is not seekable.
5471 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5473 * docs/gst/gstreamer-docs.sgml:
5474 * docs/gst/gstreamer-sections.txt:
5475 * docs/gst/gstreamer.types.in:
5480 * plugins/elements/gstqueue.c:
5481 Due to popular request remove preset interface again. :-(.
5483 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5485 * tools/gst-inspect.c:
5486 Print 'default value' for enums and flags too.
5488 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5490 * docs/random/ensonic/profiling.txt:
5494 Fix typo and give better log output.
5496 * gst/gstdebugutils.c:
5497 * gst/gstdebugutils.h:
5498 More ideas, make graphs a bit smaller and fix param name in macro.
5500 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5503 Try harder to use the return value from fgets().
5505 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5508 For theses two fgets we handle the error below.
5510 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5512 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5513 Only send upstream events upstream. Fixes #498746.
5515 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5517 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5519 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5520 (gst_identity_init), (gst_identity_transform_ip),
5521 (gst_identity_set_property), (gst_identity_get_property):
5522 * plugins/elements/gstidentity.h:
5523 Add property to disable handoff signal emission. Fixes #498694.
5524 API: GstIdentity::signal-handoffs
5526 2007-11-21 Julien Moutte <julien@fluendo.com>
5528 * docs/faq/gst-uninstalled: Yet another missing library for the
5529 uninstalled script (fft)
5531 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5533 * docs/faq/developing.xml:
5534 Add a question about how to submit new translations.
5536 * docs/random/release:
5537 Update the contact email address for the Translation Project
5539 * plugins/elements/gstfdsrc.c:
5540 The parent_class for fdsrc is pushsrc, not GstElement.
5542 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5545 Plug a leak and fix saving.
5547 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5549 * docs/gst/gstreamer-sections.txt:
5550 Add new gst_preset__get_property_names() function to the docs
5553 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5557 Change _get_preset_names API to return a strv with copies. Add
5558 _get_property_names to allow implementations to filter and provide
5559 good default implementation.
5561 2007-11-20 Julien MOUTTE <julien@moutte.net>
5563 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5566 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5569 More cleanups, docs, and TODOs from comments that now slowly come in.
5571 2007-11-19 Julien MOUTTE <julien@moutte.net>
5573 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5576 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5579 Fix bogus warning and make the property type specific code more
5582 2007-11-19 Julien MOUTTE <julien@moutte.net>
5584 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5587 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5589 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5590 (gst_bin_add_func), (gst_bin_remove_func),
5591 (gst_bin_change_state_func), (gst_bin_continue_func):
5592 Change email, cleanups add some more debug and comments.
5593 Also set bus and clock on new elements when the pipeline was in error.
5595 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5598 * gst/gstdebugutils.c:
5599 Fix build with --disable-gst-debug. Fixes #497859.
5600 Spotted by Sameer Naik.
5602 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5605 Little documentation improvment.
5608 More TODO cleanups. Remove c++ comments.
5610 * libs/gst/controller/gstcontroller.c:
5611 Add TODO and use quark from static string.
5613 * tests/check/gst/gstmessage.c:
5614 * tests/check/gst/gststructure.c:
5615 Use quark from static string.
5617 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5620 Add some comments and TODOs.
5623 Add padding for future changes.
5625 * plugins/elements/gstqueue.c:
5626 Implement the iface.
5628 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5630 * docs/gst/gstreamer-docs.sgml:
5631 * docs/gst/gstreamer-sections.txt:
5632 * docs/gst/gstreamer.types.in:
5637 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5639 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5645 === release 0.10.15 ===
5647 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5650 releasing 0.10.15, "October"
5652 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5654 * win32/vs6/libgstreamer.dsp:
5655 Convert line endings back to DOS.
5657 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5659 * docs/design/draft-tagreading.txt:
5660 * docs/random/ensonic/profiling.txt:
5661 Update fast tagreading draft and performance profiling ideas.
5663 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5665 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5666 Don't hold the object lock when unreffing a buffer because it could
5667 cause a deadlock when the finalize function wants to grab the object
5668 lock too. Fixes #495133.
5670 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5672 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5673 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5674 Also accumulate time correctly when doing reverse playback. Fixes
5676 When converting to running and stream time, use default values for
5677 start/stop/time/accum when comparing different formats. Fixes #494245.
5679 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5680 Do running/stream time in TIME format.
5682 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5683 (gst_segment_suite):
5684 2 new unit tests for segment accumulation.
5686 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5688 * gst/gst.c: (init_pre):
5689 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5690 (_gst_debug_bin_to_dot_file):
5691 Move getenv() back into gst_init, so everyone can live happily
5692 ever after. Make sure the symbol isn't exported though.
5694 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5696 Patch by: Sebastien Moutte <sebastien moutte net>
5698 * win32/common/gstenumtypes.c:
5699 * win32/common/gstenumtypes.h:
5702 * win32/vs6/libgstreamer.dsp:
5703 Update vs6 project files (#494343).
5705 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5707 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5708 (gst_base_src_perform_seek), (gst_base_src_default_event),
5709 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5710 (gst_base_src_activate_pull):
5711 Unify flushing code, remove some old unlock code that is no longer used.
5712 Take the streaming lock when seeking to avoid races. Fixes #492729.
5713 Added some more comments.
5715 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5717 * gst/gst.c: (_gst_disable_segtrap):
5718 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5719 we can use gst_segtrap_is_enabled() there now that we have that API.
5720 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5721 to do the getenv here (and export the variable).
5723 * gst/gstdebugutils.c: (debug_dump_element),
5724 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5725 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5727 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5728 (gst_debug_log_default):
5729 Rename _gst_info_start_time to priv_gst_info_start_time so it
5730 doesn't get exported (was never in any header).
5732 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5733 (gst_plugin_loading_mutex):
5734 Make static mutex gst_plugin_loading_mutex really static (was never
5735 in any header), and use gst_segtrap_is_enabled() instead of
5736 _gst_disable_segtrap.
5738 * gst/gsttrace.c: (_gst_trace_default):
5739 Make local _gst_trace_default static (was never in any header).
5741 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5743 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5745 * win32/common/libgstbase.def:
5746 * win32/common/libgstcontroller.def:
5747 * win32/common/libgstdataprotocol.def:
5748 * win32/common/libgstnet.def:
5749 * win32/common/libgstreamer.def:
5750 Add more missing symbols, remove some duplicates, and sort
5751 as the 'sort' command sorts it (partially fixes #493983).
5753 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5755 * gst/gstelement.c: (gst_element_set_state_func):
5756 Only change the state cookie if a different state was set on the
5757 element. See #492729.
5759 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5762 Remove unused and uninitialised type variables that were still
5763 exported for some reason (they were never in any header files
5766 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5768 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5769 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5770 (gst_base_sink_event), (gst_base_sink_get_position_last),
5771 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5772 (gst_base_sink_change_state):
5773 Don't try to report a 0 position when we don't know, return -1 and FALSE
5774 instead. This mostly happens when we are prerolling.
5775 Make sure we can report the right position before we post the ASYNC_DONE
5776 message so that a message handler can query position without races.
5778 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5779 (async_done_handoff), (async_done_func), (send_buffer),
5780 (async_done_eos_func), (gst_sinks_suite):
5781 Add two tests for the above.
5783 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5786 Update with new email address.
5788 * docs/design/part-TODO.txt:
5789 Add some more info about future pad-block and negotiation changes.
5791 * docs/design/part-buffering.txt:
5792 Add some ideas about buffering reporting.
5794 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5796 * tests/check/gst/gstobject.c:
5797 Disable silly racy test that always fails on this combination of CPU
5800 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5802 Patch by: Murray Cumming <murrayc@murrayc.com>
5805 Corrected the registration of the parent-set and parent-unset
5806 signals: The parameter is a GstObject, not a GObject (#493134).
5808 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5810 * gst/gst_private.h:
5819 Move declaration of private _gst_foo_initialize() functions into
5820 our private header file where they should have been all along.
5822 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5824 * docs/plugins/gstreamer-plugins-sections.txt:
5825 * gst/gstdebugutils.h:
5827 * plugins/elements/gstqueue.c:
5828 gtk-doc fixes; trailing-comma-in-enum fix.
5830 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5832 * gst/gst.c: (gst_deinit):
5833 Clean up on deinit (not the external ones though, doesn't seem to be
5834 needed for some reason).
5836 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5838 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5839 Remove __declspec(dllimport) for MSVC that was copied over into core
5840 from a plugin, obviously without ever having been tested (note the
5841 single underscore in _declspec in the initial commit), and that doesn't
5842 really make sense. See #492077.
5844 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5846 * gst/gst.c: (init_post):
5847 * gst/gstevent.c: (_gst_event_initialize):
5848 * gst/gstquery.c: (_gst_query_initialize):
5849 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5850 g_type_class_ref() other types as well, see #349410 and #64764.
5852 * gst/gstbuffer.c: (_gst_buffer_initialize):
5853 * gst/gstmessage.c: (_gst_message_initialize):
5854 Simplify existing g_type_class_ref().
5856 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5858 * gst/gstformat.c: (_gst_format_initialize):
5859 g_type_class_ref() our GstFormat type to make sure we avoid the
5860 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5861 bug #64764. Should fix intermittent tee unit test failures (#474823).
5863 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5865 * tests/check/elements/tee.c: (test_num_buffers):
5866 Simplify, simplify, simplify - or not. Rewrite unit test
5867 not to use gst_parse_launch(); allow N sub-streams. Increasing
5868 the number of sub-streams seems to reproduce #474823 more easily.
5870 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5872 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5875 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5876 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5877 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5878 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5879 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5880 so use _pipe() directly (#492077).
5882 * win32/common/dirent.c: (_treaddir):
5883 Add a couple of casts to make it build without warnings with MSVC.
5885 * win32/common/libgstreamer.def:
5886 Add some more symbols that need to be exported.
5888 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5890 * tests/examples/metadata/read-metadata.c: (message_loop):
5891 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5892 arriving in a second or third tag message are added to
5893 the tag list as well.
5895 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5897 * libs/gst/base/gstbasesrc.c:
5898 Its "Since:" and not "@Since:". And remove an superflous cast.
5900 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5902 * docs/libs/gstreamer-libs-sections.txt:
5903 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5904 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5905 (gst_base_sink_get_property), (gst_base_sink_render_object),
5906 (gst_base_sink_preroll_object),
5907 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5908 (gst_base_sink_change_state):
5909 * libs/gst/base/gstbasesink.h:
5910 Add a new last-buffer property that contains the last buffer used in
5911 basesink for preroll or rendering. useful for making snapshots.
5912 API: gst_base_sink_get_last_buffer()
5913 API: GstBaseSink::last-buffer
5915 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5917 * docs/gst/running.xml:
5919 * gst/gstdebugutils.c:
5920 * gst/gstdebugutils.h:
5921 * tools/gst-launch.c:
5922 Improve bin graph dumping, by using the envvar to specify a path.
5923 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5925 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
5927 * plugins/elements/gsttypefindelement.c:
5928 (gst_type_find_element_handle_event),
5929 (gst_type_find_element_activate):
5930 Post special error message if we can't determine the type of a stream
5933 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5935 * docs/gst/running.xml:
5936 * gst/gstdebugutils.c:
5937 Document new env-var. Add one log-line after dumpng a graph.
5939 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
5942 Ugly hack to put the (recently removed and non-portable, apparently)
5943 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5944 GNU ld, because without that 'make check' fails miserably on my debian
5945 stable box. Someone with more knowledge of linker intricacies and
5946 portability issues than me fix this properly please.
5948 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
5950 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5951 Reset last seen position after flushing so that we don't report the old
5954 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5956 * gst/gstelementfactory.c: (gst_element_register):
5958 Patch from Alessandro Decina adding get_type_full and
5959 get_protocols_full private vfuncs to the URIHandler interface
5960 to allow bindings to support creating URI handlers.
5961 Partially fixes: #339279
5962 API: GstURIHandlerInterface::get_type_full
5963 API: GstURIHandlerInterface::get_protocols_full
5965 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5967 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5968 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5969 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5970 Make it so that pads are considered linked until a buffer is pushed
5971 and discovered otherwise. This avoids problems with decodebin2 hanging
5972 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5975 Make sure we lock the multiqueue when updating the max-size properties.
5977 Fix a crash on Solaris in a debug statement in get_request_pad that
5978 passes a NULL string to GST_DEBUG.
5980 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5981 (run_output_order_test):
5982 Fix the test to allow the first buffer on not-linked pads to come out
5983 of sequence while multiqueue discovers that they are not-linked.
5985 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5988 * libs/gst/check/Makefile.am:
5989 Use a custom export symbol regex for libgstcheck, as it needs
5990 to export symbols that don't match the standard GStreamer gst_*
5991 pattern, and --export-dynamic is not portable (only works on
5994 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5995 (gst_check_setup_sink_pad):
5996 Make sure to pass a message parameter to the fail_* macros.
5998 * tests/check/gst/gstinfo.c: (GST_START_TEST):
5999 Fix some compiler warnings.
6001 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6003 * tests/check/gst/gststructure.c: (test_to_string):
6004 Disable test that checks that white spaces are not allowed
6005 in structure names or field names, since we need to
6006 support that for now for backwards compatibility reasons.
6008 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6010 * docs/gst/gstreamer-sections.txt:
6013 API: add GST_TAG_ARTIST_SORTNAME
6014 API: add GST_TAG_ALBUM_SORTNAME
6015 API: add GST_TAG_TITLE_SORTNAME
6016 Add tag variants for sorting (#414539).
6018 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6020 * gst/gststructure.c:
6021 Also allow white space for names so we don't break
6022 backwards compatibility.
6024 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6026 * docs/design/part-TODO.txt:
6027 * docs/design/part-segments.txt:
6028 * docs/design/part-streams.txt:
6031 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6033 * docs/gst/gstreamer-sections.txt:
6034 Fixed documentation from my previous commit (added new API add
6035 gst_value_set_structure(), add gst_value_get_structure() and
6036 GST_VALUE_HOLDS_STRUCTURE).
6038 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6040 * gst/gstdebugutils.c:
6041 Reflow code to fix uninitialized variable warning.
6043 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6045 * gst/gstcaps.c: (gst_caps_to_string),
6046 (gst_caps_from_string_inplace):
6047 * gst/gststructure.c: (gst_structure_get_abbrs),
6048 (gst_structure_to_string), (gst_structure_from_string):
6049 * gst/gstvalue.c: (gst_value_set_structure),
6050 (gst_value_get_structure), (gst_value_serialize_structure),
6051 (gst_value_deserialize_structure), (_gst_value_initialize):
6053 * tests/check/gst/gststructure.c: (GST_START_TEST),
6054 (gst_structure_suite):
6055 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6056 Added GstStructure to gst_value_table and its related functions.
6057 Changed gst_structure_to_string to print ';' in the end.
6058 Changed gst_caps_to_string to not print ';' beteween its
6059 fields (structures) anymore and remove the lastes ';' from latest
6060 structure. Now it is possible to have nested structures.
6061 In addition, backward compatibilty is assured by accepting '\0' as
6062 end delimiter. Fixes: #487969.
6063 API: add gst_value_set_structure()
6064 API: add gst_value_get_structure()
6065 API: add GST_VALUE_HOLDS_STRUCTURE
6067 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6070 When no GSource callback has been set up, tell developer
6071 to use a function that actually exists.
6073 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6075 * docs/gst/gstreamer-sections.txt:
6079 * gst/gstdebugutils.c:
6080 * gst/gstdebugutils.h:
6083 * tools/gst-launch.c:
6084 Allow dumping pipelines as dot graphs. Fixes #456573.
6086 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6088 * gst/gststructure.c:
6089 Allow '+' as well, it can be part of media or mime types
6090 such as image/svg+xml.
6092 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6094 * docs/gst/gstreamer-sections.txt:
6097 API: add gst_bus_pop_filtered
6098 API: add gst_bus_timed_pop_filtered
6099 Two new functions for waiting for specific message types on the
6100 bus for a specified amount of time without iterating any main
6101 loops or main contexts.
6103 * tests/check/gst/gstbus.c:
6104 Some tests for the new functions.
6106 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6108 * docs/libs/gstreamer-libs-sections.txt:
6109 Make gtk-doc ignore stuff it should ignore.
6111 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6113 * libs/gst/check/gstcheck.c:
6114 * libs/gst/check/gstcheck.h:
6115 Allow runtime selection of unit tests to run via the GST_CHECKS
6116 environment variable (test case function names, comma-separated).
6118 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6120 * gst/gststructure.c:
6121 * tests/check/gst/gststructure.c:
6122 Revert serialisation change and constrain structure-names after
6123 consensus on irc. Update api documentation to reflect the change.
6125 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6127 * gst/gststructure.c:
6128 Improve serialization and fix tests.
6130 * tests/check/gst/gststructure.c:
6131 Add another test that covers why I actually did the previous structure
6134 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6136 * tools/gst-inspect.c: (print_element_info):
6137 Don't crash when inspecting an element.
6139 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6141 * tests/check/gst/gststructure.c:
6142 Add unit test for escaping of structure name when serialising
6143 and deserialising to/from strings.
6145 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6147 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6148 (gst_single_queue_new):
6149 * plugins/elements/gstqueue.c: (gst_queue_init),
6150 (gst_queue_push_one):
6151 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6152 upstream is tricked into thinking it can suggest a format downstream
6153 while downstream does not support that format. The real problem is that
6154 core calls acceptcaps when pushing a buffer with new caps, for which we
6155 do a little workaround by setting the caps on the srcpad ourselves
6156 before pushing the buffer (until this is figured out). Fixes #486758.
6158 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6160 * gst/gststructure.c:
6162 Add some more comments and debug output. Quote structure name to fix
6163 deserialisation of some strings.
6165 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6168 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6169 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6171 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6173 * tools/gst-inspect.c:
6174 Save approx. 400 1 byte allocs when printing. Use API to acces element
6180 * tools/gst-xmlinspect.c:
6181 Use API to acces element details.
6183 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6186 Fix some spelling errors.
6188 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6190 * gst/gstbin.c: (bin_handle_async_done):
6191 Correctly set the next state if all of our async children commited their
6192 state. This makes sure we can actually cancel the state change in
6193 progress. Fixes a regression in Rhythmbox when seeking.
6195 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6198 Don't shadow local variable.
6201 Don't shadow global function name.
6203 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6205 * gst/gstelementfactory.c:
6206 * gst/gstpluginfeature.c:
6207 * gst/gstpluginfeature.h:
6208 * gst/gstregistrybinary.c:
6209 * gst/gstregistryxml.c:
6210 * gst/gsttypefind.c:
6211 Use already-interned string for the private GstPluginFeature
6214 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6216 * docs/libs/gstreamer-libs-sections.txt:
6217 Add new API to docs; fixes the build.
6219 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6221 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6223 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6224 (gst_base_sink_event):
6225 * libs/gst/base/gstbasesink.h:
6226 Add function to wait for EOS, subclasses can use this to correctly wait
6227 for devices to drain before performing the EOS logic. Fixes #485343.
6228 API: gst_base_sink_wait_eos()
6230 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6233 Cast description string constants in GST_PLUGIN_DEFINE macros
6234 to a (gchar*) to make C++ code using these macros compile
6235 without warning with g++-4.2 (see #462737). Even if slightly
6236 ugly, this seems preferable to putting the description strings
6237 into the GLib quark table or making the structure member a
6238 const gchar * and doing casts in core code that allocs and
6239 frees these strings, or requiring a cast in the C++ code.
6241 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6244 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6245 to print the entire class/function signature into the log
6246 file for C++ code. This only affects C++ code, for C code
6247 everything remains the same.
6249 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6251 * gst/gstbin.c: (remove_from_queue):
6252 Work around a problem with pipelines containing (semi)loops until a
6253 proper, more complicated solution is ready. See #475455.
6255 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6259 * gst/gstregistrybinary.c:
6260 * gst/gstregistryxml.c:
6261 Put more strings into the GLib quark table. No need to keep
6262 a hundred-something copies of identical version strings,
6263 license strings, package name strings and package origin
6266 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6268 * docs/manual/advanced-dataaccess.xml:
6269 Don't imply that it's okay to unconditionally change
6270 buffer data or buffer metadata in a pad probe callback,
6271 and a bunch of other comments. Fixes #430031.
6273 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6275 * win32/common/gstenumtypes.c:
6276 * win32/common/gstenumtypes.h:
6277 * win32/common/gstversion.h:
6278 Update generated files.
6280 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6282 * docs/manual/advanced-autoplugging.xml:
6283 Prefix section with broken code with a warning (see #342432).
6285 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6287 * docs/manual/appendix-integration.xml:
6288 * docs/manual/basics-init.xml:
6289 Call g_thread_init() before g_option_context_new() to
6290 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6292 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6294 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6295 (gst_base_sink_queue_object_unlocked),
6296 (gst_base_sink_queue_object), (gst_base_sink_event),
6297 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6298 When we received EOS and are waiting for when to post the EOS message,
6299 our state is prerolled and we should not return ASYNC.
6300 Reorganize some code paths to implement this behavior.
6302 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6304 Add unit test to verify above EOS fix.
6306 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6308 * plugins/elements/gsttypefindelement.c:
6309 (gst_type_find_element_have_type), (gst_type_find_element_init),
6310 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6311 Move detecting the input caps of the sinkpad to the setcaps function.
6312 This allows us to update the output caps when we receive new input caps
6313 instead of always using the first detected caps.
6315 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6317 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6318 (gst_base_sink_get_position):
6319 Don't try to preroll non-async elements after a flush.
6320 Subtract latency form clock times when reporting position.
6322 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6324 * gst/gstpad.c: (gst_pad_pause_task):
6326 Small comment and documentation update.
6328 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6330 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6331 (gst_base_src_set_live), (gst_base_src_is_live),
6332 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6333 (gst_base_src_default_event), (gst_base_src_wait),
6334 (gst_base_src_do_sync), (gst_base_src_get_range),
6335 (gst_base_src_pad_get_range), (gst_base_src_loop),
6336 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6337 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6338 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6339 (gst_base_src_change_state):
6340 Rework the locking of basesrc in a similar fashion to basesink. We
6341 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6342 us to handle live sources and semi live ones much better.
6344 Fix unlocking when seeking, shutting down and pausing in live sources.
6346 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6348 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6349 Fix compilation again.
6351 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6354 Use meaningful categories for the logs to clean the default one.
6356 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6358 * tests/check/pipelines/cleanup.c:
6359 Print message name and not just number.
6361 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6363 * docs/design/draft-tagreading.txt:
6364 Add some more thoughts.
6366 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6368 * tests/check/pipelines/simple-launch-lines.c:
6369 Print message name and not just number.
6371 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6373 * libs/gst/base/gsttypefindhelper.c:
6374 Speedup typefinding. This is work in progress (see #459862).
6376 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6379 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6380 Spotted by Josep Torra Valles <josep@fluendo.com>.
6382 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6385 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6386 field has moved to GstObject.
6388 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6390 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6391 (gst_base_src_get_range), (gst_base_src_change_state):
6392 Call unlock for live sources so that they can't get stuck in _create and
6393 produce a buffer before they are set back to PLAYING.
6395 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6397 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6398 (gst_queue_locked_dequeue):
6399 Comment the segment-related code... in the PROPER function.
6400 See #482147 and my commit from yesterday.
6402 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6404 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6405 Also initialize the counter that calculates the first timestamp on a
6406 buffer correctly for non-live sources.
6408 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6410 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6411 Disable code that's breaking the current-time-level reporting.
6414 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6416 * docs/gst/gstreamer-sections.txt:
6417 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6418 as they shouldn't show up. Fixes the docs build.
6420 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6423 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6424 Define M_PI which is used in files which are including gstinfo.h.
6425 VS6 includes doesn't define it.
6426 * win32/common/libgstbase.def:
6427 * win32/common/libgstcontroller.def:
6428 * win32/common/libgstreamer.def:
6429 Add new exported functions and variables.
6430 * win32/vs6/libgstcontroller.dsp:
6431 * win32/vs6/libgstreamer.dsp:
6432 Update the list of files to build.
6434 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6436 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6438 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6439 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6440 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6441 Improve debugging. Fixes #480858.
6443 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6445 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6447 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6448 First patch of code cleanups, use the macros and right arguments in the
6449 macros to signal and lock the queue. See #480858.
6451 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6453 * gst/gstbus.c: (poll_func):
6454 Improve debugging when dealing with _poll().
6456 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6458 * gst/gstregistryxml.c:
6459 Fix memory leak I introduced a few days ago.
6461 2007-09-26 Michael Smith <msmith@fluendo.com>
6463 * gst/gstbuffer.c: (gst_buffer_finalize):
6464 Make it once again possible to free GstBuffers in the default
6466 The poisoning scribbles on parts of the miniobject we need in
6470 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6472 * docs/gst/gstreamer-sections.txt:
6475 API: add GST_TAG_COMPOSER, fixes #459809.
6477 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6481 Add the 3-clause BSD license and the MIT/X11 license to the license
6482 list. Fixes #479784.
6484 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6486 * docs/faq/getting.xml:
6487 Add Q+A about different GStreamer versions (#364056).
6489 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6491 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6492 (gst_base_sink_event), (gst_base_sink_change_state):
6493 Return correct gboolean from query function.
6495 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6497 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6498 (gst_base_sink_event), (gst_base_sink_query),
6499 (gst_base_sink_change_state):
6500 Simplify latency query.
6501 When not synchronizing, we can report latency without querying the peer
6504 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6508 Fix small typos in the docs.
6510 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6512 * docs/design/draft-latency.txt:
6513 * docs/design/draft-push-pull.txt:
6514 * docs/design/draft-tagreading.txt:
6515 * docs/design/part-MT-refcounting.txt:
6516 * docs/design/part-activation.txt:
6517 * docs/design/part-block.txt:
6518 * docs/design/part-element-source.txt:
6519 * docs/design/part-events.txt:
6520 * docs/design/part-gstbin.txt:
6521 * docs/design/part-gstelement.txt:
6522 * docs/design/part-gstobject.txt:
6523 * docs/design/part-gstpipeline.txt:
6524 * docs/design/part-messages.txt:
6525 * docs/design/part-preroll.txt:
6526 * docs/design/part-push-pull.txt:
6527 * docs/design/part-qos.txt:
6528 * docs/design/part-query.txt:
6529 * docs/design/part-scheduling.txt:
6530 * docs/design/part-seeking.txt:
6531 * docs/design/part-segments.txt:
6532 * docs/design/part-states.txt:
6533 Documentation updates and typo fixes.
6535 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6537 * plugins/elements/gstfakesink.c:
6538 Add some debug text to error message to indicate that
6539 we errored out on request.
6541 * tools/gst-launch.c:
6542 When the state change to PLAYING fails, check for an
6543 error message on the bus and print it.
6545 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6547 translated by: Jorge González González <aloriel@gmail.com>
6551 Added Spanish translation.
6553 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6555 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6556 Fix printf arguments.
6558 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6560 * tests/check/generic/states.c:
6561 Improved state change unit test.
6563 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6566 Move priv to the right place.
6568 * gst/gstsystemclock.c:
6569 Add FIXME: and improve log.
6571 * tests/check/Makefile.am:
6572 * tests/examples/manual/Makefile.am:
6573 Work with all types of registries.
6575 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6577 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6578 Don't unref the event after pushing it. Fixes #478401.
6580 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6583 * tests/examples/manual/.cvsignore:
6584 Ignore registries in any format.
6586 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6588 * gst/glib-compat-private.h:
6589 Add compatibility macro for g_intern_string() for
6590 GLib-2.8 (any reason we can't just bump the
6591 requirement to at least 2.10?)
6593 * gst/gstpadtemplate.h:
6594 * gst/gstelementfactory.c:
6595 * gst/gstregistryxml.c:
6596 * gst/gstregistrybinary.c:
6597 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6598 up the internal code accordingly. This shouldn't be a problem, since
6599 there is no reason external code could ever assume the string in such
6600 a structure is dynamically allocated unless it did that itself; the
6601 use of g_strdup() is private to element factories. The new code also
6602 saves some memory by putting pad template name strings into the GLib
6603 quark table instead of allocating them dynamically.
6604 Declaring this field constant fixes warnings with g++-4.2 when using
6605 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6607 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6609 * gst/gstelementfactory.c:
6610 Release static caps. Fixes #475723.
6612 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6616 Make some internal API take const gchar * instead of just
6617 gchar * to avoid compiler warnings with g++-4.2.2 when
6618 passing string constants (partially fixes #478092).
6620 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6622 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6623 A latency query fails when one of the sinks fail.
6625 * gst/gstelement.c: (gst_element_set_base_time):
6628 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6630 * gst/gstbin.c: (gst_bin_continue_func):
6631 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6632 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6633 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6635 Fix minor compilation warnings shown with Forte.
6637 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6639 * plugins/elements/gstqueue.c: (apply_buffer),
6640 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6641 Measure queue level based on the diff between head and tail timestamps
6642 even when pushing the first buffer.
6644 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6646 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6647 (gst_base_sink_event), (gst_base_sink_change_state):
6648 Sinks that don't preroll can always be queried for the latency.
6649 Don't post ASYNC start when we are not async.
6651 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6653 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6654 (gst_queue_handle_sink_event), (gst_queue_chain),
6655 (gst_queue_push_one), (gst_queue_handle_src_query),
6656 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6657 * plugins/elements/gstqueue.h:
6658 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6659 push more buffers but allow pushing of EOS and NEWSEGMENT.
6660 Add some more debug info here and there. Fixes #476514.
6662 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6664 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6665 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6666 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6667 (gst_base_sink_set_flushing), (gst_base_sink_query),
6668 (gst_base_sink_change_state):
6669 Latency query is allowed after we are prerolled. Introduce a new flag
6670 for this and stop abusing other variables.
6672 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6674 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6675 Push OOB events downstream when we get them in send_event. This allows
6676 the application to insert events in the pipeline.
6677 Add some more comments.
6679 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6681 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6682 (do_bin_latency), (gst_bin_change_state_func):
6683 * gst/gstpipeline.c: (gst_pipeline_change_state):
6684 Move latency query from GstPipeline to GstBin so that we can also
6685 use it when async-handling is enabled on bins.
6687 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6689 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6690 (gst_base_src_do_sync), (gst_base_src_change_state):
6692 Clean up the timestamping and syncing code for pseudo live sources.
6694 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6696 Patch by: Steve Fink <sphink gmail com>
6698 * docs/manual/appendix-checklist.xml:
6699 Mention less -R switch in the section about debug output (#474055).
6701 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6703 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6704 Queue can latency to the pipeline up to the configured max size in time.
6705 Report this fact in the latency query.
6707 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6709 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6711 * libs/gst/controller/gstinterpolation.c:
6712 * libs/gst/controller/gstlfocontrolsource.c:
6713 Use gst_guint64_to_gdouble() when converting from a uint64 or
6714 GstClockTime to double to fix the build on win32. Fixes #474371.
6716 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6718 * gst/gstbuffer.c: (gst_buffer_finalize):
6719 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6720 When finalizing a buffer the complete struct is filled with 0xff,
6721 thus making a use of the buffer after the final unref impossible.
6723 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6725 * tests/check/libs/controller.c: (GST_START_TEST):
6726 Use fail_unless_equals_int(a, b) instead of
6727 fail_unless_equals (a == b) to get better output on failures.
6729 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6731 * tests/check/gst/gsturi.c:
6732 Also check for the other file URI variant on win32.
6734 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6736 * gst/gsturi.c: (gst_uri_get_location):
6737 If there's no hostname, we want to return 'c:/foo/bar.txt'
6738 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6740 * tests/check/gst/gsturi.c:
6741 Unit test for the above and a few more things.
6743 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6745 * docs/design/part-live-source.txt:
6746 Add docs on how live sources should timestamp.
6748 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6749 Add some more debug info.
6750 For subclasses that are live and like to sync, add aditional startup
6751 latency to sync time and timestamps so that we timstamp according to the
6754 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6757 Also do a g_type_class_ref() for the subbuffer type in
6760 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6762 * docs/gst/gstreamer-sections.txt:
6763 * gst/gstpad.c: (gst_pad_peer_query):
6765 Add function to perform a query on the peer of a pad.
6766 API: gst_pad_peer_query()
6768 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6770 * tests/check/gst/gstsystemclock.c:
6771 Cleanup the test a little (use gst-logging and not g_message). Improve
6772 test to check if a wait reached the target.
6774 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6776 * docs/libs/gstreamer-libs-sections.txt:
6777 Add new API to docs and fix the build.
6779 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6781 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6782 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6783 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6784 (gst_base_src_get_property), (gst_base_src_do_sync):
6785 * libs/gst/base/gstbasesrc.h:
6786 Add property to make the basesrc timestamp buffers based on the current
6788 API: GstBaseSrc::do-timestamp
6789 API: gst_base_src_set_do_timestamp()
6790 API: gst_base_src_get_do_timestamp()
6792 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6794 * docs/random/release:
6795 Really make sure translations are up-to-date before
6796 a release (#465010).
6798 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6800 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6801 Always destroy the timer, also in error cases.
6803 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6805 * docs/manual/highlevel-xml.xml:
6806 Fix XML example code. Fixes #472714.
6808 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6810 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6811 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6812 (gst_base_sink_query):
6813 Protect eos and have_preroll with the OBJECT lock so we don't need to
6814 take the PREROLL lock when querying the latency. Fixes #473846.
6816 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6819 Give some log-messages a category.
6821 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6823 * gst/gststructure.c:
6824 (gst_structure_fixate_field_nearest_fraction):
6825 Fix fraction list fixation code. Take the fraction with the smallest
6826 difference with the target instead of the first one in the list.
6828 * tests/check/gst/gststructure.c: (GST_START_TEST),
6829 (gst_structure_suite):
6830 Added test to verify correct fraction list fixation behaviour.
6832 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6834 * win32/common/libgstreamer.def:
6835 Export gst_bus_add_signal_watch too.
6837 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6839 * docs/libs/gstreamer-libs-sections.txt:
6840 Add new methods to docs.
6842 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6843 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6844 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6845 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6846 * libs/gst/base/gstbasesink.h:
6847 Add ts-offset property to fine-tune the synchronisation.
6848 API: GstBaseSink::ts-offset property
6849 API: gst_base_sink_set_ts_offset()
6850 API: gst_base_sink_get_ts_offset()
6852 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6854 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6855 (gst_base_sink_init), (gst_base_sink_set_sync),
6856 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6857 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6858 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6859 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6860 (gst_base_sink_get_property), (gst_base_sink_change_state):
6861 * libs/gst/base/gstbasesink.h:
6862 Add async property to instruct the sink never to inform the parent about
6863 ASYNC state changes, update docs.
6864 Check argument with g_return_* for the public functions.
6865 API: GstBaseSink::async property
6866 API: gst_base_sink_set_async_enabled()
6867 API: gst_base_sink_is_async_enabled()
6869 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6871 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6874 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6875 (gst_base_src_default_query), (gst_base_src_wait),
6876 (gst_base_src_do_sync), (gst_base_src_change_state):
6877 Rearrange some code so that we can add support for measuring the
6880 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6882 * docs/random/ensonic/dynlink.txt:
6883 More thoughs on this.
6885 * plugins/elements/gstcapsfilter.c:
6886 Add bugzilla ticket number to FIXME comment.
6888 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6890 * docs/design/part-TODO.txt:
6891 * docs/design/part-block.txt:
6894 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6897 Revert patch which uses $(gst_headers) instead of $^ because it
6900 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6902 * tests/check/gst/gstbin.c: (GST_START_TEST):
6903 Fix leaks in the new unit test.
6905 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6908 Don't use GST_INFO before the debug system is actually initialised
6909 (shouldn't do any harm, but won't print anything either, so we can
6910 just as well remove it).
6913 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6914 compilers that don't support variadic macros (such as MSVC), should
6915 check for debug_level <= __gst_debug_min as well, since that's the
6916 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6917 inline helper functions. Should improve performance a bit, but also
6918 makes sure uses of GST_INFO et.al are ignored if the debugging
6919 system isn't initialised yet (instead of printing an assertion
6922 2007-08-23 Stefan Kost <ensonic@users.sf.net>
6924 patch by: David Nečas <yeti@physics.muni.cz>
6927 Replace some non portable makefile constructs.
6929 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6931 * common/gtk-doc-plugins.mak:
6932 Grrrrr. Don't remove the types file on make clean.
6934 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6936 * tools/gst-launch.1.in:
6937 Add colorspace to example pipeline. Fixes #458274.
6939 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
6941 * docs/random/release:
6942 The release manager should run 'make download-po' before making a
6943 release to make sure translations are up-to-date.
6949 Add some new translations.
6951 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
6953 * tools/gst-launch.c: (event_loop), (main):
6954 Don´t try to do any state management when a live pipeline posts
6956 Also make the buffering string translatable.
6958 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6960 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6961 (bin_handle_async_start), (gst_bin_handle_message_func):
6963 When adding elements, insert messages into the bus of the newly added
6964 element and make sure the element is the source of the message. This
6965 allows the parent bin to intercept the message and do the
6966 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6967 messages to the app (which is not allowed).
6970 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6971 Fix testsuite so that is does not work around messages that should not
6972 have been posted in the first place.
6974 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6976 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6977 (update_degree), (gst_bin_sort_iterator_next):
6978 Fix annoying bug in the sorted iterator where a sink that is not really
6979 a sink (when it has downstream links) screwed up the iterator.
6981 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6982 Unit test to verify the fix.
6984 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6987 Add some more docs for the messages.
6989 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6990 (gst_base_sink_query):
6991 Add some more debugging.
6993 * tools/gst-launch.c: (event_loop):
6994 When interrupting, don't try to set pipeline to PAUSED twice.
6996 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6999 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7000 (bin_handle_async_start), (gst_bin_handle_message_func):
7001 Move ASYNC_START message posting to where it belongs, similar to
7003 Don't post ASYNC_START when we are in error.
7004 Post ASYNC_START when we added an async element to a bin.
7006 2007-08-14 Julien MOUTTE <julien@moutte.net>
7008 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7009 generation from vargs. Fixes #466595.
7011 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7013 * gst/gstbin.c: (gst_bin_element_set_state):
7014 Always change the state of a NO_PREROLL element even if it has ASYNC
7015 elements inside (in case of a bin).
7017 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7018 Unit test for this case.
7020 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7022 * libs/gst/check/gstbufferstraw.c:
7023 * libs/gst/check/gstcheck.h:
7024 * libs/gst/controller/gstcontroller.c:
7025 * libs/gst/controller/gstcontrolsource.h:
7026 * libs/gst/controller/gstlfocontrolsource.h:
7027 * plugins/elements/gstcapsfilter.h:
7028 * plugins/elements/gstfdsink.h:
7029 * plugins/elements/gstfdsrc.h:
7030 Add more missing docs.
7032 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7034 * gst/gststructure.c:
7035 Add Since tag to docs.
7037 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7039 * docs/gst/gstreamer-sections.txt:
7040 * gst/gststructure.c: (gst_structure_get_uint):
7041 * gst/gststructure.h:
7042 Add function to get uint from a structure.
7043 API: gst_structure_get_uint()
7045 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7047 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7048 (gst_caps_intersect):
7049 Fix proper check for simple caps.
7051 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7053 * docs/gst/Makefile.am:
7054 * docs/libs/Makefile.am:
7055 Remove cruft and do some cleanups.
7057 * docs/gst/gstreamer-docs.sgml:
7058 * docs/libs/gstreamer-libs-docs.sgml:
7059 Prepare for comming gtkdoc features (rebase against online docs).
7061 2007-08-10 Michael Smith <msmith@fluendo.com>
7063 * docs/gst/gstreamer-sections.txt:
7064 Add gst_registry_add_path to docs.
7066 2007-08-10 Michael Smith <msmith@fluendo.com>
7068 * gst/gstregistry.h:
7069 Add gst_registry_add_path, which was missing from this header.
7071 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7073 * libs/gst/controller/gstlfocontrolsource.c:
7076 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7078 * libs/gst/base/gstbasesink.c:
7079 Don't send an async_start message during downwards state change if
7080 target state is less than READY
7082 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7084 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7088 Added Hungarian translation.
7090 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7097 Updated translations.
7099 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7101 * libs/gst/controller/Makefile.am:
7102 Dist gstlfocontrolsourceprivate.h
7104 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7106 * docs/libs/gstreamer-libs.types:
7107 Don't register the enum type gst_lfo_waveform_get_type() in the
7108 .types file - only GObject derived types belong.
7110 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7112 Patch by: <arenevier at fdn dot fr>
7115 Remove comma from last element in enum to avoid compile errors when
7116 using -pendantic. Fixes #464366.
7118 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7120 * docs/design/part-TODO.txt:
7121 Add some more TODO items
7123 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7126 * gst/gstcaps.c: (gst_caps_intersect):
7127 Optimize trivial intersection case between identical caps pointers.
7129 * gst/gstelement.c: (gst_element_continue_state),
7130 (gst_element_set_state_func):
7132 Fix spelling and grammar mistakes.
7134 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7138 Update POTFILES. Fixes #461599.
7140 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7143 Fix confusing typo in debug output.
7145 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7147 reviewed by: Stefan Kost <ensonic@users.sf.net>
7149 * libs/gst/controller/Makefile.am:
7150 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7151 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7152 (gst_lfo_control_source_new),
7153 (gst_lfo_control_source_set_waveform),
7154 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7155 (gst_lfo_control_source_finalize),
7156 (gst_lfo_control_source_dispose),
7157 (gst_lfo_control_source_set_property),
7158 (gst_lfo_control_source_get_property),
7159 (gst_lfo_control_source_class_init):
7160 * libs/gst/controller/gstlfocontrolsource.h:
7161 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7162 API: Add GstLFOControlSource, a control source that gives values
7163 for specific timestamps based on several periodic waveforms.
7166 * tests/check/libs/controller.c: (GST_START_TEST),
7167 (gst_controller_suite):
7168 * docs/libs/gstreamer-libs-docs.sgml:
7169 * docs/libs/gstreamer-libs-sections.txt:
7170 * docs/libs/gstreamer-libs.types:
7171 Add documentation and unit tests for GstLFOControlSource.
7173 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7178 === release 0.10.14 ===
7180 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7183 releasing 0.10.14, "Breathing Vacuum"
7185 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7187 * gst/gstelement.c: (gst_element_class_set_details_simple):
7189 Make strings passed to gst_element_class_set_details_simple()
7190 constant, as they should be (#462752).
7192 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7194 * gst/gstbin.c: (gst_bin_change_state_func),
7195 (bin_handle_async_done), (gst_bin_handle_message_func):
7196 Don't forget about the fact that some element went ASYNC even after a
7197 resync. This makes us post the ASYNC_DONE message correctly.
7200 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7202 * gst/gstregistry.c: (gst_registry_add_feature):
7203 When replacing an existing feature in the registry, make sure to
7204 continue holding a reference until we've replaced the name string
7205 within our feature hash table. Make sure to use g_hash_table_replace
7206 instead of g_hash_table_insert to ensure the new name string is used
7207 as a key instead of the old one that we're about to free.
7210 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7212 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7213 (gst_plugin_feature_set_name):
7214 Revert patch from #459466 until after the release and we can work
7215 out exactly what the problem is (if any).
7217 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7219 * docs/gst/gstreamer-sections.txt:
7222 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7224 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7226 * docs/libs/Makefile.am:
7227 Include our build-prefix libs and includes before the generic ones to
7228 avoid linking against the installed libs when we want the build-tree
7231 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7233 Patch by: Steve Fink <sphink gmail com>
7235 * docs/pwg/building-testapp.xml:
7236 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7237 if people try to build or install the example from the plugin
7238 template against a GStreamer from package using the configure
7241 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7243 Patch by: Steve Fink <sphink gmail com>
7245 * tools/gst-inspect.1.in:
7246 Document --print-all and --print-plugin-auto-install-info command
7247 line options in man page.
7249 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7251 * docs/gst/gstreamer-sections.txt:
7252 Add docs for new api function.
7254 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7256 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7257 * gst/gstelementfactory.h:
7258 API: gst_element_factory_has_interface()
7259 Added method to check if an element factory implements a named
7262 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7265 * docs/gst/gstreamer.types.in:
7266 Another conditional doc check.
7269 * gst/gstparamspecs.h:
7270 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7275 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7277 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7278 (gst_registry_binary_load_feature),
7279 (gst_registry_binary_load_plugin),
7280 (gst_registry_binary_read_cache):
7281 Print error just once and with additional info.
7283 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7285 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7286 (helper_find_suggest), (helper_find_get_length),
7287 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7288 (gst_type_find_helper_for_buffer):
7289 Cleanup the typefindhelper code and add private doc comments.
7291 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7293 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7294 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7295 Fix capsfilter for cases where the caps set on capsfilter will provide
7296 additional information.
7299 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7301 * gst/gsttypefindfactory.c:
7302 Fix docs that recommened wrong function to use.
7304 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7306 * tools/gst-inspect.c: (print_plugin_features):
7307 Also give media-type for typefinders in element output.
7309 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7311 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7312 (gst_registry_remove_features_for_plugin_unlocked),
7313 (gst_registry_add_feature), (gst_registry_remove_feature),
7314 (gst_registry_lookup_feature_locked):
7315 * gst/gstregistry.h:
7316 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7319 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7321 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7322 (gst_plugin_feature_set_name):
7323 Avoid double memory usage for pluginfeature names. Fixes #459466.
7325 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7328 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7329 driving the pipeline may need to explicitly check for NOT_LINKED as
7330 well, since IS_FATAL doesn't cover that.
7332 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7334 * docs/pwg/advanced-types.xml:
7335 Fix typo and duplicate entry in video formats list.
7337 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7339 * libs/gst/controller/gstinterpolation.c:
7340 Also round to the nearest int when using cubic interpolation.
7342 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7344 * libs/gst/controller/gstinterpolation.c:
7345 When linearly interpolating integer types, round to the nearest int
7346 by adding 0.5. Don't do it for float/double types.
7347 Fixes the failing controller test on my machine, which is somehow
7348 rounding differently than on the buildbots.
7350 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7352 * tools/gst-plot-timeline.py:
7353 Better log parsing (categories can have -). Adjust text vs. lines, so
7354 that they span the same y-range.
7356 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7358 * docs/random/ensonic/audiobaseclasses.txt:
7359 * docs/random/ensonic/dynlink.txt:
7360 * docs/random/ensonic/profiling.txt:
7363 * docs/random/moving-plugins:
7364 Add note to use g_assert type macros.
7366 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7369 * libs/gst/check/Makefile.am:
7370 Add libm check as we use in for plugins.
7372 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7374 * gst/gstbin.c: (gst_bin_continue_func):
7375 Check that the state_cookie hasn't changed since the continue_func
7376 was scheduled. Avoids problems where the state changes back to
7377 something it shouldn't be because it was changed in the meantime.
7379 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7381 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7382 (gst_registry_binary_save_string),
7383 (gst_registry_binary_save_pad_template),
7384 (gst_registry_binary_save_feature),
7385 (gst_registry_binary_save_plugin),
7386 (gst_registry_binary_load_feature),
7387 (gst_registry_binary_load_plugin),
7388 (gst_registry_binary_read_cache):
7389 Fix memory leak. Be less verbose in the log.
7391 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7393 * tests/check/elements/.cvsignore:
7394 Add file to cvsignore as commanded.
7396 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7398 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7399 (mq_dummypad_event), (run_output_order_test):
7400 Use a GStaticMutex to protect all cases where libcheck
7401 fail_if/fail_unless macros might be called from multiple threads
7402 simultaneously to avoid errors like:
7403 "check_pack.c:107: :-1081725400:Bad message type arg"
7405 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7407 * tests/check/pipelines/stress.c: (GST_START_TEST):
7408 Make sure we set the pipeline back to the NULL state before
7409 dropping our final reference.
7411 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7413 * tests/check/elements/tee.c: (GST_START_TEST):
7414 Make the tee stress-test a little less stressful so it doesn't just
7415 time out on slow-machines, and remove a small race when it's starting
7416 up by adding a get_state() call.
7418 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7421 Avoid reading registry twice on startup. Fixes #457322.
7423 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7425 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7426 * pkgconfig/gstreamer-check.pc.in:
7427 Substitute the CFLAGS for libcheck into our .pc file too so that
7428 dependent modules will pick it up properly if libcheck is installed
7429 into some other prefix.
7431 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7434 Revert the pkg-config check for libcheck, since it pulls in the
7435 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7436 a proper solution, either from the check project, or something else.
7438 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7441 Use pkg-config to locate check.
7443 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7450 Add deprecation guards.
7452 * libs/gst/base/gstcollectpads.h:
7453 Don't document object (this is implicitly private).
7455 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7457 * gst/gststructure.c: (gst_structure_parse_value):
7458 When deserialising foo=bar without a type cast, check if it's a
7459 boolean before falling back to a string type, otherwise things like
7460 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7461 because the filtercaps end up having a signed=(string)true field,
7462 which causes problems later when intersection caps.
7464 * tests/check/gst/gststructure.c: (GST_START_TEST):
7465 Add a unit test for this.
7467 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7469 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7471 * libs/gst/controller/Makefile.am:
7472 * libs/gst/controller/gstcontroller.c:
7473 (gst_controlled_property_add_interpolation_control_source),
7474 (gst_controlled_property_new), (gst_controlled_property_free),
7475 (gst_controller_find_controlled_property),
7476 (gst_controller_new_valist), (gst_controller_new_list),
7477 (gst_controller_new), (gst_controller_remove_properties_valist),
7478 (gst_controller_remove_properties_list),
7479 (gst_controller_remove_properties),
7480 (gst_controller_set_property_disabled),
7481 (gst_controller_set_disabled), (gst_controller_set_control_source),
7482 (gst_controller_get_control_source), (gst_controller_get),
7483 (gst_controller_sync_values), (gst_controller_get_value_array),
7484 (_gst_controller_dispose), (gst_controller_get_type),
7485 (gst_controlled_property_set_interpolation_mode),
7486 (gst_controller_set), (gst_controller_set_from_list),
7487 (gst_controller_unset), (gst_controller_unset_all),
7488 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7489 * libs/gst/controller/gstcontroller.h:
7490 * libs/gst/controller/gstcontrollerprivate.h:
7491 * libs/gst/controller/gstcontrolsource.c:
7492 (gst_control_source_class_init), (gst_control_source_init),
7493 (gst_control_source_get_value),
7494 (gst_control_source_get_value_array), (gst_control_source_bind):
7495 * libs/gst/controller/gstcontrolsource.h:
7496 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7497 (gst_object_get_control_source):
7498 * libs/gst/controller/gstinterpolation.c:
7499 (gst_interpolation_control_source_find_control_point_node),
7500 (gst_interpolation_control_source_get_first_value),
7501 (_interpolate_none_get), (interpolate_none_get),
7502 (interpolate_none_get_boolean_value_array),
7503 (interpolate_none_get_enum_value_array),
7504 (interpolate_none_get_string_value_array),
7505 (_interpolate_trigger_get), (interpolate_trigger_get),
7506 (interpolate_trigger_get_boolean_value_array),
7507 (interpolate_trigger_get_enum_value_array),
7508 (interpolate_trigger_get_string_value_array):
7509 * libs/gst/controller/gstinterpolationcontrolsource.c:
7510 (gst_control_point_free), (gst_interpolation_control_source_reset),
7511 (gst_interpolation_control_source_new),
7512 (gst_interpolation_control_source_set_interpolation_mode),
7513 (gst_interpolation_control_source_bind),
7514 (gst_control_point_compare), (gst_control_point_find),
7515 (gst_interpolation_control_source_set_internal),
7516 (gst_interpolation_control_source_set),
7517 (gst_interpolation_control_source_set_from_list),
7518 (gst_interpolation_control_source_unset),
7519 (gst_interpolation_control_source_unset_all),
7520 (gst_interpolation_control_source_get_all),
7521 (gst_interpolation_control_source_get_count),
7522 (gst_interpolation_control_source_init),
7523 (gst_interpolation_control_source_finalize),
7524 (gst_interpolation_control_source_dispose),
7525 (gst_interpolation_control_source_class_init):
7526 * libs/gst/controller/gstinterpolationcontrolsource.h:
7527 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7528 API: Refactor GstController into the core controller which can take
7529 a GstControlSource for providing actual values for timestamps.
7530 Implement a interpolation control source and use this for backward
7531 compatibility, deprecate a bunch of functions that are now handled
7532 by GstControlSource or GstInterpolationControlSource.
7533 Make it possible to disable the controller completely or only for
7534 specific properties. Fixes #450711.
7535 * docs/libs/gstreamer-libs-docs.sgml:
7536 * docs/libs/gstreamer-libs-sections.txt:
7537 * docs/libs/gstreamer-libs.types:
7538 Add new functions and classes to the docs.
7539 * tests/check/libs/controller.c: (GST_START_TEST),
7540 (gst_controller_suite):
7541 * tests/examples/controller/audio-example.c: (main):
7542 Port unit test and example to the new API and add some new
7545 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7547 Patch by: Mark Nauwelaerts <manauw at skynet be>
7549 * plugins/elements/gstmultiqueue.c:
7550 (gst_multi_queue_get_internal_links), (apply_buffer),
7551 (single_queue_overrun_cb), (gst_single_queue_new):
7552 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7553 the pipeline layout can be tracked correctly. Fixes #453732.
7555 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7557 * docs/gst/Makefile.am:
7558 * docs/libs/Makefile.am:
7559 * docs/plugins/Makefile.am:
7560 Simplify --extra-dir as gtkdoc scans recursively.
7562 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7564 * tools/gst-launch.c: (main):
7565 When we got an error, there is no point in waiting for preroll when
7568 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7570 * plugins/elements/gsttee.c: (gst_tee_base_init),
7571 (gst_tee_request_new_pad), (gst_tee_release_pad),
7572 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7573 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7575 Be a lot smarter when deciding what srcpad to use for proxying
7576 the buffer_alloc. Also handle pad added/removed when doing so.
7578 Keep track of what pads we already pushed on in case we have pads
7579 added/removed while pushing. Fixes #374639
7581 * tests/check/Makefile.am:
7582 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7584 Added unit test for pad resync.
7586 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7590 Updated translations.
7592 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7594 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7598 Added new Finnish translation.
7600 2007-06-28 Wim Taymans <wim@fluendo.com>
7602 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7603 (single_queue_overrun_cb):
7604 When figuring out when a queue is filled, use our internal time estimate
7605 based on segments, just like check_full does.
7607 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7609 * gst/gstminiobject.c: (gst_mini_object_get_type):
7610 Remove 3 do-nothing methods.
7612 2007-06-27 Wim Taymans <wim@fluendo.com>
7614 Patch by: Tim Angus <tim at ngus dot net>
7616 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7617 (gst_capsfilter_set_property):
7618 Take a reference instead of a copy when setting "caps".
7619 Fix documentation to clarify this behaviour. Fixes #449414.
7621 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7623 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7624 * gst/gstplugin.c: (gst_plugin_init):
7625 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7626 * gst/gstquery.c: (gst_query_get_type):
7627 * gst/gstregistry.c: (gst_registry_init):
7628 * gst/gsturi.c: (gst_uri_handler_base_init):
7629 Remove empty instance_init() functions to save relocs and lessen the
7630 noise. Remove some of the function prototypes that are doubled by
7633 2007-06-27 Wim Taymans <wim@fluendo.com>
7635 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7637 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7638 Add peer and direction in the XML serialisation of ghostpads.
7641 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7644 Preserve useful information, thanks Tim.
7646 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7648 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7649 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7650 (gst_single_queue_push_one), (gst_multi_queue_loop),
7651 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7652 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7653 (compute_high_id), (gst_single_queue_new):
7654 * plugins/elements/gstmultiqueue.h:
7655 Take the multiqueue lock when updating the fill level so we don't get
7658 After applying a buffer or event on the src pad segment, make sure to
7659 call gst_data_queue_limits_changed() to get the data queue to unblock
7660 and check the filled state again.
7662 Rework the not-linked pad handling so the logic is that not-linked
7663 pads can push as fast as they like, but only so they never get
7664 ahead of any linked pads.
7666 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7667 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7668 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7670 Add a test to check that not-linked pads always stay behind
7675 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7677 * docs/random/release:
7678 Some updates to the release procedure.
7680 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7682 * gst/gstelementfactory.c: (__gst_element_details_clear):
7683 Microoptimization that saves stunning 80 bytes.
7685 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7687 * docs/plugins/gstreamer-plugins.args:
7688 * docs/plugins/inspect/plugin-coreelements.xml:
7689 * docs/plugins/inspect/plugin-coreindexers.xml:
7690 Update docs with caps info.
7692 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7695 Updated Italian translation.
7697 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7701 Update Vietnamese translations.
7703 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7705 * libs/gst/base/gstbasesink.c:
7706 Remove unused signal enum.
7708 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7710 * docs/gst/gstreamer-sections.txt:
7712 * gst/gstutils.c: (gst_type_register_static_full):
7713 Beef up and include the docs for gst_type_register_static_full and
7714 gst_element_class_set_details_simple and add the API keyword
7717 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7719 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7720 (update_time_level), (gst_single_queue_push_one),
7721 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7722 (single_queue_overrun_cb), (single_queue_underrun_cb),
7723 (single_queue_check_full):
7724 Fix setting max-* properties after adding queues.
7725 Use IS_FILLED for checking visible items.
7726 Signal overrun if multiple queues overrun.
7727 Add extra debug output.
7728 Patch by: Wim Taymans <wim@fluendo.com>
7730 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7732 * gst/gstelement.c: (gst_element_class_set_details_simple):
7734 * gst/gstutils.c: (gst_type_register_static_full):
7736 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7737 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7738 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7739 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7740 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7741 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7742 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7743 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7744 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7745 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7746 (apply_buffer), (gst_queue_chain):
7747 * plugins/elements/gsttee.c: (gst_tee_base_init):
7748 * plugins/elements/gsttypefindelement.c:
7749 (gst_type_find_element_base_init),
7750 (gst_type_find_element_class_init):
7751 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7752 API: add gst_type_register_static_full
7753 API: add gst_element_class_set_details_simple
7755 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7757 * docs/pwg/advanced-types.xml:
7758 Fix typo in iana.org URI.
7760 2007-06-19 Andy Wingo <wingo@pobox.com>
7762 * tests/check/pipelines/simple-launch-lines.c
7763 (test_state_change_returns): Enable pull-mode tests now that
7764 basesink has been fixed.
7766 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7767 Changed from gst_base_sink_is_prerolled, reversing the sense of
7768 the return value. Returns FALSE also if the sink is in pull mode,
7769 in which case it needs no preroll.
7770 (gst_base_sink_query, gst_base_sink_change_state): Update for
7771 needs_preroll change.
7772 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7773 chaining up, in which we return SUCCESS directly if we activated
7774 in pull mode instead of ASYNC. Involves countering an async_start
7775 message sent before chaining up; not sure if this is correct, in
7776 an ideal world we only send async-start when activating in push
7779 * tests/check/pipelines/simple-launch-lines.c
7780 (test_state_change_returns): New test, partially disabled until
7783 2007-06-19 Wim Taymans <wim@fluendo.com>
7785 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7786 (gst_multi_queue_sink_event):
7789 2007-06-19 Wim Taymans <wim@fluendo.com>
7791 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7792 (gst_bin_change_state_func), (bin_push_state_continue),
7793 (bin_handle_async_start), (bin_handle_async_done),
7794 (gst_bin_handle_message_func):
7795 Move the common code for posting state-change messages into
7797 Broadcast the state signal after we posted the messages.
7798 Mark the bin as busy when it's doing a state-change.
7799 Make sure async-start/done messages don't interfere with the bin's
7800 state when it's busy.
7801 After the state change, let the bin check which elements completed the
7802 state change while it was busy so that it can update its state.
7804 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7806 * docs/random/release:
7807 Add a note about updating the doap file to the release checklist
7809 2007-06-18 Wim Taymans <wim@fluendo.com>
7811 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7812 (gst_single_queue_push_one), (gst_multi_queue_chain),
7813 (gst_multi_queue_sink_event):
7814 Make sure we don't reference the buffer/event after we have given away
7815 ownership in the queue.
7817 2007-06-18 Wim Taymans <wim@fluendo.com>
7819 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7820 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7821 Update queue state _after_ adding the item in the queue because else we
7822 could end up being full without the element added yet.
7824 2007-06-18 Wim Taymans <wim@fluendo.com>
7826 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7827 (gst_bin_remove_func), (gst_bin_get_state_func),
7828 (gst_bin_element_set_state), (gst_bin_continue_func),
7829 (bin_push_state_continue), (bin_handle_async_start),
7830 (bin_handle_async_done), (gst_bin_handle_message_func):
7832 Immediatly commit the toplevel bin state when receiving an async-done
7833 message. This enables us to avoid spawning a thread to commit the state
7834 in some common cases and it also avoids some races.
7835 Avoid spawning a state thread when adding/removing async elements to a
7836 toplevel bin. Instead we immediatly update the bin state.
7837 Get rid of iterating all the children when getting the state in the bin
7838 because it is now always up-to-date.
7839 Fix bug where locked elements would always return _SUCCESS even it they
7840 returned NO_PREROLL before being locked.
7841 Fix the order of the state_change, async-start/done messages that was
7842 sometimes incorrect.
7843 Mark the state_dirty field as deprecated, we don't need it anymore as we
7844 are always up-to-date.
7846 * gst/gstelement.c: (gst_element_get_state_func),
7847 (gst_element_continue_state):
7848 Small debug inprovements.
7849 Return the previous element state return when nothing is pending instead
7850 of blindly returning SUCCESS.
7852 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7854 Add a whole bunch of new testcases.
7856 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7860 Update translations.
7862 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7865 Fix typo in the docs.
7867 2007-06-15 Wim Taymans <wim@fluendo.com>
7869 * docs/libs/gstreamer-libs-sections.txt:
7870 Add docs for new methods.
7872 2007-06-15 Wim Taymans <wim@fluendo.com>
7874 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7875 (gst_multi_queue_item_new):
7876 Don't use GSlice because we don't depend on >= 2.10 yet.
7878 2007-06-15 Wim Taymans <wim@fluendo.com>
7880 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7881 (update_time_level), (apply_segment), (apply_buffer),
7882 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7883 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7884 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7885 (single_queue_underrun_cb), (single_queue_check_full):
7886 Remove debug printf.
7888 2007-06-15 Wim Taymans <wim@fluendo.com>
7890 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7891 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7892 (gst_data_queue_set_flushing), (gst_data_queue_push),
7893 (gst_data_queue_pop), (gst_data_queue_drop_head),
7894 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7895 * libs/gst/base/gstdataqueue.h:
7897 Added methods to get the current levels and to inform the queue that the
7898 'full' limits changed.
7900 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7901 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7902 (gst_single_queue_flush), (update_time_level), (apply_segment),
7903 (apply_buffer), (gst_single_queue_push_one),
7904 (gst_multi_queue_item_steal_object),
7905 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7906 (gst_multi_queue_loop), (gst_multi_queue_chain),
7907 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7908 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7909 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7910 (single_queue_underrun_cb), (single_queue_check_full),
7911 (gst_single_queue_new):
7912 Keep track of time in the queue by measuring the difference between
7913 running_time on input and output. This gives more accurate results and
7914 can compensate for segments correctly.
7915 Make a queue by default only 5 buffers deep. We will now increase the
7916 buffer size depending on the filledness of the other queues.
7917 Factor out commong flush code.
7918 Make sure we don't add additional refcounts to buffers when we can avoid
7920 Propagate GstFlowReturn differently.
7921 Use GSlice for intermediate GstMultiQueueItems.
7923 Resize queues on over and underruns based on filled level of other
7925 When checking if the queue is filled, prefer to measure in time if we
7926 can and fall back to bytes when no time is known.
7928 * plugins/elements/gstqueue.c:
7931 2007-06-15 Wim Taymans <wim@fluendo.com>
7933 * libs/gst/base/gstbasetransform.c:
7934 (gst_base_transform_sink_event):
7935 Work around the brokenness of the event vmethod in basetransform. Prefer
7936 to return TRUE when the subclass returned FALSE (meaning don't forward
7939 * libs/gst/base/gstbasetransform.h:
7942 2007-06-15 Wim Taymans <wim@fluendo.com>
7944 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7945 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7946 (gst_base_src_default_query), (gst_base_src_get_range),
7947 (gst_base_src_start):
7948 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7951 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7953 * docs/pwg/advanced-types.xml:
7954 Added more formats to caps table.
7956 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7958 * tools/gst-launch.c: (main):
7959 Remove crufy code. GOption does not need this workaround.
7961 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7963 * libs/gst/controller/gstcontroller.c:
7964 (gst_controlled_property_set_interpolation_mode):
7965 Fix wrong getter for enums in controller.
7967 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7969 * libs/gst/check/gstcheck.c: (gst_check_init):
7970 Intercept criticals and warnings in the Gst-Phonon log domain, so
7971 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7974 2007-06-14 Edward Hervey <edward@fluendo.com>
7976 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7977 Since this file doesn't include "gst.h" it will not go through the
7978 macros that disable GST_LOG if debugging was disabled.
7980 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7982 * libs/gst/check/Makefile.am:
7983 * libs/gst/check/gstcheck.h:
7984 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7985 * pkgconfig/gstreamer-check.pc.in:
7986 Ugly 'fix' for the controller unit test on the p5 bot: in
7987 fail_unless_equals_float() check whether the values are 'almost
7988 equal' by allowing a small absolute error, which should be good
7989 enough for our use cases (normal numbers and values close to 0).
7990 Proper fixage left to floating point arithmetic aficionados.
7992 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7994 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7995 (gst_base_sink_render_object), (gst_base_sink_get_position):
7996 Add two breaks thats where missing.
7998 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8000 * docs/libs/gstreamer-libs-sections.txt:
8001 * libs/gst/check/gstcheck.h:
8002 API: add fail_unless_equals_float() and assert_equals_float().
8003 Add documentation for some of the macros.
8005 * tests/check/libs/controller.c: (GST_START_TEST):
8006 Use newly-added asserts.
8008 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8010 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8011 Show the caps change in the log to help spotting the case of not
8012 exactly matching caps.
8014 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8016 * docs/pwg/building-boiler.xml:
8017 Fix typos, spotted by Thijs Vermeir (#447190).
8019 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8021 * docs/plugins/tmpl/.cvsignore:
8022 Ignore file to keep the buildbots happy
8024 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8026 * docs/plugins/Makefile.am:
8027 * docs/plugins/gstreamer-plugins-docs.sgml:
8028 * docs/plugins/gstreamer-plugins-sections.txt:
8029 Pull fdsink into the docs too.
8031 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8033 * libs/gst/controller/gstinterpolation.c:
8034 Actually use the new functions with min/max checks for the trigger and
8035 none interpolation modes for get() and get_value_array() instead of
8038 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8040 * libs/gst/controller/gstcontroller.c:
8041 (gst_controlled_property_free):
8042 Unset the minimum and maximum GValues when freeing the corresponding
8043 GstControllerProperty struct.
8045 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8047 * libs/gst/controller/gstcontroller.c:
8048 (gst_controlled_property_new):
8049 * libs/gst/controller/gstcontrollerprivate.h:
8050 * libs/gst/controller/gstinterpolation.c:
8051 (gst_controlled_property_find_control_point_node),
8052 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8053 (interpolate_none_get_string_value_array),
8054 (interpolate_trigger_get),
8055 (interpolate_trigger_get_enum_value_array),
8056 (interpolate_trigger_get_string_value_array):
8057 Protect against values larger or smaller than the minimum or maximum
8058 allowed value for the property when using values that can be compared.
8060 Optimize trigger interpolator a bit by taking the last requested value
8061 into account instead of always looping through the complete list.
8063 Fix coding style a bit, everywhere else we use "return foo" instead
8066 * tests/check/libs/controller.c: (GST_START_TEST),
8067 (gst_controller_suite):
8068 Add unit test for the protection against too large or too small
8071 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8073 * docs/random/slomo/controller.txt:
8074 Add some thoughts about the future of the controller.
8076 2007-06-08 Wim Taymans <wim@fluendo.com>
8078 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8079 Don't overflow in retimestamping code.
8081 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8083 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8084 Use gst_util_guint64_to_gdouble for conversions.
8085 * win32/common/libgstreamer.def:
8086 Add new exported functions.
8088 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8091 Small docs addition.
8093 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8096 Remove that test line again.
8098 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8101 Test commit mail sending.
8103 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8106 Fix typo and test commit mail sending.
8108 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8110 * tests/examples/controller/audio-example.c:
8111 Improve comment and test commit mail sending.
8113 2007-06-07 Wim Taymans <wim@fluendo.com>
8115 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8116 (gst_bin_remove_func), (gst_bin_element_set_state),
8117 (bin_handle_async_start), (bin_handle_async_done),
8118 (gst_bin_handle_message_func):
8119 Add helper function to find messages.
8120 Generate the async-done messages together with the state change
8122 Small cleanups in handling toplevel bins.
8124 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8126 * libs/gst/base/gstdataqueue.c:
8127 * libs/gst/base/gstdataqueue.h:
8128 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8129 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8130 (gst_multi_queue_sink_event):
8131 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8132 Fix multiqueue leaking buffers and events when downstream or the
8133 queue are flushing. Make refcounting assumptions explicit and
8134 document them (shouldn't break existing code that uses it other than
8135 maybe leak miniobjects, but that already happens anyway). Add unit
8136 test for the most common flushing case. Fixes #423700.
8138 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8140 * libs/gst/controller/gstcontroller.c:
8141 Clarify docs: The get_all, get_value_array(s) functions
8142 don't modify the GObject properties.
8144 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8146 * libs/gst/controller/gstcontroller.c:
8147 (gst_controlled_property_set_interpolation_mode),
8148 (gst_controlled_property_prepend_default),
8149 (gst_controlled_property_new), (gst_controller_set_unlocked),
8150 (gst_controller_set), (gst_controller_set_from_list),
8151 (gst_controller_unset), (gst_controller_unset_all):
8152 * libs/gst/controller/gstcontrollerprivate.h:
8153 * libs/gst/controller/gstinterpolation.c:
8154 Factor out the 'set' logic into gst_controller_set_unlocked for the
8155 gst_controller_set and gst_controller_set_from_list functions.
8157 To make life of the interpolators easier always add a control point
8158 at timestamp zero with the default value.
8160 In the linear interpolator make things more obvious by better variable
8163 Implement cubic interpolation mode (by using a natural cubic spline)
8164 and map the quadratic interpolation mode to this too (as quadratic
8165 doesn't make much sense, see discussion on the list).
8167 * tests/check/libs/controller.c: (GST_START_TEST),
8168 (gst_controller_suite):
8169 Add unit test for the cubic interpolation mode and check everywhere
8170 if the interpolation mode could be set as expected.
8172 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8174 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8175 Don't use GLib-2.10 functions, we still depend on
8176 GLib-how-old-is-it-again-2.8.
8178 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8180 * docs/gst/gstreamer-sections.txt:
8184 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8185 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8186 (_gst_param_fraction_values_cmp),
8187 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8188 * gst/gstparamspecs.h:
8190 * tests/check/Makefile.am:
8191 * tests/check/gst/.cvsignore:
8192 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8193 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8194 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8195 (GST_START_TEST), (gst_param_spec_suite):
8196 API: add GstParamSpecFraction, so elements can have fraction
8197 properties without lots of painful string parsing (#444648).
8199 2007-06-05 Wim Taymans <wim@fluendo.com>
8201 * gst/gstobject.c: (gst_object_class_init):
8202 Fix signal signature.
8205 Add small clarification in the api docs.
8207 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8208 States are protected with object lock.
8210 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8213 I should probably be listed as an author by now.
8215 * docs/random/release:
8216 Update the release doc
8218 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8221 Make docs for gst_value_compare() mention return enums that
8224 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8229 === release 0.10.13 ===
8231 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8234 releasing 0.10.13, "With or without you"
8236 2007-05-25 Wim Taymans <wim@fluendo.com>
8238 * gst/gstbin.c: (bin_handle_async_done):
8239 Make sure that the child bin stops after completing the async state
8240 change so that the parent can continue the state change to PLAYING.
8243 2007-05-25 Wim Taymans <wim@fluendo.com>
8245 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8246 (unref_data), (gst_collect_pads_remove_pad),
8247 (gst_collect_pads_check_pads):
8248 Use additional refcounting to avoid crashes when dynamically adding and
8249 removing pads. Fixes #420206.
8251 2007-05-24 Wim Taymans <wim@fluendo.com>
8253 * tools/gst-launch.c: (event_loop):
8254 When buffering goes from a two digit to a single digit number, make sure
8255 to remove the old second digit by writing a blank over it.
8257 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8259 * libs/gst/base/gstdataqueue.c:
8260 Eliminate tabs and trailing comma in enum list; fix some typos.
8262 2007-05-24 Wim Taymans <wim@fluendo.com>
8264 * tests/check/gst/gstbin.c: (GST_START_TEST):
8265 Allow refcount of 3 and 4 because some state thread might still be busy
8268 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8270 * plugins/elements/Makefile.am:
8271 * plugins/elements/gstmultiqueue.h:
8272 * plugins/elements/gstqueue.h:
8273 These are not installed headers, no need for padding.
8275 2007-05-24 Wim Taymans <wim@fluendo.com>
8277 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8278 (gst_bin_continue_func):
8279 Enable latency for next release.
8280 Restore STATE_LOCK around recalc_state that was left out during the
8281 rewrite and could result in racy behaviour when _get_state and
8282 recalc_state are run concurrently. See #440463.
8284 2007-05-23 Wim Taymans <wim@fluendo.com>
8286 * tests/check/gst/gstsystemclock.c: (store_callback),
8288 Improve test_async_order to also work when both timers are already
8289 expired when we get scheduled to check it.
8291 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8293 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8294 (gst_bin_set_property), (gst_bin_get_property),
8295 (gst_bin_remove_func), (gst_bin_handle_message_func):
8297 'private' is a c++ keyword, let's not use that in header files,
8298 otherwise c++ compilers will throw a tantrum.
8300 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8302 * plugins/elements/gstelements.c:
8303 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8304 (gst_file_sink_get_current_offset):
8305 * plugins/indexers/gstindexers.c: (plugin_init):
8306 Use #ifdef for HAVE_XYZ for consistency.
8308 * tests/check/Makefile.am:
8309 * tests/check/elements/.cvsignore:
8310 * tests/check/elements/filesink.c: (setup_filesink),
8311 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8312 Add some unit tests for filesink.
8314 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8316 Patch by: Mark Nauwelaerts <manauw at skynet be>
8318 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8319 (gst_file_sink_query), (gst_file_sink_do_seek),
8320 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8321 * plugins/elements/gstfilesink.h:
8322 Fix position reporting; rename data_written member to current_pos to
8323 reflect its real meaning (fixes #412648).
8325 2007-05-22 Edward Hervey <edward@fluendo.com>
8327 * docs/gst/gstreamer-sections.txt:
8328 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8329 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8330 (gst_bin_remove_func), (gst_bin_handle_message_func):
8332 Add a property for bins that handle the state change of their childs.
8335 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8337 * libs/gst/controller/gstinterpolation.c:
8338 Use an array of the correct type when using _get_value_array with
8339 linear interpolation.
8341 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8343 * gst/gstelement.c (gst_element_requires_clock,
8344 gst_element_provides_clock, gst_element_request_pad,
8345 gst_element_class_set_details, gst_element_class_set_details_simple,
8346 gst_element_default_send_event, gst_element_abort_state,
8347 gst_element_continue_state, gst_element_set_state,
8348 gst_element_set_state_func, iterator_activate_fold_with_resync):
8349 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8350 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8351 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8352 gst_pad_get_range, gst_pad_pull_range):
8353 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8354 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8355 GstPadActivateModeFunction, GstPadChainFunction,
8356 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8357 GstPadFixateCapsFunction, GstPadTemplate):
8358 * gst/gstpipeline.c (gst_pipeline_change_state,
8359 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8360 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8361 gst_pipeline_get_delay):
8362 Whitespace and docs fixes.
8364 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8366 * libs/gst/controller/gstinterpolation.c:
8367 (interpolate_trigger_get_enum_value_array),
8368 (interpolate_trigger_get_string_value_array):
8369 Add support for retrieving value arrays when using the trigger
8372 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8374 * libs/gst/controller/gstcontroller.c:
8375 (gst_controller_get_value_array):
8376 * libs/gst/controller/gstcontroller.h:
8377 Clarify the docs of gst_controller_get_value_array(): The array where
8378 the values should be written to must be allocated as there seems to be
8379 no way to get the size of a random GType. This doesn't change any
8380 behaviour. Also fix some typos all over the place and remove an unused,
8381 commented function that is not necessary as g_object_set() could be
8383 * tests/check/libs/controller.c: (GST_START_TEST),
8384 (gst_controller_suite):
8385 Add unit test for gst_controller_get_value_array().
8387 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8389 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8391 Disable part of the gst_buffer_try_new_and_alloc test, because
8392 it can happily succeed on 64-bit systems where there's more address
8395 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8397 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8398 Add unit test for the improved caps checking from bug #421543.
8400 2007-05-21 Wim Taymans <wim@fluendo.com>
8402 * docs/design/part-synchronisation.txt:
8405 * gst/gstbin.c: (gst_bin_query):
8406 * plugins/elements/gstqueue.c: (apply_segment):
8412 2007-05-21 Wim Taymans <wim@fluendo.com>
8414 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8415 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8416 (gst_pad_configure_src):
8417 Added simple version of improved caps checking. It was previously
8418 assumed that a setcaps function would check the validity of the caps but
8419 people prefer us to check caps against the template automatically.
8422 2007-05-21 Wim Taymans <wim@fluendo.com>
8424 * libs/gst/base/gstbasetransform.h:
8425 Fix macro for locking/unlocking the transform lock.
8427 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8429 * docs/plugins/tmpl/.cvsignore:
8432 2007-05-18 Edward Hervey <edward@fluendo.com>
8434 * plugins/elements/gstqueue.c: (gst_queue_loop):
8435 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8436 for the subtle art of warning a potentially blocking thread that it
8437 should check the source pad return value, and relay the information
8440 2007-05-18 Edward Hervey <edward@fluendo.com>
8442 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8443 Release the queue lock !
8445 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8447 * docs/libs/gstreamer-libs-sections.txt:
8448 Add the two new controller functions to the appropiate places.
8450 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8452 reviewed by: Stefan Kost <ensonic@users.sf.net>
8454 * libs/gst/controller/gstcontroller.c:
8455 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8456 (_gst_controller_get_property), (_gst_controller_set_property),
8457 (_gst_controller_init), (_gst_controller_class_init):
8458 * libs/gst/controller/gstcontroller.h:
8459 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8460 (gst_object_get_control_rate), (gst_object_set_control_rate):
8461 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8462 Add API that provides sync suggestion timestamps for elements that
8463 call gst_object_sync_values() from which those elements can subdivide
8464 their processing loop to get the best results for the controlled
8465 properties. For now it just suggests last_sync + control_rate as
8466 new timestamp but this will be improved in the future.
8468 While doing that change the control-rate property to a GstClockTime
8469 from guint and change it's meaning from samples to nanoseconds as
8470 the GstController doesn't know anything about sampling rate. Strictly
8471 speaking this breaks ABI but as the control-rate property didn't do
8472 anything in the past and as such couldn't be used this should be no
8475 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8477 reviewed by: Stefan Kost <ensonic@users.sf.net>
8479 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8480 (gst_controller_unset_all):
8481 * libs/gst/controller/gstcontrollerprivate.h:
8482 * libs/gst/controller/gstinterpolation.c:
8483 (gst_controlled_property_find_control_point_node):
8484 Save last synced value from the list to continue searching from there
8485 in future syncs. This speeds everything up a bit.
8487 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8489 reviewed by: Stefan Kost <ensonic@users.sf.net>
8491 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8492 (gst_control_point_find), (gst_controlled_property_new),
8493 (gst_control_point_free), (gst_controlled_property_free),
8494 (gst_controller_set), (gst_controller_set_from_list),
8495 (gst_controller_unset), (gst_controller_unset_all),
8496 (gst_controller_sync_values):
8497 * libs/gst/controller/gstcontroller.h:
8498 * libs/gst/controller/gstcontrollerprivate.h:
8499 * libs/gst/controller/gstinterpolation.c:
8500 (gst_controlled_property_find_control_point_node),
8501 (interpolate_none_get), (interpolate_trigger_get):
8502 Add a new private GstControlPoint struct which "inherits" from
8503 GstTimedValue to allow different interpolators to store internal
8504 values next to each control point. From the outside everything is
8505 still a GstControlPoint so we don't loose binary compatibility.
8506 Also fixup all the GValue handling to not leak GValues or list nodes.
8507 * tests/check/libs/controller.c: (GST_START_TEST):
8508 Free the list nodes and GValues in the controller_misc test.
8510 2007-05-17 Edward Hervey <edward@fluendo.com>
8515 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8517 * gst/gstplugin.c: (gst_plugin_load_file):
8518 If we fail to load a plugin because of unresolved symbols or missing
8519 libraries and spew a warning to stderr, we may just as well mention
8520 which plugin it was that failed to load.
8522 2007-05-13 David Schleef <ds@schleef.org>
8524 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8525 handles the case when ENABLE_GTK_DOC is false, and installs
8526 the prebuilt documentation. So gtk-doc subdirs are
8527 unconditionally enabled. Fixes: #349099.
8529 2007-05-13 David Schleef <ds@schleef.org>
8531 * gst/gstutils.h: Reword some documentation.
8533 2007-05-12 David Schleef <ds@schleef.org>
8535 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8536 do anything with the passed "module" parameter, so remove it.
8537 Allows removal of additional vestigal code.
8539 2007-05-12 David Schleef <ds@schleef.org>
8542 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8543 Switch to using g_stat() because it's more portable.
8545 2007-05-12 David Schleef <ds@schleef.org>
8548 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8549 parsing for embedded systems.
8550 * gst/gstelementfactory.c:
8551 Allow gst_element_register() to be called with plugin==NULL.
8552 Did nobody notice that static elements were broken?
8554 2007-05-12 Wim Taymans <wim@fluendo.com>
8556 * tools/gst-launch.c: (event_loop):
8557 Give more interesting info when buffering starts and stops.
8558 Fix case where buffering starts but we fail to update the buffering flag
8559 because the target state is not PLAYING.
8561 2007-05-12 Wim Taymans <wim@fluendo.com>
8563 * plugins/elements/gstqueue.c: (gst_queue_init),
8564 (gst_queue_finalize), (update_time_level), (apply_segment),
8565 (apply_buffer), (gst_queue_locked_flush),
8566 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8567 (gst_queue_handle_sink_event), (gst_queue_chain),
8568 (gst_queue_push_one), (gst_queue_loop):
8569 * plugins/elements/gstqueue.h:
8570 Refactor an cleanup queue a bit.
8571 Do better time level calculations that also work when the srcpad is not
8573 Remove some unneeded debug lines.
8575 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8576 Added testcase for time level measurement.
8577 Try to make some stuff more racefree.
8579 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8581 * gst/gsturi.c: (gst_element_make_from_uri):
8582 Don't leak plugin feature.
8584 * tests/check/Makefile.am:
8585 * tests/check/gst/.cvsignore:
8586 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8587 Add brain-dead unit test.
8589 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8591 Patch by: Jeroen Wouters <woutersj at gmail com>
8593 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8594 Treat protocol strings in a case-insensitive way (#437563).
8596 2007-05-11 Michael Smith <msmith@fluendo.com>
8598 * gst/gstplugin.c: (gst_plugin_load_file):
8599 * gst/gstregistry.c: (gst_registry_scan_path_level):
8600 Don't print a g_warning for any failure to load a shared object.
8601 Instead, push this down into gstplugin.c, and warn _only_ if we
8602 failed to open the module (i.e. failure to link).
8603 Avoids warnings on normal, working, non-plugin .so files.
8605 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8607 * gst/gstplugin.c (gst_plugin_load_file):
8608 * gst/gstregistry.c (GST_CAT_DEFAULT,
8609 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8610 Print a g_warning if there was an error when loading a plugins during
8611 registry scan. The shuld help beginners starting with gst-plugin
8614 2007-05-10 Wim Taymans <wim@fluendo.com>
8616 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8617 (update_time_level), (gst_queue_locked_flush),
8618 (gst_queue_handle_sink_event), (gst_queue_chain),
8619 (gst_queue_push_one), (gst_queue_loop):
8620 * plugins/elements/gstqueue.h:
8621 Be smarter when calculating the current amount of data in the queue by
8622 measuring the difference between start and end timestamps (in running
8623 time) inside the queue. Fixes #432876.
8624 API: GstQueue::pushing to notify elements that we are pushing data again
8625 since the running signal is rather broken for this purpose.
8627 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8629 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8630 gst_queue_base_init, gst_queue_init):
8633 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8635 * win32/common/libgstreamer.def:
8636 Add new exported functions.
8637 * win32/vs6/grammar.dsp:
8638 Use grammar pre-generated files.
8640 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8642 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8645 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8647 * gst/gstutils.c: (gst_parse_bin_from_description):
8649 Maintain API and ABI when --disable-parse is used. Now that
8650 we have an appropriate error code, we can just return NULL and the
8651 appropriate error when gst_parse_launch() is used despite it having
8652 been disabled (#342564).
8654 * tests/check/Makefile.am:
8655 * tests/check/pipelines/.cvsignore:
8656 * tests/check/pipelines/parse-disabled.c:
8657 Make sure these functions exist and return NULL plus a GError when
8658 --disable-parse is used.
8660 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8662 * tests/benchmarks/complexity.c: (main):
8663 * tests/benchmarks/mass-elements.c: (main):
8664 Set a good example and don't leak messages.
8666 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8668 * docs/gst/Makefile.am:
8669 * docs/libs/Makefile.am:
8670 Correct fixxrefs options.
8672 * docs/plugins/Makefile.am:
8673 * docs/plugins/gstreamer-plugins-docs.sgml:
8674 * docs/plugins/gstreamer-plugins-sections.txt:
8675 * plugins/elements/Makefile.am:
8676 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8677 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8678 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8679 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8680 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8681 _GstCapsFilterClass, trans_class):
8682 * plugins/elements/gstelements.c (name, rank, type, _elements):
8683 * plugins/elements/gstidentity.c
8684 (gst_identity_check_imperfect_timestamp,
8685 gst_identity_check_imperfect_offset):
8686 Document capsfilter and add doc-blurb to identity.
8688 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8690 * libs/gst/controller/gstcontroller.c:
8691 (gst_controlled_property_set_interpolation_mode):
8692 * libs/gst/controller/gstinterpolation.c:
8693 Don't crash if someone tries to set an interpolation mode that
8694 is invalid or that isn't supported yet. Fixes #422295.
8696 * tests/check/libs/controller.c: (GST_START_TEST),
8697 (gst_controller_suite):
8698 Add a test case for the above.
8700 2007-05-03 Edward Hervey <edward@fluendo.com>
8702 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8703 Properly set the last_stop position on GstSegment. This will only happen
8704 if there is a buffer to push out.
8706 2007-05-03 Wim Taymans <wim@fluendo.com>
8708 * libs/gst/base/gstbasetransform.c:
8709 (gst_base_transform_buffer_alloc):
8710 always_in_place does not mean that the sink and source caps are the
8711 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8713 2007-05-03 Wim Taymans <wim@fluendo.com>
8715 * docs/libs/gstreamer-libs-sections.txt:
8716 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8717 (gst_base_src_default_query), (gst_base_src_get_range):
8718 * libs/gst/base/gstbasesrc.h:
8719 API: gst_base_src_query_latency(). Added method so that subclasses can
8720 easily get the latency values of the base source class.
8722 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8724 * tools/gst-inspect.c (print_implementation_info):
8727 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8729 * tools/Makefile.am:
8730 * tools/gst-launch.1.in:
8731 Don't create a customised man page based on the host architecture,
8732 describe the default registry path generically. That way the man
8733 page is the same for all architectures and packagers have one
8734 multilib issue less to deal with. Fixes #434926.
8736 2007-05-02 Wim Taymans <wim@fluendo.com>
8739 Fix documentation as spotted by rg on IRC.
8741 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8744 Improve docs for gst_element_{link,unlink}.
8746 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8748 * docs/design/part-events.txt:
8749 * docs/design/part-overview.txt:
8753 * libs/gst/base/gstbasesink.c:
8754 Typo fixes; minor docs addition.
8756 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8758 * docs/gst/gstreamer-sections.txt:
8759 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8760 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8762 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8763 or src that supports a given URI protocol exists.
8765 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8767 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8768 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8769 Set the location to NULL if "file://" is set as URI. Otherwise
8770 some random previous URI would still be set if "file://" is
8771 set on an already used filesink/filesrc.
8773 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8775 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8776 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8777 Special case the "file://" URI as as this is used by some
8778 applications to test with gst_element_make_from_uri if there's
8779 an element that supports the URI protocol.
8780 Also move the g_path_is_absolute() check for the location part
8781 of the URI to also check this for "file://localhost/bla" URIs.
8783 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8785 * docs/gst/gstreamer-sections.txt:
8786 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8788 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8790 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8792 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8794 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8795 (gst_registry_binary_load_pad_template),
8796 (gst_registry_binary_load_plugin),
8797 (gst_registry_binary_read_cache):
8798 * gst/gstregistrybinary.h:
8799 Implement no-mmap alternative for registry reading. Do code cleanups.
8800 Add more comments about avoiding strdups for all text data. Comments
8803 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8805 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8806 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8807 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8808 Comment structs and reformat to fix the build (that stuff should go
8809 into a priv. header).
8811 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8813 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8814 (gst_registry_binary_load_feature):
8815 * gst/gstregistrybinary.h:
8816 Refactor so that we can implement multiple features. Add support for
8817 TypeFindFactory features.
8819 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8821 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8824 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8826 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8828 * gst/gstbin.c: (gst_bin_element_set_state),
8829 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8830 (bin_handle_async_done), (gst_bin_handle_message_func):
8831 Fix build with --gst-disable-gst-debug
8833 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8835 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8836 Make sure streaming has finished before calling the ::stop() vfunc,
8837 since that vfunc might clear state which is being used in the
8838 streaming thread. This fixes a race that caused crashes in
8839 audioresample when shutting down a pipeline (#420106).
8841 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8843 * docs/gst/gstreamer-sections.txt:
8844 That was one byte missing.
8846 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8849 * docs/gst/gstreamer-sections.txt:
8851 * gst/gstconfig.h.in:
8852 * gst/gstobject.c: (gst_object_class_init),
8853 (gst_signal_object_class_init):
8855 2nd attempt to have a xml-less build as a joined effort of #413123
8858 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8860 * docs/design/draft-tagreading.txt:
8861 Added open issues/thoughts to draft.
8863 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8865 * gst/parse/grammar.tab.pre.c:
8866 * gst/parse/grammar.tab.pre.h:
8867 * gst/parse/lex._gst_parse_yy.pre.c:
8868 Update the prebuild parser sources.
8870 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8872 * gst/parse/Makefile.am:
8873 And now fix the building of the flex sources. Now everything should
8876 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8878 * gst/parse/Makefile.am:
8879 Now hopefully fix the build failures by setting proper rule
8880 dependencies and moving instead of copying.
8882 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8884 * tests/benchmarks/complexity.gnuplot:
8885 * tests/benchmarks/complexity.scm:
8886 * tests/benchmarks/mass-elements.gnuplot:
8887 * tests/benchmarks/mass-elements.scm:
8888 Total licensification.
8890 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8892 * gst/parse/Makefile.am:
8893 Fix the build by correcting the rule that gave wrong files to flex.
8895 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8897 * tests/benchmarks/complexity.c:
8898 * tests/benchmarks/mass-elements.c:
8899 Change licence to LGPL as granted by Benjamin and Andy.
8901 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8903 * gst/parse/Makefile.am:
8904 Add correct grammar.tab.h dependency if compiling without new enough
8905 flex. Fixes #431150.
8907 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8909 * gst/parse/Makefile.am:
8910 Fix typo and use outdated sources if the flex/bison sources are newer
8911 than the pregenerated ones but flex is too old. Print a warning in
8912 that case. This should fix the build on the build bot.
8914 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8916 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8917 * gst/parse/Makefile.am:
8918 * gst/parse/grammar.y:
8919 * gst/parse/parse.l:
8920 Make the parser reentrant and recursively callable. This requires flex
8921 >= 2.5.31, for older versions pregenerated sources are used as we
8922 can't bump the build dependency. Finally fixes #349180.
8924 * gst/gstparse.c: (gst_parse_launch):
8925 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8928 * docs/gst/Makefile.am:
8929 * docs/gst/Makefile.am:
8930 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8931 (__gst_parse_strfree), (__gst_parse_link_new),
8932 (__gst_parse_link_free), (__gst_parse_chain_new),
8933 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8934 (gst_parse_element_set), (gst_parse_free_link),
8935 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8936 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8937 (_gst_parse_launch):
8938 * gst/parse/grammar.tab.pre.h:
8939 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8940 (yy_get_previous_state), (yy_try_NUL_trans), (input),
8941 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8942 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8943 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8944 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8945 (_gst_parse_yypop_buffer_state),
8946 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8947 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8948 (yy_fatal_error), (_gst_parse_yyget_extra),
8949 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8950 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8951 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8952 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8953 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8954 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8955 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8956 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8957 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8958 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8959 (_gst_parse_yyfree):
8960 If the installed flex version is too old use pre-generated parser
8961 sources. These pre-generated parser sources are always updated when
8962 the actual flex/bison sources change but require everybody who wants
8963 to change something in the parser to have flex >= 2.5.31 installed.
8965 2007-04-18 Stefan Kost <ensonic@users.sf.net>
8967 * common/m4/gst-gettext.m4:
8968 * gst/gst-i18n-lib.h:
8969 Make --disable-nls to work
8971 2007-04-17 Wim Taymans <wim@fluendo.com>
8973 * gst/gstconfig.h.in:
8974 Revert previous change that broke the build.
8976 2007-04-17 Stefan Kost <ensonic@users.sf.net>
8980 * gst/gstconfig.h.in:
8981 Drop libxml2 dependency when building with
8982 --enable-binary-registry --disable-loadsave
8984 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
8986 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8987 (gst_registry_binary_read_cache):
8988 * gst/gstregistrybinary.h:
8989 Remove unnecessary <sys/mman.h> include which broke the win32 build
8990 with MingW; move includes from header file to .c file, even if the
8991 header file isn't installed; use g_strerror() where UTF-8 strings
8992 are expected, such as in GST_DEBUG messages.
8994 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8996 * docs/libs/gstreamer-libs-sections.txt:
8997 Remove bogus addition for API I didn't end up keeping.
8999 * libs/gst/base/gstbasesrc.h:
9000 Mention Since: 0.10.13 in the documentation.
9002 Add the API keyword to the previous ChangeLog entry.
9004 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9006 * docs/libs/gstreamer-libs-sections.txt:
9007 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9008 (gst_base_src_default_prepare_seek_segment),
9009 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9010 * libs/gst/base/gstbasesrc.h:
9011 Allow basesrc derived classes to execute seeks in other formats
9012 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9013 to prepare the GstSegment in any format that their perform_seek method
9014 will be able to understand. The default implementation provides the
9015 old behaviour of attempting to convert the seek offsets to the
9016 configured native format.
9018 API: basesrc::prepare_seek_segment vmethod.
9020 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9022 * gst/gstelement.c: (gst_element_get_state_func):
9023 Don't output the same debug statement twice.
9025 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9026 (gst_adapter_peek), (gst_adapter_take_buffer):
9027 Optimise the case where we have buffers at the head of the queue that
9028 can be joined quickly (because they're contiguous sub-buffers) by
9029 merging them together rather than copying data out into new memory.
9031 * gst/parse/grammar.y:
9032 * tests/check/pipelines/parse-launch.c:
9033 Fix a leak in an error path for parse_launch, and add a check
9034 for it to the testsuite.
9036 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9038 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9039 Don't deadlock when releasing a pad - gst_pad_set_active may try
9040 and take the multiqueue lock too.
9042 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9044 * gst/gsterror.c: (_gst_core_errors_init):
9046 API: add GST_CORE_ERROR_DISABLED (#392804).
9048 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9050 * docs/faq/gst-uninstalled:
9051 don't get empty paths on the PATH variables
9052 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9053 Don't format for the uncommon terminal width of 84 characters.
9055 2007-04-06 Wim Taymans <wim@fluendo.com>
9057 * gst/gstpipeline.c: (reset_stream_time),
9058 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9059 Only try to select a different pipeline clock when we went back to
9060 PAUSED and not when we merely got flushed.
9062 2007-04-05 Michael Smith <msmith@fluendo.com>
9064 * tools/gst-launch.1.in:
9065 fractions are better supported in gstreamer than ractions, so
9066 suggest using those.
9068 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9070 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9074 Added Danish translation.
9076 2007-04-05 Wim Taymans <wim@fluendo.com>
9078 * libs/gst/base/gstbasesink.c:
9079 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9080 Fix leak caused when refusing newsegment after EOS.
9082 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9083 (gst_fake_sink_init), (gst_fake_sink_set_property),
9084 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9085 (gst_fake_sink_render), (gst_fake_sink_change_state):
9086 * plugins/elements/gstfakesink.h:
9087 Add num-buffers property to make the element generate EOS after a
9088 configurable amount of buffers.
9089 API: fakesink::num-buffers property.
9091 * tests/check/elements/fakesink.c: (GST_START_TEST),
9093 Fix GstBus leak in test.
9094 Test for fakesink num-buffers.
9096 2007-04-05 Wim Taymans <wim@fluendo.com>
9098 * libs/gst/base/gstbasesink.c:
9099 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9100 (gst_base_sink_change_state):
9101 Don't accept anything after an EOS, return UNEXPECTED instead.
9103 * tests/check/elements/fakesink.c: (GST_START_TEST),
9105 Unit test for new EOS behaviour.
9107 2007-04-05 Wim Taymans <wim@fluendo.com>
9109 * gst/gstelement.c: (gst_element_get_request_pad):
9110 Make padtemplates also work when they don't contain %s or %d.
9112 2007-04-05 Wim Taymans <wim@fluendo.com>
9114 * docs/gst/gstreamer-sections.txt:
9115 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9116 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9118 Improve _adjust_unlocked() so that it overflows less.
9119 Add gst_clock_unadjust_unlocked to convert from external time to
9120 internal time based on calibration.
9121 Add some more debug.
9122 API: GstClock::gst_clock_unadjust_unlocked()
9124 2007-04-03 Wim Taymans <wim@fluendo.com>
9126 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9128 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9129 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9130 when releasing sink pad. Fixes #425400.
9132 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9134 * docs/random/ensonic/dynlink.txt:
9135 More work on proposal for new core api.
9137 * docs/libs/gstreamer-libs-sections.txt:
9138 * libs/gst/base/gstbasetransform.h:
9139 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9141 * libs/gst/controller/gstcontroller.c:
9142 (on_object_controlled_property_changed),
9143 (gst_controller_sync_values),
9144 (gst_controller_set_interpolation_mode):
9145 * libs/gst/controller/gstcontroller.h:
9146 Less verbose logging add docs for unimplemented parts and correctly
9147 return when using unavailable parts.
9149 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9151 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9152 Move all the debug to the CLOCK category, and associate it with
9155 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9157 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9158 Make take_buffer a bit quicker by removing redundant checks
9159 caused by calling gst_adapter_take.
9161 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9163 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9166 * tests/check/Makefile.am:
9167 * tests/check/elements/.cvsignore:
9168 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9169 (GST_START_TEST), (multiqueue_suite):
9170 Add some dead simple unit tests for the 'multiqueue' element
9171 (some bits don't work yet and are disabled for now).
9173 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9175 * gst/gstelement.c: (gst_element_get_request_pad),
9176 (gst_element_class_get_request_pad_template):
9177 Make gst_element_get_request_pad() create request pads only for
9178 request pad templates and not for, say, sometimes pad templates.
9180 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9182 * docs/design/draft-klass.txt:
9183 Add example that needs more thinking.
9185 * docs/design/draft-missing-plugins.txt:
9186 More thoughts about wrapper plugins.
9188 * docs/random/ensonic/embedded.txt:
9189 * docs/random/ensonic/profiling.txt:
9192 2007-03-25 Wim Taymans <wim@fluendo.com>
9194 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9195 (gst_base_src_loop):
9196 Only push the segment events in the PLAYING state for live sources.
9198 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9200 * gst/gstpipeline.c: (gst_pipeline_change_state):
9201 Modify the clock distribution path in PAUSED->PLAYING so that we
9202 never attempt to choose a new clock unless we're actually leaving
9203 the PAUSED state for the first time. This prevents choosing a
9204 different clock when the state_change gets called for a 2nd time due
9205 to some element doing an async state change.
9207 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9209 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9210 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9211 (gst_pad_chain_unchecked), (gst_pad_push):
9212 Revert last commit. This needs some more thoughts.
9214 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9216 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9217 (gst_pad_chain_unchecked), (gst_pad_push):
9218 Check in set_caps if the caps are compatible with the pad and remove
9219 two functions that are redundant now. Fixes #421543.
9221 2007-03-22 Wim Taymans <wim@fluendo.com>
9223 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9224 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9225 Unref some more to make valgrind happy.
9227 2007-03-22 Wim Taymans <wim@fluendo.com>
9229 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9230 (gst_system_clock_id_wait_jitter),
9231 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9232 Fix anoying regression that survived a few releases. When adding an
9233 async entry while blocking on a sync entry, the sync entry will unblock
9234 but still be busy, so it should continue to wait instead of returning
9236 Add some comments here and there.
9238 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9239 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9240 Add testcase for this.
9242 2007-03-22 Wim Taymans <wim@fluendo.com>
9244 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9245 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9246 WRONG_STATE and can silently pause the task. All other cases should
9249 2007-03-22 Wim Taymans <wim@fluendo.com>
9251 Patch by: Ville Syrjala <syrjala at sci dot fi>
9253 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9254 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9257 2007-03-21 Michael Smith <msmith@fluendo.com>
9259 * docs/pwg/advanced-types.xml:
9260 Fix some errors in the typefinding docs pointed out on irc.
9262 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9264 * libs/gst/base/gstbasesrc.c:
9265 Clarify FIXME comment in the face of having added unlock_stop()
9267 2007-03-21 Wim Taymans <wim@fluendo.com>
9269 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9270 Prepare for release where we warn against possible app breakage in the
9271 case of live pipelines along with an env var to enable/disable live
9272 preroll mode (GST_COMPAT=[no-]live-preroll).
9274 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9276 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9277 So we should use correct constants for checking for None offset.
9279 2007-03-20 Wim Taymans <wim@fluendo.com>
9281 * docs/design/part-block.txt:
9282 Mention the fact that the newly switched element should be set to at
9285 2007-03-20 Wim Taymans <wim@fluendo.com>
9288 Fix compilation with registry disabled as spotted by Saur.
9290 2007-03-20 Wim Taymans <wim@fluendo.com>
9292 Patch by: Olivier Crete <tester at tester dot ca>
9294 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9295 Look at the pending state too when syncing the element state to the
9296 parent. Fixes #420133.
9298 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9300 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9301 (gst_base_sink_change_state):
9302 * libs/gst/base/gstbasesink.h:
9303 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9304 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9305 (gst_base_src_deactivate):
9306 * libs/gst/base/gstbasesrc.h:
9307 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9308 for sub-classes to correctly clear any state they set trying to
9309 unlock, such as clearing out unlock commands from a command fd.
9310 API: basesrc::unlock_stop
9311 API: basesink::unlock_stop
9313 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9314 (gst_fd_sink_render), (gst_fd_sink_unlock),
9315 (gst_fd_sink_unlock_stop):
9316 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9317 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9318 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9320 Implement unlock_stop in fdsrc and fdsink.
9321 Implement seeking in fdsrc when a seekable fd is passed, as in
9322 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9324 2007-03-19 Wim Taymans <wim@fluendo.com>
9326 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9328 * gst/gstelement.c: (gst_element_class_init):
9329 Fix pad-added and pad-removed signal signatures so that the pad type is
9330 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9332 2007-03-19 Wim Taymans <wim@fluendo.com>
9334 * docs/gst/gstreamer-sections.txt:
9335 Add new element field and method.
9337 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9338 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9339 (gst_bin_recalc_state), (gst_bin_get_state_func),
9340 (gst_bin_element_set_state), (gst_bin_change_state_func),
9341 (gst_bin_continue_func), (bin_bus_handler),
9342 (bin_push_state_continue), (bin_handle_async_start),
9343 (bin_handle_async_done), (gst_bin_handle_message_func):
9344 Make async state changes a bit smarter by using new ASYNC_START and
9345 ASYNC_DONE messages. This reduces the number of times we run the state
9346 recalculation thread.
9347 Don't change state of element with a pending ASYNC_START message.
9348 Deprecate STATE_DIRTY messages.
9350 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9351 (gst_element_get_state_func), (gst_element_continue_state),
9352 (gst_element_lost_state), (gst_element_set_state_func),
9353 (gst_element_change_state):
9355 Keep the state that was last set by the app in a new element field.
9356 Don't allow state changes when handling an element event.
9357 Post ASYNC_START and ASYNC_DONE messages.
9358 Change lost_state so that we go to PAUSED and wait for the parent to set
9359 us to PLAYING again (so latency calculation can be performed)
9360 Export gst_element_change_state() method so that subclasses can use it.
9361 API: gst_element_change_state()
9362 API: GST_STATE_TARGET
9364 * gst/gstpipeline.c: (gst_pipeline_class_init),
9365 (reset_stream_time), (gst_pipeline_change_state),
9366 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9367 Using the new ASYNC_START message we can reset the base_time when
9368 needed. This can then be used to implement base_time redistribution in
9369 flushing seeks so that we can remove the explicit seek handling.
9370 Perform latency query and configuration when going to PLAYING.
9372 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9373 (gst_base_sink_query), (gst_base_sink_change_state):
9374 Post new ASYNC_START/ASYNC_DONE messages.
9376 * tests/check/generic/sinks.c: (GST_START_TEST):
9377 Fix test because the bin will not set the async element to PLAYING right
9380 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9381 Make the message check a little stronger.
9382 Handle ASYNC messages.
9384 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9385 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9386 Expect ASYNC_DONE messages.
9388 2007-03-19 Wim Taymans <wim@fluendo.com>
9390 * docs/gst/gstreamer-sections.txt:
9391 * gst/gstmessage.c: (gst_message_new_async_start),
9392 (gst_message_new_async_done), (gst_message_parse_info),
9393 (gst_message_parse_async_start):
9395 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9398 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9400 * tools/gst-inspect.c:
9401 (print_plugin_automatic_install_info_codecs):
9402 Now that we don't check for the 'Codec' keyword any longer in the
9403 klass, we shouldn't spew a warning if the klass isn't a decoder or
9404 encoder (since it might be a Source/Network, for example).
9406 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9408 * tools/gst-inspect.c:
9409 (print_plugin_automatic_install_info_codecs):
9410 Don't require decoder/demuxer/depayloader elements or
9411 encoder/muxer/paylader elements to have 'Codec' as part of their
9412 factory class string when introspecting a plugin's capabilities.
9413 draft-klass.txt mentions that it might be removed in future, and
9414 flump3dec doesn't have it as part of its class string, so chances
9415 are others might also not have it.
9417 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9439 Update translations from translation project
9441 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9443 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9444 (gst_child_proxy_set_property):
9445 Invert precondition check to be alike the ones in the mimiced gobject
9448 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9450 * docs/design/draft-tagreading.txt:
9451 * docs/random/ensonic/audiobaseclasses.txt:
9452 Do some Architect work.
9454 * gst/gstobject.c: (gst_object_set_name):
9458 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9460 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9462 * gst/gstsystemclock.c: (gst_system_clock_init),
9463 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9464 Defer starting the async system clock thread until the first async
9465 wait is scheduled. Fixes #414986.
9467 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9469 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9470 (gst_single_queue_free):
9471 Fix small leak (free GstSingleQueue structure too, not only contents).
9473 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9475 * gst/gstbin.c:(gst_bin_add):
9476 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9477 * win32/common/libgstbase.def:
9478 * win32/common/libgstreamer.def:
9479 Add new exported functions.
9481 2007-03-09 Wim Taymans <wim@fluendo.com>
9483 * docs/plugins/gstreamer-plugins-sections.txt:
9486 2007-03-09 Wim Taymans <wim@fluendo.com>
9488 * docs/gst/gstreamer-sections.txt:
9489 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9491 Add metadata copy functions. Fixes #393099.
9492 API: gst_buffer_copy_metadata()
9494 * gst/gstutils.c: (gst_buffer_stamp):
9495 * libs/gst/base/gstbasetransform.c:
9496 (gst_base_transform_prepare_output_buffer):
9497 Use new metadata copy functions.
9499 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9501 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9502 (gst_identity_init), (gst_identity_check_perfect),
9503 (gst_identity_check_imperfect_timestamp),
9504 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9505 (gst_identity_set_property), (gst_identity_get_property):
9506 * plugins/elements/gstidentity.h:
9507 Separate out check-imperfect-timestamp and check-imperfect-offset.
9508 Put back check-perfect as it was to keep compatibility.
9510 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9512 * gst/gstelement.c: (gst_element_dispose):
9513 There's no need to warn if VOID_PENDING is not NONE here, as
9514 long as the state is NULL it's ok, and that's checked immediately
9517 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9519 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9520 Fix check for perfect stream to ignore buffers with -1
9521 offsets/offset ends when checking data contiguity.
9523 2007-03-08 Wim Taymans <wim@fluendo.com>
9525 * tools/gst-launch.c: (event_loop):
9526 Print INFO messages.
9528 2007-03-08 Wim Taymans <wim@fluendo.com>
9530 * libs/gst/base/gstbasetransform.c:
9531 (gst_base_transform_sink_eventfunc),
9532 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9533 (gst_base_transform_activate):
9534 * libs/gst/base/gstbasetransform.h:
9535 Add support for dropping buffers with custom GstFlowReturn.
9536 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9537 buffers or dropped buffers.
9539 * docs/libs/gstreamer-libs-sections.txt:
9540 docs for new custom return code.
9542 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9543 Use drop support in base class to implement drop-probability.
9545 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9547 * gst/gst.c: (load_plugin_func):
9548 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9549 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9550 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9551 Remove newlines at end of debug log strings.
9553 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9555 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9556 Only post bus message at max, once per buffer received.
9558 2007-03-07 Wim Taymans <wim@fluendo.com>
9560 * docs/design/Makefile.am:
9561 * docs/design/part-synchronisation.txt:
9562 Add doc about synchronisation
9564 * docs/design/draft-latency.txt:
9565 * docs/design/part-TODO.txt:
9566 * docs/design/part-clocks.txt:
9567 * docs/design/part-events.txt:
9568 * docs/design/part-gstbus.txt:
9569 * docs/design/part-gstpipeline.txt:
9570 * docs/design/part-live-source.txt:
9571 * docs/design/part-messages.txt:
9572 * docs/design/part-overview.txt:
9573 * docs/design/part-streams.txt:
9574 * docs/design/part-trickmodes.txt:
9575 Documentation updates.
9577 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9580 Update the doap file.
9582 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9584 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9585 Rename non-perfect to imperfect for Mike and for the sanctity of the
9587 Also make sure bus message gets emitted for data-incontiguities.
9589 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9591 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9592 (gst_identity_start):
9593 * plugins/elements/gstidentity.h:
9594 Emit bus message if check-perfect is true and we encounter a
9595 non-perfect stream between 2 consecutive buffers.
9598 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9603 === release 0.10.12 ===
9605 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9608 releasing 0.10.12, "Inevitable Demise"
9610 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9613 Version 0.10.11.2 (0.10.12 pre-release)
9614 Bump libtool versioning.
9616 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9618 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9619 Log flow-names and not numbers.
9621 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9624 Convert to new AG_GST style.
9626 2007-02-28 Wim Taymans <wim@fluendo.com>
9628 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9629 Don't unref query twice.
9631 2007-02-28 Wim Taymans <wim@fluendo.com>
9633 * gst/gstvalue.c: (gst_value_transform_object_string),
9634 (_gst_value_initialize):
9635 Implement GstObject -> string transform so we print object names
9636 when serializing GValues containing GstObjects.
9638 2007-02-28 Wim Taymans <wim@fluendo.com>
9640 * docs/gst/gstreamer-sections.txt:
9641 Add new stuff to docs.
9643 2007-02-28 Wim Taymans <wim@fluendo.com>
9645 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9646 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9647 (gst_base_sink_change_state):
9648 Improve latency query code.
9649 Don't leak latency events.
9651 * tests/check/gst/gstbin.c: (GST_START_TEST):
9654 2007-02-28 Wim Taymans <wim@fluendo.com>
9656 * gst/gstelement.c: (gst_element_message_full),
9657 (gst_element_get_state_func):
9659 Improve docs a little. Added Since: for new macro.
9661 * gst/gstobject.c: (gst_object_sink):
9662 * gst/gstpipeline.c: (gst_pipeline_change_state),
9663 (gst_pipeline_set_new_stream_time):
9664 * gst/gstpipeline.h:
9665 Improve debugging and docs.
9667 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9670 2007-02-28 Wim Taymans <wim@fluendo.com>
9672 * gst/gstelement.c: (gst_element_message_full),
9673 (gst_element_set_locked_state), (gst_element_get_state_func),
9674 (gst_element_change_state):
9675 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9676 Documentation updates.
9677 Small code cleanups.
9679 * gst/gstmessage.c: (gst_message_new_info),
9680 (gst_message_parse_info):
9682 API: gst_message_new_info()
9683 API: gst_message_parse_info()
9684 Add INFO message create and parse code.
9686 2007-02-28 Wim Taymans <wim@fluendo.com>
9688 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9689 (bin_query_latency_done):
9690 Also report the live parameter of a latency query.
9692 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9694 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9695 Copy the current generic/states example from -base and adapt so
9696 we can use the exact same code everywhere.
9697 Check a STATES_IGNORE_ELEMENTS env var which can be used
9698 to ignore certain element factories for this test, which is
9699 what is being done in -base
9700 * tests/check/Makefile.am:
9701 Mention this environment variable.
9703 2007-02-27 Wim Taymans <wim@fluendo.com>
9705 * docs/gst/gstreamer-sections.txt:
9706 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9707 (gst_bus_timed_pop), (gst_bus_pop):
9709 API: gst_bus_timed_pop()
9710 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9711 message to arrive on the bus.
9713 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9715 Two unit tests for new _timed_pop() function.
9717 2007-02-23 Wim Taymans <wim@fluendo.com>
9719 * gst/gstpipeline.c: (gst_pipeline_change_state),
9720 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9721 Don't ref a NULL clock in _provide_clock_func().
9722 Don't allow an INVALID delay.
9723 Don't try to calculate base_time with an invalid start_time.
9724 Also distribute and notify a NULL clock when it was selected.
9726 * tools/gst-launch.c: (event_loop):
9727 Don't crash when a NULL clock was selected in the pipeline.
9729 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9731 * docs/design/Makefile.am:
9732 * docs/design/draft-missing-plugins.txt:
9733 * docs/random/draft-missing-plugins.txt:
9734 Some small updates: update plugin system identifier prefix
9735 ('gstreamer.net' to 'gstreamer'), mention our new install
9736 API in libgstbaseutils rather than libgimme-codec, add
9737 reference to the online docs.
9739 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9741 * win32/common/config.h:
9742 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9743 use moap cl ci to only check in what is mentioned in the ChangeLog.
9745 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9747 * docs/gst/gstreamer-sections.txt:
9749 Fix up documentation to link to the correct GstGError section.
9750 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9752 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9754 * tools/gst-launch.c: (event_loop):
9755 Make sure that we actually show the important message part of a
9757 No need to check if the gerror is not NULL to free; first of all
9758 g_free accepts NULL; and second the default error handler would
9759 segfault if gerror was NULL.
9761 2007-02-21 Wim Taymans <wim@fluendo.com>
9763 * docs/gst/gstreamer-sections.txt:
9764 Removed docs as well.
9766 2007-02-21 Wim Taymans <wim@fluendo.com>
9768 * gst/gstmessage.c: (gst_message_parse_duration):
9770 Remove new messages for release.
9772 2007-02-20 Wim Taymans <wim@fluendo.com>
9774 * docs/design/part-gstghostpad.txt:
9775 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9776 (gst_ghost_pad_new_full):
9777 Make the ghostpad a parent of the internal pad again for better backward
9778 compatibility. Don't write code that relies on this however.
9780 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9781 (gst_pad_link_check_hierarchy):
9782 Require that parents should be GstElements in the hierarchy check.
9784 2007-02-20 Wim Taymans <wim@fluendo.com>
9786 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9787 (gst_bin_change_state_func), (bin_query_min_max_init),
9788 (bin_query_latency_fold), (bin_query_latency_done),
9791 Implement latency query.
9793 2007-02-20 Wim Taymans <wim@fluendo.com>
9795 * docs/design/part-gstghostpad.txt:
9796 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9797 (gst_ghost_pad_internal_do_activate_push),
9798 (gst_ghost_pad_internal_do_activate_pull),
9799 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9800 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9801 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9802 Do not set the internal pad as a parent anymore so we can avoid
9803 hierarchy linking errors when the ghostpad has no parent yet. This also
9804 fixes failed activation because of unlinked internal pads, which in
9805 turn fixes the impossible case where you have to activate a pad before
9806 you can add it to a running element.
9809 * gst/gstpad.c: (pre_activate), (post_activate),
9810 (gst_pad_set_active), (gst_pad_activate_pull),
9811 (gst_pad_activate_push), (gst_pad_check_pull_range):
9812 Add some more debug info.
9813 Mark activation mode in pre_activate so that we don't try to activate in
9814 endless loops. Fixes #385084.
9816 2007-02-19 Wim Taymans <wim@fluendo.com>
9818 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9819 (gst_base_transform_check_get_range):
9820 Implement a checkgetrange function instead of relying on the default
9821 core behaviour that assumes we can operate in pull mode if we have a
9822 getrange function. First step at fixing #385084.
9824 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9826 * gst/gstchildproxy.h:
9827 * libs/gst/base/gstbasesink.h:
9828 * libs/gst/base/gstbasesrc.h:
9829 * libs/gst/base/gstbasetransform.h:
9830 More docs coverage and some ChangeLog surgery (add missing names)
9832 2007-02-15 Wim Taymans <wim@fluendo.com>
9834 * docs/design/part-TODO.txt:
9835 * docs/design/part-activation.txt:
9836 * docs/design/part-block.txt:
9837 * docs/design/part-buffering.txt:
9838 * docs/design/part-clocks.txt:
9839 * docs/design/part-element-source.txt:
9840 * docs/design/part-events.txt:
9841 * docs/design/part-gstbin.txt:
9842 * docs/design/part-gstbus.txt:
9843 * docs/design/part-gstpipeline.txt:
9844 * docs/design/part-live-source.txt:
9845 * docs/design/part-messages.txt:
9846 * docs/design/part-overview.txt:
9847 * docs/design/part-qos.txt:
9848 * docs/design/part-query.txt:
9849 * docs/design/part-states.txt:
9850 * docs/design/part-trickmodes.txt:
9851 Some doc updates. Start renaming from stream_time to running_time where
9852 it was used wrongly.
9854 2007-02-15 Wim Taymans <wim@fluendo.com>
9856 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9857 Answer LATENCY query.
9859 2007-02-15 Wim Taymans <wim@fluendo.com>
9861 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9865 2007-02-15 Wim Taymans <wim@fluendo.com>
9867 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9868 (gst_pad_dispatcher):
9869 Improve debugging of default pad dispatcher and query functions.
9871 2007-02-15 Wim Taymans <wim@fluendo.com>
9873 * docs/gst/gstreamer-sections.txt:
9874 Remove old unused method.
9876 2007-02-13 Wim Taymans <wim@fluendo.com>
9878 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9881 2007-02-13 Wim Taymans <wim@fluendo.com>
9883 * docs/design/part-seeking.txt:
9886 * gst/gstsegment.c: (gst_segment_set_seek):
9887 Revert old bogus change that should make seeking work again.
9889 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9891 * docs/random/ensonic/dynlink.txt:
9892 * docs/random/ensonic/interfaces.txt:
9893 * docs/random/ensonic/receipies.txt:
9894 Possible dynamic reconnection api, plus some type fixes the other two
9897 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9899 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9900 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9901 Also check for an absolute path following file:// in the filesrc
9902 element. Remove redundant check and call g_path_is_absolute() on the
9905 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9907 * docs/design/draft-klass.txt:
9908 Add existing category analysis.
9911 Fix doc example, framerate is a fraction.
9913 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9916 * docs/gst/Makefile.am:
9917 * docs/gst/gstreamer-sections.txt:
9918 * docs/libs/Makefile.am:
9919 Erm, forgot a bunch of --extra-dir.
9921 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9924 * docs/gst/Makefile.am:
9925 * docs/libs/Makefile.am:
9926 * docs/plugins/Makefile.am:
9927 Add crossreferences to glib/gobject docs.
9929 2007-02-12 Wim Taymans <wim@fluendo.com>
9931 * docs/design/draft-latency.txt:
9934 * docs/libs/gstreamer-libs-sections.txt:
9935 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9936 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9937 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9938 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9939 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9940 (gst_base_sink_get_position), (gst_base_sink_query),
9941 (gst_base_sink_change_state):
9942 * libs/gst/base/gstbasesink.h:
9943 API: gst_base_sink_query_latency() to let subclasses query the upstream
9945 API: gst_base_sink_get_latency() to let subclasses query the configured
9946 latency in the sink.
9947 Implement query and set latency.
9949 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9950 don't continue preroll when we are flushing. Fixes #405284.
9952 * tests/check/pipelines/stress.c: (change_state_timeout),
9953 (quit_timeout), (GST_START_TEST), (stress_suite):
9956 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
9958 Patch by: René Stadler <mail at renestadler de>
9960 * docs/gst/gstreamer-sections.txt:
9961 * gst/gsttaglist.c: (_gst_tag_initialize):
9963 API: add GST_TAG_REFERENCE_LEVEL (#403597).
9965 2007-02-11 Stefan Kost <ensonic@users.sf.net>
9967 * docs/libs/Makefile.am:
9968 Fix path to core docs.
9970 * gst/gstbin.c: (gst_bin_get_by_interface),
9971 (gst_bin_iterate_all_by_interface):
9972 Refix docs by also renaming 'interface' to 'iface' in implementation.
9974 * docs/gst/gstreamer-sections.txt:
9976 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9977 * gst/gstchildproxy.h:
9978 * gst/gstelementfactory.c:
9979 * gst/gstpadtemplate.h:
9980 * libs/gst/controller/gstcontroller.c:
9981 (gst_controlled_property_new):
9984 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
9986 * gst/gstbin.h:(gst_bin_get_by_interface),
9987 (gst_bin_iterate_all_by_interface):
9988 Replace interface parameter name by iface as interface is
9989 a reserved keyword in Visual Studio for C++ projects so it removes
9990 a build error for application developpers using VS.
9991 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9992 Fix a bug on Windows in uri format check. Now the prefix checked
9993 is file:// and next we check if the path after file:// is absolute.
9994 * win32/common/libgstbase.def:
9995 * win32/common/libgstdataprotocol.def:
9996 * win32/common/libgstgstreamer.def:
9997 Add new exported functions.
9999 2007-02-09 Andy Wingo <wingo@pobox.com>
10001 * tests/check/pipelines/simple-launch-lines.c
10002 (simple_launch_lines_suite, test_tee): Disable tee test until I
10003 have time to fix it :-(
10005 * tests/check/Makefile.am (noinst_HEADERS):
10006 * tests/check/libs/libsabi.c:
10007 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10008 * tests/check/gst/gstabi.c:
10009 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10011 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10012 tests for push and pull tee behavior.
10014 * plugins/elements/gsttee.h:
10015 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10016 mark as deprecated as well as unimplemented. It was a crack idea.
10017 Add support for tee operating in pull mode, off by default.
10019 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10020 normal-case logs down to LOG, raise errors to WARNING.
10021 (gst_registry_xml_read_cache): Don't log before calling a function
10024 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10025 exit (registry finalize).
10026 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10027 DEBUG log when we emit signals that people don't even have the
10028 chance to connect to.
10029 (gst_registry_scan_path_level): Less logging in the normal case.
10031 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10033 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10035 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10036 Correctly generate EOS for non-seekable files. We don't have a total
10037 length for them and would get an unexpected end of file if we only
10038 special-cased for regular files. (Fixes: #404569)
10040 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10042 * tests/check/elements/filesrc.c: (GST_START_TEST),
10044 Add unit test for the GstURIHandler interface in filesrc. This also
10045 tests the newly added file://localhost/foo/bar support.
10047 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10049 * gst/gstelementfactory.h:
10050 The klass string is not a hierarchy. Add reference to the design doc
10051 for more information and common types.
10053 2007-02-02 Wim Taymans <wim@fluendo.com>
10055 * gst/gstquery.c: (gst_query_new_latency):
10056 Remove old structure field.
10058 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10060 * tools/gst-launch.1.in:
10061 Give example for network streaming (#351998)
10063 2007-02-02 Wim Taymans <wim@fluendo.com>
10065 * docs/gst/gstreamer-sections.txt:
10066 Add docs for new methods.
10068 * gst/gstevent.c: (gst_event_new_latency),
10069 (gst_event_parse_latency):
10071 Add new LATENCY event to configure latency in a pipeline.
10072 API: gst_event_new_latency
10073 API: gst_event_parse_latency
10075 * gst/gstmessage.c: (gst_message_new_buffering),
10076 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10077 (gst_message_new_latency), (gst_message_parse_buffering),
10078 (gst_message_parse_lost_preroll):
10079 * gst/gstmessage.h:
10080 Added messages used in draft-latency.
10081 API: gst_message_new_lost_preroll
10082 API: gst_message_parse_lost_preroll
10083 API: gst_message_new_prerolled
10084 API: gst_message_new_latency
10086 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10087 (gst_query_parse_latency):
10089 Implemented new latency query as in design doc.
10090 API: gst_query_new_latency
10091 API: gst_query_set_latency
10092 API: gst_query_parse_latency
10094 2007-02-02 Wim Taymans <wim@fluendo.com>
10096 * docs/design/draft-latency.txt:
10097 Slight redesign to allow for dynamic latency adjustments.
10099 * docs/design/part-negotiation.txt:
10102 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10104 reviewed by: Wim Taymans <wim@fluendo.com>
10106 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10107 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10108 Allow file://localhost/foo/bar URLs and correctly fail for every other
10109 hostname that one sets. This was gnomevfssrc is linked for those if
10110 installed as it can handle it (#403172)
10112 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10114 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10116 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10117 (unref_data), (gst_collect_pads_add_pad_full):
10118 * libs/gst/base/gstcollectpads.h:
10119 Don't put the previously added destroy notify in the GstCollectData
10120 struct as all it's padding is already used and we don't want to break
10121 ABI. Instead put in the pad's GObject data for now. This should be
10122 cleaned up for 0.11 (#402393).
10124 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10126 reviewed by: Wim Taymans <wim@fluendo.com>
10128 * docs/libs/gstreamer-libs-sections.txt:
10129 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10130 (unref_data), (gst_collect_pads_add_pad),
10131 (gst_collect_pads_add_pad_full):
10132 * libs/gst/base/gstcollectpads.h:
10133 API: Add function to specify a destroy notification for custom
10134 GstCollectData when adding new pads in GstCollectPads (#402393).
10136 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10139 Update Swedish translation (#378255).
10141 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10143 * docs/design/draft-klass.txt:
10144 Fix the previous change, this is a list of categories and not a hierarchy.
10146 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10148 * docs/design/draft-klass.txt:
10149 Add info about how to get a list of used classes.
10151 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10153 * plugins/elements/gsttypefindelement.c:
10154 (gst_type_find_element_chain_do_typefinding),
10155 (gst_type_find_element_change_state):
10156 Don't leak found caps in chain function (no idea why that never
10157 showed up as a leak anywhere).
10159 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10162 Fix and expand GstPluginDesc API docs.
10164 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10167 * gst/gstelementfactory.c:
10168 * gst/gstpadtemplate.h:
10171 * libs/gst/controller/gstcontroller.c:
10172 (gst_controlled_property_new):
10173 * tests/examples/controller/audio-example.c:
10176 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10179 comment about refining the xml deps
10181 * docs/manuals.mak:
10182 comments about moving away from jade for docs
10185 recommit the ifdefs to use the binary registry
10187 * gst/gstbin.c: (gst_bin_change_state_func):
10188 this break is obsolete
10190 * gst/gstelementfactory.h:
10191 better GST_ELEMENT_DETAILS docs, add comment about translation
10196 * gst/gstobject.c: (gst_signal_object_get_type):
10197 add G_UNLIKELY as usual
10199 * gst/gstpad.c: (gst_pad_event_default):
10200 add fall trhu comment
10202 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10203 (gst_registry_binary_initialize_magic),
10204 (gst_registry_binary_save_string),
10205 (gst_registry_binary_save_pad_template),
10206 (gst_registry_binary_save_feature),
10207 (gst_registry_binary_save_plugin),
10208 (gst_registry_binary_write_cache),
10209 (gst_registry_binary_check_magic),
10210 (gst_registry_binary_load_pad_template),
10211 (gst_registry_binary_load_feature),
10212 (gst_registry_binary_load_plugin),
10213 (gst_registry_binary_read_cache):
10214 comment typo and formatting
10216 * gst/gstutils.c: (gst_element_state_get_name),
10217 (gst_element_state_change_return_get_name):
10218 remove obsolete breaks
10220 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10221 add FIXME 0.11 and remove cpp comment
10223 2007-01-29 Edward Hervey <edward@fluendo.com>
10225 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10226 Fix print statement in an even more portable way.
10228 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10230 * docs/gst/gstreamer-sections.txt:
10232 API: add GST_ROUND_DOWN_* macros (#401781).
10234 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10236 * docs/gst/gstreamer.types.in:
10237 * gst/gstregistry.c: (gst_registry_class_init):
10238 Document registry signals and make gtk-doc pick them up (#401381).
10240 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10242 * docs/pwg/building-testapp.xml:
10243 Add some audioconverts and audioresample to the pipeline, and some
10244 more comments and error handling.
10246 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10248 * docs/manual/manual.xml:
10249 * docs/pwg/pwg.xml:
10250 Fix typo (#400987).
10252 2007-01-26 Wim Taymans <wim@fluendo.com>
10254 * gst/gstcaps.c: (gst_static_caps_get):
10255 Init caps flags too.
10257 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10259 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10261 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10262 If not using mmap'ed files try to seek to the end instead of the
10263 start to determine whether we can seek at all. This fixes the case
10264 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10265 seeks for everything afterwards fail. Fixes #400656
10267 2007-01-25 Wim Taymans <wim@fluendo.com>
10269 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10270 Add some refcount debugging.
10271 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10272 in multiple streaming threads.
10274 2007-01-25 Wim Taymans <wim@fluendo.com>
10276 Patch by: David Schleef <ds at schleef dot org>
10278 * docs/libs/gstreamer-libs-sections.txt:
10279 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10280 * libs/gst/base/gstadapter.h:
10281 API: gst_adapter_copy() that can reduce the amount of memcpy when
10282 getting data from the adapter. Fixes #388201.
10284 2007-01-25 Edward Hervey <edward@fluendo.com>
10286 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10287 In print statements, "%x" is for guint. Fixes build on macosx.
10289 2007-01-24 Edward Hervey <edward@fluendo.com>
10291 * plugins/elements/gstmultiqueue.c:
10292 (gst_multi_queue_loop):
10294 (single_queue_overrun_cb), (single_queue_underrun_cb),
10295 (single_queue_check_full), (gst_single_queue_new):
10296 Implement single queue growth system.
10297 This uses the extra-size properties, and will grow single queues by
10298 that much if one goes full whereas there are others empty. This is
10299 called extra-mode in the code.
10300 When a single queue's levels go back below the initial max-size
10301 limits, it is no longer in extra-mode. This is to ensure we don't
10302 consume too much memory.
10305 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10307 * gst/gst.c: (gst_init_get_option_group):
10308 Make warning about late g_thread_init() calls a bit more explicit,
10309 so that it's more obvious to application developers what they need
10310 to do if a user files a bug against their application.
10312 2007-01-22 Edward Hervey <edward@fluendo.com>
10314 * plugins/elements/gstmultiqueue.c:
10315 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10316 Remove previous hack of unsetting the flushing flag for the source pad
10317 instead of activating it. Instead, fix the source pad activate function
10318 so that it no longer depends on having a parent set or not.
10320 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10322 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10324 * docs/manual/basics-bus.xml:
10325 Fix example code, gst_element_unref() doesn't exist any longer.
10327 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10329 Patch by: Mark Nauwelaerts <manauw at skynet be>
10332 Fix two docs typoes (#399094).
10334 2007-01-19 Edward Hervey <edward@fluendo.com>
10336 * docs/faq/gst-uninstalled:
10337 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10338 depending on libgstbaseutils can work in uninstalled environment.
10340 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10342 * gst/gsttaglist.h:
10343 * gst/gsttagsetter.c:
10344 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10345 statement for new tag.
10347 2007-01-17 Edward Hervey <edward@fluendo.com>
10349 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10350 When dynamically creating single queues, activate sinkpad before adding
10352 We should be doing the same thing for the source pad, but we can't
10353 since it would call a method which needs the parent to be set in order
10354 to work propertly. Instead of activating the source pad, we just unset
10355 the flushing flag, which is the minimal requirement for adding a pad
10356 to an element in a state greater than READY.
10358 2007-01-17 Edward Hervey <edward@fluendo.com>
10360 * docs/faq/gst-uninstalled:
10361 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10364 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10366 * tests/check/gst/gstabi.c:
10367 * tests/check/gst/struct_hppa.h:
10368 * tests/check/libs/libsabi.c:
10369 * tests/check/libs/struct_hppa.h:
10370 Add ABI structs for HPPA (see #393796).
10372 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10374 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10375 Actually write ABI structs to the file specified in the GST_ABI
10376 environment variable, as the message we print claims we would.
10378 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10380 * tests/check/gst/gsttask.c:
10381 Fix header comment.
10383 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10385 * gst/gsttaglist.c: (_gst_tag_initialize):
10386 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10387 previous two entries.
10389 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10391 * docs/gst/gstreamer-sections.txt:
10392 * gst/gsttaglist.c: (_gst_tag_initialize):
10393 * gst/gsttaglist.h:
10394 Add tag support for beat-per-minute.
10396 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10398 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10399 (gst_registry_binary_initialize_magic),
10400 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10401 (gst_registry_binary_save_pad_template),
10402 (gst_registry_binary_save_feature),
10403 (gst_registry_binary_save_plugin),
10404 (gst_registry_binary_write_cache),
10405 (gst_registry_binary_check_magic),
10406 (gst_registry_binary_load_pad_template),
10407 (gst_registry_binary_load_feature),
10408 (gst_registry_binary_load_plugin),
10409 (gst_registry_binary_read_cache):
10410 * gst/gstregistrybinary.h:
10411 Use glib types, cleanup comments, impement interfaces and uri-types.
10413 2007-01-13 Andy Wingo <wingo@pobox.com>
10415 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10416 getrange() to return buffers with other caps, while we fix
10417 demuxers and typefind, or otherwise change part-negotiation.txt.
10419 2007-01-12 Andy Wingo <wingo@pobox.com>
10421 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10422 Factor start/stop into this private function instead of partially
10423 in activate functions and partially in the change_state function.
10424 Fixes setup before the element has changed from READY->PAUSED, as
10425 is the case in pull-mode pipelines.
10426 (gst_base_transform_sink_activate_push)
10427 (gst_base_transform_src_activate_pull): Refactor to use
10428 gst_base_transform_activate().
10429 (gst_base_transform_change_state): Removed, not needed any more.
10431 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10432 Truncate before fixating.
10434 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10435 Don't set_caps() if the result of fixating is ANY, as it's not
10436 supported, and not necessary in the case of a link with no
10437 template caps on either side. Fixes tests/check/libs/basesrc in
10438 some pull-mode tests.
10440 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10441 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10442 (gst_base_transform_src_activate_pull):
10443 Track the activation mode.
10444 (gst_base_transform_setcaps): In pull mode, when activating the
10445 src pad, after activating the sink pad, activate the sink pad's
10446 peer, as discussed in part-negotiation.txt.
10448 * libs/gst/base/gstbasesrc.h:
10449 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10450 vmethod, as in basesink.
10452 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10454 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10455 mode, first proxy the setcaps to the peer pad.
10456 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10457 new fixate vmethod.
10458 (gst_base_sink_default_activate_pull): Rename from
10459 gst_base_sink_activate_pull.
10460 (gst_base_sink_negotiate_pull): New function, performs negotiation
10461 in pull mode before calling ::activate_pull().
10462 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10463 vmethod instead of the default implementation. I have no idea how
10464 this worked before. Negotiate before calling activate_pull.
10466 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10467 sink pads in pull mode. In addition to being correct, fixes
10468 filesrc ! decodebin ! identity ! fakesink.
10469 (gst_pad_get_range, gst_pad_pull_range): Don't call
10470 gst_pad_set_caps() if the caps changes; instead error out with
10471 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10473 2007-01-12 Andy Wingo <wingo@pobox.com>
10475 * docs/design/part-negotiation.txt: Update with more policy.
10477 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10479 * libs/gst/check/gstbufferstraw.h:
10480 * libs/gst/check/gstcheck.h:
10481 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10484 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10486 * tests/check/Makefile.am:
10487 * tests/check/gst/.cvsignore:
10488 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10489 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10490 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10491 (GST_START_TEST), (gst_tag_setter_suite):
10492 Add minimal unit test for beforementioned GstTagSetter bug.
10494 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10496 Patch by: René Stadler <mail at renestadler dot de>
10498 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10499 gst_tag_list_merge() returns a new list, so it's not the best idea
10500 to ingore its return value. Effectively meant that tags could only
10501 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10502 Also add function guard to require a non-NULL taglist as input (has
10503 always been so due to gst_tag_list_copy(), just making it explicit).
10505 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10507 * docs/random/draft-missing-plugins.txt:
10508 Some additions: mention new API that is supposed to be used at the
10509 various stages; short blob about new gst-inspect introspection
10510 option; mention potential future problem with plugins that have
10511 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10513 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10515 * tools/gst-inspect.c:
10516 (print_plugin_automatic_install_info_codecs),
10517 (print_plugin_automatic_install_info_protocols),
10518 (print_plugin_automatic_install_info), (main):
10519 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10520 introspect plugin files and get machine-parsable output that corresponds
10521 to the last bit of the missing-plugin installer string (small gotcha:
10522 doesn't take into account ranks).
10524 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10527 * docs/gst/gstreamer-sections.txt:
10529 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10530 (gst_registry_lookup_locked):
10531 * gst/gstregistry.h:
10532 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10533 (gst_registry_binary_initialize_magic),
10534 (gst_registry_binary_save_string),
10535 (gst_registry_binary_save_pad_template),
10536 (gst_registry_binary_save_feature),
10537 (gst_registry_binary_save_plugin),
10538 (gst_registry_binary_write_cache),
10539 (gst_registry_binary_check_magic),
10540 (gst_registry_binary_load_pad_template),
10541 (gst_registry_binary_load_feature),
10542 (gst_registry_binary_load_plugin),
10543 (gst_registry_binary_read_cache):
10544 * gst/gstregistrybinary.h:
10545 * gst/gstregistryxml.c: (load_feature),
10546 (gst_registry_xml_read_cache):
10547 commit binary registry (disabled by default, see #359653)
10549 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10551 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10552 Fix 'make check' too.
10554 2007-01-10 Andy Wingo <wingo@pobox.com>
10556 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10559 * docs/design/part-negotiation.txt: Update with, um, one way that
10560 pull-mode negotiation might work?
10563 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10564 that the pad must be a src pad; makes sense to call it the other
10565 way in pull mode, and the logic is symmetric anyway.
10567 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10569 * plugins/elements/gstfilesink.c:
10570 Include <stdio.h> for fseeko().
10572 2007-01-10 Wim Taymans <wim@fluendo.com>
10576 Reserve LATENCY event.
10578 2007-01-09 Wim Taymans <wim@fluendo.com>
10580 * docs/design/draft-latency.txt:
10583 2007-01-09 Wim Taymans <wim@fluendo.com>
10585 * docs/design/draft-latency.txt:
10588 * gst/gstelement.h:
10589 * gst/gststructure.c:
10593 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10595 * tests/check/.cvsignore:
10596 Ignore test-registry.xml as well.
10598 2007-01-09 Wim Taymans <wim@fluendo.com>
10600 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10601 unref data at the end when we are done with the pad.
10603 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10605 * docs/gst/gstreamer-sections.txt:
10606 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10607 (init_post), (gst_deinit), (gst_update_registry):
10609 API: add gst_update_registry() (#391296).
10611 * tests/check/Makefile.am:
10612 * tests/check/gst/gstregistry.c:
10613 * tests/check/gst/.cvsignore:
10614 Simple unit test for the above.
10616 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10618 * gst/gstregistry.c: (gst_registry_scan_path_level):
10619 Plugin extension on HP-UX is .sl, add that to the list of approved
10620 plugin extensions (see #393796).
10622 * tests/check/gst/gstpad.c: (GST_START_TEST):
10623 ulong => gulong. Fixes compilation with HP-UX compiler.
10625 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10626 Fix compilation if valgrind headers are not available.
10628 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10630 * win32/common/libgstreamer.def:
10631 Add new exported function.
10632 * win32/vs6/libgstbase.dsp:
10633 Add gstdataqueue.c to the build.
10634 * win32/vs6/libgstcoreelements.dsp:
10635 Add gstmultiqueue.c to the build.
10637 2007-01-06 Andy Wingo <wingo@pobox.com>
10639 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10640 activate_pull(), providing for a way to specialize the process of
10641 spawning a thread to pull on the sink pad. There is a default
10644 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10645 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10646 (gst_base_sink_init): Renamed pad activation functions (inserting
10647 "_pad" in their names). Refactor to use the new activate_pull
10648 vmethod, as appropriate.
10649 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10650 default activate_pull function to start a task pulling from the
10651 sink pad, as before.
10653 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10654 on the pads if necessary, as in push()/chain(). Update docs.
10655 Shouldn't affect existing pull() usage as it is currently only
10656 being used on buffers without caps.
10658 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10660 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10662 Call g_thread_init() first thing in gst_init() / gst_check_init().
10663 When initialisation is done via gst_init_get_option_group() and
10664 GOption parsing, issue a warning if the GLib thread system has not
10665 been initialised yet by the time gst_init_get_option_group() is
10666 called, as it's quite likely other GLib functions such as
10667 g_option_context_new() have been called already then, and
10668 g_thread_init() must be called before any other GLib function. The
10669 application in question must be fixed in that case, since memory
10670 corruption might happen otherwise.
10671 We issue the warning because even if the GLib folks decide to work
10672 around the problem on their end in future, this is still an issue
10673 with all GLib versions >= 2.10.0, so we should warn until we depend
10674 on a GLib version we know to be safe.
10675 Update documentation as well.
10676 Closes bug #391278.
10678 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10680 * tools/gst-inspect.c: (main):
10681 * tools/gst-launch.c: (main):
10682 * tools/gst-typefind.c: (main):
10683 * tools/gst-xmlinspect.c: (main):
10684 Call g_thread_init() really really early, before any other GLib
10685 function (see #342564 and recent discussion on gtk-devel-list).
10687 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10689 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10691 * gst/gst_private.h:
10692 * gst/gstconfig.h.in:
10694 On win32, all the __declspec stuff for symbol exporting is
10695 apparently only needed with MSVC, but doesn't work with MingW.
10696 Fixes compilation with MingW and #391909.
10698 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10700 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10701 Change some GST_ERROR_OBJECT that aren't really errors to
10702 GST_WARNING_OBJECT in order to reduce terminal spam.
10704 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10706 * tests/check/Makefile.am:
10707 disable test again, as there seem to be still race problems
10709 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10711 * tests/check/Makefile.am:
10712 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10713 (GST_START_TEST), (queue_suite):
10714 enable queue test again, add tests for the leaky behaviour
10716 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10719 * tests/examples/Makefile.am:
10720 Compile adapter test/example only if the required headers are
10721 available (fixes #391915).
10723 2007-01-01 David Schleef <ds@schleef.org>
10726 Restore the previous signal handler for SIGSEGV instead of
10727 setting to default, since we may have stolen it away from
10728 someone. (i.e., Mono)
10730 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10732 * docs/random/draft-missing-plugins.txt:
10733 Some small additions and clarifications.
10735 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10737 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10738 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10739 since that can lead to random memory corruptions and crashes
10740 (may or may not be related to #383244, #386711, and #386711).
10742 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10744 * tests/check/.cvsignore:
10745 * tests/check/Makefile.am:
10746 sync .cvsignome and CLEANFILES
10748 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10750 * tests/check/Makefile.am:
10753 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10755 * docs/design/part-states.txt:
10756 two tiny additional comments
10758 * gst/gststructure.c:
10761 * tests/check/Makefile.am:
10762 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10764 disable test for now, unless it gets fixed
10766 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10768 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10770 fix race in underrun test
10772 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10774 * tests/check/elements/.cvsignore:
10777 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10779 try to narrow test failure
10781 2006-12-21 David Schleef <ds@schleef.org>
10783 * plugins/elements/gstfakesrc.c:
10784 Use g_random_int_range(), since it produces better random
10785 numbers in a range than almost-correct floating point code.
10787 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10789 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10790 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10791 (gst_check_teardown_sink_pad):
10792 do not automatically (de)activate pads
10794 * tests/check/Makefile.am:
10795 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10796 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10797 add new, yet simple tests for queue
10799 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10800 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10801 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10803 * tests/check/elements/identity.c: (cleanup_identity):
10804 consistent pad (de)activation
10806 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10808 Patch by: Sebastian Dröge <slomo ubuntu com>
10810 * libs/gst/base/gstcollectpads.c:
10811 Fix two doc typos (#387866).
10813 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10815 * docs/manual/advanced-dparams.xml:
10816 Fix typo (g_object_control_properties() doesn't exist).
10818 2006-12-19 Edward Hervey <edward@fluendo.com>
10820 * gst/gstsegment.c: (gst_segment_set_seek):
10821 Fine tune the cases where the segment start/stop values are really
10823 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10824 Add tests for the return values of gst_segment_set_seek().
10826 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10831 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10833 Fix incorrect documentation and flesh it out a bit more.
10834 Set default values for the max properties on the GParamSpec as well,
10835 so it shows up correctly in gst-inspect.
10837 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10839 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10840 Correct docs of queue, add more detail and crosslink it more.
10842 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10844 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10845 Print additional debug info when the stream isn't perfectly
10846 timestamped; don't try to use invalid durations.
10848 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10850 * docs/design/Makefile.am:
10851 Dist new design docs.
10853 2006-12-16 Wim Taymans <wim@fluendo.com>
10855 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10857 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10858 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10859 (gst_collect_pads_stop), (gst_collect_pads_event),
10860 (gst_collect_pads_chain):
10861 * libs/gst/base/gstcollectpads.h:
10862 Add refcounting to the collectpads data so we can track when it's safe
10863 to free the data. Fixes #383382.
10865 2006-12-15 Wim Taymans <wim@fluendo.com>
10867 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10868 (gst_collect_pads_remove_pad):
10869 Automatically activate/deactivate pads when they are added to a
10870 started/stoped collectpads.
10872 2006-12-15 Wim Taymans <wim@fluendo.com>
10874 * gst/gstelement.c: (gst_element_add_pad):
10875 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10876 * gst/gstpad.c: (gst_pad_init):
10877 Set pads to FLUSHING when they are created. Check, warn and fix when a
10878 demuxer adds an inactive pad to itself when running. Fixes #339326.
10880 2006-12-15 Wim Taymans <wim@fluendo.com>
10882 * gst/gstelement.c: (gst_element_class_init),
10883 (gst_element_default_send_event), (gst_element_send_event),
10884 (gst_element_default_query), (gst_element_query):
10885 Expose default element send_event and query handling as vmethods that
10886 subclasses can chain up to.
10888 2006-12-15 Wim Taymans <wim@fluendo.com>
10890 * gst/gstelement.c: (gst_element_set_state_func):
10891 Small documentation fixes.
10893 2006-12-15 Wim Taymans <wim@fluendo.com>
10895 * docs/design/draft-latency.txt:
10896 Checked in draft for handling latency in pipelines.
10898 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10902 * gstreamer.spec.in:
10905 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10907 * gst/gst.c: (init_pre), (init_post):
10908 init_pre() and init_post() might be called via our GOptionGroup or
10909 from gst_init(), and we should skip both of them if we've already
10910 been initialised, otherwise we will init some things twice or add
10911 two default log functions.
10913 2006-12-13 Edward Hervey <edward@fluendo.com>
10915 * docs/manual/basics-bus.xml:
10916 No, gst_main_loop does not exist. Its g_main_loop.
10917 Discovered by somebody who abused the copy-paste technique of coding :)
10919 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
10921 * gst/gstghostpad.c:
10922 Log ghostpad debug stuff to the GST_PADS category as well rather
10923 than just to the default category.
10925 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
10928 * gst/gst.c: (init_pre):
10929 Add some basic system details such as OS and architecture
10930 to the debug output if possible, courtesy of uname().
10932 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10934 * docs/gst/running.xml:
10935 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10936 environment variables.
10938 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10940 * tests/check/gst/gstbin.c: (GST_START_TEST):
10941 It is acceptable to have a refcount of 2 or 3 at this point in the
10942 test, because the pipeline might be just posting its state_change
10943 message. The next line then waits for that message to appear using
10944 bus_poll, so that should be fine too.
10946 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10948 * gst/gst.c: (ensure_current_registry_forking):
10949 Ignore EINTR when reading from the child registry pipe.
10950 Explicitly ignore the return value from close, since it makes no
10953 * gst/gstminiobject.c: (gst_mini_object_ref),
10954 (gst_mini_object_unref):
10955 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10957 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10958 When removing cached plugins, remove their features too, so they're
10959 not visible after they've disappeared.
10961 * gst/gstutils.c: (prepare_link_maybe_ghosting):
10962 In the unlikely case that we are linking pads with no parents, don't
10963 crash trying to get the non-existent parent bin.
10965 * gst/parse/grammar.y:
10966 Output debug in the PIPELINE category
10968 2005-03-08 Wim Taymans <wim@fluendo.com>
10970 Patch by: René Stadler <mail at renestadler dot de>
10972 * gst/gstclock.c: (gst_clock_new_periodic_id):
10973 Reject invalid clock times for interval of periodic ids.
10976 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10978 * gst/gstelementfactory.c: (gst_element_factory_create):
10979 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10980 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10981 * tools/gst-inspect.c: (print_element_info):
10982 Fix refcounting of gst_plugin_feature_load to match the docs.
10985 2006-12-07 Wim Taymans <wim@fluendo.com>
10987 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10988 (gst_base_sink_get_position):
10989 Improve debugging of events.
10991 2006-12-07 Wim Taymans <wim@fluendo.com>
10993 Patch by: René Stadler <mail at renestadler dot de>
10995 * gst/gstclock.c: (gst_clock_id_wait):
10996 Make period ids add the interval to the origial requested time instead
10997 of the possibly updated time which can be wrong when there are multiple
10998 waiters for the same id. Fixes #382592.
11000 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11001 (gst_system_clock_id_wait_jitter_unlocked),
11002 (gst_system_clock_id_wait_jitter):
11003 Fix restart in the async notify thread when an async entry is added to
11004 the front of the list. Fixes #381492.
11006 * tests/check/gst/gstsystemclock.c: (store_callback),
11007 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11008 Added test for multiple async waits.
11009 Added test for async wait order.
11011 2006-12-07 Wim Taymans <wim@fluendo.com>
11013 * gst/gstbin.c: (gst_bin_query):
11014 Add some more docs about the POSITION query.
11016 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11019 Bump version nano - back to CVS.
11021 === release 0.10.11 ===
11023 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11026 releasing 0.10.11, "Love never runs on time"
11028 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11030 * win32/common/libgstbase.def:
11031 * win32/common/libgstreamer.def:
11032 * win32/vs8/libgstbase.vcproj:
11033 * win32/vs8/libgstcoreelements.vcproj:
11034 * win32/vs8/libgstreamer.vcproj:
11035 Fix compilation on win32 under VS8
11036 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11037 Partially fixes #381175
11039 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11041 * gst/gstvalue.c: (gst_value_compare_fraction):
11042 If someone is foolish enough to compare 2 fractions with denominator =
11043 0, return UNORDERED rather than aborting.
11045 2006-11-28 Edward Hervey <edward@fluendo.com>
11047 * libs/gst/base/Makefile.am:
11048 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11049 (gst_data_queue_base_init), (gst_data_queue_class_init),
11050 (gst_data_queue_init), (gst_data_queue_new),
11051 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11052 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11053 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11054 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11055 (gst_data_queue_set_flushing), (gst_data_queue_push),
11056 (gst_data_queue_pop), (gst_data_queue_drop_head),
11057 (gst_data_queue_set_property), (gst_data_queue_get_property):
11058 * libs/gst/base/gstdataqueue.h:
11059 New GstDataQueue object for threadsafe queueing. Most useful for
11060 elements that need some queueing functionnality.
11061 * docs/libs/gstreamer-libs-docs.sgml:
11062 * docs/libs/gstreamer-libs-sections.txt:
11063 Insert documentation for GstDataQueue
11064 * plugins/elements/Makefile.am:
11065 * plugins/elements/gstelements.c:
11066 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11067 (gst_multi_queue_class_init), (gst_multi_queue_init),
11068 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11069 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11070 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11071 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11072 (gst_multi_queue_loop), (gst_multi_queue_chain),
11073 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11074 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11075 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11076 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11077 (wake_up_next_non_linked), (compute_next_non_linked),
11078 (single_queue_overrun_cb), (single_queue_underrun_cb),
11079 (single_queue_check_full), (gst_single_queue_new):
11080 * plugins/elements/gstmultiqueue.h:
11081 New multiqueue element, using GstDataQueue. Used for queuing multiple
11083 Closes #344639 and #347785
11085 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11087 * docs/pwg/advanced-types.xml:
11088 add more missing type details
11090 * tools/gst-run.c: (main):
11091 remove unused variable
11093 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11095 * docs/libs/Makefile.am:
11096 * docs/libs/gstreamer-libs.types:
11097 add types of base classes to enable gobject specific stuff in the docs
11099 * docs/random/ensonic/embedded.txt:
11100 more ideas about isolating platform specific things
11102 2006-11-20 Wim Taymans <wim@fluendo.com>
11104 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11106 * libs/gst/check/gstcheck.h:
11107 Fix compilation and running against 0.9.4. Fixes #377332.
11109 2006-11-20 Wim Taymans <wim@fluendo.com>
11111 * gst/gstsegment.c: (gst_segment_set_seek),
11112 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11113 (gst_segment_to_running_time):
11114 Fix boundary checking in to_running_time() and to_stream_time().
11117 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11118 stream and running time can now be calculated for the complete
11121 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11123 * gst/gstpad.c: (gst_pad_push_event):
11124 Can't access event structure after giving away ownership of
11127 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11129 * docs/random/ensonic/embedded.txt:
11130 * docs/random/ensonic/profiling.txt:
11131 * docs/random/ensonic/receipies.txt:
11134 2006-11-13 Wim Taymans <wim@fluendo.com>
11136 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11139 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11141 2006-11-13 Wim Taymans <wim@fluendo.com>
11143 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11145 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11146 Store new length in segment duration so we don't keep on calling the
11147 potentially expensize get_size() call. Fixes #370865.
11149 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11151 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11153 * win32/common/libgstreamer.def:
11154 Add two missing symbols (#366492).
11156 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11158 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11159 (gst_adapter_take_buffer):
11160 Fix format string to use all its arguments.
11161 Remove useless >= check on a guint
11163 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11165 * tests/examples/adapter/.cvsignore:
11166 Ignore build file as commanded by the build-bot
11168 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11170 * tests/examples/adapter/Makefile.am:
11171 * tests/examples/adapter/adapter_test.c: (run_test_take),
11172 (run_test_take_buffer), (run_tests), (main):
11174 Add new files from the previous commit
11176 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11180 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11181 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11182 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11183 * libs/gst/base/gstadapter.h:
11184 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11185 (GST_START_TEST), (gst_adapter_suite):
11186 * tests/examples/Makefile.am:
11187 Do some optimisation work in GstAdapter to avoid copies in more cases.
11188 It could still do slightly better by merging buffers when
11189 gst_buffer_is_span_fast is true, but is already faster.
11191 Also, avoid traversing a single-linked list to append each incoming
11192 buffer inside the adapter.
11194 Add simple test app that times the adapter behaviour in different
11195 situations, and extend the unit test to check that bytes enter and
11196 exit the adapter in their original order.
11198 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11200 * docs/random/draft-missing-plugins.txt:
11201 Update: use element message instead of adding a new message
11202 type to the core; don't provide GStreamer API to initiate the
11203 plugin download, just provide API to compose the strings needed
11204 and let an external libgimmestuff handle the rest.
11206 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11208 * tools/gst-inspect.c: (print_element_properties_info):
11209 Print a string instead of 'unknown type' for GValueArray properties
11211 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11213 * docs/random/draft-missing-plugins.txt:
11216 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11218 * tests/examples/typefind/typefind.c: (type_found), (main):
11219 Make typefind element example work again (#371894); add a
11222 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11224 * docs/random/draft-missing-plugins.txt:
11225 Commit initial draft about how to deal with missing plugins,
11226 needs work (API too).
11228 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11230 * docs/pwg/advanced-types.xml:
11231 documents the new caps elements (see #363118)
11233 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11235 * gst/gstplugin.c: (gst_plugin_load_file):
11236 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11237 (gst_file_src_map_region), (gst_file_src_start):
11238 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11239 (gst_file_index_commit):
11240 Use g_strerror() instead of strerror() - we want UTF-8.
11242 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11244 Patch by: Peter Kjellerstedt <pkj at axis com>
11246 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11247 Another printf fix (#371493).
11249 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11251 * tests/check/gst/gsttag.c:
11252 relicence (okay with author=company)
11254 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11256 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11257 (gst_pad_push_event):
11258 Enhance debug and improve docs
11263 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11265 * docs/random/ensonic/distributed.txt:
11266 * docs/random/ensonic/profiling.txt:
11269 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11271 * docs/gst/gstreamer-sections.txt:
11272 add new API and fix the build
11274 * gst/gstbin.c: (gst_bin_recalc_state):
11275 * gst/gstelement.c: (gst_element_message_full),
11276 (gst_element_get_state_func), (gst_element_set_state_func):
11277 use new API and improve logging
11279 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11281 API: add function to get StateChangereturn names to improve logs
11283 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11285 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11286 I'm considering shooting the next person to put strerror stuff
11287 in the translateable part of the message.
11289 2006-11-03 Wim Taymans <wim@fluendo.com>
11291 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11292 Get the type and printf conversion specifiers right.
11294 2006-11-03 Wim Taymans <wim@fluendo.com>
11296 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11298 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11299 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11300 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11301 Some small cleanups. Improve debugging.
11303 Signal all waiting threads with a broadcast instead of just one.
11306 2006-11-03 Wim Taymans <wim@fluendo.com>
11308 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11309 (gst_fd_src_create):
11310 Add some debugging.
11311 Only update fd when it's different from the old.
11313 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11315 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11316 Printf fixes for PPC/OSX, take two (#369366).
11318 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11320 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11322 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11323 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11324 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11325 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11326 don't cast to long long for portability reasons, but use
11327 GLib's types instead.
11329 2006-10-30 Michael Smith <msmith@fluendo.com>
11331 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11332 Get the arguments to lseek() the right way around.
11335 2006-10-30 Wim Taymans <wim@fluendo.com>
11337 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11340 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11342 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11344 Patch by: Kjartan Maraas <kmaraas at gnome org>
11346 * docs/design/part-MT-refcounting.txt:
11347 * docs/random/wtay/capsnego2-docs:
11350 Typo fixes (#366212).
11352 2006-10-28 Wim Taymans <wim@fluendo.com>
11354 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11357 * win32/common/libgstbase.def:
11358 * win32/common/libgstreamer.def:
11359 * win32/vs8/libgstbase.vcproj:
11360 * win32/vs8/libgstcontroller.vcproj:
11361 Add needed entries in .def files.
11363 Rearrange def files in vs8 solutions. Fixes #366286.
11365 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11367 * win32/common/gstconfig.h:
11368 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11369 hand-made win32 gstconfig.h. Fixes #366321.
11371 2006-10-27 Wim Taymans <wim@fluendo.com>
11373 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11374 (gst_ghost_pad_new_full):
11375 Make acceptcaps return TRUE when we don't have a target, just like
11378 2006-10-27 Wim Taymans <wim@fluendo.com>
11380 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11381 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11383 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11385 * gst/gststructure.c: (gst_structure_id_set_value):
11386 If someone tries to set a non-UTF8 string field on a structure,
11387 don't just print a warning, but also ignore the request and do
11388 not change/add that field to the structure.
11390 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11391 Test for the above.
11393 2006-10-25 David Schleef <ds@schleef.org>
11396 g_hash_table_insert() needs a cast to a non-const pointer duh.
11398 2006-10-25 David Schleef <ds@schleef.org>
11402 Change name parameter of _gst_debug_register_funcptr to const
11403 to reflect the constness of its use in the function as well
11404 as to quiet a gcc warning.
11406 2006-10-25 Edward Hervey <edward@fluendo.com>
11408 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11409 Don't push the buffer if it's empty.
11412 2006-10-24 Wim Taymans <wim@fluendo.com>
11417 * libs/gst/base/gstbasetransform.c:
11418 (gst_base_transform_sink_eventfunc):
11419 Debug segment values *after* updating them as this is more
11422 2006-10-23 Wim Taymans <wim@fluendo.com>
11424 * docs/design/part-events.txt:
11427 * docs/design/part-block.txt:
11428 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11429 (gst_pad_push_event):
11430 Revert BLOCKING patch, it tries to be smart without really having a
11431 clear idea what or how. So, now we discard all FLUSHING events again on
11432 a blocking pad. Should fix gnonlin again.
11434 2006-10-23 Wim Taymans <wim@fluendo.com>
11436 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11438 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11439 (gst_base_src_start), (gst_base_src_activate_push):
11440 Make sure size is always initialized. Fixes #364388.
11442 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11444 * docs/random/ensonic/distributed.txt:
11445 add some ideas about doing distributed processing
11447 * docs/random/ensonic/profiling.txt:
11448 get_rusage look promising
11450 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11452 * docs/manual/basics-helloworld.xml:
11453 Add a cast in example to fix compile warning
11455 2006-10-18 Wim Taymans <wim@fluendo.com>
11457 * gst/gstsegment.c: (gst_segment_set_last_stop),
11458 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11459 Relax arg checking again, -1 is allowed.
11461 2006-10-18 Wim Taymans <wim@fluendo.com>
11463 * gst/gstsegment.c: (gst_segment_set_last_stop),
11464 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11465 _set_last_stop() must be with a value != -1
11466 A _TYPE_SET to -1 means seek to 0.
11467 Calc last_stop correctly for negative rates.
11468 Make sure we work with positive durations when updating a segment.
11470 2006-10-18 Wim Taymans <wim@fluendo.com>
11472 * docs/design/part-live-source.txt:
11476 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11479 Add an explicit cast to GstBuffer** to keep old code that added an
11480 explicit cast to GstMiniObject** for gst_mini_object_replace()
11481 compiling without warning.
11483 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11485 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11486 check for validity of dates
11488 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11490 * docs/gst/gstreamer-sections.txt:
11491 Forgot this one, makes gtk-doc shut up.
11493 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11495 Patch by: Peter Kjellerstedt <pkj at axis com>
11498 Don't define xmlNodePtr to gpointer if the core was built with
11499 --disable-loadsave and --disable-registry, this will break
11500 applications that want to use libxml2 but are buildling against a
11501 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11502 instead so we don't have to mess with the libxml2 namespace
11505 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11508 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11509 type-punned pointer warnings.
11511 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11513 * gst/gstelement.h:
11514 Add casts to the correct return type to state <=> state transition
11517 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11519 * docs/design/part-live-source.txt:
11520 describe howto handle latency
11522 * docs/random/ensonic/profiling.txt:
11525 * tools/gst-plot-timeline.py:
11526 fix log parsing for solaris, remove unused function
11528 2006-10-16 Wim Taymans <wim@fluendo.com>
11530 * docs/design/part-trickmodes.txt:
11532 Update some docs regarding reverse playback.
11534 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11536 Patch by: Marcus Granado <mrc dot gran at gmail com>
11538 * win32/vs8/grammar.vcproj:
11539 Error out with a warning if glib-genmarshal.exe is not in path,
11540 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11542 2006-10-13 Wim Taymans <wim@fluendo.com>
11544 * gst/gstsegment.c: (gst_segment_set_seek):
11545 When seeking to stop -1, set last_stop (current position) to the
11546 duration of the segment.
11548 2006-10-13 Wim Taymans <wim@fluendo.com>
11550 * gst/gstelement.h:
11551 Clarify _NO_PREROLL a bit more.
11556 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11557 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11558 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11559 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11560 due to wrong locking order. Fixes #361769.
11561 Remove some redundant/misplaced checks in pad_block.
11563 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11564 For negative rates, count backwards from the duration.
11566 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11568 * gst/gsterror.c: (_gst_library_errors_init):
11569 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11570 up with something better).
11572 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11574 * win32/vs6/libgstreamer.dsp:
11575 * win32/vs7/libgstreamer.vcproj:
11576 * win32/vs8/libgstreamer.vcproj:
11577 Don't reference glib-compat.c which is currently not used and not
11578 disted; add gstquark.c which was recently added. Fixes #361730.
11580 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11582 * win32/common/libgstbase.def:
11583 * win32/common/libgstcontroller.def:
11584 * win32/common/libgstreamer.def:
11585 Add gst_caps_merge() and a bunch of other recently-added functions.
11588 2006-10-11 Wim Taymans <wim@fluendo.com>
11590 * docs/plugins/gstreamer-plugins.args:
11591 * docs/plugins/inspect/plugin-coreelements.xml:
11592 * docs/plugins/inspect/plugin-coreindexers.xml:
11593 Update element args.
11595 * gst/gstsystemclock.c:
11596 Small comment update.
11598 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11599 (gst_tee_request_new_pad), (gst_tee_release_pad),
11600 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11601 (gst_tee_sink_activate_pull):
11602 * plugins/elements/gsttee.h:
11604 Add default property defines.
11605 Implement release pad function.
11606 Give properties better blubs etc.
11607 Activate pads before adding them to a running tee.
11608 Do simple buffer_alloc on the first requested pad.
11609 Post error when activation fails.
11611 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11613 * gst/gst.c: (ensure_current_registry_forking):
11614 Check return value of write() to make compiler happy.
11616 2006-10-11 Wim Taymans <wim@fluendo.com>
11618 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11620 * plugins/elements/gstqueue.c: (gst_queue_chain):
11621 Recheck queue filledness after signalling the overrun when we're about
11622 to leak downstream because we released the lock when emitting the signal
11623 and the queue could be empty again. Fixes #352345.
11625 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11627 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11628 Fix refcounting here too, just like we did for _new_valist() a few
11629 days ago (#357180) (thanks to René Stadler). Also remove all those
11630 'Since: 0.9' from the gtk-doc blobs.
11632 * tests/check/libs/controller.c: (controller_refcount_new_list),
11633 (gst_controller_suite):
11634 Unit test for the above.
11636 2006-10-10 Wim Taymans <wim@fluendo.com>
11638 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11640 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11641 (gst_pad_save_thyself):
11643 Write pad direction in XML output. Fixes #345496.
11645 2006-10-10 Wim Taymans <wim@fluendo.com>
11647 Patch by: René Stadler <mail at renestadler dot de>
11649 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11650 (gst_controller_new_list), (_gst_controller_dispose),
11651 (_gst_controller_finalize), (_gst_controller_class_init):
11652 Take ref to controlled object so that it cannot disappear.
11655 2006-10-10 Wim Taymans <wim@fluendo.com>
11657 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11658 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11659 (gst_check_teardown_sink_pad):
11660 Activate/deactivate pads in setup/teardown respectively.
11662 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11664 Patch by: Josep Torra Valles <josep@fluendo.com>
11667 Cast values when making gstenumtypes.h. This pacifies Forte
11668 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11669 in the enumeration.
11671 2006-10-09 Wim Taymans <wim@fluendo.com>
11673 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11674 Rename some more @cur to @start to fix docs.
11676 * gst/gstsegment.c: (gst_segment_set_seek):
11678 time and start must always stay in sync as defined in design doc.
11680 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11681 Rename param to fix docs.
11683 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11684 Check that start and time are in sync.
11686 * tests/check/pipelines/parse-launch.c:
11687 (gst_parse_test_element_change_state):
11688 Activate pad before adding to the element.
11690 2006-10-09 Wim Taymans <wim@fluendo.com>
11692 * docs/design/part-qos.txt:
11697 Update seek event docs regarding negative rates.
11698 Rename @cur to @start.
11700 * gst/gstsegment.c: (gst_segment_set_seek):
11701 * gst/gstsegment.h:
11702 Update set_seek docs regarding negative rates.
11703 Correctly update last_stop to @stop when dealing with negative
11705 Rename @cur to @start.
11707 * tests/check/gst/gstpad.c: (GST_START_TEST):
11708 Activate pads before trying to use them.
11710 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11711 (gst_segment_suite):
11712 Add simple check for segments and negative rates.
11714 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11716 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11717 * gst/gsttaglist.h:
11718 * docs/gst/gstreamer-sections.txt:
11719 API: add gst_tag_list_is_empty() (#360467).
11721 * tests/check/gst/gsttag.c: (GST_START_TEST):
11724 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11726 * gst/gstmessage.h:
11727 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11728 a value that doesn't fit on enumeration.
11730 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11732 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11733 Remove local debugging system and use Gstreamer's instead.
11735 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11737 Patch by: Josep Torra Valles <josep@fluendo.com>
11739 * common/m4/gst-error.m4:
11740 Disable warning of statement not reached on Forte.
11741 * gst/gstmessage.h:
11742 Fix warning on Forte (value doesn't fit on enumeration).
11743 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11744 Fix warning on Forte (value doesn't fit on enumeration).
11745 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11746 DEBUG macro says it takes minimum of 2 args and so Forte
11747 complains about the use with just 1 arg.
11748 * plugins/elements/gstfdsink.c:
11749 * plugins/elements/gstfdsrc.c:
11750 * plugins/elements/gstfilesink.c:
11751 * plugins/elements/gstfilesrc.c:
11752 Use correct return type for the uri handler implementations.
11754 All these fix warnings in Forte. Fixes bug #360860.
11756 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11758 * gst/gstelement.h:
11759 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11760 format string, so don't use G_GNUC_PRINTF for those versions.
11762 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11764 * gst/gsttaglist.c: (gst_is_tag_list):
11765 * gst/gsttaglist.h:
11766 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11768 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11769 Small test for the above.
11771 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11773 * gst/gsttaglist.h:
11774 Less tabs, more spaces.
11776 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11779 Those two function declarations do actually belong there, revert
11780 commit from yesterday that turned them intro macros.
11782 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11784 Patch by: Josep Torra Valles <josep@fluendo.com>
11786 * gst/gst.c: (gst_init_get_option_group):
11787 Fix empty declaration and type mismatch.
11788 * gst/gstbin.c: (gst_bin_change_state_func):
11790 * gst/gstelement.c: (gst_element_continue_state),
11791 (gst_element_set_state_func), (gst_element_change_state),
11792 (gst_element_change_state_func):
11793 Fix type mismatches.
11794 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11795 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11796 Cast as appropriate.
11797 * gst/gstobject.c: (gst_class_signal_connect):
11798 Cast as appropriate. The function pointer parameter really
11799 has the wrong type but would break API if we change it.
11801 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11802 order of including string.h.
11803 * gst/gstutils.c: (gst_element_state_get_name):
11804 Remove unreachable line.
11805 * gst/gstxml.c: (gst_xml_parse_doc):
11807 All these caught by Forte.
11809 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11811 Patch by: Josep Torra Valles <josep@fluendo.com>
11813 * common/m4/gst-error.m4:
11815 We need to disable warnings on Forte for empty declarations
11816 due to gst-indent adding ;s to lines that just use macros
11817 where the macro actually doesn't need a ; at end to end
11820 2006-10-06 Wim Taymans <wim@fluendo.com>
11822 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11823 (gst_file_sink_close_file), (gst_file_sink_event),
11824 (gst_file_sink_render):
11825 Add some FIXME for the NEWSEGMENT handling.
11827 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11829 * gst/parse/grammar.y:
11830 Remove static function gst_parse_element_lock as all it does
11831 is return. Looks like cruft from 0.8.
11833 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11835 Patch by: Josep Torra Valles <josep@fluendo.com>
11837 * common/m4/gst-error.m4:
11839 * libs/gst/net/Makefile.am:
11840 Fix a compilation issue with Forte on Solaris. inet_aton is in
11843 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11845 * gst/gstpad.c: (pre_activate):
11846 * gst/gstregistry.c: (gst_registry_scan_path_level):
11847 * gst/gstregistryxml.c: (load_plugin):
11848 * libs/gst/controller/gstcontroller.c:
11849 (gst_controlled_property_set_interpolation_mode):
11850 * libs/gst/dataprotocol/dataprotocol.c:
11851 (gst_dp_packet_from_event_1_0):
11852 * libs/gst/net/gstnetclientclock.c:
11853 (gst_net_client_clock_observe_times):
11854 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11857 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11860 * docs/gst/gstreamer-sections.txt:
11861 * gst/gstconfig.h.in:
11862 * gst/gstelement.h:
11864 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11865 whether we can use G_GNUC_PRINTF in other header files and at
11866 least check the printf format/arguments of debug messages and
11867 GST_ELEMENT_ERROR messages when the printf extension is not
11869 Replace more tabs with spaces in gstinfo.h and remove two spurious
11870 function declarations in GST_DISABLE_DEBUG part with macros.
11872 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11874 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11875 More docs for the sync-message signal (mention that it is not
11876 emitted by default); log message structures of messages posted on
11879 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11881 * gst/gst.c: (ensure_current_registry_forking):
11882 Use a pipe pair to receive status results from the forked child, and
11883 ignore the result from waitpid. Fixes #355499
11885 2006-10-02 Wim Taymans <wim@fluendo.com>
11887 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11888 (gst_ghost_pad_suite):
11891 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11894 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11896 2006-10-02 Edward Hervey <edward@fluendo.com>
11898 * docs/design/part-block.txt:
11899 Further explain the use of flushing on blocked pads.
11900 * docs/gst/gstreamer-sections.txt:
11901 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11902 (gst_pad_push_event):
11904 Added new GstPadFlag : GST_PAD_BLOCKING.
11905 Adds the notion of pads really blocking, which enables to properly
11906 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11908 API: gst_pad_is_blocking()
11909 API: GST_PAD_IS_BLOCKING() macro
11910 API: GST_PAD_BLOCKING GstPadFlag
11912 2006-10-02 Wim Taymans <wim@fluendo.com>
11914 Patch by: mrcgran <mrc.gran at gmail dot com>
11916 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11917 Filter the proxied caps against the padtemplate if we have one.
11919 * gst/gstquery.c: (gst_query_new_segment):
11920 Add include for gstinfo.h so that compilation with
11921 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11923 2006-10-02 Wim Taymans <wim@fluendo.com>
11925 Patch by: Alessandro Decina <alessandro at nnva org>
11927 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11928 (gst_file_sink_set_location), (gst_file_sink_open_file),
11929 (gst_file_sink_close_file), (gst_file_sink_event),
11930 (gst_file_sink_render):
11931 Set file to NULL when closing filesink so that we can set a new filename
11932 in READY. Fixes #358613.
11934 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11936 Patch by: Alessandro Decina <alessandro at nnva org>
11938 * gst/gstevent.c: (_gst_event_copy):
11939 Fix gst_mini_object_make_writable() and gst_event_copy() for events
11940 with event structures by setting the parent refcount address of the
11941 copied structure to the address of the refcount member of the newly
11942 copied event rather than the address of the refcount member of the
11943 original event. Fixes #358737.
11945 * tests/check/gst/gstevent.c: (GST_START_TEST):
11946 Unit test for the above.
11948 2006-09-29 Stefan Kost <ensonic@users.sf.net>
11950 * docs/design/Makefile.am:
11951 Dist some more files.
11953 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11955 * tests/check/libs/controller.c: (GST_START_TEST),
11956 (gst_controller_suite):
11957 Add test for the previous fix; add some more tests
11958 for correct refcounting behaviour; fix a few leaks
11959 in test cases; call gst_controller_init() at start
11962 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11964 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11965 (gst_controller_set_from_list):
11966 Don't g_return_val_if_fail() on timed values with invalid timestamps
11967 inside a critical section without unlocking the mutex. Spotted by
11968 René Stadler. (#357617)
11969 Also, fix up refcounting properly: when returning an existing
11970 controller, we should increase the reference only once and not
11971 once per property and when trying to control a property again
11972 we should also increase the refcount.
11974 2006-09-29 Wim Taymans <wim@fluendo.com>
11976 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11977 * libs/gst/net/gstnettimeprovider.c:
11978 (gst_net_time_provider_thread):
11979 Stop reading commands when EOF as well.
11981 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11982 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11983 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11984 Unify description of the dump property.
11986 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11988 * tests/examples/manual/.cvsignore:
11989 OK, so it's actually cvsignore that needs changing. Stop laughing.
11991 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11993 * tests/examples/manual/Makefile.am:
11994 Gah, declare vars *before* using them
11996 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11998 * gst/gst.c: (init_pre), (scan_and_update_registry),
11999 (ensure_current_registry_nonforking),
12000 (ensure_current_registry_forking), (ensure_current_registry),
12001 (init_post), (gst_debug_help), (gst_deinit):
12002 * gst/gst_private.h:
12003 * gst/gstregistry.c: (gst_registry_finalize),
12004 (gst_registry_remove_features_for_plugin_unlocked),
12005 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12006 (gst_registry_scan_path),
12007 (_priv_gst_registry_remove_cache_plugins),
12008 (_priv_gst_registry_cleanup):
12009 * gst/gstregistry.h:
12010 Re-commit the registry changes, along with an extra fix:
12011 When a cached plugin is encountered at a different file path,
12012 update the stored path in the registry cache so that the parent
12013 process knows where it actually is now when it re-reads the registry
12014 cache. Fixes the thing that broke distcheck with the previous commit.
12016 * tests/check/Makefile.am:
12017 Clean up files named 'core' too when running make clean.
12019 * tests/examples/manual/Makefile.am:
12020 Set up a registry path for running these tests, and clean it properly
12023 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12026 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12027 want gmodule-no-export-2.0.pc instead so that we don't drag in
12028 --export-dynamic on every project that links to GStreamer.
12030 Also, make our export regex only match the start of symbols, rather
12031 than any symbol that contains '_gst' somewhere.
12033 * libs/gst/check/Makefile.am:
12034 The libgstcheck we build does however need export-dynamic, as it
12035 produces some symbols that don't match our _gst... style regex.
12038 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12040 * gst/gst.c: (init_pre), (scan_and_update_registry),
12041 (ensure_current_registry_nonforking),
12042 (ensure_current_registry_forking), (ensure_current_registry),
12043 (init_post), (gst_debug_help), (gst_deinit):
12044 * gst/gst_private.h:
12045 * gst/gstregistry.c: (gst_registry_finalize),
12046 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12047 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12048 (_gst_registry_cleanup):
12049 * gst/gstregistry.h:
12050 Revert previous change until I figure out why it breaks distcheck.
12052 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12054 * gst/gst.c: (init_pre), (scan_and_update_registry),
12055 (ensure_current_registry_nonforking),
12056 (ensure_current_registry_forking), (ensure_current_registry),
12057 (init_post), (gst_debug_help), (gst_deinit):
12059 Make init_pre and init_post take the full complement of GOptionFunc
12060 args so they can return useful GErrors. Make the registry updating
12063 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12064 ensure that the registry we're about to write out doesn't contain
12065 stale information about old-deleted plugin files.
12067 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12068 that deletion of plugin files is considered a registry change.
12070 * gst/gst_private.h:
12071 * gst/gstregistry.c: (gst_registry_finalize),
12072 (gst_registry_remove_features_for_plugin_unlocked),
12073 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12074 (gst_registry_scan_path),
12075 (_priv_gst_registry_remove_cache_plugins),
12076 (_priv_gst_registry_cleanup):
12077 * gst/gstregistry.h:
12078 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12079 by adding _priv prefix, so that they won't appear in the global
12080 symbol table. They still do atm though because of #318031. Move the
12081 prototypes to gst_private.h
12083 When removing a plugin, remove all features for that plugin too.
12086 2006-09-27 Wim Taymans <wim@fluendo.com>
12088 * docs/random/moving-plugins:
12089 Make it clear that the "compiled-in descriptions" really mean
12090 the element details.
12092 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12093 (gst_base_sink_wait_preroll):
12096 * docs/libs/gstreamer-libs-sections.txt:
12097 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12098 (gst_base_src_get_range), (gst_base_src_activate_push):
12099 * libs/gst/base/gstbasesrc.h:
12100 Added function to block while waiting for PLAYING, this function
12101 is used by live sources that block on the clock.
12102 API: gst_base_src_wait_playing()
12104 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12106 Patch by: Peter Kjellerstedt <pkj at axis com>
12109 gst-element-check.m4 is generated and should therefore be
12110 copied from the build dir rather than the source dir (#357593).
12111 'make distcheck' hasn't noticed this because we were disting
12112 the file as well, so stop doing that.
12114 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12116 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12117 Add some tests for gst_caps_intersect().
12119 * tools/gst-launch.c: (event_loop):
12120 Print all buffering percentages we get, even the 100% one.
12122 2006-09-26 Wim Taymans <wim@fluendo.com>
12124 * tools/gst-inspect.c: (print_element_properties_info),
12125 (print_signal_info):
12126 Fix printing of flags to match the look of enums.
12128 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12130 * gst/gstelementfactory.c:
12131 Fix typo in docs blurb.
12133 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12135 * gst/gsturi.c: (search_by_entry):
12136 Don't assert/crash here if a uri handler doesn't return any
12137 supported protocols. The list of protocols could be generated
12138 dynamically at runtime or at plugin registration, and an error
12139 in the underlying library shouldn't be fatal (#353301).
12141 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12144 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12145 (spotted by Peter Kjellerstedt).
12147 2006-09-23 Wim Taymans <wim@fluendo.com>
12149 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12151 * libs/gst/base/gstbasesrc.c:
12152 (gst_base_src_default_check_get_range), (gst_base_src_start),
12153 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12154 (gst_base_src_change_state):
12155 Match _start/_stop calls in the activate functions. Remove redundant
12156 _stop call from the state change function. Fixes #356910.
12157 Turn failure DEBUG into ERROR.
12159 2006-09-22 Wim Taymans <wim@fluendo.com>
12161 * docs/design/part-buffering.txt:
12162 * gst/gstmessage.c: (gst_message_new_buffering),
12163 (gst_message_parse_buffering):
12164 Update docs about buffering.
12166 * docs/design/part-trickmodes.txt:
12169 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12171 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12172 (gst_controller_new_list):
12173 Ref instances when returning them again (fixes #357180)
12175 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12177 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12178 Don't forget to release proxy lock when there's an error.
12180 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12183 Add extra initialisers for Caps things, to fix some plugin warnings
12186 2006-09-18 Wim Taymans <wim@fluendo.com>
12188 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12189 Also set template on the internal pad so that a getcaps from the
12190 target pad returns the template caps.
12192 2006-09-18 Wim Taymans <wim@fluendo.com>
12194 * gst/gstelement.c: (gst_element_post_message),
12195 (gst_element_dispose):
12196 Use _DEBUG_OBJECT some more.
12198 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12201 * tools/gst-launch.c: (main):
12202 If the toplevel element is not a GstPipeline, it must be put in a
12203 pipeline so that a bus and clock is selected.
12205 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12207 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12208 JITTER, RATE, and LATENCY query should be handled by the
12209 default case and not by the CONVERT query code.
12211 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12213 * gst/gstformat.c: (gst_format_register):
12214 Fix locking order (must take lock before using n_values).
12216 * gst/gstvalue.c: (gst_value_serialize_enum),
12217 (gst_value_deserialize_enum_iter_cmp),
12218 (gst_value_deserialize_enum):
12219 Fix serialisation/deserialisation of custom registered GstFormats.
12221 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12222 Unit test for custom format serialisation/deserialisation.
12224 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12226 * docs/pwg/building-boiler.xml:
12227 * plugins/elements/gstcapsfilter.c:
12228 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12231 2006-09-16 Edward Hervey <edward@fluendo.com>
12233 * libs/gst/base/gstbasetransform.c:
12234 (gst_base_transform_buffer_alloc):
12235 Check if requested caps are the same as the sinks caps IF
12236 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12238 This fixes the renegotiation issues stated in #352827.
12240 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12243 * docs/manual/advanced-autoplugging.xml:
12244 * tests/examples/Makefile.am:
12245 * tests/examples/manual/.cvsignore:
12246 * tests/examples/manual/Makefile.am:
12247 * tests/examples/manual/extract.pl:
12248 Extract the manual examples again like we used to do.
12251 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12253 * win32/common/config.h:
12256 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12259 Documents how to receive errors.
12261 2006-09-15 Wim Taymans <wim@fluendo.com>
12263 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12264 (event_loop), (main):
12265 Added some comments here and there.
12266 Post an application message when an interrupt is caught instead of doing
12267 an uncontrolled state change.
12268 Clean up the event loop.
12269 Handle buffering messages, pause/resume the pipeline.
12270 Make shutdown because of an interrupt more reliable.
12272 2006-09-15 Wim Taymans <wim@fluendo.com>
12274 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12275 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12276 (gst_base_sink_preroll_object):
12277 Make sure that our internal state is correct when we commit our state
12278 asynchronously. This solves a race where a state change to PLAYING
12279 could cause the sink to remain blocked in preroll in some situations.
12281 2006-09-15 Wim Taymans <wim@fluendo.com>
12283 * tools/gst-inspect.c: (print_element_properties_info),
12284 (print_signal_info):
12285 List flags as hex so it's easier to deal with.
12287 2006-09-15 Wim Taymans <wim@fluendo.com>
12289 * docs/libs/gstreamer-libs-sections.txt:
12290 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12291 (gst_base_sink_do_sync):
12292 * libs/gst/base/gstbasesink.h:
12293 Expose logic to wait for preroll so that subclasses such as audiosink
12294 can also use this method.
12295 API: gst_base_sink_wait_preroll()
12297 2006-09-15 Wim Taymans <wim@fluendo.com>
12299 * gst/gstobject.c: (gst_object_set_parent):
12300 * gst/gstpipeline.c: (do_pipeline_seek):
12301 Small cleanups in docs and code.
12303 * gst/gstsegment.c: (gst_segment_clip):
12304 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12305 if stop == start and start is in the segment, no clipping should be
12306 done. Also add a test for this.
12308 2006-09-15 Wim Taymans <wim@fluendo.com>
12310 * docs/design/part-buffering.txt:
12311 * docs/gst/gstreamer-sections.txt:
12312 * gst/gstmessage.c: (gst_message_new_buffering),
12313 (gst_message_parse_buffering):
12314 * gst/gstmessage.h:
12315 Added methods to create and parse BUFFERING messages.
12316 Added preliminary docs about buffering.
12317 API: gst_message_new_buffering
12318 API: gst_message_parse_buffering
12320 2006-09-06 Wim Taymans <wim@fluendo.com>
12323 Update documentation.
12325 * gst/gstelement.c: (gst_element_class_init),
12326 (gst_element_release_request_pad), (gst_element_set_clock),
12327 (gst_element_get_index), (gst_element_add_pad),
12328 (gst_element_remove_pad), (gst_element_get_random_pad),
12329 (gst_element_send_event), (gst_element_get_query_types),
12330 (gst_element_query), (gst_element_post_message),
12331 (gst_element_message_full), (gst_element_continue_state),
12332 (gst_element_lost_state), (gst_element_save_thyself),
12333 (gst_element_restore_thyself):
12334 Documentation updates.
12335 Rename last bit of the new-pad -> pad-added signal rename.
12336 Fix the case where an element query would only work if the source
12338 Avoid some useless type checking in message handling.
12343 Documentation updates.
12345 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12347 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12348 add an INFO line for when we actually update the fd
12350 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12355 === release 0.10.10 ===
12357 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12360 releasing 0.10.10, "Pais"
12362 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12364 * docs/manual/advanced-position.xml:
12365 Fix typo in sample code.
12367 2006-09-05 Wim Taymans <wim@fluendo.com>
12369 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12370 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12371 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12372 * libs/gst/net/gstnetclientclock.h:
12373 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12374 * libs/gst/net/gstnettimepacket.h:
12375 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12376 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12377 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12378 * libs/gst/net/gstnettimeprovider.h:
12379 Make stuff compile on windows. Fixes #345295.
12381 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12383 * gst/gst.c: (ensure_current_registry_forking):
12384 Print better details when child was terminated by signal.
12386 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12388 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12389 Print a warning rather than g_assert() if a plugin feature
12390 is a URI handler but returns no protocols (#353976).
12392 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12394 * docs/random/moving-plugins:
12397 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12399 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12400 Fix locking order, handle NULL function values properly.
12405 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12406 Initialise variable before using it and fix debug statement to
12407 print the address of the function rather than the address of the
12408 variable on the stack holding the address of the function.
12410 2006-09-01 Wim Taymans <wim@fluendo.com>
12412 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12413 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12414 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12415 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12416 (gst_ghost_pad_parent_unset),
12417 (gst_ghost_pad_internal_do_activate_push),
12418 (gst_ghost_pad_internal_do_activate_pull),
12419 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12420 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12421 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12422 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12423 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12424 (gst_ghost_pad_new_no_target_from_template),
12425 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12427 Avoid needless typechecking in macros.
12428 Since the internal pad is always present and never changes, there is
12429 no need to locking or ref when retrieving it.
12430 Improve debugging a bit.
12431 Handle link errors when setting the target. Fixes #341029.
12433 2006-09-01 Wim Taymans <wim@fluendo.com>
12435 * docs/libs/gstreamer-libs-sections.txt:
12436 * docs/plugins/gstreamer-plugins-sections.txt:
12437 Fix docs some more.
12439 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12440 (gst_collect_pads_event):
12441 * libs/gst/base/gstcollectpads.h:
12442 Documentation updates.
12443 Free queued buffer when removing a pad.
12445 2006-08-31 Michael Smith <msmith@fluendo.com>
12447 * gst/gstutils.c: (gst_element_link_pads),
12448 (gst_element_link_pads_filtered):
12449 Ensure that we set a capsfilter to NULL if we failed to link it
12450 when doing filtered linking, to avoid criticals.
12452 No need to check for unreffing srcpad, which is explicly NULLed
12453 above (a trivial code cleanup).
12455 2006-08-31 Wim Taymans <wim@fluendo.com>
12457 * docs/design/part-gstghostpad.txt:
12458 Update ascii art in documentation.
12460 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12461 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12462 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12463 (gst_ghost_pad_internal_do_activate_push),
12464 (gst_ghost_pad_internal_do_activate_pull),
12465 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12466 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12467 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12468 (gst_ghost_pad_set_target):
12469 Small cleanups and leak fixes.
12470 Remove some checks now that the internal pad is never NULL.
12471 Fix the case where linking pads without a target would create nasty
12472 criticals. Fixes #341029.
12473 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12474 value of _set_target().
12476 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12477 (gst_ghost_pad_suite):
12478 Some more tests for creating and linking untargeted ghostpads.
12480 2006-08-31 Edward Hervey <edward@fluendo.com>
12482 * docs/gst/gstreamer-sections.txt:
12483 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12484 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12485 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12486 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12487 (gst_ghost_pad_new_from_template),
12488 (gst_ghost_pad_new_no_target_from_template):
12489 * gst/gstghostpad.h:
12490 Refactored *_new() functions.
12491 Templates are now used as a g_object_new() parameter.
12492 Use template in _do_getcaps() if we don't have a target.
12493 Small documentation cleanups.
12494 Added two new constructors:
12495 gst_ghost_pad_new_from_template()
12496 gst_ghost_pad_new_no_target_from_template()
12497 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12498 (gst_ghost_pad_suite):
12499 Added tests for new ghostpad instanciation functions.
12501 API additions: gst_ghost_pad_new_from_template,
12502 gst_ghost_pad_new_no_target_from_template
12504 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12506 * docs/random/ensonic/profiling.txt:
12507 Ideas about qos profiling.
12509 2006-08-29 Wim Taymans <wim@fluendo.com>
12511 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12515 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12518 Improve and detypofy docs.
12520 * tests/check/Makefile.am:
12521 * tests/check/gst/.cvsignore:
12522 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12523 Add a basic test suite for GstXML.
12525 2006-08-29 Wim Taymans <wim@fluendo.com>
12527 * gst/gstelement.c: (activate_pads), (clear_caps),
12528 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12529 Clear the pad caps when the element shut down all of the pads and
12530 is not streaming data that could modify the caps.
12533 2006-08-28 Michael Smith <msmith@fluendo.com>
12535 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12536 Revert previous change; I misunderstood single-segment mode.
12538 2006-08-28 Michael Smith <msmith@fluendo.com>
12540 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12541 Unset DISCONT on buffers when using single-segment mode.
12543 2006-08-28 Wim Taymans <wim@fluendo.com>
12545 * gst/gstcaps.c: (gst_caps_merge_structure):
12547 Fix docs and indentation again.
12549 * tests/check/gst/gstquery.c: (GST_START_TEST):
12550 Fix leak in tests and add some more tests.
12552 2006-08-28 Edward Hervey <edward@fluendo.com>
12554 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12555 Inform GstSegment of the last stop position in order for the current
12556 segment to have a proper duration if it doesn't have a specific stop
12557 position from which a duration could be calculated.
12558 This bug was noticeable when a non-flushing, non-update new segment was
12559 followed by another segment (all buffers from the new segment were being
12562 2006-08-28 Wim Taymans <wim@fluendo.com>
12564 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12565 Small comment update.
12567 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12568 (gst_identity_transform_ip):
12569 Drop-probability is broken, mention this in the code with a
12570 FIXME and also in the property description.
12571 Make silent also be silent about the drop messages.
12573 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12575 * docs/manual/appendix-win32.xml:
12576 Remove mention of popt, we don't depend on that any
12577 longer (#353136). Add some comments pointing out that
12578 this section is slightly outdated.
12580 2006-08-28 Wim Taymans <wim@fluendo.com>
12582 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12584 * gst/gstquery.c: (gst_query_new_segment):
12585 * tests/check/gst/gstquery.c: (GST_START_TEST):
12586 Initialize variables when creating a new segment query.
12589 2006-08-28 Wim Taymans <wim@fluendo.com>
12591 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12593 * gst/gstelement.c: (gst_element_get_bus):
12594 * tests/check/gst/gstelement.c: (GST_START_TEST):
12595 Check for NULL before _reffing the bus. Fixes #353122.
12597 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12599 * docs/manual/basics-bus.xml:
12600 Docs update: fix wrong callback return value explanation; add
12601 some lines about the implicit relationship between main loop
12602 and main context; remove duplicate main loop variable declaration.
12604 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12606 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12607 Don't leak caps in unit test; add a few more simple
12610 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12612 * docs/gst/gstreamer-sections.txt:
12613 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12614 (gst_caps_structure_is_subset), (gst_caps_merge),
12615 (gst_caps_merge_structure):
12617 * libs/gst/base/gstbasetransform.c:
12618 (gst_base_transform_transform_caps):
12619 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12620 implement caps merging (fixes #352580)
12622 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12624 * tools/Makefile.am:
12625 * tools/gst-plot-timeline.py:
12626 add debug-log plotting developer tool (#340674)
12628 2006-08-23 Wim Taymans <wim@fluendo.com>
12630 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12631 (gst_pad_stop_task):
12632 Improve debugging for task functions.
12634 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12635 (gst_task_start), (gst_task_pause), (gst_task_join):
12636 Make sure that the task function started and finished after a
12638 Don't try to push the task function on the threadpool multiple
12640 Improve the g_warning message with some useful suggestions
12641 about how to fix the problem.
12643 2006-08-23 Wim Taymans <wim@fluendo.com>
12645 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12646 Handle RESYNC correctly in _proxy_getcaps.
12648 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12650 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12651 (gst_xml_parse_memory), (gst_xml_get_element):
12652 Chain up to parent class in dispose function and also
12653 unref the elements in the toplevel_elements GList.
12654 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12655 Always return a reference in gst_xml_get_element() rather
12656 than only sometimes.
12658 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12659 Don't leak GstXml object.
12661 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12663 * docs/gst/gstreamer-sections.txt:
12664 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12667 * libs/gst/base/gstbasetransform.c:
12668 (gst_base_transform_transform_caps):
12669 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12672 2006-08-21 Edward Hervey <edward@fluendo.com>
12674 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12675 Implement GObject::dispose virtual method in GstXML so we can free the
12676 top_elements GList.
12678 2006-08-21 Wim Taymans <wim@fluendo.com>
12680 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12681 (gst_buffer_create_sub):
12682 Copy duration/offset_end/caps when creating a subbuffer of the
12684 Make the subbuffer read-only when we make the metadata writable for
12685 now. Fixes #351768.
12687 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12688 Added check for metadata copy when creating subbuffers.
12690 2006-08-21 Edward Hervey <edward@fluendo.com>
12692 * libs/gst/base/gstbasetransform.c:
12693 (gst_base_transform_buffer_alloc):
12694 Only call downstream buffer_alloc if transform element is passthrough
12695 or always_in_place. Closes #350449.
12697 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12700 ChangeLog surgery to add comments to previous changes
12702 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12707 * gst/gstpad.c: (gst_pad_set_active):
12708 Be more verbose in the log
12710 * libs/gst/base/gstbasetransform.c:
12711 (gst_base_transform_transform_caps):
12712 Simplify caps to get rid of duplicates, fixes #345444
12714 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12718 Use these optimizations only internally.
12720 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12722 * gst/gstvalue.c: (gst_value_compare_list),
12723 (gst_value_compare_fraction_range),
12724 (gst_value_intersect_fraction_fraction_range),
12725 (gst_value_intersect_fraction_range_fraction_range),
12726 (gst_value_subtract_fraction_fraction_range),
12727 (gst_value_subtract_fraction_range_fraction_range),
12728 (gst_value_get_compare_func), (gst_value_compare),
12729 (gst_value_compare_with_func):
12731 Saves the expensive lookup of the compare function in many cases
12734 2006-08-18 Edward Hervey <edward@fluendo.com>
12736 * tests/check/gst/gstinfo.c: (gst_info_suite):
12737 Disable test that require gstdebug if it wasn't built in core.
12739 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12741 * docs/random/ensonic/logging.txt:
12744 * gst/gstinfo.c: (gst_debug_log_default):
12745 reorder fields, save some columns, add optional color codes for log
12748 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12750 * docs/random/ensonic/logging.txt:
12751 add ideas about making the logs a bit more useful
12753 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12755 * docs/pwg/advanced-events.xml:
12756 * docs/pwg/titlepage.xml:
12757 Update for 0.10 API (#340627). Add myself
12760 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12762 * docs/libs/gstreamer-libs-docs.sgml:
12763 * docs/libs/gstreamer-libs-sections.txt:
12764 * libs/gst/check/gstbufferstraw.c:
12765 Make gstcheck stuff show up in docs (still needs to
12766 be documented properly though).
12768 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12770 * docs/gst/gstreamer-sections.txt:
12772 * gst/gst.c: (init_post):
12773 * gst/gst_private.h:
12774 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12776 * gst/gstquery.c: (gst_query_new_position),
12777 (gst_query_set_position), (gst_query_parse_position),
12778 (gst_query_new_duration), (gst_query_set_duration),
12779 (gst_query_parse_duration), (gst_query_new_convert),
12780 (gst_query_set_convert), (gst_query_parse_convert),
12781 (gst_query_new_segment), (gst_query_set_segment),
12782 (gst_query_parse_segment), (gst_query_new_seeking),
12783 (gst_query_set_seeking), (gst_query_parse_seeking):
12784 Add internal helpers for pre-registering quarks from static strings
12785 and using the quark values directly instead of looking them up when
12786 creating and parsing queries. Can be used for event construction too.
12789 2006-08-16 Wim Taymans <wim@fluendo.com>
12794 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12796 * gst/gstutils.c: (gst_util_set_value_from_string):
12797 Fix memleak (#351502).
12799 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12800 Add unit test for most of gst_util_set_value_from_string()
12801 (not that one would want to encourage use of this function).
12803 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12805 * libs/gst/check/gstcheck.h:
12806 Use const gchar * variables in fail_unless_equals_string
12807 macro to avoid compiler warnings (and don't use tabs for
12810 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12812 * tools/gst-launch.c: (print_tag):
12813 More space on the left for the tag names, to cater
12814 for the 'extended comment' tag (not touching the
12815 string for the first line since it's translated).
12817 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12819 * libs/gst/check/gstcheck.h:
12820 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12821 print something when they fail.
12823 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12825 * docs/gst/gstreamer-sections.txt:
12826 * gst/gsttaglist.c: (_gst_tag_initialize):
12827 * gst/gsttaglist.h:
12828 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12829 Also change merge function for GST_TAG_COMMENT to
12832 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12834 * gst/gstinfo.c: (gst_debug_print_object):
12835 Make GST_PTR_FORMAT print messages as well.
12837 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12838 (GST_START_TEST), (gst_info_suite):
12841 2006-08-14 Edward Hervey <edward@fluendo.com>
12843 * gst/gstelementfactory.c: (gst_element_register):
12844 If the GstElementClass doesn't have a GstElementDetails with all fields
12845 filled up correctly (longname, description AND author), then error out
12846 nicely instead of crashing.
12848 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12850 * gst/gststructure.c:
12851 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12854 Expand on the difference between arrays and lists as we use them.
12856 2006-08-14 Wim Taymans <wim@fluendo.com>
12858 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12859 If the parent state change function failed, don't assume we can safely
12860 stop the source, this will be done when the pads are deactivated.
12862 2006-08-14 Wim Taymans <wim@fluendo.com>
12865 * gst/gsttask.c: (gst_task_join):
12868 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12869 (gst_pad_stop_task):
12870 When pad (de)activation failed for some reason, restore the old
12871 activation mode and set the pad to flushing instead of assuming the
12872 pad is deactivated.
12873 If the _task_join() failed, reinstall the task on the pad so that it can
12874 be stopped later and return an error.
12876 2006-08-11 Andy Wingo <wingo@pobox.com>
12879 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12880 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12881 is only for users of API that don't want to see deprecated
12882 functions in the headers; people that want to compile out
12883 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12884 CFLAGS. Fixes the build of multifdsink, or will soon..
12886 2006-08-11 Wim Taymans <wim@fluendo.com>
12888 * docs/gst/gstreamer-sections.txt:
12889 Add GstClockClass vmethod docs.
12892 Mark #endif with comment for associated #if
12894 * gst/gstclock.c: (gst_clock_id_wait):
12896 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12897 most clock implementations.
12899 Flesh out docs about resolution methods.
12900 API: GstClockClass::wait_jitter
12902 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12903 (gst_system_clock_async_thread),
12904 (gst_system_clock_id_wait_jitter_unlocked),
12905 (gst_system_clock_id_wait_jitter):
12906 Use base class wait_jitter variant for improved performance
12907 due to less clock polling.
12909 2006-08-11 Edward Hervey <edward@fluendo.com>
12911 * gst/gst.c: (gst_init_check), (init_post):
12912 Set gst as being initialized before scanning/updating the registry,
12913 since there might be my python plugin loader that calls gst_init() and
12914 we don't want to loop back in.
12917 2006-08-11 Wim Taymans <wim@fluendo.com>
12919 * docs/design/part-qos.txt:
12920 Bring docs in line with the code. Mostly the sign of the jitter was
12921 wrong in the docs. Fixes #349943.
12924 Fix the docs for the jitter.
12926 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12927 (gst_event_parse_tag), (gst_event_new_buffer_size),
12928 (gst_event_parse_buffer_size), (gst_event_parse_qos),
12929 (gst_event_new_seek), (gst_event_parse_seek),
12930 (gst_event_new_navigation):
12931 Make sure the GstStructure has no parent when creating custom
12933 Add some more argument checking so that we avoid 0.0 rates.
12934 Flesh out the docs for the QoS event some more.
12936 2006-08-11 Wim Taymans <wim@fluendo.com>
12938 * docs/gst/gstreamer-sections.txt:
12939 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12940 (ensure_current_registry_forking), (ensure_current_registry),
12941 (parse_one_option), (parse_goption_arg), (gst_deinit),
12942 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12945 Added API and command line option to disable registry forking in
12946 addition to the environment variable.
12947 Constify some static arrays.
12948 Added some more debug.
12949 Don't deinit twice.
12950 API: gst_registry_fork_is_enabled()
12951 API: gst_registry_fork_set_enabled()
12952 API: --gst-disable-registry-fork command line option
12955 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
12957 * gst/gst.c: (gst_init):
12958 Fix typo in error message.
12960 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12962 * libs/gst/controller/gstcontroller.h:
12963 fix ABI size-correction
12965 * tests/check/libs/gdp.c: (gst_dp_suite):
12966 make tests that use deprecated API conditional
12968 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12970 * docs/libs/gstreamer-libs-sections.txt:
12971 * libs/gst/controller/gstcontroller.c:
12972 (_gst_controller_get_property), (_gst_controller_set_property),
12973 (_gst_controller_init), (_gst_controller_class_init):
12974 * libs/gst/controller/gstcontroller.h:
12975 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12976 (gst_object_set_control_rate):
12977 API: add gst_object_{s,g}et_control_rate(), add private data section,
12980 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12981 * libs/gst/dataprotocol/dataprotocol.h:
12982 add deprecation guards to make gtk-doc happy and allow disabling cruft
12984 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
12986 * tests/check/Makefile.am:
12987 * tests/check/gst/.cvsignore:
12988 Let's enable the new unit test as well.
12990 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
12993 * docs/gst/gstreamer-sections.txt:
12994 * gst/gstconfig.h.in:
12995 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12996 (_gst_info_printf_extension_ptr),
12997 (_gst_info_printf_extension_segment):
12998 API: add GST_SEGMENT_FORMAT, which is a printf extension we
12999 register that lets us easily dump GstSegments into debug
13002 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13003 (info_segment_format_printf_extension), (gst_info_suite):
13004 Add simple unit test that logs a bunch of different segments (not
13005 valgrinded at the moment because of leaks in
13006 gst_debug_add_log_function).
13008 2006-08-09 Edward Hervey <edward@fluendo.com>
13010 * libs/gst/base/gstbasetransform.c:
13011 (gst_base_transform_buffer_alloc):
13012 Even if we can't figure out the proper format to request downstream,
13013 call buffer_alloc() downstream with the input parameters without setting
13014 the caps on the srcpad. This will force negotiation in the chain
13018 2006-08-08 Edward Hervey <edward@fluendo.com>
13020 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13021 Unlinking from a pad without a target is now a perfectly valid case
13022 which should NOT raise an assertion.
13023 This case would happen if a linked ghostpad its target set to NULL after
13024 it was previously linked.
13026 2006-08-08 Edward Hervey <edward@fluendo.com>
13028 * tests/check/libs/gdp.c:
13029 Also comment out the test (see below).
13031 2006-08-08 Edward Hervey <edward@fluendo.com>
13033 * tests/check/libs/gdp.c: (gst_dp_suite):
13034 Use the architecture information from config.h and not gcc macros
13035 in order to properly disable a test that fails on PPC64.
13037 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13039 * gst/gstelement.c: (gst_element_remove_pad):
13040 Don't crash printing the warning if the pad has no parent.
13042 2006-08-02 Wim Taymans <wim@fluendo.com>
13044 * libs/gst/dataprotocol/dataprotocol.c:
13045 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13046 (gst_dp_crc), (gst_dp_header_payload_length),
13047 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13048 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13049 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13050 (gst_dp_event_from_packet), (gst_dp_validate_header),
13051 (gst_dp_validate_payload):
13052 Make debug category static
13053 Constify the crc table.
13054 Do some more arg checking in public functions.
13055 Fix some docs and do some small cleanups.
13057 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13058 Add some more checks to see if GDP deals with bogus input.
13060 2006-07-31 Wim Taymans <wim@fluendo.com>
13062 * gst/gstvalue.c: (gst_value_compare_list):
13063 Fix GstValueList comparison code. Fixes #347293.
13065 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13066 Check to test GstValueList comparison.
13068 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13070 * gst/gstelementfactory.c: (gst_element_factory_create):
13071 Remove unnecessary ref/unref pair
13073 * gst/parse/grammar.y:
13074 Make sure to free the parse buffer on all code paths.
13075 Move a g_free up to the error handler where it's easier to see.
13077 * tests/check/gst/gstevent.c: (test_event):
13078 Extending timeout for downstream travelling events to 10 seconds to
13079 hopefully avoid intermittent failure on the buildbots.
13081 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13082 Don't manually set the state of the src element - it will happen as a
13083 natural consequence of the pipeline changing state, and that way it
13084 will do it in the right order too.
13086 2006-07-31 Wim Taymans <wim@fluendo.com>
13088 * libs/gst/base/gstbasetransform.c:
13089 (gst_base_transform_buffer_alloc):
13090 Use OBJECT_LOCK and refcounting to get the pad caps in the
13091 buffer_alloc function because the caps could change while we are
13092 busy with them. Fixes #349105
13094 2006-07-31 Wim Taymans <wim@fluendo.com>
13096 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13097 Protect _PAD_CAPS with OBJECT_LOCK.
13099 2006-07-31 Wim Taymans <wim@fluendo.com>
13101 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13102 (gst_pad_get_property), (gst_pad_activate_pull),
13103 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13104 (gst_pad_set_activate_function),
13105 (gst_pad_set_activatepull_function),
13106 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13107 (gst_pad_set_getrange_function),
13108 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13109 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13110 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13111 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13112 (gst_pad_set_acceptcaps_function),
13113 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13114 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13115 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13116 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13117 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13118 (gst_pad_configure_sink), (gst_pad_configure_src),
13119 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13120 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13121 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13122 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13123 (gst_pad_send_event):
13124 Use _DEBUG_OBJECT when it makes sense.
13125 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13126 Small cleanups and code reflows.
13127 Avoid caps refcounting in _accept_caps.
13128 Refactor alloc_buffer so that the code performed on the peer is in a
13129 separate function. Also if the pad does not implement a buffer alloc
13130 function, we should still check if the pad is flushing before falling
13131 back to the default allocator.
13133 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13135 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13136 Make all uses of identity and fakesink have silent=true to avoid
13137 serialising every passing data structure, which is breaking tests
13138 on FC4 for some unknown reason.
13140 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13142 * gst/parse/Makefile.am:
13143 * gst/parse/grammar.y:
13144 * gst/parse/parse.l:
13145 Reverted previous patch as it required to bump the flex dependency to
13146 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13148 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13150 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13152 * gst/parse/Makefile.am:
13153 * gst/parse/grammar.y:
13154 * gst/parse/parse.l:
13155 push & pop the state of the lexer for reentrant use case
13158 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13160 * libs/gst/base/gstbasesrc.h:
13161 Note in the docs that the ::newsegment vfunc is not actually used by
13164 2006-07-28 Wim Taymans <wim@fluendo.com>
13166 * libs/gst/base/gstcollectpads.c:
13167 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13168 (gst_collect_pads_clear), (gst_collect_pads_flush),
13169 (gst_collect_pads_event), (gst_collect_pads_chain):
13170 When flushing a pad, also clear the queued buffer so that we don't
13171 accidentally use it when we shouldn't.
13172 Fix leaks by inreffing incomming buffer.
13173 Flush out queued buffers in case of errors.
13176 2006-07-28 Wim Taymans <wim@fluendo.com>
13178 * docs/random/phonon-gst:
13179 Random notes about a Phonon backend.
13181 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13183 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13185 * tests/check/libs/gdp.c: (gst_dp_suite):
13186 Take a whack at fixing the ppc compile using a different define to
13187 disable the broken test.
13189 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13190 Remove excess g_print()
13192 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13194 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13195 Oops, meant to uncomment this line too to dampen the noise a bit.
13197 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13199 * gst/parse/grammar.y:
13200 * gst/parse/parse.l:
13201 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13202 (GST_START_TEST), (parse_suite):
13203 Fix some of the leaks exposed by extending the parse-launch testsuite,
13204 and move the 3 I can't figure out into a separate test that won't run
13205 the pipelines unless the appropriate line is uncommented.
13207 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13209 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13210 Requesting 0 bytes before the end of the file should result in
13211 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13214 2006-07-27 Wim Taymans <wim@fluendo.com>
13216 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13217 Fix useless assert, a uint is always positive.
13219 * gst/gststructure.c: (gst_structure_nth_field_name),
13220 (gst_structure_foreach), (gst_structure_map_in_place):
13221 Check input arguments for public functions to avoid obvious crashes.
13223 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13224 * plugins/elements/gstfakesink.h:
13225 Do less useless typechecking.
13227 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13229 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13230 Do not use mmap() by default since there are a number of error
13231 conditions that we would like to handle in a non-fatal way that
13232 will result in a SIGBUS if we use mmap(). Examples: external
13233 devices (USB harddrive, portable music player) being unplugged
13234 while in use; file on mounted CD/DVD that can't be read because
13235 the medium is partly damaged. Fixes #348455 and #348475.
13237 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13240 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13241 rates are a gdouble
13243 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13245 * gst/gstregistry.c:
13246 Move big documentation comment into class section header, so that it
13247 appears in the API docs.
13249 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13251 * docs/gst/gstreamer-sections.txt:
13252 Oops. Commit the docs additions too for new API.
13253 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13255 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13257 * gst/gststructure.c: (gst_structure_id_set),
13258 (gst_structure_id_set_valist):
13259 * gst/gststructure.h:
13260 Add API for setting values into structures without performing
13261 a quark lookup, if the appropriate quark is already known.
13263 API: gst_structure_id_set
13264 API: gst_structure_id_set_valist
13266 * gst/parse/grammar.y:
13267 * gst/parse/parse.l:
13268 Remove some dead code shown by the coverage information.
13269 Don't throw a critical g_warning when encountering a syntax error,
13270 just warn and let the normal error path handle it.
13272 * plugins/elements/gstelements.c:
13273 Bump the rank of filesink up to PRIMARY so that it is preferred over
13274 gnomevfssink for file:// sink uri's
13276 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13277 (GST_START_TEST), (run_delayed_test),
13278 (gst_parse_test_element_base_init),
13279 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13280 (gst_parse_test_element_change_state),
13281 (gst_register_parse_element), (parse_suite):
13282 Beef up the tests for parse syntax to check that more error cases
13283 fail as they are supposed to. Increases the test coverage a bit.
13285 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13287 * docs/manual/basics-elements.xml:
13288 Fix gst_element_link() example.
13291 Mention in API docs that one should usually gst_bin_add()
13292 elements to a bin or pipeline before doing the linking.
13294 2006-07-26 Wim Taymans <wim@fluendo.com>
13296 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13297 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13298 Avoid function call for known types by keeping the buffer and
13299 subbuffer GType global.
13301 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13302 Random silly optimisations in read() path.
13304 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13306 * tools/gst-launch.c: (main):
13307 If the top-level of the parse is a normal bin, it doesn't do the
13308 right logic to run as a top-level element, so place it inside a
13311 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13313 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13314 Remove superfluous g_object_notify() calls, GObject does
13315 that for us automatically.
13317 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13320 on Win32, use dllspec to export the debug category symbols
13322 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13324 * gst/gsttaglist.c: (_gst_tag_initialize):
13325 Allow more than one GST_TAG_IMAGE per taglist.
13327 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13329 * gst/gstminiobject.c:
13331 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13332 (gst_fd_src_create):
13333 log recurring events at LOG level
13334 add more debug for when the fd gets set
13336 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13338 * gst/gstparse.c: (gst_parse_launch):
13339 Also remove reentrance checks if flex is MT safe (#348179)
13340 Fix my empty ChangeLog entry below
13342 2006-07-21 Andy Wingo <wingo@pobox.com>
13344 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13346 * libs/gst/check/Makefile.am
13347 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13348 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13349 * libs/gst/check/gstbufferstraw.h:
13350 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13351 functions, thus proving I am still a GStreamer haxor. OK I wrote
13352 them a long time ago, but anyways.
13354 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13357 * gst/gstparse.c: (gst_parse_launch):
13358 Check for flex version and omit mutex if we have a MT save flex
13361 2006-07-21 Wim Taymans <wim@fluendo.com>
13363 * gst/gstparse.c: (gst_parse_launch):
13364 Protect recursive calls to _parse with a recursive mutex
13367 2006-07-21 Wim Taymans <wim@fluendo.com>
13369 * tests/check/gst/gstpad.c: (GST_START_TEST):
13372 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13374 * gst/gstparse.c: (gst_parse_launch):
13375 Do not hang on recursive usage of gst_parse_launch()
13377 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13379 * gst/gsttaglist.c:
13380 Add some more docs, comments and FIXME 0.11s here and there
13381 and also fix some typos.
13383 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13385 * gst/gstsegment.h:
13386 Convert tabs to spaces for better readability.
13388 2006-07-20 Edward Hervey <edward@fluendo.com>
13390 * tests/check/libs/gdp.c: (gst_dp_suite):
13391 the test_buffer test fails at line 140 on ppc64 at the following
13393 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13394 GST_BUFFER_FLAG_IN_CAPS),
13395 "GST_BUFFER_IN_CAPS flag should have been copied !");
13396 See bug #348114 for more details.
13398 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13400 * docs/pwg/advanced-scheduling.xml:
13402 Fix typos (#348000).
13404 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13406 * docs/pwg/intro-basics.xml:
13407 Fix wrong links (#347927).
13409 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13411 * gst/gstregistry.h:
13412 * gst/gstregistryxml.c: (load_feature),
13413 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13414 * win32/common/config.h:
13415 make --disable-index work (#342564)
13417 2006-07-18 Wim Taymans <wim@fluendo.com>
13419 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13423 The attached patch adds two missing defines to gsttrace.h when tracing
13424 is disabled. It also corrects one existing define.
13427 2006-07-17 Wim Taymans <wim@fluendo.com>
13429 * docs/gst/gstreamer-sections.txt:
13430 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13432 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13433 Add two functions to check and change the SIGSEGV behaviour
13434 when loading plugins.
13435 Don't mess with the SIGSEGV handler when we were told not to.
13437 API: gst_segtrap_is_enabled
13438 API: gst_segtrap_set_enabled
13440 2006-07-14 Wim Taymans <wim@fluendo.com>
13442 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13443 * tests/check/elements/filesrc.c: (GST_START_TEST):
13444 Revert fix for regression in #347408 after release.
13446 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13448 Patch by: Antoine Tremblay <hexa00 at gmail com>
13450 * gst/gstutils.c: (gst_element_unlink):
13451 Free iterator when done (#347311).
13453 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13454 And add a test case for this.
13456 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13459 Bump nano back to CVS
13461 === release 0.10.9 ===
13463 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13466 releasing 0.10.9, "On the road again"
13468 2006-07-13 Wim Taymans <wim@fluendo.com>
13470 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13471 * tests/check/elements/filesrc.c: (GST_START_TEST):
13472 Revert pull-0 fix for release. Disable check. Fixes #347408.
13474 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13476 * libs/gst/dataprotocol/dataprotocol.c:
13477 (gst_dp_event_from_packet_1_0):
13478 Fixes #347337: failure to deserialize event packets with
13479 empty payload (only event type)
13481 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13484 do not install a .c file in the header directory
13486 2006-07-13 Edward Hervey <edward@fluendo.com>
13488 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13489 GhostPad no longer implicitely use the padtemplates of the targets.
13492 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13494 * gst/gstvalue.c: (gst_value_compare_list),
13495 (gst_value_compare_array), (_gst_value_initialize):
13496 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13497 Make GstValueArray comparison be order dependent as designed.
13498 Add checks for value lists and value array comparisons.
13501 2006-07-11 Edward Hervey <edward@fluendo.com>
13503 * gst/gstbin.c: (activate_pads),
13504 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13505 (gst_bin_change_state_func):
13506 (de)activate src pads before calling state_change on the childs.
13507 This is to avoid the case where a src ghostpad is blocked (holding the
13508 stream lock), which would block the deactivation of the ghostpad's
13510 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13511 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13512 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13513 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13514 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13515 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13516 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13517 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13518 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13519 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13520 (gst_ghost_pad_class_init),
13521 (gst_ghost_pad_internal_do_activate_push),
13522 (gst_ghost_pad_internal_do_activate_pull),
13523 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13524 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13525 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13526 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13527 GhostPads now create their internal GstProxyPad at creation (and not
13528 when they're linked, as it was being done previously).
13529 The internal and target pads are linked straight away.
13530 The data will also travel through the other pad in order to make
13531 pad blocking and probes non-hackish (the probe/block now really happens
13532 on the GhostPad and not on the target).
13533 * gst/gstpad.c: (gst_pad_set_blocked_async),
13534 (gst_pad_link_prepare), (gst_pad_push_event):
13535 Remove previous ghostpad cruft.
13536 * gst/gstutils.c: (gst_pad_add_data_probe),
13537 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13538 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13539 (gst_pad_remove_buffer_probe):
13540 Remove previous ghost pad cruft.
13541 Added more detailed debug statements.
13542 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13543 Fix the testsuite for refcounting changes.
13544 The comments about who has references were correct, but the refcount
13545 being checked wasn't the same (!?!).
13549 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13551 * docs/gst/gstreamer-sections.txt:
13552 * gst/gstconfig.h.in:
13553 More docs for configuration options, add docs to gtk-doc.
13555 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13558 * gst/gstconfig.h.in:
13559 * win32/common/config.h:
13560 Fix build when disabling tracing (fixes #344016). Also start to document
13561 the defines that disable the sub-systems.
13563 2006-07-10 Edward Hervey <edward@fluendo.com>
13565 * gst/gst.c: (ensure_current_registry_forking):
13566 let's make valgrind happy...
13568 2006-07-09 Wim Taymans <wim@fluendo.com>
13570 * gst/gstelement.c: (activate_pads),
13571 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13572 Better pad activation code: Reset the collect value too on resync.
13575 2006-07-09 Wim Taymans <wim@fluendo.com>
13577 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13578 (gst_pad_activate_push):
13579 Use some more macros where it makes sense.
13580 Allow pad mode switching instead of asserting. When a pad
13581 is activated in one mode and we activate it in another,
13582 deactivate it first before activating it in a different mode.
13585 2006-07-08 Andy Wingo <wingo@pobox.com>
13587 * tools/gst-launch.c (main): Handle err == NULL.
13589 * gst/gst.c (init_post, ensure_current_registry)
13590 (ensure_current_registry_forking)
13591 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13592 factoring out the registry scanning into separate functions. Don't
13593 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13594 Better environment var name/interface suggestions accepted.
13596 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13598 * gst/gstobject.c: (gst_object_set_name_default),
13599 (gst_object_set_name):
13600 Random micro-optimisation: don't use a hash table
13601 with strings as keys and the usual strdup/strcmp
13602 involved, but rather just use the GQuark of the
13603 type name as key, since it needs to be looked up
13604 anyway to get the type name string.
13606 * tests/check/gst/gstobject.c: (GST_START_TEST):
13609 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13611 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13612 (gst_bin_iterate_all_by_interface):
13613 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13614 GTypes are gulongs and thus the top 4 bytes might be cut
13615 off on some platforms when doing GPOINTER_TO_INT, leading
13616 to invalid GTypes and bad things happening (see RH bug #179654).
13617 Also add a check to make sure the type passed in is really
13620 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13625 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13629 * gst-element-check.m4:
13630 * gst-element-check.m4.in:
13631 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13632 instead of the unversioned gst-inspect (#324176, #168659).
13634 2006-07-06 Wim Taymans <wim@fluendo.com>
13636 * gst/gstmessage.h:
13637 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13640 2006-07-06 Wim Taymans <wim@fluendo.com>
13642 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13643 (gst_base_src_wait), (gst_base_src_update_length),
13644 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13645 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13646 (gst_base_src_loop), (gst_base_src_start),
13647 (gst_base_src_activate_pull):
13649 blocksize == 0 now means the default blocksize when working in push
13651 Remove some pointless asserts in _wait function.
13652 Fix offset/length calculations and EOS handling. We can now pull 0
13653 bytes as well, which is allowed.
13654 use _check_get_range() to decide if we can operate in _pull based
13656 Fix refcounting leak when check_get_range function was not
13658 API GstBaseSrc::blocksize range can be 0 too now (default)
13660 * tests/check/elements/filesrc.c: (GST_START_TEST),
13662 Added check to test _get_range() behaviour.
13664 2006-07-06 Wim Taymans <wim@fluendo.com>
13666 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13667 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13668 (gst_pad_pull_range):
13670 Lots of comments and docs added to the pad functions.
13671 Flesh out the expected behaviour of the get_range() functions.
13673 2006-07-06 Wim Taymans <wim@fluendo.com>
13678 * gst/gstiterator.h:
13682 Remove comma at end of enumerator list.
13684 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13686 * win32/common/libgstbase.def:
13687 * win32/common/libgstdataprotocol.def:
13688 * win32/common/libsgtreamer.def:
13689 Add new exported functions.
13691 2006-07-05 Wim Taymans <wim@fluendo.com>
13693 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13694 Add some more docs here and there.
13696 2006-07-05 Wim Taymans <wim@fluendo.com>
13698 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13699 (gst_base_sink_loop), (gst_base_sink_get_position):
13700 When operating in pull mode update the offset so that we
13703 2006-07-05 Wim Taymans <wim@fluendo.com>
13705 * gst/gstregistryxml.c: (read_string):
13706 Avoid strdup. (will happen in libxml, but hey!)
13709 Add some more docs.
13711 2006-07-05 Wim Taymans <wim@fluendo.com>
13713 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13714 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13715 (gst_buffer_suite):
13716 No point in checking if the size of the subbuffer > 0, the
13717 code handles it correclty as demonstrated by unit test.
13718 Also add a unit test for the zero sized _new_and_alloc and
13719 _copy. Fixes #346663.
13721 2006-07-05 Wim Taymans <wim@fluendo.com>
13723 * libs/gst/base/gstbasetransform.c:
13724 (gst_base_transform_prepare_output_buffer),
13725 (gst_base_transform_buffer_alloc),
13726 (gst_base_transform_handle_buffer):
13727 Make sure the buffer we pass to transform_ip has a refcount of
13728 1 and thus is writable. Fixes #343196
13730 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13732 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13733 (gst_file_src_init), (gst_file_src_set_property),
13734 (gst_file_src_get_property), (gst_file_src_map_region):
13735 * plugins/elements/gstfilesrc.h:
13736 Add "sequential" property, off by default, to use madvise and hint
13737 to the kernel that sequential access is desired.
13738 Touch all retrieved pages by default to ensure they are pulled
13739 into memory. (Closes #345720)
13741 2006-07-03 Wim Taymans <wim@fluendo.com>
13743 * docs/design/part-block.txt:
13744 * docs/design/part-dynamic.txt:
13745 Small docs updates.
13747 2006-07-03 Wim Taymans <wim@fluendo.com>
13749 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13750 (gst_caps_unref), (gst_static_caps_get),
13751 (gst_caps_append_structure):
13752 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13753 Use GSlice when the glib we build against is >= 2.10
13755 2006-07-03 Wim Taymans <wim@fluendo.com>
13757 * gst/gstelement.c: (gst_element_pads_activate):
13758 Small cleanup in pad activation code.
13760 2006-07-03 Wim Taymans <wim@fluendo.com>
13762 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13764 * gst/gst-i18n-app.h:
13765 * gst/gst-i18n-lib.h:
13766 * tools/gst-inspect.c: (print_signal_info):
13767 The attached patch will make the inclusion of gettext.h unconditional in
13768 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13769 libintl.h in tools/gst-inspect.c.
13770 This allows use of --disable-nls again and fixes #344642.
13772 2006-07-03 Edward Hervey <edward@fluendo.com>
13774 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13775 Implement pad blocking on events according to part-block.txt.
13776 More comments on behaviour.
13777 * tests/check/gst/gstevent.c: (test_event):
13778 Send event to peer pad of blocked pad (else it will block).
13780 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13782 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13783 (gst_check_run_suite):
13784 if we get the wrong message, give us the types as string
13785 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13787 * tests/check/elements/filesrc.c: (GST_START_TEST):
13788 add a test for trying to open a non-existing file
13790 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13792 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13793 add a test for adding self
13795 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13797 * libs/gst/check/gstcheck.h:
13798 add some assert_ as alias for fail_unless_*
13799 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13800 increase test coverage
13802 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13805 include lcov.mak for lcov coverage generation
13806 * tools/Makefile.am:
13809 2006-07-02 Edward Hervey <edward@fluendo.com>
13811 * tests/check/elements/.cvsignore:
13814 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13817 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13818 * tests/check/Makefile.am:
13819 clean up gcov files
13821 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13823 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13824 remove gst_caps_simplify; it was not declared and not used
13825 and deprecated in 0.8
13827 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13829 * docs/faq/gst-uninstalled:
13830 don't put empty paths on PYTHONPATH
13831 * docs/gst/gstreamer-sections.txt:
13832 remove some symbols that are not there
13834 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13836 * gst/gstcaps.c: (gst_caps_compare_structures):
13838 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13839 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13842 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13844 * libs/gst/dataprotocol/Makefile.am:
13845 build dataprotocol test by linking to the lib, instead of
13846 compiling the source, so we get coverage
13847 * tests/check/Makefile.am:
13848 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13849 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13850 add a test for filesrc
13852 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13854 * tests/check/gst/gststructure.c: (GST_START_TEST),
13855 (gst_structure_suite):
13856 Push coverage from 59.04% to 70.00%
13858 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13860 * tests/check/Makefile.am:
13861 gst-inspect every element; this makes sure that we also get
13862 coverage on element's get/set functions
13864 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13867 set CFLAGS and friends to -O0 if gcov is being used
13870 * libs/gst/base/Makefile.am:
13871 * libs/gst/check/Makefile.am:
13872 * libs/gst/controller/Makefile.am:
13873 * libs/gst/dataprotocol/Makefile.am:
13874 * libs/gst/net/Makefile.am:
13875 * plugins/elements/Makefile.am:
13876 * plugins/indexers/Makefile.am:
13877 add makefile rules to generate gcov data and clean up
13878 * tests/check/Makefile.am:
13879 add a coverage target that generates an html overview
13882 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13884 * tests/check/elements/fakesink.c:
13885 * tests/check/elements/fakesrc.c:
13886 * tests/check/elements/fdsrc.c:
13887 * tests/check/elements/identity.c:
13888 * tests/check/generic/sinks.c: (gst_sinks_suite):
13889 * tests/check/generic/states.c:
13890 * tests/check/gst/gst.c:
13891 * tests/check/gst/gstabi.c:
13892 * tests/check/gst/gstbin.c:
13893 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13894 * tests/check/gst/gstbus.c: (gst_bus_suite):
13895 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13896 * tests/check/gst/gstelement.c:
13897 * tests/check/gst/gstevent.c: (gst_event_suite):
13898 * tests/check/gst/gstghostpad.c:
13899 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13900 * tests/check/gst/gstmessage.c: (gst_message_suite):
13901 * tests/check/gst/gstminiobject.c:
13902 * tests/check/gst/gstobject.c:
13903 * tests/check/gst/gstpad.c:
13904 * tests/check/gst/gstpipeline.c:
13905 * tests/check/gst/gstplugin.c:
13906 * tests/check/gst/gstquery.c: (gst_query_suite):
13907 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13908 * tests/check/gst/gststructure.c:
13909 * tests/check/gst/gstsystemclock.c:
13910 * tests/check/gst/gsttag.c:
13911 * tests/check/gst/gsttask.c: (gst_task_suite):
13912 * tests/check/gst/gstutils.c:
13913 * tests/check/gst/gstvalue.c:
13914 * tests/check/libs/adapter.c:
13915 * tests/check/libs/basesrc.c:
13916 * tests/check/libs/collectpads.c:
13917 * tests/check/libs/controller.c:
13918 * tests/check/libs/gdp.c: (gst_dp_suite):
13919 * tests/check/libs/gstnetclientclock.c:
13920 * tests/check/libs/gstnettimeprovider.c:
13921 * tests/check/libs/libsabi.c: (libsabi_suite):
13922 * tests/check/libs/typefindhelper.c:
13923 * tests/check/pipelines/cleanup.c:
13924 * tests/check/pipelines/parse-launch.c:
13925 * tests/check/pipelines/simple-launch-lines.c:
13926 * tests/check/pipelines/stress.c: (stress_suite):
13929 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13931 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13932 * libs/gst/check/gstcheck.h:
13933 create a macro and function so that the simple unit test
13934 case can be just one macro to create main()
13936 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13938 * gst/gstbin.c: (gst_bin_restore_thyself):
13939 * gst/gstxml.c: (gst_xml_make_element):
13940 Fix deserialisation from XML. Set parent manually
13941 instead of using gst_bin_add(), since gst_bin_add()
13942 will unlink all pads of the element being added.
13945 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
13947 Patch by: Peter Kjellerstedt <pkj at axis com>
13949 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13950 Fix missing g_strdup() and double free when using the
13951 --gst-plugin-load command line option (#346097).
13953 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13956 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13958 * libs/gst/net/gstnetclientclock.c:
13959 * libs/gst/net/gstnettimeprovider.c:
13960 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13962 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13964 * docs/manual/advanced-dataaccess.xml:
13965 Fix buffer probe example compilation in
13968 2006-06-22 Edward Hervey <edward@fluendo.com>
13970 * gst/gstelement.c: (gst_element_pads_activate):
13971 We need to deactivate src pads first and then sink pads.
13972 The reason is the src pads might be blocking while holding the streaming
13973 lock, so we need to deactivate them first so that deactivating the sink
13974 pads doesn't block (since it will require the streaming lock).
13976 2006-06-22 Wim Taymans <wim@fluendo.com>
13978 * libs/gst/base/gstbasetransform.c:
13979 (gst_base_transform_buffer_alloc):
13980 Forgot to remove two unneeded unrefs.
13981 Simplify a check _is_equal allready checks the obvious case.
13983 2006-06-22 Wim Taymans <wim@fluendo.com>
13985 * docs/design/part-block.txt:
13986 Some docs about what pad_block should do.
13988 2006-06-22 Wim Taymans <wim@fluendo.com>
13990 * gst/gstcaps.c: (gst_caps_replace):
13991 Fix crasher when passed NULL. Doc clarification.
13992 Optimize for the trivial case.
13994 * gst/gstpipeline.c: (gst_pipeline_change_state):
13997 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13998 Small documentation cleanup.
14000 * libs/gst/base/gstbasetransform.c:
14001 (gst_base_transform_buffer_alloc):
14002 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14003 is what we need and it avoids a whole lot of redundant
14004 refcount operations.
14006 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14008 Patch by: Philip Jägenstedt <philip at lysator liu se>
14010 * docs/manual/advanced-dataaccess.xml:
14011 Fix 'Embedding static elements' section to use
14012 GST_PLUGIN_DEFINE_STATIC (#345607).
14014 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14016 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14017 Attempt to 'fix' spuriously failing test case: it seems like the
14018 timeout of half a second is simply too small when the system is under
14019 load otherwise, and the timeout doesn't really seem to serve any
14020 particular purpose here. Give the pipeline a few seconds to preroll
14021 first, and then give it another half a second to go from PAUSED to
14022 PLAYING and marshal the message into the main thread.
14024 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14026 * tools/gst-feedback-m.m:
14027 Don't only use unversioned tools, try versioned tools as well
14030 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14032 * gst/gstbus.c: (gst_bus_class_init):
14033 Fix some typos, make docs more explicit.
14035 2006-06-20 Wim Taymans <wim@fluendo.com>
14037 * tests/check/gst/gstghostpad.c: (block_callback),
14038 (GST_START_TEST), (gst_ghost_pad_suite):
14039 Added some more ghostpad tests, mainly blocking
14042 2006-06-16 Wim Taymans <wim@fluendo.com>
14044 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14045 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14046 (gst_file_sink_event), (gst_file_sink_render):
14047 * plugins/elements/gstfilesink.h:
14048 Check if we can seek in the file instead of assuming
14049 we always can. Post an error when we are asked to seek in a
14050 non-seekable file (like a fifo). Fixes #343312.
14053 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14055 * tools/gst-launch.1.in:
14056 Un-garble (fourcc) bit in filtered caps section.
14058 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14060 * docs/manual/advanced-autoplugging.xml:
14061 * docs/manual/basics-helloworld.xml:
14062 * docs/manual/highlevel-components.xml:
14063 Don't leak bus reference in sample code.
14065 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14068 Add default for new --enable-plugin-docs switch.
14071 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14074 * docs/Makefile.am:
14075 Use new ENABLE_PLUGIN_DOCS conditional.
14077 2006-06-14 Wim Taymans <wim@fluendo.com>
14079 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14080 Make it clear with a FIXME and a real define what the #if 0
14081 previously disabled.
14083 2006-06-14 Wim Taymans <wim@fluendo.com>
14085 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14086 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14087 * libs/gst/base/gstbasetransform.c:
14088 (gst_base_transform_sink_eventfunc):
14089 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14090 Don't randomly and silently reset a segment when the format
14091 changes as this is a bug somewhere upstream. Fixes #330379.
14093 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14095 Patch by: Wouter Paesen <wouter at kangaroot net>
14097 * libs/gst/controller/gstcontroller.c:
14098 (gst_controlled_property_new):
14099 Fix controlling of float properties (#344849).
14101 * tests/check/libs/controller.c:
14102 (gst_test_mono_source_get_property),
14103 (gst_test_mono_source_set_property),
14104 (gst_test_mono_source_class_init), (GST_START_TEST):
14105 While we're at it, add some float stuff to unit test.
14107 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14110 * docs/images/gdp-header.svg:
14112 * docs/libs/Makefile.am:
14113 * docs/libs/gdp-header.png:
14114 * libs/gst/dataprotocol/dataprotocol.c:
14115 add it to the API docs
14116 * docs/manual/intro-motivation.xml:
14119 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14121 * gst/gst.c: (scan_and_update_registry), (init_post):
14122 If the fork()'ed child process can't write the updated registry cache
14123 file to disk for some reason, make it exit with a failure exit code,
14124 so that the parent can then re-scan the plugins itself and update the
14125 registry structures in memory and work with that (rather than failing
14126 when creating elements because seemingly no plugins are available).
14127 Refactor registry scanning code into separate function for this and
14128 also separate fork() and non-fork() code paths. Fixes #344748.
14130 2006-06-13 Wim Taymans <wim@fluendo.com>
14132 * docs/manual/advanced-dataaccess.xml:
14133 Fix wrong PluginDesc. Fixes #344755.
14135 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14137 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14138 Fix silly bug that prevented us from creating
14139 ~/.gstreamer-0.10 and writing the registry in one
14140 go (the first call to g_mkstemp() would overwrite the
14141 placeholder in the template string, so the second call
14142 to g_mkstemp() after creating the missing directory
14143 would then error out with 'invalid argument').
14145 2006-06-13 Edward Hervey <edward@fluendo.com>
14147 * gst/gst.c: (init_post):
14150 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14152 * gst/glib-compat-private.h:
14153 * gst/glib-compat.c:
14154 * gst/glib-compat.h:
14155 * gst/gstvalue.c: (gst_value_serialize_flags):
14156 remove GLib 2.6 compatibility code
14158 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14160 * gst/parse/Makefile.am:
14161 Fix build with 'make -j N' even more (#340016).
14163 2006-06-12 Wim Taymans <wim@fluendo.com>
14165 * docs/gst/gstreamer-sections.txt:
14168 2006-06-12 Wim Taymans <wim@fluendo.com>
14170 * gst/gstsegment.c: (gst_segment_set_duration),
14171 (gst_segment_set_last_stop), (gst_segment_set_seek),
14172 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14173 (gst_segment_to_running_time), (gst_segment_clip):
14174 Use G_UNLIKELY to help the compiler a bit.
14176 2006-06-12 Wim Taymans <wim@fluendo.com>
14178 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14180 * gst/gstevent.c: (gst_event_get_type):
14181 * gst/gstmessage.c:
14182 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14184 constify quark registration strings. Fixes #344115
14185 Avoid unneeded type checking is _pad_push() by internally
14186 calling gst_pad_chain_unchecked().
14188 2006-06-12 Wim Taymans <wim@fluendo.com>
14190 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14191 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14192 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14193 (gst_buffer_is_span_fast), (gst_buffer_span):
14194 Init _type for consistency.
14195 Use _FLAGS macro to avoid type check.
14196 Avoid unneeded type checks in subbufer code.
14198 2006-06-12 Wim Taymans <wim@fluendo.com>
14200 * gst/gst.c: (gst_debug_help):
14201 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14202 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14203 (gst_plugin_feature_list_free):
14204 * gst/gstregistry.c: (gst_registry_add_plugin),
14205 (gst_registry_add_feature), (gst_registry_plugin_filter),
14206 (gst_registry_feature_filter), (gst_registry_find_plugin),
14207 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14208 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14209 * gst/gstregistryxml.c: (load_feature),
14210 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14211 * gst/gstminiobject.c: (gst_mini_object_unref),
14212 (gst_mini_object_replace), (gst_value_mini_object_free),
14213 (gst_value_mini_object_copy):
14214 Use _CAST macros to avoid unneeded type checking.
14215 Added some more G_UNLIKELY.
14217 2006-06-12 Wim Taymans <wim@fluendo.com>
14220 Avoid unneeded type checking.
14221 API: GST_BUFFER_IS_DISCONT
14223 * gst/gstminiobject.h:
14224 Avoid type check in flag accessor.
14226 * gst/gstelementfactory.h:
14228 * gst/gstpluginfeature.h:
14230 API: GST_ELEMENT_FACTORY_CAST
14231 API: GST_PLUGIN_CAST
14232 API: GST_PLUGIN_FEATURE_CAST
14234 2006-06-12 Wim Taymans <wim@fluendo.com>
14236 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14237 (gst_object_unref):
14238 Add G_UNLIKELY in type registration.
14239 Avoid type check in _ref/_unref since that is also
14242 2006-06-12 Wim Taymans <wim@fluendo.com>
14244 * gst/gsterror.c: (gst_g_error_get_type):
14245 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14246 (gst_static_pad_template_get_type):
14247 * gst/gsttaglist.c: (gst_tag_list_get_type):
14248 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14249 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14250 * gst/gsturi.c: (gst_uri_handler_get_type):
14251 * gst/gstvalue.c: (gst_date_get_type):
14252 * gst/gstxml.c: (gst_xml_get_type):
14253 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14254 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14255 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14256 Add G_UNLIKELY in type registration.
14258 2006-06-12 Wim Taymans <wim@fluendo.com>
14260 * tools/gst-inspect.c: (print_signal_info):
14261 Properly print enum values.
14263 2006-06-12 Wim Taymans <wim@fluendo.com>
14265 * gst/gstinfo.c: (gst_debug_set_active),
14266 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14268 Add some G_[UN]LIKELY.
14269 Maintain __gst_debug_min to avoid formatting the arguments of
14270 debug messages that will be dropped anyway to avoid a lot of
14271 overhead from the debugging system.
14273 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14276 * po/POTFILES.skip:
14277 add missing files containing translatable strings, tell intltool about
14280 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14282 * tests/check/libs/.cvsignore:
14283 add test-binary to ignore list
14285 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14287 * docs/libs/gstreamer-libs-docs.sgml:
14288 reorder (put dp into a chapter) and indent
14290 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14295 === release 0.10.8 ===
14297 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14300 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14302 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14304 * gst/gst.c: (init_post):
14305 move pid declaration to declaration block
14307 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14309 * gst/gst.c: (init_post):
14310 use _exit() instead of exit() in our forked child; this ensures
14311 that none of the registered exit handlers from whatever is using
14312 GStreamer get executed. This fixes gnome-mixer-applet failing
14313 to load, because ORBit would shut down.
14314 Spotted by: Edward Hervey <edward@fluendo.com>
14315 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14318 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14323 === release 0.10.7 ===
14325 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14328 releasing 0.10.7, "Soepeke, ik zie ou"
14330 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14353 * win32/common/config.h:
14354 0.10.6.2 prerelease
14356 2006-06-07 Wim Taymans <wim@fluendo.com>
14358 * gst/gstindex.c: (gst_index_gtype_resolver):
14359 * tools/gst-xmlinspect.c: (print_plugin_info):
14360 Fix leak spotted by coverity checker. Fixes #343827
14361 Fix another other leak found by paolo borelli.
14363 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14365 * libs/gst/dataprotocol/dataprotocol.c:
14366 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14367 (gst_dp_version_get_type), (gst_dp_init),
14368 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14369 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14370 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14371 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14372 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14373 (gst_dp_packetizer_free):
14374 * libs/gst/dataprotocol/dataprotocol.h:
14375 API: add a GstDPPacketizer object, and create/free functions
14376 API: add GstDPVersion enum
14377 Add 1.0 event function that uses the string serialization
14378 Serialize more useful buffer flags
14381 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14383 * tests/check/Makefile.am:
14384 * tests/check/gst/gstabi.c:
14385 * tests/check/gst/struct_ppc64.h:
14386 * tests/check/libs/libsabi.c:
14387 * tests/check/libs/struct_ppc64.h:
14388 add ppc64 structure sizes
14390 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14392 * tests/check/Makefile.am:
14393 * tests/check/gst/gstabi.c:
14394 * tests/check/gst/struct_x86_64.h:
14395 * tests/check/libs/libsabi.c:
14396 * tests/check/libs/struct_x86_64.h:
14397 generate and add structure size lists for x86_64
14399 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14401 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14402 * libs/gst/check/gstcheck.h:
14403 factor out the method from tests that checks size of structures,
14404 and add code to generate the header containing these sizes
14405 * tests/check/gst/gstabi.c: (GST_START_TEST):
14406 * tests/check/gst/struct_i386.h:
14407 * tests/check/libs/libsabi.c: (GST_START_TEST):
14408 * tests/check/libs/struct_i386.h:
14411 2006-06-06 Michael Smith <msmith@fluendo.com>
14413 * gst/gstsegment.h:
14414 Don't use c++-style comments, fixes #343929
14416 2006-06-05 Edward Hervey <edward@fluendo.com>
14419 plugin_paths is not used if we build without registry support.
14421 * gst/gstsegment.c: (gst_segment_copy):
14422 _copy() was always returning NULL...
14424 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14426 * libs/gst/dataprotocol/dataprotocol.c:
14427 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14428 (gst_dp_packet_from_event):
14429 factor out CRC code
14431 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14433 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14434 make sure we unset caps
14436 2006-06-02 Michael Smith <msmith@fluendo.com>
14438 * libs/gst/check/gstcheck.c: (gst_check_init),
14439 (gst_check_chain_func):
14440 * libs/gst/check/gstcheck.h:
14441 Add a cond/mutex to the check support lib, signal this whenever we
14442 add to the buffers list. This will allow tests to not busy-wait on
14445 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14447 * libs/gst/dataprotocol/dataprotocol.c:
14448 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14449 (gst_dp_packet_from_event):
14450 factor out some common header init code
14452 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14454 * docs/libs/gstreamer-libs-sections.txt:
14455 * docs/libs/tmpl/gstdataprotocol.sgml:
14456 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14457 * libs/gst/dataprotocol/dataprotocol.h:
14458 API: make gst_dp_crc() public
14460 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14462 * plugins/indexers/gstindexers.c: (plugin_init):
14463 conditionally register fileindexer (fixes #343598)
14465 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14467 * gst/gsttagsetter.h:
14468 Can't cast ifaces to a class
14470 * libs/gst/net/gstnetclientclock.h:
14471 * libs/gst/net/gstnettimeprovider.h:
14472 * plugins/elements/gstfakesink.h:
14473 * plugins/elements/gstfakesrc.h:
14474 * plugins/elements/gstfdsink.h:
14475 * plugins/elements/gstfdsrc.h:
14476 * plugins/elements/gstfilesink.h:
14477 * plugins/elements/gstfilesrc.h:
14478 * plugins/elements/gstidentity.h:
14479 * plugins/elements/gstqueue.h:
14480 * plugins/elements/gsttee.h:
14481 * plugins/indexers/gstfileindex.c:
14482 * plugins/indexers/gstmemindex.c:
14483 * tests/old/examples/plugins/example.h:
14484 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14486 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14488 * libs/gst/dataprotocol/dataprotocol.c:
14489 (gst_dp_header_from_buffer):
14490 make sure we zero the whole ABI-compatible area
14492 2006-06-01 Wim Taymans <wim@fluendo.com>
14494 Patch by: Alessandro Decina <alessandro at nnva dot org>
14496 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14497 Make sure the EOS flag is cleared from pads after a flush
14498 or stop. Fixes #343538.
14500 * tests/check/libs/collectpads.c: (GST_START_TEST),
14501 (gst_collect_pads_suite):
14502 Added test for collectpads reusage after EOS.
14504 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14507 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14508 * win32/common/libgstbase.def:
14509 export gst_collect_pads_set_flushing
14510 * win32/common/libgstreamer.def:
14511 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14512 gst_value_fraction_multiply
14513 * win32/vs6/gst_inspect.dsp:
14514 add a link to intl.lib
14516 2006-05-30 Wim Taymans <wim@fluendo.com>
14518 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14519 (gst_collect_pads_chain):
14520 Handle the case where a pad is removed from the collection
14521 that could cause the other pads to become collectable.
14523 2006-05-30 Wim Taymans <wim@fluendo.com>
14525 * gst/gstelement.c:
14526 Clarify the use of _release_request_pad() and
14527 _get_request_pad() a bit better.
14529 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14530 (gst_adapter_take_buffer):
14531 Fix some doc and comment typos.
14533 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14535 * docs/gst/gstreamer-sections.txt:
14536 * docs/libs/gstreamer-libs-sections.txt:
14537 add declared symbols
14539 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14541 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14542 Add debug that can be enabled using a #define at the top of the file,
14543 for dumping stats about how late/early we were when waking up from
14544 waiting on the clock.
14546 2006-05-30 Wim Taymans <wim@fluendo.com>
14548 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14549 When rebuilding the pad list, don't leak the previous list.
14551 2006-05-30 Wim Taymans <wim@fluendo.com>
14553 Patch by: Lutz Mueller <lutz at topfrose dot de>
14555 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14556 (gst_base_src_get_query_types), (gst_base_src_update_length):
14557 Publish supported query types.
14558 Update last_stop field in get_range mode so the position
14559 query works. Fixes #342321.
14561 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14563 * docs/gst/gstreamer-sections.txt:
14564 * gst/gsttaglist.c: (_gst_tag_initialize):
14565 * gst/gsttaglist.h:
14566 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14568 2006-05-30 Wim Taymans <wim@fluendo.com>
14570 Patch by: Alessandro Decina <alessandro at nnva dot org>
14572 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14573 Unlock mutex when removing an unknown pad.
14576 * tests/check/Makefile.am:
14577 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14578 (push_event), (setup), (teardown), (GST_START_TEST),
14579 (gst_collect_pads_suite), (main):
14580 Added collecpads check, disabled for now as check crashes for
14583 2006-05-29 Wim Taymans <wim@fluendo.com>
14585 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14586 Don't leak pads lists.
14588 2006-05-29 Wim Taymans <wim@fluendo.com>
14590 * docs/libs/gstreamer-libs-sections.txt:
14591 * libs/gst/base/gstcollectpads.c:
14592 (gst_collect_pads_set_flushing_unlocked),
14593 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14594 (gst_collect_pads_stop):
14595 * libs/gst/base/gstcollectpads.h:
14596 API: gst_collect_pads_set_flushing()
14597 Added api to set the pads to flushing, useful for seeking
14598 code in elements using collectpads.
14599 Clear segment when receiving a flush.
14601 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14603 * gst/gst.c: (add_path_func), (init_post):
14604 Don't scan registry paths passed via --gst-plugin-path immediately
14605 (will crash, because absolutely nothing is set up and no types are
14606 registered etc.); do this later in init_post(). Fixes #343057.
14608 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14610 * gst/gst.c: (init_post):
14611 if we have fork, fork while reading/rebuilding the registry
14612 so the parent doesn't take the hit of having all plugins loaded
14613 in memory. Fixes #342777.
14615 Check if we have fork()
14616 * win32/common/config.h.in:
14619 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14621 * plugins/elements/gstelements.c:
14622 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14623 (gst_file_src_init), (gst_file_src_set_property),
14624 (gst_file_src_get_property), (gst_file_src_start):
14625 * plugins/elements/gstfilesrc.h:
14626 API: GstFileSrc::use-mmap
14628 Add a use-mmap property to enable easier testing of all code paths.
14629 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14630 in the absence of gnomevfssrc. (Closes #340501)
14632 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14634 * tools/gst-inspect.c:
14635 Add missing include, removes warning of ngettext not being defined on
14638 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14640 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14641 Handle NULL input and output pointers silently as a failed conversion,
14642 rather than g_warnings.
14644 2006-05-25 Wim Taymans <wim@fluendo.com>
14646 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14647 Initialize variable before using. Fixes #342820.
14649 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14651 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14652 Fix off-by-one bug that would only allow peeks of N-1 bytes
14653 from the start even if the buffer to typefind on contains
14654 in fact N bytes of data (makes vorbis typefinding from a
14655 vorbis identification header buffer work).
14657 * tests/check/Makefile.am:
14658 * tests/check/libs/.cvsignore:
14659 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14660 (gst_typefindhelper_suite), (main), (foobar_typefind),
14662 Add very basic unit test for gst_type_find_helper_for_buffer()
14663 that checks for the problem fixed above.
14665 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14667 * tools/gst-inspect.c: (print_interfaces),
14668 (print_element_properties_info), (print_element_list), (main):
14669 add more translatable strings
14671 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14673 Patch by: Julien Moutte <julien at moutte net>
14675 * docs/gst/gstreamer-sections.txt:
14676 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14678 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14679 (gst_fake_sink_preroll):
14680 * plugins/elements/gstfakesink.h:
14681 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14683 2006-05-23 Wim Taymans <wim@fluendo.com>
14685 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14687 Added _CUSTOM error and success GstFlowReturn that can be
14688 used be elements internally.
14689 Added macro to check for SUCCESS flowreturns.
14690 API: GST_FLOW_CUSTOM_SUCCESS
14691 API: GST_FLOW_CUSTOM_ERROR
14692 API: GST_FLOW_IS_SUCCESS
14694 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14695 Added check for GstFlowReturn sanity.
14697 2006-05-23 Wim Taymans <wim@fluendo.com>
14699 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14701 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14702 (gst_collect_pads_event):
14703 clear/reset segment info in FLUSH_STOP.
14706 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14708 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14709 (gst_collect_pads_check_collected):
14710 Flush queued buffer on _stop(), fixes playing again (#342454)
14712 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14714 * tests/check/gst/gststructure.c: (GST_START_TEST),
14715 (gst_structure_suite):
14716 add a test for a complete structure
14718 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14720 * docs/faq/developing.xml:
14721 * docs/faq/faq.xml:
14722 * docs/faq/troubleshooting.xml:
14723 * docs/faq/using.xml:
14724 Some minor FAQ updates that won't change the fact that
14725 our FAQ is badly structured, full of information hardly
14726 anyone new to GStreamer needs to know and lacking lots
14727 of information people constantly ask for.
14729 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14731 * gst/gstpad.c: (gst_pad_set_caps):
14732 Short-circuit gst_pad_set_caps if setting the existing
14733 caps pointer again, and avoid printing debug and
14734 reffing/unreffing the caps.
14736 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14737 There's actually no need to set the caps before pushing -
14738 the acceptcaps method will handle it anyway.
14740 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14742 * docs/gst/gstreamer-sections.txt:
14743 * win32/common/libgstreamer.def:
14744 * gst/gstutils.c: (gst_element_seek_simple):
14746 API: add gst_element_seek_simple() (#342238).
14748 2006-05-18 Edward Hervey <edward@fluendo.com>
14750 * gst/gsttypefind.c: (gst_type_find_get_type):
14751 * gst/gsttypefind.h:
14752 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14753 registered for GstTypeFind pointers. This allows wrapping the structure
14754 in bindings (i.e. gst-python).
14756 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14758 * gst/gsttagsetter.c:
14759 Docs additions and fixes (see #339918).
14761 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14763 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14764 The caps intersection algorithm can produce multiple copies of the
14765 caps. Until that is fixed, we need to simplify the result to be
14766 sure whether the allowed caps are fixed or not.
14768 * plugins/elements/gstqueue.c: (gst_queue_init),
14769 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14770 (gst_queue_push_one):
14771 Proxied buffer alloc should not set the caps on the source pad.
14772 When pushing buffers, we always accept the caps change that triggers.
14773 This prevents negotiation errors caused by caps changing mid-stream
14774 and then being refused on our source pad (because upstream is now
14775 refusing those caps).
14777 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14779 * tests/examples/helloworld/helloworld.c: (main):
14780 Must plug audioconvert and audioresample between decoder
14783 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14785 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14786 (load_feature), (load_plugin):
14787 Allow empty strings for some of the plugin fields so we don't
14788 drop valid plugin entries that were written out correctly
14791 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14793 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14794 Use g_remove and g_rename instead of remove and rename that don't
14795 handle utf8 characters. rename was failing for users who had specific
14796 characters in their name then the registry was built at each
14798 * win32/vs6/gst_inspect.dsp:
14799 * win32/vs6/gst_launch.dsp:
14800 * win32/vs6/libgstbase.dsp:
14801 * win32/vs6/libgstcoreelements.dsp:
14802 * win32/vs6/libgstreamer.dsp:
14803 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14804 build of libgstreamer and clean unused libraries in projects link
14807 2006-05-17 Edward Hervey <edward@fluendo.com>
14809 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14810 The queue is not responsible for pushing an EOS when receiving a fatal
14811 flow error. It's up to the real element driving the pipeline to do that.
14813 2006-05-16 Edward Hervey <edward@fluendo.com>
14815 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14816 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14817 buffer returned a fatal error. It should just send an EOS and stop
14819 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14820 when pushing buffers on the queue and will be able to handle the event.
14822 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14824 * docs/manual/basics-bins.xml:
14825 * docs/manual/basics-init.xml:
14826 Fix typos and minor errors in sample code (#341856).
14828 2006-05-16 Wim Taymans <wim@fluendo.com>
14830 * docs/design/part-qos.txt:
14831 Fix indexes in formulas to make more sense.
14833 2006-05-15 Wim Taymans <wim@fluendo.com>
14835 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14836 Don't report POSITION based on clock time if sync is
14837 disabled in a sink.
14839 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14842 Add cast to make compiler happy - refcount variable was a gint
14843 in GstObject but is a guint in GObject and g_atomic_int_get()
14846 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14848 * gst/parse/Makefile.am:
14849 chain commands using &&, which also makes parallel make work
14851 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14853 * docs/gst/gstreamer-sections.txt:
14856 * gst/gstmessage.h:
14859 === release 0.10.6 ===
14861 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14864 releasing 0.10.6, "Take the cannoli"
14866 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14868 * tools/gst-launch.c: (print_tag):
14869 Fix use of uninitialized variable in the hypothetical
14870 case that some broken plugin creates a GST_TAG_IMAGE
14871 tag containing a NULL buffer (#341667).
14873 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14875 * tools/gst-launch.c: (print_tag):
14876 Print something more intelligible for image tags when
14877 using the -t switch (#341556).
14879 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14884 define GST_MAJORMINOR so we have it available in win32/common/config.h
14885 Possibly remove it from our Makefile.am files later
14886 * win32/common/config.h:
14887 * win32/common/config.h.in:
14888 added GST_MAJORMINOR
14889 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14890 * win32/common/gstversion.h:
14893 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14896 Update win32 files listing.
14897 * win32/common/gstversion.h:
14898 Add GST_MAJORMINOR definition.
14899 * win32/common/libgstreamer.def:
14900 Add new exported functions.
14902 2006-05-12 Michael Smith <msmith@fluendo.com>
14904 * gst/gstplugin.c: (gst_plugin_load_file):
14905 If an so file has no plugin entry point, unload the module.
14907 2006-05-11 Wim Taymans <wim@fluendo.com>
14909 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14910 (gst_queue_set_property):
14911 Don't forget to signal the _chain or _loop function
14912 when the queue size or thresholds change since that might
14913 cause them to make progres again.
14915 2006-05-11 Stefan Kost <ensonic@users.sf.net>
14917 * gst/gstclock.c: (gst_clock_class_init):
14918 * gst/gstindex.c: (gst_index_class_init):
14919 * gst/gstobject.c: (gst_object_class_init):
14920 * gst/gstpad.c: (gst_pad_class_init):
14921 * gst/gstpipeline.c: (gst_pipeline_class_init):
14922 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14923 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14924 * libs/gst/base/gstbasetransform.c:
14925 (gst_base_transform_class_init):
14926 * libs/gst/net/gstnetclientclock.c:
14927 (gst_net_client_clock_class_init):
14928 * libs/gst/net/gstnettimeprovider.c:
14929 (gst_net_time_provider_class_init):
14930 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14931 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14932 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14933 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14934 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14935 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14936 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14937 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14938 * plugins/elements/gsttee.c: (gst_tee_class_init):
14939 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14940 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14941 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14943 2006-05-11 Wim Taymans <wim@fluendo.com>
14945 * gst/gstbuffer.c: (_gst_buffer_initialize):
14946 Register subbufer along with the buffer type so that
14947 it does not accidentally gets registered from N
14948 different streaming threads in a non threadsafe way.
14950 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14954 * gst/gstmessage.h:
14955 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14956 gst_event_ref() and gst_message_ref() functions again
14957 (ugly hack, please do fix if there's a better way besides
14958 overrides.txt, which doesn't seem to work).
14960 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14962 * libs/gst/check/gstcheck.h:
14963 add an assert for setting state to avoid lots of repetitive code
14966 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14968 * gst/gstvalue.c: (gst_value_serialize_flags):
14969 fix a leak if no flags are set
14970 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14973 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14975 * docs/manual/basics-pads.xml:
14976 Expand a bit on caps and filtered links and update
14977 examples that were still using the no longer existing
14978 gst_pad_link_filtered() (#338206).
14980 2006-05-10 Wim Taymans <wim@fluendo.com>
14982 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14983 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14984 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14985 (gst_collect_pads_stop):
14986 * libs/gst/base/gstcollectpads.h:
14987 No need to call _stop in _finalize.
14988 Iterate the main pad list in _finalize.
14989 Added some more debug.
14990 Free lists and data in the right order.
14991 Also free data whem doing _remove_pad when stopped for
14992 backward compatibility protect ::started with PAD_LOCK as
14995 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14997 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14998 (gst_structure_parse_value):
15000 rename a method so that it actually says what it does better
15002 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15004 * gst/gstevent.c: (_gst_event_initialize):
15005 * gst/gstformat.c: (_gst_format_initialize):
15006 make sure some essential types used by events are registered
15007 as part of gst_init()
15008 * gst/gstvalue.c: (gst_value_serialize_flags):
15009 if no flags are set, serialize them to a value that represents NONE
15010 so that deserializing them works
15011 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15012 add tests for serialization and deserialization of flags
15014 2006-05-10 Wim Taymans <wim@fluendo.com>
15016 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15017 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15018 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15019 (gst_collect_pads_event), (gst_collect_pads_chain):
15022 Catch and return errors from the collect function
15023 Refuse data on eos pads.
15025 2006-05-10 Edward Hervey <edward@fluendo.com>
15027 * gst/gstinterface.h:
15028 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15029 GInterface type checking.
15030 They were previously using non-defined macros.
15032 2006-05-09 Wim Taymans <wim@fluendo.com>
15034 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15035 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15036 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15037 (gst_collect_pads_start), (gst_collect_pads_stop),
15038 (gst_collect_pads_peek), (gst_collect_pads_pop),
15039 (gst_collect_pads_available), (gst_collect_pads_read),
15040 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15041 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15042 (gst_collect_pads_chain):
15043 * libs/gst/base/gstcollectpads.h:
15044 Clean up the mess that is collectpads, add comments and
15045 FIXMEs where needed.
15046 Maintain a separate pad list so we can add pads while
15047 collecting the other ones. For this we need a new separate
15049 Fix memory leak in finalize.
15050 Refactor some weird code to set/unset pad flushing flags, mark
15052 Don't crash in _available, _read, _flush when we're EOS.
15054 * tests/check/libs/.cvsignore:
15055 Ignore adapter check binary.
15057 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15059 * gst/gstindex.c: (gst_index_resolver_get_type):
15060 * plugins/elements/gstfakesink.c:
15061 (gst_fake_sink_state_error_get_type):
15062 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15063 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15064 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15065 Const-ify GEnumValue arrays.
15067 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15069 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15070 Add test case for flags + gst_buffer_make_metadata_writable().
15072 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15074 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15075 gst_buffer_make_metadata_writable() should maintain the
15076 buffer flags (those that make sense at least) (see #340859).
15078 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15080 * tools/gst-inspect.c:
15081 * tools/gst-launch.c:
15082 * tools/gst-typefind.c:
15083 * tools/gst-xmlinspect.c:
15085 Fix up includes: need to include stdlib.h in tools.h for exit().
15087 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15089 * gst/gsttaglist.c: (_gst_tag_initialize):
15090 * gst/gsttaglist.h:
15091 API: add GST_TAG_IMAGE tag (#340721).
15093 2006-05-08 Wim Taymans <wim@fluendo.com>
15096 Added some docs for the segment query.
15098 2006-05-08 Wim Taymans <wim@fluendo.com>
15100 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15101 (gst_base_src_loop), (gst_base_src_change_state):
15102 Always push non-flushing serialized events in the streaming
15105 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15107 * gst/gsterror.c: (_gst_stream_errors_init):
15108 Add a missing error string.
15110 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15112 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15113 Add applied_rate to the debug
15115 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15116 Copy applied_rate into the outgoing NEWSEGMENT event
15118 2006-05-08 Wim Taymans <wim@fluendo.com>
15120 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15122 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15123 (gst_base_sink_change_state):
15124 call ::unlock before taking the PREROLL_LOCK so we can safely
15125 handle elements that lock in ::render.
15128 2006-05-08 Edward Hervey <edward@fluendo.com>
15130 * autogen.sh: (CONFIGURE_DEF_OPT):
15131 Darwin's libtoolize is in fact called glibtoolize.
15132 Adding glibtoolize to the list of accepted names for libtoolize.
15134 2006-05-08 Wim Taymans <wim@fluendo.com>
15136 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15137 Unify error handling, don't post an error message
15138 when a push() returns EOS but perform our normal EOS
15139 handling code. Fixes #340772.
15141 2006-05-08 Wim Taymans <wim@fluendo.com>
15143 * docs/design/part-overview.txt:
15144 Make upsteam/downstream concepts more clear.
15145 Give an example of serialized/non-serialized events.
15147 * docs/design/part-events.txt:
15148 * docs/design/part-streams.txt:
15149 Mention applied_rate.
15151 * docs/design/part-trickmodes.txt:
15152 Mention applied rate, flesh out some more use cases.
15154 * gst/gstevent.c: (gst_event_new_new_segment),
15155 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15156 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15157 (gst_event_parse_tag), (gst_event_new_buffer_size),
15158 (gst_event_parse_buffer_size), (gst_event_new_qos),
15159 (gst_event_parse_qos), (gst_event_parse_seek),
15160 (gst_event_new_navigation):
15162 Add applied_rate field to NEWSEGMENT event.
15163 API: gst_event_new_new_segment_full()
15164 API: gst_event_parse_new_segment_full()
15166 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15167 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15168 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15169 * gst/gstsegment.h:
15170 Add applied_rate to GstSegment structure.
15171 Make calculation of stream_time and running_time more correct
15172 wrt rate/applied_rate.
15173 Add some more docs.
15174 API: GstSegment::applied_rate field
15175 API: gst_segment_set_newsegment_full();
15177 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15178 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15179 * libs/gst/base/gstbasetransform.c:
15180 (gst_base_transform_sink_eventfunc),
15181 (gst_base_transform_handle_buffer):
15182 Parse and use applied_rate in the GstSegment field.
15184 * tests/check/gst/gstevent.c: (GST_START_TEST):
15185 Add check for applied_rate field.
15187 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15188 (gstsegments_suite):
15189 Add more checks for various GstSegment operations.
15191 2006-05-08 Wim Taymans <wim@fluendo.com>
15193 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15194 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15195 (gst_base_sink_get_position), (gst_base_sink_change_state):
15196 Store the sync time of the buffer end position separatly in a
15197 new variable eos_rtime so we can properly sync the EOS event.
15199 Fix the docs for gst_base_sink_set_qos_enabled().
15200 Don't set segment start to invalid value when we receive a
15201 non TIME newsegment.
15202 get closer to handling position reporting for negative rates
15205 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15208 Docs about how to print caps for debug purposes.
15210 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15211 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15213 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15215 * gst/gstelement.c:
15216 use full enum names and preprend a '%' in docs strings to make recent
15217 gtk-doc turn that into a link
15219 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15221 * docs/manual/basics-bins.xml:
15222 * docs/manual/basics-bus.xml:
15223 * docs/manual/basics-pads.xml:
15224 Some typo fixes, some additions, some clarifications.
15226 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15228 * tools/gst-inspect.c: (main):
15229 * tools/gst-launch.c: (main):
15230 * tools/gst-run.c: (main):
15231 * tools/gst-typefind.c: (main):
15232 * tools/gst-xmlinspect.c: (main):
15233 Use the string passed to g_option_context_new() for
15234 what it's intended for - the program name is already
15237 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15239 * tools/Makefile.am:
15240 * tools/gst-inspect.c: (main):
15241 * tools/gst-launch.c: (main):
15242 * tools/gst-xmlinspect.c: (main):
15244 Add back --version command line option (#340460).
15246 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15247 Add --version option and use GOption for argument parsing; refactor a
15248 bit; accept directories as arguments and recurse into them; lastly,
15249 print a decent error message when things go wrong.
15251 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15253 * docs/manual/basics-bins.xml:
15254 Don't mention GstThread (#340611)
15255 * docs/manual/basics-elements.xml:
15256 Update link to GObject tutorial (#340607)
15258 2006-05-05 Wim Taymans <wim@fluendo.com>
15261 * gst/gstminiobject.c:
15262 Add note about refcounting and miniobject/buffer writeability
15263 to docs. Fixes #340604
15265 * gst/gstelementfactory.h:
15266 Added some explanation about @klass.
15268 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15270 * docs/manual/intro-motivation.xml:
15271 * docs/manual/manual.xml:
15272 Avoid CORBA & Bonobo references (#340598)
15274 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15276 * docs/manual/basics-bus.xml:
15277 * docs/manual/basics-pads.xml:
15278 Fix up some inaccuracies and omissions (#340609)
15280 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15282 * gst/gstghostpad.c:
15283 Small typo in docs (#340625)
15285 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15287 * gst/parse/Makefile.am:
15288 Make 'make -j' proof (see #340698).
15290 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15293 Require GLib-2.8 here as well.
15295 2006-05-05 Wim Taymans <wim@fluendo.com>
15297 * gst/glib-compat.c:
15298 * gst/gst.c: (init_pre):
15299 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15300 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15301 (gst_object_dispatch_properties_changed):
15303 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15304 * gst/gststructure.c: (gst_structure_set_valist):
15305 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15306 Remove pre glib2.8 compatibility, fixes #340508
15308 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15310 * gst/gsttaglist.h:
15311 Mention type of tags in doc blurbs.
15313 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15315 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15316 (gst_pad_configure_src), (gst_pad_push):
15317 Restore acceptcaps checking behaviour now that good plugins have
15320 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15322 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15329 * gst/gstmessage.c:
15333 * gst/parse/Makefile.am:
15334 * libs/gst/base/gstadapter.c:
15335 * libs/gst/base/gstbasesrc.c:
15336 * libs/gst/base/gstpushsrc.c:
15337 * libs/gst/base/gsttypefindhelper.c:
15338 * plugins/elements/gstfakesrc.c:
15339 * plugins/elements/gstidentity.c:
15340 Make sure gstprivate.h and/or config.h are
15341 always included first, otherwise some of our
15342 defines (like _FILE_OFFSET_BITS) might be
15343 redefined in the system headers. Fixes build
15344 on opensolaris (#340016).
15346 2006-05-04 Wim Taymans <wim@fluendo.com>
15348 * docs/libs/gstreamer-libs-sections.txt:
15349 API: addition: gst_adapter_take_buffer()
15351 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15352 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15353 (gst_adapter_available_fast):
15354 * libs/gst/base/gstadapter.h:
15355 Prepare for optimizing the hell out of this hugely inefficient
15357 Added gst_adapter_take_buffer() so we can at least start thinking
15358 about subbuffering and merging.
15359 Added some comments.
15361 * tests/check/Makefile.am:
15362 * tests/check/libs/adapter.c: (GST_START_TEST),
15363 (gst_adapter_suite), (main):
15364 Added GstAdapter check.
15366 2006-05-04 Wim Taymans <wim@fluendo.com>
15368 * docs/design/part-overview.txt:
15369 Fix some typos, add blurb about buffer flags.
15371 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15373 * docs/libs/gstreamer-libs-sections.txt:
15374 make sure GstBaseTransformClass shows up in the docs
15375 * libs/gst/base/gstbasetransform.c:
15376 * libs/gst/base/gstbasetransform.h:
15377 move docs so gtk-doc picks it up now
15379 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15381 * docs/libs/gstreamer-libs-sections.txt:
15382 add missing symbols to docs
15384 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15386 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15387 back out the newsegment handling change, see #340060 for ongoing
15390 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15392 * tools/gst-run.c: (get_candidates), (main):
15393 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15394 work); fix typo in error message. Fixes #340079.
15396 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15398 * common/Makefile.am:
15399 * docs/Makefile.am:
15400 * docs/faq/Makefile.am:
15401 * docs/gst/Makefile.am:
15402 * docs/libs/Makefile.am:
15403 * docs/manual/Makefile.am:
15404 * docs/plugins/Makefile.am:
15405 * docs/pwg/Makefile.am:
15406 * docs/slides/Makefile.am:
15408 * common/upload.mak:
15409 move upload.mak to common
15411 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15413 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15414 add more asserts on refcounts
15415 do more cleanup at end of tests
15416 fix test leaks showing in FC5
15418 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15420 * plugins/elements/gsttypefindelement.c:
15421 (gst_type_find_element_handle_event):
15422 reverted wrong change and reflowed code to avoid others falling into
15425 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15427 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15428 fix changelog entry about last collectpads change,
15429 add notes about proper fix
15431 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15434 * gst/gstregistry.c: (gst_registry_scan_path_level),
15435 (gst_registry_scan_path):
15436 * gst/gstregistry.h:
15437 only write out registry if it has changed, fixes #338339
15439 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15442 * gst/gstpipeline.c:
15443 * plugins/elements/gstcapsfilter.c:
15444 * plugins/elements/gstfakesink.c:
15445 * plugins/elements/gstfakesrc.c:
15446 * plugins/elements/gstfdsink.c:
15447 * plugins/elements/gstfdsrc.c:
15448 * plugins/elements/gstfilesink.c:
15449 * plugins/elements/gstfilesrc.c:
15450 * plugins/elements/gstidentity.c:
15451 * plugins/elements/gstqueue.c:
15452 * plugins/elements/gsttee.c:
15453 * plugins/elements/gsttypefindelement.c:
15454 (gst_type_find_element_handle_event):
15455 make GstElementDetails const
15457 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15459 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15460 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15461 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15462 more detailed debug and formatting cleanup,
15463 forward newsegments to src-pad (so that e.g. adder not eats them)
15465 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15467 * gst/gstutils.c: (gst_element_link_pads):
15468 cleanup double code
15470 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15472 * libs/gst/controller/gstcontroller.c:
15473 (gst_controller_sync_values):
15475 * tests/check/libs/controller.c: (GST_START_TEST),
15476 (gst_controller_suite):
15477 a new test for live value handling
15479 2006-04-28 Wim Taymans <wim@fluendo.com>
15481 * gst/gstutils.c: (push_and_ref):
15482 Added some more docs.
15483 Fix refcount issue whith gst_element_found_tags() helper
15484 function. Fixes #338335
15486 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15487 Added testsuite for gst_element_found_tags().
15489 2006-04-28 Michael Smith <msmith@fluendo.com>
15491 * gst/gstvalue.c: (gst_value_serialize_flags):
15492 Avoid NULL dereference when trying to serialize flags containing
15495 2006-04-28 Michael Smith <msmith@fluendo.com>
15497 * plugins/elements/gsttypefindelement.c:
15498 (gst_type_find_element_handle_event):
15499 If we get EOS before any data is accumulated, don't use
15500 uninitialised local variables.
15502 2006-04-28 Michael Smith <msmith@fluendo.com>
15504 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15505 (gst_dp_event_from_packet):
15506 Fixes in reading/writing events over GDP (not currently used?) -
15507 dereferencing NULL events for unknown/invalid event types, memory
15508 leak, and change g_warning to GST_WARNING.
15510 2006-04-28 Wim Taymans <wim@fluendo.com>
15512 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15513 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15514 (gst_base_sink_get_position), (gst_base_sink_change_state):
15515 When frame dropping is enabled, we should not ignore frames
15516 without a duration.
15517 Update some documentation.
15519 2006-04-28 Wim Taymans <wim@fluendo.com>
15521 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15522 (gst_base_src_send_event), (gst_base_src_change_state):
15523 Documentation updates.
15525 2006-04-28 Wim Taymans <wim@fluendo.com>
15527 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15528 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15529 handle EAGAIN, EINTR and short writes correctly. Also clean
15530 up some error cases, avoid a deadlock on bad file descriptors and
15531 use GST_DEBUG_OBJECT.
15534 2006-04-28 Wim Taymans <wim@fluendo.com>
15536 * gst/gstvalue.c: (gst_value_serialize_buffer),
15537 (gst_value_deserialize_buffer):
15538 Don't try to serialize a GValue with a NULL buffer.
15541 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15542 Added check for serialisation of NULL buffers.
15544 2006-04-28 Wim Taymans <wim@fluendo.com>
15546 * gst/gstminiobject.c: (gst_value_take_mini_object):
15547 Taking a NULL miniobject is valid, fix the case where
15548 we try to unref the NULL miniobject.
15550 2006-04-28 Wim Taymans <wim@fluendo.com>
15552 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15554 * gst/gstbin.c: (gst_bin_handle_message_func):
15556 Don't leak bin refcount when a state recalc is
15557 in progress and we delay another one #339808.
15559 2006-04-28 Wim Taymans <wim@fluendo.com>
15561 * docs/design/part-TODO.txt:
15562 Mention QoS as an ongoing work item.
15564 * docs/design/part-buffering.txt:
15565 New doc about buffering that needs to be fleshed out
15568 * docs/design/part-qos.txt:
15569 More QoS policy for decoders/demuxers/transforms
15571 * docs/design/part-trickmodes.txt:
15574 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15579 === release 0.10.5 ===
15581 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15584 releasing 0.10.5, "Fogo"
15586 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15588 patch by: Wim Taymans
15590 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15591 (gst_pad_configure_src), (gst_pad_push):
15592 * gst/gstpipeline.c: (gst_pipeline_init):
15593 Fix internal data flow errors. Fixes #338711.
15595 2006-04-12 Wim Taymans <wim@fluendo.com>
15597 * tests/check/gst/gstelement.c: (GST_START_TEST):
15598 Don't leak the factory.
15600 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15603 * win32/common/config.h:
15606 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15608 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15609 (gst_controller_unset_all):
15610 Free allocated GstTimedValues when freeing list nodes.
15611 Should fix leaks 'make check-valgrind' complains about.
15613 * win32/common/libgstcontroller.def:
15614 Add gst_controller_unset_all.
15616 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15618 * docs/libs/gstreamer-libs-sections.txt:
15619 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15620 (gst_controller_unset_all):
15621 * libs/gst/controller/gstcontroller.h:
15622 API: Added new method gst_controller_unset_all()
15623 fixed gst_controller_unset()
15624 * tests/check/libs/controller.c: (GST_START_TEST),
15625 (gst_controller_suite):
15626 Added two testcases for new and fixed method
15628 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15630 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15631 MSG_DONTWAIT is not defined on Cygwin, so work
15632 around that (fixes #317048).
15634 2006-04-11 Wim Taymans <wim@fluendo.com>
15636 * gst/gstelementfactory.c: (gst_element_register),
15637 (gst_element_factory_create), (gst_element_factory_make):
15640 Updated docs (Fixes #131079)
15642 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15645 * tests/check/gst/gstelement.c: (GST_START_TEST),
15646 (gst_element_suite):
15647 Added testcase for elementfactory class field.
15649 2006-04-10 Wim Taymans <wim@fluendo.com>
15651 * gst/gstsegment.c:
15652 Added some more docs.
15654 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15655 (gst_base_sink_reset_qos):
15656 Calculate more accurate rate values.
15658 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15660 * gst/gst_private.h:
15661 add a new #ifdef to use __declspec(dllimport) only for
15662 other modules and not for gstreamer core
15663 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15664 use gst_guint64_to_gdouble for conversion
15665 * win32/common/libgstreamer.def:
15666 add new exported functions
15667 * win32/vs6/gst_inspect.dsp:
15668 * win32/vs6/gst_launch.dsp:
15669 * win32/vs6/libgstbase.dsp:
15670 * win32/vs6/libgstcontroller.dsp:
15671 * win32/vs6/libgstcoreelements.dsp:
15672 * win32/vs6/libgstdataprotocol.dsp:
15673 * win32/vs6/libgstnet.dsp:
15674 update project files
15676 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15678 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15679 * gst/gstclock.c: (gst_clock_class_init):
15680 * gst/gstelement.c: (gst_element_class_init):
15681 * gst/gstindex.c: (gst_index_class_init):
15682 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15683 * gst/gstobject.c: (gst_object_class_init),
15684 (gst_signal_object_class_init):
15685 * gst/gstpad.c: (gst_pad_class_init):
15686 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15687 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15688 * gst/gstregistry.c: (gst_registry_class_init):
15689 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15690 * gst/gsttask.c: (gst_task_class_init):
15691 * gst/gstxml.c: (gst_xml_class_init):
15692 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15693 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15694 (gst_base_src_loop):
15695 * libs/gst/controller/gstcontroller.c:/
15696 (_gst_controller_class_init):
15697 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15698 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15699 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15700 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15701 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15702 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15704 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15706 * gst/gstpad.c: (gst_pad_link):
15707 Must set peer pads before calling the link function, otherwise
15708 a task started from a link function might get a flow-not-linked
15709 result when trying to push because the other thread where the
15710 linking happens hasn't had a chance to set the peers yet. This
15711 might happen for example when a queue gets linked to a downstream
15712 element, as queue starts a streaming task when its source pad
15713 gets linked. Happens in real life when playing back flac/musepack
15714 files in playbin (#332390).
15716 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15720 * libs/gst/base/gstadapter.h:
15721 * libs/gst/base/gstbasesink.h:
15722 * libs/gst/base/gstbasesrc.h:
15723 * libs/gst/base/gstbasetransform.h:
15724 * libs/gst/base/gstcollectpads.h:
15725 * libs/gst/base/gstpushsrc.h:
15726 Fix broken GObject macros
15728 2006-04-07 Wim Taymans <wim@fluendo.com>
15730 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15731 Initialize start and stop times, thanks valgrind.
15733 2006-04-07 Wim Taymans <wim@fluendo.com>
15735 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15736 Be a bit nicer to badly behaving upstream elements that expect
15737 us to deal with non TIME segments and timestamps (such as fakesrc
15740 2006-04-07 Wim Taymans <wim@fluendo.com>
15743 Small documentation clarification about the signal watch.
15745 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15746 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15747 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15748 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15749 (gst_base_sink_get_position_last),
15750 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15751 Convert and store timestamps in stream time and running time, the
15752 raw timestamps are not useful, also document this better.
15753 Use different window sizes for good and bad QoS observations so
15754 we react to badness a little quicker.
15755 Keep track of the amount of rendered and dropped buffers.
15756 Send QoS timestamps in running time.
15758 * libs/gst/base/gstbasetransform.c:
15759 (gst_base_transform_sink_eventfunc),
15760 (gst_base_transform_handle_buffer):
15761 Compare QoS timestamps against running time.
15763 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15766 Typo fixes in docs.
15768 2006-04-06 Michael Smith <msmith@fluendo.com>
15770 * gst/gstpad.c: (gst_pad_set_property):
15771 Use g_value_get_object() instead of g_value_dup_gst_object(),
15772 to avoid double-reffing the pad template (which we then sink,
15773 so this worked previously if (and only if) the pad template
15776 * gst/gstpadtemplate.c: (gst_pad_template_init),
15777 (gst_pad_template_pad_created):
15778 Never return floating references to pad templates, create
15779 them as initially-sunken.
15781 Document an extra function (and make this stop sinking our
15782 pad template, since that is now guaranteed to do nothing,
15783 since we created it sunken).
15785 * gst/gstghostpad.c:
15788 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15790 * gst/gstinfo.c: (__gst_in_valgrind):
15793 * plugins/elements/gsttypefindelement.c:
15794 (gst_type_find_element_chain):
15795 Don't leak buffer caps.
15797 2006-04-06 Michael Smith <msmith@fluendo.com>
15799 * gst/parse/grammar.y:
15800 Fix a leak in parse-launch for any source-or-sink named element
15803 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15804 Unref the pipeline if it exists after we've failed parsing.
15806 2006-04-05 Michael Smith <msmith@fluendo.com>
15808 * gst/gstpipeline.c: (gst_pipeline_init):
15809 When we create a pipeline bus, initially create it in flushing mode.
15810 Fixes leaks in at least one test, and makes a new pipeline work the
15811 same as one that has gone to READY and then back to NULL.
15813 * gst/gstelement.c:
15816 2006-04-05 Michael Smith <msmith@fluendo.com>
15818 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15819 Unref a pad we reffed.
15820 * tests/check/gst/gstutils.c: (GST_START_TEST):
15823 2006-04-05 Michael Smith <msmith@fluendo.com>
15825 * gst/gstquery.c: (gst_query_set_formats),
15826 (gst_query_set_formatsv):
15827 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15829 2006-04-05 Michael Smith <msmith@fluendo.com>
15831 * tests/check/generic/sinks.c: (GST_START_TEST):
15832 Fix a variety of memleaks in sinks check, which are only sometimes
15833 shown by running the tests under valgrind (weird?).
15835 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15837 * docs/version.entities.in:
15838 Fix the substituted entity name after thomas' changes on the
15841 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15843 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15846 2006-04-05 Andy Wingo <wingo@pobox.com>
15848 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15850 * libs/gst/base/gstbasetransform.c
15851 (gst_base_transform_sink_eventfunc): When resetting our segment on
15852 FLUSH_STOP, also update the flag saying we haven't seen a
15855 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15857 Patch by: Paolo Borelli <pborelli at katamail dot com>
15859 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15860 (gst_plugin_check_license):
15861 minor clean-ups: G_DEFINE_TYPE already takes care of the
15862 parent_class stuff, no need to do it twice. Mark array of
15863 license strings as constant. (#337103)
15865 2006-04-04 Michael Smith <msmith@fluendo.com>
15867 * tools/gst-inspect.c: (print_element_list):
15868 Free the right plugin list; fixes a memory leak.
15870 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15872 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15874 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15875 Don't error out on empty buffers (#336945).
15877 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15879 * docs/libs/gstreamer-libs-sections.txt:
15880 * gst/gsttaglist.c:
15881 * libs/gst/base/gstbasesink.c:
15882 * libs/gst/base/gstbasesink.h:
15883 * libs/gst/base/gstbasesrc.c:
15884 * libs/gst/base/gstbasesrc.h:
15885 Documentation updates. Make BaseSink and BaseSrc docs contain the
15886 class structure so that people can actually see the prototypes for
15887 virtual functions they're supposed to be overriding.
15889 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15891 * plugins/elements/gsttypefindelement.c:
15892 (gst_type_find_element_chain):
15893 More debug info; when skipping typefinding, send cached
15894 events in all cases.
15896 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15899 use new AS_VERSION and AS_NANO macros
15900 * gst/gst-i18n-lib.h:
15903 * gst/gstversion.h.in:
15904 * win32/common/config.h:
15905 * win32/common/config.h.in:
15908 2006-03-31 Michael Smith <msmith@fluendo.com>
15910 * plugins/elements/gsttypefindelement.c:
15911 (gst_type_find_element_chain):
15912 Do not typefind content if the buffers already have caps.
15913 Neccesary for icydemux (#333657), and the right thing to do anyway.
15915 2006-03-30 Wim Taymans <wim@fluendo.com>
15917 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15918 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15919 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15920 (gst_base_sink_record_qos_observation),
15921 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15922 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15923 (gst_base_sink_change_state):
15924 More QoS measurements as described in the design doc.
15925 Get rid of ringbuffer with observations, running average is
15926 more simple and equally good.
15927 Calculates valid proportion now.
15928 Added beginning of flood measurement.
15930 2006-03-29 Wim Taymans <wim@fluendo.com>
15932 * docs/design/part-qos.txt:
15934 Small documentation updates and additions.
15936 2006-03-29 Wim Taymans <wim@fluendo.com>
15938 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15939 (gst_base_src_send_event), (gst_base_src_loop),
15940 (gst_base_src_change_state):
15941 Perform the EOS logic when we reach the segment stop position.
15942 Fix compilation on gcc4.1
15944 2006-03-29 Wim Taymans <wim@fluendo.com>
15946 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15948 * plugins/elements/gstqueue.c: (gst_queue_init),
15949 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15950 (gst_queue_set_property):
15951 * plugins/elements/gstqueue.h:
15952 In queue, when EOS is received, if minimum threshold > max_size -
15953 current_level, there is chance that queue blocks forever in conditional
15954 item del wait. This is because the queue is not emptied completely due
15955 to minimum threshold. Here is another approach. Instead of setting
15956 cur_levels to max in EOS, just zero all minimum threshold levels. This
15957 should make sure that queue gives out all data. When going to READY
15958 (stop) state, just reset the original minimum threshold levels.
15961 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
15963 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15964 (gst_type_find_element_handle_event),
15965 (gst_type_find_element_send_cached_events),
15966 (gst_type_find_element_change_state):
15967 * plugins/elements/gsttypefindelement.h:
15968 When typefinding is done in push mode, we should cache
15969 events we receive during typefinding instead of just
15970 dropping them (e.g. newsegment, custom events from
15971 dvdreadsrc etc.) and then send them out once we've
15972 determined the type of the stream (and decodebin
15973 has had a chance to plug in a decoder/demuxer).
15975 2006-03-27 Wim Taymans <wim@fluendo.com>
15977 * docs/design/part-qos.txt:
15980 2006-03-27 Wim Taymans <wim@fluendo.com>
15982 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15984 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15985 (gst_base_src_send_event), (gst_base_src_change_state):
15986 Handle element seek correctly when we are streaming.
15989 2006-03-24 Michael Smith <msmith@fluendo.com>
15991 * docs/faq/gst-uninstalled:
15992 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15993 allow you to correctly run intalled applications built against old
15994 core, using plugins that require updated core (e.g. running
15995 installed totem against a full uninstalled gstreamer stack)
15997 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15999 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16002 2006-03-24 Wim Taymans <wim@fluendo.com>
16004 * docs/gst/gstreamer-sections.txt:
16005 Rearrange the order of the methods so that related methods
16006 are grouped together in sections.
16008 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16010 * gst/gstelement.c:
16011 Little clarification in the docs
16013 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16017 * plugins/elements/gstidentity.c:
16018 * plugins/elements/gstqueue.c:
16019 * plugins/elements/gsttee.c:
16020 * plugins/elements/gsttypefindelement.c:
16021 GST_ELEMENT_DETAILS formatting
16023 2006-03-24 Wim Taymans <wim@fluendo.com>
16025 * libs/gst/base/gstbasesink.h:
16026 Only add fields, not insert or we break ABI.
16028 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16030 * win32/common/libgstbase.def:
16031 * win32/common/libgstreamer.def:
16032 Update, add recently added functions.
16034 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16036 * docs/gst/gstreamer-sections.txt:
16037 * gst/gstutils.c: (gst_pad_query_peer_position),
16038 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16040 API: add some new utility functions:
16041 - gst_pad_query_peer_position()
16042 - gst_pad_query_peer_duration()
16043 - gst_pad_query_peer_convert()
16045 2006-03-23 Wim Taymans <wim@fluendo.com>
16047 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16048 (gst_base_sink_init), (gst_base_sink_finalize),
16049 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16050 (gst_base_sink_set_property), (gst_base_sink_get_property),
16051 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16052 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16053 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16054 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16055 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16056 (gst_base_sink_preroll_object), (gst_base_sink_event),
16057 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16058 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16059 (gst_base_sink_query), (gst_base_sink_change_state):
16060 Decouple max-lateness and the fact that QoS messages are generated
16061 with a new property (qos).
16062 added API: GstBaseSink::async_play()
16063 Add vmethod so subclasses can be notified of ASYNC playing
16065 Collect timestamp start and stop to report better current
16066 position in EOS/PLAYING/PAUSED/READY/NULL.
16067 Refactor QoS/frame dropping and other measurements.
16068 API: GstBaseSrc::qos
16071 * libs/gst/base/gstbasesink.h:
16072 Added Private struct.
16073 API: gst_base_sink_set_qos_enabled()
16074 API: gst_base_sink_is_qos_enabled()
16076 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16078 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16079 If compiling against GLib-2.8 or newer, try to read the
16080 registry file using GMappedFile first before falling back
16081 to fopen() + fread() (#332151).
16083 2006-03-22 Wim Taymans <wim@fluendo.com>
16085 * gst/gstinfo.c: (gst_debug_set_active),
16086 (gst_debug_category_set_threshold):
16087 Disable debugging unless explicitly activated.
16090 2006-03-22 Wim Taymans <wim@fluendo.com>
16092 * gst/gstelement.c: (gst_element_set_locked_state),
16093 (gst_element_dispose):
16094 Cleanup the error case.
16096 * gst/gstobject.c: (gst_object_dispose):
16097 print a critical when some object was disposed with
16098 a parent, also revive the object since it might
16101 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16103 * tools/gst-launch.1.in:
16106 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16109 * tests/check/Makefile.am:
16110 disable some tests when we don't have a registry
16111 * tests/check/gst/gstutils.c: (gst_utils_suite):
16112 don't build the part that needs parsing
16114 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16117 * tests/examples/Makefile.am:
16118 fix --disable-parse build
16120 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16122 * tools/gst-feedback.1.in:
16123 Fix typo: s/feeback/feedback/ (#133494).
16125 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16127 * tools/Makefile.am:
16128 * tools/gst-launch.1.in:
16129 Add FILES section and correct entry about GST_REGISTRY_PATH
16130 environment variable (#133495; #133494).
16132 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16134 * tools/Makefile.am:
16135 * tools/gst-md5sum.1.in:
16136 * tools/gst-md5sum.c:
16137 Remove gst-md5sum and man page (the md5sink element
16138 required was removed ages ago)
16140 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16142 * gst/gststructure.c: (gst_structure_id_set_value):
16143 Make sure that string fields in structures/taglists
16144 contain valid UTF-8 - we don't want to pass rubbish to
16145 applications because of a buggy plugin (cp. #334167).
16147 2006-03-21 Edward Hervey <edward@fluendo.com>
16149 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16150 (gst_bin_handle_message_func):
16151 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16152 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16153 (gst_element_set_bus_func):
16154 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16155 * gst/gstminiobject.c: (gst_value_set_mini_object),
16156 (gst_value_take_mini_object):
16157 * gst/gstpad.c: (gst_pad_set_pad_template):
16158 * gst/gstpipeline.c: (gst_pipeline_dispose),
16159 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16160 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16161 (gst_collect_pads_chain):
16162 * libs/gst/net/gstnettimeprovider.c:
16163 (gst_net_time_provider_set_property):
16164 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16165 It's in fact all issues with gst_*object_replace().
16167 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16169 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16171 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16172 * pkgconfig/gstreamer-check.pc.in:
16173 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16175 2006-03-21 Edward Hervey <edward@fluendo.com>
16179 * gst/gstmessage.h:
16180 gst_[buffer|event|message]_ref() macros are replaced by a static
16181 inline functions because gcc-4.1 will about if the return value
16183 * tests/check/gst/gstevent.c: (event_probe):
16184 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16186 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16189 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16190 the type' case. (Closes: #335195 for now). In the future, when we
16191 depend on GLib 2.10, we could also intern the type name using
16192 g_intern_static_string()
16194 2006-03-20 Wim Taymans <wim@fluendo.com>
16196 * gst/gstbin.c: (gst_bin_handle_message_func),
16197 (bin_query_max_init), (bin_query_position_fold),
16198 (bin_query_position_done), (gst_bin_query):
16199 Position query should also take max of all streams.
16201 2006-03-20 Wim Taymans <wim@fluendo.com>
16203 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16204 (gst_fake_src_finalize):
16205 Fix leaks in fakesrc.
16207 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16208 Fix leaks in the testcase.
16210 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16212 * gst/gst_private.h:
16213 add win32 specific import decoration(__declspec(dllimport))
16214 for all extern GstDebugCategory * variables
16215 * win32/common/libgstbase.def:
16216 * win32/common/libgstcontroller.def:
16217 * win32/common/libgstreamer.def:
16218 Add some exports, remove empty lines
16219 * win32/common/libgstdataprotocol.def:
16220 * win32/common/libgstdataprotocol.dsp:
16221 * win32/common/libgstnet.def:
16222 * win32/common/libgstnet.dsp:
16223 new project files and exportation files added
16225 2006-03-19 Wim Taymans <wim@fluendo.com>
16227 * tests/check/libs/basesrc.c: (eos_event_counter):
16228 Use proper return value for probe.
16230 2006-03-17 Wim Taymans <wim@fluendo.com>
16232 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16234 Don't leak buffers, caps and pads on negotiation errors.
16236 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16238 * docs/faq/cvs.xml:
16239 * docs/faq/dependencies.xml:
16240 * docs/faq/developing.xml:
16241 * docs/faq/faq.xml:
16242 * docs/faq/general.xml:
16243 * docs/faq/getting.xml:
16244 * docs/faq/legal.xml:
16245 * docs/faq/troubleshooting.xml:
16246 * docs/faq/using.xml:
16247 Faq review and update.
16249 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16251 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16253 Don't pound the cpu to pieces by checking get_caps when accept_caps
16254 is called with the same caps as the pad already has.
16255 Use GST_DEBUG_OBJECT when outputting caps change information.
16257 2006-03-15 Wim Taymans <wim@fluendo.com>
16259 * gst/gstclock.c: (gst_clock_class_init):
16262 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16267 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16268 (gst_pad_accept_caps), (gst_pad_configure_sink),
16269 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16270 Make the default acceptcaps behaviour be to check the requested
16271 caps against the gst_pad_get_caps output.
16273 Ensure that gst_pad_accept_caps is used to check caps when a pad
16274 doesn't have a setcaps function, so that pads automatically refuse
16275 caps that they don't allow in their pad template. (Fixes #332986)
16277 When a buffer with attached caps is pushed, ensure that the source
16278 pad receives those caps even if the element didn't call
16279 gst_pad_set_caps first.
16281 2006-03-15 Wim Taymans <wim@fluendo.com>
16283 * libs/gst/base/gstadapter.c:
16286 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16288 * win32/common/libgstbase.def:
16289 * win32/common/libgstcontroller.def:
16290 * win32/common/libgstreamer.def:
16291 Add a whole bunch of missing functions (#334434).
16293 2006-03-14 Wim Taymans <wim@fluendo.com>
16295 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16296 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16297 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16298 Better debug info when we receive a segment event.
16299 Reorganize a bit so we can pass the get_times() results around.
16300 Use the segment format when calculating the running time.
16301 Don't do QoS is sync is disabled or we have no clock or the
16302 element does not want us to sync to the clock.
16303 Don't drop buffers if QoS is disabled for now.
16305 2006-03-14 Wim Taymans <wim@fluendo.com>
16307 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16308 Marked the stats property as unimplemented so people don't get
16310 Add debug message when regression goes wrong.
16311 Added some more docs.
16313 2006-03-14 Wim Taymans <wim@fluendo.com>
16315 * gst/gstsegment.c: (gst_segment_to_stream_time):
16316 Return correct return type in case of errors.
16318 2006-03-14 Wim Taymans <wim@fluendo.com>
16320 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16321 Don't segfault on invalid formats.
16323 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16325 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16326 Can't use gst_segment_to_running_time() when the segment
16327 is not in GST_TIME_FORMAT (like with filesink, for example).
16328 Stops flac encoding pipelines from spewing critical warnings
16331 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16333 * gst/gstpipeline.c: (gst_pipeline_class_init):
16334 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16336 * plugins/elements/gsttypefindelement.c:
16337 (gst_type_find_element_handle_event):
16338 Don't try to typefind empty streams.
16340 2006-03-14 Wim Taymans <wim@fluendo.com>
16342 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16343 (gst_base_sink_do_qos):
16344 Separate QoS calculation.
16345 Only drop buffers when lateness is bigger than the
16346 duration of the buffer.
16348 2006-03-13 Wim Taymans <wim@fluendo.com>
16350 * gst/gstpipeline.c: (gst_pipeline_set_property),
16351 (gst_pipeline_get_property), (do_pipeline_seek),
16352 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16353 (gst_pipeline_get_delay):
16354 Don't deadlock when reading properties.
16356 2006-03-13 Wim Taymans <wim@fluendo.com>
16358 * libs/gst/base/gstbasetransform.c:
16359 (gst_base_transform_class_init), (gst_base_transform_init),
16360 (gst_base_transform_sink_event),
16361 (gst_base_transform_sink_eventfunc),
16362 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16363 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16364 (gst_base_transform_set_property),
16365 (gst_base_transform_get_property),
16366 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16367 (gst_base_transform_set_qos_enabled),
16368 (gst_base_transform_is_qos_enabled):
16369 * libs/gst/base/gstbasetransform.h:
16370 Make basetransform virtual method for src events too.
16371 Handle QOS in basetransform.
16372 API: gst_base_transform_update_qos()
16373 API: gst_base_transform_set_qos_enabled()
16374 API: gst_base_transform_is_qos_enabled()
16376 2006-03-13 Wim Taymans <wim@fluendo.com>
16378 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16379 (gst_base_sink_do_sync):
16381 Use QOS debug category.
16383 2006-03-13 Wim Taymans <wim@fluendo.com>
16385 * plugins/elements/gstqueue.c:
16386 Very small doc update.
16388 2006-03-13 Wim Taymans <wim@fluendo.com>
16390 * gst/gst_private.h:
16391 * gst/gstinfo.c: (_gst_debug_init):
16392 Added QOS debug category
16394 2006-03-13 Wim Taymans <wim@fluendo.com>
16396 * docs/gst/gstreamer-sections.txt:
16397 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16399 * gst/gstbus.c: (gst_bus_class_init):
16402 * gst/gstelement.c: (gst_element_set_locked_state):
16403 * gst/gstsegment.c:
16404 Documentation updates.
16406 * gst/gstpipeline.c: (gst_pipeline_get_type),
16407 (gst_pipeline_class_init), (gst_pipeline_init),
16408 (gst_pipeline_dispose), (gst_pipeline_set_property),
16409 (gst_pipeline_get_property), (do_pipeline_seek),
16410 (gst_pipeline_send_event), (gst_pipeline_change_state),
16411 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16412 (gst_pipeline_get_delay):
16413 * gst/gstpipeline.h:
16414 Added methods for setting the delay.
16415 API: gst_pipeline_set_delay()
16416 API: gst_pipeline_get_delay()
16417 Add pipeline debug category
16420 Don't reset stream time when seek failed.
16422 2006-03-13 Wim Taymans <wim@fluendo.com>
16424 * docs/design/draft-klass.txt:
16425 * docs/design/part-clocks.txt:
16426 * docs/design/part-events.txt:
16427 * docs/design/part-gstbin.txt:
16428 * docs/design/part-gstpipeline.txt:
16429 * docs/design/part-messages.txt:
16430 * docs/design/part-negotiation.txt:
16431 * docs/design/part-overview.txt:
16432 * docs/design/part-preroll.txt:
16433 * docs/design/part-seeking.txt:
16434 * docs/design/part-states.txt:
16435 * docs/design/part-streams.txt:
16436 Documentation updates.
16438 2006-03-12 Julien MOUTTE <julien@moutte.net>
16440 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16441 us to leak strings...
16443 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16445 * libs/gst/net/gstnettimeprovider.c:
16447 * win32/common/config.h:
16450 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16452 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16455 Don't check for libgnomeui (leftover from old examples
16456 that aren't built or disted any longer) (#334303).
16458 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16460 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16461 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16462 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16463 there's no space left on the device.
16465 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16468 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16469 to cast the input to GstClockTime before comparing with
16470 another GstClockTime value.
16472 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16477 === release 0.10.4 ===
16479 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16482 releasing 0.10.4, "Light"
16484 2006-03-10 Michael Smith <msmith@fluendo.com>
16486 * libs/gst/dataprotocol/dataprotocol.c:
16487 Fix docs for dataprocotol to not get the return types completely
16488 wrong for a few functions.
16490 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16492 * docs/gst/gstreamer-sections.txt:
16493 * gst/gstpipeline.c: (gst_pipeline_class_init),
16494 (gst_pipeline_init), (gst_pipeline_set_property),
16495 (gst_pipeline_get_property), (gst_pipeline_change_state),
16496 (gst_pipeline_set_auto_flush_bus),
16497 (gst_pipeline_get_auto_flush_bus):
16498 * gst/gstpipeline.h:
16499 Add new API: gst_pipeline_set_auto_flush_bus() and
16500 gst_pipeline_get_auto_flush_bus() to disable automatic
16501 flushing of the pipeline's GstBus when going from READY
16502 to NULL state (#332045).
16504 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16506 * docs/gst/gstreamer-sections.txt:
16507 * gst/gsturi.c: (gst_uri_has_protocol):
16509 Add new API: gst_uri_has_protocol() (#333779).
16511 2006-03-09 Wim Taymans <wim@fluendo.com>
16513 * gst/gstclock.c: (gst_clock_entry_new),
16514 (gst_clock_id_compare_func), (gst_clock_id_wait),
16515 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16516 (gst_clock_init), (gst_clock_get_internal_time),
16517 (gst_clock_set_master), (do_linear_regression),
16518 (gst_clock_add_observation), (gst_clock_set_property):
16522 Fix a possible segfault when the window-size is made smaller.
16523 Calculate jitter before performing the clock wait. Ideally
16524 the clock implementation should calculate jitter but we need
16525 API breakage for that.
16527 * gst/gstsystemclock.c: (gst_system_clock_init):
16530 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16531 Remove leftover else
16533 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16534 (gst_systemclock_suite):
16535 Added check to test GST_CLOCK_DIFF.
16537 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16539 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16540 (gst_type_find_helper_get_range):
16541 If we are provided with the size, we should implement
16542 GstTypeFind::get_length, so that typefind functions who
16543 want to can actually peek at the middle of a file.
16545 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16547 * docs/manual/advanced-dataaccess.xml:
16548 Add some very very basic error checking.
16550 * docs/pwg/appendix-checklist.xml:
16551 Some updates to the list of things to check when writing an element.
16553 2006-03-08 Wim Taymans <wim@fluendo.com>
16555 * docs/design/part-element-transform.txt:
16556 Added some docs about the design of tranform elements.
16558 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16559 (gst_base_src_loop), (gst_base_src_change_state):
16560 Mark buffers with the DISCONT flag.
16562 2006-03-08 Michael Smith <msmith@fluendo.com>
16564 * gst/gstregistry.h:
16565 * gst/gstregistryxml.c: (gst_registry_save),
16566 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16567 (gst_registry_xml_save_pad_template),
16568 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16569 (gst_registry_xml_write_cache):
16570 Rewrite registry-saving to avoid race conditions and check for
16573 2006-03-08 Wim Taymans <wim@fluendo.com>
16575 * libs/gst/base/gstbasetransform.c:
16576 (gst_base_transform_transform_caps),
16577 (gst_base_transform_transform_size),
16578 (gst_base_transform_prepare_output_buffer),
16579 (gst_base_transform_get_unit_size),
16580 (gst_base_transform_buffer_alloc),
16581 (gst_base_transform_handle_buffer),
16582 (gst_base_transform_change_state):
16583 Cleanups, separate normal flow from errors, add sensible
16585 Don't try to renegotiate when allocating an output buffer.
16586 Also copy DISCONT buffer flag when copying a buffer.
16587 Reset the transform after we finish streaming, not during.
16589 2006-03-08 Wim Taymans <wim@fluendo.com>
16591 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16592 Use last buffer timestamp in qos message.
16594 2006-03-07 Wim Taymans <wim@fluendo.com>
16596 Patch by: Christophe Fergeau
16598 * docs/pwg/advanced-tagging.xml:
16599 * docs/pwg/building-pads.xml:
16602 2006-03-07 Wim Taymans <wim@fluendo.com>
16604 * docs/libs/gstreamer-libs-sections.txt:
16605 Added basesink new methods.
16609 Docs updates. Flesh out the QoS docs.
16611 * libs/gst/base/gstadapter.c:
16612 Small doc clarification about ownership and flushing.
16614 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16615 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16616 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16617 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16618 * libs/gst/base/gstbasesink.h:
16620 Added new methods to allow subclass to control max-lateness
16622 Generate very basic QoS events based on last sync observation.
16623 Updated docs, fix typo, added some QoS blurb.
16625 * libs/gst/base/gstbasesrc.c:
16626 Remove obsolete _get_state() calls from docs.
16628 2006-03-07 Wim Taymans <wim@fluendo.com>
16630 * docs/libs/gstreamer-libs-sections.txt:
16631 * libs/gst/base/gstbasetransform.h:
16632 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16633 Fix docs for GstBaseSrc.
16635 2006-03-07 Wim Taymans <wim@fluendo.com>
16637 * docs/gst/gstreamer-sections.txt:
16640 * libs/gst/base/gstbasetransform.h:
16641 Small documentation fixes.
16643 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16646 Document thread-unsafety of gst_value_register_foo_func()
16647 when used at the same time as gst_value_foo() (#322628).
16649 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16651 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16652 (gst_push_src_check_get_range):
16653 Push sources don't support pull mode by default.
16655 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16657 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16658 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16659 (gst_base_src_default_check_get_range):
16660 * libs/gst/base/gstbasesrc.h:
16661 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16662 provide default implementation, and rename
16663 gst_base_src_check_get_range() to
16664 gst_base_src_pad_check_get_range() for clarity.
16666 2006-03-06 Wim Taymans <wim@fluendo.com>
16668 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16669 Make property overridable.
16671 2006-03-06 Wim Taymans <wim@fluendo.com>
16673 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16674 (gst_base_sink_init), (gst_base_sink_set_property),
16675 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16676 * libs/gst/base/gstbasesink.h:
16677 API addition: Make max-lateness a property.
16679 2006-03-06 Wim Taymans <wim@fluendo.com>
16681 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16682 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16683 Don't ever draw a frame that is >10ms late.
16685 2006-03-06 Michael Smith <msmith@fluendo.com>
16687 * gst/gstmessage.c: (_gst_message_copy):
16688 When copying a message, set the parent_refcount of the enclosed
16689 structure to point at the copy, not the original message.
16691 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16693 Patch by: Christophe Fergeau
16696 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16697 usable in c++ code (#333417)
16699 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16702 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16704 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16706 * libs/gst/base/gstbasetransform.c:
16707 (gst_base_transform_transform_caps):
16708 Make sure caps are writable before passing them to
16711 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16714 Fix some minor docs errors.
16716 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16718 Patch by: Ross Burton <ross at burtonini dot com>
16720 * gst/gsterror.c: (_gst_resource_errors_init):
16722 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16724 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16727 Add a check and output a g_warning when GStreamer is built
16728 against GLib 2.6 but running against 2.8 or higher, and vice
16729 versa. (Closes: #323542)
16731 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16733 * gst/parse/parse.l:
16734 Commit patch for parse_launch syntax from #331255. Removes
16735 support for quoted strings and mimetypes when writing filtered
16736 caps. See the bug report for more details - I'm pretty sure this
16737 obscure feature is not in use by _anyone_ anywhere.
16739 With this simple change, the size of the gstreamer.so here
16740 drops from 2193KB to 1565KB.
16742 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16744 * plugins/elements/gsttypefindelement.h:
16745 * plugins/elements/gsttypefindelement.c:
16746 (gst_type_find_element_src_event), (start_typefinding),
16747 (stop_typefinding), (gst_type_find_element_handle_event),
16748 (gst_type_find_element_chain),
16749 (gst_type_find_element_chain_do_typefinding):
16750 Use gst_type_find_helper_for_buffer() for chain-based
16753 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16755 * plugins/elements/gsttypefindelement.c:
16756 (gst_type_find_element_class_init),
16757 (gst_type_find_element_set_property),
16758 (gst_type_find_element_get_property):
16759 Deprecate "maximum" property (not only was it only taken into
16760 account for typefinding in push-mode anyway, it also was never
16761 actually possible to set it in the first place because the
16762 property was registered with the numeric property ID for the
16763 "minimum" property). Register "maximum" property correctly,
16764 for the sake of future copy'n'pasters. Remove some cruft
16765 from property get/set functions.
16767 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16769 * plugins/elements/gsttypefindelement.c:
16770 (gst_type_find_element_activate):
16771 Use gst_type_find_helper_get_range() here, so we
16772 can honour the "minimum" property and also emit
16773 the signal with the correct probability of the found caps.
16775 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16777 * docs/libs/gstreamer-libs-sections.txt:
16778 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16779 (helper_find_suggest), (gst_type_find_helper_get_range),
16780 (gst_type_find_helper):
16781 * libs/gst/base/gsttypefindhelper.h:
16782 New API: gst_type_find_helper_get_range() (#333042).
16784 2006-03-02 Michael Smith <msmith@fluendo.com>
16786 * gst/gstregistryxml.c: (load_feature):
16787 Asserting on a failure to read part of the registry is Not Cool.
16788 Just log a warning and return NULL (which is already handled)
16790 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16792 * win32/common/libgstbase.def:
16793 added export of gst_type_find_helper_for_buffer
16794 * win32/common/libgstbase.def:
16795 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16796 gst_ghost_pad_get_target
16798 2006-02-28 Wim Taymans <wim@fluendo.com>
16800 * docs/design/draft-klass.txt:
16802 Added Connector to mark elements that are only used to
16803 allow pipeline connections.
16804 Moved Debug to extra feature since most of them are
16805 functionally something else.
16807 2006-02-28 Wim Taymans <wim@fluendo.com>
16809 * docs/design/draft-klass.txt:
16810 Some updates and clarifications.
16812 2006-02-28 Wim Taymans <wim@fluendo.com>
16814 * docs/design/draft-klass.txt:
16815 Proposal for klass field values.
16817 * docs/design/part-streams.txt:
16818 Start of a doc describing stream anatomy.
16820 2006-02-28 Wim Taymans <wim@fluendo.com>
16822 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16823 Help the compiler a bit with type registration.
16824 Use existing forward cod path instead of duplicating it when
16825 handling a message.
16827 * gst/gstbus.c: (gst_bus_get_type):
16828 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16829 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16830 * gst/gstclock.c: (gst_clock_get_type):
16831 * gst/gstelement.c: (gst_element_get_type),
16832 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16833 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16834 * gst/gstminiobject.c: (gst_mini_object_get_type):
16835 * gst/gstpad.c: (gst_pad_get_type):
16836 * gst/gstsegment.c: (gst_segment_get_type):
16837 * gst/gststructure.c: (gst_structure_get_type):
16838 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16839 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16841 Help compiler with type registration.
16843 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16846 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16848 * plugins/elements/gsttypefindelement.c:
16849 (gst_type_find_element_handle_event):
16850 When we get an EOS event and have not found a type yet
16851 (most likely because we had not yet accumulated
16852 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16853 type given the data we have so far. Fixes typefinding
16854 for very short streams again, most notably quicktime
16855 redirections as used on Apple's trailer site (#331701).
16857 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16859 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16860 (gst_type_find_helper):
16861 Try typefinding factories with the highest rank first.
16863 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16865 * docs/libs/gstreamer-libs-docs.sgml:
16866 * docs/libs/gstreamer-libs-sections.txt:
16867 * libs/gst/base/gsttypefindhelper.c:
16868 Add section for typefind helper and add documentation
16869 for the old and the new function.
16871 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16873 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16874 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16875 (gst_type_find_helper_for_buffer):
16876 * libs/gst/base/gsttypefindhelper.h:
16877 New API: gst_type_find_helper_for_buffer() (#332723).
16879 2006-02-27 Michael Smith <msmith@fluendo.com>
16881 Patch by: Loïc Minier
16884 * docs/Makefile.am:
16885 * docs/slides/Makefile.am:
16886 prevent CVS directories getting disted.
16888 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16890 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16891 Use the REFCOUNTING category for caps refcounting.
16893 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16895 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16896 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16898 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16900 * plugins/elements/gsttypefindelement.c:
16901 (gst_type_find_element_activate):
16902 Use gst_pad_check_pull_range() before _activate_pull()
16903 to avoid unnecessary open/close (see #331690).
16905 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16908 Docs enhancement: make it crystal clear what the
16909 gst_pad_add_*_probe() callbacks should look like.
16911 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16913 * libs/gst/base/gstbasesrc.c:
16914 Document how applications can stop recording from
16915 live sources (see #330996).
16917 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16919 * tests/check/Makefile.am:
16920 * tests/check/libs/basesrc.c: (eos_event_counter),
16921 (basesrc_eos_events_pull), (basesrc_eos_events_push),
16922 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16923 (gst_basesrc_suite), (main):
16924 ... and add some tests for the base source EOS stuff.
16926 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16928 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16929 Test case originally showed the problem fixed below,
16930 but was then amended. Add checks back at the place
16931 where they used to be.
16933 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16935 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16936 (gst_base_src_init), (gst_base_src_loop),
16937 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16938 (gst_base_src_change_state):
16939 * libs/gst/base/gstbasesrc.h:
16940 Don't unconditionally send EOS when going from PAUSED to
16941 READY state, esp. make sure we don't send two EOS events
16942 in some cases (e.g. one when reaching EOS and one when
16943 going from PAUSED to READY). Also, we don't want to send
16944 EOS events when operating in pull mode. However, we do
16945 want to send an EOS event when shutting down a live
16946 source explicitly, for example (fixes #330996).
16948 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16950 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16951 Update src->read_position after a seek when not using mmap.
16952 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16954 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
16960 Make things work with --disable-parse as they do with
16961 --disable-load-save - the symbols involved disappear, but the
16962 header is still installed and GST_DISABLE_PARSE is included via
16965 2006-02-20 Julien MOUTTE <julien@moutte.net>
16967 * libs/gst/base/gstbasetransform.c:
16968 (gst_base_transform_change_state): Fix a stupid bug. I was
16969 sure I compiled that.
16971 2006-02-20 Julien MOUTTE <julien@moutte.net>
16973 * gst/gstpad.c: (gst_pad_set_blocked_async):
16974 * gst/gstutils.c: (gst_pad_add_data_probe),
16975 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16976 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16977 (gst_pad_remove_buffer_probe): Make those function act on the
16978 ghostpad target when it's a ghostpad. (Closes #331727)
16980 2006-02-20 Julien MOUTTE <julien@moutte.net>
16982 * libs/gst/base/gstbasetransform.c:
16983 (gst_base_transform_change_state): Make basetransform reusable.
16986 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
16988 * docs/random/release:
16989 Move the current documentation of how to do a release to the top
16992 * gst/gstbin.c: (gst_bin_class_init),
16993 (gst_bin_handle_message_func):
16994 Allow multiple state-recalculation threads. (Closes #328873)
16996 2006-02-19 Julien MOUTTE <julien@moutte.net>
16998 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16999 * gst/gstpad.c: (gst_pad_set_event_function),
17000 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17001 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17002 2 strings. You can't use the STR_NULL macro on that.
17004 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17006 * gst/gstpad.c: (gst_pad_set_event_function),
17007 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17008 (gst_pad_set_getcaps_function)
17009 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17010 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17011 So now, we can use --gst-debug-level=5 on Windows
17012 * win32/common/libgstcontroller.def:
17013 Added export of gst_controller_init
17014 * win32/vs6/libgstcontroller.dsp:
17015 Fixed Release post build configuration
17017 2006-02-17 Wim Taymans <wim@fluendo.com>
17019 * tests/check/gst/gstquery.c: (GST_START_TEST):
17020 Added another check.
17022 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17024 * plugins/elements/gsttypefindelement.c: (find_peek):
17025 We can do peeks at non-zero offsets, as long as they
17026 fall within the buffer we have.
17028 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17030 * tests/check/Makefile.am:
17031 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17032 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17033 (parse_suite), (main):
17034 Add testsuite for parse launch syntax
17036 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17038 * plugins/elements/gsttypefindelement.c:
17039 (gst_type_find_element_chain):
17040 When typefinding is unsuccessful in the chain function, don't
17041 error out immediately. Only error out with NO_CAPS_FOUND if
17042 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17043 otherwise simply wait for more data so we can try typefinding
17044 again with more data later. Also, don't attempt to typefind
17045 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17046 this should improve typefinding from network sources where the
17047 size of the first buffer can be somewhat random.
17049 2006-02-14 Wim Taymans <wim@fluendo.com>
17051 * docs/gst/gstreamer-sections.txt:
17052 * gst/gstpadtemplate.c:
17053 * gst/gstpadtemplate.h:
17054 Fix padtemplate docs, fixes #328805.
17056 2006-02-14 Wim Taymans <wim@fluendo.com>
17058 * tools/gst-launch.c: (main):
17059 NO_PREROLL is not an ERROR so don't send confusing messages
17062 2006-02-14 Wim Taymans <wim@fluendo.com>
17064 Patch by: Torsten Schoenfeld
17066 * gst/gstregistry.c: (gst_registry_get_default),
17067 (_gst_registry_cleanup):
17068 Protect default registry with lock and ref/sink it.
17071 2006-02-14 Wim Taymans <wim@fluendo.com>
17074 * gst/gstquery.c: (gst_query_list_add_format),
17075 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17076 (gst_query_parse_formats_nth):
17077 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17080 2006-02-14 Wim Taymans <wim@fluendo.com>
17082 * docs/gst/gstreamer-sections.txt:
17083 Reworked query docs.
17085 * gst/gstquery.c: (gst_query_new_formats),
17086 (gst_query_list_add_format), (gst_query_set_formats),
17087 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17088 (gst_query_parse_formats_nth):
17090 Flesh out formats query, added some new methods.
17091 Fix part of #324398.
17093 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17094 Added query creation tests.
17096 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17098 * gst/gstpad.c: (fixate_value):
17099 Add a default fixation for fraction lists.
17101 2006-02-13 Wim Taymans <wim@fluendo.com>
17103 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17104 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17107 Detect and warn for obvious deadlocks. fixes #320340
17108 Fix error case where lock was not released.
17110 * tests/check/Makefile.am:
17111 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17112 (task_func), (gst_element_suite), (main):
17115 2006-02-13 Wim Taymans <wim@fluendo.com>
17117 * docs/gst/gstreamer-sections.txt:
17119 Add new functions to docs.
17121 2006-02-13 Wim Taymans <wim@fluendo.com>
17123 * docs/design/part-TODO.txt:
17124 Updated TODO list, basesrc supports seeking to non-bytes
17127 * docs/design/part-element-sink.txt:
17130 * gst/gstbin.c: (bin_replace_message),
17131 (gst_bin_handle_message_func):
17132 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17133 * gst/gstevent.c: (gst_event_finalize):
17134 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17135 (gst_pad_send_event):
17136 Use shiny new _TYPE_NAME macros.
17138 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17139 Move debug statement up.
17141 * gst/gstelement.c: (gst_element_set_locked_state):
17142 Add some debugging.
17144 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17146 * docs/gst/gstreamer-sections.txt:
17147 * gst/gstmessage.h:
17149 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17150 macros (#330906). Also, document the already existing
17151 GST_QUERY_TYPE macro.
17153 2006-02-13 Wim Taymans <wim@fluendo.com>
17155 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17156 (event_probe), (GST_START_TEST):
17157 Only events up to the pipeline EOS are counted, there are
17158 some more when going to NULL currently which we don't care
17161 2006-02-13 Wim Taymans <wim@fluendo.com>
17163 * gst/gstpad.c: (gst_pad_send_event):
17164 Correctly check flushing and emit probes. fixes #330125
17166 2006-02-10 Andy Wingo <wingo@pobox.com>
17168 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17170 (gst_bus_init): Cache the location of the private data in the
17171 instance structure.
17172 (gst_bus_enable_sync_message_emission)
17173 (gst_bus_disable_sync_message_emission): Implement new public
17175 (gst_bus_post): Emit the sync-message signal if the user asked for
17178 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17179 location of the bus-private structure.
17180 (gst_bus_enable_sync_message_emission)
17181 (gst_bus_disable_sync_message_emission): API addition
17183 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17185 Patch by: Vincent Torri
17187 * docs/pwg/building-boiler.xml:
17188 PWG patch from #326800
17190 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17193 * docs/Makefile.am:
17194 * docs/design/Makefile.am:
17197 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17202 === release 0.10.3 ===
17204 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17207 releasing 0.10.3, "Like a virgin"
17209 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17212 2nd prerelease of 0.10.3
17213 Bump libtool versioning.
17215 2006-02-07 Andy Wingo <wingo@pobox.com>
17217 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17218 update last_stop if we're in TIME format and the timestamp is
17221 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17222 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17223 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17224 If we get a new newsegment with a different format, adapt
17227 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17228 of 0. Not a problem, really.
17230 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17233 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17238 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17241 project files updated to the default vs7 configuration
17242 * win32/common/libgstbase.def:
17243 * win32/common/libgstreamer.def:
17245 removed empty lines,
17246 sorted all exported symbols alphabetically
17247 * win32/common/dirent.c:
17248 * win32/common/dirent.h:
17249 * win32/common/gchar.h:
17250 use windows line end.
17252 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17254 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17255 Send EOS event when stopping.
17257 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17260 Tell folks what to do if the plugin-foobar.xml file
17261 hasn't been generated for a newly-added plugin.
17263 2006-02-05 Julien MOUTTE <julien@moutte.net>
17265 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17266 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17267 (gst_collect_pads_start), (gst_collect_pads_stop),
17268 (gst_collect_pads_event): Collectpads now holds a reference
17269 to the GstPad that was added. Indeed we don't want to look
17270 at pads that might just go away with no warning...
17272 2006-02-05 Julien MOUTTE <julien@moutte.net>
17274 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17275 (gst_collect_pads_start), (gst_collect_pads_stop),
17276 (gst_collect_pads_event), (gst_collect_pads_chain):
17277 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17278 Mark Nauwelaerts's patch on bug #328491.
17280 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17282 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17284 Add some simple tests for gst_parse_bin_from_description() and
17285 gst_bin_find_unconnected_pad() (#329069).
17287 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17289 * tools/gst-launch.c: (event_loop), (main):
17290 Catch errors during preroll (#320084).
17292 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17294 * plugins/elements/gsttypefindelement.c:
17295 (gst_type_find_element_activate):
17296 Post TYPE_NOT_FOUND error message when typefinding
17297 is unsuccessful in the activate function as well.
17299 2006-02-02 Wim Taymans <wim@fluendo.com>
17301 * docs/design/part-element-sink.txt:
17304 2006-02-02 Wim Taymans <wim@fluendo.com>
17306 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17307 (gst_base_sink_render_object),
17308 (gst_base_sink_queue_object_unlocked):
17309 Only keep track of prerollable items when we are
17311 Before rendering after preroll, always check if we
17313 Added some more debugging.
17315 2006-02-02 Wim Taymans <wim@fluendo.com>
17317 * gst/gstelement.c: (gst_element_continue_state),
17318 (gst_element_set_state_func), (gst_element_change_state):
17319 Fixed #326576, been running this for quite some time with
17320 no regressions at all.
17322 2006-02-02 Wim Taymans <wim@fluendo.com>
17325 Added more suppressions
17327 2006-02-02 Wim Taymans <wim@fluendo.com>
17329 * docs/design/part-element-sink.txt:
17332 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17333 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17334 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17335 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17336 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17337 (gst_base_sink_preroll_object),
17338 (gst_base_sink_queue_object_unlocked),
17339 (gst_base_sink_queue_object), (gst_base_sink_event),
17340 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17341 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17342 (gst_base_sink_get_position), (gst_base_sink_change_state):
17343 * libs/gst/base/gstbasesink.h:
17344 Totally refactored matching the design doc.
17345 Use two segments, one to clip incomming buffers and another to
17347 Handle queueing correctly, bypass the queue when playing.
17348 Make EOS cancelable.
17349 Handle errors correctly when operating in pull based mode.
17351 * tests/check/elements/fakesink.c: (GST_START_TEST),
17353 Added new check for sinks.
17355 2006-02-02 Wim Taymans <wim@fluendo.com>
17357 * gst/gstsegment.c: (gst_segment_clip):
17358 No reason to refuse to clip when start == -1
17360 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17363 * docs/manual/intro-basics.xml:
17364 * docs/manual/intro-preface.xml:
17365 * docs/manual/manual.xml:
17366 * docs/pwg/advanced-dparams.xml:
17367 * docs/pwg/intro-basics.xml:
17368 * docs/pwg/intro-preface.xml:
17369 * docs/pwg/pwg.xml:
17370 describe dparams (controller) for plugins
17371 unify docs a little more
17373 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17375 * docs/gst/gstreamer-sections.txt:
17376 * gst/gstutils.c: (element_find_unconnected_pad),
17377 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17379 Add new API: gst_parse_bin_from_description() and
17380 gst_bin_find_unconnected_pad() (#329069).
17382 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17384 * docs/manual/README:
17385 uncover a nasty detail of the docs build
17387 2006-01-31 Wim Taymans <wim@fluendo.com>
17389 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17390 Don't cache duration messages if we're not going to use or
17393 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17395 * docs/manual/advanced-dparams.xml:
17396 * docs/pwg/advanced-dparams.xml:
17400 * libs/gst/controller/lib.c: (gst_controller_init):
17403 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17405 * gst/gstelement.c: (gst_element_message_full):
17406 also show file/line/func if no additional debug was given
17408 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17410 * win32/vs7/grammar.vcproj:
17411 activate copy of autogenerated files for Release mode
17413 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17415 * win32/common/libgstreamer.def:
17416 export gst_value_compare
17418 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17420 * plugins/elements/Makefile.am:
17421 * plugins/elements/gstelements.c:
17422 * plugins/elements/gstfdsink.c: (_do_init),
17423 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17424 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17425 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17426 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17427 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17428 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17429 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17430 * plugins/elements/gstfdsink.h:
17431 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17433 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17435 * docs/manual/advanced-dparams.xml:
17436 describe controller
17437 * docs/manual/advanced-position.xml:
17438 * docs/manual/basics-init.xml:
17439 * docs/manual/manual.xml:
17440 * docs/manual/titlepage.xml:
17441 * docs/pwg/pwg.xml:
17442 * docs/pwg/titlepage.xml:
17443 cleanup xml (more to come)
17444 * libs/gst/controller/gstcontroller.c:
17447 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17449 * win32/vs6/grammar.dsp:
17450 add autogen of gstmarshal.c,h for Release mode
17452 2006-01-30 Wim Taymans <wim@fluendo.com>
17454 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17455 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17456 (gst_base_sink_handle_object), (gst_base_sink_event),
17457 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17458 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17459 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17460 (gst_base_sink_deactivate), (gst_base_sink_activate),
17461 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17462 (gst_base_sink_query), (gst_base_sink_change_state):
17463 Basesink cleanups, remove some old code.
17464 Handle the case where a subclass can preroll in the render
17465 method (mostly audiosinks).
17466 Handle more events.
17467 Remove some locks around variables that are now protected
17468 with the PREROLL_LOCK (clock_id, flushing, ..).
17469 Optimize position query some more, do correct locking.
17470 Remove old code to push queue in state change, this is not
17471 needed anymore since preroll blocks on all prerollable items
17473 Almost implemented as described in design doc.
17475 2006-01-30 Wim Taymans <wim@fluendo.com>
17477 * tests/check/gst/gstbin.c: (GST_START_TEST):
17478 Wait for refcount to settle down before checking.
17480 2006-01-30 Wim Taymans <wim@fluendo.com>
17482 * docs/design/part-element-sink.txt:
17483 Pseudo code overview of desired sink behaviour regarding
17486 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17487 * win32/vs6/grammar.dsp:
17488 fix some bugs in Release mode for autogenerated files
17490 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17491 * win32/common/libgstbase.def:
17492 * win32/common/libgstreamer.def:
17493 export some new symbols: gst_base_src_set_format,
17494 gst_iterator_next, gst_structure_set_valist
17496 2006-01-29 Julien MOUTTE <julien@moutte.net>
17498 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17499 Set pad functions unconditionally. Fixes #329105.
17501 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17503 add vs8 project files created by Sergey Scobich
17505 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17507 * gst/gstutils.c: (gst_element_unlink_pads):
17508 Don't leak pad references.
17510 * tests/check/elements/fakesink.c: (GST_START_TEST):
17511 * tests/check/generic/sinks.c: (GST_START_TEST):
17512 * tests/check/generic/states.c: (GST_START_TEST):
17513 * tests/check/gst/gstbin.c: (GST_START_TEST):
17514 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17515 * tests/check/gst/gstelement.c: (GST_START_TEST):
17516 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17517 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17518 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17519 Fix a bunch of leaks. Make generic/sinks.c
17520 use a bit less cpu by slowing the buffer rate
17521 between fakesrc and fakesink.
17523 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17525 * gst/gstelement.c: (gst_element_send_event):
17528 * gst/gstiterator.c:
17529 * gst/gstiterator.h:
17530 * gst/gstpad.c: (gst_pad_send_event):
17531 * gst/gststructure.c:
17535 * libs/gst/base/gstadapter.c:
17536 doc fixes, to link to function, just write gst_cool_function(), don't
17539 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17541 * plugins/elements/gsttee.c: (gst_tee_do_push),
17542 (gst_tee_handle_buffer):
17543 Always prefer an actual return value from a src
17544 pad in place of NOT_LINKED. This means we return
17545 WRONG_STATE when all src pads are WRONG_STATE
17546 instead of NOT_LINKED.
17548 Lock when replacing the last message to prevent
17549 racing with the get_property method.
17553 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17555 * tests/check/Makefile.am:
17556 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17558 Add a very simple check that should have caught the memleak I fixed
17559 last night (if not for the slice allocator hiding it)
17561 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17563 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17564 (gst_bin_remove_func), (gst_bin_handle_message_func),
17565 (bin_query_duration_fold), (bin_query_generic_fold):
17566 Clean up references to the clock provider when disposed or when
17567 handling a clock-lost message from it.
17569 Unref sinks when performing a query via gst_iterator_fold, as the
17570 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17572 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17573 (gst_clock_set_master):
17574 Drop our reference to the master clock, if any, when we are disposed.
17576 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17577 Chain up in dispose.
17579 2006-01-26 Wim Taymans <wim@fluendo.com>
17581 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17582 Add some debugging.
17584 2006-01-26 Julien MOUTTE <julien@moutte.net>
17586 * plugins/elements/gsttee.c: (gst_tee_do_push),
17587 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17588 handles pad being NOT_LINKED or in WRONG_STATE.
17590 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17595 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17598 remove obsolete entry
17600 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17602 * docs/gst/gstreamer-sections.txt:
17603 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17604 (gst_bin_iterate_sources), (gst_bin_send_event):
17606 * gst/gstelement.c: (gst_element_send_event):
17608 * gst/gstpad.c: (gst_pad_send_event):
17609 added code for downstream events, reviewed docs in gstevent.c
17611 2006-01-25 Julien MOUTTE <julien@moutte.net>
17613 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17614 We only query position using the clock in the playing state.
17615 Query peer in the other cases.
17616 * win32/common/config.h: Updates.
17618 2006-01-24 Wim Taymans <wim@fluendo.com>
17620 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17621 A clock entry that is scheduled for the exact time of the
17622 clock is still in time.
17624 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17625 (gst_base_sink_do_sync):
17626 Add some more debug info.
17628 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17631 Add new vs7 project files and solution.
17633 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17636 all files removed as they were out-dated.
17638 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17640 * docs/random/release:
17642 * gst/gstbin.c: (gst_bin_init):
17643 * gst/gstbus.c: (gst_bus_new):
17645 * gst/gstpipeline.c: (gst_pipeline_init):
17646 use gst_bus_new(), improve logging, fix docs
17647 * win32/common/config.h:
17648 update for cvs build
17650 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17653 up required version of automake to 1.7
17655 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17657 * win32/common/libgstreamer.def:
17658 export gst_buffer_is_metadata_writable
17660 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17662 * docs/gst/gstreamer-sections.txt:
17664 Add gst_event_replace() (#327001)
17666 2006-01-20 Wim Taymans <wim@fluendo.com>
17668 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17669 Make it actually compile too..
17671 2006-01-20 Wim Taymans <wim@fluendo.com>
17674 Clarify behaviour of _is_equal() when passing NULL parameters.
17676 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17677 (gst_pad_set_caps):
17678 Cleanups. Don't unref NULL caps.
17679 When setting the same caps, protect caps of the pad with
17681 Use full functionality of _is_equal() when comparing caps.
17683 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17685 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17686 Don't loop infinitely if there are no buffers to present. Partially
17687 fixes #327197, but collectpads is just broken for reusing elements
17688 to do multiple encodes atm.
17690 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17692 * tools/gst-inspect.c: (print_element_features):
17693 * tools/gst-xmlinspect.c: (main):
17694 URL_HANDLER is not a plugin feature we can search for in
17697 2006-01-19 Edward Hervey <edward@fluendo.com>
17699 * gst/gstelement.c: (gst_element_pads_activate):
17700 When activating, do src pads first, then sink pads.
17701 When de-activating, do sink pads first, then src pads.
17703 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17705 * docs/gst/gstreamer-sections.txt:
17706 Add gst_index_add_associationv to the docs
17708 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17713 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17714 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17715 Do some refactoring. Doesn't actually change functionality,
17716 but makes landing the DRAIN event easier later.
17718 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17720 * docs/pwg/advanced-scheduling.xml:
17721 Update from 0.9.x to 0.10 API and make example a bit
17724 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17726 * docs/gst/gstreamer-sections.txt:
17727 Add gst_buffer_(is|make)_metadata_writable methods.
17729 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17731 * docs/design/part-sparsestreams.txt:
17732 Update sparse streams doc, hopefully for greater clarity
17734 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17736 * docs/design/part-events.txt:
17737 Remove mention of FILLER events.
17740 * docs/design/part-sparsestreams.txt:
17741 Write some things about using NEWSEGMENT to keep sparse streams
17744 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17746 * gst/gstbin.c: (gst_bin_dispose):
17747 Guard gst_object_unref call against a NULL object (dispose
17748 can theoretically be called multiple times).
17750 2006-01-18 Wim Taymans <wim@fluendo.com>
17752 * gst/gstbin.c: (gst_bin_element_set_state):
17753 * gst/gstclock.c: (gst_clock_id_wait):
17754 Added some more debug info.
17756 * libs/gst/base/gstadapter.c:
17759 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17760 (gst_base_sink_do_sync), (gst_base_sink_chain):
17761 Added some comments.
17763 2006-01-18 Wim Taymans <wim@fluendo.com>
17765 * tests/check/Makefile.am:
17766 * tests/check/elements/fakesink.c: (chain_async_buffer),
17767 (chain_async), (chain_async_return), (GST_START_TEST),
17768 (fakesink_suite), (main):
17769 Added fakesink test that checks prerolling and clipping
17772 * tests/check/gst/gstutils.c: (GST_START_TEST):
17773 Make check run faster so that buildbots don't timeout.
17775 2006-01-18 Wim Taymans <wim@fluendo.com>
17777 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17778 (gst_base_sink_do_sync):
17780 When the sink finishes blocking on the preroll buffer, it can
17781 immediatly render it instead of rendering when the next buffer
17784 2006-01-18 Wim Taymans <wim@fluendo.com>
17786 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17787 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17788 (gst_base_sink_chain):
17790 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17791 Don't store _last_stop if the buffer is dropped.
17793 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17795 * plugins/elements/gsttypefindelement.c:
17796 (gst_type_find_element_class_init):
17797 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17798 object method handler that sets the caps on the pad and we want
17799 that to happen before we emit the signal (fixes e.g. feeding a
17800 plain text file to decodebin).
17802 2006-01-18 Christian Schaller <Christian@fluendo.com>
17804 * gst/gstplugin.c: Add MPL and Proprietary as license options
17806 2006-01-18 Andy Wingo <wingo@pobox.com>
17808 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17809 symbol was exported before, it appears this was just an oversight.
17811 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17813 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17814 prototype to gint. OK since this prototype was not in the header.
17816 2006-01-17 Andy Wingo <wingo@pobox.com>
17818 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17819 registry while we remove plugins.
17821 * tools/gst-inspect.c (print_element_info): Don't unref the
17822 factory arg, that should be the responsibility of whatever code
17823 received the ref. Fixes a double-free when called from
17824 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17825 (main): Unref the factory if we have one.
17826 (print_element_list): No change -- relies on the
17827 plugin_feature_list_free to free the list of features.
17829 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17831 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17832 (gst_buffer_make_metadata_writable):
17834 * libs/gst/base/gstbasetransform.c:
17835 (gst_base_transform_prepare_output_buf):
17836 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17837 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17838 Replace gst_buffer_(make|is)_metadata_writable patch now
17839 that the release is out.
17841 2006-01-17 Andy Wingo <wingo@pobox.com>
17843 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17844 in the present tense without reference to versions.
17846 * gst/gstregistry.c (gst_registry_add_plugin)
17847 (gst_registry_remove_plugin, gst_registry_remove_feature)
17848 (gst_registry_find_feature, gst_registry_get_feature_list)
17849 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17850 (gst_registry_lookup, gst_registry_scan_path)
17851 (_gst_registry_remove_cache_plugins)
17852 (gst_registry_get_feature_list_by_plugin): Add argument
17855 === release 0.10.2 ===
17857 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17860 releasing 0.10.2, "If man is five"
17862 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17866 * libs/gst/base/gstbasetransform.c:
17867 (gst_base_transform_prepare_output_buf):
17868 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17869 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17870 Back out patch until after the release.
17872 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17874 * gst/gstminiobject.c:
17875 Spelling fix in docs.
17876 * ChangeLog - remove conflict indicator
17878 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17880 Reviewed By: Andy Wingo
17882 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17883 (gst_buffer_make_metadata_writable):
17885 Add gst_buffer_(is|make)_metadata_writable as analogues of
17886 gst_buffer_(is|make)_writable.
17888 * libs/gst/base/gstbasetransform.c:
17889 (gst_base_transform_prepare_output_buf):
17890 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17891 Use name gst_buffer_(is|make)_metadata_writable functions.
17893 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17894 Test gst_buffer_(is|make)_metadata_writable
17898 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17900 * docs/manual/Makefile.am:
17901 don't do parallel make
17904 * win32/common/config.h.in:
17905 add generations for HOST_CPU and GST_MAJORMINOR
17906 * win32/common/config.h:
17907 commit generated result
17909 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17911 * docs/manual/appendix-integration.xml:
17912 Update GNOME integration section to use gst_init_get_option_group()
17913 instead of the old popt stuff (#322911). Also, GNOME applications
17914 should now use gconf*sink and gconf*src instead of the old gconf
17917 2006-01-13 Stefan Kost <ensonic@users.sf.net>
17920 * docs/gst/gstreamer-docs.sgml:
17921 * docs/gst/gstreamer-sections.txt:
17922 * docs/libs/gstreamer-libs-sections.txt:
17923 add new API entries to the docs
17924 * libs/gst/controller/Makefile.am:
17925 * libs/gst/controller/gstcontroller.c:
17926 * libs/gst/controller/gstcontroller.h:
17927 * libs/gst/controller/gstcontrollerprivate.h:
17928 * libs/gst/controller/gsthelper.c:
17929 * libs/gst/controller/gstinterpolation.c:
17930 move private structs to private header
17932 gstreamer-0.7 -> gstreamer-0.10
17933 * tests/check/libs/struct_i386.h:
17934 remove private structs
17936 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17938 * plugins/indexers/Makefile.am:
17939 Fixes as part of #317048
17941 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17943 * plugins/indexers/Makefile.am:
17944 fix #316086 - compilation when mmap is missing
17946 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
17948 * libs/gst/base/gstbasesink.c:
17949 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
17950 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17951 * win32/common/config.h:
17952 added some defines GST_MAJORMINOR and HOST_CPU
17953 * win32/common/libgstbase.def:
17954 * win32/common/libgstreamer.def:
17955 added some exported functions.
17957 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17959 * libs/gst/controller/gstcontroller.c:
17960 (gst_controlled_property_set_interpolation_mode),
17961 (gst_controlled_property_new):
17962 * libs/gst/controller/gstcontroller.h:
17963 * libs/gst/controller/gstinterpolation.c:
17964 (interpolate_none_get_string_value_array):
17965 make G_TYPE_STRING controlable
17967 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17970 * tools/gst-feedback.1.in:
17971 * tools/gst-inspect.1.in:
17972 * tools/gst-launch.1.in:
17973 * tools/gst-md5sum.1.in:
17974 * tools/gst-typefind.1.in:
17975 * tools/gst-xmlinspect.1.in:
17976 * tools/gst-xmllaunch.1.in:
17977 cleanup man-pages, remove reference to gst-register, document env-vars
17979 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
17981 * gst/gstbuffer.c: (gst_buffer_span):
17982 gst_buffer_span should copy the timestamp of the first buffer
17983 if they were both originally overlapping subbuffers of the
17984 same parent, using the same logic as the 'slow copy' case.
17986 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
17988 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17989 Need to awaken ALL the pads when we pop a buffer, otherwise
17990 collectpads only works when there is 2 input streams.
17992 2006-01-11 Stefan Kost <ensonic@users.sf.net>
17994 * docs/random/ensonic/media-device-daemon.txt:
17997 fix doc example, add clarification
17998 * tools/gst-launch.1.in:
17999 add initial info about GST_PLUGIN_PATH, needs more work
18001 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18003 * docs/manual/basics-bins.xml:
18004 * docs/manual/basics-elements.xml:
18005 * docs/manual/intro-basics.xml:
18006 Some more minor docs additions and updates.
18008 2006-01-11 Wim Taymans <wim@fluendo.com>
18010 * docs/manual/basics-bins.xml:
18011 * docs/manual/basics-elements.xml:
18012 Some small fixes as pointed out by Ser-ver on IRC.
18014 2006-01-10 Edward Hervey <edward@fluendo.com>
18016 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18017 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18018 the single-segment mode.
18020 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18022 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18024 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18025 (gst_base_src_perform_seek), (gst_base_src_send_event),
18026 (gst_base_src_set_property), (gst_base_src_get_property),
18027 (gst_base_src_loop), (gst_base_src_start),
18028 (gst_base_src_activate_push):
18029 * libs/gst/base/gstbasesrc.h:
18030 Name (private) union; makes Sun's Forte compiler happy (#324900).
18032 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18035 gst-register is gone.
18037 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18039 * gst/gstvalue.c: (_gst_value_initialize):
18040 make the G_TYPE_DATE instantiation work if debug is disabled
18042 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18044 * gst/gstmessage.c: (gst_message_parse_tag),
18045 (gst_message_parse_error), (gst_message_parse_warning):
18046 Don't crash when return location for error/warning debug
18047 string is NULL; add fact that return locations can be
18048 NULL to docs where appropriate.
18050 2006-01-05 Wim Taymans <wim@fluendo.com>
18052 * gst/gstplugin.c: (gst_plugin_load_file):
18053 Replace strdup by g_strdup.
18055 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18057 * docs/pwg/advanced-types.xml:
18060 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18062 submitted by: Abel Cheung
18066 Added Chinese (traditional) translation
18068 2006-01-04 Wim Taymans <wim@fluendo.com>
18070 * docs/manual/basics-pads.xml:
18071 * docs/plugins/Makefile.am:
18072 * docs/plugins/gstreamer-plugins-docs.sgml:
18073 * docs/plugins/gstreamer-plugins-sections.txt:
18074 * docs/pwg/advanced-clock.xml:
18075 * docs/pwg/advanced-scheduling.xml:
18076 * docs/pwg/advanced-types.xml:
18077 * plugins/elements/gstfdsink.c:
18078 * plugins/elements/gstfdsrc.c:
18079 * plugins/elements/gstfdsrc.h:
18080 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18081 * plugins/elements/gstidentity.h:
18082 * plugins/elements/gstqueue.h:
18083 * plugins/elements/gsttee.c:
18084 * plugins/elements/gsttee.h:
18085 * plugins/elements/gsttypefindelement.c:
18086 (gst_type_find_element_class_init):
18087 * plugins/elements/gsttypefindelement.h:
18088 Small updates to various docs.
18089 Added core plugins to docs.
18091 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18094 add a suppression for liboil's uninitialized variable
18096 2006-01-02 James Livingston <jrl at ids dot org dot au>
18098 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18101 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18102 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18103 compiler switch is being used (#325429).
18105 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18107 * gst/gstbin.c: (gst_bin_query):
18108 Disable duration query caching in bins until it gets
18109 fixed (see #324807).
18111 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18113 * tools/gst-inspect.c: (print_element_properties_info):
18114 Handle properties of POINTER and BOXED type.
18116 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18118 * gst/gst.c: (init_post):
18119 Init tags stuff and some other things before loading
18120 any static plugins (there may be other static plugins
18121 than just the GStreamer ones, and they may want to
18122 register their own tags or formats or whatever, and
18123 preferably without segfaulting).
18125 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18126 Print at least a warning in the debug logs if we drop a
18127 query just because we don't know how to adjust the value
18128 in the particular format.
18130 2005-12-24 David Schleef <ds@schleef.org>
18132 * tools/gstreamer-completion:
18133 Replacement for gst-complete written in sh and sed. Only
18134 completes names of features, but that's 90% of what I want
18135 it for. Properties are not available in registry.xml. (Maybe
18138 === release 0.10.1 ===
18140 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18143 releasing 0.10.1, "Nollaig chridheil"
18145 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18147 * docs/faq/cvs.xml:
18148 Add missing quote, should be make ERROR_CFLAGS="".
18150 2005-12-20 Wim Taymans <wim@fluendo.com>
18152 * docs/design/part-trickmodes.txt:
18153 More documentation on trickmodes.
18155 2005-12-20 Edward Hervey <edward@fluendo.com>
18157 * gst/gstcaps.c: (gst_static_caps_get_type):
18159 API addition: GST_TYPE_STATIC_CAPS
18160 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18161 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18162 * gst/gstpadtemplate.h:
18163 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18164 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18167 2005-12-18 Wim Taymans <wim@fluendo.com>
18169 * libs/gst/base/gstadapter.c:
18170 * libs/gst/base/gstadapter.h:
18171 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18172 (gst_base_sink_get_position):
18173 * libs/gst/base/gstbasesink.h:
18174 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18175 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18176 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18177 (gst_base_src_send_event), (gst_base_src_update_length),
18178 (gst_base_src_get_range), (gst_base_src_loop),
18179 (gst_base_src_start):
18180 * libs/gst/base/gstbasesrc.h:
18181 * libs/gst/base/gstbasetransform.h:
18182 * libs/gst/base/gstcollectpads.h:
18183 * libs/gst/base/gstpushsrc.c:
18184 * libs/gst/base/gstpushsrc.h:
18185 * libs/gst/dataprotocol/dataprotocol.c:
18186 * libs/gst/dataprotocol/dataprotocol.h:
18187 * libs/gst/net/gstnetclientclock.h:
18188 * libs/gst/net/gstnettimeprovider.h:
18189 Documentation updates.
18191 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18193 * docs/manual/basics-helloworld.xml:
18194 Remove superfluous closing bracket in helloworld example.
18196 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18198 * tools/gst-launch.1.in:
18199 Update gst-launch man page; add a section with useful
18200 environment variables. Fixes #323882.
18202 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18205 * gst/gst_private.h:
18206 change some char* into char[]
18208 2005-12-16 Wim Taymans <wim@fluendo.com>
18210 * gst/gstregistryxml.c: (load_feature):
18212 Don't use g_object_unref on GstObjects so that we avoid
18213 leaks on unsafe glibs.
18215 2005-12-16 Wim Taymans <wim@fluendo.com>
18217 * gst/gstbin.c: (gst_bin_recalc_state):
18220 2005-12-16 Wim Taymans <wim@fluendo.com>
18222 * common/check.mak:
18223 Added make forever target for check.
18225 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18227 * gst/gst.c: (init_post):
18228 make the registry cache file HOST_CPU-dependent
18230 2005-12-16 Andy Wingo <wingo@pobox.com>
18232 * plugins/elements/gstbufferstore.c
18233 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18236 * tests/check/gst/gstobject.c
18237 (test_fake_object_name_threaded_unique): Pay attention to
18238 g_list_sort return value.
18240 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18242 * tools/gst-feedback-m.m:
18243 Update for 0.9/0.10 (fixes #323870).
18245 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18247 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18248 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18250 * tests/check/gst/gstminiobject.c: (my_foo_init),
18251 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18252 (test_value_collection), (gst_mini_object_suite):
18253 Add test to ensure refcounts end up as expected when passing
18254 GstMiniObjects through g_object_get() and g_object_set().
18256 2005-12-14 Julien MOUTTE <julien@moutte.net>
18258 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18259 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18260 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18261 of collectpads. This version removes a lot of races without
18262 touching API/ABI. Yay !
18264 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18266 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18267 Don't allow activation of a srcpad in pull_range if it has no
18269 Change some debug statements to be a little clearer
18271 * plugins/elements/gsttypefindelement.c:
18272 (gst_type_find_handle_src_query):
18273 Check that we have a peer before executing queries thereupon.
18275 * tests/examples/metadata/read-metadata.c: (message_loop):
18276 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18277 immediately return us any available message with 0 timeout.
18279 2005-12-12 Michael Smith <msmith@fluendo.com>
18281 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18282 Don't unref factories after calling them.
18283 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18284 * plugins/elements/gsttypefindelement.c:
18285 (gst_type_find_element_chain):
18286 Free lists of factories after using them. Fixing typefinding memory
18289 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18291 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18292 (gst_plugin_feature_load):
18293 more meaningful debug output
18295 * tests/Makefile.am:
18296 * tests/old/examples/Makefile.am:
18297 make make distcheck happy again
18299 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18301 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18302 Catch the special case where we are operating chain-based,
18303 but the downstream peer pad has no chain function. Emit a
18304 custom error message in this case instead of letting the
18305 core generate one implying that this is some sort of core
18306 bug. It's not, it just means that whatever got plugged
18307 into the pipeline downstream when we announced the type
18308 can only operate pull-based, while our source can only
18309 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18310 Error string has not been marked for translation yet, as
18311 it probably needs some more work first.
18313 (gst_type_find_element_get_best_possibility):
18314 Add helper function to find the best of all available
18315 found possibilities that qualify given the min. threshold.
18317 (gst_type_find_element_handle_event):
18318 Fix the case where we get an EOS while still in TYPEFIND
18319 mode (we want to chose the best of all possible types,
18320 not just the first type that happens to be in our unsorted
18321 list of possible types).
18323 (gst_type_find_element_chain):
18324 Make sure we return GST_FLOW_ERROR when we errored out
18325 in stop_typefinding(); also, don't just find the best of
18326 all found type entries and then use the last examined
18327 type entry, but actually use the best entry.
18329 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18331 * tests/examples/typefind/typefind.c: (type_found):
18332 * tests/examples/xml/runxml.c: (xml_loaded):
18333 More gcc4 fixes and a mem leak fix.
18335 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18337 * tests/examples/xml/createxml.c: (object_saved):
18340 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18342 * tests/Makefile.am:
18343 enable the examples even more
18345 2005-12-12 Andy Wingo <wingo@pobox.com>
18347 * libs/gst/net/gstnettimeprovider.c
18348 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18349 (gst_net_time_provider_set_property)
18350 (gst_net_time_provider_get_property):
18351 API addition: Export "active" as a GObject property.
18352 (gst_net_time_provider_thread): Only respond to time queries if
18353 the time provider is active.
18355 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18356 NetTimeProvider, preserving binary compat.
18358 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18360 * tests/examples/controller/audio-example.c: (main):
18361 * tests/examples/launch/Makefile.am:
18362 convert comments again
18364 2005-12-12 Wim Taymans <wim@fluendo.com>
18366 * libs/gst/base/gstpushsrc.c:
18369 2005-12-12 Wim Taymans <wim@fluendo.com>
18371 * docs/libs/gstreamer-libs-sections.txt:
18372 Added new symbol to docs.
18374 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18375 (gst_base_src_init), (gst_base_src_set_format),
18376 (gst_base_src_default_query), (gst_base_src_query),
18377 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18378 (gst_base_src_perform_seek), (gst_base_src_send_event),
18379 (gst_base_src_default_event), (gst_base_src_event_handler),
18380 (gst_base_src_set_property), (gst_base_src_get_property),
18381 (gst_base_src_wait), (gst_base_src_do_sync),
18382 (gst_base_src_update_length), (gst_base_src_get_range),
18383 (gst_base_src_check_get_range), (gst_base_src_loop),
18384 (gst_base_src_default_negotiate), (gst_base_src_start),
18385 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18386 (gst_base_src_change_state):
18387 * libs/gst/base/gstbasesrc.h:
18388 Implement seeking to other formats than _BYTES.
18389 Implement more seeking methods correctly.
18391 Added query vmethod.
18392 Added do_seek vmethod to make life easier for subclasses
18394 API addition: gst_base_src_set_format()
18396 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18398 * tests/examples/Makefile.am:
18401 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18404 * docs/random/ensonic/media-device-daemon.txt:
18405 * tests/examples/controller/.cvsignore:
18406 * tests/examples/controller/Makefile.am:
18407 * tests/examples/controller/audio-example.c: (main):
18408 * tests/examples/helloworld/.cvsignore:
18409 * tests/examples/helloworld/Makefile.am:
18410 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18411 * tests/examples/launch/.cvsignore:
18412 * tests/examples/launch/Makefile.am:
18413 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18414 * tests/examples/metadata/.cvsignore:
18415 * tests/examples/metadata/Makefile.am:
18416 * tests/examples/metadata/read-metadata.c: (message_loop),
18417 (make_pipeline), (print_tag), (main):
18418 * tests/examples/queue/.cvsignore:
18419 * tests/examples/queue/Makefile.am:
18420 * tests/examples/queue/queue.c: (event_loop), (main):
18421 * tests/examples/typefind/.cvsignore:
18422 * tests/examples/typefind/Makefile.am:
18423 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18425 * tests/examples/xml/.cvsignore:
18426 * tests/examples/xml/Makefile.am:
18427 * tests/examples/xml/createxml.c: (object_saved), (main):
18428 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18429 * tests/old/examples/Makefile.am:
18430 * tests/old/examples/TODO:
18431 * tests/old/examples/controller/.cvsignore:
18432 * tests/old/examples/controller/Makefile.am:
18433 * tests/old/examples/controller/audio-example.c:
18434 * tests/old/examples/helloworld/.cvsignore:
18435 * tests/old/examples/helloworld/Makefile.am:
18436 * tests/old/examples/helloworld/helloworld.c:
18437 * tests/old/examples/launch/.cvsignore:
18438 * tests/old/examples/launch/Makefile.am:
18439 * tests/old/examples/launch/mp3parselaunch.c:
18440 * tests/old/examples/launch/mp3play:
18441 * tests/old/examples/manual/Makefile.am:
18442 * tests/old/examples/metadata/Makefile.am:
18443 * tests/old/examples/metadata/read-metadata.c:
18444 * tests/old/examples/queue/.cvsignore:
18445 * tests/old/examples/queue/Makefile.am:
18446 * tests/old/examples/queue/queue.c:
18447 * tests/old/examples/typefind/.cvsignore:
18448 * tests/old/examples/typefind/Makefile.am:
18449 * tests/old/examples/typefind/typefind.c:
18450 * tests/old/examples/xml/.cvsignore:
18451 * tests/old/examples/xml/Makefile.am:
18452 * tests/old/examples/xml/createxml.c:
18453 * tests/old/examples/xml/runxml.c:
18454 applied some simple fixing to some examples
18455 re-enabled the working examples
18457 2005-12-12 Wim Taymans <wim@fluendo.com>
18459 * gst/gstsegment.c: (gst_segment_init),
18460 (gst_segment_set_last_stop), (gst_segment_set_seek),
18461 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18462 (gst_segment_to_running_time):
18463 Added more documentation.
18464 Make sure the last_pos value is updated properly.
18465 Make sure to_stream_time and to_running_time don't
18466 operate on wrong values.
18468 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18471 2005-12-12 Michael Smith <msmith@fluendo.com>
18473 * plugins/elements/gsttypefindelement.c: (free_entry),
18474 (gst_type_find_element_chain):
18475 Now that we're not leaking factories, make sure we keep references
18476 to them while we need them.
18478 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18480 * tests/check/gst/struct_i386.h:
18481 ifdef out the XML structs
18483 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18485 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18486 floor is not needed, F is always positive; this obviates the
18487 need for adding -lm when building without libxml
18489 2005-12-12 Wim Taymans <wim@fluendo.com>
18491 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18492 Take current playback rate into account when reporting
18495 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18497 * docs/manual/mime-world.fig:
18498 Let's try this again, this time with a file that is
18499 actually in XFig format.
18501 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18503 * docs/manual/mime-world.fig:
18504 Add audioconvert element to diagram so that it
18505 matches the text and the code (fixes #319526).
18507 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18509 * docs/pwg/building-chainfn.xml:
18510 * docs/pwg/building-pads.xml:
18511 * docs/pwg/building-state.xml:
18512 * docs/pwg/other-source.xml:
18513 Update state change stuff for 0.10 (fixes #322969).
18515 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18517 * docs/manual/advanced-dataaccess.xml:
18518 * docs/manual/appendix-checklist.xml:
18519 * docs/manual/appendix-programs.xml:
18520 * docs/manual/basics-pads.xml:
18521 * docs/manual/highlevel-components.xml:
18522 * docs/manual/manual.xml:
18523 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18524 add converters in front of pipelines; remove curly
18525 brackets for threads stuff, they no longer exist; use
18526 GST_TYPE_FRACTION for framerates; update some pieces of
18527 code to 0.10, but there's plenty more to do.
18529 * docs/manual/appendix-porting.xml:
18530 Expand on asynchroneous state changes; s/0.9/0.10/;
18531 mention disappearance of gst_init_get_popt_table()
18534 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18536 * docs/faq/using.xml:
18537 Spider no longer exists, and neither does gst-launch-ext.
18538 Update examples to use decodebin and playbin and put
18539 converters in front of sinks (fixes #323726).
18541 2005-12-09 Michael Smith <msmith@fluendo.com>
18543 * plugins/elements/gsttypefindelement.c: (find_peek),
18544 (gst_type_find_element_chain):
18545 Fix leaking element factories in typefinding.
18546 Fix problem where we forgot about a probable type on non-seekable
18547 files, and thus later mis-typefound it.
18549 2005-12-09 Michael Smith <msmith@fluendo.com>
18551 * common/m4/gst-makecontext.m4:
18552 * common/m4/gst-mcsc.m4:
18554 * win32/common/config.h:
18555 * win32/common/config.h.in:
18556 Remove makecontext stuff; not used in 0.10 and causes problems on
18557 HPUX according to bug #322441
18559 2005-12-07 Wim Taymans <wim@fluendo.com>
18561 * tests/check/Makefile.am:
18562 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18564 * tests/check/libs/struct_i386.h:
18565 Added ABI check for libs
18567 2005-12-07 Wim Taymans <wim@fluendo.com>
18569 * tests/check/Makefile.am:
18570 And add the struct_i386.h to dist.
18572 2005-12-07 Wim Taymans <wim@fluendo.com>
18574 * tests/check/Makefile.am:
18575 * tests/check/gst/.cvsignore:
18576 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18578 * tests/check/gst/struct_i386.h:
18579 Added check for ABI compatibility.
18581 2005-12-07 Wim Taymans <wim@fluendo.com>
18583 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18584 (gst_fake_src_get_times), (gst_fake_src_create):
18585 Fix broken sync option, fixes #323259
18587 2005-12-07 Wim Taymans <wim@fluendo.com>
18592 * gst/gstcaps.c: (gst_caps_is_equal):
18593 Don't assert on NULL <--> X. Fixes #323260
18595 * gst/gstminiobject.c: (gst_mini_object_replace):
18596 If we're doing atomic operations, we might just as well use
18597 the proper way to get an atomic pointer.
18599 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18600 Clean up debugging.
18602 2005-12-07 Michael Smith <msmith@fluendo.com>
18604 * gst/parse/grammar.y:
18605 Remove handling of { } for threads.
18607 2005-12-06 David Schleef <ds@schleef.org>
18609 * libs/gst/base/gstbasetransform.c: speling fix.
18611 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18613 * docs/libs/tmpl/gstdataprotocol.sgml:
18614 * docs/random/omega/testing/gstobject.c:
18617 * gst/gstelement.c:
18618 * gst/gstelementfactory.c:
18621 * gst/gstghostpad.c:
18623 * gst/gstpadtemplate.c:
18624 * gst/gstregistryxml.c:
18625 * gst/gsttaglist.c:
18626 * gst/gsttagsetter.c:
18627 * gst/gsttypefind.c:
18629 * libs/gst/base/gstbasesrc.c:
18630 * libs/gst/net/gstnetclientclock.c:
18631 * libs/gst/net/gstnettimeprovider.c:
18632 * plugins/elements/gstfakesrc.c:
18633 * plugins/elements/gstfdsrc.c:
18634 * plugins/elements/gstfilesrc.c:
18635 * plugins/elements/gstidentity.c:
18636 * plugins/elements/gstqueue.c:
18637 * plugins/elements/gsttypefindelement.c:
18638 * plugins/indexers/gstfileindex.c:
18639 * plugins/indexers/gstmemindex.c:
18640 * tests/check/gst/gsttag.c:
18641 * tests/old/examples/cutter/cutter.c:
18642 * tests/old/examples/mixer/mixer.c:
18643 * tests/old/examples/xml/runxml.c: (main):
18644 * tests/old/testsuite/caps/normalisation.c:
18645 * tests/old/testsuite/debug/global.c:
18646 * tests/old/testsuite/parse/parse1.c:
18647 * tools/gst-xmlinspect.c:
18648 * win32/common/dirent.c:
18651 === release 0.10.0 ===
18653 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18656 releasing 0.10.0, "Maroilles"
18658 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18660 submitted by: Funda Wang <fundawang@linux.net.cn>
18664 added Chinese (Traditional) translation
18666 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18668 * docs/gst/gstreamer-sections.txt:
18669 * docs/libs/tmpl/gstdataprotocol.sgml:
18670 * docs/random/thomasvs/TODO:
18675 2005-12-05 Andy Wingo <wingo@pobox.com>
18677 patch by: Wim Taymans <wim@fluendo.com>
18679 * libs/gst/base/gstbasetransform.c
18680 (gst_base_transform_prepare_output_buf)
18681 (gst_base_transform_buffer_alloc):
18682 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18683 alloc_buffer_and_set_caps.
18685 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18686 set_caps on the source pad.
18687 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18688 alloc_buffer used to do. Fixes #322874.
18690 * docs/gst/gstreamer-sections.txt:
18691 * docs/design/part-negotiation.txt:
18692 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18695 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18697 patch by: Sebastien Moutte
18700 * win32/common/config.h.in:
18701 * win32/vs6/libgstcontroller.dsp:
18704 2005-12-05 Wim Taymans <wim@fluendo.com>
18706 * gst/gstcaps.c: (gst_caps_is_equal):
18707 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18708 (gst_fake_src_create):
18709 Back out previous code changes, leave doc updates, file bugs
18712 2005-12-05 Wim Taymans <wim@fluendo.com>
18714 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18715 (gst_fake_src_get_times), (gst_fake_src_create):
18716 * plugins/elements/gstfakesrc.h:
18717 Fix broken sync code.
18719 2005-12-05 Wim Taymans <wim@fluendo.com>
18721 * gst/gstcaps.c: (gst_caps_is_equal):
18722 Comparing NULL against !NULL yields different caps, not a
18725 2005-12-05 Wim Taymans <wim@fluendo.com>
18727 * gst/gstpipeline.c:
18728 Fix small typo in docs.
18730 2005-12-05 Andy Wingo <wingo@pobox.com>
18732 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18734 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18735 registries/plugins with a MAJORMINOR one.
18736 (plugin_desc): Rename library from gstcoreleements to
18737 staticelements. Fixes #323222.
18739 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18741 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18742 Change debug category to 'collectpads' from 'collect_pads'
18745 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18747 patch by: Sebastien Moutte
18749 * libs/gst/controller/gstinterpolation.c:
18750 use convert function for uint64/double
18751 * win32/vs6/libgstcontroller.dsp:
18754 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18756 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18757 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18759 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18760 add tests that seem to show that the guint64/gdouble conversions
18763 2005-12-02 Wim Taymans <wim@fluendo.com>
18765 * gst/gstregistry.c: (gst_registry_add_path):
18766 * gst/gstregistry.h:
18767 * gst/gstregistryxml.c:
18770 2005-12-02 Wim Taymans <wim@fluendo.com>
18772 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18773 (gst_util_uint64_scale_int):
18776 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18777 Add debug log line.
18779 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18782 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18785 * win32/common/config.h:
18786 * win32/vs6/gstreamer.dsw:
18787 * win32/vs6/libgstcoreelements.dsp:
18788 * win32/vs6/libgstelements.dsp:
18789 renamed core elements plugin
18791 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18793 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18795 do piece-wise major/minor comparison so 0.9 < 0.10
18796 also allow .exe extensions for tools
18798 2005-12-02 Michael Smith <msmith@fluendo.com>
18801 Escape a % to make gtkdoc happier; bug 322958.
18803 === release 0.9.7 ===
18805 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18808 releasing 0.9.7, "My Dog Has No Nose"
18810 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18812 * common/gst-xmlinspect.py:
18814 * docs/libs/tmpl/gstdataprotocol.sgml:
18815 * docs/random/release:
18834 * win32/common/config.h:
18835 * win32/common/config.h.in:
18836 * win32/vs6/gst_inspect.dsp:
18837 * win32/vs6/gst_launch.dsp:
18838 * win32/vs6/libgstbase.dsp:
18839 * win32/vs6/libgstelements.dsp:
18840 * win32/vs6/libgstreamer.dsp:
18841 * win32/vs7/GStreamer.vcproj:
18842 * win32/vs7/gst-inspect.vcproj:
18843 * win32/vs7/gst-launch.vcproj:
18844 * win32/vs7/libgstbase.vcproj:
18845 bump GST_MAJORMINOR to 0.10
18846 reset libtool version
18848 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18852 Added Bulgarian translation by (Alexander Shopov)
18854 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18856 * tests/check/gst/gstplugin.c:
18859 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18861 * common/gst-xmlinspect.py:
18862 * common/gtk-doc-plugins.mak:
18864 * docs/Makefile.am:
18865 * docs/gst/Makefile.am:
18866 * docs/gst/gstreamer-docs.sgml:
18867 * docs/gst/gstreamer-sections.txt:
18868 * docs/gst/gstreamer.types:
18869 * docs/gst/gstreamer.types.in:
18870 * docs/plugins/Makefile.am:
18871 * docs/plugins/gstreamer-plugins-docs.sgml:
18872 * docs/plugins/gstreamer-plugins-sections.txt:
18873 * docs/plugins/gstreamer-plugins.types:
18874 * docs/plugins/inspect.stamp:
18875 * docs/plugins/inspect/plugin-coreelements.xml:
18876 * docs/plugins/inspect/plugin-coreindexers.xml:
18877 * docs/plugins/scanobj-build.stamp:
18878 * gstreamer.spec.in:
18879 * plugins/elements/Makefile.am:
18880 * plugins/elements/gstelements.c:
18881 * plugins/elements/gstfakesink.c:
18882 * plugins/elements/gstfakesrc.c:
18883 * plugins/elements/gstfilesink.c:
18884 * plugins/elements/gstfilesrc.c:
18885 * plugins/elements/gstqueue.c:
18886 * plugins/indexers/Makefile.am:
18887 * plugins/indexers/gstindexers.c:
18888 document core plugins in a separate document just like all the
18890 rename these plugins to something starting with core
18892 2005-12-01 Andy Wingo <wingo@pobox.com>
18894 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18895 padding here before, but it missed the commit.
18897 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18899 * libs/gst/controller/gstinterpolation.c:
18900 whitespace prices have crashed, we should feel free to use some now
18901 use gst_guint64_to_gdouble
18903 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18905 * libs/gst/controller/gstcontroller.c:
18906 * libs/gst/controller/gsthelper.c:
18907 * libs/gst/controller/gstinterpolation.c:
18908 * libs/gst/controller/lib.c:
18909 wrap config.h include
18911 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18913 * docs/gst/gstreamer-sections.txt:
18916 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18918 * plugins/elements/gstelements.c:
18919 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18920 (gst_fd_sink__class_init), (gst_fd_sink__init),
18921 (gst_fd_sink__chain), (gst_fd_sink__set_property),
18922 (gst_fd_sink__get_property):
18923 * plugins/elements/gstfdsink.h:
18924 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18925 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18926 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18927 (gst_fd_src_unlock), (gst_fd_src_set_property),
18928 (gst_fd_src_get_property), (gst_fd_src_create),
18929 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18930 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18931 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18932 (gst_fd_src_uri_handler_init):
18933 * plugins/elements/gstfdsrc.h:
18934 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18937 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18939 * docs/gst/Makefile.am:
18940 * docs/gst/gstreamer.types.in:
18944 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18950 * gst/gstregistry.h:
18951 * tests/benchmarks/complexity.c:
18952 * tests/benchmarks/mass-elements.c:
18953 * tests/check/Makefile.am:
18954 * tools/Makefile.am:
18955 * tools/gst-inspect.c:
18956 * tools/gst-xmlinspect.c:
18957 various fixes to make
18958 --disable-nls --disable-registry --disable-loadsave
18959 --disable-parse --disable-gst-debug
18960 work and get the core .so down to 360444 bytes after stripping
18962 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18967 * docs/random/thomasvs/TODO:
18968 * tests/Makefile.am:
18972 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18974 * win32/GStreamer.vcproj:
18977 * win32/Makefile.inspect:
18978 * win32/Makefile.launch:
18979 * win32/Makefile.register:
18980 * win32/README.txt:
18981 * win32/gst-inspect.vcproj:
18982 * win32/gst-launch.vcproj:
18983 * win32/gst-register.vcproj:
18984 * win32/gstelements.vcproj:
18985 * win32/gstgetbits.def:
18986 * win32/gstgetbits.vcproj:
18987 * win32/gstreamer-dbg.def:
18988 * win32/gstreamer.def:
18989 * win32/libgstbase.def:
18990 * win32/libgstbase.vcproj:
18991 * win32/link_oldruntime.c:
18995 * win32/msvc71.sln:
18996 move even more stuff, win32/ is nice and clean now
18998 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19000 * libs/gst/control/.cvsignore:
19005 * win32/gstbytestream.def:
19006 * win32/gstbytestream.vcproj:
19007 * win32/gstconfig.h:
19008 * win32/gstenumtypes.c:
19009 * win32/gstenumtypes.h:
19010 * win32/gstoptimalscheduler.vcproj:
19011 * win32/gstversion.h:
19013 * win32/testsuite/bins.vcproj:
19014 * win32/testsuite/bytestream.vcproj:
19015 * win32/testsuite/caps.vcproj:
19016 * win32/testsuite/cleanup.vcproj:
19017 * win32/testsuite/clock.vcproj:
19018 * win32/testsuite/debug.vcproj:
19019 * win32/testsuite/dlopen.vcproj:
19020 * win32/testsuite/dynparams.vcproj:
19021 * win32/testsuite/elements.vcproj:
19022 * win32/testsuite/ghostpads.vcproj:
19023 * win32/testsuite/indexers.vcproj:
19024 * win32/testsuite/negotiation.vcproj:
19025 * win32/testsuite/parse.vcproj:
19026 * win32/testsuite/plugin.vcproj:
19027 * win32/testsuite/refcounting.vcproj:
19028 * win32/testsuite/schedulers.vcproj:
19029 * win32/testsuite/states.vcproj:
19030 * win32/testsuite/tags.vcproj:
19031 * win32/testsuite/threads.vcproj:
19032 remove old win32 stuff that isn't maintained and should be
19035 2005-11-30 Andy Wingo <wingo@pobox.com>
19037 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19038 loading the gst.interfaces python module bork.
19040 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19041 available since GLib 2.2. Fixes #318031.
19043 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19046 * check/.cvsignore:
19047 * check/Makefile.am:
19048 * check/elements/.cvsignore:
19049 * check/elements/fakesrc.c:
19050 * check/elements/fdsrc.c:
19051 * check/elements/identity.c:
19052 * check/generic/.cvsignore:
19053 * check/generic/states.c:
19054 * check/gst-libs/.cvsignore:
19055 * check/gst-libs/controller.c:
19056 * check/gst-libs/gdp.c:
19057 * check/gst/.cvsignore:
19058 * check/gst/capslist.h:
19060 * check/gst/gstbin.c:
19061 * check/gst/gstbuffer.c:
19062 * check/gst/gstbus.c:
19063 * check/gst/gstcaps.c:
19064 * check/gst/gstelement.c:
19065 * check/gst/gstevent.c:
19066 * check/gst/gstghostpad.c:
19067 * check/gst/gstiterator.c:
19068 * check/gst/gstmessage.c:
19069 * check/gst/gstminiobject.c:
19070 * check/gst/gstobject.c:
19071 * check/gst/gstpad.c:
19072 * check/gst/gstpipeline.c:
19073 * check/gst/gstplugin.c:
19074 * check/gst/gstsegment.c:
19075 * check/gst/gststructure.c:
19076 * check/gst/gstsystemclock.c:
19077 * check/gst/gsttag.c:
19078 * check/gst/gstutils.c:
19079 * check/gst/gstvalue.c:
19080 * check/net/.cvsignore:
19081 * check/net/gstnetclientclock.c:
19082 * check/net/gstnettimeprovider.c:
19083 * check/pipelines/.cvsignore:
19084 * check/pipelines/cleanup.c:
19085 * check/pipelines/simple_launch_lines.c:
19086 * check/pipelines/stress.c:
19087 * check/states/.cvsignore:
19088 * check/states/sinks.c:
19090 * examples/Makefile.am:
19091 * examples/appreader/.cvsignore:
19092 * examples/appreader/Makefile.am:
19093 * examples/appreader/appreader.c:
19094 * examples/controller/.cvsignore:
19095 * examples/controller/Makefile.am:
19096 * examples/controller/audio-example.c:
19097 * examples/cutter/.cvsignore:
19098 * examples/cutter/Makefile.am:
19099 * examples/cutter/cutter.c:
19100 * examples/cutter/cutter.h:
19101 * examples/events/Makefile.am:
19102 * examples/events/seek.c:
19103 * examples/helloworld/.cvsignore:
19104 * examples/helloworld/Makefile.am:
19105 * examples/helloworld/helloworld.c:
19106 * examples/helloworld2/.cvsignore:
19107 * examples/helloworld2/Makefile.am:
19108 * examples/helloworld2/helloworld2.c:
19109 * examples/launch/.cvsignore:
19110 * examples/launch/Makefile.am:
19111 * examples/launch/mp3parselaunch.c:
19112 * examples/launch/mp3play:
19113 * examples/manual/.cvsignore:
19114 * examples/manual/Makefile.am:
19115 * examples/manual/extract.pl:
19116 * examples/metadata/Makefile.am:
19117 * examples/metadata/read-metadata.c:
19118 * examples/mixer/.cvsignore:
19119 * examples/mixer/Makefile.am:
19120 * examples/mixer/mixer.c:
19121 * examples/mixer/mixer.h:
19122 * examples/pingpong/.cvsignore:
19123 * examples/pingpong/Makefile.am:
19124 * examples/pingpong/pingpong.c:
19125 * examples/plugins/.cvsignore:
19126 * examples/plugins/Makefile.am:
19127 * examples/plugins/example.c:
19128 * examples/plugins/example.h:
19129 * examples/pwg/.cvsignore:
19130 * examples/pwg/Makefile.am:
19131 * examples/pwg/extract.pl:
19132 * examples/queue/.cvsignore:
19133 * examples/queue/Makefile.am:
19134 * examples/queue/queue.c:
19135 * examples/queue2/.cvsignore:
19136 * examples/queue2/Makefile.am:
19137 * examples/queue2/queue2.c:
19138 * examples/queue3/.cvsignore:
19139 * examples/queue3/Makefile.am:
19140 * examples/queue3/queue3.c:
19141 * examples/queue4/.cvsignore:
19142 * examples/queue4/Makefile.am:
19143 * examples/queue4/queue4.c:
19144 * examples/retag/.cvsignore:
19145 * examples/retag/Makefile.am:
19146 * examples/retag/retag.c:
19147 * examples/retag/transcode.c:
19148 * examples/thread/.cvsignore:
19149 * examples/thread/Makefile.am:
19150 * examples/thread/thread.c:
19151 * examples/typefind/.cvsignore:
19152 * examples/typefind/Makefile.am:
19153 * examples/typefind/typefind.c:
19154 * examples/xml/.cvsignore:
19155 * examples/xml/Makefile.am:
19156 * examples/xml/createxml.c:
19157 * examples/xml/runxml.c:
19158 * tests/Makefile.am:
19159 * tests/check/Makefile.am:
19160 * testsuite/.cvsignore:
19161 * testsuite/Makefile.am:
19163 * testsuite/caps/.cvsignore:
19164 * testsuite/caps/Makefile.am:
19165 * testsuite/caps/app_fixate.c:
19166 * testsuite/caps/audioscale.c:
19167 * testsuite/caps/caps.c:
19168 * testsuite/caps/caps.h:
19169 * testsuite/caps/caps_strings:
19170 * testsuite/caps/compatibility.c:
19171 * testsuite/caps/deserialize.c:
19172 * testsuite/caps/enumcaps.c:
19173 * testsuite/caps/eratosthenes.c:
19174 * testsuite/caps/filtercaps.c:
19175 * testsuite/caps/fixed.c:
19176 * testsuite/caps/fraction-convert.c:
19177 * testsuite/caps/fraction-multiply-and-zero.c:
19178 * testsuite/caps/intersect2.c:
19179 * testsuite/caps/intersection.c:
19180 * testsuite/caps/normalisation.c:
19181 * testsuite/caps/random.c:
19182 * testsuite/caps/renegotiate.c:
19183 * testsuite/caps/sets.c:
19184 * testsuite/caps/simplify.c:
19185 * testsuite/caps/string-conversions.c:
19186 * testsuite/caps/structure.c:
19187 * testsuite/caps/subtract.c:
19188 * testsuite/caps/union.c:
19189 * testsuite/debug/.cvsignore:
19190 * testsuite/debug/Makefile.am:
19191 * testsuite/debug/category.c:
19192 * testsuite/debug/commandline.c:
19193 * testsuite/debug/global.c:
19194 * testsuite/debug/output.c:
19195 * testsuite/debug/printf_extension.c:
19196 * testsuite/dlopen/.cvsignore:
19197 * testsuite/dlopen/Makefile.am:
19198 * testsuite/dlopen/dlopen_gst.c:
19199 * testsuite/dlopen/loadgst.c:
19200 * testsuite/elements/.cvsignore:
19201 * testsuite/elements/Makefile.am:
19202 * testsuite/elements/gst-inspect-check.in:
19203 * testsuite/elements/struct_i386.h:
19204 * testsuite/elements/struct_size.c:
19205 * testsuite/indexers/.cvsignore:
19206 * testsuite/indexers/Makefile.am:
19207 * testsuite/indexers/cache1.c:
19208 * testsuite/indexers/indexdump.c:
19209 * testsuite/parse/.cvsignore:
19210 * testsuite/parse/Makefile.am:
19211 * testsuite/parse/parse1.c:
19212 * testsuite/parse/parse2.c:
19213 * testsuite/plugin/.cvsignore:
19214 * testsuite/plugin/Makefile.am:
19215 * testsuite/plugin/README:
19216 * testsuite/plugin/dynamic.c:
19217 * testsuite/plugin/linked.c:
19218 * testsuite/plugin/loading.c:
19219 * testsuite/plugin/registry.c:
19220 * testsuite/plugin/static.c:
19221 * testsuite/plugin/static2.c:
19222 * testsuite/plugin/testplugin.c:
19223 * testsuite/plugin/testplugin2.c:
19224 * testsuite/plugin/testplugin2_s.c:
19225 * testsuite/plugin/testplugin_s.c:
19226 * testsuite/refcounting/.cvsignore:
19227 * testsuite/refcounting/Makefile.am:
19228 * testsuite/refcounting/bin.c:
19229 * testsuite/refcounting/element.c:
19230 * testsuite/refcounting/element_pad.c:
19231 * testsuite/refcounting/mainloop.c:
19232 * testsuite/refcounting/mem.c:
19233 * testsuite/refcounting/mem.h:
19234 * testsuite/refcounting/object.c:
19235 * testsuite/refcounting/pad.c:
19236 * testsuite/refcounting/sched.c:
19237 * testsuite/refcounting/thread.c:
19238 * testsuite/states/.cvsignore:
19239 * testsuite/states/Makefile.am:
19240 * testsuite/states/bin.c:
19241 * testsuite/states/locked.c:
19242 * testsuite/states/parent.c:
19243 * testsuite/threads/.cvsignore:
19244 * testsuite/threads/159566.c:
19245 * testsuite/threads/159852.c:
19246 * testsuite/threads/Makefile.am:
19247 * testsuite/threads/queue.c:
19248 * testsuite/threads/signals.c:
19249 * testsuite/threads/staticrec.c:
19250 * testsuite/threads/thread.c:
19251 * testsuite/threads/threadb.c:
19252 * testsuite/threads/threadc.c:
19253 * testsuite/threads/threadd.c:
19254 * testsuite/threads/threade.c:
19255 * testsuite/threads/threadf.c:
19256 * testsuite/threads/threadg.c:
19257 * testsuite/threads/threadh.c:
19258 * testsuite/threads/threadi.c:
19259 move all of these under tests
19261 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19264 * tests/Makefile.am:
19267 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19269 * docs/gst/gstreamer-sections.txt:
19270 * tests/sched/.cvsignore:
19271 * tests/sched/Makefile.am:
19272 * tests/sched/cases/(fs-fs).xml:
19273 * tests/sched/cases/(fs-i-fs).xml:
19274 * tests/sched/cases/(fs-i-i-fs).xml:
19275 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19276 * tests/sched/dynamic-pipeline.c:
19277 * tests/sched/interrupt1.c:
19278 * tests/sched/interrupt2.c:
19279 * tests/sched/interrupt3.c:
19280 * tests/sched/runtestcases:
19281 * tests/sched/runxml.c:
19282 * tests/sched/sched-stress.c:
19283 * tests/sched/sort.c:
19284 * tests/sched/testcases:
19285 * tests/sched/testcases1.tc:
19286 * tests/seeking/.cvsignore:
19287 * tests/seeking/Makefile.am:
19288 * tests/seeking/seeking1.c:
19289 * tests/threadstate/.cvsignore:
19290 * tests/threadstate/Makefile.am:
19291 * tests/threadstate/test1.c:
19292 * tests/threadstate/test2.c:
19293 * tests/threadstate/threadstate1.c:
19294 * tests/threadstate/threadstate2.c:
19295 * tests/threadstate/threadstate3.c:
19296 * tests/threadstate/threadstate4.c:
19297 * tests/threadstate/threadstate5.c:
19298 remove obsolete tests
19300 * tests/bench-complexity.scm:
19301 * tests/bench-mass_elements.scm:
19302 * tests/complexity.c:
19303 * tests/complexity.gnuplot:
19304 * tests/instantiate/.cvsignore:
19305 * tests/instantiate/Makefile.am:
19306 * tests/instantiate/caps.c:
19307 * tests/mass_elements.c:
19308 * tests/network-clock-utils.scm:
19309 * tests/network-clock.scm:
19311 First pass at cleaning up tests/ dir before moving the rest
19312 Combined with CVS surgery
19314 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19317 queue has moved, update
19319 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19321 * docs/gst/gstreamer-sections.txt:
19322 remove double entries from the docs
19323 * gst/gst_private.h:
19324 * gst/gstinfo.c: (_gst_debug_init):
19325 remove the THREAD debug category
19329 * docs/gst/gstreamer.types:
19330 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19331 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19332 completely move queue and fix up debugging categories
19334 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19336 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19337 make initialization portable, using LL is not
19339 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19341 * win32/common/gstconfig.h:
19344 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19346 * win32/common/libgstreamer.def:
19347 rename symbols; sort base section
19349 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19351 * gst/gstclock.c: (do_linear_regression):
19352 remove crack non-portable handrolled DEBUG macro
19354 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19356 * docs/random/release:
19358 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19359 (gst_object_flags_get_type), (register_gst_bin_flags),
19360 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19361 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19362 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19363 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19364 (gst_caps_flags_get_type), (register_gst_clock_return),
19365 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19366 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19367 (gst_clock_flags_get_type), (register_gst_state),
19368 (gst_state_get_type), (register_gst_state_change_return),
19369 (gst_state_change_return_get_type), (register_gst_state_change),
19370 (gst_state_change_get_type), (register_gst_element_flags),
19371 (gst_element_flags_get_type), (register_gst_core_error),
19372 (gst_core_error_get_type), (register_gst_library_error),
19373 (gst_library_error_get_type), (register_gst_resource_error),
19374 (gst_resource_error_get_type), (register_gst_stream_error),
19375 (gst_stream_error_get_type), (register_gst_event_type_flags),
19376 (gst_event_type_flags_get_type), (register_gst_event_type),
19377 (gst_event_type_get_type), (register_gst_seek_type),
19378 (gst_seek_type_get_type), (register_gst_seek_flags),
19379 (gst_seek_flags_get_type), (register_gst_format),
19380 (gst_format_get_type), (register_gst_index_certainty),
19381 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19382 (gst_index_entry_type_get_type),
19383 (register_gst_index_lookup_method),
19384 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19385 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19386 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19387 (gst_index_flags_get_type), (register_gst_debug_level),
19388 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19389 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19390 (gst_iterator_result_get_type), (register_gst_iterator_item),
19391 (gst_iterator_item_get_type), (register_gst_message_type),
19392 (gst_message_type_get_type), (register_gst_mini_object_flags),
19393 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19394 (gst_pad_link_return_get_type), (register_gst_flow_return),
19395 (gst_flow_return_get_type), (register_gst_activate_mode),
19396 (gst_activate_mode_get_type), (register_gst_pad_direction),
19397 (gst_pad_direction_get_type), (register_gst_pad_flags),
19398 (gst_pad_flags_get_type), (register_gst_pad_presence),
19399 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19400 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19401 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19402 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19403 (gst_plugin_flags_get_type), (register_gst_rank),
19404 (gst_rank_get_type), (register_gst_query_type),
19405 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19406 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19407 (gst_tag_flag_get_type), (register_gst_task_state),
19408 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19409 (gst_alloc_trace_flags_get_type),
19410 (register_gst_type_find_probability),
19411 (gst_type_find_probability_get_type), (register_gst_uri_type),
19412 (gst_uri_type_get_type), (register_gst_parse_error),
19413 (gst_parse_error_get_type):
19414 * win32/common/gstenumtypes.h:
19415 * win32/common/gstversion.h:
19416 update visual studio generated files
19418 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19420 * win32/vs6/libgstbase.dsp:
19421 * win32/vs6/libgstelements.dsp:
19422 update project files for new locations
19424 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19429 reinstate and update
19434 * docs/random/LICENSE:
19437 2005-11-30 Edward Hervey <edward@fluendo.com>
19439 * gst/gsttypefind.c: (gst_type_find_register):
19440 * gst/gsttypefind.h:
19441 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19442 (gst_type_find_factory_dispose):
19443 * gst/gsttypefindfactory.h:
19444 Fix memory leak in GstTypeFindFactory.
19446 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19449 * plugins/elements/Makefile.am:
19450 * plugins/elements/gstelements.c:
19451 * plugins/elements/gstqueue.c:
19452 move queue from core to the elements plugin
19454 2005-11-29 Andy Wingo <wingo@pobox.com>
19456 * libs/gst/base/gstbasetransform.h:
19457 * libs/gst/base/gstbasesrc.h:
19458 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19460 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19461 of pointers by which to pad very extensible base classes (like the
19462 ones in libs/gst/base).
19464 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19466 * docs/gst/gstreamer-docs.sgml:
19467 * docs/gst/gstreamer-sections.txt:
19468 * docs/libs/gstreamer-libs-docs.sgml:
19469 * docs/libs/gstreamer-libs-sections.txt:
19470 moving documentation from core to lib
19472 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19474 * check/Makefile.am:
19476 * docs/gst/Makefile.am:
19478 * gst/base/.cvsignore:
19479 * gst/base/Makefile.am:
19481 * gst/base/gstadapter.c:
19482 * gst/base/gstadapter.h:
19483 * gst/base/gstbasesink.c:
19484 * gst/base/gstbasesink.h:
19485 * gst/base/gstbasesrc.c:
19486 * gst/base/gstbasesrc.h:
19487 * gst/base/gstbasetransform.c:
19488 * gst/base/gstbasetransform.h:
19489 * gst/base/gstcollectpads.c:
19490 * gst/base/gstcollectpads.h:
19491 * gst/base/gstpushsrc.c:
19492 * gst/base/gstpushsrc.h:
19493 * gst/base/gsttypefindhelper.c:
19494 * gst/base/gsttypefindhelper.h:
19495 * gst/check/Makefile.am:
19496 * gst/check/gstcheck.c:
19497 * gst/check/gstcheck.h:
19498 * gst/net/Makefile.am:
19499 * gst/net/gstnet.h:
19500 * gst/net/gstnetclientclock.c:
19501 * gst/net/gstnetclientclock.h:
19502 * gst/net/gstnettimepacket.c:
19503 * gst/net/gstnettimepacket.h:
19504 * gst/net/gstnettimeprovider.c:
19505 * gst/net/gstnettimeprovider.h:
19506 * libs/gst/Makefile.am:
19507 * libs/gst/base/Makefile.am:
19508 * libs/gst/base/gstbasetransform.c:
19509 * libs/gst/check/Makefile.am:
19510 * plugins/elements/Makefile.am:
19512 CVS surgery + support to move base, check, and net out of gst
19515 2005-11-29 Andy Wingo <wingo@pobox.com>
19517 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19519 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19522 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19524 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19526 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19528 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19529 padding; reduces object size by about 30%. We don't expect
19530 anything else to go into gstobject.
19532 * gst/gstminiobject.h (struct _GstMiniObject)
19533 (struct _GstMiniObjectClass): Only one pointer of padding; the
19534 payload is only a pointer and two ints anyway. For the class there
19535 are only two methods as well.
19537 * gst/gstelement.h (struct _GstElementClass): Removed
19538 the state_changed signal callback, it is not used.
19540 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19542 * docs/gst/gstreamer.types:
19543 fix includes, though they are a little dinky
19545 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19547 * check/Makefile.am:
19548 look in the right place for elements, a lot more chance of
19551 remove indexers and elements subdirs
19552 * plugins/Makefile.am:
19553 make indexers conditional
19555 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19559 * plugins/elements/Makefile.am:
19560 * plugins/elements/gstcapsfilter.c:
19561 * plugins/elements/gstfilesink.c:
19562 * plugins/elements/gstfilesrc.c:
19563 * plugins/elements/gstidentity.c:
19564 * plugins/indexers/Makefile.am:
19565 do CVS surgery and related build fixery to move elements
19566 and indexers in a new gstreamer/plugins directory, out of the
19569 2005-11-29 Andy Wingo <wingo@pobox.com>
19571 * check/Makefile.am:
19572 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19573 * pkgconfig/gstreamer-net.pc.in:
19574 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19577 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19579 * tools/Makefile.am:
19580 * tools/gst-complete.1.in:
19581 * tools/gst-complete.c:
19582 * tools/gst-compprep.1.in:
19583 * tools/gst-compprep.c:
19584 removing -compprep and -complete
19586 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19588 * gst/gstevent.c: (gst_event_new_new_segment),
19589 (gst_event_parse_new_segment):
19591 fix #320529 - clean up new_segment API and structure.
19592 Let's hope everyone was using the methods, and not the structure.
19594 2005-11-29 Edward Hervey <edward@fluendo.com>
19596 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19597 (gst_base_sink_event), (gst_base_sink_do_sync),
19598 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19599 Properly handle non GST_FORMAT_TIME segment
19600 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19601 Properly handle non GST_FORMAT_TIME segment
19602 * gst/gstsegment.c:
19603 This function is valid if the accumulator is 0 and the format
19604 is different from the requested format.
19606 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19608 * docs/gst/gstreamer-sections.txt:
19609 Add gst_query_new_seeking and gst_query_parse_seeking to the
19612 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19614 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19615 Treat a pad alloc with new caps the same as if we were not
19616 negotiated, in order to allow a changing upstream output
19617 to produce a new format of data.
19619 2005-11-29 Edward Hervey <edward@fluendo.com>
19621 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19622 (gst_base_transform_event), (gst_base_transform_eventfunc):
19623 The event virtual method is now properly implemented, with a default
19625 Sub classes should call the parent_class event method. They should
19626 return FALSE if they had a problem handling the given event, or don't
19627 want GstBaseTransform to send that even downstream
19628 * gst/elements/gstidentity.c: (gst_identity_class_init),
19629 (gst_identity_init), (gst_identity_event),
19630 (gst_identity_transform_ip), (gst_identity_set_property),
19631 (gst_identity_get_property):
19632 * gst/elements/gstidentity.h:
19633 Added the single-segment boolean property.
19634 If set to TRUE, it will output a single segment of data, starting from
19635 0, will eat up all incoming newsegment, and modify the timestamp of the
19636 buffers accordingly
19638 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19640 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19641 Don't ref NULL target pad (#322751). Improve docs.
19643 2005-11-29 Michael Smith <msmith@fluendo.com>
19645 * gst/gstregistryxml.c: (load_plugin):
19646 Don't crash if we failed to load a feature from a plugin.
19648 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19650 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19652 use more check API and less GLib API
19654 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19657 don't run checks if we don't have check
19658 * common/check.mak:
19659 remove the registry when running make torture
19660 * docs/gst/gstreamer-sections.txt:
19661 remove second multiply
19662 * gst/gstqueue.c: (gst_queue_loop):
19663 fix a compile warning when disabling debug
19665 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19668 Hey! Let's print the pad name if the pointer != NULL instead
19669 of when it == NULL :-)
19671 2005-11-28 Wim Taymans <wim@fluendo.com>
19673 * check/gst/gstutils.c: (GST_START_TEST):
19674 Updated check, add some scaling accuracy checking code.
19676 * gst/gstutils.c: (gst_util_div128_64),
19677 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19678 (gst_util_uint64_scale_int):
19679 Fix 6 times faster division code. Optimize for common
19680 1/1 and less common X/1 cases.
19682 2005-11-28 Wim Taymans <wim@fluendo.com>
19684 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19687 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19688 (do_linear_regression), (gst_clock_add_observation):
19690 Release lock when the clock cannot be slaved.
19691 Catch the case where the regression returned an invalid denominator.
19693 * gst/gstutils.c: (gst_util_div128_64_iterate),
19694 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19695 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19696 Add protentially more performant non-iterative 128/64 divide function
19697 that unfortunatly does not work yet.
19698 Shortcut the trivial 0/X = 0 case.
19699 Remove the warnings on overflow.
19701 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19703 * gst/gstplugin.c: (gst_plugin_register_func):
19704 everything causing a plugin not to load should be at least a WARNING
19706 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19708 * docs/random/ensonic/dparams.txt:
19709 some TODOs for the next dev cycle
19710 * libs/gst/controller/gstcontroller.c:
19711 (gst_controlled_property_set_interpolation_mode),
19712 (gst_controlled_property_new):
19713 * libs/gst/controller/gstcontroller.h:
19714 use base type to assign acccessor functions
19716 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19718 * check/Makefile.am:
19719 Oops, that should have been top_srcdir
19721 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19723 * check/Makefile.am:
19724 * check/elements/fdsrc.c: (GST_START_TEST):
19725 Use a cmdline define to specify the location of a file to use for
19726 testing, to avoid breaking distcheck.
19728 2005-11-28 Andy Wingo <wingo@pobox.com>
19730 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19732 2005-11-28 Edward Hervey <edward@fluendo.com>
19734 * tools/gst-launch.c: (main):
19735 Clarify the output strings, makes it easier to translate.
19738 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19741 don't try and build net if we don't even have <sys/socket.h>
19743 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19745 * check/Makefile.am:
19746 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19747 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19748 Add tests for fdsrc seekability
19750 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19751 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19752 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19753 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19754 * gst/elements/gstfdsrc.h:
19755 fdsrc should not be a 'live' source.
19756 Implement seeking on seekable fd's.
19758 * gst/gstquery.c: (gst_query_new_seeking),
19759 (gst_query_parse_seeking):
19761 Implement SEEKING query functions:
19762 *_new_seeking and *_parse_seeking
19764 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19766 * gst/gstelement.c: (gst_element_dispose):
19769 * gst/gstiterator.c:
19770 * gst/gststructure.c:
19773 * libs/gst/controller/gstcontroller.c:
19774 (gst_controlled_property_set_interpolation_mode):
19775 * libs/gst/controller/gstcontroller.h:
19776 * libs/gst/controller/gstinterpolation.c:
19777 (interpolate_none_get_enum_value_array):
19778 support controlling enums
19780 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19783 Improve documentation for gst_value_union().
19786 Change return value for union, intersect and subtract functions
19787 from gint to gboolean.
19789 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19791 * gst/gstvalue.c: (gst_value_serialize_any_list),
19792 (gst_value_transform_any_list_string),
19793 (gst_value_deserialize_list), (gst_value_deserialize_array),
19794 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19795 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19796 (gst_value_set_fraction_range_full),
19797 (gst_value_deserialize_fraction_range),
19798 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19799 (gst_value_deserialize_boolean),
19800 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19801 (gst_value_serialize_float), (gst_value_deserialize_float),
19802 (gst_string_wrap), (gst_value_deserialize_string),
19803 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19804 (gst_value_union_int_range_int_range),
19805 (gst_value_intersect_int_range_int_range),
19806 (gst_value_intersect_double_range_double_range),
19807 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19808 (gst_value_subtract_int_range_int_range),
19809 (gst_value_subtract_double_double_range),
19810 (gst_value_subtract_double_range_double_range),
19811 (gst_value_deserialize_fraction):
19813 Use gint, gdouble and gchar in our API instead of int, double and
19814 char (and make usage in gstvalue.c more consistent).
19816 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19818 * check/Makefile.am:
19819 * libs/gst/controller/Makefile.am:
19820 * libs/gst/dataprotocol/Makefile.am:
19821 fix up Makefile.am and remove GST_ENABLE_NEW
19823 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19827 * gst/base/Makefile.am:
19828 * gst/check/Makefile.am:
19829 * gst/elements/Makefile.am:
19830 * gst/net/Makefile.am:
19831 update LDFLAGS use some more
19833 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19835 * common/m4/gst-doc.m4:
19838 2005-11-26 Edward Hervey <edward@fluendo.com>
19840 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19841 This shouldn't issue a g_warning since it returns NULL if it
19842 couldn't find the plugin, and all functions using this behave
19843 properly on a NULL return. Switching to a GST_WARNING.
19845 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19847 * gst/gstbin.c: (gst_bin_handle_message_func):
19848 Don't leak clock messages.
19850 2005-11-25 Wim Taymans <wim@fluendo.com>
19852 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19853 (gst_util_uint64_scale_int):
19854 Optimisations, remove unneeded vars.
19856 2005-11-25 Wim Taymans <wim@fluendo.com>
19858 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19859 Added more checks for the high precision uint64 cases.
19861 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19862 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19863 Implement high precision (guint64 * guint64) / guint64.
19865 2005-11-24 Wim Taymans <wim@fluendo.com>
19867 * gst/base/gstbasesrc.c: (gst_base_src_query):
19868 Fix wrong percentage query.
19870 * gst/gstutils.c: (gst_util_uint64_scale),
19871 (gst_util_uint64_scale_int):
19872 Add some more common cases that can be handled
19873 efficiently to _scale.
19875 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19877 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19878 (gst_mini_object_suite):
19879 don't use check calls from threads; check probably isn't
19880 threadsafe and using a lock to make it threadsafe would
19881 defeat the purpose of this check
19882 * gst/check/gstcheck.c:
19883 * gst/check/gstcheck.h:
19884 use GST_DEBUG some more
19886 2005-11-24 Wim Taymans <wim@fluendo.com>
19888 * gst/gstutils.c: (gst_util_uint64_scale),
19889 (gst_util_uint64_scale_int):
19890 Chain trivial case to _scale_int.
19892 2005-11-24 Wim Taymans <wim@fluendo.com>
19894 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19895 Added test for scaling.
19900 * gst/gstutils.c: (gst_util_uint64_scale_int):
19901 Implemented high precision scaling code.
19903 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19906 do not crash on pad==NULL
19908 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19910 Patch by: Stefan Kost
19912 * common/gtk-doc.mak:
19913 * docs/gst/Makefile.am:
19914 * docs/libs/Makefile.am:
19915 Fix distcheck issues for the libraries docs build
19918 2005-11-24 Michael Smith <msmith@fluendo.com>
19920 * docs/manual/basics-helloworld.xml:
19921 Fix bug #315027: memory leak in example code in docs.
19923 2005-11-24 Michael Smith <msmith@fluendo.com>
19925 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19926 Unlock the PREROLL_LOCK in a failure case.
19928 2005-11-24 Wim Taymans <wim@fluendo.com>
19930 * docs/gst/gstreamer-sections.txt:
19931 * gst/base/gstadapter.h:
19932 * gst/base/gstbasesink.h:
19933 * gst/base/gstbasesrc.h:
19934 * gst/base/gstbasetransform.h:
19935 * gst/base/gstpushsrc.h:
19936 * gst/elements/gstfakesink.h:
19937 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19938 * gst/elements/gstfakesrc.h:
19939 * gst/elements/gstfilesink.h:
19940 * gst/elements/gstfilesrc.h:
19943 * gst/gstbuffer.c: (_gst_buffer_copy):
19946 * gst/gstchildproxy.c:
19948 * gst/gstelement.c:
19949 * gst/gstelementfactory.c:
19950 * gst/gstelementfactory.h:
19952 * gst/gstghostpad.h:
19954 * gst/gstinterface.h:
19955 * gst/gstminiobject.c:
19956 * gst/gstminiobject.h:
19959 * gst/gstpadtemplate.h:
19960 * gst/gstpipeline.h:
19961 * gst/gstpluginfeature.h:
19964 * gst/gsttaglist.c:
19965 * gst/gsttaglist.h:
19966 * gst/gsttagsetter.c:
19967 * gst/gsttagsetter.h:
19970 * gst/gsttypefind.h:
19973 * gst/net/gstnetclientclock.c:
19974 * gst/net/gstnetclientclock.h:
19975 * gst/net/gstnettimepacket.c:
19976 * gst/net/gstnettimeprovider.c:
19977 * gst/net/gstnettimeprovider.h:
19980 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19982 * configure.ac: back to HEAD
19984 === release 0.9.6 ===
19986 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19989 releasing 0.9.6, "Always On Time"
19991 2005-11-23 Wim Taymans <wim@fluendo.com>
19993 * docs/gst/gstreamer-sections.txt:
19994 * gst/glib-compat.c:
19995 * gst/gsttagsetter.c:
19997 * gst/net/gstnetclientclock.c:
19998 * gst/net/gstnettimepacket.h:
20001 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20003 * docs/faq/using.xml:
20004 * docs/libs/tmpl/gstcontrol.sgml:
20005 * docs/manual/advanced-dparams.xml:
20006 * docs/manual/appendix-checklist.xml:
20007 * docs/manual/basics-elements.xml:
20008 * docs/pwg/other-source.xml:
20009 * docs/random/moving-plugins:
20011 * tools/gst-launch.1.in:
20012 remove mentions of sinesrc
20014 2005-11-23 Michael Smith <msmith@fluendo.com>
20016 * docs/gst/gstreamer-sections.txt:
20017 Update for new API and API changes.
20019 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20021 Documentation typo fix.
20022 * gst/net/gstnettimepacket.c:
20023 Documentation fixes for arguments.
20025 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20027 * gst/gststructure.c: (gst_structure_get_fraction),
20028 (gst_structure_parse_value),
20029 (gst_structure_fixate_field_nearest_fraction):
20030 * gst/gststructure.h:
20031 * gst/gstutils.c: (gst_util_uint64_scale_int):
20033 * scripts/update-funcnames:
20035 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20036 Make gst_structure_fixate_field_nearest_fraction take a numerator
20037 and denominator argument instead of a GValue
20038 add gst_structure_get_fraction helper function.
20040 2005-11-23 Wim Taymans <wim@fluendo.com>
20042 * docs/design/part-TODO.txt:
20045 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20046 * gst/net/gstnetclientclock.h:
20047 Use parent fields for timeout and window_size.
20049 2005-11-23 Andy Wingo <wingo@pobox.com>
20051 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20052 rate_num/rate_denom change.
20054 * gst/net/gstnetclientclock.c
20055 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20056 OBJECT_LOCK. Don't call add_observation with the lock.
20058 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20060 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20062 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20063 deal with rate as a fraction whose numerator and denominator are
20064 GstClockTime values.
20065 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20066 master; the other fields are protected by the SLAVE_LOCK.
20067 (do_linear_regression): Note that this must be called with the
20069 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20070 OBJECT_LOCK. Call set_calibration instead of touching the
20071 variables directly.
20072 (gst_clock_set_property, gst_clock_get_property): Protect
20073 master/slave parameters with the SLAVE_LOCK.
20075 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20076 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20077 note that all of the instance variables that add_observation and
20078 the set_master functions use are protected by that lock and not
20080 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20082 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20083 the caller to take the object lock.
20085 2005-11-23 Wim Taymans <wim@fluendo.com>
20087 * gst/gsterror.c: (_gst_core_errors_init):
20089 Add error for clock stuff.
20091 * gst/gstpipeline.c: (gst_pipeline_change_state),
20092 (gst_pipeline_set_clock):
20093 Post clock error when clock cannot be used in a pipeline.
20095 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20097 * docs/gst/gstreamer-sections.txt:
20098 make two symbols from gstinfo private for the docs
20099 * gst/base/gstcollectpads.h:
20101 fix doc typos, update docs
20103 2005-11-22 Wim Taymans <wim@fluendo.com>
20105 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20106 (gst_base_sink_wait), (gst_base_sink_do_sync),
20107 (gst_base_sink_handle_event):
20108 * gst/base/gstbasesink.h:
20109 No need to store the clock, the parent element class already
20112 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20113 Updates for clock_set returning a gboolean
20115 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20116 (gst_clock_id_wait_async), (gst_clock_class_init),
20117 (gst_clock_init), (gst_clock_finalize),
20118 (gst_clock_get_internal_time), (gst_clock_get_time),
20119 (gst_clock_slave_callback), (gst_clock_set_master),
20120 (gst_clock_get_master), (do_linear_regression),
20121 (gst_clock_add_observation), (gst_clock_set_property),
20122 (gst_clock_get_property):
20124 Implement master/slave. When setting a clock as a slave, a
20125 periodic timeout is scheduled to sample master and slave times.
20126 Then the slave clock is recalibrated to match offset and rate
20127 of the master clock.
20128 Update logging a bit.
20129 Add flag so that a clock can state that is cannot be slaved to
20132 * gst/gstelement.c: (gst_element_set_clock):
20133 * gst/gstelement.h:
20134 The set clock returns a gboolean for when an element cannot
20135 deal with the selected clock in the pipeline.
20137 * gst/gstpipeline.c: (gst_pipeline_change_state),
20138 (gst_pipeline_set_clock):
20139 * gst/gstpipeline.h:
20140 Handle the case where the selected clock cannot be set on
20143 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20144 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20145 (gst_net_client_clock_set_property),
20146 (gst_net_client_clock_get_property),
20147 (gst_net_client_clock_observe_times):
20148 * gst/net/gstnetclientclock.h:
20149 Use regression code in GstClock parent, remove duplicated
20152 2005-11-22 Michael Smith <msmith@fluendo.com>
20154 * gst/gstutils.c: (gst_util_clock_time_scale):
20156 * docs/gst/gstreamer-sections.txt:
20157 Rename method to have extra underscore.
20159 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20161 * gst/elements/Makefile.am:
20162 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20163 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20164 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20165 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20166 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20167 * gst/elements/gstfakesrc.h:
20168 * gst/gstqueue.c: (queue_leaky_get_type):
20169 correctly fix GEnumValues so that nick is the short lowercase
20171 * tools/gst-inspect.c: (print_element_properties_info):
20172 also show the nick, since it's useful to use from parse_launch
20176 2005-11-22 Michael Smith <msmith@fluendo.com>
20178 * gst/gstutils.c: (gst_util_clocktime_scale):
20180 * docs/gst/gstreamer-sections.txt:
20181 Add util method for scaling a clocktime by a fraction. Useful
20182 implementation is left as an exercise for the reader.
20184 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20186 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20187 If needed, allocate storage in the destination value during
20190 2005-11-22 Edward Hervey <edward@fluendo.com>
20192 * docs/gst/gstreamer-sections.txt:
20195 * gst/gsturitype.c:
20196 * gst/gsturitype.h:
20197 * gst/gstutils.c: (gst_util_set_object_arg):
20198 * tools/gst-compprep.c: (main):
20199 * tools/gst-inspect.c: (print_element_properties_info):
20200 Removed GstURI, closes bug #321061
20202 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20204 * check/gst/gststructure.c: (GST_START_TEST):
20205 * gst/gststructure.c: (gst_structure_parse_value):
20206 Oops, broke automatic string type parsing.
20207 Add a test to catch it in future.
20209 2005-11-22 Andy Wingo <wingo@pobox.com>
20211 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20212 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20213 Actually rename the function implementations. Grr.
20215 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20217 * check/gst/capslist.h:
20219 * check/gst/gststructure.c: (GST_START_TEST),
20220 (gst_structure_suite):
20221 Test automatic value type detection in gst_structure_from_string.
20222 * gst/gststructure.c: (gst_structure_parse_value):
20223 Add fraction as a type we try and guess automatically in
20224 caps/structure strings.
20226 2005-11-22 Andy Wingo <wingo@pobox.com>
20228 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20230 * gst/gsttagsetter.h:
20231 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20232 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20233 (gst_tag_setter_add_tag_valist)
20234 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20235 _add_values, _add_valist, and _add_valist_values. Since this is an
20236 interface the function suffixes should be more explicit so
20237 language binding don't end up with element.add_valist ->
20238 gst_tag_setter_add_valist, for example. Fixes #322069.
20240 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20242 * check/gst/gstcaps.c: (GST_START_TEST):
20243 Extend caps string tests to check that a caps to string
20244 conversion is reversible and produces the same caps.
20246 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20247 Output "fraction" as the generic type fraction range, so caps
20248 serialisation and deserialisation works.
20249 * check/gst/capslist.h:
20250 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20251 Support 'MIN' and 'MAX' for deserialising fractions.
20253 2005-11-22 Andy Wingo <wingo@pobox.com>
20255 * gst/gstevent.h (gst_event_new_new_segment)
20256 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20257 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20258 Renamed from *_newsegment, *_buffersize, *_notarget.
20260 * scripts/update-funcnames: New script, performs the changes
20263 2005-11-22 Wim Taymans <wim@fluendo.com>
20265 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20266 Make sure the GstFlowReturn is returned.
20268 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20269 (gst_bus_add_signal_watch):
20271 add gst_bus_add_signal_watch_full.
20273 * gst/gstplugin.c: (gst_plugin_load_file):
20274 Small style cleanup.
20276 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20278 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20279 Block the fakesrc srcpad when we send an event, to avoid
20280 contention on the stream_lock causing random test failures.
20282 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20284 * check/gst/gstvalue.c: (GST_START_TEST):
20285 * gst/gstvalue.c: (gst_value_fraction_subtract):
20288 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20291 include "gstchildproxy.h"
20292 * gst/gstchildproxy.h:
20293 * libs/gst/controller/gstcontroller.h:
20294 use G_GNUC_NULL_TERMINATED
20296 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20298 * check/gst/capslist.h:
20299 * check/gst/gstcaps.c: (GST_START_TEST):
20300 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20301 * gst/gststructure.c: (gst_structure_parse_range),
20302 (gst_structure_fixate_field_nearest_fraction):
20303 * gst/gststructure.h:
20304 * gst/gstvalue.c: (gst_value_init_fraction_range),
20305 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20306 (gst_value_collect_fraction_range),
20307 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20308 (gst_value_set_fraction_range_full),
20309 (gst_value_get_fraction_range_min),
20310 (gst_value_get_fraction_range_max),
20311 (gst_value_serialize_fraction_range),
20312 (gst_value_transform_fraction_range_string),
20313 (gst_value_compare_fraction_range),
20314 (gst_value_deserialize_fraction_range),
20315 (gst_value_intersect_fraction_fraction_range),
20316 (gst_value_intersect_fraction_range_fraction_range),
20317 (gst_value_subtract_fraction_fraction_range),
20318 (gst_value_subtract_fraction_range_fraction),
20319 (gst_value_subtract_fraction_range_fraction_range),
20320 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20321 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20322 (gst_value_transform_string_fraction), (_gst_value_initialize):
20324 Implement fraction ranges and extend GstFraction to support
20325 arithmetic subtraction, as well as deserialization from integer
20326 strings such as "100"
20327 Add a testsuite as for int and double range set operations
20329 2005-11-21 Andy Wingo <wingo@pobox.com>
20331 * gst/gsttaglist.h:
20333 * gst/gststructure.h: Add glib-compat.h.
20335 2005-11-21 Wim Taymans <wim@fluendo.com>
20337 * gst/gstbin.c: (gst_bin_change_state_func):
20340 2005-11-21 Wim Taymans <wim@fluendo.com>
20342 * gst/gstsegment.h:
20343 And add a nice define too.
20345 2005-11-21 Wim Taymans <wim@fluendo.com>
20347 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20348 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20349 (gst_segment_set_duration), (gst_segment_set_last_stop),
20350 (gst_segment_set_seek), (gst_segment_set_newsegment),
20351 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20352 (gst_segment_clip):
20353 * gst/gstsegment.h:
20354 Make binding friendly.
20356 2005-11-21 Andy Wingo <wingo@pobox.com>
20358 * gst/gsttagsetter.h:
20359 * gst/gsttaglist.h:
20360 * gst/gststructure.h:
20362 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20365 * gst/gsterror.c (_gst_core_errors_init):
20366 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20369 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20370 (noinst_HEADERS): noinst the -private.
20372 2005-11-21 Michael Smith <msmith@fluendo.com>
20375 * gst/gstregistry.h:
20376 Remove unimplemented declarations for which we can see no sensible
20379 2005-11-21 Andy Wingo <wingo@pobox.com>
20381 * gst/gst.h: Include glib-compat.h.
20383 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20385 * gst/glib-compat.c: Include the public and the private header.
20387 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20391 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20393 * check/gst/gstevent.c (create_custom_events): Check that
20394 FLUSH_STOP is serialized.
20396 * check/elements/identity.c (event_func):
20397 * check/elements/fakesrc.c (event_func): No stream lock, the core
20400 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20401 stream lock taking, yay.
20403 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20404 ensure that core takes the stream lock.
20406 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20409 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20410 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20411 it already. For the flush start we do take it though so we get the
20412 right preroll state change messages.
20414 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20415 the stream lock here, the core does it for us.
20417 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20418 GST_STREAM_GET_LOCK.
20419 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20420 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20421 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20422 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20423 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20424 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20426 * gst/gstpad.c: Update for stream lock name change.
20428 * gst/base/gstbasesink.c: Update for preroll lock name change.
20430 2005-11-21 Wim Taymans <wim@fluendo.com>
20432 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20433 (gst_clock_get_master):
20435 * gst/gstsystemclock.c: (gst_system_clock_init):
20436 Convert Clock flags to object flags.
20437 Added methods to manage master/slave clocks.
20439 2005-11-21 Wim Taymans <wim@fluendo.com>
20441 * check/gst/gstsegment.c: (GST_START_TEST):
20442 * docs/design/part-TODO.txt:
20443 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20444 (gst_base_sink_event), (gst_base_sink_do_sync),
20445 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20446 (gst_base_sink_query), (gst_base_sink_change_state):
20447 * gst/base/gstbasesink.h:
20448 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20449 (gst_base_src_default_newsegment),
20450 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20451 (gst_base_src_get_range), (gst_base_src_loop),
20452 (gst_base_src_change_state):
20453 * gst/base/gstbasesrc.h:
20454 * gst/base/gstbasetransform.c:
20455 (gst_base_transform_prepare_output_buf),
20456 (gst_base_transform_event), (gst_base_transform_change_state):
20457 * gst/base/gstbasetransform.h:
20458 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20459 (gst_collect_pads_event):
20460 * gst/base/gstcollectpads.h:
20461 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20462 (gst_fake_src_create):
20463 * gst/elements/gstfakesrc.h:
20464 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20465 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20466 (gst_segment_set_last_stop), (gst_segment_set_seek),
20467 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20468 (gst_segment_to_running_time), (gst_segment_clip):
20469 * gst/gstsegment.h:
20470 More segment updates, replace code in plugins with segment
20473 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20475 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20476 Don't ignore sscanf results
20478 2005-11-21 Andy Wingo <wingo@pobox.com>
20480 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20483 * *.c: Ran scripts/update-macros. Oh yes.
20485 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20486 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20489 * scripts/update-macros: New script. Run it on your files to
20490 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20493 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20495 * docs/gst/Makefile.am:
20496 * docs/gst/gstreamer-docs.sgml:
20497 * docs/gst/gstreamer-sections.txt:
20498 * docs/gst/gstreamer.types:
20500 more docs fixes, add new api to the docs
20502 2005-11-21 Andy Wingo <wingo@pobox.com>
20504 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20505 state_broadcast call.
20507 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20509 2005-11-21 Julien MOUTTE <julien@moutte.net>
20511 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20512 function calls for arrays.
20514 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20516 * docs/random/ensonic/media-device-daemon.txt:
20517 wild idea, can this be done?
20518 * docs/gst/gstreamer-sections.txt:
20523 * gst/gstpluginfeature.c:
20527 doc fixes and additions
20529 2005-11-21 Andy Wingo <wingo@pobox.com>
20531 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20532 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20533 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20534 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20535 private to the basesrc implementation.
20537 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20538 behalf of event function if necessary. It should no longer be
20539 necessary to take the stream lock in pad's event functions. Fixes
20542 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20543 * docs/gst/gstreamer-sections.txt:
20544 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20545 (gst_structure_fixate_field_nearest_double),
20546 (gst_structure_fixate_field_boolean):
20547 * gst/gststructure.h:
20548 * win32/common/libgstreamer.def:
20549 * win32/gstreamer.def:
20551 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20554 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20556 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20557 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20558 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20559 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20560 (gst_fdsrc_uri_handler_init):
20561 * gst/elements/gstfdsrc.h:
20562 Port fd:// URI handler from 0.8 to fdsrc
20564 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20566 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20567 (gst_value_serialize_fourcc):
20569 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20570 consistent with our other format defines (#320324).
20572 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20574 * gst/gstvalue.c: (gst_value_is_fixed):
20575 Revert previous commit. Value lists are by definition
20576 not fixed, as they are a list of possible values.
20578 2005-11-21 Andy Wingo <wingo@pobox.com>
20580 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20581 during the stable series if we need it. Fixes #319178.
20583 * gst/gstevent.c (gst_event_new_filler): Removed.
20585 * check/gst/gstevent.c: Update comment about filler events.
20587 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20589 * gst/gstvalue.c: (gst_value_is_fixed):
20590 Should handle both value arrays and value lists.
20592 2005-11-21 Andy Wingo <wingo@pobox.com>
20594 patch by: Alessandro Dessina <alessandro nnva org>
20596 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20597 functions to access arrays. Fixes #321962.
20599 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20601 * docs/gst/gstreamer.types:
20602 gst_collectpads_get_type => gst_collect_pads_get_type.
20604 * gst/base/gstbasetransform.c:
20605 Remove unused SIGNAL_HANDOFF enum.
20607 2005-11-21 Andy Wingo <wingo@pobox.com>
20609 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20610 the event type (upstream, downstream, serialized). Renamed
20611 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20612 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20613 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20615 * gst/gstevent.c: Update for new CUSTOM event names.
20617 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20620 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20623 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20625 * docs/gst/gstreamer-sections.txt:
20626 * win32/common/libgstbase.def:
20627 * win32/libgstbase.def:
20628 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20629 (gst_collect_pads_class_init), (gst_collect_pads_init),
20630 (gst_collect_pads_finalize), (gst_collect_pads_new),
20631 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20632 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20633 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20634 (gst_collect_pads_start), (gst_collect_pads_stop),
20635 (gst_collect_pads_peek), (gst_collect_pads_pop),
20636 (gst_collect_pads_available), (gst_collect_pads_read),
20637 (gst_collect_pads_flush), (gst_collect_pads_event),
20638 (gst_collect_pads_chain):
20639 * gst/base/gstcollectpads.h:
20640 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20641 unimplemented functions as unimplemented. Add padding to
20642 GstCollectData. (#320766, #320423)
20644 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20646 * gst/gstmessage.c:
20647 Improve docs for DURATION message (usage of duration parameter)
20650 2005-11-20 Wim Taymans <wim@fluendo.com>
20652 * check/Makefile.am:
20653 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20657 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20658 (gst_segment_set_seek), (gst_segment_set_newsegment),
20659 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20660 (gst_segment_clip):
20661 * gst/gstsegment.h:
20662 Added segment helper structure and methods. Not fully implemented
20664 Added segment check.
20666 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20668 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20669 Add a deserialisation test for fractions
20670 * examples/metadata/read-metadata.c: (message_loop),
20671 (make_pipeline), (main):
20672 Fix up metadata reading sample.
20673 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20675 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20676 Don't try and fixate empty caps
20677 * gst/gst_private.h:
20678 Wrap in G_BEGIN_DECLS/G_END_DECLS
20679 * gst/gstvalue.c: (gst_value_collect_fraction),
20680 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20681 (gst_value_transform_string_fraction),
20682 (gst_value_compare_fraction):
20683 Add some extra guards to ensure that we don't end up
20684 with an invalid denominator of 0 in a gstfraction and
20685 that fractions always get reduced.
20687 2005-11-20 Wim Taymans <wim@fluendo.com>
20689 * docs/gst/gstreamer-sections.txt:
20691 * gst/gstelement.c:
20700 2005-11-20 Wim Taymans <wim@fluendo.com>
20702 * docs/design/part-TODO.txt:
20704 Make a proper enum of the flag.
20706 2005-11-19 Wim Taymans <wim@fluendo.com>
20708 * docs/design/part-TODO.txt:
20709 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20710 (gst_format_to_quark), (gst_format_register):
20712 * gst/gstquery.c: (_gst_query_initialize),
20713 (gst_query_type_get_name), (gst_query_type_to_quark),
20714 (gst_query_type_register):
20716 Add type to quark and type to string conversions.
20718 2005-11-19 Andy Wingo <wingo@pobox.com>
20720 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20723 2005-11-19 Wim Taymans <wim@fluendo.com>
20725 * docs/design/part-TODO.txt:
20726 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20727 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20728 (gst_bin_handle_message_func):
20730 Make message handling overridable.
20732 2005-11-19 Andy Wingo <wingo@pobox.com>
20734 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20737 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20739 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20740 is a GstClockTime. Fixes #321710.
20742 * gst/gstclock.h (GstClock): Remove offset property. Add
20743 internal_calibration and external_calibration. Fix padding. Pad
20744 also by GstClockTime so we don't run into problems.
20746 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20747 (gst_clock_get_rate_offset): Remove.
20748 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20751 * gst/gstutils.c (g_static_rec_cond_wait)
20752 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20754 * gst/gstbin.c: Remove terrible continue_state prototype.
20756 * gst/gstelement.h (gst_element_continue_state): Make public.
20758 * gst/gstelement.h:
20759 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20760 by continue_state. Fixes #319389.
20762 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20763 Really fixes #168438. However I don't see anywhere where the
20764 filter function is called... stupid GStreamer...
20766 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20767 don't have a dispose function, so it won't get called when the
20768 object is unreffed, but oh well!
20770 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20771 allows a destroy function to be set so user_data can be freed.
20773 (gst_index_set_filter): Call gst_index_set_filter_full.
20775 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20777 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20778 string should produce an error, given the lack of a way to
20779 represent NULL strings. Fixes #165650.
20782 * gst/gstvalue.c (gst_value_array_append_value)
20783 (gst_value_array_prepend_value, gst_value_array_get_size)
20784 (gst_value_array_get_value): New API, copied from
20785 gst_value_list_*, only operates on arrays.
20786 (gst_value_list_append_value, gst_value_list_prepend_value)
20787 (gst_value_list_concat, gst_value_list_get_size)
20788 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20790 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20791 init_list, because it works on both.
20792 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20793 (gst_value_copy_list_or_array): Renamed from copy_list.
20794 (gst_value_free_list_or_array): Renamed from free_list.
20795 (gst_value_collect_list_or_array): Renamed from collect_list.
20796 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20797 (gst_value_list_or_array_peek_pointer): Renamed from
20799 (_gst_value_array_value_table, _gst_value_list_value_table):
20800 Update value table functions.
20801 (gst_value_compare_list_or_array): Renamed from compare_list.
20803 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20806 * gst/gsttaglist.c:
20807 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20808 GstTagList*. Fixes #143472.
20810 * gst/gststructure.h: Clarify what the foreach/map functions can
20811 or can't do to their arguments.
20813 2005-11-18 Wim Taymans <wim@fluendo.com>
20815 * gst/gstclock.c: (gst_clock_set_calibration),
20816 (gst_clock_get_calibration):
20818 Calibration can be set with internal time equal to current
20821 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20827 2005-11-18 Andy Wingo <wingo@pobox.com>
20830 * pkgconfig/gstreamer-net.pc.in:
20831 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20832 * pkgconfig/Makefile.am: Add net pkgconfig files.
20834 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20837 * gst/gstghostpad.c:
20843 2005-11-18 Andy Wingo <wingo@pobox.com>
20845 * gst/net/gstnetclientclock.c: Turn off debugging.
20847 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20848 times connverge somewhat. Can't make a real test.
20850 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20851 integer arithmetic. Return the minimum of the domain, which can be
20852 set as "internal" for gst_clock_set_calibration.
20853 (gst_net_client_clock_observe_times): Call _set_calibration.
20854 (gst_net_client_clock_new): Call _set_calibration instead of
20857 * check/net/gstnetclientclock.c (test_functioning): Use the right
20861 * gst/gstclock.c (gst_clock_get_calibration)
20862 (gst_clock_set_calibration): New functions, obsolete the ones I
20863 added yesterday. Doh. Precision issues mean we have to extrapolate
20864 from a point in the more recent past than 1970.
20865 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20867 (gst_clock_adjust_unlocked): Use the right calibration data.
20869 2005-11-18 Edward Hervey <edward@fluendo.com>
20871 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20872 Also reset the ->current_* values in READY->PAUSED
20874 2005-11-18 Andy Wingo <wingo@pobox.com>
20876 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20877 Whoops, check the right fd. Also add some debugging.
20878 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20879 (do_linear_regression): Add a crapload of debugging. Subtract off
20880 the minimum values from the input series to discard unneeded bits.
20881 Use only int arithmetic. There is still double arithmetic when
20882 calculating the intercept that needs fixing. Return boolean to
20883 indicate success; FALSE would mean the domain or range is too
20884 great. Still needs fixes.
20886 2005-11-18 Wim Taymans <wim@fluendo.com>
20888 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20889 For the current position in stream time, we need to subtract
20892 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20893 Release lock before calling the callback function of async
20896 2005-11-18 Andy Wingo <wingo@pobox.com>
20898 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20899 Port goes all the way to MAXUINT16.
20901 * gst/net/gstnettimeprovider.c: Make the port range the same as
20902 for the kernel: 0 assigns, otherwise ports are less than
20905 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20908 * check/net/gstnetclientclock.c (test_functioning): Add the start
20911 2005-11-18 Wim Taymans <wim@fluendo.com>
20913 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20914 (gst_bin_remove_func), (bin_bus_handler):
20916 Removing a clock provider from a bin, triggers a clock lost message
20917 so that a new clock will be selected.
20918 Adding a clock to a bin triggers a clock provider message.
20919 Make sure we reselect a clock when we received a clock lost message.
20920 Keep a reference to the element that provided the clock.
20922 2005-11-18 Andy Wingo <wingo@pobox.com>
20924 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20925 the clock initially so it produces values around the base time.
20926 (gst_net_client_clock_class_init): Typo fix.
20927 (gst_net_client_clock_thread): Add note on when the socket gets
20930 2005-11-17 Wim Taymans <wim@fluendo.com>
20932 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20933 Free remote and local time arrays.
20935 2005-11-17 Wim Taymans <wim@fluendo.com>
20937 * gst/net/gstnetclientclock.c: (do_linear_regression),
20938 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20939 Fix compilation, uninitialized vars and a forgotten continue.
20941 2005-11-17 Andy Wingo <wingo@pobox.com>
20943 * check/Makefile.am (check_PROGRAMS):
20944 * check/net/gstnetclientclock.c: Add a most minimal test for the
20945 net client clock. More to come later.
20947 * gst/net/gstnet.h:
20948 * gst/net/Makefile.am: Add netclientclock.
20950 * gst/net/gstnetclientclock.h:
20951 * gst/net/gstnetclientclock.c: New files, implement an untested
20952 GstClock that takes its time from a network time provider.
20953 Implements the algorithm in network-clock.scm.
20955 * tests/network-clock.scm (*window-size*): Rename from
20957 * tests/network-clock.scm (network-time):
20958 * tests/network-clock-utils.scm (q-push): Update callers.
20960 2005-11-17 Wim Taymans <wim@fluendo.com>
20962 * gst/gstbin.c: (gst_bin_provide_clock_func),
20963 (gst_bin_sort_iterator_new):
20964 And unref the child too..
20966 2005-11-17 Wim Taymans <wim@fluendo.com>
20968 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20969 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20970 Refactor the sort iterator so it can be used while holding the
20972 Make clock selection select a clock closest to the source.
20974 2005-11-17 Michael Smith <msmith@fluendo.com>
20976 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20977 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20979 Anonymous structs are a gcc (and some other compilers) extension, so
20980 don't use them. Since this is only for ABI-compatibility, and our
20981 API/ABI freeze is over in a few days, this whole thing will only
20982 last a few days, so don't bother trying to think up a meaningful
20983 name for the struct.
20985 2005-11-17 Andy Wingo <wingo@pobox.com>
20987 * gst/gstclock.h (GstClock): Add rate and offset properties,
20988 preserving ABI stability. Add rate/offset accessors. Will file bug
20989 for the freeze break.
20991 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20992 and offset, trying to keep precision and avoiding
20993 underflow/overflow.
20994 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20995 functions. Make gst_clock_set_time_adjust obsolete.
20996 (gst_clock_set_time_adjust): Note that this function is obsolete.
20997 Will file bug soon.
20999 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21000 greppable by using GST_PADDING-1+1.
21002 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21004 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21006 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21007 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21009 * gst/gstpadtemplate.h:
21010 * gst/gstpluginfeature.h:
21011 Don't use c++ style comments in headers (#321638).
21013 2005-11-16 Andy Wingo <wingo@pobox.com>
21015 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21018 * check/net/gstnettimeprovider.c: Check to see that the time
21019 provider actually provides times. Works, yo!
21021 2005-11-16 Wim Taymans <wim@fluendo.com>
21023 * check/Makefile.am:
21026 * check/elements/fakesrc.c: (GST_START_TEST):
21027 Set element to NULL before disposing it.
21029 2005-11-16 Andy Wingo <wingo@pobox.com>
21031 * gst/net/Makefile.am:
21032 * gst/net/gstnet.h:
21033 * gst/net/gstnettimeprovider.c:
21034 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21035 provider, include it from gstnet.h, and add it to the build.
21037 * gst/net/gstnettimepacket.h:
21038 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21039 sending and receiving.
21041 2005-11-16 Wim Taymans <wim@fluendo.com>
21043 * check/Makefile.am:
21044 Enable valgrind check.
21046 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21047 (gst_fake_src_alloc_buffer):
21050 2005-11-16 Wim Taymans <wim@fluendo.com>
21052 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21053 Call parent finalize too.
21055 2005-11-16 Wim Taymans <wim@fluendo.com>
21057 * check/Makefile.am:
21058 Enable valgrind check that should work fine now.
21060 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21061 * gst/gstqueue.c: (gst_queue_init):
21062 Fix memleaks in pad allocation.
21064 2005-11-16 Andy Wingo <wingo@pobox.com>
21066 * gst/net/Makefile.am:
21067 * gst/net/gstnet.h: New part of core to hold network elements and
21068 objects. Put in core because it exposes API that applications want
21069 to use. The library is named libgstnet-tempname right now because
21070 of the existing libgstnet in gst-plugins-base. Solution is
21071 probably to rename the one in plugins-base; will file a bug for
21074 * gst/net/gstnettimeprovider.c:
21075 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21076 get_time call over the network.
21079 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21081 * check/Makefile.am:
21082 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21083 get additions shortly.
21085 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21087 * gst/gstpad.c: (gst_pad_new_from_static_template):
21089 add gst_pad_new_from_static_template functions
21090 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21091 (gst_check_setup_sink_pad):
21092 * gst/elements/gsttee.c: (gst_tee_init):
21095 2005-11-16 Wim Taymans <wim@fluendo.com>
21097 * gst/gstpad.c: (gst_pad_pause_task):
21098 Removed warning, it's not really an error either.
21100 2005-11-16 Wim Taymans <wim@fluendo.com>
21102 * gst/base/gstbasetransform.c:
21103 (gst_base_transform_prepare_output_buf),
21104 (gst_base_transform_event):
21105 Check if the caps are NULL, this can happen if the element
21106 is shutting down and the pad caps are set to NULL.
21108 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21110 * gst/elements/gsttee.c: (gst_tee_init):
21111 fix pad template leak in tee
21113 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21115 * gst/glib-compat.c: (g_value_dup_gst_object):
21116 * gst/glib-compat.h:
21117 * gst/gstpad.c: (gst_pad_set_property):
21118 use gst_object_ref when setting the pad template; this will
21119 trigger the pad template leaks on GLib 2.6 and the slaves
21121 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21123 * gst/glib-compat.c: (gst_flags_get_first_value):
21124 * gst/glib-compat.h:
21125 * gst/gstregistryxml.c:
21126 remove functions copied from GLib 2.6
21128 2005-11-16 Michael Smith <msmith@fluendo.com>
21131 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21132 do, but only breaks with newer valgrind versions. We're not a
21133 valgrind tool, we have no link-time dependencies on libcoregrind.
21135 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21137 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21139 * gst/gstmessage.h:
21142 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21144 * gst/base/gstbasesrc.c: (gst_base_src_init):
21145 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21146 * gst/gstqueue.c: (gst_queue_init):
21147 * gst/gstregistryxml.c: (load_feature):
21148 Revert all these unrefs, they don't even pass make check !
21150 2005-11-15 Johan Dahlin <johan@gnome.org>
21152 * gst/base/gstbasesrc.c: (gst_base_src_init):
21153 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21154 * gst/gstqueue.c: (gst_queue_init):
21155 Free pad templates, fixes a couple of leaks.
21157 2005-11-15 Daniel Fischer <dan at f3c dot com>
21159 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21161 * gst/gstpad.c: (gst_pad_get_property):
21162 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21163 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21166 2005-11-15 Wim Taymans <wim@fluendo.com>
21171 2005-11-15 Andy Wingo <wingo@pobox.com>
21173 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21175 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21176 using GST_CLOCK_TIME_NONE to disable base time management.
21177 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21178 time if it was NONE before.
21179 (gst_pipeline_change_state): Only munge the base time if
21180 stream_time != GST_CLOCK_TIME_NONE.
21182 * check/gst/gstpipeline.c (test_base_time): Punt around the
21183 problem of the probe not being called, because that's not the
21184 issue I'm looking at. Add a check that setting stream_time to NONE
21185 disables base time management.
21187 2005-11-15 Wim Taymans <wim@fluendo.com>
21189 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21190 segment_stop == -1 at startup.
21192 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21193 (gst_base_transform_change_state):
21194 Init segment values at start.
21196 2005-11-15 Wim Taymans <wim@fluendo.com>
21198 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21199 0 segment values are 0 in any format.
21201 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21202 * gst/base/gstbasetransform.h:
21203 Parse newsegment correctly in basetransform
21205 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21206 Sync to clock using updated segment values.
21208 2005-11-15 Andy Wingo <wingo@pobox.com>
21210 * check/gst/gstpipeline.c (test_base_time): Add check that the
21211 base time and stream time are reset correctly.
21213 2005-11-15 Wim Taymans <wim@fluendo.com>
21215 * docs/design/part-TODO.txt:
21216 Some more TODO items.
21218 2005-11-15 Andy Wingo <wingo@pobox.com>
21220 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21221 error if the user selected "no clock" as the clocking method.
21223 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21224 timestamps with live capture.
21226 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21227 is 0 but we are a live source, timestamp the buffers using the
21230 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21232 * docs/gst/gstreamer-sections.txt:
21234 * gst/gstghostpad.c:
21239 2005-11-14 Wim Taymans <wim@fluendo.com>
21242 add suppressions from Wim's Debian machine
21244 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21247 add suppressions from Andy's AMD64 Ubuntu machine
21249 2005-11-14 Andy Wingo <wingo@pobox.com>
21251 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21252 STATE_LOCK not necessary. Fixes #311489.
21254 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21257 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21258 this function is not implemented.
21260 2005-11-14 Julien MOUTTE <julien@moutte.net>
21262 * gst/base/gstbasetransform.c:
21263 (gst_base_transform_prepare_output_buf):
21264 Ref the source pad caps while we need them.
21267 2005-11-11 Wim Taymans <wim@fluendo.com>
21269 * docs/gst/gstreamer-sections.txt:
21270 Added some docs for GstCollectData.
21272 * gst/base/gstadapter.c:
21273 Some small code example fix.
21275 * gst/base/gstcollectpads.c:
21276 * gst/base/gstcollectpads.h:
21277 Document some more.
21279 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21281 * configure.ac: back to HEAD
21283 === release 0.9.5 ===
21285 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21288 releasing 0.9.5, "Bike Lunch Day"
21290 2005-11-11 Wim Taymans <wim@fluendo.com>
21292 * gst/gstbuffer.c: (_gst_buffer_copy):
21295 * gst/gstcaps.c: (gst_caps_is_equal):
21297 Make _is_equal fast in the trivial cases.
21299 * gst/gstminiobject.c:
21300 * gst/gstminiobject.h:
21301 More docs. Spifify .h file.
21306 2005-11-11 Wim Taymans <wim@fluendo.com>
21308 * gst/base/gstbasetransform.c:
21309 (gst_base_transform_prepare_output_buf),
21310 (gst_base_transform_handle_buffer):
21312 If we're processing a buffer and need to allocate an output
21313 buffer, we cannot accept a format change. If we did get a
21314 format change, we have to alloc a buffer ourselves of the
21317 2005-11-11 Wim Taymans <wim@fluendo.com>
21319 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21320 While checking the flag for reentrancy in the gstcaps function
21321 is nice to detect recursive invocations, it also makes it
21322 impossible to call getcaps from multiple threads, which must be
21323 possible. So, checking for recursive calls has to go.
21325 2005-11-11 Michael Smith <msmith@fluendo.com>
21327 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21328 Don't sync on buffers that fall partially outside our current
21329 segment. Prevents an assertion failure/abort playing some files.
21331 2005-11-10 Andy Wingo <wingo@pobox.com>
21333 * check/gst/gstbin.c (test_message_state_changed_children): Style
21336 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21337 gst_bus_poll with the signal watch. Ensures that poll and a signal
21338 watch see the same messages.
21340 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21341 a poll and a watch at the same time get the same messages.
21343 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21345 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21346 * gst/gstcaps.c: (gst_caps_intersect):
21347 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21348 and it's not needed.
21350 2005-11-10 Wim Taymans <wim@fluendo.com>
21352 * docs/design/part-TODO.txt:
21355 2005-11-10 Wim Taymans <wim@fluendo.com>
21357 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21358 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21359 (gst_base_src_do_sync), (gst_base_src_get_range):
21360 Implement clock sync in base class.
21362 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21364 patch by: Tim-Philipp Müller <tim at centricular dot net>
21366 * gst/gststructure.c: (gst_structure_parse_field),
21367 (gst_structure_from_string):
21368 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21369 so that gst_parse_launch() can deal with spaces in filtered link
21370 caps (fixes #164479)
21371 * check/gst/capslist.h:
21372 * check/gst/gststructure.c: (GST_START_TEST):
21373 add unit tests for this change
21375 2005-11-10 Wim Taymans <wim@fluendo.com>
21377 * docs/gst/gstreamer-sections.txt:
21378 * gst/gstelement.c:
21379 * gst/gstelement.h:
21380 Fix docs, move some STATE macros to private.
21382 2005-11-10 Wim Taymans <wim@fluendo.com>
21384 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21385 Added check for bug #317341
21389 Some more spiffifying.
21391 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21392 Call peer linkfunction if we are a source pad. Totally fixes
21396 Update docs, source pads should call the peer linkfunction
21397 so they can atomically perform the pad link.
21399 2005-11-09 Wim Taymans <wim@fluendo.com>
21403 Uber-spiffy-spiffify some more.
21405 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21407 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21408 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21409 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21410 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21411 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21412 * gst/gstpad.c: (gst_pad_init):
21413 Use GST_DEBUG_FUNCPTR() more extensively.
21415 2005-11-09 Wim Taymans <wim@fluendo.com>
21417 * gst/gstobject.c: (gst_object_class_init):
21419 Documentation fixes.
21421 2005-11-09 Edward Hervey <edward@fluendo.com>
21423 * gst/gsttypefindfactory.c:
21426 2005-11-09 Edward Hervey <edward@fluendo.com>
21428 * gst/base/gsttypefindhelper.c:
21429 * gst/gsttypefind.c:
21430 * gst/gsttypefind.h:
21433 2005-11-09 Wim Taymans <wim@fluendo.com>
21435 * gst/gstiterator.c:
21442 2005-11-09 Wim Taymans <wim@fluendo.com>
21448 2005-11-09 Wim Taymans <wim@fluendo.com>
21450 * docs/gst/gstreamer-sections.txt:
21451 Moved the message async delivery private lock and cond
21452 to the private section.
21454 * gst/gstmessage.c:
21455 * gst/gstmessage.h:
21458 2005-11-09 Edward Hervey <edward@fluendo.com>
21460 * docs/gst/gstreamer-sections.txt:
21463 Document GstURIHandler
21465 2005-11-09 Wim Taymans <wim@fluendo.com>
21467 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21468 (gst_iterator_find_custom):
21469 * gst/gstiterator.h:
21472 2005-11-09 Wim Taymans <wim@fluendo.com>
21475 Document another field.
21477 * gst/gststructure.c:
21478 * gst/gststructure.h:
21481 2005-11-09 Wim Taymans <wim@fluendo.com>
21484 Documented structs.
21486 2005-11-09 Wim Taymans <wim@fluendo.com>
21488 * docs/gst/gstreamer-sections.txt:
21489 Added some new macros.
21496 2005-11-09 Wim Taymans <wim@fluendo.com>
21498 * docs/design/part-TODO.txt:
21499 Some more items for the TODO
21505 2005-11-09 Andy Wingo <wingo@pobox.com>
21507 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21508 to work on something else now tho...
21510 * gst/base/gstadapter.c: More adapter docs.
21512 * gst/elements/gstfilesink.c (gst_file_sink_start)
21513 (gst_file_sink_stop): New functions, replace the state change
21515 (gst_file_sink_class_init): Hook up the start and stop functions.
21516 (gst_file_sink_base_init): Don't set the state change handler any
21517 more. It was a bit ugly too, being set from here...
21518 (gst_file_sink_get_property, gst_file_sink_set_property):
21520 (gst_file_sink_set_location): More robust check that doesn't call
21521 GST_STATE. Ugggggg.
21523 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21525 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21526 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21528 2005-11-08 Wim Taymans <wim@fluendo.com>
21530 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21531 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21532 (gst_base_sink_chain), (gst_base_sink_change_state):
21533 * gst/base/gstbasesink.h:
21534 * gst/base/gstbasesrc.h:
21535 * gst/gstelement.h:
21537 Avoid excessive typechecking in macros.
21539 * gst/gstminiobject.c: (gst_mini_object_get_type),
21540 (gst_mini_object_init), (gst_mini_object_new),
21541 (gst_mini_object_free):
21542 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21543 (gst_object_finalize):
21544 Remove cruft code, optimize alloc_trace.
21546 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21548 * docs/faq/gst-uninstalled:
21549 fix up PS1 for systems that try to reset it
21551 2005-11-07 Wim Taymans <wim@fluendo.com>
21553 * gst/base/gstbasesrc.c: (gst_base_src_init),
21554 (gst_base_src_get_range):
21555 Set the segment_end to -1 initially. Fixed typefind.
21557 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21559 * gst/base/gstadapter.c:
21560 Debug category should be 'adapter', not 'GstAdapter'.
21562 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21563 (gst_collectpads_class_init), (gst_collectpads_init),
21564 (gst_collectpads_peek), (gst_collectpads_pop),
21565 (gst_collectpads_event), (gst_collectpads_chain):
21566 Add debug category and some debugging output. Use boilerplate
21567 macros. Remove some extraneous words from docs.
21569 2005-11-05 Andy Wingo <wingo@pobox.com>
21571 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21574 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21576 * docs/gst/gstreamer-sections.txt:
21579 * gst/gstminiobject.h:
21584 2005-11-04 Wim Taymans <wim@fluendo.com>
21586 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21587 Small update to stop at the configured segment_end
21590 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21592 * gst/gstregistry.c:
21593 * gst/gstregistry.h:
21596 2005-11-04 Edward Hervey <edward@fluendo.com>
21598 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21599 Check if we are doing a segment seek and have arrived at the
21600 end of that segment.
21602 2005-11-04 Wim Taymans <wim@fluendo.com>
21604 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21605 Don't leak a mutex unlock in case of an error.
21610 2005-11-04 Wim Taymans <wim@fluendo.com>
21612 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21614 Get the context to wake up only once.
21616 2005-11-03 Wim Taymans <wim@fluendo.com>
21618 * check/states/sinks.c: (GST_START_TEST):
21619 Uncomment fixed check.
21621 * docs/design/part-TODO.txt:
21624 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21625 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21626 (gst_base_sink_get_position):
21627 If we are going to PLAYING, post the right pending state
21628 when we post the intermediate paused message.
21630 * gst/gstelement.c: (gst_element_continue_state),
21631 (gst_element_set_state_func), (gst_element_change_state):
21632 Don't post state changes that were between the same state
21633 and were not ASYNC.
21635 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21637 * docs/gst/gstreamer-sections.txt:
21640 * gst/gstminiobject.h:
21643 more docs and doc style fixes
21645 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21647 * docs/gst/gstreamer-sections.txt:
21648 * gst/gstelement.c:
21649 * gst/gstminiobject.c:
21652 2005-11-03 Andy Wingo <wingo@pobox.com>
21654 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21655 state-changed messages actually have the right order and the right
21658 2005-11-03 Wim Taymans <wim@fluendo.com>
21660 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21661 Added some more checks. Specifically the case where NO_PREROLL
21662 elements are in the pipeline.
21664 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21665 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21666 (gst_base_sink_get_position):
21667 Post READY->PAUSED state change messages too.
21668 Fix bug where VOID was posted as pending state...
21670 * gst/gstbin.c: (gst_bin_recalc_state):
21671 use _element_continue_state() to continue the state change.
21673 * gst/gstelement.c: (gst_element_continue_state),
21674 (gst_element_commit_state), (gst_element_set_state_func),
21675 (gst_element_change_state), (gst_element_change_state_func):
21676 Lots of state change cleanups, assign the STATE_RETURN in
21677 a new continue_state() function that also propagates the
21678 last return value from a state change to the app.
21679 Update some debug statements with proper category.
21681 2005-11-03 Wim Taymans <wim@fluendo.com>
21683 * docs/design/part-events.txt:
21684 * docs/design/part-gstpipeline.txt:
21685 * docs/design/part-messages.txt:
21686 * docs/design/part-overview.txt:
21687 * docs/design/part-seeking.txt:
21688 * docs/design/part-states.txt:
21689 * docs/design/part-trickmodes.txt:
21690 * docs/manual/advanced-position.xml:
21691 Small docs updates.
21694 People think !! is ugly, this looks better.
21696 * gst/gstpad.c: (gst_pad_set_blocked_async):
21697 Remove !! since it's fixed elsewhere now.
21699 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21701 * gst/gstminiobject.h:
21703 Add !! to _FLAG_IS_SET macros to make the result boolean.
21705 2005-11-03 Edward Hervey <edward@fluendo.com>
21707 * gst/gstpad.c: (gst_pad_set_blocked_async):
21708 comparing a flag and a gboolean rarely returns coherent results...
21709 Added two characters (!!) to make that work correctly.
21711 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21713 * gst/gstbus.c: (gst_bus_class_init):
21716 * gst/gstqueue.c: (gst_queue_loop):
21717 Don't assume a miniobject that isn't a buffer is an
21718 event (it could be that there is a refcounting
21719 problem somewhere and the pointer is stale and
21720 refers to an already destroyed miniobject).
21722 2005-11-03 Julien MOUTTE <julien@moutte.net>
21724 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21726 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21728 * docs/manual/advanced-position.xml:
21729 Update seek example and explanations to current 0.9 API.
21731 * gst/elements/gsttypefindelement.c:
21732 (gst_type_find_element_activate):
21733 Remove FIXME comment now that the found caps
21736 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21738 * gst/gstregistryxml.c: (load_feature):
21739 Add another GST_STR_NULL instance
21741 2005-11-02 Edward Hervey <edward@fluendo.com>
21743 * gst/gstpad.c: (handle_pad_block):
21744 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21746 2005-11-02 Wim Taymans <wim@fluendo.com>
21751 * gst/gstelement.c: (gst_element_commit_state):
21752 Remove unused value.
21754 * gst/gstiterator.c:
21755 Mention that the returned element is reffed in the docs.
21757 2005-11-02 Wim Taymans <wim@fluendo.com>
21759 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21760 (gst_pad_push), (gst_pad_push_event):
21761 Unlock blocked pads when they are flushed.
21763 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21766 * docs/gst/gstreamer-sections.txt:
21769 * gst/gstregistry.c: (gst_registry_scan_path_level):
21770 fix for a nasty little missed situation where an installed plug-in
21771 which was in the cache did not get overridden by an uninstalled one
21772 which was earlier in the plugin path because the newly created plugin
21773 for the uninstalled one (not in the registry) didn't get its
21774 ->registered set to TRUE
21776 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21778 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21779 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21780 (gst_collectpads_is_active), (gst_collectpads_collect),
21781 (gst_collectpads_collect_range), (gst_collectpads_start),
21782 (gst_collectpads_stop), (gst_collectpads_peek),
21783 (gst_collectpads_pop), (gst_collectpads_available),
21784 (gst_collectpads_read), (gst_collectpads_flush):
21785 Guard public API with assertions.
21788 Fix docs for gst_pad_set_link_function().
21790 2005-11-02 Johan Dahlin <johan@gnome.org>
21792 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21793 Unref found_caps after we used it.
21795 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21797 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21798 Don't try to ref NULL.
21800 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21802 * win32/common/config.h.in:
21803 provide a GST_FUNCTION that just gives a string for now
21805 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21807 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21808 (gst_object_flags_get_type), (register_gst_bin_flags),
21809 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21810 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21811 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21812 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21813 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21814 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21815 (gst_clock_flags_get_type), (register_gst_state),
21816 (gst_state_get_type), (register_gst_state_change_return),
21817 (gst_state_change_return_get_type), (register_gst_state_change),
21818 (gst_state_change_get_type), (register_gst_element_flags),
21819 (gst_element_flags_get_type), (register_gst_core_error),
21820 (gst_core_error_get_type), (register_gst_library_error),
21821 (gst_library_error_get_type), (register_gst_resource_error),
21822 (gst_resource_error_get_type), (register_gst_stream_error),
21823 (gst_stream_error_get_type), (register_gst_event_type),
21824 (gst_event_type_get_type), (register_gst_seek_type),
21825 (gst_seek_type_get_type), (register_gst_seek_flags),
21826 (gst_seek_flags_get_type), (register_gst_format),
21827 (gst_format_get_type), (register_gst_index_certainty),
21828 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21829 (gst_index_entry_type_get_type),
21830 (register_gst_index_lookup_method),
21831 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21832 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21833 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21834 (gst_index_flags_get_type), (register_gst_debug_level),
21835 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21836 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21837 (gst_iterator_result_get_type), (register_gst_iterator_item),
21838 (gst_iterator_item_get_type), (register_gst_message_type),
21839 (gst_message_type_get_type), (register_gst_mini_object_flags),
21840 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21841 (gst_pad_link_return_get_type), (register_gst_flow_return),
21842 (gst_flow_return_get_type), (register_gst_activate_mode),
21843 (gst_activate_mode_get_type), (register_gst_pad_direction),
21844 (gst_pad_direction_get_type), (register_gst_pad_flags),
21845 (gst_pad_flags_get_type), (register_gst_pad_presence),
21846 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21847 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21848 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21849 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21850 (gst_plugin_flags_get_type), (register_gst_rank),
21851 (gst_rank_get_type), (register_gst_query_type),
21852 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21853 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21854 (gst_tag_flag_get_type), (register_gst_task_state),
21855 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21856 (gst_alloc_trace_flags_get_type),
21857 (register_gst_type_find_probability),
21858 (gst_type_find_probability_get_type), (register_gst_uri_type),
21859 (gst_uri_type_get_type), (register_gst_parse_error),
21860 (gst_parse_error_get_type):
21861 * win32/common/gstversion.h:
21862 update win32 copies
21864 2005-11-01 Luca Ognibene <luogni@tin.it>
21867 fix docs. popt is dead, long live GOption.
21869 2005-10-31 Wim Taymans <wim@fluendo.com>
21874 2005-10-31 Andy Wingo <wingo@pobox.com>
21878 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21880 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21881 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21882 the possibility of deadlocks here if code calling notify() or
21883 set() has a lock that can be taken in another notify handler (ABBA
21884 with class lock and e.g. python GIL state lock).
21886 2005-10-28 Julien MOUTTE <julien@moutte.net>
21888 * gst/gstbus.c: Doc updates.
21890 2005-10-28 Wim Taymans <wim@fluendo.com>
21892 * docs/design/part-TODO.txt:
21893 * gst/gstiterator.c:
21894 * gst/gstsystemclock.c:
21895 * gst/gstsystemclock.h:
21898 2005-10-28 Edward Hervey <edward@fluendo.com>
21900 * docs/gst/gstreamer-docs.sgml:
21901 * docs/gst/gstreamer-sections.txt:
21902 the GstURIType documentation page is private, it only defines GstURIType
21903 which should be defined in the GstURIHandler page
21905 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21907 * gst/gstbin.c: (gst_bin_class_init):
21910 Documentation updates.
21912 2005-10-28 Wim Taymans <wim@fluendo.com>
21914 * docs/gst/gstreamer-sections.txt:
21917 Documented the clocks.
21919 2005-10-28 Stefan Kost <ensonic@users.sf.net>
21921 * docs/gst/gstreamer-sections.txt:
21922 move some macros to private sections
21923 * gst/gstminiobject.c:
21924 * gst/gstminiobject.h:
21925 add descriptions provided by ds and some more
21927 mark macro as to be removed
21929 2005-10-28 Wim Taymans <wim@fluendo.com>
21931 * docs/design/part-TODO.txt:
21932 Add an item to TODO.
21934 * gst/gstiterator.c: (gst_iterator_fold),
21935 (gst_iterator_find_custom):
21936 * gst/gstiterator.h:
21939 2005-10-28 Wim Taymans <wim@fluendo.com>
21941 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21942 (gst_base_transform_init):
21945 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21946 An EOS event marks the queue as completely filled.
21948 2005-10-27 Wim Taymans <wim@fluendo.com>
21950 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21951 (gst_base_sink_do_sync), (gst_base_sink_get_position):
21952 Some more debugging.
21954 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21955 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21956 (gst_base_transform_event), (gst_base_transform_getrange),
21957 (gst_base_transform_chain):
21958 * gst/base/gstbasetransform.h:
21960 Protect transform and concurrent buffer alloc with a new lock.
21961 Try not to break ABI/API.
21963 2005-10-27 Wim Taymans <wim@fluendo.com>
21965 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21966 (gst_base_src_init), (gst_base_src_query),
21967 (gst_base_src_default_newsegment),
21968 (gst_base_src_configure_segment), (gst_base_src_do_seek),
21969 (gst_base_src_send_event), (gst_base_src_event_handler),
21970 (gst_base_src_pad_get_range), (gst_base_src_loop),
21971 (gst_base_src_unlock), (gst_base_src_default_negotiate),
21972 (gst_base_src_start), (gst_base_src_deactivate),
21973 (gst_base_src_activate_push), (gst_base_src_change_state):
21974 Move some stuff around and cleanup things.
21976 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
21978 * gst/base/gstbasesrc.c: (gst_base_src_query):
21979 Add missing break statements.
21981 2005-10-27 Wim Taymans <wim@fluendo.com>
21983 * check/gst/gstbin.c: (GST_START_TEST):
21984 An extra refcount is taken in basesrc.
21986 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21987 (gst_base_src_get_range), (gst_base_src_pad_get_range),
21988 (gst_base_src_loop):
21989 Small cleanups, check for flushing after being unlocked from the
21990 LIVE_LOCK. take refcounts correctly (not yet everywhere).
21991 Don't send out EOS when going to READY.
21993 2005-10-27 Wim Taymans <wim@fluendo.com>
21995 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21996 (gst_base_sink_get_position):
21999 * gst/gstbin.c: (message_check), (bin_replace_message),
22000 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22001 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22002 (bin_query_duration_init), (bin_query_duration_fold),
22003 (bin_query_duration_done), (bin_query_generic_fold),
22005 * tools/gst-launch.c: (main):
22008 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22010 * examples/controller/audio-example.c: (main):
22011 * examples/queue/queue.c: (event_loop):
22012 * gst/base/gstbasetransform.h:
22013 * gst/gstelement.c: (gst_element_send_event):
22015 * gst/gstpad.c: (gst_pad_send_event):
22018 changing log priority in error situations
22020 2005-10-25 Wim Taymans <wim@fluendo.com>
22022 * gst/gstbin.c: (message_check), (bin_replace_message),
22023 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22024 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22025 (bin_query_duration_init), (bin_query_duration_fold),
22026 (bin_query_duration_done), (bin_query_generic_fold),
22028 Some doc and debug updates.
22029 Cache previously requested query DURATION for speed. invalidate
22030 cached duration if element posts a DURATION message.
22032 2005-10-25 Wim Taymans <wim@fluendo.com>
22034 * docs/design/part-TODO.txt:
22037 * gst/gstbin.c: (message_check), (bin_replace_message),
22038 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22039 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22040 (bin_query_duration_init), (bin_query_duration_fold),
22041 (bin_query_duration_done), (bin_query_generic_fold),
22043 Handle SEGMENT_START/DONE messages correctly.
22044 More evolved query algorithm that handles duration queries
22047 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22048 (gst_element_get_state_func), (gst_element_abort_state),
22049 (gst_element_commit_state), (gst_element_lost_state):
22050 Some more debugging.
22052 * gst/gstmessage.h:
22055 2005-10-25 Wim Taymans <wim@fluendo.com>
22057 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22058 Don't use invalid stream_time.
22060 * gst/gstevent.c: (gst_event_new_newsegment):
22061 stream_time in newsegment cannot be undefined.
22063 2005-10-24 Wim Taymans <wim@fluendo.com>
22068 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22070 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22072 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22074 * docs/libs/tmpl/gstdparam.sgml:
22075 * docs/libs/tmpl/gstdplinint.sgml:
22076 * docs/libs/tmpl/gstdpman.sgml:
22077 * docs/libs/tmpl/gstdpsmooth.sgml:
22078 * docs/libs/tmpl/gstunitconvert.sgml:
22081 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22086 === release 0.9.4 ===
22088 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22091 releasing 0.9.4, "Tyrannosaurus Rex"
22093 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22095 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22096 (gst_file_sink_get_current_offset):
22097 Use fseeko() and ftello() if available. When falling back on
22098 lseek() to get the current offset, fflush() first to make sure
22099 everything is up-to-date and we get the right offset.
22101 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22103 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22104 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22105 * gst/gsterror.c: (_gst_stream_errors_init):
22107 * gst/gstqueue.c: (gst_queue_loop):
22109 remove prematurely added error category and clean up the instances
22111 2005-10-21 Wim Taymans <wim@fluendo.com>
22113 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22114 (gst_base_sink_get_position), (gst_base_sink_query),
22115 (gst_base_sink_change_state):
22116 Simply set the right flag when going to playing, that's all
22117 we need to do instead of calling a function inside the object
22118 lock (that could take the lock as well and deadlock)
22120 2005-10-21 Wim Taymans <wim@fluendo.com>
22122 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22123 (gst_base_src_loop):
22124 Don't warn, the peer element knows what to do best when
22125 the seek failed, it might try something else.
22127 2005-10-21 Wim Taymans <wim@fluendo.com>
22129 * gst/base/gstbasesrc.c: (gst_base_src_init),
22130 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22133 2005-10-21 Wim Taymans <wim@fluendo.com>
22135 * docs/design/part-segments.txt:
22138 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22139 Correctly set caps, even on the subbufer.
22141 2005-10-21 Wim Taymans <wim@fluendo.com>
22143 * docs/gst/gstreamer-docs.sgml:
22144 * docs/gst/gstreamer-sections.txt:
22145 * gst/gstelement.h:
22148 * gst/gstmessage.h:
22151 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22155 And 2% more doc coverage.
22157 2005-10-21 Andy Wingo <wingo@pobox.com>
22159 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22160 position reporting.
22162 2005-10-20 Wim Taymans <wim@fluendo.com>
22164 * gst/gsterror.c: (gst_error_get_message):
22167 * gst/gststructure.c:
22172 2005-10-20 Wim Taymans <wim@fluendo.com>
22177 Another 1% more coverage.
22179 2005-10-20 Wim Taymans <wim@fluendo.com>
22181 * docs/gst/gstreamer-sections.txt:
22182 * gst/gstelement.c: (gst_element_get_state_func),
22183 (gst_element_abort_state), (gst_element_commit_state),
22184 (gst_element_lost_state):
22186 * gst/gstquery.c: (gst_query_set_position),
22187 (gst_query_parse_position), (gst_query_set_duration),
22188 (gst_query_parse_duration), (gst_query_new_convert):
22190 Yay! 1% more docs coverage.
22192 2005-10-20 Wim Taymans <wim@fluendo.com>
22195 * gst/gstquery.c: (gst_query_set_position),
22196 (gst_query_parse_position), (gst_query_set_duration),
22197 (gst_query_parse_duration), (gst_query_new_convert):
22199 * gst/gstutils.c: (gst_element_query_convert):
22201 Docs and consistency fixes.
22203 2005-10-20 Wim Taymans <wim@fluendo.com>
22209 2005-10-20 Wim Taymans <wim@fluendo.com>
22211 * gst/gstbin.c: (message_check), (bin_replace_message),
22212 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22213 (update_degree), (gst_bin_sort_iterator_next),
22214 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22215 Reworked the message handling a bit, cache the messages instead of
22216 only the senders. alows us to do more in the future.
22218 2005-10-20 Wim Taymans <wim@fluendo.com>
22220 * docs/design/part-TODO.txt:
22223 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22224 (gst_base_sink_query):
22225 Don't use clock time to report position when in EOS.
22227 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22229 * tools/gst-inspect.c: (print_interfaces),
22230 (print_element_properties_info), (print_element_info):
22231 Fix interface output with gst-inspect -a; don't print
22232 newlines after double/float properties.
22234 2005-10-20 Wim Taymans <wim@fluendo.com>
22236 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22237 (gst_base_sink_query):
22238 Speed up current position calculation.
22240 * gst/base/gstbasesrc.c: (gst_base_src_query),
22241 (gst_base_src_default_newsegment):
22242 Correctly set stream position in newsegment.
22244 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22245 (update_degree), (gst_bin_sort_iterator_next),
22246 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22247 * gst/gstmessage.c: (gst_message_new_custom):
22248 Clean up debugging info
22250 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22251 (gst_queue_loop), (gst_queue_handle_src_query):
22254 2005-10-19 Wim Taymans <wim@fluendo.com>
22256 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22257 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22258 Fix query handling again.
22260 2005-10-19 Wim Taymans <wim@fluendo.com>
22262 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22263 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22264 * gst/base/gstbasesrc.c: (gst_base_src_query):
22265 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22266 * gst/elements/gsttypefindelement.c:
22267 (gst_type_find_handle_src_query), (find_element_get_length),
22268 (gst_type_find_element_activate):
22271 * gst/gstquery.c: (gst_query_new_position),
22272 (gst_query_set_position), (gst_query_parse_position),
22273 (gst_query_new_duration), (gst_query_set_duration),
22274 (gst_query_parse_duration), (gst_query_set_segment),
22275 (gst_query_parse_segment):
22277 Bundling query position/duration is not a good idea since duration
22278 does not change much and we don't want to recalculate it for every
22279 position query, so they are separated again..
22280 Base value in segment query is not needed.
22282 * gst/gstqueue.c: (gst_queue_handle_src_query):
22283 * gst/gstutils.c: (gst_element_query_position),
22284 (gst_element_query_duration), (gst_pad_query_position),
22285 (gst_pad_query_duration):
22287 Updates for query API change.
22288 Added some docs here and there.
22290 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22292 * check/gst/gstbin.c: (GST_START_TEST):
22293 * check/gst/gstghostpad.c: (GST_START_TEST):
22294 * check/pipelines/cleanup.c: (GST_START_TEST):
22295 wait on thread to die so we can check refcount correctly
22297 2005-10-18 Wim Taymans <wim@fluendo.com>
22299 * check/pipelines/stress.c: (GST_START_TEST):
22300 Make check a little more time consuming.
22302 2005-10-18 Wim Taymans <wim@fluendo.com>
22304 * check/Makefile.am:
22305 * check/pipelines/stress.c: (GST_START_TEST),
22306 (simple_launch_lines_suite), (main):
22307 Small state change torture test.
22309 * docs/design/part-states.txt:
22310 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22311 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22312 (gst_base_sink_change_state):
22313 Never take state lock from streaming thread, clean up ugly
22314 hacks. Unfortunatly core does not yet support nice ways to
22315 async commit state.
22317 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22319 Start state recalc if a STATE_DIRTY message is posted, but only
22320 on the toplevel bin.
22322 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22323 (gst_element_get_state_func), (gst_element_abort_state),
22324 (gst_element_commit_state), (gst_element_lost_state),
22325 (gst_element_set_state_func), (gst_element_change_state):
22326 * gst/gstelement.h:
22327 State variables are now protected with the LOCK, the state
22328 lock is only used to serialize _set_state().
22330 2005-10-18 Wim Taymans <wim@fluendo.com>
22332 * check/gst/gstbin.c: (GST_START_TEST):
22333 * check/gst/gstmessage.c: (GST_START_TEST):
22334 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22335 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22337 * gst/gstelement.c: (gst_element_abort_state),
22338 (gst_element_commit_state), (gst_element_lost_state):
22339 * gst/gstmessage.c: (gst_message_new_state_changed),
22340 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22341 (gst_message_new_segment_done), (gst_message_new_duration),
22342 (gst_message_parse_state_changed),
22343 (gst_message_parse_segment_start),
22344 (gst_message_parse_segment_done), (gst_message_parse_duration):
22345 * gst/gstmessage.h:
22346 * tools/gst-launch.c: (event_loop):
22347 Seriously, this is better than a previous commit as we only need
22348 to notify the fact that an element changed state in a streaming
22349 thread, marking the state of the parents dirty, hence the
22350 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22353 2005-10-18 Wim Taymans <wim@fluendo.com>
22355 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22356 (gst_bin_recalc_func):
22357 * gst/gstelement.c: (gst_element_set_clock),
22358 (gst_element_abort_state), (gst_element_lost_state):
22359 Cleanups, prepare for state change fixes.
22361 2005-10-18 Wim Taymans <wim@fluendo.com>
22364 * gst/gstelement.c: (gst_element_class_init),
22365 (gst_element_set_state), (gst_element_set_state_func):
22366 * gst/gstelement.h:
22367 Pending ABI changes.
22368 GThreadPool in GstBinClass to monitor async state changes.
22369 state_cookie in GstElement to detect concurrent gst/set state.
22370 set_state is now virtual too in case a very complicated element
22371 has to be constructed.
22373 2005-10-18 Wim Taymans <wim@fluendo.com>
22375 * check/gst/gstbin.c: (GST_START_TEST):
22376 * check/gst/gstmessage.c: (GST_START_TEST):
22377 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22378 * gst/gstbin.c: (bin_bus_handler):
22379 * gst/gstelement.c: (gst_element_commit_state),
22380 (gst_element_lost_state):
22381 * gst/gstmessage.c: (gst_message_new_state_changed),
22382 (gst_message_new_segment_start), (gst_message_new_segment_done),
22383 (gst_message_new_duration), (gst_message_parse_state_changed),
22384 (gst_message_parse_segment_start),
22385 (gst_message_parse_segment_done), (gst_message_parse_duration):
22386 * gst/gstmessage.h:
22387 * tools/gst-launch.c: (event_loop):
22388 Make messages future proof.
22389 state-change gets a flag if it was a message comming from the
22391 segment-start/stop can also be specified in other formats.
22392 A message to notify an app that a pipeline changed playback
22394 Also fix a GstMessage leak in -launch
22396 2005-10-18 Andy Wingo <wingo@pobox.com>
22398 * gst/gstelement.c (gst_element_dispose): More helpful message.
22400 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22402 reviewed by: <delete if not using a buddy>
22404 * common/gtk-doc.mak:
22406 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22408 * gst/gstregistry.c: (gst_registry_scan_path_level):
22409 unref a plug-in we get that was already initialized
22411 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22413 * docs/gst/gstreamer-sections.txt:
22414 * docs/libs/gstreamer-libs-sections.txt:
22415 * gst/gstelement.h:
22416 add new api entries
22417 hide internal macro
22419 2005-10-17 Andy Wingo <wingo@pobox.com>
22421 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22424 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22426 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22428 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22429 (gst_element_get_state_func): Better debug message.
22430 (gst_element_commit_state): s/INFO/DEBUG/.
22431 (gst_element_lost_state, gst_element_change_state):
22433 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22434 (gst_message_new_custom): s/INFO/LOG/.
22436 2005-10-17 Michael Smith <msmith@fluendo.com>
22438 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22439 Check if end time is valid using end time, not start time.
22441 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22443 * check/gst-libs/controller.c: (GST_START_TEST),
22444 (gst_controller_suite):
22445 * libs/gst/controller/gstcontroller.c:
22446 (gst_controlled_property_set_interpolation_mode):
22447 * libs/gst/controller/gstcontroller.h:
22448 * libs/gst/controller/gstinterpolation.c:
22449 * testsuite/controller/.cvsignore:
22450 * testsuite/controller/Makefile.am:
22451 * testsuite/controller/interpolator.c:
22452 merge controller testsuites
22454 remove mem-chunk from docs
22456 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22458 * gst/gstmemchunk.c:
22459 * gst/gstmemchunk.h:
22460 * gst/gsttrashstack.c:
22461 * gst/gsttrashstack.h:
22462 out. get out. you're fired. to the Attic !
22464 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22466 * gst/gstcaps.c: (gst_caps_intersect):
22467 fix signedness issues in a (hopefully) correct way
22468 * gst/gstelement.c: (gst_element_pads_activate):
22470 * gst/gstobject.c: (gst_object_set_parent):
22473 2005-10-17 Julien MOUTTE <julien@moutte.net>
22475 * gst/gstvalue.h: Fix prototypes.
22477 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22479 * docs/gst/gstreamer-sections.txt:
22480 * gst/gst.c: (gst_version_string):
22482 * gst/gstversion.h.in:
22483 * win32/common/libgstreamer.def:
22484 add gst_version_string ()
22486 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22490 * gst/gst.c: (init_post):
22491 * win32/common/config.h.in:
22493 * gst/gstcaps.c: (gst_caps_intersect):
22494 use gint64, the range could be bigger than a guint
22496 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22499 document potential problem in 2038
22501 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22503 * gst/gstcaps.c: (gst_caps_intersect):
22504 Fix guint j diving under 0
22506 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22509 * win32/common/config.h:
22510 * win32/common/config.h.in:
22511 check for process.h, declares getpid() on Windows
22513 include process.h if we have it
22514 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22515 * gst/gstmemchunk.h:
22516 fix signedness issues
22517 * win32/common/libgstreamer.def:
22520 2005-10-16 Julien MOUTTE <julien@moutte.net>
22522 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22523 fix. Because of unsigned ints, caps intersection was going nuts and
22524 trying to access structures with G_MAXUINT index. That fixes
22525 videotestsrc ! ffmpegcolorspace ! fakesink
22526 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22529 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22532 use the gettext macro
22533 * gst/elements/gstelements.c:
22535 * gst/indexers/gstindexers.c:
22536 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22537 * win32/common/config.h:
22539 * win32/common/config.h.in:
22540 add the template to generate config.h
22541 * win32/common/gstenumtypes.c:
22542 * win32/common/gstversion.h:
22545 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22547 * gst/gst.c: (gst_version):
22548 * gst/gstversion.h.in:
22551 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22554 Oops, add missing closing bracket.
22556 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22559 use common m4's for argument checking
22561 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22563 * docs/gst/gstreamer-sections.txt:
22565 Add GST_EVENT_TYPE_NAME() macro.
22567 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22570 * gst/gstpluginfeature.c:
22572 privatize more symbols
22574 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22577 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22578 everything that uses GStreamer API should have the includes
22580 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22582 * docs/gst/gstreamer-sections.txt:
22583 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22585 give each value a _get_type, removes the DATA exports
22587 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22591 remove _gst_registry_auto_load, not used anymore
22592 * gst/gstbin.c: (gst_bin_get_type):
22594 * gst/gstelement.c: (gst_element_get_type):
22595 * gst/gstelement.h:
22596 * gst/gstobject.c: (gst_object_get_type):
22598 * gst/gstpad.c: (gst_pad_get_type):
22600 make _get_type functions similar, fixes data export from library
22602 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22605 correctly make conditionals
22606 * gst/elements/Makefile.am:
22607 * gst/elements/gstelements.c:
22608 fix typo causing fdsrc not to build
22610 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22612 * testsuite/Makefile.am:
22613 * testsuite/bytestream/.cvsignore:
22614 * testsuite/bytestream/Makefile.am:
22615 * testsuite/bytestream/filepadsink.c:
22616 * testsuite/bytestream/gstbstest.c:
22617 * testsuite/bytestream/test1.c:
22618 * testsuite/bytestream/testfile1:
22619 * testsuite/caps/normalisation.c:
22620 * testsuite/caps/random.c: (main):
22621 * testsuite/cleanup/.cvsignore:
22622 * testsuite/cleanup/Makefile.am:
22623 * testsuite/cleanup/cleanup1.c:
22624 * testsuite/cleanup/cleanup2.c:
22625 * testsuite/cleanup/cleanup3.c:
22626 * testsuite/cleanup/cleanup4.c:
22627 * testsuite/cleanup/cleanup5.c:
22628 * testsuite/controller/interpolator.c:
22629 * testsuite/debug/printf_extension.c: (main):
22630 * testsuite/elements/tee.c:
22631 * testsuite/negotiation/.cvsignore:
22632 * testsuite/negotiation/Makefile.am:
22633 * testsuite/negotiation/pad_link.c:
22634 * testsuite/pad/Makefile.am:
22635 * testsuite/pad/chainnopull.c:
22636 * testsuite/pad/getnopush.c:
22637 * testsuite/pad/link.c:
22638 * testsuite/refcounting/sched.c: (create_pipeline):
22639 * testsuite/registry/Makefile.am:
22640 * testsuite/registry/gst-print-formats.c:
22641 * testsuite/schedulers/.cvsignore:
22642 * testsuite/schedulers/142183-2.c:
22643 * testsuite/schedulers/142183.c:
22644 * testsuite/schedulers/143777-2.c:
22645 * testsuite/schedulers/143777.c:
22646 * testsuite/schedulers/147713.c:
22647 * testsuite/schedulers/147819.c:
22648 * testsuite/schedulers/147894-2.c:
22649 * testsuite/schedulers/147894.c:
22650 * testsuite/schedulers/Makefile.am:
22651 * testsuite/schedulers/group_link.c:
22652 * testsuite/schedulers/queue_link.c:
22653 * testsuite/schedulers/relink.c:
22654 * testsuite/schedulers/unlink.c:
22655 * testsuite/schedulers/unref.c:
22656 * testsuite/schedulers/useless_iteration.c:
22657 * testsuite/states/bin.c:
22658 clean out/remove some stuff from the testsuite directories
22660 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22663 check for some headers
22664 * gst/elements/Makefile.am:
22665 * gst/elements/gstelements.c:
22666 don't compile fdsrc without sys/socket.h
22667 * gst/indexers/Makefile.am:
22668 * gst/indexers/gstindexers.c: (plugin_init):
22669 don't compile fileindex without mmap
22671 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22678 * check/Makefile.am:
22679 * docs/gst/Makefile.am:
22680 * examples/helloworld/Makefile.am:
22682 * gst/base/Makefile.am:
22683 * gst/check/Makefile.am:
22684 * gst/elements/Makefile.am:
22685 * gst/indexers/Makefile.am:
22686 * gst/parse/Makefile.am:
22687 * libs/gst/controller/Makefile.am:
22688 * libs/gst/dataprotocol/Makefile.am:
22689 * examples/helloworld/helloworld.c: (event_loop):
22690 compile fixes, though it's not being compiled currently
22692 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22694 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22695 Add some simple tests for the new taglist date API.
22697 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22699 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22700 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22701 Beautify 'last-message' output: print 'none' for buffer timestamps
22702 and durations if none is set; improve alignment with next messages.
22704 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22706 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22707 * gst/gstpluginfeature.h:
22708 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22709 * gst/gstregistry.h:
22710 * docs/gst/gstreamer-sections.txt:
22711 Add new API to check plugin feature version requirements.
22713 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22714 Some basic tests for the above.
22716 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22718 * gst/gststructure.c: (gst_structure_to_string):
22719 guard against NULL printf - happens when for example
22720 a message structure with GstClock gets serialized
22722 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22724 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22725 Fix presumable copy'n'pasto.
22727 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22729 * gst/elements/gstfakesrc.h:
22730 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22731 * gst/elements/gsttypefindelement.c:
22732 fix some signedness
22733 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22734 I wonder if this could actually write +2GB files before
22736 2005-10-13 Andy Wingo <wingo@pobox.com>
22738 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22739 Fix Timmeke Waymans bug.
22740 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22741 string of the proper length to gst_caps_from_string. There's a
22742 potential for, before this fix, that this could cause someone
22743 connecting over the network to cause a segfault if the payload is
22744 not NUL-terminated.
22746 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22748 * docs/design/draft-push-pull.txt:
22749 * docs/design/part-overview.txt:
22750 * docs/random/TODO-pre-0.9:
22751 * docs/random/old/ChangeLog.gstreamer:
22752 * gst/base/gstpushsrc.c:
22756 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22758 * gst/glib-compat.c: (gst_flags_get_first_value):
22759 * gst/glib-compat.h:
22760 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22761 (gst_value_compare_double), (gst_value_serialize_flags):
22762 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22765 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22767 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22768 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22770 * tools/gst-launch.c: (event_loop):
22771 print out clock nicely
22773 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22775 * docs/gst/gstreamer-sections.txt:
22776 * gst/gsttaglist.h:
22777 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22778 (gst_tag_list_get_date_index):
22779 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22780 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22782 2005-10-13 Julien MOUTTE <julien@moutte.net>
22784 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22785 (gst_collectpads_chain):
22786 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22789 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22791 * docs/gst/gstreamer-sections.txt:
22794 * tools/gst-inspect.c: (main):
22795 * tools/gst-launch.c: (main):
22796 * tools/gst-run.c: (main):
22797 * tools/gst-xmlinspect.c: (main):
22798 fix GOption context leaks
22801 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22805 * win32/common/config.h:
22807 * win32/vs6/grammar.dsp:
22808 * win32/vs6/libgstelements.dsp:
22809 * win32/vs6/libgstreamer.dsp:
22812 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22814 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22815 * gst/base/gstbasesrc.c: (gst_base_src_query):
22816 fix more guint64<->gdouble conversions
22818 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22821 add win32-update target
22822 * win32/common/gstconfig.h:
22823 * win32/common/gstenumtypes.c:
22824 * win32/common/gstenumtypes.h:
22825 * win32/common/gstversion.h:
22826 add files that visual studio can't generate
22828 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22831 add a win32-update target
22834 2005-10-12 Wim Taymans <wim@fluendo.com>
22836 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22837 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22838 * gst/gstelement.c: (gst_element_commit_state),
22839 (gst_element_set_state):
22840 Protect flags with proper lock.
22841 unref provided cached clock in dispose.
22843 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22846 * gst/gstminiobject.h:
22848 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22849 removed unused flags from miniobject
22852 2005-10-12 Wim Taymans <wim@fluendo.com>
22854 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22855 (gst_file_sink_event), (gst_file_sink_render):
22856 Flush before seeking.
22858 2005-10-12 Andy Wingo <wingo@pobox.com>
22860 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22861 always been the case.
22863 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22865 * check/gst/gstbin.c: (GST_START_TEST):
22866 * docs/gst/gstreamer-sections.txt:
22867 * gst/base/gstbasesink.c: (gst_base_sink_init):
22868 * gst/base/gstbasesrc.c: (gst_base_src_init),
22869 (gst_base_src_get_range), (gst_base_src_check_get_range),
22870 (gst_base_src_start), (gst_base_src_stop):
22871 * gst/base/gstbasesrc.h:
22872 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22873 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22874 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22878 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22880 * gst/gstelement.c: (gst_element_is_locked_state),
22881 (gst_element_set_locked_state), (gst_element_commit_state),
22882 (gst_element_set_state):
22883 * gst/gstelement.h:
22884 * gst/gstindex.c: (gst_index_init):
22886 * gst/gstminiobject.h:
22887 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22888 (gst_object_set_parent):
22890 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22891 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22893 * gst/gstpadtemplate.h:
22894 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22895 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22896 * gst/gstpipeline.h:
22897 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22898 (gst_file_index_commit):
22899 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22900 * testsuite/pad/link.c: (gst_test_src_init),
22901 (gst_test_filter_init), (gst_test_sink_init):
22902 * testsuite/states/locked.c: (main):
22903 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22904 moved bitshift from macro to enum definition
22906 2005-10-12 Wim Taymans <wim@fluendo.com>
22908 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22909 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22910 (gst_file_sink_render):
22911 Some more debugging info.
22913 2005-10-12 Wim Taymans <wim@fluendo.com>
22915 * docs/design/part-states.txt:
22916 * tools/gst-launch.c: (main):
22918 Revert non-intentional change.
22920 2005-10-12 Wim Taymans <wim@fluendo.com>
22922 * check/gst/gstbin.c: (GST_START_TEST):
22923 * check/gst/gstelement.c: (GST_START_TEST):
22924 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22925 * check/gst/gstghostpad.c: (GST_START_TEST):
22926 * check/gst/gstpipeline.c: (GST_START_TEST):
22927 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22928 * check/states/sinks.c: (GST_START_TEST):
22929 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22930 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22931 (gst_bin_remove_func), (gst_bin_get_state_func),
22932 (gst_bin_recalc_state), (gst_bin_change_state_func),
22934 * gst/gstelement.c: (gst_element_get_state_func),
22935 (gst_element_get_state), (gst_element_abort_state),
22936 (gst_element_commit_state), (gst_element_set_state),
22937 (gst_element_change_state), (gst_element_change_state_func):
22938 * gst/gstelement.h:
22939 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22940 (gst_pipeline_provide_clock_func):
22941 * gst/gstutils.c: (gst_element_link_pads_filtered):
22942 * tools/gst-launch.c: (main):
22943 * tools/gst-typefind.c: (main):
22944 Use GstClockTime in _get_state() instead of GTimeVal.
22945 Remove old code in gstutils.c
22947 2005-10-12 Andy Wingo <wingo@pobox.com>
22949 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22952 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22953 there is no task. Shouldn't affect any code, as nothing in our
22954 plugins checks this return value.
22955 (gst_pad_stop_task): Also take the stream lock if the pad has no
22956 task. Docs updated.
22958 2005-10-12 Wim Taymans <wim@fluendo.com>
22960 * gst/gstpad.c: (pre_activate), (post_activate),
22961 (gst_pad_activate_pull), (gst_pad_activate_push):
22962 Cleanup activation code. Reset old state if
22965 2005-10-12 Wim Taymans <wim@fluendo.com>
22967 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22968 (gst_base_sink_change_state):
22969 No need to prerol after receiving EOS.
22971 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22972 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22973 * gst/elements/gstidentity.c: (gst_identity_event):
22974 Print events more verbosely.
22976 2005-10-12 Wim Taymans <wim@fluendo.com>
22978 * check/Makefile.am:
22979 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22980 * check/states/sinks2.c:
22981 Moved sinks2 testcode in sinks check.
22983 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22984 (gst_bin_remove_func), (gst_bin_recalc_state),
22985 (gst_bin_change_state_func), (bin_bus_handler):
22986 Fix potential race condition when _get_state() iterated over an
22987 ASYNC element right before it posted a state completion.
22990 Do proper cast here.
22992 * gst/gstevent.c: (gst_event_new_newsegment),
22993 (gst_event_parse_newsegment):
22994 A playback rate of 0.0 is not allowed.
22996 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22998 * win32/common/config.h:
22999 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23000 (_trewinddir), (_ttelldir), (_tseekdir):
23001 * win32/common/dirent.h:
23002 * win32/common/gtchar.h:
23003 * win32/common/libgstbase.def:
23004 * win32/common/libgstreamer.def:
23005 * win32/vs6/grammar.dsp:
23006 * win32/vs6/gst_inspect.dsp:
23007 * win32/vs6/gst_launch.dsp:
23008 * win32/vs6/gstreamer.dsw:
23009 * win32/vs6/libgstbase.dsp:
23010 * win32/vs6/libgstelements.dsp:
23011 * win32/vs6/libgstreamer.dsp:
23012 Visual Studio 6 project files, and a new common directory.
23015 2005-10-11 Wim Taymans <wim@fluendo.com>
23017 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23018 (gst_base_sink_do_sync), (gst_base_sink_query),
23019 (gst_base_sink_change_state):
23020 * gst/base/gstbasesink.h:
23021 Correctly parse newsegment info.
23023 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23025 * gst/gst.c: (init_post):
23026 split plugin paths correctly
23028 2005-10-11 Wim Taymans <wim@fluendo.com>
23030 * check/gst/gstevent.c: (GST_START_TEST):
23031 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23032 (gst_base_sink_change_state):
23033 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23034 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23035 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23036 * gst/gstevent.c: (gst_event_new_newsegment),
23037 (gst_event_parse_newsegment):
23039 Added extra flag to newsegment for future API freeze.
23040 Updated check and base elements.
23042 2005-10-11 Julien MOUTTE <julien@moutte.net>
23044 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23045 (gst_collectpads_add_pad), (gst_collectpads_pop),
23046 (gst_collectpads_event), (gst_collectpads_chain):
23047 * gst/base/gstcollectpads.h: Handle EOS correctly.
23049 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23051 * tools/gst-launch.c: (main):
23052 more null protecting
23054 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23056 * gst/gst-i18n-lib.h:
23057 check for ENABLE_NLS, not GETTEXT_PACKAGE
23058 * gst/gstregistry.c: (gst_registry_add_plugin),
23059 (gst_registry_scan_path_level),
23060 (_gst_registry_remove_cache_plugins):
23061 protect possibly NULL strings
23062 * gst/parse/types.h:
23063 config.h already included before
23064 * tools/gst-inspect.c: (main):
23065 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23066 check for ENABLE_NLS, not GETTEXT_PACKAGE
23067 * tools/gst-launch.c: (main):
23068 check for ENABLE_NLS, not GETTEXT_PACKAGE
23070 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23073 if we don't have glib, fail before testing 2.8
23074 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23075 fix a leak, should fix plugins-base testsuite
23077 2005-10-11 Andy Wingo <wingo@pobox.com>
23079 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23080 take the mode we're going to as an arg. Go head and set the mode
23081 and flushing flags now, so that if the activate function starts a
23082 thread all the flags will be in the right state.
23083 (post_activate): Renamed also. Just handle making sure streaming
23084 finishes for the deactivation case, and setting the deactivated
23086 (gst_pad_set_active): Complain loudly if deactivation fails.
23087 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23088 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23089 remove the terrible hack.
23091 2005-10-11 Wim Taymans <wim@fluendo.com>
23093 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23094 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23095 (gst_bin_recalc_state), (gst_bin_change_state_func),
23096 (gst_bin_dispose), (bin_bus_handler):
23098 Prepare to make current EOS message queue more generic.
23101 * gst/gstevent.c: (gst_event_new_newsegment),
23102 (gst_event_parse_newsegment):
23104 Rename base to stream_time.
23106 * gst/gstmessage.h:
23109 2005-10-11 Wim Taymans <wim@fluendo.com>
23111 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23112 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23113 (gst_bin_change_state_func), (bin_bus_handler):
23115 Work on proper clock selection.
23117 2005-10-11 Edward Hervey <edward@fluendo.com>
23119 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23120 * libs/gst/controller/gstcontroller.h:
23121 Added GList* version of _remove_properties() in order to be able to wrap
23124 2005-10-11 Wim Taymans <wim@fluendo.com>
23126 * docs/design/part-states.txt:
23129 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23130 (gst_bin_change_state_func), (bin_bus_handler):
23131 Doc updates. Don't distribute the same clock over and over again.
23137 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23138 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23139 (gst_pad_send_event):
23141 Make probe emission threadsafe again.
23142 Register quarks and move _get_name() from utils.
23145 * gst/gstpipeline.c: (gst_pipeline_class_init),
23146 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23147 Only redistribute the clock of it changed.
23149 * gst/gstsystemclock.h:
23154 Moved the _flow_get_name() to GstPad.
23156 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23158 * check/gst-libs/gdp.c: (GST_START_TEST):
23159 * check/gst/gstcaps.c: (GST_START_TEST):
23160 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23161 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23162 (gst_dp_packet_from_caps):
23163 fix more valgrind warnings before turning up the heat
23165 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23167 * gst/parse/grammar.y:
23168 some cleanup before the hacking
23170 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23172 * gst/base/gstbasesrc.c: (gst_base_src_query):
23174 * gst/gstutils.c: (gst_guint64_to_gdouble),
23175 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23177 externalize, basesrc uses it
23178 obviously the implementation needs testing
23180 2005-10-10 Wim Taymans <wim@fluendo.com>
23182 * tests/sched/Makefile.am:
23183 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23184 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23186 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23188 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23189 apparently converting from guint64 to double is not implemented
23192 2005-10-10 Wim Taymans <wim@fluendo.com>
23194 * check/Makefile.am:
23195 * check/generic/states.c: (GST_START_TEST):
23196 * check/gst/gstbin.c: (GST_START_TEST):
23197 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23198 * check/states/sinks.c: (GST_START_TEST):
23199 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23201 Check fixes, use API as stated in design docs, remove hacks.
23203 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23204 (gst_base_sink_change_state):
23205 Catch stopping our task while we're shutting down.
23207 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23208 (gst_bin_remove_func), (gst_bin_get_state_func),
23209 (gst_bin_recalc_state), (gst_bin_change_state_func),
23212 * gst/gstelement.c: (gst_element_init),
23213 (gst_element_get_state_func), (gst_element_abort_state),
23214 (gst_element_commit_state), (gst_element_lost_state),
23215 (gst_element_set_state), (gst_element_change_state),
23216 (gst_element_change_state_func):
23217 * gst/gstelement.h:
23218 New state change algorithm (see #318116)
23220 * gst/gstpipeline.c: (gst_pipeline_class_init),
23221 (gst_pipeline_init), (gst_pipeline_set_property),
23222 (gst_pipeline_get_property), (do_pipeline_seek),
23223 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23224 * gst/gstpipeline.h:
23225 Remove crude state change hacks.
23228 Remove crude hacks.
23230 * tools/gst-launch.c: (main):
23231 Fixes for state change. Needs some more work to fully use the
23234 2005-10-10 Andy Wingo <wingo@pobox.com>
23236 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23238 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23239 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23242 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23244 * gst/gstiterator.c: (gst_iterator_new):
23245 Fix my previous commit: GTypes passed to gst_iterator_new()
23246 can be fundamental types.
23248 2005-10-10 Wim Taymans <wim@fluendo.com>
23250 * gst/gstelement.c: (gst_element_iterate_pad_list),
23251 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23252 (gst_element_iterate_sink_pads):
23253 Use src/sink pads lists for the respective iterators instead
23256 2005-10-10 Andy Wingo <wingo@pobox.com>
23258 Merged in popt removal + GOption addition patch from Ronald, bug
23261 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23262 GstElement macros around, remove popt-related symbols, add goption
23265 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23267 * docs/gst/Makefile.am:
23268 * docs/libs/Makefile.am: No POPT_CFLAGS.
23270 * examples/manual/Makefile.am:
23271 * docs/manual/basics-init.xml: Doc updates with an example.
23273 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23274 (gst_init), (parse_one_option), (parse_goption_arg):
23275 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23276 bit of hand merging and debugging to get the GOption stuff working
23279 * tests/Makefile.am:
23280 * tools/Makefile.am:
23281 * tools/gst-inspect.c: (main):
23282 * tools/gst-launch.c: (main):
23283 * tools/gst-run.c: (main):
23284 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23286 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23288 * gst/gstiterator.c: (gst_iterator_new):
23289 Add assertions to make sure passed GType is likely to really
23290 be a GType (as the compiler won't catch it if the size and
23291 GType arguments get mixed up, see #318447).
23293 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23295 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23297 * gst/gstbin.c: (gst_bin_iterate_sorted):
23298 Pass GType and size arguments to gst_iterator_new() in the right
23299 order (maybe we should make _new() take the GType as first argument
23300 just like _new_list()?) (#318447).
23303 2005-10-10 Wim Taymans <wim@fluendo.com>
23305 * gst/gstelement.c: (gst_element_finalize):
23306 And free the GStaticRecMutex too
23308 2005-10-10 Andy Wingo <wingo@pobox.com>
23310 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23311 Allocate and free the mutex properly.
23313 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23315 (GstElement): The state_lock is now recursive. Rebuild your
23316 plugins, suckers. Old macros adapted.
23318 * docs/gst/gstreamer-sections.txt: Doc updates.
23321 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23322 (g_static_rec_cond_wait): Ported from state changes patch, while
23323 we wait on bug #317802 to be solved in a well-distributed GLib.
23325 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23326 gst_element_change_state, variable name changes.
23327 (gst_element_change_state): Split out of gst_element_set_state in
23328 preparation for the state change merge. Doesn't pay attention to
23329 the 'transition' argument.
23330 (gst_element_set_state): Updates, hopefully purely cosmetic.
23331 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23332 state change patch.
23333 (gst_element_get_state_func): Renamed from get_state, cosmetic
23336 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23338 * gst/elements/gstelements.c:
23339 * win32/GStreamer.vcproj:
23341 * win32/dirent.c: (_tseekdir):
23342 * win32/gst-inspect.vcproj:
23343 * win32/gst-launch.vcproj:
23344 * win32/gstconfig.h:
23345 * win32/gstelements.vcproj:
23346 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23347 * win32/gstreamer.def:
23348 * win32/msvc71.sln:
23349 updates for the win32 build (patch from Sebastien Moutte)
23351 2005-10-10 Andy Wingo <wingo@pobox.com>
23353 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23354 gst_bin_get_state, cleaned up (but no logic changes).
23355 (bin_element_is_sink): Comment updates.
23356 (sink_iterator_filter): Remove needless cast.
23357 (gst_bin_iterate_sinks): Doc update.
23358 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23359 cleaned up (but no logic changes).
23361 * check/states/sinks.c (test_src_sink): Cleanups from the state
23363 (test_livesrc_sink): Sync on the state.
23365 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23366 the state change patch.
23368 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23371 * check/gst/gstbin.c: Merge in some style fixes and additional
23372 checks from Wim's state change patch.
23374 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23376 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23377 (gst_type_find_helper):
23378 Check whether we have the requested data already in our list of
23379 cached buffers before pulling a new buffer; also make the buffer
23380 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23382 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23387 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23388 don't use long long, it's not portable. Replacing with
23389 gint64 seems to work; let's hope no skeletons fall out of the closet.
23391 2005-10-10 Andy Wingo <wingo@pobox.com>
23393 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23395 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23397 * docs/gst/gstreamer-sections.txt:
23402 * gst/gstmessage.c: (gst_message_parse_state_changed):
23405 more docs, fix compilation
23407 2005-10-09 Philippe Khalaf <burger@speedy.org>
23408 * gst/gstmessage.c:
23409 Fixed a few forgotten variables on previous commit
23411 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23413 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23414 Fix evil typefind crasher: getrange() might return a short
23415 buffer at the end of a file, but gst_type_find_peek() must
23416 either return the full data as requested or NULL, but
23417 never a short buffer.
23419 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23421 * gst/gstmessage.c: (gst_message_new_state_changed),
23422 (gst_message_parse_state_changed):
23423 * gst/gstmessage.h:
23424 don't use "new", it's a C++ keyword
23426 2005-10-08 Wim Taymans <wim@fluendo.com>
23428 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23429 * gst/gstelement.c: (gst_element_post_message):
23430 * gst/gstpipeline.c: (gst_pipeline_change_state):
23431 Small docs and debug updates.
23433 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23435 * docs/gst/gstreamer-sections.txt:
23436 * gst/gstelementfactory.c:
23438 * gst/gsttaglist.c:
23441 2005-10-08 Wim Taymans <wim@fluendo.com>
23443 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23444 (gst_bin_dispose), (bin_bus_handler):
23445 Fix typos, add comments.
23446 Clear EOS list when going to PAUSED from any direction and do it
23447 in a threadsafe way.
23448 Get base time in a threadsafe way too.
23449 Fix confusing debug in the change_state function.
23450 Various other small cleanups.
23452 * gst/gstelement.c: (gst_element_post_message):
23453 Fix very verbose bus posting code.
23455 * gst/gstpipeline.c: (gst_pipeline_class_init),
23456 (gst_pipeline_set_property), (gst_pipeline_get_property),
23457 (gst_pipeline_change_state):
23458 Small ARG_ -> PROP_ cleanup
23460 2005-10-08 Wim Taymans <wim@fluendo.com>
23462 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23463 Do a less CPU demanding EOS check because we can.
23465 2005-10-08 Wim Taymans <wim@fluendo.com>
23467 * libs/gst/dataprotocol/dataprotocol.c:
23468 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23469 (gst_dp_packet_from_event):
23470 * libs/gst/dataprotocol/dataprotocol.h:
23471 * libs/gst/dataprotocol/dp-private.h:
23472 It's about time we bump the version number.
23473 Since event types don't fit in the guint8 anymore describing
23474 the payload type, make payload type 16 bits wide.
23476 2005-10-08 Wim Taymans <wim@fluendo.com>
23478 * docs/design/part-TODO.txt:
23479 * docs/design/part-clocks.txt:
23480 * docs/design/part-events.txt:
23481 * docs/design/part-gstbin.txt:
23482 * docs/design/part-gstelement.txt:
23483 * docs/design/part-gstpipeline.txt:
23484 * docs/design/part-live-source.txt:
23485 * docs/design/part-messages.txt:
23486 * docs/design/part-overview.txt:
23487 * docs/design/part-states.txt:
23490 2005-10-08 Wim Taymans <wim@fluendo.com>
23494 Fix event quark registration.
23495 Add some space between events so we can insert them in the
23498 2005-10-08 Wim Taymans <wim@fluendo.com>
23500 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23501 (gst_base_sink_handle_buffer):
23502 Better log message.
23505 * gst/gstelement.h:
23508 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23509 (gst_queue_set_property), (gst_queue_get_property):
23511 Remove old unused properties.
23513 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23514 * docs/gst/gstreamer-sections.txt:
23515 * gst/gstmessage.c:
23516 * gst/gstmessage.h:
23517 * gst/gstminiobject.c:
23518 * gst/gstminiobject.h:
23522 lots of new docs and doc fixes
23524 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23526 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23528 * gst/gstregistry.c: (gst_registry_lookup_locked),
23529 (gst_registry_scan_path_level):
23530 * gst/gstregistryxml.c: (load_plugin):
23531 Only ever load one plugin for a given plugin basename.
23532 This ensures correct overriding of GST_PLUGIN_PATH over
23533 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23534 system installed plugins.
23536 2005-10-08 Wim Taymans <wim@fluendo.com>
23538 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23539 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23540 Prepare for doing QOS.
23542 2005-10-08 Wim Taymans <wim@fluendo.com>
23544 * check/gst/gstbin.c: (GST_START_TEST):
23545 * check/pipelines/cleanup.c: (GST_START_TEST):
23546 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23547 Allow new clock message too.
23549 2005-10-08 Wim Taymans <wim@fluendo.com>
23551 * gst/gstmessage.c: (gst_message_new_error),
23552 (gst_message_new_warning), (gst_message_new_tag),
23553 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23554 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23555 (gst_message_new_segment_start), (gst_message_new_segment_done),
23556 (gst_message_parse_state_changed),
23557 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23558 (gst_message_parse_new_clock):
23559 * gst/gstmessage.h:
23560 Also carry the clock in question.
23562 2005-10-08 Wim Taymans <wim@fluendo.com>
23564 * gst/gstmessage.c: (gst_message_new_custom),
23565 (gst_message_new_eos), (gst_message_new_error),
23566 (gst_message_new_warning), (gst_message_new_tag),
23567 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23568 (gst_message_new_new_clock), (gst_message_new_segment_start),
23569 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23570 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23571 * gst/gstmessage.h:
23573 Added clock related messages.
23575 * gst/gstpipeline.c: (gst_pipeline_change_state):
23576 Post message when the clock changed.
23578 * tools/gst-launch.c: (event_loop):
23581 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23583 * tools/gst-inspect.c: (print_element_properties_info):
23584 Can't pass NULL strings to g_print() on windows.
23586 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23588 * docs/Makefile.am:
23589 * docs/gst/Makefile.am:
23590 * docs/gst/gstreamer-docs.sgml:
23591 * docs/gst/running.xml:
23592 * docs/version.entities.in:
23593 add a chapter on running GStreamer.
23594 document GST_DEBUG and GST_PLUGIN* env vars
23596 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23601 remove PLUGINS_BUILDDIR stuff
23602 * gst/gst.c: (init_post):
23603 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23605 remove, it was condescending and not needed
23607 2005-10-08 Wim Taymans <wim@fluendo.com>
23609 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23610 (gst_base_sink_handle_object), (gst_base_sink_event),
23611 (gst_base_sink_wait), (gst_base_sink_handle_event),
23612 (gst_base_sink_change_state):
23613 * gst/base/gstbasesink.h:
23614 Repost EOS message while going to PLAYING if still EOS.
23615 Make sure that when receiving a FLUSH_START we don't attempt
23616 to sync on the clock anymore.
23618 2005-10-08 Wim Taymans <wim@fluendo.com>
23620 * tools/gst-launch.c: (event_loop):
23621 Better message printout.
23623 2005-10-08 Wim Taymans <wim@fluendo.com>
23625 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23626 (gst_bin_child_proxy_get_children_count):
23627 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23628 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23629 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23630 (gst_child_proxy_set_valist):
23631 * gst/parse/grammar.y:
23632 Make ChildProxy threadsafe and fix mem leaks.
23634 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23636 * gst/gst.c: (init_post):
23637 debug the GST_PLUGIN_ env vars
23639 2005-10-08 Wim Taymans <wim@fluendo.com>
23641 * check/gst/gstbin.c: (GST_START_TEST):
23642 * check/gst/gstmessage.c: (GST_START_TEST):
23643 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23644 * gst/gstelement.c: (gst_element_commit_state),
23645 (gst_element_lost_state):
23646 * gst/gstmessage.c: (gst_message_new_state_changed),
23647 (gst_message_parse_state_changed):
23648 * gst/gstmessage.h:
23649 * tools/gst-launch.c: (event_loop):
23650 Added extra field to STATE_CHANGE message with the pending
23651 state, which will be different from the new state soon.
23653 2005-10-08 Wim Taymans <wim@fluendo.com>
23655 * gst/gstbus.c: (gst_bus_pop):
23657 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23658 Small cleanups and doc updates.
23660 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23662 * gst/gst.c: (init_pre):
23663 * gst/gstbin.c: (gst_bin_add_func):
23664 log distributing clocks and base time
23665 * gst/gstregistry.c: (gst_registry_add_plugin),
23666 (gst_registry_scan_path_level), (gst_registry_scan_path):
23667 clean up the debugging output a little
23668 * gst/gstutils.c: (gst_element_state_get_name):
23669 warn about a memleak (I've actually seen this be used, though
23670 it was probably a bug)
23672 2005-10-07 Wim Taymans <wim@fluendo.com>
23674 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23675 (gst_base_src_init), (gst_base_src_default_newsegment),
23676 (gst_base_src_newsegment), (gst_base_src_do_seek),
23677 (gst_base_src_loop), (gst_base_src_start):
23678 * gst/base/gstbasesrc.h:
23679 Make the newsegment event customizable by subclasses.
23681 2005-10-07 Wim Taymans <wim@fluendo.com>
23683 * gst/gstevent.c: (gst_event_new_buffersize),
23684 (gst_event_parse_buffersize):
23686 New event for future idea.
23688 2005-10-07 Andy Wingo <wingo@pobox.com>
23690 * gst/gstelement.c (gst_element_post_message): Doc update.
23692 * docs/gst/gstreamer-sections.txt: Update.
23694 * gst/gstmessage.c (gst_message_new_application): Made into a
23695 function like honest API calls.
23696 (gst_message_new_element): New message type.
23698 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23700 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23701 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23704 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23705 NO_PREROLL from gst_element_change_state to fall through.
23707 2005-10-07 Wim Taymans <wim@fluendo.com>
23709 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23710 (gst_ghost_pad_do_activate_push):
23711 Activating a ghostpad with no internal pad in push mode
23714 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23717 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23718 Fixes compilation on Windows.
23720 2005-10-07 Michael Smith <msmith@fluendo.com>
23722 * tools/gst-inspect.c:
23723 Print out feature and plugin count at the end when printing out
23726 2005-10-04 Michael Smith <msmith@fluendo.com>
23728 * gst/gsterror.c: (_gst_stream_errors_init):
23729 Add another error string used in a few existing plugins.
23732 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23733 * tools/gst-inspect.c: (print_element_info):
23734 When a feature disappears from a plugin (and the feature exists in
23735 the cached registry file), things went horribly wrong. This isn't a
23736 complete fix, we should actually be removing the 'missing' features
23737 from the features list when we load the actual plugin. That's not
23740 2005-10-04 Johan Dahlin <johan@gnome.org>
23742 * check/gst/gstiterator.c: (GST_START_TEST):
23743 * gst/gstbin.c: (gst_bin_iterate_elements),
23744 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23745 * gst/gstelement.c: (gst_element_iterate_pads):
23746 * gst/gstformat.c: (gst_format_iterate_definitions):
23747 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23748 (gst_iterator_new_list), (gst_iterator_filter):
23749 * gst/gstiterator.h:
23750 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23751 Add a GType to GstIterator, update callsites and tests.
23753 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23755 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23756 give events a chance to be handled by event probes when the pad
23759 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23761 * gst/gstevent.c: (gst_event_type_get_name),
23762 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23764 add string representations for event types
23766 2005-10-06 Wim Taymans <wim@fluendo.com>
23768 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23769 Don't use NULL pointers.
23771 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23773 * gst/gst_private.h:
23775 * gst/gstelement.c:
23777 * gst/gstpluginfeature.c:
23778 widen the debug category in output to fit the biggest one we have
23779 add a bus category and use it
23780 play with the colors
23781 fix up some categories
23783 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23785 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23786 add push activation of sink ghost pads.
23787 Andye, please verify
23789 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23791 * gst/gstutils.c: (gst_element_link_pads):
23792 fix a bug in the case where neither element has a pad
23793 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23794 add a test for that case
23796 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23798 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23799 emit have-data before checking for peers. This allows
23800 for probe handlers to connect elements. This helps autopluggers.
23801 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23803 add six checks, linked/unlinked with no/true/false probe
23805 2005-10-04 Wim Taymans <wim@fluendo.com>
23807 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23808 (gst_fake_sink_event), (gst_fake_sink_preroll),
23809 (gst_fake_sink_render), (gst_fake_sink_change_state):
23810 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23811 (gst_fake_src_get_property), (gst_fake_src_create),
23812 (gst_fake_src_stop):
23813 * gst/elements/gstidentity.c: (gst_identity_stop):
23814 Protect last_message with lock.
23816 2005-10-04 Edward Hervey <edward@fluendo.com>
23819 Added precision in the comments for GST_FORMAT_DEFAULT
23821 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23823 * tools/gst-launch.c: (main):
23824 Don't try to run erroneous pipelines.
23826 2005-10-04 Julien MOUTTE <julien@moutte.net>
23828 * gst/gstbus.c: We don't need this header.
23830 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23833 back to development
23835 === release 0.9.3 ===
23837 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23841 Releasing 0.9.3, "Unregistered"
23843 2005-10-03 Andy Wingo <wingo@pobox.com>
23845 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23846 whereby calling a pad's activatepush() function can start a thread
23847 that starts to push or pull before the pad gets the FLUSHING flag
23848 unset. Hack around it by holding the stream lock until the flag is
23849 set. Need to replace this with a proper solution. Together with
23850 the ghost pad fixes, this fixes mp3 playing/tagreading.
23852 * docs/design/part-gstghostpad.txt: Add a note about activation of
23853 proxy pads outside of ghost pads.
23855 * gst/gstghostpad.c: Implement the ghost pad activation design.
23857 2005-10-02 Andy Wingo <wingo@pobox.com>
23859 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23860 It is volatile, after all.
23862 * docs/design/part-gstghostpad.txt: Flesh out activation with
23865 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23868 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23871 Fix (unused) AM_CONDITIONAL tests.
23873 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23875 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23877 * gst/gstutils.c: (gst_pad_query_convert):
23878 Add assertion that makes sure src_val is >=0, just like
23879 gst_query_new_convert() has. (#315895)
23881 2005-09-30 Edward Hervey <edward@fluendo.com>
23883 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23884 Let's not iterate pads we're not interested in, it avoids getting
23885 sky-high refcounts on sinkpad.
23887 2005-09-30 Wim Taymans <wim@fluendo.com>
23889 * gst/gstelement.c: (gst_element_set_state),
23890 (gst_element_change_state):
23891 Small tweak, element in ASYNC remains ASYNC.
23893 2005-09-30 Wim Taymans <wim@fluendo.com>
23895 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23896 Only error is an error.
23898 * gst/gstbin.c: (gst_bin_change_state):
23901 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23902 Also call pad_block in pad alloc.
23904 * gst/gstutils.c: (gst_flow_get_name):
23907 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23909 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23910 (gst_base_src_get_range):
23911 Fix documentation typos. Add some more debug info.
23913 2005-09-29 David Schleef <ds@schleef.org>
23915 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23916 more end-user friendly.
23917 * tools/gst-inspect.c: (main): Check if command-line argument is
23918 a file and attempt to load that file as a plugin.
23920 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23922 * check/gst/gstbin.c:
23923 * check/states/sinks.c:
23924 fix tests for the new warning
23925 * check/gst/gstpipeline.c:
23926 add a test for pipeline and bus interaction
23927 * gst/gstelement.c:
23928 elements should be NULL if they get disposed; add a warning if not
23930 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23933 for 2.6 refcounting, make debug log more correct by printing
23934 the actual refcounts at the time of swap (Wim)
23936 2005-09-29 Andy Wingo <wingo@pobox.com>
23938 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23939 removes signal watches previously added via
23940 gst_bus_add_signal_watch.
23941 (gst_bus_add_signal_watch): Don't return the source id, just store
23942 it on the bus if there wasn't an id already.
23944 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23945 add_signal_watch and remove_signal_watch.
23947 2005-09-29 Edward Hervey <edward@fluendo.com>
23949 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
23950 Better if we actually iterate the list :)
23952 2005-09-29 Wim Taymans <wim@fluendo.com>
23954 * check/gst/gstbin.c: (GST_START_TEST):
23955 Change for new bus API.
23957 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23958 (send_messages), (GST_START_TEST), (gstbus_suite):
23959 Change for new bus signal API.
23961 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23962 (gst_bus_source_prepare), (gst_bus_source_check),
23963 (gst_bus_create_watch), (gst_bus_add_watch_full),
23964 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23965 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23967 Remove support for multiple GSources operating on different
23968 message types as it is too complex and unneeded when using
23970 Added support for receiving signals from the bus.
23972 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23974 * docs/libs/tmpl/gstdataprotocol.sgml:
23975 * docs/manual/advanced-dataaccess.xml:
23976 * gst/elements/gstcapsfilter.c:
23978 rename filter-caps to caps property
23980 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23982 * gst/gstvalue.c: (gst_value_deserialize_fraction):
23983 More robust fraction string parsing.
23985 * docs/pwg/appendix-porting.xml:
23986 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23988 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23990 * gst/gstcaps.c: (gst_caps_do_simplify):
23991 Thou shalt not free a structure and then continue using it
23992 in the next loop iteration.
23994 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23996 Add test case for caps simplification.
23998 2005-09-29 Wim Taymans <wim@fluendo.com>
24000 * check/gst/gstbin.c: (GST_START_TEST):
24003 2005-09-29 Wim Taymans <wim@fluendo.com>
24005 * check/gst/gstbin.c: (GST_START_TEST):
24008 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24009 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24010 (find_element), (gst_bin_sort_iterator_next),
24011 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24012 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24013 (gst_bin_change_state), (gst_bin_dispose):
24014 A bin does not have a bus, it gets the bus from the parent.
24016 * gst/gstelement.c: (gst_element_requires_clock),
24017 (gst_element_provides_clock), (gst_element_is_indexable),
24018 (gst_element_is_locked_state), (gst_element_change_state),
24019 (gst_element_set_bus_func):
24022 * gst/gstpipeline.c: (gst_pipeline_class_init),
24023 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24024 The pipeline provides a bus.
24026 2005-09-28 Johan Dahlin <johan@gnome.org>
24028 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24029 gst_structure_get_enum instead of gst_structure_get_int
24031 * gst/gststructure.c (gst_structure_get_enum): Impl.
24033 * gst/gststructure.h (gst_structure_get_enum): Add
24035 * docs/gst/gstreamer-sections.txt: Ditto
24037 * gst/gstmessage.c (gst_message_new_state_changed): Use
24038 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24039 which does introspection.
24040 Reviewed by Christian Schaller
24042 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24044 * gst/gstinfo.c: (gst_debug_log_default):
24045 don't do dummy g_strdup()s
24046 * libs/gst/controller/gstcontroller.c:
24047 (on_object_controlled_property_changed),
24048 (gst_controlled_property_new), (gst_controller_new_valist),
24049 (gst_controller_new_list),
24050 (gst_controller_remove_properties_valist), (gst_controller_set),
24051 (gst_controller_get), (gst_controller_sync_values),
24052 (gst_controller_get_value_array), (_gst_controller_class_init),
24053 (gst_controller_get_type):
24054 * libs/gst/controller/gstcontroller.h:
24055 * libs/gst/controller/gstinterpolation.c:
24056 (gst_controlled_property_find_timed_value_node):
24057 convert // to /**/ comments
24059 2005-09-28 Wim Taymans <wim@fluendo.com>
24061 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24062 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24063 (gst_bus_sync_signal_handler):
24065 Added async-message and sync-message signals to the bus.
24066 Added helper BusFunc to emit signals for all posted messages.
24068 * gst/gstmessage.c: (gst_message_type_get_name),
24069 (gst_message_type_to_quark), (gst_message_get_type):
24070 * gst/gstmessage.h:
24071 Register quarks for message names.
24073 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24075 * docs/libs/gstreamer-libs-sections.txt:
24076 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24077 (gst_controller_new_list):
24078 * libs/gst/controller/gstcontroller.h:
24079 added another constructor for language bindings
24081 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24083 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24087 * gst/gstinfo.c: (_gst_debug_init):
24088 slightly more readable color for refcount debugging
24090 2005-09-28 Wim Taymans <wim@fluendo.com>
24092 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24093 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24094 (find_element), (gst_bin_sort_iterator_next),
24095 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24096 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24097 (gst_bin_change_state), (gst_bin_dispose):
24098 Small doc fixes. get_clock -> provide_clock.
24100 * gst/gstelement.c: (gst_element_class_init),
24101 (gst_element_provides_clock), (gst_element_provide_clock),
24102 (gst_element_get_clock), (gst_element_commit_state),
24103 (gst_element_lost_state):
24104 * gst/gstelement.h:
24105 Make get/set_clock() symetric. Add provide_clock vmethod since
24106 that is actually what this function does.
24108 * gst/gstpipeline.c: (gst_pipeline_class_init),
24109 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24110 (gst_pipeline_get_clock):
24111 get_clock -> provide_clock.
24113 2005-09-28 Andy Wingo <wingo@pobox.com>
24115 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24116 lieu of real docs...
24118 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24120 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24122 * gst/elements/gstcapsfilter.c:
24123 * gst/elements/gstfakesink.c:
24124 * gst/elements/gstfakesrc.c:
24125 * gst/elements/gstfdsink.c:
24126 * gst/elements/gstfdsrc.c:
24127 * gst/elements/gstfilesink.c:
24128 * gst/elements/gstfilesrc.c:
24129 * gst/elements/gstidentity.c:
24130 * gst/elements/gsttee.c:
24131 * gst/elements/gsttypefindelement.c:
24132 Make element details static.
24134 2005-09-28 Wim Taymans <wim@fluendo.com>
24136 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24137 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24138 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24139 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24140 (gst_bin_change_state), (gst_bin_dispose):
24141 Some documentation updates.
24142 Clean up dispose handlers.
24144 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24145 * gst/gstpad.c: (gst_pad_dispose):
24146 Clean up dispose handler.
24148 * gst/gstpipeline.c: (gst_pipeline_change_state):
24149 Removed spurious UNLOCK.
24151 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24153 * docs/gst/gstreamer-sections.txt:
24154 * gst/base/gstbasesrc.h:
24155 * gst/gstelement.h:
24159 * gst/gstpipeline.c:
24160 * gst/gstpipeline.h:
24163 added two new functions to the docs
24164 documents all undocumented GstXXXFlags
24165 completed some incomplete docs
24167 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24169 * gst/gstbin.c: (gst_bin_dispose):
24170 * gst/gstelement.c: (gst_element_dispose):
24171 remove now useless and leaky resurrection code in dispose
24172 * gst/base/gstbasesrc.c: (gst_base_src_init):
24173 * gst/gstelementfactory.c: (gst_element_factory_create):
24174 * gst/gstobject.c: (gst_object_set_parent):
24177 2005-09-27 Wim Taymans <wim@fluendo.com>
24179 * docs/design/part-TODO.txt:
24182 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24183 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24184 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24185 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24186 (gst_bin_change_state):
24187 * gst/gstelement.h:
24188 Remove element variable, we keep element info in the iterator now.
24190 2005-09-27 Andy Wingo <wingo@pobox.com>
24192 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24195 2005-09-27 Wim Taymans <wim@fluendo.com>
24197 * check/gst/gstbin.c: (GST_START_TEST):
24198 Enable check that works now.
24200 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24201 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24202 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24203 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24204 (gst_bin_change_state):
24206 Redid the state change algorithm using a topological sort algo.
24207 Handles all cases correctly.
24208 Exposed iterator for state change order.
24210 * gst/gstelement.h:
24211 Temp storage for state changes. Need to get rid of this soon.
24213 2005-09-27 Wim Taymans <wim@fluendo.com>
24215 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24216 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24217 (link_fold_func), (gst_pad_proxy_setcaps):
24218 Leak fixes, the fold functions need to unref the passed object and
24219 _get_parent_*() returns ref to parent.
24221 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24223 * check/gst/gstbuffer.c: (test_make_writable):
24224 Plug leak in test case and fix 'make check-valgrind'
24226 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24228 * gst/gstbuffer.c: (gst_subbuffer_init):
24229 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24230 works correctly in all circumstances (we could have just copied
24231 the parent buffer's readonly flag, but conceptually it seems
24232 cleaner to mark all subbuffers as read-only). (based on patch
24233 by Alessandro Decina, #314710).
24235 * check/gst/gstbuffer.c: (create_read_only_buffer),
24236 (test_make_writable), (test_subbuffer_make_writable),
24238 Add some tests for gst_buffer_make_writable().
24240 2005-09-27 Wim Taymans <wim@fluendo.com>
24242 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24243 use gst_object_has_ancestor().
24245 * gst/gstobject.c: (gst_object_has_ancestor):
24247 gst_object_has_ancestor() copied from gstbin.c as it is a
24250 * tests/instantiate/create.c: (create_all_elements):
24251 * tests/lat.c: (handoff_src), (handoff_sink):
24252 * tests/sched/runxml.c: (main):
24253 * tests/seeking/seeking1.c: (main):
24254 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24256 Fix compilation of some tests.
24258 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24261 Remove comment. GST_TYPE_G_ERROR is here to stay,
24262 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24263 (#316961, #300610).
24265 2005-09-26 Wim Taymans <wim@fluendo.com>
24267 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24268 Added check that shows error in state change order.
24270 2005-09-26 Wim Taymans <wim@fluendo.com>
24272 * gst/gstbin.c: (gst_bin_change_state):
24273 Make state change function use 3 queues again, we were
24274 adding elements in the wrong order.
24276 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24279 * gst/gstpad.c: (gst_pad_dispose):
24280 Added some debug info first.
24282 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24284 * docs/design/draft-push-pull.txt:
24285 * docs/design/part-events.txt:
24286 * docs/design/part-overview.txt:
24287 * docs/design/part-scheduling.txt:
24288 Replace all _pull_region() with _pull_range()
24290 2005-09-26 Andy Wingo <wingo@pobox.com>
24292 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24294 * check/gst-libs/controller.c: Update for controller api change.
24297 * tests/Makefile.am:
24298 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24299 over by GLib bug 118439.
24301 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24302 routines to a function.
24304 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24306 * libs/gst/controller/gsthelper.c:
24307 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24308 (gst_object_sync_values): Renamed from sink_values. Ugh.
24310 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24312 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24313 Renamed from controller_key, as it is exported.
24315 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24317 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24322 * gst/gstpadtemplate.h:
24325 * gst/gstqueryutils.c:
24326 * gst/gstqueryutils.h:
24327 remove queryutils headers after moving the two used functions
24328 to gstquery. also fixes build problem for gstsiddec
24330 2005-09-26 Michael Smith <msmith@fluendo.com>
24332 * tools/gst-launch.1.in:
24333 Correct documentation in manpage of debug syntax
24335 2005-09-26 Wim Taymans <wim@fluendo.com>
24337 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24338 (gst_base_src_is_seekable), (gst_base_src_change_state):
24339 Some more debugging info.
24341 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24343 * docs/gst/gstreamer-sections.txt:
24344 * gst/base/gstbasetransform.h:
24348 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24350 * docs/gst/.cvsignore:
24351 * docs/gst/tmpl/.cvsignore:
24352 * docs/gst/tmpl/gstpipeline.sgml:
24353 * docs/gst/tmpl/gstplugin.sgml:
24354 * gst/gstpipeline.c:
24357 inlined the last two docs files
24358 removed the tmpl directory from cvs (no more conflicts here!)
24360 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24362 * docs/gst/gstreamer-sections.txt:
24363 * docs/gst/tmpl/.cvsignore:
24364 * docs/gst/tmpl/gstpad.sgml:
24365 * docs/gst/tmpl/gstpadtemplate.sgml:
24367 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24368 (gst_pad_finalize), (gst_pad_set_pad_template):
24370 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24371 (gst_pad_template_class_init), (gst_pad_template_init),
24372 (gst_pad_template_dispose), (name_is_valid),
24373 (gst_static_pad_template_get), (gst_pad_template_new),
24374 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24375 (gst_pad_template_pad_created):
24376 * gst/gstpadtemplate.h:
24377 inlined two more docs
24378 factored gstpadtemplate out of gstpad
24380 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24382 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24383 (test_children_state_change_order_semi_sink):
24384 Fix test case: we can't rely on a fixed state change order when
24385 going from READY => PAUSED because the sink might commit its
24386 new state first when the first buffer created by the source
24387 reaches the sink before the source has finished its change state.
24388 (Test case still fails at times, see #316856, comment 5 onwards)
24390 2005-09-24 Wim Taymans <wim@fluendo.com>
24392 * docs/design/part-events.txt:
24393 * docs/design/part-gstbus.txt:
24394 * docs/design/part-gstpipeline.txt:
24395 * docs/design/part-messages.txt:
24396 * docs/design/part-overview.txt:
24397 * docs/design/part-segments.txt:
24401 * gst/gstelement.c:
24404 * gst/gstiterator.c:
24405 Various documentation updates.
24407 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24410 Well, that's embarassing. Luckily we weren't using
24411 GST_CLOCK_DIFF anywhere.
24413 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24415 * common/gtk-doc.mak:
24416 don't fail on building XML, FC4 slave shows a bunch of doc
24417 missing bits that I don't get
24419 * gst/gstpipeline.c:
24420 * gst/gststructure.c:
24423 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24425 * docs/design/part-gstbin.txt:
24426 * docs/design/part-gstbus.txt:
24428 Add blurb about how the bus goes into flushing mode and
24429 drops all messages when its bin goes from READY into NULL
24432 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24434 * docs/gst/gstreamer-sections.txt:
24435 * gst/gststructure.c: (gst_structure_get_clock_time):
24436 * gst/gststructure.h:
24437 add a method to get a GstClockTime out of a structure
24439 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24441 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24442 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24443 Added test to check state change order in bins (can still be made
24444 to fail here under heavy disk load; bails out with 'Push on pad
24445 fakesink:sink0, but it was not activated in push mode').
24447 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24448 Fix state change order when there is only a semi sink (#316856)
24450 * gst/gstbus.c: (gst_bus_class_init):
24451 Use _class_peek_parent(), not _class_ref(); fix docs to say
24452 'default main context' instead of 'mainloop' where that is
24455 * gst/gstelement.c: (gst_element_commit_state),
24456 (gst_element_set_state):
24457 Fix typos in debug messages
24459 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24462 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24463 * gst/gstpluginfeature.c:
24465 various doc updates
24466 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24467 change an assert into an error until it gets fixed properly
24469 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24471 * docs/gst/gstreamer-sections.txt:
24472 * docs/gst/tmpl/.cvsignore:
24473 * docs/gst/tmpl/gstelement.sgml:
24474 * docs/gst/tmpl/gstinfo.sgml:
24475 * docs/gst/tmpl/gstobject.sgml:
24476 * gst/gstelement.c:
24477 * gst/gstelement.h:
24480 * gst/gstobject.c: (gst_object_class_init):
24482 inlined 3 more biiiig doc files and added some missing docs on the fly
24484 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24486 * check/gst/.cvsignore:
24487 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24488 * gst/gstregistryxml.c: (load_plugin),
24489 (gst_registry_xml_save_plugin):
24490 put back source in registry. add checks for find_plugin.
24491 * testsuite/states/bin.c: (assert_state), (empty_bin),
24492 (test_adding_one_element), (main):
24493 * testsuite/states/locked.c: (main):
24494 some compile/run fixes
24496 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24498 * check/gst/gstvalue.c: (GST_START_TEST):
24499 fix leaks in the test itself
24501 2005-09-22 Wim Taymans <wim@fluendo.com>
24503 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24504 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24505 (gst_base_sink_query):
24506 Prepare for more accurate position reporting and query
24509 * gst/gstelement.c: (gst_element_send_event),
24510 (gst_element_set_state):
24513 2005-09-22 Wim Taymans <wim@fluendo.com>
24515 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24516 (gst_query_parse_segment):
24518 More documentation.
24519 Add segment query for future use.
24521 2005-09-22 Wim Taymans <wim@fluendo.com>
24523 * gst/gstbin.c: (gst_bin_add_func):
24524 Some more debug info.
24526 * gst/gstelement.c: (gst_element_send_event):
24527 Simplify send_event
24529 * gst/gstelement.h:
24530 Don't know how flags got broken.
24535 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24537 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24538 Add simplistic test suite for GST_TYPE_DATE serialisation and
24541 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24543 * docs/gst/gstreamer-sections.txt:
24544 * gst/gststructure.c: (gst_structure_set_valist),
24545 (gst_structure_get_date):
24546 * gst/gststructure.h:
24547 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24548 (gst_date_copy), (gst_value_compare_date),
24549 (gst_value_serialize_date), (gst_value_deserialize_date),
24550 (gst_value_transform_date_string),
24551 (gst_value_transform_string_date), (_gst_value_initialize):
24553 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24554 bunch of utility functions along with a hack that checks that
24555 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24556 is required. Part of the grand scheme in #170777.
24558 2005-09-22 Andy Wingo <wingo@pobox.com>
24560 * gst/gstconfig.h.in: Psych out gtk-doc.
24562 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24564 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24566 * tools/gst-inspect.c (print_element_list): Plug some
24567 inconsequential leaks.
24569 * gst/gstregistry.c (gst_registry_get_default): Doc.
24571 * check/gst/gstplugin.c:
24572 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24573 * gst/gstelementfactory.c (gst_element_factory_create):
24574 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24577 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24578 (gst_plugin_feature_load): Doc, don't eat refs.
24580 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24581 (gst_plugin_list_free): Doc.
24582 (gst_plugin_load_file): Doc updates.
24584 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24585 accessors returning refcounted objects, return a ref.
24587 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24588 accessor for caps. IDEMPOTENCE. Oh yes.
24590 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24592 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24594 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24595 (_gst_debug_register_funcptr):
24596 Add mutex to serialise access to the hash table with
24597 the function pointer => function name string mapping;
24598 make that hash table static scope (#316809).
24600 * gst/registries/.cvsignore:
24601 Remove left-over file.
24603 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24605 * docs/pwg/appendix-porting.xml:
24606 And something about newsegment events and caps-on-buffers to
24607 the porting guide (feel free to improve).
24609 2005-09-21 Andy Wingo <wingo@pobox.com>
24611 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24612 data and event probes on the same pad.
24613 (test_buffer_probe_once): Test that removing probes from within
24614 the probe functions works.
24616 2005-09-21 Andy Wingo <wingo@pobox.com>
24618 * check/gst/gstutils.c: New file.
24619 (test_buffer_probe_n_times): A simple buffer probe test. More to
24622 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24623 have-data::buffer, not have-data.
24624 (gst_pad_add_event_probe): Likewise for have-data::event.
24625 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24626 peer' isn't quite right yet though.
24627 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24628 (gst_pad_remove_data_probe): Change to take the guint handler_id
24629 as their arg, not the function+data, which is more glib-like.
24631 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24632 the signal emission to indicate if the data is a buffer or an
24634 (gst_pad_get_type): Initialize buffer and event quarks.
24635 (gst_pad_class_init): have-data is now a detailed signal, yes it
24638 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24640 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24641 * gst/gstutils.c: (gst_util_set_value_from_string),
24642 (gst_util_set_object_arg):
24643 Don't put functional code in g_return_if_fail() or
24644 g_return_val_if_fail() statements, otherwise things will
24645 break when G_DISABLE_CHECKS is defined during compilation.
24647 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24649 * docs/gst/tmpl/.cvsignore:
24650 * docs/gst/tmpl/gstvalue.sgml:
24653 inlied another one and added some obvious docs
24655 2005-09-21 Wim Taymans <wim@fluendo.com>
24657 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24658 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24659 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24660 (gst_fdsrc_get_property), (gst_fdsrc_create):
24661 * gst/elements/gstfdsrc.h:
24662 Properly implement fdsrc. Removed signal and timeout,
24663 better implemented somewhere else.
24665 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24667 * docs/gst/tmpl/.cvsignore:
24668 * docs/gst/tmpl/gstimplementsinterface.sgml:
24669 * gst/gstinterface.c:
24672 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24674 * docs/gst/gstreamer-sections.txt:
24675 * docs/gst/tmpl/.cvsignore:
24676 * docs/gst/tmpl/gstenumtypes.sgml:
24677 remove obsolete doc file
24679 2005-09-21 David Schleef <ds@schleef.org>
24681 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24682 little beer, fix a little leak.
24684 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24686 * docs/gst/gstreamer-docs.sgml:
24687 * docs/gst/gstreamer-sections.txt:
24688 * docs/gst/tmpl/.cvsignore:
24692 * gst/gstelement.h:
24693 * gst/gstindex.c: (gst_index_class_init):
24695 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24696 (gst_index_factory_class_init), (gst_index_factory_init),
24697 (gst_index_factory_finalize), (gst_index_factory_new),
24698 (gst_index_factory_destroy), (gst_index_factory_find),
24699 (gst_index_factory_create), (gst_index_factory_make):
24700 * gst/gstindexfactory.h:
24701 * gst/gstpluginfeature.c:
24702 * gst/gstpluginfeature.h:
24703 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24704 more docs inlined, splitted gstindex.{c,h}
24706 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24708 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24711 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24713 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24714 Set sync to FALSE by default.
24716 2005-09-20 Wim Taymans <wim@fluendo.com>
24718 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24719 (gst_base_sink_init):
24720 Make sync property settable from subclass.
24722 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24723 (gst_fake_sink_change_state):
24724 Set sync to FALSE by default.
24726 2005-09-20 Wim Taymans <wim@fluendo.com>
24728 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24729 * tools/gst-launch.c: (main):
24730 The timeout handler should have lower priority than the source
24731 so we don't timeout before popping a message with 0 timeout.
24732 Dump error messages after failed state change.
24734 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24736 * tools/gst-inspect.c: (print_element_properties_info):
24739 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24741 * check/gst/gstevent.c:
24742 * gst/elements/gstfakesink.c:
24743 * gst/elements/gstfakesink.h:
24744 remove the sync property from fakesink.
24745 has the side effect of setting sync TRUE
24746 for fakesink, which is a change. Anyone who knows how
24747 to fix this nicely in a GObject-y way, feel free.
24749 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24751 * docs/gst/gstreamer-docs.sgml:
24752 remove probe refsection
24754 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24756 * check/Makefile.am:
24757 disable valgrinding the controller test again
24758 * docs/gst/gstreamer-sections.txt:
24759 update for api-changes
24761 2005-09-20 Wim Taymans <wim@fluendo.com>
24763 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24764 (gst_base_sink_set_property), (gst_base_sink_get_property),
24765 (gst_base_sink_do_sync):
24766 * gst/base/gstbasesink.h:
24767 Added sync property to basesink to disable clock sync.
24769 2005-09-20 Andy Wingo <wingo@pobox.com>
24771 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24772 eating the caller's refcount.
24774 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24775 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24778 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24779 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24780 of GLib 2.8 public, so we can know which refcount to check in
24783 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24784 (gst_object_init): Only set the gst refcount if we're going ahead
24785 with the refcount hack.
24787 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24789 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24790 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24791 more leaks plumbed, added more debug-logging
24795 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24797 * gst/gstmessage.c:
24798 remove include of gstmemchunk.h
24800 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24802 * gst/gstclock.c: (_gst_clock_id_free):
24803 Commit from the Political Party For More Atomic CVS Commits,
24804 so that people don't waste too much of their day fishing
24805 out obvious leaks out of massive commits.
24806 Oh, and fix a pretty damn obvious leak in the memchunk
24809 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24811 * check/Makefile.am:
24812 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24813 plug mem-leak, re-add to valgrindable tests
24815 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24818 unbreak the build for those who have chronic arthritis
24819 and typing "make check" is just too taxing on the hands
24821 2005-09-20 Andy Wingo <wingo@pobox.com>
24823 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24824 really want it out, you should fix plugins at the same time.
24826 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24829 * docs/gst/gstreamer-sections.txt:
24831 added missing symbols to api docs
24832 disable ref-count hack if we have glib >= 2.8
24834 2005-09-19 David Schleef <ds@schleef.org>
24836 * docs/gst/Makefile.am: Ignore a few more internal headers
24837 * docs/gst/gstreamer-docs.sgml: Remove old sections
24838 * docs/gst/gstreamer-sections.txt: Remove old sections
24839 * docs/gst/tmpl/gstobject.sgml: update
24840 * docs/gst/tmpl/gstplugin.sgml: update
24841 * docs/gst/tmpl/gstpluginfeature.sgml: update
24842 * docs/random/ds/0.9-suggested-changes: update.
24843 * gst/Makefile.am: remove memchunk and trashstack, since they're
24845 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24846 * gst/gst.h: don't include some headers
24847 * gst/gstchildproxy.c: add gstmarshal.h
24848 * gst/gstclock.c: Don't use memchunks
24849 * gst/gstminiobject.c: Add some docs
24850 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24851 * gst/gstobject.h: same
24852 * gst/gstplugin.c: include gstmacros.h
24853 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24854 * gst/gstquery.c: don't use memchunks
24855 * gst/gstregistry.c: rename gst_registry_deinit()
24856 * gst/gstregistry.h: same
24858 2005-09-19 David Schleef <ds@schleef.org>
24860 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24861 * docs/libs/gstreamer-libs-sections.txt:
24862 * docs/libs/tmpl/gstgetbits.sgml:
24863 * docs/libs/tmpl/gstputbits.sgml:
24865 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24867 * win32/gstenumtypes.c:
24868 * win32/gstenumtypes.h:
24871 2005-09-19 Wim Taymans <wim@fluendo.com>
24873 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24874 Automatically PAUSE and RESUME a pipeline when a flushing seek
24877 2005-09-19 Andy Wingo <wingo@pobox.com>
24879 * gst/gstregistry.h: Spacing fixen.
24881 2005-09-19 Wim Taymans <wim@fluendo.com>
24883 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24884 Handle state change failure more correctly.
24886 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24888 * check/Makefile.am:
24889 * check/pipelines/cleanup.c: (run_pipeline):
24890 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24892 enable cleanup again after fixing the leak
24894 some more info on docs
24896 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24898 * check/Makefile.am:
24899 re-enable tests now that leaks are plugged
24901 * check/gst/gstbin.c:
24902 * check/gst/gstpipeline.c:
24903 add some more tests while fixing leaks
24904 * common/check.mak:
24905 make sure binaries are uptodate when valgrinding/gdbing
24907 * gst/gstelementfactory.c:
24908 remove a ref too many, and add a FIXME for when we get
24909 round to disposing of classes
24911 fix the refcounting when loading a plugin from a file and
24912 the code pretends that the pointer is the same even though
24913 of course it can change
24914 * gst/gstpluginfeature.c:
24915 unref plugins marked cached (a bit confusing as a name)
24916 as the docs state should be done
24917 various doc additions to explain refcounting
24918 * gst/gstregistry.c:
24919 * gst/gstregistryxml.c:
24922 2005-09-19 Wim Taymans <wim@fluendo.com>
24924 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24925 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24926 (send_messages), (GST_START_TEST), (gstbus_suite):
24927 * check/gst/gstpipeline.c: (GST_START_TEST):
24928 * check/pipelines/cleanup.c: (run_pipeline):
24929 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24931 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24932 (gst_bus_source_check), (gst_bus_source_dispatch),
24933 (gst_bus_create_watch), (gst_bus_add_watch_full),
24934 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24936 * tools/gst-launch.c: (event_loop):
24937 * tools/gst-md5sum.c: (event_loop):
24938 GstBusHandler -> GstBusFunc, return value has the same meaning as
24939 any other GSource (FALSE == remove source).
24940 _add_watch() and _add_watch_full() now take a MessageType mask to
24941 only handle specific types of messages.
24942 _poll() returns the GstMessage instead of the message type to avoid
24944 _have_pending() takes a MessageType mask now too.
24945 Added testsuite for multiple bus watches.
24946 Fix testsuites and applications for new bus API.
24948 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24950 * check/Makefile.am:
24951 mark a bunch of the tests as to fix until we fix them
24953 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24955 * common/check.mak:
24956 use GST_PLUGIN settings for valgrind tests as well, so we're
24957 valgrinding the correct thing
24958 * gst/gst.c: (init_post):
24961 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24963 * gst/gst.c: (init_post), (gst_deinit):
24964 * gst/gstelementfactory.c: (gst_element_factory_class_init),
24965 (gst_element_factory_finalize), (gst_element_factory_cleanup):
24966 * gst/gstindex.c: (gst_index_factory_class_init),
24967 (gst_index_factory_finalize):
24968 * gst/gstobject.c: (gst_object_dispose):
24969 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24970 (gst_plugin_load_file), (gst_plugin_desc_free):
24971 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24972 (gst_plugin_feature_finalize):
24973 * gst/gstregistry.c: (gst_registry_class_init),
24974 (gst_registry_init), (gst_registry_finalize),
24975 (gst_registry_get_default), (gst_registry_deinit):
24976 * gst/gstregistry.h:
24977 * gst/gstregistryxml.c: (load_feature), (load_plugin):
24978 various cleanups and memleak plugging. make valgrind is happy now.
24980 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24982 * common/check.mak:
24983 add a check-valgrind target
24985 2005-09-18 David Schleef <ds@schleef.org>
24987 * tools/gst-inspect.c: Revert the GOption code.
24989 2005-09-17 David Schleef <ds@schleef.org>
24991 * check/Makefile.am: Fix environment variables.
24992 * check/gst/gstplugin.c: Fix for API changes.
24993 * tools/gst-inspect.c: Fix for API changes.
24994 * tools/gst-xmlinspect.c: Fix for API changes.
24995 * gst/gstelementfactory.c:
24998 * gst/gstpluginfeature.c:
24999 * gst/gstpluginfeature.h:
25000 * gst/gstregistry.c:
25001 * gst/gstregistry.h:
25002 * gst/gstregistryxml.c:
25003 * gst/gsttypefind.c:
25004 * gst/gsttypefindfactory.c:
25005 * gst/indexers/gstfileindex.c:
25006 * gst/indexers/gstmemindex.c:
25007 * gst/schedulers/Makefile.am:
25008 Change registry to keep track of both plugins and features,
25009 removing the feature tracking from plugins themselves.
25011 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25013 * check/Makefile.am:
25014 * tools/gst-register.1.in:
25015 remove gst-register
25017 2005-09-15 David Schleef <ds@schleef.org>
25019 * check/gst/gstplugin.c:
25020 * gst/gstelementfactory.c:
25022 * gst/gstpluginfeature.c:
25023 * gst/gstregistry.c:
25024 Getting tired of debugging. Disabled all the unreffing of
25025 plugins and features, which fixes the segfaults, but of
25026 course leaks like crazy. At least playbin works.
25028 2005-09-15 David Schleef <ds@schleef.org>
25030 * check/gst/gstplugin.c: (register_check_elements),
25031 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25033 * gst/elements/gsttypefindelement.c: Fix refcounting.
25034 * gst/gsttypefind.c:
25035 * gst/gsttypefindfactory.c:
25036 * gst/gsttypefindfactory.h:
25038 2005-09-15 David Schleef <ds@schleef.org>
25040 * gst/gstindex.c: get refcounting correct.
25041 * gst/gstregistry.c: Handle the case where a feature/plugin is
25044 2005-09-15 David Schleef <ds@schleef.org>
25046 * check/Makefile.am:
25047 * check/gst/gstplugin.c: Add test
25048 * gst/gstplugin.c: Fix problems noticed by testsuite
25050 * gst/gstregistry.c:
25051 * gst/gstregistry.h:
25053 2005-09-15 David Schleef <ds@schleef.org>
25055 * gst/gstplugin.c: Implement semi-decent recounting and locking
25056 in plugins and plugin features.
25058 * gst/gstpluginfeature.c:
25059 * gst/gstpluginfeature.h:
25060 * gst/gstregistry.c:
25062 2005-09-15 Michael Smith <msmith@fluendo.com>
25064 * gst/gstregistry.c: (gst_registry_get_feature_list):
25065 Implement this. Makes oggdemux work; decodebin still broken.
25067 2005-09-14 David Schleef <ds@schleef.org>
25069 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25071 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25072 * gst/check/Makefile.am:
25073 * libs/gst/controller/Makefile.am:
25074 * libs/gst/dataprotocol/Makefile.am:
25076 2005-09-14 David Schleef <ds@schleef.org>
25078 * configure.ac: Remove getbits library. Nothing uses it, and
25079 it should be in something like liboil if someone did want
25081 * libs/gst/Makefile.am:
25082 * libs/gst/getbits/Makefile.am:
25083 * libs/gst/getbits/gbtest.c:
25084 * libs/gst/getbits/getbits.c:
25085 * libs/gst/getbits/getbits.h:
25086 * libs/gst/getbits/gstgetbits_generic.c:
25087 * libs/gst/getbits/gstgetbits_i386.s:
25088 * libs/gst/getbits/gstgetbits_inl.h:
25090 2005-09-14 David Schleef <ds@schleef.org>
25092 * gst/Makefile.am: Dist glib-compat.h
25094 2005-09-14 David Schleef <ds@schleef.org>
25096 * configure.ac: Remove gst/registries, since it's no longer used.
25097 * gst/registries/Makefile.am:
25098 * gst/registries/gstlibxmlregistry.c:
25099 * gst/registries/gstlibxmlregistry.h:
25100 * gst/registries/gstxmlregistry.c:
25101 * gst/registries/gstxmlregistry.h:
25102 * gst/registries/registrytest.c:
25104 2005-09-14 David Schleef <ds@schleef.org>
25106 * gst/glib-compat.h:
25107 * gst/gstregistryxml.c:
25108 Convergence is near. Seriously.
25110 2005-09-14 David Schleef <ds@schleef.org>
25112 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25113 * gst/glib-compat.h:
25114 Attempt #4 to appease the buildbots.
25116 2005-09-14 David Schleef <ds@schleef.org>
25118 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25121 2005-09-14 David Schleef <ds@schleef.org>
25123 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25126 2005-09-14 David Schleef <ds@schleef.org>
25128 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25131 2005-09-14 David Schleef <ds@schleef.org>
25133 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25134 * gst/glib-compat.h: Add some functions that are in newer versions
25135 of glib than we care to require.
25136 * gst/gstregistryxml.c: Use them.
25138 2005-09-14 David Schleef <ds@schleef.org>
25140 * po/POTFILES.in: remove gst-register.c
25142 2005-09-14 David Schleef <ds@schleef.org>
25144 * docs/gst/gstreamer-docs.sgml:
25145 * docs/gst/gstreamer-sections.txt:
25146 * docs/gst/gstreamer.types:
25147 * docs/gst/tmpl/gstelement.sgml:
25148 * docs/gst/tmpl/gstplugin.sgml:
25149 * docs/gst/tmpl/gstpluginfeature.sgml:
25150 Documentation updates for registry changes.
25152 2005-09-14 David Schleef <ds@schleef.org>
25154 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25155 because we don't require glib-2.8.
25157 2005-09-14 David Schleef <ds@schleef.org>
25159 * gst/gstregistryxml.c: Added. Essentially moved out of the
25160 registries directory.
25162 2005-09-14 David Schleef <ds@schleef.org>
25164 * check/Makefile.am:
25165 * check/generic/states.c:
25169 * gst/gst_private.h:
25170 * gst/gstelementfactory.c:
25175 * gst/gstpluginfeature.c:
25176 * gst/gstpluginfeature.h:
25177 * gst/gstregistry.c:
25178 * gst/gstregistry.h:
25179 * gst/gstregistrypool.c: remove
25180 * gst/gstregistrypool.h: remove
25181 * gst/gsttypefind.c:
25182 * gst/gsttypefindfactory.c:
25184 * tools/Makefile.am:
25185 * tools/gst-compprep.c:
25186 * tools/gst-inspect.c:
25187 * tools/gst-register.c: remove
25188 * tools/gst-xmlinspect.c:
25189 Registry rewrite. Changes registry from being a file created
25190 by a tool into a simple cache file created automatically by
25191 libgstreamer. Removed gst-register (because it's no longer
25192 needed). Remove registry pools, because we only have one
25193 registry implementation (XML). Fix up other subsystems as
25196 2005-09-13 Michael Smith <msmith@fluendo.com>
25198 * gst/gstconfig.h.in:
25199 Don't Use windows linking attributes for MinGW. Fixes #316157
25201 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25203 * gst/gstutils.c: (set_state_async_thread_func),
25204 (gst_element_set_state_async):
25205 Apparently people think it's better if this function doesn't
25206 try to set the state to whatever state was asked for on the first
25207 call to this function for any object. Seriously.
25209 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25211 * check/gst/gstpipeline.c: (GST_START_TEST):
25212 * docs/gst/gstreamer-sections.txt:
25213 * gst/gstutils.c: (set_state_async_thread_func),
25214 (gst_element_set_state_async):
25216 add a "gst_element_set_state_async" method that
25217 sets the state and starts a thread to make sure the state
25218 change completes as best as it can
25220 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25222 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25223 codify design+behaviour in testsuite after discussion
25225 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25227 * docs/gst/tmpl/gstelement.sgml:
25228 * docs/manual/appendix-quotes.xml:
25230 * gst/gstelement.c: (gst_element_set_state):
25233 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25235 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25236 (gst_base_transform_prepare_output_buf),
25237 (gst_base_transform_handle_buffer):
25238 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25239 (gst_capsfilter_prepare_buf):
25240 Remove the requirement for sub-classes to call the parent
25241 implementation of prepare_output_buffer with a wrapper function.
25243 * gst/gsttaglist.h:
25244 * gst/gsttagsetter.h:
25245 Fix #define wrapper
25247 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25249 * docs/gst/gstreamer-sections.txt:
25252 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25254 * docs/gst/gstreamer-sections.txt:
25255 * docs/gst/tmpl/gstelement.sgml:
25256 * docs/gst/tmpl/gstplugin.sgml:
25257 * gst/gstminiobject.c:
25259 docs now stop throwing warnings
25261 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25263 * docs/gst/gstreamer-sections.txt:
25264 * docs/gst/gstreamer.types:
25265 * docs/gst/tmpl/gstpad.sgml:
25266 * docs/gst/tmpl/gsttypes.sgml:
25267 * gst/base/gstadapter.h:
25268 * gst/base/gstbasesink.h:
25269 * gst/base/gstbasesrc.h:
25275 * gst/gstelement.h:
25277 * gst/gstmessage.h:
25279 * gst/gststructure.c:
25280 * gst/registries/gstlibxmlregistry.h:
25281 various documentation fixes
25283 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25285 * docs/gst/gstreamer-sections.txt:
25286 * docs/gst/tmpl/gstvalue.sgml:
25287 rearrange gstvalue section
25288 * gst/gstutils.c: (gst_element_state_get_name):
25290 * gst/gstvalue.c: (_gst_value_initialize):
25294 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25296 * check/gst-libs/controller.c:
25297 Header include fix.
25298 * gst/base/gstbasetransform.c:
25299 (gst_base_transform_default_prepare_buf),
25300 (gst_base_transform_handle_buffer):
25301 * gst/base/gstbasetransform.h:
25302 Some more basetransform changes and fixes to enable sub-classes
25303 that modify buffer metadata only.
25304 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25305 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25306 (gst_capsfilter_prepare_buf):
25307 If the output pad has fixed allowed caps and input buffers
25308 don't have any, set the fixed caps on outgoing buffers.
25310 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25311 * check/elements/identity.c: (GST_START_TEST):
25312 Make the error a little clearer when the test fails because
25313 identity made a copy of the buffer.
25314 * docs/gst/gstreamer-sections.txt:
25315 New symbols in gstbasetransform.h
25316 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25317 (gst_base_transform_init), (gst_base_transform_transform_size),
25318 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25319 (gst_base_transform_default_prepare_buf),
25320 (gst_base_transform_get_unit_size),
25321 (gst_base_transform_buffer_alloc),
25322 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25323 (gst_base_transform_change_state),
25324 (gst_base_transform_set_passthrough),
25325 (gst_base_transform_set_in_place),
25326 (gst_base_transform_is_in_place):
25327 * gst/base/gstbasetransform.h:
25328 Change BaseTransform to separate in_place operate from same_caps
25329 output. in_place implies that the element can perform the transform
25330 on incoming buffers in-place, even if the caps on the output are
25332 Sub-class elements can now implement special buffer allocation
25333 methods for outgoing buffers if they wish to.
25334 Big documentation addition.
25335 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25336 * gst/elements/gstelements.c:
25337 Changes for basetransform modifications.
25338 * gst/elements/Makefile.am:
25339 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25340 Compile fix. Extra debug output.
25342 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25344 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25346 add tests for valid pad naming
25347 * gst/check/gstcheck.c: (gst_check_log_message_func),
25348 (gst_check_log_critical_func):
25350 remove printing of code, it is fragile when the code contains
25351 % and the line number is enough info
25352 * gst/check/gstcheck.h:
25353 * gst/gstpad.c: (gst_pad_template_new):
25356 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25359 say what CHECK flags we use
25360 * docs/libs/gstreamer-libs.types:
25361 * libs/gst/controller/Makefile.am:
25362 * libs/gst/controller/gst-controller.c:
25363 * libs/gst/controller/gst-controller.h:
25364 * libs/gst/controller/gst-helper.c:
25365 * libs/gst/controller/gst-interpolation.c:
25366 * libs/gst/controller/gstcontroller.c:
25367 * libs/gst/controller/gsthelper.c:
25368 * libs/gst/controller/gstinterpolation.c:
25369 * tools/gst-inspect.c: (print_plugin_info):
25370 we don't use dashes in header names
25372 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25374 * check/Makefile.am:
25375 * check/gst/.cvsignore:
25376 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25377 (gst_pipeline_suite), (main):
25378 adding a test for pipelines and state changes
25379 * gst/gstutils.c: (get_state_func):
25381 * gstreamer.spec.in:
25384 2005-09-08 Michael Smith <msmith@fluendo.com>
25386 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25387 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25388 (gst_file_src_is_seekable), (gst_file_src_get_size),
25389 (gst_file_src_start):
25390 * gst/elements/gstfilesrc.h:
25391 Various fixes for unseekable, unmmapable, and non-normal files, so
25392 that fallback to read() rather than mmap() works.
25393 * gst/gstevent.c: (gst_event_new_newsegment):
25394 Allow newsegment events with segment_start == segment_end, as will
25395 correctly happen if you use filesrc on a zero-size file, for
25398 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25400 * gst/gstplugin.c: (gst_plugin_load_file):
25401 Call g_module_close when we don't load the module
25403 * gst/registries/gstlibxmlregistry.c:
25404 (gst_xml_registry_get_property):
25405 Port leak fix from 0.8
25407 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25409 * docs/gst/gstreamer-docs.sgml:
25410 * docs/gst/tmpl/.cvsignore:
25411 * docs/gst/tmpl/gsttrace.sgml:
25412 * docs/gst/tmpl/gsttrashstack.sgml:
25415 * gst/gstelement.h:
25417 * gst/gstmessage.c:
25418 * gst/gstmessage.h:
25421 * gst/gsttaginterface.c:
25422 * gst/gsttaginterface.h:
25423 * gst/gsttaglist.c:
25424 * gst/gsttaglist.h:
25425 * gst/gsttagsetter.c:
25426 * gst/gsttagsetter.h:
25429 * gst/gsttrashstack.c:
25430 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25431 inlined docs for gsttrace, gsttrashstack
25433 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25436 * gst/elements/gstbufferstore.h:
25437 * gst/elements/gsttypefindelement.c:
25438 * gst/elements/gsttypefindelement.h:
25440 * gst/gsttypefind.c:
25441 * gst/gsttypefind.h:
25442 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25443 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25444 (gst_type_find_factory_dispose),
25445 (gst_type_find_factory_unload_thyself),
25446 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25447 (gst_type_find_factory_get_caps),
25448 (gst_type_find_factory_get_extensions),
25449 (gst_type_find_factory_call_function):
25450 * gst/gsttypefindfactory.h:
25451 * gst/registries/gstlibxmlregistry.c:
25452 * gst/registries/gstxmlregistry.c:
25453 splitted gsttypefind into gsttypefind, gsttypefindfactory
25455 2005-09-07 Andy Wingo <wingo@pobox.com>
25457 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25458 condition whereby the pad's task function is entered before the
25459 pad_mode variable was set.
25461 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25463 * gst/gstpad.c: (gst_pad_alloc_buffer):
25464 Catch misbehaving pad_alloc functions that don't
25465 set up caps and do it for them.
25467 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25469 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25470 test for pipe!=NULL
25471 * docs/gst/tmpl/.cvsignore:
25472 * docs/gst/tmpl/gstmemchunk.sgml:
25473 * docs/gst/tmpl/gstparse.sgml:
25474 * docs/gst/tmpl/gsttaglist.sgml:
25475 * docs/gst/tmpl/gsttagsetter.sgml:
25476 * docs/gst/tmpl/gsttypefind.sgml:
25477 * docs/gst/tmpl/gsttypefindfactory.sgml:
25478 * gst/gstmemchunk.c:
25481 * gst/gsttaginterface.c:
25482 * gst/gsttypefind.c:
25483 * gst/gsttypefind.h:
25486 === release 0.9.2 ===
25488 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25493 releasing 0.9.2, "South"
25495 2005-09-05 Andy Wingo <wingo@pobox.com>
25497 * gst/registries/gstxmlregistry.h:
25498 * gst/registries/gstxmlregistry.c: Um... resurrect...
25500 * gst/registries/gstxmlregistry.h:
25501 * gst/registries/gstxmlregistry.c: and update to newer API.
25502 Incidentally they should be a bit faster now that they don't have
25505 2005-09-05 Andy Wingo <wingo@pobox.com>
25507 * gst/registries/gstxmlregistry.h:
25508 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25509 replaced by the libxml registry a while back
25511 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25513 * docs/gst/tmpl/gstplugin.sgml:
25514 * gst/elements/gstelements.c:
25516 * gst/gstplugin.c: (gst_plugin_register_func),
25517 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25518 (gst_plugin_get_source):
25520 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25521 (gst_xml_registry_save_plugin):
25522 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25523 (gst_xml_registry_save_plugin):
25524 * tools/gst-inspect.c: (print_plugin_info):
25525 add a "source" plugin description field, to represent the source
25526 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25527 will set it to PACKAGE, which is automake's idea of the name of
25528 the source project.
25530 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25535 * docs/Makefile.am:
25536 * docs/faq/Makefile.am:
25537 * docs/gst/tmpl/gstelement.sgml:
25538 * docs/gst/tmpl/gsttypes.sgml:
25539 * docs/htmlinstall.mak:
25540 * docs/manual/Makefile.am:
25541 * docs/pwg/Makefile.am:
25542 reorganize doc build a little
25543 split out docbook and gtk-doc stuff
25544 have two separate --enable's and enable them through autogen
25545 but disable by default in configure (to be similar to other
25547 * gstreamer.spec.in:
25548 clean up docs install
25566 translation updates
25568 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25570 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25573 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25574 (gst_fake_sink_change_state):
25575 Make state change function thread-safe.
25577 * gst/gstpad.c: (gst_pad_alloc_buffer):
25578 Set offset on generic buffer allocated by fallback.
25580 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25582 * docs/gst/gstreamer-sections.txt:
25583 * docs/gst/tmpl/gstelement.sgml:
25585 * libs/gst/controller/gst-controller.c:
25586 (gst_controlled_property_set_interpolation_mode),
25587 (gst_controlled_property_new),
25588 (gst_controller_find_controlled_property):
25589 run the wingo-magic script against the docs
25591 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25593 * docs/gst/gstreamer-docs.sgml:
25594 * docs/gst/gstreamer-sections.txt:
25595 * docs/gst/tmpl/.cvsignore:
25596 * docs/gst/tmpl/gstelementdetails.sgml:
25597 * docs/gst/tmpl/gstelementfactory.sgml:
25600 * gst/gstelementfactory.c:
25601 * gst/gstelementfactory.h:
25602 merged elementdetails docs into elementfactory docs
25605 2005-09-02 Andy Wingo <wingo@pobox.com>
25607 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25608 consider this enum an enum and not a flags.
25610 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25612 * docs/gst/gstreamer-docs.sgml:
25613 * docs/gst/tmpl/.cvsignore:
25614 * docs/gst/tmpl/gstghostpad.sgml:
25615 * docs/gst/tmpl/gstiterator.sgml:
25616 * docs/gst/tmpl/gstmacros.sgml:
25617 * docs/gst/tmpl/gstrealpad.sgml:
25618 * docs/gst/tmpl/gstregistry.sgml:
25619 * docs/gst/tmpl/gstregistrypool.sgml:
25620 * docs/gst/tmpl/gststructure.sgml:
25621 * docs/gst/tmpl/gstsystemclock.sgml:
25622 * docs/gst/tmpl/gsttrace.sgml:
25623 * gst/gstghostpad.c:
25625 * gst/gstmemchunk.c:
25626 * gst/gstmemchunk.h:
25628 * gst/gstregistry.c:
25629 * gst/gstregistrypool.c:
25630 * gst/gststructure.c:
25631 * gst/gstsystemclock.c:
25634 2005-09-02 Andy Wingo <wingo@pobox.com>
25636 * gst/gstelement.h (GstState): Renamed from GstElementState,
25637 changed to be a normal enum instead of flags.
25638 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25639 munged to be GST_STATE_CHANGE_*.
25640 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25641 work with the new state representation.
25642 (GstStateChange): New enumeration of possible state transitions.
25643 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25644 (GstElementClass::change_state): Pass the GstStateChange along as
25645 an argument. Helps language bindings, so they don't have to use
25646 tricky lock-needing macros like GST_STATE_CHANGE ().
25648 * scripts/update-states (file): New script. Run it on a file to
25649 update it for state naming and API changes. Updates files in
25652 * All files updated for the new API.
25654 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25656 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25657 * gst/gstutils.c: (gst_util_set_value_from_string),
25658 (gst_util_set_object_arg):
25659 fix a bunch of unchecked return values
25660 * tools/gst-complete.c: (main):
25661 * gstreamer.spec.in:
25664 2005-09-01 Wim Taymans <wim@fluendo.com>
25666 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25667 (gst_base_sink_event), (gst_base_sink_do_sync),
25668 (gst_base_sink_handle_event):
25669 * gst/base/gstbasesink.h:
25670 Handle newsegments more correctly.
25675 * gst/gstevent.c: (gst_event_new_newsegment):
25676 A newsegment cannot have a start_time of -1
25678 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25680 * win32/gstenumtypes.c:
25681 * win32/gstenumtypes.h:
25684 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25686 * libs/gst/controller/gst-controller.c:
25687 (gst_controlled_property_set_interpolation_mode),
25688 (gst_controlled_property_new):
25689 fixed boolean again
25691 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25693 * docs/faq/gst-uninstalled:
25698 * gst/gstutils.c: (gst_element_link_filtered):
25700 add gst_element_link_filtered
25702 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25704 * docs/gst/gstreamer-docs.sgml:
25705 * docs/gst/gstreamer-sections.txt:
25706 * docs/gst/tmpl/.cvsignore:
25707 * docs/gst/tmpl/gsterror.sgml:
25708 * docs/gst/tmpl/gstfilter.sgml:
25709 * docs/gst/tmpl/gsturihandler.sgml:
25710 * docs/gst/tmpl/gsturitype.sgml:
25711 * docs/gst/tmpl/gstutils.sgml:
25712 * docs/gst/tmpl/gstxml.sgml:
25717 * gst/gsturitype.c:
25720 inlined more docs, fixed double id-ref
25722 2005-08-31 Wim Taymans <wim@fluendo.com>
25724 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25725 (gst_base_transform_handle_buffer):
25726 Passthrough elements don't need the caps as they don't care.
25728 2005-08-31 Wim Taymans <wim@fluendo.com>
25730 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25731 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25732 Don't leak refcounts on buffers.
25734 2005-08-31 Wim Taymans <wim@fluendo.com>
25736 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25737 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25738 (gst_base_transform_chain), (gst_base_transform_change_state):
25739 * gst/base/gstbasetransform.h:
25740 Handle the case where we are not negotiated more gracefully.
25742 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25744 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25745 (gst_file_src_map_region):
25746 Set READONLY flag on mmap'ed buffers, otherwise
25747 gst_buffer_make_writable() won't work properly (#314708).
25749 2005-08-31 Wim Taymans <wim@fluendo.com>
25751 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25752 passthrough elements can even do inplace on non writable
25753 buffers (as they don't touch them).
25755 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25757 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25758 (gst_test_mono_source_set_property),
25759 (gst_test_mono_source_class_init), (GST_START_TEST),
25760 (gst_controller_suite):
25761 more tests (hehe I have the most)
25763 describe popping messages whenusing mulltiple sources
25764 * libs/gst/controller/gst-controller.c:
25765 (gst_controlled_property_set_interpolation_mode),
25766 (gst_controlled_property_new):
25767 * libs/gst/controller/gst-controller.h:
25768 * libs/gst/controller/gst-interpolation.c:
25769 implement boolean properties
25771 2005-08-31 Wim Taymans <wim@fluendo.com>
25773 * gst/gstminiobject.c: (gst_mini_object_ref):
25774 Cannot assert that the refcount has to be positive
25775 since a disposed object can be resurrected.
25777 2005-08-31 Wim Taymans <wim@fluendo.com>
25779 * gst/gstpad.c: (gst_pad_init):
25780 Revert change, need to first fix badly behaving
25783 2005-08-30 Wim Taymans <wim@fluendo.com>
25785 * check/elements/fakesrc.c: (setup_fakesrc):
25786 * check/elements/identity.c: (setup_identity):
25787 Activate pads before using them.
25789 2005-08-30 Wim Taymans <wim@fluendo.com>
25791 * gst/base/gstadapter.c: (gst_adapter_flush):
25792 Flushing out 0 bytes is ok for this function.
25794 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25795 no newsegment gives a warning and sets the start/stop to
25798 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25799 (gst_base_transform_set_passthrough):
25802 * gst/gstminiobject.c: (gst_mini_object_ref):
25803 Check refcount here too.
25805 * gst/gstpad.c: (gst_pad_init):
25806 Pads are initially flushing and refusing data.
25808 * gst/gstutils.c: (gst_element_link_pads_filtered):
25809 When adding a capsfilter element make sure it has the
25810 same state as the parent bin.
25812 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25814 * docs/gst/tmpl/.cvsignore:
25815 * docs/gst/tmpl/gstformat.sgml:
25816 * docs/gst/tmpl/gstversion.sgml:
25820 * gst/gstversion.h.in:
25821 more docs and two more inlined
25823 2005-08-30 Wim Taymans <wim@fluendo.com>
25825 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25826 Don't sync to clock.
25828 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25830 * docs/gst/gstreamer-sections.txt:
25831 ultral33t func10ns deserve to appear in the docs actually
25832 * docs/gst/tmpl/.cvsignore:
25833 * docs/gst/tmpl/gstcompat.sgml:
25834 * docs/gst/tmpl/gstconfig.sgml:
25835 * gst/check/gstcheck.c:
25837 * gst/gstconfig.h.in:
25840 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25842 * docs/gst/tmpl/.cvsignore:
25843 * docs/gst/tmpl/gstquery.sgml:
25844 * docs/gst/tmpl/gstutils.sgml:
25847 inlined and extended docs
25849 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25851 * check/gst-libs/controller.c: (GST_START_TEST),
25852 (gst_controller_suite):
25854 * docs/gst/tmpl/gstutils.sgml:
25855 * docs/libs/gstreamer-libs-sections.txt:
25856 * docs/libs/tmpl/gstdataprotocol.sgml:
25858 * examples/controller/audio-example.c: (main):
25859 controller example works now
25862 * tools/gst-inspect.c: (print_element_properties_info):
25863 show param spec flags
25865 2005-08-29 Andy Wingo <wingo@pobox.com>
25867 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25869 2005-08-28 Andy Wingo <wingo@pobox.com>
25871 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25872 as having two arguments instead of just one. Allows superclasses
25873 to access information on subclasses -- see the terrible for() loop
25874 in gtype.c:g_type_create_instance for the reason why. All callers
25877 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25879 * docs/design/part-messages.txt:
25881 * docs/gst/tmpl/.cvsignore:
25882 * docs/gst/tmpl/gstcaps.sgml:
25883 * docs/gst/tmpl/gstclock.sgml:
25889 * gst/gstmessage.c:
25890 added descriptions for bus and message
25891 inline caps and clock docs
25893 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25895 * gst/gstmessage.c:
25896 * gst/gstmessage.h:
25899 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25901 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25904 2005-08-26 Andy Wingo <wingo@pobox.com>
25906 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25907 element_set_state's return val.
25908 (test_2_elements): Add test that's been disabled for months.
25910 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25911 can-activate-pull properties.
25913 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25914 can-activate-pull properties. Implement is_seekable so fakesrc can
25915 operate in pull mode.
25917 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25919 (gst_base_sink_activate, gst_base_sink_activate_pull)
25920 (gst_base_sink_activate_push): Make activation mode choosing work.
25922 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25923 is right. Make pull mode work. Post an eos before pausing in pull
25925 (gst_base_sink_change_state): Pay attention to the core's
25926 change_state() return val.
25928 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25929 has-getrange properties. Cleanups.
25931 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25932 has_getrange and replace with can_activate_pull and
25935 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25936 locking comments. Remove has_loop, has_chain and replace with
25937 can_activate_pull and can_activate_push.
25939 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
25942 * examples/Makefile.am:
25943 * examples/metadata/Makefile.am:
25944 * examples/metadata/read-metadata.c: (message_loop),
25945 (have_pad_handler), (make_pipeline), (print_tag), (main):
25946 Add metadata reading example that loops over a list of filenames,
25947 dumping any tags found.
25949 * gst/gstbus.c: (gst_bus_dispose):
25950 * gst/gstelement.c: (gst_element_dispose):
25951 Release a few potentially-held references in dispose.
25953 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25955 * docs/gst/tmpl/gstminiobject.sgml:
25956 do *not* add tmpl/*.sgml files to CVS!
25958 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25960 * libs/gst/bytestream/.cvsignore:
25961 * libs/gst/bytestream/Makefile.am:
25962 * libs/gst/bytestream/adapter.c:
25963 * libs/gst/bytestream/adapter.h:
25964 * libs/gst/bytestream/bytestream.c:
25965 * libs/gst/bytestream/bytestream.h:
25966 * libs/gst/bytestream/filepad.c:
25967 * libs/gst/bytestream/filepad.h:
25968 removing obsolete files
25970 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25972 * docs/gst/gstreamer-docs.sgml:
25973 * docs/libs/gstreamer-libs-docs.sgml:
25974 disabed additional index entries again, as this makes docs-gen just
25975 slow and they aren't useful yet
25976 * docs/libs/gstreamer-libs-sections.txt:
25977 little -section.txt cleanup for libs
25979 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
25981 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25982 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25983 fix up some debugging
25984 (gst_base_transform_get_unit_size),
25985 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25986 (gst_base_transform_handle_buffer):
25987 * gst/base/gstbasetransform.h:
25988 handle and store timed NEWSEGMENT events so that subclasses that
25989 calculate time by counting samples have a segment_start time they
25990 need to add to their timestamps - see audioresample
25992 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25995 removed ';' from the end of macro defs
25996 * docs/gst/gstreamer-docs.sgml:
25997 * docs/gst/gstreamer-sections.txt:
25998 * docs/gst/tmpl/.cvsignore:
26000 * gst/gstelement.c: (gst_element_class_init),
26001 (gst_element_set_state), (activate_pads),
26002 (gst_element_save_thyself):
26003 * gst/gstevent.c: (gst_event_new_newsegment):
26005 * gst/gstiterator.c:
26006 * gst/gstiterator.h:
26009 * gst/gstutils.c: (gst_pad_query_convert):
26011 fixed parameter name mismatches between source, header and docs
26012 added some more docs, resolved the last batch of unused elements in
26013 docs (now someone needs to doc them)
26015 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26017 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26018 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26019 don't walk through the plugins backwards. Where is all this
26020 reversed logic coming from ?
26022 2005-08-25 Wim Taymans <wim@fluendo.com>
26024 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26025 (gst_base_transform_transform_size),
26026 (gst_base_transform_configure_caps),
26027 (gst_base_transform_get_unit_size),
26028 (gst_base_transform_buffer_alloc),
26029 (gst_base_transform_change_state):
26030 * gst/base/gstbasetransform.h:
26031 Cache caps unit_size.
26032 Make sure we cannot negotiate up and downstream at the
26035 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26037 * gst/gst.c: (init_pre), (init_post):
26038 register the installed plugin path after the env var
26039 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26040 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26041 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26042 directories, so the tests can prefer uninstalled over installed
26044 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26046 * gst/base/gstbasetransform.h:
26051 2005-08-25 Wim Taymans <wim@fluendo.com>
26053 * gst/gstbin.c: (bin_bus_handler):
26054 Be a bit more conservative about the posted message.
26056 * gst/gstbus.c: (gst_bus_post):
26057 Some cleanups, warn wrong return values.
26059 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26061 * check/gst/gstbin.c: (GST_START_TEST):
26062 * gst/gstbin.c: (bin_bus_handler):
26063 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26064 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26065 (gst_message_new_warning), (gst_message_new_tag),
26066 (gst_message_new_state_changed), (gst_message_new_segment_start),
26067 (gst_message_new_segment_done), (gst_message_new_custom):
26068 * gst/gstmessage.h:
26069 * tools/gst-launch.c: (event_loop):
26070 * tools/gst-md5sum.c: (event_loop):
26071 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26073 2005-08-25 Wim Taymans <wim@fluendo.com>
26075 * check/generic/states.c: (GST_START_TEST):
26076 Cleanup can be done at the end.
26078 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26079 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26080 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26081 Oh boy.. Thanks for finding this, Thomas.
26083 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26085 * docs/gst/gstreamer.types:
26086 added missing types
26088 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26090 * docs/gst/gstreamer-docs.sgml:
26091 * docs/gst/gstreamer-sections.txt:
26092 * docs/gst/tmpl/.cvsignore:
26094 * gst/gstiterator.c:
26096 * gst/registries/gstxmlregistry.h:
26097 added missing classes and symbols (123 more to go)
26098 removed removed symbols from section file
26099 fixed many doc-comments
26101 2005-08-24 Wim Taymans <wim@fluendo.com>
26103 * check/generic/states.c: (GST_START_TEST):
26104 Make sure all tasks are stopped.
26106 * check/gst/gstbin.c: (GST_START_TEST):
26107 Unref after usage for proper valgrinding.
26109 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26110 Really wait for the task to stop before destroying the
26113 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26114 (gst_queue_src_activate_push):
26115 Small cleanups. Don't stop the task when we did not start
26118 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26119 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26120 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26123 Protect the stream lock with the object lock.
26124 Disallow setting the stream lock when running.
26125 Add cleanup_all to wait for the threadpool to finish.
26126 Remove code to autoallocate a mutex if none was provided.
26127 Add _join() to wait for a task to stop.
26128 Protect the thread pool with a global lock.
26130 2005-08-24 Wim Taymans <wim@fluendo.com>
26132 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26133 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26134 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26135 * gst/base/gstbasesink.h:
26136 Handle newsegment events correctly.
26137 Drop buffers out of the segment range.
26139 2005-08-22 Andy Wingo <wingo@pobox.com>
26141 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26142 macro, implements an interface and gstimplementsinterface for a
26145 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26147 * check/Makefile.am:
26148 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26149 add a test that does a bunch of state changes on elements
26150 needs some fixing for valgrind
26151 * check/states/sinks.c: (gst_object_suite):
26154 add prototype for gst_caps_is_equal_fixed
26156 * gst/gstregistrypool.c:
26159 2005-08-24 Andy Wingo <wingo@pobox.com>
26161 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26162 convert a negative value. Doesn't make much sense. Mostly this is
26163 here to force callers to ensure -1 maps to -1.
26165 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26167 * docs/pwg/advanced-types.xml:
26168 Well done to Michael for catching my deliberate introduction
26169 of this spelling mistake.
26170 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26171 * gst/gstelement.h:
26172 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26173 unlink pads before removing the element from the bin.
26175 2005-08-24 Andy Wingo <wingo@pobox.com>
26177 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26178 the same thing as GST_DEBUG=*:4.
26179 (parse_debug_level, parse_debug_category): New helper parsers.
26181 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26183 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26184 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26185 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26186 (gst_base_transform_buffer_alloc),
26187 (gst_base_transform_handle_buffer):
26188 use gboolean return values and pointers to size so we can use the
26189 full GST_BUFFER_SIZE range (guint) for buffer sizes
26190 use GstPadDirection for transform_caps
26191 * gst/base/gstbasetransform.h:
26192 rename get_size to get_unit_size since that's what it is
26193 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26194 use GstPadDirection for transform_caps
26195 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26197 cleanup and debugging
26199 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26201 * gst/gstelement.c: (gst_element_class_init),
26202 (gst_element_set_state), (activate_pads),
26203 (gst_element_save_thyself):
26204 * tools/gst-compprep.c: (main):
26205 * tools/gst-inspect.c: (print_element_properties_info):
26206 * tools/gst-xmlinspect.c: (print_element_properties):
26207 Fixed long standing mem-leak
26209 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26211 * check/gst/gstbin.c: (GST_START_TEST):
26212 * gst/gstbin.c: (bin_bus_handler):
26213 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26214 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26215 (gst_message_new_warning), (gst_message_new_tag),
26216 (gst_message_new_state_changed), (gst_message_new_segment_start),
26217 (gst_message_new_segment_done), (gst_message_new_custom):
26218 * gst/gstmessage.h:
26219 * tools/gst-launch.c: (event_loop):
26220 * tools/gst-md5sum.c: (event_loop):
26221 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26222 that applications can sensibly post custom messages with references
26223 to their own objects.
26225 2005-08-24 Andy Wingo <wingo@pobox.com>
26227 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26230 2005-08-24 Wim Taymans <wim@fluendo.com>
26232 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26233 (gst_base_transform_transform_caps),
26234 (gst_base_transform_transform_size),
26235 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26236 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26237 (gst_base_transform_handle_buffer):
26238 * gst/base/gstbasetransform.h:
26239 Many fixes and new features added by Thomas. Can now also do
26240 transforms with variable sizes and a custom fixate_caps function.
26242 2005-08-24 Wim Taymans <wim@fluendo.com>
26244 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26248 Cast to ClockTime before formatting to time.
26253 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26255 * check/gst-libs/controller.c: (GST_START_TEST),
26256 (gst_controller_suite):
26257 * docs/gst/tmpl/gstcaps.sgml:
26258 * docs/gst/tmpl/gstghostpad.sgml:
26259 * docs/gst/tmpl/gstquery.sgml:
26260 * docs/gst/tmpl/gstutils.sgml:
26261 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26262 (gst_object_sink_values), (gst_object_get_value_arrays),
26263 (gst_object_get_value_array):
26264 gracefully handle helper method calls to objects that are not beeing
26265 controlled, added test case for that
26267 2005-08-23 Wim Taymans <wim@fluendo.com>
26269 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26270 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26271 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26272 (gst_event_parse_qos), (gst_event_new_seek),
26273 (gst_event_parse_seek):
26275 Some more debugging output and doc cleanups.
26277 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26278 Fix possible deadlock.
26280 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26282 * docs/gst/gstreamer-docs.sgml:
26283 * docs/gst/gstreamer-sections.txt:
26284 * docs/gst/gstreamer.types:
26285 * docs/gst/tmpl/.cvsignore:
26288 * gst/gstelement.c:
26290 added 100 symbols from gstreamer-unused.txt to the right sections
26291 fixed more broken comments
26292 added GstBus to docs
26294 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26296 * docs/gst/gstreamer-sections.txt:
26297 * docs/gst/tmpl/.cvsignore:
26298 * docs/gst/tmpl/gstbin.sgml:
26299 * docs/gst/tmpl/gstbuffer.sgml:
26300 * gst/base/gstbasesrc.c:
26301 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26304 * tools/gst-launch.1.in:
26305 inlined more doc comments, added missing comments and fixed comments
26308 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26310 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26314 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26316 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26317 * gst/gststructure.h:
26318 add a fixate function for booleans; add a FIXME that these func
26319 names should probably be gst_structure_fixate_*
26321 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26323 * docs/gst/gstreamer-docs.sgml:
26324 * docs/gst/gstreamer-sections.txt:
26326 * gst/gstbin.c: (gst_bin_get_type),
26327 (gst_bin_child_proxy_get_child_by_index),
26328 (gst_bin_child_proxy_get_children_count),
26329 (gst_bin_child_proxy_init):
26330 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26331 (gst_child_proxy_get_child_by_index),
26332 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26333 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26334 (gst_child_proxy_get), (gst_child_proxy_set_property),
26335 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26336 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26337 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26338 * gst/gstchildproxy.h:
26339 * gst/parse/grammar.y:
26340 * tools/gst-inspect.c: (print_interfaces),
26341 (print_element_properties_info), (print_element_info):
26342 ported gstchildproxy over from 0.8
26343 ported gst-inspect fixes and enhancements over from 0.8
26345 2005-08-22 Wim Taymans <wim@fluendo.com>
26347 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26348 (gst_base_transform_handle_buffer):
26349 Also call the transform function if we have ANY caps.
26351 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26354 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26356 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26357 Don't pretend to handle seek events if the source is not seekable
26359 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26361 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26362 Remove extra parameter to debug output
26364 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26365 (gst_base_src_do_seek), (gst_base_src_activate_push):
26366 Fix seek event handling.
26368 * gst/gstpipeline.c: (gst_pipeline_change_state):
26369 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26370 (gst_queue_src_activate_push):
26371 Don't start the src pad task on FLUSH_STOP if the pad
26375 2005-08-22 Wim Taymans <wim@fluendo.com>
26377 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26378 Added check for gst_static_caps_get() refcounting.
26380 2005-08-22 Wim Taymans <wim@fluendo.com>
26382 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26383 Make _static_caps_get() refcounting sane.
26385 * gst/gstelement.c: (gst_element_set_state):
26386 Add g_return_val_if_fail() to protect against segfaults.
26388 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26390 * docs/gst/tmpl/gstevent.sgml:
26393 inlined remaining docs, added missing doc comments
26395 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26397 * check/gst/gstbin.c: (GST_START_TEST):
26398 since we don't know when preroll is done, use refcount range
26400 * gst/check/gstcheck.h:
26401 add macro for checking refcount range
26403 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26405 * check/Makefile.am:
26406 clean up environment for when registry gets built versus
26407 when actual tests are run; valgrind seems to not report
26408 leaks if GST_PLUGIN_PATH is set to some specific values
26409 * check/gst/gstbin.c: (GST_START_TEST):
26410 add more refcounting checks; maybe this exposes a
26412 * common/check.mak:
26413 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26414 * gst/check/gstcheck.h:
26415 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26416 (gst_bin_change_state):
26417 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26418 add/fix debugging/whitespace
26420 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26422 * check/gst/gstevent.c: (event_probe), (test_event),
26424 Er, don't call gst_bin_watch_for_state_change you idiot.
26426 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26428 * check/Makefile.am:
26429 Use CHECK_CFLAGS and CHECK_LIBS
26430 * check/gst/gstevent.c: (event_probe), (test_event),
26433 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26434 (gst_base_src_start), (gst_base_src_stop),
26435 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26436 (gst_base_src_change_state):
26437 Sprinkle gst_base_src_stop liberally around error paths to fix
26438 problems reusing a source after failed state changes.
26439 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26440 (helper_find_suggest), (gst_type_find_helper):
26441 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26443 * docs/gst/tmpl/gstevent.sgml:
26444 Migrate part of the docs from the SGML file. Wait for ensonic to
26445 tell me how I did it wrong ;)
26446 * tools/gst-typefind.c: (main):
26447 Extra robustness to state changes between files.
26449 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26451 * check/Makefile.am:
26452 don't valgrind the controller test - it's leaking - Stefan, HELP
26453 * gst/check/gstcheck.c: (gst_check_message_error),
26454 (gst_check_chain_func), (gst_check_setup_element),
26455 (gst_check_teardown_element), (gst_check_setup_src_pad),
26456 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26457 (gst_check_teardown_sink_pad):
26458 * gst/check/gstcheck.h:
26459 add a bunch of methods to set up elements, and src and sink pads
26460 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26461 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26464 * gst/gstmessage.c:
26466 whitespace/doc fixes
26468 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26470 * gst/gstelement.h:
26471 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26472 be handled by the application and not always printed as well
26474 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26476 * check/Makefile.am:
26478 * gst/check/gstcheck.c: (gst_check_message_error):
26479 * gst/check/gstcheck.h:
26480 add a fail_unless_equals_int
26481 add fail_unless for error messages
26483 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26485 * check/Makefile.am:
26487 * common/Makefile.am:
26488 * common/check.mak:
26490 factor out some of the common stuff so we can use it
26492 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26494 * check/Makefile.am:
26495 * check/gst/gstiterator.c: (GST_START_TEST):
26496 * check/gst/gstsystemclock.c: (GST_START_TEST),
26497 (gst_systemclock_suite):
26498 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26500 valgrind more tests
26502 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26504 * check/elements/.cvsignore:
26505 * check/elements/gstfakesrc.c:
26506 rename to name of element
26507 * check/elements/identity.c: (chain_func), (event_func),
26508 (setup_identity), (cleanup_identity), (GST_START_TEST),
26509 (identity_suite), (main):
26510 add a test for identity
26511 * check/Makefile.am:
26512 * pkgconfig/Makefile.am:
26513 * pkgconfig/gstreamer-check.pc.in:
26514 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26518 move the check stuff to a library that gets installed
26519 * check/gst-libs/controller.c: (GST_START_TEST):
26520 * check/gst-libs/gdp.c:
26521 * check/gst/gst.c: (GST_START_TEST):
26522 * check/gst/gstbin.c:
26523 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26524 * check/gst/gstbus.c:
26525 * check/gst/gstcaps.c: (GST_START_TEST):
26526 * check/gst/gstelement.c:
26527 * check/gst/gstghostpad.c:
26528 * check/gst/gstiterator.c:
26529 * check/gst/gstmessage.c:
26530 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26531 * check/gst/gstobject.c:
26532 * check/gst/gstpad.c: (GST_START_TEST):
26533 * check/gst/gststructure.c: (GST_START_TEST):
26534 * check/gst/gstsystemclock.c: (GST_START_TEST),
26535 (gst_systemclock_suite):
26536 * check/gst/gsttag.c: (gst_tag_suite):
26537 * check/gst/gstvalue.c:
26538 * check/pipelines/cleanup.c:
26539 * check/pipelines/simple_launch_lines.c:
26540 * check/states/sinks.c:
26541 change include statement
26543 * docs/gst/gstreamer-sections.txt:
26544 * docs/gst/tmpl/gstpad.sgml:
26545 document more pad stuff
26546 * gst/gstminiobject.c: (gst_mini_object_ref),
26547 (gst_mini_object_unref):
26550 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26552 * docs/gst/tmpl/gst.sgml:
26554 eliminate another tmpl file, fix spelling in the long-description
26556 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26558 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26559 (test_event), (timediff), (gstevents_suite):
26560 Should fix build on 64-bit arch's
26562 2005-08-18 Andy Wingo <wingo@pobox.com>
26564 Make sure that when a pipeline goes to PLAYING, that data has
26565 actually hit the sink.
26567 * check/states/sinks.c (test_sink): A sink that doesn't get any
26568 data shouldn't return SUCCESS for going to either PLAYING or
26569 PAUSED. Test also the return values on the way back down.
26571 * gst/gstelement.c (gst_element_set_state): When changing the
26572 state of an element currently changing state asynchronously, go to
26573 lost-state after commiting the pending state. Makes future calls
26574 to get_state continue to return ASYNC.
26576 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26577 ASYNC when going to PLAYING if we still don't have preroll, as can
26578 happen with live sources.
26580 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26582 * docs/pwg/advanced-types.xml:
26583 Hack long paragraph into 2 chunks as a workaround for buggy
26584 jadetex version in sid and breezy that loops infinitely and
26587 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26589 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26590 (test_event), (timediff), (gstevents_suite):
26591 Provide more error margin in clock measurements to allow for
26592 g_get_current_time inaccuracies.
26594 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26596 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26597 (test_event), (timediff), (gstevents_suite):
26598 Fix error message output so I might be able to tell why the
26599 test works here but fails on the build farm.
26601 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26603 * check/Makefile.am:
26604 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26605 (test_event), (timediff), (gstevents_suite), (main):
26608 * docs/design/part-seeking.txt:
26609 Spelling correction
26611 * docs/gst/tmpl/gstevent.sgml:
26612 * docs/gst/tmpl/gstfakesrc.sgml:
26615 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26616 Treat a buffer-without-newsegment the same as a receiving
26617 a newsegment not in time format, and disable syncing to the clock
26620 * gst/gstbus.c: (gst_bus_set_sync_handler):
26621 Assert if anyone tries to replace the existing sync_handler for bus,
26622 as only the owner should be setting it.
26625 Have a fixed set of custom event enums with events identified by
26626 their structure name (as in 0.8), rather than a free-for-all
26627 allowing collisions between enum values from different plugins.
26629 * gst/gstpad.c: (gst_pad_class_init):
26632 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26633 Handle out-of-band downstream events from the sending thread.
26635 2005-08-17 Andy Wingo <wingo@pobox.com>
26637 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26638 play-timeout==0 to mean no timeout at all. In that case, don't
26639 bother with a get_state or a warning, just return directly, even
26642 * gst/base/gstbasetransform.c: Debug changes.
26645 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26646 ensure bins post state change messages. A bit of a hack but I can't
26647 think of a way to avoid it.
26649 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26651 2005-08-16 Andy Wingo <wingo@pobox.com>
26653 * gst/base/gstadapter.h:
26654 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26655 peek() but you own the data. Not terribly efficient atm.
26657 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26659 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26660 (gst_element_found_tags):
26662 Add two utility functions for tag handling.
26664 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26666 * docs/manual/advanced-dataaccess.xml:
26667 * docs/manual/basics-helloworld.xml:
26668 Fix docs to use _bin_add() before _link(), which fixes the examples
26669 with recent core versions (reported by Madhan Raj M
26670 <raj_madan@rediffmail.com>, #313199).
26672 2005-08-16 Wim Taymans <wim@fluendo.com>
26674 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26675 Added subtract checks.
26677 * docs/design/part-events.txt:
26678 Some more docs about newsegment
26680 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26683 * gst/gstcaps.c: (gst_caps_to_string):
26684 Add comments, cleanups.
26686 * gst/gstelement.c: (gst_element_save_thyself):
26689 * gst/gstvalue.c: (gst_value_collect_int_range),
26690 (gst_string_unwrap), (gst_value_union_int_int_range),
26691 (gst_value_union_int_range_int_range),
26692 (gst_value_intersect_int_int_range),
26693 (gst_value_intersect_int_range_int_range),
26694 (gst_value_intersect_double_double_range),
26695 (gst_value_intersect_double_range_double_range),
26696 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26697 (gst_value_subtract_int_range_int),
26698 (gst_value_subtract_double_range_double),
26699 (gst_value_subtract_double_range_double_range),
26700 (gst_value_subtract_from_list), (gst_value_subtract_list),
26701 (gst_value_can_compare), (gst_value_compare_fraction):
26702 Cleanups, add comments, remove unneeded asserts.
26704 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26706 * tools/gst-launch.c: (event_loop):
26707 don't convert NULL structures to strings
26709 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26711 * docs/gst/gstreamer-sections.txt:
26712 made some defines private
26713 * docs/gst/tmpl/gstconfig.sgml:
26714 * docs/gst/tmpl/gstqueue.sgml:
26715 * docs/gst/tmpl/gsttaglist.sgml:
26716 * docs/gst/tmpl/gsttypes.sgml:
26717 * docs/gst/tmpl/gstutils.sgml:
26718 * docs/pwg/appendix-porting.xml:
26719 * gst/base/gstbasesink.h:
26720 * gst/base/gstbasesrc.c:
26721 * gst/base/gstbasesrc.h:
26722 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26723 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26724 * gst/gstelement.c: (gst_element_class_init):
26725 * gst/gstpad.c: (gst_pad_class_init):
26726 * gst/gstqueue.c: (gst_queue_class_init):
26727 * gst/gstxml.c: (gst_xml_class_init):
26728 documented all undocumented signal inline
26729 * libs/gst/controller/gst-controller.h:
26732 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26734 * docs/pwg/appendix-porting.xml:
26735 Document _set_link_function -> _set_setcaps_function.
26737 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26739 * check/Makefile.am:
26740 add a .check target for running the check
26741 * check/gst-libs/controller.c: (GST_START_TEST):
26743 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26744 complete checks for gstbuffer; would be nice if I could get the
26745 gcov stuff to work so I can see if I actually completed gstbuffer.c
26746 * check/gstcheck.h:
26747 add ASSERT_BUFFER_REFCOUNT
26749 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26751 * docs/gst/gstreamer-sections.txt:
26752 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26754 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26755 spew out a warning if a tag that is already registered
26756 is re-registered, unless it is re-registered with a
26757 different type (#308438).
26759 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26761 * docs/pwg/appendix-porting.xml:
26762 * docs/pwg/building-state.xml:
26763 Add some paragraphs about state changes in 0.9 to the PWG
26764 and the porting guide, in particular about the new meaning
26765 of GST_STATE_PAUSED and how to write state change functions
26766 with concurrent access by multiple threads in mind.
26768 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26770 * docs/gst/gstreamer-docs.sgml:
26771 * docs/libs/gstreamer-libs-docs.sgml:
26772 added deprecation and since indexes
26773 * libs/gst/controller/gst-controller.c:
26774 * libs/gst/controller/gst-helper.c:
26778 2005-08-11 Wim Taymans <wim@fluendo.com>
26780 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26781 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26782 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26783 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26784 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26785 (gst_ghost_pad_set_target):
26786 Actually implement (re)setting the target on a ghostpad
26787 as described in the docs.
26789 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26791 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26792 Check whether GST_DEBUG_NO_COLOR environment variable is
26793 set and disable coloured debug output if that is the case.
26795 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26797 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26798 (gst_type_find_helper):
26799 The memory returned by gst_type_find_peek() needs to
26800 stay valid until the end of a typefind function, and
26801 typefind functions may keep results from different
26802 offsets around, so we can't just unref the buffer from
26803 the previous _peek(), but have to save all buffers
26804 returned by _peek() until typefinding is done and only
26807 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26809 * docs/gst/gstreamer-sections.txt:
26811 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26813 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26815 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26816 Fix a pretty good memleak.
26818 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26820 * gst/gstiterator.h:
26821 Fix wrong include and 'make distcheck'.
26823 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26825 * gst/gstbin.c: (bin_bus_handler):
26826 Use gst_element_post_message() instead.
26828 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26830 * gst/base/gstadapter.h:
26831 * gst/base/gstbasesink.h:
26832 * gst/base/gstbasesrc.h:
26833 * gst/base/gstbasetransform.h:
26834 * gst/base/gstcollectpads.h:
26835 * gst/base/gstpushsrc.h:
26836 * gst/gstiterator.h:
26837 Add padding to our base elements' class and instance structs and
26838 to GstIterator (you will need to rebuild all plugins and apps!)
26840 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26842 * gst/gstbin.c: (bin_bus_handler):
26843 Make default message forwarding from child->bus to bin->bus
26844 threadsafe and make it not emit warnings if the parent has no bus.
26846 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26848 * gst/gstelement.c: (activate_pads):
26849 On paused->ready, set pad->caps to NULL, as is the documented
26850 behaviour in this state change. Fixes playback of series of
26851 media files when visualization is enabled in Totem.
26853 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26855 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26856 Allow NULL as filter-caps (which means "any").
26858 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26860 * docs/libs/gstreamer-libs-sections.txt:
26861 * libs/gst/controller/gst-controller.c:
26862 * libs/gst/controller/gst-controller.h:
26863 * libs/gst/controller/gst-helper.c:
26864 adding more entries to the docs and fix small doc-bugs
26866 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26868 * docs/gst/gstreamer-docs.sgml:
26869 * docs/gst/gstreamer-sections.txt:
26870 * docs/gst/gstreamer.types:
26871 * docs/gst/tmpl/gstbasesink.sgml:
26872 * docs/gst/tmpl/gstbasesrc.sgml:
26873 * docs/gst/tmpl/gstbasetransform.sgml:
26874 * docs/gst/tmpl/gstfakesrc.sgml:
26875 * gst/base/gstcollectpads.c:
26876 * gst/base/gstcollectpads.h:
26877 * libs/gst/controller/gst-controller.c:
26878 * libs/gst/controller/gst-controller.h:
26879 * libs/gst/controller/gst-helper.c:
26880 * libs/gst/controller/gst-interpolation.c:
26881 * libs/gst/controller/lib.c:
26882 added long/short desc for controller docs
26883 added collectpads base class docs
26884 added correct includes to base-class docs
26886 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26888 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26889 (gst_test_mono_source_set_property),
26890 (gst_test_mono_source_class_init), (GST_START_TEST),
26891 (gst_controller_suite):
26892 * docs/gst/gstreamer-docs.sgml:
26893 * docs/gst/gstreamer-sections.txt:
26894 * docs/gst/gstreamer.types:
26895 * docs/libs/gstreamer-libs-docs.sgml:
26896 * docs/libs/gstreamer-libs-sections.txt:
26897 * gst/base/gstadapter.c:
26898 * libs/gst/controller/gst-controller.c:
26899 (gst_controlled_property_new), (gst_controlled_property_free),
26900 (gst_controller_new_valist),
26901 (gst_controller_remove_properties_valist),
26902 (gst_controller_sink_values), (_gst_controller_finalize):
26903 * libs/gst/controller/gst-controller.h:
26904 * libs/gst/controller/gst-helper.c:
26905 (gst_object_control_properties), (gst_object_uncontrol_properties),
26906 (gst_object_get_controller), (gst_object_set_controller),
26907 (gst_object_sink_values), (gst_object_get_value_arrays),
26908 (gst_object_get_value_array):
26909 more tests (and fixes) for the controller
26910 more docs for the controller
26911 integrated companies docs for the adapter
26913 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26915 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26916 (GST_START_TEST), (fakesrc_suite):
26917 add tests for sizetype
26919 2005-08-04 Andy Wingo <wingo@pobox.com>
26921 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26922 fixes buffer_alloc proxying among other things.
26924 * gst/base/gstbasetransform.c:
26925 * gst/base/gstbasetransform.h:
26926 Revert patch to gstbasetransform from 7-28 removing
26929 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26930 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26931 Semantics changed, should return not the size of the output buffer
26932 but the byte size of a buffer with a given caps.
26934 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26936 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26937 out) are not the pad caps until setcaps finishes.
26938 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26939 not-in-place case as well. Deal with changing from in-place to
26940 not-in-place within calling pad_alloc_buffer. Still a bit
26941 concerned about the overhead here...
26943 2005-08-03 Andy Wingo <wingo@pobox.com>
26945 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26946 fixating is an error.
26948 2005-08-04 Edward Hervey <edward@fluendo.com>
26950 * gst/base/gstadapter.h:
26951 Added gst_adapter_get_type() to the header
26953 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26955 * check/Makefile.am:
26956 * check/gst-libs/controller.c:
26957 * libs/gst/controller/gst-controller.c:
26958 (gst_controller_new_valist):
26959 added check test suite for the controller
26960 * gst/base/gstpushsrc.c:
26963 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26965 * docs/gst/Makefile.am:
26966 * docs/gst/gstreamer-docs.sgml:
26967 * docs/gst/gstreamer-sections.txt:
26968 * docs/gst/gstreamer.types:
26969 * docs/gst/tmpl/gstfakesrc.sgml:
26971 * gst/base/gstbasesink.c:
26972 * gst/base/gstbasesink.h:
26973 * gst/base/gstbasesrc.c:
26974 * gst/base/gstbasesrc.h:
26975 * gst/base/gstbasetransform.c:
26976 * gst/base/gstpushsrc.c:
26977 * gst/base/gstpushsrc.h:
26978 add short/long description docs to base classes
26979 add pushsrc to the docs
26980 remove consolidated doc fragments
26982 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26985 * docs/libs/Makefile.am:
26986 * docs/libs/gstreamer-libs-docs.sgml:
26987 * docs/libs/gstreamer-libs-sections.txt:
26988 * docs/libs/gstreamer-libs.types:
26989 * examples/Makefile.am:
26990 * examples/controller/.cvsignore:
26991 * examples/controller/Makefile.am:
26992 * examples/controller/audio-example.c: (main):
26993 * libs/gst/Makefile.am:
26994 * libs/gst/controller/.cvsignore:
26995 * libs/gst/controller/Makefile.am:
26996 * libs/gst/controller/gst-controller.c:
26997 (on_object_controlled_property_changed), (gst_timed_value_compare),
26998 (gst_timed_value_find),
26999 (gst_controlled_property_set_interpolation_mode),
27000 (gst_controlled_property_new), (gst_controlled_property_free),
27001 (gst_controller_find_controlled_property),
27002 (gst_controller_new_valist), (gst_controller_new),
27003 (gst_controller_remove_properties_valist),
27004 (gst_controller_remove_properties), (gst_controller_set),
27005 (gst_controller_set_from_list), (gst_controller_unset),
27006 (gst_controller_get), (gst_controller_get_all),
27007 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27008 (gst_controller_get_value_array),
27009 (gst_controller_set_interpolation_mode),
27010 (_gst_controller_finalize), (_gst_controller_init),
27011 (_gst_controller_class_init), (gst_controller_get_type):
27012 * libs/gst/controller/gst-controller.h:
27013 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27014 (g_object_uncontrol_properties), (g_object_get_controller),
27015 (g_object_set_controller), (g_object_sink_values),
27016 (g_object_get_value_arrays), (g_object_get_value_array):
27017 * libs/gst/controller/gst-interpolation.c:
27018 (gst_controlled_property_find_timed_value_node),
27019 (interpolate_none_get), (interpolate_trigger_get),
27020 (interpolate_trigger_get_value_array):
27021 * libs/gst/controller/lib.c: (gst_controller_init):
27022 * pkgconfig/Makefile.am:
27023 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27024 * pkgconfig/gstreamer-control.pc.in:
27025 * testsuite/Makefile.am:
27026 * testsuite/controller/.cvsignore:
27027 * testsuite/controller/Makefile.am:
27028 * testsuite/controller/interpolator.c: (main):
27029 added controller code
27030 removed dparam pc files
27032 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27033 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27034 (gst_collectpads_stop):
27035 Broadcast the condition when shutting down, to make sure we wake all
27036 threads up. Shut down pads on finalize, for safety.
27038 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27039 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27040 (gst_base_transform_handle_buffer),
27041 (gst_base_transform_change_state):
27042 Handle PAUSED->READY->PAUSED transition after negotiation
27044 * gst/gstmessage.c: (gst_message_init):
27045 Extra piece of debug for new messages.
27047 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27050 * docs/gst/tmpl/gstbasesrc.sgml:
27051 * docs/gst/tmpl/gstelement.sgml:
27052 * docs/gst/tmpl/gstevent.sgml:
27053 * docs/gst/tmpl/gstfakesrc.sgml:
27054 * docs/gst/tmpl/gstformat.sgml:
27055 * docs/gst/tmpl/gstghostpad.sgml:
27056 * docs/gst/tmpl/gstpad.sgml:
27057 * docs/gst/tmpl/gstquery.sgml:
27058 * docs/gst/tmpl/gststructure.sgml:
27059 * docs/gst/tmpl/gsttaglist.sgml:
27060 * docs/gst/tmpl/gstvalue.sgml:
27061 * docs/libs/gstreamer-libs-docs.sgml:
27062 * docs/libs/gstreamer-libs-sections.txt:
27063 * docs/libs/gstreamer-libs.types:
27064 * libs/gst/Makefile.am:
27065 * libs/gst/control/.cvsignore:
27066 * libs/gst/control/Makefile.am:
27067 * libs/gst/control/control.c:
27068 * libs/gst/control/control.h:
27069 * libs/gst/control/dparam.c:
27070 * libs/gst/control/dparam.h:
27071 * libs/gst/control/dparam_smooth.c:
27072 * libs/gst/control/dparam_smooth.h:
27073 * libs/gst/control/dparamcommon.h:
27074 * libs/gst/control/dparammanager.c:
27075 * libs/gst/control/dparammanager.h:
27076 * libs/gst/control/dplinearinterp.c:
27077 * libs/gst/control/dplinearinterp.h:
27078 * libs/gst/control/unitconvert.c:
27079 * libs/gst/control/unitconvert.h:
27080 * testsuite/Makefile.am:
27081 * testsuite/dynparams/.cvsignore:
27082 * testsuite/dynparams/Makefile.am:
27083 * testsuite/dynparams/dparamstest.c:
27084 * tools/Makefile.am:
27085 * tools/gst-inspect.c: (print_element_info), (main):
27086 * tools/gst-xmlinspect.c: (print_element_info), (main):
27087 deactivate and remove dparams (libgstcontrol)
27089 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27091 * gst/elements/gsttypefindelement.c:
27092 (gst_type_find_element_have_type), (gst_type_find_element_init),
27093 (stop_typefinding), (gst_type_find_element_handle_event),
27094 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27095 * gst/elements/gsttypefindelement.h:
27096 Set caps on all outgoing buffers, not just the first one.
27098 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27100 * gst/elements/gsttypefindelement.c:
27101 (gst_type_find_element_have_type),
27102 (gst_type_find_element_check_set_buffer_caps),
27103 (gst_type_find_element_init), (stop_typefinding),
27104 (gst_type_find_element_handle_event),
27105 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27106 * gst/elements/gsttypefindelement.h:
27107 Set caps on first outgoing buffer when we've found the type.
27109 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27111 * docs/gst/gstreamer-docs.sgml:
27112 * docs/gst/gstreamer-sections.txt:
27113 * docs/gst/tmpl/gstscheduler.sgml:
27114 * docs/gst/tmpl/gstschedulerfactory.sgml:
27115 Remove some old cruft from docs.
27117 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27120 Fix inline docs for GstPadLinkReturn.
27122 * gst/gststructure.c: (gst_structure_has_name):
27123 * gst/gststructure.h:
27124 * docs/gst/gstreamer-sections.txt:
27125 New API: gst_structure_has_name().
27127 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27130 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27131 and _LARGEFILE_SOURCE in config.h as required. Do not
27132 export those flags in our .pc files any longer (#142209).
27134 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27136 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27137 (gst_file_sink_do_seek), (gst_file_sink_event),
27138 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27139 Redo seek/tell calls with large file support in mind; add some
27140 debugging messages; add log message that tells us when large
27141 file support is unavailable or not enabled for some reason.
27143 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27144 Add log message that tells us when large file support
27145 is unavailable or not enabled for some reason.
27147 2005-07-29 Wim Taymans <wim@fluendo.com>
27149 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27150 Added test for removing an element with ghostpad from a bin.
27151 Fixed test as current implementation does the right thing.
27153 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27154 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27155 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27156 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27157 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27158 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27159 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27160 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27161 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27162 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27163 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27164 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27165 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27166 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27167 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27168 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27169 * gst/gstghostpad.h:
27170 Clean up ghostpads, remove properties for internal stuff.
27173 Prepare for switching targets, not all use cases work yet.
27175 2005-07-29 Wim Taymans <wim@fluendo.com>
27177 * docs/design/part-gstghostpad.txt:
27180 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27181 (gst_bin_remove_func):
27182 Unlinking pads while holding the bin LOCK is not a good
27185 * gst/gstpad.c: (gst_pad_class_init),
27186 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27187 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27188 No prob setting template after creating the pad.
27190 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27192 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27193 (gst_bus_peek), (gst_bus_source_dispatch),
27194 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27195 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27196 gst_bus_poll may be called from other threads. Handle
27197 this nicely by not making poll_data disappear off the
27198 stack once gst_bus_poll returns.
27199 gst_bus_peek now increments the refcount on the returned
27202 2005-07-29 Wim Taymans <wim@fluendo.com>
27204 * docs/design/part-gstghostpad.txt:
27205 Overview of current GhostPad datastructures and use
27206 cases for changing the target.
27208 2005-07-28 Wim Taymans <wim@fluendo.com>
27210 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27211 Added checks for hierarchy consistency whan adding linked
27214 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27215 Added check to test element scheduling without bin/pipeline.
27217 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27218 First add elements to bin, then link.
27220 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27221 (gst_bin_remove_func):
27222 Unlink pads from elements added/removed from bin to maintain
27223 hierarchy consistency.
27225 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27227 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27228 (gst_base_transform_handle_buffer):
27229 * gst/base/gstbasetransform.h:
27230 Remove broken delay_configure (fixes renegotiation of software
27231 scaling pipelines); remove some leftover printf()s.
27233 2005-07-28 Wim Taymans <wim@fluendo.com>
27235 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27236 Added some more tests for wrong hierarchy
27238 * docs/design/part-overview.txt:
27241 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27244 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27245 (gst_element_dispose):
27246 Some more cleanups.
27248 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27249 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27250 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27251 (gst_pad_set_caps), (gst_pad_send_event):
27252 Check for correct hierarchy when linking pads. Moving to
27253 strict requirement for ghostpads when linking elements in
27257 Clean ups. Added WRONG_HIERARCHY return value.
27259 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27261 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27262 Better debug if no transform is possible.
27264 2005-07-27 Wim Taymans <wim@fluendo.com>
27266 * docs/random/wtay/network-transp:
27267 Some old doc I had.
27269 2005-07-27 Wim Taymans <wim@fluendo.com>
27271 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27272 (gst_dp_event_from_packet):
27273 Fix serialization of seek events.
27275 2005-07-27 Wim Taymans <wim@fluendo.com>
27277 * check/gst-libs/gdp.c: (GST_START_TEST):
27278 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27279 Fix compilation and fix event serialization.
27281 2005-07-27 Wim Taymans <wim@fluendo.com>
27284 * docs/design/part-TODO.txt:
27285 * docs/design/part-events.txt:
27288 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27289 (gst_base_sink_event), (gst_base_sink_do_sync),
27290 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27291 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27292 (gst_base_src_do_seek), (gst_base_src_event_handler),
27293 (gst_base_src_loop):
27294 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27295 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27296 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27297 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27298 (gst_base_transform_set_passthrough),
27299 (gst_base_transform_is_passthrough):
27300 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27301 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27307 * gst/gstelement.c: (gst_element_seek):
27308 * gst/gstelement.h:
27309 Update gst_element_seek.
27311 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27312 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27313 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27314 (gst_event_new_eos), (gst_event_new_newsegment),
27315 (gst_event_parse_newsegment), (gst_event_new_tag),
27316 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27317 (gst_event_parse_qos), (gst_event_new_seek),
27318 (gst_event_parse_seek), (gst_event_new_navigation):
27320 Make GstEvent use GstStructure. Add parsing code, make sure the
27321 API is sufficiently generic.
27322 Mark possible directions of events and serialization.
27324 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27325 (_gst_message_copy), (gst_message_new_segment_start),
27326 (gst_message_new_segment_done), (gst_message_new_custom),
27327 (gst_message_parse_segment_start),
27328 (gst_message_parse_segment_done):
27331 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27332 (gst_pad_set_caps), (gst_pad_send_event):
27333 Update for new events.
27334 Catch events sent in wrong directions.
27336 * gst/gstqueue.c: (gst_queue_link_src),
27337 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27338 (gst_queue_handle_src_query):
27343 Remove event code from this file.
27345 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27346 (gst_dp_event_from_packet):
27349 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27351 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27352 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27353 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27354 Make debugging actually useful.
27356 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27358 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27359 (gst_pad_fixate_caps):
27360 Implement default fixation once again, so that gst_pad_fixate()
27361 actually does anything at all. This probably needs to be some
27362 sort of a last resort, and use profile-based fixation first, but
27363 since that doesn't exist yet, this is the best we have. Fixes
27364 visualization in Totem.
27366 2005-07-22 Wim Taymans <wim@fluendo.com>
27368 * docs/design/part-events.txt:
27371 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27372 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27373 (gst_base_sink_activate_pull):
27374 Some more comments.
27376 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27377 (gst_fake_src_create):
27378 Fix handoff marshall.
27380 * gst/elements/gstidentity.c: (gst_identity_class_init),
27381 (gst_identity_transform_ip):
27382 We're a real inplace element.
27384 * gst/gstbus.c: (gst_bus_post):
27385 Added some comments.
27387 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27388 * tests/muxing/case1.c: (main):
27389 * tests/sched/dynamic-pipeline.c: (main):
27390 * tests/sched/interrupt1.c: (main):
27391 * tests/sched/interrupt2.c: (main):
27392 * tests/sched/interrupt3.c: (main):
27393 * tests/sched/runxml.c: (main):
27394 * tests/sched/sched-stress.c: (main):
27395 * tests/seeking/seeking1.c: (event_received), (main):
27396 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27398 * tests/threadstate/threadstate3.c: (main):
27399 * tests/threadstate/threadstate4.c: (main):
27400 * tests/threadstate/threadstate5.c: (main):
27403 2005-07-21 Wim Taymans <wim@fluendo.com>
27405 * docs/design/part-seeking.txt:
27406 Some small additions.
27408 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27409 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27410 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27411 * gst/base/gstbasesink.h:
27412 discont values are gint64, handle the math correctly.
27414 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27415 Make the basesrc report error if the source pad is not linked.
27417 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27418 (gst_queue_loop), (gst_queue_handle_src_query),
27419 (gst_queue_src_activate_push):
27420 Make queue collect data even if the srcpad is not linked.
27421 Start pushing out data as soon as it is linked.
27423 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27425 Added gst_flow_get_name() to ease error reporting.
27427 2005-07-20 Wim Taymans <wim@fluendo.com>
27429 * gst/gstmessage.c: (gst_message_new_segment_start),
27430 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27431 (gst_message_parse_segment_done):
27432 * gst/gstmessage.h:
27433 Added a bunch of messages for advanced seeking.
27435 * gst/parse/grammar.y:
27436 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27437 (gst_dpman_state_changed):
27438 Fix some new-pad -> pad-added signals
27440 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27442 * docs/manual/appendix-porting.xml:
27443 * docs/pwg/appendix-porting.xml:
27444 Document new-pad/state-change signal renames and the FixedList
27447 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27449 * docs/manual/advanced-autoplugging.xml:
27450 * docs/manual/basics-helloworld.xml:
27451 * docs/manual/basics-pads.xml:
27452 * docs/random/ds/0.9-suggested-changes:
27453 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27454 * gst/gstelement.h:
27458 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27459 (gst_structure_parse_array), (gst_structure_parse_value):
27460 * gst/gstvalue.c: (gst_type_is_fixed),
27461 (gst_value_list_prepend_value), (gst_value_list_append_value),
27462 (gst_value_list_get_size), (gst_value_list_get_value),
27463 (gst_value_transform_array_string), (gst_value_serialize_array),
27464 (gst_value_deserialize_array), (gst_value_intersect_array),
27465 (gst_value_is_fixed), (_gst_value_initialize):
27467 GstElement::new-pad -> pad-added, GstElement::state-change ->
27468 state-changed, GstValueFixedList -> GstValueArray, add format and
27469 flags as their own arguments in gst_element_seek() (should improve
27470 "bindeability"), remove function generators since they don't work
27471 under a whole bunch of compilers (they were deprecated already
27474 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27476 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27477 (_gst_debug_register_funcptr):
27479 Fix illegal cast on some platforms (#309253).
27481 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27483 * gst/gstmessage.c: (gst_message_new_custom):
27484 * gst/gstmessage.h:
27485 Add _new_custom, make _new_application a macro to _new_custom.
27487 2005-07-20 Wim Taymans <wim@fluendo.com>
27489 * gst/base/gstbasesrc.c: (gst_base_src_init),
27490 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27491 * gst/base/gstbasesrc.h:
27492 Add a gboolean to decide when to push out a discont.
27494 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27495 (gst_queue_loop), (gst_queue_handle_src_query),
27496 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27497 (gst_queue_set_property), (gst_queue_get_property):
27500 * tests/threadstate/threadstate1.c: (main):
27501 Make a thread test compile and run... very silly..
27504 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27506 * docs/manual/appendix-porting.xml:
27507 Mention removal of libgstgconf-0.9.la and existence of gconf
27510 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27512 * docs/pwg/advanced-clock.xml:
27513 * docs/pwg/appendix-porting.xml:
27514 * docs/pwg/intro-preface.xml:
27515 * docs/pwg/other-base.xml:
27516 * docs/pwg/other-manager.xml:
27517 * docs/pwg/other-nton.xml:
27518 * docs/pwg/other-ntoone.xml:
27519 * docs/pwg/other-oneton.xml:
27520 * docs/pwg/pwg.xml:
27521 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27522 demuxer), remove n-to-n (was never written), fix some code examples
27523 and links and update the porting section to include all this.
27525 2005-07-19 Wim Taymans <wim@fluendo.com>
27527 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27528 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27529 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27530 (gst_queue_src_activate_push), (gst_queue_change_state),
27531 (gst_queue_get_property):
27533 Propagate GstFlowReturn more intelligently upstream and output
27534 an ERROR/EOS when streaming stopped due to fatal error.
27536 2005-07-19 Wim Taymans <wim@fluendo.com>
27538 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27539 Don't block forever for the state change to complete, the
27540 pipeline already did with a sensible timeout.
27542 2005-07-19 Wim Taymans <wim@fluendo.com>
27544 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27545 Make sure we never call the create function is we
27548 2005-07-19 Andy Wingo <wingo@pobox.com>
27550 * gst/parse/parse.l: Attempt to solve bug #172815.
27552 2005-07-19 Wim Taymans <wim@fluendo.com>
27554 * docs/design/part-clocks.txt:
27555 * docs/design/part-events.txt:
27556 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27557 Small docs updates.
27558 Only update the seeking values when we are not
27561 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27563 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27564 Oops, ignore the result of gst_pad_push_event here.
27566 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27568 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27569 (gst_base_src_activate_push):
27570 Send discont event from the loop function, as pads
27571 aren't activated yet in the activate_push handler.
27573 * gst/gstbin.c: (bin_bus_handler):
27574 Don't leak element name.
27576 2005-07-18 Andy Wingo <wingo@pobox.com>
27578 * configure.ac: Use AS_LIBTOOL_TAGS.
27580 2005-07-18 Wim Taymans <wim@fluendo.com>
27582 * docs/gst/gstreamer.types:
27583 Remove deleted types.
27585 2005-07-18 Wim Taymans <wim@fluendo.com>
27587 * check/elements/gstfakesrc.c: (GST_START_TEST):
27590 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27591 (init_popt_callback):
27593 * gst/gst_private.h:
27594 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27595 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27598 * gst/gstconfig.h.in:
27599 * gst/gstelement.c: (gst_element_class_init),
27600 (gst_element_set_base_time), (gst_element_get_base_time),
27601 (iterator_fold_with_resync), (gst_element_change_state),
27602 (gst_element_dispose), (gst_element_get_bus):
27603 * gst/gstelement.h:
27604 * gst/gstelementfactory.h:
27605 * gst/gsterror.c: (_gst_core_errors_init):
27608 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27610 * gst/gstinfo.c: (_gst_debug_init):
27611 * gst/gstmessage.c: (_gst_message_copy):
27612 * gst/gstmessage.h:
27613 * gst/gstminiobject.h:
27616 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27617 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27620 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27621 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27622 (gst_pipeline_get_last_stream_time):
27623 * gst/gstpipeline.h:
27624 * gst/gstpluginfeature.h:
27626 * gst/gstscheduler.c:
27627 * gst/gstscheduler.h:
27628 * gst/gststructure.h:
27629 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27630 (gst_task_finalize), (gst_task_func), (gst_task_create),
27631 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27632 (gst_task_stop), (gst_task_pause):
27634 * gst/gsttypefind.h:
27636 * gst/registries/gstlibxmlregistry.c: (load_feature),
27637 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27638 * gst/registries/gstxmlregistry.c:
27639 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27640 * gst/schedulers/threadscheduler.c:
27641 * libs/gst/control/dparammanager.h:
27642 * tools/gst-inspect.c: (print_element_list),
27643 (print_plugin_features), (print_element_features):
27644 * tools/gst-xmlinspect.c: (print_element_list),
27645 (print_plugin_info), (main):
27646 Removed plugable schedulers.
27647 Removed Scheduler/Manager from elements.
27648 Removed gsttypes.h, rearranged includes.
27649 Removed dependency pad<->element, element<>pipeline, and
27650 various others, fix includes.
27651 implement gst_pad_get_parent() with gst_object_get_parent()
27652 Make GstTask sefcontained.
27653 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27655 Fix endless loop in iterator_fold_with_resync.
27658 2005-07-18 Wim Taymans <wim@fluendo.com>
27664 2005-07-18 Wim Taymans <wim@fluendo.com>
27667 No more cothreads.h
27669 2005-07-18 Wim Taymans <wim@fluendo.com>
27673 Let's remove these.
27675 2005-07-18 Wim Taymans <wim@fluendo.com>
27677 * docs/design/part-dynamic.txt:
27678 * docs/design/part-events.txt:
27679 * docs/design/part-seeking.txt:
27680 Some more docs in the works.
27682 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27683 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27684 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27685 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27686 (gst_base_transform_handle_buffer),
27687 (gst_base_transform_sink_activate_push),
27688 (gst_base_transform_src_activate_pull),
27689 (gst_base_transform_set_passthrough),
27690 (gst_base_transform_is_passthrough):
27693 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27696 * gst/gstevent.c: (gst_event_finalize):
27699 * gst/gstutils.c: (gst_element_unlink),
27700 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27701 (gst_pad_proxy_setcaps):
27703 Add _get_parent_element() to get a pads parent as an element.
27705 2005-07-18 Wim Taymans <wim@fluendo.com>
27707 * check/gst/gstbin.c: (GST_START_TEST):
27710 2005-07-18 Wim Taymans <wim@fluendo.com>
27712 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27713 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27714 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27715 (gst_base_sink_event), (gst_base_sink_do_sync),
27716 (gst_base_sink_chain), (gst_base_sink_loop),
27717 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27718 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27720 Fix logic for returning ASYNC when not prerolled.
27722 2005-07-18 Wim Taymans <wim@fluendo.com>
27724 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27725 Fix nasty refcount bug.
27727 2005-07-16 Philippe Khalaf <burger@speedy.org>
27729 * gst/elements/gstfdsrc.c:
27730 * gst/elements/gstfdsrc.h:
27731 * gst/elements/gstelements.c:
27732 * gst/elements/Makefile.am:
27733 Ported fdsrc to 0.9.
27735 2005-07-16 Wim Taymans <wim@fluendo.com>
27737 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27738 (gst_base_sink_do_sync):
27741 2005-07-16 Wim Taymans <wim@fluendo.com>
27743 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27744 (gst_base_sink_event), (gst_base_sink_get_times),
27745 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27746 * gst/base/gstbasesink.h:
27747 Store and use discont values when syncing buffers as described
27750 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27751 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27752 (gst_base_src_activate_push):
27753 Push discont event when starting.
27755 * gst/elements/gstidentity.c: (gst_identity_transform):
27758 * gst/gstbin.c: (gst_bin_change_state):
27759 Small cleanups in base_time distribution.
27761 * gst/gstelement.c: (gst_element_set_base_time),
27762 (gst_element_get_base_time), (gst_element_change_state):
27763 * gst/gstelement.h:
27764 Added methods for the base_time of the element.
27767 * gst/gstpipeline.c: (gst_pipeline_send_event),
27768 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27769 (gst_pipeline_get_last_stream_time):
27770 * gst/gstpipeline.h:
27772 Handle seeking as described in design doc, remove stream_time
27774 Cleanups clock and stream_time selection code. Added accessors
27775 for the stream_time.
27778 2005-07-16 Andy Wingo <wingo@pobox.com>
27780 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27783 2005-07-16 Wim Taymans <wim@fluendo.com>
27785 * check/gst/gstbin.c: (GST_START_TEST):
27786 Make elements silent as the deep_notify refs the
27787 parent, which might make the test fail.
27789 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27790 Don't hold the lock for too long.
27792 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27794 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27795 Don't unref the caps we passed to gst_caps_make_writable() after
27796 passing them. gst_caps_make_writable() will do that for us.
27798 2005-07-15 Andy Wingo <wingo@pobox.com>
27800 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27803 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27804 own marshalling function for the handoff signal. Properly type the
27805 buffer as a buffer. Fixes some warnings. Should do a more general
27807 (gst_identity_class_init): Plug into the right marshaller.
27809 2005-07-15 Wim Taymans <wim@fluendo.com>
27811 * docs/design/part-TODO.txt:
27812 * docs/design/part-clocks.txt:
27813 * docs/design/part-element-sink.txt:
27814 * docs/design/part-events.txt:
27815 * docs/design/part-gstpipeline.txt:
27816 Updated docs, mostly DISCONT related.
27818 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27820 * docs/pwg/building-pads.xml:
27821 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27823 2005-07-15 Andy Wingo <wingo@pobox.com>
27825 * tools/gst-typefind.c: Update, add copyright block.
27827 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27828 Normalize and truncate caps before fixation.
27831 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27832 discards all but the first structure from its argument.
27834 2005-07-15 Wim Taymans <wim@fluendo.com>
27836 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27837 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27838 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27839 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27840 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27841 (gst_base_transform_chain), (gst_base_transform_change_state),
27842 (gst_base_transform_set_passthrough),
27843 (gst_base_transform_is_passthrough):
27844 * gst/base/gstbasetransform.h:
27845 Make passthrough work using the bufferpools.
27846 Changed API a bit, subclasses have to write into a buffer
27847 provided by the base class.
27848 More debug info in nego functions.
27850 * gst/elements/gstidentity.c: (gst_identity_init),
27851 (gst_identity_transform):
27852 Port to new base class.
27854 2005-07-15 Wim Taymans <wim@fluendo.com>
27856 * gst/gstmessage.c: (gst_message_new_state_changed):
27857 * tools/gst-launch.c: (event_loop), (main):
27858 Totally dump messages in -launch with the -m option.
27859 Fix message name for State messages,
27861 2005-07-14 Wim Taymans <wim@fluendo.com>
27863 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27864 Post error messages on errors.
27866 2005-07-14 Wim Taymans <wim@fluendo.com>
27868 * gst/gstcaps.c: (gst_caps_do_simplify):
27872 Define error for stream stopped.
27874 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27875 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27876 Do proper return values.
27878 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27879 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27880 (gst_pad_get_range):
27881 Better return values.
27884 Reorganise return values, add macro to check for fatal errors.
27886 * gst/gstqueue.c: (gst_queue_chain):
27887 Return proper GstFlowReturn values,
27889 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27891 * docs/gst/gstreamer-sections.txt:
27892 * docs/gst/gstreamer.types:
27893 * docs/gst/tmpl/gst.sgml:
27894 * docs/gst/tmpl/gstbasesink.sgml:
27895 * docs/gst/tmpl/gstbasesrc.sgml:
27896 * docs/gst/tmpl/gstbasetransform.sgml:
27897 * docs/gst/tmpl/gstbin.sgml:
27898 * docs/gst/tmpl/gstbuffer.sgml:
27899 * docs/gst/tmpl/gstcaps.sgml:
27900 * docs/gst/tmpl/gstclock.sgml:
27901 * docs/gst/tmpl/gstcompat.sgml:
27902 * docs/gst/tmpl/gstconfig.sgml:
27903 * docs/gst/tmpl/gstelement.sgml:
27904 * docs/gst/tmpl/gstelementdetails.sgml:
27905 * docs/gst/tmpl/gstelementfactory.sgml:
27906 * docs/gst/tmpl/gstenumtypes.sgml:
27907 * docs/gst/tmpl/gsterror.sgml:
27908 * docs/gst/tmpl/gstevent.sgml:
27909 * docs/gst/tmpl/gstfakesink.sgml:
27910 * docs/gst/tmpl/gstfakesrc.sgml:
27911 * docs/gst/tmpl/gstfilesink.sgml:
27912 * docs/gst/tmpl/gstfilesrc.sgml:
27913 * docs/gst/tmpl/gstfilter.sgml:
27914 * docs/gst/tmpl/gstformat.sgml:
27915 * docs/gst/tmpl/gstghostpad.sgml:
27916 * docs/gst/tmpl/gstimplementsinterface.sgml:
27917 * docs/gst/tmpl/gstindex.sgml:
27918 * docs/gst/tmpl/gstindexfactory.sgml:
27919 * docs/gst/tmpl/gstinfo.sgml:
27920 * docs/gst/tmpl/gstiterator.sgml:
27921 * docs/gst/tmpl/gstmacros.sgml:
27922 * docs/gst/tmpl/gstmemchunk.sgml:
27923 * docs/gst/tmpl/gstminiobject.sgml:
27924 * docs/gst/tmpl/gstobject.sgml:
27925 * docs/gst/tmpl/gstpad.sgml:
27926 * docs/gst/tmpl/gstpadtemplate.sgml:
27927 * docs/gst/tmpl/gstparse.sgml:
27928 * docs/gst/tmpl/gstpipeline.sgml:
27929 * docs/gst/tmpl/gstplugin.sgml:
27930 * docs/gst/tmpl/gstpluginfeature.sgml:
27931 * docs/gst/tmpl/gstquery.sgml:
27932 * docs/gst/tmpl/gstqueue.sgml:
27933 * docs/gst/tmpl/gstregistry.sgml:
27934 * docs/gst/tmpl/gstregistrypool.sgml:
27935 * docs/gst/tmpl/gstscheduler.sgml:
27936 * docs/gst/tmpl/gstschedulerfactory.sgml:
27937 * docs/gst/tmpl/gststructure.sgml:
27938 * docs/gst/tmpl/gstsystemclock.sgml:
27939 * docs/gst/tmpl/gsttaglist.sgml:
27940 * docs/gst/tmpl/gsttagsetter.sgml:
27941 * docs/gst/tmpl/gsttrace.sgml:
27942 * docs/gst/tmpl/gsttrashstack.sgml:
27943 * docs/gst/tmpl/gsttypefind.sgml:
27944 * docs/gst/tmpl/gsttypefindfactory.sgml:
27945 * docs/gst/tmpl/gsttypes.sgml:
27946 * docs/gst/tmpl/gsturihandler.sgml:
27947 * docs/gst/tmpl/gsturitype.sgml:
27948 * docs/gst/tmpl/gstutils.sgml:
27949 * docs/gst/tmpl/gstvalue.sgml:
27950 * docs/gst/tmpl/gstversion.sgml:
27951 * docs/gst/tmpl/gstxml.sgml:
27952 * docs/libs/tmpl/gstcontrol.sgml:
27953 * docs/libs/tmpl/gstdataprotocol.sgml:
27954 * docs/libs/tmpl/gstdparam.sgml:
27955 * docs/libs/tmpl/gstdplinint.sgml:
27956 * docs/libs/tmpl/gstdpman.sgml:
27957 * docs/libs/tmpl/gstdpsmooth.sgml:
27958 * docs/libs/tmpl/gstgetbits.sgml:
27959 * docs/libs/tmpl/gstunitconvert.sgml:
27960 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27961 (gst_push_src_base_init), (gst_push_src_class_init),
27962 (gst_push_src_init), (gst_push_src_create):
27963 * gst/base/gstpushsrc.h:
27964 * gst/elements/gstelements.c:
27965 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27966 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27967 (gst_fake_sink_init), (gst_fake_sink_set_property),
27968 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27969 (gst_fake_sink_event), (gst_fake_sink_preroll),
27970 (gst_fake_sink_render), (gst_fake_sink_change_state):
27971 * gst/elements/gstfakesink.h:
27972 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27973 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27974 (gst_fake_src_base_init), (gst_fake_src_class_init),
27975 (gst_fake_src_init), (gst_fake_src_event_handler),
27976 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27977 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27978 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27979 (gst_fake_src_create_buffer), (gst_fake_src_create),
27980 (gst_fake_src_start), (gst_fake_src_stop):
27981 * gst/elements/gstfakesrc.h:
27982 * gst/elements/gstfilesink.c: (_do_init),
27983 (gst_file_sink_base_init), (gst_file_sink_class_init),
27984 (gst_file_sink_init), (gst_file_sink_dispose),
27985 (gst_file_sink_set_location), (gst_file_sink_set_property),
27986 (gst_file_sink_get_property), (gst_file_sink_open_file),
27987 (gst_file_sink_close_file), (gst_file_sink_query),
27988 (gst_file_sink_event), (gst_file_sink_render),
27989 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27990 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27991 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27992 * gst/elements/gstfilesink.h:
27993 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27994 (gst_file_src_class_init), (gst_file_src_init),
27995 (gst_file_src_finalize), (gst_file_src_set_location),
27996 (gst_file_src_set_property), (gst_file_src_get_property),
27997 (gst_file_src_map_region), (gst_file_src_map_small_region),
27998 (gst_file_src_create_mmap), (gst_file_src_create_read),
27999 (gst_file_src_create), (gst_file_src_is_seekable),
28000 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28001 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28002 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28003 (gst_file_src_uri_handler_init):
28004 * gst/elements/gstfilesrc.h:
28005 more autistic cleanliness in functions/names/defines
28007 2005-07-13 Andy Wingo <wingo@pobox.com>
28009 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28010 source couldn't negotiate.
28012 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28016 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28017 function. I am channeling Hades. Put your boots on suckers!!!
28019 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28021 * testsuite/caps/Makefile.am:
28022 * testsuite/caps/value_compare.c:
28023 * testsuite/caps/value_intersect.c:
28024 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28025 move two testsuite apps over to the check dir
28027 2005-07-12 Wim Taymans <wim@fluendo.com>
28029 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28030 Added more debug info in the negotiate process.
28032 * gst/gstmessage.h:
28033 Prepare for segment playback.
28035 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28041 * tools/gst-launch.c: (main):
28042 NULL pipeline on errors.
28044 2005-07-12 Andy Wingo <wingo@pobox.com>
28046 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28047 not it comes from a malloc region. Make sure our copy gets freed.
28049 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28051 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28052 * check/gst/gstmessage.c: (GST_START_TEST):
28053 * check/gst/gststructure.c: (GST_START_TEST),
28054 (gst_structure_suite), (main):
28056 * gst/gstelement.c: (gst_element_message_full):
28057 clean up GError and debug string now that they get copied
28058 * gst/gstmessage.c: (gst_message_new_error),
28059 (gst_message_new_warning), (gst_message_parse_error),
28060 (gst_message_parse_warning):
28061 use GST_TYPE_G_ERROR for structure_new, and take copies of
28062 arguments, so that we don't mess up refcounting
28064 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28066 * check/Makefile.am:
28067 add per-test valgrind targets
28068 * check/gst-libs/gdp.c: (GST_START_TEST),
28069 (gst_data_protocol_suite), (main):
28072 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28074 * check/Makefile.am:
28075 instate more valgrindable tests
28076 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28077 (GST_START_TEST), (fakesrc_suite):
28078 * check/gst/gstpad.c: (GST_START_TEST):
28079 * check/gst/gststructure.c: (GST_START_TEST):
28081 * docs/gst/tmpl/gstminiobject.sgml:
28082 * gst/gstpad.c: (gst_pad_finalize):
28083 fix the static mutex leak
28085 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28087 * check/Makefile.am:
28088 add two more tests for valgrinding
28089 * check/gst/gstvalue.c: (GST_START_TEST):
28090 test refcount of deserialized buffer, found a leak
28091 * docs/gst/gstreamer-docs.sgml:
28092 * docs/gst/gstreamer-sections.txt:
28093 * docs/gst/gstreamer.types:
28094 * docs/gst/tmpl/gstminiobject.sgml:
28095 add miniobject to docs
28096 * gst/gstminiobject.c:
28098 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28099 (gst_string_unwrap):
28100 fix a hard-to-find invalid write for one of the tests
28101 fix a leak for deserialized buffers
28103 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28105 * docs/pwg/advanced-events.xml:
28106 * docs/pwg/advanced-request.xml:
28107 * docs/pwg/advanced-scheduling.xml:
28108 * docs/pwg/appendix-porting.xml:
28109 * docs/pwg/building-boiler.xml:
28110 * docs/pwg/intro-preface.xml:
28111 * docs/pwg/other-ntoone.xml:
28112 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28113 of example code and explanation for pad activation, loop() and
28114 getrange() functions and a bit more. Remove old comments pointing
28116 * examples/pwg/Makefile.am:
28117 Add loop/getrange examples.
28119 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28122 check for valgrind binary + some fixes
28124 valgrind suppressions for the tests
28125 * check/Makefile.am:
28126 add a valgrind: target that valgrinds the unit tests
28127 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28128 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28129 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28130 * check/gst/gstghostpad.c:
28132 * check/gst/gstdata.c:
28134 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28135 (thread_unref), (gst_mini_object_suite), (main):
28137 * gst/gst.c: (gst_deinit):
28139 add a method to clean up.
28140 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28141 (gst_system_clock_obtain):
28142 allow for disposing the system clock.
28143 * tools/gst-launch.c: (main):
28146 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28148 * docs/gst/tmpl/gstbasesrc.sgml:
28149 * docs/gst/tmpl/gstfakesrc.sgml:
28150 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28151 (gst_base_src_init), (gst_base_src_set_property),
28152 (gst_base_src_get_property), (gst_base_src_get_range),
28153 (gst_base_src_start):
28154 * gst/base/gstbasesrc.h:
28155 add num-buffers property
28156 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28157 (gst_fakesrc_init), (gst_fakesrc_set_property),
28158 (gst_fakesrc_get_property), (gst_fakesrc_create),
28159 (gst_fakesrc_start):
28160 remove num-buffers property
28162 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28164 * docs/gst/gstreamer-sections.txt:
28165 * docs/gst/tmpl/gstbasesink.sgml:
28166 * docs/gst/tmpl/gstbasesrc.sgml:
28167 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28168 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28169 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28170 (gst_base_sink_set_property), (gst_base_sink_get_property),
28171 (gst_base_sink_handle_object), (gst_base_sink_event),
28172 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28173 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28174 (gst_base_sink_loop), (gst_base_sink_deactivate),
28175 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28176 (gst_base_sink_change_state):
28177 * gst/base/gstbasesink.h:
28178 * gst/base/gstbasesrc.h:
28179 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28180 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28181 (gst_filesink_init):
28182 more macro splitting
28184 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28186 * gst/gstelement.c: (gst_element_get_bus):
28188 * tools/gst-launch.c: (check_intr), (event_loop):
28191 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28193 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28196 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28198 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28199 (gst_base_src_finalize):
28200 add finalize method and clean up properly
28201 * gst/gstpipeline.c: (gst_pipeline_dispose):
28204 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28206 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28208 add more things to check
28209 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28210 * gst/gstelement.c:
28213 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28215 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28216 (GST_START_TEST), (fakesrc_suite):
28217 * check/gst-libs/gdp.c: (GST_START_TEST):
28218 * check/gst/gst.c: (GST_START_TEST):
28219 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28220 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28221 * check/gst/gstbus.c: (GST_START_TEST):
28222 * check/gst/gstcaps.c: (GST_START_TEST):
28223 * check/gst/gstdata.c: (GST_START_TEST):
28224 * check/gst/gstelement.c: (GST_START_TEST):
28225 * check/gst/gstghostpad.c: (GST_START_TEST):
28226 * check/gst/gstiterator.c: (GST_START_TEST):
28227 * check/gst/gstmessage.c: (GST_START_TEST):
28228 * check/gst/gstobject.c: (GST_START_TEST):
28229 * check/gst/gstpad.c: (GST_START_TEST):
28230 * check/gst/gststructure.c: (GST_START_TEST):
28231 * check/gst/gstsystemclock.c: (GST_START_TEST),
28232 (gst_systemclock_suite):
28233 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28234 * check/gst/gstvalue.c: (GST_START_TEST):
28235 * check/pipelines/cleanup.c: (GST_START_TEST):
28236 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28237 * check/states/sinks.c: (GST_START_TEST):
28238 * check/gstcheck.c: (gst_check_init):
28239 * check/gstcheck.h:
28240 add debugging category
28241 use GST_START_TEST now, so we add a debug line
28243 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28245 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28246 add test for state change message on a bin
28247 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28249 * gst/gstbin.c: (gst_bin_init):
28250 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28251 * gst/gstelement.c: (gst_element_post_message),
28252 (gst_element_set_state):
28253 * gst/gstelementfactory.c: (gst_element_factory_create):
28254 * gst/gstmessage.c: (gst_message_new):
28255 * gst/gstscheduler.c:
28256 various debugging additions and cleanups
28258 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28260 * check/Makefile.am:
28261 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28263 adding tests for elements
28264 * gst/gstelement.c: (gst_element_dispose):
28266 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28268 * gst/registries/gstlibxmlregistry.c: (load_feature):
28269 plug more leaks. A simple gst_init() now is leakfree, yay.
28271 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28273 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28274 (gst_xml_registry_load):
28275 plug another memleak
28277 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28280 use GST_SET_ERROR_CFLAGS
28281 * docs/faq/cvs.xml:
28282 change to ERROR_CFLAGS
28284 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28287 make GST_ERROR_CFLAGS overridable and re-enable Werror
28288 * docs/faq/cvs.xml:
28289 add a note about error CFLAGS
28290 * docs/gst/tmpl/gstfakesrc.sgml:
28291 * gst/elements/gstfakesrc.c:
28292 comment out some unused code
28293 * gst/gst.c: (split_and_iterate):
28294 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28298 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28300 * common/Makefile.am:
28301 * common/gtk-doc.mak:
28302 * docs/gst/Makefile.am:
28303 factor out gtk-doc.mak
28305 2005-07-07 Wim Taymans <wim@fluendo.com>
28307 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28308 (gst_thread_scheduler_dispose):
28309 Unlock the STREAM_LOCK completely.
28311 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28313 * check/Makefile.am:
28314 * check/elements/.cvsignore:
28315 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28316 (START_TEST), (fakesrc_suite), (main):
28317 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28318 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28319 (gst_fakesrc_create), (gst_fakesrc_start):
28320 * gst/elements/gstfakesrc.h:
28321 adding a first element test
28323 2005-07-07 Andy Wingo <wingo@pobox.com>
28325 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28328 2005-07-07 Wim Taymans <wim@fluendo.com>
28334 2005-07-07 Wim Taymans <wim@fluendo.com>
28336 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28337 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28338 Allow subclasses to implement their own negotiation.
28340 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28342 * docs/design/part-gstbin.txt:
28343 * docs/design/part-gstpipeline.txt:
28344 Update design notes to reflect the movement of
28345 responsibility for bus handling from GstPipeline to
28348 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28351 Remove unnecessary queue2/3/4 examples.
28353 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28355 * examples/Makefile.am:
28356 * examples/helloworld/helloworld.c: (event_loop), (main):
28357 * examples/queue/queue.c: (event_loop), (main):
28358 * examples/queue2/queue2.c: (main):
28359 Update a couple of the examples to work again.
28361 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28362 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28363 Spelling corrections and extra debug.
28365 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28366 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28367 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28369 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28370 (gst_pipeline_change_state):
28371 * gst/gstpipeline.h:
28372 Move the bus handler for children to the GstBin, and create a
28373 separate bus for receiving messages from children to the one the
28374 bus sends 'upwards' on.
28376 2005-07-06 Wim Taymans <wim@fluendo.com>
28379 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28380 (gst_base_sink_handle_object), (gst_base_sink_loop),
28381 (gst_base_sink_change_state):
28382 * gst/base/gstbasesink.h:
28383 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28384 (gst_base_src_init), (gst_base_src_setcaps),
28385 (gst_base_src_getcaps), (gst_base_src_loop),
28386 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28387 (gst_base_src_start), (gst_base_src_change_state):
28388 * gst/base/gstbasesrc.h:
28389 Make basesrc negotiate.
28390 Handle the case where preroll fails in basesink.
28393 2005-07-06 Wim Taymans <wim@fluendo.com>
28395 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28396 Implement the fixate function.
28397 Clean up acceptcaps.
28399 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28401 * docs/pwg/building-filterfactory.xml:
28402 * docs/pwg/pwg.xml:
28403 Remove never-written filter-factory chapter; I'll add the various
28404 base classes to part 4 ("other element types") later on.
28406 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28408 * docs/pwg/advanced-negotiation.xml:
28409 * docs/pwg/building-boiler.xml:
28410 * docs/pwg/building-pads.xml:
28411 * docs/pwg/pwg.xml:
28412 * examples/pwg/Makefile.am:
28413 Add a chapter on caps negotiation, simplify the original code
28414 samples a bit w.r.t. caps negotiation, add link to the advanced
28415 section. Add a bunch of examples showing different use cases of
28416 different types of caps negotiation. Upstream renegotiation isn't
28417 fully documented yet since nobody knows how that works.
28419 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28421 * check/gst/gstpad.c:
28422 * check/gstcheck.c:
28423 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28424 if pad has no parent, return NULL as list of internal links
28426 2005-07-05 Andy Wingo <wingo@pobox.com>
28428 * gst/elements/gstfilesrc.c:
28429 * gst/elements/gstfakesrc.c:
28430 * gst/base/gstpushsrc.c:
28431 * gst/base/gstbasesrc.h:
28432 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28434 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28437 better report generation target (lcov needs a patch)
28439 2005-07-05 Andy Wingo <wingo@pobox.com>
28441 * gst/elements, testsuite: Null if we got it...
28443 2005-07-05 Wim Taymans <wim@fluendo.com>
28446 * libs/gst/dataprotocol/Makefile.am:
28447 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28448 * libs/gst/dataprotocol/dataprotocol.h:
28449 * pkgconfig/Makefile.am:
28450 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28451 * pkgconfig/gstreamer-dataprotocol.pc.in:
28452 Ported dataprotol to 0.9.
28453 Added pkgconfig files.
28455 2005-07-05 Andy Wingo <wingo@pobox.com>
28457 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28458 Default to returning TRUE for the case when tranform_caps returns
28459 a fixed caps, like for identity or volume.
28461 * check/gst/gstbus.c (pound_bus_with_messages):
28462 * check/gst/gstmessage.c (START_TEST):
28463 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28464 message API change.
28466 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28467 logic weaks here: always run transform_caps, trying passthrough
28468 operation only if the original caps intersects with the transform.
28470 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28471 source and sink caps.
28473 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28474 Intersect the peer caps with the pad template before going into
28476 (gst_base_transform_transform_caps): More debugging.
28478 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28481 2005-07-04 Edward Hervey <edward@fluendo.com>
28485 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28488 2005-07-04 Andy Wingo <wingo@pobox.com>
28490 * check/gst/gstpad.c: Only set explicit caps on pads.
28492 2005-07-01 Andy Wingo <wingo@pobox.com>
28494 * tests/network-clock.scm: Commentary update.
28496 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28497 Didn't really make sense, not implementable with basetransform,
28499 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28500 attempt at implementing the sync property, needs an unlock method.
28502 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28503 New func, by default returns the same caps (the identity
28505 (gst_base_transform_getcaps): Uses transform_caps to return
28506 something sensible.
28507 (gst_base_transform_setcaps): Complicated logic to get caps on
28508 both pads, even if they are different, and to call set_caps once
28509 for every time both pads get their caps set.
28510 (gst_base_transform_handle_buffer): Give the ref to the transform
28511 function. Allows in-place modification of the buffer.
28513 * gst/base/gstbasetransform.h (transform_caps): New class method.
28514 Given caps on one side, what can I do on the other.
28515 (set_caps): Take two caps, one for each side of the element.
28518 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28519 caps in place. This is safe because we can check the mutability of
28520 the caps, and a good idea because fixate functions are just called
28521 as a matter of last resort. (Not actually implemented.)
28522 (gst_pad_set_caps): If the caps we're setting is actually the same
28523 as the existing pad caps, just update the pointer without calling
28524 setcaps. Assert that caps is either NULL or fixed, as per the
28527 * gst/gstghostpad.c: Update for fixate changes.
28529 2005-07-02 Andy Wingo <wingo@pobox.com>
28532 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28533 two refcounts makes it immutable, which is enough. Doc more.
28535 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28537 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28538 Put the mini_object into GValue as a mini_object,
28539 not a gpointer, since that's how we declared
28542 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28544 * examples/pwg/Makefile.am:
28545 Fix buildbot again.
28547 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28549 * docs/pwg/building-testapp.xml:
28551 * examples/pwg/Makefile.am:
28554 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28557 * examples/Makefile.am:
28558 * examples/pwg/Makefile.am:
28559 * examples/pwg/extract.pl:
28560 Enable building the PWG examples.
28561 * docs/pwg/advanced-interfaces.xml:
28562 Add URI interface stub.
28563 * docs/pwg/advanced-types.xml:
28564 * docs/pwg/other-autoplugger.xml:
28565 * docs/pwg/appendix-porting.xml:
28566 * docs/pwg/pwg.xml:
28567 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28568 * docs/pwg/building-boiler.xml:
28569 * docs/pwg/building-chainfn.xml:
28570 * docs/pwg/building-pads.xml:
28571 * docs/pwg/building-props.xml:
28572 * docs/pwg/building-state.xml:
28573 * docs/pwg/building-testapp.xml:
28574 Update the building-*.xml parts for 0.9 changes. All examples
28575 code blocks compile in examples/pwg/*.
28577 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28579 * docs/manual/advanced-autoplugging.xml:
28580 * docs/manual/appendix-checklist.xml:
28581 * docs/manual/appendix-integration.xml:
28582 * docs/manual/highlevel-components.xml:
28583 Fix playbin/decodebin examples, update docs a bit, mention bus
28584 instead of signals in various places, mention kmplayer and
28585 kaffeine since they have a working GStreamer backend in the KDE
28588 2005-06-30 Wim Taymans <wim@fluendo.com>
28591 * docs/design/draft-ghostpads.txt:
28592 * docs/design/draft-push-pull.txt:
28593 * docs/design/draft-query.txt:
28594 * docs/design/part-TODO.txt:
28595 * docs/design/part-query.txt:
28596 Added CHANGES-0.9 doc, updated status of other docs.
28601 2005-06-30 Wim Taymans <wim@fluendo.com>
28603 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28604 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28605 (gst_base_sink_change_state):
28606 * gst/base/gstbasesink.h:
28607 Some tweaks, only EOS and a buffer complete a preroll.
28609 2005-06-30 Andy Wingo <wingo@pobox.com>
28611 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28612 activate_push down to the internal pad as well.
28614 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28616 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28618 * gst/gsttaginterface.c:
28619 Some documentation fixes (#307394 and #307397).
28621 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28623 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28625 * gst/gstvalue.c: (gst_value_intersect_list):
28626 Fix memleak (#309125).
28628 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28630 * docs/manual/advanced-dataaccess.xml:
28631 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28632 * docs/manual/basics-pads.xml:
28633 Add reference for filtered caps to above chapter.
28635 2005-06-30 Wim Taymans <wim@fluendo.com>
28637 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28638 (gst_bin_change_state):
28640 Lame attempt at making the state change function a bit
28643 2005-06-30 Wim Taymans <wim@fluendo.com>
28645 * docs/design/part-clocks.txt:
28646 * docs/design/part-element-sink.txt:
28647 * docs/design/part-events.txt:
28648 * docs/design/part-preroll.txt:
28649 * docs/design/part-states.txt:
28650 Some more tweeks and additions to the docs.
28652 2005-06-30 Wim Taymans <wim@fluendo.com>
28654 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28655 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28656 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28657 (gst_pad_check_pull_range), (gst_pad_get_range),
28658 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28660 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28661 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28662 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28663 (gst_pad_remove_buffer_probe):
28664 Removed atomic operations, use existing LOCK.
28665 Move exception handling out of main code path.
28667 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28669 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28670 (silly_return_true_function), (gst_pad_class_init),
28671 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28672 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28673 (gst_pad_send_event):
28674 Fix accumulator, add default value by using _emitv() instead
28675 of _emit() for signal emission.
28677 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28679 * docs/manual/advanced-dataaccess.xml:
28680 * examples/manual/Makefile.am:
28682 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28685 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28687 * gst/elements/gstfilesink.c: (gst_filesink_render):
28688 Simplify code so that we don't have to handle short
28689 writes and return GST_FLOW_ERROR if an error occured.
28691 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28693 * docs/gst/gstreamer-docs.sgml:
28694 Remove probes more.
28696 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28698 * docs/gst/gstreamer-sections.txt:
28699 * docs/gst/tmpl/gstpad.sgml:
28700 * docs/gst/tmpl/gstprobe.sgml:
28702 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28703 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28704 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28705 (gst_pad_push_event), (gst_pad_send_event):
28707 * gst/gstutils.c: (gst_pad_add_data_probe),
28708 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28709 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28710 (gst_pad_remove_buffer_probe):
28712 Remove old probes, add new g-signal-based probes and some utility
28715 2005-06-29 Edward Hervey <edward@fluendo.com>
28717 * gst/gstelementfactory.c:
28720 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28721 the definition to the header file.
28723 2005-06-29 Andy Wingo <wingo@pobox.com>
28725 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28726 plugins from the source directory.
28728 2005-06-29 Wim Taymans <wim@fluendo.com>
28730 * docs/gst/tmpl/gstbuffer.sgml:
28731 * docs/gst/tmpl/gstclock.sgml:
28732 Some fixings for blantently wrong text.
28734 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28736 * check/Makefile.am:
28737 * gst/gst.c: (add_path_func), (init_pre):
28738 * gst/gstregistry.c: (gst_registry_add_path):
28739 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28740 only scan the GST_PLUGIN_PATH locations, and not add
28743 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28745 * docs/gst/gstreamer-sections.txt:
28746 * docs/gst/tmpl/gstbasesrc.sgml:
28747 * gst/gstelement.c:
28748 * gst/gstelement.h:
28753 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28755 * docs/manual/advanced-autoplugging.xml:
28756 Fix autoplugging example.
28758 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28760 * docs/manual/advanced-autoplugging.xml:
28761 * docs/manual/mime-world.fig:
28762 Try to get autoplugging working, fix type detection. Fix text
28763 in hello-world image.
28765 2005-06-29 Wim Taymans <wim@fluendo.com>
28767 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28768 (gst_base_sink_change_state):
28772 map SIGNAL and BROADCAST to the right function.
28775 Remove redundant braces.
28777 * gst/gstpad.c: (gst_pad_set_caps):
28778 Don't call setcaps function when reseting caps to NULL.
28780 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28781 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28782 (gst_system_clock_id_unschedule):
28783 Use BROADCAST as this is what we do.
28785 2005-06-29 Wim Taymans <wim@fluendo.com>
28787 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28788 We are actually prerolling before commiting the state
28791 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28793 * docs/manual/advanced-clocks.xml:
28794 * docs/manual/advanced-interfaces.xml:
28795 * docs/manual/advanced-metadata.xml:
28796 * docs/manual/advanced-position.xml:
28797 * docs/manual/advanced-schedulers.xml:
28798 * docs/manual/advanced-threads.xml:
28799 * docs/manual/appendix-porting.xml:
28800 * docs/manual/basics-bins.xml:
28801 * docs/manual/basics-bus.xml:
28802 * docs/manual/basics-elements.xml:
28803 * docs/manual/basics-helloworld.xml:
28804 * docs/manual/basics-pads.xml:
28805 * docs/manual/highlevel-components.xml:
28806 * docs/manual/manual.xml:
28807 * docs/manual/thread.fig:
28808 Update (until threads/scheduling) Application Development Manual;
28809 remove GstThread, add GstBus, add simple porting checklist, add
28810 documentation for tag writing, clocks, make all examples until this
28811 part compile and run.
28812 * examples/manual/Makefile.am:
28813 Update from changes to Application Development Manual; add bus
28814 example, remove thread example.
28816 2005-06-28 Wim Taymans <wim@fluendo.com>
28818 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28819 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28820 (gst_bus_source_dispatch):
28821 Add debugging messages.
28822 Make internal methods static.
28823 Handle the case where the bus is flushed in the handler.
28825 * gst/gstelement.c: (gst_element_get_bus):
28826 Fix refcount in _get_bus();
28828 * gst/gstpipeline.c: (gst_pipeline_change_state),
28829 (gst_pipeline_get_clock_func):
28830 Clock refcounting fixes.
28831 Handle the case where preroll timed out more gracefully.
28833 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28834 Clean up the internal thread in dispose. This is needed
28835 for subclasses that actually get disposed.
28837 * gst/schedulers/threadscheduler.c:
28838 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28839 (gst_thread_scheduler_dispose):
28840 Free thread pool in dispose.
28842 2005-06-28 Andy Wingo <wingo@pobox.com>
28844 * tests/network-clock-utils.scm (debug, print-event): New utils.
28846 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28847 (*packet-loss*): Unified loss probability.
28848 (network-time): Report out-of-band events.
28850 * tests/plot-data: Add support for out-of-band events. Hack it
28851 into this script instead of passing it down the pipe; should fix
28854 2005-06-28 Wim Taymans <wim@fluendo.com>
28856 * docs/gst/gstreamer.types:
28857 * docs/gst/tmpl/gstbasesrc.sgml:
28858 * docs/gst/tmpl/gstpad.sgml:
28861 2005-06-28 Wim Taymans <wim@fluendo.com>
28863 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28864 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28865 (gst_proxy_pad_do_fixatecaps):
28866 Correctly proxy the check_pull_range function.
28868 2005-06-28 Andy Wingo <wingo@pobox.com>
28870 * tests/network-clock.scm: Removed need for slib.
28872 2005-06-28 Wim Taymans <wim@fluendo.com>
28874 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28875 (gst_basesink_preroll_queue_flush):
28876 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28877 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28878 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28879 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28880 (gst_proxy_pad_set_property):
28883 * gst/gstqueue.c: (gst_queue_init):
28884 The deprecated pad loop function is removed now.
28886 2005-06-28 Andy Wingo <wingo@pobox.com>
28888 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28889 New parameters, simulate network packet loss.
28891 * tests/network-clock-utils.scm: Initialize the RNG.
28893 2005-06-28 Wim Taymans <wim@fluendo.com>
28895 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28896 (gst_basesink_event), (gst_basesink_deactivate):
28897 Flushing the preroll queue always needs to unlock the waiters.
28899 2005-06-28 Edward Hervey <edward@fluendo.com>
28901 * gst/gstpipeline.c: (gst_pipeline_send_event):
28902 Wheen a seek was successful on a pipeline, set the stream_time to the
28903 seek offset in order to have a synchronized stream_time.
28905 2005-06-28 Wim Taymans <wim@fluendo.com>
28907 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28908 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28909 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28910 (gst_proxy_pad_do_fixatecaps):
28911 Call wrapper function instead of just calling the function
28912 pointers. This takes care of any locking and whatmore.
28914 2005-06-28 Wim Taymans <wim@fluendo.com>
28916 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28917 (gst_pad_pull_range):
28919 CONNECTED -> LINKED.
28921 2005-06-28 Andy Wingo <wingo@pobox.com>
28923 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28924 source-munging commit!!!
28926 * gst/gstobject.c (gst_object_unref, gst_object_ref)
28927 (gst_object_sink): Take gpointer arguments, not GstObject --
28928 avoids casts. Like GLib.
28930 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28933 2005-06-27 Andy Wingo <wingo@pobox.com>
28935 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28938 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28939 returns a sorted copy of the trace list.
28940 (gst_alloc_trace_print_live): New API, only prints traces with
28941 live objects. Sort the list.
28942 (gst_alloc_trace_print_all): Sort the list.
28943 (gst_alloc_trace_print): Align columns.
28945 * gst/elements/gstttypefindelement.c:
28946 * gst/elements/gsttee.c:
28947 * gst/base/gstbasesrc.c:
28948 * gst/base/gstbasesink.c:
28949 * gst/base/gstbasetransform.c:
28950 * gst/gstqueue.c: Adapt for pad activation changes.
28952 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28954 (gst_pipeline_dispose): Drop ref on sched.
28956 * gst/gstpad.c (gst_pad_init): Set the default activate func.
28957 (gst_pad_activate_default): Push mode by default.
28958 (pre_activate_switch, post_activate_switch): New stubs, things to
28959 do before and after switching activation modes on pads.
28960 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28961 the pad's activate function to choose which mode to activate.
28962 Shortcut on deactivation and call the right function directly.
28963 (gst_pad_activate_pull): New API, (de)activates a pad in pull
28965 (gst_pad_activate_push): New API, same for push mode.
28966 (gst_pad_set_activate_function)
28967 (gst_pad_set_activatepull_function)
28968 (gst_pad_set_activatepush_function): Setters for new API.
28970 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28971 Trace all miniobjects.
28972 (gst_mini_object_make_writable): Unref the arg if we copy, like
28973 gst_caps_make_writable.
28975 * gst/gstmessage.c (_gst_message_initialize): No trace init.
28977 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
28978 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28979 Adapt for new pad API.
28981 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28983 * gst/gstelement.h:
28984 * gst/gstelement.c (gst_element_iterate_src_pads)
28985 (gst_element_iterate_sink_pads): New API functions.
28987 * gst/gstelement.c (iterator_fold_with_resync): New utility,
28988 should fold into gstiterator.c in some form.
28989 (gst_element_pads_activate): Simplified via use of fold and
28990 delegation of decisions to gstpad->activate.
28992 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28995 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28996 class once in init, like gstmessage. Didn't run into this issue
28997 but it seems correct. Don't initialize a trace, gstminiobject does
29000 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29001 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29003 (assert_live_count): New util function, uses alloc traces to check
29006 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29007 To be modified when unlink drops the internal pad.
29009 2005-06-27 Wim Taymans <wim@fluendo.com>
29011 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29012 (gst_bin_change_state):
29013 Cleanup the get_state() function a little, make sure it
29014 iterates the same set of elements.
29015 Added stub iterate_state_order().
29017 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29019 * docs/gst/gstreamer-docs.sgml:
29020 * docs/gst/gstreamer-sections.txt:
29021 * docs/gst/gstreamer.types:
29022 * docs/gst/tmpl/gstbasesink.sgml:
29023 * docs/gst/tmpl/gstbasesrc.sgml:
29024 * docs/gst/tmpl/gstbasetransform.sgml:
29025 * docs/gst/tmpl/gstelement.sgml:
29026 * docs/gst/tmpl/gstiterator.sgml:
29027 * gst/base/gstbasesrc.c:
29028 * gst/base/gstbasesrc.h:
29029 * gst/base/gstbasetransform.h:
29030 * gst/gstelement.c:
29031 * gst/gstiterator.h:
29032 adding basetransform and iterator docs
29034 2005-06-27 Andy Wingo <wingo@pobox.com>
29036 * docs/design/part-activation.txt: Notes on how activation should
29037 work -- not quite implemented yet.
29039 2005-06-25 Wim Taymans <wim@fluendo.com>
29041 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29042 At least get the chain function correct, needs more
29045 2005-06-25 Wim Taymans <wim@fluendo.com>
29047 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29048 (gst_basesink_handle_object), (gst_basesink_event),
29049 (gst_basesink_do_sync), (gst_basesink_handle_event),
29050 (gst_basesink_change_state):
29052 Right, two problems here: ghostpads don't take locks and
29053 glib _rec_mutex_lock_full() with depth==0 still locks.
29054 Catch illegal locking and g_warn them.
29056 2005-06-25 Wim Taymans <wim@fluendo.com>
29058 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29059 Have to check for completion now...
29061 2005-06-25 Wim Taymans <wim@fluendo.com>
29063 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29064 (gst_basesink_handle_object), (gst_basesink_event),
29065 (gst_basesink_do_sync), (gst_basesink_handle_event),
29066 (gst_basesink_change_state):
29068 Unlock STREAM_LOCK whatever the recursion was.
29070 2005-06-25 Wim Taymans <wim@fluendo.com>
29072 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29073 (gst_basesink_preroll_queue_empty),
29074 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29075 (gst_basesink_event), (gst_basesink_do_sync),
29076 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29077 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29078 (gst_basesink_change_state):
29079 Reworked the base sink, handle event and buffer serialisation
29080 correctly and removed possible deadlock.
29081 Handle EOS correctly.
29083 2005-06-25 Wim Taymans <wim@fluendo.com>
29085 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29086 (gst_pipeline_change_state):
29087 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29088 Allow elements to post EOS in the state change function.
29089 Fix up -launch, make it exit the poll loop when the
29090 pipeline actually changed state.
29091 Fix up warning parsing in -launch.
29093 2005-06-25 Wim Taymans <wim@fluendo.com>
29095 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29096 (gst_tee_sink_activate):
29097 Core takes STREAM_LOCK for us now.
29099 2005-06-25 Wim Taymans <wim@fluendo.com>
29101 * gst/gstelement.c: (gst_element_get_state_func),
29102 (gst_element_set_state):
29103 * gst/gstelement.h:
29104 * gst/gstmessage.c: (gst_message_parse_error),
29105 (gst_message_parse_warning):
29106 Keep track of current target state while performing a state
29107 change so that subclasses can do something interesting.
29108 Fix parsing of warning/error messages when GError is NULL.
29110 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29112 * docs/gst/Makefile.am:
29113 * docs/gst/gstreamer-docs.sgml:
29114 * docs/gst/gstreamer-sections.txt:
29115 * docs/gst/gstreamer.types:
29116 * docs/gst/tmpl/gstbasesink.sgml:
29117 * docs/gst/tmpl/gstbasesrc.sgml:
29118 * docs/gst/tmpl/gstbin.sgml:
29119 * docs/gst/tmpl/gstcompat.sgml:
29120 * docs/gst/tmpl/gstfakesink.sgml:
29121 * docs/gst/tmpl/gstfakesrc.sgml:
29122 * docs/gst/tmpl/gstfilesink.sgml:
29123 * docs/gst/tmpl/gstfilesrc.sgml:
29124 * docs/gst/tmpl/gstindex.sgml:
29125 * docs/manual/appendix-quotes.xml:
29126 * gst/base/gstbasesrc.h:
29127 * gst/elements/gstfakesrc.h:
29128 * gst/gstmessage.h:
29129 start pulling in base classes and elements in our docs
29131 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29133 * docs/gst/Makefile.am:
29134 * docs/libs/Makefile.am:
29135 fixed make distcheck with gtk-doc 1.3
29137 2005-06-23 Wim Taymans <wim@fluendo.com>
29139 * gst/gstelement.c: (gst_element_get_state_func),
29140 (gst_element_set_state), (gst_element_change_state):
29141 When the state did not change, also report NO_PREROLL
29144 2005-06-23 Wim Taymans <wim@fluendo.com>
29146 * gst/gstpad.c: (gst_pad_event_default):
29147 * gst/gstqueue.c: (gst_queue_loop):
29148 No unsafe task pausing please.
29150 2005-06-23 Wim Taymans <wim@fluendo.com>
29152 * gst/schedulers/threadscheduler.c:
29153 (gst_thread_scheduler_task_start),
29154 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29155 Ref the task before pushing it on the threadpool. This
29156 makes sure that we have a ref when the threadfunction is
29159 2005-06-23 Andy Wingo <wingo@pobox.com>
29161 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29162 offset is greater than the file's size.
29164 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29165 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29166 * gst/gstobject.c (gst_object_class_init): Make the class lock
29167 recursive. Wim won't let me drop deep_notify. Decodebin works
29168 again, whoopdy doo.
29170 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29171 internal pad, and hacks accordingly. Doesn't do it on the target
29172 pad because we change its caps. Probably catches all cases of
29174 (gst_ghost_pad_set_property): Connect to notify::caps as
29177 * tests/network-clock.scm (plot-simulation): Pipe data to the
29178 elite python skript.
29180 * tests/network-clock-utils.scm (define-parameter): New macro,
29181 defines a parameter that can be set via the command line.
29182 (set-parameter!, parse-parameter-arguments): Command line args
29185 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29188 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29190 * gst/elements/gsttypefindelement.c:
29191 (gst_type_find_element_handle_event):
29192 Don't restart typefinding on a discont.
29193 * gst/gstelement.c: (gst_element_set_state):
29194 Debug spelling fix.
29195 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29196 Allow changing mode of an active pad.
29197 Debug output fixes.
29198 * gst/registries/gstlibxmlregistry.c: (load_feature):
29199 Don't cast a static pad template to a normal pad template.
29201 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29203 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29204 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29205 remove gst_strtoll completely, since it didn't actually do
29206 anything more than what g_ascii_strtoull already does.
29207 check for range errors when deserializing
29208 do a cast for the unsigned cases; but further fixing needs
29209 a decision on what the interpretation of "(int)" and
29210 deserialization should be for values that fall outside the
29211 type's boundaries (ie, refuse, or interpret as casting)
29213 2005-06-23 Wim Taymans <wim@fluendo.com>
29215 * check/Makefile.am:
29216 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29217 * docs/design/part-live-source.txt:
29218 * docs/design/part-states.txt:
29219 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29220 (gst_basesrc_set_live), (gst_basesrc_is_live),
29221 (gst_basesrc_get_range), (gst_basesrc_activate),
29222 (gst_basesrc_change_state):
29223 * gst/base/gstbasesrc.h:
29224 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29225 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29226 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29227 * gst/gstelement.c: (gst_element_get_state_func),
29228 (gst_element_set_state):
29229 * gst/gstelement.h:
29231 * tools/gst-launch.c: (event_loop), (main):
29232 Added support for live sources and other elements that
29234 Updated design docs, added live-source design doc.
29235 Implemented live source functionality in basesrc
29236 Fix error condition in _bin_get_state()
29237 Implement live source handling in -launch.
29238 Added check for live sources.
29239 Fixed case in GstBin where elements were changed state
29243 2005-06-23 Andy Wingo <wingo@pobox.com>
29245 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29246 borken refcounting.
29248 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29249 gst_caps_replace takes care of this for us.
29251 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29252 gst_pad_set_caps on the target, not just its setcaps() function.
29254 * tests/network-clock.scm:
29255 * tests/network-clock-utils.scm: A network clock simulator.
29256 Something of an algorithmic testbed before doing something in C.
29258 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29260 * check/Makefile.am:
29261 * check/gst/capslist.h:
29262 copy over from 0.8, and add two with bitmasks specified with
29264 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29265 add test to parse everything from capslist.h
29266 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29268 add test for structure deserialization
29269 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29270 add tests for deserialization of strings to int types
29271 * gst/gststructure.c: (gst_structure_nth_field_name):
29272 * gst/gststructure.h:
29273 add a way to get the name of a field referenced by index
29274 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29275 instead of checking if the resulting long long lies between
29276 min and max, we check if the long long would fit into
29277 a number of bytes for the final type.
29278 This fixes cases where a string represents 2^32 - 1, which
29279 when cast to int would be the (valid) -1, but is bigger than
29282 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29284 * gst/parse/grammar.y:
29285 add a log line for type deserialization
29287 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29289 * check/gst/gstvalue.c: (START_TEST):
29290 * gst/gstvalue.c: (gst_value_deserialize):
29291 return long long, not int, so gint64 deserialization actually
29292 works. Is there any flag that makes the compiler check this ?
29295 2005-06-22 Wim Taymans <wim@fluendo.com>
29298 Added convenience macros for setting buffers in GValue.
29300 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29302 * check/gst/.cvsignore:
29303 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29304 add a test deserializing int64, and comment part out because
29307 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29309 * check/Makefile.am:
29310 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29311 * testsuite/Makefile.am:
29312 * testsuite/caps/Makefile.am:
29313 * testsuite/caps/value_serialize.c:
29314 * testsuite/test_gst_init.c:
29315 move a value_serialize test over
29317 2005-06-20 Wim Taymans <wim@fluendo.com>
29322 * gst/gstvalue.c: (gst_value_compare_buffer),
29323 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29324 (gst_value_compare_flags), (gst_value_serialize_flags),
29325 (gst_value_deserialize_flags), (_gst_value_initialize):
29326 Fix serialisation of buffers, they are not boxed types anymore
29328 2005-06-20 Wim Taymans <wim@fluendo.com>
29330 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29331 Testcase to show error in buffer-on-caps serialisation.
29333 2005-06-20 Andy Wingo <wingo@pobox.com>
29335 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29336 will be adding to later.
29338 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29339 if its socks fill with rocks.
29340 (gst_system_clock_obtain): Set the name on object construction.
29341 Avoid double-checked locking.
29343 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29345 * gst/gsturi.c: (gst_element_make_from_uri):
29346 Fix potential endless loop.
29348 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29350 * check/Makefile.am:
29352 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29354 move over from testsuite dir and clean up
29357 * testsuite/Makefile.am:
29358 * testsuite/tags/.cvsignore:
29359 * testsuite/tags/Makefile.am:
29360 * testsuite/tags/merge.c:
29361 remove testsuite/tags
29363 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29365 * docs/gst/gstreamer-sections.txt:
29366 * docs/gst/tmpl/gstenumtypes.sgml:
29367 * win32/gstenumtypes.c:
29368 clean up documentation build a little
29370 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29372 * check/gstcheck.h:
29373 add macros for checking refcounts on objects and caps
29374 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29375 add some more unit tests
29376 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29377 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29378 fix leaked refcounts (I hope :)) so unittest works
29382 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29384 * configure.ac: back to HEAD
29386 === release 0.9.1 ===
29388 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29394 2005-06-17 Andy Wingo <wingo@pobox.com>
29396 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29397 assert; it's always possible that the pad gets deactivated in
29398 between the checks in gstpad.c and the implementation. Rely on
29399 finish_preroll() to return a FLUSHING or similar instead of on the
29402 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29403 clock and post an EOS message if we come out of finish_preroll in
29406 2005-06-16 David Schleef <ds@schleef.org>
29408 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29409 (gst_capsfilter_set_property): Allow NULL as possible value
29410 for filter_caps property, indicating GST_CAPS_ANY.
29412 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29414 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29416 * gst/schedulers/Makefile.am:
29418 * gstreamer.spec.in:
29421 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29423 * gstreamer.spec.in:
29426 2005-06-08 Andy Wingo <wingo@pobox.com>
29428 * gst/gstutils.c: RPAD fixes all around.
29429 (gst_element_link_pads): Refcounting fixes.
29431 * tools/gst-inspect.c:
29432 * tools/gst-xmlinspect.c:
29434 * gst/base/gsttypefindhelper.c:
29435 * gst/base/gstbasesink.c:
29436 * gst/gstqueue.c: RPAD fixes.
29438 * gst/gstghostpad.h:
29439 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29440 pads. The tricky thing is they provide both source and sink
29441 interfaces, since they proxy the internal pad for the external
29442 pad, and vice versa. Implement with lower-level ProxyPad objects,
29443 with the interior proxy pad as a child of the exterior ghost pad.
29444 Should write a doc on this.
29446 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29447 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29450 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29451 pads are real pads. No ghost pads in this file. Not documenting
29452 the myriad s/RPAD/PAD/ and REALIZE fixes.
29453 (gst_pad_class_init): Add properties for "direction" and
29454 "template". Both are construct-only, so they can't change during
29455 the life of the pad. Fixes properly deriving from GstPad.
29456 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29457 derived objects, just set properties when creating the objects via
29459 (gst_pad_get_parent): Implement as a function, return NULL if the
29460 parent is not an element.
29461 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29462 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29464 * gst/gstobject.c (gst_object_class_init): Make name a construct
29465 property. Don't set it in the object init.
29467 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29468 with UNKNOWN direction.
29469 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29470 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29471 (gst_element_remove_pad): Remove ghost-pad special cases.
29472 (gst_element_pads_activate): Remove rpad cruft.
29474 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29475 catch the pad's-parent-not-an-element case.
29477 * gst/gst.h: Include gstghostpad.h.
29479 * gst/gst.c (init_post): No more real, ghost pads.
29481 * gst/Makefile.am: Add gstghostpad.[ch].
29483 * check/Makefile.am:
29484 * check/gst/gstbin.c:
29485 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29486 into a bin creates ghost pads, and that the refcounts are right.
29487 Partly moved from gstbin.c.
29489 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29491 * check/gst-libs/.cvsignore:
29492 * check/gst/.cvsignore:
29493 * check/pipelines/.cvsignore:
29495 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29496 (START_TEST), (cleanup_suite), (main):
29497 add some tests related to cleanup after running pipelines
29499 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29501 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29502 add a testsuite for GstBuffer
29504 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29506 * gst/gstminiobject.h:
29507 add defines for accessing the refcount
29509 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29511 * Makefile.am: added support for html unit test coverage reports
29513 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29515 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29516 Free existing caps if the capsfilter changes. Add a FIXME about
29517 setting those caps on the pads.
29519 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29520 Before adding a ghost pad to a parent bin, check that there isn't
29521 already one for the element on the bin. Prevents infinite recursion
29522 when using decodebin in parse pipelines. Andy says he'll rewrite the
29523 way this works anyway, so ignore the hack.
29525 2005-06-02 Andy Wingo <wingo@pobox.com>
29527 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29528 file size, pass it on to the type find helper.
29530 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29531 segment_start and segment_end properly according to the seek
29532 method. Segment_end is still a bit flaky because offset can be
29533 negative for CUR and END cases, but it takes -1 as an "unset"
29536 2005-06-02 Wim Taymans <wim@fluendo.com>
29538 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29539 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29540 (gst_basesink_activate):
29541 * gst/base/gstbasesink.h:
29542 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29543 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29544 (gst_pad_query), (gst_pad_start_task):
29546 * gst/gstqueue.c: (gst_queue_bufferalloc),
29547 (gst_queue_handle_sink_event), (gst_queue_chain):
29548 Bufferalloc: return GstFlowReturn to more accuratly report
29549 why allocation failed.
29551 2005-06-02 Wim Taymans <wim@fluendo.com>
29553 * gst/gstpipeline.c: (gst_pipeline_send_event):
29554 Take snapshot of state without blocking.
29556 2005-06-02 Wim Taymans <wim@fluendo.com>
29558 * docs/design/part-TODO.txt:
29559 * docs/design/part-caps.txt:
29560 * docs/design/part-clocks.txt:
29561 * docs/design/part-negotiation.txt:
29562 * docs/design/part-preroll.txt:
29565 2005-05-30 Wim Taymans <wim@fluendo.com>
29567 * gst/elements/gstidentity.c: (gst_identity_event),
29568 (gst_identity_transform), (gst_identity_get_property):
29569 Protect last_message property as it is accessed from
29572 2005-05-30 Wim Taymans <wim@fluendo.com>
29574 * gst/gstelement.c: (gst_element_init),
29575 (gst_element_pads_activate), (gst_element_change_state):
29576 Slicker pad activation code.
29578 2005-05-30 Wim Taymans <wim@fluendo.com>
29581 * gst/gstelement.h:
29582 * gst/gstelementfactory.h:
29584 Move elementfactory methods to separate .h file.
29586 2005-05-30 Wim Taymans <wim@fluendo.com>
29588 * docs/design/part-overview.txt:
29589 * gst/gstsystemclock.h:
29590 Small typo fixes, doc updates.
29592 2005-05-30 Wim Taymans <wim@fluendo.com>
29594 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29595 (init_popt_callback):
29596 Remove cpu-opt flag.
29598 2005-05-30 Wim Taymans <wim@fluendo.com>
29600 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29601 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29603 Avoid typechecking in places where not needed.
29604 Added accessor for malloc_data.
29606 2005-05-30 Wim Taymans <wim@fluendo.com>
29608 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29609 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29610 (gst_pad_configure_sink), (gst_pad_configure_src),
29611 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29612 (gst_pad_start_task):
29613 Propagate errors from _set_caps() in configure_src/sink
29614 functions instead of returning TRUE.
29615 FLUSH events can travel up and downstream
29618 2005-05-30 Wim Taymans <wim@fluendo.com>
29620 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29621 (gst_basesink_activate):
29622 Handle EOS in preroll.
29624 2005-05-30 Wim Taymans <wim@fluendo.com>
29626 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29627 (gst_queue_loop), (gst_queue_handle_src_event):
29628 Remove old pieces of code
29629 Flushing the queue in an upstream event is a very bad idea.
29631 2005-05-26 Andy Wingo <wingo@pobox.com>
29633 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29634 gst_value_set_mini_object so as to add a ref on the object (which
29635 will be removed when the value is unset).
29637 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29638 arg type in ::handoff.
29640 * gst/gstelement.c (gst_element_change_state): Also deactivate
29641 pads in READY->NULL, just in case the element didn't make it to
29642 PAUSED. Wingo tested, Wim approved.
29644 2005-05-26 Wim Taymans <wim@fluendo.com>
29646 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29647 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29648 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29649 A flushing pad cannot be used to alloc_buffer from.
29651 2005-05-26 Wim Taymans <wim@fluendo.com>
29653 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29654 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29655 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29656 (gst_bus_create_watch), (gst_bus_add_watch_full):
29658 Implement a real GSource and use g_main_context_wakeup() to
29659 signal new messages instead of the socketpair.
29661 2005-05-25 Wim Taymans <wim@fluendo.com>
29663 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29664 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29665 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29666 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29667 (gst_pad_send_event), (gst_pad_start_task):
29668 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29669 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29670 (gst_queue_sink_activate), (gst_queue_src_activate),
29671 (gst_queue_change_state):
29673 Fix state changes for non sinks. We now change sinks, then elements
29674 with unconnected srcpads, then the rest.
29675 More efficient queue unlocking in flush and state changes.
29676 Set the pad activate mode even if it does not have an activate
29679 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29681 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29682 Don't go in pull mode for non-seekable sources.
29683 * gst/elements/gsttypefindelement.h:
29684 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29685 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29686 (free_entry), (stop_typefinding),
29687 (gst_type_find_element_handle_event), (find_peek),
29688 (gst_type_find_element_chain), (do_pull_typefind),
29689 (gst_type_find_element_change_state):
29690 Allow typefinding (w/o seeking) in push-mode, simplified version
29691 of what was in 0.8.
29692 * gst/gstutils.c: (gst_buffer_join):
29694 gst_buffer_join() from 0.8.
29696 2005-05-25 Wim Taymans <wim@fluendo.com>
29698 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29699 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29700 (gst_pad_send_event), (gst_pad_start_task):
29701 Disable attempt at mode switching until it is figured out.
29703 2005-05-25 Wim Taymans <wim@fluendo.com>
29705 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29706 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29707 (gst_basesink_finish_preroll), (gst_basesink_chain),
29708 (gst_basesink_loop), (gst_basesink_activate),
29709 (gst_basesink_change_state):
29710 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29711 (gst_basesrc_get_range), (gst_basesrc_loop),
29712 (gst_basesrc_activate):
29713 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29714 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29715 (gst_real_pad_init), (gst_real_pad_set_property),
29716 (gst_real_pad_get_property), (gst_pad_set_active),
29717 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29718 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29719 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29720 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29721 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29722 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29723 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29724 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29725 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29726 (gst_pad_stop_task):
29728 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29729 (gst_queue_loop), (gst_queue_src_activate):
29730 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29731 (gst_task_get_state):
29733 * gst/schedulers/threadscheduler.c:
29734 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29735 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29737 Remove ACTIVE pad flag, use FLUSHING everywhere
29738 Added _pad_chain(), _pad_get_range() to call chain/getrange
29740 Add locks around IS_FLUSHING when reading.
29741 Take STREAM lock in chain(), get_range() functions so plugins
29742 don't need to take it anymore.
29746 2005-05-25 Wim Taymans <wim@fluendo.com>
29748 * tools/gst-launch.c: (event_loop):
29749 Unref message after using its contents instead of
29752 2005-05-24 Wim Taymans <wim@fluendo.com>
29754 * docs/design/draft-ghostpads.txt:
29755 * docs/design/draft-push-pull.txt:
29756 * docs/design/draft-query.txt:
29757 * docs/design/part-overview.txt:
29758 Docs updates, added general overview doc.
29760 2005-05-21 David Schleef <ds@schleef.org>
29762 * docs/gst/tmpl/old/GstBin.sgml:
29763 * docs/gst/tmpl/old/GstBuffer.sgml:
29764 * docs/gst/tmpl/old/GstCaps.sgml:
29765 * docs/gst/tmpl/old/GstClock.sgml:
29766 * docs/gst/tmpl/old/GstCompat.sgml:
29767 * docs/gst/tmpl/old/GstData.sgml:
29768 * docs/gst/tmpl/old/GstElement.sgml:
29769 * docs/gst/tmpl/old/GstEvent.sgml:
29770 * docs/gst/tmpl/old/GstIndex.sgml:
29771 * docs/gst/tmpl/old/GstStructure.sgml:
29772 * docs/gst/tmpl/old/GstTag.sgml:
29773 * docs/gst/tmpl/old/cothreads.sgml:
29774 * docs/gst/tmpl/old/cothreads_compat.sgml:
29775 * docs/gst/tmpl/old/gettext.sgml:
29776 * docs/gst/tmpl/old/gobject2gtk.sgml:
29777 * docs/gst/tmpl/old/grammar.tab.sgml:
29778 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29779 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29780 * docs/gst/tmpl/old/gst_private.sgml:
29781 * docs/gst/tmpl/old/gstaggregator.sgml:
29782 * docs/gst/tmpl/old/gstarch.sgml:
29783 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29784 * docs/gst/tmpl/old/gstbufferstore.sgml:
29785 * docs/gst/tmpl/old/gstdata_private.sgml:
29786 * docs/gst/tmpl/old/gstdisksink.sgml:
29787 * docs/gst/tmpl/old/gstdisksrc.sgml:
29788 * docs/gst/tmpl/old/gstelementfactory.sgml:
29789 * docs/gst/tmpl/old/gstextratypes.sgml:
29790 * docs/gst/tmpl/old/gstfakesink.sgml:
29791 * docs/gst/tmpl/old/gstfakesrc.sgml:
29792 * docs/gst/tmpl/old/gstfdsink.sgml:
29793 * docs/gst/tmpl/old/gstfdsrc.sgml:
29794 * docs/gst/tmpl/old/gstfilesink.sgml:
29795 * docs/gst/tmpl/old/gstfilesrc.sgml:
29796 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29797 * docs/gst/tmpl/old/gstidentity.sgml:
29798 * docs/gst/tmpl/old/gstindexfactory.sgml:
29799 * docs/gst/tmpl/old/gstmarshal.sgml:
29800 * docs/gst/tmpl/old/gstmd5sink.sgml:
29801 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29802 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29803 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29804 * docs/gst/tmpl/old/gstpipefilter.sgml:
29805 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29806 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29807 * docs/gst/tmpl/old/gstshaper.sgml:
29808 * docs/gst/tmpl/old/gstspider.sgml:
29809 * docs/gst/tmpl/old/gstspideridentity.sgml:
29810 * docs/gst/tmpl/old/gststatistics.sgml:
29811 * docs/gst/tmpl/old/gsttee.sgml:
29812 * docs/gst/tmpl/old/gsttimecache.sgml:
29813 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29814 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29815 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29816 * docs/gst/tmpl/old/types.sgml:
29817 I didn't intend to add these or check them in.
29819 2005-05-19 David Schleef <ds@schleef.org>
29821 * configure.ac: Use -no-common everywhere. In a sane world, it
29822 would be the default in libtool, because without it, you can't
29823 build DLLs on Windows.
29824 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29825 * docs/gst/gstreamer-sections.txt:
29826 * docs/gst/tmpl/gstcpu.sgml:
29827 * docs/gst/tmpl/gstdata.sgml:
29828 * docs/gst/tmpl/gstthread.sgml:
29830 2005-05-19 David Schleef <ds@schleef.org>
29832 * gst/gstminiobject.c: (gst_value_set_mini_object),
29833 (gst_value_take_mini_object), (gst_value_get_mini_object):
29834 * gst/gstminiobject.h: Add GValue set/get functions.
29836 2005-05-19 Wim Taymans <wim@fluendo.com>
29838 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29839 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29840 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29842 * gst/gstbus.c: (gst_bus_post):
29843 * gst/gstelement.c: (gst_element_get_random_pad):
29844 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29845 Make subbufer unref the parent in finalize.
29846 some more debugging info.
29849 2005-05-19 Wim Taymans <wim@fluendo.com>
29851 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29852 (gst_basesink_init), (gst_basesink_finalize),
29853 (gst_basesink_activate), (gst_basesink_change_state):
29854 Don't free preroll queue too early.
29856 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29860 Hi, I'm outdated. Please shoot me.
29862 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29864 * gst/gstpipeline.c: (gst_pipeline_send_event):
29865 Do not access variables after they have been deleted.
29867 2005-05-19 Wim Taymans <wim@fluendo.com>
29869 * tools/gst-inspect.c: (print_plugin_features):
29870 A plugin feature does unfortunatly not use the
29873 2005-05-18 Wim Taymans <wim@fluendo.com>
29875 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29876 Port _span() functions to new subbuffers.
29878 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29880 * gst/gstbin.c: (gst_bin_add_func):
29881 Fix clock settery in bins when adding kids after the clock has
29884 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29886 * gst/elements/gstidentity.c: (gst_identity_class_init):
29887 Workaround until signals support GstMiniObject.
29889 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29892 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29894 2005-05-18 Wim Taymans <wim@fluendo.com>
29896 * gst/base/Makefile.am:
29897 * gst/base/gstadapter.c: (gst_adapter_base_init),
29898 (gst_adapter_class_init), (gst_adapter_init),
29899 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29900 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29901 (gst_adapter_flush), (gst_adapter_available),
29902 (gst_adapter_available_fast):
29903 * gst/base/gstadapter.h:
29904 Ported and added adapter to the base classes.
29906 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29909 * gst/gstmessage.c:
29910 Make sure the class is reffed/unreffed once before threads can be
29911 used. Fixes #304551.
29913 2005-05-17 Wim Taymans <wim@fluendo.com>
29915 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29916 (gst_basesink_chain_unlocked), (gst_basesink_activate):
29917 * gst/gstminiobject.c: (gst_mini_object_get_type),
29918 (gst_mini_object_free):
29919 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29920 (gst_pad_push), (gst_pad_push_event):
29921 * gst/gstqueue.c: (gst_queue_change_state):
29922 Don't queue buffers in basesink when we are flushing.
29923 Unref buffer when flushing in basesink.
29924 Flush queue when going to READY
29925 Unref buffer when _push() returns an error.
29926 Don't free MiniObject instance when refcount is incremented
29927 in _finalize() so that we can recover objects.
29929 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29931 * docs/manual/advanced-schedulers.xml:
29932 * docs/manual/appendix-checklist.xml:
29933 * docs/pwg/advanced-clock.xml:
29934 * docs/pwg/advanced-interfaces.xml:
29935 * docs/pwg/advanced-request.xml:
29936 * docs/pwg/advanced-types.xml:
29937 * docs/pwg/intro-preface.xml:
29938 * examples/plugins/example.c: (gst_example_get_type),
29939 (gst_example_class_init), (gst_example_chain),
29940 (gst_example_set_property), (gst_example_get_property),
29941 (gst_example_change_state), (plugin_init):
29942 * examples/plugins/example.h:
29945 2005-05-17 Wim Taymans <wim@fluendo.com>
29947 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29948 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29949 * gst/gstqueue.c: (gst_queue_change_state):
29950 Clear queue when going to READY.
29951 Remove IN_SETCAPS flag too.
29953 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
29955 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29956 Remove implicit cast from gboolean to GstElementStateReturn;
29957 make sure we still return failure in paused => ready case if
29958 the parent class fails to change state and our own stop
29961 2005-05-17 Wim Taymans <wim@fluendo.com>
29963 * tools/gst-launch.c: (event_loop):
29964 Message was unreffed too soon.
29966 2005-05-16 Andy Wingo <wingo@pobox.com>
29968 * gst/gstbin.c (sink_iterator_filter): Err... um...
29970 * check/gst/gstbin.c (test_ghost_pads): New test for the
29971 ghosting-if-elements-not-in-same-bin behavior.
29973 2005-05-16 David Schleef <ds@schleef.org>
29975 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29976 accessing refcount directly.
29978 2005-05-15 David Schleef <ds@schleef.org>
29980 * check/Makefile.am: remove GstData checks
29981 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29982 * gst/Makefile.am: add miniobject, remove data
29983 * gst/gst.h: add miniobject, remove data
29984 * gst/gstdata.c: remove
29985 * gst/gstdata.h: remove
29986 * gst/gstdata_private.h: remove
29987 * gst/gsttypes.h: remove GstEvent and GstMessage
29988 * gst/gstelement.c: (gst_element_post_message): fix for API changes
29989 * gst/gstmarshal.list: change BOXED -> OBJECT
29991 Implement GstMiniObject.
29992 * gst/gstminiobject.c:
29993 * gst/gstminiobject.h:
29995 Modify to be subclasses of GstMiniObject.
29996 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29997 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29998 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29999 (gst_subbuffer_get_type), (gst_subbuffer_init),
30000 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30003 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30004 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30005 (_gst_event_copy), (gst_event_new):
30007 * gst/gstmessage.c: (_gst_message_initialize),
30008 (gst_message_get_type), (gst_message_class_init),
30009 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30010 (gst_message_new), (gst_message_new_error),
30011 (gst_message_new_warning), (gst_message_new_tag),
30012 (gst_message_new_state_changed), (gst_message_new_application):
30013 * gst/gstmessage.h:
30014 * gst/gstprobe.c: (gst_probe_perform),
30015 (gst_probe_dispatcher_dispatch):
30017 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30018 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30019 (_gst_query_copy), (gst_query_new):
30021 Update elements for GstData -> GstMiniObject changes
30023 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30024 (gst_queue_chain), (gst_queue_loop):
30025 * gst/elements/gstbufferstore.c:
30026 (gst_buffer_store_add_buffer_func),
30027 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30028 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30029 (gst_fakesink_render):
30030 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30031 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30032 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30033 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30034 (gst_filesrc_create_read):
30035 * gst/elements/gstidentity.c: (gst_identity_class_init):
30036 * gst/elements/gsttypefindelement.c:
30037 (gst_type_find_element_src_event), (free_entry_buffers),
30038 (gst_type_find_element_handle_event):
30039 * libs/gst/dataprotocol/dataprotocol.c:
30040 (gst_dp_header_from_buffer):
30041 * libs/gst/dataprotocol/dataprotocol.h:
30042 * libs/gst/dataprotocol/dp-private.h:
30044 2005-05-15 David Schleef <ds@schleef.org>
30046 * gst/elements/gstelements.c: Don't include headers that were
30049 2005-05-15 David Schleef <ds@schleef.org>
30051 * gst/elements/Makefile.am: Remove some elements that don't
30052 need to be in the core (or even exist at all).
30053 * gst/elements/gstaggregator.c:
30054 * gst/elements/gstaggregator.h:
30055 * gst/elements/gstmd5sink.c:
30056 * gst/elements/gstmd5sink.h:
30057 * gst/elements/gstmultifilesrc.c:
30058 * gst/elements/gstmultifilesrc.h:
30059 * gst/elements/gstpipefilter.c:
30060 * gst/elements/gstpipefilter.h:
30061 * gst/elements/gstshaper.c:
30062 * gst/elements/gstshaper.h:
30063 * gst/elements/gststatistics.c:
30064 * gst/elements/gststatistics.h:
30065 * po/POTFILES.in: Remove above files.
30067 2005-05-14 Andy Wingo <wingo@pobox.com>
30069 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30070 so as to get the refs right.
30071 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30072 unreffing objects that don't pass the filter.
30074 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30075 gst_element_set_bus.
30076 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30077 normal cases, this will destroy the bus.
30079 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30082 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30085 2005-05-13 Andy Wingo <wingo@pobox.com>
30087 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30088 gst_pad_link, call pad_link_maybe_ghosting,
30089 (pad_link_maybe_ghosting): Links pads, making sure that the
30090 elements being linked are in the same bin.
30091 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30092 Helpers for pad_link_maybe_ghosting.
30094 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30097 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30099 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30101 * docs/design/part-element-source.txt:
30104 2005-05-12 Wim Taymans <wim@fluendo.com>
30106 * gst/base/gstbasesink.c: (gst_basesink_init),
30107 (gst_basesink_activate):
30108 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30109 (gst_basesrc_is_seekable):
30110 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30111 (bin_element_is_sink), (gst_bin_change_state):
30112 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30113 * gst/gstelement.h:
30114 Identify sinks by their flag to avoid overly complicated
30116 Do state changes even for elements not reachable from the
30118 BaseSink is a sink now :)
30119 Some more debugging info in the basesrc.
30122 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30124 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30125 Implement _query on a bin, similar to _send_event.
30127 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30129 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30130 Discont event offset format should be GST_FORMAT_BYTES,
30131 not GST_FORMAT_TIME.
30133 2005-05-12 Wim Taymans <wim@fluendo.com>
30135 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30136 Same fix as Ronald's but without the signal.
30138 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30140 * gst/gstutils.c: (gst_element_query_position):
30141 No, an element is not a pad.
30143 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30145 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30146 (gst_bin_get_state):
30147 If a child is removed from a bin while we remove the child from
30148 the bin and while we're retrieving its state, signal this to the
30149 get_state function so we abort the wait (instead of waiting for
30150 a timeout) and can immediately re-iterate over all other elements.
30152 2005-05-12 Wim Taymans <wim@fluendo.com>
30154 * gst/base/Makefile.am:
30155 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30156 (gst_basesrc_start):
30157 * gst/base/gstbasesrc.h:
30158 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30159 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30160 (gst_pushsrc_init), (gst_pushsrc_create):
30161 * gst/base/gstpushsrc.h:
30162 Added is_seekable to BaseSrc
30163 Added simple PushSrc.
30165 2005-05-11 Wim Taymans <wim@fluendo.com>
30167 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30168 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30169 (gst_element_link_pads), (gst_element_query_position),
30170 (gst_element_query_convert), (intersect_caps_func),
30171 (gst_pad_query_position), (gst_pad_query_convert):
30172 Fix refcounting in utils function.
30173 No point in trying to activate a pad when it's added, it could
30174 be added from the state change function and then we deadlock, the
30175 element has to decide what to do.
30177 2005-05-10 Andy Wingo <wingo@pobox.com>
30179 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30180 *all* the arguments.
30182 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30183 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30184 lock (according to the docs -- if this is wrong change the docs).
30186 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30187 flush messages in the NULL state.
30189 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30190 message immediately and return.
30191 (gst_bus_set_flushing): New function. If a bus is flushing, it
30192 flushes out any queued messages and immediately unrefs new
30193 messages. This is so when an element goes to NULL, all of the
30194 unhandled messages coming from it can be freed, and their
30195 references to the element dropped. In other words: message source
30196 ref considered harmful :P
30198 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30199 we're finished with it.
30201 * gst/gstmessage.c (gst_message_new_state_changed):
30203 2005-05-10 Wim Taymans <wim@fluendo.com>
30205 * gst/gstvalue.c: (gst_value_compare_flags),
30206 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30207 (_gst_value_initialize):
30208 Added flags serialize/deserialize/compare code.
30210 2005-05-09 Andy Wingo <wingo@pobox.com>
30212 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30213 Intersect the peer's caps with our caps.
30215 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30217 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30218 * gst/elements/gsttypefindelement.c: (find_peek):
30219 Handle negative offsets better. Fixes decodebin.
30221 2005-05-09 Wim Taymans <wim@fluendo.com>
30223 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30224 (gst_base_transform_event):
30225 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30226 Implement accept_caps.
30227 Fix silly lock/unlock mismatch in base class.
30229 2005-05-09 Wim Taymans <wim@fluendo.com>
30231 * docs/design/draft-push-pull.txt:
30232 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30233 * gst/elements/gstfilesink.c: (gst_filesink_init),
30234 (gst_filesink_query):
30235 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30236 (gst_type_find_handle_src_query), (find_element_get_length):
30237 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30238 * gst/gstelement.h:
30239 * gst/gstmessage.c:
30240 * gst/gstmessage.h:
30241 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30242 (gst_real_pad_get_caps_unlocked),
30243 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30244 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30245 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30246 (gst_real_pad_dispose), (gst_real_pad_finalize),
30247 (gst_pad_load_and_link), (gst_pad_save_thyself),
30248 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30249 (gst_pad_check_pull_range), (gst_pad_pull_range),
30250 (gst_pad_template_get_type), (gst_pad_template_class_init),
30251 (gst_pad_template_init), (gst_pad_template_dispose),
30252 (name_is_valid), (gst_static_pad_template_get),
30253 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30254 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30255 (gst_pad_get_element_private), (gst_pad_start_task),
30256 (gst_pad_pause_task), (gst_pad_stop_task),
30257 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30258 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30259 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30260 (gst_ghost_pad_new):
30262 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30263 (gst_query_new_position), (gst_query_set_position),
30264 (gst_query_parse_position), (gst_query_new_convert),
30265 (gst_query_set_convert), (gst_query_parse_convert):
30267 * gst/gstqueryutils.c:
30268 * gst/gstqueryutils.h:
30269 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30270 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30271 (gst_queue_handle_src_query):
30272 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30273 (gst_element_query_position), (gst_element_query_convert),
30274 (intersect_caps_func), (gst_pad_query_position),
30275 (gst_pad_query_convert):
30277 * tools/gst-inspect.c: (print_pad_info):
30278 * tools/gst-xmlinspect.c: (print_element_info):
30279 Remove old query functions. Ported old code.
30280 Added position/convert helper functions to gstutils.
30281 Reordered gstpad.c code, grouping relevant things.
30282 Remove gst_message_new(), always need to speficy a specific
30286 2005-05-09 Andy Wingo <wingo@pobox.com>
30288 * gst/gstiterator.h: Add some includes.
30290 * gst/gstqueryutils.h: Include more headers.
30293 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30294 some uses of gst_pad_query.
30296 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30297 NULL out parameters.
30298 (gst_query_new_position): New proc, allocates a new position
30301 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30302 gstqueryutils.c to the build.
30304 * gst/gststructure.c (gst_structure_set_valist): Implement with
30305 the generic G_VALUE_COLLECT.
30307 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30309 * gst/Makefile.am: (gst_headers):
30310 Added gstqueryutils.h to the list of headers to install, that was
30311 a 'nachty' move wingo :)
30313 2005-05-06 Andy Wingo <wingo@pobox.com>
30316 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30317 GstData, init a memchunk.
30318 (standard_definitions): Add a few query types, deprecate a few.
30319 (gst_query_get_type): New proc.
30320 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30322 (gst_query_new_application, gst_query_get_structure): New public
30325 * docs/design/draft-query.txt: Removed LINKS from the query types,
30326 because all the rest can be dispatched to other pads -- seemed
30327 ugly to have a query that couldn't be dispatched. internal_links
30328 is fine as a pad method.
30330 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30331 in gstpad.c, but maintain binary compatibility for the moment.
30332 Will fix before 0.9 is out.
30334 * gst/gstqueryutils.c:
30335 * gst/gstqueryutils.h: New files, implement 3 methods for each
30336 query type: parse_query, parse_response, and set. Probably need an
30339 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30341 * gst/elements/gstfilesink.c (gst_filesink_query2):
30342 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30343 query_types, and formats methods.
30345 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30346 (gst_pad_set_query2_function): New functions.
30347 (gst_real_pad_init): Set query2_default as the default query2
30348 function. Basically just dispatches to internally linked pads.
30352 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30353 without using the atomic operations. Only one thread can possibly
30354 be accessing the data at this point. Changed so as to avoid
30355 gst_atomic operations.
30357 2005-05-06 Wim Taymans <wim@fluendo.com>
30359 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30360 Also set caps if we use the fallback buffer alloc.
30362 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30364 * docs/gst/Makefile.am:
30365 * docs/gst/gstreamer-docs.sgml:
30366 * docs/gst/gstreamer-sections.txt:
30367 * docs/gst/tmpl/gstatomic.sgml:
30368 * docs/gst/tmpl/gstmemchunk.sgml:
30369 * testsuite/elements/struct_i386.h:
30370 * win32/GStreamer.vcproj:
30372 Purge GstAtomic stuff from docs and win32 makefiles as well
30374 2005-05-06 Wim Taymans <wim@fluendo.com>
30376 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30377 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30378 * gst/gstpad.c: (gst_pad_peer_get_caps):
30379 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30380 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30381 (gst_queue_src_activate), (gst_queue_change_state):
30383 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30384 (intersect_caps_func):
30385 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30386 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30387 Some fixes for the peer_get_caps() change.
30389 2005-05-06 Wim Taymans <wim@fluendo.com>
30391 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30392 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30393 (gst_basesink_activate):
30394 Actually do something with error codes returned from the push
30397 2005-05-06 Wim Taymans <wim@fluendo.com>
30399 * docs/design/part-element-sink.txt:
30400 * docs/design/part-element-source.txt:
30401 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30402 (gst_basesink_event), (gst_basesink_activate):
30403 * gst/base/gstbasesink.h:
30404 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30405 (gst_basesrc_activate):
30406 * gst/base/gstbasesrc.h:
30407 * gst/gstelement.c: (gst_element_pads_activate):
30408 Some more documentation.
30409 Fixed scheduling decision in _pads_activate().
30411 2005-05-05 Andy Wingo <wingo@pobox.com>
30413 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30416 2005-05-05 Wim Taymans <wim@fluendo.com>
30418 * gst/base/Makefile.am:
30419 * gst/base/gstbasesink.h:
30420 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30421 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30422 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30423 (gst_collectpads_class_init), (gst_collectpads_init),
30424 (gst_collectpads_finalize), (gst_collectpads_new),
30425 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30426 (find_pad), (gst_collectpads_remove_pad),
30427 (gst_collectpads_is_active), (gst_collectpads_collect),
30428 (gst_collectpads_collect_range), (gst_collectpads_start),
30429 (gst_collectpads_stop), (gst_collectpads_peek),
30430 (gst_collectpads_pop), (gst_collectpads_available),
30431 (gst_collectpads_read), (gst_collectpads_flush),
30432 (gst_collectpads_chain):
30433 * gst/base/gstcollectpads.h:
30434 * gst/elements/Makefile.am:
30435 * gst/elements/gstelements.c:
30436 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30437 (gst_fakesink_get_times), (gst_fakesink_event),
30438 (gst_fakesink_preroll), (gst_fakesink_render):
30439 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30440 (gst_filesink_init), (gst_filesink_set_location),
30441 (gst_filesink_open_file), (gst_filesink_close_file),
30442 (gst_filesink_pad_query), (gst_filesink_event),
30443 (gst_filesink_render), (gst_filesink_change_state):
30444 * gst/elements/gstfilesink.h:
30445 Added object to help in making collect pad based elements.
30447 Make event function in sink baseclass return gboolean.
30449 2005-05-05 Wim Taymans <wim@fluendo.com>
30451 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30452 (gst_bin_get_by_name):
30454 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30455 (gst_clock_finalize):
30456 * gst/gstdata.c: (gst_data_replace):
30458 * gst/gstelement.c: (gst_element_request_pad),
30459 (gst_element_pads_activate):
30460 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30461 (gst_object_unref):
30462 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30463 (gst_pad_set_checkgetrange_function),
30464 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30465 (gst_pad_check_pull_range), (gst_pad_pull_range),
30466 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30467 (gst_pad_pause_task), (gst_pad_stop_task):
30468 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30469 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30470 Fix name lookup in GstBin.
30471 Added _data_replace() function and _buffer_replace()
30472 Use finalize method to clean up clock.
30473 Fix refcounting on request pads.
30474 Fix pad schedule mode error.
30475 Some more object refcounting debug info,
30478 2005-05-04 Andy Wingo <wingo@pobox.com>
30480 * check/Makefile.am:
30481 * docs/gst/tmpl/gstatomic.sgml:
30482 * docs/gst/tmpl/gstplugin.sgml:
30483 * gst/base/gstbasesink.c: (gst_basesink_activate):
30484 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30485 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30486 (gst_basesrc_query), (gst_basesrc_set_property),
30487 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30488 (gst_basesrc_activate):
30489 * gst/base/gstbasesrc.h:
30490 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30491 (gst_base_transform_src_activate):
30492 * gst/elements/gstelements.c:
30493 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30494 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30495 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30496 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30497 (gst_type_find_element_checkgetrange),
30498 (gst_type_find_element_activate):
30499 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30500 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30501 (gst_caps_load_thyself):
30502 * gst/gstelement.c: (gst_element_pads_activate),
30503 (gst_element_save_thyself), (gst_element_restore_thyself):
30504 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30505 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30507 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30508 (gst_xml_parse_file), (gst_xml_parse_memory),
30509 (gst_xml_get_element), (gst_xml_make_element):
30510 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30511 (_file_index_id_save_xml), (gst_file_index_commit):
30512 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30513 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30515 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30516 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30517 * tools/gst-complete.c: (main):
30518 * tools/gst-compprep.c: (main):
30519 * tools/gst-inspect.c: (print_element_properties_info):
30520 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30521 * tools/gst-xmlinspect.c: (print_element_properties):
30524 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30526 * gst/gstplugin.c: (gst_plugin_check_module),
30527 (gst_plugin_check_file), (gst_plugin_load_file):
30528 apply patch from #172526 to make register work on MacOSX
30530 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30532 * docs/gst/tmpl/gstconfig.sgml:
30533 * gst/gstconfig.h.in:
30534 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30535 * testsuite/debug/printf_extension.c: (main):
30536 Do not use GST_PTR_FORMAT on pointers to types with
30537 sizeof < sizeof(gpointer). Fixes test on 64-bit
30538 * testsuite/elements/property.h:
30539 use correct printf format
30541 2005-05-02 Wim Taymans <wim@fluendo.com>
30543 * docs/design/draft-push-pull.txt:
30544 * docs/design/draft-query.txt:
30545 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30546 (gst_basesrc_start):
30547 Added draft for new query API.
30548 Added draft for better selecting scheduling methods.
30549 Make basesrc ignore length if the subclass does not support
30552 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30555 possible fixes for automake-1.5 - _LIBADD is reserved
30557 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30559 * docs/faq/Makefile.am:
30560 * docs/manual/Makefile.am:
30561 * docs/manuals.mak:
30562 * docs/pwg/Makefile.am:
30564 possible fixes for automake-1.5
30566 2005-04-28 Wim Taymans <wim@fluendo.com>
30568 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30569 (gst_basesink_pad_getcaps), (gst_basesink_init),
30570 (gst_basesink_do_sync):
30571 * gst/gstclock.c: (gst_clock_entry_new):
30572 * gst/gstevent.c: (gst_event_discont_get_value):
30573 * gst/gstpipeline.c: (pipeline_bus_handler),
30574 (gst_pipeline_change_state):
30575 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30576 Better debugging of clocking info.
30577 Allow NULL values when getting discont values.
30579 2005-04-27 Wim Taymans <wim@fluendo.com>
30581 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30582 * check/gst/gstpad.c: (gst_pad_suite):
30583 Increase timeout for checks.
30585 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30587 * check/Makefile.am:
30588 fix the broken rule for cleanup. Apparently this rule is
30589 only needed on FC2, so maybe this warrants further autotool
30592 2005-04-26 Wim Taymans <wim@fluendo.com>
30594 * gst/gsttrashstack.h:
30595 Ooohh. a nasty one! After having a failed pop() from the stack,
30596 it's possible that the stack is empty. In that case, don't
30597 follow the NULL pointer.
30599 2005-04-25 Wim Taymans <wim@fluendo.com>
30601 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30602 (gst_pad_set_checkgetrange_function),
30603 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30604 (gst_pad_check_pull_range), (gst_pad_pull_range),
30605 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30606 (gst_pad_pause_task), (gst_pad_stop_task):
30607 * gst/gstplugin.c: (gst_plugin_load):
30609 Remove gst_library_load as it does more harm than good with
30610 the new g_module flags.
30611 Revert bogus caps template check in pad linking, pad caps
30612 are important when linking not the template, which is more
30613 general than the current caps.
30615 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30617 * gst/autoplug/.cvsignore:
30618 * gst/autoplug/Makefile.am:
30619 * gst/autoplug/gstsearchfuncs.c:
30620 * gst/autoplug/gstsearchfuncs.h:
30621 * gst/autoplug/gstspider.c:
30622 * gst/autoplug/gstspider.h:
30623 * gst/autoplug/gstspideridentity.c:
30624 * gst/autoplug/gstspideridentity.h:
30625 * gst/autoplug/spidertest.c:
30628 2005-04-25 Wim Taymans <wim@fluendo.com>
30630 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30631 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30632 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30633 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30635 Added stubs for unimplemented functions.
30637 2005-04-24 David Schleef <ds@schleef.org>
30639 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30642 2005-04-24 David Schleef <ds@schleef.org>
30644 Convert everything from GstAtomicInt to g_atomic_int_*, and
30649 * gst/gstatomic_impl.h:
30657 * gst/gstdata_private.h:
30661 * gst/gstmessage.c:
30664 * gst/gststructure.c:
30665 * gst/gststructure.h:
30666 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30669 2005-04-24 David Schleef <ds@schleef.org>
30671 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30672 make the regressions tests work. Remove some code that is no
30674 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30675 Disable warning for pads without templates.
30677 2005-04-24 David Schleef <ds@schleef.org>
30679 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30680 functions that handle filtered links.
30681 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30683 * gst/gstutils.c: Fix/remove utility functions that handle
30686 * gst/gstvalue.c: Add serialization/deserialization of caps
30687 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30688 requires fixing so that the filter caps notation creates
30689 a capsfilter element and sets the filter_caps property. I
30690 think everyone probably wants to keep the shorthand notation.
30691 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30692 * docs/gst/tmpl/gstpad.sgml:
30694 * gst/elements/gstelements.c: Register capsfilter element.
30695 * gst/Makefile.am: fix spacing
30696 * docs/random/ds/0.9-suggested-changes: random
30698 2005-04-23 David Schleef <ds@schleef.org>
30700 * gst/elements/Makefile.am:
30701 * gst/elements/gstcapsfilter.c: New element that acts like an
30702 identity, but filters caps. Will eventually replace filtered
30703 caps in pad linking.
30704 * gst/gstutils.c: (gst_element_create_all_pads): New function
30705 to create all the ALWAYS pads that are registered with an
30706 element class. This functionality should eventually be
30707 merged in with GstElement initialization.
30709 * testsuite/trigger/README: part of trigger test code that should
30710 have been checked in a long time ago.
30712 2005-04-23 David Schleef <ds@schleef.org>
30714 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30715 needed with new versions of libtool (nobody will confirm this),
30716 and hard to carry around.
30717 * gst/autoplug/Makefile.am:
30718 * gst/base/Makefile.am:
30719 * gst/elements/Makefile.am:
30720 * gst/indexers/Makefile.am:
30721 * gst/schedulers/Makefile.am:
30722 * libs/gst/bytestream/Makefile.am:
30723 * libs/gst/control/Makefile.am:
30724 * libs/gst/dataprotocol/Makefile.am:
30725 * libs/gst/getbits/Makefile.am:
30727 2005-04-21 Wim Taymans <wim@fluendo.com>
30729 * docs/design/draft-push-pull.txt:
30730 * docs/design/part-MT-refcounting.txt:
30731 * docs/design/part-TODO.txt:
30732 * docs/design/part-caps.txt:
30733 * docs/design/part-events.txt:
30734 * docs/design/part-gstbus.txt:
30735 * docs/design/part-gstpipeline.txt:
30736 * docs/design/part-messages.txt:
30737 * docs/design/part-push-pull.txt:
30738 * docs/design/part-query.txt:
30741 2005-04-21 Wim Taymans <wim@fluendo.com>
30743 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30744 (gst_message_new), (gst_message_new_error),
30745 (gst_message_new_warning), (gst_message_new_tag),
30746 (gst_message_new_state_changed), (gst_message_new_application),
30747 (gst_message_get_structure):
30748 * gst/gstmessage.h:
30749 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30750 (gst_structure_copy_conditional):
30751 Use parent refcount in GstMessage to ensure GstStructure
30753 Cleaned up headers a bit.
30756 2005-04-20 Wim Taymans <wim@fluendo.com>
30758 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30759 (gst_basesink_pad_getcaps), (gst_basesink_init),
30760 (gst_basesink_chain_unlocked):
30761 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30762 (gst_type_find_helper):
30763 * gst/elements/gsttypefindelement.c:
30764 (gst_type_find_element_have_type), (gst_type_find_element_init),
30765 (stop_typefinding), (gst_type_find_element_handle_event),
30766 (find_suggest), (gst_type_find_element_chain),
30767 (gst_type_find_element_checkgetrange),
30768 (gst_type_find_element_getrange), (do_typefind),
30769 (gst_type_find_element_activate):
30770 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30771 (gst_buffer_default_free), (gst_buffer_default_copy),
30772 (gst_buffer_set_caps):
30773 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30774 (gst_caps_replace):
30775 * gst/gstmessage.c: (gst_message_new),
30776 (gst_message_new_state_changed):
30777 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30778 (gst_pad_set_checkgetrange_function),
30779 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30780 (gst_pad_set_caps), (gst_pad_check_pull_range),
30781 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30783 * gst/gsttypefind.c: (gst_type_find_register):
30784 Make gst_caps_replace() work like other _replace() functions.
30785 Use _caps_replace() where possible.
30786 Make sure _message_new() initialises its field.
30787 Add gst_static_pad_template_get_caps()
30790 2005-04-18 Andy Wingo <wingo@pobox.com>
30792 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30793 on the peer, not the pad. I think that was a typo. Pass an extra
30794 arg to see if random access is possible. Activate the pads as
30795 PULL_RANGE if possible.
30797 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30799 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30800 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30803 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30805 * docs/faq/using.xml:
30806 Add note on gstreamer-properties (#154996).
30808 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30810 * docs/random/bbb/optional-properties:
30811 Some analysis on optional properties.
30813 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30815 * docs/gst/tmpl/gstelementfactory.sgml:
30816 * gst/gstelement.h:
30817 * gst/gstelementfactory.c: (gst_element_factory_init),
30818 (gst_element_factory_cleanup), (gst_element_register),
30819 (__gst_element_factory_add_static_pad_template),
30820 (gst_element_factory_get_static_pad_templates),
30821 (gst_element_factory_can_src_caps),
30822 (gst_element_factory_can_sink_caps):
30823 * gst/registries/Makefile.am:
30824 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30825 (gst_xml_registry_class_init), (gst_xml_registry_init),
30826 (gst_xml_registry_new), (gst_xml_registry_set_property),
30827 (gst_xml_registry_get_property), (get_time), (make_dir),
30828 (gst_xml_registry_get_perms_func),
30829 (plugin_times_older_than_recurse), (plugin_times_older_than),
30830 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30831 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30832 (add_to_char_array), (read_string), (read_uint), (read_enum),
30833 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30834 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30835 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30836 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30837 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30838 (gst_xml_registry_rebuild):
30839 * gst/registries/gstlibxmlregistry.h:
30840 * tools/gst-compprep.c: (main):
30841 * tools/gst-inspect.c: (print_pad_templates_info):
30842 * tools/gst-xmlinspect.c: (print_element_info):
30843 Use libxml2 for registry parsing, use staticpadtemplates in
30844 elementfactories. Makes gst_init() +/- 10x faster.
30846 2005-04-12 Wim Taymans <wim@fluendo.com>
30848 * gst/base/Makefile.am:
30849 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30850 (gst_basesink_pad_getcaps), (gst_basesink_init),
30851 (gst_basesink_event), (gst_basesink_change_state):
30852 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30853 (gst_basesrc_init), (gst_basesrc_query),
30854 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30855 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30856 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30857 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30858 (gst_basesrc_stop), (gst_basesrc_activate),
30859 (gst_basesrc_change_state):
30860 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30861 (helper_find_suggest), (gst_type_find_helper):
30862 * gst/base/gsttypefindhelper.h:
30863 * gst/elements/Makefile.am:
30864 * gst/elements/gstelements.c:
30865 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30866 (gst_fakesink_get_times), (gst_fakesink_event),
30867 (gst_fakesink_preroll), (gst_fakesink_render):
30868 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30869 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30870 (gst_fakesrc_get_property), (gst_fakesrc_create),
30871 (gst_fakesrc_start), (gst_fakesrc_stop):
30872 * gst/elements/gstfakesrc.h:
30873 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30874 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30875 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30876 (gst_filesrc_create_read), (gst_filesrc_create),
30877 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30878 (gst_filesrc_start):
30879 * gst/elements/gsttypefindelement.c:
30880 (gst_type_find_element_have_type), (gst_type_find_element_init),
30881 (start_typefinding), (stop_typefinding), (push_buffer_store),
30882 (gst_type_find_element_handle_event),
30883 (gst_type_find_element_chain),
30884 (gst_type_find_element_checkgetrange),
30885 (gst_type_find_element_getrange), (do_typefind),
30886 (gst_type_find_element_activate),
30887 (gst_type_find_element_change_state):
30888 * gst/elements/gsttypefindelement.h:
30889 * gst/gstpipeline.c: (pipeline_bus_handler):
30890 Added typefind helper.
30891 Small preroll fix in the base sink.
30892 Disable typefind code in basesrc.
30893 Crude port of typefindelement.
30897 2005-04-11 Wim Taymans <wim@fluendo.com>
30899 * check/gst/gstbus.c: (gstbus_suite):
30900 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30901 * check/gstcheck.h:
30902 Fix up the timeout so that the test does not fail.
30904 2005-04-06 Wim Taymans <wim@fluendo.com>
30907 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30908 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30909 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30910 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30911 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30912 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30913 (gst_basesrc_stop), (gst_basesrc_activate),
30914 (gst_basesrc_change_state), (basesrc_find_peek),
30915 (basesrc_find_suggest), (gst_basesrc_type_find):
30916 * gst/base/gstbasesrc.h:
30917 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30918 (gst_filesrc_class_init), (gst_filesrc_init),
30919 (gst_filesrc_finalize), (gst_filesrc_set_location),
30920 (gst_filesrc_set_property), (gst_filesrc_get_property),
30921 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30922 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30923 (gst_filesrc_create_read), (gst_filesrc_create),
30924 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30925 * gst/elements/gstfilesrc.h:
30926 * gst/gstelement.c: (gst_element_get_state_func),
30927 (gst_element_lost_state), (gst_element_pads_activate):
30928 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30929 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30930 (gst_pad_pull_range):
30932 More work on the generic source base class, implement seeking,
30934 Make filesrc extend the base source class.
30935 Added gst_pad_set_checkgetrange_function to GstPad.
30937 2005-04-06 Andy Wingo <wingo@pobox.com>
30939 * pkgconfig/gstreamer-base.pc.in:
30940 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30942 * pkgconfig/Makefile.am:
30943 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30945 2005-04-04 Wim Taymans <wim@fluendo.com>
30947 * gst/base/Makefile.am:
30949 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30950 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30951 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30952 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30953 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30954 (gst_basesrc_base_init), (gst_basesrc_class_init),
30955 (gst_basesrc_init), (gst_basesrc_get_formats),
30956 (gst_basesrc_get_query_types), (gst_basesrc_query),
30957 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30958 (gst_basesrc_set_property), (gst_basesrc_get_property),
30959 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30960 (gst_basesrc_loop), (gst_basesrc_activate),
30961 (gst_basesrc_change_state):
30962 * gst/base/gstbasesrc.h:
30963 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30964 (gst_fakesrc_class_init), (gst_fakesrc_init),
30965 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30966 (gst_fakesrc_get_property), (gst_fakesrc_create):
30967 * gst/elements/gstfakesrc.h:
30968 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30969 (gst_filesrc_open_file), (gst_filesrc_loop),
30970 (gst_filesrc_activate), (filesrc_find_peek),
30971 (gst_filesrc_type_find):
30972 Made base source class, make fakesrc extend it.
30973 Add comments to basesink class.
30974 Some filesrc cleanup.
30976 2005-03-31 David Schleef <ds@schleef.org>
30978 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30979 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30980 expected to link against libgstreamer.
30981 * gst/base/Makefile.am: link against libgstreamer
30982 * gst/elements/Makefile.am: same
30984 2005-03-31 Andy Wingo <wingo@pobox.com>
30986 * tests/instantiate/Makefile.am:
30987 * tests/instantiate/caps.c: Add test to test speed of caps copy
30990 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30991 GMemChunk to be fair.
30993 * gst/gsttrashstack.h: Remove warning about using the fallback
30994 trash stack implementation, it's still faster than malloc.
30996 2005-03-30 Andy Wingo <wingo@pobox.com>
30998 * tests/complexity.c: Add a copyright.
31000 2005-03-31 Wim Taymans <wim@fluendo.com>
31002 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31003 (gst_base_transform_class_init), (gst_base_transform_init),
31004 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31005 (gst_base_transform_get_property),
31006 (gst_base_transform_sink_activate),
31007 (gst_base_transform_src_activate),
31008 (gst_base_transform_change_state):
31009 * gst/base/gstbasetransform.h:
31010 * gst/elements/gstidentity.c: (gst_identity_class_init),
31011 (gst_identity_event), (gst_identity_check_perfect),
31012 (gst_identity_transform), (gst_identity_start),
31013 (gst_identity_stop):
31014 Added start/stop methods to transform base class so subclasses
31015 don't need to deal with state changes even.
31017 2005-03-31 Wim Taymans <wim@fluendo.com>
31019 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31020 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31022 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31023 (gst_pad_pull_range):
31024 Added rate to the discont event to prepare for variable speed
31025 and reverse playback.
31027 2005-03-29 David Schleef <ds@schleef.org>
31030 * testsuite/trigger/Makefile.am:
31031 * testsuite/trigger/trigger.c: A little example program to show
31032 how trigger-based elements can work.
31034 2005-03-29 Wim Taymans <wim@fluendo.com>
31036 * gst/base/Makefile.am:
31038 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31039 (gst_basesink_base_init), (gst_basesink_class_init),
31040 (gst_basesink_pad_getcaps), (gst_basesink_init),
31041 (gst_basesink_activate), (gst_basesink_change_state):
31042 * gst/base/gstbasesink.h:
31043 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31044 (gst_base_transform_base_init), (gst_base_transform_finalize),
31045 (gst_base_transform_class_init), (gst_base_transform_init),
31046 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31047 (gst_base_transform_event), (gst_base_transform_getrange),
31048 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31049 (gst_base_transform_set_property),
31050 (gst_base_transform_get_property),
31051 (gst_base_transform_sink_activate),
31052 (gst_base_transform_src_activate),
31053 (gst_base_transform_change_state):
31054 * gst/base/gstbasetransform.h:
31055 * gst/elements/gstidentity.c: (gst_identity_finalize),
31056 (gst_identity_class_init), (gst_identity_init),
31057 (gst_identity_event), (gst_identity_check_perfect),
31058 (gst_identity_transform), (gst_identity_set_property),
31059 (gst_identity_get_property), (gst_identity_change_state):
31060 * gst/elements/gstidentity.h:
31061 * gst/gstelement.c: (gst_element_get_state_func),
31062 (gst_element_lost_state), (gst_element_pads_activate):
31063 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31064 (gst_pad_check_pull_range), (gst_pad_pull_range):
31066 Simplify pad activation.
31067 Added function to check if pull_range can be performed.
31068 Error out when pulling inactive or flushing pads.
31069 Removed const from refcounted types as it does not make sense.
31070 Simplify pad templates in basesink
31071 Added base class for simple 1-to-1 transforms.
31072 Make identity subclass the base transform.
31074 2005-03-29 Andy Wingo <wingo@pobox.com>
31076 * docs/libs/gstreamer-libs-overrides.txt:
31077 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31078 really don't understand what's going on, but like whatever. I want
31081 * docs/gst/Makefile.am:
31082 * docs/libs/Makefile.am: Dist the overrides files.
31084 * check/Makefile.am (clean-local): Remove .libs directories.
31086 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31087 elements to EXTRA_DIST, so po/ files are happy.
31089 * po/POTFILES.in: Er, remove it here.
31091 * po/POTFILES: Remove gstspider.c.
31093 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31095 * docs/libs/gstreamer-libs-docs.sgml:
31096 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31099 * tests/complexity.c (main): Set the length of the preroll queue
31100 on the sinks to prevent a lockup.
31102 * libs/gst/dataprotocol/Makefile.am:
31103 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31104 the same as the one in check/gst-libs/gdp.c.
31106 * po/, docs/gst/: Commit automatic changes to docs and po files.
31108 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31109 the versioned libgstbase.
31111 * check/Makefile.am: Depend on an unversioned gst-register, seems
31112 to make autoconf happier.
31114 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31116 2005-03-28 Wim Taymans <wim@fluendo.com>
31119 * docs/design/part-gstelement.txt:
31120 * docs/design/part-negotiation.txt:
31121 * docs/design/part-preroll.txt:
31122 * docs/design/part-scheduling.txt:
31123 * docs/design/part-states.txt:
31125 * gst/base/Makefile.am:
31127 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31128 (gst_basesink_base_init), (gst_basesink_class_init),
31129 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31130 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31131 (gst_basesink_set_pad_functions),
31132 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31133 (gst_basesink_set_property), (gst_basesink_get_property),
31134 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31135 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31136 (gst_basesink_preroll_queue_push),
31137 (gst_basesink_preroll_queue_empty),
31138 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31139 (gst_basesink_event), (gst_basesink_get_times),
31140 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31141 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31142 (gst_basesink_loop), (gst_basesink_activate),
31143 (gst_basesink_change_state):
31144 * gst/base/gstbasesink.h:
31145 * gst/elements/Makefile.am:
31146 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31147 (gst_fakesink_class_init), (gst_fakesink_init),
31148 (gst_fakesink_set_property), (gst_fakesink_get_property),
31149 (gst_fakesink_get_times), (gst_fakesink_event),
31150 (gst_fakesink_preroll), (gst_fakesink_render),
31151 (gst_fakesink_change_state):
31152 * gst/elements/gstfakesink.h:
31153 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31154 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31155 * gst/gstelement.c: (gst_element_add_pad),
31156 (gst_element_get_state_func), (gst_element_abort_state),
31157 (gst_element_commit_state), (gst_element_lost_state),
31158 (gst_element_set_state), (gst_element_pads_activate):
31159 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31160 * gst/gstpipeline.c: (gst_pipeline_send_event),
31161 (gst_pipeline_change_state):
31162 Added state change code.
31163 Added/updated docs.
31164 Added sink base class, make fakesink extend the base class.
31165 Small cleanups in GstPipeline.
31167 2005-03-26 David Schleef <ds@schleef.org>
31169 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31170 is broken and should be implemented in a different library.
31171 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31172 * gst/gst.h: remove gstcpu.h
31173 * gst/gstcpu.c: remove
31174 * gst/gstcpu.h: remove
31175 * gst/Makefile.am.future: Remove this file. It's ancient.
31177 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31179 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31180 (gst_bin_send_event):
31181 Add default event/set_manager handlers. The set_manager handler
31182 takes care that the manager is distributed over kids that were
31183 already in the bin before the manager was set. The event handler
31184 is a utility virtual function that sends the event over all sinks,
31185 so that gst_element_send_event (bin, event); has the expected
31187 * gst/gstpad.c: (gst_pad_event_default):
31188 Re-install default event handling for discontinuities, so that
31189 seeking works without requiring hacks in applications or extra
31191 * gst/gstpipeline.c: (gst_pipeline_class_init),
31192 (gst_pipeline_send_event):
31193 Half hack, half utility: set a pipeline to PAUSED for seek events,
31194 since that is the only way we can guarantee a/v sync. Means that
31195 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31196 and it "just works".
31198 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31200 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31201 Lock/unlock mismatch.
31203 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31205 * docs/faq/gst-uninstalled:
31206 add gst-plugins-base
31207 * docs/gst/Makefile.am:
31208 don't error out until docs are fixed
31209 * docs/gst/gstreamer.types:
31212 2005-03-22 Wim Taymans <wim@fluendo.com>
31214 * check/Makefile.am:
31215 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31216 * gst/gststructure.c: (gst_structure_set_valist),
31217 (gst_structure_copy_conditional):
31218 Activated more tests.
31219 Added message test.
31220 Added G_TYPE_POINTER to GstStructure.
31223 2005-03-22 Wim Taymans <wim@fluendo.com>
31225 * docs/design/part-TODO.txt:
31226 * docs/design/part-events.txt:
31227 * docs/design/part-gstbin.txt:
31228 * docs/design/part-gstbus.txt:
31229 * docs/design/part-gstpipeline.txt:
31230 * docs/design/part-messages.txt:
31232 * gst/gstmessage.c:
31235 2005-03-21 Wim Taymans <wim@fluendo.com>
31237 * gst/gstbus.c: (gst_bus_post):
31238 Fix copy-and-paste error.
31240 2005-03-21 Wim Taymans <wim@fluendo.com>
31242 * check/Makefile.am:
31244 * gst/elements/Makefile.am:
31245 * gst/elements/gstelements.c:
31246 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31247 (gst_fakesink_event), (gst_fakesink_chain):
31248 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31249 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31250 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31251 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31252 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31253 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31254 (gst_fakesrc_loop), (gst_fakesrc_activate),
31255 (gst_fakesrc_change_state):
31256 * gst/elements/gstfakesrc.h:
31257 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31258 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31259 (gst_filesrc_open_file), (gst_filesrc_loop),
31260 (gst_filesrc_activate), (gst_filesrc_change_state),
31261 (filesrc_find_peek), (filesrc_find_suggest),
31262 (gst_filesrc_type_find):
31263 * gst/elements/gstidentity.c: (gst_identity_finalize),
31264 (gst_identity_class_init), (gst_identity_init),
31265 (gst_identity_proxy_getcaps), (identity_queue_push),
31266 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31267 (gst_identity_getrange), (gst_identity_chain),
31268 (gst_identity_sink_loop), (gst_identity_src_loop),
31269 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31270 (gst_identity_set_property), (gst_identity_get_property),
31271 (gst_identity_change_state):
31272 * gst/elements/gstidentity.h:
31273 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31274 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31275 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31276 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31277 (gst_tee_sink_activate):
31278 * gst/elements/gsttee.h:
31279 * gst/gst.c: (gst_register_core_elements), (init_post):
31281 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31282 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31283 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31284 (gst_bin_change_state):
31286 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31287 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31288 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31289 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31290 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31291 (bus_watch_callback), (bus_watch_destroy),
31292 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31293 (poll_timeout), (gst_bus_poll):
31297 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31298 (gst_element_post_message), (gst_element_message_full),
31299 (gst_element_get_state_func), (gst_element_get_state),
31300 (gst_element_abort_state), (gst_element_commit_state),
31301 (gst_element_lost_state), (gst_element_set_state),
31302 (gst_element_pads_activate), (gst_element_change_state),
31303 (gst_element_dispose), (gst_element_set_manager_func),
31304 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31305 (gst_element_set_manager), (gst_element_get_manager),
31306 (gst_element_set_bus), (gst_element_get_bus),
31307 (gst_element_set_scheduler), (gst_element_get_scheduler):
31308 * gst/gstelement.h:
31309 * gst/gstevent.c: (gst_event_new_segment_seek),
31310 (gst_event_new_flush):
31312 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31313 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31314 (gst_message_new_eos), (gst_message_new_error),
31315 (gst_message_new_warning), (gst_message_new_tag),
31316 (gst_message_new_state_changed), (gst_message_new_application),
31317 (gst_message_get_structure), (gst_message_parse_tag),
31318 (gst_message_parse_state_changed), (gst_message_parse_error),
31319 (gst_message_parse_warning):
31320 * gst/gstmessage.h:
31321 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31322 (gst_real_pad_set_property), (gst_pad_set_active),
31323 (gst_pad_is_active), (gst_pad_set_blocked_async),
31324 (gst_pad_set_blocked), (gst_pad_is_blocked),
31325 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31326 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31327 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31328 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31329 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31330 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31331 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31332 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31333 (gst_pad_set_caps), (gst_pad_configure_sink),
31334 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31335 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31336 (gst_real_pad_dispose), (gst_real_pad_finalize),
31337 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31338 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31339 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31341 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31342 (pipeline_bus_handler), (gst_pipeline_change_state),
31343 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31344 * gst/gstpipeline.h:
31346 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31347 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31348 (gst_queue_link_src), (gst_queue_bufferalloc),
31349 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31350 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31351 (gst_queue_loop), (gst_queue_handle_src_event),
31352 (gst_queue_handle_src_query), (gst_queue_src_activate),
31353 (gst_queue_change_state):
31355 * gst/gstscheduler.c: (gst_scheduler_init),
31356 (gst_scheduler_dispose), (gst_scheduler_create_task),
31357 (gst_scheduler_factory_create):
31358 * gst/gstscheduler.h:
31359 * gst/gststructure.c: (gst_structure_get_type),
31360 (gst_structure_copy_conditional):
31361 * gst/gststructure.h:
31362 * gst/gsttaginterface.h:
31363 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31364 (gst_task_init), (gst_task_dispose), (gst_task_create),
31365 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31371 * gst/schedulers/Makefile.am:
31372 * gst/schedulers/cothreads_compat.h:
31373 * gst/schedulers/entryscheduler.c:
31374 * gst/schedulers/faircothreads.c:
31375 * gst/schedulers/faircothreads.h:
31376 * gst/schedulers/fairscheduler.c:
31377 * gst/schedulers/gstbasicscheduler.c:
31378 * gst/schedulers/gstoptimalscheduler.c:
31379 * gst/schedulers/gthread-cothreads.h:
31380 * gst/schedulers/threadscheduler.c:
31381 (gst_thread_scheduler_task_get_type),
31382 (gst_thread_scheduler_task_class_init),
31383 (gst_thread_scheduler_task_init),
31384 (gst_thread_scheduler_task_start),
31385 (gst_thread_scheduler_task_stop),
31386 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31387 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31388 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31389 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31391 * libs/gst/Makefile.am:
31392 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31393 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31394 (gst_file_pad_parent_set):
31395 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31396 (gst_dp_event_from_packet):
31397 * tests/complexity.c: (main):
31398 * tests/mass_elements.c: (main):
31399 * testsuite/states/locked.c: (message_received), (main):
31400 * testsuite/states/parent.c: (main):
31401 * tools/gst-inspect.c: (print_element_flag_info),
31402 (print_implementation_info), (print_pad_info):
31403 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31405 * tools/gst-md5sum.c: (event_loop), (main):
31406 * tools/gst-typefind.c: (main):
31407 * tools/gst-xmlinspect.c: (print_element_info):
31409 Added GstBus for mainloop integration.
31410 Added GstMessage for sending notifications on the bus.
31411 Added GstTask as an abstraction for pipeline entry points.
31413 Removed Schedulers.
31414 Simplified GstQueue for multithreaded core.
31415 Made _link threadsafe, removed old capsnego.
31416 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31417 Added pad blocking functions.
31418 Reworked scheduling functions in GstPad to prepare for
31419 scheduling updates soon.
31420 Moved events out of data stream.
31421 Simplified GstEvent types.
31422 Added return values to push/pull.
31423 Removed clocking from GstElement.
31424 Added prototypes for state change function for next merge.
31425 Removed iterate from bins and state change management.
31426 Fixed some elements, disabled others for now.
31427 Fixed -inspect and -launch.
31428 Added check for GstBus.
31430 2005-03-10 Wim Taymans <wim@fluendo.com>
31432 * docs/design/part-MT-refcounting.txt:
31433 * docs/design/part-clocks.txt:
31434 * docs/design/part-gstelement.txt:
31435 * docs/design/part-gstobject.txt:
31436 * docs/design/part-standards.txt:
31437 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31438 (gst_bin_remove_func), (gst_bin_remove):
31442 * testsuite/clock/clock1.c: (main):
31443 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31445 * testsuite/dlopen/loadgst.c: (do_test):
31446 * testsuite/refcounting/bin.c: (add_remove_test1),
31447 (add_remove_test2), (main):
31448 * testsuite/refcounting/element.c: (main):
31449 * testsuite/refcounting/element_pad.c: (main):
31450 * testsuite/refcounting/pad.c: (main):
31451 * tools/gst-launch.c: (sigint_handler_sighandler):
31452 * tools/gst-typefind.c: (main):
31454 Added doc about clock.
31455 removed gst_bin_iterate_recurse_up(), marked methods
31457 Fix more testsuites.
31459 2005-03-09 Wim Taymans <wim@fluendo.com>
31461 * gst/gstpad.c: (gst_pad_get_direction),
31462 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31463 (gst_pad_collect_valist):
31464 * testsuite/bins/interface.c: (main):
31465 * testsuite/caps/audioscale.c: (test_caps):
31466 * testsuite/caps/caps.c: (test1), (test2), (test3):
31467 * testsuite/caps/deserialize.c: (main):
31468 * testsuite/caps/enumcaps.c: (main):
31469 * testsuite/caps/filtercaps.c: (main):
31470 * testsuite/caps/intersect2.c: (main):
31471 * testsuite/caps/random.c: (main):
31472 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31473 * testsuite/caps/sets.c: (check_caps):
31474 * testsuite/caps/simplify.c: (check_caps), (main):
31475 * testsuite/caps/subtract.c: (check_caps):
31476 Fix _pad_get_direction wrt ghostpads.
31477 Fix caps testsuite.
31479 2005-03-09 Wim Taymans <wim@fluendo.com>
31481 * check/Makefile.am:
31482 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31483 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31484 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31485 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31486 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31487 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31488 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31489 (bin_element_is_sink), (gst_bin_iterate_sinks),
31490 (gst_bin_iterate_all_by_interface):
31492 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31493 (gst_element_change_state), (gst_element_dispose),
31494 (gst_element_finalize), (gst_element_set_loop_function):
31495 * gst/gstelement.h:
31496 * gst/gstiterator.c: (find_custom_fold_func):
31497 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31498 (gst_pad_collectv), (gst_pad_collect_valist),
31499 (gst_pad_template_new):
31500 * gst/gstpipeline.c: (gst_pipeline_class_init),
31501 (gst_pipeline_dispose), (gst_pipeline_set_property),
31502 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31503 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31504 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31506 * gst/schedulers/entryscheduler.c:
31507 * gst/schedulers/gstbasicscheduler.c:
31508 (gst_basic_scheduler_cothreaded_chain),
31509 (gst_basic_scheduler_chain_add_element):
31510 * testsuite/bins/interface.c: (main):
31512 Added GstSystemClock test.
31513 Implemented clock distribution code in GstBin.
31514 Implemented iterate sinks method for future use.
31515 Rearranged gstelement.h
31516 Fix GstIterator comparison bug.
31517 Moved some code to GstPipeline, mostly clocking related.
31519 2005-03-09 Wim Taymans <wim@fluendo.com>
31522 * gst/gst_private.h:
31523 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31524 (gst_bin_remove_func), (gst_bin_remove),
31525 (gst_bin_get_by_name_recurse_up):
31526 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31527 (gst_clock_id_compare_func), (gst_clock_id_wait),
31528 (gst_clock_id_wait_async), (gst_clock_init),
31529 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31530 * gst/gstelement.h:
31531 * gst/gstinfo.c: (_gst_debug_init):
31533 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31534 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31536 Bump version number, we're now 0.9.0
31537 Add future debugging category.
31538 Fix NULL _unref() in _get_by_name_recurse_up
31539 Rearrange gstpad.h.
31542 2005-03-08 Wim Taymans <wim@fluendo.com>
31544 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31545 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31546 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31547 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31548 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31549 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31550 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31551 * gst/elements/gstidentity.c: (gst_identity_class_init):
31552 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31553 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31554 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31555 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31556 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31558 * gst/gstelement.c: (gst_element_class_init),
31559 (gst_element_base_class_init), (gst_element_init),
31560 (gst_element_get_random_pad), (gst_element_wait_state_change),
31561 (gst_element_change_state), (gst_element_dispose),
31562 (gst_element_finalize), (gst_element_set_loop_function):
31563 * gst/gstelement.h:
31564 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31565 * gst/gstthread.c: (gst_thread_class_init),
31566 (gst_thread_release_children_locks), (gst_thread_change_state):
31567 * gst/schedulers/gstbasicscheduler.c:
31568 (gst_basic_scheduler_loopfunc_wrapper),
31569 (gst_basic_scheduler_chain_wrapper),
31570 (gst_basic_scheduler_src_wrapper),
31571 (gst_basic_scheduler_remove_element):
31572 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31573 Remove threadsafe properties. Fix elements because GObject
31574 complains when installing a property before declaring a
31575 set/get_property handler.
31576 Rearrange gstelement.h file, use STATE macros for state locks.
31577 Free mutexes in the finalize method instead of dispose.
31579 2005-03-08 Wim Taymans <wim@fluendo.com>
31581 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31582 * gst/gstthread.c: (gst_thread_release_children_locks):
31583 Added parentage check.
31584 Fix build og GstThread again.
31586 2005-03-08 Wim Taymans <wim@fluendo.com>
31588 * docs/design/part-MT-refcounting.txt:
31589 * docs/design/part-conventions.txt:
31590 * docs/design/part-gstobject.txt:
31591 * docs/design/part-relations.txt:
31592 * docs/design/part-standards.txt:
31593 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31594 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31595 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31596 (gst_bin_iterate_all_by_interface):
31599 * gst/gstelement.c: (gst_element_class_init),
31600 (gst_element_change_state), (gst_element_set_loop_function):
31601 * gst/gstelement.h:
31602 * gst/gstiterator.c:
31603 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31604 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31605 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31606 (gst_object_set_parent), (gst_object_unparent),
31607 (gst_object_check_uniqueness):
31609 Docs updates, clean up some headers.
31611 2005-03-07 Wim Taymans <wim@fluendo.com>
31613 * check/.cvsignore:
31614 * check/Makefile.am:
31615 * check/gst-libs/.cvsignore:
31616 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31617 * check/gst/.cvsignore:
31618 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31619 (START_TEST), (gstbus_suite), (main):
31620 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31621 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31622 (gst_data_suite), (main):
31623 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31624 (add_fold_func), (gstiterator_suite), (main):
31625 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31626 (thread_name_object), (thread_name_object_default),
31627 (gst_object_name_compare), (gst_object_suite), (main):
31628 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31629 (gst_pad_suite), (main):
31630 * check/gstcheck.c: (gst_check_log_message_func),
31631 (gst_check_log_critical_func), (gst_check_init):
31632 * check/gstcheck.h:
31633 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31634 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31637 2005-03-07 Wim Taymans <wim@fluendo.com>
31639 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31640 (gst_list_iterator_next), (gst_list_iterator_resync),
31641 (gst_list_iterator_free), (gst_iterator_new_list),
31642 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31643 (gst_iterator_free), (gst_iterator_push), (filter_next),
31644 (filter_resync), (filter_uninit), (filter_free),
31645 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31646 (gst_iterator_foreach), (find_custom_fold_func),
31647 (gst_iterator_find_custom):
31648 * gst/gstiterator.h:
31649 Added missing files.
31651 2005-03-07 Wim Taymans <wim@fluendo.com>
31655 * docs/design/part-MT-refcounting.txt:
31656 * docs/design/part-conventions.txt:
31657 * docs/design/part-gstobject.txt:
31658 * docs/design/part-relations.txt:
31659 * examples/mixer/mixer.c: (main):
31660 * examples/thread/thread.c: (eos), (main):
31662 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31663 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31664 (gst_spider_plug_from_srcpad):
31665 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31666 (gst_spider_identity_change_state),
31667 (gst_spider_identity_sink_loop_type_finding):
31668 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31669 * gst/elements/gstidentity.c: (gst_identity_init):
31670 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31671 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31672 * gst/elements/gsttypefindelement.c: (free_entry):
31675 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31676 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31677 (gst_bin_set_index), (gst_bin_set_element_sched),
31678 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31679 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31680 (gst_bin_iterate_elements), (iterate_child_recurse),
31681 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31682 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31683 (compare_interface), (gst_bin_get_by_interface),
31684 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31686 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31687 (gst_buffer_default_free), (gst_buffer_default_copy),
31688 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31689 (gst_buffer_create_sub):
31691 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31692 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31693 (gst_caps_unref), (gst_static_caps_get),
31694 (gst_caps_remove_and_get_structure), (gst_caps_append),
31695 (gst_caps_append_structure), (gst_caps_remove_structure),
31696 (gst_caps_copy_nth), (gst_caps_set_simple),
31697 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31698 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31699 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31700 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31701 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31702 (gst_caps_structure_figure_out_union),
31703 (gst_caps_switch_structures), (gst_caps_do_simplify),
31704 (gst_caps_replace), (gst_caps_from_string),
31705 (gst_caps_copy_conditional):
31707 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31708 (_gst_clock_id_free), (gst_clock_id_unref),
31709 (gst_clock_id_compare_func), (gst_clock_id_wait),
31710 (gst_clock_id_wait_async), (gst_clock_class_init),
31711 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31712 (gst_clock_get_time), (gst_clock_set_time_adjust),
31713 (gst_clock_set_property), (gst_clock_get_property):
31716 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31717 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31719 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31720 (gst_element_requires_clock), (gst_element_provides_clock),
31721 (gst_element_set_clock), (gst_element_clock_wait),
31722 (gst_element_wait), (gst_element_set_time_delay),
31723 (gst_element_is_indexable), (gst_element_add_pad),
31724 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31725 (pad_compare_name), (gst_element_get_static_pad),
31726 (gst_element_request_pad), (gst_element_get_request_pad),
31727 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31728 (gst_element_class_get_pad_template_list),
31729 (gst_element_class_get_pad_template), (gst_element_error_func),
31730 (gst_element_get_random_pad), (gst_element_get_event_masks),
31731 (gst_element_send_event), (gst_element_seek),
31732 (gst_element_get_query_types), (gst_element_query),
31733 (gst_element_get_formats), (gst_element_convert),
31734 (gst_element_is_locked_state), (gst_element_set_locked_state),
31735 (gst_element_sync_state_with_parent), (gst_element_change_state),
31736 (gst_element_finalize), (gst_element_yield),
31737 (gst_element_interrupt), (gst_element_set_scheduler),
31738 (gst_element_get_scheduler), (gst_element_set_loop_function):
31739 * gst/gstelement.h:
31741 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31742 (gst_format_get_by_nick), (gst_format_get_details),
31743 (gst_format_iterate_definitions):
31745 * gst/gstindex.c: (gst_index_gtype_resolver):
31748 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31749 (gst_mem_chunk_free):
31750 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31751 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31752 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31753 (gst_object_dispatch_properties_changed),
31754 (gst_object_set_name_default), (gst_object_set_name),
31755 (gst_object_get_name), (gst_object_set_name_prefix),
31756 (gst_object_get_name_prefix), (gst_object_set_parent),
31757 (gst_object_get_parent), (gst_object_unparent),
31758 (gst_object_check_uniqueness), (gst_object_save_thyself),
31759 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31760 (gst_object_set_property), (gst_object_get_property),
31761 (gst_object_get_path_string):
31763 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31764 (gst_real_pad_init), (gst_real_pad_get_property),
31765 (gst_pad_custom_new), (gst_pad_get_direction),
31766 (gst_pad_set_active), (gst_pad_is_active),
31767 (gst_pad_set_event_function), (gst_pad_is_linked),
31768 (gst_pad_link_free), (gst_pad_link_intersect),
31769 (gst_pad_link_fixate), (gst_pad_set_caps),
31770 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31771 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31772 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31773 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31774 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31775 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31776 (gst_pad_realize), (gst_pad_get_allowed_caps),
31777 (gst_real_pad_dispose), (gst_real_pad_finalize),
31778 (gst_pad_collectv), (gst_pad_collect_valist),
31779 (gst_pad_template_dispose), (gst_pad_template_new),
31780 (gst_pad_get_internal_links):
31782 * gst/gstpipeline.c: (gst_pipeline_dispose),
31783 (gst_pipeline_change_state):
31784 * gst/gstpipeline.h:
31786 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31787 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31788 * gst/gstpluginfeature.h:
31789 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31790 * gst/gstquery.c: (_gst_query_type_initialize),
31791 (gst_query_type_register), (gst_query_type_get_by_nick),
31792 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31794 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31795 * gst/gstscheduler.c: (gst_scheduler_add_element),
31796 (gst_scheduler_factory_create):
31797 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31798 (gst_structure_free), (gst_structure_set_name),
31799 (gst_structure_id_set_value), (gst_structure_set_value),
31800 (gst_structure_set_valist), (gst_structure_remove_field),
31801 (gst_structure_remove_fields),
31802 (gst_structure_remove_fields_valist),
31803 (gst_structure_remove_all_fields), (gst_structure_foreach),
31804 (gst_structure_map_in_place),
31805 (gst_caps_structure_fixate_field_nearest_int),
31806 (gst_caps_structure_fixate_field_nearest_double):
31807 * gst/gststructure.h:
31808 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31809 (gst_system_clock_init), (gst_system_clock_dispose),
31810 (gst_system_clock_async_thread),
31811 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31812 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31813 * gst/gstsystemclock.h:
31814 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31815 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31816 * gst/gsttaginterface.c:
31817 * gst/gstthread.c: (gst_thread_dispose),
31818 (gst_thread_release_children_locks), (gst_thread_change_state),
31819 (gst_thread_main_loop):
31820 * gst/gsttrashstack.h:
31821 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31823 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31824 (gst_element_request_pad), (gst_element_get_pad_from_template),
31825 (gst_element_request_compatible_pad),
31826 (gst_element_get_compatible_pad_filtered),
31827 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31828 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31829 (gst_element_link_many), (gst_element_link),
31830 (gst_element_link_pads), (gst_element_unlink_pads),
31831 (gst_element_unlink_many), (gst_element_unlink),
31832 (gst_pad_can_link_filtered), (gst_pad_can_link),
31833 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31834 (gst_object_default_error), (gst_bin_add_many),
31835 (gst_bin_remove_many), (gst_element_populate_std_props),
31836 (gst_element_class_install_std_props), (gst_buffer_merge),
31837 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31838 (link_fold_func), (gst_pad_proxy_setcaps):
31840 * gst/gstvalue.c: (gst_value_deserialize_string):
31841 * gst/parse/grammar.y:
31842 * gst/schedulers/gstbasicscheduler.c:
31843 (gst_basic_scheduler_cothreaded_chain),
31844 (gst_basic_scheduler_chain_recursive_add),
31845 (gst_basic_scheduler_pad_link):
31846 * gst/schedulers/gstoptimalscheduler.c:
31847 (get_group_schedule_function),
31848 (gst_opt_scheduler_state_transition),
31849 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31850 * libs/gst/bytestream/bytestream.c:
31851 * libs/gst/dataprotocol/dataprotocol.c:
31852 (gst_dp_header_from_buffer):
31855 * tests/threadstate/threadstate2.c: (eos):
31856 * tools/gst-compprep.c: (main):
31857 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31858 (print_pad_info), (print_children_info):
31859 * tools/gst-launch.c: (idle_func), (main):
31860 * tools/gst-md5sum.c: (idle_func), (main):
31861 * tools/gst-xmlinspect.c: (print_element_info):
31862 First THREADED backport attempt, focusing on adding locks and
31863 making sure the API is threadsafe. Needs more work. More docs
31866 2005-02-24 Andy Wingo <wingo@pobox.com>
31868 * tests/bench-complexity.scm:
31869 * tests/complexity.gnuplot: New files, good for running complexity
31872 * tests/Makefile.am:
31873 * tests/complexity.c: New test, sets up N elements, at each level
31874 teeing into M streams per element. Eeeenteresting.
31876 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31877 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31878 running bench-mass_elements.scm.
31880 * tests/bench-mass_elements.scm: New script, runs mass_elements
31881 for various numbers of identities, outputting the results to a
31882 file. Requires guile 1.6. Just for testing.
31884 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31886 * gst/schedulers/fairscheduler.c:
31887 compile with debug disabled
31889 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31892 hunting season on 0.9 is now OPEN